/*
  VOICE   formal, calm, civic – an association that publishes its records openly
  IDEA    a printed residents' bulletin board: notices, rolls of office, a site plan
  PICTURE the township itself (aerial + entrance), framed under deep navy
  COLOUR  navy dominant, white support, gold accent; grey, green, orange for status
  TYPE    Plus Jakarta Sans throughout, four sizes
  LAYOUT  sticky header, hero with overlapping dashboard, banded sections, max 1240px
*/
:root {
  color-scheme: light;
  --navy: #155b35; --navy-2: #267a45; --navy-d: #10472b;
  --gold: #78b943; --gold-l: #c4df83; --gold-t: #286a38;
  --bg: #ffffff; --grey: #f3f8f1; --grey-2: #e5efe3; --line: #d5e5d2;
  --ink: #17233a; --muted: #536b59;
  --green: #267a45; --green-bg: #eaf5e8; --orange: #a5520f; --orange-bg: #fcefe2; --blue-bg: #e8eef8;
  --r: 16px; --shadow: 0 1px 2px rgba(15,37,71,.06), 0 8px 28px rgba(15,37,71,.09);
  --font: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; min-width: 0; }
html { scroll-padding-top: 92px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--font); overflow-x: clip; }
body.noscroll { overflow: hidden; }
[hidden] { display: none !important; }
img { max-width: 100%; display: block; }
a { color: var(--navy-2); }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.15; text-wrap: balance; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 6px; }
.ic { width: 22px; height: 22px; flex: none; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 max(4vw, 16px); }
.band { padding: clamp(40px, 6vw, 80px) 0; }
.band.tint, .band.green { background: var(--grey); }
.band.green { background: linear-gradient(#f2f7f3, #f2f7f3); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 10px 14px; z-index: 100; border-radius: 8px; }
.skip:focus { left: 8px; }
main:focus { outline: none; }
.page { animation: fade .35s ease both; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* ---------- type helpers ---------- */
.h2 { font-size: clamp(26px, 3vw, 36px); color: var(--navy); font-weight: 800; letter-spacing: -.01em; }
.h2.sub { margin-top: 56px; }
.h3 { font-size: 20px; color: var(--navy); font-weight: 700; margin-top: 28px; }
.center { text-align: center; }
.kicker { color: var(--gold-t); font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.muted { color: var(--muted); }
.tbu { display: inline-block; font-size: 13px; font-weight: 600; color: var(--orange); background: var(--orange-bg); border: 1px dashed #e3b88f; border-radius: 6px; padding: 1px 8px; white-space: nowrap; }
.demo-tag { font-size: 12px; font-weight: 700; color: var(--orange); background: var(--orange-bg); border-radius: 999px; padding: 2px 9px; white-space: nowrap; }
.notice { display: flex; gap: 10px; align-items: flex-start; background: var(--blue-bg); border: 1px solid #cdd9ee; color: var(--navy); border-radius: 12px; padding: 12px 16px; font-size: 15px; margin: 0 0 28px; }
.notice .ic { color: var(--navy-2); margin-top: 1px; }
.empty { color: var(--muted); font-style: italic; padding: 10px 0; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 10px 20px; border-radius: 10px; font-weight: 700; font-size: 15px; text-decoration: none; border: 1.5px solid transparent; transition: transform .15s, background .15s, box-shadow .15s; cursor: pointer; font-family: inherit; }
.btn .ic { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: var(--navy-d); }
.btn-gold:hover { background: var(--gold-l); }
.btn-ghost { color: #fff; border-color: rgba(255,255,255,.75); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); }
.btn-line { color: var(--navy); border-color: var(--line); background: #fff; }
.btn-line:hover { border-color: var(--navy); }
.btn-sm { min-height: 38px; padding: 6px 12px; font-size: 14px; background: var(--navy); color: #fff; }
.btn-sm.btn-line { background: #fff; color: var(--navy); }

/* ---------- header ---------- */
.topbar { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
body.scrolled .topbar { box-shadow: 0 4px 20px rgba(15,37,71,.08); }
.topbar-in { max-width: 1320px; margin: 0 auto; padding: 0 max(3vw, 16px); display: flex; align-items: center; gap: 20px; min-height: 80px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); margin-right: auto; }
.brand img { width: 50px; height: 50px; }
.brand-txt { display: flex; flex-direction: column; line-height: 1.2; }
.brand-txt strong { font-size: 19px; font-weight: 800; }
.brand-txt span { font-size: 13px; color: var(--muted); font-weight: 600; }
.brand-txt b { color: var(--gold-t); }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.nav a { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 10px 10px 9px; text-decoration: none; color: var(--ink); font-size: 13.5px; font-weight: 600; border-radius: 10px; position: relative; white-space: nowrap; }
.nav a .ic { width: 20px; height: 20px; color: var(--navy-2); }
.nav a:hover { background: var(--grey); }
.nav a.active { color: var(--navy); }
.nav a.active::after { content: ""; position: absolute; left: 22%; right: 22%; bottom: 2px; height: 3px; border-radius: 3px; background: var(--gold); }
.nav a.active .ic { color: var(--gold-t); }
.menu-btn { display: none; width: 46px; height: 46px; border: 1px solid var(--line); background: #fff; border-radius: 10px; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.menu-btn span { width: 20px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .2s, opacity .2s; }
@media (max-width: 1180px) {
  .menu-btn { display: flex; }
  .nav { display: none; position: fixed; top: 80px; left: 0; right: 0; bottom: 0; background: #fff; padding: 12px max(4vw, 16px) 24px; overflow-y: auto; border-top: 1px solid var(--line); }
  .menu-open .nav { display: block; animation: fade .2s ease both; }
  body.menu-open { overflow: hidden; }
  .nav ul { flex-direction: column; gap: 4px; }
  .nav a { flex-direction: row; gap: 14px; font-size: 17px; padding: 14px 12px; }
  .nav a.active { background: var(--grey); }
  .nav a.active::after { left: 0; right: auto; top: 12px; bottom: 12px; width: 4px; height: auto; }
  .menu-open .menu-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-open .menu-btn span:nth-child(2) { opacity: 0; }
  .menu-open .menu-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 480px) {
  .brand img { width: 42px; height: 42px; }
  .brand-txt strong { font-size: 16px; }
  .brand-txt span { font-size: 11.5px; }
}

/* ---------- hero ---------- */
.hero { position: relative; color: #fff; background: var(--navy); overflow: hidden; min-height: 540px; display: flex; align-items: center; padding: 60px 0 130px; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(95deg, rgba(10,26,51,.96) 0%, rgba(10,26,51,.82) 42%, rgba(10,26,51,.35) 100%); }
.hero-in { width: 100%; position: relative; z-index: 2; }
.img-credit { z-index: 2; }
.hero-copy { max-width: 560px; animation: fade .6s ease both; }
.hero h1 { font-size: clamp(34px, 5vw, 52px); font-weight: 800; letter-spacing: -.02em; line-height: 1.08; }
.hero h1 em { font-style: normal; color: var(--gold-l); display: block; }
.rule { display: block; width: 64px; height: 3px; background: var(--gold); border-radius: 3px; margin: 18px 0 20px; }
.hero p { font-size: 18px; color: #dfe6f2; max-width: 30em; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.img-credit { position: absolute; right: max(4vw,16px); bottom: 92px; font-size: 12px; color: rgba(255,255,255,.7); margin: 0; }

/* ---------- dashboard ---------- */
.dashboard { position: relative; z-index: 2; margin-top: -84px; }
.dash-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.dash { background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); padding: 20px; display: flex; flex-direction: column; }
.dash header { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.dash header h2 { font-size: 17px; margin: 0; color: var(--navy); font-weight: 800; flex: 1; }
.dash-ic { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; }
.d-ann .dash-ic { background: var(--blue-bg); color: var(--navy-2); }
.d-ev .dash-ic { background: var(--green-bg); color: var(--green); }
.d-mt .dash-ic { background: var(--orange-bg); color: var(--orange); }
.d-fin .dash-ic { background: #f6efdc; color: var(--gold-t); }
.ad-banner-wrap { width:100%; margin:0; }
.ad-banner { position:relative; overflow:hidden; border:1px solid var(--line); border-radius:var(--r); background:#f7faf6; box-shadow:var(--shadow); padding:6px; }
.ad-banner-label { position:absolute; z-index:3; top:14px; left:14px; right:14px; display:flex; align-items:center; justify-content:space-between; color:var(--muted); font-size:11px; font-weight:800; letter-spacing:.12em; pointer-events:none; }
.ad-banner-label > span:first-child { padding:3px 8px; border-radius:5px; background:rgba(35,45,48,.68); color:#fff; }
.ad-counter { color:#fff; background:rgba(35,45,48,.55); padding:3px 7px; border-radius:5px; font-size:11px; font-weight:700; font-variant-numeric:tabular-nums; white-space:nowrap; }
.ad-carousel { position:relative; width:100%; height:320px; overflow:hidden; border-radius:10px; background:#f3f7ef; isolation:isolate; }
.ad-slide { position:absolute; inset:0; display:block; opacity:0; visibility:hidden; transition:opacity .55s ease,visibility .55s ease; text-decoration:none; color:inherit; }
.ad-slide.is-active { opacity:1; visibility:visible; }
.ad-slide img { display:block; width:100%; height:100%; object-fit:contain; object-position:center; }
.ad-slide:focus-visible { outline:3px solid var(--green); outline-offset:-3px; }
.welcome-grid { display:grid; grid-template-columns:minmax(0,.8fr) minmax(0,.8fr) minmax(0,2fr); gap:clamp(20px,2.2vw,34px); align-items:center; }
.welcome-grid:not(.has-ads) { grid-template-columns:minmax(0,1fr) minmax(0,1fr); }
.welcome-ad { min-width:0; }
.welcome-copy .h2 { font-size:clamp(24px,2.2vw,34px); line-height:1.18; }
@media (max-width:1100px) { .welcome-grid,.welcome-grid:not(.has-ads) { grid-template-columns:minmax(0,1fr) minmax(0,1fr); } .welcome-ad { grid-column:1 / -1; } .ad-carousel { height:260px; } }
@media (max-width:640px) { .welcome-grid,.welcome-grid:not(.has-ads) { grid-template-columns:minmax(0,1fr); } .welcome-ad { grid-column:auto; } .ad-banner { padding:5px; } .ad-carousel { height:190px; } }
.ad-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 9px 11px; color: #fff; font-size: 12px; font-weight: 700; line-height: 1.35; background: linear-gradient(transparent, rgba(12,35,24,.78)); }


.feed { list-style: none; margin: 0 0 8px; padding: 0; flex: 1; }
.feed li { border-bottom: 1px solid var(--grey-2); animation: fade .45s ease both; animation-delay: calc(var(--i) * 90ms + 150ms); }
.feed li:last-child { border-bottom: 0; }
.feed-row { display: flex; gap: 10px; align-items: flex-start; padding: 10px 4px; text-decoration: none; color: var(--ink); border-radius: 8px; }
.feed-row:hover { background: var(--grey); }
.feed-main { flex: 1; display: flex; flex-direction: column; }
.feed-title { font-weight: 700; font-size: 14.5px; line-height: 1.3; }
.feed-sum { font-size: 13px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.feed-date { font-size: 12.5px; color: var(--muted); white-space: nowrap; padding-top: 2px; }
.dash-link { margin-top: auto; padding-top: 10px; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; text-decoration: none; color: var(--navy-2); align-self: flex-start; }
.dash-link .ic { width: 16px; height: 16px; transition: transform .15s; }
.dash-link:hover .ic { transform: translateX(3px); }
.fin-month { font-weight: 600; font-size: 14px; color: var(--muted); }
.fin-grid { display: grid; gap: 8px; }
.fin-fig { display: flex; justify-content: space-between; align-items: center; gap: 8px; background: var(--grey); border-radius: 10px; padding: 9px 12px; font-size: 14px; }
.fin-fig b { font-variant-numeric: tabular-nums; white-space: nowrap; }
.fin-fig.pos b { color: var(--green); } .fin-fig.neg b { color: #b3261e; } .fin-fig.net b { color: var(--navy); }
.fin-note { font-size: 12.5px; color: var(--muted); margin: 10px 0 0; }
.demo-line { font-size: 13px; color: var(--muted); margin: 14px 0 0; }
.badge { font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.st-in-progress { background: var(--orange-bg); color: var(--orange); }
.st-completed { background: var(--green-bg); color: var(--green); }
.st-planned { background: var(--blue-bg); color: var(--navy-2); }
@media (max-width: 1100px) { .dash-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .dash-grid { grid-template-columns: minmax(0, 1fr); } .dashboard { margin-top: -60px; } .hero { padding-bottom: 100px; min-height: 480px; } .img-credit { display: none; } }

/* ---------- live homepage feeds ---------- */
.feed-window { position: relative; flex: 1; min-height: 0; max-height: 220px; overflow: hidden; margin-bottom: 8px; -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 12px, #000 calc(100% - 12px), transparent 100%); mask-image: linear-gradient(to bottom, transparent 0, #000 12px, #000 calc(100% - 12px), transparent 100%); }
.feed-track { display: flex; flex-direction: column; }
.feed-track .feed { flex: none; margin: 0; }
.feed-track .feed li { animation: none; }
.feed-track.is-scrolling { animation: feed-scroll var(--ticker-duration, 24s) linear infinite; }
.feed-window:hover .feed-track, .feed-window:focus-within .feed-track { animation-play-state: paused; }
.new-tag { display: inline-flex; align-items: center; vertical-align: middle; margin-left: 6px; padding: 2px 6px; border-radius: 999px; background: #e8f6ed; color: #187342; font-size: 9px; line-height: 1.4; font-weight: 800; letter-spacing: .04em; animation: new-pulse 1.8s ease-in-out infinite; }
@keyframes feed-scroll { to { transform: translateY(-50%); } }
@keyframes new-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .58; } }
@media (prefers-reduced-motion: reduce) {
  .feed-track.is-scrolling, .new-tag { animation: none; }
  .feed-window { overflow-y: auto; -webkit-mask-image: none; mask-image: none; }
}
@media (max-width: 640px) { .feed-window { max-height: 200px; } }

/* ---------- welcome / split ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); } }
.photo-frame { margin: 0; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); background: var(--grey); position: relative; }
.photo-frame img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.photo-frame figcaption { position: absolute; left: 12px; bottom: 12px; background: rgba(10,26,51,.78); color: #fff; font-size: 12.5px; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.welcome p { color: var(--muted); font-size: 17px; }

/* ---------- explore ---------- */
.explore { background: var(--grey); }
.sec-title { display: flex; align-items: center; gap: 18px; font-size: 22px; color: var(--navy); font-weight: 800; margin-bottom: 28px; }
.sec-title::before, .sec-title::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--navy-2)); }
.sec-title::after { background: linear-gradient(90deg, var(--navy-2), transparent); }
.tiles { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 1100px) { .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 560px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-height: 120px; padding: 16px 10px; border-radius: 14px; text-decoration: none; color: var(--navy); font-weight: 700; font-size: 14.5px; text-align: center; background: #fff; border: 1px solid var(--line); transition: transform .18s, box-shadow .18s, border-color .18s; }
.tile span { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; }
.tile .ic { width: 26px; height: 26px; }
.tl-0 span { background: var(--blue-bg); color: var(--navy-2); } .tl-1 span { background: var(--green-bg); color: var(--green); }
.tl-2 span { background: var(--orange-bg); color: var(--orange); } .tl-3 span { background: #f6efdc; color: var(--gold-t); }
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--gold); }

/* ---------- vision ---------- */
.vision { background: radial-gradient(ellipse at top, var(--navy-2), var(--navy-d) 70%); color: #fff; text-align: center; }
.vision-in { max-width: 860px; }
.vision-ic { width: 58px; height: 58px; border-radius: 50%; border: 1.5px solid var(--gold); color: var(--gold-l); display: inline-grid; place-items: center; margin-bottom: 14px; }
.vision h2 { font-size: clamp(28px, 3.4vw, 40px); color: var(--gold-l); font-weight: 800; }
.vision p { font-size: clamp(18px, 2vw, 21px); line-height: 1.6; color: #e4eaf4; margin: 0; }

/* ---------- page head ---------- */
.page-head { background: linear-gradient(120deg, var(--navy-d), var(--navy-2)); color: #fff; padding: clamp(40px, 6vw, 72px) 0 clamp(36px, 5vw, 60px); position: relative; overflow: hidden; }
.page-head::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; border: 1px solid rgba(201,162,58,.35); box-shadow: 0 0 0 40px rgba(201,162,58,.05), 0 0 0 80px rgba(201,162,58,.04); }
.page-head h1 { font-size: clamp(32px, 4.4vw, 48px); font-weight: 800; letter-spacing: -.015em; max-width: 20em; }
.page-head .kicker { color: var(--gold-l); }
.page-head .lead { color: #d5deec; font-size: 18px; max-width: 42em; margin: 0; }
.page-head.slim { padding-bottom: 36px; }
.back { display: inline-flex; align-items: center; gap: 6px; color: var(--gold-l); text-decoration: none; font-weight: 700; font-size: 14px; margin-bottom: 14px; }
.back .ic { width: 18px; height: 18px; }

/* ---------- about ---------- */
.about-intro p { color: var(--muted); font-size: 17px; }
.about-facts { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 22px; }
.about-facts div { flex: 1 1 130px; background: var(--grey); border-radius: 12px; padding: 14px 16px; }
.about-facts b { display: block; font-size: 30px; color: var(--navy); line-height: 1.1; }
.about-facts span { font-size: 13.5px; color: var(--muted); font-weight: 600; }
.about-photos { display: grid; gap: 16px; position: relative; }
.about-photos .small { width: 58%; margin: -90px 0 0 auto; border: 5px solid #fff; }
@media (max-width: 520px) { .about-photos .small { width: 100%; margin: 0; border: 0; } }

/* ---------- leadership tree ---------- */
.leadership { background: var(--grey); }
.org { margin-top: 36px; display: flex; flex-direction: column; align-items: center; }
.org-top { display: flex; justify-content: center; width: 100%; }
.org-link { width: 2px; height: 34px; background: var(--gold); }
.org-link.tall { height: 46px; }
.org-row { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); width: 100%; position: relative; }
.org-row[style*="--n:2"] { max-width: 780px; }
.org-row[style*="--n:1"] { max-width: 360px; }
.org-row::before { content: ""; position: absolute; top: 0; height: 2px; background: var(--gold); left: calc(100% / (2 * var(--n))); right: calc(100% / (2 * var(--n))); }
.org-cell { position: relative; padding: 30px 10px 0; display: flex; justify-content: center; }
.org-cell::before { content: ""; position: absolute; top: 0; left: calc(50% - 1px); width: 2px; height: 30px; background: var(--gold); }
.wings { width: 100%; display: grid; gap: 26px; }
.wing { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 30px clamp(10px, 2vw, 28px) 28px; display: flex; flex-direction: column; align-items: center; position: relative; }
.wing-label { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--navy); color: var(--gold-l); font-weight: 700; font-size: 13px; padding: 4px 16px; border-radius: 999px; margin: 0; white-space: nowrap; }
.leader { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px 18px 18px; text-align: center; box-shadow: var(--shadow); width: 100%; display: flex; flex-direction: column; align-items: center; transition: transform .2s; }
.leader:hover { transform: translateY(-2px); }
.lv-xl { max-width: 520px; padding: 30px 28px 24px; border: 1.5px solid var(--gold); background: linear-gradient(#fff, #fffdf6); }
.lv-lg { max-width: 440px; border-color: #e7d7a7; }
.lv-md { max-width: 360px; }
.lv-sm { max-width: 340px; padding: 18px 14px 14px; }
.wing .leader { box-shadow: none; }
.wing .lv-lg { box-shadow: var(--shadow); }
.leader-id h3 { font-size: 19px; color: var(--navy); margin: 12px 0 2px; }
.lv-xl .leader-id h3 { font-size: 25px; }
.lv-sm .leader-id h3 { font-size: 17px; }
.desig { font-weight: 700; color: var(--gold-t); font-size: 14px; margin: 0; }
.portfolio { font-size: 14px; color: var(--muted); margin: 2px 0 0; }
.msg { margin-top: 14px; background: var(--grey); border-radius: 12px; padding: 12px 14px; text-align: left; width: 100%; }
.msg h4 { font-size: 13px; color: var(--navy); margin: 0 0 4px; font-weight: 800; }
.msg p { font-size: 14px; margin: 0; color: var(--ink); }
.msg p.pending { color: var(--muted); font-style: italic; }
.lv-xl .msg { background: #f7f1df; padding: 16px 18px; }
.lv-xl .msg h4 { font-size: 15px; }
.lv-xl .msg p { font-size: 15.5px; }
.is-vacant { border-style: dashed; background: #fafbfd; }
.vacant-pill { display: inline-block; background: var(--grey-2); color: var(--muted); font-size: 15px; letter-spacing: .02em; padding: 3px 14px; border-radius: 999px; }
.avatar { border-radius: 50%; display: grid; place-items: center; object-fit: cover; overflow: hidden; position: relative; background: radial-gradient(circle at 35% 30%, #2b4d82, var(--navy)); color: var(--gold-l); font-weight: 800; box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--gold); flex: none; }
.avatar-wrap { display: inline-block; line-height: 0; }
.avatar-wrap > img { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; object-position: center 28%; }
.avatar-fallback { position: absolute; inset: 0; display: grid; place-items: center; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #2b4d82, var(--navy)); color: var(--gold-l); font-weight: 800; line-height: 1; }
.av-xl { width: 152px; height: 152px; font-size: 44px; }
.av-lg { width: 120px; height: 120px; font-size: 36px; }
.av-md { width: 120px; height: 120px; font-size: 34px; }
.av-sm { width: 60px; height: 60px; font-size: 19px; box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--gold); }
.av-vacant { background: var(--grey-2); color: #98a2b5; box-shadow: 0 0 0 3px #fff, 0 0 0 5px #cfd6e2; }
.av-vacant .ic { width: 40%; height: 40%; }
@media (max-width: 760px) {
  .org-row, .org-row[style*="--n:2"] { grid-template-columns: minmax(0, 1fr); }
  .org-row::before { display: none; }
  .org-cell { padding-top: 26px; }
  .org-cell::before { height: 26px; }
  .org-cell:not(:first-child)::before { background: repeating-linear-gradient(var(--gold) 0 4px, transparent 4px 8px); }
}

/* block reps */
.block-reps { background: #fff; border-top: 1px solid var(--line); }
.bm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; margin-top: 18px; max-width: 760px; }
.bm { display: flex; gap: 14px; align-items: center; background: var(--grey); border-radius: 14px; padding: 14px 16px; }
.bm h3 { font-size: 17px; margin: 2px 0 0; color: var(--navy); }
.bm p { margin: 0; font-size: 13.5px; color: var(--muted); }
.bm-block { font-size: 12px; font-weight: 800; color: #fff; background: var(--navy-2); padding: 2px 9px; border-radius: 6px; }

/* service team */
.service { background: linear-gradient(#f2f7f4, #fff 60%); }
.svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 16px; margin-top: 24px; }
.svc { display: flex; gap: 16px; align-items: center; min-width: 0; background: #fff; border: 1px solid #d5e6dc; border-radius: var(--r); padding: 16px 18px; }
.svc > .avatar, .svc > .avatar-wrap { flex: 0 0 84px; width: 84px; height: 84px; }
.svc .avatar { background: radial-gradient(circle at 35% 30%, #3b8a60, #1d5a3a); color: #fff; box-shadow: 0 0 0 3px #fff, 0 0 0 5px #9fcdb2; font-size: 22px; }
.svc > div { flex: 1 1 auto; min-width: 0; }
.svc h3 { font-size: clamp(17px, 2vw, 19px); line-height: 1.25; margin: 0 0 4px; color: var(--navy); overflow-wrap: anywhere; }
.svc .desig { color: var(--green); font-size: 15px; font-weight: 700; line-height: 1.35; margin: 0; }
.svc-desc { font-size: 13.5px; line-height: 1.4; margin: 7px 0 0; color: var(--muted); }
.svc-desc .tbu { display: inline-block; border: 0; border-radius: 0; padding: 0; background: transparent; color: #7b887f; font-style: italic; font-weight: 500; }
@media (max-width: 420px) {
  .svc { gap: 13px; padding: 14px; }
  .svc > .avatar, .svc > .avatar-wrap { flex-basis: 68px; width: 68px; height: 68px; }
}
.staff-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; margin-top: 20px; }
.staff { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); }
.staff-body { padding: 18px 20px 20px; position: relative; }
.staff-ic { position: absolute; top: -26px; right: 18px; width: 50px; height: 50px; border-radius: 14px; background: var(--navy); color: var(--gold-l); display: grid; place-items: center; box-shadow: var(--shadow); }
.staff h3 { font-size: 18px; color: var(--navy); padding-right: 56px; }
.staff p { color: var(--muted); font-size: 15px; margin: 0; }

/* photo placeholders */
.ph { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 0; }
.ph-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: #8693ab; background: linear-gradient(135deg, #eef2f8 25%, #e4eaf3 25% 50%, #eef2f8 50% 75%, #e4eaf3 75%) 0 0 / 22px 22px; }
.ph-empty .ic { width: 40px; height: 40px; opacity: .8; }
.ph-empty small { font-size: 12.5px; font-weight: 700; background: rgba(255,255,255,.85); padding: 2px 10px; border-radius: 999px; color: var(--muted); }
.ph-wide { aspect-ratio: 16 / 9; }
.ph-hero { aspect-ratio: 21 / 9; border-radius: var(--r); }
.ph-detail { border-radius: var(--r); aspect-ratio: 4 / 3; }

/* ---------- community ---------- */
.map-band { padding-top: 32px; }
.map { position: relative; margin: 0; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); height: clamp(260px, 42vh, 460px); background: var(--grey); }
.map img { width: 100%; height: 100%; object-fit: cover; }
.map-note { position: absolute; left: 14px; bottom: 14px; right: 14px; max-width: max-content; display: flex; gap: 8px; align-items: center; background: rgba(10,26,51,.85); color: #fff; font-size: 14px; font-weight: 600; padding: 8px 14px; border-radius: 10px; }
.map-note .ic { color: var(--gold-l); }
.marker { position: absolute; transform: translate(-50%, -50%); width: 36px; height: 36px; border-radius: 50%; background: var(--gold); color: var(--navy-d); font-weight: 800; display: grid; place-items: center; text-decoration: none; box-shadow: 0 0 0 4px rgba(255,255,255,.8); }
.block-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.block-jump a { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 12px; background: var(--navy); color: #fff; text-decoration: none; font-weight: 800; }
.block-jump a:hover { background: var(--gold); color: var(--navy-d); }
.blk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 18px; margin-top: 20px; }
.blk { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.blk:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.blk-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.blk h3 { display: flex; align-items: center; gap: 10px; font-size: 20px; color: var(--navy); }
.blk-letter { width: 36px; height: 36px; border-radius: 10px; background: var(--navy); color: var(--gold-l); display: grid; place-items: center; font-size: 18px; }
.blk dl, .facts { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 4px 0 12px; font-size: 14px; }
.blk dt, .facts dt { color: var(--muted); font-weight: 600; }
.blk dd, .facts dd { margin: 0; font-weight: 600; }
.blk-desc, .blk-info { font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.blk .btn { margin-top: auto; align-self: flex-start; }
.facts { font-size: 16px; background: var(--grey); padding: 16px 18px; border-radius: 12px; margin: 0 0 8px; }
.park-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 20px; margin-top: 20px; }
.park { background: #fff; border-radius: var(--r); overflow: hidden; border: 1px solid #d5e6dc; }
.park-body { padding: 18px 20px 20px; }
.park h3 { color: var(--navy); font-size: 20px; }
.park p { color: var(--muted); }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.chips li { background: var(--green-bg); color: var(--green); font-weight: 700; font-size: 13.5px; padding: 5px 12px; border-radius: 999px; }
.seat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 190px), 1fr)); gap: 14px; margin-top: 18px; }
.seat { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); text-decoration: none; color: var(--navy); font-weight: 800; background: #fff; transition: border-color .2s; }
.seat:hover { border-color: var(--gold); }
.seat span { display: block; padding: 12px 14px; }
.seat .ph { aspect-ratio: 4 / 3; }
.detail p { color: var(--muted); }
.ticks { padding-left: 20px; color: var(--muted); }
.pager-band { padding: 0 0 56px; }
.pager { display: flex; justify-content: space-between; gap: 12px; }
.pager a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 700; color: var(--navy); border: 1px solid var(--line); padding: 10px 16px; border-radius: 10px; min-height: 46px; }
.pager a:hover { border-color: var(--navy); }

/* ---------- announcements ---------- */
.toolbar { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-bottom: 28px; }
.search { flex: 1 1 260px; display: flex; align-items: center; gap: 8px; border: 1.5px solid var(--line); border-radius: 12px; padding: 0 14px; background: #fff; }
.search:focus-within { border-color: var(--navy-2); }
.search .ic { color: var(--muted); width: 20px; }
.search input { border: 0; outline: 0; font: inherit; font-size: 16px; padding: 12px 0; width: 100%; background: none; color: var(--ink); }
.select { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--muted); font-size: 14px; }
.select select { font: inherit; font-size: 16px; padding: 11px 12px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); min-height: 48px; max-width: 100%; }
.chips-f { display: flex; flex-wrap: wrap; gap: 8px; }
.chips-f button { font: inherit; font-size: 14px; font-weight: 700; padding: 9px 16px; min-height: 44px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--navy); cursor: pointer; }
.chips-f button[aria-pressed="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.wrap-chips { margin-bottom: 24px; }
.upd-group { margin-bottom: 44px; }
.grp-head { margin-bottom: 14px; }
.grp-head .h2 { font-size: 26px; margin-bottom: 4px; }
.upd-list { display: grid; gap: 14px; }
.upd { display: flex; gap: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; transition: box-shadow .2s, border-color .2s; }
.upd:hover { box-shadow: var(--shadow); border-color: #c9d3e3; }
.datechip { flex: none; width: 64px; height: 68px; border-radius: 12px; background: var(--blue-bg); color: var(--navy-2); display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; }
.datechip b { font-size: 24px; line-height: 1; }
.t-event .datechip { background: var(--green-bg); color: var(--green); }
.t-maintenance .datechip { background: var(--orange-bg); color: var(--orange); }
.upd-body { flex: 1; }
.upd-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 6px; font-size: 13px; font-weight: 700; color: var(--muted); }
.upd-meta.on-dark { color: var(--gold-l); }
.upd h3 { font-size: 18px; margin: 0 0 4px; }
.upd h3 a { color: var(--navy); text-decoration: none; }
.upd h3 a:hover { text-decoration: underline; }
.upd p { color: var(--muted); font-size: 15px; margin: 0 0 8px; }
.more { display: inline-flex; gap: 6px; align-items: center; font-weight: 700; font-size: 14px; text-decoration: none; }
.more .ic { width: 16px; height: 16px; }
@media (max-width: 520px) { .upd { flex-direction: column; gap: 10px; } .datechip { flex-direction: row; width: auto; height: auto; gap: 6px; padding: 4px 12px; align-self: flex-start; } .datechip b { font-size: 16px; } }
.article { max-width: 820px; }
.article > p { font-size: 17px; }
.art-img { border-radius: var(--r); margin-bottom: 20px; }
.attach { display: flex; align-items: center; gap: 10px; background: var(--grey); padding: 12px 16px; border-radius: 12px; color: var(--muted); font-weight: 600; margin: 10px 0 20px; }

/* ---------- facilities ---------- */
.club { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px; align-items: center; margin-bottom: 26px; }
@media (max-width: 860px) { .club { grid-template-columns: minmax(0, 1fr); } }
.club-body p { color: var(--muted); font-size: 17px; }
.fac-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 18px; }
.fac-grid.two { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); margin-bottom: 30px; }
.fac { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.fac-body { padding: 18px 20px 20px; position: relative; }
.fac-ic { position: absolute; top: -24px; left: 18px; width: 46px; height: 46px; border-radius: 12px; background: var(--gold); color: var(--navy-d); display: grid; place-items: center; box-shadow: var(--shadow); }
.fac h3 { margin-top: 18px; color: var(--navy); font-size: 19px; }
.fac p { color: var(--muted); font-size: 15px; margin: 0; }
.park-title { display: flex; align-items: center; gap: 10px; color: var(--green); font-size: 21px; margin: 26px 0 16px; }

/* ---------- gallery ---------- */
.gal { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); grid-auto-rows: 190px; gap: 12px; grid-auto-flow: dense; }
.gal-item { position: relative; border: 0; padding: 0; border-radius: 14px; overflow: hidden; cursor: zoom-in; background: linear-gradient(135deg, #e9eef6, #dbe3ef); font: inherit; text-align: left; }
.gal-item.wide { grid-column: span 2; }
@media (max-width: 520px) { .gal-item.wide { grid-column: auto; } }
.gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gal-item:hover img { transform: scale(1.04); }
.gal-ph { position: absolute; inset: 0; display: grid; place-items: center; color: #9aa6bb; }
.gal-ph .ic { width: 42px; height: 42px; }
.gal-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 12px 10px; background: linear-gradient(transparent, rgba(10,26,51,.85)); color: #fff; display: flex; flex-direction: column; }
.gal-cap b { font-size: 13.5px; } .gal-cap small { font-size: 12px; opacity: .85; }
.lb { position: fixed; inset: 0; z-index: 80; background: rgba(6,14,28,.92); display: grid; place-items: center; padding: 16px; }
.lb[hidden] { display: none; }
.lb-in { position: relative; width: min(1000px, 100%); display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; }
.lb-stage img { max-height: 76vh; margin: auto; border-radius: 10px; }
.lb-ph { aspect-ratio: 3 / 2; max-height: 72vh; background: linear-gradient(135deg, #22385e, #142744); border-radius: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: #9fb0cf; font-weight: 600; }
.lb-ph .ic { width: 64px; height: 64px; }
.lb-cap { grid-column: 1 / -1; color: #dfe6f2; text-align: center; margin: 4px 0 0; font-size: 15px; }
.lb-count { opacity: .7; margin-left: 6px; }
.lb-nav, .lb-x { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.08); color: #fff; display: grid; place-items: center; cursor: pointer; }
.lb-nav:hover, .lb-x:hover { background: rgba(255,255,255,.2); }
.lb-x { position: absolute; top: -60px; right: 0; }
@media (max-width: 600px) { .lb-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .lb-stage { grid-column: 1 / -1; grid-row: 1; } .lb-prev { justify-self: start; } .lb-next { justify-self: end; } }

/* ---------- documents ---------- */
.doc-list { display: grid; gap: 12px; }
.doc { display: flex; gap: 16px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.pdf { flex: none; width: 52px; height: 62px; border-radius: 8px; background: #fbe9e7; color: #b3261e; font-weight: 800; font-size: 13px; display: grid; place-items: center; position: relative; clip-path: polygon(0 0, 72% 0, 100% 22%, 100% 100%, 0 100%); }
.doc-body { flex: 1; }
.doc h3 { font-size: 17px; color: var(--navy); margin: 0 0 3px; }
.doc-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; font-weight: 600; color: var(--gold-t); margin: 0 0 4px; }
.doc p:last-child { margin: 0; color: var(--muted); font-size: 14.5px; }
.doc-act { display: flex; gap: 8px; flex-wrap: wrap; }
.doc-pending { font-size: 13px; font-weight: 700; color: var(--muted); background: var(--grey); padding: 7px 12px; border-radius: 8px; white-space: nowrap; }
@media (max-width: 640px) { .doc { flex-wrap: wrap; } .doc-act { width: 100%; padding-left: 68px; } }

/* ---------- finance ---------- */
.fin-month.big { font-size: 17px; }
.fin-boxes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 14px; margin: 10px 0 20px; }
.fin-box { background: var(--grey); border-radius: 14px; padding: 18px 20px; display: flex; flex-direction: column; gap: 4px; }
.fin-box span { color: var(--muted); font-weight: 600; font-size: 14px; }
.fin-box b { font-size: clamp(22px, 3vw, 30px); font-variant-numeric: tabular-nums; }
.fin-box.pos b { color: var(--green); } .fin-box.neg b { color: #b3261e; } .fin-box.net b { color: var(--navy); }
.scroll { overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; font-size: 15px; margin-bottom: 20px; }
.tbl th, .tbl td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
.tbl .num { text-align: right; font-variant-numeric: tabular-nums; }

/* ---------- contact ---------- */
.cc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); gap: 14px; margin: 16px 0 10px; }
.cc { display: flex; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.cc h3 { font-size: 16.5px; margin: 0; color: var(--navy); }
.cc .desig { font-size: 13.5px; }
.cc .portfolio { font-size: 13.5px; }
.cc-lines { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 6px; font-size: 14px; }
.cc-lines li { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.cc-lines .ic { width: 18px; height: 18px; color: var(--navy-2); }
.cc-lines.big { font-size: 15.5px; gap: 10px; }
.assoc { display: flex; gap: 22px; align-items: flex-start; background: var(--grey); border-radius: 20px; padding: clamp(20px, 3vw, 32px); }
.assoc .h3 { margin-top: 0; }
.assoc p { color: var(--muted); }
@media (max-width: 520px) { .assoc { flex-direction: column; } }

/* ---------- footer ---------- */
.footer { background: var(--navy-d); color: #cfd8e8; padding-top: 44px; }
.foot-values { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 22px; padding-bottom: 34px; border-bottom: 1px solid rgba(255,255,255,.1); }
.fv { display: flex; gap: 14px; align-items: flex-start; }
.fv > span { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid rgba(201,162,58,.6); color: var(--gold-l); display: grid; place-items: center; flex: none; }
.fv b { color: #fff; font-size: 16px; }
.fv p { font-size: 14px; margin: 2px 0 0; }
.foot-main { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); gap: 30px; padding-top: 34px; padding-bottom: 30px; }
@media (max-width: 760px) { .foot-main { grid-template-columns: minmax(0, 1fr); } }
.foot-brand { display: flex; gap: 14px; align-items: flex-start; }
.foot-brand b { color: #fff; font-size: 16px; }
.foot-brand p { font-size: 14px; margin: 4px 0 0; }
.footer h2 { font-size: 15px; color: var(--gold-l); margin-bottom: 12px; }
.foot-links { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 18px; }
.foot-links li { margin-bottom: 6px; break-inside: avoid; }
.foot-links a { color: #cfd8e8; text-decoration: none; font-size: 14.5px; }
.foot-links a:hover { color: #fff; text-decoration: underline; }
.foot-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 14.5px; }
.foot-contact li { display: flex; gap: 10px; align-items: flex-start; }
.foot-contact .ic { color: var(--gold-l); width: 19px; height: 19px; margin-top: 2px; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-top: 18px; padding-bottom: 22px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; color: #9fb0cf; }


.image-upload-preview { width: 176px; height: 176px; margin: 10px 0; border: 1px dashed #cbd5e1; border-radius: 12px; background: #f4f6fa; display: grid; place-items: center; overflow: hidden; color: #64748b; font-size: 12px; text-align: center; padding: 8px; }
.image-upload-preview img { width: 100%; height: 100%; object-fit: cover; object-position: center 28%; border-radius: 8px; }

.finance-public{max-width:1120px}.finance-verified{padding:12px 16px;border-left:3px solid #b58a3a;background:#f7f4ed;color:#26364d;margin-bottom:22px}.finance-funds{margin-top:14px}.finance-note{margin:22px 0 30px;color:#536174}.treasurer-message{display:grid;grid-template-columns:190px 1fr;gap:28px;align-items:center;margin:38px 0;padding:28px;background:#f7f5f0;border:1px solid #e8e2d6;border-radius:14px}.treasurer-photo-wrap{width:190px;aspect-ratio:1;overflow:hidden;border-radius:12px;background:#e8eaf0}.treasurer-photo{display:block;width:100%;height:100%;object-fit:cover;object-position:center 25%}.treasurer-photo-placeholder{width:100%;height:100%;display:grid;place-items:center;color:#fff;background:#172b49;font-size:42px;font-weight:800}.treasurer-copy h2{margin:5px 0;color:#172b49}.treasurer-role{margin:0 0 14px;color:#8b6b31;font-weight:700}.treasurer-copy p:last-child{line-height:1.8}.finance-privacy{padding:15px 18px;background:#edf3f6;border-radius:8px;color:#30445b;font-size:.94rem;line-height:1.65;margin:28px 0}.finance-source{margin-top:22px;color:#6b7280;font-size:.88rem}@media(max-width:640px){.treasurer-message{grid-template-columns:1fr;padding:20px}.treasurer-photo-wrap{width:150px}}


/* Optional Home page community initiative image, managed from Admin > Site Settings. */
.home-community-initiative { padding: 12px 0 34px; background: #fff; }
.home-community-initiative .wrap { display: flex; justify-content: center; }
.home-community-initiative img { display: block; width: 100%; max-width: 1080px; height: 260px; object-fit: contain; object-position: center; border-radius: 12px; }
@media (max-width: 640px) { .home-community-initiative { padding: 8px 0 24px; } .home-community-initiative img { height: auto; max-height: 190px; } }


/* Announcement rich-text editor and published article typography */
.rich-editor-field{grid-column:1/-1}
.rich-toolbar{display:flex;flex-wrap:wrap;gap:6px;align-items:center;padding:9px;background:#f3f6fa;border:1px solid #dce3eb;border-bottom:0;border-radius:10px 10px 0 0}
.rich-toolbar button{width:auto;min-width:34px;margin:0;padding:7px 10px;border:1px solid #d4dce6;border-radius:6px;background:#fff;color:#182638;font:600 13px/1.2 system-ui;cursor:pointer}
.rich-toolbar button:hover{background:#e8eef5}
.rich-separator{height:23px;border-left:1px solid #cbd5e1;margin:0 3px}
.rich-editor{min-height:260px;padding:16px;border:1px solid #cbd5e1;border-radius:0 0 10px 10px;background:#fff;color:#182638;font:15px/1.7 system-ui;outline:none}
.rich-editor:focus{border-color:#9a7834;box-shadow:0 0 0 3px #c6a45b22}
.rich-editor p{margin:0 0 12px}.rich-editor ul,.rich-editor ol{padding-left:26px;margin:8px 0 14px}.rich-editor h2,.rich-editor h3{margin:18px 0 8px;color:#102746}
.rich-editor-field small{display:block;margin-top:7px;color:#68778a}
.announcement-content{font-size:16px;line-height:1.8;color:#26364a;overflow-wrap:anywhere}
.announcement-content p{margin:0 0 18px}
.announcement-content ul,.announcement-content ol{margin:0 0 20px;padding-left:28px}
.announcement-content li{padding-left:5px;margin:0 0 9px}
.announcement-content h1,.announcement-content h2,.announcement-content h3,.announcement-content h4{color:#102746;line-height:1.35;margin:24px 0 12px}
.announcement-content strong,.announcement-content b{font-weight:750;color:#172b45}
.announcement-content u{text-underline-offset:3px}
.announcement-content br{line-height:1.8}


/* Compact, professional rich-text toolbar — override dashboard-wide button rules */
.rich-editor-field{min-width:0;width:100%;max-width:100%;box-sizing:border-box}
.rich-toolbar{
  display:flex!important;flex-flow:row wrap!important;align-items:center!important;justify-content:flex-start!important;
  gap:7px!important;width:100%;box-sizing:border-box;padding:8px 10px!important;
  background:#f7f9fc!important;border:1px solid #d8e0e9!important;border-bottom:0!important;
  border-radius:9px 9px 0 0!important;overflow:visible!important
}
.rich-toolbar .rich-tool-group{display:inline-flex!important;flex:0 0 auto!important;flex-flow:row nowrap!important;align-items:center!important;gap:3px!important;width:auto!important}
.rich-toolbar button{
  display:inline-flex!important;flex:0 0 34px!important;align-items:center!important;justify-content:center!important;
  width:34px!important;min-width:34px!important;max-width:34px!important;height:32px!important;min-height:32px!important;
  margin:0!important;padding:0!important;border:1px solid transparent!important;border-radius:5px!important;
  background:transparent!important;color:#24364b!important;font:600 14px/1 system-ui,sans-serif!important;
  box-shadow:none!important;cursor:pointer!important
}
.rich-toolbar button:hover,.rich-toolbar button:focus-visible{background:#e7edf5!important;border-color:#cbd5e1!important;outline:none!important}
.rich-toolbar button:active{background:#dbe5f1!important}
.rich-toolbar .rich-separator{display:block!important;flex:0 0 1px!important;width:1px!important;height:22px!important;
  margin:0 2px!important;border:0!important;background:#d5dde7!important}
.rich-toolbar .rich-format-select{
  display:block!important;flex:0 0 auto!important;width:128px!important;max-width:128px!important;height:32px!important;
  margin:0!important;padding:0 26px 0 9px!important;border:1px solid #d5dde7!important;border-radius:5px!important;
  background:#fff!important;color:#24364b!important;font:500 12px/1.2 system-ui,sans-serif!important
}
.rich-editor{
  display:block!important;width:100%!important;max-width:100%!important;min-height:260px!important;box-sizing:border-box!important;
  padding:18px 20px!important;border:1px solid #d5dde7!important;border-radius:0 0 9px 9px!important;
  background:#fff!important;color:#1f2e40!important;font:15px/1.75 system-ui,sans-serif!important;outline:none!important;
}
.rich-editor:focus{border-color:#9a7834!important;box-shadow:0 0 0 2px #c6a45b22!important}
.rich-editor p{margin:0 0 12px!important}
.rich-editor ul,.rich-editor ol{padding-left:26px!important;margin:8px 0 14px!important}
.rich-editor h2,.rich-editor h3{margin:18px 0 8px!important;color:#102746!important}
@media(max-width:640px){
 .rich-toolbar{gap:5px!important;padding:7px!important}
 .rich-toolbar .rich-separator{margin:0 1px!important}
 .rich-toolbar .rich-format-select{width:112px!important;max-width:112px!important}
 .rich-editor{min-height:220px!important;padding:14px!important}
}


/* Single-box rich text editor: compact toolbar in the content field's top-right */
.rich-editor-field{grid-column:1/-1;min-width:0;width:100%;max-width:100%;box-sizing:border-box}
.rich-editor-shell{position:relative;width:100%;min-width:0;box-sizing:border-box;border:1px solid #d5dde7;border-radius:9px;background:#fff;overflow:hidden}
.rich-toolbar{
  position:absolute!important;z-index:2;top:9px;right:10px;
  display:flex!important;flex-flow:row nowrap!important;align-items:center!important;justify-content:flex-end!important;
  gap:3px!important;width:auto!important;max-width:calc(100% - 20px);box-sizing:border-box;
  padding:3px 5px!important;background:#f5f7fa!important;border:1px solid #e0e5ec!important;border-radius:7px!important;
  box-shadow:0 1px 3px #14263a12!important
}
.rich-toolbar button{
  display:inline-flex!important;flex:0 0 28px!important;align-items:center!important;justify-content:center!important;
  width:28px!important;min-width:28px!important;max-width:28px!important;height:27px!important;min-height:27px!important;
  margin:0!important;padding:0!important;border:1px solid transparent!important;border-radius:4px!important;
  background:transparent!important;color:#26384d!important;font:600 13px/1 system-ui,sans-serif!important;
  box-shadow:none!important;cursor:pointer!important
}
.rich-toolbar button:hover,.rich-toolbar button:focus-visible{background:#e7edf5!important;border-color:#d0d9e4!important;outline:none!important}
.rich-toolbar .rich-separator{display:block!important;flex:0 0 1px!important;width:1px!important;height:17px!important;margin:0 2px!important;border:0!important;background:#d5dde7!important}
.rich-editor{
  display:block!important;width:100%!important;max-width:100%!important;min-height:270px!important;box-sizing:border-box!important;
  padding:52px 16px 16px!important;border:0!important;border-radius:0!important;background:transparent!important;
  color:#1f2e40!important;font:15px/1.7 system-ui,sans-serif!important;outline:none!important;overflow-wrap:anywhere
}
.rich-editor:focus{box-shadow:none!important}
.rich-editor p{margin:0 0 12px!important}
.rich-editor ul,.rich-editor ol{padding-left:26px!important;margin:8px 0 14px!important}
.rich-editor h2,.rich-editor h3{margin:18px 0 8px!important;color:#102746!important}
.rich-editor-field>small{display:block;margin-top:6px;color:#68778a}
@media(max-width:640px){
 .rich-toolbar{top:7px;right:7px;gap:1px!important;padding:2px 3px!important}
 .rich-toolbar button{flex-basis:26px!important;width:26px!important;min-width:26px!important;max-width:26px!important;height:25px!important;min-height:25px!important}
 .rich-editor{padding:46px 12px 12px!important;min-height:220px!important}
}

@media (prefers-reduced-motion: reduce) {
  .ad-slide { transition: none; }
}


/* Google Maps location section on Contact Us */
.jrowa-location .location-heading{max-width:720px;margin:0 auto 24px;text-align:center}
.jrowa-location .location-heading>p:last-child{color:var(--muted,#64748b);line-height:1.7}
.location-map-frame{width:100%;height:420px;overflow:hidden;border:1px solid #dce3eb;border-radius:14px;background:#e9eef3;box-shadow:0 8px 24px rgba(16,39,70,.08)}
.location-map-frame iframe{display:block;width:100%;height:100%;border:0}
.location-map-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:18px;padding:18px 20px;background:#fff;border:1px solid #e5eaf0;border-radius:12px}
.location-map-footer p{margin:0;color:#26364a;line-height:1.7}
.location-map-footer .btn{flex:0 0 auto}
@media(max-width:640px){.location-map-frame{height:300px}.location-map-footer{align-items:flex-start;flex-direction:column;padding:16px}.location-map-footer .btn{width:100%;justify-content:center}}


/* Mobile navigation: keep the drawer above page media, cards and overlays. */
@media (max-width:1180px) {
  .topbar { position:sticky; top:0; z-index:2147483000; isolation:isolate; }
  .topbar-in { position:relative; }
  .nav,
  .topbar .nav { position:fixed !important; top:80px !important; left:0 !important; right:0 !important; bottom:0 !important; z-index:2147483002 !important; display:none; overflow-y:auto; background:#fff !important; opacity:1 !important; }
  body.menu-open .nav,
  body.menu-open .topbar .nav { display:block !important; visibility:visible !important; }
  .menu-btn { position:relative; z-index:2147483003; }
  body.menu-open::after {
    content:""; position:fixed; inset:80px 0 0; z-index:2147482999;
    display:block; background:rgba(12,25,42,.48); pointer-events:auto;
  }
  body.menu-open .nav {
    box-shadow:0 18px 36px rgba(12,25,42,.18);
  }
}

/* Correct the fixed-drawer containing block on mobile.
   backdrop-filter on the sticky header otherwise traps position:fixed descendants
   inside the header, allowing page content to appear above/around the drawer. */
@media (max-width:1180px) {
  .topbar {
    backdrop-filter:none !important;
    -webkit-backdrop-filter:none !important;
    filter:none !important;
    transform:none !important;
    perspective:none !important;
    contain:none !important;
  }
  .topbar-in { transform:none !important; filter:none !important; }
  .topbar .nav,
  body.menu-open .topbar .nav {
    position:fixed !important;
    top:120px !important;
    left:0 !important;
    right:0 !important;
    bottom:0 !important;
    z-index:2147483002 !important;
    display:none;
    background:#fff !important;
    opacity:1 !important;
    visibility:visible !important;
    overflow-y:auto !important;
    box-shadow:0 18px 36px rgba(12,25,42,.18);
  }
  body.menu-open .topbar .nav { display:block !important; }
  .topbar .menu-btn { z-index:2147483003 !important; }
}


/* Community digital initiative banner on Contact Us — reduced to 35% of original display height */
.digital-initiative{padding:9px 0}
.digital-initiative-upload-only{display:flex;justify-content:center;align-items:center;max-width:100%;margin:0 auto}
.digital-initiative-upload-only img{display:block;width:auto;max-width:100%;max-height:182px;height:auto;object-fit:contain;border-radius:12px}
@media(max-width:640px){.digital-initiative{padding:6px 0}.digital-initiative-upload-only img{max-height:126px}}


/* Home page — President's message */
.president-message-band{padding:34px 0}
.president-message-card{max-width:1080px;margin:0 auto;padding:30px 34px;background:linear-gradient(115deg,#f7f9fc 0%,#fff 72%);border:1px solid #e3e8f0;border-radius:18px;box-shadow:0 12px 32px rgba(17,38,67,.07)}
.president-message-heading{margin-bottom:20px}
.president-message-kicker{display:block;margin-bottom:7px;color:#b58a27;font-size:.72rem;font-weight:800;letter-spacing:.17em;text-transform:uppercase}
.president-message-heading .h2{margin:0;color:#142d50}
.president-message-rule{display:block;width:54px;height:3px;margin-top:13px;background:#c39221;border-radius:3px}
.president-message-body{display:grid;grid-template-columns:150px minmax(0,1fr);gap:26px;align-items:start}
.president-message-photo{display:block;width:150px;height:176px;object-fit:cover;object-position:center 25%;border-radius:12px;background:#edf1f6}
.president-message-quote-mark{width:74px;height:74px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:#edf2f8;color:#c39221;font-family:Georgia,serif;font-size:5rem;line-height:1}
.president-message-copy blockquote{margin:0;color:#465365;font-size:1rem;line-height:1.8;white-space:normal}
.president-message-signature{display:flex;flex-direction:column;gap:3px;margin-top:20px;padding-left:13px;border-left:4px solid #c39221;color:#142d50}
.president-message-signature strong{font-size:1.05rem}
.president-message-signature span{font-size:.84rem;color:#657286}
@media(max-width:640px){.president-message-band{padding:22px 0}.president-message-card{padding:21px 18px;border-radius:14px}.president-message-heading{margin-bottom:15px}.president-message-body{grid-template-columns:1fr;gap:14px}.president-message-photo{width:104px;height:120px}.president-message-quote-mark{width:52px;height:52px;font-size:3.6rem}.president-message-copy blockquote{font-size:.92rem;line-height:1.7}.president-message-signature{margin-top:15px}}


/* ---------- Homepage space optimisation sample (preview branch) ---------- */
/* Preserve the existing JROWA visual identity; tighten spacing without removing content. */
.topbar-in { min-height: 68px; gap: 14px; }
.brand { gap: 9px; }
.brand img { width: 44px; height: 44px; }
.nav a { padding: 8px 8px 7px; }
.hero { min-height: 420px; padding: 42px 0 104px; }
.hero h1 { font-size: clamp(32px, 4.4vw, 46px); }
.hero p { font-size: 16px; line-height: 1.5; margin-bottom: .7em; }
.hero-btns { margin-top: 18px; gap: 9px; }
.btn { min-height: 42px; padding: 8px 16px; }
.dashboard { margin-top: -66px; }
.dash-grid { gap: 12px; }
.dash { padding: 15px; border-radius: 13px; }
.dash header { gap: 8px; margin-bottom: 8px; }
.dash-ic { width: 33px; height: 33px; border-radius: 9px; }
.feed-row { gap: 8px; padding: 7px 3px; }
.feed-title { font-size: 13.5px; }
.feed-sum { font-size: 12px; }
.feed-date { font-size: 11.5px; }
.feed-window { max-height: 184px; }
.fin-fig { padding: 7px 9px; font-size: 13px; }
.fin-note { margin-top: 7px; }
.dash-link { padding-top: 7px; font-size: 13px; }
.band { padding: clamp(28px, 4vw, 54px) 0; }
.welcome-grid { gap: clamp(18px, 2vw, 26px); }
.welcome-copy .h2 { font-size: clamp(22px, 2vw, 30px); }
.welcome p { font-size: 15px; line-height: 1.5; }
.photo-frame figcaption { left: 9px; bottom: 9px; }
.explore .sec-title { margin-bottom: 18px; }
.tiles { gap: 10px; }
.tile { min-height: 94px; padding: 11px 8px; gap: 7px; font-size: 13px; border-radius: 11px; }
.tile span { width: 39px; height: 39px; border-radius: 10px; }
.tile .ic { width: 22px; height: 22px; }
.vision-in { padding-top: 0; padding-bottom: 0; }
.vision p { max-width: 760px; margin: 0 auto; line-height: 1.5; }
.president-message-card { padding: clamp(18px, 2.5vw, 28px); }
.president-message-heading { margin-bottom: 12px; }
.president-message-body { gap: 14px; }
.president-message-copy blockquote { margin: 0; line-height: 1.55; }
@media (max-width: 1180px) {
  .topbar-in { min-height: 68px; }
  .nav { top: 68px; }
}
@media (max-width: 1100px) {
  .hero { min-height: 390px; padding-bottom: 92px; }
  .dash-grid { gap: 11px; }
}
@media (max-width: 640px) {
  .topbar-in { min-height: 62px; padding-left: 14px; padding-right: 14px; }
  .brand img { width: 38px; height: 38px; }
  .brand-txt strong { font-size: 15px; }
  .brand-txt span { font-size: 10.5px; }
  .nav { top: 62px; }
  .hero { min-height: 350px; padding: 32px 0 78px; }
  .hero h1 { font-size: clamp(29px, 8vw, 36px); }
  .hero p { font-size: 14px; max-width: 27em; }
  .hero .rule { margin: 12px 0 14px; }
  .hero-btns { margin-top: 14px; gap: 8px; }
  .btn { min-height: 39px; padding: 7px 12px; font-size: 13px; }
  .dashboard { margin-top: -48px; }
  .dash-grid { gap: 9px; }
  .dash { padding: 13px; }
  .feed-window { max-height: 150px; }
  .band { padding: 26px 0; }
  .welcome-grid { gap: 15px; }
  .welcome-copy .h2 { font-size: 22px; }
  .welcome p { font-size: 14px; }
  .tiles { gap: 8px; }
  .tile { min-height: 78px; padding: 9px 6px; gap: 5px; font-size: 12px; }
  .tile span { width: 34px; height: 34px; }
  .tile .ic { width: 20px; height: 20px; }
  .president-message-card { padding: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .page { animation: none; }
}


/* ---------- Homepage UX second pass: reduce remaining blank space ---------- */
/* Keep the current layout and content; use denser proportions and tighter rhythm. */
.wrap { max-width: 1320px; padding-left: max(2.5vw, 14px); padding-right: max(2.5vw, 14px); }
.band { padding-top: clamp(20px, 2.8vw, 38px); padding-bottom: clamp(20px, 2.8vw, 38px); }
.hero { min-height: 350px; padding: 30px 0 88px; }
.hero-in { align-items: center; }
.hero-copy { max-width: 620px; }
.hero h1 { margin: 0 0 8px; line-height: 1.08; }
.hero .rule { margin: 12px 0; }
.hero p { margin: 0; max-width: 48ch; }
.hero-btns { margin-top: 16px; }
.dashboard { margin-top: -58px; }
.dash-grid { align-items: stretch; gap: 10px; }
.dash { padding: 13px 14px; }
.dash header { margin-bottom: 7px; }
.dash h2 { line-height: 1.25; }
.feed-window { max-height: 142px; overflow: hidden; }
.feed-row { padding: 6px 2px; line-height: 1.35; }
.feed-row .feed-title { line-height: 1.35; }
.dash-link { margin-top: 7px; }
.fin-month, .fin-note { margin-top: 5px; margin-bottom: 5px; line-height: 1.35; }
.fin-grid { gap: 6px; }
.fin-fig { padding: 6px 8px; }
.welcome-grid { align-items: center; gap: clamp(16px, 2vw, 24px); }
.photo-frame { margin: 0; }
.photo-frame img { display: block; width: 100%; max-height: 300px; object-fit: cover; }
.photo-frame figcaption { padding: 6px 9px; font-size: 11px; }
.welcome-copy .kicker { margin: 0 0 5px; }
.welcome-copy .h2 { margin: 0 0 9px; line-height: 1.18; }
.welcome-copy p { margin: 0 0 10px; line-height: 1.45; }
.welcome-copy .btn { margin-top: 2px; }
.ad-banner-wrap { margin-top: 18px; margin-bottom: 0; }
.ad-carousel { height: 230px; }
.ad-banner-label { padding: 5px 8px; }
.president-message-band { padding-top: 18px; padding-bottom: 18px; }
.president-message-card { padding: 18px 22px; }
.president-message-heading { margin-bottom: 8px; }
.president-message-heading .h2 { margin: 2px 0 5px; }
.president-message-body { gap: 10px; }
.president-message-copy blockquote { line-height: 1.45; }
.president-message-signature { margin-top: 9px; }
.explore.band { padding-top: 24px; padding-bottom: 26px; }
.explore .sec-title { margin-bottom: 12px; }
.tiles { gap: 9px; }
.tile { min-height: 82px; padding: 8px 7px; gap: 5px; }
.tile span { width: 34px; height: 34px; }
.vision.band { padding-top: 22px; padding-bottom: 24px; }
.vision .h2 { margin: 0 0 7px; }
.vision p { margin: 0 auto; line-height: 1.45; }
@media (min-width: 1200px) {
  .dash-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .hero { min-height: 330px; padding: 28px 0 76px; }
  .photo-frame img { max-height: 260px; }
  .ad-carousel { height: 190px; }
}
@media (max-width: 640px) {
  .wrap { padding-left: 14px; padding-right: 14px; }
  .band { padding-top: 18px; padding-bottom: 18px; }
  .hero { min-height: 310px; padding: 24px 0 68px; }
  .hero h1 { line-height: 1.08; margin-bottom: 6px; }
  .hero .rule { margin: 9px 0; }
  .hero p { line-height: 1.4; }
  .hero-btns { margin-top: 12px; }
  .dashboard { margin-top: -42px; }
  .dash { padding: 11px 12px; }
  .feed-window { max-height: 112px; }
  .feed-row { padding: 5px 1px; }
  .welcome-grid { gap: 12px; }
  .photo-frame img { max-height: 210px; aspect-ratio: 16 / 9; }
  .welcome-copy .h2 { margin-bottom: 7px; }
  .welcome-copy p { margin-bottom: 8px; line-height: 1.4; }
  .ad-banner-wrap { margin-top: 12px; }
  .ad-carousel { height: 150px; }
  .president-message-band { padding-top: 12px; padding-bottom: 12px; }
  .president-message-card { padding: 13px 14px; }
  .president-message-body { gap: 7px; }
  .explore.band { padding-top: 18px; padding-bottom: 18px; }
  .tile { min-height: 72px; padding: 7px 5px; }
  .vision.band { padding-top: 16px; padding-bottom: 18px; }
}


/* ---------- Site-wide UX: compact spacing for every interior page ---------- */
.page-head { padding: 34px 0 30px; }
.page-head h1 { margin: 0 0 8px; line-height: 1.12; }
.page-head .lead { font-size: 16px; line-height: 1.45; }
.page-head .kicker { margin-bottom: 5px; }
.page-head.slim { padding-bottom: 24px; }
.back { margin-bottom: 8px; }
main .band { padding-top: clamp(22px, 3vw, 38px); padding-bottom: clamp(22px, 3vw, 38px); }
main .band > .wrap > .h2,
main .band > .wrap > h2.h2 { margin: 0 0 12px; line-height: 1.2; }
main .band p { line-height: 1.5; }
main .band p:last-child { margin-bottom: 0; }
.split { gap: clamp(16px, 2.2vw, 28px); }
.photo-frame { box-shadow: 0 5px 16px rgba(16,39,70,.08); }
.photo-frame figcaption { left: 8px; bottom: 8px; padding: 3px 8px; font-size: 11px; }
.about-intro p { font-size: 15px; margin: 0 0 8px; }
.about-facts { gap: 8px; margin-top: 12px; }
.about-facts div { padding: 10px 12px; border-radius: 10px; }
.about-facts b { font-size: 25px; }
.about-photos { gap: 10px; }
.org { margin-top: 22px; }
.org-link { height: 22px; }
.org-link.tall { height: 28px; }
.org-cell { padding: 20px 7px 0; }
.org-cell::before { height: 20px; }
.wings { gap: 16px; }
.wing { padding: 22px clamp(8px, 1.6vw, 20px) 18px; border-radius: 16px; }
.leader { padding: 16px 13px 13px; }
.lv-xl { padding: 22px 20px 18px; }
.bm-grid { gap: 9px; margin-top: 12px; }
.bm { gap: 10px; padding: 10px 12px; }
.map-band { padding-top: 22px !important; }
.map { height: clamp(220px, 34vh, 360px); border-radius: 14px; }
.block-jump { margin-top: 10px; gap: 7px; }
.block-jump a { min-width: 34px; min-height: 34px; }
.blk-grid { gap: 12px; margin-top: 14px; }
.blk-body { padding: 12px 14px 14px; }
.blk h3 { margin: 0 0 8px; font-size: 18px; }
.blk-letter { width: 32px; height: 32px; font-size: 16px; }
.blk dl, .facts { gap: 5px 10px; }
.park-grid { gap: 14px; margin-top: 14px; }
.park-body { padding: 12px 14px 14px; }
.park h3 { font-size: 18px; margin: 0 0 6px; }
.park p { margin: 0 0 8px; }
.chips { gap: 5px; }
.chips li { padding: 4px 8px; font-size: 12px; }
.seat-grid { gap: 10px; margin-top: 12px; }
.seat span { padding: 8px 10px; }
.club { gap: 20px; margin-bottom: 18px; }
.club-body p { font-size: 15px; }
.fac-grid { gap: 12px; }
.fac-grid.two { margin-bottom: 18px; }
.fac-body { padding: 14px 15px 15px; }
.fac-ic { width: 40px; height: 40px; left: 14px; top: -20px; }
.fac h3 { margin-top: 14px; font-size: 17px; }
.fac p { font-size: 14px; line-height: 1.45; }
.park-content-card { gap: 14px; margin-bottom: 12px; }
.toolbar { gap: 9px; margin-bottom: 18px; }
.search { padding: 0 10px; border-radius: 9px; }
.search input { padding: 8px 0; font-size: 14px; }
.select select { min-height: 40px; padding: 7px 10px; font-size: 14px; }
.chips-f { gap: 6px; }
.chips-f button { min-height: 36px; padding: 6px 12px; font-size: 13px; }
.wrap-chips { margin-bottom: 14px; }
.upd-group { margin-bottom: 26px; }
.grp-head { margin-bottom: 9px; }
.grp-head .h2 { font-size: 23px; margin-bottom: 3px; }
.grp-head .muted { font-size: 14px; }
.upd-list { gap: 9px; }
.upd { gap: 12px; padding: 12px 14px; }
.datechip { width: 54px; height: 58px; border-radius: 9px; }
.datechip b { font-size: 21px; }
.article { max-width: 900px; }
.article > p { font-size: 15.5px; line-height: 1.55; }
.art-img { margin-bottom: 14px; }
.attach { padding: 9px 12px; margin: 8px 0 14px; }
.gal { grid-auto-rows: 165px; gap: 9px; }
.gal-item { border-radius: 10px; }
.gal-cap { padding: 20px 9px 8px; }
.doc-list { gap: 8px; }
.doc { gap: 12px; padding: 11px 13px; border-radius: 10px; }
.pdf { width: 44px; height: 52px; }
.doc h3 { font-size: 16px; }
.doc p:last-child { font-size: 13.5px; }
.doc-act { gap: 6px; }
.fin-boxes { gap: 10px; margin: 8px 0 14px; }
.fin-box { padding: 13px 15px; border-radius: 11px; }
.fin-box b { font-size: clamp(20px, 2.5vw, 27px); }
.finance-verified { padding: 9px 12px; margin-bottom: 14px; }
.finance-note { margin: 14px 0 18px; }
.treasurer-message { gap: 18px; margin: 22px 0; padding: 18px; }
.finance-privacy { margin: 14px 0; font-size: 13px; }
.finance-public .h3 { margin: 18px 0 8px; }
.assoc { gap: 16px; padding: 18px 20px; border-radius: 14px; }
.assoc > img { width: 58px; height: 58px; }
.assoc p { margin: 3px 0 7px; }
.cc-lines.big { gap: 7px; }
.location-heading { margin-bottom: 12px; }
.location-heading > p:last-child { line-height: 1.5; }
.location-map-frame { height: 340px; border-radius: 11px; }
.location-map-footer { gap: 12px; margin-top: 10px; padding: 12px 14px; }
.footer { padding-top: 28px; }
.foot-values { gap: 14px; padding-bottom: 22px; }
.fv { gap: 10px; }
.fv > span { width: 38px; height: 38px; }
.foot-main { gap: 20px; padding-top: 22px; padding-bottom: 20px; }
@media (min-width: 1100px) {
  main .wrap { padding-left: max(2.5vw, 20px); padding-right: max(2.5vw, 20px); }
  .blk-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }
  .fac-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
}
@media (max-width: 760px) {
  .page-head { padding: 26px 0 22px; }
  .page-head h1 { font-size: clamp(27px, 6vw, 36px); }
  .page-head .lead { font-size: 14px; }
  main .band { padding-top: 18px; padding-bottom: 18px; }
  .org { margin-top: 16px; }
  .org-link { height: 16px; }
  .org-link.tall { height: 20px; }
  .org-cell { padding: 16px 4px 0; }
  .org-cell::before { height: 16px; }
  .wing { padding: 20px 8px 14px; }
  .leader { padding: 12px 9px; }
  .map { height: clamp(190px, 34vh, 280px); }
  .blk-grid, .park-grid, .fac-grid { gap: 9px; }
  .blk-body, .park-body, .fac-body { padding: 11px 12px 12px; }
  .toolbar { margin-bottom: 13px; }
  .upd { padding: 10px 11px; }
  .upd-group { margin-bottom: 20px; }
  .gal { grid-auto-rows: 135px; gap: 7px; }
  .doc { padding: 9px 10px; }
  .fin-box { padding: 11px 12px; }
  .treasurer-message { margin: 16px 0; padding: 14px; }
  .assoc { padding: 14px; }
  .location-map-frame { height: 260px; }
  .location-map-footer { align-items: flex-start; flex-direction: column; padding: 12px; }
  .location-map-footer .btn { width: auto; }
  .foot-values { gap: 10px; padding-bottom: 16px; }
  .foot-main { gap: 14px; padding-top: 16px; padding-bottom: 16px; }
}
@media (max-width: 520px) {
  .page-head { padding: 22px 0 18px; }
  .page-head h1 { font-size: 27px; }
  .page-head .lead { font-size: 13.5px; }
  .about-intro p { font-size: 14px; }
  .about-facts div { flex-basis: 95px; padding: 8px 9px; }
  .about-facts b { font-size: 22px; }
  .org-row { grid-template-columns: repeat(var(--n), minmax(0, 1fr)); }
  .org-cell { padding-left: 2px; padding-right: 2px; }
  .leader { font-size: 13px; }
  .gal { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 125px; }
  .gal-item.wide { grid-column: auto; }
  .doc { gap: 9px; }
  .doc-act { padding-left: 53px; }
  .location-map-frame { height: 220px; }
  .location-map-footer .btn { width: 100%; justify-content: center; }
}


/* ---------- Mobile-only regression correction after space optimisation ---------- */
/* Keep desktop/tablet presentation unchanged; restore readable single-column
   leadership cards and a stable date badge on narrow phone screens. */
@media (max-width: 520px) {
  .org-row,
  .org-row[style*="--n:2"],
  .org-row[style*="--n:3"] {
    grid-template-columns: minmax(0, 1fr);
    max-width: 100%;
  }
  .org-row::before { display: none; }
  .org-cell { padding-left: 4px; padding-right: 4px; }
  .org-cell::before { height: 16px; }
  .org-cell:not(:first-child)::before {
    background: var(--gold);
  }
  .leader,
  .lv-sm {
    max-width: 100%;
    padding: 16px 14px 14px;
  }
  .leader-id h3,
  .lv-sm .leader-id h3 {
    font-size: 18px;
    line-height: 1.3;
    overflow-wrap: anywhere;
  }
  .msg { padding: 12px 14px; }
  .msg p { font-size: 14px; line-height: 1.55; overflow-wrap: anywhere; }
  .datechip {
    flex: 0 0 64px;
    width: 64px;
    min-width: 64px;
    height: 68px;
    min-height: 68px;
    padding: 7px 4px;
    gap: 3px;
    line-height: 1.2;
    font-size: 12px;
    box-sizing: border-box;
  }
  .datechip b {
    display: block;
    font-size: 23px;
    line-height: 1.05;
    white-space: nowrap;
  }
}
