/**
 * Design tokens — Ahmed Online Quran Academy (navy + gold, logo-aligned).
 */

:root {
	--aho-font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--aho-font-display: Georgia, "Times New Roman", serif;

	/* Brand */
	--aho-navy: #2a486c;
	--aho-navy-dark: #1e364f;
	--aho-navy-light: #3f6585;
	--aho-navy-muted: #5a7d9a;
	--aho-gold: #be9552;
	--aho-gold-bright: #d4b366;
	--aho-gold-hover: #a88447;
	--aho-gold-soft: rgba(190, 149, 82, 0.14);

	/* Text & surfaces */
	--aho-text: #5a6572;
	--aho-heading: #2a486c;
	--aho-muted: #7a8491;
	--aho-white: #ffffff;
	--aho-black: #0f1a26;
	--aho-surface: #f7f9fc;
	--aho-surface-alt: #eef2f7;
	--aho-surface-warm: #faf8f4;
	--aho-border: #dde4ec;
	--aho-border-strong: #c5ced8;
	--aho-topbar-text: #ffffff;

	/* Semantic */
	--aho-success: #1e7a4c;
	--aho-success-bg: #e8f5ee;
	--aho-error: #b42318;
	--aho-error-bg: #fdeeed;
	--aho-whatsapp: #25d366;
	--aho-whatsapp-hover: #1fb855;

	/* Effects */
	--aho-shadow-sm: 0 1px 3px rgba(42, 72, 108, 0.08);
	--aho-shadow-md: 0 10px 28px rgba(42, 72, 108, 0.12);
	--aho-shadow-lg: 0 16px 40px rgba(42, 72, 108, 0.16);
	--aho-overlay-navy: rgba(42, 72, 108, 0.65);
	--aho-overlay-gold: rgba(190, 149, 82, 0.32);

	/* Gradients */
	--aho-gradient-hero: linear-gradient(
		106deg,
		var(--aho-gold) 0%,
		var(--aho-gold) 26%,
		var(--aho-navy) 74%,
		var(--aho-navy-dark) 100%
	);
	--aho-gradient-hero-overlay: linear-gradient(
		120deg,
		var(--aho-overlay-navy) 0%,
		rgba(30, 54, 79, 0.78) 50%,
		var(--aho-overlay-gold) 100%
	);
	--aho-gradient-banner: linear-gradient(
		135deg,
		var(--aho-gold-bright) 0%,
		var(--aho-navy) 52%,
		var(--aho-navy-dark) 100%
	);
	--aho-gradient-navy: linear-gradient(135deg, var(--aho-navy) 0%, var(--aho-navy-light) 100%);
	--aho-gradient-section: linear-gradient(160deg, var(--aho-surface-alt) 0%, #dce4ed 100%);

	--aho-max: 1200px;
	--aho-radius: 6px;
}

/* Global typography & links (Astra + theme sections) */
body.aho-home,
body.aho-inner {
	color: var(--aho-text);
	font-family: var(--aho-font);
}

/* Scope global heading color to default WP content (Astra entry/blog). */
.aho-home .entry-content h1,
.aho-home .entry-content h2,
.aho-home .entry-content h3,
.aho-home .entry-content h4,
.aho-inner .entry-content h1,
.aho-inner .entry-content h2,
.aho-inner .entry-content h3,
.aho-inner .entry-content h4,
.aho-home .entry-title,
.aho-inner .entry-title {
	color: var(--aho-heading);
}

/* Color only content/article links — leave chrome (header, topbar, footer, hero, buttons) alone. */
.aho-home .entry-content a:not(.aho-btn),
.aho-inner .entry-content a:not(.aho-btn),
.aho-home .ast-article-single a:not(.aho-btn),
.aho-inner .ast-article-single a:not(.aho-btn) {
	color: var(--aho-navy-light);
}

.aho-home .entry-content a:not(.aho-btn):hover,
.aho-inner .entry-content a:not(.aho-btn):hover,
.aho-home .ast-article-single a:not(.aho-btn):hover,
.aho-inner .ast-article-single a:not(.aho-btn):hover {
	color: var(--aho-gold);
}

.aho-text-gold {
	color: var(--aho-gold);
}

.aho-text-navy {
	color: var(--aho-heading);
}

.aho-container {
	width: 100%;
	max-width: var(--aho-max);
	margin-inline: auto;
	padding-inline: 1.5rem;
}

/* —— Top bar (reference: header.style2 .topbar → #2A486C) —— */
.aho-topbar {
	background-color: var(--aho-navy);
	color: var(--aho-topbar-text);
	font-family: var(--aho-font);
	font-size: clamp(0.75rem, 0.7rem + 0.3vw, 0.875rem);
}

.aho-topbar__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem 1.25rem;
	padding-block: 0.6rem;
}

/* Contacts: horizontal icon + text (reference icon-box row) */
.aho-topbar__contacts {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.65rem 1.75rem;
	flex: 1 1 auto;
	min-width: 0;
}

.aho-topbar__item {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	color: var(--aho-white);
	text-decoration: none;
	font-weight: 500;
	font-size: 0.875rem;
	line-height: 1.2;
	white-space: nowrap;
}

.aho-topbar__item:hover,
.aho-topbar__item:focus-visible {
	color: var(--aho-gold-bright);
}

.aho-topbar__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.25rem;
	flex-shrink: 0;
	font-size: 1rem;
	line-height: 1;
	color: var(--aho-gold-bright);
}

.aho-topbar__item:hover .aho-topbar__icon,
.aho-topbar__item:focus-visible .aho-topbar__icon {
	color: var(--aho-white);
}

.aho-topbar__text {
	display: inline-block;
	line-height: 1.2;
}

@media (max-width: 991px) {
	.aho-topbar__item--email .aho-topbar__text {
		max-width: 11rem;
		overflow: hidden;
		text-overflow: ellipsis;
	}
}

@media (max-width: 575px) {
	.aho-topbar__inner {
		flex-direction: column;
		align-items: stretch;
	}

	.aho-topbar__contacts {
		justify-content: center;
		gap: 0.5rem 1rem;
	}

	.aho-topbar__social {
		justify-content: center;
	}
}

/* Right side group: Login button + social icons */
.aho-topbar__right {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	flex-shrink: 0;
}

@media (max-width: 575px) {
	.aho-topbar__right {
		justify-content: center;
		width: 100%;
		flex-wrap: wrap;
		gap: 0.6rem;
	}
}

/* Top-bar Login button — gold pill, dark navy text for strong contrast on navy bar */
.aho-topbar__login {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	padding: 0.4rem 0.95rem;
	background: var(--aho-gold);
	color: var(--aho-navy-dark);
	font-family: inherit;
	font-weight: 700;
	font-size: 0.82rem;
	line-height: 1;
	letter-spacing: 0.02em;
	border-radius: 999px;
	text-decoration: none;
	white-space: nowrap;
	box-shadow: 0 4px 12px rgba(15, 26, 38, 0.18);
	transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.aho-topbar__login i {
	font-size: 1rem;
	color: var(--aho-navy-dark);
	transition: color 0.2s ease;
}

.aho-topbar__login:hover,
.aho-topbar__login:focus-visible {
	background: #ffffff;
	color: var(--aho-navy-dark);
	transform: translateY(-1px);
	box-shadow: 0 6px 16px rgba(15, 26, 38, 0.28);
}

.aho-topbar__login:hover i,
.aho-topbar__login:focus-visible i {
	color: var(--aho-gold);
}

/* Social icons (reference: right-aligned square icons) */
.aho-topbar__social {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 0.35rem;
	list-style: none;
	margin: 0;
	padding: 0;
	flex-shrink: 0;
}

.aho-topbar__social-link,
.aho-topbar .aho-topbar__social-link,
body .aho-topbar__social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	color: #ffffff;
	background: rgba(255, 255, 255, 0.16);
	border-radius: 4px;
	text-decoration: none;
	font-size: 0.95rem;
	line-height: 1;
	transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.aho-topbar__social-link i,
.aho-topbar__social-link .fab,
.aho-topbar__social-link .fas {
	color: #ffffff;
	line-height: 1;
}

.aho-topbar__social-link:hover,
.aho-topbar__social-link:focus-visible,
body .aho-topbar__social-link:hover,
body .aho-topbar__social-link:focus-visible {
	color: #ffffff;
	background: var(--aho-gold);
	transform: translateY(-1px);
}

/* —— Header —— */
.aho-header {
	background: var(--aho-white);
	border-bottom: 1px solid var(--aho-border);
	box-shadow: var(--aho-shadow-sm);
	font-family: var(--aho-font);
	position: sticky;
	top: 0;
	z-index: 200;
}

.aho-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	padding-block: 0.5rem;
	min-height: 84px;
}

.aho-brand,
.aho-brand.aho-brand--image,
.aho-brand--image.aho-site-logo-link {
	display: inline-flex;
	align-items: center;
	gap: 0.65rem;
	padding: 0;
	margin: 0;
	line-height: 0;
	text-decoration: none;
	color: var(--aho-heading);
	flex-shrink: 0;
	min-height: 64px;
}

.aho-brand__logo,
.aho-site-logo.aho-brand__logo {
	display: block;
	width: auto;
	height: auto;
	max-height: 60px;
	max-width: min(180px, 54vw);
	object-fit: contain;
	vertical-align: middle;
}

@media (min-width: 768px) {
	.aho-header__inner {
		min-height: 92px;
		gap: 1rem;
	}

	.aho-brand,
	.aho-brand.aho-brand--image,
	.aho-brand--image.aho-site-logo-link {
		min-height: 72px;
	}

	.aho-brand__logo,
	.aho-site-logo.aho-brand__logo {
		max-height: 64px;
		max-width: 170px;
	}
}

@media (min-width: 1200px) {
	.aho-header__inner {
		min-height: 100px;
		gap: 1.5rem;
	}

	.aho-brand,
	.aho-brand.aho-brand--image,
	.aho-brand--image.aho-site-logo-link {
		min-height: 80px;
	}

	.aho-brand__logo,
	.aho-site-logo.aho-brand__logo {
		max-height: 72px;
		max-width: 200px;
	}
}

.aho-brand__mark {
	width: 44px;
	height: 44px;
	border-radius: var(--aho-radius);
	background: linear-gradient(145deg, var(--aho-gold), var(--aho-gold-hover));
	color: var(--aho-white);
	display: grid;
	place-items: center;
	font-weight: 700;
	font-size: 1.1rem;
}

.aho-brand__text {
	display: flex;
	flex-direction: column;
	line-height: 1.15;
}

.aho-brand__name {
	font-weight: 700;
	font-size: clamp(0.95rem, 0.9rem + 0.35vw, 1.1rem);
	color: var(--aho-heading);
}

.aho-brand__tagline {
	font-size: 0.72rem;
	color: var(--aho-text);
	font-weight: 500;
}

/* Mobile nav */
.aho-nav-toggle {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
}

.aho-nav-toggle-btn {
	display: none;
	width: 44px;
	height: 44px;
	border: 1px solid var(--aho-border);
	border-radius: var(--aho-radius);
	background: var(--aho-white);
	cursor: pointer;
	align-items: center;
	justify-content: center;
}

.aho-nav-toggle-btn__bar,
.aho-nav-toggle-btn__bar::before,
.aho-nav-toggle-btn__bar::after {
	display: block;
	width: 22px;
	height: 2px;
	background: var(--aho-heading);
	position: relative;
}

.aho-nav-toggle-btn__bar::before,
.aho-nav-toggle-btn__bar::after {
	content: "";
	position: absolute;
	left: 0;
}

.aho-nav-toggle-btn__bar::before {
	top: -6px;
}

.aho-nav-toggle-btn__bar::after {
	top: 6px;
}

.aho-nav-backdrop {
	display: none;
}

@media (max-width: 991px) {
	.aho-nav-toggle-btn {
		display: inline-flex;
	}

	.aho-nav {
		position: fixed;
		inset: 0 0 0 auto;
		width: min(320px, 88vw);
		background: var(--aho-white);
		flex-direction: column;
		align-items: stretch;
		padding: 5rem 1.5rem 1.5rem;
		box-shadow: var(--aho-shadow-lg);
		transform: translateX(100%);
		transition: transform 0.25s ease;
		z-index: 201;
	}

	.aho-nav-toggle:checked ~ .aho-nav {
		transform: translateX(0);
	}

	.aho-nav-backdrop {
		display: block;
		position: fixed;
		inset: 0;
		background: var(--aho-overlay-navy);
		opacity: 0;
		pointer-events: none;
		transition: opacity 0.25s ease;
		z-index: 200;
	}

	.aho-nav-toggle:checked ~ .aho-nav-backdrop {
		opacity: 1;
		pointer-events: auto;
	}
}

.aho-nav {
	display: flex;
	align-items: center;
	gap: clamp(0.5rem, 1.5vw, 1.25rem);
	flex: 1 1 0;
	min-width: 0;
	justify-content: flex-end;
	min-height: inherit;
}

.aho-nav__list {
	display: flex;
	align-items: center;
	flex-wrap: nowrap;
	gap: clamp(0.35rem, 1.6vw, 1.4rem);
	list-style: none;
	margin: 0;
	padding: 0;
	min-width: 0;
	min-height: inherit;
}

.aho-nav__list li {
	display: flex;
	align-items: center;
	min-height: inherit;
}

.aho-nav__list a {
	display: inline-flex;
	align-items: center;
	color: var(--aho-heading);
	text-decoration: none;
	font-weight: 600;
	font-size: clamp(0.86rem, 0.8rem + 0.2vw, 0.94rem);
	padding: 0.35rem 0;
	white-space: nowrap;
	border-bottom: 2px solid transparent;
	transition: color 0.2s ease, border-color 0.2s ease;
}

/* Reference: .theme-clr / nav hover → #BE9552 */
.aho-nav__list a:hover,
.aho-nav__list a:focus-visible,
.aho-nav__list .current-menu-item > a,
.aho-nav__list .current_page_item > a {
	color: var(--aho-gold);
	border-bottom-color: var(--aho-gold);
}

@media (max-width: 991px) {
	.aho-nav__list {
		flex-direction: column;
		align-items: stretch;
		width: 100%;
		gap: 0;
	}

	.aho-nav__list a {
		padding: 0.85rem 0;
		border-bottom: 1px solid var(--aho-border);
	}
}

.aho-nav__actions {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	flex-shrink: 0;
}

@media (max-width: 991px) {
	.aho-nav__actions {
		flex-direction: column;
		width: 100%;
		margin-top: 1rem;
	}

	.aho-nav__actions .aho-btn {
		width: 100%;
		justify-content: center;
	}
}

/* Buttons — reference: .thm-btn / .btn-primary → #BE9552 */
.aho-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.65rem 1.2rem;
	font-family: inherit;
	font-size: 0.94rem;
	font-weight: 600;
	border-radius: var(--aho-radius);
	text-decoration: none;
	border: 2px solid transparent;
	line-height: 1.2;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.aho-btn--primary {
	background-color: var(--aho-gold);
	color: var(--aho-white);
	border-color: var(--aho-gold);
}

.aho-btn--primary:hover,
.aho-btn--primary:focus-visible {
	background-color: var(--aho-navy-dark);
	border-color: var(--aho-navy-dark);
	color: var(--aho-white);
}

.aho-btn--outline {
	background: transparent;
	color: var(--aho-gold);
	border-color: var(--aho-gold);
}

.aho-btn--outline:hover,
.aho-btn--outline:focus-visible {
	background-color: var(--aho-gold);
	color: var(--aho-white);
}

/* ====================================================================
   Login portal modal
   ==================================================================== */

html.aho-login-open,
body.aho-login-open {
	overflow: hidden;
}

.aho-login-modal[hidden] {
	display: none !important;
}

.aho-login-modal {
	position: fixed;
	inset: 0;
	z-index: 9000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem;
	font-family: var(--aho-font);
	animation: aho-login-modal-fade 0.18s ease-out;
}

.aho-login-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(15, 26, 38, 0.55);
	backdrop-filter: blur(2px);
	-webkit-backdrop-filter: blur(2px);
}

.aho-login-modal__dialog {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 560px;
	padding: clamp(1.5rem, 4vw, 2.5rem) clamp(1.25rem, 4vw, 2.75rem) clamp(1.75rem, 4vw, 2.5rem);
	background: var(--aho-white);
	border-radius: 14px;
	box-shadow: 0 30px 60px rgba(15, 26, 38, 0.32);
	text-align: center;
	animation: aho-login-modal-pop 0.22s cubic-bezier(0.2, 0.9, 0.3, 1.2);
}

.aho-login-modal__close {
	position: absolute;
	top: 0.65rem;
	right: 0.85rem;
	width: 2.25rem;
	height: 2.25rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: transparent;
	border: 0;
	border-radius: 999px;
	color: var(--aho-heading);
	font-size: 1.1rem;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease;
}

.aho-login-modal__close:hover,
.aho-login-modal__close:focus-visible {
	background: var(--aho-surface);
	color: var(--aho-navy);
	outline: none;
}

.aho-login-modal__title {
	margin: 0 0 0.65rem;
	font-family: var(--aho-font-display, var(--aho-font));
	font-size: clamp(1.4rem, 1.1rem + 1.2vw, 1.95rem);
	font-weight: 700;
	letter-spacing: 0.04em;
	color: var(--aho-gold);
	line-height: 1.2;
}

.aho-login-modal__desc {
	margin: 0 0 clamp(1.25rem, 3vw, 1.75rem);
	font-size: 1rem;
	color: var(--aho-heading);
	opacity: 0.85;
}

.aho-login-modal__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	justify-content: center;
	align-items: center;
}

.aho-login-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.75rem 1.4rem;
	min-width: 8.5rem;
	font-family: inherit;
	font-size: 0.95rem;
	font-weight: 600;
	line-height: 1.2;
	border-radius: 999px;
	border: 0;
	cursor: pointer;
	text-decoration: none;
	transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.aho-login-btn:focus-visible {
	outline: 2px solid var(--aho-gold);
	outline-offset: 2px;
}

.aho-login-btn--cancel {
	background: #f1f3f5;
	color: var(--aho-heading);
}

.aho-login-btn--cancel:hover,
.aho-login-btn--cancel:focus-visible {
	background: #e3e7eb;
	color: var(--aho-navy);
}

.aho-login-btn--student {
	background: #b9bec3;
	color: #1a2330;
}

.aho-login-btn--student:hover,
.aho-login-btn--student:focus-visible {
	background: var(--aho-navy);
	color: #ffffff;
	transform: translateY(-1px);
	box-shadow: 0 10px 22px rgba(42, 72, 108, 0.28);
}

.aho-login-btn--teacher {
	background: #19a558;
	color: #ffffff;
	box-shadow: 0 8px 22px rgba(25, 165, 88, 0.32);
}

.aho-login-btn--teacher:hover,
.aho-login-btn--teacher:focus-visible {
	background: #14843f;
	color: #ffffff;
	transform: translateY(-1px);
	box-shadow: 0 12px 28px rgba(20, 132, 63, 0.42);
}

@keyframes aho-login-modal-fade {
	from { opacity: 0; }
	to   { opacity: 1; }
}

@keyframes aho-login-modal-pop {
	from { opacity: 0; transform: translateY(12px) scale(0.97); }
	to   { opacity: 1; transform: translateY(0) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
	.aho-login-modal,
	.aho-login-modal__dialog {
		animation: none;
	}
}

@media (max-width: 480px) {
	.aho-login-modal__dialog {
		padding: 1.5rem 1.25rem 1.75rem;
	}

	.aho-login-modal__actions {
		flex-direction: column;
		align-items: stretch;
	}

	.aho-login-btn {
		width: 100%;
		min-width: 0;
	}
}

/* —— Hero (reference slider: gold + navy gradient) —— */
.aho-hero {
	position: relative;
	min-height: clamp(400px, 70vh, 680px);
	display: flex;
	align-items: center;
	color: var(--aho-white);
	font-family: var(--aho-font);
	isolation: isolate;
}

.aho-hero__bg {
	position: absolute;
	inset: 0;
	z-index: 0;
	background-color: var(--aho-navy);
	background-image: var(--aho-gradient-hero);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

/* Photo + navy tint (assets/images/hero-bg.jpg) */
.aho-hero--has-image .aho-hero__bg {
	background-image:
		linear-gradient(
			115deg,
			rgba(15, 26, 38, 0.88) 0%,
			rgba(30, 54, 79, 0.78) 45%,
			rgba(42, 72, 108, 0.7) 100%
		),
		url("../images/hero-bg.jpg");
}

.aho-hero--has-image .aho-hero__bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(
		90deg,
		rgba(15, 26, 38, 0.75) 0%,
		rgba(15, 26, 38, 0.45) 45%,
		rgba(15, 26, 38, 0) 75%
	);
	pointer-events: none;
}

/* —— Hero slideshow (fade between images) —— */
.aho-hero--slider {
	overflow: hidden;
}

.aho-hero__slides {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.aho-hero__slide {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	opacity: 0;
	transition: opacity 1100ms ease-in-out;
	will-change: opacity;
}

.aho-hero__slide.is-active {
	opacity: 1;
}

/* Re-use the navy tint as a top layer above the photo for legibility. */
.aho-hero--slider .aho-hero__overlay {
	background:
		linear-gradient(
			115deg,
			rgba(15, 26, 38, 0.78) 0%,
			rgba(30, 54, 79, 0.62) 45%,
			rgba(42, 72, 108, 0.45) 100%
		);
}

.aho-hero--slider .aho-hero__overlay::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(
		90deg,
		rgba(15, 26, 38, 0.7) 0%,
		rgba(15, 26, 38, 0.35) 45%,
		rgba(15, 26, 38, 0) 75%
	);
	pointer-events: none;
}

/* Each slide's text/panels — only the active one is visible. */
.aho-hero__panel {
	display: none;
	animation: aho-hero-fade 900ms ease-out both;
}

.aho-hero__panel.is-active {
	display: block;
}

@keyframes aho-hero-fade {
	from {
		opacity: 0;
		transform: translateY(14px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Slider controls (dots + arrows) */
.aho-hero__controls {
	position: relative;
	z-index: 3;
	display: flex;
	align-items: center;
	gap: 0.85rem;
	margin-top: clamp(1.5rem, 4vw, 2.25rem);
}

.aho-hero__dots {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
}

.aho-hero__dot {
	width: 10px;
	height: 10px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.45);
	cursor: pointer;
	transition: background 0.2s ease, transform 0.2s ease, width 0.25s ease;
}

.aho-hero__dot:hover,
.aho-hero__dot:focus-visible {
	background: rgba(255, 255, 255, 0.85);
	outline: none;
}

.aho-hero__dot.is-active {
	background: var(--aho-gold-bright);
	width: 28px;
}

.aho-hero__nav {
	width: 2.5rem;
	height: 2.5rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.4);
	background: rgba(15, 26, 38, 0.35);
	color: #ffffff;
	cursor: pointer;
	transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.aho-hero__nav:hover,
.aho-hero__nav:focus-visible {
	background: var(--aho-gold);
	border-color: var(--aho-gold);
	color: #ffffff;
	outline: none;
	transform: translateY(-1px);
}

@media (max-width: 599px) {
	.aho-hero__nav {
		width: 2.2rem;
		height: 2.2rem;
	}

	.aho-hero__controls {
		gap: 0.6rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.aho-hero__slide,
	.aho-hero__panel {
		transition: none;
		animation: none;
	}
}

.aho-hero__overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: var(--aho-gradient-hero-overlay);
}

.aho-hero--has-image .aho-hero__overlay {
	background: linear-gradient(
		120deg,
		rgba(190, 149, 82, 0.28) 0%,
		rgba(42, 72, 108, 0.35) 40%,
		rgba(30, 54, 79, 0.72) 100%
	);
}

.aho-hero__content {
	position: relative;
	z-index: 2;
	padding-block: clamp(2.5rem, 6vw, 4rem);
}

.aho-hero__kicker {
	margin: 0 0 1rem;
	font-size: 0.85rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--aho-gold-bright);
}

.aho-hero .aho-hero__title,
.aho-hero__title {
	margin: 0 0 1rem;
	font-family: var(--aho-font-display);
	font-size: clamp(2rem, 1.4rem + 2.5vw, 3.1rem);
	line-height: 1.12;
	max-width: 20ch;
	font-weight: 700;
	color: #ffffff;
	text-shadow: 0 2px 18px rgba(15, 26, 38, 0.55);
}

.aho-hero .aho-hero__title .aho-text-gold {
	color: var(--aho-gold-bright);
}

.aho-hero .aho-hero__lead,
.aho-hero__lead {
	margin: 0 0 1.75rem;
	font-size: clamp(1rem, 0.92rem + 0.35vw, 1.15rem);
	line-height: 1.65;
	max-width: 40rem;
	color: rgba(255, 255, 255, 0.95);
	text-shadow: 0 1px 8px rgba(15, 26, 38, 0.45);
}

.aho-hero .aho-hero__kicker {
	color: var(--aho-gold-bright);
	text-shadow: 0 1px 6px rgba(15, 26, 38, 0.4);
}

.aho-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.aho-btn--light {
	background: var(--aho-gold);
	color: var(--aho-white);
	border-color: var(--aho-gold);
}

.aho-btn--light:hover,
.aho-btn--light:focus-visible {
	background: var(--aho-navy);
	border-color: var(--aho-navy);
	color: var(--aho-white);
}

.aho-btn--ghost-light {
	background: transparent;
	color: var(--aho-white);
	border-color: rgba(255, 255, 255, 0.9);
}

.aho-btn--ghost-light:hover,
.aho-btn--ghost-light:focus-visible {
	background: var(--aho-white);
	color: var(--aho-navy);
	border-color: var(--aho-white);
}

/* Full-bleed on homepage */
.aho-home #masthead {
	display: none;
}

.aho-home .aho-topbar,
.aho-home .aho-header,
.aho-home .aho-hero {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

@media (prefers-reduced-motion: reduce) {
	.aho-nav,
	.aho-nav-backdrop {
		transition: none;
	}
}
