/* International editions reuse the NL magazine layout and its theme colors.
   Only language, route-specific controls and right-to-left adjustments live here. */
.edition{overflow-wrap:anywhere}
.edition .brand{display:flex;align-items:center;gap:10px;min-width:0}
.edition .brand>img{display:block;flex:none;object-fit:cover;border-radius:14px}
.edition .header-right{min-width:0}
.edition .breadcrumbs{flex-wrap:wrap}
.edition .button{min-height:44px}
.edition .page-links{display:flex;flex-wrap:wrap;gap:1rem;align-items:center;justify-content:center;margin-block:1.5rem}
.edition .page-links a{padding:.75rem;min-height:44px}
.edition footer a{min-height:44px}

/* Menus sit outside horizontally scrolling navigation; neither theme clips them. */
.intl-languages{position:relative;z-index:30;flex-shrink:0;max-width:100%}
.intl-languages summary{cursor:pointer;min-height:44px;padding:.6rem 1rem;border:1px solid var(--line);border-radius:8px;color:var(--ink);line-height:1.4}
.intl-languages nav{display:none;position:absolute;top:100%;inset-inline-end:0;width:min(18rem,calc(100vw - 2rem));min-width:0;max-width:calc(100vw - 2rem);max-height:65vh;max-height:65svh;overflow-x:hidden;overflow-y:auto;white-space:normal;gap:0;padding:.5rem;background:#182127;color:#f2eee6;border:1px solid #71807e;border-radius:8px;box-shadow:0 10px 32px #0006;overscroll-behavior:contain}
.intl-languages[open] nav{display:flex;flex-direction:column;align-items:stretch}
.intl-languages nav a{display:block;flex:none;width:100%;margin:0;padding:.6rem .8rem;min-height:44px;white-space:normal;overflow-wrap:anywhere;text-align:start;line-height:1.5;color:inherit}
.intl-languages nav a[aria-current]{color:#ffb56c;text-decoration:underline;text-underline-offset:3px}
html[data-theme="light"] .intl-languages nav{background:#fffdf8;color:#26372f;border-color:#aab9af;box-shadow:0 10px 32px #26372f25}
html[data-theme="light"] .intl-languages nav a[aria-current]{color:#91420f}

.intl-search{display:flex;gap:.6rem;margin-block:.5rem 1.5rem;min-width:0}
.intl-search input{min-width:0;flex:1;border:1px solid #74827c;padding:.8rem;border-radius:6px;background:#182127;color:#f2eee6}
html[data-theme="light"] .intl-search input{background:#fffefa;color:#26322d;border-color:#9cac9e}
.edition .intl-categories{display:flex;gap:.5rem;overflow-x:auto;white-space:nowrap;padding:.4rem 0;border-top:1px solid var(--line)}
.edition .intl-categories a{flex:0 0 auto;min-height:44px;padding:.6rem .8rem}
.edition .intl-categories a:first-child{color:#ffae57;font-weight:700}
html[data-theme="light"] .edition .intl-categories a:first-child{color:#91420f}
.edition .intl-caption{display:block;font-size:.8rem;line-height:1.5;color:var(--muted)}
.edition .card-image>.intl-caption{position:absolute;inset-inline-start:10px;bottom:10px;max-width:calc(100% - 20px);padding:5px 8px;border-radius:6px;background:#192528e8;color:#fff9ee;font-size:10px}
.edition .intl-home-hero{margin:0 0 2rem}
.edition .intl-home-hero img{display:block;width:100%;height:auto;max-height:560px;object-fit:contain;border-radius:16px}
.edition .intl-home-hero figcaption{font-size:.8rem;color:var(--muted)}

html[dir="rtl"] .edition{text-align:start}
html[dir="rtl"] .edition .article .body{line-height:1.95}
html[dir="rtl"] .edition .welcome-copy{padding-inline:42px 0}
html[dir="rtl"] .edition .brand small{margin-left:0;margin-inline-start:12px;border-left:0;border-inline-start:1px solid var(--line);padding-left:0;padding-inline-start:20px}
html[dir="rtl"] .edition .section-head h2{border-left:0;border-inline-start:4px solid #ff962f;padding-left:0;padding-inline-start:12px}
html[dir="rtl"] .edition .article .disclosure{border-left:0;border-inline-start:2px solid #a9b9ab}
@media(max-width:760px){.edition .masthead{gap:12px}.edition .header-right{gap:7px}.intl-languages summary{padding:.6rem .7rem;max-width:30vw;overflow-wrap:anywhere}.edition .brand small{display:none}}
@media(max-width:540px){.edition .brand{font-size:clamp(21px,6vw,29px);letter-spacing:-1px}.edition .brand>img{width:36px;height:36px;border-radius:10px}.edition .intl-search{flex-wrap:wrap}.edition .article-photo{margin-inline:0}.intl-languages nav{width:min(18rem,calc(100vw - 32px))}.edition .welcome-copy h1{overflow-wrap:normal}html[dir="rtl"] .edition .welcome-copy{padding:24px}}

/* The NL edition uses this same language picker beside its reading controls. */
.masthead:has(.intl-languages){gap:12px;flex-wrap:wrap}.masthead:has(.intl-languages) .header-right{min-width:0;flex-wrap:wrap;justify-content:flex-end}
@media(max-width:760px){.masthead:has(.intl-languages) .header-right{gap:7px}.masthead:has(.intl-languages) .intl-languages summary{padding:.6rem .7rem;max-width:30vw;overflow-wrap:anywhere}}

/* Respect script shaping and natural CJK line breaks without extra font requests. */
html:lang(ko) .edition{word-break:keep-all;line-break:strict}
html:lang(ja) .edition{word-break:normal;line-break:strict}
html:lang(hi) .edition{word-break:normal;line-height:1.85}
html:lang(hi) .edition h1,html:lang(hi) .edition h2,html:lang(hi) .edition h3{line-height:1.5;letter-spacing:normal}
html:lang(ko) .edition .welcome-copy h1,html:lang(ja) .edition .welcome-copy h1{letter-spacing:normal;line-height:1.3}
/* Anchor narrow-screen language lists to the full masthead, even when the selector wraps. */
@media(max-width:540px){.masthead:has(.intl-languages){position:relative}.masthead .intl-languages{position:static}.masthead .intl-languages nav{inset-inline-end:0;inset-inline-start:auto;top:100%;width:min(18rem,100%);max-width:100%}}
