html body footer.fh-unified-footer {
  --footer-surface: #f7f8f2;
  --footer-ink: #103e3a;
  --footer-muted: #405d54;
  --footer-line: #bfd6ca;
  --footer-accent: #11715a;
  background: var(--footer-surface);
  color: var(--footer-ink);
  border-top: 1px solid var(--footer-line);
  font: 400 14px/1.5 "Nunito Sans", system-ui, sans-serif;
}

html:is([data-fh-theme="dark"], [data-theme="dark"]) body footer.fh-unified-footer {
  --footer-surface: #122421;
  --footer-ink: #e5f6ed;
  --footer-muted: #b9d1c5;
  --footer-line: #405f55;
  --footer-accent: #a7e8cf;
}

@media (prefers-color-scheme: dark) {
  html:not([data-fh-theme="light"], [data-theme="light"]) body footer.fh-unified-footer {
    --footer-surface: #122421;
    --footer-ink: #e5f6ed;
    --footer-muted: #b9d1c5;
    --footer-line: #405f55;
    --footer-accent: #a7e8cf;
  }
}

.fh-unified-footer-inner {
  max-width: 1180px;
  margin-inline: auto;
  padding: 44px 20px 24px;
}

.fh-unified-footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.fh-unified-footer nav {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 4px;
  min-width: 0;
}

.fh-unified-footer nav h2 {
  color: var(--footer-ink);
  font: 800 12px/1.4 "Nunito Sans", system-ui, sans-serif;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin: 0 0 6px;
}

html body .fh-unified-footer nav a {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  color: var(--footer-muted);
  font: 700 14px/1.5 "Nunito Sans", system-ui, sans-serif;
  text-decoration: none;
}

html body .fh-unified-footer nav a:is(:hover, :focus-visible) {
  color: var(--footer-accent);
  text-decoration: underline;
  text-underline-offset: .22em;
}

.fh-unified-footer .fh-unified-footer-brand p {
  margin-block: 12px 0;
  color: var(--footer-muted);
}

.fh-unified-footer .fh-unified-footer-brand .footer-brand {
  color: var(--footer-ink);
  font-size: 18px;
}

.fh-unified-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  border-top: 1px solid var(--footer-line);
  margin-top: 26px;
  padding-top: 14px;
}

.fh-unified-footer-bottom .fh-footer__fine {
  border: 0;
  margin: 0;
  padding: 0;
}

@media (max-width: 700px) {
  .fh-unified-footer-inner { padding-top: 30px; }
  .fh-unified-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .fh-unified-footer-brand,
  .fh-unified-footer-local,
  .fh-unified-footer-grid > .fh-cookie-preferences,
  .fh-unified-footer-grid > .qa-cookie-preferences {
    grid-column: 1 / -1;
  }
  .fh-unified-footer-grid .fh-unified-footer-local {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 20px;
  }
  .fh-unified-footer-local h2 { grid-column: 1 / -1; }
  html body .fh-unified-footer nav a { min-height: 44px; }
}

.fh-unified-footer-bottom .footer-tools {
  border-top: 0;
  padding-top: 0;
}
