/* Shared footer, isolated from homepage, landing and legal page styles. */
.site-footer.site-footer--structured {
  background: #fff;
  border-top: 1px solid #dce5e0;
  padding: 56px 0 28px;
  color: #475569;
  font: 400 .875rem/1.6 "Inter", sans-serif;
  text-align: left;
  overflow-wrap: anywhere;
}
.site-footer--structured *, .site-footer--structured *::before, .site-footer--structured *::after { box-sizing: border-box; }
.site-footer--structured .footer-shell { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.site-footer--structured :is(p, h2, ul, dl, dd) { margin: 0; }
.site-footer--structured p { color: inherit; font-size: inherit; line-height: inherit; }
.site-footer--structured .footer-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: start; gap: 32px; padding-bottom: 40px; }
.site-footer--structured .footer-grid > * { min-width: 0; }
.site-footer--structured a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #475569;
  font: inherit;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.site-footer--structured a:hover { color: #087b45; text-decoration: underline; text-underline-offset: 4px; }
.site-footer--structured :is(a, button):focus-visible { outline: 3px solid #087b45; outline-offset: 4px; border-radius: 6px; }
.site-footer--structured .footer-brand-link {
  display: flex; align-items: flex-start; flex-direction: column; gap: 12px; width: fit-content;
  color: #111827; font: 700 1.25rem/1.3 "Outfit", sans-serif;
}
.site-footer--structured .footer-brand-link img { display: block; width: 96px; height: 96px; object-fit: contain; }
.site-footer--structured .footer-brand-link sup { font-size: .55em; vertical-align: super; margin-left: 2px; }
.site-footer--structured .footer-brand-block p { margin-top: 12px; max-width: 24ch; }
.site-footer--structured .footer-group h2 { margin: 0 0 12px; color: #111827; font: 650 1.0625rem/1.5 "Outfit", sans-serif; letter-spacing: 0; }
.site-footer--structured .footer-group ul { padding: 0; list-style: none; }
.site-footer--structured .footer-group li { margin: 0; padding: 0; font: inherit; color: inherit; }
.site-footer--structured .footer-contact a { color: #08653c; font-weight: 600; }
.site-footer--structured .footer-panel-link { gap: 12px; margin-top: 12px; }
.site-footer--structured .footer-company {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px;
  border-top: 1px solid #dce5e0; border-bottom: 1px solid #dce5e0; padding: 28px 0; font-size: .8125rem;
}
.site-footer--structured .footer-company-name { color: #26362e; font-weight: 650; margin-bottom: 4px; }
.site-footer--structured .footer-court { margin-top: 12px; }
.site-footer--structured .footer-register { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 32px; align-content: start; }
.site-footer--structured .footer-register div { min-width: 0; }
.site-footer--structured .footer-register dt { font-size: .75rem; color: #475569; overflow-wrap: anywhere; }
.site-footer--structured .footer-register dd { color: #26362e; font-weight: 600; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.site-footer--structured .footer-meta { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 24px; padding-top: 24px; font-size: .75rem; }
.site-footer--structured .footer-documents { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 24px; }
.site-footer--structured .footer-consent {
  justify-self: end; max-width: 100%; min-height: 44px; padding: 10px 14px; border: 1px solid #c8d7cf; border-radius: 10px;
  background: #f7faf8; color: #365345; font: 500 .75rem/1.5 "Inter", sans-serif; cursor: pointer; overflow-wrap: anywhere;
}
.site-footer--structured .footer-consent:hover { background: #edf6f0; border-color: #087b45; }
@media (max-width: 1000px) {
  .site-footer--structured .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 40px; }
  .site-footer--structured .footer-brand-block { grid-column: 1 / -1; text-align: center; }
  .site-footer--structured .footer-brand-link { align-items: center; margin: 0 auto; }
  .site-footer--structured .footer-brand-block p { max-width: none; margin-top: 8px; }
  .site-footer--structured nav.footer-group { display: grid; grid-template-rows: subgrid; grid-row: span 6; row-gap: 0; }
  .site-footer--structured nav.footer-group ul { display: contents; }
  .site-footer--structured .footer-contact { grid-column: 1 / -1; border-top: 1px solid #dce5e0; padding-top: 24px; text-align: center; }
  .site-footer--structured .footer-contact ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 24px; }
  .site-footer--structured .footer-panel-link { margin-top: 0; }
  .site-footer--structured .footer-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .site-footer--structured .footer-documents { justify-content: flex-end; }
  .site-footer--structured .footer-consent { grid-column: 1 / -1; justify-self: center; }
}
@media (max-width: 960px) {
  /* Replace the homepage's older blanket action-bar reserve. */
  .site-footer.site-footer--structured { padding-bottom: 28px !important; }
  body:has(.nav-links):has(.mobile-bar) .site-footer.site-footer--structured { padding-bottom: calc(28px + 5rem + env(safe-area-inset-bottom)) !important; }
}
@media (max-width: 768px) {
  body:has(.mobile-bar) .site-footer.site-footer--structured { padding-bottom: calc(28px + 5rem + env(safe-area-inset-bottom)) !important; }
}
@media (max-width: 600px) {
  .site-footer.site-footer--structured { padding: 36px 0 28px; }
  .site-footer--structured .footer-shell { padding: 0 20px; }
  .site-footer--structured .footer-grid { gap: 28px 20px; padding-bottom: 28px; }
  .site-footer--structured .footer-company { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 24px 0; }
  .site-footer--structured .footer-register { gap: 16px 20px; }
  .site-footer--structured .footer-meta { grid-template-columns: minmax(0, 1fr); gap: 12px; text-align: center; }
  .site-footer--structured .footer-documents { justify-content: center; }
}
@media (max-width: 359px) {
  .site-footer--structured .footer-shell { padding: 0 16px; }
  .site-footer--structured .footer-grid { gap: 24px 16px; }
}
