/* ==========================================================================
   ADAM Academy — theme styles
   1. Tokens          6. Home page
   2. Base            7. Programmes
   3. Layout          8. Forms & pages
   4. Components      9. Blog
   5. Header/Footer  10. Utilities & responsive
   ========================================================================== */

/* 1. Tokens ------------------------------------------------------------- */
:root {
	--brand: #14508f;
	--brand-700: #0f3f73;
	--brand-900: #0b2c52;
	--brand-050: #eef4fb;
	--accent: #2f9e4f;
	--accent-700: #23803e;
	--gold: #f0a92f;
	--ink: #16202e;
	--ink-soft: #35465c;
	--muted: #64748b;
	--line: #e3e9f0;
	--soft: #f5f8fc;
	--white: #fff;
	--radius: 14px;
	--radius-lg: 22px;
	--shadow-sm: 0 1px 2px rgba(16, 32, 55, .06), 0 2px 8px rgba(16, 32, 55, .05);
	--shadow: 0 4px 12px rgba(16, 32, 55, .07), 0 14px 34px rgba(16, 32, 55, .08);
	--shadow-lg: 0 20px 60px rgba(11, 44, 82, .18);
	--font-head: "Sora", "Segoe UI", system-ui, -apple-system, sans-serif;
	--font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
	--wrap: 1200px;
	--sp: clamp(56px, 7vw, 104px);
}

/* 2. Base --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.68;
	color: var(--ink-soft);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
	font-family: var(--font-head);
	color: var(--ink);
	line-height: 1.18;
	letter-spacing: -.015em;
	margin: 0 0 .5em;
	font-weight: 700;
}
h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.4rem); }
p { margin: 0 0 1.1em; }
a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand-700); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { padding-left: 1.2em; }
figure { margin: 0; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }
blockquote {
	margin: 1.8rem 0; padding: 1.1rem 1.4rem;
	border-left: 4px solid var(--accent);
	background: var(--soft); border-radius: 0 var(--radius) var(--radius) 0;
	font-size: 1.05em; color: var(--ink);
}
code, pre { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .92em; }
table { width: 100%; border-collapse: collapse; }
th, td { border: 1px solid var(--line); padding: .6rem .8rem; text-align: left; }
th { background: var(--soft); font-family: var(--font-head); color: var(--ink); }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip-link {
	position: absolute; left: -9999px; top: 0; z-index: 999;
	background: var(--brand); color: #fff; padding: 12px 20px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* 3. Layout ------------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
.section { padding: var(--sp) 0; }
.section--soft { background: var(--soft); }
.section--partners { padding-bottom: calc(var(--sp) * .7); }

.sec-head { max-width: 720px; margin: 0 0 clamp(32px, 4vw, 54px); }
.sec-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head__title { margin-bottom: .35em; }
.sec-head__lead { font-size: 1.06rem; color: var(--muted); margin: 0; }

.eyebrow {
	font-family: var(--font-head); font-size: .78rem; font-weight: 700;
	letter-spacing: .13em; text-transform: uppercase; color: var(--accent);
	margin: 0 0 .7em; display: flex; align-items: center; gap: .55em;
}
.sec-head--center .eyebrow { justify-content: center; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--accent); border-radius: 2px; }
.eyebrow--light { color: #9fe0b4; }
.eyebrow--light::before { background: #9fe0b4; }

.prose { max-width: 100%; }
.prose--narrow { max-width: 780px; margin: 0 auto; }
.prose h2 { margin-top: 1.9em; }
.prose h3 { margin-top: 1.5em; }
.prose > :first-child { margin-top: 0; }
.prose ul, .prose ol { margin: 0 0 1.3em; }
.prose li { margin-bottom: .5em; }
.prose .lead, .lead {
	font-size: clamp(1.08rem, 1.6vw, 1.24rem); line-height: 1.6;
	color: var(--ink); font-weight: 450;
}
.h-lg { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin: 2.2rem 0 1.1rem; }
.h-lg:first-child { margin-top: 0; }
.center-actions { text-align: center; margin-top: clamp(30px, 4vw, 48px); }
.empty-note { text-align: center; color: var(--muted); padding: 40px 0; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); }

/* 4. Components --------------------------------------------------------- */
.icon { width: 1.15em; height: 1.15em; flex: none; }

.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .55em;
	font-family: var(--font-head); font-weight: 600; font-size: .95rem;
	padding: .78em 1.5em; border-radius: 999px; border: 2px solid transparent;
	text-decoration: none; cursor: pointer; transition: all .18s ease; line-height: 1.2;
}
.btn .icon { width: 1.05em; height: 1.05em; }
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-700); color: #fff; transform: translateY(-1px); }
.btn--accent { background: var(--accent); color: #fff; box-shadow: 0 6px 18px rgba(47, 158, 79, .28); }
.btn--accent:hover { background: var(--accent-700); color: #fff; transform: translateY(-1px); }
.btn--outline { background: transparent; color: var(--brand); border-color: var(--brand); }
.btn--outline:hover { background: var(--brand); color: #fff; }
.btn--ghost-light { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .55); backdrop-filter: blur(4px); }
.btn--ghost-light:hover { background: #fff; color: var(--brand-900); border-color: #fff; }
.btn--link { background: none; color: var(--brand); padding-left: .3em; padding-right: .3em; }
.btn--link:hover { color: var(--brand-700); text-decoration: underline; }
.btn--lg { font-size: 1rem; padding: .95em 1.85em; }
.btn--sm { font-size: .85rem; padding: .6em 1.15em; }
.btn--block { display: flex; width: 100%; margin-bottom: 10px; }

.chip {
	font-family: var(--font-head); font-size: .84rem; font-weight: 600;
	background: #fff; border: 1px solid var(--line); color: var(--ink-soft);
	padding: .5em 1.05em; border-radius: 999px; cursor: pointer;
	display: inline-flex; align-items: center; gap: .5em; transition: all .16s ease;
}
.chip:hover { border-color: var(--brand); color: var(--brand); }
.chip.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }
.chip__count { font-size: .74em; opacity: .7; }

.notice-box {
	display: flex; gap: .9rem; align-items: flex-start;
	padding: 1.05rem 1.25rem; border-radius: var(--radius); margin: 0 0 1.6rem;
	border: 1px solid var(--line); background: var(--soft);
}
.notice-box p { margin: 0; }
.notice-box p + p { margin-top: .6rem; }
.notice-box .icon { width: 1.4rem; height: 1.4rem; margin-top: .15rem; }
.notice-box--ok { background: #eaf7ee; border-color: #bfe4cb; color: #1d6b36; }
.notice-box--bad { background: #fdeeee; border-color: #f2c4c4; color: #97282a; }
.notice-box--info { background: var(--brand-050); border-color: #cfe0f3; color: var(--brand-900); }
.notice-box__admin { font-size: .9rem; opacity: .8; }

.tick-list { list-style: none; padding: 0; margin: 0 0 1.6rem; }
.tick-list li { display: flex; gap: .8rem; margin-bottom: .85rem; align-items: flex-start; }
.tick-list--tight li { margin-bottom: .55rem; font-size: .95rem; }
.tick { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; margin-top: .22rem; }
.tick .icon { width: 13px; height: 13px; stroke-width: 3; }

.step-list { counter-reset: s; list-style: none; padding: 0; margin: 0 0 2rem; }
.step-list li { position: relative; padding-left: 3rem; margin-bottom: 1rem; }
.step-list li::before {
	counter-increment: s; content: counter(s);
	position: absolute; left: 0; top: -.1rem; width: 2.1rem; height: 2.1rem;
	background: var(--brand-050); color: var(--brand); border-radius: 50%;
	display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: .9rem;
}

.struct-list { list-style: none; padding: 0; margin: 0; counter-reset: st; }
.struct-list li { display: flex; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid var(--line); }
.struct-list li:last-child { border-bottom: 0; }
.struct-list__num {
	flex: none; width: 30px; height: 30px; border-radius: 8px; background: var(--brand); color: #fff;
	display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: .85rem;
}
.struct-list strong { display: block; color: var(--ink); font-family: var(--font-head); }
.struct-list__text { display: block; font-size: .93rem; color: var(--muted); }

.facts { margin: 0 0 1.4rem; }
.facts dt { font-family: var(--font-head); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: .95rem; }
.facts dd { margin: .15rem 0 0; color: var(--ink); font-weight: 500; }

/* Galleries */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.gallery-grid__item {
	position: relative; display: block; overflow: hidden; border-radius: var(--radius);
	aspect-ratio: 4 / 3; background: var(--soft); box-shadow: var(--shadow-sm);
}
.gallery-grid__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery-grid__item:hover img { transform: scale(1.06); }
.gallery-grid__zoom {
	position: absolute; inset: 0; display: grid; place-items: center; color: #fff;
	background: linear-gradient(180deg, rgba(11, 44, 82, .1), rgba(11, 44, 82, .55));
	opacity: 0; transition: opacity .2s ease;
}
.gallery-grid__zoom .icon { width: 26px; height: 26px; }
.gallery-grid__item:hover .gallery-grid__zoom, .gallery-grid__item:focus-visible .gallery-grid__zoom { opacity: 1; }
.gallery-grid__cap {
	position: absolute; left: 10px; bottom: 10px; z-index: 2;
	background: rgba(11, 44, 82, .82); color: #fff; font-size: .74rem; font-weight: 600;
	font-family: var(--font-head); padding: .3em .7em; border-radius: 6px;
	opacity: 0; transform: translateY(4px); transition: all .2s ease;
}
.gallery-grid__item:hover .gallery-grid__cap { opacity: 1; transform: none; }
.gallery-filters { display: flex; flex-wrap: wrap; gap: 9px; margin: 0 0 26px; }
.gallery-grid__item.is-hidden { display: none; }

/* Lightbox */
.lightbox {
	position: fixed; inset: 0; z-index: 9999; background: rgba(8, 18, 32, .94);
	display: grid; place-items: center; padding: 4vh 5vw;
}
.lightbox[hidden] { display: none; }
.lightbox__figure { max-width: 100%; max-height: 92vh; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.lightbox__img { max-width: 100%; max-height: 82vh; width: auto; border-radius: 8px; box-shadow: var(--shadow-lg); }
.lightbox__caption { color: #cbd5e1; font-size: .9rem; text-align: center; }
.lightbox__close, .lightbox__nav {
	position: absolute; background: rgba(255, 255, 255, .12); border: 0; color: #fff;
	width: 46px; height: 46px; border-radius: 50%; cursor: pointer; display: grid; place-items: center;
	transition: background .16s ease;
}
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255, 255, 255, .28); }
.lightbox__close { top: 18px; right: 18px; }
.lightbox__nav--prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 14px; top: 50%; transform: translateY(-50%); }
.lightbox .icon { width: 22px; height: 22px; }

/* 5. Header & footer ---------------------------------------------------- */
.topbar { background: var(--brand-900); color: #c9dcf1; font-size: .84rem; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar__contact { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 20px; }
.topbar__contact li { display: flex; align-items: center; gap: .45em; }
.topbar__contact a { color: inherit; text-decoration: none; }
.topbar__contact a:hover { color: #fff; text-decoration: underline; }
.topbar .icon { width: 15px; height: 15px; color: var(--accent); }

.socials { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; }
.socials a {
	display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
	background: rgba(255, 255, 255, .1); color: #fff; transition: all .16s ease;
}
.socials a:hover { background: var(--accent); color: #fff; }
.socials--sm a { width: 28px; height: 28px; }
.socials--sm .icon { width: 15px; height: 15px; }
.socials--dark a { background: var(--brand-050); color: var(--brand); }
.socials--dark a:hover { background: var(--brand); color: #fff; }

.masthead { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 500; }
.masthead.is-stuck { box-shadow: var(--shadow-sm); }
.masthead__inner { display: flex; align-items: center; gap: 18px; min-height: 88px; }

.brand { margin-right: auto; min-width: 0; }
.brand__link { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand__logo, .custom-logo { flex: none; }
.primary-nav, .masthead__cta { flex: none; }
.brand__logo, .brand img, .custom-logo { height: 52px; width: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; overflow: hidden; }
.brand__name { font-family: var(--font-head); font-weight: 800; font-size: 1.32rem; color: var(--brand-900); letter-spacing: -.02em; line-height: 1.1; }

.primary-nav .menu { list-style: none; display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; }
.primary-nav .menu > li { position: relative; }
.primary-nav .menu > li > a {
	position: relative; display: flex; align-items: center; gap: 5px;
	padding: 11px 12px; border-radius: 10px; white-space: nowrap;
	font-family: var(--font-head); font-weight: 600; font-size: .9rem; letter-spacing: -.005em;
	color: var(--ink); text-decoration: none; transition: color .16s ease, background-color .16s ease;
}
/* Animated underline that grows from the centre. */
.primary-nav .menu > li > a::before {
	content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px;
	background: var(--accent); border-radius: 2px; transform: scaleX(0); transform-origin: center;
	transition: transform .22s cubic-bezier(.4, 0, .2, 1);
}
.primary-nav .menu > li > a:hover { color: var(--brand); }
.primary-nav .menu > li > a:hover::before,
.primary-nav .menu > li:focus-within > a::before { transform: scaleX(1); }

.primary-nav .menu > li.current-menu-item > a,
.primary-nav .menu > li.current-menu-ancestor > a,
.primary-nav .menu > li.current_page_parent > a { color: var(--brand); background: var(--brand-050); }
.primary-nav .menu > li.current-menu-item > a::before,
.primary-nav .menu > li.current-menu-ancestor > a::before { transform: scaleX(1); background: var(--brand); }

/* Chevron on parent items. */
.primary-nav .menu-item-has-children > a::after {
	content: ""; width: 7px; height: 7px; margin-left: 1px; flex: none;
	border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
	border-radius: 0 0 1px 0; transform: rotate(45deg) translate(-2px, -2px);
	opacity: .5; transition: transform .2s ease, opacity .2s ease;
}
.primary-nav .menu-item-has-children:hover > a::after,
.primary-nav .menu-item-has-children:focus-within > a::after {
	opacity: 1; transform: rotate(225deg) translate(-2px, -2px);
}

/* Dropdown panel. */
.primary-nav .sub-menu {
	list-style: none; margin: 0; padding: 10px; position: absolute; top: calc(100% + 10px); left: 0;
	min-width: 260px; background: #fff; border: 1px solid var(--line); border-radius: 16px;
	box-shadow: 0 12px 40px rgba(11, 44, 82, .14), 0 2px 6px rgba(11, 44, 82, .06);
	opacity: 0; visibility: hidden; transform: translateY(8px);
	transition: opacity .18s ease, transform .18s ease, visibility .18s;
	z-index: 20;
}
/* Hover bridge so the pointer can cross the gap without the panel closing. */
.primary-nav .menu-item-has-children::after {
	content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 12px;
}
.primary-nav .menu > li:hover > .sub-menu,
.primary-nav .menu > li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }

/* Little pointer arrow. */
.primary-nav .sub-menu::before {
	content: ""; position: absolute; top: -6px; left: 26px; width: 11px; height: 11px;
	background: #fff; border-left: 1px solid var(--line); border-top: 1px solid var(--line);
	transform: rotate(45deg); border-radius: 2px 0 0 0;
}
.primary-nav .sub-menu a {
	display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px;
	font-size: .88rem; font-weight: 500; line-height: 1.35; color: var(--ink-soft); text-decoration: none;
	transition: background-color .15s ease, color .15s ease;
}
.primary-nav .sub-menu a:hover,
.primary-nav .sub-menu .current-menu-item > a { background: var(--brand-050); color: var(--brand); }
.primary-nav .sub-menu .menu-ico {
	display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 8px;
	background: var(--soft); color: var(--brand); transition: background-color .15s ease, color .15s ease;
}
.primary-nav .sub-menu .menu-ico .icon { width: 16px; height: 16px; }
.primary-nav .sub-menu a:hover .menu-ico { background: var(--brand); color: #fff; }

/* Two-column panel for the ten programmes. */
.primary-nav .menu > li.has-mega > .sub-menu {
	display: grid; grid-template-columns: 1fr 1fr; gap: 2px 6px;
	width: 580px; left: 50%; margin-left: -290px; padding: 14px;
}
.primary-nav .menu > li.has-mega > .sub-menu::before { left: 50%; margin-left: -5px; }
/* Flipped by JS when a panel would run off the right edge. */
.primary-nav .sub-menu.is-right { left: auto; right: 0; margin-left: 0; }
.primary-nav .sub-menu.is-right::before { left: auto; right: 26px; margin-left: 0; }

.primary-nav__cta { display: none; }

.nav-toggle {
	display: none; background: var(--brand-050); border: 0; color: var(--brand);
	width: 44px; height: 44px; border-radius: 10px; cursor: pointer; place-items: center;
}
.nav-toggle .icon { width: 24px; height: 24px; }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }

.site-footer { background: var(--brand-900); color: #b9cee6; margin-top: 0; }
.footer__grid {
	display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: clamp(28px, 4vw, 52px);
	padding: clamp(52px, 6vw, 80px) 22px clamp(38px, 4vw, 54px);
}
.footer__logo { background: #fff; padding: 10px 14px; border-radius: 12px; height: auto; width: 200px; margin-bottom: 18px; }
.footer__blurb { font-size: .93rem; line-height: 1.65; margin-bottom: 18px; }
.footer__heading { font-size: 1rem; color: #fff; margin: 0 0 16px; font-family: var(--font-head); }
.footer__list, .footer__contact { list-style: none; margin: 0; padding: 0; }
.footer__list li { margin-bottom: 9px; }
.footer__list a { color: #b9cee6; text-decoration: none; font-size: .93rem; }
.footer__list a:hover { color: #fff; text-decoration: underline; }
.footer__contact li { display: flex; gap: .7rem; margin-bottom: 13px; font-size: .93rem; align-items: flex-start; }
.footer__contact .icon { color: var(--accent); margin-top: .18rem; width: 17px; height: 17px; }
.footer__contact a { color: #b9cee6; text-decoration: none; word-break: break-word; }
.footer__contact a:hover { color: #fff; }
.footer__bar { border-top: 1px solid rgba(255, 255, 255, .12); font-size: .84rem; }
.footer__bar-inner { display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: space-between; align-items: center; padding: 18px 22px; }
.footer__bar-right { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 26px; }
@media (min-width: 900px) { .footer__bar-right { flex-direction: column; align-items: flex-end; gap: 10px; } }
@media (max-width: 680px) {
	.footer__bar-right { justify-content: center; width: 100%; }
	.footer__credit { justify-content: center; }
	.footer__credit-tel { border-left: 0; padding-left: 0; }
}
@media (min-width: 700px) { .footer__bar-inner { padding-right: 66px; } }
.footer__bar p { margin: 0; }
.footer__reg { display: block; opacity: .7; font-size: .95em; }
.footer__credit { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; margin: 0; }
.footer__credit-lead { opacity: .7; font-size: .82rem; }
.footer__credit-brand { display: inline-flex; align-items: center; opacity: .9; transition: opacity .16s ease; }
.footer__credit-brand:hover { opacity: 1; }
.footer__credit-brand img { height: 26px; width: auto; display: block; }
.footer__credit-tel {
	font-size: .82rem; color: #b9cee6; text-decoration: none; white-space: nowrap;
	padding-left: 12px; border-left: 1px solid rgba(255, 255, 255, .18);
}
.footer__credit-tel:hover { color: #fff; }
.footer__legal { list-style: none; display: flex; gap: 18px; margin: 0; padding: 0; }
.footer__legal a { color: #b9cee6; text-decoration: none; }
.footer__legal a:hover { color: #fff; }
.widget { margin-bottom: 26px; }
.site-footer .widget a { color: #b9cee6; }

.to-top {
	position: fixed; right: 20px; bottom: 20px; width: 46px; height: 46px; border-radius: 50%;
	background: var(--brand); color: #fff; border: 0; cursor: pointer; display: grid; place-items: center;
	box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(10px);
	transition: all .2s ease; z-index: 400;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top svg { width: 20px; height: 20px; }

/* 6. Home page ---------------------------------------------------------- */
.hero { position: relative; background: var(--brand-900); }
.hero__slides { position: relative; }
.hero__slide {
	position: absolute; inset: 0; opacity: 0; visibility: hidden;
	transition: opacity .7s ease; display: grid; align-items: center;
}
.hero__slide:first-child { position: relative; }
.hero__slide.is-active { opacity: 1; visibility: visible; z-index: 2; }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__overlay {
	position: absolute; inset: 0;
	background: linear-gradient(100deg, rgba(9, 32, 60, .93) 0%, rgba(9, 32, 60, .8) 42%, rgba(9, 32, 60, .35) 100%);
}
.hero__content { position: relative; z-index: 3; padding-top: clamp(72px, 11vw, 132px); padding-bottom: clamp(72px, 11vw, 132px); max-width: var(--wrap); }
.hero__eyebrow {
	font-family: var(--font-head); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
	color: #9fe0b4; font-weight: 700; margin: 0 0 .9em;
}
.hero__title { color: #fff; max-width: 17ch; margin: 0 0 .45em; font-size: clamp(2.2rem, 5.2vw, 3.9rem); font-weight: 800; }
.hero__text { color: #d7e4f2; max-width: 54ch; font-size: clamp(1rem, 1.5vw, 1.16rem); margin-bottom: 2em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
.hero__dots { position: absolute; left: 0; right: 0; bottom: 26px; z-index: 5; display: flex; justify-content: center; gap: 10px; }
.hero__dot { width: 34px; height: 4px; border: 0; border-radius: 3px; background: rgba(255, 255, 255, .38); cursor: pointer; padding: 0; transition: background .2s ease; }
.hero__dot.is-active { background: var(--accent); }

.quickfacts { background: var(--brand); color: #fff; }
.quickfacts__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.quickfact { padding: 26px 18px; text-align: center; border-right: 1px solid rgba(255, 255, 255, .14); }
.quickfact:last-child { border-right: 0; }
.quickfact__num { display: block; font-family: var(--font-head); font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; line-height: 1.1; }
.quickfact__label { display: block; font-size: .85rem; color: #cfe1f5; margin-top: 4px; }

.intro__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(34px, 5vw, 72px); align-items: center; }
.intro__media { position: relative; }
.intro__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.intro__badge {
	position: absolute; right: -14px; bottom: -20px; background: var(--accent); color: #fff;
	padding: 18px 22px; border-radius: var(--radius); box-shadow: var(--shadow); max-width: 210px;
}
.intro__badge-num { display: block; font-family: var(--font-head); font-size: 1.9rem; font-weight: 800; line-height: 1; }
.intro__badge-label { display: block; font-size: .8rem; margin-top: 5px; line-height: 1.4; }
.intro__actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 1.6rem; }

.prog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: clamp(18px, 2vw, 26px); }
.prog-grid--3 { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.prog-card {
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
	display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.prog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.prog-card__media { display: block; aspect-ratio: 16/10; overflow: hidden; background: var(--soft); }
.prog-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.prog-card:hover .prog-card__media img { transform: scale(1.06); }
.prog-card__body { padding: 22px 22px 24px; position: relative; flex: 1; display: flex; flex-direction: column; }
.prog-card__num {
	position: absolute; top: -22px; right: 20px; background: var(--brand-900); color: #fff;
	font-family: var(--font-head); font-weight: 700; font-size: .8rem; padding: .35em .7em; border-radius: 6px;
}
.prog-card__icon {
	display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
	background: var(--brand-050); color: var(--brand); margin-bottom: 14px;
}
.prog-card__icon .icon { width: 22px; height: 22px; }
.prog-card__title { font-size: 1.16rem; margin-bottom: .5em; }
.prog-card__title a { color: var(--ink); text-decoration: none; }
.prog-card__title a:hover { color: var(--brand); }
.prog-card__text { font-size: .93rem; color: var(--muted); margin-bottom: 1.1em; flex: 1; }
.prog-card__more {
	display: inline-flex; align-items: center; gap: .4em; font-family: var(--font-head);
	font-weight: 600; font-size: .87rem; color: var(--accent);
}
.prog-card:hover .prog-card__more .icon { transform: translateX(3px); }
.prog-card__more .icon { width: 16px; height: 16px; transition: transform .2s ease; }

.vm__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 28px); }
.vm__grid--2 { grid-template-columns: repeat(2, 1fr); }
.vm__card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(26px, 3vw, 38px); }
.section--soft .vm__card { background: #fff; }
.vm__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; margin-bottom: 18px; }
.vm__icon .icon { width: 26px; height: 26px; }
.vm__card--vision .vm__icon { background: var(--brand-050); color: var(--brand); }
.vm__card--mission .vm__icon { background: #eaf7ee; color: var(--accent-700); }
.vm__card--values .vm__icon { background: #fdf3e2; color: #b97a12; }
.vm__card h2 { font-size: 1.25rem; }
.vm__card p { margin: 0; font-size: .97rem; }

.obj-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: clamp(18px, 2.4vw, 30px); }
.obj-card { border-top: 3px solid var(--accent); padding-top: 20px; }
.obj-card__num { font-family: var(--font-head); font-weight: 800; font-size: 2rem; color: #b9cbe2; line-height: 1; display: block; }
.obj-card h3 { font-size: 1.08rem; margin: .2em 0 .5em; }
.obj-card p { font-size: .93rem; color: var(--muted); margin: 0; }
.section--soft .obj-card__num { color: #a9bfda; }

.cta-band { background: linear-gradient(120deg, var(--brand-900), var(--brand)); color: #fff; padding: clamp(48px, 6vw, 76px) 0; }
.cta-band__inner { display: grid; grid-template-columns: 1.25fr .95fr; gap: clamp(26px, 4vw, 56px); align-items: center; }
.cta-band h2 { color: #fff; font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin-bottom: .4em; }
.cta-band p { color: #cfe1f5; margin: 0; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: clamp(20px, 2.5vw, 30px); }
.news-grid--2 { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.news-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease; }
.news-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.news-card__media { display: block; aspect-ratio: 16/10; overflow: hidden; background: var(--soft); }
.news-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.news-card:hover .news-card__media img { transform: scale(1.05); }
.news-card__body { padding: 20px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.news-card__title { font-size: 1.1rem; margin: .1em 0 .5em; }
.news-card__title a { color: var(--ink); text-decoration: none; }
.news-card__title a:hover { color: var(--brand); }
.news-card__body p { font-size: .93rem; color: var(--muted); flex: 1; }
.news-card__more { display: inline-flex; align-items: center; gap: .4em; font-family: var(--font-head); font-weight: 600; font-size: .86rem; color: var(--accent); }
.news-card__more .icon { width: 16px; height: 16px; }
.post-meta { font-size: .8rem; color: var(--muted); margin: 0 0 .4em; display: flex; flex-wrap: wrap; gap: .5em; align-items: center; }
.post-meta a { color: var(--accent); text-decoration: none; }

.partner-strip { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.partner-strip__item {
	display: grid; place-items: center; min-width: 160px; min-height: 82px; padding: 14px 22px;
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
}
.partner-strip__item img { max-height: 54px; width: auto; object-fit: contain; }
.partner-strip__name { font-family: var(--font-head); font-weight: 600; color: var(--ink-soft); font-size: .95rem; text-align: center; }

/* 7. Programmes & interior heroes --------------------------------------- */
.page-hero, .prog-hero {
	position: relative; color: #fff; background: var(--brand-900) var(--hero-image) center/cover no-repeat;
	padding: clamp(58px, 8vw, 108px) 0 clamp(46px, 6vw, 84px);
}
.page-hero::after, .prog-hero::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(100deg, rgba(9, 32, 60, .9) 0%, rgba(9, 32, 60, .72) 45%, rgba(9, 32, 60, .45) 100%);
}
.page-hero .wrap, .prog-hero .wrap { position: relative; z-index: 2; }
.page-hero__title, .prog-hero__title { color: #fff; margin: 0 0 .3em; max-width: 20ch; }
.page-hero__sub, .prog-hero__sub { color: #cfe1f5; max-width: 62ch; font-size: clamp(1rem, 1.4vw, 1.13rem); margin: 0; }
.page-hero__query { color: var(--gold); }
.prog-hero__eyebrow {
	display: inline-flex; align-items: center; gap: .6em; color: #9fe0b4;
	font-family: var(--font-head); font-size: .8rem; font-weight: 700; letter-spacing: .1em;
	text-transform: uppercase; margin: 0 0 1em;
}
.prog-hero__icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: rgba(255, 255, 255, .14); color: #fff; }
.prog-hero__icon .icon { width: 20px; height: 20px; }

.crumbs { margin: 0 0 1.4rem; font-size: .84rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .45em; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: .45em; opacity: .5; }
.crumbs a { color: #b6cde6; text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs li[aria-current] { color: #fff; }

.prog-highlights { background: var(--brand); color: #fff; }
.prog-highlights__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0; }
.prog-highlight { padding: 28px 26px; border-right: 1px solid rgba(255, 255, 255, .14); }
.prog-highlight:last-child { border-right: 0; }
.prog-highlight h2 { color: #fff; font-size: 1.02rem; margin: 0 0 .35em; }
.prog-highlight p { color: #cfe1f5; font-size: .89rem; margin: 0; }
.prog-highlight__tick { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); margin-bottom: 12px; }
.prog-highlight__tick .icon { width: 15px; height: 15px; stroke-width: 3; }

.prog-body { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: clamp(30px, 4vw, 60px); align-items: start; }
.prog-aside, .about__aside, .give-cols__side { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 104px; }
.aside-card { background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; }
.aside-card h2 { font-size: 1.08rem; margin-bottom: .6em; }
.aside-card p { font-size: .93rem; color: var(--muted); }
.aside-card--give { background: var(--brand-050); border-color: #cfe0f3; }
.aside-list { list-style: none; margin: 0; padding: 0; }
.aside-list li { border-bottom: 1px solid var(--line); }
.aside-list li:last-child { border-bottom: 0; }
.aside-list a { display: block; padding: .6rem 0; font-size: .92rem; color: var(--ink-soft); text-decoration: none; }
.aside-list a:hover { color: var(--brand); }
.aside-list .is-current a { color: var(--brand); font-weight: 600; }
.aside-card .footer__contact li { color: var(--ink-soft); }
.aside-card .footer__contact a { color: var(--brand); }
.aside-card .footer__contact .icon { color: var(--accent); }

.about__grid { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: clamp(30px, 4vw, 60px); align-items: start; }

/* 8. Forms & give/volunteer/partner pages ------------------------------- */
.give-grid, .need-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: clamp(18px, 2.4vw, 26px); margin-top: clamp(30px, 4vw, 44px); }
.give-card, .need-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; }
.section--soft .give-card, .section--soft .need-card { background: #fff; }
.give-card__icon, .need-card__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: #eaf7ee; color: var(--accent-700); margin-bottom: 15px; }
.give-card__icon .icon, .need-card__icon .icon { width: 23px; height: 23px; }
.give-card h2, .need-card h3 { font-size: 1.08rem; margin-bottom: .4em; }
.give-card p, .need-card p { font-size: .93rem; color: var(--muted); margin: 0; }

.give-cols { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: clamp(30px, 4vw, 60px); align-items: start; }

.pay-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-bottom: 2rem; }
.pay-card { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: var(--radius); padding: 22px; }
.pay-card h3 { font-size: 1.02rem; }
.pay-card__body { font-size: .95rem; }
.pay-card__body p:last-child { margin-bottom: 0; }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 38px); margin-top: clamp(30px, 4vw, 46px); box-shadow: var(--shadow-sm); }
.form-card__title { font-size: clamp(1.25rem, 2vw, 1.55rem); margin-bottom: .9em; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; }
.field { margin: 0; display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-family: var(--font-head); font-size: .86rem; font-weight: 600; color: var(--ink); }
.req { color: #c0392b; margin-left: 2px; }
.field input, .field select, .field textarea {
	font: inherit; font-size: .96rem; color: var(--ink); background: #fff;
	border: 1px solid var(--line); border-radius: 10px; padding: .72em .9em; width: 100%;
	transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
	outline: 0; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(20, 80, 143, .13);
}
.field textarea { resize: vertical; min-height: 130px; }
.form-consent { margin: 18px 0 0; font-size: .9rem; }
.form-consent label { display: flex; gap: .6em; align-items: flex-start; }
.form-consent input { margin-top: .28em; }
.form-actions { margin: 20px 0 0; }
.adam-hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }

.contact__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(30px, 4vw, 60px); align-items: start; }
.contact-list { list-style: none; margin: 1.6rem 0 0; padding: 0; }
.contact-list li { display: flex; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.contact-list li:last-child { border-bottom: 0; }
.contact-list__icon { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--brand-050); color: var(--brand); }
.contact-list strong { display: block; font-family: var(--font-head); font-size: .8rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); margin-bottom: 2px; }
.contact-list a { color: var(--brand); text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }
.contact__form .form-card { margin-top: 0; }
.contact__social-head { font-size: 1rem; margin: 1.8rem 0 .8rem; }
.map-wrap iframe { display: block; width: 100%; height: 420px; border: 0; }

/* 9. Blog --------------------------------------------------------------- */
.blog__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(30px, 4vw, 56px); }
.blog__grid:has(.blog__side) { grid-template-columns: minmax(0, 1fr) 300px; }
/* Sidebar widgets — styled for both classic and block widgets. */
.blog__side .widget {
	background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius);
	padding: 20px 22px; margin-bottom: 20px; font-size: .93rem;
}
.blog__side .widget:last-child { margin-bottom: 0; }
.blog__side .wp-block-group,
.blog__side .wp-block-group__inner-container { margin: 0; padding: 0; background: none; }
.widget__title,
.blog__side .widget h1,
.blog__side .widget h2,
.blog__side .widget h3,
.blog__side .widget .wp-block-heading {
	font-family: var(--font-head); font-size: 1rem; font-weight: 700; line-height: 1.3;
	color: var(--ink); margin: 0 0 .85em; letter-spacing: -.01em;
}
.blog__side .widget ul,
.blog__side .widget ol { list-style: none; margin: 0; padding: 0; }
.blog__side .widget li {
	padding: .5rem 0; border-bottom: 1px solid var(--line); line-height: 1.45;
}
.blog__side .widget li:first-child { padding-top: 0; }
.blog__side .widget li:last-child { border-bottom: 0; padding-bottom: 0; }
.blog__side .widget li ul { margin-top: .5rem; padding-left: .9rem; border-left: 2px solid var(--line); }
.blog__side .widget li ul li:last-child { padding-bottom: .5rem; }
.blog__side .widget a { color: var(--ink-soft); text-decoration: none; }
.blog__side .widget a:hover { color: var(--brand); text-decoration: underline; }
.blog__side .widget .wp-block-latest-comments__comment { display: block; }
.blog__side .widget .wp-block-latest-comments__comment-meta { font-size: .9rem; }
.blog__side .widget .wp-block-latest-posts__post-date,
.blog__side .widget .post-date { display: block; font-size: .78rem; color: var(--muted); margin-top: 2px; }
.blog__side .widget img { border-radius: 8px; }
.blog__side .widget select,
.blog__side .widget input[type="search"],
.blog__side .widget input[type="text"] {
	font: inherit; width: 100%; border: 1px solid var(--line); border-radius: 10px;
	padding: .6em .8em; background: #fff;
}
.blog__side .widget .search-form { max-width: none; }
.post-head { margin-bottom: 1.4rem; }
.post-tags { font-size: .88rem; color: var(--muted); margin-top: 2rem; }
.post-nav { display: flex; justify-content: space-between; gap: 16px; margin: 2.6rem 0 0; padding-top: 1.6rem; border-top: 1px solid var(--line); font-family: var(--font-head); font-weight: 600; font-size: .92rem; }
.post-nav a { display: inline-flex; align-items: center; gap: .4em; text-decoration: none; }
.post-nav__next { margin-left: auto; text-align: right; }
.navigation.pagination { margin-top: clamp(34px, 4vw, 50px); }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.page-numbers {
	display: inline-flex; align-items: center; gap: .35em; min-width: 42px; height: 42px; padding: 0 .8em;
	justify-content: center; border: 1px solid var(--line); border-radius: 10px; text-decoration: none;
	font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--ink-soft); background: #fff;
}
.page-numbers:hover { border-color: var(--brand); color: var(--brand); }
.page-numbers.current { background: var(--brand); border-color: var(--brand); color: #fff; }

.search-form { display: flex; gap: 8px; max-width: 460px; }
.search-form__field { font: inherit; flex: 1; border: 1px solid var(--line); border-radius: 10px; padding: .7em .9em; }
.search-form__submit { background: var(--brand); color: #fff; border: 0; border-radius: 10px; width: 46px; cursor: pointer; display: grid; place-items: center; }
.search-again { margin-bottom: 2rem; }
.search-list { list-style: none; margin: 0; padding: 0; }
.search-list__item { padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.search-list__type { font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--accent); font-weight: 700; margin: 0 0 .3em; font-family: var(--font-head); }
.search-list h2 { font-size: 1.2rem; margin-bottom: .3em; }
.search-list h2 a { color: var(--ink); text-decoration: none; }
.search-list h2 a:hover { color: var(--brand); }
.search-list p { margin: 0; font-size: .94rem; color: var(--muted); }

.comments { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.comment-list { list-style: none; padding: 0; }
.comment-list ol { list-style: none; padding-left: 1.5rem; }
.comment-body { padding: 1rem 0; border-bottom: 1px solid var(--line); }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
	font: inherit; width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: .7em .9em;
}
.comment-form .submit { border: 0; }

.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: clamp(20px, 2.5vw, 30px); }
.team-card { text-align: center; }
.team-card__photo { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 14px; aspect-ratio: 1; }
.team-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card h3 { font-size: 1.05rem; margin-bottom: .15em; }
.team-card__role { color: var(--accent); font-size: .88rem; font-weight: 600; margin: 0 0 .5em; }
.team-card__bio { font-size: .9rem; color: var(--muted); }

/* 10. Responsive -------------------------------------------------------- */
@media (max-width: 1080px) {
	.prog-body, .about__grid, .give-cols { grid-template-columns: 1fr; }
	.prog-aside, .about__aside, .give-cols__side { position: static; flex-direction: row; flex-wrap: wrap; }
	.prog-aside > *, .about__aside > *, .give-cols__side > * { flex: 1 1 280px; }
	.blog__grid:has(.blog__side) { grid-template-columns: 1fr; }
}

/* Tighten the bar in the band just above the mobile breakpoint. */
@media (min-width: 1151px) and (max-width: 1360px) {
	.masthead__inner { gap: 12px; }
	.brand__name { font-size: 1.18rem; }
	.brand__logo, .custom-logo { height: 46px; }
	.primary-nav .menu > li > a { padding: 11px 8px; font-size: .855rem; }
	.primary-nav .menu > li > a::before { left: 8px; right: 8px; }
	.masthead__cta .btn { font-size: .88rem; padding: .7em 1.15em; }
}

@media (max-width: 1150px) {
	.masthead__cta { display: none; }
	.nav-toggle { display: grid; }
	.primary-nav {
		position: fixed; inset: 0 0 0 auto; width: min(360px, 88vw); background: #fff;
		transform: translateX(100%); transition: transform .25s ease; z-index: 600;
		padding: 152px 22px 40px; overflow-y: auto; box-shadow: var(--shadow-lg);
		display: flex; flex-direction: column;
	}
	body.nav-open .primary-nav { transform: none; }
	body.nav-open { overflow: hidden; }
	body.nav-open::after { content: ""; position: fixed; inset: 0; background: rgba(9, 32, 60, .5); z-index: 550; }
	.nav-toggle { position: relative; z-index: 650; }
	.primary-nav .menu { flex-direction: column; align-items: stretch; gap: 0; }
	.primary-nav .menu > li > a { padding: 13px 12px; border-radius: 10px; font-size: 1rem; }
	.primary-nav .menu > li > a::before { display: none; }
	.primary-nav .menu-item-has-children::after { display: none; }
	.primary-nav .sub-menu,
	.primary-nav .menu > li.has-mega > .sub-menu {
		position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none;
		display: block; width: auto; margin: 2px 0 10px 14px; margin-left: 14px;
		border: 0; border-left: 2px solid var(--line); border-radius: 0;
		padding: 0 0 0 6px; min-width: 0;
	}
	.primary-nav .sub-menu::before { display: none; }
	.primary-nav .sub-menu a { padding: 9px 10px; }
	.primary-nav .sub-menu .menu-ico { width: 26px; height: 26px; }
	.primary-nav .menu-item-has-children > a::after { margin-left: auto; }
	.primary-nav__cta { display: block; margin-top: 20px; }
	.primary-nav__cta .btn { width: 100%; }
	.intro__grid, .cta-band__inner, .two-col, .contact__grid { grid-template-columns: 1fr; }
	.vm__grid, .vm__grid--2 { grid-template-columns: 1fr; }
	.quickfacts__grid { grid-template-columns: repeat(2, 1fr); }
	.quickfact:nth-child(2) { border-right: 0; }
	.quickfact { border-bottom: 1px solid rgba(255, 255, 255, .14); }
	.footer__grid { grid-template-columns: repeat(2, 1fr); }
	.prog-highlight { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .14); }
	.prog-highlight:last-child { border-bottom: 0; }
}

@media (max-width: 680px) {
	body { font-size: 16px; }
	.topbar__hide-sm { display: none; }
	.topbar__inner { justify-content: center; }
	.topbar__contact { gap: 14px; font-size: .8rem; }
	.brand__logo, .custom-logo { height: 44px; }
	.hero__slide { min-height: auto; }
	.hero__actions .btn { flex: 1 1 100%; }
	.footer__grid { grid-template-columns: 1fr; }
	.form-grid { grid-template-columns: 1fr; }
	.gallery-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
	.intro__badge { position: static; margin-top: 16px; max-width: none; }
	.prog-aside > *, .about__aside > *, .give-cols__side > * { flex: 1 1 100%; }
	.lightbox__nav { width: 40px; height: 40px; }
	.footer__bar-inner { justify-content: center; text-align: center; }
}

@media (max-width: 420px) {
	.quickfacts__grid { grid-template-columns: 1fr; }
	.quickfact { border-right: 0; }
}

@media print {
	.topbar, .masthead, .site-footer, .cta-band, .to-top, .hero__dots, .form-card { display: none !important; }
	body { color: #000; font-size: 12pt; }
	.page-hero, .prog-hero { background: none; color: #000; padding: 0 0 1rem; }
	.page-hero::after, .prog-hero::after { display: none; }
	.page-hero__title, .prog-hero__title { color: #000; }
}
