/* Shared institutional footer: scoped to avoid changing legacy page layouts. */
@font-face {
  font-family: "ARBO Navigation Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/inter-latin-400-700.woff2") format("woff2");
}

.site-footer.site-footer--organized {
  --footer-surface: #fbfbfb;
  --footer-heading: #2c3f4d;
  --footer-link: #33566b;
  --footer-text: #595f64;
  --footer-rule: #dfe3e5;
  padding-block: 36px 20px;
  background: var(--footer-surface);
  color: var(--footer-text);
  font-family: "ARBO Navigation Inter", Inter, var(--font-sans, system-ui), sans-serif;
  font-size: 0.875rem;
  line-height: 1.4;
}

.site-footer--organized *,
.site-footer--organized *::before,
.site-footer--organized *::after { box-sizing: border-box; }

.site-footer--organized .site-footer__top {
  display: grid;
  grid-template-columns: minmax(240px, 2fr) repeat(5, minmax(0, 1fr));
  gap: 28px;
  align-items: start;
}

.site-footer--organized .site-footer__nav { display: contents; }

.site-footer--organized .site-footer__about,
.site-footer--organized .site-footer__col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  align-self: start;
  gap: 12px;
  min-width: 0;
  max-width: none;
  grid-column: auto;
  grid-row: auto;
  order: initial;
}

.site-footer--organized h2 {
  margin: 0 0 4px;
  color: var(--footer-heading);
  font: 600 0.9375rem/1.5 "ARBO Navigation Inter", Inter, var(--font-sans, system-ui), sans-serif;
}

.site-footer--organized p,
.site-footer--organized .site-footer__about p {
  max-width: none;
  margin: 0;
  color: var(--footer-text);
  font-size: inherit;
  line-height: 1.6;
}

.site-footer--organized .site-footer__about { gap: 10px; }
.site-footer--organized .site-footer__about .site-footer__disclaimer { font-size: 0.8125rem; }

.site-footer--organized a,
.site-footer--organized .footer-link-button {
  display: inline-block;
  max-width: 100%;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--footer-link);
  font: inherit;
  line-height: 1.4;
  text-align: left;
  text-decoration: none;
  white-space: normal;
  overflow-wrap: anywhere;
  cursor: pointer;
}

.site-footer--organized a:hover,
.site-footer--organized .footer-link-button:hover {
  color: var(--footer-heading);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.site-footer--organized a:focus-visible,
.site-footer--organized button:focus-visible {
  outline: 2px solid var(--focus, #0b65c2);
  outline-offset: 4px;
  border-radius: 2px;
}

.site-footer--organized .social-links {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 2px;
}

.site-footer--organized .social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  min-height: 36px;
}

.site-footer--organized .social-links img {
  display: block;
  width: 20px;
  height: 20px;
}

.site-footer--organized .site-footer__trust-band {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  margin-top: 28px;
  padding-block: 18px;
  border-top: 1px solid var(--footer-rule);
  border-bottom: 1px solid var(--footer-rule);
}

.site-footer--organized .site-footer__trust-icon {
  width: 24px;
  height: 24px;
  color: var(--footer-link);
}

.site-footer--organized .site-footer__trust-title {
  color: var(--footer-heading);
  font-weight: 600;
}

.site-footer--organized .site-footer__standards { margin-top: 4px; font-size: 0.8125rem; }
.site-footer--organized .site-footer__trust-note { max-width: 52ch; font-size: 0.8125rem; justify-self: end; text-wrap: pretty; }

.site-footer--organized .site-footer__bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px 28px;
  margin-top: 0;
  padding-top: 22px;
  border-top: 0;
  text-align: left;
}

.site-footer--organized .site-footer__legal-links,
.site-footer--organized .site-footer__languages {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  min-width: 0;
}

.site-footer--organized .site-footer__legal-links a,
.site-footer--organized .site-footer__preferences,
.site-footer--organized .site-footer__languages { font-size: 0.8125rem; }
.site-footer--organized .site-footer__preferences { justify-self: end; text-decoration: underline; text-underline-offset: 4px; }
.site-footer--organized .site-footer__copyright { font-size: 0.8125rem; }
.site-footer--organized .site-footer__languages { justify-self: end; }
.site-footer--organized .site-footer__languages [aria-current="page"] { color: var(--footer-heading); font-weight: 600; }

@media (max-width: 1199px) {
  .site-footer--organized .site-footer__top { grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 32px; }
}

@media (max-width: 767px) {
  .site-footer.site-footer--organized { padding-block: 36px 20px; }
  .site-footer--organized .site-footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
  .site-footer--organized .site-footer__about { grid-column: 1 / -1; max-width: 54ch; }
  .site-footer--organized .site-footer__trust-band { grid-template-columns: 24px minmax(0, 1fr); margin-top: 32px; gap: 12px; }
  .site-footer--organized .site-footer__trust-note { grid-column: 2; justify-self: start; }
  .site-footer--organized .site-footer__bottom { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .site-footer--organized .site-footer__preferences,
  .site-footer--organized .site-footer__languages { justify-self: start; }
  .site-footer--organized .site-footer__languages { grid-row: 3; }
}

@media (max-width: 1023px) {
  .site-footer--organized a,
  .site-footer--organized .footer-link-button,
  .site-footer--organized .social-links a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding-block: 8px;
  }
  .site-footer--organized .social-links a { min-width: 44px; }
  .site-footer--organized .site-footer__col { gap: 4px; }
  .site-footer--organized .site-footer__legal-links,
  .site-footer--organized .site-footer__languages { column-gap: 20px; row-gap: 0; }
}

@media (max-width: 359px) {
  .site-footer--organized .site-footer__top { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .site-footer--organized .site-footer__about { grid-column: auto; }
}
