.language-links {
  position: absolute;
  top: 18px;
  right: 20px;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-height: 44px;
  font-size: 13px;
  letter-spacing: 0;
  color: white;
  text-shadow: 0 1px 4px rgb(0 0 0 / 0.85);
}

.language-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 8px;
  text-decoration: none;
  text-underline-offset: 5px;
}

.language-links a[aria-current],
.language-links a:hover {
  text-decoration: underline;
}

.language-links a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 1px;
}

@media (max-width: 639px) {
  .language-links {
    top: 14px;
    right: 8px;
    gap: 2px;
    font-size: 11px;
  }

  .language-links a {
    padding: 0 4px;
  }
}

@media (max-width: 360px) {
  .language-links {
    top: 4px;
    flex-direction: column;
    gap: 0;
  }

  .language-links > span {
    display: none;
  }
}

html[lang="fi"] .button,
html[lang="fi"] .partnership-label {
  letter-spacing: 0;
}

html[lang="fi"] .text-section h2,
html[lang="fi"] .card h3 {
  hyphens: auto;
}

/* The translated consent buttons need room before the mobile breakpoint. */
html[lang="fi"] .cookie-banner {
  flex-wrap: wrap;
}

html[lang="fi"] .cookie-banner__actions {
  flex-wrap: wrap;
  max-width: 100%;
}

@media (min-width: 1024px) and (max-width: 1199px) {
  html[lang="fi"] .hero p {
    margin-top: 40px;
  }
}
