/* Global site footer — crisp cold dark blue-grey editorial theme with arctic ice logo band. */

footer.site-footer {
  background-color: #101921;
  color: #ffffff;
  padding: 3rem 2rem;
  font-family: "Source Sans 3", sans-serif;
  position: relative;
  margin-top: auto;
  width: 100%;
  /* Wordmark asset is 369×20; size by height and let width follow aspect ratio. */
  --footer-logo-height: 20px;
  --footer-logo-aspect: 369 / 20;
  --footer-logo-width: calc(var(--footer-logo-height) * 369 / 20);
  --footer-brand-col: var(--footer-logo-width);
  --footer-col-gap: 2.75rem;
  --footer-link-stack-gap: 0.5rem;
}

footer.site-footer .logo-band {
  background-color: #f1f5f9;
  padding: 1.35rem 2rem;
  margin: -3rem -2rem 1.75rem -2rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  border-top: 1px solid #cbd5e1;
  border-bottom: 1px solid rgba(16, 25, 33, 0.05);
}

footer.site-footer a,
footer.site-footer ul li a,
footer.site-footer .menu-item a,
footer.site-footer nav a {
  color: #ffffff !important;
  text-decoration: none;
  font-weight: 500 !important;
  opacity: 0.95 !important;
  transition: color 0.2s ease, opacity 0.2s ease, text-shadow 0.2s ease;
}

footer.site-footer a:hover,
footer.site-footer ul li a:hover,
footer.site-footer .menu-item a:hover,
footer.site-footer nav a:hover,
footer.site-footer a:focus-visible,
footer.site-footer ul li a:focus-visible,
footer.site-footer .menu-item a:focus-visible,
footer.site-footer nav a:focus-visible {
  color: #00f0ff !important;
  opacity: 1 !important;
  text-decoration: none !important;
  text-shadow: 0 0 12px rgba(0, 240, 255, 0.5);
}

footer.site-footer .divider {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin: 2.25rem 0 1.5rem;
}

footer.site-footer .logo-band a,
footer.site-footer .logo-band ul li a,
footer.site-footer .logo-band .menu-item a,
footer.site-footer .logo-band nav a {
  color: #101921 !important;
  font-weight: 400 !important;
  opacity: 1 !important;
  text-shadow: none !important;
  transition: opacity 0.2s ease, color 0.2s ease;
}

footer.site-footer .logo-band a:hover,
footer.site-footer .logo-band ul li a:hover,
footer.site-footer .logo-band .menu-item a:hover,
footer.site-footer .logo-band nav a:hover,
footer.site-footer .logo-band a:focus-visible,
footer.site-footer .logo-band ul li a:focus-visible,
footer.site-footer .logo-band .menu-item a:focus-visible,
footer.site-footer .logo-band nav a:focus-visible {
  color: #101921 !important;
  opacity: 0.85 !important;
  text-decoration: none !important;
  text-shadow: none !important;
}

footer.site-footer .logo-band .site-footer__grid-shell {
  /* Logo band only needs the brand column; keep the same left edge as the menu grid. */
  display: block;
  width: 100%;
  max-width: 100%;
}

footer.site-footer .logo-band .site-footer__logo-link {
  display: inline-block;
  line-height: 0;
  flex-shrink: 0;
  color: transparent !important;
  font-weight: 400 !important;
  opacity: 1 !important;
  text-shadow: none !important;
}

footer.site-footer .logo-band .site-footer__logo-link:hover,
footer.site-footer .logo-band .site-footer__logo-link:focus-visible {
  opacity: 0.88 !important;
  color: transparent !important;
  text-shadow: none !important;
}

footer.site-footer .site-footer__logo-img {
  display: block;
  height: var(--footer-logo-height);
  width: auto;
  max-width: none;
  aspect-ratio: var(--footer-logo-aspect);
  object-fit: contain;
  object-position: left center;
  flex-shrink: 0;
}

footer.site-footer .site-footer__grid-shell {
  display: grid;
  /* Brand/tagline column, then as many link columns as fit (≥10.5rem each). */
  grid-template-columns: var(--footer-brand-col) repeat(auto-fill, minmax(10.5rem, 1fr));
  column-gap: var(--footer-col-gap);
  align-items: start;
}

footer.site-footer .site-footer__col-heading {
  margin: 0 0 0.65rem;
  padding: 0;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.3;
}

footer.site-footer .site-footer__brand-col {
  /* Allow text columns to shrink; never let the wordmark column collapse. */
  min-width: var(--footer-logo-width);
}

footer.site-footer .logo-band .site-footer__brand-col {
  min-width: var(--footer-logo-width);
  width: max-content;
  max-width: 100%;
}

footer.site-footer .site-footer__tagline-col {
  min-width: 0;
  padding-right: 0.5rem;
  margin-right: 0;
}

footer.site-footer .site-footer__tagline {
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.45;
  margin: 0;
  padding: 0;
  text-align: left;
  color: rgba(255, 255, 255, 0.92);
  white-space: normal;
}

footer.site-footer .site-footer__tagline em {
  font-style: italic;
  color: #ffffff;
}

footer.site-footer .site-footer__longevity {
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.45;
  margin: 0.55rem 0 0;
  padding: 0;
  text-align: left;
  color: rgba(255, 255, 255, 0.78);
}

footer.site-footer .site-footer__tagline + .site-footer__longevity {
  margin-top: 0.85rem;
}

footer.site-footer .container-fluid {
  padding: 0;
  max-width: 100%;
}

footer.site-footer .site-footer__grid {
  row-gap: 0;
}

footer.site-footer .site-footer__menu-col {
  min-width: 0;
  padding-left: 0;
}

footer.site-footer .site-footer__social-col {
  align-self: end;
  min-width: 0;
}

footer.site-footer nav ul,
footer.site-footer .site-footer__links,
footer.site-footer .site-footer__contact ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--footer-link-stack-gap);
}

footer.site-footer nav li,
footer.site-footer .site-footer__links li,
footer.site-footer .site-footer__contact li {
  line-height: 1.5;
  margin: 0;
  padding: 0;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.92);
}

footer.site-footer nav a,
footer.site-footer .site-footer__links a {
  font-size: 0.9375rem;
}

footer.site-footer .site-footer__social {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-end;
}

footer.site-footer .site-footer__social li {
  display: inline-block;
  padding: 0;
}

footer.site-footer .site-footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem;
}

footer.site-footer .site-footer__copyright {
  margin: 0;
  padding: 0;
  text-align: center;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.72);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

footer.site-footer .site-footer__copyright p {
  margin: 0;
}

/* Page logo band wordmark — slate ink on light backgrounds (not in footer). */
.site-footer__logotype {
  font-family: 'Garamond Regular', Garamond, Georgia, 'Times New Roman', Times, serif;
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.01em;
  margin: 0;
}

.site-footer__logotype-name {
  color: #000000;
}

.site-footer__logotype-sep {
  display: inline-block;
  width: 0.32em;
  height: 0.32em;
  margin: 0 0.22em;
  background-color: var(--mtae-hero-accent-red, #a70b0b);
  vertical-align: middle;
  position: relative;
  top: -0.06em;
}

.site-footer__logotype-tld {
  color: #000000;
}

@media (max-width: 991.98px) {
  footer.site-footer {
    padding: 2.5rem 1.25rem;
    --footer-brand-col: 100%;
    --footer-col-gap: 1.5rem;
    --footer-link-stack-gap: 0.65rem;
  }

  footer.site-footer .logo-band {
    margin: -2.5rem -1.25rem 1.5rem -1.25rem;
    padding: 1.25rem 1.25rem;
    justify-content: flex-start;
  }

  footer.site-footer .site-footer__brand-col,
  footer.site-footer .logo-band .site-footer__brand-col {
    min-width: 0;
    width: auto;
  }

  footer.site-footer .site-footer__logo-img {
    /* Keep aspect ratio; shrink only as a uniform scale if the viewport is narrow. */
    height: auto;
    width: min(100%, var(--footer-logo-width));
    max-width: 100%;
  }

  footer.site-footer .site-footer__grid-shell {
    grid-template-columns: 1fr;
    row-gap: 1.5rem;
  }

  footer.site-footer .site-footer__tagline-col {
    padding-right: 0;
  }

  footer.site-footer .site-footer__tagline {
    margin-bottom: 0;
    text-align: center;
  }

  footer.site-footer .site-footer__longevity {
    text-align: center;
  }

  footer.site-footer .site-footer__menu-col,
  footer.site-footer .site-footer__social-col,
  footer.site-footer .site-footer__contact {
    text-align: center;
  }

  footer.site-footer nav ul,
  footer.site-footer .site-footer__links,
  footer.site-footer .site-footer__contact ul {
    align-items: center;
  }

  footer.site-footer .site-footer__social {
    justify-content: center;
  }

  footer.site-footer .divider {
    margin: 1.75rem 0 1.25rem;
  }
}
