/* Scoped language controls and script-aware reading; original scene geometry stays intact. */
.huage-locale-control{position:relative;z-index:80;flex:none;font:500 13px/1.45 system-ui,sans-serif;color:#3c352b;direction:ltr;letter-spacing:normal;text-transform:none;max-width:calc(100vw - 32px)}
.huage-locale-control details{background:#faf7f2;border:1px solid #b39a73;border-radius:999px;position:relative}
.huage-locale-control summary{display:flex;align-items:center;justify-content:center;gap:7px;padding:0 10px;min-height:40px;cursor:pointer;list-style:none;white-space:nowrap;user-select:none}
.huage-locale-control summary::-webkit-details-marker{display:none}
.huage-locale-control summary:focus-visible{outline:2px solid #8a5f23;outline-offset:4px;border-radius:999px}
.huage-language-globe{width:18px;height:18px;display:block;color:#8a5f23;flex:none}
.huage-language-chevron{width:10px;height:10px;display:block;flex:none;transition:transform .18s ease}
.huage-locale-control details[open] .huage-language-chevron{transform:rotate(180deg)}
.huage-language-current{font-size:12px;font-weight:650;min-width:1.65em;text-align:center}
.huage-locale-control ul{list-style:none;margin:0;padding:5px;position:absolute;top:calc(100% + 10px);right:0;bottom:auto;width:246px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 116px);overflow:auto;overscroll-behavior:contain;background:#faf7f2;border:1px solid #b39a73;border-radius:12px;box-shadow:0 8px 28px #211c1826;text-align:left}
.huage-locale-control li{margin:0;padding:0;list-style:none}
.huage-locale-control a{display:flex;align-items:center;gap:12px;padding:10px 12px;min-height:44px;color:#3c352b;text-decoration:none;border-radius:6px;line-height:1.45}
.huage-locale-control .huage-language-flag{display:block;width:28px;height:21px;min-height:0;max-width:none;flex:none;object-fit:contain;border-radius:2px;box-shadow:0 0 0 1px #211c1814}
.huage-language-name{flex:1;min-width:0}
.huage-language-code{font-size:10px;color:#76664f;flex:none}
.huage-locale-control a:hover,.huage-locale-control a:focus-visible{background:#e9ddcf;outline:2px solid #8a5f23;outline-offset:-2px}
.huage-locale-control a[aria-current]{font-weight:750;background:#f3ece4}
.huage-locale-control .huage-language-preference{padding:8px 12px;border-top:1px solid #d9c8b3;line-height:1.55}
.huage-language-preference small{font-size:11px;display:block;white-space:normal}
/* The same real header child remains visible in both desktop and mobile bars. */
header[data-surface]>div:first-child,.navbar{direction:ltr}
header[data-surface]>div:first-child>a:first-child{grid-column:1;grid-row:1}
header[data-surface]>div:first-child>a:nth-child(2){grid-column:2;grid-row:1}
header[data-surface]>div:first-child>nav{grid-column:3;grid-row:1}
header[data-surface]>div:first-child>.huage-locale-control{grid-column:1;grid-row:1;justify-self:start;margin-inline-start:56px}
header[data-surface]>div:first-child>.huage-locale-control ul{right:auto;left:0}
@media(min-width:1200px){header[data-surface]>div:first-child>.huage-locale-control{grid-column:3;justify-self:end;margin-inline-start:0}header[data-surface]>div:first-child>nav{margin-inline-end:94px}header[data-surface]>div:first-child>.huage-locale-control ul{right:0;left:auto}}
@media(max-width:767px){header[data-surface]>div:first-child{grid-template-columns:minmax(0,1fr) auto auto auto;column-gap:10px}header[data-surface]>div:first-child>.huage-locale-control{grid-column:3;grid-row:1;justify-self:end;margin-inline-start:0}header[data-surface]>div:first-child>button{grid-column:4;grid-row:1}header[data-surface]>div:first-child>.huage-locale-control ul{left:auto;right:0}.huage-locale-control summary{gap:5px;padding-inline:8px;min-height:38px}.huage-language-globe{width:17px;height:17px}}
.navbar>.huage-locale-control{margin-inline-start:20px}
.navbar>.desktop-menu-list .localization-wrapper{display:none}
@media(max-width:991px){.navbar>.huage-locale-control{margin-inline-start:auto;margin-inline-end:16px}.navbar>.mobile-menu-button{flex:none}.navbar{column-gap:0}}
@media(max-width:374px){.navbar>.huage-locale-control{margin-inline-end:10px}.navbar .nav_brand_icon{width:120px;flex-basis:120px}header[data-surface]>div:first-child{column-gap:6px;padding-inline:16px}}
html[lang="ar"] body{font-family:Tahoma,"Geeza Pro",Arial,sans-serif}
html[lang="ar"] :is(h1,h2,h3,h4,p,li,figcaption,label,button,input,textarea){font-family:Tahoma,"Geeza Pro",Arial,sans-serif;letter-spacing:normal;text-transform:none}
html[lang="ar"] :is(article,[data-huage-article-body],.huage-record-body,.huage-official-body){text-align:start;line-height:1.95}
html[lang="ar"] :is(input[type="email"],a[href^="tel:"],code,[data-huage-dimension]){direction:ltr;unicode-bidi:isolate}
html[lang="ja"] body{font-family:"Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif}
html[lang="ja"] :is(article,[data-huage-article-body]){line-break:strict;overflow-wrap:anywhere}
html[lang="ru"] :is(article,[data-huage-article-body]){overflow-wrap:anywhere}
@media(prefers-reduced-motion:reduce){.huage-locale-control *{scroll-behavior:auto!important}}
@media print{.huage-locale-control{display:none}}

/* Translated hero words flow across lines at word boundaries. */
html:not([lang^="zh"]) #hero h1>.block{display:inline-block;margin-inline:.12em}
html:not(:is([lang^="zh"],[lang="ja"])) #hero h1{font-size:clamp(2.1rem,5vw,5.8rem);max-width:calc(100vw - 48px);line-height:1.1!important}

html:not(:is([lang^="zh"],[lang="ja"],[lang="th"])) :is(h1,h2,h3,h4,th,td,p,figcaption){overflow-wrap:anywhere}

@media(max-width:767px){html:not([lang^="zh"]) #mobile-nav-drawer nav a{font-size:clamp(1.75rem,6.5vw,3rem);max-width:100%;overflow-wrap:anywhere}html:not([lang^="zh"]) #mobile-nav-drawer>.relative{overflow-y:auto;gap:24px}}

/* Translated footer labels remain within their real grid. */
html:not([lang^="zh"]) :is(.footer15_top-wrapper>*,.footer15_menu-wrapper-2,.footer15_link-list){min-width:0}
html:not([lang^="zh"]) .footer15_menu-wrapper-2{grid-template-columns:repeat(3,minmax(0,1fr))}
html:not([lang^="zh"]) .footer15_link{overflow-wrap:anywhere;white-space:normal}

.footer15_link:empty{display:none}
/* The inherited animated ruler uses left-to-right coordinates; labels stay Arabic. */
html[dir="rtl"] :is(.filter_ruler_container,.filter_ruler_inner,.filter_collection_list){direction:ltr}
html[dir="rtl"] .filter_item{direction:rtl;unicode-bidi:isolate}
@media(max-width:767px){html[dir="rtl"] .filter_block_container{margin-left:0;margin-right:-1.25rem}}
/* Reserve space for the language control and contain touch scrolling in the drawer. */
@media(max-width:767px){#mobile-nav-drawer>.relative{overflow-y:auto;padding-bottom:110px;overscroll-behavior-y:contain}}

/* System fallbacks supply complete Korean and Thai glyphs without image/font downloads. */
html[lang="ko"] body{font-family:"Inter","Apple SD Gothic Neo","Malgun Gothic",sans-serif}
html[lang="ko"] :is(article,[data-huage-article-body],h1,h2,h3,p){word-break:keep-all;overflow-wrap:anywhere}
html[lang="th"] body{font-family:"Inter","Thonburi","Noto Sans Thai",Tahoma,sans-serif}
html[lang="th"] :is(article,[data-huage-article-body],h1,h2,h3,p){word-break:normal;line-break:auto;overflow-wrap:break-word;letter-spacing:normal}
html[lang="th"] #hero h1>.block{margin-inline:0}
@media(max-width:767px){html:not([lang^="zh"]) .footer15_menu-wrapper-2{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:24px;row-gap:24px}}

/* Long translated labels use the captured animated drawer on tablets. */
@media(min-width:768px) and (max-width:1199px){
html:is([lang="es"],[lang="fr"],[lang="de"],[lang="pt"],[lang="it"],[lang="ko"],[lang="vi"],[lang="th"],[lang="id"],[lang="tr"]) header[data-surface]>div:first-child{grid-template-columns:minmax(0,1fr) auto auto auto;column-gap:16px}
html:is([lang="es"],[lang="fr"],[lang="de"],[lang="pt"],[lang="it"],[lang="ko"],[lang="vi"],[lang="th"],[lang="id"],[lang="tr"]) header[data-surface]>div:first-child>nav{display:none}
html:is([lang="es"],[lang="fr"],[lang="de"],[lang="pt"],[lang="it"],[lang="ko"],[lang="vi"],[lang="th"],[lang="id"],[lang="tr"]) header[data-surface]>div:first-child>.huage-locale-control{grid-column:3;justify-self:end;margin-inline-start:0}
html:is([lang="es"],[lang="fr"],[lang="de"],[lang="pt"],[lang="it"],[lang="ko"],[lang="vi"],[lang="th"],[lang="id"],[lang="tr"]) header[data-surface]>div:first-child>.huage-locale-control ul{left:auto;right:0}
html:is([lang="es"],[lang="fr"],[lang="de"],[lang="pt"],[lang="it"],[lang="ko"],[lang="vi"],[lang="th"],[lang="id"],[lang="tr"]) header[data-surface]>div:first-child>button{display:flex;grid-column:4;grid-row:1}
html:is([lang="es"],[lang="fr"],[lang="de"],[lang="pt"],[lang="it"],[lang="ko"],[lang="vi"],[lang="th"],[lang="id"],[lang="tr"]) #mobile-nav-drawer{display:block}
html:is([lang="es"],[lang="fr"],[lang="de"],[lang="pt"],[lang="it"],[lang="ko"],[lang="vi"],[lang="th"],[lang="id"],[lang="tr"]) #mobile-nav-drawer>.relative{overflow-y:auto;padding-bottom:110px;overscroll-behavior-y:contain;gap:24px}
html:is([lang="es"],[lang="fr"],[lang="de"],[lang="pt"],[lang="it"],[lang="ko"],[lang="vi"],[lang="th"],[lang="id"],[lang="tr"]) #mobile-nav-drawer nav a{font-size:clamp(1.75rem,4.5vw,3rem);max-width:100%;overflow-wrap:anywhere}
}
/* Both embossed CTA layers must wrap at the same translated word boundary. */
html:not([lang^="zh"]) .cta_heading{overflow-wrap:anywhere}
@media(max-width:479px){html[lang="de"] .cta_heading{font-size:clamp(1.35rem,7vw,2.1rem)}}
/* The contact sidebar has a narrow second column on tablets. Native compound
   labels must wrap inside their link box instead of widening the document. */
html:not([lang^="zh"]) #main-content aside>a[href$="/contact"]{overflow-wrap:anywhere;hyphens:auto}
/* The UK contact card clips its fixed-width text column. Wrap translated
   compound words within that column while preserving the animated card. */
html:not([lang^="zh"]) .contact_map_bg_info_container .location_text_wrapper{overflow-wrap:anywhere}
