.portrait-type-ru {
  font-size: clamp(3.2rem, 7.5vw, 8rem);
  line-height: 0.82;
  letter-spacing: -0.065em;
}

.finale-title-ru {
  max-width: 92vw;
  font-size: clamp(4.6rem, 12vw, 12rem) !important;
  line-height: 0.76 !important;
  overflow-wrap: anywhere;
}

.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.language-switch {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.language-switch button {
  min-width: 38px;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  opacity: 0.48;
  transition: opacity 180ms ease;
}

.language-switch button[aria-pressed="true"] {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 0.3em;
}

.language-switch button:hover {
  opacity: 1;
}

@media (max-width: 900px) {
  .portrait-type-ru {
    margin-top: -8vh;
    font-size: clamp(3rem, 14vw, 6.5rem);
  }

  .finale-title-ru {
    font-size: clamp(4.3rem, 15vw, 9rem) !important;
  }
}

@media (max-width: 540px) {
  .header-actions {
    gap: 0.35rem;
  }

  .language-switch {
    gap: 0.1rem;
  }

  .language-switch button {
    min-width: 30px;
  }

  .menu-button {
    min-width: 48px;
  }

  .menu-button span {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .portrait-type-ru {
    font-size: 12.5vw;
    letter-spacing: -0.055em;
  }

  .finale-title-ru {
    font-size: 18vw !important;
    line-height: 0.8 !important;
  }
}
