/* Shared mission-first styling for core interior pages */
.core-page {
  background: var(--paper);
}

.core-page-hero {
  padding: 92px 7vw 76px;
  background: var(--charcoal);
  color: var(--white);
}

.core-page-hero.has-media {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.core-page-hero.has-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5,7,9,.88), rgba(5,7,9,.34)), linear-gradient(0deg, rgba(5,7,9,.76), transparent 55%);
}

.core-page-hero > img,
.core-page-hero > video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.core-page-hero-copy {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.core-page-hero h1 {
  max-width: 940px;
  margin-bottom: 22px;
  font-size: clamp(46px, 7vw, 82px);
}

.core-page-hero .lead {
  max-width: 820px;
  margin-bottom: 0;
  color: #f2f2ef;
  line-height: 1.55;
}

.core-section {
  padding: 78px 7vw;
}

.core-section.white {
  background: var(--white);
}

.core-section.soft {
  background: #f1f1ed;
}

.core-section.dark {
  background: var(--charcoal);
  color: var(--white);
}

.core-heading {
  max-width: 920px;
  margin-bottom: 38px;
}

.core-heading.center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.core-heading p:not(.eyebrow) {
  color: #34383d;
  font-size: 19px;
  line-height: 1.65;
}

.core-section.dark .core-heading p:not(.eyebrow) {
  color: #eeeeea;
}

.core-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.core-card-grid.two {
  grid-template-columns: repeat(2, 1fr);
}

.core-card {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 44px rgba(18,18,18,.05);
}

.core-card h2,
.core-card h3 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.12;
}

.core-card h2 {
  font-size: clamp(29px, 3vw, 40px);
}

.core-card h3 {
  font-size: 27px;
}

.core-card p {
  color: #34383d;
  font-size: 17px;
  line-height: 1.62;
}

.core-card .text-link {
  display: inline-block;
  margin-top: 8px;
}

.core-card-accent {
  width: 44px;
  height: 4px;
  margin-bottom: 22px;
  background: var(--gold);
}

.core-split {
  display: grid;
  grid-template-columns: minmax(280px,.9fr) minmax(320px,1.1fr);
  gap: 58px;
  align-items: center;
}

.core-split img,
.core-split video {
  width: 100%;
  min-height: 420px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(0,0,0,.14);
}

.core-split-copy p:not(.eyebrow) {
  color: #34383d;
  font-size: 18px;
  line-height: 1.7;
}

.core-highlight {
  margin-top: 28px;
  padding: 24px 26px;
  border-left: 5px solid var(--gold);
  background: #ece8dc;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 23px;
  line-height: 1.45;
}

.core-cta {
  padding: 62px 7vw;
  background: var(--ink);
  color: var(--white);
  text-align: center;
}

.core-cta h2 {
  max-width: 900px;
  margin-right: auto;
  margin-left: auto;
}

.core-cta p {
  max-width: 780px;
  margin-right: auto;
  margin-left: auto;
  color: #eeeeea;
  font-size: 18px;
}

.core-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 28px;
}

.core-actions .button {
  min-height: 50px;
  padding: 0 24px;
}

.core-actions .button.secondary {
  background: rgba(255,255,255,.08);
}

.involve-card {
  display: flex;
  flex-direction: column;
}

.involve-card .text-link {
  margin-top: auto;
  padding-top: 16px;
}

.partner-callout {
  padding: 34px;
  border-radius: 8px;
  background: #ebe6d9;
  border: 1px solid #d7cba9;
}

.partner-callout p {
  color: #34383d;
  font-size: 18px;
}

.cause-overview-grid {
  display: grid;
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.cause-overview {
  display: grid;
  grid-template-columns: minmax(300px,.9fr) minmax(340px,1.1fr);
  min-height: 520px;
  background: var(--white);
}

.cause-overview:nth-child(even) {
  grid-template-columns: minmax(340px,1.1fr) minmax(300px,.9fr);
  background: #f1f1ed;
}

.cause-overview:nth-child(even) .cause-overview-media {
  order: 2;
}

.cause-overview-media img,
.cause-overview-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cause-overview-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px 7vw;
}

.cause-overview-copy p:not(.eyebrow) {
  color: #34383d;
  font-size: 18px;
  line-height: 1.7;
}

.frontline-role-grid {
  display: grid;
  grid-template-columns: repeat(5,1fr);
  gap: 1px;
  background: var(--line);
}

.frontline-role-grid article {
  min-height: 230px;
  padding: 28px;
  background: var(--white);
}

.frontline-role-grid h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
}

.frontline-role-grid p {
  color: #34383d;
  font-size: 16px;
}

@media (max-width: 1050px) {
  .frontline-role-grid {
    grid-template-columns: repeat(2,1fr);
  }
}

@media (max-width: 900px) {
  .core-card-grid,
  .core-card-grid.two,
  .core-split,
  .cause-overview,
  .cause-overview:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .cause-overview:nth-child(even) .cause-overview-media {
    order: 0;
  }

  .cause-overview-media {
    min-height: 360px;
  }
}

@media (max-width: 620px) {
  .core-page-hero {
    padding: 68px 6vw 58px;
  }

  .core-page-hero.has-media {
    min-height: 570px;
  }

  .core-section {
    padding: 60px 6vw;
  }

  .core-card,
  .partner-callout {
    padding: 25px;
  }

  .core-actions {
    flex-direction: column;
  }

  .core-actions .button {
    width: 100%;
  }

  .frontline-role-grid {
    grid-template-columns: 1fr;
  }

  .cause-overview-copy {
    padding: 48px 6vw;
  }
}


/* Preserve the full firefighter water-drop video in its landscape frame. */
.cause-overview-media:has(video) {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: 0;
  background: #111315;
}

.cause-overview-media video {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #111315;
}


/* Light-section action contrast and uncropped landscape mission video. */
.core-section.white .button.secondary,
.core-section.soft .button.secondary {
  border: 1px solid var(--ink);
  color: var(--ink);
  background: transparent;
}

.core-split video.landscape-content-video {
  min-height: 0;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #111315;
}
