/*
Theme Name: Cendekia
Author: Cendekia
Description: Tema website sekolah yang universal untuk SD, SMP, SMA/SMK, maupun madrasah. Dilengkapi hero slider yang dapat diatur penuh, serta post type Program Unggulan, Akademik, Ekstrakurikuler, Pengumuman, Kalender Akademik, Prestasi, Fasilitas, dan Guru & Staf. Logo, nama, dan slogan diambil dari Identitas Situs; semua teks beranda dapat diubah melalui Tampilan → Sesuaikan → Pengaturan Sekolah.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 8.1
License: GPL-2.0-or-later
Text Domain: cendekia
*/

/* ---------- Tokens ---------- */
:root {
	--teal: #0b8a97;
	--teal-dark: #08707b;
	--teal-deep: #0b5f6e;
	--navy: #0c3557;
	--blue: #1d9bd7;
	--yellow: #fbcb2a;
	--yellow-soft: #fff6d6;
	--orange: #f58a1f;
	--purple: #7c5cd6;
	--green: #36a25b;
	--ink: #24323f;
	--muted: #5d6b78;
	--line: #e6edf2;
	--bg: #ffffff;
	--bg-soft: #f4fafc;
	--bg-cream: #fffbf1;
	--radius: 18px;
	--radius-sm: 12px;
	--shadow: 0 10px 30px rgba(12, 53, 87, .08);
	--shadow-lg: 0 18px 45px rgba(12, 53, 87, .12);
	--font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	--font-hand: "Caveat", "Comic Sans MS", cursive;
	--container: 1200px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.65;
	color: var(--ink);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
	overflow-x: clip; /* clip (not hidden) keeps the sticky header working */
}
html.nav-open { overflow: hidden; } /* lock page scroll while the mobile menu is open */
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--teal); text-decoration: none; transition: color .2s; }
a:hover { color: var(--teal-dark); }
h1, h2, h3, h4 { color: var(--navy); line-height: 1.2; margin: 0 0 .6em; font-weight: 800; }
p { margin: 0 0 1em; }
.icon { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 860px; }
.screen-reader-text, .skip-link:not(:focus) {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 1000; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 8px; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	padding: .8em 1.5em; border-radius: 999px; border: 2px solid transparent;
	font: 700 .95rem/1.2 var(--font); cursor: pointer; white-space: nowrap;
	transition: transform .2s, box-shadow .2s, background .2s, color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--teal); color: #fff; box-shadow: 0 8px 20px rgba(11, 138, 151, .3); }
.btn--primary:hover { background: var(--teal-dark); color: #fff; }
.btn--yellow { background: var(--yellow); color: var(--navy); box-shadow: 0 8px 20px rgba(251, 203, 42, .35); }
.btn--yellow:hover { background: #f4bd0a; color: var(--navy); }
.btn--orange { background: var(--orange); color: #fff; box-shadow: 0 8px 20px rgba(245, 138, 31, .3); }
.btn--orange:hover { background: #e07812; color: #fff; }
.btn--outline { background: #fff; color: var(--teal); border-color: var(--teal); }
.btn--outline:hover { background: var(--teal); color: #fff; }
.btn--outline-light { color: #fff; border-color: rgba(255, 255, 255, .6); }
.btn--outline-light:hover { background: #fff; color: var(--teal-deep); }
.icon-btn {
	display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
	border: 0; background: var(--yellow-soft); color: var(--navy); cursor: pointer; transition: background .2s;
}
.icon-btn:hover { background: var(--yellow); }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; font-size: .95rem; }
.link-arrow .icon { transition: transform .2s; }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px);
	border-bottom: 1px solid transparent; transition: box-shadow .25s, border-color .25s;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(12, 53, 87, .08); border-color: var(--line); }
.admin-bar .site-header { top: 32px; }
.site-header__inner { display: flex; align-items: center; gap: 24px; min-height: 84px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--navy); flex: none; }
.brand:hover { color: var(--navy); }
.brand__logo { width: 56px; height: 56px; object-fit: contain; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-weight: 800; font-size: 1.05rem; }
.brand__tagline { font: 700 1.2rem/1 var(--font-hand); color: var(--orange); margin-top: 2px; }

.main-nav { flex: 1; display: flex; justify-content: center; }
.main-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; align-items: center; }
.main-nav .menu > li { position: relative; }
.main-nav .menu > li > a { white-space: nowrap; }
.main-nav .menu a {
	display: flex; align-items: center; gap: 4px; padding: 10px 12px;
	color: var(--navy); font-weight: 600; font-size: .92rem; position: relative;
}
.main-nav .menu > li > a::after {
	content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 3px; border-radius: 3px;
	background: var(--yellow); transform: scaleX(0); transition: transform .25s;
}
.main-nav .menu > li > a:hover, .main-nav .current-menu-item > a, .main-nav .current-menu-ancestor > a, .main-nav .current_page_item > a { color: var(--teal); }
.main-nav .menu > li > a:hover::after, .main-nav .current-menu-item > a::after, .main-nav .current-menu-ancestor > a::after { transform: scaleX(1); }
.main-nav .menu-item-has-children > a::before {
	content: ""; order: 2; width: 7px; height: 7px; border: solid currentColor; border-width: 0 2px 2px 0;
	transform: rotate(45deg) translateY(-2px); margin-left: 4px;
}
.main-nav .sub-menu {
	list-style: none; margin: 0; padding: 8px; position: absolute; top: 100%; left: 0; min-width: 230px;
	background: #fff; border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); border: 1px solid var(--line);
	opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s;
}
.main-nav .menu > li:hover > .sub-menu, .main-nav .menu > li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.main-nav .sub-menu a { padding: 9px 12px; border-radius: 8px; font-weight: 600; }
.main-nav .sub-menu a:hover { background: var(--bg-soft); }
.main-nav__panel { display: contents; }
.main-nav__head, .main-nav__foot, .submenu-toggle { display: none; }

.site-header__actions { display: flex; align-items: center; gap: 12px; flex: none; margin-left: auto; }
.nav-toggle { display: none; background: var(--bg-soft); }
.nav-toggle__close { display: none; }

.search-panel { border-top: 1px solid var(--line); padding: 16px 0; background: #fff; }
.search-form { display: flex; gap: 10px; max-width: 640px; margin: 0 auto; }
.search-form input {
	flex: 1; min-width: 0; padding: .8em 1.2em; border-radius: 999px; border: 2px solid var(--line);
	font: 500 1rem var(--font); color: var(--ink); background: #fff;
}
.search-form input:focus { border-color: var(--teal); outline: none; }
.search-close { display: none; }

/* Tablet & mobile: search covers the header row, like a mobile app search bar */
@media (max-width: 1024px) {
	.search-panel {
		position: absolute; inset: 0; z-index: 110; display: flex; align-items: center;
		padding: 0; border: 0; background: #fff; box-shadow: 0 6px 24px rgba(12, 53, 87, .08);
		animation: search-in .18s ease-out;
	}
	.search-panel[hidden] { display: none; }
	.search-panel__inner { display: flex; align-items: center; gap: 8px; }
	.search-close { display: inline-grid; flex: none; background: transparent; }
	.search-close:hover { background: var(--bg-soft); }
	.search-close .icon { width: 22px; height: 22px; }
	.search-panel .search-form { position: relative; flex: 1; flex-direction: row; max-width: none; margin: 0; }
	.search-panel .search-form input { height: 48px; padding: 0 54px 0 18px; background: var(--bg-soft); border-color: transparent; }
	.search-panel .search-form input:focus { background: #fff; border-color: var(--teal); }
	.search-panel .search-form .btn {
		position: absolute; right: 4px; top: 4px; width: 40px; height: 40px; padding: 0;
		border-radius: 50%; box-shadow: none;
	}
	.search-panel .search-form .btn:hover { transform: none; }
	.search-panel .search-form__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}
@keyframes search-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- Waves ---------- */
.wave { position: absolute; left: 0; bottom: -1px; width: 100%; height: 90px; display: block; pointer-events: none; }
.wave__accent { fill: var(--yellow); }
.wave__base { fill: #fff; }

/* ---------- Hero / slider ---------- */
.hero { position: relative; overflow: hidden; background: #eaf7fc; --ease: cubic-bezier(.65, 0, .35, 1); }
.hero__track { display: grid; }
.hero-slide {
	grid-area: 1 / 1; position: relative; display: flex; min-width: 0;
	background: var(--slide-bg, #eaf7fc);
	opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility 0s linear .9s;
}
.hero-slide.is-active { opacity: 1; visibility: visible; z-index: 1; transition: opacity .9s ease; }
/* Slide (geser) effect */
.hero--effect-slide .hero-slide { opacity: 1; transform: translateX(100%); transition: transform .8s var(--ease), visibility 0s linear .8s; }
.hero--effect-slide .hero-slide.is-active { transform: none; transition: transform .8s var(--ease); }
.hero--effect-slide .hero-slide.from-left { transform: translateX(-100%); }
.hero--effect-slide .hero-slide.to-left,
.hero--effect-slide .hero-slide.to-right { visibility: visible; z-index: 1; transition: transform .8s var(--ease); }
.hero--effect-slide .hero-slide.to-left { transform: translateX(-100%); }
.hero--effect-slide .hero-slide.to-right { transform: translateX(100%); }
.hero .no-anim { transition: none !important; }

.hero-slide__media { position: absolute; inset: 0; overflow: hidden; }
.hero-slide__media picture, .hero-slide__media img { width: 100%; height: 100%; }
.hero-slide__media img { object-fit: cover; object-position: var(--img-pos, center); }
.hero-slide__media::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
.hero--kenburns .hero-slide.is-active .hero-slide__media img { animation: hero-kenburns 14s ease-out both; }
@keyframes hero-kenburns { from { transform: scale(1.1); } to { transform: scale(1); } }

/* Split layout: image on the side opposite the text, fading into the background colour */
.hero-slide--split.hero-slide--left .hero-slide__media { left: 38%; }
.hero-slide--split.hero-slide--right .hero-slide__media { right: 38%; }
.hero-slide--split.hero-slide--left .hero-slide__media::after {
	background: linear-gradient(90deg, var(--slide-bg) 0%, color-mix(in srgb, var(--slide-bg) 80%, transparent) 16%, transparent 45%);
}
.hero-slide--split.hero-slide--right .hero-slide__media::after {
	background: linear-gradient(270deg, var(--slide-bg) 0%, color-mix(in srgb, var(--slide-bg) 80%, transparent) 16%, transparent 45%);
}
/* Full layout: image behind everything with a colour overlay */
.hero-slide--full .hero-slide__media::after { background: var(--slide-overlay); opacity: var(--slide-overlay-o, .45); }

.hero-slide__inner {
	position: relative; z-index: 1; display: flex; align-items: center;
	min-height: var(--hero-h, 580px); padding-top: 56px; padding-bottom: 140px;
}
.hero-slide--v-top .hero-slide__inner { align-items: flex-start; }
.hero-slide--v-bottom .hero-slide__inner { align-items: flex-end; }
.hero-slide--right .hero-slide__inner { justify-content: flex-end; }
.hero-slide--center .hero-slide__inner { justify-content: center; text-align: center; }

.hero__content { max-width: 520px; position: relative; }
.hero-slide--w-s .hero__content { max-width: 420px; }
.hero-slide--w-l .hero__content { max-width: 680px; }
.hero-slide--split .hero__content::before { /* soft glow behind text */
	content: ""; position: absolute; inset: -40px -60px; z-index: -1;
	background: radial-gradient(closest-side, color-mix(in srgb, var(--slide-bg) 92%, transparent), transparent);
}
.hero__greeting { color: var(--slide-accent, var(--teal)); font-weight: 700; font-size: 1.2rem; margin-bottom: .3em; }
.hero__title { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 800; margin-bottom: .3em; position: relative; }
.hero-slide--title-s .hero__title { font-size: clamp(1.8rem, 3.6vw, 2.5rem); }
.hero-slide--title-l .hero__title { font-size: clamp(2.5rem, 5.6vw, 4rem); }
.hero__accent { color: var(--slide-accent, var(--teal)); }
.hero__spark-anchor { position: relative; display: inline-block; width: 0; height: 1em; vertical-align: top; }
.hero__spark { position: absolute; left: 6px; top: -16px; width: 44px; height: 44px; max-width: none; color: var(--yellow); }
.hero-slide--center .hero__spark { display: none; }
.hero__desc { font-size: 1.08rem; color: var(--ink); max-width: 460px; margin-bottom: 1.6em; }
.hero-slide--w-l .hero__desc { max-width: 600px; }
.hero-slide--center .hero__desc { margin-left: auto; margin-right: auto; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-slide--center .hero__actions { justify-content: center; }

/* Light text theme */
.hero-slide--light .hero__title, .hero-slide--light .hero__desc { color: #fff; }
.hero-slide--light .hero__title, .hero-slide--light .hero__greeting { text-shadow: 0 2px 18px rgba(0, 0, 0, .25); }
.hero-slide--light .hero__desc { opacity: .92; }

/* Tagline styles */
.hero__tagline { margin: 0 0 1.2em; }
.hero__title + .hero__tagline { margin-top: .1em; }
.hero__greeting + .hero__tagline { margin-bottom: .5em; }
.hero__tagline span {
	display: inline-block; font-weight: 800; font-size: clamp(1.2rem, 2.4vw, 1.6rem); line-height: 1.3; color: var(--tag-fg);
}
.hero__tagline--pill span, .hero__tagline--pill-flat span {
	background: var(--tag-bg); padding: .2em 1em; border-radius: 999px;
	box-shadow: 0 8px 20px color-mix(in srgb, var(--tag-bg) 35%, transparent);
}
.hero__tagline--pill span { transform: rotate(-1.5deg); }
.hero__tagline--highlight span { background: linear-gradient(transparent 58%, var(--tag-bg) 58%, var(--tag-bg) 92%, transparent 92%); padding: 0 .2em; }
.hero__tagline--underline span { border-bottom: 4px solid var(--tag-bg); padding-bottom: .05em; }
.hero__tagline--outline span { border: 2px solid var(--tag-bg); padding: .15em .9em; border-radius: 999px; }
.hero__tagline--plain span { color: var(--tag-bg); }

/* Controls */
.hero__arrow {
	position: absolute; top: calc(50% - 40px); z-index: 3; width: 48px; height: 48px; border-radius: 50%; border: 0;
	display: grid; place-items: center; cursor: pointer; color: var(--navy);
	background: rgba(255, 255, 255, .85); box-shadow: var(--shadow); opacity: .75; transition: opacity .2s, background .2s, transform .2s;
}
.hero__arrow:hover, .hero__arrow:focus-visible { opacity: 1; background: var(--yellow); }
.hero__arrow .icon { width: 22px; height: 22px; }
.hero__arrow--prev { left: 18px; }
.hero__arrow--prev .icon { transform: rotate(90deg); }
.hero__arrow--next { right: 18px; }
.hero__arrow--next .icon { transform: rotate(-90deg); }
.hero__dots { position: absolute; z-index: 3; left: 50%; bottom: 78px; transform: translateX(-50%); display: flex; gap: 8px; }
.hero__dot { width: 12px; height: 12px; padding: 0; border: 0; border-radius: 999px; cursor: pointer; overflow: hidden; background: rgba(12, 53, 87, .25); transition: width .3s; }
.hero__dot.is-active { width: 36px; background: rgba(12, 53, 87, .2); }
.hero__dot span { display: block; height: 100%; width: 0; background: var(--yellow); border-radius: inherit; }
.hero__dot.is-active span { width: 100%; }
.hero.is-playing .hero__dot.is-active span { width: 0; animation: hero-progress var(--interval, 6s) linear forwards; }
.hero.is-paused .hero__dot.is-active span { animation-play-state: paused; }
@keyframes hero-progress { to { width: 100%; } }
.hero__pause {
	position: absolute; z-index: 3; right: 24px; bottom: 70px; width: 34px; height: 34px; border-radius: 50%; border: 0;
	display: grid; place-items: center; cursor: pointer; background: rgba(255, 255, 255, .85); color: var(--navy);
}
.hero__pause .icon { width: 14px; height: 14px; }
.hero__play-icon, .hero.is-stopped .hero__pause-icon { display: none; }
.hero.is-stopped .hero__play-icon { display: block; }
.hero__wave { height: 110px; z-index: 2; }

@media (prefers-reduced-motion: reduce) {
	.hero-slide, .hero-slide.is-active, .hero--effect-slide .hero-slide { transition: none !important; }
	.hero--kenburns .hero-slide.is-active .hero-slide__media img { animation: none; }
}

/* Tablet & mobile: image becomes the background, text sits at the bottom,
   aligned to the slide's chosen side (left / center / right). */
@media (max-width: 1024px) {
	.hero-slide { --m-fade: var(--slide-bg); }
	.hero-slide--light { --m-fade: var(--slide-overlay); }
	.hero-slide--split.hero-slide--left .hero-slide__media,
	.hero-slide--split.hero-slide--right .hero-slide__media { inset: 0; }
	.hero-slide__media::before { /* bottom fade so text stays readable */
		content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
		background: linear-gradient(0deg, var(--m-fade) 0%, color-mix(in srgb, var(--m-fade) 94%, transparent) 42%, color-mix(in srgb, var(--m-fade) 70%, transparent) 62%, color-mix(in srgb, var(--m-fade) 20%, transparent) 82%, transparent 100%);
	}
	.hero-slide--split .hero-slide__media::after { background: none !important; }
	.hero-slide--split .hero__content::before { display: none; }
	.hero .hero-slide__inner {
		min-height: var(--hero-h-m, 640px); align-items: flex-end !important;
		padding-top: 120px; padding-bottom: 150px;
	}
	.hero__content { max-width: 600px !important; }
	.hero-slide--left .hero-slide__inner { justify-content: flex-start; text-align: left; }
	.hero-slide--right .hero-slide__inner { justify-content: flex-end; text-align: right; }
	.hero-slide--right .hero__actions { justify-content: flex-end; }
	.hero-slide--right .hero__desc { margin-left: auto; }
	.hero-slide--center .hero-slide__inner { justify-content: center; text-align: center; }
	.hero-slide--right .hero__spark { display: none; }
	.hero__arrow { display: none; }
	.hero__dots { bottom: 74px; }
}
@media (max-width: 720px) {
	.hero .hero-slide__inner { padding-top: 96px; padding-bottom: 116px; }
	/* Phones: lighter bottom gradient so the photo shows through; a soft text glow keeps contrast */
	.hero-slide__media::before {
		background: linear-gradient(0deg, color-mix(in srgb, var(--m-fade) 82%, transparent) 0%, color-mix(in srgb, var(--m-fade) 62%, transparent) 30%, color-mix(in srgb, var(--m-fade) 25%, transparent) 55%, transparent 75%);
	}
	.hero-slide--dark .hero__title, .hero-slide--dark .hero__greeting, .hero-slide--dark .hero__desc {
		text-shadow: 0 0 2px color-mix(in srgb, var(--slide-bg) 90%, transparent), 0 0 14px color-mix(in srgb, var(--slide-bg) 85%, transparent);
	}
	.hero-slide--light .hero__title, .hero-slide--light .hero__greeting, .hero-slide--light .hero__desc {
		text-shadow: 0 1px 3px rgba(0, 0, 0, .45), 0 0 16px rgba(0, 0, 0, .35);
	}
	.hero-slide--dark .hero__desc { font-weight: 500; }
	.hero__content { max-width: 100% !important; }
	.hero__title, .hero-slide--title-l .hero__title { font-size: clamp(1.9rem, 8.4vw, 2.6rem); }
	.hero-slide--title-s .hero__title { font-size: clamp(1.6rem, 7vw, 2.1rem); }
	.hero__greeting { font-size: 1.05rem; }
	.hero__desc { font-size: 1rem; margin-bottom: 1.3em; }
	.hero__actions { gap: 10px; }
	.hero__actions .btn { padding: .75em 1.2em; font-size: .9rem; }
	.hero__spark { width: 34px; height: 34px; top: -12px; }
	.hero__arrow { display: none; }
	.hero__wave { height: 70px; }
	.hero__dots { bottom: 52px; }
	.hero__pause { bottom: 44px; right: 16px; }
}

/* ---------- Features ---------- */
.features { position: relative; z-index: 2; margin-top: -40px; }
.features__card {
	display: grid; grid-template-columns: repeat(5, 1fr);
	background: #fff; border-radius: 24px; box-shadow: var(--shadow-lg); padding: 28px 12px;
}
.feature { text-align: center; padding: 6px 18px; position: relative; }
.feature + .feature::before { content: ""; position: absolute; left: 0; top: 10%; bottom: 10%; width: 1px; background: var(--line); }
.feature__icon {
	width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 14px;
}
.feature__icon .icon { width: 30px; height: 30px; }
.tint-blue { background: #dff2fb; color: #1683c2; }
.tint-yellow { background: #fff2c9; color: #e2a100; }
.tint-teal { background: #dcf4f2; color: var(--teal); }
.tint-orange { background: #ffe8d1; color: var(--orange); }
.tint-peach { background: #ffe9dc; color: #f07a2d; }
.feature__title { font-size: 1rem; margin-bottom: .35em; }
.feature__desc { font-size: .86rem; color: var(--muted); margin: 0; line-height: 1.5; }

/* ---------- Sections ---------- */
.section { padding: 80px 0; position: relative; }
.section--tight { padding: 56px 0 80px; }
.section-title { font-size: clamp(1.7rem, 3.2vw, 2.3rem); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 28px; }
.section-head .section-title { margin: 0; }
.eyebrow {
	display: flex; align-items: center; gap: 10px; margin: 0 0 .5em;
	font-weight: 700; font-size: .92rem; color: var(--orange);
}
.eyebrow::before { content: ""; width: 28px; height: 4px; border-radius: 4px; background: var(--yellow); }
.eyebrow--yellow { color: #c98a00; }
.eyebrow--orange::before { background: var(--orange); }

/* ---------- About ---------- */
.about { background: linear-gradient(180deg, #fff 0%, var(--bg-cream) 100%); overflow: hidden; }
.about::after { /* subtle mosque silhouette */
	content: ""; position: absolute; right: -40px; top: 30px; width: 260px; height: 220px; opacity: .07;
	background: radial-gradient(circle at 50% 70%, var(--orange) 0 38%, transparent 39%),
		linear-gradient(var(--orange), var(--orange)) 50% 100% / 80% 35% no-repeat;
	border-radius: 50% 50% 0 0;
}
.about__inner { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.about__media { position: relative; margin: 0; }
.about__frame { position: relative; overflow: hidden; aspect-ratio: 16 / 10; border-radius: 22px; box-shadow: var(--shadow-lg); }
.about__frame img { width: 100%; height: 100%; object-fit: cover; }
/* Parallax: the photo is taller than its frame and drifts slower than the page */
.about__frame.is-parallax img {
	position: absolute; left: 0; top: calc(var(--px-range, 0px) * -1);
	height: calc(100% + var(--px-range, 0px) * 2);
	transform: translate3d(0, var(--px-shift, 0px), 0); will-change: transform;
}
.about__badge {
	position: absolute; left: 24px; bottom: -22px; max-width: 250px;
	background: var(--yellow-soft); color: var(--navy); border: 2px solid #fff;
	font: 700 1.35rem/1.15 var(--font-hand); text-align: center; padding: 12px 20px; border-radius: 14px;
	box-shadow: var(--shadow); transform: rotate(-3deg);
}
.about__text { color: var(--muted); }
.about__bottom { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; margin-top: 8px; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 10px; align-items: center; font-weight: 600; font-size: .95rem; }
.checklist .icon { color: var(--teal); width: 22px; height: 22px; stroke-width: 3; }
.quote-card {
	margin: 0; background: #fff8e3; border: 1px solid #fde8a6; border-radius: 18px; padding: 22px;
	box-shadow: var(--shadow); position: relative;
}
.quote-card__mark { color: var(--yellow); width: 30px; height: 30px; fill: var(--yellow); }
.quote-card p { font-style: italic; color: var(--navy); font-weight: 600; margin: 8px 0; line-height: 1.5; }
.quote-card cite { font-size: .8rem; font-style: normal; color: var(--muted); }

/* ---------- Programs ---------- */
.programs { background: linear-gradient(180deg, #eaf6fb 0%, #f3fafd 100%); border-radius: 40px 40px 0 0; }
.programs__inner { display: grid; grid-template-columns: .85fr 1.6fr; gap: 48px; align-items: center; }
.programs__intro p:not(.eyebrow) { color: var(--muted); margin-bottom: 1.6em; }
.programs__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.program-card {
	display: flex; flex-direction: column; gap: 6px; background: #fff; border-radius: var(--radius); padding: 22px;
	box-shadow: var(--shadow); color: var(--ink); transition: transform .25s, box-shadow .25s;
	border: 1px solid rgba(11, 138, 151, .06);
}
.program-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: var(--ink); }
.program-card__icon { color: var(--teal); }
.program-card__icon .icon { width: 36px; height: 36px; }
.program-card__title { font-size: 1rem; margin: 8px 0 0; }
.program-card__desc { font-size: .85rem; color: var(--muted); margin: 0; line-height: 1.5; }

/* ---------- Cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card-grid--4 { grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card {
	background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
	display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; border: 1px solid var(--line);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card__media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-soft); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card__media img { transform: scale(1.05); }
.card__placeholder { display: grid; place-items: center; height: 100%; background: linear-gradient(135deg, #e2f4f8, #fff6d6); }
.card__placeholder img { width: 72px; height: 72px; object-fit: contain; opacity: .55; }
.card:hover .card__placeholder img { transform: none; }
.card__body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card__meta { display: flex; align-items: center; gap: 6px; font-size: .8rem; color: var(--muted); margin: 0; }
.card__title { font-size: 1rem; margin: 0; line-height: 1.35; }
.card__title a { color: var(--navy); }
.card__title a:hover { color: var(--teal); }
.card__excerpt { font-size: .88rem; color: var(--muted); margin: 4px 0 0; }
.badge {
	position: absolute; top: 12px; left: 12px; padding: .3em .9em; border-radius: 999px;
	font-size: .75rem; font-weight: 700; color: #fff; background: var(--teal);
}
.badge--inline { position: static; vertical-align: middle; margin-left: 6px; }
.badge--teal { background: var(--teal); }
.badge--orange { background: var(--orange); }
.badge--purple { background: var(--purple); }
.badge--blue { background: var(--blue); }
.badge--green { background: var(--green); }
.badge--yellow { background: var(--yellow); color: var(--navy); }

/* ---------- Agenda ---------- */
.agenda { padding-top: 0; }
.agenda__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.event {
	--accent: var(--teal);
	display: flex; gap: 16px; align-items: center; background: #fff; border: 1px solid var(--line);
	border-left: 5px solid var(--accent); border-radius: var(--radius-sm); padding: 14px 18px; box-shadow: var(--shadow);
}
.event.is-past { opacity: .6; }
.event__date {
	flex: none; width: 70px; text-align: center; border-radius: 12px; padding: 8px 4px;
	background: color-mix(in srgb, var(--accent) 12%, #fff); color: var(--accent);
}
.event__day { display: block; font-size: 1.6rem; font-weight: 800; line-height: 1; }
.event__month { display: block; font-size: .72rem; font-weight: 700; text-transform: uppercase; margin-top: 4px; }
.event__body { min-width: 0; }
.event__type { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--accent); }
.event__title { font-size: 1rem; margin: 2px 0 4px; }
.event__title a { color: var(--navy); }
.event__meta { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: center; font-size: .82rem; color: var(--muted); margin: 0; }
.event__meta span { display: inline-flex; gap: 4px; align-items: center; }
.event--libur { --accent: #e5484d; }
.event--ujian { --accent: var(--purple); }
.event--kegiatan { --accent: var(--teal); }
.event--hari-besar { --accent: var(--green); }
.event--ppdb { --accent: var(--orange); }
.event--rapat { --accent: var(--blue); }
.calendar__legend { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.calendar__legend li { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: .9rem; --accent: var(--teal); }
.calendar__legend .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--accent); }
.calendar__month + .calendar__month { margin-top: 40px; }
.calendar__month-title { font-size: 1.3rem; padding-bottom: 10px; border-bottom: 2px dashed var(--line); margin-bottom: 18px; }

/* ---------- Tiles & people ---------- */
.tile-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tile {
	display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden;
	box-shadow: var(--shadow); border: 1px solid var(--line); color: var(--ink); transition: transform .25s, box-shadow .25s;
}
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: var(--ink); }
.tile__media { display: block; aspect-ratio: 16 / 9; overflow: hidden; }
.tile__media img { width: 100%; height: 100%; object-fit: cover; }
.tile__body { padding: 22px; display: flex; flex-direction: column; gap: 6px; }
.tile__title { font-weight: 800; color: var(--navy); font-size: 1.08rem; margin-top: 6px; }
.tile__desc { font-size: .9rem; color: var(--muted); }
.tile__meta { display: flex; gap: 6px; align-items: center; font-size: .82rem; color: var(--teal); font-weight: 600; }
.people-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.person { text-align: center; background: #fff; border-radius: var(--radius); padding: 26px 18px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.person__photo {
	width: 120px; height: 120px; border-radius: 50%; margin: 0 auto 14px; overflow: hidden;
	display: grid; place-items: center; background: linear-gradient(135deg, #dcf4f2, #fff2c9); color: var(--teal);
	border: 4px solid #fff; box-shadow: var(--shadow);
}
.person__photo img { width: 100%; height: 100%; object-fit: cover; }
.person__photo .icon { width: 48px; height: 48px; }
.person__name { font-size: 1rem; margin-bottom: 4px; }
.person__role { color: var(--teal); font-weight: 700; font-size: .88rem; margin: 0; }
.person__meta { color: var(--muted); font-size: .82rem; margin: 2px 0 0; }

/* ---------- Inner page header ---------- */
.page-hero {
	position: relative; padding: 56px 0 110px; overflow: hidden;
	background: radial-gradient(circle at 85% 20%, rgba(251, 203, 42, .25), transparent 40%), linear-gradient(135deg, #e3f5fb 0%, #f6fbfd 60%, #fff8e3 100%);
}
.page-hero__title { font-size: clamp(1.8rem, 4vw, 2.8rem); max-width: 900px; margin-bottom: .3em; }
.page-hero__desc { color: var(--muted); max-width: 720px; font-size: 1.05rem; }
.page-hero__desc p:last-child { margin: 0; }
.page-hero__wave { height: 70px; }
.page-hero > .container { position: relative; z-index: 1; }
.page-hero__wave { z-index: 1; }

/* Page hero with a background image (same size as the plain header) */
.page-hero--image { background: var(--ph-overlay); }
.page-hero__media { position: absolute; inset: 0; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__media::after { /* stronger on the text side, lighter on the right */
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(90deg, color-mix(in srgb, var(--ph-overlay) var(--ph-o), transparent) 0%, color-mix(in srgb, var(--ph-overlay) var(--ph-o), transparent) 35%, color-mix(in srgb, var(--ph-overlay) var(--ph-o2), transparent) 100%);
}
.page-hero--dark .page-hero__title { color: #fff; text-shadow: 0 2px 14px rgba(0, 0, 0, .3); }
.page-hero--dark .page-hero__desc { color: rgba(255, 255, 255, .9); }
.page-hero--dark .breadcrumb { color: rgba(255, 255, 255, .8); }
.page-hero--dark .breadcrumb a { color: var(--yellow); }
.page-hero--dark .eyebrow { color: var(--yellow); }
.page-hero--light .page-hero__title, .page-hero--light .page-hero__desc { text-shadow: 0 0 12px color-mix(in srgb, var(--ph-overlay) 80%, transparent); }
.page-hero--light .page-hero__desc { color: var(--ink); }
@media (max-width: 720px) {
	.page-hero__media::after { background: color-mix(in srgb, var(--ph-overlay) var(--ph-o), transparent); }
}
.post-meta { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: .85rem; color: var(--muted); margin-bottom: 16px; }
.breadcrumb a { color: var(--teal); font-weight: 600; }

/* ---------- Content ---------- */
.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: start; }
.entry__thumb { margin: 0 0 28px; }
.entry__thumb img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.entry__content { font-size: 1.05rem; }
.entry__content > * + * { margin-top: 1em; }
.entry__content h2 { font-size: 1.6rem; margin-top: 1.6em; }
.entry__content h3 { font-size: 1.3rem; margin-top: 1.4em; }
.entry__content img { border-radius: var(--radius-sm); }
.entry__content figure { margin: 1.5em 0; }
.entry__content ul, .entry__content ol { padding-left: 1.3em; }
.entry__content li { margin-bottom: .35em; }
.entry__content blockquote { margin: 1.5em 0; padding: 18px 22px; background: var(--yellow-soft); border-left: 4px solid var(--yellow); border-radius: 0 12px 12px 0; }
.entry__content table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.entry__content th, .entry__content td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.entry__content th { background: var(--bg-soft); }
.entry__content .wp-block-columns { display: flex; gap: 1.5em; flex-wrap: wrap; }
.entry__content .wp-block-column { flex: 1 1 240px; }
.entry__content .wp-block-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.entry__content .wp-block-gallery figure { margin: 0; }
.entry__content iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: var(--radius-sm); }
.entry__footer { margin-top: 32px; }
.tags a { display: inline-block; margin: 0 6px 6px 0; padding: .3em .9em; background: var(--bg-soft); border-radius: 999px; font-size: .82rem; font-weight: 600; }
.notice { display: inline-flex; gap: 8px; align-items: center; background: #f1ecff; color: var(--purple); font-weight: 700; padding: 8px 16px; border-radius: 999px; }
.detail-box {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; margin: 0 0 28px;
	background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px;
}
.detail-box dt { display: flex; gap: 6px; align-items: center; font-size: .8rem; font-weight: 700; color: var(--teal); text-transform: uppercase; letter-spacing: .03em; }
.detail-box dd { margin: 2px 0 0; font-weight: 700; color: var(--navy); }

.sidebar { position: sticky; top: 110px; display: grid; gap: 24px; }
.widget { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.widget-title { font-size: 1.05rem; margin-bottom: 14px; }
.widget ul { margin: 0; padding: 0; list-style: none; }
.mini-list { display: grid; gap: 14px; }
.mini-list a { display: flex; gap: 12px; align-items: center; color: var(--navy); font-weight: 700; font-size: .9rem; line-height: 1.35; }
.mini-list a:hover { color: var(--teal); }
.mini-list img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; flex: none; }
.mini-list small { display: block; color: var(--muted); font-weight: 500; font-size: .78rem; margin-top: 3px; }
.widget--cta { background: linear-gradient(135deg, var(--teal), var(--teal-deep)); color: #fff; border: 0; display: grid; gap: 10px; }
.widget--cta .widget-title { color: #fff; margin-bottom: 0; }
.widget--cta p { margin: 0; opacity: .9; font-size: .92rem; }

.filter-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.chip { padding: .45em 1.1em; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); font-weight: 600; font-size: .88rem; color: var(--navy); }
.chip:hover, .chip.is-active { background: var(--teal); border-color: var(--teal); color: #fff; }
.pagination { margin-top: 40px; }
.pagination ul { list-style: none; padding: 0; margin: 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; }
.pagination .page-numbers {
	display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 10px; border-radius: 999px;
	background: #fff; border: 1px solid var(--line); font-weight: 700; color: var(--navy);
}
.pagination .page-numbers.current, .pagination a.page-numbers:hover { background: var(--teal); border-color: var(--teal); color: #fff; }
.empty { text-align: center; padding: 40px 0; color: var(--muted); display: grid; gap: 20px; justify-items: center; }
.empty .search-form { width: 100%; }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: linear-gradient(135deg, var(--teal-deep), var(--teal)); color: #e6f6f8; margin-top: 60px; padding: 70px 0 32px; }
.site-footer__wave { top: -1px; bottom: auto; transform: rotate(180deg); height: 70px; }
.site-footer__wave .wave__base { fill: #fff; }
.site-footer__inner { display: grid; grid-template-columns: 1.1fr 1.3fr 1fr; gap: 40px; align-items: center; position: relative; }
.site-footer__inner > * + * { border-left: 1px solid rgba(255, 255, 255, .2); padding-left: 40px; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--yellow); }
.footer-brand { display: flex; align-items: center; gap: 16px; }
.footer-brand img { width: 84px; height: 84px; object-fit: contain; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .2)); }
.footer-brand__name { font-weight: 800; color: #fff; text-transform: uppercase; line-height: 1.25; margin: 0; }
.footer-brand__tagline { font: 700 1.5rem/1 var(--font-hand); color: var(--yellow); margin: 6px 0 0; }
.footer-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; font-size: .92rem; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact .icon { margin-top: 3px; color: #fff; }
.footer-social__title { font-weight: 700; color: #fff; margin-bottom: 10px; }
.footer-social__links { display: flex; gap: 10px; margin-bottom: 18px; }
.footer-social__links a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .14); transition: background .2s; }
.footer-social__links a:hover { background: var(--yellow); color: var(--navy); }
.footer-menu { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .88rem; }
.footer-copy { font-size: .8rem; opacity: .8; margin: 0; }

/* ---------- Video modal ---------- */
.video-modal { border: 0; padding: 0; background: transparent; width: min(960px, 92vw); overflow: visible; }
.video-modal::backdrop { background: rgba(6, 30, 45, .8); }
.video-modal__frame { aspect-ratio: 16 / 9; background: #000; border-radius: 16px; overflow: hidden; }
.video-modal__frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.video-modal__close { position: absolute; top: -54px; right: 0; background: #fff; }

/* ---------- Reveal animation ---------- */
@media (prefers-reduced-motion: no-preference) {
	.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
	.js .reveal.is-visible { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1140px) {
	.main-nav .menu a { padding: 10px 8px; font-size: .88rem; }
	.header-cta { padding: .7em 1.1em; }
}
@media (max-width: 1024px) {
	.site-header__inner { min-height: 72px; }
	/* backdrop-filter would make the fixed menu panel position against the header instead of the screen */
	.site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
	.nav-toggle { display: inline-grid; }
	.header-cta { display: none; }
	/* Mobile menu: full-screen page that slides in from the right while the
	   website slides a quarter to the left, like a page push in a mobile app.
	   (JS moves #main-nav to the end of <body> on these screen sizes.) */
	.main-nav {
		position: fixed; inset: 0; z-index: 1000; display: block; overflow: hidden;
		background: rgba(6, 30, 45, 0); visibility: hidden;
		transition: background .6s ease, visibility 0s linear .6s;
	}
	.main-nav__panel {
		display: flex; flex-direction: column; position: absolute; top: var(--nav-top, 0px); left: 0; right: 0; bottom: 0;
		background: #fff; box-shadow: -10px 0 30px rgba(6, 30, 45, .16);
		transform: translateX(100%); will-change: transform;
		transition: transform .6s cubic-bezier(.22, .61, .36, 1); /* closing */
		overflow-y: auto; overscroll-behavior: contain;
	}
	html.nav-open .main-nav { background: rgba(6, 30, 45, .25); visibility: visible; transition: background .55s ease; }
	html.nav-open .main-nav__panel { transform: none; transition: transform .55s cubic-bezier(.16, 1, .3, 1); /* opening */ }
	.main-nav.is-dragging .main-nav__panel { transition: none; }
	/* The website underneath moves along */
	.site-header__inner, .search-panel, .site-main, .site-footer {
		transition: transform .6s cubic-bezier(.22, .61, .36, 1);
	}
	html.nav-open .site-header__inner, html.nav-open .search-panel, html.nav-open .site-main, html.nav-open .site-footer {
		transform: translateX(-25%); transition: transform .55s cubic-bezier(.16, 1, .3, 1);
	}
	html.nav-dragging .site-header__inner, html.nav-dragging .site-main, html.nav-dragging .site-footer { transition: none; }
	.main-nav__head { padding: 14px 16px 14px 20px; }
	.main-nav__head {
		display: flex; align-items: center; justify-content: space-between; gap: 12px;
		padding: 14px 14px 14px 20px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: #fff; z-index: 1;
	}
	.brand--small .brand__logo { width: 40px; height: 40px; }
	.brand--small .brand__name { font-size: .9rem; }
	.brand--small .brand__tagline { font-size: 1rem; }
	.nav-close { background: var(--bg-soft); flex: none; }
	.main-nav .menu { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 12px; }
	.main-nav .menu > li { border-bottom: 1px solid var(--line); }
	.main-nav .menu > li:last-child { border-bottom: 0; }
	.main-nav .menu a { padding: 14px 10px; font-size: 1rem; border-radius: 10px; }
	.main-nav .menu a:active { background: var(--bg-soft); }
	.main-nav .menu > li > a::after, .main-nav .menu-item-has-children > a::before { display: none; }
	.main-nav .menu-item-has-children { display: flex; flex-wrap: wrap; align-items: center; }
	.main-nav .menu-item-has-children > a { flex: 1; }
	.submenu-toggle {
		display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 10px;
		background: transparent; color: var(--navy); cursor: pointer;
	}
	.submenu-toggle:hover { background: var(--bg-soft); }
	.submenu-toggle .icon { transition: transform .25s; }
	.menu-item.is-open > .submenu-toggle .icon { transform: rotate(180deg); }
	.main-nav .sub-menu {
		position: static; flex-basis: 100%; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0;
		min-width: 0; padding: 0 0 8px 12px; display: none;
	}
	.main-nav .menu-item.is-open > .sub-menu { display: block; }
	.main-nav .sub-menu a { padding: 11px 10px; font-size: .95rem; color: var(--muted); }
	.main-nav__foot { display: grid; gap: 10px; padding: 16px 20px 28px; margin-top: auto; border-top: 1px solid var(--line); }
	.main-nav__cta { width: 100%; }
	.features__card { grid-template-columns: repeat(3, 1fr); row-gap: 24px; }
	.feature:nth-child(4)::before { display: none; }
	.about__inner, .programs__inner { grid-template-columns: 1fr; gap: 40px; }
	.card-grid--4 { grid-template-columns: repeat(2, 1fr); }
	.people-grid { grid-template-columns: repeat(3, 1fr); }
	.content-layout { grid-template-columns: 1fr; }
	.sidebar { position: static; }
	.site-footer__inner { grid-template-columns: 1fr 1fr; }
	.site-footer__inner > :last-child { grid-column: 1 / -1; border-left: 0; padding-left: 0; border-top: 1px solid rgba(255, 255, 255, .2); padding-top: 24px; }
}
@media (max-width: 782px) {
	.admin-bar .site-header { top: 46px; }
}
@media (max-width: 600px) {
	/* WordPress makes the admin bar scroll away here, so the header sticks to the very top */
	.admin-bar .site-header { top: 0; }
}
@media (max-width: 720px) {
	.container { padding: 0 16px; }
	.brand__logo { width: 46px; height: 46px; }
	.brand__name { font-size: .95rem; }
	.features { margin-top: -24px; }
	.features__card { grid-template-columns: repeat(2, 1fr); padding: 20px 6px; }
	.feature::before { display: none; }
	.feature:last-child { grid-column: 1 / -1; }
	.section { padding: 56px 0; }
	.about__bottom { grid-template-columns: 1fr; }
	.programs__grid, .card-grid, .tile-grid, .agenda__list { grid-template-columns: 1fr; }
	.programs__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
	.program-card { padding: 16px; }
	.card-grid--4, .people-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
	.card-grid--4 .card__body { padding: 12px; }
	.card-grid--4 .card__title { font-size: .9rem; }
	.section-head { flex-direction: column; align-items: flex-start; }
	.site-footer__inner { grid-template-columns: 1fr; gap: 28px; }
	.site-footer__inner > * + * { border-left: 0; padding-left: 0; border-top: 1px solid rgba(255, 255, 255, .2); padding-top: 24px; }
	.search-form { flex-direction: column; }
}
@media (max-width: 420px) {
	.card-grid--4, .people-grid, .programs__grid { grid-template-columns: 1fr; }
	.brand__tagline { font-size: 1.05rem; }
}
