@import url('/static/css/block-site-header.css?v=20260810nav25');

:root {
    --news-header-height: 56px;
    --news-intro-max: 640px;
    --news-content-max: 720px;
    --news-page-gutter: 24px;
    --news-rail-width: 216px;
    --news-feed-column-gap: 40px;
    /* 본문 68ch(≈567px) + 항목 간격 24px + 썸네일 168px. 스트림을 이 폭으로
       묶어야 툴바·구분선이 실제 기사 줄과 같은 곳에서 끝난다. */
    --news-feed-max: 760px;
    /* 헤더·본문·푸터가 같은 폭을 공유해야 브랜드 로고와 기사 첫 글자가 한 세로선에
       선다. 위 레일/스트림 폭에서 유도한다(= 216 + 40 + 760 + 24*2 = 1064px). */
    --news-page-max: calc(
        var(--news-rail-width) + var(--news-feed-column-gap) + var(--news-feed-max)
        + var(--news-page-gutter) * 2
    );
    --news-header-max-width: var(--news-page-max);
    --news-index-max: var(--news-page-max);
    color-scheme: light;
    --news-body-bg: var(--background);
    --news-footer-bg: var(--surface);
    --news-header-bg: color-mix(in srgb, var(--background) 88%, transparent);
    --news-header-border: rgba(15, 23, 42, 0.08);
    --news-header-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
    --news-header-foreground: rgba(15, 23, 42, 0.94);
    --news-header-foreground-muted: rgba(15, 23, 42, 0.72);
    --news-header-button-bg: rgba(255, 255, 255, 0.74);
    --news-header-button-border: rgba(15, 23, 42, 0.12);
    --news-header-button-hover-bg: rgba(255, 255, 255, 0.92);
    --news-header-button-hover-border: rgba(15, 23, 42, 0.18);
    --news-header-avatar-bg: rgba(15, 23, 42, 0.08);
    --news-mobile-backdrop: rgba(15, 23, 42, 0.18);
    --news-mobile-panel-bg: rgba(255, 255, 255, 0.96);
    --news-mobile-panel-border: rgba(15, 23, 42, 0.08);
    --news-mobile-panel-shadow: 0 22px 48px rgba(15, 23, 42, 0.12);
    --news-mobile-link-color: rgba(15, 23, 42, 0.94);
}

:root[data-theme="dark"],
:root[data-theme="hc-dark"] {
    color-scheme: dark;
    --news-header-bg: color-mix(in srgb, var(--background) 84%, transparent);
    --news-header-border: rgba(255, 255, 255, 0.08);
    --news-header-shadow: 0 12px 30px rgba(2, 6, 12, 0.18);
    --news-header-foreground: rgba(245, 248, 255, 0.94);
    --news-header-foreground-muted: rgba(245, 248, 255, 0.78);
    --news-header-button-bg: rgba(5, 10, 18, 0.22);
    --news-header-button-border: rgba(255, 255, 255, 0.34);
    --news-header-button-hover-bg: rgba(255, 255, 255, 0.15);
    --news-header-button-hover-border: rgba(255, 255, 255, 0.42);
    --news-header-avatar-bg: rgba(255, 255, 255, 0.12);
    --news-mobile-backdrop: rgba(6, 8, 13, 0.54);
    --news-mobile-panel-bg: rgba(8, 13, 22, 0.96);
    --news-mobile-panel-border: rgba(255, 255, 255, 0.08);
    --news-mobile-panel-shadow: 0 22px 48px rgba(0, 0, 0, 0.28);
    --news-mobile-link-color: rgba(245, 248, 255, 0.94);
}

:root[data-theme="hc-light"] {
    --news-header-bg: color-mix(in srgb, var(--background) 96%, transparent);
    --news-header-border: rgba(15, 23, 42, 0.16);
    --news-header-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
    --news-mobile-backdrop: rgba(15, 23, 42, 0.24);
    --news-mobile-panel-bg: rgba(255, 255, 255, 0.98);
}

:root[data-theme="colorblind"] {
    --news-header-bg: color-mix(in srgb, var(--background) 90%, transparent);
}

* {
    box-sizing: border-box;
}

html {
    scroll-padding-top: calc(var(--news-header-height) + 24px);
}

body {
    margin: 0;
    min-width: 320px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--news-body-bg);
    color: var(--surface-foreground);
    text-rendering: optimizeLegibility;
    overflow-x: clip;
}

body.mobile-nav-open {
    overflow: hidden;
}












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

a {
    color: inherit;
}

img {
    display: block;
    max-width: 100%;
}

code {
    font-family: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
    font-size: 0.92em;
}

.login-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 7px 16px;
    background: var(--news-header-button-bg);
    border: 1px solid var(--news-header-button-border);
    border-radius: 999px;
    color: var(--news-header-foreground);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
}

.login-btn:hover {
    background: var(--news-header-button-hover-bg);
    border-color: var(--news-header-button-hover-border);
    color: var(--news-header-foreground);
    transform: translateY(-1px);
}

.user-dropdown {
    position: relative;
}

.user-dropdown-btn {
    display: flex !important;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: none;
    padding: 8px;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.user-dropdown-btn:hover {
    opacity: 0.84;
}

.user-dropdown-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--news-header-avatar-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    color: var(--news-header-foreground);
    text-transform: uppercase;
}

.user-dropdown-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-dropdown-avatar-text {
    color: var(--news-header-foreground);
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
}

.header {
    position: fixed;
    inset: 0 0 auto;
    height: var(--news-header-height);
    z-index: var(--z-header);
    background: var(--news-header-bg);
    border-bottom: 1px solid var(--news-header-border);
    box-shadow: var(--news-header-shadow);
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
}

.header-inner {
    max-width: var(--news-header-max-width);
    height: 100%;
    margin: 0 auto;
    padding: 0 var(--news-page-gutter);
    display: flex;
    align-items: center;
    gap: 8px;
}

/*
 * 공용 헤더는 `.block-app-header .header-inner` 로 자기 밴드(1200px)를 강제하고,
 * 그 스타일시트는 block-site-header.js 가 런타임에 <head> 끝에 붙인다. 즉 같은
 * 특이도로는 항상 나중에 와서 이긴다. 한 겹 더 얹어야 로고가 뉴스룸 본문
 * 기준선에 선다. (/services·GIS 페이지가 쓰는 것과 같은 되잡기 방식)
 */





.nav-logo {
    display: inline-flex;
    align-items: center;
    position: relative;
    height: 20px;
    text-decoration: none;
}

.nav-logo-image {
    display: block;
    height: 100%;
    width: auto;
}

.nav-logo-image--dark {
    display: none;
}

:root[data-theme="dark"] .nav-logo-image--light,
:root[data-theme="hc-dark"] .nav-logo-image--light {
    display: none;
}

:root[data-theme="dark"] .nav-logo-image--dark,
:root[data-theme="hc-dark"] .nav-logo-image--dark {
    display: block;
}


.nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0;
    color: var(--news-header-foreground-muted);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0;
    text-decoration: none;
    transition: color 0.2s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 5px;
    height: 1px;
    background: var(--news-header-foreground);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.2s ease;
}

.nav-link:hover,
.nav-link[aria-current="page"] {
    color: var(--news-header-foreground);
}

.nav-link:hover::after,
.nav-link:focus-visible::after,
.nav-link[aria-current="page"]::after {
    transform: scaleX(1);
}



















.news-main {
    flex: 1 0 auto;
    padding-top: calc(var(--news-header-height) + 18px);
}

.news-shell {
    width: 100%;
    max-width: var(--news-page-max);
    margin: 0 auto;
    padding: 56px var(--news-page-gutter) 96px;
}

.news-shell--index {
    padding-top: var(--space-8);
    padding-bottom: var(--space-12);
}

.news-shell--article {
    padding-top: 34px;
}

.news-intro,
.news-stream,
.article-shell,
.article-main,
.article-aside {
    min-width: 0;
}

.news-intro > *,
.news-stream > *,
.article-shell > * {
    min-width: 0;
}

.news-intro {
    padding: var(--space-1) 0 var(--space-5);
    border-bottom: 1px solid var(--border);
}

.news-shell--index .news-intro {
    border-bottom: 0;
}

.news-intro--single {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: var(--space-4) var(--space-8);
    align-items: center;
}

.news-intro-main--compact {
    max-width: var(--news-intro-max);
}

.news-eyebrow,
.article-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    color: var(--muted-foreground);
    font-size: var(--fs-xs);
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
}

.news-eyebrow::before,
.article-eyebrow::before {
    content: none;
}

.news-title,
.article-title {
    margin: 0;
    line-height: 1.08;
    letter-spacing: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.news-title {
    font-size: 4rem;
}

.news-title--index {
    font-size: var(--fs-display);
    line-height: 1.14;
    letter-spacing: 0;
}

.article-title {
    font-size: var(--fs-display-xl);
}

.news-dek,
.article-dek {
    max-width: 42ch;
    margin: 16px 0 0;
    color: var(--muted-foreground);
    font-size: var(--fs-body);
    line-height: 1.72;
    overflow-wrap: anywhere;
}

/* ch 는 라틴 문자 폭 기준이라 한글 문장에는 절반짜리 자로 쓰인다. 46ch(≈358px)
   에서는 한 줄짜리 소개 문장이 '한곳 / 에서' 같은 자리에서 끊긴다. */
.news-dek {
    max-width: var(--news-intro-max);
    margin-top: var(--space-2);
    font-size: var(--fs-sm);
}

.news-intro-side {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: var(--space-3);
    padding-bottom: 0;
}

.news-subscribe-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 16px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--surface);
    color: var(--surface-foreground);
    font-size: var(--fs-sm);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.news-subscribe-button:hover {
    color: var(--primary);
    border-color: color-mix(in srgb, var(--primary) 35%, var(--border));
}

.news-subscribe-button:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
}

.news-feed-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--muted-foreground);
    font-size: var(--fs-sm);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.news-feed-link:hover,
.news-feed-link:focus-visible {
    color: var(--primary);
}

.news-feed-link:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
    border-radius: 6px;
}

.news-feed-icon {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.news-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 0;
    align-items: center;
    color: var(--muted-foreground);
    font-size: var(--fs-xs);
}

.news-meta span {
    position: relative;
}

.news-meta span + span {
    margin-left: 14px;
    padding-left: 14px;
}

.news-meta span + span::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 4px;
    height: 4px;
    border-radius: 999px;
    background: currentColor;
    opacity: 0.45;
    transform: translateY(-50%);
}

.news-feature-title {
    margin: 0;
    font-size: var(--fs-display-lg);
    line-height: 1.12;
    letter-spacing: 0;
}

.news-feature-summary,
.news-section-copy,
.article-related-link-summary,
.news-index-footer-copy {
    color: var(--muted-foreground);
}

.news-feature-summary {
    margin: 0;
    font-size: var(--fs-body-lg);
    line-height: 1.68;
}

.news-link,
.article-return {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--surface-foreground);
    font-size: var(--fs-sm);
    font-weight: 600;
    text-decoration: none;
}

.news-link:hover,
.article-return:hover,
.article-related-link:hover,
.news-index-footer-links a:hover {
    color: var(--primary);
}

.news-link-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.news-stream {
    margin-top: 0;
}

.news-stream--single {
    display: block;
}

.news-stream-main--narrow {
    max-width: none;
}

.news-stream-toolbar {
    display: grid;
    gap: var(--space-3);
    margin-bottom: 0;
}

.news-stream-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: var(--space-4);
    min-height: var(--control-h-s);
}

.news-stream-heading h2 {
    margin: 0;
    font-size: var(--fs-h3);
    line-height: var(--lh-h3);
}

.news-stream-count {
    color: var(--muted-foreground);
    font-size: var(--fs-sm);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.news-filter-stack {
    display: grid;
    gap: var(--space-1);
    min-width: 0;
}

.news-filter-label {
    margin: 0;
    color: var(--muted-foreground);
    font-size: var(--fs-xs);
    font-weight: 700;
}

.news-category-bar {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
    min-width: 0;
}

.news-category-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 0 var(--space-2);
    border: 1px solid transparent;
    border-radius: var(--radius-md);
    background: transparent;
    color: var(--muted-foreground);
    font-size: var(--fs-body);
    font-weight: 400;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: color 0.2s ease;
}

.news-category-tab:hover {
    color: var(--surface-foreground);
}

.news-category-tab[aria-current="page"] {
    color: var(--surface-foreground);
    font-weight: 500;
}

.news-category-count {
    margin-left: 6px;
    color: var(--muted-foreground);
    font-size: var(--fs-xs);
    font-variant-numeric: tabular-nums;
    transition: color 0.2s ease;
}

.news-category-tab:hover .news-category-count,
.news-category-tab[aria-current="page"] .news-category-count {
    color: color-mix(in srgb, var(--surface-foreground) 60%, transparent);
}

.news-category-tab:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.news-scope-nav {
    display: flex;
    align-items: center;
    gap: var(--space-6);
    min-height: var(--control-h-l);
    padding-left: calc(var(--news-rail-width) + var(--news-feed-column-gap));
    border-bottom: 1px solid var(--border);
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
}

.news-scope-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    min-height: var(--control-h-l);
    color: var(--muted-foreground);
    font-size: var(--fs-sm);
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.news-scope-link::after {
    content: '';
    position: absolute;
    inset: auto 0 -1px;
    height: 2px;
    background: var(--primary);
    opacity: 0;
    transform: scaleX(0.72);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.news-scope-link:hover,
.news-scope-link:focus-visible,
.news-scope-link[aria-current="page"] {
    color: var(--surface-foreground);
}

.news-scope-link[aria-current="page"] {
    font-weight: 700;
}

.news-scope-link[aria-current="page"]::after {
    opacity: 1;
    transform: scaleX(1);
}

.news-scope-link:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: -2px;
}

.news-section-header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 10px;
}

.news-section-header--compact {
    justify-content: flex-start;
}

.news-section-title,
.article-meta-title,
.article-related-title {
    margin: 0;
    font-size: var(--fs-sm);
    line-height: 1.35;
    letter-spacing: 0;
}

.news-section-copy {
    max-width: 62ch;
    margin: 10px 0 0;
    font-size: var(--fs-body);
    line-height: 1.6;
}

/* ================================================================================
   발행 주체 아이덴티티 (아바타 / 배지)
   ================================================================================ */

.news-avatar {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--surface);
    color: var(--surface-foreground);
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
}

.news-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-avatar .hz-icon {
    font-size: 18px;
    line-height: 1;
}

.news-avatar--xs {
    width: 20px;
    height: 20px;
    font-size: 11px;
}

.news-avatar--sm {
    width: 28px;
    height: 28px;
    font-size: 13px;
}

.news-avatar--lg {
    width: 64px;
    height: 64px;
    font-size: 26px;
}

.news-avatar--official {
    border-color: color-mix(in srgb, var(--primary) 42%, var(--border));
    color: var(--primary);
}

.news-avatar--all,
.news-avatar--more {
    color: var(--muted-foreground);
}

.news-badge {
    display: inline-flex;
    align-items: center;
    min-height: 18px;
    padding: 0 6px;
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--muted-foreground);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.5;
    white-space: nowrap;
}

.news-badge--official {
    border-color: color-mix(in srgb, var(--primary) 42%, var(--border));
    color: var(--primary);
}

/* ================================================================================
   피드 레이아웃 + 언론사 레일
   ================================================================================ */

.news-feed-layout {
    display: grid;
    grid-template-columns: var(--news-rail-width) minmax(0, 1fr);
    gap: var(--space-6) var(--news-feed-column-gap);
    align-items: start;
    margin-top: var(--space-5);
}

.news-feed-layout > * {
    min-width: 0;
}

/* 스트림 열은 1fr 로 잡히지만 기사 본문은 68ch 에서 멈춘다. 열을 그대로 두면
   툴바("최신 뉴스 … 총 34건")와 구분선만 300px 더 뻗어, 기사 오른쪽에 아무것도
   받치지 않는 빈 띠가 생긴다. 열 자체를 읽기 폭으로 묶어 끝을 맞춘다. */
.news-feed-layout .news-stream {
    max-width: var(--news-feed-max);
    margin-top: 0;
}

/* 그리드가 align-items: start 라 레일은 자기 내용 높이(약 400px)로 줄어든다.
   그러면 안쪽 sticky 가 붙어 있을 스크롤 구간 자체가 그만큼밖에 없어, 기사
   목록이 3000px 넘게 흐르는 동안 레일은 화면 밖으로 같이 밀려 나간다.
   레일만 열 전체 높이로 늘려 sticky 가 실제로 동작하게 한다. */
.news-rail {
    align-self: stretch;
    min-width: 0;
}

.news-rail-mobile-directory {
    display: none;
}

.news-rail-inner {
    position: sticky;
    top: calc(var(--news-header-height) + 20px);
    display: grid;
    gap: 6px;
    min-width: 0;
    max-height: calc(100vh - var(--news-header-height) - 56px);
    padding-right: 4px;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.news-rail-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: var(--space-2);
    min-height: var(--control-h-s);
    padding: 0 var(--space-2-5);
}

.news-rail-label,
.news-rail-order {
    margin: 0;
}

.news-rail-label {
    color: var(--surface-foreground);
    font-size: var(--fs-xs);
    font-weight: 700;
}

.news-rail-order {
    color: var(--muted-foreground);
    font-size: var(--fs-2xs);
    white-space: nowrap;
}

.news-rail-list {
    display: grid;
    gap: 2px;
    margin: 0;
    padding: 0;
    min-width: 0;
    list-style: none;
}

.news-rail-item {
    min-width: 0;
}

.news-rail-link,
.news-rail-more {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-width: 0;
    min-height: var(--control-h-m);
    padding: 5px 10px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: transparent;
    color: var(--muted-foreground);
    font: inherit;
    font-size: var(--fs-sm);
    font-weight: 600;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.news-rail-link:hover,
.news-rail-more:hover {
    background: var(--hover-overlay);
    color: var(--surface-foreground);
}

.news-rail-link[aria-current="page"] {
    border-color: color-mix(in srgb, var(--primary) 34%, var(--border));
    background: color-mix(in srgb, var(--primary) 10%, transparent);
    color: var(--surface-foreground);
    font-weight: 700;
}

.news-rail-link:focus-visible,
.news-rail-more:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.news-rail-name {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.news-rail-copy {
    display: grid;
    gap: var(--space-0-5);
    min-width: 0;
}

.news-rail-meta {
    overflow: hidden;
    color: var(--muted-foreground);
    font-size: var(--fs-2xs);
    font-weight: 400;
    line-height: var(--lh-xs);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.news-rail-more {
    margin-top: var(--space-1-5);
    padding-top: var(--space-2);
    border-top-color: var(--border);
    border-radius: 0;
}

.news-rail-more-building,
.news-rail-more-arrow {
    flex: none;
    color: var(--muted-foreground);
    font-size: var(--control-icon-s);
}

.news-rail-more-count {
    margin-left: auto;
    color: var(--muted-foreground);
    font-size: var(--fs-2xs);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.news-rail-more-arrow {
    transition: transform 0.2s ease;
}

.news-rail-more[aria-expanded="true"] .news-rail-more-arrow {
    transform: rotate(180deg);
}

.news-rail-directory {
    margin-top: 2px;
    padding-top: 10px;
    border-top: 1px solid var(--border);
}

.news-rail-directory[hidden] {
    display: none;
}

.news-rail-directory-title {
    margin: 0 0 8px;
    padding: 0 10px;
    color: var(--muted-foreground);
    font-size: var(--fs-xs);
    font-weight: 700;
}

.news-rail-directory-list {
    display: grid;
    gap: 2px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.news-rail-directory-all {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-2);
    min-height: var(--control-h-m);
    margin-top: var(--space-2);
    padding: 0 var(--space-2-5);
    border-top: 1px solid var(--border);
    color: var(--surface-foreground);
    font-size: var(--fs-xs);
    font-weight: 700;
    text-decoration: none;
}

.news-rail-directory-all .hz-icon {
    font-size: var(--control-icon-s);
}

.news-rail-directory-all:hover,
.news-rail-directory-all:focus-visible {
    color: var(--primary);
}

.news-rail-directory-all:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.news-rail-directory-link {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 6px 10px;
    border: 1px solid transparent;
    border-radius: var(--radius-md);
    color: var(--surface-foreground);
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.news-rail-directory-link:hover {
    background: var(--hover-overlay);
}

.news-rail-directory-link[aria-current="page"] {
    border-color: color-mix(in srgb, var(--primary) 34%, var(--border));
    background: color-mix(in srgb, var(--primary) 10%, transparent);
}

.news-rail-directory-link:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.news-rail-directory-main {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.news-rail-directory-name {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    font-size: var(--fs-sm);
    font-weight: 600;
}

.news-rail-directory-name,
.news-rail-directory-meta {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ================================================================================
   등록 언론사 디렉터리
   ================================================================================ */

.news-directory-eyebrow {
    margin: 0 0 var(--space-2);
    color: var(--muted-foreground);
    font-size: var(--fs-sm);
    font-weight: 700;
}

.news-publisher-directory {
    margin-top: var(--space-8);
}

.news-publisher-directory-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: var(--space-4);
    padding-bottom: var(--space-3);
    border-bottom: 1px solid var(--border);
}

.news-publisher-directory-heading h2,
.news-publisher-directory-empty h2 {
    margin: 0;
    font-size: var(--fs-h3);
    line-height: var(--lh-h3);
}

.news-publisher-directory-heading span {
    color: var(--muted-foreground);
    font-size: var(--fs-sm);
    font-variant-numeric: tabular-nums;
}

.news-publisher-directory-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.news-publisher-directory-item {
    border-bottom: 1px solid var(--border);
}

.news-publisher-directory-link {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    gap: var(--space-4);
    align-items: center;
    min-height: 104px;
    padding: var(--space-4) var(--space-2);
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.news-publisher-directory-link:hover {
    background: var(--hover-overlay);
    color: var(--primary);
}

.news-publisher-directory-main {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    gap: var(--space-1) var(--space-2);
    min-width: 0;
}

.news-publisher-directory-name {
    font-size: var(--fs-body-lg);
    font-weight: 700;
    line-height: var(--lh-body);
    overflow-wrap: anywhere;
}

.news-publisher-directory-handle {
    align-self: center;
    color: var(--muted-foreground);
    font-size: var(--fs-sm);
}

.news-publisher-directory-description {
    grid-column: 1 / -1;
    color: var(--muted-foreground);
    font-size: var(--fs-sm);
    line-height: var(--lh-body);
    overflow-wrap: anywhere;
}

.news-publisher-directory-meta {
    color: var(--muted-foreground);
    font-size: var(--fs-sm);
    line-height: var(--lh-body);
    text-align: right;
    white-space: nowrap;
}

.news-publisher-directory-arrow {
    color: var(--muted-foreground);
}

.news-publisher-directory-empty {
    display: grid;
    justify-items: start;
    gap: var(--space-3);
    padding: var(--space-8) 0;
    border-bottom: 1px solid var(--border);
}

.news-publisher-directory-empty p {
    max-width: 52ch;
    margin: 0;
    color: var(--muted-foreground);
    font-size: var(--fs-body);
    line-height: var(--lh-body);
}

.news-rail-directory-empty {
    margin: 0;
    padding: var(--space-2) var(--space-2-5);
    color: var(--muted-foreground);
    font-size: var(--fs-xs);
    line-height: var(--lh-sm);
}

.news-rail-directory-empty a {
    color: var(--surface-foreground);
    font-weight: 600;
}

.news-rail-directory-meta {
    color: var(--muted-foreground);
    font-size: var(--fs-xs);
    font-variant-numeric: tabular-nums;
}

/* ================================================================================
   기사 피드
   ================================================================================ */

.news-feed-list {
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--border);
}

/* 제목 | 날짜 두 열. 날짜를 오른쪽 끝에 고정하면 제목 길이가 제각각이어도
   훑는 눈이 한 세로선을 따라 내려간다. */
.news-feed-item {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: baseline;
    gap: 6px 20px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}

.news-feed-item--media {
    grid-template-columns: minmax(0, 1fr) auto 96px;
}

.news-feed-item--lead {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: var(--space-2) var(--space-6);
    padding: var(--space-5) 0 var(--space-6);
}

.news-feed-item--lead.news-feed-item--media {
    grid-template-columns: minmax(0, 1fr) auto 220px;
}

.news-feed-item--lead .news-feed-title {
    font-size: var(--fs-display);
    font-weight: 700;
    line-height: 1.22;
}

/* 분류 필터가 항목을 숨길 때 그리드 표시가 남지 않도록 한다. */
.news-feed-item[hidden] {
    display: none;
}

.news-feed-content {
    display: grid;
    gap: 4px;
    max-width: 68ch;
    min-width: 0;
}

/* 리드는 폭을 따로 자르지 않는다. 이미지가 있으면 그리드의 320px 열이, 없으면
   스트림 폭이 이미 폭을 정한다. 여기서 34ch 로 더 조이면 이미지 없는 리드가
   열의 절반만 쓰고 나머지를 비워 둔다. */
.news-feed-item--lead .news-feed-content {
    gap: var(--space-3);
    max-width: none;
}

.news-feed-identity {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 10px;
    min-width: 0;
    color: var(--muted-foreground);
    font-size: var(--fs-xs);
}

.news-feed-meta {
    display: inline-flex;
    align-items: center;
    gap: 0;
    min-width: 0;
    white-space: nowrap;
}

.news-feed-publisher {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    max-width: 100%;
    color: var(--surface-foreground);
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s ease;
}

a.news-feed-publisher:hover,
a.news-feed-publisher:focus-visible {
    color: var(--primary);
}

.news-feed-publisher:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
    border-radius: 999px;
}

.news-feed-publisher-name {
    max-width: 24ch;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.news-feed-meta > * + *::before {
    content: '·';
    margin-right: 8px;
    margin-left: 8px;
    opacity: 0.55;
}

.news-feed-time {
    grid-column: 2;
    grid-row: 1;
    color: var(--muted-foreground);
    font-size: var(--fs-xs);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.news-feed-item--media .news-feed-media {
    grid-column: 3;
    grid-row: 1;
}

.news-feed-title {
    margin: 0;
    font-size: var(--fs-body-lg);
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0;
    overflow-wrap: anywhere;
    transition: color 0.2s ease;
}

.news-feed-item:hover .news-feed-title {
    color: var(--primary);
}

.news-feed-title a {
    color: inherit;
    text-decoration: none;
}

.news-feed-title a::after {
    content: '';
    position: absolute;
    inset: 0;
}

.news-feed-title a:focus-visible {
    outline: none;
}

.news-feed-title a:focus-visible::after {
    outline: 2px solid var(--primary);
    outline-offset: 4px;
    border-radius: var(--radius-md);
}

/* 요약은 리드 기사에만 남는다. 두 줄로 묶어 리드가 목록을 밀어내지 않게 한다. */
.news-feed-summary {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
    margin: 2px 0 0;
    max-width: none;
    color: var(--muted-foreground);
    font-size: var(--fs-sm);
    line-height: 1.68;
    overflow-wrap: anywhere;
}

.news-feed-item--lead .news-feed-summary {
    font-size: var(--fs-body);
    line-height: 1.7;
}

.news-feed-media {
    align-self: center;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--surface);
    aspect-ratio: 16 / 10;
}

.news-feed-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-feed-empty {
    display: grid;
    min-height: 180px;
    place-items: center;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    color: var(--muted-foreground);
    font-size: var(--fs-body);
    line-height: 1.6;
    text-align: center;
}

.news-feed-empty--filter[hidden] {
    display: none;
}

/* ================================================================================
   언론사 프로필 헤더
   ================================================================================ */

.news-intro--publisher {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px 40px;
    align-items: end;
}

.news-publisher-identity {
    display: flex;
    align-items: center;
    gap: 18px;
    min-width: 0;
}

.news-publisher-identity-main {
    min-width: 0;
}

.news-publisher-handle {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 8px;
    color: var(--muted-foreground);
    font-size: var(--fs-sm);
    font-weight: 600;
}

.news-title--publisher {
    font-size: var(--fs-display);
    line-height: 1.16;
}

.news-publisher-meta {
    margin: 14px 0 0;
    color: var(--muted-foreground);
    font-size: var(--fs-sm);
    font-variant-numeric: tabular-nums;
}

.article-publisher {
    font-size: var(--fs-sm);
}

.news-index-footer {
    flex-shrink: 0;
    margin-top: 28px;
    border-top: 1px solid var(--border);
    background: var(--news-footer-bg);
}

.footer-spacer {
    flex-shrink: 0;
}

.news-index-footer-inner {
    width: 100%;
    max-width: var(--news-page-max);
    margin: 0 auto;
    padding: 18px var(--news-page-gutter) 24px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px 24px;
    align-items: start;
}

.news-index-footer-title {
    font-size: var(--fs-xs);
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
}

.news-index-footer-copy {
    margin: 6px 0 0;
    max-width: 36ch;
    font-size: var(--fs-xs);
    line-height: 1.6;
}

.news-index-footer-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    justify-self: end;
    color: var(--muted-foreground);
    font-size: var(--fs-sm);
    white-space: nowrap;
    text-align: right;
}

.news-index-footer-links {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 6px 16px;
    justify-content: flex-end;
}

.news-index-footer-feed {
    color: var(--muted-foreground);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.news-index-footer-feed:hover,
.news-index-footer-feed:focus-visible {
    color: var(--primary);
}

.news-index-footer-feed:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
    border-radius: 6px;
}

.article-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 48px;
    align-items: start;
}

.article-return {
    margin-bottom: 20px;
    color: var(--muted-foreground);
}

.article-kicker-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    align-items: center;
    margin-bottom: 14px;
}

.article-kicker-row .article-eyebrow {
    margin-bottom: 0;
}

.article-date {
    color: var(--muted-foreground);
    font-size: var(--fs-xs);
    font-weight: 600;
}

.article-updated-flag {
    display: inline-flex;
    align-items: center;
    padding: 2px 9px;
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--muted-foreground);
    font-size: var(--fs-xs);
    font-weight: 600;
    line-height: 1.4;
    white-space: nowrap;
}

.article-head {
    padding-bottom: 28px;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--border);
}

/* 기사 관리 막대. 서버가 내려보내는 것은 빈 껍데기뿐이고, 편집 권한이 있는
   뷰어에게만 화면에서 채워진다. 기사 본문과 섞이지 않도록 톤을 분리한다. */
.article-owner-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-2) var(--space-3);
    margin: 0 0 28px;
    padding: var(--space-3) var(--space-4);
    border: 1px solid color-mix(in srgb, var(--primary) 28%, var(--border));
    border-radius: var(--radius-lg);
    background: color-mix(in srgb, var(--primary) 6%, var(--surface));
}

.article-owner-bar[hidden] {
    display: none;
}

.article-owner-label {
    flex: 1 1 220px;
    min-width: 0;
    color: var(--muted-foreground);
    font-size: var(--fs-xs);
    line-height: var(--lh-xs);
}

.article-owner-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
}

.article-owner-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 var(--space-3);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    background: var(--surface);
    color: var(--surface-foreground);
    font: inherit;
    font-size: var(--fs-sm);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.article-owner-action:hover,
.article-owner-action:focus-visible {
    border-color: color-mix(in srgb, var(--primary) 35%, var(--border));
    color: var(--primary);
}

.article-owner-action--danger:hover,
.article-owner-action--danger:focus-visible {
    border-color: color-mix(in srgb, var(--destructive) 40%, var(--border));
    color: var(--destructive);
}

.article-owner-action:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.article-owner-action[disabled] {
    opacity: 0.6;
    cursor: default;
}

.article-owner-status {
    flex: 1 1 100%;
    margin: 0;
    color: var(--muted-foreground);
    font-size: var(--fs-xs);
    line-height: var(--lh-xs);
}

.article-owner-status:empty {
    display: none;
}

.article-owner-status.is-error {
    color: var(--destructive);
}

@media (max-width: 768px) {
    .article-owner-actions {
        width: 100%;
    }

    .article-owner-action {
        flex: 1 1 auto;
        min-height: 44px;
    }
}

.article-body-shell {
    max-width: 100%;
    min-width: 0;
}

.article-body {
    width: 100%;
    max-width: var(--news-content-max);
    color: var(--surface-foreground);
    font-size: var(--fs-body-lg);
    line-height: 1.78;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.article-body > *:first-child {
    margin-top: 0;
}

.article-body h2 {
    margin: 42px 0 14px;
    font-size: 1.5rem;
    line-height: 1.25;
    letter-spacing: 0;
    scroll-margin-top: calc(var(--news-header-height) + 24px);
}

.article-body h3 {
    margin: 30px 0 12px;
    font-size: 1.25rem;
    line-height: 1.3;
    letter-spacing: 0;
    scroll-margin-top: calc(var(--news-header-height) + 24px);
}

.article-body p,
.article-body ul,
.article-body ol,
.article-body blockquote,
.article-body pre {
    margin: 16px 0 0;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.article-body ul,
.article-body ol {
    padding-left: 20px;
}

.article-body a {
    color: var(--primary);
}

.article-body blockquote {
    padding-left: 16px;
    border-left: 2px solid var(--border);
    color: var(--muted-foreground);
}

.article-body hr {
    margin: 28px 0 0;
    border: 0;
    border-top: 1px solid var(--border);
}

.article-body pre {
    overflow: auto;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--surface);
    font-size: var(--fs-sm);
    line-height: 1.65;
}

.article-body li + li {
    margin-top: 8px;
}

.article-body .news-figure,
.article-body .news-resource-card {
    margin: 28px 0 0;
}

.article-body .news-figure img {
    display: block;
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--surface);
}

.article-body .news-figure figcaption {
    margin-top: 10px;
    color: var(--muted-foreground);
    font-size: var(--fs-sm);
    line-height: 1.55;
}

.article-body .news-resource-card a {
    display: grid;
    gap: 6px;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: color-mix(in srgb, var(--surface) 72%, var(--background));
    color: inherit;
    text-decoration: none;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.article-body .news-resource-card a:hover,
.article-body .news-resource-card a:focus-visible {
    border-color: color-mix(in srgb, var(--primary) 32%, var(--border));
    background: color-mix(in srgb, var(--surface) 86%, var(--background));
}

.article-body .news-resource-card-label {
    color: var(--muted-foreground);
    font-size: var(--fs-xs);
    font-weight: 700;
    line-height: 1.35;
}

.article-body .news-resource-card strong {
    font-size: var(--fs-body-lg);
    line-height: 1.4;
}

.article-body .news-resource-card span:last-child {
    color: var(--muted-foreground);
    font-size: var(--fs-sm);
    line-height: 1.55;
}

.article-body .news-chart {
    margin: 28px 0 0;
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: color-mix(in srgb, var(--surface) 72%, var(--background));
}

.article-body .news-chart-title {
    margin: 0 0 16px;
    font-size: var(--fs-sm);
    font-weight: 700;
    line-height: 1.45;
}

.article-body .news-chart-rows {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.article-body .news-chart-row {
    display: grid;
    grid-template-columns: minmax(64px, 96px) 1fr auto;
    gap: 4px 12px;
    align-items: center;
}

.article-body .news-chart-label {
    font-size: var(--fs-sm);
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.article-body .news-chart-track {
    height: 10px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--border) 60%, transparent);
    overflow: hidden;
}

.article-body .news-chart-bar {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: color-mix(in srgb, var(--primary) 72%, var(--surface));
}

.article-body .news-chart-value {
    font-size: var(--fs-sm);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    line-height: 1.4;
    white-space: nowrap;
}

.article-body .news-chart-note {
    grid-column: 2 / -1;
    color: var(--muted-foreground);
    font-size: var(--fs-xs);
    line-height: 1.5;
}

.article-body .news-chart-caption {
    margin: 16px 0 0;
    color: var(--muted-foreground);
    font-size: var(--fs-sm);
    line-height: 1.55;
}

@media (max-width: 640px) {
    .article-body .news-chart-row {
        grid-template-columns: 1fr auto;
    }

    .article-body .news-chart-track {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    .article-body .news-chart-note {
        grid-column: 1 / -1;
    }
}

.article-aside {
    display: grid;
    gap: 28px;
    align-content: start;
    position: sticky;
    top: calc(var(--news-header-height) + 28px);
}

.article-meta-card,
.article-related,
.article-toc {
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.article-community-trust {
    display: grid;
    gap: var(--space-3);
    margin-top: var(--space-4);
    padding-top: var(--space-4);
    border-top: 1px solid var(--border);
}

.article-community-notice {
    display: flex;
    gap: var(--space-2);
    margin: 0;
    color: var(--muted-foreground);
    font-size: var(--fs-xs);
    line-height: var(--lh-xs);
}

.article-community-notice .hz-icon {
    flex: none;
    margin-top: 1px;
    font-size: 18px;
}

.article-report-toggle,
.article-report-submit,
.article-report-cancel {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: max-content;
    max-width: 100%;
    min-height: 36px;
    padding: 0 var(--space-3);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    background: var(--surface);
    color: var(--surface-foreground);
    font: inherit;
    font-size: var(--fs-sm);
    font-weight: 600;
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.article-report-toggle:hover,
.article-report-toggle:focus-visible,
.article-report-cancel:hover,
.article-report-cancel:focus-visible {
    border-color: color-mix(in srgb, var(--primary) 35%, var(--border));
    color: var(--primary);
}

.article-report-toggle:focus-visible,
.article-report-submit:focus-visible,
.article-report-cancel:focus-visible,
.article-report-form select:focus-visible,
.article-report-form textarea:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.article-report-toggle:disabled,
.article-report-submit:disabled,
.article-report-cancel:disabled {
    cursor: default;
    opacity: 0.64;
}

.article-report-form {
    display: grid;
    gap: var(--space-2);
}

.article-report-form[hidden] {
    display: none;
}

.article-report-form label {
    color: var(--surface-foreground);
    font-size: var(--fs-xs);
    font-weight: 700;
}

.article-report-form label span {
    color: var(--muted-foreground);
    font-weight: 500;
}

.article-report-form select,
.article-report-form textarea {
    width: 100%;
    min-height: 40px;
    padding: var(--space-2) var(--space-3);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--background);
    color: var(--surface-foreground);
    font: inherit;
    font-size: var(--fs-sm);
}

.article-report-form textarea {
    min-height: 88px;
    resize: vertical;
}

.article-report-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    margin-top: var(--space-1);
}

.article-report-submit {
    border-color: var(--primary);
    background: var(--primary);
    color: var(--primary-foreground);
}

.article-report-status {
    min-height: 1.4em;
    margin: 0;
    color: var(--success);
    font-size: var(--fs-xs);
    line-height: var(--lh-xs);
}

.article-report-status.is-error {
    color: var(--destructive);
}

/* ================================================================================
   기사 참여 (공감 · 댓글)
   ================================================================================ */

.article-engagement {
    max-width: var(--news-content-max);
    margin-top: var(--space-8);
    padding-top: var(--space-6);
    border-top: 1px solid var(--border);
}

.article-engagement-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-3);
}

.article-reaction,
.article-engagement-tally {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 var(--space-4);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    background: var(--surface);
    color: var(--surface-foreground);
    font: inherit;
    font-size: var(--fs-sm);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.article-reaction:hover,
.article-reaction:focus-visible {
    border-color: color-mix(in srgb, var(--primary) 35%, var(--border));
    color: var(--primary);
}

.article-reaction:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* 집계 표시는 조작 대상이 아니다. 버튼과 나란히 서되 눌리는 것처럼 보이면 안 된다. */
.article-engagement-tally {
    border-color: transparent;
    background: none;
    color: var(--muted-foreground);
    cursor: default;
    transition: none;
}

.article-reaction[disabled] {
    opacity: 0.6;
    cursor: progress;
}

.article-reaction-icon {
    font-size: 20px;
    /* 비활성 상태는 외곽선 하트, 공감하면 채워진 하트로 바뀐다. */
    font-variation-settings: 'FILL' 0;
    transition: font-variation-settings 0.2s ease;
}

.article-reaction.is-active {
    border-color: color-mix(in srgb, var(--primary) 45%, var(--border));
    background: color-mix(in srgb, var(--primary) 10%, var(--surface));
    color: var(--primary);
}

.article-reaction.is-active .article-reaction-icon {
    font-variation-settings: 'FILL' 1;
}

.article-reaction-count,
.article-engagement-tally-count {
    font-variant-numeric: tabular-nums;
}

.article-engagement-status {
    flex-basis: 100%;
    margin: 0;
    color: var(--destructive);
    font-size: var(--fs-xs);
    line-height: var(--lh-xs);
}

.article-engagement-status:empty {
    display: none;
}

.article-comments {
    margin-top: var(--space-8);
    scroll-margin-top: calc(var(--news-header-height) + 24px);
}

.article-comments-title {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin: 0 0 var(--space-4);
    font-size: var(--fs-body-lg);
    font-weight: 700;
    line-height: 1.4;
}

.article-comments-count {
    color: var(--muted-foreground);
    font-variant-numeric: tabular-nums;
}

.article-comment-form {
    display: grid;
    gap: var(--space-2);
    margin-bottom: var(--space-6);
}

.article-comment-label {
    color: var(--muted-foreground);
    font-size: var(--fs-xs);
    font-weight: 700;
}

.article-comment-form textarea {
    width: 100%;
    min-height: 96px;
    padding: var(--space-3);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--surface);
    color: var(--surface-foreground);
    font: inherit;
    font-size: var(--fs-sm);
    line-height: 1.65;
    resize: vertical;
}

.article-comment-form textarea:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 1px;
    border-color: transparent;
}

.article-comment-form-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
}

.article-comment-counter {
    color: var(--muted-foreground);
    font-size: var(--fs-xs);
    font-variant-numeric: tabular-nums;
}

.article-comment-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 var(--space-4);
    border: 1px solid transparent;
    border-radius: var(--radius-full);
    background: var(--primary);
    color: var(--primary-foreground);
    font: inherit;
    font-size: var(--fs-sm);
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.article-comment-submit:hover,
.article-comment-submit:focus-visible {
    opacity: 0.88;
}

.article-comment-submit:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.article-comment-submit[disabled] {
    opacity: 0.6;
    cursor: progress;
}

.article-comment-status {
    margin: 0;
    color: var(--muted-foreground);
    font-size: var(--fs-xs);
    line-height: var(--lh-xs);
}

.article-comment-status:empty {
    display: none;
}

.article-comment-status.is-error {
    color: var(--destructive);
}

.article-comment-list {
    display: grid;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.article-comment-list[hidden] {
    display: none;
}

.article-comment {
    display: grid;
    gap: 6px;
    padding: var(--space-4) 0;
    border-top: 1px solid var(--border);
}

.article-comment-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 10px;
    color: var(--muted-foreground);
    font-size: var(--fs-xs);
}

.article-comment-author {
    max-width: 24ch;
    overflow: hidden;
    color: var(--surface-foreground);
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.article-comment-time {
    font-variant-numeric: tabular-nums;
}

.article-comment-author--removed {
    color: var(--muted-foreground);
    font-weight: 600;
}

/* 액션은 본문 아래 한 줄로 모은다. 머리글에 섞으면 작성자·시각과 경쟁해
   무엇이 정보이고 무엇이 버튼인지 구분되지 않는다. */
.article-comment-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-3);
    margin-top: 2px;
}

.article-comment-action {
    padding: 0;
    border: 0;
    background: none;
    color: var(--muted-foreground);
    font: inherit;
    font-size: var(--fs-xs);
    font-weight: 600;
    cursor: pointer;
    transition: color 0.2s ease;
}

.article-comment-action:hover,
.article-comment-action:focus-visible {
    color: var(--surface-foreground);
}

.article-comment-action--danger:hover,
.article-comment-action--danger:focus-visible {
    color: var(--destructive);
}

/* 운영자에게만 보이는 신고 누적 표시. */
.article-comment-flag {
    margin-left: auto;
    padding: 1px 8px;
    border-radius: var(--radius-full);
    background: color-mix(in srgb, var(--destructive) 12%, transparent);
    color: var(--destructive);
    font-size: var(--fs-xs);
    font-weight: 700;
}

/* 답글은 한 단계뿐이므로 들여쓰기도 한 번만 준다. 왼쪽 선이 어느 댓글에
   달린 답글인지 이어 준다. */
.article-comment-replies {
    display: grid;
    gap: 0;
    margin: var(--space-2) 0 0;
    padding: 0 0 0 var(--space-4);
    border-left: 2px solid var(--border);
    list-style: none;
}

.article-comment--reply {
    padding: var(--space-3) 0;
    border-top: 0;
}

.article-comment--reply + .article-comment--reply {
    border-top: 1px solid var(--border);
}

.article-comment-body--removed {
    color: var(--muted-foreground);
    font-style: italic;
}

.article-comment-inline {
    display: grid;
    gap: var(--space-2);
    margin-top: var(--space-3);
    padding: var(--space-3);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: color-mix(in srgb, var(--surface-foreground) 3%, var(--surface));
}

.article-comment-inline textarea,
.article-comment-inline select {
    width: 100%;
    padding: var(--space-2) var(--space-3);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--surface);
    color: var(--surface-foreground);
    font: inherit;
    font-size: var(--fs-sm);
    line-height: 1.6;
    resize: vertical;
}

.article-comment-inline .article-comment-label {
    display: grid;
    gap: 6px;
}

.article-comment-inline-foot {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: var(--space-3);
}

.article-comment-inline-foot .article-comment-counter {
    margin-right: auto;
}

.article-comment-inline-cancel {
    padding: 0 var(--space-2);
    border: 0;
    background: none;
    color: var(--muted-foreground);
    font: inherit;
    font-size: var(--fs-sm);
    font-weight: 600;
    cursor: pointer;
}

.article-comment-inline-cancel:hover,
.article-comment-inline-cancel:focus-visible {
    color: var(--surface-foreground);
}

.article-comment-body {
    margin: 0;
    color: var(--surface-foreground);
    font-size: var(--fs-sm);
    line-height: 1.7;
    overflow-wrap: anywhere;
    /* 서버는 줄바꿈만 남기고 정규화해 보낸다. 그 줄바꿈을 그대로 살린다. */
    white-space: pre-wrap;
}

.article-comment-empty {
    margin: 0;
    padding: var(--space-6) 0;
    border-top: 1px solid var(--border);
    color: var(--muted-foreground);
    font-size: var(--fs-sm);
    text-align: center;
}

.article-comment-empty[hidden] {
    display: none;
}

.article-meta-list,
.article-related-list,
.article-toc-list {
    display: grid;
    gap: 0;
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
}

.article-meta-item,
.article-related-item,
.article-toc-item {
    display: grid;
    gap: 6px;
    padding-top: 12px;
    margin-top: 12px;
    border-top: 1px solid var(--border);
}

.article-meta-item:first-child,
.article-related-item:first-child,
.article-toc-item:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

.article-meta-label {
    color: var(--muted-foreground);
    font-size: var(--fs-xs);
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
}

.article-meta-value {
    font-size: var(--fs-sm);
    font-weight: 600;
    line-height: 1.55;
}

.article-related-link {
    display: grid;
    gap: 6px;
    color: inherit;
    text-decoration: none;
}

.article-toc-link,
.article-copy-link {
    color: inherit;
    font: inherit;
    text-align: left;
    text-decoration: none;
}

.article-toc-link {
    color: var(--muted-foreground);
    font-size: var(--fs-sm);
    font-weight: 600;
    line-height: 1.45;
    transition: color 0.2s ease;
}

.article-toc-link:hover,
.article-toc-link:focus-visible {
    color: var(--surface-foreground);
}

.article-copy-link {
    display: inline-flex;
    width: max-content;
    max-width: 100%;
    min-height: 32px;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--surface);
    color: var(--surface-foreground);
    font-size: var(--fs-sm);
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.article-copy-link:hover,
.article-copy-link:focus-visible {
    border-color: color-mix(in srgb, var(--primary) 35%, var(--border));
    color: var(--primary);
}

.article-related-link-title {
    font-size: var(--fs-body-lg);
    line-height: 1.42;
}

/* 관련 글 요약은 원문 요약(최대 320자)을 그대로 받는다. 자르지 않으면 사이드바가
   본문보다 길어져 sticky 가 붙을 자리를 잃고, 기사 아래가 통째로 빈 칸이 된다.
   짧은 기사에서는 세 줄도 길다(본문 489px 대 사이드바 901px). 두 줄로 줄인다. */
.article-related-link-summary {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
    margin: 0;
    font-size: var(--fs-sm);
    line-height: 1.55;
}


/* 본문이 한 문단뿐인 속보성 기사에서는 관련 글 세 건이 사이드바를 본문의 두 배
   가까이 늘린다. sticky 가 붙을 여유도 없어 그냥 긴 기둥이 된다. 데스크톱에서는
   두 건만 보이고, 세로 공간이 넉넉한 모바일에서는 세 건 모두 유지한다. */
@media (min-width: 1025px) {
    .article-related-item:nth-child(n + 3) {
        display: none;
    }
}

@media (max-width: 1024px) {
    .article-shell,
    .news-index-footer-inner {
        grid-template-columns: 1fr;
    }

    .article-aside {
        position: static;
    }

    .news-index-footer-meta {
        justify-self: start;
        align-items: flex-start;
        text-align: left;
    }

    /* 세로 레일 → 가로 스크롤 행. 스크롤은 레일 안에서만 발생한다. */
    .news-feed-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
        margin-top: 20px;
    }

    .news-scope-nav {
        padding-left: 0;
    }

    .news-rail-inner {
        position: static;
        max-height: none;
        padding-right: 0;
        gap: 10px;
        overflow: visible;
    }

    .news-rail-heading {
        display: none;
    }

    .news-rail-list {
        display: flex;
        gap: 8px;
        padding-bottom: 6px;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        scroll-snap-type: x proximity;
        scrollbar-width: thin;
        -webkit-overflow-scrolling: touch;
    }

    .news-rail-item {
        flex: none;
        scroll-snap-align: start;
    }

    .news-rail-link {
        min-height: 44px;
        min-width: 44px;
        padding: 6px 14px 6px 8px;
        border-color: var(--border);
        background: var(--surface);
    }

    .news-rail-name {
        max-width: 14ch;
    }

    .news-rail-copy {
        display: block;
    }

    .news-rail-meta {
        display: none;
    }

    .news-rail-more {
        width: max-content;
        min-height: 44px;
        margin-top: 0;
        padding-top: var(--space-1);
        border-color: var(--border);
        border-radius: var(--radius-full);
    }

    .news-rail-directory-list {
        grid-template-columns: repeat(auto-fill, minmax(216px, 1fr));
        gap: 4px;
    }
}

@media (max-width: 768px) {
    :root {
        --news-page-gutter: 18px;
    }

    .header-inner {
        gap: 10px;
        justify-content: space-between;
    }









    .news-shell {
        padding-top: 32px;
        padding-bottom: 72px;
    }

    .news-shell--index {
        padding-top: var(--space-6);
        padding-bottom: var(--space-12);
    }

    .news-intro--single {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .news-title--index {
        font-size: var(--fs-display);
    }

    .news-feature-title {
        font-size: var(--fs-display-lg);
    }

    .article-title {
        font-size: var(--fs-display-lg);
    }

    .news-intro {
        padding-bottom: var(--space-2);
    }

    .news-intro-side {
        gap: var(--space-4);
        padding-bottom: 0;
    }

    /* 소개 문구를 통째로 감추면 처음 온 사람에게 이 페이지가 무엇인지 알려 줄
       단서가 제목 하나만 남는다. 두 줄로 묶어 자리는 아끼되 남긴다. */
    .news-intro--all .news-dek,
    .news-intro--official .news-dek,
    .news-intro--community .news-dek {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        overflow: hidden;
        margin-top: var(--space-1);
    }

    .news-intro-side .news-subscribe-button {
        min-height: 44px;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        color: var(--muted-foreground);
    }

    .news-intro-side .news-feed-link {
        min-height: 44px;
    }

    .news-intro--publisher {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .news-publisher-identity {
        gap: 14px;
    }

    .news-avatar--lg {
        width: 52px;
        height: 52px;
        font-size: 21px;
    }

    .news-title--publisher {
        font-size: var(--fs-display-lg);
    }

    .news-feed-item,
    .news-feed-item--lead {
        grid-template-columns: minmax(0, 1fr);
        gap: 6px 12px;
        padding: 14px 0;
    }

    .news-feed-item--media,
    .news-feed-item--lead.news-feed-item--media {
        grid-template-columns: minmax(0, 1fr) 84px;
    }

    /* 좁은 화면에서는 날짜를 오른쪽 열에 세울 자리가 없다. 메타 줄로 내린다. */
    /* 좁은 화면에서 날짜를 자기 줄에 두면 한 기사가 제목/출처/날짜 3줄을 써서
       한 화면에 다섯 건밖에 안 들어온다. 출처·주제와 같은 줄 오른쪽 끝에
       붙여 한 줄을 줄인다. flex 컨테이너인 .news-feed-identity 안으로
       옮기는 대신, 그리드 자리만 겹쳐 두고 메타 줄에 맞춰 정렬한다. */
    .news-feed-time {
        grid-column: 1;
        grid-row: auto;
        margin-top: -1.7em;
        align-self: start;
        justify-self: end;
    }

    .news-feed-item--media .news-feed-media {
        grid-column: 2;
        grid-row: 1 / span 2;
    }

    .news-feed-item--lead .news-feed-content {
        gap: 8px;
    }

    .news-feed-title {
        font-size: var(--fs-body-lg);
        line-height: 1.4;
    }

    .news-feed-item--lead .news-feed-title {
        font-size: var(--fs-body-lg);
        line-height: 1.4;
    }

    .news-feed-summary {
        font-size: var(--fs-sm);
        line-height: 1.6;
    }

    .news-feed-item--lead .news-feed-summary {
        font-size: var(--fs-sm);
        line-height: 1.6;
    }

    .news-category-bar {
        gap: 16px;
        padding-bottom: 2px;
        flex-wrap: nowrap;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        scrollbar-width: thin;
        -webkit-overflow-scrolling: touch;
    }

    .news-category-tab {
        flex: none;
        min-height: 44px;
        font-size: var(--fs-body);
    }

    .news-rail-list,
    .news-rail-more,
    .news-rail-directory {
        display: none;
    }

    .news-rail-mobile-directory {
        display: flex;
        align-items: center;
        gap: var(--space-2);
        min-height: 44px;
        padding: var(--space-1) 0;
        border-top: 1px solid var(--border);
        border-bottom: 1px solid var(--border);
        color: var(--surface-foreground);
        font-size: var(--fs-sm);
        font-weight: 600;
        text-decoration: none;
    }

    .news-rail-mobile-directory .hz-icon {
        font-size: 18px;
    }

    .news-rail-mobile-avatars {
        display: inline-flex;
        align-items: center;
        min-width: var(--control-h-s);
    }

    .news-rail-mobile-avatars .news-avatar + .news-avatar {
        margin-left: calc(var(--space-2) * -1);
    }

    .news-rail-mobile-avatars .news-avatar {
        border-color: var(--background);
    }

    .news-rail-mobile-count {
        margin-left: auto;
        color: var(--muted-foreground);
        font-variant-numeric: tabular-nums;
    }

    .news-rail-mobile-arrow {
        color: var(--muted-foreground);
    }

    .news-publisher-directory-link {
        grid-template-columns: auto minmax(0, 1fr) auto;
        gap: var(--space-3);
    }

    .news-publisher-directory-meta {
        grid-column: 2 / -1;
        grid-row: 2;
        text-align: left;
    }

    .news-publisher-directory-arrow {
        grid-column: 3;
        grid-row: 1;
    }

    .news-scope-nav {
        gap: var(--space-2);
        min-height: 44px;
        margin-top: var(--space-1);
        padding: 0 0 var(--space-1);
        border-bottom: 0;
    }

    .news-scope-link {
        min-height: 44px;
        padding: 0 var(--space-3);
        border: 1px solid var(--border);
        border-radius: var(--radius-full);
        background: var(--surface);
        color: var(--muted-foreground);
        font-size: var(--fs-sm);
        font-weight: 600;
        text-decoration: none;
    }

    .news-scope-link::after {
        display: none;
    }

    .news-scope-link[aria-current="page"] {
        border-color: color-mix(in srgb, var(--primary) 34%, var(--border));
        background: color-mix(in srgb, var(--primary) 10%, transparent);
        color: var(--surface-foreground);
        font-weight: 700;
    }

    .news-scope-link:focus-visible {
        outline: 2px solid var(--primary);
        outline-offset: 2px;
    }

    .news-scope-nav + .news-feed-layout {
        margin-top: var(--space-4);
    }

    .news-stream-toolbar {
        gap: var(--space-2);
        margin-bottom: 0;
    }

    .news-stream-heading h2 {
        font-size: var(--fs-body-lg);
    }

    .news-section-header {
        align-items: start;
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    .article-title {
        font-size: var(--fs-h1);
        line-height: 1.24;
        word-break: break-all;
    }

    .article-dek {
        max-width: 100%;
        font-size: var(--fs-body);
    }

    .article-body,
    .article-body p,
    .article-body li {
        word-break: break-all;
    }
}

@media (max-width: 480px) {

    .news-main {
        padding-top: calc(var(--news-header-height) + 16px);
    }

    .news-shell {
        padding-top: 24px;
        padding-bottom: 56px;
    }

    .news-index-footer-inner {
        padding-bottom: 28px;
    }

    .news-title--index,
    .news-feature-title {
        font-size: var(--fs-display);
        line-height: 1.16;
    }

    .article-title {
        font-size: var(--fs-h1);
        line-height: 1.24;
    }

    .article-body {
        font-size: var(--fs-body);
        line-height: 1.76;
    }

    .news-feed-item--media {
        grid-template-columns: minmax(0, 1fr) 96px;
    }

    .news-feed-item--lead.news-feed-item--media {
        grid-template-columns: minmax(0, 1fr) 96px;
    }

    .news-feed-publisher-name {
        max-width: 16ch;
    }

    .news-rail-directory-list {
        grid-template-columns: minmax(0, 1fr);
    }

    .news-publisher-directory-link {
        align-items: start;
        padding-inline: 0;
    }

    .news-publisher-directory-main {
        grid-template-columns: minmax(0, 1fr);
    }

    .news-publisher-directory-meta {
        grid-column: 2 / -1;
    }

    .article-report-toggle,
    .article-report-submit,
    .article-report-cancel,
    .article-report-form select,
    .article-reaction,
    .article-engagement-tally,
    .article-comment-submit {
        min-height: 44px;
    }

    .article-comment-action,
    .article-comment-inline-cancel {
        min-height: 44px;
    }

    .article-engagement {
        margin-top: var(--space-6);
    }
}

/* 대비 강화 테마에서 현재 위치는 색상만으로 구분되지 않는다. */
:root[data-theme="hc-light"] .news-rail-link[aria-current="page"],
:root[data-theme="hc-dark"] .news-rail-link[aria-current="page"],
:root[data-theme="colorblind"] .news-rail-link[aria-current="page"],
:root[data-theme="hc-light"] .news-rail-directory-link[aria-current="page"],
:root[data-theme="hc-dark"] .news-rail-directory-link[aria-current="page"],
:root[data-theme="colorblind"] .news-rail-directory-link[aria-current="page"],
:root[data-theme="hc-light"] .news-category-tab[aria-current="page"],
:root[data-theme="hc-dark"] .news-category-tab[aria-current="page"],
:root[data-theme="colorblind"] .news-category-tab[aria-current="page"] {
    border-color: var(--primary);
    background: color-mix(in srgb, var(--primary) 16%, transparent);
}

@media (max-width: 768px) {
    :root[data-theme="hc-light"] .news-scope-link[aria-current="page"],
    :root[data-theme="hc-dark"] .news-scope-link[aria-current="page"],
    :root[data-theme="colorblind"] .news-scope-link[aria-current="page"] {
        border-color: var(--primary);
        background: color-mix(in srgb, var(--primary) 16%, transparent);
    }
}

:root[data-theme="hc-light"] .news-badge,
:root[data-theme="hc-dark"] .news-badge,
:root[data-theme="colorblind"] .news-badge {
    border-color: var(--border-strong);
}

@media (prefers-reduced-motion: reduce) {
    .news-rail-link,
    .news-rail-more,
    .news-rail-directory-link,
    .news-rail-directory-all,
    .news-rail-more-arrow,
    .news-feed-title,
    .news-feed-publisher,
    .news-scope-link,
    .news-scope-link::after,
    .news-category-tab,
    .news-category-count,
    .news-subscribe-button,
    .news-feed-link,
    .news-index-footer-feed,
    .article-copy-link,
    .news-publisher-directory-link,
    .article-report-toggle,
    .article-report-submit,
    .article-report-cancel,
    .article-toc-link,
    .article-reaction,
    .article-reaction-icon,
    .article-comment-submit,
    .article-comment-action,
    .article-owner-action,
    .login-btn,
    .nav-link,
    .nav-link::after,
    .news-header-product {
        transition: none;
    }

    .login-btn:hover {
        transform: none;
    }

    .news-rail-list {
        scroll-behavior: auto;
    }
}
