/* Compass intl storefronts (2026-11-15, GTM-2026-11). Loaded only on /in /zh /uk /ar /fr /ko /vi /pt-br /sr.
   Kept out of style.css on purpose (parallel speed/icon work there). */

/* Non-Latin scripts: Newsreader/Plex are Latin-only, so give each script a proper system stack. */
:lang(zh){--serif:"Newsreader","Songti SC","Noto Serif SC","Source Han Serif SC",serif;--sans:"Plex","PingFang SC","Hiragino Sans GB","Noto Sans SC","Microsoft YaHei",sans-serif}
:lang(ko){--serif:"Newsreader","AppleMyungjo","Noto Serif KR",serif;--sans:"Plex","Apple SD Gothic Neo","Noto Sans KR","Malgun Gothic",sans-serif}
:lang(ar){--serif:"Newsreader","Noto Naskh Arabic","Geeza Pro","Times New Roman",serif;--sans:"Plex","Noto Sans Arabic","Geeza Pro","Segoe UI","Tahoma",sans-serif}
:lang(uk){--serif:"Newsreader",Georgia,"PT Serif","Noto Serif",serif}

/* CJK, Hangul and Arabic have no true italics: keep emphasis upright, mark it with colour instead. */
:lang(zh) em,:lang(ko) em,:lang(ar) em{font-style:normal;color:var(--ink-2,inherit)}
:lang(zh) h1,:lang(zh) h2,:lang(ko) h1,:lang(ko) h2,:lang(ar) h1,:lang(ar) h2,:lang(ar) h3{letter-spacing:0;line-height:1.25}
:lang(ko) body{word-break:keep-all}
:lang(zh) body{line-break:strict;overflow-wrap:anywhere}
:lang(ar) body{line-height:1.8}

/* RTL (Arabic) */
/* off-screen to the top, not the side: right:-9999px made RTL pages scroll 10.000px sideways on mobile */
[dir="rtl"] .skip{left:auto;right:8px;top:-200px}
[dir="rtl"] .skip:focus{top:8px}
[dir="rtl"] .btn svg{transform:scaleX(-1)}
[dir="rtl"] .cmp th,[dir="rtl"] .cmp td{text-align:right}
[dir="rtl"] .hero-note span{margin-left:14px;margin-right:0}
[dir="rtl"] .duties .ref{margin-left:12px;margin-right:0}
[dir="rtl"] .faq summary{text-align:right}
[dir="rtl"] .sources ol{padding-right:1.4em;padding-left:0}

/* Long product names in the country table */
.intl-hero + .sec .cmp th[scope="row"]{min-width:12em}

/* .ph's padding shorthand zeroes .wrap's side gutter (site-wide bug, reported); fix it on intl pages only */
.ph.wrap.intl-hero{padding-left:var(--gut);padding-right:var(--gut)}
:lang(zh) em,:lang(ko) em,:lang(ar) em{font-style:normal!important}
/* 2026-11-16: visually hidden headings must not sit 10.000px to the side in RTL (horizontal scroll on mobile) */
[dir="rtl"] .hp{left:auto;right:auto;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
