.site-footer {
  overflow: hidden !important;
  padding: 0 !important;
  border-top: 1px solid rgba(255, 255, 255, .09) !important;
  background: #07110d !important;
  color: #e8f0eb;
}

html body .site-footer > .footer-container {
  padding-top: clamp(26px, 3vw, 36px) !important;
  padding-bottom: clamp(24px, 3vw, 32px) !important;
}

html body .site-footer .footer-top {
  display: grid !important;
  grid-template-columns: minmax(280px, 1.5fr) minmax(170px, 1fr) minmax(190px, 1fr) !important;
  gap: 48px !important;
  align-items: start;
  width: 100% !important;
}

.site-footer .footer-brand,
.site-footer .footer-col {
  min-width: 0;
}

.site-footer .footer-brand {
  max-width: 520px;
  gap: 8px;
}

.site-footer .footer-logo {
  display: block;
  width: min(230px, 100%);
}

.site-footer .footer-logo img {
  display: block;
  width: 100%;
  height: auto;
  opacity: 1 !important;
  filter: brightness(0) invert(1) !important;
}

.site-footer .footer-brand__tagline {
  margin: 0;
  color: #dbe5df !important;
  font-size: 13px;
  line-height: 1.45;
}

.site-footer .footer-col__title {
  margin: 2px 0 12px !important;
  color: #f5f8f6 !important;
  font-size: 12px !important;
  line-height: 1.35;
  font-weight: 650;
  letter-spacing: .1em !important;
}

.site-footer .footer-publication-meta,
.site-footer .footer-links a {
  font-size: 13px !important;
  line-height: 1.5 !important;
}

.site-footer .footer-publication-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 0;
  margin-top: 4px;
  color: #bdcbc3 !important;
  font-size: 12px !important;
}

.site-footer .footer-publication-meta p + p::before {
  content: "•";
  margin: 0 10px;
  color: #8fa198;
}

.site-footer .footer-publication-meta p,
.site-footer-legal p {
  margin: 0;
}

html body .site-footer .footer-publication-meta p {
  color: #cbd7d0 !important;
  opacity: 1 !important;
}

.site-footer .footer-links {
  gap: 7px !important;
}

.site-footer .footer-links a,
.site-footer-legal a {
  display: block;
  max-width: 100%;
  color: #d3ded8 !important;
  overflow-wrap: anywhere;
  text-underline-offset: 3px;
  transition: color .18s ease;
}

.site-footer .footer-links a:hover,
.site-footer-legal a:hover {
  color: #ffffff !important;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, .45);
}

.site-footer a:focus-visible {
  outline: 2px solid #8fd9b8;
  outline-offset: 4px;
  border-radius: 2px;
}

.site-footer .site-footer-legal {
  margin-top: 0 !important;
  border-top: 1px solid rgba(255, 255, 255, .1);
  background: #050c09 !important;
}

html body .site-footer .site-footer-legal__inner {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 9px;
  padding-top: 14px !important;
  padding-bottom: 15px !important;
}

.site-footer-legal__links,
.site-footer-legal__ownership,
.site-footer-legal__notices {
  display: flex !important;
  flex-wrap: wrap;
  gap: 4px 22px;
  align-items: baseline;
  min-width: 0;
  width: 100%;
}

.site-footer-legal__links {
  gap: 4px 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, .075);
}

.site-footer-legal__links a {
  color: #d7e1dc !important;
  font-size: 12px;
  line-height: 1.45;
}

.site-footer-legal__links a + a::before {
  content: "|";
  margin-right: 10px;
  color: rgba(238, 246, 241, .35);
}

.site-footer-legal__meta {
  display: grid !important;
  grid-template-columns: auto 1fr !important;
  gap: 6px 28px;
  color: #bdc9c2 !important;
  font-size: 12px;
  line-height: 1.45;
}

.site-footer-legal__ownership a {
  display: inline;
}

/* Keep every service line above body-muted contrast despite later global CSS. */
.site-footer .site-footer-legal p {
  color: #bdc9c2 !important;
}

.site-footer .site-footer-legal a {
  color: #d7e1dc !important;
}

@media (max-width: 900px) {
  html body .site-footer .footer-top {
    grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(170px, 1fr)) !important;
    column-gap: 28px !important;
  }

  .site-footer-legal__meta {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 700px) {
  html body .site-footer > .footer-container {
    padding: 26px 18px 24px !important;
  }

  html body .site-footer .footer-top {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 24px 26px !important;
  }

  .site-footer .footer-brand {
    grid-column: 1 / -1;
    max-width: none;
  }

  html body .site-footer .site-footer-legal__inner {
    padding-top: 14px !important;
    padding-bottom: 16px !important;
  }
}

@media (max-width: 480px) {
  html body .site-footer > .footer-container {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  html body .site-footer .footer-top {
    grid-template-columns: 1fr !important;
    gap: 22px !important;
  }

  .site-footer .footer-brand {
    grid-column: auto;
  }

  .site-footer .footer-logo {
    width: 205px;
  }

  .site-footer-legal__links,
  .site-footer-legal__ownership,
  .site-footer-legal__notices {
    align-items: flex-start;
    flex-direction: column !important;
    gap: 5px;
  }

  .site-footer-legal__meta {
    gap: 9px;
    font-size: 12px;
  }

  .site-footer-legal__links a + a::before {
    content: none;
  }
}
