/*
Theme Name: FBA 2026
Theme URI: https://facultyofbestadvisory.org.za
Author: QyloDev
Author URI: https://www.qylodev.co.za
Description: Custom theme for Faculty of Best Advisory (FBA), built by QyloDev.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.2
Text Domain: fba
*/

:root {
  --maroon: #7A1C2C;
  --maroon-deep: #5B1220;
  --ink: #1D1517;
  --gold: #E0A526;
  --gold-soft: #FBEFD3;
  --paper: #FFFFFF;
  --stone: #F3F1EF;
  --line: #E4DFDB;
  --muted: #5E5356;
  --display: "Bricolage Grotesque", "Instrument Sans", system-ui, sans-serif;
  --body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1200px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
html, body { overflow-x: clip; }
body { margin: 0; font-family: var(--body); font-size: 18px; line-height: 1.65; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--maroon); text-underline-offset: 3px; }
a:hover { color: var(--maroon-deep); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.1; letter-spacing: -.015em; margin: 0; color: var(--ink); }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
.screen-reader-text, .sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; top: 10px; z-index: 1000; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { left: 12px; color: #fff; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; font-family: var(--body); font-weight: 600; font-size: 17px; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: #F0B83A; color: var(--ink); }
.btn-maroon { background: var(--maroon); color: #fff; }
.btn-maroon:hover { background: var(--maroon-deep); color: #fff; }
.btn-line { border-color: currentColor; color: inherit; }
.btn-line:hover { background: rgba(255,255,255,.12); color: inherit; }
.btn-ink-line { border-color: var(--ink); color: var(--ink); }
.btn-ink-line:hover { background: var(--ink); color: #fff; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* Top bar */
.topbar { background: var(--ink); color: #D9D1D3; font-size: 14.5px; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.topbar a { color: #fff; text-decoration: none; white-space: nowrap; }
.topbar a:hover { text-decoration: underline; color: #fff; }
.topbar .contact { display: flex; gap: 22px; flex-wrap: wrap; }
.social { display: flex; gap: 6px; align-items: center; }
.social a { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: inherit; }
.social a:hover { background: rgba(255,255,255,.12); }
.social svg { width: 18px; height: 18px; fill: currentColor; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.2) blur(6px); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; position: relative; } }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex: none; }
.brand img { width: auto; height: 62px; }
.brand .name { font-family: var(--display); font-weight: 800; font-size: 19px; line-height: 1.05; }
.brand .name small { display: block; font-family: var(--body); font-weight: 500; font-size: 13px; color: var(--muted); letter-spacing: 0; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav ul { list-style: none; margin: 0; padding: 0; }
.nav > ul { display: flex; align-items: center; gap: 2px; }
.nav li { position: relative; }
.nav a { display: block; padding: 10px 14px; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 16px; }
.nav a:hover, .nav .current-menu-item > a, .nav .current_page_item > a, .nav .current-menu-ancestor > a { color: var(--maroon); background: var(--stone); }
.nav .sub-menu, .nav .children { position: absolute; left: 0; top: calc(100% + 6px); min-width: 300px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 8px; box-shadow: 0 18px 40px -18px rgba(29,21,23,.35); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s; }
.nav li:hover > .sub-menu, .nav li:focus-within > .sub-menu, .nav li:hover > .children, .nav li:focus-within > .children { opacity: 1; visibility: visible; transform: none; }
.nav .sub-menu a, .nav .children a { font-weight: 500; padding: 9px 12px; }
.nav .menu-item-has-children > a::after, .nav .page_item_has_children > a::after { content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.nav .donate a, .nav-donate { margin-left: 8px; }
.menu-toggle { display: none; align-items: center; gap: 8px; background: var(--ink); color: #fff; border: 0; border-radius: 999px; padding: 10px 18px; font: 600 16px var(--body); cursor: pointer; }
.menu-toggle svg { width: 20px; height: 20px; }

@media (max-width: 1100px) {
  .menu-toggle { display: inline-flex; }
  .nav { position: fixed; inset: 0 0 0 auto; width: min(380px, 100%); background: #fff; flex-direction: column; align-items: stretch; padding: 84px 20px 24px; overflow-y: auto; transform: translateX(100%); transition: transform .2s; z-index: 60; box-shadow: -20px 0 40px -20px rgba(0,0,0,.4); }
  .nav:not(.open) { visibility: hidden; transition: transform .2s, visibility 0s .2s; }
  .nav.open { transform: none; }
  .nav > ul { flex-direction: column; align-items: stretch; }
  .nav .sub-menu, .nav .children { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 14px; min-width: 0; }
  .nav .menu-item-has-children > a::after, .nav .page_item_has_children > a::after { display: none; }
  .nav .nav-donate { margin: 14px 0 0; }
  .nav-close { position: absolute; top: 20px; right: 20px; }
  .brand img { height: 52px; }
  .brand .name { display: none; }
}
@media (min-width: 1101px) { .nav-close { display: none; } }
.scrim { position: fixed; inset: 0; background: rgba(29,21,23,.5); z-index: 55; }

/* Hero */
.hero { position: relative; color: #fff; background: var(--ink); overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(29,21,23,.82) 0%, rgba(29,21,23,.55) 45%, rgba(29,21,23,.05) 80%); }
.hero .wrap { position: relative; min-height: min(78vh, 720px); display: flex; align-items: flex-end; padding: 120px 0 72px; }
.hero-card { max-width: 660px; }
.hero h1 { color: #fff; font-size: clamp(40px, 5.6vw, 70px); font-weight: 800; letter-spacing: -.025em; }
.hero p.lede { font-size: clamp(18px, 1.7vw, 21px); color: #F1E9EA; margin: 22px 0 30px; max-width: 34em; }
.hero .tag { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; font-weight: 600; font-size: 15px; color: var(--gold); }
.hero .tag::before { content: ""; width: 28px; height: 2px; background: var(--gold); }

/* Impact ledger */
.ledger { background: var(--maroon); color: #fff; }
.ledger ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.ledger li { padding: 30px 20px 30px 0; }
.ledger li + li { padding-left: 22px; border-left: 1px solid rgba(255,255,255,.2); }
.ledger strong { display: block; font-family: var(--display); font-weight: 800; font-size: clamp(30px, 3vw, 42px); line-height: 1; color: #fff; }
.ledger span { display: block; margin-top: 8px; font-size: 15px; color: #F0D9DD; line-height: 1.35; }
@media (max-width: 1000px) { .ledger ul { grid-template-columns: repeat(3, minmax(0, 1fr)); } .ledger li:nth-child(4) { border-left: 0; padding-left: 0; } .ledger li:nth-child(n+4) { border-top: 1px solid rgba(255,255,255,.2); } }
@media (max-width: 560px) { .ledger ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ledger li, .ledger li + li { padding: 22px 12px 22px 0; border-left: 0; } .ledger li:nth-child(even) { padding-left: 16px; border-left: 1px solid rgba(255,255,255,.2); } .ledger li:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.2); } }

/* Sections */
.section { padding: 104px 0; }
.section.tight { padding: 72px 0; }
.section.stone { background: var(--stone); }
.section.dark { background: var(--ink); color: #EDE6E7; }
.section.dark h2, .section.dark h3 { color: #fff; }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: end; margin-bottom: 52px; }
.sec-head h2 { font-size: clamp(32px, 3.8vw, 50px); font-weight: 800; }
.sec-head p { color: var(--muted); margin: 0; max-width: 36em; font-size: 19px; }
.dark .sec-head p { color: #CFC5C7; }
@media (max-width: 860px) { .sec-head { grid-template-columns: minmax(0, 1fr); gap: 16px; } .section { padding: 72px 0; } }

/* Pathway */
.path { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; position: relative; counter-reset: step; }
.path::before { content: ""; position: absolute; left: 0; right: 0; top: 27px; height: 3px; background: repeating-linear-gradient(90deg, var(--gold) 0 14px, transparent 14px 22px); }
.path li { position: relative; padding: 0 22px 0 0; counter-increment: step; }
.path .dot { position: relative; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--maroon); color: #fff; font-family: var(--display); font-weight: 800; font-size: 22px; box-shadow: 0 0 0 8px var(--paper); }
.stone .path .dot { box-shadow: 0 0 0 8px var(--stone); }
.path .dot::after { content: counter(step); }
.path .who { display: block; margin-top: 22px; font-size: 14.5px; font-weight: 600; color: var(--maroon); }
.path h3 { font-size: 22px; font-weight: 700; margin: 4px 0 10px; }
.path p { color: var(--muted); font-size: 16.5px; margin: 0; }
.path-loop { display: flex; align-items: center; gap: 14px; margin-top: 40px; padding: 18px 22px; border-radius: 16px; background: var(--gold-soft); color: var(--ink); font-weight: 500; }
.path-loop svg { flex: none; width: 34px; height: 34px; color: var(--maroon); }
@media (max-width: 900px) {
  .path { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .path::before { left: 27px; right: auto; top: 0; bottom: 0; width: 3px; height: auto; background: repeating-linear-gradient(180deg, var(--gold) 0 14px, transparent 14px 22px); }
  .path li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 0 20px; padding: 0; }
  .path .who { margin-top: 0; grid-column: 2; }
  .path h3, .path p { grid-column: 2; }
  .path .dot { grid-row: 1 / span 3; }
}

/* Programmes */
.progs { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 22px; }
.prog { position: relative; grid-column: span 4; display: flex; flex-direction: column; background: #fff; border-radius: 20px; overflow: hidden; text-decoration: none; color: var(--ink); border: 1px solid var(--line); transition: border-color .15s, transform .15s; }
.prog:hover { border-color: var(--maroon); color: var(--ink); }
.prog.big { grid-column: span 6; }
.prog .ph { aspect-ratio: 16 / 10; overflow: hidden; background: var(--stone); }
.prog.big .ph { aspect-ratio: 16 / 9; }
.prog .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.prog:hover .ph img { transform: scale(1.03); }
@media (prefers-reduced-motion: reduce) { .prog .ph img, .prog { transition: none; } .prog:hover .ph img { transform: none; } }
.prog .bd { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.prog h3 { font-size: 23px; font-weight: 700; }
.prog.big h3 { font-size: 28px; }
.prog p { margin: 0; color: var(--muted); font-size: 16.5px; }
.prog .more { margin-top: auto; padding-top: 10px; font-weight: 600; color: var(--maroon); }
@media (max-width: 980px) { .prog, .prog.big { grid-column: span 6; } }
@media (max-width: 620px) { .prog, .prog.big { grid-column: span 12; } }

/* Story split */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.split.rev .split-media { order: 2; }
.split-media { position: relative; }
.split-media img { width: 100%; border-radius: 22px; aspect-ratio: 4 / 3.2; object-fit: cover; }
.split-media .badge { position: absolute; left: -18px; bottom: -22px; background: var(--gold); color: var(--ink); border-radius: 18px; padding: 18px 22px; max-width: 280px; font-weight: 600; line-height: 1.35; font-size: 16px; box-shadow: 0 16px 30px -18px rgba(0,0,0,.5); }
.split-media .badge strong { display: block; font-family: var(--display); font-size: 24px; margin-bottom: 4px; }
.split h2 { font-size: clamp(30px, 3.4vw, 46px); font-weight: 800; margin-bottom: 22px; }
.split p { color: var(--muted); }
.dark .split p { color: #CFC5C7; }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); gap: 48px; } .split.rev .split-media { order: 0; } .split-media .badge { left: 12px; } }

/* Graduates */
.grads { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 2px solid #fff; margin-top: 8px; }
.grads > div { padding: 28px 28px 8px 0; }
.grads > div + div { padding-left: 28px; border-left: 1px solid rgba(255,255,255,.18); }
.grads h3 { font-size: 24px; margin-bottom: 6px; }
.grads .deg { color: var(--gold); font-weight: 600; margin-bottom: 10px; }
.grads p { color: #CFC5C7; font-size: 16.5px; }
@media (max-width: 860px) { .grads { grid-template-columns: minmax(0, 1fr); } .grads > div, .grads > div + div { padding: 24px 0 8px; border-left: 0; border-bottom: 1px solid rgba(255,255,255,.18); } }

/* Vision */
.vision { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.vision blockquote { margin: 0; font-family: var(--display); font-size: clamp(30px, 3.6vw, 48px); font-weight: 700; line-height: 1.12; letter-spacing: -.02em; }
.vision blockquote cite { display: block; margin-top: 20px; font-family: var(--body); font-style: normal; font-size: 17px; font-weight: 600; color: var(--maroon); letter-spacing: 0; }
.goals { display: grid; gap: 14px; }
.goal { display: flex; align-items: baseline; gap: 18px; padding: 22px 24px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.goal strong { font-family: var(--display); font-weight: 800; font-size: 40px; color: var(--maroon); line-height: 1; flex: none; }
.goal span { color: var(--muted); }
@media (max-width: 860px) { .vision { grid-template-columns: minmax(0, 1fr); gap: 36px; } }

/* Get involved */
.ways { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.way { display: flex; flex-direction: column; gap: 10px; padding: 28px 24px; border-radius: 20px; background: #fff; border: 1px solid var(--line); }
.way.feature { background: var(--maroon); border-color: var(--maroon); color: #fff; }
.way.feature h3 { color: #fff; }
.way.feature p { color: #F0D9DD; }
.way .ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--gold-soft); color: var(--maroon); }
.way.feature .ic { background: rgba(255,255,255,.14); color: var(--gold); }
.way .ic svg { width: 24px; height: 24px; }
.way h3 { font-size: 22px; font-weight: 700; }
.way p { margin: 0; color: var(--muted); font-size: 16.5px; }
.way .btn { margin-top: auto; align-self: flex-start; min-height: 46px; padding: 0 20px; font-size: 16px; }
.way:not(.feature) .btn { margin-top: auto; }
@media (max-width: 1000px) { .ways { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .ways { grid-template-columns: minmax(0, 1fr); } }

/* Chapters strip */
.chapters { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--muted); font-size: 16px; }
.chapters strong { color: var(--ink); font-weight: 600; }
.chapters span { font-family: var(--display); font-weight: 700; font-size: 19px; color: var(--ink); }

/* News */
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.post-card { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); border-radius: 18px; overflow: hidden; background: #fff; border: 1px solid var(--line); }
.post-card:hover { border-color: var(--maroon); color: var(--ink); }
.post-card .ph { aspect-ratio: 16 / 10; background: var(--stone); overflow: hidden; }
.post-card .ph img { width: 100%; height: 100%; object-fit: cover; }
.post-card .bd { padding: 20px 22px 24px; }
.post-card time { font-size: 14.5px; color: var(--muted); }
.post-card h3 { font-size: 21px; margin-top: 6px; }
@media (max-width: 900px) { .posts { grid-template-columns: minmax(0, 1fr); } }

/* CTA band */
.cta-band { background: var(--gold); color: var(--ink); }
.cta-band .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; padding: 56px 0; }
.cta-band h2 { font-size: clamp(28px, 3vw, 40px); font-weight: 800; max-width: 18em; }
.cta-band p { margin: 10px 0 0; max-width: 40em; }

/* Page hero */
.page-hero { background: var(--maroon); color: #fff; position: relative; overflow: hidden; }
.page-hero .wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px; align-items: center; padding: 72px 0; }
.page-hero.no-img .wrap { grid-template-columns: minmax(0, 1fr); padding: 80px 0 72px; }
.page-hero h1 { color: #fff; font-size: clamp(36px, 4.8vw, 62px); font-weight: 800; letter-spacing: -.025em; }
.page-hero .crumbs { font-size: 15px; margin-bottom: 18px; color: #F0D9DD; }
.page-hero .crumbs a { color: #fff; }
.page-hero .intro { margin: 20px 0 0; font-size: 20px; color: #F4E4E7; max-width: 36em; }
.page-hero .ph img { width: 100%; border-radius: 20px; aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 860px) { .page-hero .wrap { grid-template-columns: minmax(0, 1fr); padding: 48px 0; gap: 32px; } }

/* Page body: readable content from the block editor */
.page-body { padding: 72px 0 96px; }
.page-body.with-side .wrap { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 64px; align-items: start; }
@media (max-width: 960px) { .page-body.with-side .wrap { grid-template-columns: minmax(0, 1fr); } }
.entry { max-width: 760px; font-size: 19px; }
.page-body:not(.with-side) .entry { margin-inline: auto; }
.entry.wide { max-width: none; }
.entry > * { margin-top: 0; }
.entry h2 { font-size: clamp(28px, 3vw, 38px); font-weight: 800; margin: 56px 0 18px; }
.entry h3 { font-size: 24px; font-weight: 700; margin: 40px 0 12px; }
.entry h2:first-child, .entry h3:first-child { margin-top: 0; }
.entry p { color: #3B3134; }
.entry ul, .entry ol { padding-left: 1.2em; margin: 0 0 1.2em; }
.entry li { margin: 6px 0; }
.entry li::marker { color: var(--maroon); }
.entry blockquote, .entry .wp-block-quote { margin: 36px 0; padding: 4px 0 4px 26px; border-left: 4px solid var(--gold); font-family: var(--display); font-size: 26px; line-height: 1.3; font-weight: 600; }
.entry blockquote cite, .entry .wp-block-quote cite { display: block; margin-top: 12px; font-family: var(--body); font-size: 16px; font-weight: 500; color: var(--muted); font-style: normal; }
.entry img { border-radius: 16px; }
.entry figure { margin: 32px 0; }
.entry figcaption { font-size: 15px; color: var(--muted); margin-top: 8px; }
.entry table { width: 100%; border-collapse: collapse; font-size: 17px; }
.entry td, .entry th { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.entry .wp-block-button__link { display: inline-flex; align-items: center; min-height: 50px; padding: 0 24px; border-radius: 999px; background: var(--maroon); color: #fff; font-weight: 600; text-decoration: none; }
.entry .wp-block-button__link:hover { background: var(--maroon-deep); color: #fff; }
.entry .is-style-outline .wp-block-button__link { background: transparent; color: var(--maroon); border: 2px solid var(--maroon); }
.entry .wp-block-columns { display: flex; flex-wrap: wrap; gap: 24px; margin: 32px 0; }
.entry .wp-block-column { flex: 1 1 260px; min-width: 0; }
.entry .wp-block-group.has-background, .entry .fba-box { padding: 28px 30px; border-radius: 20px; background: var(--stone); margin: 32px 0; }
.entry .fba-box.gold { background: var(--gold-soft); }
.entry .fba-box.maroon { background: var(--maroon); color: #fff; }
.entry .fba-box.maroon p, .entry .fba-box.maroon li, .entry .fba-box.maroon h3 { color: #fff; }
.entry .fba-box > :last-child { margin-bottom: 0; }
.entry .fba-tags { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.entry .fba-tags li { margin: 0; padding: 8px 16px; border-radius: 999px; background: var(--stone); border: 1px solid var(--line); font-size: 16.5px; font-weight: 500; }
.entry .fba-stats { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(136px, 1fr)); gap: 14px; margin: 32px 0; }
.entry .fba-stats li { margin: 0; padding: 22px; border-radius: 18px; background: var(--maroon); color: #F0D9DD; font-size: 16px; line-height: 1.35; }
.entry .fba-stats strong { display: block; white-space: nowrap; font-family: var(--display); font-weight: 800; font-size: 30px; color: #fff; line-height: 1; margin-bottom: 8px; }
.entry details { border: 1px solid var(--line); border-radius: 16px; padding: 0 22px; margin: 12px 0; background: #fff; }
.entry details[open] { border-color: var(--maroon); }
.entry summary { cursor: pointer; padding: 18px 0; font-weight: 600; font-size: 19px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.entry summary::-webkit-details-marker { display: none; }
.entry summary::after { content: "+"; font-family: var(--display); font-size: 26px; line-height: 1; color: var(--maroon); }
.entry details[open] summary::after { content: "–"; }
.entry details > :not(summary) { margin-top: 0; }
.entry details > p:last-child { padding-bottom: 18px; margin-bottom: 0; }
.bank { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 8px 22px; margin: 0; }
.bank dt { color: var(--muted); }
.bank dd { margin: 0; font-weight: 600; }
.maroon .bank dt { color: #F0D9DD; }

/* Side panel */
.side { position: sticky; top: 120px; display: grid; gap: 18px; }
.admin-bar .side { top: 152px; }
.side-card { padding: 24px; border-radius: 20px; background: var(--stone); }
.side-card h2 { font-size: 20px; margin-bottom: 12px; }
.side-card ul { list-style: none; margin: 0; padding: 0; }
.side-card li a { display: block; padding: 8px 0; text-decoration: none; color: var(--ink); font-weight: 500; border-bottom: 1px solid var(--line); }
.side-card li:last-child a { border-bottom: 0; }
.side-card li a:hover, .side-card li.current a { color: var(--maroon); }
.side-card li.current a { font-weight: 700; }
.side-card.maroon { background: var(--maroon); color: #fff; }
.side-card.maroon h2 { color: #fff; }
.side-card.maroon p { color: #F0D9DD; font-size: 16.5px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.contact-list li { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 14px; align-items: start; }
.contact-list .ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--gold-soft); color: var(--maroon); }
.contact-list .ic svg { width: 22px; height: 22px; }
.contact-list strong { display: block; }
.contact-list span, .contact-list a { color: var(--muted); }
.wpcf7 form p { margin-bottom: 16px; }
.wpcf7 input[type=text], .wpcf7 input[type=email], .wpcf7 input[type=tel], .wpcf7 textarea { width: 100%; min-height: 52px; padding: 12px 16px; border: 1.5px solid var(--line); border-radius: 12px; font: inherit; font-size: 17px; background: #fff; }
.wpcf7 textarea { min-height: 160px; }
.wpcf7 input:focus, .wpcf7 textarea:focus { outline: none; border-color: var(--maroon); box-shadow: 0 0 0 3px rgba(122,28,44,.15); }
.wpcf7 input[type=submit] { min-height: 52px; padding: 0 28px; border: 0; border-radius: 999px; background: var(--maroon); color: #fff; font: 600 17px var(--body); cursor: pointer; }
.wpcf7 input[type=submit]:hover { background: var(--maroon-deep); }

/* Archive */
.archive-list { display: grid; gap: 22px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .archive-list { grid-template-columns: minmax(0, 1fr); } }
.pagination { margin-top: 40px; display: flex; gap: 8px; }
.pagination a, .pagination span { padding: 10px 16px; border-radius: 10px; border: 1px solid var(--line); text-decoration: none; }

/* Footer */
.site-footer { background: var(--ink); color: #CFC5C7; font-size: 16px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.foot-top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding: 72px 0 48px; }
.foot-top h2 { font-family: var(--body); font-size: 15px; font-weight: 600; color: var(--gold); margin-bottom: 14px; }
.foot-top ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-brand .logo-chip { display: inline-flex; background: #fff; border-radius: 16px; padding: 10px 14px; margin-bottom: 18px; }
.foot-brand .logo-chip img { height: 56px; width: auto; }
.foot-brand p { max-width: 30em; }
.foot-brand .social { margin-top: 14px; }
.foot-legal { border-top: 1px solid rgba(255,255,255,.14); padding: 22px 0 30px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14.5px; color: #A99EA1; }
@media (max-width: 900px) { .foot-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .foot-top { grid-template-columns: minmax(0, 1fr); } }

.nav a { white-space: nowrap; }
.nav a.nav-donate { display: inline-flex; color: #fff; background: var(--maroon); padding: 0 20px; border-radius: 999px; margin-left: 10px; }
.nav a.nav-donate:hover { background: var(--maroon-deep); color: #fff; }
.prog:nth-child(6), .prog:nth-child(7) { grid-column: span 6; }
@media (max-width: 620px) { .prog:nth-child(6), .prog:nth-child(7) { grid-column: span 12; } }
.site-footer { overflow-wrap: anywhere; }
#mystickyelements-wrap, .mystickyelements-fixed { display: none !important; }

/* 404 */
.notfound { padding: 120px 0; text-align: left; }
.notfound h1 { font-size: clamp(40px, 5vw, 64px); margin-bottom: 16px; }

@media (max-width: 620px) {
  body { font-size: 17px; }
  .wrap { width: calc(100% - 32px); }
  .topbar .contact a:nth-child(n+2) { display: none; }
  .hero .wrap { min-height: 640px; padding: 90px 0 48px; }
  .hero-media::after { background: linear-gradient(0deg, rgba(29,21,23,.9) 10%, rgba(29,21,23,.45) 65%, rgba(29,21,23,.2)); }
  .entry { font-size: 18px; }
}
.btn svg { width: 20px; height: 20px; flex: none; }
.entry .fba-box.maroon a { color: #fff; }
.entry .fba-box.maroon strong { color: #fff; }
.bank { margin-bottom: 18px; }
.ledger strong { white-space: nowrap; font-size: clamp(26px, 2.7vw, 40px); }

/* ===== Part two: motion, photo headers, gallery, media, events ===== */
@keyframes fbaZoom { from { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes fbaUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes fbaBar { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Page headers: full photo, deep maroon wash, gold rule */
.page-hero { background: var(--maroon-deep); isolation: isolate; }
.page-hero .bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.page-hero .bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.page-hero .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(76,14,26,.96) 0%, rgba(91,18,32,.86) 42%, rgba(29,21,23,.3) 100%); }
.page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: linear-gradient(90deg, var(--gold), #F3C766 60%, var(--maroon)); transform-origin: left; }
.page-hero .wrap { display: block; min-height: clamp(360px, 52vh, 520px); padding: 0; }
.page-hero .ph-text { display: flex; flex-direction: column; justify-content: flex-end; min-height: inherit; padding: 110px 0 72px; max-width: 820px; }
.page-hero h1 { font-size: clamp(42px, 6.4vw, 84px); line-height: 1; }
.page-hero .intro { font-size: clamp(18px, 1.8vw, 22px); }
.page-hero .eyebrow { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 18px; font-weight: 600; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; color: var(--gold); }
.page-hero .eyebrow::before { content: ""; width: 34px; height: 2px; background: var(--gold); }
.page-hero .eyebrow a { color: var(--gold); text-decoration: none; }
.page-hero .eyebrow a:hover { text-decoration: underline; }
@media (max-width: 860px) { .page-hero .ph-text { padding: 72px 0 48px; } .page-hero .wrap { min-height: 320px; } }

/* Home hero slideshow */
.hero-media img { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s ease; }
.hero-media img.on { opacity: 1; }
.hero-media::after { z-index: 1; }

/* Header gets compact with a shadow once you scroll; reading progress line */
.site-header { transition: box-shadow .3s ease; }
.site-header .wrap { transition: min-height .3s ease; }
.site-header.scrolled { box-shadow: 0 10px 30px -18px rgba(29,21,23,.45); }
.site-header.scrolled .wrap { min-height: 70px; }
.progress { position: absolute; left: 0; bottom: -1px; height: 3px; width: 100%; background: linear-gradient(90deg, var(--maroon), var(--gold)); transform-origin: left; transform: scaleX(0); pointer-events: none; }

/* Back to top */
.to-top { position: fixed; left: 20px; bottom: 22px; z-index: 60; width: 50px; height: 50px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 12px 28px -12px rgba(0,0,0,.5); opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .3s, transform .3s, background .2s; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--maroon); }
.to-top svg { width: 22px; height: 22px; }

/* Gallery */
.gal-count { color: var(--muted); font-size: 18px; margin: 0 0 28px; }
.gal { columns: 3 300px; column-gap: 16px; }
.gal-item { display: block; position: relative; margin: 0 0 16px; break-inside: avoid; border-radius: 16px; overflow: hidden; background: var(--stone); }
.gal-item img { width: 100%; height: auto; display: block; transition: transform .6s cubic-bezier(.2,.7,.2,1), filter .4s; }
.gal-item:hover img, .gal-item:focus-visible img { transform: scale(1.05); }
.gal-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(29,21,23,.7)); opacity: 0; transition: opacity .3s; }
.gal-item:hover::after, .gal-item:focus-visible::after { opacity: 1; }
.gal-cap { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 1; color: #fff; font-weight: 600; font-size: 15px; line-height: 1.3; opacity: 0; transform: translateY(8px); transition: .3s; }
.gal-item:hover .gal-cap, .gal-item:focus-visible .gal-cap { opacity: 1; transform: none; }
@media (hover: none) { .gal-item::after, .gal-cap { opacity: 1; transform: none; } }
.gal.mosaic { columns: auto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 200px; gap: 16px; }
.gal.mosaic .gal-item { margin: 0; height: 100%; }
.gal.mosaic .gal-item img { height: 100%; object-fit: cover; }
.gal.mosaic .gal-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gal.mosaic .gal-item:nth-child(4) { grid-row: span 2; }
@media (max-width: 860px) { .gal.mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 160px; } .gal.mosaic .gal-item:nth-child(4) { grid-row: auto; } .gal.mosaic .gal-item:nth-child(7) { display: none; } }

/* Lightbox */
.lb { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lb::backdrop { background: rgba(20,12,14,.94); }
.lb[open] { display: grid; place-items: center; }
.lb figure { margin: 0; display: grid; gap: 14px; justify-items: center; padding: 70px 80px; }
.lb img { max-width: min(1200px, 100%); max-height: calc(100vh - 170px); border-radius: 12px; object-fit: contain; animation: fbaUp .35s ease both; }
.lb figcaption { color: #EDE3E5; font-size: 16px; text-align: center; min-height: 1.4em; }
.lb button { position: fixed; border: 0; width: 54px; height: 54px; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; display: grid; place-items: center; cursor: pointer; transition: background .2s; }
.lb button:hover, .lb button:focus-visible { background: var(--gold); color: var(--ink); }
.lb button svg { width: 24px; height: 24px; }
.lb .lb-close { top: 18px; right: 18px; }
.lb .lb-prev { left: 18px; top: 50%; translate: 0 -50%; }
.lb .lb-next { right: 18px; top: 50%; translate: 0 -50%; }
.lb .lb-n { position: fixed; top: 30px; left: 24px; color: #CFC5C7; font-size: 15px; }
@media (max-width: 700px) { .lb figure { padding: 70px 12px 90px; } .lb .lb-prev, .lb .lb-next { top: auto; bottom: 18px; translate: none; } }

/* In the media */
.tight-top { padding-top: 72px; }
.press { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.press-card { display: flex; flex-direction: column; gap: 10px; padding: 26px; border: 1px solid var(--line); border-radius: 20px; background: #fff; color: var(--ink); text-decoration: none; transition: transform .3s, box-shadow .3s, border-color .3s; }
a.press-card:hover { transform: translateY(-4px); box-shadow: 0 22px 40px -26px rgba(29,21,23,.5); border-color: var(--gold); }
.press-src { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.press-src img, .press-mono { width: 52px; height: 52px; border-radius: 12px; object-fit: contain; background: var(--stone); flex: none; }
.press-mono { display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 24px; color: #fff; background: var(--maroon); }
.press-src span { display: grid; font-size: 14px; color: var(--muted); line-height: 1.3; }
.press-src strong { color: var(--ink); font-size: 16px; }
.press-card h3 { font-size: 21px; line-height: 1.25; }
.press-by { margin: 0; color: var(--muted); font-size: 15.5px; }
.press-card .more { margin-top: auto; padding-top: 8px; font-weight: 600; color: var(--maroon); }
.kit { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.kit h2 { font-size: clamp(30px, 3.4vw, 44px); font-weight: 800; }
.kit > div > p { color: var(--muted); font-size: 19px; }
.facts { margin: 28px 0 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.facts div { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-weight: 700; }
.facts dd { margin: 0; color: var(--muted); }
.kit .side-card a:not(.btn) { color: #fff; }
.kit .side-card .btn { margin-top: 10px; }
@media (max-width: 860px) { .kit { grid-template-columns: minmax(0, 1fr); } .facts div { grid-template-columns: minmax(0, 1fr); gap: 4px; } }
.follow { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.follow a { display: flex; align-items: center; gap: 16px; padding: 20px; border-radius: 18px; background: var(--stone); color: var(--ink); text-decoration: none; transition: background .25s, color .25s, transform .25s; }
.follow a:hover { background: var(--maroon); color: #fff; transform: translateY(-3px); }
.follow svg { width: 30px; height: 30px; fill: currentColor; flex: none; }
.follow span { display: grid; font-size: 15px; overflow-wrap: anywhere; }
.follow strong { font-size: 17px; }

/* Events: the FBA year */
.year { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: yr; }
.year li { position: relative; padding: 28px 26px 26px; border-radius: 20px; background: var(--stone); counter-increment: yr; overflow: hidden; }
.year li::after { content: counter(yr, decimal-leading-zero); position: absolute; right: 18px; top: 8px; font-family: var(--display); font-weight: 800; font-size: 64px; color: rgba(122,28,44,.08); }
.year .when { display: inline-block; font-weight: 700; font-size: 14px; letter-spacing: .05em; text-transform: uppercase; color: var(--maroon); margin-bottom: 10px; }
.year h3 { font-size: 23px; margin-bottom: 8px; }
.year p { margin: 0; color: var(--muted); }
@media (max-width: 900px) { .year { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (max-width: 600px) { .year { grid-template-columns: minmax(0, 1fr); } }
.event-cta { margin-top: 40px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; padding: 34px; border-radius: 24px; background: var(--gold-soft); }
.event-cta h3 { font-size: 26px; margin-bottom: 6px; }
.event-cta p { margin: 0; color: var(--muted); }

/* Scroll reveal: only when JS runs and motion is welcome */
@media (prefers-reduced-motion: no-preference) {
  .page-hero .bg img { animation: fbaZoom 14s cubic-bezier(.2,.6,.2,1) both; }
  .page-hero .ph-text > * { animation: fbaUp .8s cubic-bezier(.2,.7,.2,1) both; }
  .page-hero .ph-text > *:nth-child(2) { animation-delay: .1s; }
  .page-hero .ph-text > *:nth-child(3) { animation-delay: .2s; }
  .page-hero::after { animation: fbaBar 1.2s .3s cubic-bezier(.2,.7,.2,1) both; }
  .hero-card > * { animation: fbaUp .9s cubic-bezier(.2,.7,.2,1) both; }
  .hero-card > *:nth-child(2) { animation-delay: .12s; }
  .hero-card > *:nth-child(3) { animation-delay: .24s; }
  .hero-card > *:nth-child(4) { animation-delay: .36s; }
  .hero-media img.on { animation: fbaZoom 9s linear both; }
  .js .rv { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
  .js .rv.in { opacity: 1; transform: none; }
  .way, .post-card, .prog { transition: transform .3s ease, box-shadow .3s ease; }
  .way:hover { transform: translateY(-4px); box-shadow: 0 22px 40px -28px rgba(29,21,23,.5); }
}
.press-src .press-mono { display: grid; color: #fff; font-size: 24px; }

.hero-media { z-index: 0; }
.hero .wrap { z-index: 1; }

/* ===== Part three: chapters, fundraising, books ===== */
.chapters { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 20px; }
.chapter { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 28px 26px 26px; border-radius: 22px; background: #fff; border: 1px solid var(--line); transition: transform .3s, box-shadow .3s, border-color .3s; }
.chapter:hover { transform: translateY(-4px); box-shadow: 0 24px 44px -30px rgba(29,21,23,.55); border-color: var(--gold); }
.chapter .mono { display: inline-grid; place-items: center; align-self: flex-start; min-width: 64px; height: 64px; padding: 0 14px; border-radius: 18px; background: var(--maroon); color: #fff; font-family: var(--display); font-weight: 800; font-size: 19px; letter-spacing: .02em; margin-bottom: 12px; }
.chapter:nth-child(3n+2) .mono { background: var(--ink); }
.chapter:nth-child(3n) .mono { background: var(--gold); color: var(--ink); }
.chapter .status { position: absolute; top: 26px; right: 22px; max-width: 52%; text-align: right; font-size: 13px; font-weight: 700; color: var(--maroon); background: var(--gold-soft); padding: 5px 10px; border-radius: 999px; line-height: 1.25; }
.chapter h3 { font-size: 24px; }
.chapter .uni { margin: 0 0 6px; color: var(--muted); font-weight: 600; font-size: 16px; }
.chapter p { margin: 0; }
.chapter .ch-link { margin-top: auto; padding-top: 14px; font-weight: 600; color: var(--maroon); overflow-wrap: anywhere; }
.start-ch { margin-top: 0; }
.funds { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.fund { display: flex; flex-direction: column; gap: 8px; padding: 30px 28px; border-radius: 22px; background: var(--stone); transition: transform .3s, background .3s; }
.fund:hover { transform: translateY(-4px); background: var(--gold-soft); }
.fund .ic { width: 52px; height: 52px; border-radius: 16px; background: var(--maroon); color: #fff; display: grid; place-items: center; margin-bottom: 8px; }
.fund .ic svg { width: 26px; height: 26px; }
.fund .when { font-size: 13px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--maroon); }
.fund h3 { font-size: 23px; }
.fund p { margin: 0; color: var(--muted); }
.fund .more { margin-top: auto; padding-top: 12px; font-weight: 700; color: var(--maroon); }
.split-cta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 28px; }
.split-cta h2 { font-size: clamp(30px, 3.6vw, 46px); font-weight: 800; color: #fff; }
.split-cta p { color: #CFC5C7; max-width: 36em; margin: 12px 0 0; font-size: 19px; }
.books-band { background: linear-gradient(180deg, #fff 0%, var(--gold-soft) 100%); }
.books { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.book { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 28px; align-items: center; padding: 26px; border-radius: 24px; background: #fff; color: var(--ink); text-decoration: none; box-shadow: 0 20px 40px -32px rgba(29,21,23,.45); transition: transform .35s, box-shadow .35s; }
.book:hover { transform: translateY(-5px); box-shadow: 0 30px 50px -30px rgba(29,21,23,.55); }
.book .cover { display: block; perspective: 800px; }
.book .cover img { width: 100%; height: auto; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 6px 12px 12px 6px; box-shadow: -6px 10px 24px -8px rgba(29,21,23,.55); transform: rotateY(-8deg); transition: transform .5s; }
.book:hover .cover img { transform: rotateY(0) scale(1.03); }
.book .bd { display: flex; flex-direction: column; gap: 8px; }
.book .by { font-size: 14px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--maroon); }
.book strong { font-family: var(--display); font-size: 25px; line-height: 1.15; }
.book .desc { color: var(--muted); }
.book .more { font-weight: 700; color: var(--maroon); margin-top: 6px; }
@media (max-width: 960px) { .books { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .book { grid-template-columns: 110px minmax(0, 1fr); gap: 18px; padding: 18px; } .book strong { font-size: 20px; } .book .desc { display: none; } }

@media (min-width: 1081px) and (max-width: 1320px) { .site-header .wrap { gap: 14px; } .nav > ul > li > a { padding: 10px 9px; font-size: 15.5px; } .nav a.nav-donate { padding: 0 16px; margin-left: 6px; } .brand .name { font-size: 17px; } .brand img { height: 54px; } }
@media (min-width: 1081px) and (max-width: 1180px) { .brand .name { display: none; } }

/* ===== Part four: online giving ===== */
.give-sec { background: linear-gradient(180deg, var(--stone) 0%, #fff 100%); scroll-margin-top: 90px; }
.give-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.give-kick { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--maroon); background: var(--gold-soft); padding: 6px 12px; border-radius: 999px; margin-bottom: 16px; }
.give-intro h2 { font-size: clamp(32px, 4vw, 52px); font-weight: 800; margin-bottom: 16px; }
.give-intro > p { font-size: 19px; color: var(--muted); }
.give-points { list-style: none; margin: 26px 0; padding: 0; display: grid; gap: 14px; }
.give-points li { padding: 16px 18px 16px 52px; border-radius: 16px; background: #fff; border: 1px solid var(--line); position: relative; }
.give-points li::before { content: ""; position: absolute; left: 18px; top: 19px; width: 20px; height: 20px; border-radius: 50%; background: var(--maroon) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat; }
.give-secure { font-size: 15px; color: var(--muted); }
.give-card { background: #fff; border-radius: 26px; padding: clamp(22px, 3vw, 34px); box-shadow: 0 30px 60px -36px rgba(29,21,23,.45); border: 1px solid var(--line); display: grid; gap: 20px; position: sticky; top: 100px; }
.give-toggle { display: grid; grid-template-columns: 1fr 1fr; background: var(--stone); border-radius: 14px; padding: 5px; }
.give-toggle label { position: relative; cursor: pointer; }
.give-toggle input, .chip input { position: absolute; opacity: 0; pointer-events: none; }
.give-toggle span { display: block; text-align: center; padding: 12px; border-radius: 10px; font-weight: 700; transition: background .2s, color .2s; }
.give-toggle input:checked + span { background: var(--maroon); color: #fff; }
.give-toggle input:focus-visible + span, .chip input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.give-amounts { border: 0; padding: 0; margin: 0; display: grid; gap: 12px; }
.give-amounts legend { font-weight: 700; margin-bottom: 10px; }
.chips { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.chip span { display: block; text-align: center; padding: 13px 4px; border-radius: 12px; border: 2px solid var(--line); font-weight: 700; cursor: pointer; transition: border-color .2s, background .2s; white-space: nowrap; }
.chip input:checked + span { border-color: var(--maroon); background: #FBEFF1; color: var(--maroon); }
.give-note { margin: 0; font-size: 14.5px; color: var(--muted); }
.give-fields { display: grid; gap: 12px; }
.give-fields label { display: grid; gap: 6px; font-weight: 600; font-size: 15px; }
.give-fields input[type=text], .give-fields input[type=email], .give-fields input[type=tel], .give-fields input[type=number], .give-other input { width: 100%; font: inherit; font-size: 17px; padding: 12px 14px; border: 1px solid #CFC6C2; border-radius: 12px; background: #fff; }
.give-fields input:focus, .give-other input:focus { outline: 0; border-color: var(--maroon); box-shadow: 0 0 0 3px rgba(122,28,44,.15); }
.give-other { display: grid; gap: 6px; font-weight: 600; }
.give-alumni, .give-cert { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.give-fields .tick { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; }
.give-fields .tick input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--maroon); flex: none; }
.give-fields .tick.small { font-weight: 500; font-size: 14px; color: var(--muted); }
.give-msg { margin: 0; color: #A3122A; font-weight: 600; min-height: 0; }
.give-msg:empty { display: none; }
.give-btn { justify-content: center; width: 100%; font-size: 18px; padding: 16px; }
.give-btn[disabled] { opacity: .6; pointer-events: none; }
.give-done { text-align: center; padding: 10px 0; }
.give-done h3 { font-size: 28px; color: var(--maroon); }
.give-ref { font-size: 14px; color: var(--muted); }
@media (max-width: 960px) { .give-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; } .give-card { position: static; } }
@media (max-width: 520px) { .chips { grid-template-columns: repeat(3, minmax(0, 1fr)); } .give-alumni, .give-cert { grid-template-columns: minmax(0, 1fr); } }

.give-card [hidden] { display: none !important; }
