/* Keep the full Friday footer identical on every public marketing subpage. */
body.site-subpage .site-footer-section > .content-wrap {
  width: min(1220px, calc(100% - 48px)) !important;
  max-width: 1220px !important;
  margin-inline: auto !important;
  padding-inline: 0 !important;
}

body.site-subpage .site-footer[data-footer-unified="true"] .site-footer-brand-block {
  display: grid !important;
  grid-template-columns: auto minmax(220px, 1fr) auto !important;
  align-items: center !important;
  width: 100% !important;
  gap: clamp(20px, 2.8vw, 40px) !important;
}

body.site-subpage .site-footer[data-footer-unified="true"] .site-footer-brand {
  display: inline-flex !important;
  width: fit-content !important;
  max-width: 100% !important;
  align-items: center !important;
  padding: 0 !important;
  overflow: visible !important;
}

body.site-subpage .site-footer[data-footer-unified="true"] .site-footer-brand-logo {
  display: block !important;
  width: 184px !important;
  max-width: min(184px, calc(100vw - 48px)) !important;
  height: auto !important;
  max-height: none !important;
  padding: 0 !important;
  overflow: visible !important;
  object-fit: contain !important;
  object-position: left center !important;
  clip-path: none !important;
  transform: none !important;
}

body.site-subpage .site-footer[data-footer-unified="true"] .site-footer-intro {
  max-width: 42ch !important;
  margin: 0 !important;
  color: rgba(223, 230, 241, 0.63) !important;
  font-size: 0.88rem !important;
  line-height: 1.55 !important;
}

body.site-subpage .site-footer[data-footer-unified="true"] .site-footer-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
}

body.site-subpage .site-footer[data-footer-unified="true"] .site-footer-payment-copy .site-footer-payment-heading span span {
  font-size: 0.76rem !important;
}

body.site-subpage .site-footer[data-footer-unified="true"] .site-footer-assurance strong {
  font-size: 0.78rem !important;
}

body.site-subpage .site-footer[data-footer-unified="true"] .site-footer-assurance-meta {
  font-size: 0.7rem !important;
}

body.site-subpage .site-footer[data-footer-unified="true"] .site-footer-heading {
  font-size: 0.7rem !important;
}

body.site-subpage .site-footer[data-footer-unified="true"] .site-footer-column a,
body.site-subpage .site-footer[data-footer-unified="true"] .site-footer-static {
  font-size: 0.8rem !important;
}

body.site-subpage .site-footer[data-footer-unified="true"] .site-footer-bottom {
  font-size: 0.78rem !important;
  line-height: 1.55 !important;
}

body.site-subpage .site-footer[data-footer-unified="true"] .site-footer-column a[aria-current="page"] {
  color: rgba(255, 255, 255, 0.95) !important;
}

body.site-subpage .site-footer[data-footer-unified="true"] .site-footer-locations {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 24px !important;
  margin-top: clamp(28px, 3vw, 38px) !important;
  padding: 20px 0 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}

body.site-subpage .site-footer[data-footer-unified="true"] .site-footer-locations-heading {
  color: rgba(236, 238, 242, 0.54) !important;
  font-size: 0.7rem !important;
  font-weight: 650 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
}

body.site-subpage .site-footer[data-footer-unified="true"] .site-footer-location-list {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 22px !important;
}

body.site-subpage .site-footer[data-footer-unified="true"] .site-footer-location {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  color: rgba(250, 250, 248, 0.88) !important;
  font-size: 0.88rem !important;
  font-weight: 550 !important;
  line-height: 1.4 !important;
}

body.site-subpage .site-footer[data-footer-unified="true"] .site-footer-location svg {
  width: 17px !important;
  height: 17px !important;
  color: rgba(232, 235, 241, 0.58) !important;
}

@media (max-width: 820px) {
  body.site-subpage .site-footer[data-footer-unified="true"] .site-footer-brand-block {
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 18px !important;
  }

  body.site-subpage .site-footer[data-footer-unified="true"] .site-footer-intro {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
  }

  body.site-subpage .site-footer[data-footer-unified="true"] .site-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 18px 16px !important;
  }

  body.site-subpage .site-footer[data-footer-unified="true"] .site-footer-column-support {
    grid-column: 1 / -1 !important;
  }
}

@media (max-width: 980px) {
  body.site-subpage .site-footer-section > .content-wrap {
    width: min(1180px, calc(100% - 28px)) !important;
  }
}

@media (min-width: 1180px) {
  body.site-subpage .site-footer-section > .content-wrap {
    width: min(1180px, calc(100% - 72px)) !important;
    max-width: 1180px !important;
  }
}

@media (min-width: 1440px) {
  body.site-subpage .site-footer-section > .content-wrap {
    width: min(1220px, calc(100% - 96px)) !important;
    max-width: 1220px !important;
  }
}

@media (max-width: 620px) {

  body.site-subpage .site-footer[data-footer-unified="true"] .site-footer-brand-block {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 13px !important;
  }

  body.site-subpage .site-footer[data-footer-unified="true"] .site-footer-intro {
    grid-column: auto !important;
    grid-row: auto !important;
    max-width: 36ch !important;
    font-size: 0.88rem !important;
    line-height: 1.55 !important;
  }

  body.site-subpage .site-footer[data-footer-unified="true"] .site-footer-brand-logo {
    width: 168px !important;
    max-width: calc(100vw - 44px) !important;
  }

  body.site-subpage .site-footer[data-footer-unified="true"] .site-footer-locations {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    justify-items: start !important;
    gap: 10px !important;
    margin-top: 28px !important;
    padding: 18px 0 2px !important;
  }

  body.site-subpage .site-footer[data-footer-unified="true"] .site-footer-locations-heading {
    font-size: 0.72rem !important;
  }

  body.site-subpage .site-footer[data-footer-unified="true"] .site-footer-location {
    font-size: 0.92rem !important;
  }

  body.site-subpage .site-footer[data-footer-unified="true"] .site-footer-payment-copy {
    padding: 0 0 22px !important;
  }

  body.site-subpage .site-footer[data-footer-unified="true"] .site-footer-payment-heading > span {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    align-items: start !important;
    gap: 5px !important;
  }

  body.site-subpage .site-footer[data-footer-unified="true"] .site-footer-payment-copy strong[data-i18n="footer.payments.heading"] {
    font-size: 1.04rem !important;
    white-space: normal !important;
  }

  body.site-subpage .site-footer[data-footer-unified="true"] .site-footer-payment-copy .site-footer-payment-heading span span {
    max-width: 32ch !important;
    padding-top: 0 !important;
    font-size: 0.8rem !important;
  }

  body.site-subpage .site-footer[data-footer-unified="true"] .site-footer-payment-marks {
    padding: 0 0 14px !important;
  }

  body.site-subpage .site-footer[data-footer-unified="true"] .site-footer-crypto-list {
    padding: 14px 0 !important;
  }

  body.site-subpage .site-footer[data-footer-unified="true"] .site-footer-payment-provider-telegram strong {
    font-size: 0.8rem !important;
  }

  body.site-subpage .site-footer[data-footer-unified="true"] .site-footer-payment-provider-telegram small {
    font-size: 0.7rem !important;
  }

  body.site-subpage .site-footer[data-footer-unified="true"] .site-footer-assurance strong {
    font-size: 0.82rem !important;
  }

  body.site-subpage .site-footer[data-footer-unified="true"] .site-footer-assurance-meta {
    font-size: 0.76rem !important;
    line-height: 1.45 !important;
  }

  body.site-subpage .site-footer[data-footer-unified="true"] .site-footer-heading {
    font-size: 0.72rem !important;
    letter-spacing: 0.11em !important;
  }

  body.site-subpage .site-footer[data-footer-unified="true"] .site-footer-column a,
  body.site-subpage .site-footer[data-footer-unified="true"] .site-footer-static {
    font-size: 0.84rem !important;
    line-height: 1.55 !important;
  }

  body.site-subpage .site-footer[data-footer-unified="true"] .site-footer-bottom {
    font-size: 0.8rem !important;
    line-height: 1.55 !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.site-subpage .site-footer[data-footer-unified="true"] *,
  body.site-subpage .site-footer[data-footer-unified="true"] *::before,
  body.site-subpage .site-footer[data-footer-unified="true"] *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
