@font-face {
  font-family: "Ubuntu Titling";
  src: url("./assets/fonts/UbuntuTitling-Bold.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 700;
}

.sv-forum-footer,
.sv-forum-footer * {
  box-sizing: border-box !important;
}

.sv-forum-footer {
  --viewport-shell: 1400px !important;
  --viewport-gutter: clamp(36px, 6vw, 96px) !important;
  background: linear-gradient(180deg, #2da2ca 0%, #278eb7 100%) !important;
  color: #fff !important;
  font-family: "Poppins", Arial, Helvetica, sans-serif !important;
  font-size: 16px !important;
  line-height: 1.5 !important;
  margin-top: 50px !important;
}

.sv-forum-footer a {
  color: inherit !important;
  text-decoration: none !important;
}

.sv-forum-footer [hidden] {
  display: none !important;
}

.sv-forum-footer__content {
  display: grid !important;
  width: min(var(--viewport-shell), calc(100% - var(--viewport-gutter))) !important;
  grid-template-columns: 260px 1fr !important;
  align-items: start !important;
  gap: 80px !important;
  margin: 0 auto !important;
  padding: 52px 0 !important;
}

.sv-forum-footer__brand {
  display: block !important;
  width: 150px !important;
  line-height: 0 !important;
}

.sv-forum-footer__brand img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
}

.sv-forum-footer__nav {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 34px !important;
}

.sv-forum-footer__column {
  display: grid !important;
  align-content: start !important;
  gap: 8px !important;
}

.sv-forum-footer__column h2 {
  margin: 0 0 4px !important;
  color: #fff !important;
  font-family: "Ubuntu Titling", Arial, Helvetica, sans-serif !important;
  font-size: 0.82em !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  text-transform: uppercase !important;
}

.sv-forum-footer__column > a {
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 0.82em !important;
}

.sv-forum-footer__column > a:hover,
.sv-forum-footer__column > a:focus-visible {
  color: #fff !important;
  text-decoration: underline !important;
  text-underline-offset: 3px !important;
}

.sv-forum-footer__socials {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
}

.sv-forum-footer__socials a {
  display: grid !important;
  width: 28px !important;
  height: 28px !important;
  place-items: center !important;
  border-radius: 50% !important;
  background: rgba(21, 93, 143, 0.42) !important;
  color: #fff !important;
  transition: background-color 160ms ease, transform 160ms ease !important;
}

.sv-forum-footer__socials a:hover {
  background: rgba(13, 76, 117, 0.66) !important;
  transform: translateY(-1px) !important;
}

.sv-forum-footer__socials a:focus-visible,
.sv-forum-footer__language button:focus-visible {
  outline: 2px solid #fff !important;
  outline-offset: 2px !important;
}

.sv-forum-footer__socials svg {
  width: 15px !important;
  height: 15px !important;
  fill: currentColor !important;
}

.sv-forum-footer__language {
  position: relative !important;
  width: max-content !important;
  margin-top: 10px !important;
}

.sv-forum-footer__language > button,
.sv-forum-footer__language-menu {
  border: 1px solid rgba(255, 255, 255, 0.72) !important;
  border-radius: 5px !important;
  background: #fff !important;
}

.sv-forum-footer__language > button {
  display: flex !important;
  width: 84px !important;
  height: 32px !important;
  align-items: center !important;
  justify-content: space-between !important;
  cursor: pointer !important;
  padding: 0 8px !important;
}

.sv-forum-footer__language img {
  display: block !important;
  width: 38px !important;
  height: 22px !important;
  object-fit: contain !important;
}

.sv-forum-footer__language > button span {
  width: 7px !important;
  height: 7px !important;
  border-right: 1px solid #1f3140 !important;
  border-bottom: 1px solid #1f3140 !important;
  margin: 0 auto !important;
  transform: translateY(-2px) rotate(45deg) !important;
  transition: transform 160ms ease !important;
}

.sv-forum-footer__language > button[aria-expanded="true"] span {
  transform: translateY(2px) rotate(225deg) !important;
}

.sv-forum-footer__language-menu {
  position: absolute !important;
  right: 0 !important;
  bottom: calc(100% + 6px) !important;
  z-index: 10 !important;
  display: grid !important;
  width: 84px !important;
  gap: 6px !important;
  padding: 6px !important;
  box-shadow: 0 8px 16px rgba(18, 45, 61, 0.18) !important;
}

.sv-forum-footer__language-menu button {
  display: flex !important;
  height: 30px !important;
  align-items: center !important;
  justify-content: center !important;
  border: 0 !important;
  border-radius: 4px !important;
  background: transparent !important;
  cursor: pointer !important;
  padding: 0 !important;
}

.sv-forum-footer__language-menu button:hover { background: #e7f6f9 !important; }

.sv-forum-footer__bottom { background: #17608e !important; }

.sv-forum-footer__legal {
  display: flex !important;
  width: min(var(--viewport-shell), calc(100% - var(--viewport-gutter))) !important;
  min-height: 70px !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 24px !important;
  margin: 0 auto !important;
  color: rgba(255, 255, 255, 0.88) !important;
  font-size: 0.7em !important;
}

.sv-forum-footer__legal p {
  flex: 1 1 48% !important;
  margin: 0 !important;
}

.sv-forum-footer__legal p:last-child { text-align: right !important; }

.sv-forum-footer__legal a {
  color: #fff !important;
  font-weight: 700 !important;
  text-decoration: underline !important;
  text-underline-offset: 2px !important;
}

@media (max-width: 820px) {
  .sv-forum-footer__content { width: calc(100% - 40px) !important; grid-template-columns: 1fr !important; justify-items: center !important; gap: 34px !important; text-align: center !important; }
  .sv-forum-footer__nav { width: 100% !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .sv-forum-footer__column { justify-items: center !important; }
  .sv-forum-footer__legal { width: calc(100% - 40px) !important; flex-direction: column !important; justify-content: center !important; padding: 18px 0 !important; text-align: center !important; }
  .sv-forum-footer__legal p:last-child { text-align: center !important; }
}

@media (max-width: 540px) {
  .sv-forum-footer__content { padding: 52px 0 !important; }
  .sv-forum-footer__nav { grid-template-columns: 1fr !important; gap: 34px !important; }
}

@media (prefers-reduced-motion: reduce) {
  .sv-forum-footer *,
  .sv-forum-footer *::before,
  .sv-forum-footer *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Exact parity with the current Footer component. */
.sv-forum-footer__socials a {
  width: 26px !important;
  height: 26px !important;
  background: rgba(21, 93, 143, 0.35) !important;
  transition: none !important;
}

.sv-forum-footer__socials a:hover {
  background: rgba(21, 93, 143, 0.35) !important;
  transform: none !important;
}

.sv-forum-footer__language > button {
  height: 30px !important;
}

.sv-forum-footer__language > button span,
.sv-forum-footer__language > button[aria-expanded="true"] span {
  transform: translateY(-1px) rotate(45deg) !important;
}

.sv-forum-footer__legal {
  color: rgba(255, 255, 255, 0.84) !important;
}

.sv-forum-footer__legal p:first-child { flex: 1 1 42% !important; }
.sv-forum-footer__legal p:last-child { flex: 1 1 48% !important; }

.sv-forum-footer__language-menu {
  display: flex !important;
  flex-direction: column !important;
}

.sv-forum-footer__language-menu button {
  border-radius: 0 !important;
}

.sv-forum-footer__language-menu button:hover {
  background: transparent !important;
}

@media (max-width: 1280px) {
  .sv-forum-footer {
    --viewport-shell: 1120px !important;
    --viewport-gutter: clamp(24px, 4vw, 48px) !important;
  }
}

@media (max-width: 900px) {
  .sv-forum-footer {
    --viewport-shell: 100% !important;
    --viewport-gutter: 20px !important;
  }
}

@media (max-width: 820px) {
  .sv-forum-footer__content,
  .sv-forum-footer__nav {
    grid-template-columns: 1fr !important;
  }

  .sv-forum-footer__content {
    justify-items: center !important;
    gap: 34px !important;
    text-align: center !important;
  }

  .sv-forum-footer__column,
  .sv-forum-footer__socials,
  .sv-forum-footer__language {
    justify-items: center !important;
    justify-content: center !important;
  }
}
