h1, h2, .hero-title-base, .hero-title-light {
  min-inline-size: 0;
  max-inline-size: 100%;
  overflow-wrap: break-word;
  hyphens: manual;
}
/* A native word longer than its English one breaks at a hyphenation point, measured by the
   browser before paint, so nothing resizes after the page appears. */
html:not(:lang(en)) :is(h1, h2, h3, .hero-title-base, .hero-title-light) {
  hyphens: auto;
  hyphenate-limit-chars: 10 4 4;
  text-wrap: balance;
}
/* Same grid as English; a currency name longer than the chip breaks inside it instead of spilling out. */
html:not(:lang(en)) .money-chip > span:last-child { min-inline-size: 0; overflow-wrap: break-word; hyphens: auto; hyphenate-limit-chars: 10 4 4; }
.section-heading h2 > span,
.ai-section .section-heading h2 > span,
.world-section .section-heading h2 > span {
  max-inline-size: 100%;
  white-space: normal;
  overflow-wrap: break-word;
  hyphens: manual;
}
html:not(:lang(en)) .hero-card-wheel {
  --hero-wheel-item: 104px;
}
/* The longest card types (Виртуална, Virtuaalinen, Sýndarkort) need a wider stop on the wheel. */
html:is(:lang(bg), :lang(fi), :lang(is)) .hero-card-wheel {
  --hero-wheel-item: 120px;
}
.locale-brand { white-space: nowrap; }
.locale-cta-label { display: block; min-inline-size: 0; max-inline-size: 100%; }
/* Native link labels must wrap before they enlarge a narrow transfer grid. */
.money-hero > *, .money-routes > *, .money-tables > *, .money-split > *, .money-steps > * {
  min-inline-size: 0;
  max-inline-size: 100%;
}
.money-more { white-space: normal; overflow-wrap: break-word; }
.money-card { min-inline-size: 0; }
.money-facts { grid-template-columns: minmax(0, 1fr); }
.money-facts li { min-inline-size: 0; max-inline-size: 100%; }
.money-facts :is(span, strong) { min-inline-size: 0; overflow-wrap: break-word; hyphens: auto; }
.money-route .money-facts li > span { flex-shrink: 0; max-inline-size: 45%; min-inline-size: min-content; overflow-wrap: normal; word-break: normal; hyphens: none; }
.feature-hero > * { min-inline-size: 0; max-inline-size: 100%; }
.feature-headline > span { white-space: normal; overflow-wrap: break-word; }
/* The conversion promise keeps its three beats once measured for the current font and width. */
[data-convert-hero] .feature-headline.is-fitted-lines > span { white-space: nowrap; }
/* Give the Irish limits question room for its longer native word. */
html:lang(ga) .feature-page [data-card-limits-prompt] {
  max-width: 100%;
  font-size: min(clamp(36px, 4vw, 56px), clamp(22px, 7.2vw, 44px));
  overflow-wrap: break-word;
  hyphens: auto;
}
html:not(:lang(en)) .feature-flag__link { min-inline-size: 0; max-inline-size: 100%; }
html:not(:lang(en)) .feature-page .feature-flag small {
  min-inline-size: 0;
  max-inline-size: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
  hyphens: auto;
}
@media (max-width: 1100px) {
  .money-hero, .money-steps, .money-split, .feature-hero { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .money-routes, .money-tables { grid-template-columns: minmax(0, 1fr); }
}
/* Long native document names must not set the legal grid's minimum width. */
html:not(:lang(en)) .legal-list { grid-template-columns: minmax(0, 1fr); min-inline-size: 0; }
html:not(:lang(en)) .legal-row { min-inline-size: 0; max-inline-size: 100%; box-sizing: border-box; }
html:not(:lang(en)) .legal-row > div { min-inline-size: 0; overflow-wrap: anywhere; hyphens: auto; }
html:not(:lang(en)) .legal-row > .arrow { flex: 0 0 auto; }
@media (min-width: 1280px) {
  html:not(:lang(en)) .site-header.has-menu .site-menu__trigger,
  html:not(:lang(en)) .site-header.has-menu nav a.site-menu__help {
    inline-size: max-content;
  }
}
@media (max-width: 1279px) {
  .reserve-hero { grid-template-columns: minmax(0, 1fr); }
  .reserve-hero__intro,
  .reserve-hero > [data-reserve-page] { min-inline-size: 0; }
}
.footer-legal-links > a {
  min-inline-size: 0;
  max-inline-size: 100%;
  white-space: normal;
  overflow-wrap: break-word;
  hyphens: auto;
}
.footer-money a {
  min-inline-size: 0;
  max-inline-size: 100%;
  white-space: normal;
  overflow-wrap: break-word;
  hyphens: auto;
}
.experience-module__intro strong {
  white-space: normal;
  overflow-wrap: break-word;
  hyphens: auto;
}
@media (max-width: 360px) {
  .offer-shortcut-stage { gap: 8px; }
}
@media (max-width: 400px) {
  .money-field { grid-template-columns: minmax(90px, .95fr) minmax(0, 1.1fr); }
  /* A translated reservation label needs room to wrap while the logo and
     menu remain in the same row on narrow phones. */
  .site-header.has-menu:has([data-reserve-open]) {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) 40px;
    gap: 8px;
  }
  .site-header.has-menu:has([data-reserve-open]) nav a.download-app-link[data-reserve-open] {
    inline-size: 100%;
    min-inline-size: 0;
    max-inline-size: 100%;
    padding-inline: 8px;
    white-space: normal;
    text-align: center;
    text-wrap: balance;
    line-height: 1.2;
  }
}
.footer-language {
  appearance: none;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 9px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink-soft, #6b6d7b);
  font: inherit;
  font-size: 12px;
  line-height: 1.35;
  letter-spacing: -.01em;
  white-space: nowrap;
  cursor: pointer;
}
.footer-language:hover, .footer-language:focus-visible { color: var(--ink, #20212a); }
.footer-language:focus-visible { outline: 2px solid #7767ef; outline-offset: 6px; border-radius: 4px; }
.footer-language__globe { display: inline-flex; width: 16px; height: 16px; align-self: center; }
.footer-language__globe svg { width: 100%; height: 100%; }
.has-language-sheet-open { overflow: hidden !important; }
/* The language sheet uses the page's pale surface, with a readable ink title,
   the round close control, a quiet search field and rows with the app's violet tick.
   The page behind is dimmed as in the app: black at 40%, no blur. */
.language-sheet {
  --language-ink: #292c39;
  position: fixed;
  inset: 0;
  width: min(420px, calc(100vw - 32px));
  max-width: none;
  max-height: min(640px, calc(100dvh - 48px));
  box-sizing: border-box;
  margin: auto;
  padding: 30px 24px 12px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 28px;
  background: var(--app-background, #f4f6ff);
  color: var(--language-ink);
  box-shadow: 0 12px 32px rgba(24, 28, 40, .12);
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow: hidden;
  overscroll-behavior: contain;
}
.language-sheet[open] { display: flex; flex-direction: column; }
.language-sheet[hidden] { display: none; }
.language-sheet::backdrop { background: rgba(0, 0, 0, .4); }
.language-sheet__head { position: relative; flex: none; padding: 0 40px; text-align: center; }
/* The type of the Mon-ID sheet (reserve.css): a bold, tight title and one size for the field. */
.language-sheet__title { margin: 0; color: var(--language-ink); font-size: 28px; font-weight: 700; line-height: 1.12; letter-spacing: -.03em; text-wrap: balance; }
.language-sheet .language-sheet__close { position: absolute; top: -2px; right: -4px; margin: 0; border: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.language-sheet__search { box-sizing: border-box; flex: none; min-height: 52px; margin: 22px 0 0; display: flex; align-items: center; gap: 8px; padding: 0 12px; border-radius: 18px; background: #fff; box-shadow: 0 6px 18px rgba(24, 28, 40, .10); color: rgba(47, 47, 56, .44); cursor: text; }
.language-sheet__search > svg { flex: none; width: 19px; height: 19px; }
.language-sheet__search input { flex: 1; width: 0; min-width: 0; height: 46px; margin: 0; padding: 0; border: 0; background: transparent; color: var(--language-ink); caret-color: var(--language-ink); font: inherit; font-size: 16px; font-weight: 500; letter-spacing: -.01em; outline: none; -webkit-appearance: none; appearance: none; }
.language-sheet__search input::placeholder { color: rgba(47, 47, 56, .44); font-size: 16px; font-weight: 500; opacity: 1; }
.language-sheet__search input::-webkit-search-decoration,
.language-sheet__search input::-webkit-search-cancel-button { -webkit-appearance: none; display: none; }
.language-sheet__list { flex: 1 1 auto; min-height: 0; margin: 16px -4px 0; padding: 0 4px 12px; display: grid; align-content: start; gap: 4px; list-style: none; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 16px), transparent); mask-image: linear-gradient(to bottom, #000 calc(100% - 16px), transparent); }
.language-sheet__list::-webkit-scrollbar { display: none; }
.language-sheet__item { min-width: 0; margin: 0; padding: 0; }
.language-sheet__item[hidden] { display: none; }
.language-sheet__option { box-sizing: border-box; display: flex; min-height: 54px; align-items: center; justify-content: flex-start; gap: 12px; padding: 10px 12px; border: 1px solid transparent; border-radius: 18px; color: var(--language-ink); font-size: 15px; font-weight: 500; line-height: 1.3; letter-spacing: -.007em; text-decoration: none; -webkit-tap-highlight-color: transparent; transition: background-color 160ms ease; }
.language-sheet__option:hover { color: var(--language-ink); text-decoration: none; }
@media (hover: hover) { .language-sheet__option:hover { background-color: rgba(255, 255, 255, .16); } }
.language-sheet__option[aria-current] { border-color: rgba(255, 255, 255, .44); background: linear-gradient(to bottom right, #eef2ff, #dde4ff); }
.language-sheet__name { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.language-sheet__flag { --flag: 34px; position: relative; flex: none; width: var(--flag); height: var(--flag); border-radius: 50%; box-shadow: 0 calc(var(--flag) * .206) calc(var(--flag) * .44) rgba(0, 0, 0, .2); }
.language-sheet__flag img { display: block; width: 100%; height: 100%; border-radius: 50%; }
.language-sheet__flag::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle calc(var(--flag) * 1.05) at 27.5% 21%, rgba(255, 255, 255, .18), rgba(255, 255, 255, .01) 56%, rgba(0, 0, 0, .08)); pointer-events: none; }
.language-sheet__pick { box-sizing: border-box; flex: none; width: 24px; height: 24px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .16); border-radius: 50%; background: rgba(255, 255, 255, .1); color: transparent; }
.language-sheet__pick svg { width: 15px; height: 15px; }
.language-sheet__option[aria-current] .language-sheet__pick { border-color: #6d7bff; background: #6d7bff; color: #fff; }
.language-sheet a:focus-visible { outline: 2px solid var(--language-ink); outline-offset: -2px; }
.language-sheet__search input:is(:focus, :focus-visible) { outline: none; }
.language-sheet .language-sheet__close:focus-visible { outline: 2px solid var(--language-ink); outline-offset: 3px; }
.language-sheet__empty { margin: 0; padding: 26px 14px; color: rgba(47, 47, 56, .58); font-size: 13px; font-weight: 500; text-align: center; }
.language-sheet__empty[hidden] { display: none; }
.language-sheet__sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
/* On a phone it has the size of the app's sheets: 86% of the width, under the header. */
@media (max-width: 640px) {
  .language-sheet { top: 72px; bottom: auto; width: 86%; max-height: calc(100dvh - 96px); margin: 0 auto; padding: 22px 18px 10px; }
  .language-sheet__title { font-size: 23px; line-height: 1.15; }
  .language-sheet__search { margin-top: 18px; }
}
@media (prefers-reduced-motion: no-preference) {
  .language-sheet[open] { animation: language-sheet-in 320ms cubic-bezier(.175, .885, .32, 1.275); }
  .language-sheet[open]::backdrop { animation: language-sheet-dim 300ms ease; }
  .language-sheet.is-closing { animation: language-sheet-out 220ms cubic-bezier(.4, 0, .2, 1) forwards; }
  .language-sheet.is-closing::backdrop { animation: language-sheet-undim 260ms cubic-bezier(.4, 0, .2, 1) forwards; }
}
@keyframes language-sheet-in { from { opacity: 0; transform: scale(.95); } to { opacity: 1; transform: none; } }
@keyframes language-sheet-out { from { opacity: 1; transform: none; } to { opacity: 0; transform: scale(.97); } }
@keyframes language-sheet-dim { from { opacity: 0; } to { opacity: 1; } }
@keyframes language-sheet-undim { from { opacity: 1; } to { opacity: 0; } }
