footer.site-footer {
  --footer-ink: #0a0807;
  --footer-red: var(--red, #B91C1C);
  --footer-gold: var(--gold, #D4A853);
  --footer-line: rgba(255,255,255,.1);
  --footer-text: rgba(255,255,255,.74);
  background: var(--footer-ink);
  color: var(--footer-text);
  display: block;
  padding: 28px clamp(22px, 5vw, 72px) 22px;
}

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

.site-footer__bar {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--footer-line);
}

.site-footer__logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  text-decoration: none;
}

.site-footer__logo img {
  height: 58px;
  width: auto;
  display: block;
  border-radius: 7px;
}

.site-footer__kids-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  padding: 10px 14px;
  border: 1px solid rgba(14,165,233,.55);
  border-radius: 999px;
  background: rgba(14,165,233,.16);
  color: #fff;
  font-family: var(--sans, sans-serif);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform .22s ease, background .22s ease, border-color .22s ease;
}

.site-footer__kids-link:hover {
  transform: translateY(-2px);
  background: rgba(14,165,233,.28);
  border-color: rgba(252,211,77,.82);
}

.site-footer__kids-link small {
  color: #FCD34D;
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .12em;
}

.site-footer__menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 1.8vw, 24px);
  flex: 1 1 auto;
}

.site-footer__menu a,
.site-footer__menu summary,
.site-footer__social a {
  font-family: var(--sans, sans-serif);
  font-size: .72rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--footer-text);
  text-decoration: none;
  cursor: pointer;
  transition: color .22s;
}

.site-footer__menu a:hover,
.site-footer__menu a[aria-current="page"],
.site-footer__menu summary:hover,
.site-footer__dropdown[open] summary,
.site-footer__social a:hover {
  color: #fff;
}

.site-footer__dropdown {
  position: relative;
}

.site-footer__dropdown summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}

.site-footer__dropdown summary::-webkit-details-marker {
  display: none;
}

.site-footer__arrow {
  width: 8px;
  height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform .22s ease;
}

.site-footer__dropdown[open] .site-footer__arrow {
  transform: rotate(-135deg) translateY(-2px);
}

.site-footer__panel {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 12px);
  transform: translateX(-50%);
  min-width: 245px;
  padding: 8px 0;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 16px 40px rgba(0,0,0,.24), 0 2px 8px rgba(0,0,0,.08);
  z-index: 20;
}

.site-footer__panel::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: #fff;
  border-bottom: none;
}

.site-footer__panel a {
  display: block;
  padding: 10px 22px;
  color: #5b5550 !important;
  white-space: nowrap;
}

.site-footer__panel a:hover,
.site-footer__panel a[aria-current="page"] {
  color: var(--footer-red) !important;
  background: rgba(185,28,28,.08);
}

.site-footer__social {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  flex-wrap: wrap;
  flex: 0 0 auto;
}

.site-footer__bottom {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: rgba(255,255,255,.55);
  font-family: var(--sans, sans-serif);
  font-size: .7rem;
  letter-spacing: .08em;
}

@media (max-width: 980px) {
  .site-footer__bar {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer__menu {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .site-footer__social {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  footer.site-footer {
    padding: 24px 20px 20px;
  }

  .site-footer__menu {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .site-footer__kids-link {
    width: 100%;
    justify-content: center;
  }

  .site-footer__dropdown {
    width: 100%;
  }

  .site-footer__panel {
    position: static;
    transform: none;
    min-width: 0;
    margin-top: 10px;
    background: rgba(255,255,255,.06);
    border: 1px solid var(--footer-line);
    box-shadow: none;
  }

  .site-footer__panel::after {
    display: none;
  }

  .site-footer__panel a {
    color: rgba(255,255,255,.68) !important;
  }

  .site-footer__bottom {
    flex-direction: column;
  }
}
