/*
Theme Name: GLIMT — Green Light International Mission Team
Theme URI: https://greenlightworld.org
Author: GLIMT
Description: Custom WordPress theme for Green Light (Feu Vert) International Mission Team. Pages: Home (/), Our Team (/our-team/), Membership (/membership/), Donate (/donate/), Account (/account/ with /account/history/, /account/give/, /account/profile/, /account/payment-methods/, /account/support/). Every team member gets a unique slug under /team/.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: glimt
*/

:root {
  --green: #14512b;
  --green-deep: #123b22;
  --green-ink: #14311f;
  --gold: #c9982a;
  --gold-soft: #e9c96a;
  --gold-ink: #8a6d1f;
  --ink: #17251b;
  --muted: #45544a;
  --faint: #8a978d;
  --bg: #f7f8f5;
  --line: #e3e7e0;
  --line-soft: #eef1ec;
}

* { box-sizing: border-box; }
html, body { overflow-x: hidden; overflow-x: clip; }
body {
  margin: 0;
  font-family: 'Public Sans', system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--green); }
a:hover { color: #0f3f21; }
h1, h2, h3, .serif { font-family: 'Source Serif 4', Georgia, serif; color: var(--green-ink); }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 660px; }

/* ---------- Header ---------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; background: rgba(255,255,255,0.97); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); box-shadow: 0 10px 30px -24px rgba(20,49,31,0.35); }
body { padding-top: var(--glimt-hh, 82px); }
body.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .site-header { top: 46px; } }
.site-header .bar { position: relative; height: 82px; display: flex; align-items: center; gap: 36px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { height: 46px; width: auto; display: block; }
.brand .t1 { font-family: 'Source Serif 4', Georgia, serif; font-size: 18px; font-weight: 700; letter-spacing: 0.04em; color: var(--green); line-height: 1; display: block; }
.brand .t2 { font-size: 8.5px; font-weight: 600; letter-spacing: 0.24em; color: #6b7a6e; line-height: 1; display: block; margin-top: 2px; }
.main-nav { display: flex; align-items: center; gap: 36px; flex: 1; justify-content: center; }
.main-nav a { position: relative; padding: 8px 1px; font-size: 13px; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; text-decoration: none; color: #55655a; white-space: nowrap; transition: color 0.15s ease; }
.main-nav a::after { content: ""; position: absolute; left: 50%; right: 50%; bottom: 0; height: 2px; background: var(--gold); transition: left 0.18s ease, right 0.18s ease; }
.main-nav a:hover { color: var(--green); }
.main-nav a:hover::after, .main-nav a.active::after { left: 0; right: 0; }
.main-nav a.active { color: var(--green); }
.header-actions { display: flex; align-items: center; gap: 20px; }
.menu-check { display: none !important; }
.menu-toggle { display: none; flex-direction: column; justify-content: center; align-items: center; gap: 5px; width: 42px; height: 42px; border: 1.5px solid var(--line); border-radius: 8px; cursor: pointer; flex-shrink: 0; }
.menu-toggle span { display: block; width: 20px; height: 2.5px; background: var(--green); border-radius: 2px; transition: transform 0.2s ease, opacity 0.2s ease; }
#glimt-menu:checked ~ .menu-toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
#glimt-menu:checked ~ .menu-toggle span:nth-child(2) { opacity: 0; }
#glimt-menu:checked ~ .menu-toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
.main-nav .mobile-only { display: none; }
.header-actions .signin { font-size: 13.5px; font-weight: 700; letter-spacing: 0.03em; color: var(--green); text-decoration: none; padding-right: 20px; border-right: 1px solid var(--line); transition: color 0.15s ease; }
.header-actions .signin:hover { color: #0f3f21; }

/* ---------- Header search ---------- */
.search-check { display: none !important; }
.search-toggle { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 8px; color: var(--green); cursor: pointer; transition: background 0.15s ease; }
.search-toggle:hover { background: #eef2ea; }
.search-pop { position: absolute; top: calc(100% + 8px); right: 24px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 14px 40px rgba(20, 40, 25, 0.16); padding: 12px; display: none; z-index: 60; }
#glimt-search:checked ~ .search-pop { display: block; }
.glimt-search { display: flex; gap: 8px; align-items: stretch; }
.glimt-search input[type="search"] { flex: 1; min-width: 220px; box-sizing: border-box; padding: 11px 14px; border: 1.5px solid #d5dcd2; border-radius: 8px; font-size: 14.5px; font-family: inherit; color: var(--ink); background: #fff; outline: none; }
.glimt-search input[type="search"]:focus { border-color: var(--green); }
.menu-search { margin-top: 14px; }
.menu-search input[type="search"] { min-width: 0; }

/* ---------- Buttons ---------- */
.btn { display: inline-block; border: none; border-radius: 8px; font-weight: 700; cursor: pointer; text-decoration: none; text-align: center; font-family: inherit; }
.btn-gold { background: linear-gradient(180deg, #d4a637 0%, #c9982a 100%); color: #211903; padding: 15px 28px; font-size: 15.5px; letter-spacing: 0.02em; box-shadow: 0 1px 2px rgba(33,25,3,0.18), inset 0 1px 0 rgba(255,255,255,0.28); transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease; }
.btn-gold:hover { background: linear-gradient(180deg, #c9982a 0%, #b5871f 100%); color: #211903; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(33,25,3,0.22), inset 0 1px 0 rgba(255,255,255,0.28); }
.btn-green { background: var(--green); color: #fff; padding: 15px 28px; font-size: 15.5px; }
.btn-green:hover { background: #0f3f21; color: #fff; }
.btn-outline { background: none; border: 1.5px solid #d5dcd2; color: var(--muted); padding: 10px 20px; font-size: 14px; }
.btn-outline:hover { border-color: #a8b3a9; color: var(--ink); }
.btn-sm { padding: 11px 22px; font-size: 14.5px; }
.btn-block { display: block; width: 100%; }

/* ---------- Hero ---------- */
.hero { position: relative; background: #040b16; overflow: hidden; }
.hero > img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center bottom; }
.hero .shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4,11,22,0.78) 0%, rgba(4,11,22,0.45) 38%, rgba(4,11,22,0.06) 70%, rgba(4,11,22,0.28) 100%); }
.hero .inner { position: relative; text-align: center; padding: 72px 24px clamp(540px, 43vw, 900px); }
.hero .kicker { font-size: 13px; font-weight: 700; letter-spacing: 0.22em; color: var(--gold-soft); text-transform: uppercase; }
.hero h1 { font-size: 54px; font-weight: 600; line-height: 1.12; color: #fff; margin: 18px auto 0; max-width: 820px; text-wrap: pretty; text-shadow: 0 2px 24px rgba(0,0,0,0.45); }
.hero p { font-size: 17.5px; line-height: 1.65; color: rgba(233,240,246,0.92); max-width: 640px; margin: 20px auto 0; text-shadow: 0 1px 12px rgba(0,0,0,0.5); }
.hero .cta { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; justify-content: center; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: linear-gradient(180deg, #edf3e9 0%, var(--bg) 100%); border-bottom: 1px solid #e8ece5; }
.page-hero .inner { padding-top: 72px; padding-bottom: 60px; }
.kicker { font-size: 12.5px; font-weight: 700; letter-spacing: 0.16em; color: #a87f1f; text-transform: uppercase; }
.page-hero h1 { font-size: 46px; font-weight: 600; margin: 14px 0 0; }
.page-hero p { font-size: 16.5px; line-height: 1.65; color: var(--muted); max-width: 620px; margin: 16px 0 0; }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-white { background: #fff; border-top: 1px solid #e8ece5; border-bottom: 1px solid #e8ece5; }
.section h2 { font-size: 36px; font-weight: 600; margin: 12px 0 0; }
.cols-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; margin-top: 52px; }
.rule { width: 44px; height: 3px; background: var(--gold); }
.cols-3 h3 { font-size: 22px; font-weight: 600; margin: 18px 0 0; }
.cols-3 p { font-size: 15.5px; line-height: 1.7; color: var(--muted); margin: 12px 0 0; }

.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.service { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 26px 26px 24px; }
.service .dot { width: 10px; height: 10px; background: var(--gold); border-radius: 2px; }
.service .t { font-size: 16.5px; font-weight: 700; color: var(--green-ink); margin-top: 16px; }
.service .d { font-size: 14.5px; line-height: 1.6; color: #5a6a5f; margin-top: 8px; }

.field-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
.field-grid img { width: 100%; height: 230px; object-fit: cover; border-radius: 14px; display: block; }

/* ---------- Sponsors ---------- */
.sponsors { background: var(--bg); border-top: 1px solid #e8ece5; padding: 76px 0 84px; }
.sponsors h2 { font-size: 36px; font-weight: 600; margin: 12px 0 0; }
.sponsor-strip { overflow: hidden; margin-top: 48px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.sponsor-track { display: flex; gap: 22px; width: max-content; padding: 4px 0; animation: glimtMarquee 36s linear infinite; }
.sponsor-track:hover { animation-play-state: paused; }
@keyframes glimtMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.sponsor-card { flex: 0 0 auto; width: 280px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 26px 24px 22px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; }
.sponsor-card .logo { height: 110px; display: flex; align-items: center; justify-content: center; }
.sponsor-card .logo img { max-height: 110px; max-width: 210px; width: auto; height: auto; object-fit: contain; }
.sponsor-card .n { font-size: 15.5px; font-weight: 700; color: var(--green-ink); line-height: 1.35; }
.sponsor-card .c { font-size: 13px; font-weight: 600; color: var(--faint); margin-top: -8px; line-height: 1.45; }
.sponsors .become { display: inline-block; font-size: 14.5px; font-weight: 700; color: var(--green); text-decoration: none; border-bottom: 2px solid var(--gold); padding-bottom: 2px; }
@media (prefers-reduced-motion: reduce) { .sponsor-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; } }
@media (max-width: 640px) { .sponsor-card { width: 225px; } .sponsors h2 { font-size: 28px; } }

/* ---------- Dark CTA ---------- */
.dark-cta { background: var(--green-deep); padding: 84px 0; }
.dark-cta .emblem { display: block; height: 170px; width: auto; margin: 0 auto 30px; }
.dark-cta h2 { font-size: 38px; font-weight: 600; color: #fff; margin: 0; text-align: center; }
.dark-cta .sub { font-size: 16px; line-height: 1.6; color: #b8ccbc; text-align: center; max-width: 560px; margin: 14px auto 0; }
.paths { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 48px; }
.path { background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.14); border-radius: 12px; padding: 26px 24px; }
.path .t { font-family: 'Source Serif 4', Georgia, serif; font-size: 21px; font-weight: 600; color: var(--gold-soft); }
.path .d { font-size: 14.5px; line-height: 1.6; color: #cfdccf; margin-top: 10px; }
.dark-cta .cta { display: flex; gap: 14px; justify-content: center; margin-top: 44px; flex-wrap: wrap; }
.btn-ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.45); padding: 15px 30px; font-size: 15.5px; }
.btn-ghost:hover { border-color: #fff; color: #fff; }

/* ---------- Team ---------- */
.team-section { padding-top: 56px; padding-bottom: 24px; }
.team-head { display: flex; align-items: center; gap: 18px; }
.team-head h2 { font-size: 29px; font-weight: 600; margin: 0; white-space: nowrap; }
.team-head .line { flex: 1; height: 1px; background: #dde3da; }
.exec-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; margin-top: 32px; }
.exec-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 14px 22px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 5px; text-decoration: none; }
.exec-card:hover { border-color: var(--gold); box-shadow: 0 6px 20px rgba(20,40,25,0.10); }
.exec-card img { width: 100%; height: 320px; object-fit: cover; object-position: center top; border-radius: 10px; margin-bottom: 16px; }
.exec-card .n { font-size: 18px; font-weight: 700; color: var(--green-ink); }
.exec-card .r { font-size: 13.5px; font-weight: 700; color: #1a5c33; }
.exec-card .v { font-size: 12.5px; font-weight: 600; color: var(--gold-ink); margin-top: 8px; }
.small-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; margin-top: 32px; }
.small-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 22px; display: flex; align-items: center; gap: 14px; text-decoration: none; }
.small-card:hover { border-color: var(--gold); box-shadow: 0 6px 20px rgba(20,40,25,0.10); }
.small-card img, .avatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: center top; flex-shrink: 0; }
.avatar { background: var(--green); color: var(--gold-soft); display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 800; }
.small-card .n { font-size: 15.5px; font-weight: 700; color: var(--green-ink); }
.small-card .r { font-size: 13px; font-weight: 700; color: #1a5c33; margin-top: 3px; }
.small-card .v { font-size: 11.5px; font-weight: 600; color: var(--gold-ink); margin-top: 5px; }
.center-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; margin-top: 32px; }
.center-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 26px 20px 22px; display: flex; flex-direction: column; align-items: center; text-align: center; text-decoration: none; }
.center-card:hover { border-color: var(--gold); box-shadow: 0 4px 14px rgba(20,40,25,0.08); }
.center-card img { width: 110px; height: 110px; border-radius: 50%; object-fit: cover; object-position: center top; }
.center-card .avatar { width: 110px; height: 110px; font-size: 30px; }
.center-card .n { font-size: 16px; font-weight: 700; color: var(--green-ink); margin-top: 14px; line-height: 1.3; }
.center-card .r { font-size: 13px; font-weight: 700; color: #1a5c33; margin-top: 4px; line-height: 1.4; }
.center-card .v { font-size: 12px; font-weight: 600; color: var(--gold-ink); margin-top: 8px; }
@media (min-width: 981px) { .center-grid.four { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Single member ---------- */
.member-single { max-width: 720px; margin: 0 auto; padding: 64px 24px 88px; }
.member-single .card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 38px 36px; text-align: center; }
.member-single img.photo { width: 380px; max-width: 100%; height: 440px; object-fit: cover; object-position: center top; border-radius: 12px; }
.member-single h1 { font-size: 30px; font-weight: 600; margin: 18px 0 0; }
.member-single .role { font-size: 13.5px; font-weight: 700; letter-spacing: 0.08em; color: #1a5c33; text-transform: uppercase; margin-top: 6px; }
.member-single .rule { margin: 18px auto 0; }
.member-single .bio { font-size: 15px; line-height: 1.7; color: var(--muted); margin: 18px 0 0; text-align: left; }
.member-single .back { display: inline-block; margin-top: 22px; font-size: 14px; font-weight: 700; }

/* ---------- Forms ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 34px; }
.card + .card { margin-top: 16px; }
label.lbl, .lbl { display: block; font-size: 12px; font-weight: 700; color: #5a6a5f; margin: 0 0 6px; }
.input, input[type="text"], input[type="email"], input[type="password"], input[type="tel"], input[type="number"], select, textarea {
  width: 100%; padding: 13px 14px; border: 1.5px solid #d5dcd2; border-radius: 8px; font-size: 15px; background: #fff; color: var(--ink); outline: none; font-family: inherit;
}
input:focus, select:focus, textarea:focus { border-color: var(--green); }
select.brand-select { border-color: var(--green); background: #eef3ec; color: var(--green); font-weight: 600; cursor: pointer; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.amounts { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.amounts label { display: block; }
.amounts input { position: absolute; opacity: 0; pointer-events: none; }
.amounts .amt { display: block; padding: 13px 8px; border: 1.5px solid #d5dcd2; border-radius: 8px; font-size: 15px; font-weight: 700; text-align: center; cursor: pointer; background: #fff; }
.amounts input:checked + .amt { background: var(--green); color: #fff; border-color: var(--green); }
.freq { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.freq .amt { padding: 12px 8px; }
.note { font-size: 12.5px; line-height: 1.55; color: var(--faint); }
.msg { margin: 0 0 18px; font-size: 14px; font-weight: 600; border-radius: 8px; padding: 12px 14px; }
.msg-ok { color: var(--green); background: #e4efe4; border: 1px solid #bcd6bc; }
.msg-err { color: #a33325; background: #faeeec; border: 1px solid #eccfca; }

/* ---------- Membership ---------- */
.member-layout { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: start; padding-top: 64px; padding-bottom: 88px; }
.price { display: flex; align-items: baseline; gap: 8px; margin-top: 14px; }
.price .n { font-family: 'Source Serif 4', Georgia, serif; font-size: 56px; font-weight: 700; color: var(--green-ink); line-height: 1; }
.benefit { display: flex; gap: 12px; align-items: flex-start; margin-top: 14px; }
.benefit .dot { width: 9px; height: 9px; background: var(--gold); border-radius: 2px; margin-top: 6px; flex-shrink: 0; }
.benefit .t { font-size: 15px; line-height: 1.55; color: #3c4a41; }
.involve-row { display: flex; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--line); align-items: flex-start; }
.involve-row .t { font-family: 'Source Serif 4', Georgia, serif; font-size: 20px; font-weight: 600; color: var(--green); width: 130px; flex-shrink: 0; }
.involve-row .d { font-size: 15px; line-height: 1.6; color: var(--muted); }
.involve-row a.more { display: inline-block; padding-top: 8px; font-size: 14px; font-weight: 700; color: var(--gold-ink); text-decoration: none; }

/* ---------- Account dashboard ---------- */
.dash { display: grid; grid-template-columns: 250px 1fr; gap: 28px; align-items: start; padding-top: 44px; padding-bottom: 88px; }
.dash-side { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 24px 16px; position: sticky; top: 92px; }
.dash-side .who { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 4px 8px 18px; border-bottom: 1px solid var(--line-soft); }
.dash-side .who .avatar { width: 76px; height: 76px; font-size: 26px; }
.dash-side .who .n { font-size: 16px; font-weight: 700; color: var(--green-ink); margin-top: 12px; }
.badge { display: inline-block; font-size: 11.5px; font-weight: 700; border-radius: 999px; padding: 4px 12px; margin-top: 8px; }
.badge-on { color: var(--green); background: #e4efe4; }
.badge-off { color: var(--gold-ink); background: #f7efdc; }
.dash-nav { display: flex; flex-direction: column; gap: 4px; margin-top: 14px; }
.dash-nav a { display: flex; align-items: center; gap: 10px; border-radius: 9px; padding: 11px 14px; font-size: 14px; font-weight: 700; text-decoration: none; color: var(--muted); }
.dash-nav a .dot { width: 7px; height: 7px; border-radius: 2px; background: #c9d2c6; flex-shrink: 0; }
.dash-nav a:hover { background: #eef3ec; }
.dash-nav a.active { background: var(--green); color: #fff; }
.dash-nav a.active .dot { background: var(--gold-soft); }
.dash h1 { font-size: 34px; font-weight: 600; margin: 4px 0 0; }
.dash .sub { font-size: 14.5px; color: #5a6a5f; margin-top: 6px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.stat .k { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; color: var(--faint); text-transform: uppercase; }
.stat .v { font-family: 'Source Serif 4', Georgia, serif; font-size: 32px; font-weight: 700; color: var(--green-ink); margin-top: 8px; overflow-wrap: anywhere; }
.impact { background: var(--green-deep); border-radius: 14px; padding: 24px; color: #dfe9df; }
.impact .k { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; color: var(--gold-soft); text-transform: uppercase; }
.impact p { font-size: 15px; line-height: 1.65; margin: 10px 0 0; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 24px; margin-top: 16px; }
.panel .k { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; color: var(--faint); text-transform: uppercase; }
.row { display: flex; align-items: center; gap: 12px; padding: 15px 2px; border-bottom: 1px solid var(--line-soft); }
.row .date { width: 92px; flex-shrink: 0; font-size: 13px; color: var(--faint); }
.row .cause { flex: 1.2; min-width: 0; font-size: 14px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row .method { flex: 1; min-width: 0; font-size: 13px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row .freq-col { width: 86px; flex-shrink: 0; text-align: center; }
.pill { display: inline-block; font-size: 11px; font-weight: 700; color: #1a5c33; background: #e4efe4; border-radius: 999px; padding: 3px 8px; white-space: nowrap; }
.row .amt-col { min-width: 96px; flex-shrink: 0; text-align: right; font-size: 14.5px; font-weight: 800; color: var(--green-ink); }
.row .r-col { width: 84px; flex-shrink: 0; text-align: right; }
.row-head { font-size: 11.5px; font-weight: 700; letter-spacing: 0.08em; color: var(--faint); text-transform: uppercase; border-bottom: 1.5px solid var(--line); }
.faq-q { display: flex; align-items: center; justify-content: space-between; gap: 14px; width: 100%; text-align: left; background: none; border: none; padding: 15px 2px; font-size: 14.5px; font-weight: 700; color: var(--green-ink); cursor: pointer; font-family: inherit; }
.faq-a { font-size: 14px; line-height: 1.65; color: var(--muted); padding: 0 2px 16px; }
details.faq { border-bottom: 1px solid var(--line-soft); }
details.faq summary { list-style: none; }
details.faq summary::-webkit-details-marker { display: none; }
.cardrow { display: flex; align-items: center; gap: 14px; padding: 14px 2px; border-bottom: 1px solid var(--line-soft); }
.cardrow .chip { width: 46px; height: 32px; border-radius: 6px; background: var(--green); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; flex-shrink: 0; }

/* ---------- Blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; text-decoration: none; transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease; }
.post-card:hover { border-color: var(--gold); box-shadow: 0 14px 30px -14px rgba(20, 49, 31, 0.25); transform: translateY(-2px); }
.post-card .thumb { height: 210px; background: #eef3ec; }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-card .thumb-empty { display: flex; align-items: center; justify-content: center; }
.post-card .thumb-empty img { width: auto; height: 72px; opacity: 0.45; }
.post-card .body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-card .date { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; color: var(--gold-ink); text-transform: uppercase; }
.post-card .t { font-family: 'Source Serif 4', Georgia, serif; font-size: 21px; font-weight: 600; color: var(--green-ink); margin: 0; line-height: 1.3; }
.post-card .x { font-size: 14.5px; line-height: 1.6; color: var(--muted); }
.post-card .more { font-size: 13.5px; font-weight: 700; color: var(--green); margin-top: auto; padding-top: 6px; }
.blog-pagination { margin-top: 40px; text-align: center; }
.blog-pagination .nav-links { display: inline-flex; gap: 8px; align-items: center; }
.blog-pagination .page-numbers { display: inline-block; min-width: 40px; padding: 10px 14px; border: 1.5px solid #d5dcd2; border-radius: 8px; font-size: 14px; font-weight: 700; color: var(--muted); text-decoration: none; background: #fff; }
.blog-pagination .page-numbers.current { background: var(--green); border-color: var(--green); color: #fff; }
.blog-pagination .page-numbers:hover { border-color: var(--green); color: var(--green); }
.blog-pagination .page-numbers.current:hover { color: #fff; }

.post-single .post-head { background: linear-gradient(180deg, #edf3e9 0%, var(--bg) 100%); border-bottom: 1px solid #e8ece5; text-align: center; padding: 64px 0 46px; }
.post-single .post-head h1 { font-size: clamp(30px, 5vw, 44px); font-weight: 600; margin: 14px 0 0; line-height: 1.15; text-wrap: pretty; }
.post-hero-img { margin-top: 36px; }
.post-hero-img img { width: 100%; height: auto; max-height: 520px; object-fit: cover; border-radius: 16px; display: block; }
.post-body { max-width: 720px; padding-top: 40px; padding-bottom: 40px; font-size: 16.5px; line-height: 1.75; color: #2e3c33; }
.post-body h2, .post-body h3 { font-family: 'Source Serif 4', Georgia, serif; color: var(--green-ink); margin: 1.6em 0 0.5em; }
.post-body p { margin: 0 0 1.2em; }
.post-body img { border-radius: 12px; }
.post-body a { color: var(--green); font-weight: 600; }
.post-body blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--gold); font-family: 'Source Serif 4', Georgia, serif; font-size: 19px; color: var(--green-ink); }
.post-footer { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 24px; }
.post-footer .back { font-size: 14.5px; font-weight: 700; color: var(--green); text-decoration: none; }

/* ---------- Footer ---------- */
.site-footer { background: #fff; border-top: 1px solid var(--line); }
.site-footer .cols { display: grid; grid-template-columns: 1.3fr 0.7fr 1fr; gap: 48px; padding: 56px 0 0; }
.site-footer .about p { font-size: 14px; line-height: 1.65; color: #5a6a5f; max-width: 340px; margin: 16px 0 0; }
.site-footer .k { font-size: 12.5px; font-weight: 700; letter-spacing: 0.14em; color: #a87f1f; text-transform: uppercase; }
.site-footer .links { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; align-items: flex-start; }
.site-footer .links a { font-size: 14.5px; font-weight: 600; color: var(--muted); text-decoration: none; }
.site-footer .links a:hover { color: var(--green); }
.site-footer .base { border-top: 1px solid var(--line-soft); margin-top: 44px; padding: 22px 0 28px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--faint); }

/* ---------- Receipt ---------- */
.receipt-page { max-width: 560px; margin: 40px auto; padding: 0 20px; font-family: Georgia, serif; }
.receipt-head { border-bottom: 3px solid var(--gold); padding-bottom: 14px; display: flex; gap: 12px; align-items: center; }
.receipt-table { width: 100%; margin-top: 20px; font-size: 15px; line-height: 2; }
.receipt-amount { background: #f4f6f1; padding: 14px 18px; margin-top: 16px; display: flex; justify-content: space-between; }
@media print { .no-print { display: none !important; } }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .cols-3, .services, .field-grid, .stats { grid-template-columns: 1fr 1fr; }
  .paths { grid-template-columns: 1fr 1fr; }
  .member-layout, .dash { grid-template-columns: 1fr; }
  .dash-side { position: static; }
  .hero h1 { font-size: 38px; }
  .site-header .bar { flex-wrap: wrap; height: auto; padding-top: 10px; padding-bottom: 10px; row-gap: 2px; gap: 10px; }
  .header-actions { display: none; }
  .brand { flex: 1; min-width: 0; gap: 10px; }
  .brand img { height: 40px; }
  .brand .t1 { font-size: 16px; }
  .brand .t2 { font-size: 7px; letter-spacing: 0.2em; }
  .header-actions { margin-left: 0; gap: 8px; }
  .header-actions .btn-gold.btn-sm { padding: 10px 16px; font-size: 13.5px; }
  .menu-toggle { width: 40px; height: 40px; }
  .hide-mobile { display: none !important; }
  .menu-toggle { display: flex; }
  .main-nav { display: none; }
  #glimt-menu:checked ~ .main-nav { display: flex; flex: 0 0 auto; order: 5; flex-direction: column; align-items: stretch; gap: 0; width: calc(100% + 48px); margin: 10px -24px 0; padding: 6px 20px 22px; background: #fff; border-top: 1px solid var(--line); border-radius: 0 0 20px 20px; box-shadow: 0 30px 44px -22px rgba(20, 49, 31, 0.5); animation: glimtSheet 0.32s cubic-bezier(0.2, 0.8, 0.3, 1) both; }
  #glimt-menu:checked ~ .main-nav a { animation: glimtItem 0.4s cubic-bezier(0.2, 0.8, 0.3, 1) both; }
  #glimt-menu:checked ~ .main-nav a:nth-child(1) { animation-delay: 0.04s; }
  #glimt-menu:checked ~ .main-nav a:nth-child(2) { animation-delay: 0.08s; }
  #glimt-menu:checked ~ .main-nav a:nth-child(3) { animation-delay: 0.12s; }
  #glimt-menu:checked ~ .main-nav a:nth-child(4) { animation-delay: 0.16s; }
  #glimt-menu:checked ~ .main-nav a:nth-child(5) { animation-delay: 0.2s; }
  #glimt-menu:checked ~ .main-nav a:nth-child(6) { animation-delay: 0.24s; }
  #glimt-menu:checked ~ .main-nav a:nth-child(7) { animation-delay: 0.28s; }
  #glimt-menu:checked ~ .main-nav a:nth-child(8) { animation-delay: 0.32s; }
  .main-nav a { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 15px 12px; font-size: 15px; letter-spacing: 0.05em; border-bottom: 1px solid var(--line-soft); white-space: nowrap; -webkit-tap-highlight-color: transparent; transition: background 0.18s ease, padding 0.18s ease, color 0.18s ease; }
  .main-nav a::after { display: none; }
  .main-nav a::before { content: "\203A"; order: 2; font-size: 19px; line-height: 1; color: #b3bdb2; transition: transform 0.18s ease, color 0.18s ease; }
  .main-nav a:active { background: #f0f5ee; padding-left: 18px; }
  .main-nav a:active::before { transform: translateX(4px); color: var(--gold-ink); }
  .main-nav a.active { color: var(--green); border-left: 3px solid var(--gold); padding-left: 14px; background: #f6f9f4; }
  .main-nav a.active::before { color: var(--gold); }
  .main-nav .mobile-only { display: flex; color: var(--gold-ink); }
  .main-nav .menu-search { display: flex; }
  .search-toggle, .search-pop { display: none !important; }
  .main-nav .menu-donate { justify-content: center; margin-top: 16px; border: none; border-radius: 12px; background: linear-gradient(180deg, #d4a637 0%, #c9982a 100%); color: #211903; font-weight: 700; font-size: 15.5px; letter-spacing: 0.04em; padding: 16px 12px; box-shadow: 0 6px 16px -6px rgba(201, 152, 42, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.3); }
  .main-nav .menu-donate::before { display: none; }
  .main-nav .menu-donate:active { transform: translateY(1px) scale(0.99); box-shadow: 0 3px 8px -4px rgba(201, 152, 42, 0.6); padding-left: 12px; background: linear-gradient(180deg, #c9982a 0%, #bd8d24 100%); }
  .exec-card img { height: 300px; }
}
@media (max-width: 1023px) {
  /* hero: text, buttons overlaid on the globe, full uncropped image below */
  .hero > img.bg { top: auto; bottom: 0; height: 360px; object-fit: contain; }
  .hero .inner { padding-bottom: 220px; }
  .hero .cta { margin-top: 30px; }
  .hero .shade { background: linear-gradient(180deg, rgba(4,11,22,0.6) 0%, rgba(4,11,22,0.28) 38%, rgba(4,11,22,0) 52%); }
}
@media (max-width: 430px) {
  .brand .t2 { font-size: 6.5px; letter-spacing: 0.18em; }
  .brand .t1 { font-size: 15px; }
  .header-actions .btn-gold.btn-sm { padding: 9px 13px; font-size: 13px; }
}
@media (max-width: 640px) {
  .cols-3, .services, .field-grid, .paths, .grid-2, .stats, .site-footer .cols { grid-template-columns: 1fr; }
  .amounts { grid-template-columns: repeat(3, 1fr); }
  .page-hero h1 { font-size: 34px; }
  .hero > img.bg { height: 340px; }
  .hero .inner { padding: 44px 20px 170px; }
  .hero .cta { margin-top: 26px; }
  .hero h1 { font-size: 32px; }
  .member-hero img.photo { width: 86%; }
  .dash-side { position: static; }
}

/* ---------- Member page: gradient backdrop behind the whole card ---------- */
.member-backdrop { position: relative; overflow: hidden; background: linear-gradient(135deg, #08170d 0%, #123b22 55%, #0b2413 100%); padding: 56px 0 72px; }
.member-backdrop .wm { position: absolute; pointer-events: none; width: auto; }
.member-backdrop .wm-c { left: 50%; top: 50%; transform: translate(-50%, -50%); height: 900px; opacity: 0.07; }
.member-backdrop .wm-tr { right: -70px; top: -70px; height: 280px; opacity: 0.10; }
.member-backdrop .wm-bl { left: -80px; bottom: -80px; height: 300px; opacity: 0.08; }
.member-single { position: relative; }
.member-single .card { border-top: 4px solid var(--gold); box-shadow: 0 24px 70px rgba(0,0,0,0.5); padding: 24px 22px 30px; }
.member-single img.photo { width: 100%; max-width: 420px; height: auto; border-radius: 12px; }
.member-single img.photo { object-position: center top; }

/* ---------- Auth card (sign in / create account) ---------- */
.auth-card { box-shadow: 0 14px 40px -18px rgba(20, 49, 31, 0.28); border-top: 4px solid var(--gold); padding: 28px 30px 30px; }
.auth-tabs { display: flex; border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.auth-tabs a { flex: 1; text-align: center; padding: 12px 8px; font-size: 15px; font-weight: 700; color: var(--faint); text-decoration: none; border-bottom: 2.5px solid transparent; margin-bottom: -1px; transition: color 0.18s ease, border-color 0.18s ease; }
.auth-tabs a:hover { color: var(--green); }
.auth-tabs a.active { color: var(--green); border-bottom-color: var(--gold); }
.auth-form { display: flex; flex-direction: column; gap: 16px; }
.auth-form input:focus { box-shadow: 0 0 0 3px rgba(20, 81, 43, 0.12); }
.auth-form .btn-block { padding: 15px 24px; }

/* ---------- Mobile menu: motion + effects ---------- */
@keyframes glimtSheet { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: none; } }
@keyframes glimtItem { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@keyframes glimtFadeIn { from { opacity: 0; } to { opacity: 1; } }

.menu-toggle { -webkit-tap-highlight-color: transparent; transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease; }
.menu-toggle:active { transform: scale(0.92); }
.menu-toggle span { transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease; }
#glimt-menu:checked ~ .menu-toggle { background: #f0f5ee; border-color: var(--green); }
#glimt-menu:checked ~ .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
#glimt-menu:checked ~ .menu-toggle span:nth-child(2) { opacity: 0; transform: scaleX(0.4); }
#glimt-menu:checked ~ .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.menu-overlay { display: none; }
@media (max-width: 980px) {
  #glimt-menu:checked ~ .main-nav { max-height: calc(100vh - 100px); overflow-y: auto; -webkit-overflow-scrolling: touch; }
  body:has(#glimt-menu:checked) { overflow: hidden; }
  body:has(#glimt-menu:checked) .menu-overlay { display: block; position: fixed; inset: 0; z-index: 49; background: rgba(10, 22, 13, 0.45); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); animation: glimtFadeIn 0.28s ease both; cursor: pointer; }
}
