/* ==========================================================================
   About Us page (page-templates/template-about-us.php).
   Loaded on this page only — see inc/about-us.php. Every class here is
   prefixed .ab- so nothing leaks into the rest of the site.
   ========================================================================== */

/* ---- Our Story: photo collage + text ---- */
.ab-story { scroll-margin-top: var(--header-h); }
.ab-story-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 64px;
	align-items: center;
}
.ab-story-media {
	position: relative;
	padding: 0 48px 56px 0;
}
.ab-story-media::before {
	content: '';
	position: absolute;
	top: -22px;
	left: -22px;
	width: 140px;
	height: 140px;
	border-radius: var(--radius-lg);
	background: radial-gradient(circle, var(--color-gold) 2px, transparent 2.5px) 0 0 / 18px 18px;
	opacity: 0.45;
}
.ab-story-main {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3.4;
	object-fit: cover;
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-lg);
}
.ab-story-small {
	position: absolute;
	right: 0;
	bottom: 0;
	width: 46%;
	aspect-ratio: 1;
	object-fit: cover;
	border-radius: var(--radius-md);
	border: 6px solid var(--color-bg);
	box-shadow: var(--shadow-md);
}
.ab-story-badge {
	position: absolute;
	left: 22px;
	bottom: 22px;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 10px 18px 10px 10px;
	border-radius: 999px;
	background: var(--color-surface);
	box-shadow: var(--shadow-md);
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--color-primary-dark);
}
.ab-story-badge-om {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.1rem;
	color: #fff;
	background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
}
.ab-story-text h2 { margin-bottom: 18px; }
.ab-story-text p { color: var(--color-text-light); }

.ab-name {
	position: relative;
	margin: 26px 0 0;
	padding: 22px 24px 20px;
	border-radius: var(--radius-md);
	background: linear-gradient(135deg, rgba(47, 93, 80, 0.08), rgba(201, 162, 75, 0.14));
	border-left: 4px solid var(--color-secondary);
}
.ab-name-label {
	display: block;
	margin-bottom: 6px;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--color-secondary-dark);
}
.ab-name p {
	margin: 0;
	font-family: var(--font-heading);
	font-size: 1.08rem;
	line-height: 1.6;
	color: var(--color-primary-dark);
}

/* ---- Numbers band ---- */
.ab-stats-band {
	position: relative;
	padding: 56px 0;
	background: linear-gradient(120deg, var(--color-primary-dark), var(--color-primary) 60%, var(--color-primary-light));
	overflow: hidden;
}
.ab-stats-band::before {
	content: 'ॐ';
	position: absolute;
	right: 4%;
	top: 50%;
	transform: translateY(-50%);
	font-size: 16rem;
	line-height: 1;
	color: rgba(255, 255, 255, 0.05);
	pointer-events: none;
}
.ab-stats {
	position: relative;
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}
.ab-stat {
	text-align: center;
	color: #fff;
	padding: 6px 12px;
}
.ab-stat + .ab-stat { border-left: 1px solid rgba(255, 255, 255, 0.18); }
.ab-stat strong {
	display: block;
	font-family: var(--font-heading);
	font-size: clamp(2.2rem, 4vw, 3.1rem);
	line-height: 1.1;
	color: var(--color-gold);
}
.ab-stat > span {
	display: block;
	margin-top: 6px;
	font-size: 0.85rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.85);
}

/* ---- What We Believe: value cards ---- */
.ab-values {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}
/* Each of the four boxes carries its own colour — green, gold, terracotta
   and blue: a soft wash of that colour behind the words, a bar of it along
   the top, a big faint circle in the corner, and the same colour on the
   heading and the icon tile. --ab-tone is the colour, --ab-tint the wash,
   --ab-ink the darker shade used for the heading. */
.ab-value {
	--ab-tone: var(--color-primary);
	--ab-tint: rgba(47, 93, 80, 0.1);
	--ab-wash: rgba(47, 93, 80, 0.24);
	--ab-glow: rgba(47, 93, 80, 0.36);
	--ab-ink: var(--color-primary-dark);
	position: relative;
	min-width: 0;
	overflow: hidden;
	padding: 36px 26px 28px;
	background: linear-gradient(180deg, var(--ab-tint) 0%, var(--color-surface) 62%);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-sm);
	transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition), background var(--transition);
}
/* Colour bar across the top */
.ab-value::before {
	content: '';
	position: absolute;
	top: 0; left: 0; right: 0;
	height: 5px;
	background: var(--ab-tone);
	transition: height var(--transition);
}
/* Big soft circle of the same colour, top right */
.ab-value::after {
	content: '';
	position: absolute;
	top: -46px;
	right: -46px;
	width: 130px;
	height: 130px;
	border-radius: 50%;
	background: var(--ab-tone);
	opacity: 0.09;
	transition: transform var(--transition), opacity var(--transition);
}
/* Hover: the box deepens into its OWN colour — stronger wash, a thicker
   colour bar, a coloured shadow instead of a grey one, and the icon tile
   tilts. Each of the four therefore reacts in its own colour. */
.ab-value:hover,
.ab-value:focus-within {
	transform: translateY(-8px);
	background: linear-gradient(180deg, var(--ab-wash) 0%, var(--color-surface) 68%);
	border-color: var(--ab-tone);
	box-shadow: 0 20px 40px var(--ab-glow);
}
.ab-value:hover::before,
.ab-value:focus-within::before { height: 9px; }
.ab-value:hover::after,
.ab-value:focus-within::after { transform: scale(1.25); opacity: 0.2; }
.ab-value:hover .ab-value-icon,
.ab-value:focus-within .ab-value-icon { box-shadow: 0 14px 28px var(--ab-glow); }
/* Each colour: --ab-tint the calm wash, --ab-wash the deeper wash used on
   hover, --ab-glow the coloured shadow, --ab-ink the heading colour. */
.ab-value--green      { --ab-tone: var(--color-primary);     --ab-tint: rgba(47, 93, 80, 0.12);    --ab-wash: rgba(47, 93, 80, 0.26);    --ab-glow: rgba(47, 93, 80, 0.38);   --ab-ink: var(--color-primary-dark); }
.ab-value--ochre      { --ab-tone: var(--accent-ochre);      --ab-tint: rgba(181, 137, 74, 0.16);  --ab-wash: rgba(181, 137, 74, 0.3);   --ab-glow: rgba(181, 137, 74, 0.42); --ab-ink: #8a6630; }
.ab-value--terracotta { --ab-tone: var(--accent-terracotta); --ab-tint: rgba(201, 120, 79, 0.16);  --ab-wash: rgba(201, 120, 79, 0.3);   --ab-glow: rgba(201, 120, 79, 0.42); --ab-ink: #9a4a26; }
.ab-value--blue       { --ab-tone: var(--accent-dusk-blue);  --ab-tint: rgba(107, 127, 158, 0.16); --ab-wash: rgba(107, 127, 158, 0.3);  --ab-glow: rgba(107, 127, 158, 0.42); --ab-ink: #455b78; }
.ab-value--sage       { --ab-tone: var(--accent-sage);       --ab-tint: rgba(79, 127, 111, 0.16);  --ab-wash: rgba(79, 127, 111, 0.3);   --ab-glow: rgba(79, 127, 111, 0.42); --ab-ink: #2f5d50; }
.ab-value-icon {
	position: relative;
	z-index: 1;
	width: 58px;
	height: 58px;
	margin-bottom: 18px;
	border-radius: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	background: var(--ab-tone);
	box-shadow: 0 10px 22px var(--ab-glow);
	transition: transform var(--transition), box-shadow var(--transition);
}
.ab-value:hover .ab-value-icon { transform: rotate(-6deg) scale(1.06); }
.ab-value-icon svg { width: 28px; height: 28px; }
.ab-value h3 { position: relative; z-index: 1; font-size: 1.15rem; margin-bottom: 8px; color: var(--ab-ink); }
.ab-value p { position: relative; z-index: 1; margin: 0; font-size: 0.93rem; color: var(--color-text-light); }
@media (prefers-reduced-motion: reduce) {
	.ab-value, .ab-value::after, .ab-value-icon { transition: none; }
	.ab-value:hover { transform: none; }
	.ab-value:hover::after { transform: none; }
}

/* ---- What We Teach: six program tiles ---- */
.ab-paths {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}
.ab-path {
	position: relative;
	display: block;
	min-height: 280px;
	border-radius: var(--radius-md);
	overflow: hidden;
	color: #fff;
	box-shadow: var(--shadow-sm);
	isolation: isolate;
}
.ab-path img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: -2;
	transition: transform 600ms ease;
}
.ab-path::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(0deg, rgba(20, 36, 30, 0.92) 0%, rgba(20, 36, 30, 0.55) 45%, rgba(20, 36, 30, 0.1) 100%);
	transition: background var(--transition);
}
.ab-path-body {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 24px;
}
.ab-path-body strong { font-family: var(--font-heading); font-size: 1.35rem; line-height: 1.25; }
.ab-path-body > span { font-size: 0.88rem; color: rgba(255, 255, 255, 0.85); }
.ab-path-more {
	margin-top: 6px;
	font-weight: 600;
	color: #f0d9a4 !important;
	opacity: 0;
	transform: translateY(8px);
	transition: opacity var(--transition), transform var(--transition);
}
.ab-path:hover, .ab-path:focus-visible { color: #fff; box-shadow: var(--shadow-lg); }
.ab-path:hover img, .ab-path:focus-visible img { transform: scale(1.07); }
.ab-path:hover .ab-path-more, .ab-path:focus-visible .ab-path-more { opacity: 1; transform: none; }

/* ---- Our Teachers ---- */
.ab-teachers {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
}
.ab-teacher {
	display: flex;
	flex-direction: column;
	min-width: 0;
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-sm);
	overflow: hidden;
	transition: transform var(--transition), box-shadow var(--transition);
}
.ab-teacher:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.ab-teacher-photo {
	aspect-ratio: 4 / 3.6;
	background: var(--color-bg-alt);
	overflow: hidden;
}
.ab-teacher-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform 600ms ease; }
.ab-teacher:hover .ab-teacher-photo img { transform: scale(1.05); }
.ab-teacher-body { padding: 22px 24px 26px; }
.ab-teacher-body h3 { margin: 0 0 8px; font-size: 1.2rem; color: var(--color-primary-dark); }
.ab-teacher-badge {
	display: inline-block;
	margin-bottom: 10px;
	padding: 4px 12px;
	border-radius: 999px;
	font-size: 0.75rem;
	font-weight: 600;
	color: var(--color-secondary-dark);
	background: rgba(217, 138, 61, 0.12);
}
.ab-teacher-role { margin: 0 0 12px; font-size: 0.88rem; color: var(--color-text-light); }
.ab-teacher-body p { margin: 0; font-size: 0.92rem; color: var(--color-text-light); }
.ab-teacher-body .ab-teacher-quote {
	padding-top: 12px;
	border-top: 1px dashed var(--color-border);
	font-family: var(--font-heading);
	font-style: italic;
	color: var(--color-primary-dark);
}
.ab-center { margin-top: 36px; text-align: center; }

/* ---- Student review ---- */
.ab-review {
	position: relative;
	max-width: 860px;
	margin: 0 auto;
	padding: 56px 56px 44px;
	text-align: center;
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-md);
}
.ab-review-mark {
	position: absolute;
	top: -34px;
	left: 50%;
	transform: translateX(-50%);
	width: 68px;
	height: 68px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	padding-top: 22px;
	font-family: var(--font-heading);
	font-size: 4rem;
	line-height: 1;
	color: #fff;
	background: linear-gradient(135deg, var(--color-secondary), var(--color-secondary-dark));
	box-shadow: 0 8px 22px rgba(217, 138, 61, 0.35);
}
.ab-review .stars { color: var(--color-secondary); letter-spacing: 3px; font-size: 1.1rem; margin-bottom: 14px; }
.ab-review blockquote { margin: 0; }
.ab-review blockquote p {
	margin: 0;
	font-family: var(--font-heading);
	font-size: clamp(1.05rem, 1.6vw, 1.3rem);
	line-height: 1.7;
	color: var(--color-text);
}
.ab-review figcaption {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	margin-top: 26px;
	text-align: left;
}
.ab-review figcaption > span:last-child { font-size: 0.88rem; color: var(--color-text-light); }
.ab-review figcaption strong { display: block; font-size: 1rem; color: var(--color-primary-dark); }
.ab-review-avatar {
	flex-shrink: 0;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 1.1rem;
	color: #fff;
	background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
}
.ab-review-more { display: block; margin-top: 18px; font-weight: 600; }

/* ---- Places Near Our School: video cards on a deep green band ---- */
.ab-around {
	position: relative;
	background:
		radial-gradient(ellipse at 15% 0%, rgba(201, 162, 75, 0.18), transparent 55%),
		radial-gradient(ellipse at 90% 100%, rgba(79, 127, 111, 0.35), transparent 60%),
		linear-gradient(160deg, #173129 0%, var(--color-primary-dark) 50%, #16302a 100%);
	color: #fff;
	overflow: hidden;
}
.ab-around::before {
	content: 'ॐ';
	position: absolute;
	left: -2%;
	bottom: -8%;
	font-size: 22rem;
	line-height: 1;
	color: rgba(255, 255, 255, 0.035);
	pointer-events: none;
}
.ab-around .container { position: relative; }
.ab-around .section-head h2 { color: #fff; }
.ab-around .section-head p { color: rgba(255, 255, 255, 0.78); }
.ab-around .eyebrow { color: var(--color-gold); }

.ab-places {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 26px;
}
.ab-place { min-width: 0; }
.ab-place-open {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 4 / 5;
	padding: 0;
	border: 0;
	border-radius: var(--radius-lg);
	overflow: hidden;
	background: #0f201b;
	color: #fff;
	text-align: left;
	font: inherit;
	cursor: pointer;
	isolation: isolate;
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
	transition: transform var(--transition), box-shadow var(--transition);
}
.ab-place-open:hover,
.ab-place-open:focus-visible {
	transform: translateY(-8px);
	box-shadow: 0 26px 55px rgba(0, 0, 0, 0.45), 0 0 0 2px rgba(201, 162, 75, 0.6);
}
.ab-place-open:focus-visible { outline: none; }
.ab-place-poster,
.ab-place-preview {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: -2;
}
.ab-place-poster { transition: transform 900ms ease; }
.ab-place-open:hover .ab-place-poster { transform: scale(1.08); }
.ab-place-preview { opacity: 0; transition: opacity 400ms ease; }
.ab-place-open.is-previewing .ab-place-preview { opacity: 1; }
.ab-place-open::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(0deg, rgba(10, 22, 18, 0.95) 0%, rgba(10, 22, 18, 0.55) 38%, rgba(10, 22, 18, 0.05) 65%, rgba(10, 22, 18, 0.35) 100%);
}
.ab-place-tag {
	position: absolute;
	top: 16px;
	left: 16px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	max-width: calc(100% - 100px);
	padding: 6px 12px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.16);
	border: 1px solid rgba(255, 255, 255, 0.28);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.ab-place-tag svg { width: 14px; height: 14px; flex-shrink: 0; color: var(--color-gold); }
.ab-place-time {
	position: absolute;
	top: 16px;
	right: 16px;
	padding: 5px 10px;
	border-radius: 999px;
	background: rgba(0, 0, 0, 0.5);
	font-size: 0.75rem;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
}
.ab-place-play {
	position: absolute;
	top: 42%;
	left: 50%;
	width: 72px;
	height: 72px;
	margin: -36px 0 0 -36px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	background: rgba(217, 138, 61, 0.92);
	box-shadow: 0 0 0 10px rgba(217, 138, 61, 0.22);
	transition: transform var(--transition), box-shadow var(--transition), opacity var(--transition);
}
.ab-place-play svg { width: 30px; height: 30px; margin-left: 4px; }
.ab-place-open:hover .ab-place-play,
.ab-place-open:focus-visible .ab-place-play { transform: scale(1.1); box-shadow: 0 0 0 16px rgba(217, 138, 61, 0.2); }
.ab-place-open.is-previewing .ab-place-play { opacity: 0; transform: scale(0.8); }
.ab-place-body {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 22px 22px 24px;
}
.ab-place-num {
	font-family: var(--font-heading);
	font-size: 0.9rem;
	font-weight: 700;
	color: var(--color-gold);
	letter-spacing: 0.08em;
}
.ab-place-body strong {
	font-family: var(--font-heading);
	font-size: clamp(1.2rem, 1.7vw, 1.45rem);
	line-height: 1.25;
}
.ab-place-text {
	font-size: 0.88rem;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.82);
}

.ab-more {
	margin-top: 44px;
	padding: 26px 28px;
	border-radius: var(--radius-lg);
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.14);
}
.ab-more h3 {
	margin: 0 0 18px;
	font-size: 1.15rem;
	color: #fff;
}
.ab-more-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
}
.ab-more-list li { display: flex; gap: 12px; align-items: flex-start; min-width: 0; }
.ab-more-icon {
	flex-shrink: 0;
	width: 38px;
	height: 38px;
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--color-primary-dark);
	background: var(--color-gold);
}
.ab-more-icon svg { width: 20px; height: 20px; }
.ab-more-list strong { display: block; color: #fff; font-size: 0.95rem; line-height: 1.3; }
.ab-more-list li > span:last-child { font-size: 0.84rem; color: rgba(255, 255, 255, 0.72); }

/* Full-screen video player */
.ab-player {
	width: 100vw;
	max-width: 100vw;
	height: 100vh;
	height: 100dvh;          /* iPhone: allows for the address bar */
	max-height: 100vh;
	max-height: 100dvh;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: #fff;
	overflow: hidden;
}
.ab-player[open] { display: flex; align-items: center; justify-content: center; }
html.ab-player-lock { overflow: hidden; }
.ab-player::backdrop { background: rgba(8, 18, 15, 0.92); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.ab-player-inner { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 0 84px; }
.ab-player video {
	display: block;
	max-width: min(92vw, 1000px);
	max-height: 80vh;
	border-radius: var(--radius-md);
	background: #000;
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}
.ab-player-caption { margin: 0; text-align: center; }
.ab-player-tag { display: block; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-gold); }
.ab-player-title { font-family: var(--font-heading); font-size: 1.25rem; }
.ab-player-btn {
	position: absolute;
	width: 52px;
	height: 52px;
	border: 1px solid rgba(255, 255, 255, 0.25);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	background: rgba(255, 255, 255, 0.12);
	cursor: pointer;
	transition: background var(--transition), transform var(--transition);
}
.ab-player-btn svg { width: 22px; height: 22px; }
.ab-player-btn:hover, .ab-player-btn:focus-visible { background: var(--color-secondary); transform: scale(1.06); }
.ab-player-close { top: 22px; right: 22px; }
.ab-player-prev { left: 22px; top: 50%; margin-top: -26px; }
.ab-player-next { right: 22px; top: 50%; margin-top: -26px; }

/* ---- Visit Us ---- */
.ab-visit {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-md);
	overflow: hidden;
}
.ab-visit-media { min-height: 100%; }
.ab-visit-media img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; display: block; }
.ab-visit-body { padding: 48px 48px 44px; }
.ab-visit-body h2 { margin-bottom: 12px; }
.ab-visit-body > p { color: var(--color-text-light); }
.ab-visit-list { list-style: none; margin: 22px 0 28px; padding: 0; display: grid; gap: 14px; }
.ab-visit-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--color-text); overflow-wrap: anywhere; }
.ab-visit-list svg {
	flex-shrink: 0;
	width: 36px;
	height: 36px;
	padding: 8px;
	border-radius: 10px;
	color: var(--color-primary);
	background: rgba(47, 93, 80, 0.1);
}
.ab-visit-list span { padding-top: 7px; }
.ab-visit-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.ab-visit-actions .btn svg { width: 18px; height: 18px; }

/* ---- Responsive ---- */
@media (max-width: 1180px) {
	.ab-values { grid-template-columns: repeat(2, 1fr); }
	.ab-more-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1024px) {
	.ab-story-grid { grid-template-columns: 1fr; gap: 48px; }
	.ab-story-media { max-width: 640px; margin: 0 auto; width: 100%; }
	.ab-paths, .ab-teachers, .ab-places { grid-template-columns: repeat(2, 1fr); }
	.ab-visit { grid-template-columns: 1fr; }
	.ab-visit-media img { min-height: 260px; max-height: 340px; }
}
@media (max-width: 780px) {
	.ab-stats { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
	.ab-stat + .ab-stat { border-left: 0; }
	.ab-values, .ab-paths, .ab-teachers { grid-template-columns: 1fr; }
	.ab-story-media { padding: 0 24px 40px 0; }
	.ab-story-media::before { display: none; }
	.ab-story-badge { left: 12px; bottom: 12px; font-size: 0.78rem; }
	.ab-path { min-height: 240px; }
	.ab-path-more { opacity: 1; transform: none; }
	.ab-review { padding: 48px 22px 34px; }
	.ab-visit-body { padding: 30px 22px; }
	.ab-visit-actions .btn { width: 100%; justify-content: center; }

	/* Places: swipe sideways through the cards on a phone. */
	.ab-places {
		display: flex;
		gap: 16px;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		margin: 0 -16px;
		padding: 6px 16px 18px;
		scrollbar-width: none;
		-webkit-overflow-scrolling: touch;
	}
	.ab-places::-webkit-scrollbar { display: none; }
	.ab-place { flex: 0 0 82%; scroll-snap-align: center; }
	.ab-place-open { aspect-ratio: 9 / 14; }
	.ab-place-open:hover { transform: none; }
	.ab-place-play { top: 30%; width: 60px; height: 60px; margin: -30px 0 0 -30px; }
	.ab-place-play svg { width: 24px; height: 24px; }
	.ab-place-body { padding: 18px 18px 20px; }
	.ab-place-text { font-size: 0.82rem; }
	.ab-more { padding: 22px 18px; }
	.ab-more-list { grid-template-columns: 1fr; }
	.ab-player-inner { padding: 0 12px; }
	.ab-player-prev, .ab-player-next { top: auto; bottom: 22px; margin-top: 0; }
	.ab-player-prev { left: calc(50% - 64px); }
	.ab-player-next { right: calc(50% - 64px); }
	.ab-player video { max-height: 72vh; }
}

@media (prefers-reduced-motion: reduce) {
	.ab-path img, .ab-teacher-photo img, .ab-value, .ab-value-icon, .ab-teacher,
	.ab-place-open, .ab-place-poster, .ab-place-play { transition: none; }
}
