@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@400;500;600;700;800&display=swap');

/* ---------- Dark themes ---------- */
:root, [data-theme="lake"] {
  --bg: #0E1B24; --bg-1: #11202B; --bg-2: #152733; --bg-3: #0B161E; --bg-4: #081118;
  --shade-rgb: 6,12,18;
  --accent: #5FB4E6; --accent-rgb: 95,180,230; --accent-2: #8DCBF0; --on-accent: #081118;
}
[data-theme="pine"] {
  --bg: #14231C; --bg-1: #12201A; --bg-2: #18291F; --bg-3: #0F1B16; --bg-4: #0C1612;
  --shade-rgb: 8,14,11;
  --accent: #E0A040; --accent-rgb: 224,160,64; --accent-2: #F2BE6A; --on-accent: #14231C;
}
[data-theme="midnight"] {
  --bg: #0E1626; --bg-1: #111B2E; --bg-2: #152238; --bg-3: #0B1220; --bg-4: #080E19;
  --shade-rgb: 6,10,20;
  --accent: #C9A84C; --accent-rgb: 201,168,76; --accent-2: #E3C677; --on-accent: #0B1220;
}
[data-theme="slate"] {
  --bg: #161A1E; --bg-1: #1A1F24; --bg-2: #20262C; --bg-3: #121518; --bg-4: #0D1012;
  --shade-rgb: 10,12,14;
  --accent: #3EC6B2; --accent-rgb: 62,198,178; --accent-2: #74DACB; --on-accent: #0D1012;
}
[data-theme="sage"] {
  --bg: #191D16; --bg-1: #1D221A; --bg-2: #232920; --bg-3: #141812; --bg-4: #10130E;
  --shade-rgb: 12,14,10;
  --accent: #A9C47F; --accent-rgb: 169,196,127; --accent-2: #C3D9A1; --on-accent: #10130E;
}
[data-theme="plum"] {
  --bg: #181420; --bg-1: #1D1826; --bg-2: #231D2E; --bg-3: #13101A; --bg-4: #0E0C14;
  --shade-rgb: 12,9,16;
  --accent: #B79CF2; --accent-rgb: 183,156,242; --accent-2: #CDBAF6; --on-accent: #0E0C14;
}
[data-theme="granite"] {
  --bg: #1A1A1A; --bg-1: #1F1F1F; --bg-2: #252525; --bg-3: #151515; --bg-4: #101010;
  --shade-rgb: 12,12,12;
  --accent: #D8CBB2; --accent-rgb: 216,203,178; --accent-2: #E8DFCD; --on-accent: #151515;
}
[data-theme="redwood"] {
  --bg: #1D1515; --bg-1: #231919; --bg-2: #2A1E1E; --bg-3: #171010; --bg-4: #110C0C;
  --shade-rgb: 16,10,10;
  --accent: #E06565; --accent-rgb: 224,101,101; --accent-2: #EC8E8E; --on-accent: #110C0C;
}
:root {
  --text: #F3EEE6;
  --text-2: rgba(243,238,230,.72);
  --text-3: rgba(243,238,230,.5);
  --line: rgba(255,255,255,.1);
  --surface: rgba(255,255,255,.05);
  --surface-2: rgba(255,255,255,.08);
  --display: 'Avenir', 'Nunito Sans', system-ui, sans-serif;
  --body: 'Avenir', 'Nunito Sans', system-ui, sans-serif;
  --ghost-line: rgba(255,255,255,.6);
  --ghost-ink: rgba(255,255,255,.035);
  --placeholder-ink: rgba(255,255,255,.12);
  --dot-ink: rgba(255,255,255,.04);
  --scrim-end: .3;
  --page-wash: .72;
  color-scheme: dark;
}

/* ---------- Light themes ---------- */
[data-theme="meadow"] {
  --bg: #F5F2E7; --bg-1: #FAF8F0; --bg-2: #EFEBDC; --bg-3: #E9E4D2; --bg-4: #E2DCC7;
  --shade-rgb: 245,242,231;
  --accent: #2F6B3F; --accent-rgb: 47,107,63; --accent-2: #24552F; --on-accent: #FFFFFF;
  --text: #22281F; --text-2: rgba(34,40,31,.82); --text-3: rgba(34,40,31,.7);
}
[data-theme="morning"] {
  --bg: #EDF3F8; --bg-1: #F6FAFC; --bg-2: #E5EDF4; --bg-3: #DDE7F0; --bg-4: #D3DFEA;
  --shade-rgb: 237,243,248;
  --accent: #1C5F8F; --accent-rgb: 28,95,143; --accent-2: #154A70; --on-accent: #FFFFFF;
  --text: #18242E; --text-2: rgba(24,36,46,.82); --text-3: rgba(24,36,46,.7);
}
[data-theme="poppy"] {
  --bg: #FBF2E8; --bg-1: #FEF9F3; --bg-2: #F7EADC; --bg-3: #F2E2D1; --bg-4: #ECD9C4;
  --shade-rgb: 251,242,232;
  --accent: #A23D15; --accent-rgb: 162,61,21; --accent-2: #8F3613; --on-accent: #FFFFFF;
  --text: #2C201A; --text-2: rgba(44,32,26,.82); --text-3: rgba(44,32,26,.7);
}
[data-theme="meadow"], [data-theme="morning"], [data-theme="poppy"] {
  --line: rgba(0,0,0,.14);
  --surface: rgba(255,255,255,.6);
  --surface-2: rgba(0,0,0,.06);
  --ghost-line: rgba(0,0,0,.55);
  --ghost-ink: rgba(0,0,0,.04);
  --placeholder-ink: rgba(0,0,0,.14);
  --dot-ink: rgba(0,0,0,.05);
  --scrim-end: .7;
  --page-wash: .84;
  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { overflow-x: clip; }
body { font-family: var(--body); font-size: 17px; line-height: 1.7; color: var(--text); background: var(--bg); overflow-x: clip; transition: background-color .4s ease; }
h1, h2, h3, h4, h5 { text-wrap: balance; }
em { font-style: normal; }
p, li, blockquote, figcaption { text-wrap: pretty; }
.hero-headline { text-wrap: wrap; }
.hero-nowrap { white-space: nowrap; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.info-block a, footer li a, .info-card a, .process-step p a, .crumbs a, .archive-note a, .form-msg a { color: var(--accent-2); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.info-block a:hover, footer li a:hover, .info-card a:hover, .process-step p a:hover, .crumbs a:hover, .archive-note a:hover, .form-msg a:hover { color: var(--accent); text-decoration-thickness: 2px; }
.addr-map { color: var(--accent); }
.container { width: 100%; max-width: 1220px; margin: 0 auto; padding: 0 28px; }
#scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0%; background: var(--accent); z-index: 2000; }

.label { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.15em; color: var(--accent); margin-bottom: 18px; }
.label::before { content: ''; width: 28px; height: 2px; background: var(--accent); }
.label.center { justify-content: center; }

.dots { position: relative; }
.dots::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(var(--dot-ink) 1px, transparent 1px); background-size: 28px 28px; pointer-events: none; }
.dots > * { position: relative; }

/* ---------- Buttons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; gap: 10px; font-family: var(--body); font-weight: 600; font-size: 16px; padding: 14px 28px; border-radius: 6px; overflow: hidden; cursor: pointer; border: 2px solid transparent; transition: color .3s ease, border-color .3s ease; z-index: 0; }
.btn::before { content: ''; position: absolute; inset: 0; transform: scaleX(0); transform-origin: left; transition: transform .35s ease; z-index: -1; }
.btn:hover::before { transform: scaleX(1); }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary::before { background: var(--text); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--ghost-line); }
.btn-ghost::before { background: var(--text); }
.btn-ghost:hover { color: var(--bg-4); border-color: var(--text); }

/* ---------- Nav ---------- */
#nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; height: 80px; display: flex; align-items: center; transition: all .3s ease; }
#nav.scrolled, #nav.solid { height: 64px; background: rgba(var(--shade-rgb),.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 2px 24px rgba(0,0,0,.25); }
#nav .container { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--text); font-family: var(--display); font-size: 22px; font-weight: 700; line-height: 1; }
.brand-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: dotPulse 3s ease-in-out infinite; flex-shrink: 0; }
.brand small { display: block; font-family: var(--body); font-size: 10px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--text-3); margin-bottom: 4px; }
@keyframes dotPulse { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.5); opacity: .55; } }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; }
.nav-links a { position: relative; color: var(--text); opacity: .88; font-size: 15px; font-weight: 500; padding: 4px 0; }
.nav-links a::after { content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .3s ease; }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav-right { display: flex; align-items: center; gap: 20px; }
.nav-right .btn { padding: 10px 20px; font-size: 14px; }
.nav-donate { color: var(--text); font-size: 14px; font-weight: 600; animation: softPulse 6s ease-in-out infinite; }
.nav-donate i { color: var(--accent); margin-right: 6px; }
@keyframes softPulse { 0%,90%,100% { opacity: 1; transform: scale(1); } 95% { opacity: .7; transform: scale(1.02); } }
.burger { display: none; width: 30px; height: 22px; position: relative; background: none; border: 0; cursor: pointer; z-index: 1100; }
.burger span { position: absolute; left: 0; width: 100%; height: 2px; background: var(--text); transition: all .3s ease; }
.burger span:nth-child(1) { top: 0; } .burger span:nth-child(2) { top: 10px; } .burger span:nth-child(3) { top: 20px; }
.burger.open span:nth-child(1) { top: 10px; transform: rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { top: 10px; transform: rotate(-45deg); }
.mobile-menu { position: fixed; inset: 0; background: var(--bg); z-index: 999; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; opacity: 0; pointer-events: none; transition: opacity .3s ease; }
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu > a { font-family: var(--display); font-size: 30px; color: var(--text); }
.mobile-menu > a:hover { color: var(--accent); }
.mobile-menu .theme-row { margin-top: 18px; }

/* ---------- Theme picker ---------- */
.theme-picker { position: relative; }
.theme-toggle { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--text); cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 16px; transition: border-color .25s ease, background .25s ease; }
.theme-toggle:hover, .theme-toggle[aria-expanded="true"] { border-color: var(--accent); background: rgba(var(--accent-rgb),.12); }
.theme-toggle i { color: var(--accent); }
.theme-menu { position: absolute; top: calc(100% + 12px); right: 0; width: 230px; background: var(--bg-3); border: 1px solid var(--line); border-radius: 12px; padding: 10px; box-shadow: 0 20px 50px rgba(0,0,0,.45); max-height: calc(100vh - 90px); overflow-y: auto; opacity: 0; transform: translateY(-6px); pointer-events: none; transition: all .2s ease; }
.theme-menu.open { opacity: 1; transform: none; pointer-events: auto; }
.theme-menu h4 { font-size: 11px; text-transform: uppercase; letter-spacing: .14em; color: var(--text-3); padding: 6px 10px 8px; font-weight: 700; }
.theme-opt { width: 100%; display: flex; align-items: center; gap: 12px; padding: 9px 10px; border: 0; background: none; color: var(--text); font: inherit; font-size: 14px; font-weight: 500; border-radius: 8px; cursor: pointer; text-align: left; }
.theme-opt:hover { background: var(--surface-2); }
.theme-opt[aria-pressed="true"] { background: rgba(var(--accent-rgb),.14); }
.theme-opt[aria-pressed="true"]::after { content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900; margin-left: auto; color: var(--accent); font-size: 12px; }
.swatch { width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0; border: 2px solid rgba(128,128,128,.4); background: linear-gradient(135deg, var(--sw-bg) 50%, var(--sw-ac) 50%); }
.theme-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 300px; }
.theme-row .theme-opt { width: auto; padding: 4px; border-radius: 50%; }
.theme-row .theme-opt::after { display: none; }
.theme-row .theme-opt[aria-pressed="true"] .swatch { border-color: var(--text); }
.theme-row .swatch { width: 36px; height: 36px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; padding: 160px 0 80px; background: radial-gradient(ellipse at 80% 0%, rgba(var(--accent-rgb),.16), transparent 55%), linear-gradient(180deg, rgba(var(--shade-rgb),var(--page-wash)), var(--bg-1) 96%), url('../images/northfork2.jpg') center 55% / cover no-repeat, var(--bg); overflow: hidden; }
.page-hero h1 { font-family: var(--body); font-size: 64px; font-weight: 800; line-height: 1.08; letter-spacing: -0.02em; max-width: 900px; margin-bottom: 18px; }
.page-hero p.lede { font-size: 20px; color: var(--text-2); max-width: 640px; line-height: 1.6; }
.crumbs { font-size: 13px; color: var(--text-3); margin-bottom: 18px; }

/* ---------- Footer ---------- */
footer { background: var(--bg); color: var(--text); border-top: 3px solid var(--accent); padding: 64px 0 32px; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 48px; }
.foot-brand { display: flex; align-items: center; gap: 12px; font-family: var(--display); font-size: 24px; font-weight: 700; margin-bottom: 14px; }
.foot-tag { font-size: 14px; color: var(--text-3); line-height: 1.65; max-width: 280px; }
footer h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--accent); margin-bottom: 18px; font-weight: 700; }
footer ul { list-style: none; }
footer li { margin-bottom: 10px; font-size: 14px; color: var(--text-2); }
footer li i { color: var(--accent); width: 20px; }
.news-form { display: flex; gap: 8px; margin-top: 4px; }
.news-form input { flex: 1; min-width: 0; font: inherit; font-size: 14px; padding: 11px 12px; border-radius: 6px; border: 1px solid var(--line); background: var(--surface); color: var(--text); }
.news-form input::placeholder { color: var(--text-3); }
.news-form input:focus { outline: none; border-color: var(--accent); }
.news-form button { background: var(--accent); color: var(--on-accent); border: 0; border-radius: 6px; padding: 0 16px; font-weight: 700; cursor: pointer; }
.foot-bottom { border-top: 1px solid var(--line); padding-top: 24px; text-align: center; font-size: 13px; color: var(--text-3); }
.hp { position: absolute; left: -9999px; }

/* ---------- Floating contact button ---------- */
.fab { position: fixed; right: 20px; bottom: 20px; z-index: 900; width: 58px; height: 58px; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: flex; align-items: center; justify-content: center; font-size: 22px; box-shadow: 0 4px 20px rgba(var(--accent-rgb),.5); animation: fabPulse 2.5s ease infinite; }
.fab::before { content: attr(data-tip); position: absolute; right: 0; bottom: 72px; background: var(--bg-4); color: var(--text); font-size: 13px; font-weight: 600; white-space: nowrap; padding: 7px 12px; border-radius: 6px; opacity: 0; pointer-events: none; transition: opacity .25s ease; }
.fab::after { content: ''; position: absolute; right: 22px; bottom: 62px; border: 6px solid transparent; border-top-color: var(--bg-4); opacity: 0; transition: opacity .25s ease; }
.fab:hover::before, .fab:hover::after { opacity: 1; }
@keyframes fabPulse { 0%,100% { box-shadow: 0 0 0 0 rgba(var(--accent-rgb),.5); } 50% { box-shadow: 0 0 0 12px rgba(var(--accent-rgb),0); } }

/* ---------- Blog list ---------- */
.blog-tools { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; margin-bottom: 44px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { border: 1px solid var(--line); background: var(--surface); color: var(--text-2); font: inherit; font-size: 14px; font-weight: 600; padding: 8px 16px; border-radius: 100px; cursor: pointer; transition: all .2s ease; }
.chip:hover { color: var(--text); border-color: rgba(var(--accent-rgb),.5); }
.chip[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.blog-search { position: relative; flex: 0 1 300px; }
.blog-search input { width: 100%; font: inherit; font-size: 15px; padding: 11px 14px 11px 40px; border-radius: 100px; border: 1px solid var(--line); background: var(--surface); color: var(--text); }
.blog-search input:focus { outline: none; border-color: var(--accent); }
.blog-search i { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--text-3); font-size: 14px; }
.year-group { margin-bottom: 56px; }
.year-group h2 { font-family: var(--display); font-size: 40px; font-weight: 800; color: var(--accent); margin-bottom: 22px; display: flex; align-items: center; gap: 18px; }
.year-group h2::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease; }
.post-card:hover { transform: translateY(-5px); border-color: rgba(var(--accent-rgb),.45); box-shadow: 0 18px 40px rgba(0,0,0,.3); }
.post-thumb { aspect-ratio: 16/10; background: linear-gradient(135deg, var(--bg-2), rgba(var(--accent-rgb),.35)); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.post-card:hover .post-thumb img { transform: scale(1.05); }
.post-thumb .ph { font-family: var(--display); font-size: 54px; font-weight: 800; color: var(--placeholder-ink); }
.post-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.post-meta { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--accent); font-weight: 700; margin-bottom: 10px; }
.post-card h3 { font-family: var(--display); font-size: 21px; font-weight: 700; line-height: 1.25; margin-bottom: 10px; }
.post-card p { font-size: 15px; color: var(--text-2); line-height: 1.6; }
.no-results { display: none; text-align: center; color: var(--text-2); padding: 40px 0; }

/* ---------- Article ---------- */
.article-wrap { background: var(--bg-1); padding: 70px 0 90px; }
.article { max-width: 740px; margin: 0 auto; font-size: 18px; line-height: 1.8; color: var(--text); }
.article > * + * { margin-top: 1.1em; }
.article h2, .article h3, .article h4 { font-family: var(--display); line-height: 1.25; margin-top: 1.6em; }
.article h2 { font-size: 30px; } .article h3 { font-size: 24px; } .article h4 { font-size: 20px; }
.article a { color: var(--accent-2); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.article a:hover { color: var(--accent); }
.article img { height: auto; border-radius: 10px; margin: 8px 0; }
.article a:has(img) { display: inline-block; }
.article .alignleft { float: left; margin: 6px 24px 12px 0; max-width: 45%; }
.article .alignright { float: right; margin: 6px 0 12px 24px; max-width: 45%; }
.article .aligncenter { margin-left: auto; margin-right: auto; }
.article::after { content: ''; display: block; clear: both; }
.article .gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.article .gallery a { display: block; }
.article .gallery img { width: 100%; height: 100%; aspect-ratio: 4/3; object-fit: cover; margin: 0; }
@media (max-width: 520px) { .article .gallery { grid-template-columns: 1fr; } }
.article ul, .article ol { padding-left: 1.4em; }
.article li + li { margin-top: .35em; }
.article blockquote { border-left: 3px solid var(--accent); padding: 4px 0 4px 20px; color: var(--text-2); }
.article hr { border: 0; border-top: 1px solid var(--line); }
.article table { border-collapse: collapse; width: 100%; font-size: 16px; }
.article td, .article th { border: 1px solid var(--line); padding: 8px 12px; }
.article figcaption, .article .wp-caption-text { font-size: 14px; color: var(--text-3); text-align: center; }
.embed { position: relative; aspect-ratio: 16/9; border-radius: 10px; overflow: hidden; background: #000; }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.embed.audio { aspect-ratio: auto; height: 166px; background: transparent; }
.file-link { display: inline-flex !important; align-items: center; gap: 10px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); text-decoration: none !important; }
.file-link::before { content: '\f1c1'; font-family: 'Font Awesome 6 Free'; font-weight: 900; color: var(--accent); }
.post-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.post-tags span { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; color: var(--on-accent); background: var(--accent); padding: 4px 10px; border-radius: 100px; }
.post-date { color: var(--text-2); font-size: 16px; }
.post-nav { max-width: 740px; margin: 64px auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.post-nav a { display: block; border: 1px solid var(--line); background: var(--surface); border-radius: 12px; padding: 18px 20px; transition: border-color .25s ease; }
.post-nav a:hover { border-color: var(--accent); }
.post-nav small { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--accent); font-weight: 700; margin-bottom: 4px; }
.post-nav strong { font-family: var(--display); font-size: 17px; line-height: 1.3; }
.post-nav .next { text-align: right; grid-column: 2; }
.archive-note { max-width: 740px; margin: 40px auto 0; font-size: 14px; color: var(--text-3); border-top: 1px solid var(--line); padding-top: 20px; }

/* ---------- Events ---------- */
.page-hero.events-hero { padding-bottom: 28px; }
.events-wrap { background: var(--bg-1); padding: 24px 0 90px; }
.cal-bar { display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.cal-frame { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: #fff; height: 720px; }
.cal-frame iframe { width: 100%; height: 100%; border: 0; filter: invert(.9) hue-rotate(180deg) saturate(.9); }
.cal-frame.light iframe { filter: none; }
[data-theme="meadow"] .cal-frame iframe, [data-theme="morning"] .cal-frame iframe, [data-theme="poppy"] .cal-frame iframe { filter: none; }
[data-theme="meadow"] #cal-light, [data-theme="morning"] #cal-light, [data-theme="poppy"] #cal-light { display: none; }
.cal-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.small-btn { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; padding: 9px 16px; border-radius: 100px; border: 1px solid var(--line); background: var(--surface); color: var(--text); cursor: pointer; font-family: inherit; }
.small-btn i { color: var(--accent); }
.small-btn:hover { border-color: var(--accent); }
.fb-events { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; margin-top: 40px; padding: 30px 34px; border-radius: 16px; border: 1px solid rgba(var(--accent-rgb),.35); background: rgba(var(--accent-rgb),.08); }
.fb-icon { width: 60px; height: 60px; border-radius: 14px; background: #1877F2; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 30px; }
.fb-copy h2 { font-family: var(--display); font-size: 28px; line-height: 1.2; margin-bottom: 6px; }
.fb-copy p { color: var(--text-2); font-size: 16px; line-height: 1.6; max-width: 620px; }
.fb-events .btn { white-space: nowrap; }
.info-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 56px; }
.info-card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 28px; }
.info-card .icon-box { width: 52px; height: 52px; border-radius: 12px; background: rgba(var(--accent-rgb),.12); border: 1px solid rgba(var(--accent-rgb),.3); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.info-card .icon-box i { color: var(--accent); font-size: 22px; }
.info-card h3 { font-family: var(--display); font-size: 21px; margin-bottom: 8px; }
.info-card p { font-size: 15px; color: var(--text-2); line-height: 1.6; }
.info-card a { font-weight: 600; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .nav-links { gap: 20px; }
  .post-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .nav-links, .nav-right .nav-donate, .nav-right .btn { display: none; }
  .burger { display: block; }
}
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .page-hero { padding: 130px 0 56px; }
  .page-hero h1 { font-size: 40px; }
  .page-hero p.lede { font-size: 18px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .post-grid { grid-template-columns: 1fr; }
  .blog-search { flex-basis: 100%; }
  .article { font-size: 17px; }
  .article .alignleft, .article .alignright { float: none; margin: 8px 0; max-width: 100%; }
  .post-nav { grid-template-columns: 1fr; }
  .post-nav .next { grid-column: auto; }
  .cal-frame { height: 600px; }
  .info-cards { grid-template-columns: 1fr; }
  .fb-events { grid-template-columns: 1fr; gap: 18px; padding: 26px; }
  .fb-events .btn { justify-content: center; }
}
@media (max-width: 520px) {
  .foot-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
