.sl-language-switcher {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: max-content;
  color: inherit;
  font: inherit;
  line-height: 1.2;
}

.sl-language-switcher__label {
  opacity: .48;
}

.sl-language-switcher__links {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}

.sl-language-switcher a {
  position: relative;
  color: inherit;
  opacity: .42;
  text-decoration: none;
  transition: opacity .3s cubic-bezier(.16, 1, .3, 1);
}

.sl-language-switcher a:hover,
.sl-language-switcher a:focus-visible,
.sl-language-switcher a[aria-current='page'] {
  opacity: 1;
}

.sl-language-switcher a[aria-current='page']::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: -.28rem;
  left: 0;
  height: 1px;
  background: currentColor;
}

.sl-language-switcher a:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 4px;
}

.about-footer {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.about-footer > .sl-language-switcher,
.svc-foot > .sl-language-switcher {
  align-self: flex-start;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
}

.about-footer > .sl-language-switcher .sl-language-switcher__label,
.svc-foot > .sl-language-switcher .sl-language-switcher__label {
  margin-bottom: 8px;
}

.sl-home-language-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 42px;
  padding: 10px var(--pad, 24px);
  border-top: 1px solid var(--line, rgba(11, 11, 10, .14));
  background: var(--paper, #fff);
  color: var(--ink, #0b0b0a);
  position: relative;
  z-index: 20;
}

.sl-footer-legal {
  display: flex;
  align-items: center;
  gap: 16px;
}

.sl-footer-privacy,
.sl-footer-terms {
  color: inherit;
  text-decoration: none;
  transition: opacity .3s cubic-bezier(.16, 1, .3, 1);
}

.sl-footer-privacy:hover,
.sl-footer-privacy:focus-visible,
.sl-footer-terms:hover,
.sl-footer-terms:focus-visible {
  opacity: .5;
}

.sl-footer-privacy:focus-visible,
.sl-footer-terms:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 4px;
}

@media (min-width: 901px) {
  body.sl-home-language-page {
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    overflow: hidden;
  }

  body.sl-home-language-page .board {
    height: 100%;
    min-height: 0;
  }
}

@media (max-width: 900px) {
  .about-footer {
    grid-template-columns: 1fr 1fr;
  }

  footer > .sl-language-switcher {
    grid-column: 1 / -1;
    flex: 1 0 100%;
    width: 100%;
    min-width: 0;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 8px;
    padding-top: 18px;
    border-top: 1px solid rgba(127, 127, 127, .32);
  }

  footer > .sl-language-switcher .sl-language-switcher__label {
    margin-bottom: 0;
  }

  .sl-home-language-footer {
    justify-content: space-between;
    gap: 1rem;
    padding-top: 12px;
    padding-bottom: max(12px, env(safe-area-inset-bottom));
  }

  .sl-home-language-footer > .sl-language-switcher {
    flex: 0 0 auto;
    width: auto;
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
  }
}
