.presentation-page {
  --language-surface: #1b1816;
  --publisher-mask: #141112;
}

.presentation-page .mast nav {
  min-width: 0;
  justify-content: flex-end;
  text-align: end;
}

.presentation-page .mast .brand {
  flex-shrink: 0;
}

.presentation-page .product-languages {
  position: relative;
}

.presentation-page .product-languages summary {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding-inline: 6px;
  cursor: pointer;
  white-space: nowrap;
  list-style: none;
  color: var(--gold);
}

.presentation-page .product-languages summary::-webkit-details-marker {
  display: none;
}

.presentation-page .product-languages summary::after {
  content: "";
  width: .4em;
  height: .4em;
  margin-inline-start: .45em;
  border-block-end: 1px solid currentColor;
  border-inline-end: 1px solid currentColor;
  transform: translateY(-20%) rotate(45deg);
}

.presentation-page .product-languages summary:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.presentation-page .product-language-list {
  position: absolute;
  inset-block-start: calc(100% + 4px);
  inset-inline-end: 0;
  width: min(245px, 82vw);
  max-height: min(55vh, 420px);
  overflow: auto;
  overscroll-behavior: contain;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--language-surface);
  text-align: start;
  box-shadow: 0 12px 30px #0007;
}

.presentation-page .product-language-list a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 6px 10px;
  border-radius: 4px;
  color: var(--paper);
  font-size: 16px;
  line-height: 1.3;
}

.presentation-page .product-language-list a:is(:hover, :focus-visible, [aria-current="page"]) {
  background: var(--line);
  color: var(--gold);
}

.presentation-page .publisher-localized-caption {
  position: absolute;
  inset: auto 0 0;
  display: grid;
  align-content: end;
  min-height: 38%;
  gap: .25em;
  padding: 12% 5% 6%;
  background: linear-gradient(transparent, var(--publisher-mask) 46%);
  color: var(--paper);
  text-align: center;
  text-wrap: balance;
  font: 700 clamp(10px, 6.25cqw, 21px)/1.22 Ax, system-ui, sans-serif;
}

.presentation-page .publisher-localized-caption strong {
  color: var(--product-accent);
  font-size: 1.2em;
}

.presentation-page:dir(rtl) .hero-inner {
  direction: ltr;
}

.presentation-page:dir(rtl) .story {
  direction: rtl;
}

.presentation-page:dir(rtl) .story h1 {
  text-align: right;
}

@media (max-width: 470px) {
  .presentation-page .mast-inner {
    height: auto;
    min-height: 62px;
    gap: 8px;
  }

  .presentation-page .mast nav {
    gap: 5px;
    font-size: 14px;
  }

  .presentation-page .mast .brand {
    font-size: clamp(19px, 5.4vw, 24px);
    gap: 6px;
  }
}
