/**
 * Quote Hero Band (ACF) – Full-width image hero with centered quote overlay
 * Height: 16/9 aspect ratio. CSS vars: --qhb-overlay, --qhb-color, --qhb-max, --qhb-size, --qhb-size-m, --qhb-radius
 */

.qhb {
	--qhb-overlay: 0.45;
	--qhb-color: #ffffff;
	--qhb-max: 760px;
	--qhb-size: 28px;
	--qhb-size-m: 18px;
	--qhb-radius: 0px;
}

.qhb__container {
	margin: 0 auto;
	padding: 0;
}

.qhb__container--wide {
	max-width: 100%;
}

.qhb__container--normal {
	max-width: 960px;
}

.qhb__bg {
	display: block;
	position: relative;
	aspect-ratio: 2;
	width: 100%;
	border-radius: var(--qhb-radius);
	overflow: hidden;
	text-decoration: none;
	color: inherit;
}

.qhb__bg:focus {
	outline: none;
}

.qhb__bg:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.qhb__img-wrap {
	position: absolute;
	inset: 0;
	background: #1a1a1a;
}

.qhb__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
	vertical-align: middle;
}

.qhb__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, var(--qhb-overlay));
	pointer-events: none;
}

.qhb__content {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.5rem;
	box-sizing: border-box;
}

.qhb__text {
	max-width: var(--qhb-max);
	margin: 0;
	font-size: var(--qhb-size);
	line-height: 1.45;
	color: var(--qhb-color);
	text-align: center;
}

/* Font styles */
.qhb--italic_serif .qhb__text {
	font-style: italic;
	font-family: Georgia, "Times New Roman", serif;
}

.qhb--italic_sans .qhb__text {
	font-style: italic;
	font-family: inherit;
}

/* Responsive text size */
@media (max-width: 768px) {
	.qhb__text {
		font-size: var(--qhb-size-m);
	}
}

/* Optional subtle fade-in (respect reduced motion) */
@media (prefers-reduced-motion: no-preference) {
	.qhb__content {
		animation: qhb-fade-in 0.6s ease-out;
	}
}

@keyframes qhb-fade-in {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

@media (prefers-reduced-motion: reduce) {
	.qhb__content {
		animation: none;
	}
}
