/* ==========================================================================
   newsroom — the stock newsroom look on top of Headline (loaded after built/screen.css)
   ========================================================================== */

:root {
    --nr-ink: #0b1f3a;          /* navy: header, headings */
    --nr-ink-2: #15325c;
    --nr-deep: #06142a;         /* top bar, footer */
    --nr-accent: var(--ghost-accent-color, #d62839);
    --nr-up: #0f9d58;
    --nr-line: #e3e8f0;
    --nr-muted: #5b6b82;
    --nr-soft: #f4f6fa;
    --font-sans: Inter, "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans KR", "Noto Sans SC", "Segoe UI", Helvetica, Arial, sans-serif; /* stylelint-disable-line value-keyword-case */
}

html[lang="ko"] {
    --font-sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", Inter, sans-serif; /* stylelint-disable-line value-keyword-case */
    word-break: keep-all;
    overflow-wrap: anywhere;
}

html[lang="zh"] {
    --font-sans: Inter, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Pretendard Variable", sans-serif; /* stylelint-disable-line value-keyword-case */
}

body {
    font-family: var(--gh-font-body, var(--font-sans));
    -webkit-font-smoothing: antialiased;
}

/* ---- five-language UI strings: show the one matching <html lang> ---- */

.i18n > [lang] { display: none; }
html[lang="ko"] .i18n > [lang="ko"],
html[lang="en"] .i18n > [lang="en"],
html[lang="zh"] .i18n > [lang="zh"],
html[lang="es"] .i18n > [lang="es"],
html[lang="fr"] .i18n > [lang="fr"],
html:not([lang="en"]):not([lang="zh"]):not([lang="es"]):not([lang="fr"]) .i18n > [lang="ko"] { display: inline; }

/* ---- top bar: date + language switcher ---- */

.nr-topbar {
    position: relative;
    z-index: 100;
    color: #b7c3d6;
    font-size: 1.3rem;
    background: var(--nr-deep);
}

.nr-topbar-inner {
    display: flex;
    gap: 18px;
    align-items: center;
    min-height: 42px;
}

.nr-topbar-date {
    display: inline-flex;
    flex-shrink: 0;            /* 날짜·시각은 절대 줄어들거나 잘리지 않는다(태그라인이 먼저 숨는다) */
    gap: 10px;
    align-items: baseline;
    font-weight: 600;
    color: #e8edf5;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.nr-date-short { display: none; }

.nr-clock {
    padding-left: 10px;
    font-weight: 700;
    color: #ffd166;            /* 시장 시각 강조 */
    border-left: 1px solid rgb(255 255 255 / 0.18);
}

.nr-topbar-tagline {
    overflow: hidden;
    color: #8597b2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nr-langs {
    display: flex;
    flex-shrink: 0;
    gap: 2px;
    margin-left: auto;
}

.nr-langs a {
    padding: 5px 11px;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1;
    color: #b7c3d6;
    border-radius: 999px;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.nr-langs a:hover { color: #fff; background-color: rgb(255 255 255 / 0.08); opacity: 1; }

html[lang="ko"] .nr-langs a[data-lang="ko"],
html[lang="en"] .nr-langs a[data-lang="en"],
html[lang="zh"] .nr-langs a[data-lang="zh"],
html[lang="es"] .nr-langs a[data-lang="es"],
html[lang="fr"] .nr-langs a[data-lang="fr"] {
    color: #fff;
    background-color: var(--nr-accent);
}

@media (max-width: 767px) {
    .nr-topbar-tagline { display: none; }
    .nr-topbar-inner { gap: 10px; }
    .nr-topbar-date { font-size: 1.2rem; }
    .nr-langs { overflow-x: auto; scrollbar-width: none; }
    .nr-langs a { padding: 5px 8px; }
}

@media (max-width: 900px) {
    .nr-date-long { display: none; }
    .nr-date-short { display: inline; }
}

/* 아주 좁은 폰: 날짜·시각 한 줄, 언어 다섯 개 한 줄 — 두 줄로 나눠 어느 것도 잘리지 않게 */
@media (max-width: 480px) {
    .nr-topbar-inner { flex-wrap: wrap; justify-content: center; row-gap: 4px; padding-top: 6px; padding-bottom: 6px; }
    .nr-topbar-date { justify-content: center; width: 100%; font-size: 1.25rem; }
    .nr-langs { width: 100%; justify-content: center; margin: 0; }
    .nr-langs a { padding: 4px 7px; font-size: 1.2rem; }
}

/* ---- header: navy bar, white type, accent button ---- */

#gh-head,
#gh-head.gh-head,
body.is-head-open #gh-head {
    color: #fff;
    background-color: var(--nr-ink);
}

body:not(.is-head-stacked) .gh-head-inner,
.gh-head-inner { border-bottom: 0; }

#gh-head a,
#gh-head .nav a,
#gh-head .gh-head-link,
#gh-head .gh-icon-btn,
#gh-head .gh-search { color: #fff; }

.gh-head .nav a { font-weight: 600; opacity: 0.86; }
.gh-head .nav a:hover { opacity: 1; }

#gh-head .gh-burger::before,
#gh-head .gh-burger::after { background-color: #fff; }

.gh-head-logo {
    display: inline-flex;
    gap: 12px;
    align-items: center;
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    color: #fff;
}

.nr-logo-mark {
    position: relative;
    display: inline-block;
    flex-shrink: 0;
    width: 24px;
    height: 22px;
    background:
        linear-gradient(var(--nr-accent), var(--nr-accent)) 0 100% / 5px 40% no-repeat,
        linear-gradient(#fff, #fff) 9px 100% / 5px 68% no-repeat,
        linear-gradient(var(--nr-accent), var(--nr-accent)) 18px 100% / 5px 100% no-repeat;
}

#gh-head .gh-primary-btn,
#gh-head .gh-head-btn {
    padding-right: 18px;
    padding-left: 18px;
    font-weight: 700;
    color: #fff;
    background-color: var(--nr-accent);
    border-radius: 6px;
}

.gh-head .gh-head-btn:hover { opacity: 0.92; }

/* ---- masthead on the language front pages ---- */

.nr-masthead {
    padding: 64px 0 36px;
    margin-bottom: 56px;
    text-align: center;
    border-bottom: 4px double var(--nr-ink);
}

.nr-masthead-kicker {
    margin: 0 0 14px;
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--nr-accent);
    text-transform: uppercase;
    letter-spacing: 0.16em;
}

.nr-masthead-title {
    margin: 0;
    font-size: clamp(4.4rem, 8vw, 8.4rem);
    font-weight: 900;
    line-height: 1.02;
    color: var(--nr-ink);
    letter-spacing: -0.04em;
}

html[lang="en"] .nr-masthead-title,
html[lang="es"] .nr-masthead-title,
html[lang="fr"] .nr-masthead-title {
    font-family: var(--font-serif);
    font-weight: 700;
    letter-spacing: -0.02em;
}

html[lang="ko"] .nr-masthead-kicker,
html[lang="zh"] .nr-masthead-kicker { letter-spacing: 0.06em; }

@media (max-width: 767px) {
    .nr-masthead { padding: 40px 0 24px; margin-bottom: 36px; }
}

/* ---- section titles ---- */

.gh-topic-grid .gh-topic-name,
.gh-topic-minimal .gh-topic-name,
.gh-pagehead-title,
.gh-read-next .gh-pagehead-title {
    display: flex;
    align-items: center;
    padding-bottom: 14px;
    margin-bottom: 0;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--nr-ink);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-bottom: 2px solid var(--nr-ink);
}

.gh-topic-grid .gh-topic-name::before,
.gh-pagehead-title::before {
    flex-shrink: 0;
    margin-right: 12px;
    width: 10px;
    height: 10px;
    content: "";
    background-color: var(--nr-accent);
    border-radius: 2px;
}

html[lang="ko"] .gh-topic-name,
html[lang="zh"] .gh-topic-name,
html[lang="ko"] .gh-pagehead-title,
html[lang="zh"] .gh-pagehead-title { font-size: 1.8rem; letter-spacing: 0.02em; }

.gh-topic-grid .gh-topic-content { margin-top: 28px; }

.gh-read-next .gh-pagehead-title::after { display: none; }

.gh-topic-link { font-weight: 700; color: var(--nr-ink); }
.gh-topic-link:hover { color: var(--nr-accent); opacity: 1; }

/* ---- cards ---- */

.gh-topic-grid .gh-card-image {
    overflow: hidden;
    border-radius: 10px;
}

.gh-topic-grid .gh-card-image img { transition: transform 0.45s ease; }
.gh-topic-grid .gh-card-link:hover .gh-card-image img { transform: scale(1.04); }

.gh-topic-grid .gh-card-title {
    font-weight: 750;
    line-height: 1.28;
    color: var(--nr-ink);
    letter-spacing: -0.016em;
}

.gh-topic-grid .gh-card-link:hover .gh-card-title { color: var(--nr-accent); opacity: 1; }

.gh-card-excerpt { color: #3b4a60; }

.gh-card-footer {
    font-size: 1.25rem;
    color: var(--nr-muted);
}

.gh-card-date,
.gh-article-date { font-variant-numeric: tabular-nums; }

.nr-empty {
    padding: 64px 24px;
    margin-top: 28px;
    font-size: 1.8rem;
    color: var(--nr-muted);
    text-align: center;
    background:
        linear-gradient(135deg, rgb(11 31 58 / 0.03), rgb(214 40 57 / 0.04)),
        var(--nr-soft);
    border: 1px dashed #cdd5e1;
    border-radius: 14px;
}

/* ---- article ---- */

.gh-article-tag {
    font-weight: 800;
    color: var(--nr-accent);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.gh-article-title {
    font-weight: 800;
    color: var(--nr-ink);
    letter-spacing: -0.028em;
}

.gh-article-excerpt { color: #3b4a60; }

.gh-content a { color: var(--nr-accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }

html[lang="ko"] .gh-content,
html[lang="zh"] .gh-content { line-height: 1.85; }

.gh-content blockquote { border-left-color: var(--nr-accent); }

.gh-button-share { font-weight: 700; }

/* ---- footer ---- */

.gh-foot {
    color: #c3cedd;
    background-color: var(--nr-deep);
}

.gh-foot a { color: #c3cedd; }
.gh-foot a:hover { color: #fff; }

.gh-subscribe {
    padding: 56px 32px;
    background:
        radial-gradient(1200px 300px at 0% 0%, rgb(214 40 57 / 0.18), transparent 60%),
        linear-gradient(135deg, var(--nr-ink), var(--nr-ink-2));
    border: 1px solid rgb(255 255 255 / 0.08);
    border-radius: 18px;
}

.gh-subscribe-title {
    font-size: clamp(2.8rem, 4vw, 4rem);
    font-weight: 800;
    letter-spacing: -0.025em;
}

.gh-subscribe-description { font-size: 1.8rem; color: #c3cedd; }

.gh-foot .gh-subscribe-btn {
    font-weight: 700;
    color: #fff;
    background-color: var(--nr-accent);
    border-radius: 8px;
}

.gh-copyright { color: #8597b2; }

/* ==========================================================================
   newsroom 1.1 — market ticker, accessibility, finance-article blocks, tables, ads
   ========================================================================== */

:root {
    --nr-ticker-h: 58px;        /* TradingView ticker tape (regular mode) iframe height at every width — measured 2026-11-27 */
    --nr-focus: #0b1f3a;
    --nr-focus-on-dark: #ffd166;
    --nr-warn: #b7791f;
}

/* ---- live market ticker (TradingView embed), sticky at the very top ---- */

.nr-ticker {
    position: sticky;
    top: 0;
    z-index: 200;               /* above the top bar/header; below the open mobile menu, Portal and the lightbox */
    display: flex;
    align-items: stretch;
    height: var(--nr-ticker-h);
    overflow: hidden;
    background: #020b18;
    border-bottom: 1px solid rgb(255 255 255 / 0.08);
}

.nr-ticker[hidden],
.nr-ticker.nr-ticker-off { display: none !important; }

.nr-ticker .tradingview-widget-container {
    display: flex;
    flex: 1 1 auto;
    align-items: stretch;      /* not center: a taller iframe must never be cut top and bottom */
    min-width: 0;
    height: var(--nr-ticker-h);
}

.nr-ticker .tradingview-widget-container__widget {
    flex: 1 1 auto;
    min-width: 0;
    height: var(--nr-ticker-h) !important;   /* TradingView sets its own inline height; keep the full row visible */
    overflow: hidden;
}

.nr-ticker .tradingview-widget-container__widget iframe {
    display: block;
    height: var(--nr-ticker-h) !important;
}

/* TradingView 출처 링크 — 위젯 밖 별도 칸: 세로 가운데, 한 줄, 절대 겹치지 않음 */
.nr-ticker-credit {
    display: flex;
    flex: none;
    align-items: center;
    padding: 0 10px;
    font-size: 1.1rem;
    line-height: 1;
    white-space: nowrap;
}

.nr-ticker-credit a { color: #8597b2; text-decoration: none; }
.nr-ticker-credit a:hover { color: #fff; }
.nr-ticker .tradingview-widget-copyright { display: none !important; }   /* 위젯이 따로 만들 경우 중복 표시 방지 */

.nr-ticker-hide {
    flex: none;
    width: 36px;
    padding: 0;
    font-size: 2rem;
    line-height: 1;
    color: #8597b2;
    cursor: pointer;
    background: transparent;
    border: 0;
    border-left: 1px solid rgb(255 255 255 / 0.08);
}

.nr-ticker-hide:hover { color: #fff; }

html:has(.nr-ticker:not([hidden]):not(.nr-ticker-off)) { scroll-padding-top: calc(var(--nr-ticker-h) + 16px); }

.nr-ticker .nr-credit-short { display: none; }

/* 좁은 화면: 출처는 한 줄 "TradingView" 링크로(규정상 유지), 닫기 버튼도 좁게 — 겹치거나 꺾여 넘치지 않게 */
/* 좁은 화면: 위젯 안의 TradingView 로고가 출처 표기를 하므로 글자 출처는 숨기고, 닫기 버튼을 좁혀 시세 폭을 넓힌다 */
@media (max-width: 600px) {
    .nr-ticker-credit { display: none; }
    .nr-ticker-hide { width: 26px; font-size: 1.7rem; }
}

/* ---- skip link + visible keyboard focus ---- */

.nr-skip {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 4000000;
    padding: 10px 16px;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    background: var(--nr-ink);
    border-radius: 6px;
    transform: translateY(-300%);
}

.nr-skip:focus,
.nr-skip:focus-visible { transform: none; }

.nr-content-anchor { height: 0; }
.nr-content-anchor:focus { outline: none; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
    outline: 3px solid var(--nr-focus);
    outline-offset: 2px;
    box-shadow: 0 0 0 2px #fff;
}

.nr-ticker :focus-visible,
.nr-topbar :focus-visible,
#gh-head :focus-visible,
.gh-foot :focus-visible,
.nr-skip:focus-visible {
    outline-color: var(--nr-focus-on-dark);
    box-shadow: none;
}

@media (prefers-reduced-motion: reduce) {
    .gh-topic-grid .gh-card-image img { transition: none; }
    .gh-topic-grid .gh-card-link:hover .gh-card-image img { transform: none; }
}

/* ---- byline + published / updated ---- */

.nr-byline { align-items: baseline; }
.nr-byline-by { margin-right: 6px; font-weight: 600; color: var(--nr-muted); }
.gh-article-meta-inner { flex-wrap: wrap; row-gap: 4px; }
.nr-published { white-space: nowrap; }
.nr-published time,
.nr-updated time { font-variant-numeric: tabular-nums; }

.nr-updated {
    margin: 4px 0 0;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--nr-ink);
}

.nr-updated[hidden] { display: none; }

/* ---- blocks the writer puts inside the post HTML ----
   <aside class="nr-filing"> source filing (first block), <aside class="nr-sources"> sources,
   <aside class="nr-disclosure"> interests, <aside class="nr-correction"> correction / update note */

.gh-content :is(.nr-filing, .nr-sources, .nr-disclosure, .nr-correction) {
    padding: 16px 20px;
    font-family: var(--font-sans);
    font-size: 0.86em;
    line-height: 1.6;
    color: #24344d;
    background: var(--nr-soft);
    border: 1px solid var(--nr-line);
    border-left: 4px solid var(--nr-ink);
    border-radius: 8px;
}

.gh-content :is(.nr-filing, .nr-sources, .nr-disclosure, .nr-correction) > * + * { margin-top: 0.6em; }
.gh-content :is(.nr-filing, .nr-sources, .nr-disclosure, .nr-correction) :is(h2, h3, h4, strong:first-child) { color: var(--nr-ink); }
.gh-content :is(.nr-filing, .nr-sources, .nr-disclosure, .nr-correction) :is(h2, h3, h4) { margin: 0; font-size: 1em; font-weight: 800; letter-spacing: 0; }
.gh-content :is(.nr-filing, .nr-sources, .nr-disclosure, .nr-correction) :is(ul, ol) { padding-left: 1.2em; margin-bottom: 0; }
.gh-content :is(.nr-filing, .nr-sources, .nr-disclosure, .nr-correction) li + li { margin-top: 0.3em; }
.gh-content :is(.nr-filing, .nr-sources, .nr-disclosure, .nr-correction) a { overflow-wrap: anywhere; }

.gh-content .nr-filing { background: #eef3fb; border-left-color: var(--nr-ink-2); }
.gh-content .nr-sources { font-size: 0.8em; }
.gh-content .nr-disclosure { background: #fdf8ee; border-left-color: var(--nr-warn); }
.gh-content .nr-correction { background: #fdf0f1; border-left-color: var(--nr-accent); }
.gh-content .nr-filing dl { display: grid; grid-template-columns: max-content 1fr; gap: 4px 14px; margin: 0; }
.gh-content .nr-filing dt { font-weight: 700; color: var(--nr-muted); }
.gh-content .nr-filing dd { margin: 0; }

@media (max-width: 480px) {
    .gh-content .nr-filing dl { grid-template-columns: 1fr; }
    .gh-content .nr-filing dd { margin-bottom: 6px; }
}

/* ---- tables: a labelled scroll region (keyboard-focusable when it overflows, see partials/enhance.hbs) ---- */

.gh-content .nr-table-scroll {
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid var(--nr-line);
    border-radius: 8px;
}

.gh-content .nr-table-scroll > table:not(.gist table) {
    display: table;
    width: 100%;
    max-width: none;
    margin: 0;
    overflow: visible;
    background: none;
}

.gh-content table:not(.gist table) { font-variant-numeric: tabular-nums; }
.gh-content .nr-table-scroll table:not(.gist table) td,
.gh-content .nr-table-scroll table:not(.gist table) th { border-width: 0 0 1px; }
.gh-content table:not(.gist table) th { color: var(--nr-ink); background-color: var(--nr-soft); }
.gh-content table:not(.gist table) tbody tr:nth-child(even) td { background-color: #fafbfd; }
.gh-content table:not(.gist table) :is(td, th).num,
.gh-content table:not(.gist table) :is(td, th)[data-num] { text-align: right; }

.gh-content table caption {
    padding: 10px 12px;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--nr-ink);
    text-align: left;
    caption-side: top;
}

/* ---- default disclosure footer under each post ---- */

.nr-post-disclosure { margin-top: 48px; }

.nr-post-disclosure-text {
    padding-top: 16px;
    margin: 0;
    font-size: 1.35rem;
    line-height: 1.6;
    color: var(--nr-muted);
    border-top: 1px solid var(--nr-line);
}

.nr-post-disclosure-text a { font-weight: 600; color: var(--nr-ink); text-decoration: underline; text-underline-offset: 3px; }

/* ---- AdSense slots: hidden until the consent-aware loader fills them; never a blank labelled box ---- */

.nr-ad { display: none; }
.nr-ad.nr-ad-on { display: grid; margin: 32px 0; }
.nr-ad:has(ins[data-ad-status="unfilled"]) { display: none; }

/* "advertise here" house box (house_ad_email): shown while Google has no ad for the slot. The Google unit stays in the layout
   (zero height until filled) so AdSense lazy loading still sees it; a filled unit removes the house box (nr-ad-filled). */
.nr-house { display: none; }
.nr-ad.nr-ad-house { display: grid; margin: 32px 0; }
.nr-ad.nr-ad-house:has(ins[data-ad-status="unfilled"]) { display: grid; }
.nr-ad.nr-ad-house > .nr-ad-label { display: none; }
.nr-ad ins.adsbygoogle[data-ad-status="unfilled"] { display: none !important; }
.nr-ad.nr-ad-house .nr-house {
    display: grid;
    gap: 6px;
    padding: 20px 22px;
    border: 1px solid var(--nr-line);
    border-left: 4px solid var(--nr-accent);
    border-radius: 6px;
    background: var(--nr-soft, rgba(0, 0, 0, 0.025));
    color: var(--nr-ink);
    text-decoration: none;
    transition: border-color 0.2s ease, transform 0.2s ease;
}
.nr-ad.nr-ad-house .nr-house:hover { border-color: var(--nr-accent); transform: translateY(-1px); opacity: 1; }
.nr-ad.nr-ad-filled .nr-house { display: none; }
.nr-house-kicker { font-size: 1.1rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--nr-muted); }
.nr-house-title { font-size: 1.9rem; font-weight: 800; line-height: 1.25; }
.nr-house-body { font-size: 1.45rem; line-height: 1.5; color: var(--nr-muted); }
.nr-house-cta { font-size: 1.4rem; font-weight: 700; color: var(--nr-accent); }
.nr-house-mail { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.nr-ad-side .nr-house-mail, .nr-ad-feed .nr-house-mail { display: block; margin-top: 2px; }
@media (max-width: 600px) { .nr-house-mail { display: block; margin-top: 2px; } .nr-house-title { font-size: 1.7rem; } }
.nr-ad-side .nr-house { min-height: 220px; align-content: center; }
.nr-ad-inline .nr-house, .nr-ad-inline2 .nr-house { padding: 14px 18px; }
.nr-ad-inline .nr-house-body, .nr-ad-inline2 .nr-house-body { display: none; }

.nr-ad-label {
    margin-bottom: 6px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--nr-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* ---- Korean front page: latest English stories ---- */

.nr-latest-en .gh-topic-name a { color: inherit; }
.nr-latest-en .gh-topic-name a:hover { color: var(--nr-accent); opacity: 1; }

/* ==========================================================================
   newsroom 1.3 — news layout: slim masthead, top stories, latest list + right rail, topic boxes, two-column story
   with rail, language versions, local times, US market session, trust footer
   ========================================================================== */

/* ---- section titles ---- */

.nr-sec-title {
    display: flex;
    gap: 10px;
    align-items: center;
    padding-bottom: 10px;
    margin: 0 0 18px;
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--nr-ink);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    border-bottom: 2px solid var(--nr-ink);
}

.nr-sec-title::before {
    flex: none;
    width: 10px;
    height: 10px;
    content: "";
    background: var(--nr-accent);
    border-radius: 2px;
}

html[lang="ko"] .nr-sec-title,
html[lang="zh"] .nr-sec-title { font-size: 1.7rem; text-transform: none; letter-spacing: 0; }

/* ---- front page: slim masthead (the old big masthead is gone) ---- */

.nr-masthead { display: none; }

.nr-front-head {
    background: linear-gradient(180deg, var(--nr-soft), #fff);
    border-bottom: 1px solid var(--nr-line);
}

.nr-front-head-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 28px;
    align-items: baseline;
    justify-content: space-between;
    padding: 26px 0 20px;
}

.nr-front-title {
    margin: 0;
    font-size: clamp(2.6rem, 3vw, 3.4rem);
    font-weight: 850;
    line-height: 1.15;
    color: var(--nr-ink);
    letter-spacing: -0.02em;
}

.nr-front-tagline {
    display: inline-block;
    margin-left: 10px;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--nr-muted);
    letter-spacing: 0;
    vertical-align: middle;
}

.nr-front-promise { margin: 0; font-size: 1.4rem; color: var(--nr-muted); }
.nr-front-promise::before { margin-right: 6px; font-weight: 800; color: var(--nr-up); content: "✓"; }

/* ---- cards ---- */

.nr-card { display: grid; gap: 14px; align-content: start; }

.nr-card-media {
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: var(--nr-soft);
    border-radius: 8px;
}

.nr-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s ease; }
.nr-card:hover .nr-card-media img { transform: scale(1.03); }

.nr-card-kicker {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--nr-accent);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.nr-card-title {
    margin: 4px 0 0;
    font-size: 1.9rem;
    font-weight: 760;
    line-height: 1.3;
    color: var(--nr-ink);
    letter-spacing: -0.012em;
}

.nr-card-title a { color: inherit; }
.nr-card-title a:hover { color: var(--nr-accent); opacity: 1; }

.nr-card-excerpt {
    display: -webkit-box;
    margin: 8px 0 0;
    overflow: hidden;
    font-size: 1.5rem;
    line-height: 1.55;
    color: #3b4a60;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.nr-card-meta { margin: 8px 0 0; font-size: 1.25rem; color: var(--nr-muted); font-variant-numeric: tabular-nums; }
.nr-dot { margin: 0 6px; }

.nr-card-lead .nr-card-title { font-size: clamp(2.5rem, 2.5vw, 3.3rem); font-weight: 820; line-height: 1.18; }
.nr-card-lead .nr-card-excerpt { font-size: 1.7rem; -webkit-line-clamp: 4; }

.nr-card-river { grid-template-columns: clamp(110px, 30%, 230px) minmax(0, 1fr); gap: 18px; }
.nr-card-river:not(:has(.nr-card-media)) { grid-template-columns: minmax(0, 1fr); }
.nr-card-river .nr-card-media { aspect-ratio: 3 / 2; }

.nr-card-compact { gap: 0; padding: 12px 0; border-bottom: 1px solid var(--nr-line); }
.nr-card-compact .nr-card-title { font-size: 1.55rem; font-weight: 700; line-height: 1.38; }
.nr-card-compact .nr-card-kicker { font-size: 1.05rem; }

/* ---- top stories ---- */

.nr-top { margin-top: 34px; }

.nr-top-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 32px; }

.nr-top-side { display: flex; flex-direction: column; }
.nr-top-side .nr-card { padding: 16px 0; border-bottom: 1px solid var(--nr-line); }
.nr-top-side .nr-card:first-child { padding-top: 0; }
.nr-top-side .nr-card:last-child { border-bottom: 0; }
.nr-top-side .nr-card-river { grid-template-columns: 116px minmax(0, 1fr); gap: 14px; }
.nr-top-side .nr-card-title { font-size: 1.6rem; }
.nr-top-side .nr-card-excerpt { display: none; }

/* ---- latest list + right rail ---- */

.nr-columns {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 48px;
    align-items: start;
    margin-top: 44px;
}

.nr-river-list > .nr-card { padding: 20px 0; border-bottom: 1px solid var(--nr-line); }
.nr-river-list > .nr-card:first-child { padding-top: 4px; }
.nr-river:not(:has(.nr-card)):not(:has(.nr-empty)) { display: none; }
.nr-columns:not(:has(.nr-river-list .nr-card)) { grid-template-columns: minmax(0, 1fr); }
.nr-columns:not(:has(.nr-river-list .nr-card)) .nr-rail-inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

.nr-more {
    display: inline-flex;
    gap: 6px;
    align-items: center;
    padding: 10px 18px;
    margin-top: 22px;
    font-weight: 700;
    color: var(--nr-ink);
    border: 1px solid var(--nr-line);
    border-radius: 8px;
}

.nr-more:hover { color: #fff; background: var(--nr-ink); opacity: 1; }
.nr-more svg { width: 16px; height: 16px; }

.nr-rail-inner {
    position: sticky;
    top: calc(var(--nr-ticker-h, 58px) + 20px);
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.nr-box { padding: 20px; background: #fff; border: 1px solid var(--nr-line); border-radius: 10px; }

.nr-box-title {
    margin: 0 0 10px;
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--nr-ink);
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

html[lang="ko"] .nr-box-title,
html[lang="zh"] .nr-box-title { font-size: 1.5rem; text-transform: none; letter-spacing: 0; }

.nr-box-text { margin: 0; font-size: 1.4rem; line-height: 1.6; color: #3b4a60; }
.nr-box-links { margin: 12px 0 0; font-size: 1.35rem; font-weight: 700; }
.nr-box-links a { color: var(--nr-accent); }

.nr-box-news { color: #c9d4e3; background: linear-gradient(135deg, var(--nr-ink), var(--nr-ink-2)); border-color: var(--nr-ink); }
.nr-box-news .nr-box-title { color: #fff; }
.nr-box-news .nr-box-text { color: #c9d4e3; }

.nr-box-btn {
    display: inline-block;
    padding: 9px 16px;
    margin-top: 14px;
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    background: var(--nr-accent);
    border-radius: 6px;
}

.nr-box-btn:hover { color: #fff; opacity: 0.9; }
.nr-box-latest .nr-card-compact:last-child { padding-bottom: 0; border-bottom: 0; }
.nr-box-latest .nr-card-compact:first-child { padding-top: 0; }
.nr-box-list:empty, .nr-box-latest:not(:has(.nr-card)) { display: none; }

/* ---- topic boxes ---- */

.nr-topics { margin-top: 56px; }
.nr-topics:not(:has(.nr-topic-box)) { display: none; }
.nr-topics-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 36px; }
.nr-topic-name { margin: 0 0 2px; font-size: 1.7rem; font-weight: 800; }
.nr-topic-name a { color: var(--nr-ink); }
.nr-topic-name a:hover { color: var(--nr-accent); opacity: 1; }
.nr-topic-more { display: inline-flex; gap: 4px; align-items: center; margin-top: 10px; font-size: 1.3rem; font-weight: 700; color: var(--nr-accent); }
.nr-topic-more svg { width: 14px; height: 14px; }

/* ---- story: two columns (story + rail) ---- */

.nr-article-grid {
    display: grid;
    grid-template-columns: minmax(0, 760px) 300px;
    gap: 56px;
    justify-content: space-between;
    padding-top: 40px;
}

.nr-article .gh-canvas,
.nr-article .nr-article-header { display: block; padding: 0; margin-top: 0; }
.nr-article .gh-content > * { max-width: 100%; }

.nr-article-header .gh-article-title { margin-top: 10px; font-size: clamp(3rem, 3.4vw, 4.4rem); line-height: 1.16; }
.nr-article-header .gh-article-excerpt { margin: 16px 0 0; font-size: 2rem; line-height: 1.5; }
.nr-article .gh-article-image { margin: 24px 0 0; }
.nr-article .gh-article-image img { width: 100%; border-radius: 8px; }
.nr-article .gh-article-image figcaption { margin-top: 8px; font-size: 1.25rem; color: var(--nr-muted); text-align: left; }
.nr-article .gh-content { margin-top: 30px; font-size: 1.85rem; line-height: 1.75; }

.nr-byline-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 18px;
    align-items: center;
    padding: 13px 0;
    margin-top: 22px;
    font-size: 1.35rem;
    color: var(--nr-muted);
    border-top: 1px solid var(--nr-line);
    border-bottom: 1px solid var(--nr-line);
}

.nr-byline-row time { font-variant-numeric: tabular-nums; color: #2c3c55; }
.nr-author { font-weight: 800; color: var(--nr-ink); }
.nr-byline-by { margin-right: 4px; }

.nr-share {
    padding: 6px 14px;
    margin-left: auto;
    font-size: 1.25rem;
    color: var(--nr-ink);
    border: 1px solid var(--nr-line);
    border-radius: 999px;
}

.nr-translations { display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; margin-top: 14px; font-size: 1.3rem; }
.nr-translations-label { order: 0; margin-right: 4px; font-weight: 700; color: var(--nr-muted); }

.nr-translations a {
    padding: 4px 11px;
    font-weight: 700;
    color: var(--nr-ink);
    border: 1px solid var(--nr-line);
    border-radius: 999px;
}

.nr-translations a[data-lang="ko"] { order: 1; }
.nr-translations a[data-lang="en"] { order: 2; }
.nr-translations a[data-lang="zh"] { order: 3; }
.nr-translations a[data-lang="es"] { order: 4; }
.nr-translations a[data-lang="fr"] { order: 5; }

.nr-translations a[aria-current],
html[lang="ko"] .nr-translations a[data-lang="ko"],
html[lang="en"] .nr-translations a[data-lang="en"],
html[lang="zh"] .nr-translations a[data-lang="zh"],
html[lang="es"] .nr-translations a[data-lang="es"],
html[lang="fr"] .nr-translations a[data-lang="fr"] { color: #fff; background: var(--nr-ink); border-color: var(--nr-ink); }

.nr-post-disclosure { padding: 16px 18px; margin-top: 36px; background: var(--nr-soft); border-radius: 8px; }
.nr-post-disclosure .nr-post-disclosure-text { padding-top: 0; border-top: 0; }
.nr-post-ai { margin: 0 0 8px; font-size: 1.35rem; line-height: 1.6; color: #2c3c55; }
.nr-post-ai a { font-weight: 700; color: var(--nr-ink); text-decoration: underline; text-underline-offset: 3px; }

.nr-post-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }

.nr-post-tags a {
    padding: 5px 12px;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--nr-ink);
    background: var(--nr-soft);
    border-radius: 999px;
}

.nr-post-tags a:hover { color: #fff; background: var(--nr-ink); opacity: 1; }

.nr-article-grid > .nr-rail { padding-top: 6px; }

/* ---- ad slots in the new places (still hidden until filled; see 1.1) ---- */

.nr-ad.nr-ad-on.nr-ad-side { margin: 0; }
.nr-ad.nr-ad-on.nr-ad-feed { padding: 18px 0; margin: 0; border-bottom: 1px solid var(--nr-line); }
.nr-ad.nr-ad-on.nr-ad-inline { padding: 14px 0; margin: 28px 0; border-top: 1px solid var(--nr-line); border-bottom: 1px solid var(--nr-line); }
.nr-ad.nr-ad-on.nr-ad-inline2 { padding: 14px 0; margin: 28px 0; border-top: 1px solid var(--nr-line); border-bottom: 1px solid var(--nr-line); }
.nr-ad.nr-ad-house.nr-ad-side { margin: 0; }
.nr-ad.nr-ad-house.nr-ad-feed { padding: 18px 0; margin: 0; border-bottom: 1px solid var(--nr-line); }
.nr-ad.nr-ad-house.nr-ad-inline, .nr-ad.nr-ad-house.nr-ad-inline2 { padding: 0; margin: 28px 0; border: 0; }
/* SF-I9: until Google fills a slot without a house box, keep it zero-height (no label, no margin) so nothing jumps when it stays empty */
.nr-ad.nr-ad-on:not(.nr-ad-filled):not(.nr-ad-house):not(.nr-ad-side):not(.nr-ad-bottom) { margin: 0 !important; padding: 0 !important; border: 0 !important; }
.nr-ad.nr-ad-on:not(.nr-ad-filled):not(.nr-ad-house) > .nr-ad-label { display: none; }

/* ---- top bar: US market session ---- */

.nr-mkt { display: inline-flex; gap: 6px; align-items: center; margin-left: 12px; font-weight: 700; color: #d8e1ee; white-space: nowrap; }
.nr-mkt:empty { display: none; }
.nr-mkt::before { width: 7px; height: 7px; content: ""; background: #7b8aa3; border-radius: 50%; }
.nr-mkt[data-state="open"]::before { background: #22c55e; box-shadow: 0 0 0 3px rgb(34 197 94 / 0.25); }
.nr-mkt[data-state="pre"]::before,
.nr-mkt[data-state="post"]::before { background: #f59e0b; }
.nr-mkt[data-state="holiday"]::before { background: #e11d48; }

/* ---- footer: about + policy links ---- */

.nr-foot-about { max-width: 640px; }
.nr-foot-brand { display: flex; gap: 10px; align-items: center; margin: 0; font-size: 2.2rem; font-weight: 850; color: #fff; letter-spacing: -0.015em; }
.nr-foot-text { margin: 10px 0 0; font-size: 1.4rem; line-height: 1.65; color: #9fb0c8; }
.nr-foot-policies { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 1.4rem; font-weight: 700; }
.nr-foot-policies a { color: #dbe4f0; }

/* ---- responsive ---- */

@media (max-width: 1100px) {
    .nr-article-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
    .nr-article-grid > .nr-rail { padding-top: 28px; border-top: 2px solid var(--nr-ink); }
    .nr-article-grid .nr-rail-inner { position: static; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
    .nr-columns { grid-template-columns: minmax(0, 1fr) 280px; gap: 32px; }
}

@media (max-width: 900px) {
    .nr-top-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .nr-columns { grid-template-columns: minmax(0, 1fr); }
    .nr-columns .nr-rail-inner { position: static; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
    .nr-topics-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
    .nr-front-head-inner { padding: 18px 0 14px; }
    .nr-front-tagline { display: block; margin: 6px 0 0; }
    .nr-topics-grid { grid-template-columns: minmax(0, 1fr); }
    .nr-card-river { grid-template-columns: 104px minmax(0, 1fr); gap: 14px; }
    .nr-card-river .nr-card-title { font-size: 1.65rem; }
    .nr-card-river .nr-card-excerpt { display: none; }
    .nr-article-header .gh-article-excerpt { font-size: 1.75rem; }
    .nr-article .gh-content { font-size: 1.75rem; }
    .nr-share { margin-left: 0; }
    .nr-mkt { margin-left: 8px; }
}

/* ---- 1.3 fixes: no Headline top padding on the new layouts; full-width byline; Korean line breaks at spaces only ---- */

.gh-main.nr-front,
.gh-main.nr-article-main { padding-top: 0; }

.gh-article.nr-article .gh-article-header.nr-article-header { display: block; width: 100%; }
.nr-article-header > * { max-width: 100%; }
.nr-byline-row { width: 100%; }

/* Headline sets word-break: break-word on titles/content, which lets Korean break inside words ("증/가한") */
html[lang="ko"] .gh-site :is(h1, h2, h3, h4, p, li, a, span, figcaption, blockquote, td, th) { word-break: keep-all; overflow-wrap: anywhere; }

/* ==========================================================================
   newsroom 1.4 — quieter front page (no masthead band), motion, micro-interactions
   ========================================================================== */

.nr-sr-only {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    white-space: nowrap;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.nr-front-head { display: none; }
.nr-front .nr-top { margin-top: 30px; }

/* reading progress (stories) and back-to-top */
.nr-progress {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1001;
    height: 3px;
    pointer-events: none;
}

.nr-progress span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--nr-accent), #ff7a59);
    transform: scaleX(0);
    transform-origin: 0 50%;
}

body:not(.post-template) .nr-progress { display: none; }

.nr-totop {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 900;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    color: #fff;
    cursor: pointer;
    background: var(--nr-ink);
    border: 0;
    border-radius: 50%;
    box-shadow: 0 8px 24px rgb(6 20 42 / 0.28);
}

.nr-totop[hidden] { display: none; }
.nr-totop:hover { background: var(--nr-accent); }

/* link underline that draws in */
.nr-card-title a,
.nr-topic-name a {
    background-image: linear-gradient(currentColor, currentColor);
    background-repeat: no-repeat;
    background-position: 0 100%;
    background-size: 0% 1px;
}

.nr-card-title a:hover,
.nr-topic-name a:hover { background-size: 100% 1px; }

@media (prefers-reduced-motion: no-preference) {
    html { scroll-behavior: smooth; }

    /* scroll reveal: only elements the script marked (below the first screen, JS on) */
    html.nr-motion .nr-reveal {
        opacity: 0;
        transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
        transition-delay: var(--nr-d, 0ms);
        transform: translateY(18px);
    }

    html.nr-motion .nr-reveal.is-in { opacity: 1; transform: none; }

    .nr-card-title a,
    .nr-topic-name a { transition: background-size 0.35s ease, color 0.2s ease; }

    .nr-card-media img { transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }

    .nr-box,
    .nr-more,
    .nr-box-btn,
    .nr-translations a,
    .nr-post-tags a,
    .nr-totop,
    #gh-head .gh-head-btn {
        transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    }

    .nr-box:hover { border-color: #cfd8e5; box-shadow: 0 10px 28px rgb(11 31 58 / 0.08); }
    .nr-box-news:hover { box-shadow: 0 12px 32px rgb(11 31 58 / 0.28); }
    .nr-more:hover,
    .nr-box-btn:hover,
    .nr-totop:hover,
    #gh-head .gh-head-btn:hover { transform: translateY(-2px); }
    .nr-translations a:hover,
    .nr-post-tags a:hover { transform: translateY(-1px); }

    .nr-mkt[data-state="open"]::before { animation: nr-pulse 2s ease-out infinite; }

    .nr-progress span { transition: transform 0.12s linear; }
}

@keyframes nr-pulse {
    0% { box-shadow: 0 0 0 0 rgb(34 197 94 / 0.55); }
    70% { box-shadow: 0 0 0 7px rgb(34 197 94 / 0); }
    100% { box-shadow: 0 0 0 0 rgb(34 197 94 / 0); }
}

@media print {
    .nr-progress, .nr-totop { display: none !important; }
    html.nr-motion .nr-reveal { opacity: 1 !important; transform: none !important; }
}

/* a single top story (no side stories yet): lay the lead out horizontally instead of leaving the right column empty */
.nr-top-grid:not(:has(.nr-top-side .nr-card)) { grid-template-columns: minmax(0, 1fr); }
.nr-top-grid:not(:has(.nr-top-side .nr-card)) .nr-top-side { display: none; }

@media (min-width: 901px) {
    .nr-top-grid:not(:has(.nr-top-side .nr-card)) .nr-card-lead { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 36px; align-items: center; }
}

/* ---- 1.4.1: top stories = a lead and two picture stories ---- */
.nr-top-side { gap: 22px; }
.nr-top-side .nr-card { padding: 0; border-bottom: 0; }
.nr-top-side .nr-card:first-child { padding-top: 0; }
.nr-card-feature { gap: 12px; }
.nr-card-feature .nr-card-media { aspect-ratio: 16 / 9; }
.nr-top-side .nr-card-feature .nr-card-title { font-size: 1.9rem; font-weight: 780; line-height: 1.28; }
.nr-top-side .nr-card-feature + .nr-card-feature { padding-top: 22px; border-top: 1px solid var(--nr-line); }

@media (min-width: 601px) and (max-width: 900px) {
    .nr-top-side { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
    .nr-top-side .nr-card-feature + .nr-card-feature { padding-top: 0; border-top: 0; }
}
@media (min-width: 901px) {
    .nr-top-lead .nr-card-lead .nr-card-media { aspect-ratio: 16 / 10; }
    .nr-top-side .nr-card-feature .nr-card-media { aspect-ratio: 2 / 1; }
}

/* ==========================================================================
   newsroom 1.5 — mobile fixes, section menu, error/topic/author pages, language filter
   ========================================================================== */

/* screen-reader-only text must never widen the page */
.nr-sr-only { clip-path: inset(50%); }
.nr-sr-only * { position: static; }

/* footer: a real grid that never grows wider than the screen */
.gh-foot .gh-foot-inner.gh-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 28px 48px;
    align-items: start;
    text-align: left;
}

.gh-foot .gh-foot-inner > .gh-subscribe,
.gh-foot .gh-foot-inner > .gh-foot-menu,
.gh-foot .gh-foot-inner > .gh-social-links,
.gh-foot .gh-foot-inner > .gh-copyright { grid-column: 1 / -1; }

.nr-foot-about { width: 100%; min-width: 0; max-width: 640px; }
.nr-foot-text, .nr-foot-brand { overflow-wrap: anywhere; }
.nr-foot-policies { align-self: center; justify-content: flex-end; }
.gh-foot-menu:not(:has(a)) { display: none; }

@media (max-width: 767px) {
    .gh-foot .gh-foot-inner.gh-inner { grid-template-columns: minmax(0, 1fr); gap: 22px; }
    .nr-foot-policies { justify-content: flex-start; gap: 10px 18px; }
}

/* header section menu */
.nr-nav { display: flex; gap: 22px; align-items: center; margin: 0; padding: 0; list-style: none; }
.nr-nav li { white-space: nowrap; }
#gh-head .nr-nav a { font-size: 1.5rem; font-weight: 700; color: #dbe4f0; }
#gh-head .nr-nav a:hover { color: #fff; opacity: 1; }
.nr-menu-extra { display: none; }

@media (max-width: 767px) {
    .is-head-open #gh-head .gh-head-menu { display: flex; flex-direction: column; align-items: stretch; margin: 0; padding: 8px var(--gap) 0; }
    .is-head-open #gh-head .nr-nav { flex-direction: column; align-items: flex-start; gap: 4px; }
    .is-head-open #gh-head .nr-nav a { display: block; padding: 10px 0; font-size: 2.2rem; font-weight: 800; color: #fff; }
    .is-head-open .nr-menu-extra { display: block; padding: 18px 0 8px; margin-top: 14px; border-top: 1px solid rgb(255 255 255 / 0.14); }
    .nr-menu-title { margin: 14px 0 8px; font-size: 1.2rem; font-weight: 800; color: #8597b2; text-transform: uppercase; letter-spacing: 0.08em; }
    .is-head-open .nr-menu-extra .nr-langs { display: flex; flex-wrap: wrap; gap: 8px; }
    .is-head-open .nr-menu-extra .nr-langs a { padding: 7px 12px; font-size: 1.5rem; color: #fff; border: 1px solid rgb(255 255 255 / 0.25); border-radius: 999px; }
    .nr-menu-policies { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0; font-size: 1.5rem; }
    .nr-menu-policies a { color: #dbe4f0; }
}

/* card: language badge on mixed lists */
.nr-card-top { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; margin: 0; }
.nr-card-top:empty { display: none; }
.nr-card-lang { padding: 1px 8px; font-size: 1.1rem; font-weight: 700; color: var(--nr-muted); background: var(--nr-soft); border-radius: 999px; }

/* topic / author pages */
.nr-list-page .nr-columns { margin-top: 36px; }
.nr-list-head { padding-bottom: 14px; margin-bottom: 8px; border-bottom: 2px solid var(--nr-ink); }
.nr-list-kicker { margin: 0; font-size: 1.25rem; font-weight: 800; color: var(--nr-accent); text-transform: uppercase; letter-spacing: 0.08em; }
.nr-list-title { margin: 6px 0 0; font-size: clamp(2.8rem, 4vw, 4rem); font-weight: 850; color: var(--nr-ink); letter-spacing: -0.02em; }
.nr-list-desc { margin: 8px 0 0; font-size: 1.6rem; color: #3b4a60; }
.nr-author-list { margin-top: 28px; }

/* language filter tabs */
.nr-lang-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 6px; }
.nr-lang-tabs[hidden], .nr-lang-tabs button[hidden] { display: none; }

.nr-lang-tabs button {
    padding: 6px 14px;
    font: inherit;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--nr-ink);
    cursor: pointer;
    background: #fff;
    border: 1px solid var(--nr-line);
    border-radius: 999px;
}

.nr-lang-tabs button[aria-pressed="true"] { color: #fff; background: var(--nr-ink); border-color: var(--nr-ink); }
.nr-card[hidden] { display: none; }

/* error pages */
.nr-error .gh-inner { max-width: 860px; }
.nr-error-head { padding: 64px 0 36px; text-align: center; }
.nr-error-code { margin: 0; font-size: clamp(6rem, 12vw, 9.6rem); font-weight: 900; line-height: 1; color: var(--nr-accent); letter-spacing: -0.04em; }
.nr-error-title { margin: 14px 0 0; font-size: clamp(2.6rem, 4vw, 3.6rem); font-weight: 850; color: var(--nr-ink); }
.nr-error-text { max-width: 560px; margin: 12px auto 0; font-size: 1.7rem; line-height: 1.6; color: #3b4a60; }
.nr-error-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: center; margin-top: 26px; }
.nr-error-actions .nr-box-btn { margin-top: 0; }
.nr-error-actions .nr-more { margin-top: 0; font-size: 1.4rem; cursor: pointer; background: #fff; }
.nr-error-actions .nr-more svg { width: 16px; height: 16px; }
.nr-error-latest { margin-bottom: 56px; }
/* Headline sets white-space: nowrap on the whole footer — let our about text and links wrap */
.gh-foot .nr-foot-about, .gh-foot .nr-foot-policies, .gh-foot .gh-copyright { white-space: normal; }

/* top bar never wider than the screen: items wrap instead of overflowing (1.5) */
.nr-topbar-inner { flex-wrap: wrap; row-gap: 4px; }
@media (max-width: 1100px) { .nr-topbar-tagline { display: none; } }
@media (max-width: 900px) { .nr-topbar-inner { gap: 6px 12px; } .nr-langs a { padding: 5px 8px; } }
@media (max-width: 480px) {
    .nr-topbar-date { flex-wrap: wrap; gap: 2px 8px; justify-content: center; white-space: normal; }
    .nr-topbar-date > span { white-space: nowrap; }
    .nr-clock { padding-left: 8px; }
    .nr-mkt { margin-left: 0; }
}
@media (max-width: 767px) {
    .is-head-open #gh-head .nr-nav a { padding: 7px 0; font-size: 2rem; }
    .is-head-open .nr-menu-extra { padding-bottom: 96px; }
    .nr-menu-policies { margin-top: 16px; font-size: 1.4rem; }
}
.gh-main.nr-list-page, .gh-main.nr-error { padding-top: 0; }

/* ---- 1.6: pictures, read next, French byline, tap targets ---- */
.nr-card-media picture, .gh-article-image picture { display: block; width: 100%; height: 100%; }
.nr-article .gh-article-image img { aspect-ratio: 16 / 9; height: auto; object-fit: cover; }
.nr-read-next { padding: 48px 0 24px; margin-top: 48px; background: var(--nr-soft); }
.nr-read-next-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.nr-read-next .nr-card-feature .nr-card-title { font-size: 1.8rem; }
@media (max-width: 900px) { .nr-read-next-grid { grid-template-columns: minmax(0, 1fr); } }
.nr-byline-row .nr-published, .nr-byline-row .nr-updated { white-space: normal; }
.nr-langs a { display: inline-flex; align-items: center; min-height: 28px; }
.nr-foot-policies a, .nr-menu-policies a { display: inline-block; padding: 4px 0; }
