/* ==========================================================================
   Al-Aghsan theme — main stylesheet
   ========================================================================== */

:root {
	--forest: #0f3a2b;
	--forest-2: #164c39;
	--forest-3: #0a2a1f;
	--leaf: #5f9e32;
	--leaf-light: #b9d99a;
	--leaf-soft: #e3eed6;
	--olive: #c28a24;
	--olive-hover: #d69a2c;
	--cream: #f6f2e9;
	--paper: #fffdf8;
	--ink: #1a211d;
	--muted: #5b6660;
	--line: #e2dccd;
	--radius: 20px;
	--wrap: 1240px;
	--header-h: 84px;
	--serif: "Fraunces", Georgia, serif;
	--sans: "Inter Tight", system-ui, -apple-system, sans-serif;
}

/* Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); color: var(--ink); background: var(--cream); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
:focus-visible { outline: 3px solid var(--olive); outline-offset: 3px; border-radius: 6px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--olive); color: #1b1305; padding: .7rem 1rem; border-radius: 8px; font-weight: 600; }
.skip-link:focus { top: 12px; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.wrap-narrow { width: min(760px, 100% - 32px); }
.wrap-content { width: min(1040px, 100% - 32px); }

/* Arabic and English share the site: let each paragraph and title pick its own direction. */
.entry-content :is(p, h1, h2, h3, h4, h5, h6, li, blockquote, figcaption),
.article-head h1, .post-card h3, .story h3, .card h3, .program-row h2, .now-card h2, .program-hero h1, .page-hero h1 {
	unicode-bidi: plaintext;
	text-align: start;
}

/* Typography ------------------------------------------------------------ */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.1; letter-spacing: -.015em; color: inherit; }
h2 em, h1 em { font-style: italic; font-weight: 400; color: var(--leaf); }
.eyebrow { font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--leaf); display: inline-flex; align-items: center; gap: .6rem; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.section h2, .sec-head h2 { font-size: clamp(2rem, 4.2vw, 3.3rem); margin-top: .9rem; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 62ch; margin-top: 1.2rem; }
.section { padding-block: clamp(72px, 10vw, 128px); }
.section-tight { padding-block: clamp(48px, 6vw, 80px); }

/* Buttons --------------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; gap: .55rem; padding: .95rem 1.5rem; border-radius: 999px; font-weight: 600; font-size: .95rem; line-height: 1.2; border: 0; cursor: pointer; transition: transform .2s, background .2s, color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--olive); color: #1b1305; }
.btn-primary:hover { background: var(--olive-hover); }
.btn-ghost { border: 1.5px solid rgba(255,255,255,.55); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-dark { background: var(--forest); color: #fff; }
.btn-dark:hover { background: var(--forest-2); color: #fff; }
.icon-arrow { transition: transform .2s; }
a:hover > .icon-arrow { transform: translateX(4px); }

/* Header ---------------------------------------------------------------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, box-shadow .3s; }
.admin-bar .site-header { top: 32px; }
.site-header.scrolled { background: rgba(15,58,43,.96); backdrop-filter: blur(10px); box-shadow: 0 6px 30px rgba(0,0,0,.15); }
.has-solid-header main { padding-top: var(--header-h); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: var(--header-h); color: #fff; }
.brand { display: flex; align-items: center; gap: .75rem; flex-shrink: 0; }
.brand-logo { width: 48px; height: 48px; border-radius: 50%; background: #fff; object-fit: contain; }
.brand span { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; line-height: 1.1; }
.brand small { display: block; font-family: var(--sans); font-size: .7rem; font-weight: 500; opacity: .75; letter-spacing: .06em; text-transform: uppercase; }
.nav-links { display: flex; gap: 1.8rem; font-size: .95rem; font-weight: 500; }
.nav-links a { opacity: .88; position: relative; }
.nav-links a:hover, .nav-links .current-menu-item a, .nav-links .current_page_item a, .nav-links .current-menu-ancestor a { opacity: 1; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--olive); transition: width .25s; }
.nav-links a:hover::after, .nav-links .current-menu-item a::after, .nav-links .current_page_item a::after, .nav-links .current-menu-ancestor a::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 1rem; }
.menu-btn { display: none; background: none; border: 0; color: #fff; cursor: pointer; padding: 8px; }

/* Hero (home) ----------------------------------------------------------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: #fff; padding: 140px 0 72px; isolation: isolate; background: var(--forest); }
.hero-bg { position: absolute; inset: 0; z-index: -2; background-position: center 60%; background-size: cover; }
.hero::before, .program-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(10,40,30,.92) 0%, rgba(10,40,30,.7) 42%, rgba(10,40,30,.15) 75%), linear-gradient(0deg, rgba(10,40,30,.6), transparent 40%); }
.hero-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: end; }
.hero .eyebrow { color: var(--leaf-light); }
.hero h1 { font-size: clamp(2.8rem, 7vw, 5.8rem); margin: 1.2rem 0 1.4rem; }
.hero h1 em { color: var(--leaf-light); }
.hero p { font-size: 1.15rem; max-width: 52ch; opacity: .9; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.2rem; }
.now-card { justify-self: end; max-width: 380px; background: rgba(255,253,248,.1); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(14px); border-radius: var(--radius); padding: 1.4rem; }
.now-card .tag { font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--leaf-light); display: flex; align-items: center; gap: .5rem; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: #9fe06a; animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(159,224,106,.7); } 70% { box-shadow: 0 0 0 10px rgba(159,224,106,0); } 100% { box-shadow: 0 0 0 0 rgba(159,224,106,0); } }
.now-card h2 { font-size: 1.15rem; margin: .7rem 0 .9rem; line-height: 1.3; }
.now-card a { font-size: .9rem; font-weight: 600; display: inline-flex; align-items: center; gap: .4rem; }

/* Focus ----------------------------------------------------------------- */
.focus { background: var(--paper); }
.focus-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
.focus-item { padding: 3rem 2.2rem; border-right: 1px solid var(--line); transition: background .3s; }
.focus-item:last-child { border-right: 0; }
.focus-item:hover { background: var(--leaf-soft); }
.focus-item .num { font-family: var(--serif); font-size: .95rem; color: var(--olive); font-weight: 600; }
.focus-item h3 { font-size: 1.55rem; margin: .8rem 0 .7rem; }
.focus-item p { color: var(--muted); }

/* About ----------------------------------------------------------------- */
.about-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.about-media { position: relative; }
.about-media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius); }
.about-quote { position: absolute; right: -28px; bottom: 36px; max-width: 290px; background: var(--forest); color: #fff; padding: 1.5rem; border-radius: 16px; font-family: var(--serif); font-size: 1.15rem; line-height: 1.35; box-shadow: 0 20px 50px rgba(15,58,43,.3); }
.about-quote::before { content: "“"; display: block; font-size: 3rem; line-height: .6; color: var(--olive); margin-bottom: .4rem; }
.mission { margin: 2.2rem 0; display: grid; gap: 1.1rem; }
.mission li { display: grid; grid-template-columns: 44px 1fr; gap: 1rem; align-items: start; padding-bottom: 1.1rem; border-bottom: 1px solid var(--line); }
.mission li:last-child { border-bottom: 0; }
.mission .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--leaf-soft); color: var(--forest); display: grid; place-items: center; }
.mission strong { display: block; font-weight: 600; margin-bottom: .15rem; }
.mission span { color: var(--muted); font-size: .96rem; }

/* Section heads --------------------------------------------------------- */
.programs { background: var(--paper); }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: 3rem; flex-wrap: wrap; }
.related-title { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 2rem; }

/* Program cards --------------------------------------------------------- */
.prog-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.card { position: relative; border-radius: var(--radius); overflow: hidden; color: #fff; min-height: 300px; display: flex; align-items: flex-end; isolation: isolate; background: var(--forest-2); }
.card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(10,36,27,.94) 0%, rgba(10,36,27,.4) 55%, rgba(10,36,27,.05) 100%); }
.card:hover img { transform: scale(1.06); }
.card-body { padding: 1.6rem; }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .8rem; }
.chip { display: inline-flex; align-items: center; gap: .3rem; font-size: .72rem; font-weight: 600; padding: .3rem .7rem; border-radius: 999px; background: rgba(255,255,255,.16); backdrop-filter: blur(6px); }
.chip.gold { background: var(--olive); color: #1b1305; }
.chips-dark .chip { background: var(--leaf-soft); color: var(--forest); }
.card h3 { font-size: 1.3rem; line-height: 1.25; }
.card .more { display: inline-flex; align-items: center; gap: .4rem; margin-top: 1rem; font-weight: 600; font-size: .9rem; color: #d9ecc6; }
.c-feature { grid-column: span 7; grid-row: span 2; min-height: 620px; }
.c-feature h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.c-side { grid-column: span 5; }
.c-half { grid-column: span 6; }

/* Programs archive ------------------------------------------------------ */
.program-list { display: grid; gap: 28px; }
.program-row { display: grid; grid-template-columns: minmax(0, 420px) 1fr; gap: clamp(24px, 4vw, 48px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.program-row-media img { width: 100%; height: 100%; min-height: 280px; object-fit: cover; }
.program-row-body { padding: clamp(24px, 3vw, 40px) clamp(24px, 3vw, 40px) clamp(24px, 3vw, 40px) 0; }
.program-row h2 { font-size: clamp(1.35rem, 2.2vw, 1.8rem); line-height: 1.2; margin-bottom: .8rem; }
.program-row h2 a:hover { color: var(--leaf); }
.program-row p { color: var(--muted); }
.mini-facts { display: flex; flex-wrap: wrap; gap: 1.5rem; margin: 1.2rem 0; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.mini-facts dt { font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.mini-facts dd { font-weight: 600; color: var(--forest); }
.more { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; color: var(--forest); }

/* Program single -------------------------------------------------------- */
.program-hero { position: relative; isolation: isolate; color: #fff; background: var(--forest); padding: calc(var(--header-h) + 80px) 0 64px; min-height: 62vh; display: flex; align-items: flex-end; }
.program-hero .hero-bg { background-position: center; }
.program-hero h1 { font-size: clamp(2rem, 4.4vw, 3.6rem); max-width: 22ch; margin-top: 1rem; }
.back-link { display: inline-block; font-size: .9rem; font-weight: 600; opacity: .85; margin-bottom: 1.2rem; }
.back-link:hover { opacity: 1; }
.program-layout { display: grid; grid-template-columns: 1fr 340px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.program-summary { font-family: var(--serif); font-size: clamp(1.25rem, 2vw, 1.55rem) !important; line-height: 1.45; color: var(--forest); margin-bottom: 2rem; }
.facts { position: sticky; top: calc(var(--header-h) + 24px); background: var(--forest); color: #fff; border-radius: var(--radius); padding: 1.8rem; }
.facts h2 { font-size: 1.3rem; margin-bottom: 1.2rem; }
.facts dl { display: grid; gap: 1rem; margin-bottom: 1.6rem; }
.facts dl div { padding-bottom: 1rem; border-bottom: 1px solid rgba(255,255,255,.14); }
.facts dt { font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--leaf-light); }
.facts dd { font-weight: 500; margin-top: .2rem; }
.facts .btn { width: 100%; justify-content: center; background: var(--olive); color: #1b1305; }

/* Impact ---------------------------------------------------------------- */
.impact { background: var(--forest); color: #fff; position: relative; overflow: hidden; }
.impact::after { content: ""; position: absolute; right: -120px; top: -120px; width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(circle, rgba(95,158,50,.35), transparent 70%); pointer-events: none; }
.impact .eyebrow { color: var(--leaf-light); }
.impact .impact-title { max-width: 18ch; }
.impact .lead { color: rgba(255,255,255,.75); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 3.5rem; border-top: 1px solid rgba(255,255,255,.18); }
.stat { padding: 2rem 1.5rem 0 0; }
.stat b { font-family: var(--serif); font-size: clamp(2.6rem, 5vw, 4rem); font-weight: 600; line-height: 1; }
.stat p { margin-top: .6rem; color: rgba(255,255,255,.7); font-size: .95rem; max-width: 24ch; }

/* Stories --------------------------------------------------------------- */
.stories-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.story { background: var(--paper); border-radius: var(--radius); overflow: hidden; display: grid; grid-template-rows: 280px 1fr; border: 1px solid var(--line); transition: transform .3s, box-shadow .3s; }
.story:hover { transform: translateY(-4px); box-shadow: 0 24px 60px rgba(15,58,43,.12); }
.story-media { background: var(--leaf-soft); }
.story-media img { width: 100%; height: 100%; object-fit: cover; }
.story-body { padding: 2rem; display: flex; flex-direction: column; }
.story-meta { font-size: .8rem; color: var(--muted); }
.story h3 { font-size: 1.6rem; margin: .7rem 0 .8rem; }
.story p { color: var(--muted); }
.story .more { margin-top: auto; padding-top: 1.2rem; }

/* News cards ------------------------------------------------------------ */
.news-strip { background: var(--paper); }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s; }
.post-card:hover { transform: translateY(-4px); box-shadow: 0 20px 50px rgba(15,58,43,.1); }
.post-card-media { display: block; aspect-ratio: 4/3; background: var(--leaf-soft); overflow: hidden; }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; }
.post-card-placeholder { display: grid; place-items: center; height: 100%; color: var(--leaf); }
.post-card-body { padding: 1.5rem; }
.post-card-meta { font-size: .78rem; color: var(--muted); }
.post-card h3 { font-size: 1.2rem; line-height: 1.3; margin: .5rem 0 .6rem; }
.post-card h3 a:hover { color: var(--leaf); }
.post-card p { font-size: .94rem; color: var(--muted); }

/* Filters, search, pagination ------------------------------------------- */
.filter-bar { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-bottom: 2.5rem; }
.filter-bar > a { padding: .5rem 1rem; border-radius: 999px; border: 1px solid var(--line); font-size: .88rem; font-weight: 500; background: #fff; }
.filter-bar > a:hover, .filter-bar > a.is-active { background: var(--forest); border-color: var(--forest); color: #fff; }
.filter-bar .search-form { margin-left: auto; }
.search-form { display: flex; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px; max-width: 360px; }
.search-form input { flex: 1; min-width: 0; border: 0; background: none; padding: 0 1rem; font: inherit; }
.search-form input:focus { outline: none; }
.search-form:focus-within { outline: 3px solid var(--olive); outline-offset: 2px; }
.search-form button { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--forest); color: #fff; display: grid; place-items: center; cursor: pointer; }
.pagination, .page-numbers:is(ul) { margin-top: 3rem; }
.nav-links .page-numbers, ul.page-numbers { display: flex; gap: .4rem; flex-wrap: wrap; justify-content: center; }
.page-numbers:is(a, span) { min-width: 44px; height: 44px; padding: 0 .9rem; display: inline-grid; place-items: center; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-weight: 600; font-size: .9rem; }
.page-numbers.current { background: var(--forest); color: #fff; border-color: var(--forest); }
.pagination .nav-links { justify-content: center; gap: .4rem; font-size: inherit; }
.pagination .nav-links a::after { display: none; }
.empty-state { text-align: center; color: var(--muted); display: grid; gap: 1.5rem; justify-items: center; padding: 3rem 0; }

/* Interior page hero ---------------------------------------------------- */
.page-hero { position: relative; isolation: isolate; background: var(--forest); color: #fff; padding: clamp(64px, 9vw, 120px) 0 clamp(48px, 6vw, 80px); overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -160px; bottom: -200px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(95,158,50,.3), transparent 70%); z-index: -1; }
.page-hero.has-image::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(10,40,30,.94), rgba(10,40,30,.6)); }
.page-hero-bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; }
.page-hero .eyebrow { color: var(--leaf-light); }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 4rem); margin-top: .9rem; max-width: 20ch; }
.page-hero .lead { color: rgba(255,255,255,.78); }

/* Single article -------------------------------------------------------- */
.article-head { padding: clamp(48px, 7vw, 96px) 0 2rem; }
.article-head .back-link { color: var(--leaf); }
.article-meta { display: flex; align-items: center; gap: .5rem; font-size: .88rem; color: var(--muted); }
.article-head h1 { font-size: clamp(2rem, 4.4vw, 3.4rem); margin-top: .8rem; color: var(--forest); }
.article-cover { margin-bottom: 3rem; }
.article-cover img { width: 100%; max-height: 640px; object-fit: cover; border-radius: var(--radius); }
.tag-list { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.tag-list a { font-size: .85rem; color: var(--leaf); font-weight: 600; }
.related { background: var(--paper); }

/* Editor content -------------------------------------------------------- */
.entry-content { font-size: 1.08rem; line-height: 1.8; }
.entry-content > * + * { margin-top: 1.4rem; }
.entry-content :is(h2, h3, h4) { color: var(--forest); margin-top: 2.6rem; }
.entry-content h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.entry-content h3 { font-size: 1.45rem; }
.entry-content h4 { font-size: 1.2rem; }
.entry-content a:not(.wp-block-button__link) { color: var(--forest); text-decoration: underline; text-decoration-color: var(--leaf); text-underline-offset: 3px; }
.entry-content ul, .entry-content ol { padding-inline-start: 1.4rem; }
.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }
.entry-content li + li { margin-top: .4rem; }
.entry-content li::marker { color: var(--leaf); }
.entry-content blockquote { font-family: var(--serif); font-size: 1.3rem; font-style: italic; color: var(--forest); border-inline-start: 3px solid var(--olive); padding-inline-start: 1.3rem; }
.entry-content figure img, .entry-content > p img { border-radius: 14px; }
.entry-content figcaption { font-size: .85rem; color: var(--muted); margin-top: .5rem; }
.entry-content .wp-block-gallery { gap: 12px; }
.entry-content .wp-block-gallery img { border-radius: 12px; }
.entry-content .wp-block-embed iframe, .entry-content iframe { width: 100%; border-radius: 14px; }
.entry-content .wp-block-columns { gap: 2rem; }
.entry-content .wp-block-separator { border: 0; border-top: 1px solid var(--line); margin-block: 3rem; }
.entry-content .alignwide { width: min(1240px, 100vw - 32px); margin-inline: calc(50% - min(620px, 50vw - 16px)); }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content :is(td, th) { border: 1px solid var(--line); padding: .6rem .8rem; text-align: start; }

/* Forms (Contact Form 7 and others) ------------------------------------- */
.entry-content :is(input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="number"], select, textarea) { width: 100%; font: inherit; font-size: 1rem; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); }
.entry-content :is(input, select, textarea):focus { outline: 3px solid rgba(194,138,36,.4); border-color: var(--olive); }
.entry-content label { font-weight: 600; font-size: .92rem; display: block; }
.entry-content :is(input[type="submit"], button[type="submit"]) { background: var(--forest); color: #fff; border: 0; border-radius: 999px; padding: .95rem 1.8rem; font: inherit; font-weight: 600; cursor: pointer; }
.entry-content :is(input[type="submit"], button[type="submit"]):hover { background: var(--forest-2); }
.wpcf7-not-valid-tip { color: #b42318; font-size: .85rem; margin-top: .3rem; }
.wpcf7 form .wpcf7-response-output { border-radius: 12px; margin: 1.5rem 0 0; padding: .9rem 1.1rem; }
.contact-card { background: var(--forest); color: #fff; border-radius: var(--radius); padding: 2rem; }
.contact-card :is(h2, h3) { color: #fff !important; margin-top: 0 !important; }
.contact-card a { color: #fff !important; }

/* Partners -------------------------------------------------------------- */
.partners { padding-block: 56px; border-block: 1px solid var(--line); background: var(--paper); }
.partners-row { display: flex; align-items: center; gap: 2.5rem; flex-wrap: wrap; }
.partners-row p { font-size: .85rem; color: var(--muted); max-width: 18ch; }
.partners-row ul { display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; flex: 1; justify-content: space-between; }
.partner { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; color: #7c857f; transition: color .2s; }
.partner:hover { color: var(--forest); }

/* Support box ----------------------------------------------------------- */
.support-box { display: grid; grid-template-columns: 1.1fr 1fr; border-radius: 28px; overflow: hidden; background: var(--forest-2); color: #fff; }
.support-copy { padding: clamp(40px, 6vw, 80px); }
.support-copy .eyebrow { color: var(--leaf-light); }
.support-copy h2 { color: #fff; }
.support-copy p { color: rgba(255,255,255,.8); margin: 1.2rem 0 2rem; font-size: 1.08rem; }
.support-copy .row { display: flex; gap: .9rem; flex-wrap: wrap; }
.support-media { position: relative; min-height: 360px; background: var(--forest); }
.support-media img, .support-media iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.play { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 84px; height: 84px; border-radius: 50%; background: rgba(255,255,255,.92); display: grid; place-items: center; color: var(--forest); box-shadow: 0 0 0 12px rgba(255,255,255,.2); transition: transform .2s; }
.play:hover { transform: scale(1.08); }
.play-label { position: absolute; left: 24px; bottom: 20px; font-size: .85rem; font-weight: 600; background: rgba(10,36,27,.7); padding: .45rem .9rem; border-radius: 999px; }

/* Footer ---------------------------------------------------------------- */
.site-footer { background: var(--forest-3); color: rgba(255,255,255,.75); padding: 88px 0 32px; }
.foot-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px; }
.foot-title { font-family: var(--sans); color: #fff; font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1.2rem; }
.site-footer ul { display: grid; gap: .6rem; font-size: .95rem; }
.site-footer a:hover { color: #fff; }
.site-footer .brand { color: #fff; }
.foot-brand p { margin-top: 1.2rem; max-width: 34ch; font-size: .95rem; }
.foot-note { font-size: .95rem; margin-bottom: 1.2rem; }
.socials { display: flex; gap: .6rem; margin-top: 1.4rem; }
.socials a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); display: grid; place-items: center; transition: background .2s; }
.socials a:hover { background: var(--leaf); border-color: var(--leaf); }
.foot-bottom { margin-top: 64px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .85rem; }

/* Reveal on scroll (only when JS is running) ---------------------------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }

/* Responsive ------------------------------------------------------------ */
@media (max-width: 1100px) {
	.nav-links, .nav-cta .btn-ghost { display: none; }
	.menu-btn { display: block; }
	.nav-links.open { display: flex; flex-direction: column; position: absolute; top: var(--header-h); left: 16px; right: 16px; background: var(--forest); padding: 1.5rem; border-radius: 16px; gap: 1.1rem; box-shadow: 0 20px 40px rgba(0,0,0,.25); }
	.hero-grid, .about-grid, .support-box, .program-layout { grid-template-columns: 1fr; }
	.now-card { justify-self: start; }
	.about-quote { right: 16px; }
	.c-feature, .c-side, .c-half { grid-column: span 12; min-height: 340px; }
	.c-feature { min-height: 440px; }
	.stats { grid-template-columns: repeat(2, 1fr); }
	.post-grid { grid-template-columns: repeat(2, 1fr); }
	.foot-top { grid-template-columns: 1fr 1fr; }
	.facts { position: static; }
	.program-row { grid-template-columns: 1fr; }
	.program-row-body { padding: 0 24px 28px; }
	.program-row-media img { min-height: 0; aspect-ratio: 16/9; }
}
@media (max-width: 782px) {
	.admin-bar .site-header { top: 46px; }
}
@media (max-width: 680px) {
	.focus-grid, .stories-grid, .foot-top, .post-grid { grid-template-columns: 1fr; }
	.focus-item { border-right: 0; border-bottom: 1px solid var(--line); padding: 2.2rem 0; }
	.nav-cta .btn-primary { padding: .7rem 1.1rem; }
	.brand small { display: none; }
	.about-quote { position: static; margin: -40px 16px 0; max-width: none; position: relative; }
	.filter-bar .search-form { margin-left: 0; width: 100%; max-width: none; }
	.partners-row ul { justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
	.js .reveal { opacity: 1; transform: none; }
}
