/* Scoped language menu: the page remains on the original site until a language is chosen. */
header .nav{position:relative}
.kl-language{position:absolute;right:0;top:calc(100% + 10px);color:#fff;z-index:60;font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;line-height:1.4;letter-spacing:normal;text-transform:none}
.kl-language summary{display:flex;align-items:center;gap:7px;min-height:38px;padding:8px 12px;border:1px solid #ffffff60;border-radius:999px;list-style:none;cursor:pointer;background:#0b292370;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);font-size:11px;font-weight:600;color:#fff;user-select:none}
.kl-language summary::-webkit-details-marker{display:none}
.kl-language summary:hover,.kl-language summary:focus-visible{background:#123d34e6;outline:2px solid #d4af7c;outline-offset:3px}
.kl-language[open] summary{background:#123d34ee;border-color:#d4af7c}
.kl-panel{position:absolute;right:0;top:calc(100% + 9px);width:300px;max-width:calc(100vw - 32px);padding:18px;background:#0b2923f5;border:1px solid #ffffff40;border-radius:18px;box-shadow:0 14px 38px #0006;backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);color:#fff;text-align:left}
.kl-panel-heading{font-size:15px;font-weight:650;line-height:1.3}
.kl-panel .kl-note,.kl-panel .kl-footnote{margin:7px 0 12px;font-size:11px;line-height:1.5;color:#ffffffc4;max-width:none}
.kl-options{display:grid;grid-template-columns:1fr 1fr;gap:5px;max-height:min(360px,52dvh);overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#d4af7c70 transparent;padding:2px}
.kl-options .kl-option{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;min-height:54px;padding:9px 10px;border:1px solid transparent;border-radius:9px;text-decoration:none;color:#fff;font-size:13px;line-height:1.4;font-weight:500;letter-spacing:normal;text-transform:none}
.kl-option small{font-size:10px;font-weight:400;color:#ffffffa8}
.kl-options .kl-option:hover,.kl-options .kl-option:focus-visible{border-color:#d4af7c80;background:#ffffff13;outline:none;color:#fff}
.kl-options .kl-option[aria-current="true"]{border-color:#d4af7c80;background:#d4af7c18}
.kl-options .kl-option[data-kl-language="ru"]{background:#ffffff0c}
.kl-panel .kl-footnote{margin:12px 0 0;padding-top:10px;border-top:1px solid #ffffff24;font-size:10px}
@media(max-width:900px){.kl-language{position:relative;top:auto;right:auto;margin-left:auto;flex:none}.hero-mobile-menu{margin-left:10px!important}.kl-language summary{min-height:38px;padding:8px 10px}.kl-panel{position:fixed;right:16px;top:78px;width:290px;max-height:calc(100dvh - 94px);overflow:auto}.kl-language:has(+ *){margin-right:0}}
@media(max-width:360px){.kl-panel{width:270px}.kl-language summary{gap:5px}}
@media(max-height:450px){.kl-options{max-height:42dvh}.kl-panel{padding:12px}.kl-panel .kl-note{margin:4px 0 7px}.kl-panel .kl-footnote{margin-top:7px;padding-top:6px}}

/* V13: nine languages, complete current-language label, local English/Russian. */
.kl-language summary{font-size:12px;gap:7px;white-space:nowrap}
.kl-current-flag,.kl-flag{font-family:"Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",sans-serif;font-size:17px;line-height:1}
.kl-option-name{display:flex;align-items:center;gap:7px}
.kl-options .kl-option{min-height:58px}
.kl-options .kl-option small{padding-left:24px}
.kl-language[aria-busy="true"] summary{opacity:.7}
.kl-message{position:fixed;left:50%;bottom:28px;transform:translateX(-50%);z-index:10000;max-width:calc(100vw - 32px);width:max-content;border:1px solid #d4af7c;background:#0b2923f5;color:#fff;border-radius:12px;padding:14px 18px;font:13px/1.5 system-ui,sans-serif;box-shadow:0 6px 24px #0005}
.kl-message[hidden]{display:none}
html[lang="ru"] .hero h1{font-family:Georgia,"Times New Roman",serif}
html[lang="ru"] .btn{letter-spacing:.07em}
html[lang="ru"] .navlinks{letter-spacing:.08em;gap:clamp(8px,1vw,16px)}
@media(max-width:420px){.hero-mobile-menu summary span{display:none}.hero-mobile-menu summary{padding:9px!important;gap:0!important}.kl-language summary{padding:8px 9px;font-size:11px;gap:5px}}
html[lang="ru"] #popular-journeys .hero-title-line{white-space:normal}
html[lang="ru"] #popular-journeys .hero-content h1{font-size:clamp(44px,5vw,74px)!important}
@media(max-width:900px){html[lang="ru"] #popular-journeys .hero-content h1{font-size:clamp(34px,6vw,54px)!important}}
@media(max-width:680px){html[lang="ru"] #popular-journeys .hero-content h1{font-size:clamp(25px,7.5vw,37px)!important}}
html[lang="ru"] body{overflow-wrap:anywhere;hyphens:auto}
html[lang="ru"] .special-card,html[lang="ru"] .experience,html[lang="ru"] .story-feature-copy,html[lang="ru"] .sectiontop>*,html[lang="ru"] .facts>*,html[lang="ru"] .detail-card{min-width:0}
html[lang="ru"] .navlinks{flex-wrap:wrap}
.kl-current-flag,.kl-flag{display:inline-block;width:20px;height:15px;object-fit:cover;border-radius:2px;flex:none}
.kl-panel,.kl-current{hyphens:none;overflow-wrap:normal}
.kl-options .kl-option small{padding-left:0;white-space:nowrap;font-size:9px}
html[lang="ru"] #popular-journeys .hero-title-line{white-space:nowrap;hyphens:none}
html[lang="ru"] #popular-journeys .hero-content h1{max-width:900px!important;font-size:clamp(44px,4.5vw,68px)!important}
@media(max-width:900px){html[lang="ru"] #popular-journeys .hero-content h1{font-size:clamp(34px,6vw,54px)!important}}
@media(max-width:680px){html[lang="ru"] #popular-journeys .hero-content h1{font-size:clamp(25px,7.5vw,37px)!important}}

html[lang="ru"] .slider-controls{flex-wrap:wrap;gap:14px}
html[lang="ru"] .slider-controls .dots{flex-wrap:wrap;min-width:0}

@font-face {
  font-family: 'Noto Sans SC';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(language-fonts/chinese.ttf) format('truetype');
}
@font-face {
  font-family: 'Noto Sans Sinhala';
  font-style: normal;
  font-weight: 500;
  font-stretch: normal;
  font-display: swap;
  src: url(language-fonts/sinhala.ttf) format('truetype');
}

.kl-option[data-kl-language="si"] .kl-option-name{font-family:"Noto Sans Sinhala",sans-serif}
.kl-option[data-kl-language="zh-CN"] .kl-option-name{font-family:"Noto Sans SC",sans-serif}
