/*
Theme Name: nUnyaGA Foundation
Author: nUnyaGA Foundation
Description: One-page website for nUnyaGA Foundation, built for international donors: card gifts in US dollars through Paystack, international bank transfer (SWIFT) details, and a grants and partners panel. Add your details in Appearance → Customize → nUnyaGA Foundation.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nunyaga
*/

/* Layout idea: a baobab. One strong trunk (the mission) branching into programs;
   circuit nodes from the logo mark each section; a kente-weave stripe frames the page. */
:root {
  --bg: #F4F6F1;
  --surface: #FFFFFF;
  --ink: #10221B;
  --muted: #4B5D55;
  --line: #DCE4DD;
  --soft: #E6EFE8;
  --brand: #0D4F3C;
  --brand-2: #0B4434;
  --on-brand: #FFF8EA;
  --accent: #F4B63F;
  --accent-2: #E9A21F;
  --on-accent: #10221B;
  --link: #0D6B50;
  --pending: #8A6A1C;
  --ok: #157A55;
  --danger: #B3261E;
  --font-display: "Poppins", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(16,34,27,.06), 0 8px 24px rgba(16,34,27,.06);
  --wrap: 1160px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0A1511;
    --surface: #10201A;
    --ink: #E8F0EB;
    --muted: #A5B8AF;
    --line: #213A30;
    --soft: #142A21;
    --link: #86D9B5;
    --pending: #F4C766;
    --ok: #5ED1A0;
    --danger: #FF8A80;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 10px 28px rgba(0,0,0,.28);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0A1511;
  --surface: #10201A;
  --ink: #E8F0EB;
  --muted: #A5B8AF;
  --line: #213A30;
  --soft: #142A21;
  --link: #86D9B5;
  --pending: #F4C766;
  --ok: #5ED1A0;
  --danger: #FF8A80;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 10px 28px rgba(0,0,0,.28);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
}
img, svg { max-width: 100%; }
a { color: var(--link); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.12; margin: 0; text-wrap: balance; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.9rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.22rem; font-weight: 700; }
p { margin: 0; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Kente-weave stripe */
.kente {
  height: 8px;
  background: repeating-linear-gradient(90deg,
    var(--accent) 0 34px, var(--ink) 34px 40px, var(--brand) 40px 70px,
    var(--ink) 70px 76px, var(--accent) 76px 84px, var(--brand) 84px 96px);
}
.footer .kente { --ink: #061410; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 700 1rem/1 var(--font-body);
  padding: 14px 22px; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn-accent { background: var(--accent); color: var(--on-accent); }
.btn-accent:hover { background: var(--accent-2); }
.btn-brand { background: var(--brand); color: var(--on-brand); }
.btn-brand:hover { background: var(--brand-2); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* Header */
.header { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 12px; }
.brand { display: inline-flex; align-items: center; }
.brand svg { height: 50px; width: auto; display: block; }
.logo-on-dark { display: none !important; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .logo-on-light { display: none !important; } :root:not([data-theme="light"]) .logo-on-dark { display: block !important; } }
:root[data-theme="dark"] .logo-on-light { display: none !important; }
:root[data-theme="dark"] .logo-on-dark { display: block !important; }
.brand { order: 1; }
.nav { display: flex; align-items: center; gap: 6px; order: 2; margin-left: auto; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 600; padding: 8px 12px; border-radius: 8px; }
.nav a:not(.btn):hover { background: var(--soft); }
.nav .btn { padding: 11px 20px; margin-left: 8px; }
.header-tools { display: flex; align-items: center; gap: 8px; order: 3; }
.lang-select { font: 600 .9rem var(--font-body); color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 8px 12px; cursor: pointer; max-width: 150px; }
.lang-select:hover { border-color: var(--ink); }
:root:lang(zh) { --font-display: "Poppins", "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif; --font-body: "Inter", "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif; }
:root:lang(zh) .eyebrow, :root:lang(zh) .label, :root:lang(zh) .tag { letter-spacing: .04em; }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); color: var(--ink); border-radius: 10px; padding: 9px 12px; font: 600 .95rem var(--font-body); cursor: pointer; }
@media (max-width: 860px) {
  .menu-toggle { display: inline-flex; }
  .lang-select { max-width: 120px; padding: 8px 10px; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; padding: 12px 20px 20px; background: var(--bg); border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .nav .btn { margin: 8px 0 0; }
  .brand svg { height: 40px; }
}

/* Eyebrow with circuit node */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--link); }
.eyebrow::before { content: ""; width: 12px; height: 12px; border-radius: 50%; border: 3px solid currentColor; background: var(--accent); flex: none; }
.eyebrow::after { content: ""; width: 28px; height: 3px; background: currentColor; border-radius: 3px; }

section { padding-block: 84px; }
.section-head { display: grid; gap: 14px; max-width: 680px; margin-bottom: 40px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }

/* Hero */
.hero { padding-block: 64px 72px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero-copy { display: grid; gap: 22px; }
.hero-copy .lead { font-size: 1.2rem; color: var(--muted); max-width: 34em; }
.hero-copy h1 em { font-style: normal; color: var(--link); background: linear-gradient(transparent 62%, color-mix(in srgb, var(--accent) 55%, transparent) 62%); padding-inline: 2px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.pay-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; color: var(--muted); font-size: .92rem; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-weight: 600; font-size: .85rem; color: var(--ink); }
.chip i { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }

.name-card { background: var(--brand); color: var(--on-brand); border-radius: 24px; padding: 34px 32px 0; box-shadow: var(--shadow); display: grid; gap: 18px; overflow: hidden; position: relative; }
.name-card .mark { width: 150px; height: 150px; }
.name-card .label { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); font-weight: 700; }
.name-card blockquote { margin: 0; display: grid; gap: 10px; }
.name-card .ewe { text-wrap: balance; font-family: var(--font-display); font-size: 1.5rem; line-height: 1.2; font-weight: 700; }
.name-card .en { color: color-mix(in srgb, var(--on-brand) 82%, transparent); font-size: 1.02rem; }
.name-card .src { font-size: .85rem; color: color-mix(in srgb, var(--on-brand) 65%, transparent); }
.name-card .kente { margin: 10px -32px 0; height: 12px; --ink: #061410; }

/* Pillars */
.pillars { background: var(--surface); border-block: 1px solid var(--line); padding-block: 56px; }
.pillar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.pillar { padding: 6px 32px; border-left: 1px solid var(--line); display: grid; gap: 8px; align-content: start; }
.pillar:first-child { border-left: 0; padding-left: 0; }
.pillar .k { font-family: var(--font-display); font-size: 1.6rem; font-weight: 800; color: var(--link); }
.pillar p { color: var(--muted); }

/* Mission */
.mission-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.statement { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; display: grid; gap: 10px; align-content: start; }
.statement .tag { font-weight: 700; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.statement p { font-family: var(--font-display); font-size: 1.35rem; line-height: 1.32; font-weight: 600; }
.why { margin-top: 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.why p { color: var(--muted); }
.why strong { color: var(--ink); display: block; margin-bottom: 4px; font-size: 1.05rem; }

/* Programs */
.programs { background: var(--soft); }
.program-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.program { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: grid; gap: 12px; align-content: start; }
.program .icon { width: 48px; height: 48px; border-radius: 12px; background: var(--brand); color: var(--accent); display: grid; place-items: center; }
.program .icon svg { width: 26px; height: 26px; }
.program p { color: var(--muted); font-size: 1rem; }
.program ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: .95rem; display: grid; gap: 2px; }

/* Impact tiers */
.tier-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tier { border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius); padding: 22px; display: grid; gap: 10px; grid-template-rows: auto 1fr auto; }
.tier .amt { font-family: var(--font-display); font-weight: 800; font-size: 1.9rem; font-variant-numeric: tabular-nums; }
.tier .amt span { font-size: 1rem; font-weight: 700; color: var(--muted); margin-right: 2px; }
.tier p { color: var(--muted); font-size: .98rem; }
.tier button { justify-self: start; }
.tier.featured { background: var(--brand); color: var(--on-brand); border-color: var(--brand); }
.tier.featured p, .tier.featured .amt span { color: color-mix(in srgb, var(--on-brand) 78%, transparent); }
.tier-note { margin-top: 14px; color: var(--muted); font-size: .9rem; }

/* Donate */
.donate { background: var(--brand); color: var(--on-brand); position: relative; }
.donate .eyebrow { color: var(--accent); }
.donate .section-head p { color: color-mix(in srgb, var(--on-brand) 80%, transparent); }
.donate-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: start; }
.form-card { background: var(--surface); color: var(--ink); border-radius: 20px; padding: 30px; box-shadow: 0 20px 50px rgba(0,0,0,.25); display: grid; gap: 22px; }
fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 12px; }
legend { font-weight: 700; font-size: 1rem; margin-bottom: 10px; padding: 0; }
.amounts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.amounts input { position: absolute; opacity: 0; pointer-events: none; }
.amounts label { display: grid; place-items: center; padding: 14px 8px; border: 2px solid var(--line); border-radius: 12px; font-weight: 700; font-size: 1.08rem; cursor: pointer; font-variant-numeric: tabular-nums; transition: border-color .15s, background .15s; background: var(--bg); }
.amounts label:hover { border-color: var(--link); }
.amounts input:checked + label { border-color: var(--brand); background: var(--brand); color: var(--on-brand); }
.amounts input:focus-visible + label { outline: 3px solid var(--accent); outline-offset: 2px; }
.field.custom-amt { display: none; }
.field.custom-amt.show { display: grid; }
.money { position: relative; }
.money span { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); font-weight: 700; color: var(--muted); }
.money input[type="number"] { padding-left: 58px; font-weight: 700; font-size: 1.1rem; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: .95rem; }
.field .hint { color: var(--muted); font-size: .85rem; font-weight: 400; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], select, textarea {
  width: 100%; font: 400 1rem var(--font-body); color: var(--ink); background: var(--bg);
  border: 1.5px solid var(--line); border-radius: 10px; padding: 12px 14px;
}
textarea { min-height: 84px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--link); box-shadow: 0 0 0 3px color-mix(in srgb, var(--link) 22%, transparent); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--brand); }
.form-error { color: var(--danger); font-weight: 600; font-size: .95rem; min-height: 1.2em; }
.secure { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); font-size: .88rem; }
.secure svg { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--ok); }
.methods { display: flex; flex-wrap: wrap; gap: 6px; }
.methods .chip { background: var(--bg); }

.ways { display: grid; gap: 16px; }
.way { background: color-mix(in srgb, var(--on-brand) 7%, transparent); border: 1px solid color-mix(in srgb, var(--on-brand) 16%, transparent); border-radius: 16px; padding: 22px; display: grid; gap: 10px; }
.way h3 { color: var(--on-brand); font-size: 1.12rem; }
.way p { color: color-mix(in srgb, var(--on-brand) 80%, transparent); font-size: .97rem; }
.kv { display: grid; grid-template-columns: auto 1fr auto; gap: 6px 14px; align-items: center; font-size: .97rem; }
.kv dt { color: color-mix(in srgb, var(--on-brand) 68%, transparent); }
.kv dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.kv .copy { background: none; border: 1px solid color-mix(in srgb, var(--on-brand) 30%, transparent); color: var(--on-brand); border-radius: 8px; padding: 4px 10px; font: 600 .8rem var(--font-body); cursor: pointer; }
.kv .copy:hover { border-color: var(--accent); color: var(--accent); }
.is-pending { color: var(--accent) !important; font-weight: 600 !important; font-style: italic; }
.way .btn { justify-self: start; padding: 11px 18px; }
.way-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.btn-outline-light { background: transparent; color: var(--on-brand); border-color: color-mix(in srgb, var(--on-brand) 40%, transparent); }
.btn-outline-light:hover { border-color: var(--accent); color: var(--accent); }
.reg { font-size: .9rem; font-weight: 600; color: var(--accent) !important; }
.fx-note { color: var(--muted); font-size: .88rem; margin-top: -8px; }

/* Get involved */
.involve-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.involve { border-top: 4px solid var(--brand); background: var(--surface); border-radius: 0 0 var(--radius) var(--radius); padding: 26px; display: grid; gap: 12px; align-content: start; box-shadow: var(--shadow); }
.involve:nth-child(2) { border-top-color: var(--accent); }
.involve:nth-child(3) { border-top-color: var(--ink); }
.involve p { color: var(--muted); }
.involve a.more { font-weight: 700; text-decoration: none; }
.involve .btn { justify-self: start; }
.involve a.more:hover { text-decoration: underline; }

/* Contact */
.contact { background: var(--surface); border-top: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.contact-list { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.contact-list li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center; padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); }
.contact-list .ci { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--soft); color: var(--link); }
.contact-list .ci svg { width: 22px; height: 22px; }
.contact-list small { display: block; color: var(--muted); font-size: .84rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.contact-list b { font-weight: 700; overflow-wrap: anywhere; }
.contact-list .is-pending { color: var(--pending) !important; }

.contact-cards { display: grid; gap: 14px; }
.mail-card { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 18px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); align-items: start; }
.mail-card .ci { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--soft); color: var(--link); }
.mail-card .ci svg { width: 22px; height: 22px; }
.mail-list { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; align-items: baseline; }
.mail-list dt { color: var(--muted); font-size: .88rem; font-weight: 600; }
.mail-list dd { margin: 0; font-weight: 700; overflow-wrap: anywhere; }
.foot-mail { margin-top: 10px; font-weight: 600; }
.foot-mail a { color: var(--accent); }
.foot-report { margin-top: 6px; font-size: .86rem !important; }
.foot-report a { color: #E7F1EB; }
@media (max-width: 520px) { .mail-list { grid-template-columns: 1fr; gap: 2px; } .mail-list dd { margin-bottom: 8px; } }
/* Footer */
.footer { background: #082F24; color: #E7F1EB; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-block: 56px 36px; }
.footer svg.logo { height: 60px; width: auto; }
.footer p { color: #B6CEC2; font-size: .96rem; max-width: 34em; }
.footer h3 { font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; font-family: var(--font-body); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer a { color: #E7F1EB; text-decoration: none; }
.footer a:hover { color: var(--accent); }
.footer-base { border-top: 1px solid #1B4A3B; padding-block: 18px 28px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; color: #9CB8AB; font-size: .88rem; }
.socials { display: flex; gap: 10px; margin-top: 16px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid #2A5B4A; }
.socials svg { width: 18px; height: 18px; }

/* Dialog */
dialog { border: 0; border-radius: 20px; padding: 0; width: min(520px, 100% - 32px); background: var(--surface); color: var(--ink); box-shadow: 0 30px 80px rgba(0,0,0,.35); }
dialog::backdrop { background: rgba(6,20,16,.6); }
.dlg { padding: 30px; display: grid; gap: 16px; }
.dlg .dlg-icon { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--soft); color: var(--link); }
.dlg .dlg-icon svg { width: 28px; height: 28px; }
.dlg h2 { font-size: 1.6rem; }
.dlg p { color: var(--muted); }
.dlg .summary { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; display: grid; gap: 4px; font-size: .95rem; }
.dlg .summary b { font-variant-numeric: tabular-nums; }
.dlg .dlg-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.dlg .direct { display: grid; gap: 8px; font-size: .95rem; }
.dlg .direct div { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px dashed var(--line); padding-bottom: 6px; }
.dlg .direct span { color: var(--muted); }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(20px); background: var(--ink); color: var(--bg); padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: .92rem; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 50; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* Responsive */
@media (max-width: 980px) {
  .hero-grid, .donate-grid, .contact-grid { grid-template-columns: 1fr; }
  .program-grid, .involve-grid { grid-template-columns: 1fr 1fr; }
  .tier-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  section { padding-block: 60px; }
  .hero { padding-block: 40px 52px; }
  .pillar-grid, .mission-grid, .program-grid, .involve-grid, .tier-grid, .two { grid-template-columns: 1fr; }
  .pillar { border-left: 0; border-top: 1px solid var(--line); padding: 18px 0; }
  .pillar:first-child { border-top: 0; padding-top: 0; }
  .form-card { padding: 22px; }
  .name-card { padding: 26px 22px 0; }
  .name-card .kente { margin-inline: -22px; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- WordPress additions ---------- */
.admin-bar .header { top: 32px; }
@media (max-width: 782px) { .admin-bar .header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .header { top: 0; } }
main section[id] { scroll-margin-top: 96px; }
.skip-link:focus { position: fixed; top: 10px; left: 10px; width: auto; height: auto; clip: auto; margin: 0; padding: 10px 16px; background: var(--accent); color: var(--on-accent); z-index: 100; border-radius: 8px; font-weight: 700; white-space: normal; }
.footer .brand-foot { display: inline-block; }
.page-main { padding-block: 64px 96px; }
.page-content { max-width: 760px; }
.page-title { margin-bottom: 40px; }
.entry + .entry { margin-top: 48px; padding-top: 48px; border-top: 1px solid var(--line); }
.entry-title { margin-bottom: 12px; }
.entry-title a { color: var(--ink); text-decoration: none; }
.entry-title a:hover { color: var(--link); }
.entry-meta { color: var(--muted); font-size: .92rem; margin-bottom: 20px; }
.entry-image img { width: 100%; height: auto; border-radius: var(--radius); margin-bottom: 24px; }
.entry-content > * + * { margin-top: 1em; }
.entry-content h2 { font-size: 1.7rem; margin-top: 1.6em; }
.entry-content h3 { margin-top: 1.4em; }
.entry-content img { max-width: 100%; height: auto; border-radius: 10px; }
.entry-content blockquote { margin-inline: 0; padding-left: 20px; border-left: 4px solid var(--accent); color: var(--muted); }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.navigation.pagination { margin-top: 48px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.nav-links .page-numbers { padding: 8px 14px; border: 1px solid var(--line); border-radius: 8px; text-decoration: none; color: var(--ink); }
.nav-links .page-numbers.current { background: var(--brand); color: var(--on-brand); border-color: var(--brand); }
