.sd-footer.af-footer {
  border-block-start: 1px solid var(--line);
  color: var(--ink);
  background: var(--surface);
}
.af-footer .af-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .9fr) minmax(0, 1fr);
  align-items: start;
  gap: 1.3rem clamp(1.5rem, 5vw, 5rem);
  padding-block: clamp(1.5rem, 4vw, 2.8rem) .85rem;
}
.af-footer .af-identity,
.af-footer .af-contact {
  display: grid;
  align-content: start;
  justify-items: start;
  min-width: 0;
}
.af-footer .af-identity .sd-brand {
  color: var(--ink);
  width: fit-content;
  max-width: 100%;
}
.af-footer .af-parent { margin-block: .2rem 0; color: var(--muted); font-size: .88rem; }
.af-footer .af-label {
  margin: 0 0 .4rem;
  color: var(--ink);
  font: inherit;
  font-size: .91rem;
  font-weight: 650;
  line-height: 1.4;
}
.af-footer .af-sections { min-width: 0; }
.af-footer .af-sections nav {
  display: grid;
  width: fit-content;
  grid-template-columns: auto auto;
  justify-items: start;
  align-items: start;
  gap: 0 1.35rem;
}
.af-footer :is(.af-sections nav a, .af-contact a, .af-legal a, .af-legal .ac-settings) {
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
  padding: .2rem 0;
  margin: 0;
  max-width: 100%;
  font-family: inherit;
  font-size: .95rem;
  line-height: 1.45;
  text-align: start;
  color: var(--ink);
  text-decoration: none;
  overflow-wrap: anywhere;
}
.af-footer .af-contact .af-phone { font-size: 1.15rem; font-weight: 650; letter-spacing: -.015em; }
.af-footer .af-contact .af-email { color: var(--muted); }
.af-footer .af-social, .af-footer .af-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 1.2rem;
}
.af-footer .af-legal {
  grid-column: 1 / -1;
  border-top: 1px solid var(--line);
  padding-top: .55rem;
}
.af-footer .af-legal :is(a, .ac-settings) {
  background: transparent;
  border: 0;
  border-radius: 0;
  color: var(--muted);
  font-size: .87rem;
}
.af-footer .af-legal [hidden] { display: none; }
.af-footer :is(a, button):focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: .18rem;
}
@media (hover: hover) {
  .af-footer :is(.af-layout a, .af-layout button):hover { color: var(--accent); text-decoration: underline; text-underline-offset: .2em; }
}
@media screen and (max-width: 860px) {
  .af-footer .af-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem 1.5rem; }
  .af-footer .af-identity { grid-column: 1 / -1; }
  .sd-site:has(#au-mobile-actions) .af-footer .af-social { display: none; }
  .af-footer :is(.af-sections nav a, .af-contact a, .af-legal a, .af-legal .ac-settings) { min-height: 44px; }
}
@media screen and (max-width: 540px) {
  .af-footer .af-layout { grid-template-columns: minmax(0, 1fr); }
  .af-footer .af-sections nav { display: flex; flex-flow: row wrap; gap: 0 1rem; width: auto; }
  .af-footer .af-label { margin-bottom: .15rem; }
  .af-footer .af-legal { gap: 0 1rem; }
}
