/* Compact two-row MoFutbol footer shared by every public route. */
html body .site-footer,
html body [data-site-footer] > footer.site-footer {
  padding: 0 !important;
  border-top: 1px solid rgba(245, 200, 66, .34) !important;
  background: #050a07 !important;
}

html body .site-footer::before {
  height: 2px !important;
}

html body .site-footer .site-container {
  width: min(calc(100% - clamp(2rem, 5vw, 4rem)), 92rem) !important;
  max-width: 92rem !important;
}

html body .site-footer .site-footer__inner {
  display: grid !important;
  grid-template-columns: minmax(16rem, .9fr) minmax(0, 2.1fr) auto !important;
  align-items: start !important;
  gap: 1rem 1.5rem !important;
  padding: .85rem 0 .65rem !important;
}

html body .site-footer .site-footer__brand {
  display: flex !important;
  align-items: flex-start !important;
  flex-direction: column !important;
  gap: .7rem !important;
  min-width: 0 !important;
}

html body .site-footer .site-brand {
  display: inline-flex !important;
  align-items: center !important;
  gap: .55rem !important;
  min-height: 44px !important;
}

html body .site-footer .site-brand__logo {
  width: 32px !important;
  min-width: 32px !important;
  height: 32px !important;
}

html body .site-footer .site-brand__name {
  font-size: .95rem !important;
  line-height: 1 !important;
}

html body .site-footer .site-brand__tag {
  font-size: .56rem !important;
  line-height: 1.15 !important;
}

html body .site-footer .site-footer__copy {
  max-width: 34ch !important;
  margin: 0 !important;
  font-size: .72rem !important;
  line-height: 1.35 !important;
}

html body .site-footer .site-footer__motto {
  margin: -.2rem 0 0 !important;
  color: #f5c842 !important;
  font-size: .68rem !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
}

html body .site-footer .site-footer__email {
  color: rgba(244, 247, 251, .84) !important;
  font-size: .72rem !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
}

html body .site-footer .site-footer__email:hover {
  color: #f5c842 !important;
}

html body .site-footer .site-footer__link-groups {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 1rem 1.5rem !important;
  min-width: 0 !important;
}

html body .site-footer .site-footer__links-group h2 {
  margin: 0 0 .35rem !important;
  color: #f5c842 !important;
  font-size: .68rem !important;
  font-weight: 900 !important;
  letter-spacing: .08em !important;
  line-height: 1.2 !important;
  text-transform: uppercase !important;
}

html body .site-footer .site-footer__links-group ul {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 0 .75rem !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

html body .site-footer .site-footer__links-group li {
  margin: 0 !important;
}

html body .site-footer .site-footer__links-group a,
html body .site-footer .site-footer__legal a {
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center !important;
  min-height: 44px !important;
  padding: .35rem .1rem !important;
  color: rgba(244, 247, 251, .84) !important;
  font-size: .72rem !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
}

html body .site-footer .site-footer__links-group a:hover,
html body .site-footer .site-footer__legal a:hover {
  color: #f5c842 !important;
}

html body .site-footer .site-socials {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: .3rem !important;
  margin: 0 !important;
}

html body .site-footer .site-socials > a {
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 40px !important;
  width: 40px !important;
  min-width: 40px !important;
  max-width: 40px !important;
  height: 40px !important;
  min-height: 40px !important;
  max-height: 40px !important;
  padding: .55rem !important;
  border-radius: 3px !important;
}

html body .site-footer .site-socials__label,
html body .site-footer .site-socials__handle {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
}

html body .site-footer .site-footer__bottom {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: .75rem 1rem !important;
  min-height: 40px !important;
  padding: .35rem 0 .5rem !important;
  border-top: 1px solid rgba(255, 255, 255, .09) !important;
  font-size: .64rem !important;
  line-height: 1.3 !important;
}

html body .site-footer .site-footer__operations {
  min-width: 0 !important;
  text-align: center !important;
}

html body .site-footer .site-footer__legal {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 0 .75rem !important;
}

html body .site-footer :where(a, button):focus-visible {
  outline: 3px solid #d8ff2e !important;
  outline-offset: 2px !important;
}

@media (max-width: 1152px) {
  html body .site-footer .site-footer__inner {
    grid-template-columns: minmax(14rem, 1fr) auto !important;
  }

  html body .site-footer .site-footer__link-groups {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
  }
}

@media (max-width: 768px) {
  html body .site-footer .site-container {
    width: min(calc(100% - 1.25rem), 42rem) !important;
  }

  html body .site-footer .site-footer__inner {
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: .45rem .75rem !important;
    padding: .65rem 0 .45rem !important;
  }

  html body .site-footer .site-footer__brand {
    gap: .5rem !important;
  }

  html body .site-footer .site-footer__copy {
    max-width: 42ch !important;
  }

  html body .site-footer .site-socials > a {
    flex-basis: 38px !important;
    width: 38px !important;
    min-width: 38px !important;
    max-width: 38px !important;
    height: 38px !important;
    min-height: 38px !important;
    max-height: 38px !important;
  }

  html body .site-footer .site-footer__bottom {
    grid-template-columns: 1fr auto !important;
    gap: .35rem .75rem !important;
    padding-bottom: .6rem !important;
  }

  html body .site-footer .site-footer__operations {
    display: none !important;
  }

  html body .site-footer .site-footer__legal {
    gap: 0 .55rem !important;
  }

  html body .site-footer .site-footer__legal a {
    min-height: 38px !important;
    font-size: .66rem !important;
  }
}

@media (max-width: 400px) {
  html body .site-footer .site-footer__inner {
    grid-template-columns: 1fr !important;
  }

  html body .site-footer .site-socials {
    justify-content: flex-start !important;
  }

  html body .site-footer .site-footer__link-groups {
    grid-row: auto !important;
  }

  html body .site-footer .site-footer__bottom {
    grid-template-columns: 1fr !important;
  }

  html body .site-footer .site-footer__legal {
    justify-content: flex-start !important;
  }
}

/* Keep this shared shell authoritative over older route-specific footer rules. */
html:root:root body .site-footer.site-footer {
  padding: 0 !important;
}

html:root:root body .site-footer.site-footer .site-container {
  width: min(calc(100% - clamp(2rem, 5vw, 4rem)), 92rem) !important;
  max-width: 92rem !important;
}

html:root:root body .site-footer.site-footer .site-footer__inner {
  grid-template-columns: minmax(16rem, .9fr) minmax(0, 2.1fr) auto !important;
  align-items: start !important;
  gap: 1rem 1.5rem !important;
  padding: .85rem 0 .65rem !important;
}

html:root:root body .site-footer.site-footer .site-footer__bottom {
  grid-template-columns: auto minmax(0, 1fr) auto !important;
  gap: .75rem 1rem !important;
  min-height: 40px !important;
  margin-top: 0 !important;
  padding: .35rem 0 .5rem !important;
}

@media (max-width: 1152px) {
  html:root:root body .site-footer.site-footer .site-footer__inner {
    grid-template-columns: minmax(14rem, 1fr) auto !important;
  }

  html:root:root body .site-footer.site-footer .site-footer__link-groups {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
  }
}

@media (max-width: 768px) {
  html:root:root body .site-footer.site-footer .site-container {
    width: min(calc(100% - 1.25rem), 42rem) !important;
  }

  html:root:root body .site-footer.site-footer .site-footer__inner {
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: .45rem .75rem !important;
    padding: .65rem 0 .45rem !important;
  }

  html:root:root body .site-footer.site-footer .site-footer__bottom {
    grid-template-columns: 1fr auto !important;
    gap: .35rem .75rem !important;
  }
}

@media (max-width: 400px) {
  html:root:root body .site-footer.site-footer .site-footer__inner,
  html:root:root body .site-footer.site-footer .site-footer__bottom {
    grid-template-columns: 1fr !important;
  }

  html:root:root body .site-footer.site-footer .site-footer__link-groups {
    grid-row: auto !important;
  }

  html:root:root body .site-footer.site-footer .site-footer__link-groups {
    grid-template-columns: 1fr !important;
  }

  html:root:root body .site-footer.site-footer .site-socials,
  html:root:root body .site-footer.site-footer .site-footer__legal {
    justify-content: flex-start !important;
  }
}
