@font-face {
  font-family: "Albireo Condensed";
  src: url("../assets/fonts/albireo-cond-bold-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 700;
  font-display: swap;
}

#site-footer.aca-site-footer {
  --aca-footer-bg: #141414;
  --aca-footer-text: #f4f2ed;
  --aca-footer-muted: #a6a39d;
  --aca-footer-line: rgba(255, 255, 255, 0.16);
  --aca-footer-gold: #c5a45b;
  position: relative;
  isolation: isolate;
  color: var(--aca-footer-text);
  background: var(--aca-footer-bg);
  border-top: 1px solid rgba(197, 164, 91, 0.65);
  font-family: "Albireo Condensed", sans-serif;
  font-style: italic;
  font-weight: 700;
  font-synthesis: none;
  font-size: 15px;
  letter-spacing: -0.025em;
  line-height: 1.4;
}

#site-footer.aca-site-footer,
#site-footer.aca-site-footer * {
  box-sizing: border-box;
}

#site-footer .aca-site-footer__inner {
  width: min(100% - 48px, 1360px);
  margin-inline: auto;
}

#site-footer .aca-site-footer__main {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 2fr);
  align-items: start;
  gap: clamp(28px, 3vw, 48px);
  padding-block: 32px 28px;
}

#site-footer .aca-site-footer__identity {
  min-width: 0;
}

#site-footer .aca-site-footer__crest {
  display: block;
  width: 64px;
  height: 64px;
  object-fit: contain;
}

#site-footer .aca-site-footer__social,
#site-footer .aca-site-footer__column ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

#site-footer .aca-site-footer__social {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  margin-top: 14px;
}

#site-footer .aca-site-footer__social a {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 3px;
  color: var(--aca-footer-text);
  background: rgba(255, 255, 255, 0.08);
  text-decoration: none;
  transition: color 160ms ease, background-color 160ms ease;
}

#site-footer .aca-site-footer__social a:hover {
  color: var(--aca-footer-gold);
  background: rgba(255, 255, 255, 0.14);
}

#site-footer .aca-site-footer__social a:focus-visible,
#site-footer .aca-site-footer__column a:focus-visible,
#site-footer .aca-site-footer__legal a:focus-visible {
  outline: 2px solid var(--aca-footer-gold);
  outline-offset: 3px;
}

#site-footer .aca-site-footer__social svg {
  display: block;
  width: 16px;
  height: 16px;
  fill: currentColor;
}

#site-footer .aca-site-footer__social svg rect,
#site-footer .aca-site-footer__social svg circle {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

#site-footer .aca-site-footer__social svg .aca-site-footer__social-dot,
#site-footer .aca-site-footer__social svg .aca-site-footer__play {
  fill: currentColor;
  stroke: none;
}

#site-footer .aca-site-footer__social li:nth-child(3) svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 2.2;
}

#site-footer .aca-site-footer__navigation {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  padding-top: 5px;
}

#site-footer .aca-site-footer__column h2 {
  margin: 0 0 9px;
  color: var(--aca-footer-gold);
  font-size: 13px;
  letter-spacing: -0.025em;
  line-height: 1.2;
  text-transform: uppercase;
}

#site-footer .aca-site-footer__column li + li {
  margin-top: 5px;
}

#site-footer .aca-site-footer__column a {
  display: inline-block;
  min-height: 25px;
  color: var(--aca-footer-text);
  font-size: 15px;
  line-height: 1.28;
  text-decoration: none;
  text-underline-offset: 4px;
  transition: color 160ms ease;
}

#site-footer .aca-site-footer__column a:hover,
#site-footer .aca-site-footer__legal a:hover {
  color: var(--aca-footer-gold);
  text-decoration: underline;
}

#site-footer .aca-site-footer__contact address {
  color: var(--aca-footer-muted);
  font-size: 14px;
  font-style: italic;
  line-height: 1.45;
}

#site-footer .aca-site-footer__contact a {
  overflow-wrap: break-word;
}

#site-footer .aca-site-footer__bottom {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  border-top: 1px solid var(--aca-footer-line);
  padding-block: 9px;
}

#site-footer .aca-site-footer__copyright {
  margin: 0;
  color: var(--aca-footer-muted);
  font-size: 12px;
}

#site-footer .aca-site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px 14px;
}

#site-footer .aca-site-footer__legal a {
  display: inline-block;
  min-height: 24px;
  color: var(--aca-footer-muted);
  font-size: 12px;
  line-height: 1.4;
  text-decoration: none;
  transition: color 160ms ease;
}

#site-footer .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

@media (max-width: 1120px) {
  #site-footer .aca-site-footer__main {
    grid-template-columns: minmax(328px, 0.9fr) minmax(0, 1.7fr);
    gap: 28px;
  }

  #site-footer .aca-site-footer__navigation {
    gap: 16px;
  }

  #site-footer .aca-site-footer__column a {
    font-size: 14px;
  }
}

@media (max-width: 900px) {
  #site-footer .aca-site-footer__main {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
    padding-block: 26px 22px;
  }

  #site-footer .aca-site-footer__navigation {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
      "club football"
      "supporters supporters"
      "contact contact";
    gap: 18px 16px;
    padding-top: 0;
  }

  #site-footer .aca-site-footer__club-links { grid-area: club; }
  #site-footer .aca-site-footer__football-links { grid-area: football; }
  #site-footer .aca-site-footer__supporter-links { grid-area: supporters; }
  #site-footer .aca-site-footer__contact { grid-area: contact; }

  #site-footer .aca-site-footer__supporter-links ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2px 16px;
  }

  #site-footer .aca-site-footer__supporter-links li + li {
    margin-top: 0;
  }

  #site-footer .aca-site-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
    padding-block: 10px 12px;
  }

  #site-footer .aca-site-footer__legal {
    justify-content: flex-start;
  }
}

@media (max-width: 600px) {
  #site-footer .aca-site-footer__inner {
    width: min(100% - 28px, 520px);
  }

  #site-footer .aca-site-footer__main {
    gap: 22px;
    padding-block: 22px 18px;
  }

  #site-footer .aca-site-footer__crest {
    width: 54px;
    height: 54px;
  }

  #site-footer .aca-site-footer__social {
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 10px;
  }

  #site-footer .aca-site-footer__social a {
    width: 38px;
    height: 38px;
  }

  #site-footer .aca-site-footer__navigation {
    gap: 15px 12px;
  }

  #site-footer .aca-site-footer__column h2 {
    margin-bottom: 7px;
    font-size: 13px;
  }

  #site-footer .aca-site-footer__column a {
    min-height: 28px;
    font-size: 14px;
  }

  #site-footer .aca-site-footer__contact address {
    font-size: 13px;
  }

  #site-footer .aca-site-footer__legal {
    gap: 4px 10px;
  }

  #site-footer .aca-site-footer__legal a,
  #site-footer .aca-site-footer__copyright {
    font-size: 11px;
  }
}

@media (max-width: 360px) {
  #site-footer .aca-site-footer__navigation {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "club"
      "football"
      "supporters"
      "contact";
  }

  #site-footer .aca-site-footer__supporter-links ul {
    display: block;
  }

  #site-footer .aca-site-footer__supporter-links li + li {
    margin-top: 8px;
  }

  #site-footer .aca-site-footer__legal {
    column-gap: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #site-footer .aca-site-footer__social a,
  #site-footer .aca-site-footer__column a,
  #site-footer .aca-site-footer__legal a {
    transition: none;
  }
}
