:root {
  --blue: #123f8c;
  --blue-dark: #001a44;
  --gold: #d4af37;
  --gold-strong: #f7a81b;
  --silver: #c0c7d2;
  --ink: #172033;
  --text: #172033;
  --muted: #5f6878;
  --line: #d8dfeb;
  --soft: #eef6ff;
  --surface: #d7e0d4;
  --surface-deep: #b8c5b6;
  --cream: #f9f6e5;
  --white: #ffffff;
  --shadow: 0 20px 60px rgba(4, 30, 66, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, Manrope, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 12% 8%, rgba(212, 175, 55, 0.16), transparent 28vw),
    radial-gradient(circle at 86% 18%, rgba(18, 63, 140, 0.12), transparent 26vw),
    linear-gradient(180deg, var(--surface), #f7f8f3 42%, #ffffff 100%);
  line-height: 1.5;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
video {
  display: block;
  max-width: 100%;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  transform: translateY(-140%);
  border-radius: 8px;
  background: var(--blue-dark);
  color: white;
  padding: 10px 14px;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  padding: 11px clamp(18px, 4vw, 64px);
  border-bottom: 1px solid rgba(4, 30, 66, 0.2);
  background: rgba(226, 232, 224, 0.96);
  backdrop-filter: blur(24px);
  box-shadow: 0 14px 36px rgba(0, 26, 68, 0.12);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  color: var(--blue-dark);
  font-family: Manrope, Inter, sans-serif;
  font-size: 19px;
  line-height: 1.05;
}

.brand small {
  color: var(--muted);
  font-size: 13px;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
}

.main-nav a {
  display: inline-flex;
  flex: 0 0 88px;
  width: 88px;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-height: 54px;
  border: 1px solid rgba(4, 30, 66, 0.18);
  border-radius: 8px;
  background: rgba(4, 30, 66, 0.82);
  color: white;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.03;
  padding: 7px 5px;
  text-align: center;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.main-nav a span {
  display: block;
  max-width: 100%;
  overflow-wrap: normal;
  white-space: nowrap;
}

.main-nav a:hover {
  border-color: rgba(212, 175, 55, 0.65);
  background: rgba(8, 41, 95, 0.94);
  color: white;
  transform: translateY(-1px);
}

.main-nav .nav-strong {
  background: rgba(1, 24, 58, 0.96);
  box-shadow: 0 0 0 0 rgba(0, 26, 68, 0.24);
  color: white;
  animation: pulse-blue 3.6s infinite;
}

.main-nav .lang-switch {
  border-color: rgba(4, 30, 66, 0.28);
  background: rgba(40, 62, 94, 0.82);
  color: white;
}

.main-nav a.is-active {
  border-color: rgba(212, 175, 55, 0.95);
  background: linear-gradient(135deg, #f4d36b, #ffffff 72%);
  box-shadow: 0 10px 24px rgba(4, 30, 66, 0.18), inset 0 0 0 1px rgba(255, 255, 255, 0.72);
  color: var(--blue-dark);
  transform: translateY(-1px);
}

.rotary-backdrop {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  overflow: hidden;
}

.rotary-backdrop::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image:
    radial-gradient(rgba(212, 175, 55, 0.28) 1px, transparent 1px),
    linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.5));
  background-size: 34px 34px, auto;
}

.rotary-wheel {
  position: absolute;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  opacity: 0.28;
  transform-origin: center;
}

.wheel-one {
  top: 8vh;
  left: 2vw;
  width: min(54vw, 680px);
  height: min(54vw, 680px);
  color: var(--gold);
  opacity: 0.13;
  animation: rotate-wheel 90s linear infinite;
}

.wheel-two {
  top: 30vh;
  right: 2vw;
  width: min(42vw, 520px);
  height: min(42vw, 520px);
  color: var(--silver);
  opacity: 0.18;
  animation: rotate-wheel-reverse 110s linear infinite;
}

.wheel-three {
  bottom: 3vh;
  left: 8vw;
  width: min(34vw, 430px);
  height: min(34vw, 430px);
  color: var(--blue);
  opacity: 0.16;
  animation: rotate-wheel 130s linear infinite;
}

.wheel-four {
  bottom: 22vh;
  right: 20vw;
  width: min(18vw, 240px);
  height: min(18vw, 240px);
  color: var(--gold);
  opacity: 0.15;
  animation: rotate-wheel-reverse 72s linear infinite;
}

@keyframes rotate-wheel {
  to { transform: rotate(360deg); }
}

@keyframes rotate-wheel-reverse {
  to { transform: rotate(-360deg); }
}

@keyframes pulse-blue {
  0% { box-shadow: 0 0 0 0 rgba(0, 26, 68, 0.24); }
  70% { box-shadow: 0 0 0 14px rgba(0, 26, 68, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 26, 68, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .rotary-wheel,
  .main-nav .nav-strong {
    animation: none;
  }
}

@media (max-width: 1180px) and (min-width: 921px) {
  .site-header {
    padding-inline: 16px;
  }

  .brand {
    gap: 8px;
  }

  .brand img {
    width: 56px;
    height: 56px;
  }

  .brand strong {
    font-size: 16px;
  }

  .brand small {
    font-size: 12px;
  }

  .main-nav a {
    flex-basis: 82px;
    width: 82px;
    min-width: 0;
    min-height: 50px;
    font-size: 10.5px;
    padding-inline: 4px;
  }
}

.icon-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: var(--soft);
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--blue);
}

.hero {
  position: relative;
  min-height: min(760px, calc(100vh - 72px));
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--blue-dark);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img,
.hero-media .image-fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(4, 30, 66, 0.88), rgba(4, 30, 66, 0.42) 56%, rgba(4, 30, 66, 0.1));
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 40px));
  margin: 0 clamp(20px, 8vw, 112px) clamp(54px, 10vh, 110px);
  color: white;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(42px, 6vw, 86px);
  line-height: 0.98;
  letter-spacing: 0;
}

.page-hero h1,
.detail h1 {
  margin: 0;
  font-size: clamp(34px, 4.6vw, 64px);
  line-height: 1.03;
  letter-spacing: 0;
}

.hero-copy p {
  max-width: 720px;
  font-size: clamp(17px, 2vw, 24px);
}

.eyebrow,
.meta {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-actions,
.cta-band div {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 999px;
  font-weight: 900;
  padding: 12px 20px;
}

.button.primary {
  background: var(--blue-dark);
  box-shadow: 0 14px 34px rgba(0, 26, 68, 0.18);
  color: white;
}

.button.primary:hover,
.admin-button.primary:hover {
  background: #08295f;
}

.button.secondary.dark:hover,
.button.light:hover {
  border-color: var(--blue);
  background: white;
  color: var(--blue-dark);
}

.button.secondary,
.button.light {
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: white;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
}

.band {
  background: var(--line);
}

.metrics div {
  background: white;
  padding: 30px clamp(18px, 4vw, 48px);
}

.metrics strong {
  display: block;
  color: var(--blue);
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1;
}

.metrics span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 800;
}

.section-grid,
.content-band,
.filters,
.listing,
.donate-layout,
.contact-grid,
.detail,
.page-hero {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.section-grid,
.content-band,
.donate-layout,
.contact-grid,
.detail {
  padding: 56px 0;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.section-heading h2,
.split-band h2,
.content-band h2,
.cta-band h2,
.donate-panel h2,
.impact-panel h2,
.contact-grid h2 {
  margin: 0;
  color: var(--blue);
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.05;
}

.section-heading a,
.text-link,
.back-link,
.content-band a,
.contact-grid a {
  color: var(--blue);
  font-weight: 900;
}

.cards {
  display: grid;
  gap: 22px;
}

.cards.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cards.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 10px 32px rgba(4, 30, 66, 0.06);
}

.card-media {
  display: block;
  aspect-ratio: 4 / 3;
  background: var(--soft);
}

.card-media img,
.card-media .image-fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-body {
  padding: 22px;
}

.card h3,
.person-card h3 {
  margin: 0 0 10px;
  color: var(--blue-dark);
  font-size: 21px;
  line-height: 1.18;
}

.card p {
  color: var(--muted);
}

.news-card {
  border-left: 5px solid var(--gold);
}

.news-card .card-media {
  border-left: 0;
}

.combined-card {
  border-top: 5px solid var(--blue);
}

.combined-card.is-news {
  border-top-color: var(--gold);
}

.combined-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.combined-meta span,
.combined-meta strong {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 1000;
  padding: 6px 10px;
}

.combined-meta span {
  background: rgba(23, 69, 143, 0.1);
  color: var(--blue);
}

.combined-card.is-news .combined-meta span {
  background: rgba(247, 168, 27, 0.18);
  color: #7a4a00;
}

.combined-meta strong {
  min-height: 22px;
  border: 1px solid rgba(23, 69, 143, 0.12);
  background: rgba(23, 69, 143, 0.045);
  color: rgba(4, 30, 66, 0.42);
  font-size: 10px;
  font-weight: 800;
  padding: 3px 7px;
}

.home-impact,
.home-projects,
.home-events,
.home-news {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.home-hero {
  position: relative;
  width: 100%;
  min-height: min(820px, calc(100vh - 82px));
  display: flex;
  align-items: stretch;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: var(--blue-dark);
}

.home-hero-background {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.home-hero-background img,
.home-hero-background .image-fallback {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  object-position: center;
}

.home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(0, 26, 68, 0.88), rgba(0, 26, 68, 0.58) 42%, rgba(0, 26, 68, 0.16) 74%, rgba(0, 26, 68, 0.05)),
    linear-gradient(0deg, rgba(0, 26, 68, 0.34), transparent 44%);
}

.home-hero-pattern {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.24;
  background-image: radial-gradient(rgba(247, 168, 27, 0.16) 1px, transparent 1px);
  background-size: 28px 28px;
}

.home-hero-overlay {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(180px, 260px);
  align-items: end;
  gap: clamp(24px, 5vw, 70px);
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(76px, 10vw, 132px) 0 clamp(56px, 8vw, 96px);
  color: white;
}

.home-kicker {
  display: inline-flex;
  margin: 0 0 22px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.46);
  background: rgba(255, 255, 255, 0.82);
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 900;
  padding: 8px 14px;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.12);
}

.home-hero-copy h1 {
  max-width: 780px;
  margin: 0;
  color: white;
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.32);
  font-size: clamp(48px, 7vw, 82px);
  line-height: 1.01;
  letter-spacing: 0;
}

.home-hero-copy > p:not(.home-kicker) {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.58;
  text-shadow: 0 6px 22px rgba(0, 0, 0, 0.26);
}

.button.secondary.dark {
  border-color: rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.12);
  color: white;
  backdrop-filter: blur(10px);
}

.home-hero-visual {
  position: relative;
}

.home-hero-frame {
  overflow: hidden;
  border: 8px solid rgba(255, 255, 255, 0.74);
  border-radius: 48px;
  box-shadow: 0 34px 80px rgba(4, 30, 66, 0.18);
  background: var(--soft);
}

.home-hero-frame img,
.home-hero-frame .image-fallback {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.home-floating-stat {
  justify-self: end;
  width: min(240px, 100%);
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(18px);
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.22);
  padding: 20px;
}

.home-floating-stat strong {
  display: block;
  color: white;
  font-size: 40px;
  line-height: 1;
}

.home-floating-stat span {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 900;
}

.metrics.elevated {
  width: min(1180px, calc(100% - 40px));
  margin: -18px auto 0;
  position: relative;
  z-index: 2;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 54px rgba(4, 30, 66, 0.08);
}

.home-impact,
.home-projects,
.home-events,
.home-news {
  padding: 88px 0;
}

.section-heading.centered {
  justify-content: center;
  text-align: center;
}

.section-heading.centered > div {
  max-width: 760px;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.impact-card {
  min-width: 0;
  border: 1px solid rgba(247, 168, 27, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 34px rgba(4, 30, 66, 0.06);
  padding: 26px;
}

.impact-icon {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 16px;
  background: white;
  color: var(--gold);
  font-weight: 1000;
  box-shadow: 0 10px 24px rgba(4, 30, 66, 0.08);
}

.impact-card h3 {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 22px;
}

.impact-card p {
  margin: 0;
  color: var(--muted);
}

.project-bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 20px;
}

.project-feature {
  position: relative;
  min-height: 380px;
  grid-column: span 4;
  overflow: hidden;
  border-radius: 8px;
  background: var(--blue-dark);
  box-shadow: 0 16px 42px rgba(4, 30, 66, 0.12);
}

.project-feature.is-wide {
  grid-column: span 8;
}

.project-feature-media {
  position: absolute;
  inset: 0;
}

.project-feature-media img,
.project-feature-media .image-fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms ease;
}

.project-feature:hover .project-feature-media img {
  transform: scale(1.045);
}

.project-feature::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(4, 30, 66, 0.88), rgba(4, 30, 66, 0.18) 62%, rgba(4, 30, 66, 0.04));
}

.project-feature-copy {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  padding: 26px;
  color: white;
}

.project-feature-copy h3 {
  margin: 0;
  color: white;
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.08;
}

.project-feature-copy p:not(.meta) {
  max-width: 680px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.82);
}

.home-events {
  position: relative;
}

.home-events::before {
  content: "";
  position: absolute;
  inset: 0 calc(50% - 50vw);
  z-index: -1;
  background: linear-gradient(90deg, #f6f4ec, #eef6ff);
}

.event-list {
  display: grid;
  gap: 16px;
  max-width: 980px;
  margin: 0 auto;
}

.event-row {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  border-left: 7px solid var(--gold);
  border-radius: 8px;
  background: white;
  box-shadow: 0 12px 34px rgba(4, 30, 66, 0.06);
  padding: 22px;
}

.event-row:nth-child(even) {
  border-left-color: var(--blue);
}

.event-date strong,
.event-date span {
  display: block;
  text-align: center;
}

.event-date strong {
  color: var(--blue);
  font-size: 28px;
  line-height: 1;
}

.event-date span {
  margin-top: 4px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.event-row h3 {
  margin: 0 0 4px;
  color: var(--blue-dark);
  font-size: 22px;
}

.event-row p {
  margin: 0;
  color: var(--muted);
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.story-card {
  overflow: hidden;
  border: 1px solid rgba(221, 229, 239, 0.86);
  border-radius: 8px;
  background: white;
  box-shadow: 0 12px 34px rgba(4, 30, 66, 0.06);
}

.story-media {
  display: block;
  aspect-ratio: 16 / 11;
  background: var(--soft);
}

.story-media img,
.story-media .image-fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-copy {
  padding: 24px;
}

.story-copy h3 {
  margin: 0 0 12px;
  color: var(--blue-dark);
  font-size: 22px;
  line-height: 1.16;
}

.story-copy p:not(.meta) {
  color: var(--muted);
}

.sponsor-band {
  padding: 72px clamp(20px, 6vw, 80px);
  background: var(--soft);
  text-align: center;
}

.sponsor-band h2 {
  margin: 0 auto 28px;
  max-width: 720px;
  color: var(--blue);
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.05;
}

.sponsor-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  max-width: 980px;
  margin: 0 auto;
}

.sponsor-row figure {
  display: grid;
  gap: 10px;
  align-content: center;
  min-height: 160px;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  padding: 18px;
}

.sponsor-row img,
.sponsor-row .image-fallback {
  width: 100%;
  max-height: 78px;
  object-fit: contain;
}

.sponsor-row figcaption {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.review-card {
  border-left: 5px solid var(--blue);
}

.review-card.is-approved {
  border-left-color: #12805c;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}

.tag-row span {
  border-radius: 999px;
  background: var(--soft);
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  padding: 6px 9px;
}

.match-box {
  display: grid;
  gap: 8px;
  border-radius: 8px;
  background: #fff7e8;
  color: var(--blue-dark);
  padding: 14px;
  margin: 16px 0;
}

.match-box.ok {
  background: #edf7f2;
}

.match-box a {
  color: var(--blue);
  font-weight: 800;
}

.match-box small {
  color: var(--muted);
}

.admin-toolbar {
  width: min(1180px, calc(100% - 40px));
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)) repeat(4, auto);
  align-items: center;
  gap: 12px;
  margin: 0 auto;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 10px 32px rgba(4, 30, 66, 0.05);
}

.admin-toolbar strong {
  display: block;
  color: var(--blue);
  font-size: 34px;
  line-height: 1;
}

.admin-toolbar span {
  color: var(--muted);
  font-weight: 800;
}

.admin-quality {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.admin-quality > div {
  border-radius: 8px;
  background: var(--soft);
  padding: 18px;
}

.admin-quality strong {
  display: block;
  color: var(--blue);
  font-size: 30px;
  line-height: 1;
}

.admin-quality span {
  color: var(--muted);
  font-weight: 800;
}

.admin-quality details {
  grid-column: 1 / -1;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.admin-quality summary {
  cursor: pointer;
  color: var(--blue);
  font-weight: 900;
}

.quality-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.quality-list h3 {
  margin: 0 0 10px;
  color: var(--blue-dark);
}

.quality-list p {
  margin: 0 0 12px;
  color: var(--muted);
}

.admin-login {
  max-width: 520px;
}

.admin-login form {
  display: grid;
  gap: 14px;
}

.admin-login-error {
  min-height: 20px;
  margin: 0;
  color: #b42318;
  font-weight: 800;
}

.section-note {
  max-width: 760px;
  margin: -14px 0 4px;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.6;
}

.member-directory {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.member-directory-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 10px 28px rgba(4, 30, 66, 0.05);
  overflow: hidden;
}

.member-directory-card summary {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 70px;
  padding: 14px;
  cursor: pointer;
  list-style: none;
}

.member-directory-card summary::-webkit-details-marker {
  display: none;
}

.member-directory-card summary strong {
  min-width: 0;
  color: var(--blue-dark);
  font-size: 1rem;
  line-height: 1.25;
}

.member-photo {
  width: 44px;
  height: 44px;
  border: 1px dashed var(--line);
  border-radius: 50%;
  background: #f7fafc;
  overflow: hidden;
}

.member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.member-directory-card dl {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0 14px 16px;
}

.member-directory-card dl div {
  display: grid;
  gap: 4px;
  border-top: 1px solid var(--line);
  padding-top: 10px;
}

.member-directory-card dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.member-directory-card dd {
  margin: 0;
  min-width: 0;
  color: var(--ink);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.member-directory-card a {
  color: var(--blue);
}

.member-biography {
  display: grid;
  gap: 12px;
  margin: 0 14px 16px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.member-biography h4 {
  margin: 0;
  color: var(--blue-dark);
  font-size: 1.05rem;
}

.member-biography p {
  margin: 0;
  color: var(--ink);
  line-height: 1.68;
}

.member-bio-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.member-bio-grid div {
  display: grid;
  gap: 4px;
  border: 1px solid rgba(216, 223, 235, 0.82);
  border-radius: 8px;
  background: rgba(238, 246, 255, 0.56);
  padding: 12px;
}

.member-bio-grid strong {
  color: var(--blue);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.member-bio-grid span,
.member-kvkk-note {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.member-profile-band {
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  align-items: start;
}

.member-profile-form {
  display: grid;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  padding: clamp(24px, 4vw, 36px);
  box-shadow: 0 14px 38px rgba(4, 30, 66, 0.07);
}

.member-profile-form h2,
.member-profile-form p {
  margin: 0;
}

.member-profile-form p {
  color: var(--muted);
  font-weight: 700;
}

.member-directory-locked {
  display: grid;
  gap: 10px;
  padding: 0 14px 16px;
  color: var(--muted);
}

.member-directory-locked p {
  margin: 0;
}

.admin-sponsors,
.admin-settings,
.admin-audit,
.admin-members,
.admin-content {
  width: min(1180px, calc(100% - 40px));
  margin: 36px auto 0;
}

.settings-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  padding: 18px;
  box-shadow: 0 10px 32px rgba(4, 30, 66, 0.05);
}

.settings-grid .admin-button {
  align-self: end;
}

.admin-access-field,
.admin-access-note {
  grid-column: 1 / -1;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  padding: 18px;
}

.admin-access-field legend {
  color: var(--blue);
  font-weight: 900;
  padding: 0 8px;
}

.admin-access-field p,
.admin-access-note span {
  display: block;
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14px;
}

.admin-access-note strong {
  display: block;
  margin-bottom: 6px;
  color: var(--blue-dark);
}

.admin-access-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-height: 360px;
  overflow: auto;
}

.admin-access-list label {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(221, 229, 239, 0.8);
  border-radius: 6px;
  background: white;
  padding: 10px;
  font-weight: 800;
}

.admin-access-list input {
  width: auto;
}

.admin-access-list span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.sponsor-admin-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.sponsor-admin-card {
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  padding: 16px;
  box-shadow: 0 10px 32px rgba(4, 30, 66, 0.05);
}

.sponsor-admin-card img,
.sponsor-admin-card .image-fallback {
  width: 100%;
  height: 80px;
  object-fit: contain;
}

.sponsor-admin-card label {
  margin-top: 0;
}

.content-admin-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.content-editor,
.json-editor {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  padding: 16px;
  box-shadow: 0 10px 32px rgba(4, 30, 66, 0.05);
}

.content-editor h3 {
  margin: 0;
  color: var(--blue-dark);
  font-size: 20px;
  line-height: 1.2;
}

.content-editor textarea {
  min-height: 86px;
}

.content-editor input[name="displayOrder"] {
  border-color: rgba(23, 69, 143, 0.36);
  background: rgba(238, 246, 255, 0.82);
  color: var(--blue-dark);
  font-size: 1.08rem;
  font-weight: 1000;
}

.content-admin-list {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  padding: 14px;
}

.content-admin-list summary {
  color: var(--blue);
  cursor: pointer;
  font-weight: 900;
}

.json-editor {
  margin-top: 18px;
}

.json-editor textarea {
  min-height: 420px;
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  font-size: 13px;
}

.admin-button {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--blue);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  padding: 10px 14px;
}

.admin-button.primary {
  border-color: var(--blue);
  background: var(--blue);
  color: white;
}

.admin-button.danger {
  border-color: #b42318;
  color: #b42318;
}

.admin-button:disabled {
  cursor: wait;
  opacity: 0.6;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
}

.admin-audit {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  padding: 18px;
  box-shadow: 0 10px 32px rgba(4, 30, 66, 0.05);
}

.audit-list {
  display: grid;
  gap: 10px;
}

.audit-list > div:not(.empty-state) {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--line);
  padding-top: 10px;
}

.audit-list strong {
  color: var(--blue-dark);
}

.audit-list span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.member-stats,
.happy-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  width: min(1180px, calc(100% - 40px));
  margin: 16px auto;
}

.member-stats div,
.happy-summary div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  padding: 18px;
  box-shadow: 0 10px 32px rgba(4, 30, 66, 0.05);
}

.member-stats strong,
.happy-summary strong {
  display: block;
  color: var(--blue);
  font-size: 30px;
  line-height: 1;
}

.member-stats span,
.happy-summary span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 800;
}

.happy-list {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 56px;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 10px 32px rgba(4, 30, 66, 0.05);
}

.happy-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.happy-table th,
.happy-table td {
  border-bottom: 1px solid var(--line);
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
}

.happy-table th {
  background: var(--soft);
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

.happy-table td {
  color: var(--ink);
  font-size: 14px;
}

.ocakbasi-summary {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ocakbasi-section {
  padding-top: 34px;
}

.ocakbasi-coordinators {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}

.ocakbasi-coordinators article,
.ocakbasi-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 10px 32px rgba(4, 30, 66, 0.05);
}

.ocakbasi-coordinators article {
  display: grid;
  gap: 6px;
  padding: 18px;
}

.ocakbasi-coordinators span,
.ocakbasi-card header span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ocakbasi-coordinators strong {
  color: var(--blue-dark);
  font-size: 20px;
}

.ocakbasi-coordinators a,
.ocakbasi-table a {
  color: var(--blue);
  font-weight: 900;
}

.ocakbasi-grid {
  display: grid;
  gap: 18px;
}

.ocakbasi-card {
  overflow: hidden;
}

.ocakbasi-card header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(238, 246, 255, 0.92), rgba(249, 246, 229, 0.72));
  padding: 14px 18px;
}

.ocakbasi-card header strong {
  color: var(--blue-dark);
  font-size: 28px;
  line-height: 1;
}

.ocakbasi-table-wrap {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.ocakbasi-table {
  width: 100%;
  min-width: 840px;
  border-collapse: collapse;
}

.ocakbasi-table th,
.ocakbasi-table td {
  border-bottom: 1px solid var(--line);
  padding: 11px 14px;
  text-align: left;
  vertical-align: top;
}

.ocakbasi-table th {
  background: rgba(255, 255, 255, 0.72);
  color: var(--blue);
  font-size: 12px;
  font-weight: 1000;
}

.ocakbasi-table td {
  color: var(--ink);
  font-size: 14px;
}

.ocakbasi-table td:first-child {
  color: var(--blue-dark);
  font-weight: 900;
  white-space: nowrap;
}

.load-more-wrap {
  width: min(1180px, calc(100% - 40px));
  margin: 26px auto 70px;
  text-align: center;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 80;
  max-width: min(360px, calc(100% - 36px));
  transform: translateY(20px);
  border-radius: 8px;
  background: var(--blue-dark);
  color: white;
  font-weight: 900;
  opacity: 0;
  padding: 14px 16px;
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease;
}

.toast[data-type="error"] {
  background: #b42318;
}

.toast.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.clipboard-helper {
  position: fixed;
  left: -9999px;
  top: 0;
  opacity: 0;
}

.split-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 40px;
  align-items: center;
  padding: 70px clamp(20px, 7vw, 100px);
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  color: white;
}

.split-band::after,
.cta-band::after,
.site-footer::after {
  content: "";
  position: absolute;
  inset: auto -8% -35% auto;
  width: 320px;
  height: 320px;
  border: 32px solid rgba(212, 175, 55, 0.08);
  border-radius: 50%;
  pointer-events: none;
}

.split-band h2 {
  color: white;
}

.category-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.category-list a,
.filters a {
  border-radius: 999px;
  border: 1px solid rgba(18, 63, 140, 0.18);
  background: rgba(255, 255, 255, 0.82);
  color: var(--blue);
  font-weight: 900;
  padding: 12px 16px;
  box-shadow: 0 8px 22px rgba(0, 26, 68, 0.05);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 28px 0 0;
}

.filters a.active {
  background: var(--blue-dark);
  color: white;
}

.filters span {
  opacity: 0.66;
}

.search-panel,
.admin-login,
.admin-quality {
  width: min(1180px, calc(100% - 40px));
  margin: 22px auto 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(16px);
  padding: 18px;
  box-shadow: 0 10px 32px rgba(4, 30, 66, 0.05);
}

.search-panel form {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(160px, 240px) auto auto;
  gap: 12px;
  align-items: end;
}

.search-panel p {
  margin: 12px 0 0;
  color: var(--muted);
  font-weight: 800;
}

input,
select {
  width: 100%;
}

input {
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--blue-dark);
  font: inherit;
  padding: 10px 12px;
}

textarea {
  width: 100%;
  min-height: 96px;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--blue-dark);
  font: inherit;
  padding: 10px 12px;
}

.page-hero {
  position: relative;
  padding: clamp(42px, 5vw, 72px) 0 30px;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0 calc(50% - 50vw);
  z-index: -1;
  background:
    linear-gradient(120deg, rgba(249, 246, 229, 0.78), rgba(238, 246, 255, 0.72)),
    radial-gradient(circle at 86% 30%, rgba(212, 175, 55, 0.18), transparent 24vw);
}

.page-hero p {
  max-width: 760px;
  color: var(--muted);
  font-size: 17px;
  margin-top: 12px;
}

.content-band {
  display: grid;
  gap: 18px;
}

.content-band.two-col,
.contact-grid,
.donate-layout {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.content-band > div,
.contact-grid > div,
.donate-panel,
.impact-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px);
  padding: clamp(20px, 3vw, 30px);
  box-shadow: 0 14px 38px rgba(4, 30, 66, 0.07);
}

.about-story > div {
  max-width: 980px;
}

.about-story h2 {
  margin-top: 0;
}

.about-story p:not(.eyebrow) {
  color: var(--text);
  font-size: 1.04rem;
  line-height: 1.78;
}

.people-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.staff-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.key-staff-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.staff-person-card {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  padding: 14px;
  box-shadow: 0 10px 28px rgba(4, 30, 66, 0.05);
}

.staff-person-card.is-chair {
  border-color: rgba(247, 168, 27, 0.55);
  background: linear-gradient(180deg, #fffaf0, #fff);
}

.staff-photo {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--soft);
  color: var(--blue);
  font-weight: 900;
  overflow: hidden;
}

.staff-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.staff-person-card h3 {
  margin: 0;
  color: var(--blue-dark);
  font-size: 1rem;
  line-height: 1.2;
}

.staff-person-card p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.committee-staff-list {
  display: grid;
  gap: 18px;
}

.committee-staff-card {
  display: grid;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  padding: 18px;
  box-shadow: 0 10px 32px rgba(4, 30, 66, 0.05);
}

.committee-staff-heading h3 {
  margin: 4px 0 0;
  color: var(--blue-dark);
  font-size: clamp(20px, 2vw, 28px);
}

.leadership-summary {
  margin-top: 0;
}

.leadership-grid,
.committee-grid {
  display: grid;
  gap: 18px;
}

.leadership-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.committee-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.leader-card,
.committee-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 10px 32px rgba(4, 30, 66, 0.05);
}

.leader-card {
  padding: 22px;
  border-top: 5px solid var(--gold);
}

.leader-card span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.leader-card h3,
.committee-card h3 {
  margin: 8px 0 0;
  color: var(--blue-dark);
  font-size: 22px;
  line-height: 1.15;
}

.leadership-secondary-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.leadership-secondary-role {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  max-width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  padding: 9px 12px;
  box-shadow: 0 8px 24px rgba(4, 30, 66, 0.04);
}

.leadership-secondary-role strong {
  color: var(--blue-dark);
  font-size: 15px;
  line-height: 1.2;
}

.leadership-secondary-role span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.committee-card {
  padding: 22px;
}

.committee-card p {
  color: var(--muted);
}

.person-list,
.clean-list {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.person-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
}

.person-list li:last-child {
  border-bottom: 0;
}

.person-list span {
  color: var(--muted);
  font-weight: 800;
}

.clean-list li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
}

.clean-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--gold);
}

.leadership-band {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 56px;
}

.leadership-band > div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  padding: 28px;
}

.leadership-band h2 {
  margin: 0 0 18px;
  color: var(--blue);
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.05;
}

.timeline-list,
.month-list {
  display: grid;
  gap: 10px;
}

.timeline-list article,
.month-list article {
  display: grid;
  grid-template-columns: minmax(110px, 0.42fr) minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  border-radius: 8px;
  background: white;
  padding: 12px;
}

.timeline-list strong,
.month-list strong {
  color: var(--blue);
}

.timeline-list span,
.month-list span {
  color: var(--muted);
  font-weight: 800;
}

.person-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: white;
}

.person-card img,
.person-card .image-fallback {
  width: 80px;
  height: 80px;
  margin-bottom: 16px;
  border-radius: 999px;
  object-fit: cover;
}

.detail {
  max-width: 920px;
}

.detail h1 {
  margin: 12px 0 28px;
  color: var(--blue-dark);
  font-size: clamp(34px, 5vw, 64px);
}

.detail-media {
  overflow: hidden;
  border-radius: 8px;
  margin: 28px 0;
  background: var(--soft);
}

.detail-media img,
.detail-media .image-fallback {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
}

.detail-body {
  color: #263348;
  font-size: 18px;
}

.detail-body p {
  margin: 0 0 18px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 32px;
}

.gallery img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 8px;
  object-fit: cover;
}

.detail-video {
  width: 100%;
  margin-top: 32px;
  border-radius: 8px;
}

.amounts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.amounts button,
select {
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--blue-dark);
  font: inherit;
  font-weight: 900;
  padding: 10px 12px;
}

.amounts button.is-active {
  border-color: var(--blue);
  background: var(--blue);
  color: white;
}

label {
  display: grid;
  gap: 8px;
  margin-top: 22px;
  color: var(--muted);
  font-weight: 900;
}

.note {
  color: var(--muted);
  font-size: 14px;
}

.impact-panel li {
  margin-bottom: 12px;
}

.donation-form {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.donation-form .button {
  border: 0;
  cursor: pointer;
}

.transfer-note-output {
  min-height: 74px;
}

.bank-box {
  margin-top: 28px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

.bank-box h3 {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 24px;
}

.bank-box p {
  margin: 8px 0;
}

.bank-account {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  padding: 14px;
  margin: 14px 0;
}

.bank-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.contact-grid a {
  display: block;
  margin-top: 8px;
}

.social-hub-intro,
.social-hub-frame-section {
  width: min(1320px, calc(100% - 40px));
  margin: 0 auto;
}

.social-hub-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;
  padding: 48px 0 24px;
}

.social-hub-intro h2 {
  margin: 0;
  color: var(--blue);
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.05;
}

.social-hub-intro p:not(.eyebrow) {
  max-width: 760px;
  color: var(--muted);
  font-size: 16px;
}

.social-hub-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.social-hub-actions .button:not(.primary) {
  border: 1px solid var(--line);
  background: white;
  color: var(--blue-dark);
}

.social-hub-frame-section {
  padding: 0 0 64px;
}

.social-hub-frame {
  display: block;
  width: 100%;
  min-height: min(980px, calc(100vh - 120px));
  border: 1px solid rgba(4, 30, 66, 0.18);
  border-radius: 8px;
  background: #080706;
  box-shadow: var(--shadow);
}

.cta-band {
  position: relative;
  overflow: hidden;
  padding: 78px 20px;
  background: radial-gradient(circle at 20% 20%, rgba(212, 175, 55, 0.14), transparent 34vw), linear-gradient(135deg, var(--blue-dark), #020d1f);
  color: white;
  text-align: center;
}

.cta-band h2 {
  color: white;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.78);
}

.cta-band div {
  justify-content: center;
}

.site-footer {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 1fr;
  gap: 40px;
  padding: 46px clamp(20px, 6vw, 80px);
  background: linear-gradient(135deg, #02152f, #001a44);
  color: rgba(255, 255, 255, 0.78);
}

.site-footer h2,
.site-footer h3 {
  margin: 0 0 12px;
  color: white;
}

.site-footer a {
  display: block;
  margin: 7px 0;
  color: white;
}

.image-fallback {
  display: grid;
  place-items: center;
  min-height: 180px;
  background: linear-gradient(135deg, var(--blue), var(--gold));
  color: white;
  font-size: 34px;
  font-weight: 900;
}

.empty-state,
.error {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
  background: var(--soft);
}

code {
  border-radius: 5px;
  background: var(--soft);
  color: var(--blue-dark);
  padding: 2px 5px;
}

@media (max-width: 920px) {
  .icon-button {
    display: block;
  }

  .main-nav {
    position: fixed;
    inset: 72px 16px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid rgba(212, 175, 55, 0.28);
    border-radius: 8px;
    background: rgba(4, 30, 66, 0.96);
    box-shadow: var(--shadow);
    padding: 10px;
  }

  .menu-open .main-nav {
    display: flex;
  }

  .main-nav a {
    flex: 0 0 auto;
    width: 100%;
    min-height: 48px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.1);
    padding: 9px 14px;
    font-size: 14px;
  }

  .hero {
    min-height: 680px;
  }

  .hero::after {
    background: linear-gradient(0deg, rgba(4, 30, 66, 0.9), rgba(4, 30, 66, 0.25));
  }

  .metrics,
  .cards.three,
  .cards.two,
  .project-bento,
  .story-grid,
  .split-band,
  .content-band.two-col,
  .member-profile-band,
  .contact-grid,
  .donate-layout,
  .admin-toolbar,
  .admin-quality,
  .member-stats,
  .member-directory,
  .member-bio-grid,
  .happy-summary,
  .ocakbasi-coordinators,
  .leadership-grid,
  .committee-grid,
  .leadership-band,
  .quality-list,
  .audit-list > div:not(.empty-state),
  .sponsor-row,
  .sponsor-admin-grid,
  .content-admin-grid,
  .settings-grid,
  .social-hub-intro,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .social-hub-actions {
    justify-content: flex-start;
  }

  .home-hero {
    min-height: min(760px, calc(100vh - 72px));
  }

  .home-hero-overlay {
    grid-template-columns: 1fr;
    align-content: end;
    gap: 24px;
    padding-block: clamp(72px, 18vw, 118px) 48px;
  }

  .home-floating-stat {
    justify-self: start;
  }

  .metrics.elevated {
    margin-top: 0;
  }

  .impact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-impact,
  .home-projects,
  .home-events,
  .home-news {
    padding: 64px 0;
  }

  .project-feature,
  .project-feature.is-wide {
    grid-column: 1 / -1;
    min-height: 340px;
  }

  .event-row {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .event-row .admin-button {
    grid-column: 2;
    justify-self: start;
  }

  .admin-sponsors,
  .admin-settings,
  .admin-audit,
  .admin-members,
  .admin-content {
    width: min(100% - 32px, 1180px);
  }

  .admin-toolbar {
    align-items: stretch;
  }

  .search-panel form {
    grid-template-columns: 1fr;
  }

  .admin-access-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .people-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .staff-grid,
  .key-staff-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-heading {
    display: block;
  }

  .audit-list > div:not(.empty-state) {
    flex-direction: column;
    gap: 4px;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding-inline: 14px;
  }

  .brand strong {
    font-size: 16px;
  }

  .brand img {
    width: 52px;
    height: 52px;
  }

  .hero-copy {
    width: calc(100% - 32px);
    margin: 0 16px 46px;
  }

  .hero-copy h1 {
    font-size: 42px;
  }

  .page-hero h1,
  .detail h1 {
    font-size: 34px;
  }

  .page-hero {
    padding: 34px 0 22px;
  }

  .page-hero p {
    font-size: 15px;
  }

  .section-grid,
  .content-band,
  .donate-layout,
  .contact-grid,
  .detail {
    padding: 42px 0;
  }

  .section-grid,
  .home-impact,
  .home-projects,
  .home-events,
  .home-news,
  .metrics.elevated,
  .content-band,
  .filters,
  .listing,
  .leadership-band,
  .donate-layout,
  .contact-grid,
  .detail,
  .admin-login,
  .admin-quality,
  .admin-sponsors,
  .admin-settings,
  .admin-audit,
  .admin-members,
  .admin-content,
  .page-hero {
    width: min(100% - 28px, 1180px);
  }

  .home-kicker {
    font-size: 12px;
  }

  .home-hero {
    width: 100%;
  }

  .home-hero-overlay {
    width: min(100% - 28px, 1180px);
  }

  .home-hero-copy h1 {
    font-size: 42px;
  }

  .home-hero-copy > p:not(.home-kicker) {
    font-size: 16px;
  }

  .home-floating-stat {
    position: static;
    width: 100%;
    margin-top: 14px;
  }

  .home-floating-stat strong {
    font-size: 34px;
  }

  .impact-grid,
  .event-row {
    grid-template-columns: 1fr;
  }

  .impact-card,
  .project-feature-copy,
  .story-copy {
    padding: 20px;
  }

  .leadership-secondary-role {
    display: grid;
    gap: 4px;
    width: 100%;
    align-items: start;
  }

  .project-feature,
  .project-feature.is-wide {
    min-height: 310px;
  }

  .event-date strong,
  .event-date span {
    text-align: left;
  }

  .event-row .admin-button {
    grid-column: 1;
  }

  .people-grid,
  .admin-access-list,
  .staff-grid,
  .key-staff-grid,
  .gallery,
  .timeline-list article,
  .month-list article {
    grid-template-columns: 1fr;
  }

  .admin-toolbar,
  .admin-quality,
  .admin-login,
  .settings-grid,
  .content-admin-list,
  .content-editor,
  .json-editor,
  .admin-audit,
  .admin-access-field,
  .admin-access-note,
  .sponsor-admin-card {
    padding: 14px;
  }

  .admin-toolbar strong,
  .admin-quality strong {
    font-size: 24px;
  }

  .content-editor h3 {
    font-size: 17px;
  }

  .content-editor textarea {
    min-height: 72px;
  }

  .json-editor textarea {
    min-height: 280px;
  }

  .admin-button {
    min-height: 38px;
    padding: 8px 11px;
    font-size: 14px;
  }

  .admin-actions {
    gap: 8px;
    margin-top: 14px;
  }

  .combined-meta {
    gap: 8px;
  }

  .combined-meta span {
    min-height: 24px;
    padding: 5px 8px;
    font-size: 11px;
  }

  .combined-meta strong {
    min-height: 20px;
    padding: 2px 6px;
    font-size: 9px;
  }

  .ocakbasi-section {
    padding-top: 28px;
  }

  .ocakbasi-coordinators article {
    padding: 14px;
  }

  .ocakbasi-card header {
    padding: 12px 14px;
  }

  .ocakbasi-table {
    min-width: 720px;
  }

  .ocakbasi-table th,
  .ocakbasi-table td {
    padding: 9px 10px;
    font-size: 12px;
  }
}
