:root {
  --brand: #3d56a3;
  --brand-dark: #233884;
  --brand-light: #6b82c4;
  --warm: #faf6f2;
  --cream: #f7faff;
  --forest: #0f1e3a;
  --text: #16213a;
  --muted: #5b6577;
  --border: #dce5f2;
  --white: #fff;
  --font-sans: "Manrope", system-ui, sans-serif;
  --font-display: "Fraunces", Georgia, serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

.preview-bar {
  background: #9a4a24;
  color: #fffaf1;
  padding: 10px 16px;
  text-align: center;
  font-size: 14px;
}

.preview-bar a {
  color: inherit;
  text-decoration: underline;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--cream);
  font-family: var(--font-sans);
  line-height: 1.55;
}

h1,
h2,
h3,
.font-display {
  font-family: var(--font-display);
}

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

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

.container {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.narrow {
  max-width: 760px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 12px #00000008;
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.logo img {
  height: 52px;
  width: auto;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: block;
  padding: 10px 8px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #374151;
}

.nav-link:hover,
.nav-link.is-current {
  color: var(--brand);
  background: #eef2fa;
}

.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 250px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 16px 36px #0002;
  padding: 8px;
}

.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown {
  display: block;
}

.dropdown a {
  display: block;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--muted);
}

.dropdown a:hover {
  background: #eef2fa;
  color: var(--brand);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.search-toggle,
.menu-toggle {
  border: 0;
  background: var(--white);
  padding: 9px 11px;
  border-radius: 8px;
  font-size: 20px;
  cursor: pointer;
}

.search-toggle:hover,
.menu-toggle:hover {
  background: var(--warm);
}

.menu-toggle {
  display: none;
}

.soc-link {
  display: inline-flex;
  align-items: center;
  color: var(--brand);
  padding: 8px;
}

.search-panel {
  display: none;
  border-top: 1px solid var(--border);
  padding: 12px 0;
}

.search-panel.is-open {
  display: block;
}

.search-panel input {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font: inherit;
}

.mobile-nav {
  display: none;
  padding-bottom: 14px;
}

.mobile-nav.is-open {
  display: block;
}

.mobile-nav a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  font-weight: 600;
}

.mobile-nav .sub {
  padding-left: 28px;
  color: var(--muted);
  font-weight: 400;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 11px;
  padding: 12px 20px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
}

.btn-small {
  padding: 9px 15px;
  font-size: 14px;
  border-radius: 999px;
}

.btn-primary {
  background: var(--brand);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--brand-dark);
}

.page-hero {
  padding: 56px 0;
}

.site-footer {
  background: var(--forest);
  color: #ffffffb3;
  margin-top: 48px;
}

.footer-help {
  border-bottom: 1px solid #ffffff18;
}

.help-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 22px 0;
  flex-wrap: wrap;
  text-align: center;
}

.help-row b,
.help-row span {
  display: block;
}

.help-row span {
  font-size: 13px;
  color: #ffffff80;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 42px;
  padding: 48px 0;
}

.footer-logo {
  height: 64px;
  width: auto;
  margin-bottom: 18px;
}

.footer-grid h4 {
  color: var(--white);
  margin: 0 0 14px;
}

.footer-grid a {
  display: block;
  color: #ffffff99;
  margin: 8px 0;
  font-size: 14px;
}

.footer-grid a:hover {
  color: var(--white);
}

.footer-social {
  border-top: 1px solid #ffffff18;
  padding: 16px 0;
}

.footer-social .container {
  display: flex;
  gap: 14px;
  align-items: center;
}

.footer-social a {
  color: var(--white);
  opacity: 0.85;
  display: inline-flex;
}

.footer-bottom {
  border-top: 1px solid #ffffff18;
  color: #ffffff55;
  font-size: 12px;
  padding: 16px 0 24px;
}

.footer-bottom a {
  color: inherit;
}

.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 760px;
  margin: auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow: 0 14px 40px #0002;
}

.cookie-banner.is-hidden {
  display: none;
}

.cookie-banner button {
  background: var(--brand);
  color: var(--white);
  border: 0;
  border-radius: 9px;
  padding: 10px 15px;
  font-weight: 800;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
}

.eyebrow {
  display: inline-block;
  color: var(--brand);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.prose p,
.prose li {
  color: var(--text);
}

.prose a {
  color: var(--brand);
  text-decoration: underline;
}

.hero-slider {
  height: 560px;
  position: relative;
  overflow: hidden;
  background: var(--forest);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s;
}

.hero-slide.is-active {
  opacity: 1;
}

.hero-slide > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-cover {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #000c, #0007 45%, #0003);
}

.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  color: var(--white);
}

.hero-content h1,
.hero-content h2 {
  font-size: clamp(28px, 4.5vw, 48px);
  line-height: 1.1;
  margin: 0 0 14px;
  max-width: 620px;
}

.hero-content p {
  font-size: 20px;
  color: #ffffffd9;
  margin: 0 0 10px;
}

.section {
  padding: 56px 0;
}

.warm {
  background: var(--warm);
}

.center {
  text-align: center;
}

.breadcrumbs {
  background: var(--warm);
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}

.breadcrumbs .container {
  display: flex;
  gap: 8px;
  align-items: center;
  min-height: 44px;
  flex-wrap: wrap;
}

.breadcrumbs a {
  color: var(--muted);
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.rounded-img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 20px;
}

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

.stats div {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 30px;
  text-align: center;
}

.stats b {
  display: block;
  font-family: var(--font-display);
  font-size: 40px;
  color: var(--brand);
  line-height: 1;
}

.stats span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.section-head {
  margin-bottom: 32px;
}

.section-head.row {
  display: flex;
  justify-content: space-between;
  align-items: end;
}

.card-grid,
.fundraiser-grid,
.banner-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

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

.card,
.fund-card,
.partner-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 20px #00000008;
}

.card img,
.fund-card > img {
  height: 210px;
  width: 100%;
  object-fit: cover;
}

.card-body {
  padding: 22px;
}

.card-body h2,
.card-body h3 {
  margin: 0 0 8px;
  font-size: 19px;
}

.tag {
  display: inline-flex;
  background: #eef2fa;
  color: var(--brand);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 10px;
}

.link-more {
  font-weight: 700;
  color: var(--brand);
}

.banner {
  min-height: 220px;
  border-radius: 20px;
  padding: 34px;
  color: var(--white);
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
}

.banner.dark {
  background: linear-gradient(135deg, var(--forest), #1a3358);
}

.banner h3 {
  font-size: 28px;
  margin: 0 0 8px;
}

.btn-outline {
  border: 1px solid var(--brand);
  color: var(--brand);
  background: var(--white);
}

.btn-ghost {
  background: #ffffff2e;
  color: var(--white);
}

.btn-light {
  background: var(--white);
  color: var(--brand);
}

.cta {
  background: var(--brand);
  color: var(--white);
  border-radius: 24px;
  padding: 42px;
  text-align: center;
}

.cta p,
.cta a {
  color: #fff9;
}

.subscribe-form input {
  background: #ffffff;
  color: var(--text);
}

.subscribe-form,
.form-box form {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.form-box form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.form-box textarea,
.form-box button {
  grid-column: 1 / -1;
}

.form-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px;
}

.form-box select {
  grid-column: 1 / -1;
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: 10px;
  background: #f3e4df;
  color: #7a2d2d;
}

.form-status.is-ok {
  background: #e4efe8;
  color: #24543a;
}

.cta .form-status {
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

input,
textarea,
select {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font: inherit;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.people-grid,
.partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 26px;
  margin-top: 24px;
}

.person,
.partner-card {
  text-align: center;
  padding: 22px 16px;
}

.person img {
  width: 128px;
  height: 128px;
  object-fit: cover;
  border-radius: 999px;
  margin: 0 auto 14px;
}

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

.doc-list a {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--white);
}

.gallery-clean {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.gallery-clean-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
}

.news-video video {
  width: 100%;
  border-radius: 16px;
  background: #000;
}

.search-results {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 16px;
}

.search-live {
  margin-top: 8px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.search-live a {
  display: block;
  padding: 10px 14px;
}

.search-live a:hover {
  background: #eef2fa;
  color: var(--brand);
}

.donation-theme-widget-container,
.donation-thermometer-container {
  margin: 28px 0;
}

blockquote {
  margin: 28px 0;
  padding: 22px 24px;
  background: var(--warm);
  border-left: 4px solid var(--brand);
  border-radius: 14px;
}

@media (max-width: 1050px) {
  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .header-inner {
    min-height: 64px;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 24px, 1160px);
  }

  .hero-slider {
    height: 480px;
  }

  .hero-cover {
    background: linear-gradient(180deg, #0008, #0006 40%, #0009);
  }

  .hero-content h1,
  .hero-content h2,
  .hero-content p {
    text-shadow: 0 2px 18px #000a;
  }

  .stats,
  .card-grid,
  .news-grid,
  .banner-grid,
  .two-col,
  .fundraiser-grid,
  .footer-grid,
  .gallery-clean,
  .form-box form {
    grid-template-columns: 1fr;
  }

  .section-head.row,
  .footer-grid,
  .help-row {
    display: block;
    text-align: center;
  }

  .help-row .btn {
    margin-top: 12px;
  }

  .cookie-banner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    left: 10px;
    right: 10px;
    bottom: 10px;
    text-align: left;
  }

  .cookie-banner button {
    width: 100%;
  }
}
