/* CBT Charity Inc — NCF-inspired U.S. nonprofit site */
:root {
  --ink: #1a1f26;
  --ink-soft: #3d4654;
  --muted: #667084;
  --paper: #ffffff;
  --fog: #f4f6f8;
  --line: #e3e8ef;
  --navy: #0c2744;
  --navy-deep: #071a2e;
  --header: #1c222b;
  --blue: #2f7fb5;
  --blue-soft: #4a9fd4;
  --blue-deep: #1e5f8a;
  --teal: #2a7a6e;
  --gold: #c4a35a;
  --gold-bright: #d4b96e;
  --success: #2f6b4f;
  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;
  --max: 1180px;
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 18px 48px rgba(7, 26, 46, 0.16);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--gold);
  color: var(--navy-deep);
  padding: 0.6rem 1rem;
  z-index: 2000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* Header — NCF dark bar */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: var(--header);
  color: #fff;
}

.header-inner {
  height: 100%;
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
}

.brand img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(196, 163, 90, 0.45);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-text strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #fff;
}

.brand-text span {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-bright);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: #fff;
  transition: 0.25s var(--ease);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem 1.15rem;
}

.site-nav a {
  font-size: 0.92rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  transition: color 0.2s ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: #fff;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 44px;
  padding: 0.65rem 1.25rem;
  border-radius: 2px;
  border: 1px solid transparent;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.78rem;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease),
    transform 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-blue {
  background: var(--blue);
  color: #fff;
}

.btn-blue:hover {
  background: var(--blue-deep);
}

.btn-gold {
  background: var(--gold);
  color: var(--navy-deep);
}

.btn-gold:hover {
  background: var(--gold-bright);
}

.btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}

.btn-outline:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.btn-outline-dark {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}

.btn-outline-dark:hover {
  background: var(--navy);
  color: #fff;
}

.nav-cta {
  margin-left: 0.35rem;
  min-height: 38px;
  padding: 0.45rem 0.95rem;
}

/* Split hero — NCF pattern */
.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - var(--header-h));
  min-height: max(560px, calc(100svh - var(--header-h)));
}

.hero-copy {
  position: relative;
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 18% 22%, rgba(47, 127, 181, 0.08), transparent 28%),
    radial-gradient(circle at 78% 68%, rgba(42, 122, 110, 0.07), transparent 32%),
    linear-gradient(180deg, #fbfcfd 0%, #f3f6f9 100%);
  overflow: hidden;
}

.hero-copy::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(12, 39, 68, 0.12) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.35;
  pointer-events: none;
}

.hero-copy-inner {
  position: relative;
  z-index: 1;
  width: min(100% - 3rem, 520px);
  margin-inline: auto;
  padding: 3.5rem 0;
  animation: rise 0.9s var(--ease) forwards;
}

.hero-kicker {
  margin: 0 0 1rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
}

.hero-copy h1 {
  margin: 0 0 1.15rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.2rem, 3.6vw, 3.35rem);
  line-height: 1.12;
  color: var(--blue);
  letter-spacing: -0.02em;
}

.hero-copy p {
  margin: 0 0 1.75rem;
  color: var(--ink-soft);
  font-size: 1.08rem;
  max-width: 38ch;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--blue-deep);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.hero-cta .play {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid var(--blue);
  display: grid;
  place-items: center;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}

.hero-cta:hover .play {
  background: var(--blue);
  color: #fff;
}

.hero-media {
  position: relative;
  background: var(--navy-deep);
  overflow: hidden;
}

.hero-slides {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s var(--ease);
}

.hero-slide.is-active {
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: kenburns 14s ease-in-out infinite alternate;
}

.hero-slide.is-active img {
  animation-play-state: running;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(7, 26, 46, 0.72) 100%);
  pointer-events: none;
}

.hero-caption {
  position: absolute;
  left: 1.75rem;
  right: 1.75rem;
  bottom: 4.5rem;
  z-index: 2;
  color: #fff;
  max-width: 28rem;
  animation: rise 1s 0.15s var(--ease) forwards;
}

.hero-caption .eyebrow {
  margin: 0 0 0.4rem;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.85;
}

.hero-caption h2 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.55rem, 2.4vw, 2.15rem);
  line-height: 1.2;
}

.hero-caption a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 600;
  opacity: 0.95;
}

.hero-caption a:hover {
  text-decoration: underline;
}

.hero-controls {
  position: absolute;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 3;
  display: flex;
  gap: 0.5rem;
}

.hero-controls button {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(7, 26, 46, 0.25);
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(4px);
}

.hero-controls button:hover {
  background: rgba(255, 255, 255, 0.18);
}

/* Solutions / programs band */
.band-blue {
  background: linear-gradient(135deg, var(--blue-deep) 0%, var(--blue) 55%, #3a8fc0 100%);
  color: #fff;
  padding: 4rem 0 4.5rem;
}

.band-blue .section-head {
  margin-bottom: 2rem;
}

.band-blue h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.85rem, 3vw, 2.5rem);
  line-height: 1.2;
}

.band-blue .lede {
  margin: 0;
  max-width: 48rem;
  color: rgba(255, 255, 255, 0.9);
}

.card-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(240px, 1fr);
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.solution-card {
  position: relative;
  display: block;
  min-height: 280px;
  border-radius: 2px;
  overflow: hidden;
  scroll-snap-align: start;
  box-shadow: var(--shadow);
}

.solution-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.solution-card:hover img {
  transform: scale(1.05);
}

.solution-card .overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  background: linear-gradient(180deg, transparent 35%, rgba(7, 26, 46, 0.82) 100%);
  color: #fff;
}

.solution-card h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
}

.solution-card p {
  margin: 0;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.88);
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-tight {
  padding: 3.5rem 0;
}

.section-fog {
  background: var(--fog);
}

.section-navy {
  background: var(--navy-deep);
  color: #fff;
}

.eyebrow {
  margin: 0 0 0.6rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
}

.section h2,
.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.section h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.85rem, 3vw, 2.55rem);
  color: var(--ink);
}

.lede {
  margin: 0 0 1.25rem;
  color: var(--ink-soft);
  font-size: 1.08rem;
  max-width: 46rem;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}

.photo-frame {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  box-shadow: var(--shadow);
}

.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 5;
}

.photo-frame.wide img {
  aspect-ratio: 16 / 10;
}

/* Impact numbers */
.impact-panel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}

.impact-stat {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5rem);
  font-weight: 500;
  line-height: 1;
  color: var(--blue);
  margin: 0 0 0.5rem;
}

.impact-label {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: var(--ink);
}

.impact-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.impact-tabs button {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-soft);
  padding: 0.55rem 0.9rem;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.impact-tabs button.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.impact-panel .panel-copy[hidden] {
  display: none;
}

.quote-block {
  margin: 0;
  padding: 2rem;
  background: #fff;
  border-left: 4px solid var(--gold);
  box-shadow: var(--shadow);
}

.quote-block p {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.45;
  color: var(--ink);
}

.quote-block cite {
  font-style: normal;
  font-size: 0.92rem;
  color: var(--muted);
}

/* Newsletter */
.newsletter {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: end;
}

.newsletter h2 {
  color: #fff;
}

.newsletter p {
  color: rgba(255, 255, 255, 0.88);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 0.65rem;
}

.form-row input,
.form-stack input,
.form-stack textarea,
.form-stack select {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  padding: 0.7rem 0.9rem;
}

.form-row input::placeholder,
.form-stack input::placeholder,
.form-stack textarea::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.form-stack {
  display: grid;
  gap: 0.85rem;
}

.form-stack.light input,
.form-stack.light textarea,
.form-stack.light select {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}

.form-stack label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.form-stack.light textarea {
  min-height: 140px;
  resize: vertical;
}

/* Page hero */
.page-hero {
  position: relative;
  min-height: 320px;
  display: grid;
  align-items: end;
  color: #fff;
  overflow: hidden;
}

.page-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 26, 46, 0.25), rgba(7, 26, 46, 0.78));
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  padding: 4.5rem 0 2.75rem;
}

.page-hero h1 {
  margin: 0 0 0.65rem;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  color: #fff;
}

.page-hero p {
  margin: 0;
  max-width: 40rem;
  color: rgba(255, 255, 255, 0.9);
}

/* Leadership */
.leader-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.leader-card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 1.5rem 1.35rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.leader-card:hover {
  border-color: rgba(47, 127, 181, 0.45);
  box-shadow: var(--shadow);
}

.leader-card .role {
  margin: 0 0 0.45rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
}

.leader-card h3 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
}

.leader-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.leader-featured {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: center;
  margin-bottom: 2rem;
  background: #fff;
  border: 1px solid var(--line);
  padding: 1.5rem;
}

.leader-featured .avatar {
  aspect-ratio: 1;
  background:
    linear-gradient(145deg, rgba(47, 127, 181, 0.18), rgba(42, 122, 110, 0.22)),
    var(--fog);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--navy);
}

/* Donate */
.donate-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: start;
}

.donate-panel {
  background: #fff;
  border: 1px solid var(--line);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

.amount-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  margin: 1rem 0 1.25rem;
}

.amount-grid button {
  min-height: 52px;
  border: 1px solid var(--line);
  background: var(--fog);
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
}

.amount-grid button.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.ein-box {
  margin-top: 1.25rem;
  padding: 1rem 1.1rem;
  background: var(--fog);
  border-left: 3px solid var(--gold);
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.checklist {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.7rem;
}

.checklist li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 0.65rem;
  align-items: start;
  color: var(--ink-soft);
}

.checklist li::before {
  content: "";
  width: 18px;
  height: 18px;
  margin-top: 0.2rem;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: inset 0 0 0 4px #fff;
}

/* Transparency strip */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.trust-item {
  padding: 1.25rem;
  background: #fff;
  border: 1px solid var(--line);
}

.trust-item strong {
  display: block;
  margin-bottom: 0.35rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
}

.trust-item span {
  color: var(--muted);
  font-size: 0.95rem;
}

/* CTA band */
.cta-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 2rem 0;
}

.cta-band h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.6rem, 2.5vw, 2.1rem);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Footer — refined */
.site-footer {
  position: relative;
  background:
    radial-gradient(ellipse 80% 60% at 10% 0%, rgba(47, 127, 181, 0.16), transparent 55%),
    radial-gradient(ellipse 70% 50% at 90% 100%, rgba(196, 163, 90, 0.1), transparent 50%),
    linear-gradient(180deg, #121820 0%, #0b1016 100%);
  color: rgba(255, 255, 255, 0.82);
  padding: 0 0 1.35rem;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(196, 163, 90, 0.55),
    rgba(74, 159, 212, 0.45),
    transparent
  );
}

.footer-newsletter {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2.35rem 0;
}

.footer-newsletter-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.75rem;
  align-items: end;
}

.footer-newsletter h2 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
  color: #fff;
  letter-spacing: -0.02em;
}

.footer-newsletter p {
  margin: 0;
  max-width: 36rem;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.98rem;
}

.footer-newsletter .form-row {
  grid-template-columns: 1fr auto;
}

.footer-newsletter input {
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  padding: 0.7rem 0.95rem;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.footer-newsletter input:focus {
  outline: none;
  border-color: rgba(196, 163, 90, 0.7);
  background: rgba(255, 255, 255, 0.08);
}

.footer-newsletter input::placeholder {
  color: rgba(255, 255, 255, 0.42);
}

.footer-main {
  padding: 3rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.55fr 0.85fr 0.85fr 1.1fr;
  gap: 2.25rem 1.75rem;
  margin-bottom: 0;
}

.footer-brand {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.footer-brand img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #fff;
  box-shadow:
    0 0 0 1px rgba(196, 163, 90, 0.35),
    0 12px 28px rgba(0, 0, 0, 0.35);
  flex-shrink: 0;
}

.footer-brand strong {
  display: block;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 0.45rem;
  letter-spacing: -0.01em;
}

.footer-brand .footer-desc {
  margin: 0 0 0.85rem;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.95rem;
  line-height: 1.55;
  max-width: 28ch;
}

.footer-ein {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  padding: 0.4rem 0.7rem;
  border: 1px solid rgba(196, 163, 90, 0.35);
  background: rgba(196, 163, 90, 0.08);
  color: var(--gold-bright);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.footer-col h4 {
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 0.65rem;
}

.footer-col h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 28px;
  height: 2px;
  background: var(--gold);
}

.footer-col a,
.footer-col p {
  display: block;
  margin: 0 0 0.7rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.68);
  transition: color 0.22s ease, transform 0.22s ease;
}

.footer-col a {
  width: fit-content;
  position: relative;
}

.footer-col a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s var(--ease);
}

.footer-col a:hover {
  color: #fff;
  transform: translateX(2px);
}

.footer-col a:hover::after {
  transform: scaleX(1);
}

.footer-contact-line {
  display: grid;
  gap: 0.15rem;
  margin-bottom: 0.85rem;
}

.footer-contact-line span {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  margin: 0;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.82);
  border-radius: 50%;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.footer-social a::after {
  display: none;
}

.footer-social a:hover {
  transform: translateY(-2px);
  border-color: rgba(196, 163, 90, 0.65);
  background: rgba(196, 163, 90, 0.14);
  color: var(--gold-bright);
}

.footer-trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 2.5rem 0 0;
  padding: 1.35rem 0 0.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-trust-item {
  padding: 0.35rem 1.15rem;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  background: transparent;
  transition: opacity 0.25s ease;
}

.footer-trust-item:first-child {
  padding-left: 0;
}

.footer-trust-item:last-child {
  border-right: 0;
  padding-right: 0;
}

.footer-trust-item:hover {
  opacity: 0.85;
  border-color: rgba(255, 255, 255, 0.1);
  background: transparent;
}

.footer-trust-item strong {
  display: block;
  margin-bottom: 0.25rem;
  color: #fff;
  font-size: 0.98rem;
  font-family: var(--font-display);
  font-weight: 500;
}

.footer-trust-item span {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.82rem;
  line-height: 1.4;
}

@media (max-width: 980px) {
  .footer-trust {
    grid-template-columns: 1fr 1fr;
    gap: 1rem 0;
  }

  .footer-trust-item {
    border-right: 0;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }
}

@media (max-width: 640px) {
  .footer-trust {
    grid-template-columns: 1fr;
  }
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 1.75rem;
  padding-top: 1.15rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.48);
}

.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.15rem;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.2s ease;
}

.footer-bottom-links a:hover {
  color: var(--gold-bright);
}

@media (max-width: 980px) {
  .footer-newsletter-inner,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .footer-newsletter-inner,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-newsletter .form-row {
    grid-template-columns: 1fr;
  }
}

/* Reveal motion */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes kenburns {
  from {
    transform: scale(1.04) translate(0, 0);
  }
  to {
    transform: scale(1.1) translate(-1.5%, -1%);
  }
}

/* Responsive */
@media (max-width: 980px) {
  .hero-split,
  .split,
  .impact-panel,
  .newsletter,
  .donate-layout,
  .leader-featured {
    grid-template-columns: 1fr;
  }

  .hero-split {
    min-height: auto;
  }

  .hero-media {
    min-height: 420px;
  }

  .leader-grid,
  .trust-strip {
    grid-template-columns: 1fr 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--header);
    padding: 0.75rem 1.25rem 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 0.75rem 0.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav-cta {
    margin: 0.75rem 0 0;
    width: 100%;
  }
}

@media (max-width: 640px) {
  .leader-grid,
  .trust-strip,
  .amount-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy-inner {
    width: min(100% - 2rem, 520px);
    padding: 2.5rem 0;
  }

  .card-rail {
    grid-auto-columns: minmax(78vw, 1fr);
  }
}

/* ========== Advanced layer ========== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  z-index: 300;
  background: linear-gradient(90deg, var(--gold), var(--blue-soft), var(--teal));
  transform-origin: left;
  pointer-events: none;
}

.site-header.is-compact {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
}

.site-header.is-compact .brand img {
  width: 40px;
  height: 40px;
  transition: width 0.25s var(--ease), height 0.25s var(--ease);
}

.site-nav a {
  position: relative;
}

.site-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s var(--ease);
}

.site-nav a:not(.btn):hover::after,
.site-nav a:not(.btn)[aria-current="page"]::after {
  transform: scaleX(1);
}

.icon-btn {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  border-radius: 2px;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.icon-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.45);
}

.nav-tools {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.hero-dots {
  position: absolute;
  left: 1.75rem;
  bottom: 1.4rem;
  z-index: 3;
  display: flex;
  gap: 0.45rem;
}

.hero-dots button {
  width: 28px;
  height: 3px;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: background 0.25s ease, width 0.25s ease;
}

.hero-dots button.is-active {
  width: 42px;
  background: #fff;
}

.hero-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.18);
  z-index: 3;
}

.hero-progress > span {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--gold);
}

.marquee {
  overflow: hidden;
  border-block: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.12);
  margin: 2rem -1.25rem 0;
  padding: 0.85rem 0;
}

.marquee-track {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  animation: marquee 28s linear infinite;
  white-space: nowrap;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.marquee-track span::before {
  content: "◆";
  color: var(--gold-bright);
  font-size: 0.55rem;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.stat-card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 1.35rem 1.2rem;
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, var(--blue), var(--teal));
}

.stat-card .num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.7rem);
  color: var(--blue);
  line-height: 1;
  margin: 0 0 0.45rem;
}

.stat-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.story-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 1rem;
}

.story-card {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  border-radius: 2px;
  color: #fff;
  display: block;
  isolation: isolate;
}

.story-card.featured {
  min-height: 420px;
  grid-row: span 2;
}

.story-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.story-card:hover img {
  transform: scale(1.06);
}

.story-card .body {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.35rem;
  background: linear-gradient(180deg, transparent, rgba(7, 26, 46, 0.88));
  z-index: 1;
}

.story-card .tag {
  display: inline-block;
  margin-bottom: 0.45rem;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-bright);
}

.story-card h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.35rem;
}

.story-card p {
  margin: 0;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.86);
}

.timeline {
  position: relative;
  display: grid;
  gap: 1.25rem;
  padding-left: 1.4rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 0.35rem;
  bottom: 0.35rem;
  width: 2px;
  background: linear-gradient(180deg, var(--blue), var(--gold), var(--teal));
}

.timeline-item {
  position: relative;
  padding: 1rem 1.15rem;
  background: #fff;
  border: 1px solid var(--line);
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -1.28rem;
  top: 1.25rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(196, 163, 90, 0.22);
}

.timeline-item strong {
  display: block;
  color: var(--blue-deep);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.timeline-item h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.25rem;
}

.timeline-item p {
  margin: 0;
  color: var(--muted);
}

/* Donate wizard */
.wizard-steps {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.35rem;
}

.wizard-steps .step {
  flex: 1;
  text-align: center;
  padding: 0.55rem 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 2px solid var(--line);
}

.wizard-steps .step.is-active {
  color: var(--blue-deep);
  border-color: var(--blue);
}

.wizard-steps .step.is-done {
  color: var(--teal);
  border-color: var(--teal);
}

.wizard-pane[hidden] {
  display: none;
}

.frequency {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
  margin-bottom: 1rem;
}

.frequency button {
  min-height: 46px;
  border: 1px solid var(--line);
  background: var(--fog);
  font-weight: 700;
  cursor: pointer;
}

.frequency button.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.gift-summary {
  margin-top: 1rem;
  padding: 1rem;
  background: linear-gradient(135deg, #f7fafc, #eef5fa);
  border: 1px solid var(--line);
}

.gift-summary dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.35rem 1rem;
  margin: 0;
}

.gift-summary dt {
  color: var(--muted);
}

.gift-summary dd {
  margin: 0;
  font-weight: 700;
  text-align: right;
}

/* Modals / overlays */
.overlay-root {
  position: fixed;
  inset: 0;
  background: rgba(7, 26, 46, 0.62);
  backdrop-filter: blur(4px);
  z-index: 400;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s var(--ease);
}

.overlay-root.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  width: min(100%, 560px);
  background: #fff;
  border-radius: 2px;
  box-shadow: var(--shadow);
  padding: 1.5rem;
  transform: translateY(12px);
  transition: transform 0.28s var(--ease);
}

.overlay-root.is-open .modal-card {
  transform: none;
}

.modal-card h2 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.55rem;
}

.search-results {
  margin-top: 0.85rem;
  max-height: 280px;
  overflow: auto;
  display: grid;
  gap: 0.35rem;
}

.search-results a {
  display: block;
  padding: 0.7rem 0.75rem;
  border: 1px solid var(--line);
  color: var(--ink);
}

.search-results a:hover,
.search-results a:focus {
  border-color: var(--blue);
  background: #f5f9fc;
}

.search-results a strong {
  display: block;
  font-size: 0.95rem;
}

.search-results a span {
  font-size: 0.85rem;
  color: var(--muted);
}

.cookie-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 350;
  background: #0f141a;
  color: rgba(255, 255, 255, 0.88);
  padding: 0.85rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  transform: translateY(110%);
  transition: transform 0.35s var(--ease);
}

.cookie-bar.is-visible {
  transform: none;
}

.cookie-bar p {
  margin: 0;
  font-size: 0.92rem;
  max-width: 48rem;
}

.cookie-bar a {
  color: var(--blue-soft);
  text-decoration: underline;
}

.donate-dock {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 320;
  display: flex;
  gap: 0.55rem;
  align-items: center;
}

.donate-dock .btn {
  box-shadow: 0 14px 34px rgba(7, 26, 46, 0.28);
}

body.has-cookie .donate-dock {
  bottom: 4.75rem;
}

.to-top {
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  box-shadow: var(--shadow);
}

.to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.page-enter main {
  animation: pageIn 0.55s var(--ease) forwards;
}

@keyframes pageIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.reveal[data-delay="1"] {
  transition-delay: 0.08s;
}
.reveal[data-delay="2"] {
  transition-delay: 0.16s;
}
.reveal[data-delay="3"] {
  transition-delay: 0.24s;
}
.reveal[data-delay="4"] {
  transition-delay: 0.32s;
}

.photo-frame {
  transition: transform 0.5s var(--ease);
}

.photo-frame:hover {
  transform: translateY(-4px);
}

@media (max-width: 980px) {
  .stat-grid {
    grid-template-columns: 1fr 1fr;
  }

  .story-grid {
    grid-template-columns: 1fr;
  }

  .story-card.featured {
    grid-row: auto;
    min-height: 320px;
  }

  .nav-tools .icon-btn {
    display: none;
  }

  .site-nav.is-open .nav-tools,
  .site-nav .icon-btn {
    display: grid;
  }
}

@media (max-width: 640px) {
  .stat-grid {
    grid-template-columns: 1fr;
  }

  .donate-dock {
    left: 0.85rem;
    right: 0.85rem;
    bottom: 0.85rem;
  }

  .donate-dock .to-top {
    display: none;
  }

  .donate-dock .btn {
    width: 100%;
  }

  body.has-cookie .donate-dock {
    bottom: 4.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .hero-copy-inner,
  .hero-caption,
  .page-enter main {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }

  .marquee-track {
    animation: none !important;
  }
}

/* ========== News / Blog ========== */
.news-layout {
  display: grid;
  grid-template-columns: 1.7fr 0.9fr;
  gap: 2rem;
  align-items: start;
}

.news-featured {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 0;
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
  margin-bottom: 1.25rem;
  color: inherit;
  transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}

.news-featured:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.news-featured img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

.news-featured .body {
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.news-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.85rem;
  margin: 0 0 0.65rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.news-meta .tag {
  color: var(--blue-deep);
}

.news-featured h2,
.news-card h3,
.article-header h1 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.02em;
}

.news-featured h2 {
  margin: 0 0 0.7rem;
  font-size: clamp(1.55rem, 2.4vw, 2rem);
  color: var(--ink);
  line-height: 1.2;
}

.news-featured p,
.news-card p {
  margin: 0;
  color: var(--ink-soft);
}

.news-list {
  display: grid;
  gap: 1rem;
}

.news-card {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 1rem;
  background: #fff;
  border: 1px solid var(--line);
  padding: 0.75rem;
  color: inherit;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.news-card:hover {
  border-color: rgba(47, 127, 181, 0.45);
  box-shadow: var(--shadow);
}

.news-card img {
  width: 100%;
  height: 120px;
  object-fit: cover;
}

.news-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.15rem;
  color: var(--ink);
}

.news-side {
  position: sticky;
  top: calc(var(--header-h) + 1rem);
  display: grid;
  gap: 1rem;
}

.news-widget {
  background: #fff;
  border: 1px solid var(--line);
  padding: 1.25rem;
}

.news-widget h3 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.2rem;
}

.news-widget ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

.news-widget a {
  color: var(--blue-deep);
  font-weight: 600;
}

.news-widget a:hover {
  text-decoration: underline;
}

.category-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.category-pills button,
.category-pills a {
  border: 1px solid var(--line);
  background: var(--fog);
  color: var(--ink-soft);
  padding: 0.4rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}

.category-pills button.is-active,
.category-pills a.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.home-news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.home-news-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
  color: inherit;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.home-news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.home-news-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.home-news-card .body {
  padding: 1.15rem 1.15rem 1.35rem;
  display: grid;
  gap: 0.45rem;
}

.home-news-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.25rem;
  line-height: 1.25;
}

.article-wrap {
  width: min(100% - 2.5rem, 760px);
  margin-inline: auto;
}

.article-header {
  padding: 3.5rem 0 1.5rem;
}

.article-header h1 {
  margin: 0 0 0.85rem;
  font-size: clamp(2rem, 4vw, 2.85rem);
  line-height: 1.15;
  color: var(--ink);
}

.article-hero {
  margin: 0 0 2rem;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.article-hero img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.article-body {
  font-size: 1.08rem;
  color: var(--ink-soft);
}

.article-body h2 {
  margin: 2rem 0 0.75rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.55rem;
  color: var(--ink);
}

.article-body p {
  margin: 0 0 1.15rem;
}

.article-body blockquote {
  margin: 1.5rem 0;
  padding: 1.15rem 1.25rem;
  border-left: 4px solid var(--gold);
  background: var(--fog);
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--ink);
}

.article-footer {
  margin: 2.5rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  align-items: center;
}

.related-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 980px) {
  .news-layout,
  .news-featured,
  .news-card,
  .home-news-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .news-side {
    position: static;
  }
}
