/* ==========================================================================
   Hero Slider — native replacement for the Smart Slider plugin
   Full-width fade slider with bottom-centre quote box.
   ========================================================================== */

.hero-slider {
	position: relative;
	width: 100%;
	height: 400px;
	overflow: hidden;
	background: #000;
}

.hero-slide {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	opacity: 0;
	visibility: hidden;
	transition: opacity 1s ease-in-out;
	z-index: 1;
}

.hero-slide.is-active {
	opacity: 1;
	visibility: visible;
	z-index: 2;
}

@media (prefers-reduced-motion: reduce) {
	.hero-slide {
		transition: none;
	}
}

/* Quote box — bottom-centre, semi-transparent */
.hero-slide__quote-box {
	position: absolute;
	left: 50%;
	bottom: 25px;
	transform: translateX(-50%);
	width: 90%;
	max-width: 629px;
	box-sizing: border-box;
	background: rgba(0, 0, 0, 0.58);
	padding: 5px 15px 30px 15px;
	z-index: 2;
}

.hero-slide__quote {
	margin: 10px 0 0;
	color: #ffffff;
	font-size: 22px;
	font-style: italic;
	line-height: 1.5;
	text-align: center;
	font-family: 'Average', Georgia, serif;
}

.hero-slide__attribution {
	margin: 4px 0 0;
	color: #ecc31f;
	font-size: 12px;
	font-style: normal;
	text-align: center;
	font-family: 'Montserrat', Arial, sans-serif;
}

/* Arrows */
.hero-slider__arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 3;
	width: 40px;
	height: 40px;
	line-height: 38px;
	background: rgba(0, 0, 0, 0.25);
	border: 1px solid rgba(255, 255, 255, 0.4);
	border-radius: 50%;
	color: #ffffff;
	font-size: 16px;
	text-align: center;
	cursor: pointer;
	transition: background 0.2s ease;
}

.hero-slider__arrow:hover,
.hero-slider__arrow:focus {
	background: rgba(0, 0, 0, 0.5);
	outline: none;
}

.hero-slider__arrow--prev {
	left: 15px;
}

.hero-slider__arrow--next {
	right: 15px;
}

/* Dot indicators */
.hero-slider__dots {
	position: absolute;
	bottom: 7px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 3;
	display: flex;
	gap: 8px;
}

.hero-slider__dot {
	width: 9px;
	height: 9px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.8);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.25);
	cursor: pointer;
}

.hero-slider__dot:hover,
.hero-slider__dot:focus {
	background: rgba(255, 255, 255, 0.6);
	outline: none;
}

.hero-slider__dot.is-active {
	background: #ecc31f;
	border-color: #ecc31f;
}

/* Responsive */
@media (max-width: 782px) {
	.hero-slider {
		height: 320px;
	}

	.hero-slide__quote {
		font-size: 18px;
	}
}

@media (max-width: 480px) {
	.hero-slider {
		height: 260px;
	}

	.hero-slide__quote-box {
		padding: 5px 12px 20px 12px;
		bottom: 20px;
	}

	.hero-slide__quote {
		font-size: 15px;
		line-height: 1.4;
	}

	.hero-slide__attribution {
		font-size: 11px;
	}

	.hero-slider__arrow {
		width: 32px;
		height: 32px;
		line-height: 30px;
		font-size: 13px;
	}

	.hero-slider__arrow--prev {
		left: 8px;
	}

	.hero-slider__arrow--next {
		right: 8px;
	}
}
