/* Language compatibility only; the approved cinematic system remains the base. */
.language-selector{position:relative;color:inherit;flex-shrink:0;font:12px var(--body);letter-spacing:0}
.language-selector summary{display:flex;align-items:center;gap:7px;min-height:44px;padding:0 6px;cursor:pointer;list-style:none}
.language-selector summary::-webkit-details-marker{display:none}
.language-selector img{display:block;object-fit:cover;flex-shrink:0;width:24px;height:16px}
.language-selector nav{position:absolute;inset-inline-end:0;top:calc(100% + 10px);width:235px;max-height:min(520px,75dvh);overflow-y:auto;background:var(--paper,#eee8dc);color:var(--ink,#171b17);border:1px solid currentColor;box-shadow:0 14px 35px #0003;padding:8px;z-index:100}
.language-selector nav a{display:flex;align-items:center;gap:12px;min-height:44px;padding:9px 10px;text-decoration:none;font-family:Arial,sans-serif;font-size:15px}
.language-selector nav a small{margin-inline-start:auto;font-size:10px;opacity:.6}
.language-selector nav a:hover,.language-selector nav a:focus-visible,.language-selector nav a[aria-current]{background:#171b1710}
.language-selector :focus-visible{outline:2px solid currentColor;outline-offset:3px}
#page-transition{position:fixed;inset:0;z-index:10000;display:grid;place-content:center;background:#171b17;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .12s ease,visibility .12s}
#page-transition img{width:180px;height:180px;object-fit:contain}
html.route-transition #page-transition{opacity:1;visibility:visible}
html:not([lang=en]) h1,html:not([lang=en]) h2,html:not([lang=en]) h3{overflow-wrap:break-word}
html:not([lang=en]) .place-title h1{font-size:clamp(46px,8.5vw,150px);line-height:1.02}
html:not([lang=en]) .article-cover-type h1{font-size:clamp(45px,6.7vw,116px)}
html:not([lang=en]) .opening-title{direction:ltr;unicode-bidi:isolate}
html:not([lang=en]) .field-note p,html:not([lang=en]) .index-copy p{overflow-wrap:anywhere}
html:not([lang=en]) .journal-masthead h2{font-size:clamp(48px,8vw,145px);flex-wrap:wrap}
html:not([lang=en]) .menu-main nav span{font-size:clamp(30px,4.1vw,66px);line-height:1.12;min-width:0;overflow-wrap:anywhere}
html:not([lang=en]) .menu-layout>*{min-width:0}
html:not([lang=en]) .index-copy{min-width:0}
html:not([lang=en]) .index-copy h3{overflow-wrap:anywhere}
.contact-form .honeypot{position:absolute;left:0;right:auto;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);opacity:0}
html[lang=ru]{--title:'Arial Narrow','Arial',sans-serif;--editorial:Georgia,serif;--body:Arial,sans-serif}
html[lang=ru] .footer-intro>a{font-size:clamp(48px,10.5vw,180px)}
html[lang=ar]{--title:'Segoe UI',Tahoma,Arial,sans-serif;--editorial:'Segoe UI',Tahoma,Arial,sans-serif;--body:Tahoma,Arial,sans-serif}
html[lang=zh]{--title:'PingFang SC','Microsoft YaHei','Noto Sans CJK SC',sans-serif;--editorial:'Songti SC','SimSun',serif;--body:'PingFang SC','Microsoft YaHei',sans-serif}
html[lang=ja]{--title:'Hiragino Kaku Gothic ProN','Yu Gothic','Meiryo',sans-serif;--editorial:'Yu Mincho','Hiragino Mincho ProN',serif;--body:'Hiragino Kaku Gothic ProN','Yu Gothic','Meiryo',sans-serif}
html:is([lang=ar],[lang=ru],[lang=zh],[lang=ja]) .wordmark strong,html:is([lang=ar],[lang=ru],[lang=zh],[lang=ja]) .opening-title{font-family:'Title',Impact,sans-serif}
html:is([lang=ar],[lang=ru],[lang=zh],[lang=ja]) .eyebrow{letter-spacing:.05em;line-height:1.7}
html:is([lang=ar],[lang=zh],[lang=ja]) h1,html:is([lang=ar],[lang=zh],[lang=ja]) h2{line-height:1.18;letter-spacing:0}
html:is([lang=ar],[lang=zh],[lang=ja]) em{font-style:normal}
html:is([lang=zh],[lang=ja]) .prose{line-height:2;word-break:normal;overflow-wrap:break-word}
html[dir=rtl] .breadcrumb,html[dir=rtl] .field-notes-data,html[dir=rtl] .narrative-body,html[dir=rtl] .contact-form,html[dir=rtl] .index-copy{text-align:start}
html[dir=rtl] input:is([type=email],[type=tel],[type=url]),html[dir=rtl] .story-coordinate,html[dir=rtl] .mini-map,html[dir=rtl] #region-map,html[dir=rtl] .atlas-terrain svg{direction:ltr;unicode-bidi:isolate}
html[dir=rtl] .gallery-track{direction:ltr}
html[dir=rtl] .gallery-track figcaption{direction:rtl;text-align:start}
html[dir=rtl] .menu-main nav>a i,html[dir=rtl] .round-arrow,html[dir=rtl] .index-arrow{transform:scaleX(-1)}
html[dir=rtl] .menu-main nav>a small{margin-left:0;margin-inline-end:20px}
html[dir=rtl] .language-selector nav{direction:rtl}
html[dir=rtl] .leaflet-popup-content{direction:rtl;text-align:right}
html[dir=rtl] .prose{line-height:2}
@media(max-width:767px){
 .header-tools{gap:10px}
 html:not([lang=en]) .site-header{gap:12px}
 html:not([lang=en]) .menu-button{gap:8px}
 .language-selector summary{gap:4px;padding:0;min-width:42px;justify-content:center}
 .language-code{display:none}
 .language-selector nav{position:fixed;top:76px;inset-inline-end:16px;width:min(260px,calc(100vw - 32px))}
 html:not([lang=en]) .place-title h1{font-size:clamp(42px,10vw,74px)}
 html:not([lang=en]) .menu-main nav span{font-size:clamp(23px,6.4vw,38px)}
 html:not([lang=en]) .menu-main nav>a{gap:10px}
 html:is([lang=ar],[lang=ru],[lang=zh],[lang=ja]) .land-heading h2,html:is([lang=ar],[lang=ru],[lang=zh],[lang=ja]) .heritage-title h2{font-size:clamp(40px,12vw,76px)}
 html:not([lang=en]) .activity-facts strong{font-size:23px}
}
@media(prefers-reduced-motion:reduce){#page-transition{transition:none}}

html:not([lang="en"]) .contact-layout > *{min-width:0}html:not([lang="en"]) .contact-aside h2{overflow-wrap:anywhere}

html:not([lang=en]) .journal-masthead h2 em{position:static;display:block;flex-basis:100%;padding:0;margin-top:12px;font-size:clamp(26px,3vw,56px)}
@media(max-width:767px){html[lang=ru] .page-intro h1{font-size:clamp(36px,9.3vw,60px)}html[lang=de] .page-intro h1{font-size:clamp(48px,13vw,72px)}}
