footer.full-footer.afs-site-footer {
  --footer-text: #dedede;
  --footer-muted: #c2c2c2;
  --footer-rule: #484848;
  display: block;
  padding: 0;
  border: 0;
  background: #181818;
  color: var(--footer-text);
  font-size: 14px;
  line-height: 1.45;
}

.afs-site-footer .afs-footer-inner {
  width: min(100%, 1600px);
  margin-inline: auto;
  padding: clamp(38px, 4vw, 60px) clamp(24px, 5vw, 80px) 30px;
}

.afs-site-footer .afs-footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.36fr) minmax(0, 1fr) minmax(0, .97fr) minmax(0, .92fr);
  align-items: start;
  column-gap: clamp(22px, 3vw, 44px);
}

.afs-site-footer .afs-footer-contact,
.afs-site-footer .afs-footer-group {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  color: inherit;
  background: none;
}

.afs-site-footer p,
.afs-site-footer address,
.afs-site-footer ul,
.afs-site-footer li {
  margin: 0;
  padding: 0;
}

.afs-site-footer ul { list-style: none; }

footer.full-footer.afs-site-footer a {
  display: inline-block;
  margin: 0;
  color: var(--footer-text);
  overflow-wrap: anywhere;
  text-decoration: none;
}

footer.full-footer.afs-site-footer a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

footer.full-footer.afs-site-footer a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.afs-site-footer .afs-footer-logo img {
  display: block;
  width: 190px;
  max-width: 100%;
  height: auto;
}

.afs-site-footer .afs-footer-intro {
  max-width: 29ch;
  margin-block: 15px 14px;
}

.afs-site-footer address {
  display: grid;
  justify-items: start;
  gap: 3px;
  font: inherit;
}

.afs-site-footer address span { color: var(--footer-muted); }

.afs-site-footer .afs-footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-block-start: 16px;
}

footer.full-footer.afs-site-footer .afs-footer-social a {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid #747474;
  border-radius: 50%;
  color: #fff;
}

footer.full-footer.afs-site-footer .afs-footer-social a:hover {
  border-color: #ddd;
  background: #303030;
}

.afs-site-footer .afs-footer-social svg {
  width: 18px;
  height: 18px;
  display: block;
}

footer.full-footer.afs-site-footer .afs-footer-group h3 {
  margin: 0 0 11px;
  padding: 0;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
}

.afs-site-footer .afs-footer-group ul {
  display: grid;
  justify-items: start;
  gap: 4px;
}

footer.full-footer.afs-site-footer .afs-footer-group a { padding-block: 4px; }

footer.full-footer.afs-site-footer .afs-footer-desk {
  position: relative;
  padding-inline-start: 9px;
  color: #fff;
}

.afs-site-footer .afs-footer-desk::before {
  content: "";
  position: absolute;
  inset-block: 6px;
  inset-inline-start: 0;
  width: 2px;
  background: #c91527;
}

.afs-site-footer .afs-footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 5px 24px;
  margin-block-start: 22px;
  padding-block-start: 11px;
  border-block-start: 1px solid var(--footer-rule);
  color: var(--footer-muted);
  font-size: 12px;
  line-height: 1.35;
}

@media (max-width: 720px) {
  .afs-site-footer .afs-footer-inner {
    padding: 29px clamp(18px, 5.6vw, 32px) max(66px, env(safe-area-inset-bottom));
  }

  .afs-site-footer .afs-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 16px;
  }

  .afs-site-footer .afs-footer-contact {
    grid-column: 1 / -1;
    padding-block-end: 20px;
    border-block-end: 1px solid var(--footer-rule);
  }

  footer.full-footer.afs-site-footer .afs-footer-social a {
    width: 44px;
    height: 44px;
  }

  .afs-site-footer .afs-footer-legal {
    display: grid;
    justify-content: stretch;
  }
}
