:root {
  --primary: #0a2540;
  --primary-dark: #06182b;
  --accent: #d62828;
  --ink: #0b1524;
  --muted: #5b6b7c;
  --line: #d9e3ee;
  --soft: #eef4f9;
  --surface: #ffffff;
  --sky: #dfeaf5;
  --danger: #b91c1c;
  --success: #047857;
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 18px;
  --shadow: 0 12px 28px rgba(6, 24, 43, .1);
  --shadow-hover: 0 16px 36px rgba(6, 24, 43, .14);
  --font: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  --display: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  --container: min(1180px, calc(100% - 40px));
  --header-h: 84px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  background:
    linear-gradient(180deg, #eef3f8 0%, #f5f8fb 120px, #f7fafc 100%);
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
.icon {
  display: block;
  flex-shrink: 0;
}

::selection {
  background: rgba(214, 40, 40, .18);
  color: var(--primary);
}

.container { width: var(--container); margin: 0 auto; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap; border: 0;
}
.inline-form { display: inline; }

.scroll-progress {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0); transform-origin: left;
}

.skip-link {
  position: fixed; left: 12px; top: 12px; z-index: 200;
  transform: translateY(-150%);
  padding: 10px 14px; background: #fff; border-radius: 8px; box-shadow: var(--shadow);
}
.skip-link:focus { transform: none; }

/* Topbar */
.topbar {
  background: var(--primary-dark);
  color: rgba(255,255,255,.9);
  font-size: 13px;
}
.topbar-inner {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 9px 0; flex-wrap: wrap;
}
.topbar-left, .topbar-right { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
.topbar a, .topbar button {
  color: inherit; background: none; border: 0; cursor: pointer; padding: 0;
  transition: color .15s ease;
}
.topbar a:hover, .topbar button:hover { color: #fff; }
.topbar-action {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 8px;
  transition: background .15s ease, color .15s ease;
}
.topbar-action:hover {
  background: rgba(255,255,255,.08);
  color: #fff;
}
.topbar-action .icon {
  width: 18px; height: 18px; flex-shrink: 0;
}

.mobile-contact-bar {
  display: none;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  background: var(--primary-dark);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.mobile-contact-bar a,
.mobile-contact-bar button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  padding: 8px 6px;
  color: rgba(255,255,255,.88);
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  border: 0;
  border-right: 1px solid rgba(255,255,255,.08);
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  width: 100%;
  transition: background .15s ease, color .15s ease;
}
.mobile-contact-bar a:last-child,
.mobile-contact-bar button:last-child { border-right: 0; }
.mobile-contact-bar a:hover,
.mobile-contact-bar button:hover { background: rgba(255,255,255,.06); color: #fff; }
.mobile-contact-bar .icon { width: 14px; height: 14px; flex-shrink: 0; }
.mobile-contact-bar a span,
.mobile-contact-bar button span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
/* Mobil üst şeritte üye girişi olmasın; giriş sadece header ikonundan */
.mobile-contact-bar [data-open-modal="login-modal"],
.mobile-contact-bar a[href*="uye-paneli"] {
  display: none !important;
}
.icon-btn.header-member-btn { display: none; }

/* Header */
.header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: rgba(255,255,255,.92);
  border-bottom: 1px solid rgba(10,37,64,.06);
  backdrop-filter: blur(16px) saturate(1.2);
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
body.is-scrolled .header {
  border-bottom-color: rgba(10,37,64,.1);
  box-shadow: 0 10px 28px rgba(10, 37, 64, .08);
  background: rgba(255,255,255,.97);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; height: 100%;
}
.brand {
  display: flex; align-items: center; flex-shrink: 0;
  max-width: min(340px, 54vw);
}
.brand-shell {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 8px 16px 8px 14px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(10,37,64,.1);
  box-shadow:
    0 6px 18px rgba(10,37,64,.08),
    inset 0 1px 0 rgba(255,255,255,.9);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.brand-shell::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 3px;
  border-radius: 0 2px 2px 0;
  background: var(--accent);
}
.brand:hover .brand-shell {
  border-color: rgba(10,37,64,.16);
  box-shadow: 0 10px 24px rgba(10,37,64,.12);
  transform: translateY(-1px);
}
.brand-logo {
  display: block;
  height: 64px;
  width: 64px;
  max-width: 64px;
  object-fit: contain;
  object-position: center;
  transition: transform .25s cubic-bezier(.22,1,.36,1);
}
.brand:hover .brand-logo {
  transform: scale(1.03);
}

.nav { display: flex; gap: 2px; font-size: 14.5px; font-weight: 600; }
.nav a {
  position: relative;
  padding: 9px 12px; border-radius: 8px; color: #475569;
  transition: background .15s ease, color .15s ease;
}
.nav a:hover {
  background: var(--soft);
  color: var(--primary);
}
.nav a.is-active {
  background: transparent;
  color: var(--primary);
  font-weight: 750;
}
.nav a.is-active::after {
  content: "";
  position: absolute; left: 12px; right: 12px; bottom: 4px;
  height: 2px; border-radius: 2px; background: var(--accent);
}

.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn, .menu-toggle {
  width: 42px; height: 42px; display: inline-grid; place-items: center;
  border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer;
  transition: border-color .15s ease, background .15s ease, color .15s ease;
}
.icon-btn:hover, .menu-toggle:hover {
  border-color: #cbd5e1; background: var(--soft); color: var(--primary);
}
.menu-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
}
.menu-toggle span {
  display: block; width: 16px; height: 1.6px; margin: 0 auto; background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }

/* Buttons — clean flat */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 0 20px; border: 1px solid transparent;
  border-radius: 10px;
  font-family: var(--font);
  font-weight: 700; font-size: 14.5px; cursor: pointer;
  transition: background .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease;
}
.btn:hover { box-shadow: 0 6px 16px rgba(10, 37, 64, .12); }
.btn.compact { min-height: 40px; padding: 0 16px; font-size: 13.5px; }
.btn.primary {
  background: var(--primary); color: #fff;
}
.btn.primary:hover { background: var(--primary-dark); }
.btn.accent {
  background: var(--accent); color: #fff;
}
.btn.accent:hover { background: #b91c1c; }
.btn.ghost {
  background: #fff; border-color: var(--line); color: var(--ink);
}
.btn.ghost:hover { border-color: #94a3b8; background: var(--soft); box-shadow: none; }
.btn.ghost-light {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.35);
  color: #fff;
  backdrop-filter: blur(4px);
}
.btn.ghost-light:hover {
  background: rgba(255,255,255,.18);
  border-color: rgba(255,255,255,.55);
  box-shadow: none;
}
.btn.full { width: 100%; }

.text-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--primary); font-weight: 700; font-size: 14.5px;
  transition: color .15s ease, gap .15s ease;
}
.text-link::after { content: "→"; transition: transform .15s ease; }
.text-link:hover { color: var(--accent); gap: 10px; }
.text-link:hover::after { transform: translateX(2px); }

/* Quick rail */
.quick-rail {
  position: fixed;
  right: 0;
  top: 50%;
  z-index: 40;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.quick-rail-item {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  max-width: 54px;
  height: 54px;
  overflow: hidden;
  color: #fff;
  background: var(--primary);
  border-radius: 16px 0 0 16px;
  box-shadow: -6px 10px 26px rgba(10, 37, 64, .24);
  transition:
    max-width .3s cubic-bezier(.22, 1, .36, 1),
    background .2s ease,
    box-shadow .2s ease;
}

.quick-rail-item.is-accent { background: var(--accent); }

.quick-rail-icon {
  display: grid;
  place-items: center;
  flex: 0 0 54px;
  width: 54px;
  height: 54px;
}

.quick-rail-icon .icon { width: 22px; height: 22px; }

.quick-rail-label {
  flex: 0 0 auto;
  padding: 0 2px 0 16px;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .01em;
  opacity: 0;
  transition: opacity .2s ease .05s;
}

.quick-rail-item:hover,
.quick-rail-item:focus-visible {
  max-width: 200px;
  box-shadow: -12px 14px 30px rgba(10, 37, 64, .3);
  outline: none;
  background: var(--primary-dark);
  z-index: 2;
}

.quick-rail-item.is-accent:hover,
.quick-rail-item.is-accent:focus-visible { background: #b91c1c; }

.quick-rail-item:hover .quick-rail-label,
.quick-rail-item:focus-visible .quick-rail-label { opacity: 1; }

/* Hero — cinematic geometric */
.hero {
  position: relative;
  min-height: calc(88vh - var(--header-h) - 34px);
  display: flex; align-items: center;
  overflow: hidden;
  color: #fff;
  background: var(--primary-dark);
}
.hero-media {
  position: absolute; inset: 0;
  background: var(--hero-bg) center / cover no-repeat;
  transform: scale(1.06);
  animation: hero-zoom 14s ease-in-out alternate infinite;
  transition: background-image .7s ease;
}
@keyframes hero-zoom {
  from { transform: scale(1.04) translate3d(0,0,0); }
  to { transform: scale(1.1) translate3d(-1.5%, -1%, 0); }
}
.hero::before {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: .35;
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(105deg, rgba(6,24,43,.9) 0%, rgba(10,37,64,.78) 40%, rgba(10,37,64,.55) 72%, rgba(214,40,40,.28) 100%),
    linear-gradient(180deg, transparent 55%, rgba(6,24,43,.55));
  pointer-events: none;
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 720px;
  padding: 80px 0 100px;
}
.hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .55fr);
  gap: 28px;
  align-items: center;
}
.hero-layout .hero-content {
  max-width: none;
  padding: 80px 0 88px;
}
.hero-aside { position: relative; z-index: 2; }
.hero-aside-card {
  padding: 24px 22px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 16px;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 40px rgba(0,0,0,.18);
}
.hero-aside-kicker {
  margin: 0 0 16px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.72);
}
.hero-aside-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
}
.hero-aside-stats a {
  display: grid;
  gap: 2px;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  transition: background .15s ease, border-color .15s ease, transform .15s ease;
}
.hero-aside-stats a:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.24);
  transform: translateY(-2px);
}
.hero-aside-stats strong {
  font-size: 1.45rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
}
.hero-aside-stats span {
  font-size: .82rem;
  font-weight: 650;
  color: rgba(255,255,255,.72);
}
.hero-aside-actions {
  display: grid;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.14);
}
.hero-aside-link {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 10px;
  background: rgba(255,255,255,.06);
  color: #fff;
  font-size: .9rem;
  font-weight: 650;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease;
}
.hero-aside-link .icon { width: 16px; height: 16px; color: #fecaca; flex-shrink: 0; }
.hero-aside-link:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.28);
}
.hero-slider-ui {
  display: grid;
  gap: 14px;
}
.hero-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-nav-btn {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 10px;
  background: rgba(255,255,255,.08);
  color: #fff;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease;
}
.hero-nav-btn .icon { width: 16px; height: 16px; }
.hero-nav-btn:not(.is-next) .icon { transform: rotate(180deg); }
.hero-nav-btn:hover {
  background: rgba(255,255,255,.16);
  border-color: rgba(255,255,255,.36);
}
.hero-pause-btn {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 10px;
  background: rgba(255,255,255,.08);
  color: #fff;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease;
}
.hero-pause-btn:hover {
  background: rgba(255,255,255,.16);
  border-color: rgba(255,255,255,.36);
}
.hero-pause-icon {
  width: 10px;
  height: 12px;
  display: block;
  border-left: 3px solid currentColor;
  border-right: 3px solid currentColor;
}
.hero-pause-btn.is-paused .hero-pause-icon {
  width: 0;
  height: 0;
  border: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 10px solid currentColor;
}
.hero-progress {
  flex: 1;
  height: 4px;
  border-radius: 999px;
  background: rgba(255,255,255,.2);
  overflow: hidden;
}
.hero-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--accent);
  border-radius: inherit;
  transition: width .12s linear;
}
.hero-content > * {
  animation: hero-rise .7s cubic-bezier(.22, 1, .36, 1) both;
}
.hero-content > *:nth-child(1) { animation-delay: .04s; }
.hero-content > *:nth-child(2) { animation-delay: .1s; }
.hero-content > *:nth-child(3) { animation-delay: .16s; }
.hero-content > *:nth-child(4) { animation-delay: .22s; }
.hero-content > *:nth-child(5) { animation-delay: .28s; }
.hero-content > *:nth-child(6) { animation-delay: .34s; }
@keyframes hero-rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
.hero-kicker {
  margin: 0 0 14px;
  display: inline-flex;
  padding: 7px 12px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 8px;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.88);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
}
.hero-brand {
  display: block;
  margin: 0 0 8px;
  font-family: var(--font);
  font-size: clamp(3rem, 8vw, 5.6rem);
  font-weight: 800; letter-spacing: -.04em; line-height: .9;
  color: #fff;
  text-shadow: 0 18px 40px rgba(0,0,0,.28);
}
.hero-brand::after {
  content: "";
  display: block;
  width: 72px; height: 4px; margin-top: 18px;
  background: var(--accent); border-radius: 2px;
}
.hero-heading {
  margin: 0 0 16px;
  display: grid;
  gap: 10px;
}
.hero-slide-title {
  display: block;
  font-family: var(--font);
  font-size: clamp(1.35rem, 2.6vw, 1.9rem);
  font-weight: 600; line-height: 1.3;
  color: rgba(255,255,255,.96);
  max-width: 26ch;
}
.hero-lead {
  margin: 0 0 32px; max-width: 42ch;
  color: rgba(226,232,240,.92); font-size: 1.12rem; font-weight: 500;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.hero-actions .btn { min-height: 50px; padding: 0 24px; font-size: 15px; }
.hero-dots { display: flex; gap: 4px; flex-wrap: wrap; }
.hero-dots button {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.hero-dots button::before {
  content: "";
  width: 28px;
  height: 5px;
  border-radius: 999px;
  background: rgba(255,255,255,.28);
  transition: width .25s ease, background .2s ease;
}
.hero-dots button.active::before,
.hero-dots button:hover::before {
  background: var(--accent);
  width: 44px;
}
.hero-dots button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* Home bridge — ticker + services over hero */
.home-bridge {
  position: relative;
  z-index: 6;
  margin-top: -52px;
  padding-bottom: 8px;
}
.home-bridge-solo {
  margin-top: -64px;
}

/* Announcement ticker */
.announcement-ticker {
  width: var(--container);
  margin: 0 auto 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: 14px;
  box-shadow: 0 14px 32px rgba(10,37,64,.1);
  overflow: hidden;
}
.ticker-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  min-height: 52px;
  padding: 0 4px;
}
.ticker-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #fef2f2;
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.ticker-label .icon { width: 14px; height: 14px; }
.ticker-viewport { min-width: 0; overflow: hidden; padding: 10px 0; position: relative; min-height: 28px; }
.ticker-item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: var(--primary);
  font-weight: 600;
  transition: color .15s ease, opacity .35s ease, transform .35s ease;
  opacity: 0;
  transform: translateY(8px);
  position: absolute;
  left: 0;
  right: 0;
  pointer-events: none;
}
.ticker-item.is-active {
  opacity: 1;
  transform: none;
  position: relative;
  pointer-events: auto;
}
.ticker-item:hover { color: var(--accent); }
.ticker-item time {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 800;
  color: var(--accent);
}
.ticker-item strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 700;
}
.ticker-all {
  margin-right: 14px;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  transition: color .15s ease;
}
.ticker-all:hover { color: var(--accent); }

/* Services */
.services {
  margin-top: 0;
  position: relative;
  z-index: 4;
  padding-bottom: 12px;
}
.services-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.service {
  position: relative;
  display: grid; gap: 10px; padding: 26px 20px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 14px 32px rgba(10,37,64,.08);
  overflow: hidden;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.service::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px; background: transparent;
  transition: background .18s ease;
}
.service:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(10,37,64,.12);
  border-color: #cbd5e1;
}
.service:hover::before { background: var(--accent); }
.service:nth-child(2),
.service:nth-child(4) { transform: none; }
.service:nth-child(2):hover,
.service:nth-child(4):hover { transform: translateY(-5px); }
.service-index {
  position: absolute; top: 16px; right: 18px;
  font-size: .8rem; font-weight: 800; letter-spacing: .08em;
  color: rgba(10,37,64,.2);
}
.service .icon-wrap {
  display: grid; place-items: center;
  width: 56px; height: 56px; margin-bottom: 2px;
  border-radius: 14px;
  background: #fef2f2;
  color: var(--accent);
  transition: background .15s ease, transform .18s ease;
}
.service:hover .icon-wrap { background: #fee2e2; transform: scale(1.04); }
.service .icon { width: 26px; height: 26px; }
.service strong {
  font-size: 1.08rem; color: var(--primary); font-weight: 750;
}
.service span:not(.service-index):not(.icon-wrap) { color: var(--muted); font-size: .92rem; }

/* Stats strip — mobile/tablet only (desktop uses hero-aside) */
.stats-strip-mobile {
  display: none;
}
@media (max-width: 1024px) {
  .stats-strip-mobile { display: block; }
}
.stats-strip {
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
  margin-top: -28px;
  position: relative;
  z-index: 3;
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.stat-card {
  display: flex; align-items: center; gap: 14px;
  padding: 18px 20px;
  border: 1px solid var(--line); border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(10,37,64,.04);
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
  color: inherit;
}
.stat-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 12px 28px rgba(10,37,64,.08);
  transform: translateY(-2px);
}
.stat-icon {
  width: 48px; height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--soft); color: var(--primary);
  flex-shrink: 0;
}
.stat-icon .icon {
  width: 22px;
  height: 22px;
  display: block;
  flex-shrink: 0;
}
.stat-card strong {
  display: block;
  font-size: 1.55rem; font-weight: 800;
  color: var(--primary); line-height: 1.1;
}
.stat-card > div span {
  display: block; font-size: .88rem;
  color: var(--muted); font-weight: 600;
}

/* Quick access -> values strip */
.values-strip {
  padding: 8px 0 24px;
  position: relative;
  z-index: 2;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.value-card {
  padding: 24px 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(10,37,64,.04);
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.value-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 12px 28px rgba(10,37,64,.08);
  transform: translateY(-2px);
}
.value-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  border-radius: 12px;
  background: #fef2f2;
  color: var(--accent);
}
.value-icon .icon { width: 20px; height: 20px; }
.value-card h3 {
  margin: 0 0 8px;
  color: var(--primary);
  font-size: 1.08rem;
  font-weight: 780;
}
.value-card p {
  margin: 0;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.55;
}

.trust-strip {
  padding: 0 0 28px;
  position: relative;
  z-index: 2;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.trust-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 22px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(180deg, #fff 0%, #f8fbff 100%);
  box-shadow: 0 8px 22px rgba(10,37,64,.04);
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.trust-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 12px 28px rgba(10,37,64,.08);
  transform: translateY(-2px);
}
.trust-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #eef4ff;
  color: var(--primary);
}
.trust-icon .icon {
  width: 20px;
  height: 20px;
  display: block;
  flex-shrink: 0;
}
.trust-card > div {
  min-width: 0;
}
.trust-card strong {
  display: block;
  margin-bottom: 6px;
  color: var(--primary);
  font-size: .98rem;
  font-weight: 780;
}
.trust-card > div span {
  display: block;
  color: var(--muted);
  font-size: .86rem;
  line-height: 1.5;
}

.gallery-preview-section { padding-top: 0; }
.gallery-preview-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.gallery-preview-card {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 10px 24px rgba(10,37,64,.08);
}
.gallery-preview-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.gallery-preview-card:hover img { transform: scale(1.05); }
.gallery-preview-overlay {
  position: absolute;
  inset: auto 0 0;
  padding: 14px 12px;
  background: linear-gradient(180deg, transparent, rgba(6,24,43,.88));
  color: #fff;
}
.gallery-preview-overlay strong {
  display: block;
  font-size: .92rem;
  font-weight: 750;
}
.gallery-preview-overlay em {
  display: block;
  margin-top: 4px;
  font-size: .8rem;
  font-style: normal;
  color: rgba(255,255,255,.78);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Sections */
.section { padding: 88px 0; position: relative; }
.section.soft {
  background: var(--soft);
}
.section-head {
  display: flex; justify-content: space-between; align-items: end;
  gap: 20px; margin-bottom: 32px;
}
.section-head.compact { margin-bottom: 18px; align-items: center; }
.section-head .section-title::after {
  content: "";
  display: block;
  width: 48px; height: 3px; margin-top: 12px;
  background: var(--accent); border-radius: 2px;
}
.eyebrow {
  margin: 0 0 10px; font-size: 12px; font-weight: 800;
  letter-spacing: .16em; text-transform: uppercase; color: var(--accent);
}
.section-title {
  margin: 0;
  font-family: var(--font);
  font-size: clamp(1.6rem, 2.8vw, 2.25rem);
  font-weight: 780; color: var(--primary); letter-spacing: -.03em; line-height: 1.15;
}
.section-desc { margin: 14px 0 22px; color: var(--muted); max-width: 44ch; font-size: 1.04rem; }
.about-quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.about-quick-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--primary);
  font-size: .88rem;
  font-weight: 650;
  transition: border-color .15s ease, background .15s ease, color .15s ease;
}
.about-quick-links a .icon { width: 15px; height: 15px; color: var(--accent); }
.about-quick-links a:hover {
  border-color: #cbd5e1;
  background: var(--soft);
}

.about-section { overflow: hidden; }
.about-strip {
  display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: center;
}
.about-visual { position: relative; display: grid; gap: 16px; }
.about-panel {
  position: relative;
  min-height: 180px;
  padding: 32px 28px;
  border-radius: 14px;
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.about-panel::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 5px; background: var(--accent);
}
.about-panel-mark {
  display: block;
  font-family: var(--font);
  font-size: clamp(2.4rem, 4.8vw, 3.4rem);
  font-weight: 800; letter-spacing: -.03em; line-height: .95;
  margin-bottom: 12px;
}
.about-panel p {
  margin: 0; opacity: .85; font-weight: 600; letter-spacing: .04em;
}
.about-points {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
.about-points li {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 18px 16px;
  background: #fff; border-radius: 12px;
  border: 1px solid var(--line);
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.about-point-icon {
  width: 42px; height: 42px; flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 10px;
  background: #fef2f2; color: var(--accent);
}
.about-point-icon .icon { width: 18px; height: 18px; }
.about-points li > div { display: grid; gap: 4px; min-width: 0; }
.about-points li:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(10,37,64,.08);
  border-color: #cbd5e1;
}
.about-points li:nth-child(even) { transform: none; }
.about-points li:nth-child(even):hover { transform: translateY(-2px); }
.about-points strong {
  font-family: var(--display);
  color: var(--primary); font-weight: 750;
}
.about-points span { color: var(--muted); font-size: .9rem; }

/* Cards */
.grid.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: #fff; border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
  box-shadow: 0 8px 22px rgba(10,37,64,.04);
}
.card:hover {
  box-shadow: 0 16px 36px rgba(10,37,64,.1);
  transform: translateY(-4px);
  border-color: #cbd5e1;
}
.card-media {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: linear-gradient(180deg, #f8fafc 0%, #e8eef5 100%);
}
.card-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  image-rendering: auto;
  transition: transform .45s cubic-bezier(.22,1,.36,1);
}
.card:hover .card-img { transform: scale(1.02); }
.card-body { padding: 18px 18px 20px; display: grid; gap: 10px; }
.card-meta {
  display: flex; justify-content: space-between; gap: 10px; align-items: center;
  font-size: 12px; font-weight: 750; color: var(--muted);
}
.card-meta span {
  display: inline-flex; align-items: center; min-height: 26px; padding: 0 10px;
  border-radius: 6px; background: #fef2f2; color: var(--accent);
  text-transform: uppercase; letter-spacing: .04em; font-size: 11px;
}
.card-meta time { letter-spacing: .02em; }
.card-body h3 {
  margin: 0; font-family: var(--display);
  font-size: 1.14rem; line-height: 1.3; color: var(--primary); font-weight: 750;
}
.card-body p {
  margin: 0; color: var(--muted); font-size: .92rem;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  font-weight: 750;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .04em;
}
.card-arrow {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #fef2f2;
  color: var(--accent);
  transition: background .15s ease, transform .15s ease;
}
.card-arrow .icon { width: 14px; height: 14px; }
.card:hover .card-arrow {
  background: var(--accent);
  color: #fff;
  transform: translateX(2px);
}
.card .card-foot {
  color: var(--primary);
}
.card:hover .card-foot { color: var(--accent); }

.feature-stage { display: grid; grid-template-columns: 1.35fr .65fr; gap: 18px; }
.feature-lead {
  position: relative; min-height: 460px;
  border-radius: 16px;
  overflow: hidden; color: #fff; background: var(--primary);
  box-shadow: 0 18px 40px rgba(10,37,64,.16);
  transition: transform .28s ease, box-shadow .28s ease;
}
.feature-lead:hover { transform: translateY(-4px); box-shadow: 0 24px 48px rgba(10,37,64,.2); }
.feature-lead img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .5;
  transition: transform .6s ease, opacity .3s ease;
}
.feature-lead:hover img { transform: scale(1.06); opacity: .42; }
.feature-lead::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 25%, rgba(6,24,43,.88));
}
.feature-lead-copy {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 28px; z-index: 1;
}
.feature-lead-copy span {
  display: inline-block; margin-bottom: 10px; padding: 6px 10px;
  font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: #fff; background: var(--accent); border-radius: 6px;
}
.feature-lead-copy h3 {
  margin: 0 0 10px; font-family: var(--display);
  font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 800; letter-spacing: -.02em;
}
.feature-lead-copy p { margin: 0; opacity: .88; max-width: 42ch; }
.feature-side { display: grid; gap: 14px; }
.feature-side-item {
  display: grid; grid-template-columns: 104px 1fr; gap: 14px; align-items: center;
  padding: 12px; border: 1px solid var(--line);
  border-radius: 12px; background: #fff;
  box-shadow: 0 8px 20px rgba(10,37,64,.05);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.feature-side-item:hover {
  box-shadow: 0 10px 24px rgba(10,37,64,.08);
  border-color: #cbd5e1;
}
.feature-side-item img {
  width: 104px; height: 78px; object-fit: contain; object-position: center;
  border-radius: 10px; background: linear-gradient(180deg, #f8fafc, #e8eef5);
}
.feature-side-item span { display: block; font-size: 12px; color: var(--muted); margin-bottom: 4px; font-weight: 700; }
.feature-side-item strong {
  font-family: var(--display);
  font-size: 1rem; color: var(--primary); font-weight: 750;
}

.news-section {
  border-top: 3px solid var(--accent);
}

/* Twin lists */
.twin-section { background: #fff; }
.twin { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.twin-panel {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(10,37,64,.04);
}
.twin-panel:first-child {
  box-shadow: 0 8px 22px rgba(10,37,64,.04), inset 0 3px 0 var(--primary);
}
.twin-panel-accent {
  background: #fff;
  border-color: var(--line);
  box-shadow: 0 8px 22px rgba(10,37,64,.04), inset 0 3px 0 var(--accent);
}
.list-rows { border-top: 1px solid var(--line); margin-top: 4px; }
.list-row {
  display: grid; grid-template-columns: 34px 90px 1fr auto; gap: 12px;
  padding: 16px 8px; border-bottom: 1px solid var(--line); align-items: center;
  border-radius: 12px; transition: background .18s ease, padding .18s ease;
}
.list-row-icon {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #fef2f2;
  color: var(--accent);
}
.list-row-icon .icon { width: 14px; height: 14px; }
.list-row::after {
  content: "→";
  color: #94a3b8; font-weight: 700;
  transition: color .15s ease, transform .15s ease;
}
.list-row:hover {
  background: rgba(10,37,64,.04);
  padding-left: 12px; padding-right: 12px;
}
.list-row:hover::after { color: var(--accent); transform: translateX(3px); }
.list-row time, .date-badge { font-size: 13px; font-weight: 800; color: var(--accent); }
.list-row strong {
  font-family: var(--display);
  color: var(--primary); line-height: 1.35; font-weight: 700;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.event-row { grid-template-columns: 34px 64px 1fr auto; }
.date-badge {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 42px; min-width: 52px; padding: 0 8px;
  border-radius: 10px;
  background: #fef2f2;
}

/* Donate */
.donate-section {
  position: relative; overflow: hidden;
  background: var(--primary);
  color: #fff;
  border-top: 4px solid var(--accent);
}
.donate-section .eyebrow { color: #fecaca; }
.donate-section .section-title,
.donate-section .section-desc { color: #fff; }
.donate-section .section-desc { opacity: .85; }
.donate-box {
  display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center;
  position: relative; z-index: 1;
}
.donate-items { display: grid; gap: 12px; }
.donate-item {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 20px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 12px;
  background: rgba(255,255,255,.08);
  transition: background .15s ease, border-color .15s ease, transform .15s ease;
}
.donate-item:hover {
  background: rgba(255,255,255,.14);
  border-color: rgba(254,202,202,.45);
  transform: translateY(-2px);
}
.donate-item-copy { display: grid; gap: 4px; min-width: 0; }
.donate-item strong {
  font-family: var(--display);
  font-size: 1.08rem; font-weight: 750;
}
.donate-item-copy > span { opacity: .8; font-size: .9rem; }
.donate-item-arrow {
  flex-shrink: 0; width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 10px; background: rgba(255,255,255,.1);
  font-weight: 700; transition: background .15s ease, transform .15s ease;
}
.donate-item:hover .donate-item-arrow {
  background: var(--accent);
  transform: translateX(2px);
}

/* Members */
.members-section {
  background: linear-gradient(180deg, #fff 0%, var(--soft) 100%);
}
.members-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.member-card {
  text-align: center; padding: 28px 18px 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(10,37,64,.04);
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
  position: relative; overflow: hidden;
}
.member-card::before { display: none; }
.member-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(10,37,64,.1);
  border-color: #cbd5e1;
}
.member-photo {
  position: relative; z-index: 1;
  width: 120px; height: 120px; margin: 0 auto 16px;
  border-radius: 50%;
  padding: 3px;
  background: #fff;
  border: 3px solid var(--accent);
  box-shadow: none;
}
.member-card img {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: 50%; background: var(--soft);
}
.member-card h3 {
  position: relative; z-index: 1; margin: 0 0 8px;
  font-family: var(--display); color: var(--primary); font-weight: 750;
}
.member-role {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: #fef2f2;
  color: var(--accent);
  font-size: .84rem;
  font-weight: 700;
}
.member-card p:not(.member-role):not(.member-bio) { position: relative; z-index: 1; margin: 0; color: var(--muted); font-size: .92rem; }

/* Page hero — clean but present */
.page-hero {
  position: relative; padding: 56px 0 60px; overflow: hidden; color: #fff;
  background: var(--primary);
}
.page-hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(420px 200px at 92% 18%, rgba(214,40,40,.12), transparent 62%),
    var(--primary);
}
.page-hero-inner { position: relative; z-index: 1; max-width: 760px; }
.page-hero .breadcrumb {
  margin: 0 0 14px;
}
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 13.5px;
  font-weight: 600;
  color: rgba(255,255,255,.7);
}
.breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.breadcrumb li + li::before {
  content: "/";
  opacity: .45;
  font-weight: 700;
  margin-right: 0;
}
.breadcrumb-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.88);
  font-size: 12.5px;
  font-weight: 650;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.breadcrumb-chip .icon { width: 14px; height: 14px; }
.breadcrumb-chip:hover {
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.28);
  color: #fff;
}
.breadcrumb-chip.is-current {
  background: rgba(214,40,40,.22);
  border-color: rgba(214,40,40,.45);
  color: #fff;
}
.page-hero .breadcrumb a:hover { color: inherit; }
.page-hero h1 {
  margin: 0; font-family: var(--font);
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  letter-spacing: -.025em; font-weight: 800; line-height: 1.12;
}
.page-hero h1::after {
  content: "";
  display: block;
  width: 56px; height: 3px; margin-top: 16px;
  background: var(--accent); border-radius: 2px;
}
.page-hero-lead {
  margin: 16px 0 0; max-width: 52ch;
  color: rgba(226,232,240,.9); font-size: 1.05rem; line-height: 1.6;
}

.inner-section {
  padding-top: 44px; padding-bottom: 72px;
  background: linear-gradient(180deg, #f7fafc 0%, #f5f8fb 100%);
}

.list-layout, .content-wrap {
  display: grid; grid-template-columns: 308px 1fr; gap: 28px; align-items: start;
}
.content-wrap-single {
  grid-template-columns: 1fr;
  max-width: 900px;
  margin: 0 auto;
}
.list-sidebar,
.sidebar {
  position: sticky;
  top: calc(var(--header-h) + 18px);
  align-self: start;
}
.list-main,
.detail-article {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(10,37,64,.04);
  border-top: 3px solid var(--accent);
}
.panel-head { margin-bottom: 20px; }
.panel-head h2 {
  margin: 0 0 8px;
  color: var(--primary);
  font-size: clamp(1.35rem, 2vw, 1.65rem);
  font-weight: 800;
}
.panel-desc {
  margin: 0;
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.55;
  max-width: 52ch;
}
.elevated-form-flush {
  padding: 0;
  border: 0;
  box-shadow: none;
  background: transparent;
}
.contact-layout .contact-card {
  border-top: 3px solid var(--accent);
}
.static-page-layout .static-side { border-top-color: var(--primary); }
.share-box { border-top: 3px solid var(--primary); }
.static-article .static-meta .article-type {
  text-transform: none;
  letter-spacing: 0;
  font-size: 12.5px;
}
.static-info .text-link { display: inline-flex; margin-top: 12px; }
.article-info-strip {
  display: grid;
  gap: 12px;
  margin-bottom: 20px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(180deg, #f8fbff 0%, #fff 100%);
}
.article-info-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: default;
  text-align: left;
  font: inherit;
  color: inherit;
}
.article-info-toggle .mobile-sidebar-chevron {
  display: none;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  color: var(--muted);
  transition: transform .2s ease;
}
.article-info-toggle .mobile-sidebar-chevron path {
  vector-effect: non-scaling-stroke;
}
.article-info-strip-head {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.article-info-strip-head strong {
  color: var(--primary);
  font-size: 1rem;
  font-weight: 750;
}
.article-info-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.article-info-list li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .9rem;
}
.article-info-list li span {
  color: var(--muted);
  font-weight: 600;
}
.article-info-list li b {
  color: var(--primary);
  font-weight: 750;
}
.article-info-strip .text-link {
  font-size: .88rem;
}
.side-box {
  padding: 22px; border: 1px solid var(--line); border-radius: 14px; background: #fff;
  box-shadow: 0 8px 24px rgba(10,37,64,.04);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.side-box-nav {
  border-top: 3px solid var(--accent);
  background: linear-gradient(180deg, #fff 0%, #f8fbff 100%);
}
.side-box:hover { box-shadow: 0 12px 28px rgba(10,37,64,.08); border-color: #cbd5e1; }
.side-box + .side-box { margin-top: 12px; }
.side-box-head { margin-bottom: 12px; }
.side-box-head .eyebrow { margin-bottom: 6px; }
.side-box h3 { margin: 0; font-size: 1.05rem; color: var(--primary); font-weight: 750; }
.side-note { margin: 0 0 14px; color: var(--muted); font-size: .9rem; }
.side-note strong { color: var(--primary); }
.type-nav { display: grid; gap: 6px; }
.type-nav a {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  font-weight: 650;
  font-size: .9rem;
  color: #64748b;
  border: 1px solid transparent;
  background: rgba(255,255,255,.72);
  transition: background .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.type-nav a > span.type-nav-label {
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.type-nav-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #eef2f6;
  color: var(--primary);
  flex-shrink: 0;
}
.type-nav-icon .icon {
  width: 18px;
  height: 18px;
  display: block;
  flex-shrink: 0;
}
.type-count {
  min-width: 28px;
  min-height: 24px;
  padding: 0 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #eef2f6;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  font-style: normal;
  flex-shrink: 0;
}
.type-nav a.active .type-count {
  background: #fef2f2;
  color: var(--accent);
}
.type-nav a:hover .type-nav-icon { background: #e8eef5; }
.type-nav a.active .type-nav-icon {
  background: #fef2f2;
  color: var(--accent);
}
.type-nav a:hover {
  background: #fff;
  color: var(--primary);
  border-color: #e2e8f0;
  box-shadow: 0 4px 12px rgba(10,37,64,.05);
}
.type-nav a.active {
  background: #fff;
  color: var(--primary);
  font-weight: 750;
  border-color: #dbe4ef;
  box-shadow: 0 6px 16px rgba(10,37,64,.06);
}
.type-nav a:not(:has(.type-count)) {
  grid-template-columns: 40px minmax(0, 1fr);
}

.mobile-sidebar { width: 100%; }
.mobile-sidebar-toggle {
  display: none;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--primary);
  font: inherit;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(10,37,64,.05);
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.mobile-sidebar-toggle:hover {
  border-color: #cbd5e1;
  box-shadow: 0 8px 20px rgba(10,37,64,.08);
}
.mobile-sidebar-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.mobile-sidebar-current {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1;
}
.mobile-sidebar-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--soft);
  color: var(--accent);
  flex-shrink: 0;
}
.mobile-sidebar-icon .icon { width: 18px; height: 18px; }
.mobile-sidebar-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.mobile-sidebar-text small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.mobile-sidebar-text strong {
  font-size: .98rem;
  font-weight: 750;
  color: var(--primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mobile-sidebar-toggle .type-count {
  margin-left: auto;
  flex-shrink: 0;
}
.mobile-sidebar-chevron {
  flex-shrink: 0;
  color: var(--muted);
  transition: transform .2s ease, color .15s ease;
}
.mobile-sidebar.is-open .mobile-sidebar-chevron {
  transform: rotate(180deg);
  color: var(--accent);
}
.mobile-sidebar-panel { display: block; }

.list-toolbar {
  display: flex; justify-content: space-between; gap: 16px; align-items: end; margin-bottom: 22px;
  padding-bottom: 16px; border-bottom: 1px solid var(--line);
}
.list-toolbar h2 {
  margin: 0; color: var(--primary); font-size: clamp(1.35rem, 2vw, 1.65rem); font-weight: 780;
}
.inline-search {
  display: flex;
  gap: 8px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--soft);
}
.inline-search input {
  min-height: 44px; min-width: 220px; padding: 0 14px;
  border: 1px solid var(--line); border-radius: 10px; background: #fff;
}

.side-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.side-list li { padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.side-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.side-list span {
  display: block; font-size: 11px; color: var(--muted);
  font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px;
}
.side-list b { color: var(--primary); font-weight: 700; }
.share-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.share-actions .share-btn {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 42px; padding: 0 14px; border: 1px solid var(--line);
  border-radius: 10px; background: #fff; cursor: pointer; font-weight: 600; font-size: 13.5px;
  color: var(--ink);
  transition: border-color .15s ease, background .15s ease, color .15s ease;
}
.share-actions .share-btn .icon { width: 18px; height: 18px; flex-shrink: 0; }
.share-actions .share-btn:hover {
  border-color: #cbd5e1; background: var(--soft); color: var(--primary);
}
.share-actions .share-facebook:hover { color: #1877f2; border-color: #bfdbfe; background: #eff6ff; }
.share-actions .share-x:hover { color: #0f172a; border-color: #cbd5e1; background: #f8fafc; }
.share-actions .share-copy:hover { color: var(--primary); }

.detail-article { min-width: 0; }
.article-meta-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.article-meta-start {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.article-meta-share {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  margin-left: auto;
}
.share-btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  min-width: 36px;
  width: 36px;
  height: 36px;
  padding: 0;
  line-height: 0;
  border-radius: 999px;
}
.share-btn-icon .icon {
  width: 16px;
  height: 16px;
  display: block;
}
.article-type,
.article-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 12.5px;
  font-weight: 650;
  color: var(--primary);
}
.article-type {
  background: #fef2f2;
  border-color: #fecaca;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .04em;
  font-weight: 800;
  font-size: 11px;
}
.article-type .icon,
.article-meta-item .icon { width: 14px; height: 14px; flex-shrink: 0; }
.article-meta-item { color: var(--muted); }
.article-meta-item time,
.article-meta-item span { color: var(--primary); font-weight: 650; }
.detail-cover-wrap {
  margin-bottom: 20px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #f8fafc 0%, #e8eef5 100%);
  display: grid;
  place-items: center;
}
.detail-cover-wrap a {
  display: block;
  width: 100%;
  line-height: 0;
  cursor: zoom-in;
}
.detail-cover {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  margin: 0;
  object-fit: contain;
  object-position: center;
  image-rendering: auto;
}
.lede {
  margin: 0 0 18px; padding: 16px 18px;
  font-size: 1.06rem; color: var(--primary); font-weight: 600; line-height: 1.55;
  background: linear-gradient(90deg, #fef2f2, var(--soft));
  border-left: 3px solid var(--accent); border-radius: 0 12px 12px 0;
}
.prose-body { color: #334155; font-size: 1.02rem; line-height: 1.75; }
.prose-body > *:first-child { margin-top: 0; }
.prose-body > *:last-child { margin-bottom: 0; }
.prose-body p { margin: 0 0 1.1em; }
.prose-body h2, .prose-body h3, .prose-body h4 {
  margin: 1.6em 0 .6em;
  color: var(--primary);
  font-weight: 800;
  line-height: 1.25;
}
.prose-body h2 { font-size: 1.45rem; }
.prose-body h3 { font-size: 1.2rem; }
.prose-body ul, .prose-body ol {
  margin: 0 0 1.1em;
  padding-left: 1.35em;
}
.prose-body li { margin-bottom: .35em; }
.prose-body a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.prose-body a:hover { color: var(--accent); }
.prose-body img {
  display: block;
  max-width: 100%;
  width: auto;
  height: auto;
  margin: 1em auto;
  border-radius: 12px;
  border: 1px solid var(--line);
  object-fit: contain;
  background: #f8fafc;
}
.prose-body blockquote {
  margin: 1.2em 0;
  padding: 14px 18px;
  border-left: 3px solid var(--accent);
  background: var(--soft);
  border-radius: 0 12px 12px 0;
  color: var(--primary);
  font-weight: 600;
}
.prose-body table {
  width: 100%;
  margin: 1.2em 0;
  border-collapse: collapse;
  font-size: .95rem;
}
.prose-body th, .prose-body td {
  padding: 10px 12px;
  border: 1px solid var(--line);
  text-align: left;
}
.prose-body th { background: var(--soft); font-weight: 700; }
.prose h2, .prose h3, .prose-body h2, .prose-body h3 { color: var(--primary); }
.detail-gallery { margin-top: 28px; }
.detail-gallery h3 { margin: 0 0 14px; color: var(--primary); }
.video-frame {
  aspect-ratio: 16/9; margin-top: 20px; border-radius: 12px; overflow: hidden; border: 1px solid var(--line);
}
.video-frame iframe { width: 100%; height: 100%; border: 0; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 12px; }
.gallery-grid a {
  aspect-ratio: 1; overflow: hidden; border-radius: 10px; border: 1px solid var(--line);
  transition: opacity .15s ease;
}
.gallery-grid a:hover { opacity: .9; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; }

.form-shell { display: grid; grid-template-columns: .9fr 1.1fr; gap: 24px; align-items: start; }
.form-shell.compact-shell { grid-template-columns: .95fr 1.05fr; }
.form-aside {
  padding: 30px 28px; border-radius: 14px; background: var(--primary); color: #fff;
  box-shadow: 0 16px 36px rgba(10,37,64,.16);
  position: relative; overflow: hidden;
}
.form-aside::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 5px; background: var(--accent);
}
.form-aside .eyebrow { color: #fecaca; }
.form-aside h2 {
  margin: 0 0 12px; font-size: clamp(1.35rem, 2.2vw, 1.65rem);
  font-weight: 780; line-height: 1.25;
}
.form-aside p { margin: 0 0 16px; opacity: .9; }
.form-aside .clean-list { opacity: .92; font-size: .95rem; }
.clean-list { margin: 0; padding-left: 0; display: grid; gap: 8px; list-style: none; }
.form-stack { display: grid; gap: 16px; }
.form-intro { margin: 0; color: var(--muted); font-size: .95rem; }
.form-grid .field-label { display: inline; }
.form-grid .req {
  display: inline;
  margin-left: 3px;
  color: #c2410c;
  font-weight: 800;
  line-height: 1;
}
.check-line { display: flex !important; align-items: center; gap: 10px; font-weight: 600; }
.check-line input { width: auto !important; min-height: auto !important; margin: 0; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
.form-grid label { display: grid; gap: 7px; font-size: 13.5px; font-weight: 650; color: #334155; }
.form-grid input, .form-grid select, .form-grid textarea,
.newsletter-form input, .search-form input, .search-panel input {
  width: 100%; min-height: 46px; padding: 10px 14px;
  border: 1px solid var(--line); border-radius: 10px; background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.form-grid textarea { min-height: 120px; resize: vertical; }
.form-grid input:focus, .form-grid select:focus, .form-grid textarea:focus,
.newsletter-form input:focus, .search-form input:focus, .inline-search input:focus,
.search-panel input:focus {
  outline: none; border-color: #94a3b8; box-shadow: 0 0 0 3px rgba(10,37,64,.08);
}
.elevated-form {
  padding: 28px; border: 1px solid var(--line); border-radius: 14px; background: #fff;
  box-shadow: 0 8px 24px rgba(10,37,64,.04);
}
.captcha { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.captcha-code {
  min-height: 42px; padding: 0 14px; display: inline-flex; align-items: center;
  background: var(--soft); border-radius: 8px; font-weight: 800; color: var(--primary);
}
.result-panel { padding: 20px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.status-pill {
  display: inline-flex; align-items: center; min-height: 28px; padding: 0 10px;
  border-radius: 999px; background: #f1f5f9; color: var(--primary); font-size: 12px; font-weight: 700;
}
.status-pill.is-paid { background: #ecfdf5; color: #047857; }
.status-pill.is-unpaid { background: #fef2f2; color: #b91c1c; }
.status-pill.is-pending { background: #fffbeb; color: #b45309; }
.status-pill.is-danger { background: #fef2f2; color: #dc2626; }
.status-pill.is-muted { background: #f1f5f9; color: #64748b; }

.error-panel {
  max-width: 640px;
  margin: 0 auto;
  padding: 40px 36px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(10,37,64,.06);
}
.error-code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  min-height: 72px;
  margin-bottom: 16px;
  border-radius: 16px;
  background: #fef2f2;
  color: var(--accent);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -.03em;
}
.error-panel h2 {
  margin: 0 0 10px;
  color: var(--primary);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 780;
}
.error-panel p {
  margin: 0 auto 22px;
  max-width: 42ch;
  color: var(--muted);
  line-height: 1.6;
}
.error-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.error-actions .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.error-actions .btn .icon { width: 16px; height: 16px; }

.donation-page { display: grid; gap: 24px; }
.donation-intro {
  padding: 28px; border-radius: 14px; background: #fff; border: 1px solid var(--line);
  box-shadow: 0 8px 22px rgba(10,37,64,.04);
  border-left: 4px solid var(--accent);
}
.donation-intro h2 {
  margin: 0 0 8px; color: var(--primary);
  font-size: clamp(1.4rem, 2.2vw, 1.8rem); font-weight: 750;
}
.donation-intro p { margin: 0; color: var(--muted); max-width: 58ch; }
.page-intro-panel {
  margin-bottom: 22px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(10,37,64,.04);
  border-top: 3px solid var(--primary);
}
.page-intro-panel h2 {
  margin: 0 0 8px;
  color: var(--primary);
  font-size: clamp(1.3rem, 2vw, 1.55rem);
  font-weight: 800;
}
.page-intro-panel p {
  margin: 0;
  color: var(--muted);
  max-width: 58ch;
  line-height: 1.55;
}
.donation-list { display: grid; gap: 16px; }
.donation-card {
  display: grid; grid-template-columns: 220px 1fr; gap: 20px; padding: 18px;
  border: 1px solid var(--line); border-radius: 14px; background: #fff;
  box-shadow: 0 8px 22px rgba(10,37,64,.04);
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.donation-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 14px 32px rgba(10,37,64,.1);
  transform: translateY(-2px);
}
.donation-media {
  border-radius: 10px;
  overflow: hidden;
  background: linear-gradient(180deg, #f8fafc, #e8eef5);
  min-height: 160px;
  display: grid;
  place-items: center;
}
.donation-card img, .donation-media img {
  width: 100%;
  height: 100%;
  min-height: 160px;
  max-height: 220px;
  object-fit: contain;
  object-position: center;
}
.donation-body h2 { margin: 0 0 8px; color: var(--primary); font-size: 1.2rem; font-weight: 750; }
.donation-body > p { margin: 0 0 14px; color: var(--muted); }
.donation-form { display: none; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.donation-card.open .donation-form { display: grid; }
.amounts { display: flex; flex-wrap: wrap; gap: 8px; }
.amounts button {
  min-height: 40px; padding: 0 14px; border: 1px solid var(--line);
  border-radius: 8px; background: #fff; cursor: pointer; font-weight: 700;
  transition: border-color .15s ease, background .15s ease, color .15s ease;
}
.amounts button.active, .amounts button:hover {
  border-color: var(--accent); color: var(--accent); background: #fef2f2;
}

.bank-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.bank-card {
  padding: 22px; border: 1px solid var(--line); border-radius: 14px;
  display: grid; gap: 12px; background: #fff;
  box-shadow: 0 8px 22px rgba(10,37,64,.04);
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
  border-top: 3px solid var(--accent);
}
.bank-card-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #fef2f2;
  color: var(--accent);
}
.bank-card-icon .icon { width: 18px; height: 18px; }
.bank-card:hover {
  box-shadow: 0 14px 32px rgba(10,37,64,.1);
  border-color: #cbd5e1;
  transform: translateY(-3px);
}
.bank-card-top { display: grid; gap: 8px; }
.bank-currency {
  display: inline-flex; width: fit-content; min-height: 28px; padding: 0 10px;
  align-items: center; border-radius: 6px; background: #fef2f2;
  font-size: 12px; font-weight: 800; color: var(--accent); letter-spacing: .04em;
}
.bank-card h3 { margin: 0; color: var(--primary); font-weight: 750; }
.bank-account-name { margin: 0; color: var(--muted); font-size: .95rem; }
.bank-iban {
  padding: 12px 14px; border-radius: 10px; background: var(--soft);
  border: 1px dashed #cbd5e1;
}
.bank-iban code {
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: .92rem; font-weight: 700; color: var(--primary);
  word-break: break-all;
}
.bank-card .btn { justify-self: start; gap: 8px; }
.bank-card .btn .icon { width: 15px; height: 15px; }
.bank-card small { color: var(--muted); }

.contact-line { margin: 0 0 12px; color: var(--muted); line-height: 1.5; }
.contact-action {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 12px; margin-bottom: 8px;
  border: 1px solid var(--line); border-radius: 10px;
  background: #fff; color: var(--primary); font-weight: 650;
  transition: border-color .15s ease, background .15s ease;
}
.contact-action:last-child { margin-bottom: 0; }
.contact-action .icon { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; }
.contact-action:hover { background: var(--soft); border-color: #cbd5e1; }
.contact-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.contact-steps li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.5;
}
.step-num {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #fef2f2;
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
}
.contact-hours-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 10px;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.5;
}
.contact-hours-line:last-child { margin-bottom: 0; }
.contact-hours-line .icon { width: 16px; height: 16px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.contact-hours-line span { color: var(--primary); font-weight: 600; }

.footer-social a,
.footer-service a {
  display: flex !important;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.footer-social .icon,
.footer-service .icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.footer-social .icon { opacity: .9; }
.footer-service .icon { opacity: .85; }
.footer-social-empty {
  margin: 0;
  font-size: .86rem;
  color: rgba(255,255,255,.55);
  line-height: 1.5;
}
.newsletter-field {
  display: grid;
  gap: 6px;
  font-size: .82rem;
  font-weight: 700;
  color: rgba(255,255,255,.72);
}
.newsletter-captcha .captcha-hint {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 10px;
  border-radius: 8px;
  background: rgba(255,255,255,.1);
  color: #fff;
  font-size: .95rem;
  letter-spacing: .08em;
  font-weight: 800;
}

.header-cta {
  box-shadow: 0 8px 20px rgba(214, 40, 40, .22);
}

.members-grid-page .member-bio { margin: 10px 0 0; color: var(--muted); font-size: .9rem; line-height: 1.5; }

.member-dashboard { display: grid; gap: 18px; }
.member-summary {
  display: flex; justify-content: space-between; gap: 20px; align-items: end;
  padding: 24px; border-radius: 14px; color: #fff; background: var(--primary);
  border-left: 5px solid var(--accent);
}
.member-summary h2 { margin: 0 0 6px; font-weight: 750; }
.member-summary p { margin: 0; opacity: .82; }
.member-stats { display: flex; gap: 12px; }
.member-stats div {
  min-width: 84px; padding: 12px; border-radius: 10px;
  background: rgba(255,255,255,.12); text-align: center;
}
.member-stats b { display: block; font-size: 1.4rem; }
.member-stats span { font-size: 12px; opacity: .82; }

.member-panel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.member-edit-card { margin: 0; }
.member-edit-head h3 { margin: 4px 0 6px; color: var(--primary); }
.member-edit-head p { margin: 0 0 8px; color: var(--muted); font-size: .92rem; }
.member-edit-card input[readonly],
.member-edit-card input:disabled {
  background: #f1f5f9;
  color: #64748b;
  cursor: not-allowed;
}
.member-qr-box {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  margin: 0;
}
.member-qr-box h3 { margin: 4px 0 8px; color: var(--primary); }
.member-qr-box p { margin: 0 0 10px; color: var(--muted); }
.member-qr-result {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  align-items: center;
}
.member-qr-result h3 { margin: 4px 0 8px; color: var(--primary); }
.qr-block { display: grid; gap: 8px; justify-items: center; text-align: center; }
.qr-block-frame {
  position: relative;
  width: max-content;
  padding: 10px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 10px 24px rgba(10,37,64,.08);
}
.qr-canvas {
  display: none;
}
.qr-loading {
  display: grid;
  place-items: center;
  min-width: 140px;
  min-height: 140px;
  padding: 12px;
  color: var(--muted);
  font-size: .85rem;
  font-weight: 650;
}
.qr-canvas-host {
  display: block;
  line-height: 0;
}
.qr-canvas-host img,
.qr-canvas-host canvas {
  display: block;
  width: 100%;
  height: auto;
}
.qr-fallback-image {
  display: none;
}
.qr-block-caption { margin: 0; color: var(--muted); font-size: .9rem; font-weight: 650; }
.qr-block-link { margin: 0; font-size: .85rem; word-break: break-all; }
.qr-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 4px;
}
.member-card-page { display: grid; gap: 18px; max-width: 820px; }
body.member-scan-body {
  background: #eef2f7;
  margin: 0;
  padding: 16px;
  min-height: 100vh;
}
body.member-scan-body .member-card-page { margin: 0 auto; max-width: 640px; }
.member-id-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(10,37,64,.08);
}
.member-id-card-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 22px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark, #0a2540));
}
.member-id-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.member-id-logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 12px;
  background: rgba(255,255,255,.12);
  padding: 4px;
}
.member-id-kicker {
  margin: 2px 0 0 !important;
  opacity: .9;
  font-weight: 700;
  letter-spacing: .02em;
}
.member-verified-badge {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(34,197,94,.2);
  border: 1px solid rgba(134,239,172,.55);
  color: #ecfdf5;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.member-id-hero {
  padding: 18px 22px 8px;
}
.member-id-hero h1,
.member-id-hero h2 {
  margin: 0;
  color: var(--primary);
  font-size: clamp(1.35rem, 4vw, 1.85rem);
}
.member-id-card-top h1,
.member-id-card-top h2 { margin: 4px 0; font-size: clamp(1.4rem, 4vw, 1.9rem); }
.member-id-card-top p { margin: 0; opacity: .85; font-weight: 700; letter-spacing: .04em; }
.member-no-pill {
  display: inline-block;
  margin-top: 8px !important;
  padding: 6px 10px;
  border-radius: 999px;
  background: #eef2ff;
  color: var(--primary);
  font-weight: 800;
}
.member-id-card-top .member-no-pill {
  background: rgba(255,255,255,.14);
  color: #fff;
}
.member-status-chip {
  display: inline-block;
  margin: 8px 0 0;
  padding: 4px 10px;
  border-radius: 999px;
  background: #ecfdf5;
  color: #047857;
  font-size: 12px;
  font-weight: 800;
}
.member-id-list {
  margin: 0;
  padding: 8px 0;
  display: grid;
}
.member-id-list > div {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 12px;
  padding: 14px 22px;
  border-bottom: 1px solid var(--line);
}
.member-id-list > div:last-child { border-bottom: 0; }
.member-id-list dt {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.member-id-list dd { margin: 0; color: var(--primary); font-weight: 650; word-break: break-word; font-size: 1.02rem; }
.member-id-qr-mini {
  display: none;
  justify-content: center;
  padding: 8px 22px 16px;
}
.member-id-card-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 16px 22px 20px;
  border-top: 1px solid var(--line);
  background: #f8fafc;
}
.member-id-note {
  margin: 0;
  padding: 0 22px 18px;
  color: var(--muted);
  font-size: .88rem;
}

@media (max-width: 900px) {
  .member-panel-grid { grid-template-columns: 1fr; }
  .member-qr-box,
  .member-qr-result { grid-template-columns: 1fr; justify-items: stretch; }
  .member-id-list > div { grid-template-columns: 1fr; gap: 4px; }
  .qr-actions { justify-content: stretch; }
  .qr-actions .btn { flex: 1 1 auto; }
}

@media print {
  body * { visibility: hidden !important; }
  [data-print-root],
  [data-print-root] * { visibility: visible !important; }
  [data-print-root] {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .no-print { display: none !important; }
  .print-only-block { display: flex !important; }
  .member-id-card {
    box-shadow: none !important;
    border: 1px solid #cbd5e1 !important;
    break-inside: avoid;
  }
  .member-qr-result,
  .page-hero,
  .site-header,
  .site-footer,
  .flash-stack,
  .modal-backdrop { display: none !important; }
}

.search-page { display: grid; gap: 22px; }
.search-panel {
  display: grid; grid-template-columns: 1fr auto; gap: 10px;
  padding: 18px; border-radius: 14px; background: #fff; border: 1px solid var(--line);
  box-shadow: 0 10px 28px rgba(10,37,64,.06);
}

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); }
th {
  background: var(--soft); font-size: 12px; text-transform: uppercase;
  letter-spacing: .05em; color: var(--muted); font-weight: 700;
}
tr:last-child td { border-bottom: 0; }
tr:hover td { background: rgba(10,37,64,.02); }

.empty-state {
  padding: 48px 28px;
  border: 1px dashed #cbd5e1;
  border-radius: 16px;
  text-align: center;
  color: var(--muted);
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
  display: grid;
  gap: 10px;
  justify-items: center;
}
.empty-state-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: #fef2f2;
  color: var(--accent);
}
.empty-state-icon .icon { width: 24px; height: 24px; }
.empty-state h3 {
  margin: 4px 0 0;
  color: var(--primary);
  font-size: 1.15rem;
  font-weight: 750;
}
.empty-state p {
  margin: 0;
  max-width: 36ch;
  line-height: 1.55;
  font-weight: 500;
}

.list-pagination { margin-top: 28px; }
.list-pagination ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}
.page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 42px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--primary);
  font-weight: 700;
  font-size: .92rem;
  transition: border-color .15s ease, background .15s ease, color .15s ease;
}
.page-btn:hover {
  border-color: #cbd5e1;
  background: var(--soft);
}
.page-btn.is-current {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.page-prev .icon { transform: rotate(180deg); }
.page-ellipsis {
  display: inline-flex;
  min-width: 28px;
  justify-content: center;
  color: var(--muted);
  font-weight: 700;
}

.search-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 8px;
}
.search-chip {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  font-size: .88rem;
  font-weight: 700;
  transition: border-color .15s ease, background .15s ease, color .15s ease;
}
.search-chip:hover {
  border-color: #cbd5e1;
  color: var(--primary);
}
.search-chip.is-active {
  background: #fef2f2;
  border-color: #fecaca;
  color: var(--accent);
}

.member-summary-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.member-summary-actions form { margin: 0; }

body.modal-open { overflow: hidden; }

.flash-wrap { padding-top: 14px; position: relative; z-index: 40; }
.alert {
  padding: 14px 16px;
  border-radius: 12px;
  font-weight: 650;
  margin-bottom: 8px;
  animation: alert-in .35s ease;
  transition: opacity .3s ease, transform .3s ease;
}
.alert.is-dismissed {
  opacity: 0;
  transform: translateY(-8px);
}

/* CTA band */
.cta-band {
  background: var(--primary);
  color: #fff;
  border-top: 4px solid var(--accent);
  padding: 56px 0;
}
.cta-band-inner {
  display: flex; justify-content: space-between; align-items: center;
  gap: 28px;
}
.cta-band-copy h2 {
  margin: 0 0 10px;
  font-size: clamp(1.5rem, 2.8vw, 2.15rem);
  font-weight: 780; letter-spacing: -.025em; line-height: 1.2;
}
.cta-band-copy p:last-child {
  margin: 0; opacity: .88; max-width: 46ch; line-height: 1.55;
}
.cta-band .eyebrow { color: #fecaca; }
.cta-band-actions {
  display: flex; flex-wrap: wrap; gap: 12px; flex-shrink: 0;
}
.cta-band-actions .btn { min-height: 50px; padding: 0 24px; }

@keyframes alert-in {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}
.alert.success { background: #ecfdf5; color: var(--success); border: 1px solid #a7f3d0; }
.alert.error { background: #fef2f2; color: var(--danger); border: 1px solid #fecaca; }
/* Footer */
.footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,.82);
  padding: 64px 0 28px;
  margin-top: 0;
  position: relative;
  overflow: hidden;
  border-top: 4px solid var(--accent);
}
.footer-glow { display: none; }
.footer-top {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(520px, 2.15fr) minmax(220px, 1fr);
  gap: 32px 24px;
  position: relative;
  align-items: start;
}
.footer-brand { min-width: 0; }
.footer-logo-shell {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(255,255,255,.22);
  box-shadow: 0 12px 28px rgba(0,0,0,.22);
}
.footer-logo {
  display: block;
  height: 64px;
  width: 64px;
  max-width: 64px;
  object-fit: contain;
  object-position: center;
  margin: 0;
  padding: 0;
}
.footer-tagline {
  margin: 0 0 12px;
  color: rgba(255,255,255,.88);
  font-size: .95rem;
  font-weight: 600;
  line-height: 1.45;
  max-width: 28ch;
}
.footer-meta {
  margin: 0 0 8px;
  font-size: .9rem;
  color: rgba(255,255,255,.68);
  line-height: 1.5;
}
.footer-contacts {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 10px;
}
.footer-contacts a {
  color: rgba(255,255,255,.88);
  font-weight: 600;
}
.footer a { transition: color .15s ease; }
.footer a:hover { color: #fff; }

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(168px, 1fr));
  gap: 16px 20px;
}
.footer-col,
.footer-newsletter {
  min-width: 0;
}
.footer-toggle {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 14px;
  padding: 0;
  border: 0;
  background: none;
  color: #fff;
  font: inherit;
  font-size: .95rem;
  font-weight: 750;
  letter-spacing: .01em;
  cursor: default;
  text-align: left;
}
.footer-toggle svg {
  display: none;
  flex-shrink: 0;
  transition: transform .22s ease;
}
.footer-links {
  display: grid;
  gap: 10px;
}
.footer-links a {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  font-size: .9rem;
  line-height: 1.35;
  color: rgba(255,255,255,.72);
}
.footer-links a span {
  white-space: nowrap;
}
.footer-links a:hover { color: #fff; }
.footer-newsletter-body p {
  margin: 0 0 12px;
  font-size: .9rem;
  color: rgba(255,255,255,.68);
}
.newsletter-form { display: grid; gap: 8px; }
.newsletter-form input {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.2);
  color: #fff;
}
.newsletter-form .btn {
  min-height: 44px;
  font-weight: 700;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,.45); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: 13px;
  position: relative;
  color: rgba(255,255,255,.58);
}

/* Modals */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 90; display: grid; place-items: center;
  padding: 16px; background: rgba(6,24,43,.55); opacity: 0; visibility: hidden;
  transition: .22s ease; backdrop-filter: blur(4px);
}
.modal-backdrop.active { opacity: 1; visibility: visible; }
.modal {
  width: min(440px, 100%);
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 24px 56px rgba(6,24,43,.22);
  transform: translateY(10px) scale(.98);
  transition: transform .22s ease;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--line);
}
.modal-backdrop.active .modal { transform: none; }
.modal.large { width: min(960px, 100%); }
.modal.large .modal-body { padding: 12px 14px 16px; }
.modal-close-floating {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--muted);
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.modal-close-floating:hover {
  background: var(--soft);
  border-color: #cbd5e1;
  color: var(--primary);
}
.modal-auth-header {
  padding: 28px 24px 18px;
  text-align: center;
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
  border-bottom: 1px solid var(--line);
}
.modal-auth-icon {
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 14px;
  border-radius: 16px;
  background: #fef2f2;
  color: var(--accent);
  border: 1px solid #fecaca;
}
.modal-auth-icon .icon { width: 26px; height: 26px; }
.modal-auth-header h3 {
  margin: 0 0 8px;
  color: var(--primary);
  font-size: 1.25rem;
  font-weight: 800;
}
.modal-auth-header .modal-lead {
  margin: 0 auto;
  max-width: 30ch;
  font-size: .9rem;
}
.modal-body { padding: 22px 24px 24px; }
.modal-form label {
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
}
.modal-form input {
  padding-right: 14px;
  background: #fff;
}
.modal-form .btn.primary { min-height: 48px; margin-top: 4px; }
.modal-link {
  display: block;
  margin-top: 4px;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--soft);
  border: 1px solid var(--line);
  color: var(--primary);
  font-weight: 600;
  font-size: .88rem;
  text-align: center;
  transition: background .15s ease, border-color .15s ease;
}
.modal-link:hover {
  background: #e8f0f7;
  border-color: #cbd5e1;
}
.search-form { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.modal-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 18px; border-bottom: 1px solid var(--line);
}
.modal-head h3 { margin: 0; color: var(--primary); }
.modal-close {
  width: 34px; height: 34px; border: 0; border-radius: 10px; background: var(--soft); cursor: pointer; font-size: 1.2rem;
  transition: background .15s ease;
}
.modal-close:hover { background: #e2e8f0; }
.modal-lead {
  color: var(--muted);
  line-height: 1.5;
}
.lightbox-img {
  width: 100%;
  max-height: 85vh;
  object-fit: contain;
  background: #0a2540;
  border-radius: 8px;
}

.mobile-bottom-nav {
  display: none; position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 45;
  grid-template-columns: repeat(4, 1fr); gap: 4px; padding: 8px;
  background: rgba(255,255,255,.96); border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow); backdrop-filter: blur(10px);
}
.mobile-bottom-nav a {
  display: grid; justify-items: center; gap: 3px; padding: 8px 2px;
  font-size: 10px; font-weight: 700; color: var(--muted); border-radius: 10px;
  transition: background .15s ease, color .15s ease;
}
.mobile-bottom-nav a span {
  white-space: nowrap;
  line-height: 1.15;
  text-align: center;
}
.mobile-bottom-nav a:hover,
.mobile-bottom-nav a.is-active {
  background: var(--soft); color: var(--primary);
}
.mobile-bottom-nav a.is-active { font-weight: 800; }
.mobile-bottom-nav .icon { width: 20px; height: 20px; color: var(--primary); }

.back-top {
  position: fixed; right: 18px; bottom: 18px; z-index: 39;
  width: 46px; height: 46px; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 50%; background: #fff;
  color: var(--primary); cursor: pointer; opacity: 0; pointer-events: none;
  box-shadow: var(--shadow); transition: .2s ease;
}
body.is-scrolled .back-top { opacity: 1; pointer-events: auto; }
.back-top:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

@media (min-width: 1025px) and (max-width: 1140px) {
  .footer-top {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
  }
  .footer-brand { grid-column: 1; }
  .footer-nav {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: start;
  }
  .footer-newsletter { grid-column: 1; }
}

@media (min-width: 1025px) {
  .back-top { right: 72px; }
}

.reveal {
  opacity: 0;
  transform: translateY(24px) scale(.98);
  transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1);
}
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-media { animation: none !important; }
}
.no-reveal .reveal { opacity: 1; transform: none; }
.reveal:nth-child(2) { transition-delay: .06s; }
.reveal:nth-child(3) { transition-delay: .12s; }
.reveal:nth-child(4) { transition-delay: .18s; }

@media (max-width: 1024px) {
  .nav {
    position: fixed; inset: calc(var(--header-h) + 34px) 12px auto; z-index: 60;
    display: none; flex-direction: column; padding: 12px;
    background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow);
  }
  .nav.active { display: flex; }
  .nav a.is-active {
    background: var(--soft);
  }
  .nav a.is-active::after { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .services-grid, .grid.three, .members-grid, .bank-grid, .stats-grid, .values-grid,
  .trust-grid, .gallery-preview-grid { grid-template-columns: 1fr 1fr; }
  .hero-layout { grid-template-columns: 1fr; }
  .hero-aside { display: none; }
  .home-bridge { margin-top: -32px; }
  .home-bridge-solo { margin-top: -36px; }
  .announcement-ticker { margin-bottom: 12px; }
  .ticker-inner { grid-template-columns: 1fr; gap: 8px; padding: 12px 14px; }
  .ticker-label { margin-left: 0; }
  .ticker-all { margin-right: 0; justify-self: start; }
  .services { margin-top: 0; }
  .cta-band-inner { flex-direction: column; align-items: stretch; text-align: left; }
  .cta-band-actions { justify-content: flex-start; }
  .service:nth-child(2),
  .service:nth-child(4),
  .about-points li:nth-child(even) { transform: none; }
  .about-strip, .twin, .donate-box, .list-layout, .content-wrap,
  .form-shell, .form-shell.compact-shell, .footer-top, .feature-stage,
  .about-points {
    grid-template-columns: 1fr;
  }
  .footer-nav { grid-template-columns: 1fr; gap: 0; }
  .footer-top { gap: 20px; }
  .donation-card { grid-template-columns: 1fr; }
  .search-panel { grid-template-columns: 1fr; }
  .list-main,
  .detail-article { padding: 18px; }
  .list-toolbar { flex-direction: column; align-items: stretch; }
  .inline-search { width: 100%; }
  .inline-search input { min-width: 0; flex: 1; }
  .list-row, .event-row {
    grid-template-columns: 32px 1fr auto;
    grid-template-rows: auto auto;
    align-items: start;
    gap: 8px 10px;
  }
  .list-row-icon { grid-row: 1 / 3; align-self: center; }
  .list-row strong { grid-column: 2; grid-row: 1; white-space: normal; }
  .list-row time, .event-row .date-badge {
    grid-column: 2;
    grid-row: 2;
    font-size: 11px;
    margin-top: -2px;
  }
  .list-row::after { grid-column: 3; grid-row: 1 / 3; align-self: center; }
  .quick-rail { display: none; }
  .list-sidebar,
  .sidebar { position: static; }
  .inner-section { padding-top: 28px; padding-bottom: 52px; }
  .page-hero { padding: 32px 0 38px; }
  .page-hero h1 { font-size: clamp(1.55rem, 4.5vw, 2.1rem); }
  .page-hero-lead { font-size: .98rem; margin-top: 12px; }
  .breadcrumb ol { flex-wrap: wrap; gap: 6px; }
  .breadcrumb-chip { min-height: 28px; padding: 0 10px; font-size: 11px; }
  .mobile-sidebar-toggle { display: flex; }
  .mobile-sidebar-panel {
    display: none;
    margin-top: 10px;
    animation: mobileSidebarIn .2s ease;
  }
  .mobile-sidebar.is-open .mobile-sidebar-panel { display: block; }
  .mobile-sidebar.is-open .mobile-sidebar-toggle {
    border-color: #fecaca;
    background: #fffbfb;
    box-shadow: 0 8px 22px rgba(214,40,40,.08);
  }
  .mobile-sidebar-panel .side-box {
    box-shadow: none;
    border-radius: 12px;
  }
  .mobile-sidebar-panel .side-box + .side-box { margin-top: 10px; }
  .mobile-sidebar-panel .side-box:hover {
    box-shadow: none;
    border-color: var(--line);
  }
  .list-layout,
  .content-wrap { gap: 16px; }
  .list-main,
  .detail-article { padding: 16px; border-radius: 12px; }
  .panel-head { margin-bottom: 16px; }
  .panel-head h2 { font-size: 1.3rem; }
  .share-actions { display: grid; grid-template-columns: 1fr; gap: 8px; }
  .share-actions .share-btn { justify-content: center; }
  .article-meta-bar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 8px 10px;
  }
  .article-meta-start {
    grid-column: 1;
    grid-row: 1;
    flex: unset;
    min-width: 0;
    gap: 8px;
  }
  .article-meta-share.share-actions {
    display: inline-flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 6px;
    grid-column: 2;
    grid-row: 1;
    width: auto;
    margin-left: 0;
    align-self: start;
    padding-top: 1px;
    grid-template-columns: none;
  }
  .article-meta-share .share-btn-icon {
    width: 32px;
    min-width: 32px;
    height: 32px;
    min-height: 32px;
  }
  .article-meta-share .share-btn-icon .icon {
    width: 15px;
    height: 15px;
  }
  .article-type,
  .article-meta-item {
    min-height: 32px;
    padding: 0 10px;
    gap: 6px;
    max-width: 100%;
  }
  .article-type { font-size: 10px; }
  .article-meta-item { font-size: 11px; }
  .article-meta-item span,
  .article-meta-item time {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 118px;
  }
  .article-info-strip {
    gap: 0;
    margin-bottom: 16px;
    padding: 10px 14px;
  }
  .article-info-toggle {
    cursor: pointer;
    min-height: 38px;
  }
  .article-info-toggle .mobile-sidebar-chevron {
    display: inline-flex;
  }
  .article-info-strip-body {
    display: none;
    padding-top: 10px;
  }
  .article-info-list {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .article-info-list li {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 8px;
    align-items: center;
  }
  .article-info-list li span {
    white-space: nowrap;
  }
  .article-info-list li b {
    min-width: 0;
    word-break: break-word;
  }
  .article-info-strip.is-open .article-info-strip-body {
    display: grid;
    gap: 10px;
  }
  .article-info-strip.is-open .article-info-toggle .mobile-sidebar-chevron {
    transform: rotate(180deg);
  }
  .page-intro-panel { padding: 16px; }
  .contact-layout .contact-form-panel { order: 2; }
  .contact-layout .sidebar { order: 1; }
  .elevated-form { padding: 18px; }
  .form-shell { gap: 18px; }
  .static-article .static-meta { flex-wrap: wrap; gap: 8px; }
  .grid.three { gap: 14px; }
  .card-body { padding: 14px; }
  .inline-search { max-width: none; }
  .inline-search .btn { flex-shrink: 0; }
}

@keyframes mobileSidebarIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 720px) {
  :root { --container: min(1140px, calc(100% - 28px)); --header-h: 76px; }
  .brand { max-width: min(260px, 64vw); }
  .brand-shell { padding: 6px 12px 6px 11px; }
  .brand-logo { height: 56px; width: 56px; max-width: 56px; }
  .topbar { display: none; }
  .mobile-contact-bar { display: grid; }
  .icon-btn.header-member-btn { display: inline-grid; }
  .hero { min-height: auto; }
  .hero-layout .hero-content { padding: 40px 0 56px; }
  .hero-brand { font-size: clamp(2.4rem, 13vw, 3.4rem); }
  .services { margin-top: 0; padding-top: 0; }
  .services-grid, .grid.three, .members-grid, .bank-grid,
  .gallery-grid, .form-grid, .stats-grid, .values-grid,
  .trust-grid, .gallery-preview-grid { grid-template-columns: 1fr; }
  .stats-strip { margin-top: -20px; padding: 20px 0; }
  .cta-band { padding: 40px 0; }
  .section { padding: 56px 0; }
  .section-head, .list-toolbar, .member-summary { flex-direction: column; align-items: stretch; }
  .mobile-bottom-nav { display: grid; }
  .back-top { bottom: 80px; }
  body { padding-bottom: 80px; }
  .feature-lead { min-height: 300px; }

  .footer { padding: 40px 0 100px; }
  .footer-logo { height: 56px; width: 56px; max-width: 56px; }
  .footer-logo-shell { padding: 10px 12px; }
  .footer-brand { padding-bottom: 8px; }
  .footer-nav,
  .footer-newsletter {
    border-top: 1px solid rgba(255,255,255,.12);
  }
  .footer-col,
  .footer-newsletter {
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
  .footer-toggle {
    margin: 0;
    padding: 16px 2px;
    cursor: pointer;
  }
  .footer-toggle svg { display: block; opacity: .75; }
  .footer-col.is-open .footer-toggle svg,
  .footer-newsletter.is-open .footer-toggle svg {
    transform: rotate(180deg);
  }
  .footer-links {
    display: none;
    gap: 0;
    padding: 0 2px 14px;
  }
  .footer-col.is-open .footer-links,
  .footer-newsletter.is-open .footer-links {
    display: grid;
  }
  .footer-links a {
    padding: 10px 0;
    border-top: 1px solid rgba(255,255,255,.06);
  }
  .footer-newsletter-body p { margin-bottom: 12px; }
  .footer-bottom {
    margin-top: 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .inner-section { padding-top: 22px; padding-bottom: 44px; }
  .page-hero { padding: 26px 0 32px; }
  .page-hero h1::after { width: 48px; }
  .mobile-sidebar-toggle { padding: 12px 14px; }
  .mobile-sidebar-icon {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  .mobile-sidebar-chevron {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
  }
  .type-nav-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
  }
  .detail-article {
    overflow-x: clip;
  }
  .mobile-sidebar-text strong { font-size: .92rem; }
  .list-main,
  .detail-article { padding: 14px; }
  .type-nav a { padding: 10px 11px; font-size: .9rem; }
  .side-box { padding: 16px; }
  .list-toolbar { margin-bottom: 16px; gap: 12px; }
  .panel-desc { font-size: .9rem; }
  .detail-cover-wrap { margin-bottom: 16px; border-radius: 10px; }
  .prose-body { font-size: .96rem; }
  .contact-card .contact-line { font-size: .92rem; }
  .member-summary { padding: 16px; gap: 12px; }
  .table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .btn, .icon-btn, .menu-toggle, .page-btn, .search-chip, .mobile-bottom-nav a {
    min-height: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Focus ring */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.btn:focus-visible,
.nav a:focus-visible,
.list-row:focus-visible,
.card a:focus-visible {
  outline-offset: 3px;
}
