/* NovaMira Image Carousel */
.nova-carousel {
	position: relative;
	width: 100%;
}

.nova-carousel .swiper {
	width: 100%;
	overflow: hidden;
}

.nova-carousel__slide {
	display: block;
	position: relative;
	overflow: hidden;
	height: auto;
}

.nova-carousel__link {
	display: block;
	position: relative;
	line-height: 0;
	text-decoration: none;
}

.nova-carousel__img {
	display: block;
	width: 100%;
	height: auto;
	object-fit: cover;
}

/* ---- Scroll modes ---- */
/* Continuous marquee: constant speed, no easing between slides. */
.nova-carousel--continuous .swiper-wrapper {
	transition-timing-function: linear !important;
}

/* ---- Title / Subtitle overlay ---- */
.nova-carousel__overlay {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 2;
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 40px 18px 16px;
	pointer-events: none;
	text-align: left;
	background: linear-gradient( to top, rgba( 0, 0, 0, 0.65 ) 0%, rgba( 0, 0, 0, 0.15 ) 55%, rgba( 0, 0, 0, 0 ) 100% );
}

.nova-carousel__title {
	color: #fff;
	font-size: 20px;
	font-weight: 600;
	line-height: 1.25;
}

.nova-carousel__subtitle {
	color: rgba( 255, 255, 255, 0.85 );
	font-size: 14px;
	line-height: 1.35;
}

.nova-carousel__caption {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 22px 16px 14px;
	color: #fff;
	font-size: 14px;
	line-height: 1.3;
	background: linear-gradient( to top, rgba( 0, 0, 0, 0.65 ), rgba( 0, 0, 0, 0 ) );
}

/* ---- Arrows ---- */
.nova-carousel__arrow {
	position: absolute;
	top: 50%;
	transform: translateY( -50% );
	z-index: 5;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: none;
	border-radius: 50%;
	cursor: pointer;
	color: #fff;
	background: rgba( 17, 17, 17, 0.55 );
	transition: background 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
	-webkit-tap-highlight-color: transparent;
}

.nova-carousel__arrow:hover {
	background: rgba( 17, 17, 17, 0.85 );
}

.nova-carousel__arrow--prev { left: 12px; }
.nova-carousel__arrow--next { right: 12px; }

.nova-carousel__arrow.swiper-button-disabled {
	opacity: 0.35;
	cursor: default;
	pointer-events: none;
}

.nova-carousel__arrow svg {
	width: 45%;
	height: 45%;
}

/* ---- Pagination ---- */
.nova-carousel .swiper-pagination {
	position: relative;
	margin-top: 16px;
	bottom: 0;
}

.nova-carousel .swiper-pagination-bullet {
	width: 9px;
	height: 9px;
	margin: 0 5px !important;
	transition: transform 0.2s ease, background 0.2s ease;
}

.nova-carousel .swiper-pagination-bullet-active {
	transform: scale( 1.25 );
}

/* ---- Mobile tuning ---- */
@media ( max-width: 767px ) {
	.nova-carousel__arrow {
		width: 36px;
		height: 36px;
	}
	.nova-carousel__arrow--prev { left: 6px; }
	.nova-carousel__arrow--next { right: 6px; }
	.nova-carousel__caption {
		font-size: 13px;
		padding: 16px 12px 10px;
	}
	.nova-carousel__overlay {
		padding: 28px 12px 12px;
	}
	.nova-carousel__title { font-size: 17px; }
	.nova-carousel__subtitle { font-size: 13px; }
}
