:root {
  --red: #b6202a;
  --red-dark: #971b23;
  --red-hover: #80171e;
  --blue: #315c78;
  --navy: #102a43;
  --navy-deep: #0a1d2f;
  --gold: #c59a3d;
  --white: #ffffff;
  --background: #f5f3ee;
  --border: #d5dce2;
  --body: #243445;
  --muted: #5b6773;
  --photo-radius: 8px;
  --container: 1240px;
  /* Updated dynamically by site.js so sticky in-page navigation clears the full header. */
  --site-header-height: 133px;
}

/* Content photography uses restrained rounding throughout the civic design system. */
.hero__media,
.hero__media picture,
.hero__image,
.news-image,
.article-featured-image,
.featured-story,
.featured-story img,
.apparatus-card,
.apparatus-card img,
.apparatus-feature,
.apparatus-feature img,
.image-placeholder,
.photo-viewer__trigger,
.photo-viewer__trigger img,
.gov-hero__photo,
.gov-hero__photo img,
.gov-story__media,
.gov-story__media img,
.gov-about__photo img {
  border-radius: var(--photo-radius) !important;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--body);
  font-family: Arial, Helvetica, sans-serif;
}

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

/* Links use color, weight, borders, and focus outlines instead of underlines. */
a,
a * {
  text-decoration: none !important;
}

a:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 5px 20px rgba(8,29,53,0.10);
}

.utility-bar {
  background: var(--navy);
  color: var(--white);
}

.utility-bar__inner {
  width: calc(100% - 64px);
  max-width: var(--container);
  min-height: 36px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 24px;
  font-size: 12px;
  letter-spacing: 0.02em;
}

.utility-bar a {
  color: rgba(255,255,255,0.90);
  text-decoration: none;
}

.main-nav {
  background: var(--white);
}

.main-nav__inner {
  width: calc(100% - 64px);
  max-width: var(--container);
  min-height: 92px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand {
  margin-right: auto;
  display: inline-flex;
  align-items: center;
}

.brand img {
  display: block;
  width: 162px;
  height: auto;
  max-height: 72px;
  object-fit: contain;
}

.desktop-nav {
  height: 92px;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  list-style: none;
}

/* Reset browser list defaults so semantic navigation stays on one aligned row. */
.desktop-nav > li {
  margin: 0;
  padding: 0;
  display: flex;
  align-items: stretch;
  list-style: none;
}

.desktop-nav > li > .nav-link,
.desktop-nav > li > .nav-dropdown__toggle {
  height: 100%;
}

.nav-link {
  position: relative;
  padding: 0 13px;
  display: flex;
  align-items: center;
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-link::after {
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 18px;
  height: 2px;
  content: "";
  background: transparent;
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--red-dark);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  background: var(--red);
  transform: scaleX(1);
}

.donate-button {
  min-height: 44px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  background: var(--red);
  color: var(--white);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
  transition: 0.2s ease;
}

.donate-button:hover {
  background: var(--red-hover);
  transform: translateY(-1px);
}

.brand-rule {
  height: 5px;
  background: linear-gradient(
    90deg,
    var(--red) 0%,
    var(--red) 50%,
    var(--blue) 50%,
    var(--blue) 100%
  );
}

.menu-toggle,
.mobile-menu {
  display: none;
}

.hero {
  position: relative;
  height: 580px;
  min-height: 580px;
  max-height: 580px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
}

.hero__media,
.hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__media {
  overflow: hidden;
  background: var(--navy);
}

.hero__media picture {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 18%;
  width: 82%;
  height: 100%;
  display: block;
  /* Fade the photograph into the navy field without editing the source image. */
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0,0,0,0.18) 5%,
    rgba(0,0,0,0.72) 17%,
    #000 29%,
    #000 100%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0,0,0,0.18) 5%,
    rgba(0,0,0,0.72) 17%,
    #000 29%,
    #000 100%
  );
}

/* Keep the source photograph unaltered. The image fills only the right side
   of the hero so the truck retains a balanced scale instead of being zoomed. */
.hero__image {
  display: block;
  object-fit: cover;
  object-position: 66% center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      90deg,
      rgba(5,20,38,1) 0%,
      rgba(5,20,38,0.99) 25%,
      rgba(5,20,38,0.92) 35%,
      rgba(5,20,38,0.68) 46%,
      rgba(5,20,38,0.32) 58%,
      rgba(5,20,38,0.10) 72%,
      rgba(5,20,38,0) 87%
    ),
    linear-gradient(
      0deg,
      rgba(5,20,38,0.20) 0%,
      rgba(5,20,38,0) 34%
    );
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  width: calc(100% - 128px);
  max-width: var(--container);
  margin: 0 auto;
}

/* Match the homepage eyebrow to the shared interior-page eyebrow style. */
.hero__eyebrow {
  display: block;
  margin: 0 0 14px;
  color: #e6393f;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 610px;
  margin: 0 0 22px;
  color: var(--white);
  font-size: clamp(44px, 4.4vw, 60px);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.hero p {
  max-width: 520px;
  margin: 0 0 32px;
  color: rgba(255,255,255,0.90);
  font-size: 18px;
  line-height: 1.65;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  min-height: 50px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition: 0.2s ease;
}

.button--primary {
  border: 1px solid var(--red);
  background: var(--red);
  color: var(--white);
}

.button--primary:hover {
  border-color: var(--red-hover);
  background: var(--red-hover);
  transform: translateY(-1px);
}

.button--secondary {
  border: 1px solid rgba(255,255,255,0.85);
  background: rgba(5,20,38,0.24);
  color: var(--white);
  backdrop-filter: blur(4px);
}

.button--secondary:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-1px);
}

.service-strip {
  padding: 56px 0 60px;
  border-bottom: 1px solid var(--border);
  background:
    linear-gradient(120deg, rgba(8,29,53,0.035), transparent 42%),
    var(--white);
}

.service-strip__inner {
  width: calc(100% - 64px);
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.58fr);
  align-items: center;
  gap: clamp(40px, 5vw, 76px);
}

.service-strip__intro {
  padding-left: 24px;
  border-left: 4px solid var(--red);
}

.service-strip__eyebrow,
.service-strip__card-label {
  display: block;
  color: var(--red);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.service-strip__intro h2 {
  max-width: 520px;
  margin: 10px 0 14px;
  color: var(--navy);
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.service-strip__intro p {
  max-width: 540px;
  margin: 0 0 18px;
  color: var(--body);
  font-size: 16px;
  line-height: 1.65;
}

.service-strip__learn {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.service-strip__learn span {
  margin-left: 8px;
  transition: transform 180ms ease;
}

.service-strip__learn:hover,
.service-strip__learn:focus-visible {
  color: var(--red-dark);
}

.service-strip__learn:hover span,
.service-strip__learn:focus-visible span {
  transform: translateX(4px);
}

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

.service-strip__card {
  position: relative;
  min-height: 196px;
  padding: 25px 24px 22px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  background: #f8fafc;
  color: var(--navy);
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.service-strip__card strong {
  margin: 14px 0 9px;
  font-size: 23px;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.service-strip__card-copy {
  color: var(--body);
  font-size: 14px;
  line-height: 1.55;
}

.service-strip__card-arrow {
  margin-top: auto;
  padding-top: 18px;
  color: var(--red);
  font-size: 22px;
  line-height: 1;
}

.service-strip__card:hover,
.service-strip__card:focus-visible {
  transform: translateY(-3px);
  border-color: #c7d1da;
  box-shadow: 0 14px 28px rgba(8,29,53,0.10);
}

.service-strip__card:focus-visible,
.service-strip__learn:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 4px;
}

.service-strip__card--emergency {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
}

.service-strip__card--emergency .service-strip__card-label {
  color: #ff747a;
}

.service-strip__card--emergency .service-strip__card-copy {
  color: #dce5ed;
}

.service-strip__card--emergency .service-strip__card-arrow {
  color: var(--white);
}

@media (prefers-reduced-motion: reduce) {
  .service-strip__learn span,
  .service-strip__card {
    transition: none;
  }
}

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

  .menu-toggle {
    width: 44px;
    height: 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    border: 1px solid var(--border);
    border-radius: 4px;
    background: var(--white);
    cursor: pointer;
  }

  .menu-toggle span {
    width: 22px;
    height: 2px;
    background: var(--navy);
    transition: transform 180ms ease, opacity 140ms ease;
  }

  .menu-toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .mobile-menu.is-open {
    display: block;
    position: fixed;
    z-index: 90;
    top: 133px;
    right: 0;
    bottom: 0;
    left: 0;
    max-height: none;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding: 12px max(20px, env(safe-area-inset-right)) calc(24px + env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));
    background: #f5f7f9;
    box-shadow: inset 0 1px 0 var(--border), 0 18px 40px rgba(5, 20, 38, 0.18);
  }

  .mobile-menu > li {
    display: block;
    max-width: 520px;
    margin: 0 auto;
  }

  .mobile-menu__link,
  .mobile-menu__section-toggle {
    width: 100%;
    min-height: 52px;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
    border: 0;
    border-bottom: 1px solid #d9e0e6;
    background: transparent;
    color: var(--navy);
    font: inherit;
    font-size: 16px;
    font-weight: 700;
    text-align: left;
    text-decoration: none;
  }

  .mobile-menu__section-toggle {
    cursor: pointer;
  }

  .mobile-menu__section-toggle span {
    width: 9px;
    height: 9px;
    flex: 0 0 auto;
    margin-left: 16px;
    border-right: 2px solid var(--navy);
    border-bottom: 2px solid var(--navy);
    transform: rotate(45deg) translate(-2px, 2px);
    transition: transform 180ms ease;
  }

  .mobile-menu__section-toggle[aria-expanded="true"] span {
    transform: rotate(225deg) translate(-2px, 2px);
  }

  .mobile-menu__submenu {
    margin: 4px 0 8px;
    padding: 5px 8px;
    list-style: none;
    border: 1px solid #d9e0e6;
    border-radius: 4px;
    background: var(--white);
  }

  .mobile-menu__submenu a {
    min-height: 46px;
    padding: 11px 16px;
    display: flex;
    align-items: center;
    color: var(--navy);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
  }

  .mobile-menu__submenu li {
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .mobile-menu__submenu li + li a {
    border-top: 1px solid #e5e9ed;
  }

  .mobile-menu a[aria-current="page"] {
    color: var(--red);
  }

  .mobile-menu__donate-item {
    padding-top: 16px;
  }

  .mobile-donate {
    min-height: 52px;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0 !important;
    border-radius: 4px;
    background: var(--red);
    color: var(--white) !important;
    font-size: 16px;
    font-weight: 800;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 8px 18px rgba(207, 16, 28, 0.18);
  }

  body.mobile-menu-open {
    overflow: hidden;
  }

  .service-strip__inner {
    grid-template-columns: 1fr;
  }
}

@media screen and (min-width: 992px) and (max-height: 850px) {
  .utility-bar__inner {
    min-height: 32px;
  }

  .main-nav__inner,
  .desktop-nav {
    min-height: 84px;
    height: 84px;
  }

  .brand img {
    width: 150px;
    max-height: 64px;
  }

  .nav-link::after {
    bottom: 15px;
  }

  .hero {
    height: 540px;
    min-height: 540px;
    max-height: 540px;
  }

  .service-strip__item {
    min-height: 132px;
    padding: 22px 24px;
  }
}

@media screen and (max-width: 767px) {
  .utility-bar {
    display: none;
  }

  .main-nav__inner {
    width: calc(100% - 28px);
    min-height: 76px;
  }

  .brand img {
    width: 126px;
    max-height: 56px;
  }

  .donate-button {
    display: none;
  }

  .mobile-menu.is-open {
    top: 76px;
  }

  .hero {
    height: auto;
    min-height: 680px;
    max-height: none;
    align-items: flex-end;
  }

  .hero__media picture {
    left: 0;
    width: 100%;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .hero__image {
    object-fit: cover;
    object-position: 68% center;
  }

  .hero__overlay {
    background: linear-gradient(
      0deg,
      rgba(5,20,38,0.99) 0%,
      rgba(5,20,38,0.93) 40%,
      rgba(5,20,38,0.58) 66%,
      rgba(5,20,38,0.10) 100%
    );
  }

  .hero__content {
    width: calc(100% - 40px);
    padding: 250px 0 58px;
  }

  .hero h1 {
    font-size: 44px;
  }

  .hero p {
    font-size: 17px;
  }

  .service-strip {
    padding: 42px 0 46px;
  }

  .service-strip__inner {
    width: calc(100% - 40px);
    gap: 30px;
  }

  .service-strip__intro {
    padding-left: 18px;
  }

  .service-strip__actions {
    grid-template-columns: 1fr;
  }

  .service-strip__card {
    min-height: 156px;
  }
}

@media screen and (max-width: 479px) {
  .hero__content {
    width: calc(100% - 28px);
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }
}

/* =========================================
   SITE FOOTER
========================================= */

.site-footer {
  color: rgba(255,255,255,0.78);
  background: var(--navy-deep);
}

.site-footer__accent {
  height: 5px;
  background: linear-gradient(90deg, var(--red) 0 50%, var(--blue) 50% 100%);
}

.site-footer__main {
  padding: 72px 0 64px;
  background:
    radial-gradient(circle at 85% 10%, rgba(23,63,113,0.24), transparent 34%),
    var(--navy-deep);
}

.site-footer__inner {
  width: calc(100% - 64px);
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.25fr 0.7fr 0.9fr 1.25fr;
  gap: 54px;
}

.footer-brand__logo {
  display: inline-flex;
  padding: 10px 14px;
  border-radius: 4px;
  background: var(--white);
}

.footer-brand__logo img {
  display: block;
  width: 172px;
  height: auto;
  max-height: 72px;
  object-fit: contain;
}

.footer-brand p {
  max-width: 330px;
  margin: 24px 0 22px;
  font-size: 14px;
  line-height: 1.75;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 4px;
  color: var(--white);
  transition: 0.2s ease;
}

.footer-social a:hover {
  border-color: var(--red);
  background: var(--red);
  transform: translateY(-2px);
}

.footer-social svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer-column h2,
.footer-action h2 {
  margin: 0;
  color: var(--white);
}

.footer-column h2 {
  position: relative;
  margin-bottom: 24px;
  padding-bottom: 13px;
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-column h2::after {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30px;
  height: 2px;
  content: "";
  background: var(--red);
}

.footer-links,
.footer-contact {
  display: grid;
  gap: 13px;
}

.footer-links a,
.footer-contact a {
  width: fit-content;
  color: rgba(255,255,255,0.76);
  font-size: 14px;
  line-height: 1.5;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--white);
}

.footer-contact {
  color: rgba(255,255,255,0.76);
  font-size: 14px;
  font-style: normal;
  line-height: 1.7;
}

.footer-action {
  padding: 30px;
  border-left: 3px solid var(--red);
  background: rgba(255,255,255,0.055);
}

.footer-action__eyebrow {
  display: block;
  margin-bottom: 12px;
  color: #f25c61;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-action h2 {
  font-size: 23px;
  line-height: 1.25;
}

.footer-action p {
  margin: 14px 0 22px;
  font-size: 14px;
  line-height: 1.65;
}

.footer-action__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-button {
  min-height: 43px;
  padding: 0 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 4px;
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
  transition: 0.2s ease;
}

.footer-button--primary {
  border-color: var(--red);
  background: var(--red);
}

.footer-button--primary:hover {
  border-color: var(--red-hover);
  background: var(--red-hover);
}

.footer-button--outline {
  border-color: rgba(255,255,255,0.42);
  background: transparent;
}

.footer-button--outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.08);
}

.site-footer__emergency {
  border-top: 1px solid rgba(255,255,255,0.10);
  border-bottom: 1px solid rgba(255,255,255,0.10);
  background: var(--navy);
}

.site-footer__emergency-inner {
  width: calc(100% - 64px);
  max-width: var(--container);
  min-height: 66px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-size: 13px;
  letter-spacing: 0.04em;
}

.site-footer__emergency strong {
  color: var(--white);
  font-size: 24px;
  line-height: 1;
}

.site-footer__emergency a {
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
}

.site-footer__emergency-divider {
  width: 1px;
  height: 24px;
  margin: 0 8px;
  background: rgba(255,255,255,0.22);
}

.site-footer__bottom {
  background: #030e1a;
}

.site-footer__bottom-inner {
  width: calc(100% - 64px);
  max-width: var(--container);
  min-height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: rgba(255,255,255,0.52);
  font-size: 12px;
}

.site-footer__bottom p {
  margin: 0;
}

.site-footer__bottom-inner div {
  display: flex;
  gap: 22px;
}

.site-footer__bottom a {
  color: inherit;
  text-decoration: none;
}

.site-footer__bottom a:hover {
  color: var(--white);
}

@media screen and (max-width: 1080px) {
  .site-footer__inner {
    grid-template-columns: 1.2fr 0.8fr 1fr;
  }

  .footer-action {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1.4fr auto;
    align-items: center;
    gap: 24px;
  }

  .footer-action__eyebrow {
    margin: 0;
  }

  .footer-action p {
    margin: 0;
  }
}

@media screen and (max-width: 767px) {
  .site-footer__main {
    padding: 52px 0 46px;
  }

  .site-footer__inner {
    width: calc(100% - 40px);
    grid-template-columns: 1fr 1fr;
    gap: 42px 28px;
  }

  .footer-brand,
  .footer-action {
    grid-column: 1 / -1;
  }

  .footer-action {
    display: block;
  }

  .footer-action__eyebrow {
    margin-bottom: 12px;
  }

  .footer-action p {
    margin: 14px 0 22px;
  }

  .site-footer__emergency-inner {
    width: calc(100% - 40px);
    padding: 18px 0;
    flex-wrap: wrap;
    gap: 8px 12px;
    text-align: center;
  }

  .site-footer__emergency-divider {
    display: none;
  }

  .site-footer__emergency-inner > span:last-child {
    width: 100%;
  }

  .site-footer__bottom-inner {
    width: calc(100% - 40px);
    padding: 20px 0;
    flex-direction: column;
    align-items: flex-start;
  }
}

@media screen and (max-width: 479px) {
  .site-footer__inner {
    width: calc(100% - 28px);
    grid-template-columns: 1fr;
  }

  .footer-brand,
  .footer-action {
    grid-column: auto;
  }

  .footer-action {
    padding: 26px 22px;
  }

  .footer-action__buttons {
    display: grid;
    grid-template-columns: 1fr;
  }

  .site-footer__bottom-inner {
    width: calc(100% - 28px);
  }
}


/* Interior pages and dropdown navigation */
.nav-dropdown{position:relative;display:flex;align-items:stretch}.nav-dropdown__toggle{font:inherit;background:none;border:0;cursor:pointer}.nav-dropdown__menu{position:absolute;margin:0;list-style:none;top:calc(100% + 18px);left:0;min-width:230px;padding:10px;background:#fff;border-top:3px solid #d71920;box-shadow:0 18px 40px rgba(0,0,0,.18);opacity:0;visibility:hidden;transform:translateY(8px);transition:.2s;z-index:50}.nav-dropdown__menu li{margin:0;padding:0;list-style:none}.nav-dropdown__menu a{display:block;padding:11px 13px;color:#1a2940;text-decoration:none;font-size:14px;font-weight:700}.nav-dropdown__menu a:hover{background:#f2f5f8;color:#c31820}.nav-dropdown:hover .nav-dropdown__menu,.nav-dropdown.is-open .nav-dropdown__menu{opacity:1;visibility:visible;transform:none}.mobile-menu__label{display:block;padding:16px 24px 6px;color:#8390a2;font-size:11px;font-weight:800;letter-spacing:.16em;text-transform:uppercase}.mobile-menu__label~a{padding-left:34px}
.page-hero{background:linear-gradient(120deg,#081d34,#143b63);color:#fff;padding:92px 0 88px;position:relative;overflow:hidden}.page-hero:after{content:"";position:absolute;right:-100px;bottom:-170px;width:460px;height:460px;border:80px solid rgba(255,255,255,.035);border-radius:50%}.page-hero__inner,.content-section,.interior-cta{width:min(1180px,calc(100% - 48px));margin:auto}.page-hero span,.section-kicker{display:block;color:#e6393f;font-size:12px;font-weight:900;letter-spacing:.18em;text-transform:uppercase;margin-bottom:14px}.page-hero h1{font-size:clamp(44px,6vw,76px);line-height:.98;margin:0 0 18px}.page-hero p{font-size:19px;line-height:1.65;max-width:720px;margin:0;color:#d6e0e9}.content-section{padding:88px 0}.content-section--light{width:100%;max-width:none;background:#f3f5f7;padding-left:max(24px,calc((100% - 1180px)/2));padding-right:max(24px,calc((100% - 1180px)/2))}.section-heading{max-width:760px;margin-bottom:42px}.section-heading h2,.content-grid h2,.featured-story h2,.form-layout h2{font-size:clamp(32px,4vw,50px);line-height:1.08;color:#0d2947;margin:0 0 18px}.content-section p,.content-section li{color:#586474;line-height:1.75}.content-grid{display:grid;gap:56px;align-items:center}.content-grid--split{grid-template-columns:1.05fr .95fr}.content-grid--spaced{margin-top:58px}.image-placeholder{min-height:300px;background:repeating-linear-gradient(135deg,#e9edf1,#e9edf1 18px,#f2f4f6 18px,#f2f4f6 36px);border:1px solid #d7dde3;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:#526174;padding:30px}.image-placeholder strong{font-size:17px;color:#24374b}.image-placeholder span{font-size:12px;letter-spacing:.08em;text-transform:uppercase;margin-top:7px}.image-placeholder--portrait{aspect-ratio:4/5;min-height:0}.image-placeholder--landscape{aspect-ratio:3/2;min-height:0}.image-placeholder--wide{aspect-ratio:2/1;min-height:0}.image-placeholder--apparatus{aspect-ratio:16/9;min-height:0}.image-placeholder--map{aspect-ratio:4/3;min-height:0}.image-placeholder--logo{aspect-ratio:3/2;min-height:0}.image-placeholder--portrait-group{aspect-ratio:7/8;min-height:0}.card-grid{display:grid;gap:26px}.card-grid--three{grid-template-columns:repeat(3,1fr)}.person-card,.news-card,.info-card{background:#fff;border:1px solid #e0e4e8}.person-card__body,.news-card>div:last-child,.info-card{padding:26px}.person-card__body span,.news-card span{font-size:11px;color:#d71920;font-weight:900;letter-spacing:.12em;text-transform:uppercase}.person-card h3,.news-card h3,.info-card h2{color:#102b49;margin:8px 0 10px}.simple-grid,.logo-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}.logo-grid{grid-template-columns:repeat(3,1fr)}.simple-grid article{background:#fff;border-left:4px solid #d71920;padding:24px}.timeline{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}.timeline article{padding:28px;background:#fff;border-top:4px solid #123d67}.timeline span{color:#d71920;font-weight:900}.facts-panel{background:#0d2947;color:#fff;padding:34px}.facts-panel div+div{border-top:1px solid rgba(255,255,255,.18);margin-top:20px;padding-top:20px}.facts-panel strong,.facts-panel span{display:block}.stat-row{display:flex;gap:50px;margin-top:30px}.stat-row strong{display:block;font-size:40px;color:#0d2947}.stat-row span{font-size:13px;text-transform:uppercase;letter-spacing:.08em}.apparatus-list{display:grid;gap:44px}.apparatus-card{display:grid;grid-template-columns:1.2fr .8fr;background:#fff;border:1px solid #dce2e7}.apparatus-card__body{padding:42px}.featured-story{display:grid;grid-template-columns:1.25fr .75fr;gap:40px;align-items:center;margin-bottom:60px}.event-list{display:grid;gap:16px}.event-list article{display:grid;grid-template-columns:90px 1fr auto;gap:25px;align-items:center;border:1px solid #dce2e7;padding:20px}.event-date{text-align:center;background:#0d2947;color:#fff;padding:12px}.event-date strong,.event-date span{display:block}.notice-box{margin-top:42px;background:#d71920;color:#fff;padding:28px}.notice-box p{color:#fff;margin-bottom:0}.check-list{padding-left:20px}.button--dark{background:#0d2947;color:#fff;border-color:#0d2947}.form-layout{display:grid;grid-template-columns:.8fr 1.2fr;gap:70px}.site-form{display:grid;gap:18px;background:#f4f6f8;padding:34px}.site-form label{display:grid;gap:8px;font-weight:800;color:#21374e}.site-form input,.site-form textarea{width:100%;padding:14px;border:1px solid #cfd6dd;background:#fff;font:inherit}.interior-cta{background:#0d2947;color:#fff;padding:38px 44px;margin-bottom:80px;display:flex;justify-content:space-between;align-items:center;gap:30px}.interior-cta span{font-size:11px;color:#ef4a50;font-weight:900;text-transform:uppercase;letter-spacing:.15em}.interior-cta h2{margin:7px 0 0}.interior-cta>div:last-child{display:flex;gap:12px}
@media(max-width:991px){.nav-dropdown{display:none}.content-grid--split,.apparatus-card,.featured-story,.form-layout{grid-template-columns:1fr}.card-grid--three{grid-template-columns:repeat(2,1fr)}.simple-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:767px){.page-hero{padding:64px 0}.content-section{padding:64px 0}.card-grid--three,.timeline,.logo-grid{grid-template-columns:1fr}.interior-cta{flex-direction:column;align-items:flex-start}.apparatus-card__body{padding:28px}.event-list article{grid-template-columns:70px 1fr}.event-list article>a{grid-column:2}.simple-grid{grid-template-columns:1fr}}

/* CMS-powered News */
.featured-story--link{color:inherit;text-decoration:none;border:1px solid #dce2e7;background:#fff;overflow:hidden;transition:border-color .2s ease,box-shadow .2s ease}.featured-story--link>div{padding:34px}.featured-story--link h3{font-size:clamp(30px,4vw,48px);line-height:1.08;color:#0d2947;margin:0 0 10px}.featured-story--link:hover{border-color:#9aabbc;box-shadow:0 16px 38px rgba(8,29,52,.1)}.featured-story--link:focus-visible,.news-card__link:focus-visible,.article-back:focus-visible{outline:3px solid #d71920;outline-offset:4px}.news-image{display:block;width:100%;object-fit:cover;background:#e9edf1}.news-image--featured{height:100%;min-height:360px}.news-image--card{aspect-ratio:3/2}.news-image--placeholder{background:linear-gradient(135deg,#e9edf1,#f6f7f8)}.news-card{overflow:hidden}.news-card__link{display:flex;flex-direction:column;height:100%;color:inherit;text-decoration:none;transition:box-shadow .2s ease}.news-card__link:hover{box-shadow:0 12px 28px rgba(8,29,52,.1)}.news-card__body{display:flex;flex:1;flex-direction:column;padding:26px}.news-card__body>p:not(.news-date){margin-bottom:20px}.news-date{font-size:14px;color:#667586!important;margin:0 0 12px}.news-read-more{display:inline-flex!important;gap:8px;align-items:center;margin-top:auto;color:#0d2947!important;font-size:13px!important;letter-spacing:.02em!important;text-transform:none!important}.news-empty{border-left:5px solid #d71920;background:#f3f5f7;padding:34px;max-width:760px}.news-empty h3{font-size:26px;color:#0d2947;margin:0 0 8px}.news-empty p{margin:0}.article-hero{background:linear-gradient(120deg,#081d34,#143b63);color:#fff;padding:68px 0 74px}.article-hero__inner,.article-shell{width:min(880px,calc(100% - 48px));margin:auto}.article-hero h1{font-size:clamp(40px,6vw,68px);line-height:1.02;margin:18px 0;color:#fff}.article-back{display:inline-flex;align-items:center;gap:8px;color:#fff;font-weight:800;text-decoration:none;min-height:28px}.article-back:hover{text-decoration:underline}.article-meta{display:flex;flex-wrap:wrap;gap:10px 24px;color:#d6e0e9;font-size:15px}.article-deck{font-size:20px;line-height:1.6;color:#e5ebf1;margin:24px 0 0;max-width:760px}.article-shell{padding:64px 0 88px}.article-featured-image{display:block;width:100%;aspect-ratio:16/9;object-fit:cover;margin-bottom:44px}.article-body{font-size:18px;line-height:1.8;color:#34475a}.article-body h2,.article-body h3,.article-body h4{color:#0d2947;line-height:1.2;margin:1.7em 0 .6em}.article-body h2{font-size:34px}.article-body h3{font-size:27px}.article-body a{color:#b41117;text-decoration-thickness:2px;text-underline-offset:3px}.article-body blockquote{border-left:5px solid #d71920;margin:32px 0;padding:12px 0 12px 26px;color:#40556a;font-size:20px}.article-body li+li{margin-top:8px}.article-back--footer{color:#0d2947;margin-top:34px}.article-not-found h1{font-size:clamp(40px,6vw,64px);color:#0d2947;margin:0 0 18px}.article-not-found .button{display:inline-flex;margin-top:18px}
@media(max-width:991px){.featured-story--link{grid-template-columns:1fr}.news-image--featured{height:auto;min-height:0;aspect-ratio:16/9}}
@media(max-width:767px){.featured-story--link>div{padding:26px}.article-hero__inner,.article-shell{width:min(100% - 32px,880px)}.article-hero{padding:52px 0 58px}.article-shell{padding:42px 0 64px}.article-body{font-size:17px}.article-body h2{font-size:29px}}

/* Preserve the complete photograph on article pages at every viewport size. */
.article-featured-image {
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
}

/* Branded fallback and balanced layout for news posts without an uploaded image. */
.featured-story--link {
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  gap: 0;
  align-items: stretch;
}

.featured-story--link > div:last-child {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(34px, 5vw, 58px);
}

.featured-story--link > .news-image--placeholder {
  padding: 0;
}

.news-image--placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: linear-gradient(135deg, #081d34, #17456f);
  color: #fff;
}

.news-image--placeholder img {
  width: min(34%, 150px);
  height: auto;
}

.news-image--placeholder span {
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}

@media (max-width: 991px) {
  .featured-story--link {
    grid-template-columns: 1fr;
  }
}

/* Leadership board */
.leadership-board {
  padding: 56px 0 80px;
  background: #eef2f5;
}

.leadership-board__inner {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

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

.leadership-panel {
  min-width: 0;
  padding: 32px;
  border: 1px solid #d9e0e6;
  border-radius: var(--ui-radius, 4px);
  background: #fff;
  box-shadow: 0 12px 30px rgba(8, 29, 52, .055);
}

.leadership-panel--chief-officers,
.leadership-panel--trustees,
.leadership-panel--relief-association {
  grid-column: 1 / -1;
}

.leadership-panel--chief-officers {
  border-color: #0d2947;
  background: linear-gradient(135deg, #081d34, #143b63);
}

.leadership-panel__heading {
  margin-bottom: 26px;
  padding-bottom: 20px;
  border-bottom: 1px solid #dfe4e9;
}

.leadership-panel__heading .section-kicker {
  margin-bottom: 8px;
}

.leadership-panel__heading h2 {
  margin: 0;
  color: #0d2947;
  font-size: clamp(29px, 3vw, 39px);
  line-height: 1.08;
}

.leadership-panel--chief-officers .leadership-panel__heading {
  border-bottom-color: rgba(255, 255, 255, .18);
}

.leadership-panel--chief-officers .leadership-panel__heading h2 {
  color: #fff;
}

.leadership-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}

.leadership-card {
  display: flex;
  flex: 0 1 220px;
  width: 100%;
  overflow: hidden;
  border: 1px solid #dce2e8;
  border-radius: var(--ui-radius, 4px);
  background: #fff;
  flex-direction: column;
}

.leadership-avatar {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center top;
  border-bottom: 1px solid #d6dde4;
  background: #e9edf1;
}

.leadership-person {
  min-width: 0;
  padding: 18px 19px 20px;
}

.leadership-role {
  margin: 0;
  color: #b41117;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .14em;
  line-height: 1.3;
  text-transform: uppercase;
}

.leadership-card h3 {
  margin: 8px 0 0;
  overflow-wrap: anywhere;
  color: #0d2947;
  font-size: 20px;
  line-height: 1.22;
}

@media (max-width: 991px) {
  .leadership-board__grid {
    grid-template-columns: 1fr;
  }

  .leadership-panel {
    grid-column: 1;
  }
}

@media (max-width: 767px) {
  .leadership-board {
    padding: 32px 0 56px;
  }

  .leadership-board__inner {
    width: min(100% - 32px, 1180px);
  }

  .leadership-panel {
    padding: 22px;
  }

  .leadership-card {
    flex-basis: min(100%, 240px);
    max-width: 240px;
  }
}

/* Homepage news */
/* Volunteer application */
.page-hero--application {
  padding-block: 72px;
}

.application-shell {
  width: min(900px, calc(100% - 48px));
  margin: 0 auto;
  padding: 72px 0 88px;
}

.application-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .72fr);
  align-items: end;
  gap: 56px;
  margin-bottom: 36px;
}

.application-intro h2,
.application-success h2 {
  margin: 0;
  color: #0d2947;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.06;
}

.application-intro > p {
  margin: 0;
  color: #586474;
  font-size: 16px;
  line-height: 1.7;
}

.application-form {
  display: grid;
  gap: 24px;
}

.application-section {
  min-width: 0;
  margin: 0;
  padding: 32px;
  border: 1px solid #d8e0e7;
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(8, 29, 52, .045);
}

.application-section legend {
  padding: 0 12px 0 0;
  color: #0d2947;
  font-size: 22px;
  font-weight: 850;
}

.application-section legend span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-right: 10px;
  border-radius: 50%;
  background: #0d2947;
  color: #fff;
  font-size: 12px;
  letter-spacing: .04em;
  vertical-align: 3px;
}

.form-grid {
  display: grid;
  gap: 22px;
}

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

.form-grid--address {
  grid-template-columns: minmax(0, 1fr) 110px 150px;
}

.form-field--full {
  grid-column: 1 / -1;
}

.form-field--city {
  min-width: 0;
}

.form-field label,
.form-question > p:first-child {
  display: block;
  margin: 0 0 8px;
  color: #1b3148;
  font-size: 15px;
  font-weight: 800;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #b9c4ce;
  border-radius: 3px;
  background: #fff;
  color: #122b45;
  font: inherit;
}

.form-field textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.55;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus,
.choice-card:has(input:focus-visible),
.consent-row:has(input:focus-visible) {
  outline: 3px solid rgba(215, 25, 32, .34);
  outline-offset: 2px;
  border-color: #b41117;
}

.form-field [aria-invalid="true"] {
  border-color: #b42318;
  box-shadow: 0 0 0 1px #b42318;
}

.field-hint {
  margin: -3px 0 11px;
  color: #627183;
  font-size: 14px;
  line-height: 1.5;
}

.optional {
  color: #687789;
  font-size: 12px;
  font-weight: 600;
}

.form-question + .form-question {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid #e2e7eb;
}

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

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

.choice-card {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 52px;
  padding: 11px 13px;
  border: 1px solid #cbd4dc;
  border-radius: 4px;
  color: #253a50;
  cursor: pointer;
}

.choice-card:has(input:checked) {
  border-color: #0d2947;
  background: #edf3f8;
}

.choice-card input,
.consent-row input {
  flex: none;
  width: 19px;
  height: 19px;
  accent-color: #b41117;
}

.choice-card span {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

.application-section--acknowledgments {
  border-color: #bdcad5;
  background: #f5f7f9;
}

.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 14px;
  border: 1px solid transparent;
  border-radius: 4px;
  color: #34495e;
  line-height: 1.6;
  cursor: pointer;
}

.consent-row + .field-error + .consent-row,
.consent-row + .consent-row {
  margin-top: 5px;
}

.consent-row input {
  margin-top: 3px;
}

.consent-row a,
.form-service-error a {
  color: #9f1117;
  font-weight: 800;
}

.application-notice {
  margin-top: 24px;
  padding: 18px 20px;
  border-left: 4px solid #0d2947;
  background: #e8edf2;
}

.application-notice strong {
  color: #0d2947;
}

.application-notice p {
  margin: 5px 0 0;
  color: #506174;
  font-size: 14px;
  line-height: 1.6;
}

.field-error {
  margin: 7px 0 0;
  color: #a51218;
  font-size: 14px;
  font-weight: 750;
}

.field-error--consent {
  margin: -7px 14px 10px 46px;
}

.form-error-summary,
.form-service-error {
  margin-bottom: 24px;
  padding: 22px 24px;
  border: 2px solid #b42318;
  border-radius: 4px;
  background: #fff5f4;
  color: #67211d;
}

.form-error-summary:focus {
  outline: 3px solid rgba(180, 35, 24, .28);
  outline-offset: 3px;
}

.form-error-summary h2 {
  margin: 0 0 10px;
  color: #8d1b14;
  font-size: 21px;
}

.form-error-summary p,
.form-service-error p {
  margin: 6px 0 0;
}

.form-error-summary ul {
  margin: 0;
  padding-left: 22px;
}

.form-error-summary a {
  color: #8d1b14;
  font-weight: 700;
}

.application-submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 8px;
}

.cf-turnstile {
  max-width: 100%;
  min-height: 65px;
  margin: 8px 0 18px;
}

.application-submit .button {
  min-width: 220px;
}

.application-submit p {
  max-width: 360px;
  margin: 0;
  color: #657486;
  font-size: 13px;
  line-height: 1.55;
  text-align: right;
}

.application-success {
  max-width: 680px;
  margin: 0 auto;
  padding: 54px;
  border: 1px solid #d7e0e7;
  background: #fff;
  text-align: center;
  box-shadow: 0 18px 48px rgba(8, 29, 52, .08);
}

.application-success__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-bottom: 22px;
  border-radius: 50%;
  background: #0d2947;
  color: #fff;
  font-size: 32px;
  font-weight: 900;
}

.application-success p:not(.section-kicker) {
  margin: 20px auto 28px;
  color: #586474;
  font-size: 17px;
  line-height: 1.7;
}

.form-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

@media (max-width: 767px) {
  .page-hero--application {
    padding-block: 56px;
  }

  .application-shell {
    width: min(100% - 32px, 900px);
    padding: 48px 0 64px;
  }

  .application-intro,
  .form-grid--two,
  .form-grid--address,
  .choice-grid,
  .choice-grid--compact {
    grid-template-columns: 1fr;
  }

  .application-intro {
    gap: 16px;
    margin-bottom: 28px;
  }

  .application-section {
    padding: 24px 18px;
  }

  .application-section legend {
    font-size: 19px;
  }

  .application-submit {
    align-items: stretch;
    flex-direction: column;
  }

  .application-submit .button {
    width: 100%;
  }

  .application-submit p {
    max-width: none;
    text-align: left;
  }

  .application-success {
    padding: 38px 24px;
  }
}

/* July 2026 refinement: consistent radii, interior heroes, and navigation type */
:root {
  --ui-radius: 4px;
  --interior-hero-height: 360px;
}

/* Keep every header link and dropdown trigger typographically identical. */
.site-header a,
.site-header button,
.nav-link,
.nav-dropdown__toggle,
.nav-dropdown__menu a,
.mobile-menu a,
.mobile-menu__label {
  font-family: Arial, Helvetica, sans-serif;
  font-style: normal;
}

.nav-link,
.nav-dropdown__toggle {
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
}

.nav-dropdown__toggle {
  appearance: none;
  -webkit-appearance: none;
  color: var(--navy);
}

.nav-dropdown__toggle span {
  margin-left: 5px;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
}

.nav-dropdown__menu,
.nav-dropdown__menu a,
.mobile-menu,
.mobile-menu a {
  border-radius: var(--ui-radius);
}

.nav-dropdown__menu a {
  font-size: 14px;
  font-weight: 700;
}

/* Give all interior page heroes one consistent visual height. */
.page-hero {
  min-height: var(--interior-hero-height);
  padding: 64px 0;
  display: flex;
  align-items: center;
}

.page-hero__inner {
  position: relative;
  z-index: 1;
}

/* Match cards, images, forms, panels, and CTAs to the button radius. */
.image-placeholder,
.person-card,
.news-card,
.info-card,
.simple-grid article,
.timeline article,
.facts-panel,
.apparatus-card,
.event-list article,
.event-date,
.notice-box,
.site-form,
.site-form input,
.site-form textarea,
.interior-cta,
.footer-action,
.footer-social a {
  border-radius: var(--ui-radius);
}

.image-placeholder,
.person-card,
.news-card,
.apparatus-card,
.event-list article {
  overflow: hidden;
}

@media (max-width: 767px) {
  :root {
    --interior-hero-height: 300px;
  }

  .page-hero {
    min-height: var(--interior-hero-height);
    padding: 48px 0;
  }
}

/* Squrt 13 apparatus detail sections */
.apparatus-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, .95fr);
  background: #fff;
  border: 1px solid #dce2e7;
  border-radius: var(--ui-radius);
  overflow: hidden;
}

.apparatus-feature > .image-placeholder {
  border: 0;
  border-right: 1px solid #dce2e7;
  border-radius: 0;
  height: 100%;
  min-height: 560px;
}

.apparatus-feature__content {
  padding: 46px;
}

.apparatus-feature__content h2 {
  color: #0d2947;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.05;
  margin: 18px 0 16px;
}

.apparatus-feature__content h3 {
  color: #0d2947;
  font-size: 20px;
  margin: 30px 0 10px;
}

.apparatus-lead {
  font-size: 17px;
  margin-bottom: 28px;
}

.apparatus-status-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
}

.apparatus-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 11px;
  border-radius: var(--ui-radius);
  background: #0d2947;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.apparatus-badge--order {
  background: #d71920;
}

.apparatus-year {
  color: #657283;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: #dce2e7;
  border: 1px solid #dce2e7;
  border-radius: var(--ui-radius);
  overflow: hidden;
}

.spec-grid > div {
  background: #f7f8fa;
  padding: 17px 18px;
}

.spec-grid span,
.spec-grid strong {
  display: block;
}

.spec-grid span {
  color: #7a8592;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.spec-grid strong {
  color: #183653;
  font-size: 14px;
  line-height: 1.4;
}

.apparatus-highlights {
  columns: 2;
  column-gap: 34px;
  padding-left: 20px;
  margin-bottom: 28px;
}

.apparatus-highlights li {
  break-inside: avoid;
  margin-bottom: 7px;
}

.apparatus-source-link {
  display: inline-flex;
  margin-top: 6px;
}

.apparatus-order-section {
  border-top: 1px solid #e5e8eb;
  border-bottom: 1px solid #e5e8eb;
}

.order-note {
  margin: 28px 0 22px;
  padding: 20px;
  background: #eef2f5;
  border-left: 4px solid #d71920;
  border-radius: var(--ui-radius);
}

.order-note strong {
  display: block;
  color: #0d2947;
  margin-bottom: 4px;
}

.order-note p {
  margin: 0;
}

@media (max-width: 991px) {
  .apparatus-feature {
    grid-template-columns: 1fr;
  }

  .apparatus-feature > .image-placeholder {
    border-right: 0;
    border-bottom: 1px solid #dce2e7;
    min-height: 0;
    height: auto;
  }
}

@media (max-width: 640px) {
  .apparatus-feature__content {
    padding: 28px;
  }

  .spec-grid {
    grid-template-columns: 1fr;
  }

  .apparatus-highlights {
    columns: 1;
  }
}

/* =========================================
   COMPACT INTERIOR PAGE HEADERS
   Homepage hero is intentionally unchanged.
========================================= */
:root {
  --interior-hero-height: 300px;
}

.page-hero {
  min-height: var(--interior-hero-height);
  padding: 52px 0;
  display: flex;
  align-items: center;
}

.page-hero__inner {
  position: relative;
  z-index: 1;
}

.page-hero span {
  margin-bottom: 12px;
  font-size: 12px;
}

.page-hero h1 {
  margin: 0 0 14px;
  font-size: clamp(38px, 4vw, 50px);
  line-height: 1.04;
  letter-spacing: -0.025em;
}

.page-hero p {
  max-width: 650px;
  font-size: 18px;
  line-height: 1.55;
}

@media (max-width: 767px) {
  :root {
    --interior-hero-height: 238px;
  }

  .page-hero {
    min-height: var(--interior-hero-height);
    padding: 38px 0;
  }

  .page-hero h1 {
    font-size: clamp(34px, 10vw, 42px);
  }

  .page-hero p {
    font-size: 16px;
    line-height: 1.5;
  }
}

/* =========================================
   APPARATUS DRAWING + LIGHTBOX FIX
========================================= */
.apparatus-feature--order {
  align-items: stretch;
}

.apparatus-drawing {
  min-width: 0;
  margin: 0;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-right: 1px solid #dce2e7;
  background: #f4f6f8;
  overflow: hidden;
}

.drawing-lightbox-trigger {
  position: relative;
  width: 100%;
  min-height: 520px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d6dde5;
  border-radius: var(--ui-radius);
  background: #fff;
  overflow: hidden;
  cursor: zoom-in;
}

.drawing-lightbox-trigger img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 620px;
  object-fit: contain;
  object-position: center;
}

.drawing-lightbox-trigger__label {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 9px 12px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: var(--ui-radius);
  background: rgba(5, 20, 38, .88);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .03em;
  pointer-events: none;
}

.drawing-lightbox-trigger__icon {
  font-size: 18px;
  line-height: 1;
}

.apparatus-drawing figcaption {
  color: #647183;
  font-size: 12px;
  line-height: 1.55;
}

.apparatus-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.drawing-note {
  margin: 16px 0 0;
  color: #657283;
  font-size: 13px;
  line-height: 1.6;
}

body.lightbox-open {
  overflow: hidden;
}

.drawing-lightbox[hidden] {
  display: none !important;
}

.drawing-lightbox {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .18s ease, visibility .18s ease;
}

.drawing-lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.drawing-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 14, 26, .86);
  backdrop-filter: blur(8px);
}

.drawing-lightbox__panel {
  position: relative;
  z-index: 1;
  width: min(1400px, 96vw);
  height: min(900px, 92vh);
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  border-radius: var(--ui-radius);
  background: #fff;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .45);
  overflow: hidden;
}

.drawing-lightbox__header {
  padding: 18px 22px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid #e2e7ec;
  background: #fff;
}

.drawing-lightbox__eyebrow {
  display: block;
  margin-bottom: 5px;
  color: #d71920;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.drawing-lightbox__header h2 {
  margin: 0;
  color: #152a42;
  font-size: clamp(20px, 2.4vw, 30px);
}

.drawing-lightbox__header p {
  margin: 5px 0 0;
  color: #748091;
  font-size: 13px;
}

.drawing-lightbox__close {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border: 1px solid #dce2e7;
  border-radius: var(--ui-radius);
  background: #fff;
  color: #152a42;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.drawing-lightbox__toolbar {
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid #e2e7ec;
  background: #f7f9fb;
}

.drawing-lightbox__toolbar button,
.drawing-lightbox__toolbar a,
.drawing-lightbox__toolbar output {
  min-height: 36px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d8e0e7;
  border-radius: var(--ui-radius);
  background: #fff;
  color: #152a42;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.drawing-lightbox__toolbar button {
  cursor: pointer;
}

.drawing-lightbox__toolbar a {
  margin-left: auto;
  border-color: #d71920;
  background: #d71920;
  color: #fff;
}

.drawing-lightbox__viewport {
  position: relative;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e9edf1;
  overflow: hidden;
  touch-action: none;
}

.drawing-lightbox__image {
  display: block;
  width: auto;
  height: auto;
  max-width: 94%;
  max-height: 94%;
  object-fit: contain;
  transform-origin: center center;
  user-select: none;
  -webkit-user-drag: none;
  cursor: default;
  will-change: transform;
}

.drawing-lightbox__image.is-zoomed {
  cursor: grab;
}

.drawing-lightbox__image.is-dragging {
  cursor: grabbing;
}

.drawing-lightbox__help {
  margin: 0;
  padding: 10px 16px;
  border-top: 1px solid #e2e7ec;
  background: #fff;
  color: #748091;
  font-size: 12px;
  text-align: center;
}

@media (max-width: 991px) {
  .apparatus-drawing {
    border-right: 0;
    border-bottom: 1px solid #dce2e7;
  }

  .drawing-lightbox-trigger {
    min-height: 380px;
  }
}

@media (max-width: 640px) {
  .apparatus-drawing {
    padding: 16px;
  }

  .drawing-lightbox-trigger {
    min-height: 280px;
  }

  .drawing-lightbox {
    padding: 10px;
  }

  .drawing-lightbox__panel {
    width: 100%;
    height: 94vh;
  }

  .drawing-lightbox__toolbar {
    flex-wrap: wrap;
  }

  .drawing-lightbox__toolbar a {
    width: 100%;
    margin-left: 0;
  }
}

/* =========================================
   FINAL STATION PAGE + COMPACT NFPA FOOTER FIX
========================================= */
.page-hero.page-hero--photo.page-hero--station {
  min-height: 340px;
  padding: 64px 0;
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(5,20,38,.94) 0%, rgba(5,20,38,.82) 40%, rgba(5,20,38,.32) 72%, rgba(5,20,38,.10) 100%),
    url("assets/station-13-day.png") center 55% / cover no-repeat;
}

.page-hero.page-hero--photo.page-hero--station::after {
  display: none;
}

.page-hero.page-hero--photo.page-hero--station .page-hero__inner {
  position: relative;
  z-index: 1;
}

.station-feature {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto 88px;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr);
  align-items: stretch;
  border: 1px solid var(--border);
  border-radius: var(--ui-radius, 4px);
  background: #fff;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(8,29,53,.08);
}

.station-feature__image {
  min-height: 430px;
  background: #dfe5eb;
  overflow: hidden;
}

.station-feature__image img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  display: block;
  object-fit: cover;
  object-position: center;
}

.station-feature__content {
  padding: clamp(38px, 5vw, 66px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #fff;
}

.station-feature__content h2 {
  margin: 0 0 18px;
  color: var(--navy);
  font-size: clamp(30px, 3.5vw, 44px);
  line-height: 1.08;
}

.station-feature__content p {
  margin: 0;
  color: var(--body);
  line-height: 1.75;
}

.facts-panel {
  border-radius: var(--ui-radius, 4px);
  padding: 32px 34px;
}

.facts-panel > div {
  display: grid;
  gap: 8px;
}

.facts-panel div + div {
  margin-top: 24px;
  padding-top: 24px;
}

.facts-panel strong {
  line-height: 1.2;
}

.facts-panel span {
  line-height: 1.4;
}

.facts-panel a {
  color: #fff;
  text-decoration: none;
}

.site-footer__bottom-inner {
  min-height: 74px;
}

.site-footer__bottom-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}

.footer-affiliation {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-right: 18px;
  border-right: 1px solid rgba(255,255,255,.13);
  color: rgba(255,255,255,.46);
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.footer-affiliation a {
  display: inline-flex;
  align-items: center;
  opacity: .68;
  transition: opacity .2s ease;
}

.footer-affiliation a:hover {
  opacity: 1;
}

.footer-affiliation img {
  width: 54px;
  max-height: 25px;
  display: block;
  object-fit: contain;
}

@media screen and (max-width: 900px) {
  .station-feature {
    grid-template-columns: 1fr;
  }

  .station-feature__image,
  .station-feature__image img {
    min-height: 360px;
  }
}

@media screen and (max-width: 767px) {
  .page-hero.page-hero--photo.page-hero--station {
    min-height: 300px;
    padding: 54px 0;
    background-position: 62% center;
  }

  .station-feature {
    width: calc(100% - 40px);
    margin-bottom: 60px;
  }

  .station-feature__image,
  .station-feature__image img {
    min-height: 280px;
  }

  .station-feature__content {
    padding: 32px 26px;
  }

  .site-footer__bottom-actions {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 14px 18px;
  }

  .footer-affiliation {
    padding-right: 14px;
  }
}

@media screen and (max-width: 479px) {
  .station-feature {
    width: calc(100% - 28px);
  }

  .footer-affiliation {
    width: 100%;
    padding-right: 0;
    padding-bottom: 12px;
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.10);
  }

  .footer-affiliation img {
    width: 48px;
  }
}


/* =========================================
   SEMANTIC HTML REFACTOR SUPPORT
   These rules reset list/address defaults introduced by cleaner HTML5 markup.
========================================= */
.skip-link {
  display: inline-block;
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 2000;
  padding: 12px 16px;
  border-radius: 4px;
  background: var(--white);
  color: var(--navy);
  font-weight: 800;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

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

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.utility-bar__inner,
.footer-contact,
.facts-panel {
  font-style: normal;
}

.desktop-nav,
.desktop-nav ul,
.mobile-menu,
.footer-links,
.footer-social {
  margin: 0;
  padding: 0;
  list-style: none;
}

.desktop-nav > li {
  display: flex;
  align-items: stretch;
}

.nav-dropdown__menu li,
.footer-links li {
  display: block;
}

.footer-social li {
  display: flex;
}

.mobile-menu__subitem a {
  padding-left: 34px;
}

.mobile-menu__label {
  list-style: none;
}

.page-hero__eyebrow,
.section-kicker,
.interior-cta__eyebrow,
.footer-action__eyebrow,
.drawing-lightbox__eyebrow {
  margin-top: 0;
}

.page-hero .page-hero__eyebrow {
  display: block;
  color: #e6393f;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.interior-cta__eyebrow {
  margin-bottom: 0;
  font-size: 11px;
  color: #ef4a50;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.spec-grid {
  margin-top: 0;
  margin-bottom: 0;
}

.spec-grid dt,
.spec-grid dd {
  margin: 0;
}

.spec-grid dt {
  display: block;
}

.spec-grid dd {
  font-weight: 700;
}

.footer-contact-link {
  display: inline-block;
  margin-top: 12px;
  color: rgba(255,255,255,0.84);
  font-size: 14px;
  text-decoration: none;
}

.footer-contact-link:hover {
  color: var(--white);
}

.site-footer__bottom-actions > nav {
  display: flex;
  gap: 18px;
}

.drawing-lightbox__backdrop {
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  cursor: pointer;
}

[aria-current="page"] {
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

@media screen and (max-width: 1080px) {
  .mobile-menu:not([hidden]).is-open {
    display: block;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* The homepage uses the approved static hero image without artificial animation. */


/* =========================================
   COOKIE CONSENT
   Site-wide privacy controls. Optional categories remain disabled until the
   visitor makes an affirmative selection.
========================================= */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.cookie-banner[hidden],
.cookie-modal[hidden] {
  display: none !important;
}

.cookie-banner {
  position: fixed;
  z-index: 10000;
  right: 24px;
  bottom: 24px;
  left: 24px;
  color: #ffffff;
}

.cookie-banner__inner {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  padding: 26px 28px;
  background: #081d34;
  border-top: 4px solid #d71920;
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.32);
}

.cookie-banner__eyebrow,
.cookie-modal__eyebrow {
  margin: 0 0 7px;
  color: #ef4a50;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
}

.cookie-banner h2,
.cookie-modal h2 {
  margin: 0;
  font-size: 26px;
  line-height: 1.15;
}

.cookie-banner__copy > p:last-child {
  max-width: 720px;
  margin: 9px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  line-height: 1.6;
}

.cookie-banner a {
  color: #ffffff;
  font-weight: 800;
  text-underline-offset: 3px;
}

.cookie-banner__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(150px, 1fr));
  gap: 10px;
  min-width: 350px;
}

.cookie-banner__actions .cookie-button--outline {
  grid-column: 1 / -1;
}

.cookie-button {
  min-height: 46px;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: 4px;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.cookie-button:hover {
  transform: translateY(-1px);
}

.cookie-button:focus-visible,
.cookie-modal__close:focus-visible,
.footer-cookie-settings:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 3px;
}

.cookie-button--primary {
  color: #ffffff;
  background: #d71920;
  border-color: #d71920;
}

.cookie-button--primary:hover {
  background: #b9141b;
  border-color: #b9141b;
}

.cookie-button--secondary {
  color: #081d34;
  background: #ffffff;
  border-color: #ffffff;
}

.cookie-button--secondary:hover {
  background: #edf1f4;
  border-color: #edf1f4;
}

.cookie-button--outline {
  color: #ffffff;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.56);
}

.cookie-button--outline:hover {
  border-color: #ffffff;
}

.cookie-modal {
  position: fixed;
  z-index: 10001;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
}

.cookie-modal__backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: rgba(2, 12, 24, 0.76);
  cursor: default;
}

.cookie-modal__dialog {
  position: relative;
  width: min(620px, 100%);
  max-height: min(760px, calc(100vh - 48px));
  overflow: auto;
  padding: 30px;
  color: #21374e;
  background: #ffffff;
  border-top: 5px solid #d71920;
  box-shadow: 0 28px 75px rgba(0, 0, 0, 0.38);
}

.cookie-modal__dialog:focus {
  outline: none;
}

.cookie-modal__header {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
}

.cookie-modal__header h2 {
  color: #0d2947;
  font-size: 32px;
}

.cookie-modal__close {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid #d8dfe5;
  border-radius: 50%;
  color: #0d2947;
  background: #ffffff;
  font: inherit;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.cookie-modal__intro {
  margin: 18px 0 24px;
  color: #586474;
  line-height: 1.65;
}

.cookie-preference-list {
  border-top: 1px solid #dfe5ea;
}

.cookie-preference {
  min-height: 98px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid #dfe5ea;
}

label.cookie-preference {
  cursor: pointer;
}

.cookie-preference h3,
.cookie-preference strong {
  display: block;
  margin: 0 0 5px;
  color: #0d2947;
  font-size: 17px;
}

.cookie-preference p,
.cookie-preference small {
  display: block;
  margin: 0;
  color: #667482;
  font-size: 13px;
  line-height: 1.55;
}

.cookie-preference__status {
  flex: 0 0 auto;
  color: #0d2947;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.cookie-switch {
  position: relative;
  width: 52px;
  height: 30px;
  flex: 0 0 52px;
}

.cookie-switch input {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.cookie-switch__track {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: #bdc7cf;
  transition: background-color 160ms ease;
}

.cookie-switch__track::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.22);
  transition: transform 160ms ease;
}

.cookie-switch input:checked + .cookie-switch__track {
  background: #d71920;
}

.cookie-switch input:checked + .cookie-switch__track::after {
  transform: translateX(22px);
}

.cookie-switch input:focus-visible + .cookie-switch__track {
  outline: 3px solid #0d2947;
  outline-offset: 3px;
}

.cookie-modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 26px;
}

.cookie-modal__actions .cookie-button--secondary {
  color: #0d2947;
  border-color: #c8d0d7;
  background: #ffffff;
}

.cookie-modal__actions .cookie-button--secondary:hover {
  background: #f2f5f7;
}

body.cookie-modal-open {
  overflow: hidden;
}

.footer-cookie-settings {
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 4px;
}

.footer-cookie-settings:hover {
  color: #ffffff;
  text-decoration-color: currentColor;
}

.cookie-policy-table {
  width: 100%;
  border-collapse: collapse;
  margin: 30px 0;
  font-size: 14px;
}

.cookie-policy-table th,
.cookie-policy-table td {
  padding: 15px;
  border: 1px solid #d9e0e6;
  text-align: left;
  vertical-align: top;
}

.cookie-policy-table th {
  color: #ffffff;
  background: #0d2947;
}

.cookie-policy-table tbody tr:nth-child(even) {
  background: #f3f5f7;
}

@media (max-width: 900px) {
  .cookie-banner__inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .cookie-banner__actions {
    min-width: 0;
  }
}

@media (max-width: 600px) {
  .cookie-banner {
    right: 12px;
    bottom: 12px;
    left: 12px;
  }

  .cookie-banner__inner {
    padding: 22px 20px;
  }

  .cookie-banner__actions {
    grid-template-columns: 1fr;
  }

  .cookie-banner__actions .cookie-button--outline {
    grid-column: auto;
  }

  .cookie-modal {
    padding: 12px;
  }

  .cookie-modal__dialog {
    max-height: calc(100vh - 24px);
    padding: 24px 20px;
  }

  .cookie-modal__header h2 {
    font-size: 27px;
  }

  .cookie-preference {
    gap: 16px;
  }

  .cookie-modal__actions {
    flex-direction: column-reverse;
  }

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

  .cookie-policy-table,
  .cookie-policy-table tbody,
  .cookie-policy-table tr,
  .cookie-policy-table th,
  .cookie-policy-table td {
    display: block;
  }

  .cookie-policy-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }

  .cookie-policy-table tr {
    margin-bottom: 18px;
    border: 1px solid #d9e0e6;
  }

  .cookie-policy-table td {
    border: 0;
    border-bottom: 1px solid #e2e7eb;
  }

  .cookie-policy-table td:last-child {
    border-bottom: 0;
  }

  .cookie-policy-table td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 5px;
    color: #0d2947;
    font-weight: 900;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cookie-button,
  .cookie-switch__track,
  .cookie-switch__track::after {
    transition: none;
  }
}


/* =========================================
   COOKIE BANNER COMPACT LIGHT VARIANT
========================================= */
.cookie-banner {
  right: 18px;
  bottom: 18px;
  left: auto;
  width: min(720px, calc(100vw - 36px));
  color: #0d2947;
}

.cookie-banner__inner {
  width: 100%;
  grid-template-columns: minmax(0, 1fr) 208px;
  gap: 18px;
  padding: 16px 18px;
  background: #ffffff;
  border: 1px solid #dce2e7;
  border-top: 3px solid #d71920;
  border-radius: 6px;
  box-shadow: 0 14px 38px rgba(8, 29, 52, 0.20);
}

.cookie-banner__eyebrow {
  margin-bottom: 5px;
  color: #d71920;
  font-size: 10px;
}

.cookie-banner h2 {
  color: #0d2947;
  font-size: 20px;
  line-height: 1.15;
}

.cookie-banner__copy > p:last-child {
  max-width: none;
  margin-top: 6px;
  color: #596777;
  font-size: 12.5px;
  line-height: 1.5;
}

.cookie-banner a {
  color: #0d2947;
}

.cookie-banner__actions {
  grid-template-columns: 1fr;
  gap: 7px;
  min-width: 0;
}

.cookie-banner__actions .cookie-button--outline {
  grid-column: auto;
}

.cookie-banner .cookie-button {
  min-height: 38px;
  padding: 8px 11px;
  font-size: 12px;
}

.cookie-banner .cookie-button--secondary {
  color: #0d2947;
  background: #f1f4f6;
  border-color: #d7dde3;
}

.cookie-banner .cookie-button--secondary:hover {
  background: #e7ecef;
  border-color: #cbd3da;
}

.cookie-banner .cookie-button--outline {
  color: #0d2947;
  background: #ffffff;
  border-color: #9eabb7;
}

.cookie-banner .cookie-button--outline:hover {
  background: #f7f9fa;
  border-color: #0d2947;
}

.cookie-banner .cookie-button:focus-visible {
  outline-color: #0d2947;
}

/* =========================================
   MUTUAL AID PARTNER PROFILES
========================================= */
.mutual-aid-grid {
  display: grid;
  gap: 28px;
  max-width: 980px;
}

.mutual-aid-card {
  display: grid;
  grid-template-columns: minmax(250px, 0.78fr) minmax(0, 1.22fr);
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #dce2e7;
  border-top: 4px solid #d71920;
  box-shadow: 0 18px 44px rgba(13, 41, 71, 0.08);
}

.mutual-aid-card__logo {
  min-height: 310px;
  display: grid;
  place-items: center;
  padding: 28px;
  background: #050505;
}

.mutual-aid-card__logo img {
  display: block;
  width: 100%;
  max-width: 360px;
  height: auto;
  object-fit: contain;
}

.mutual-aid-card__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 34px 38px;
}

.mutual-aid-card__eyebrow {
  margin: 0 0 9px;
  color: #d71920 !important;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.15em;
  line-height: 1.2 !important;
  text-transform: uppercase;
}

.mutual-aid-card h3 {
  margin: 0 0 14px;
  color: #0d2947;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.1;
}

.mutual-aid-card__body p:last-child {
  margin: 0;
}

.mutual-aid-note {
  max-width: 760px;
  margin: 24px 0 0;
  color: #687585;
  font-size: 14px;
}

@media (max-width: 700px) {
  .cookie-banner {
    right: 12px;
    bottom: 12px;
    left: 12px;
    width: auto;
  }

  .cookie-banner__inner {
    grid-template-columns: 1fr;
    gap: 13px;
    padding: 15px 16px;
  }

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

  .cookie-banner__actions .cookie-button--outline {
    grid-column: 1 / -1;
  }

  .mutual-aid-card {
    grid-template-columns: 1fr;
  }

  .mutual-aid-card__logo {
    min-height: 250px;
    padding: 24px;
  }

  .mutual-aid-card__body {
    padding: 28px 24px;
  }
}

@media (max-width: 430px) {
  .cookie-banner__actions {
    grid-template-columns: 1fr;
  }

  .cookie-banner__actions .cookie-button--outline {
    grid-column: auto;
  }
}


/* =========================================
   PRIVACY AND COOKIE POLICY
========================================= */
.policy-page {
  padding-top: 72px;
}

.policy-intro {
  max-width: 860px;
  margin-bottom: 48px;
}

.policy-intro h2 {
  margin: 0 0 16px;
  color: #0d2947;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.08;
}

.policy-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin-top: 24px;
  padding: 18px 22px;
  border-left: 4px solid #d71920;
  background: #f4f6f8;
  color: #33465a;
}

.policy-layout {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}

.policy-toc {
  position: sticky;
  top: calc(var(--site-header-height) + 20px);
  align-self: start;
  max-height: calc(100vh - var(--site-header-height) - 40px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  padding: 26px;
  border: 1px solid #dce2e7;
  background: #f7f8fa;
}

.policy-toc__title {
  margin: 0 0 14px;
  color: #0d2947;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.policy-toc ol {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 21px;
}

.policy-toc a {
  color: #3e5063;
  font-size: 14px;
  line-height: 1.35;
  text-decoration: none;
}

.policy-toc a:hover,
.policy-toc a:focus-visible {
  color: #d71920;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.policy-content {
  min-width: 0;
}

.policy-section {
  scroll-margin-top: calc(var(--site-header-height) + 24px);
  padding-bottom: 52px;
  margin-bottom: 52px;
  border-bottom: 1px solid #dce2e7;
}

.policy-section:last-child {
  margin-bottom: 0;
  border-bottom: 0;
}

.policy-section h2 {
  display: flex;
  gap: 12px;
  margin: 0 0 22px;
  color: #0d2947;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.15;
}

.policy-section h2 span {
  flex: 0 0 auto;
  color: #d71920;
}

.policy-section h3 {
  margin: 32px 0 12px;
  color: #173a5d;
  font-size: 21px;
  line-height: 1.3;
}

.policy-section h4 {
  margin: 24px 0 8px;
  color: #233f5c;
  font-size: 17px;
}

.policy-section p,
.policy-section li {
  color: #536273;
  line-height: 1.78;
}

.policy-section ul {
  display: grid;
  gap: 7px;
  padding-left: 24px;
}

.policy-callout {
  margin-top: 28px;
  padding: 24px 26px;
  border-left: 4px solid #d71920;
  background: #fff4f4;
}

.policy-callout strong {
  display: block;
  margin-bottom: 6px;
  color: #812028;
}

.policy-callout p {
  margin: 0;
}

.policy-section--contact {
  padding: 34px;
  background: #f4f6f8;
}

.policy-section--contact address {
  margin: 22px 0;
  color: #33465a;
  font-style: normal;
  line-height: 1.75;
}

@media (max-width: 920px) {
  .policy-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .policy-toc {
    position: static;
    max-height: none;
    overflow: visible;
    scrollbar-gutter: auto;
  }

  .policy-toc ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 30px;
  }
}

@media (max-width: 600px) {
  .policy-page {
    padding-top: 56px;
  }

  .policy-meta {
    display: grid;
  }

  .policy-toc ol {
    grid-template-columns: 1fr;
  }

  .policy-section h2 {
    display: block;
  }

  .policy-section h2 span {
    display: block;
    margin-bottom: 4px;
  }

  .policy-section--contact {
    padding: 26px 22px;
  }
}
.breadcrumbs {
  width: calc(100% - 64px);
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px 0;
  color: #586474;
  font-size: 13px;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumbs li:not(:last-child)::after {
  margin-left: 6px;
  color: #8b96a3;
  content: "/";
}

.breadcrumbs a {
  color: #0d2947;
  font-weight: 750;
  text-decoration: none;
}

.breadcrumbs a:hover,
.breadcrumbs a:focus-visible {
  color: #b41117;
  text-decoration: underline;
}

.breadcrumbs [aria-current="page"] {
  font-weight: 700;
}

@media (max-width: 760px) {
  .breadcrumbs {
    width: calc(100% - 36px);
  }
}
