body > footer.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem clamp(1.25rem, 4vw, 3rem);
  box-sizing: border-box;
  padding: 1.25rem 1rem;
  border: 0;
  border-top: 1px solid transparent;
  border-image: linear-gradient(90deg, #ff495e, #ff9b42, #ffe35a, #6ee572, #43d8ff, #8073ff, #ef64db) 1;
  background: #08080a;
  color: #d5d1db;
  font: normal 0.8rem / 1.35 Nightlife, Impact, sans-serif;
  letter-spacing: 0;
  text-align: center;
}

body > footer.site-footer .footer-brand {
  font: inherit;
  color: #f5f4f8;
}

body > footer.site-footer .footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 1.25rem;
}

body > footer.site-footer .footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-decoration: none;
}

body > footer.site-footer .footer-links a:hover,
body > footer.site-footer .footer-links a:focus-visible {
  color: #f5f4f8;
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

/* Keep the footer on the same baseline on Show, Live and Media. */
body:has(> :is(.show-header, .live-header, .media-header)) {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  height: 100vh;
  height: 100dvh;
  min-height: 0;
  overflow: hidden;
}

body:has(> :is(.show-header, .live-header, .media-header)) > main {
  min-height: 0;
  overflow-y: auto;
  scrollbar-gutter: stable both-edges;
}

body:not(.home) > main > :is(.show-page, .live-page, .media-page) {
  min-height: 0;
  padding-bottom: clamp(1.25rem, 3vh, 2rem) !important;
}

body:has(> :is(.show-header, .live-header, .media-header)) > footer.site-footer {
  height: auto;
  min-height: 62px;
}
