/* ================================================================
   RIVULET LAB — DISPATCHES / news.html
   Editorial skin for the news index + the article reading overlay.
   Loaded after pages.css so it can replace the older card/pill system.
   ================================================================ */

.rlx-news {
    --nx-paper: #f2f0e8;
    --nx-paper-deep: #e9e5d8;
    --nx-ink: #0b0b0b;
    --nx-blue: #1456f0;
    --nx-blue-soft: #8cb0ff;
    --nx-navy: #081a3c;
    --nx-muted: rgba(11, 11, 11, 0.64);
    --nx-faint: rgba(11, 11, 11, 0.42);
    --nx-line: rgba(11, 11, 11, 0.17);
    --nx-line-strong: rgba(11, 11, 11, 0.72);
    --nx-pad: clamp(20px, 4.4vw, 76px);
    --nx-ease: cubic-bezier(0.22, 1, 0.36, 1);
    --nx-sans: 'Google Sans Flex', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --nx-serif: 'Songti SC', 'STSong', 'Noto Serif CJK SC', 'Source Han Serif SC', 'SimSun', serif;
    --nx-mono: 'SFMono-Regular', 'Cascadia Mono', 'Roboto Mono', Consolas, 'Liberation Mono', monospace;
    background: var(--nx-paper);
    color: var(--nx-ink);
    font-family: var(--nx-sans);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.rlx-news ::selection {
    background: var(--nx-blue);
    color: #fff;
}

.rlx-news .page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--nx-paper);
}

.rlx-news .page-wrap {
    width: 100%;
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 var(--nx-pad);
}

/* ----------------------------------------------------------------
   Masthead
   ---------------------------------------------------------------- */

.nx-mast {
    position: relative;
    padding: 0 var(--nx-pad);
    background: var(--nx-paper);
    border-bottom: 1px solid var(--nx-line-strong);
}

.nx-mast-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px 0;
    border-bottom: 1px solid var(--nx-line);
    color: var(--nx-faint);
    font-family: var(--nx-mono);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.nx-mast-meta span:nth-child(2) {
    color: var(--nx-muted);
}

.nx-mast-grid {
    display: grid;
    /* 编号列 1.05fr × 1.1 = 1.155fr */
    grid-template-columns: 1.155fr 3.1fr 1.85fr;
    align-items: stretch;
    gap: clamp(28px, 4vw, 72px);
    padding: clamp(42px, 7vw, 94px) 0 clamp(34px, 5vw, 68px);
}

/* 数字宽度约等于字号（两位 tabular-nums），字号超过列宽会把整行撑爆、
   右侧内容被推出 overflow:clip 裁切区。允许列收缩 + 字号跟随列宽。 */
.nx-mast-grid > * {
    min-width: 0;
}

.nx-fig {
    align-self: end;
    margin: 0;
    color: var(--nx-blue);
    font-size: clamp(8rem, 14vw, 17rem);
    font-weight: 600;
    /* 同上：避免字形（约 0.72em）溢出 line box */
    line-height: 0.78;
    letter-spacing: -0.11em;
    font-variant-numeric: tabular-nums;
}

.nx-mast-main {
    align-self: center;
    min-width: 0;
}

.nx-kicker {
    margin: 0 0 20px;
    color: var(--nx-blue);
    font-family: var(--nx-mono);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.rlx-news .nx-title {
    margin: 0;
    color: var(--nx-ink);
    font-family: var(--nx-sans);
    font-size: clamp(4rem, 9vw, 10rem);
    font-weight: 600;
    line-height: 0.84;
    letter-spacing: -0.08em;
    animation: nx-rise 0.7s var(--nx-ease) both;
}

.rlx-news .nx-desc {
    max-width: 40ch;
    margin: clamp(24px, 3vw, 38px) 0 0;
    color: var(--nx-muted);
    font-family: var(--nx-serif);
    font-size: clamp(1.18rem, 1.65vw, 1.55rem);
    font-weight: 400;
    line-height: 1.75;
    letter-spacing: -0.02em;
    animation: nx-rise 0.7s var(--nx-ease) 0.08s both;
}

.nx-mast-side {
    display: flex;
    flex-direction: column;
    align-self: stretch;
    justify-content: flex-end;
    min-width: 0;
    padding-left: clamp(18px, 2.2vw, 32px);
    border-left: 1px solid var(--nx-line-strong);
}

.nx-side-label {
    margin: 0 0 22px;
    color: var(--nx-blue);
    font-family: var(--nx-mono);
    font-size: 12px;
    line-height: 1.5;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.nx-side-copy {
    max-width: 26ch;
    margin: 0 0 28px;
    color: var(--nx-muted);
    font-size: 14px;
    line-height: 1.8;
}

.rlx-news .nx-stats {
    display: flex;
    animation: none;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--nx-line);
}

.rlx-news .nx-stats .meta-chip {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 11px 0;
    border: 0;
    border-bottom: 1px solid var(--nx-line);
    border-radius: 0;
    background: transparent;
    color: var(--nx-muted);
    font-family: var(--nx-mono);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.04em;
    animation: none;
}

.rlx-news .nx-stats .meta-chip i {
    color: var(--nx-blue);
    font-size: 12px;
}

.nx-mast-foot {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding: 10px 0 16px;
    border-top: 1px solid var(--nx-line);
    color: var(--nx-faint);
    font-family: var(--nx-mono);
    font-size: 12px;
    line-height: 1.4;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

/* ----------------------------------------------------------------
   Search + filter rail
   ---------------------------------------------------------------- */

.rlx-news .toolbar {
    position: sticky;
    top: 0;
    z-index: 500;
    padding: 0;
    background: rgba(242, 240, 232, 0.94);
    -webkit-backdrop-filter: blur(14px) saturate(1.15);
    backdrop-filter: blur(14px) saturate(1.15);
    border-top: 1px solid var(--nx-line-strong);
    border-bottom: 1px solid var(--nx-line-strong);
}

.rlx-news .nx-toolbar-inner {
    display: flex;
    align-items: center;
    gap: clamp(18px, 2.5vw, 36px);
    min-height: 68px;
    padding-top: 10px;
    padding-bottom: 10px;
    flex-wrap: wrap;
}

.rlx-news .tool-search {
    position: relative;
    flex: 0 1 380px;
    min-width: 220px;
}

.rlx-news .tool-search i {
    left: 13px;
    top: 50%;
    color: var(--nx-blue);
    font-size: 13px;
}

.rlx-news .tool-search input {
    width: 100%;
    height: 44px;
    padding: 0 14px 0 38px;
    border: 1px solid var(--nx-line-strong);
    border-radius: 0;
    background: transparent;
    color: var(--nx-ink);
    font-family: var(--nx-sans);
    font-size: 14px;
    outline: none;
    transition: border-color 0.25s ease, background-color 0.25s ease;
}

.rlx-news .tool-search input::placeholder {
    color: var(--nx-faint);
}

.rlx-news .tool-search input:focus {
    border-color: var(--nx-blue);
    background: rgba(255, 255, 255, 0.28);
}

.rlx-news .chips {
    display: flex;
    align-items: center;
    gap: 0;
    flex-wrap: wrap;
    margin-left: auto;
}

.rlx-news .chips::before {
    content: 'Filter / 筛选';
    margin-right: 14px;
    color: var(--nx-faint);
    font-family: var(--nx-mono);
    font-size: 12px;
    line-height: 1.4;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.rlx-news .chip {
    padding: 10px 14px;
    border: 1px solid var(--nx-line);
    border-right: 0;
    border-radius: 0;
    background: transparent;
    color: var(--nx-muted);
    font-family: var(--nx-sans);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.25s ease, color 0.25s ease,
        border-color 0.25s ease;
}

.rlx-news .chip:last-child {
    border-right: 1px solid var(--nx-line);
}

.rlx-news .chip:hover {
    border-color: var(--nx-blue);
    background: var(--nx-blue);
    color: #fff;
}

.rlx-news .chip.on {
    border-color: var(--nx-ink);
    background: var(--nx-ink);
    color: var(--nx-paper);
}

/* ----------------------------------------------------------------
   Index
   ---------------------------------------------------------------- */

.rlx-news .nx-wrap {
    padding-bottom: clamp(80px, 10vw, 150px);
}

.nx-index-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 24px;
    padding: 24px 0 12px;
    border-bottom: 1px solid var(--nx-line-strong);
    color: var(--nx-faint);
    font-family: var(--nx-mono);
    font-size: 12px;
    line-height: 1.5;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.nx-index-head span:last-child {
    text-align: right;
}

.rlx-news .news-list {
    counter-reset: dispatch;
    display: block;
    padding: 0;
}

.rlx-news .news-item {
    position: relative;
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr) 44px;
    align-items: center;
    gap: clamp(18px, 3vw, 46px);
    padding: clamp(24px, 3.2vw, 40px) 0;
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--nx-line);
    border-radius: 0;
    box-shadow: none;
    color: var(--nx-ink);
    cursor: pointer;
    opacity: 1;
    filter: none;
    transform: none;
    animation: nx-item-in 0.55s var(--nx-ease) both;
    transition: background-color 0.35s ease, color 0.35s ease,
        padding 0.4s var(--nx-ease);
}

.rlx-news .news-item::after {
    display: none;
}

.rlx-news .news-item:hover {
    padding-left: 20px;
    padding-right: 20px;
    background: var(--nx-blue);
    color: #fff;
    border-color: var(--nx-blue);
    box-shadow: none;
    transform: none;
}

.rlx-news .news-item:focus-visible {
    outline: 2px solid var(--nx-blue);
    outline-offset: 2px;
}

.rlx-news .news-date {
    counter-increment: dispatch;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    align-items: end;
    gap: 4px 10px;
    font-family: var(--nx-mono);
    color: var(--nx-ink);
}

.rlx-news .news-date::before {
    content: '(' counter(dispatch, decimal-leading-zero) ')';
    grid-column: 1 / -1;
    margin-bottom: 4px;
    color: var(--nx-faint);
    font-family: var(--nx-mono);
    font-size: 12px;
    line-height: 1.4;
    letter-spacing: 0.08em;
}

.rlx-news .news-date .d-day {
    color: var(--nx-ink);
    font-family: var(--nx-sans);
    font-size: clamp(2.6rem, 4.4vw, 4.7rem);
    font-weight: 600;
    line-height: 0.82;
    letter-spacing: -0.07em;
}

.rlx-news .news-date .d-ym {
    align-self: end;
    padding-bottom: 4px;
    color: var(--nx-faint);
    font-family: var(--nx-mono);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 0.04em;
}

.rlx-news .news-main {
    min-width: 0;
}

.rlx-news .news-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin: 0 0 10px;
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: var(--nx-blue);
    font-family: var(--nx-mono);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.rlx-news .news-tag i {
    font-size: 12px;
}

.rlx-news .news-title {
    margin: 0 0 8px;
    overflow: visible;
    color: var(--nx-ink);
    font-family: var(--nx-sans);
    font-size: clamp(1.45rem, 2.65vw, 2.7rem);
    font-weight: 500;
    line-height: 1.18;
    letter-spacing: -0.045em;
    text-overflow: clip;
    white-space: normal;
}

.rlx-news .news-summary {
    display: -webkit-box;
    max-width: 72ch;
    overflow: hidden;
    color: var(--nx-muted);
    font-size: 14.5px;
    line-height: 1.75;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.rlx-news .news-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border: 1px solid var(--nx-line-strong);
    border-radius: 0;
    background: transparent;
    color: var(--nx-blue);
    font-size: 14px;
    transition: background-color 0.3s ease, color 0.3s ease,
        border-color 0.3s ease, transform 0.35s var(--nx-ease);
}

.rlx-news .news-item:hover .news-title,
.rlx-news .news-item:hover .news-date .d-day {
    color: #fff;
}

.rlx-news .news-item:hover .news-date::before,
.rlx-news .news-item:hover .news-date .d-ym,
.rlx-news .news-item:hover .news-summary {
    color: rgba(255, 255, 255, 0.68);
}

.rlx-news .news-item:hover .news-tag,
.rlx-news .news-item:hover .news-tag i {
    color: #fff;
}

.rlx-news .news-item:hover .news-arrow {
    border-color: rgba(255, 255, 255, 0.65);
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    transform: translateX(4px);
}

.rlx-news .news-item:nth-child(1) { animation-delay: 0ms; }
.rlx-news .news-item:nth-child(2) { animation-delay: 55ms; }
.rlx-news .news-item:nth-child(3) { animation-delay: 110ms; }
.rlx-news .news-item:nth-child(4) { animation-delay: 165ms; }
.rlx-news .news-item:nth-child(5) { animation-delay: 220ms; }
.rlx-news .news-item:nth-child(6) { animation-delay: 275ms; }
.rlx-news .news-item:nth-child(n + 7) { animation-delay: 330ms; }

@keyframes nx-item-in {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: none; }
}

@keyframes nx-rise {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: none; }
}

/* ----------------------------------------------------------------
   Empty / loading states
   ---------------------------------------------------------------- */

.rlx-news .skeleton {
    height: 120px;
    border-bottom: 1px solid var(--nx-line);
    border-radius: 0;
    background: rgba(11, 11, 11, 0.045);
    animation: nx-pulse 1.1s ease-in-out infinite alternate;
}

@keyframes nx-pulse {
    from { opacity: 0.45; }
    to { opacity: 0.9; }
}

.rlx-news .state-box {
    position: relative;
    padding: clamp(70px, 10vw, 130px) 0;
    border-bottom: 1px solid var(--nx-line);
    text-align: left;
    color: var(--nx-muted);
}

.rlx-news .state-box .state-icon {
    width: auto;
    height: auto;
    margin: 0 0 20px;
    border-radius: 0;
    background: transparent;
    color: var(--nx-blue);
    font-size: 28px;
}

.rlx-news .state-box h3 {
    margin: 0 0 10px;
    color: var(--nx-ink);
    font-size: 1.6rem;
    font-weight: 600;
    letter-spacing: -0.04em;
}

.rlx-news .state-box p {
    max-width: 56ch;
    margin: 0;
    color: var(--nx-muted);
    font-size: 14px;
    line-height: 1.8;
}

.rlx-news .state-box code {
    padding: 2px 6px;
    border: 1px solid var(--nx-line);
    border-radius: 0;
    background: transparent;
    color: var(--nx-blue);
    font-family: var(--nx-mono);
    font-size: 13px;
}

/* ----------------------------------------------------------------
   Article overlay — full-screen reading sheet
   ---------------------------------------------------------------- */

.rlx-news .article-overlay {
    background: rgba(8, 26, 60, 0.55);
    -webkit-backdrop-filter: blur(9px);
    backdrop-filter: blur(9px);
}

.rlx-news .article-sheet {
    top: 0;
    right: 0;
    width: 100%;
    max-width: none;
    height: 100%;
    background: var(--nx-paper);
    box-shadow: none;
    filter: none;
    opacity: 0;
    transform: translateY(22px);
    transition: transform 0.42s var(--nx-ease), opacity 0.42s var(--nx-ease);
}

.rlx-news .article-overlay.open .article-sheet {
    filter: none;
    opacity: 1;
    transform: none;
}

.rlx-news .article-bar {
    display: flex;
    align-items: center;
    gap: 18px;
    min-height: 64px;
    padding: 0 var(--nx-pad);
    border-bottom: 1px solid var(--nx-line-strong);
    background: var(--nx-paper);
}

.rlx-news .article-bar .bar-tag {
    padding: 6px 10px;
    border: 1px solid var(--nx-line-strong);
    color: var(--nx-blue);
    font-family: var(--nx-mono);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.nx-article-kicker {
    color: var(--nx-faint);
    font-family: var(--nx-mono);
    font-size: 12px;
    line-height: 1.4;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.rlx-news .article-close {
    width: 42px;
    height: 42px;
    margin-left: auto;
    border: 1px solid var(--nx-line-strong);
    border-radius: 0;
    background: transparent;
    color: var(--nx-ink);
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.25s ease, color 0.25s ease,
        border-color 0.25s ease;
}

.rlx-news .article-close:hover {
    border-color: var(--nx-blue);
    background: var(--nx-blue);
    color: #fff;
    transform: none;
}

.rlx-news .article-scroll {
    flex: 1;
    overflow-y: auto;
    padding: clamp(52px, 8vw, 110px) var(--nx-pad) 130px;
    scrollbar-width: thin;
    scrollbar-color: rgba(11, 11, 11, 0.3) transparent;
}

.rlx-news .article-head {
    position: relative;
    max-width: 880px;
    margin: 0 auto clamp(44px, 6vw, 78px);
    padding: 0 0 clamp(30px, 4vw, 50px);
    border-bottom: 1px solid var(--nx-line-strong);
}

.rlx-news .article-head::before {
    content: 'Dispatch / 动态正文';
    display: block;
    margin-bottom: 22px;
    color: var(--nx-blue);
    font-family: var(--nx-mono);
    font-size: 12px;
    line-height: 1.5;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.rlx-news .article-head h1,
.rlx-news .article-head h2 {
    max-width: 100%;
    margin: 0 0 clamp(24px, 3vw, 36px);
    color: var(--nx-ink);
    font-family: var(--nx-sans);
    font-size: clamp(2.6rem, 4.8vw, 5.4rem);
    font-weight: 600;
    line-height: 0.98;
    letter-spacing: -0.06em;
}

.rlx-news .article-info {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    color: var(--nx-muted);
    font-family: var(--nx-mono);
    font-size: 12px;
    line-height: 1.6;
    letter-spacing: 0.02em;
}

.rlx-news .article-info i {
    margin-right: 6px;
    color: var(--nx-blue);
}

.rlx-news .md-loading {
    padding: 50px 0;
    color: var(--nx-faint);
    font-size: 14px;
}

.rlx-news .md-body {
    max-width: 880px;
    margin: 0 auto;
    color: #292929;
    font-size: 17.5px;
    line-height: 1.95;
    word-wrap: break-word;
}

.rlx-news .md-body h1,
.rlx-news .md-body h2,
.rlx-news .md-body h3,
.rlx-news .md-body h4,
.rlx-news .md-body h5,
.rlx-news .md-body h6 {
    color: var(--nx-ink);
    font-family: var(--nx-sans);
    font-weight: 600;
    letter-spacing: -0.04em;
    line-height: 1.18;
    scroll-margin-top: 90px;
}

.rlx-news .md-body h1 {
    margin: 1.7em 0 0.6em;
    font-size: clamp(2rem, 3.4vw, 2.8rem);
}

.rlx-news .md-body h2 {
    margin: 2.2em 0 0.75em;
    padding-top: 1em;
    border-top: 1px solid var(--nx-line-strong);
    font-size: clamp(1.6rem, 2.6vw, 2.1rem);
}

.rlx-news .md-body h3 {
    margin: 1.9em 0 0.65em;
    font-size: 1.4rem;
}

.rlx-news .md-body h4 {
    margin: 1.7em 0 0.55em;
    color: var(--nx-blue);
    font-size: 1.1rem;
}

.rlx-news .md-body p {
    margin: 0 0 1.15em;
}

.rlx-news .md-body a {
    color: var(--nx-blue);
    text-decoration: none;
    border-bottom: 1px solid rgba(20, 86, 240, 0.35);
    transition: border-color 0.25s ease;
}

.rlx-news .md-body a:hover {
    border-color: var(--nx-blue);
}

.rlx-news .md-body strong {
    color: var(--nx-ink);
    font-weight: 700;
}

.rlx-news .md-body em {
    color: var(--nx-blue);
    font-style: italic;
}

.rlx-news .md-body del {
    color: var(--nx-faint);
}

.rlx-news .md-body ul,
.rlx-news .md-body ol {
    margin: 0 0 1.2em;
    padding-left: 1.5em;
}

.rlx-news .md-body li {
    margin-bottom: 0.45em;
}

.rlx-news .md-body li::marker {
    color: var(--nx-blue);
    font-weight: 600;
}

.rlx-news .md-body blockquote {
    margin: 2em 0;
    padding: 8px 0 8px 28px;
    border-left: 4px solid var(--nx-blue);
    color: var(--nx-ink);
    font-family: var(--nx-serif);
    font-size: 1.16em;
    line-height: 1.75;
}

.rlx-news .md-body blockquote p:last-child {
    margin-bottom: 0;
}

.rlx-news .md-body hr {
    margin: 2.7em 0;
    border: none;
    border-top: 1px solid var(--nx-line-strong);
}

.rlx-news .md-body code {
    padding: 2px 6px;
    border: 1px solid rgba(20, 86, 240, 0.16);
    border-radius: 0;
    background: rgba(20, 86, 240, 0.06);
    color: var(--nx-blue);
    font-family: var(--nx-mono);
    font-size: 0.84em;
}

.rlx-news .md-body .md-code {
    margin: 1.8em 0;
    padding: 22px 24px;
    border-radius: 0;
    background: var(--nx-navy);
    overflow-x: auto;
}

.rlx-news .md-body .md-code code {
    padding: 0;
    border: 0;
    background: transparent;
    color: #dbe6ff;
    font-size: 0.84em;
    line-height: 1.75;
}

.rlx-news .md-body img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    margin: 2em auto;
    border: 1px solid var(--nx-line-strong);
    border-radius: 0;
    filter: none;
}

.rlx-news .md-table-wrap {
    margin: 1.8em 0;
    overflow-x: auto;
}

.rlx-news .md-body table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
    line-height: 1.6;
}

.rlx-news .md-body th,
.rlx-news .md-body td {
    padding: 11px 14px;
    border: 1px solid var(--nx-line);
    text-align: left;
}

.rlx-news .md-body th {
    background: var(--nx-paper-deep);
    color: var(--nx-ink);
    font-weight: 600;
}

.rlx-news .md-body.enter,
.rlx-news .article-head.enter {
    animation: nx-rise 0.55s var(--nx-ease) both;
}

/* ----------------------------------------------------------------
   Responsive
   ---------------------------------------------------------------- */

@media (max-width: 1100px) {
    .nx-mast-grid {
        grid-template-columns: 0.935fr 2.8fr;
    }

    .nx-fig {
        grid-column: 1;
        grid-row: 1 / 3;
        font-size: clamp(8rem, 19vw, 15rem);
    }

    .nx-mast-main {
        grid-column: 2;
    }

    .nx-mast-side {
        grid-column: 1 / 3;
        padding: 22px 0 0;
        border-top: 1px solid var(--nx-line);
        border-left: 0;
    }

    .nx-side-copy {
        max-width: 54ch;
        margin-bottom: 18px;
    }

    .rlx-news .nx-stats {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        border-top: 0;
    }

    .rlx-news .nx-stats .meta-chip {
        border-top: 1px solid var(--nx-line);
        border-bottom: 0;
        border-right: 1px solid var(--nx-line);
        padding-right: 16px;
    }

    .rlx-news .nx-stats .meta-chip:last-child {
        border-right: 0;
        padding-left: 16px;
    }

    .rlx-news .news-item {
        grid-template-columns: 88px minmax(0, 1fr) 44px;
    }
}

@media (max-width: 820px) {
    .nx-mast-meta span:nth-child(2) {
        display: none;
    }

    .nx-mast-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        padding-top: 40px;
    }

    .nx-fig {
        grid-column: 1;
        grid-row: auto;
        align-self: start;
        font-size: clamp(7.5rem, 30vw, 12rem);
        line-height: 0.8;
    }

    .nx-mast-main,
    .nx-mast-side {
        grid-column: 1;
    }

    .rlx-news .nx-title {
        font-size: clamp(3.6rem, 14vw, 7rem);
    }

    .rlx-news .nx-desc {
        font-size: clamp(1.1rem, 4vw, 1.35rem);
        line-height: 1.7;
    }

    .nx-mast-side {
        padding-top: 20px;
    }

    .nx-mast-foot {
        font-size: 12px;
    }

    .rlx-news .nx-toolbar-inner {
        gap: 14px;
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .rlx-news .tool-search {
        flex: 1 1 100%;
    }

    .rlx-news .chips {
        width: 100%;
        margin-left: 0;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 2px;
        scrollbar-width: none;
    }

    .rlx-news .chips::-webkit-scrollbar {
        display: none;
    }

    .rlx-news .chips::before {
        flex: 0 0 auto;
    }

    .rlx-news .chip {
        flex: 0 0 auto;
    }

    .rlx-news .news-item {
        grid-template-columns: minmax(0, 1fr) 42px;
        gap: 12px 18px;
        padding: 24px 0;
    }

    .rlx-news .news-item:hover {
        padding-left: 12px;
        padding-right: 12px;
    }

    .rlx-news .news-date {
        grid-column: 1;
        grid-row: 1;
        display: flex;
        flex-direction: row;
        align-items: baseline;
        gap: 8px;
    }

    .rlx-news .news-date::before {
        margin: 0;
    }

    .rlx-news .news-date .d-day {
        font-size: 2.2rem;
    }

    .rlx-news .news-date .d-ym {
        padding-bottom: 0;
    }

    .rlx-news .news-main {
        grid-column: 1;
        grid-row: 2;
    }

    .rlx-news .news-arrow {
        grid-column: 2;
        grid-row: 1 / 3;
        align-self: center;
    }

    .rlx-news .news-title {
        font-size: clamp(1.4rem, 5vw, 2rem);
    }

    .rlx-news .news-summary {
        font-size: 14px;
    }

    .nx-index-head {
        padding-top: 18px;
    }

    .nx-index-head span:last-child {
        display: none;
    }

    .rlx-news .article-head h1,
    .rlx-news .article-head h2 {
        max-width: 100%;
        font-size: clamp(2.2rem, 8vw, 3.6rem);
    }

    .rlx-news .md-body {
        font-size: 16.5px;
        line-height: 1.9;
    }

    .rlx-news .article-scroll {
        padding-top: 48px;
        padding-bottom: 100px;
    }
}

@media (max-width: 560px) {
    .nx-mast-meta {
        flex-wrap: wrap;
        gap: 4px 12px;
        padding: 13px 0;
        font-size: 12px;
        letter-spacing: 0.06em;
    }

    .nx-mast-meta span {
        white-space: nowrap;
    }

    .nx-mast-meta span:last-child {
        margin-left: auto;
    }

    .nx-mast-foot span:last-child {
        display: none;
    }

    .nx-mast-grid {
        padding-top: 34px;
        padding-bottom: 34px;
    }

    .nx-fig {
        font-size: clamp(7rem, 30vw, 9.5rem);
    }

    .rlx-news .nx-title {
        font-size: clamp(3.2rem, 16vw, 5.2rem);
    }

    .rlx-news .nx-desc {
        margin-top: 20px;
        font-size: clamp(1.05rem, 4.8vw, 1.25rem);
        line-height: 1.7;
    }

    .nx-side-label {
        margin-bottom: 14px;
    }

    .nx-side-copy {
        font-size: 13px;
        line-height: 1.75;
    }

    .rlx-news .nx-stats {
        grid-template-columns: 1fr;
    }

    .rlx-news .nx-stats .meta-chip {
        border-right: 0;
        border-bottom: 1px solid var(--nx-line);
        padding: 10px 0;
    }

    .rlx-news .nx-stats .meta-chip:last-child {
        border-bottom: 0;
        padding-left: 0;
    }

    .rlx-news .chip {
        padding: 9px 12px;
    }

    .rlx-news .chips::before {
        font-size: 12px;
        margin-right: 10px;
    }

    .rlx-news .news-list {
        padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 40px);
    }

    .rlx-news .news-item {
        grid-template-columns: minmax(0, 1fr) 38px;
        gap: 10px 14px;
    }

    .rlx-news .news-arrow {
        width: 38px;
        height: 38px;
    }

    .rlx-news .news-title {
        font-size: 1.35rem;
        line-height: 1.25;
    }

    .rlx-news .news-summary {
        font-size: 13.5px;
        line-height: 1.7;
    }

    .rlx-news .article-bar {
        gap: 10px;
        min-height: 58px;
        padding: 0 18px;
    }

    .rlx-news .article-bar .bar-tag {
        padding: 5px 8px;
        font-size: 12px;
    }

    .nx-article-kicker {
        display: none;
    }

    .rlx-news .article-close {
        width: 38px;
        height: 38px;
    }

    .rlx-news .article-scroll {
        padding: 34px 20px 90px;
    }

    .rlx-news .article-head {
        margin-bottom: 34px;
        padding-bottom: 26px;
    }

    .rlx-news .article-head::before {
        margin-bottom: 16px;
        font-size: 12px;
    }

    .rlx-news .article-head h1,
    .rlx-news .article-head h2 {
        margin-bottom: 20px;
        font-size: clamp(2rem, 9vw, 3rem);
    }

    .rlx-news .article-info {
        gap: 8px 16px;
        font-size: 12px;
    }

    .rlx-news .md-body {
        font-size: 16px;
        line-height: 1.9;
    }

    .rlx-news .md-body blockquote {
        padding-left: 18px;
        font-size: 1.08em;
    }

    .rlx-news .md-body .md-code {
        padding: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .rlx-news *,
    .rlx-news *::before,
    .rlx-news *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
}


@media (max-width: 767px) {
    .rlx-news .mobile-nav-link span {
        font-size: 12px;
        letter-spacing: 0;
    }
}

/* A clipped x-axis (not hidden) keeps position: sticky working for the
   filter rail, while still preventing accidental horizontal scroll. */
.rlx-news {
    overflow-x: clip;
}

/* Keep the filter rail in the page flow. The site's body uses an
   overflow-x rule that breaks position: sticky; a static rail is
   cleaner and never leaves a clipped strip at the top of the page. */
.rlx-news .toolbar {
    position: relative;
    top: auto;
}


.rlx-news .news-noscript {
    padding: 36px 0 60px;
}

.rlx-news .news-noscript h2 {
    margin: 0 0 12px;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 600;
    letter-spacing: -0.04em;
}

.rlx-news .news-noscript p,
.rlx-news .news-noscript li {
    color: var(--nx-muted);
    font-size: 14px;
    line-height: 1.8;
}

.rlx-news .news-noscript ul {
    margin: 20px 0 0;
    padding-left: 1.4em;
}
