:root {
    --color-red: #bc202b;
    --color-red-dark: #8f121c;
    --color-ink: #202527;
    --color-muted: #697174;
    --color-paper: #f7f8f7;
    --color-white: #ffffff;
    --color-line: #dadddc;
    --color-soft: #ecefed;
    --color-teal: #276465;
    --color-blue: #204c70;
    --color-gold: #a97836;
    --font-display: "Noto Serif SC", "Songti SC", "STSong", "SimSun", Georgia, serif;
    --font-body: "Noto Sans SC", "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
    --container: 1280px;
    --shadow-card: 0 16px 42px rgba(20, 30, 32, 0.08);
    --radius-small: 4px;
    --radius-medium: 10px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--color-ink);
    background: var(--color-paper);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

body.is-locked {
    overflow: hidden;
}

img,
svg {
    display: block;
    max-width: 100%;
    height: auto;
}

button,
input {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    color: var(--color-red);
}

:focus-visible {
    outline: 3px solid rgba(188, 32, 43, 0.32);
    outline-offset: 3px;
}

.container {
    width: min(calc(100% - 40px), var(--container));
    margin-right: auto;
    margin-left: auto;
}

.skip-link {
    position: fixed;
    z-index: 200;
    top: 12px;
    left: 12px;
    padding: 10px 16px;
    color: var(--color-white);
    background: var(--color-ink);
    transform: translateY(-160%);
}

.skip-link:focus {
    transform: translateY(0);
}

.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;
}

.eyebrow,
.meta,
.utility-label,
.section-kicker {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    line-height: 1.3;
    text-transform: uppercase;
}

.eyebrow {
    color: var(--color-red);
}

.meta {
    color: var(--color-muted);
    letter-spacing: 0.04em;
    text-transform: none;
}

.meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 7px 14px;
    align-items: center;
}

.meta-row > span + span::before {
    margin-right: 10px;
    color: #aab0ae;
    content: "•";
}

.button,
.icon-button,
.chip,
.share-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    cursor: pointer;
}

.button {
    min-height: 44px;
    padding: 0 20px;
    border: 1px solid var(--color-red);
    border-radius: var(--radius-small);
    color: var(--color-white);
    background: var(--color-red);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.05em;
}

.button:hover {
    color: var(--color-white);
    background: var(--color-red-dark);
}

.button--dark {
    border-color: var(--color-ink);
    background: var(--color-ink);
}

.button--ghost {
    color: var(--color-ink);
    border-color: var(--color-line);
    background: transparent;
}

.button--ghost:hover {
    color: var(--color-red);
    border-color: var(--color-red);
    background: transparent;
}

.text-link {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    color: var(--color-red);
    font-size: 0.82rem;
    font-weight: 800;
}

.text-link::after {
    content: "→";
    transition: transform 180ms ease;
}

.text-link:hover::after {
    transform: translateX(4px);
}

.text-link--light {
    color: var(--color-white);
}

.eyebrow--light {
    color: #f1bdc1;
}

/* 顶部工具栏 */
.site-utility {
    color: #dfe3e2;
    background: var(--color-ink);
    font-size: 0.75rem;
}

.utility-inner {
    display: flex;
    min-height: 36px;
    gap: 24px;
    align-items: center;
    justify-content: space-between;
}

.utility-group {
    display: flex;
    gap: 20px;
    align-items: center;
}

.utility-group a:hover {
    color: var(--color-white);
}

.utility-weather::before {
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-right: 8px;
    border-radius: 50%;
    background: #e1ab45;
    content: "";
}

.demo-inline {
    color: #b8bfbd;
}

/* 品牌报头 */
.masthead {
    background: var(--color-white);
    border-bottom: 1px solid var(--color-line);
}

.masthead-inner {
    display: grid;
    min-height: 106px;
    grid-template-columns: 1fr auto 1fr;
    gap: 30px;
    align-items: center;
}

.masthead-note {
    max-width: 225px;
    color: var(--color-muted);
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-style: italic;
    line-height: 1.35;
}

.brand {
    display: inline-flex;
    gap: 12px;
    align-items: center;
    justify-self: center;
}

.brand-mark {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    color: var(--color-white);
    background: var(--color-red);
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
}

.brand-copy {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-family: var(--font-display);
    font-size: clamp(1.55rem, 3vw, 2.25rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1;
}

.brand-tagline {
    margin-top: 5px;
    color: var(--color-muted);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.17em;
    text-transform: uppercase;
}

.masthead-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-self: end;
}

.icon-button {
    width: 44px;
    height: 44px;
    color: var(--color-ink);
    border: 1px solid var(--color-line);
    background: transparent;
}

.icon-button:hover {
    color: var(--color-red);
    border-color: var(--color-red);
}

.icon-button svg {
    width: 20px;
    height: 20px;
}

.menu-toggle {
    display: none;
}

/* 主导航 */
.primary-nav {
    position: relative;
    z-index: 20;
    color: var(--color-white);
    background: var(--color-red);
}

.nav-list {
    display: flex;
    min-height: 48px;
    padding: 0;
    margin: 0;
    align-items: stretch;
    justify-content: center;
    list-style: none;
}

.nav-list a {
    display: flex;
    min-height: 48px;
    padding: 0 18px;
    align-items: center;
    border-bottom: 3px solid transparent;
    font-size: 0.82rem;
    font-weight: 800;
}

.nav-list a:hover,
.nav-list a[aria-current="page"] {
    color: var(--color-white);
    background: rgba(80, 0, 5, 0.18);
    border-bottom-color: var(--color-white);
}

/* 搜索面板 */
.search-panel {
    position: fixed;
    z-index: 100;
    inset: 0;
    display: grid;
    visibility: hidden;
    padding: 24px;
    place-items: start center;
    background: rgba(20, 24, 25, 0.78);
    opacity: 0;
    transition: opacity 180ms ease, visibility 180ms ease;
}

.search-panel.is-open {
    visibility: visible;
    opacity: 1;
}

.search-dialog {
    width: min(100%, 720px);
    padding: 28px;
    margin-top: 12vh;
    background: var(--color-white);
    box-shadow: var(--shadow-card);
}

.search-dialog-head {
    display: flex;
    margin-bottom: 22px;
    align-items: center;
    justify-content: space-between;
}

.search-dialog-title {
    margin: 0;
    font-family: var(--font-display);
    font-size: 1.7rem;
}

.search-form {
    display: grid;
    grid-template-columns: 1fr auto;
}

.search-form input {
    min-width: 0;
    height: 50px;
    padding: 0 16px;
    color: var(--color-ink);
    border: 1px solid var(--color-line);
    border-right: 0;
    background: var(--color-paper);
}

.search-hints {
    margin: 16px 0 0;
    color: var(--color-muted);
    font-size: 0.78rem;
}

/* 通用内容 */
.page-main {
    min-height: 60vh;
}

.content-section {
    padding: 64px 0;
}

.content-section--compact {
    padding: 42px 0;
}

.content-section--white {
    background: var(--color-white);
}

.content-section--ink {
    color: var(--color-white);
    background: var(--color-ink);
}

.section-head {
    display: flex;
    padding-bottom: 14px;
    margin-bottom: 28px;
    align-items: end;
    justify-content: space-between;
    border-bottom: 2px solid var(--color-ink);
}

.section-head--light {
    border-bottom-color: #5a6062;
}

.section-title {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(1.65rem, 3vw, 2.25rem);
    letter-spacing: -0.03em;
    line-height: 1.05;
}

.section-title::before {
    display: inline-block;
    width: 7px;
    height: 0.76em;
    margin-right: 12px;
    background: var(--color-red);
    content: "";
}

.section-description {
    max-width: 560px;
    margin: 10px 0 0;
    color: var(--color-muted);
}

.image-frame {
    position: relative;
    overflow: hidden;
    background: #dce3e1;
}

.image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 320ms ease;
}

a:hover .image-frame img,
.news-card:hover .image-frame img {
    transform: scale(1.025);
}

.image-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 9px;
    color: var(--color-white);
    background: var(--color-red);
    font-size: 0.63rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.card-title {
    margin: 8px 0;
    font-family: var(--font-display);
    font-size: 1.25rem;
    letter-spacing: -0.025em;
    line-height: 1.16;
}

.card-summary {
    margin: 0 0 14px;
    color: var(--color-muted);
    font-size: 0.92rem;
}

/* 首页头条 */
.lead-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(250px, 0.78fr) minmax(250px, 0.68fr);
    gap: 28px;
}

.lead-story {
    padding-right: 28px;
    border-right: 1px solid var(--color-line);
}

.lead-story .image-frame {
    aspect-ratio: 16 / 9;
    margin-bottom: 18px;
}

.lead-title {
    max-width: 800px;
    margin: 8px 0 12px;
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.2vw, 3.55rem);
    letter-spacing: -0.045em;
    line-height: 0.98;
}

.lead-summary {
    max-width: 760px;
    margin: 0 0 15px;
    color: var(--color-muted);
    font-size: 1rem;
}

.support-column {
    display: grid;
    gap: 24px;
    align-content: start;
}

.support-card + .support-card {
    padding-top: 24px;
    border-top: 1px solid var(--color-line);
}

.support-card .image-frame {
    aspect-ratio: 16 / 9;
    margin-bottom: 14px;
}

.latest-panel {
    padding-left: 24px;
    border-left: 3px solid var(--color-ink);
}

.latest-title {
    display: flex;
    padding-bottom: 12px;
    margin: 0;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--color-line);
    font-family: var(--font-display);
    font-size: 1.35rem;
}

.live-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--color-red);
    box-shadow: 0 0 0 5px rgba(188, 32, 43, 0.12);
}

.latest-list {
    padding: 0;
    margin: 0;
    list-style: none;
}

.latest-list li {
    display: grid;
    padding: 16px 0;
    grid-template-columns: 44px 1fr;
    gap: 10px;
    border-bottom: 1px solid var(--color-line);
}

.latest-time {
    color: var(--color-red);
    font-size: 0.75rem;
    font-weight: 800;
}

.latest-list a {
    font-family: var(--font-display);
    font-size: 0.96rem;
    font-weight: 700;
    line-height: 1.26;
}

/* 卡片网格 */
.news-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.news-card .image-frame {
    aspect-ratio: 4 / 3;
    margin-bottom: 16px;
}

.news-card--horizontal {
    display: grid;
    grid-template-columns: minmax(150px, 0.72fr) minmax(0, 1fr);
    gap: 20px;
}

.news-card--horizontal .image-frame {
    height: 100%;
    min-height: 165px;
    margin: 0;
}

.news-card--horizontal .card-body {
    align-self: center;
}

.portal-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 52px;
}

.portal-feed {
    display: grid;
    gap: 28px;
}

.portal-feed .news-card--horizontal + .news-card--horizontal {
    padding-top: 28px;
    border-top: 1px solid var(--color-line);
}

/* 侧栏 */
.sidebar {
    display: grid;
    gap: 28px;
    align-content: start;
}

.sidebar-block {
    padding: 24px;
    background: var(--color-white);
    border-top: 4px solid var(--color-ink);
}

.sidebar-title {
    margin: 0 0 18px;
    font-family: var(--font-display);
    font-size: 1.35rem;
}

.rank-list {
    padding: 0;
    margin: 0;
    counter-reset: rank;
    list-style: none;
}

.rank-list li {
    display: grid;
    padding: 14px 0;
    grid-template-columns: 34px 1fr;
    gap: 12px;
    border-top: 1px solid var(--color-line);
    counter-increment: rank;
}

.rank-list li::before {
    color: var(--color-red);
    content: counter(rank, decimal-leading-zero);
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
}

.rank-list a {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.28;
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.chip {
    min-height: 34px;
    padding: 0 12px;
    color: var(--color-ink);
    border: 1px solid var(--color-line);
    border-radius: 999px;
    background: transparent;
    font-size: 0.75rem;
    font-weight: 700;
}

.chip:hover,
.chip.is-active,
.chip[aria-pressed="true"] {
    color: var(--color-white);
    border-color: var(--color-red);
    background: var(--color-red);
}

.topic-card {
    min-height: 220px;
    padding: 28px;
    color: var(--color-white);
    background: var(--color-teal);
}

.topic-card .eyebrow {
    color: #b8e1dc;
}

.topic-card h3 {
    margin: 12px 0 35px;
    font-family: var(--font-display);
    font-size: 1.7rem;
    line-height: 1.08;
}

/* 订阅 */
.newsletter {
    padding: 40px;
    color: var(--color-white);
    background: var(--color-red);
}

.newsletter-inner {
    display: grid;
    grid-template-columns: 1fr minmax(360px, 0.7fr);
    gap: 40px;
    align-items: center;
}

.newsletter h2 {
    margin: 0 0 8px;
    font-family: var(--font-display);
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    line-height: 1.05;
}

.newsletter p {
    margin: 0;
    color: #f8dfe1;
}

.newsletter-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

.newsletter-fields {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
}

.newsletter-form input {
    min-width: 0;
    height: 50px;
    padding: 0 16px;
    color: var(--color-ink);
    border: 0;
    background: var(--color-white);
}

.newsletter-form .button {
    height: 50px;
    border-color: var(--color-ink);
    border-radius: 0;
}

.form-message {
    grid-column: 1 / -1;
    min-height: 18px;
    margin: 8px 0 0;
    color: #fff2d6;
    font-size: 0.76rem;
}

/* 面包屑与栏目页 */
.page-hero {
    padding: 46px 0 34px;
    background: var(--color-white);
    border-bottom: 1px solid var(--color-line);
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0;
    margin: 0 0 22px;
    color: var(--color-muted);
    list-style: none;
    font-size: 0.76rem;
}

.breadcrumb li + li::before {
    margin-right: 8px;
    color: #aab0ae;
    content: "/";
}

.breadcrumb--center {
    justify-content: center;
}

.page-title {
    max-width: 930px;
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.8rem);
    letter-spacing: -0.05em;
    line-height: 0.94;
}

.page-intro {
    max-width: 720px;
    margin: 16px 0 0;
    color: var(--color-muted);
    font-size: 1rem;
}

.category-feature {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 32px;
    padding-bottom: 36px;
    margin-bottom: 36px;
    border-bottom: 2px solid var(--color-ink);
}

.category-feature .image-frame {
    min-height: 360px;
}

.category-feature-content {
    align-self: center;
}

.category-feature-title {
    margin: 10px 0 16px;
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.1rem);
    letter-spacing: -0.045em;
    line-height: 1;
}

.filter-bar {
    display: flex;
    gap: 8px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.empty-state {
    display: none;
    padding: 64px 30px;
    text-align: center;
    border: 1px dashed #b8bfbd;
    background: var(--color-white);
}

.empty-state.is-visible {
    display: block;
}

.empty-state h3 {
    margin: 0 0 8px;
    font-family: var(--font-display);
    font-size: 1.7rem;
}

.empty-state p {
    margin: 0;
    color: var(--color-muted);
}

.pagination {
    display: flex;
    gap: 8px;
    padding: 0;
    margin: 42px 0 0;
    list-style: none;
}

.pagination a,
.pagination span {
    display: grid;
    min-width: 42px;
    height: 42px;
    padding: 0 10px;
    place-items: center;
    border: 1px solid var(--color-line);
    font-size: 0.8rem;
    font-weight: 800;
}

.pagination [aria-current="page"] {
    color: var(--color-white);
    border-color: var(--color-red);
    background: var(--color-red);
}

/* 文章详情 */
.article-header {
    max-width: 1000px;
    padding: 48px 0 36px;
    margin: 0 auto;
    text-align: center;
}

.article-title {
    margin: 14px 0 18px;
    font-family: var(--font-display);
    font-size: clamp(2.35rem, 6vw, 5rem);
    letter-spacing: -0.055em;
    line-height: 0.96;
}

.article-deck {
    max-width: 1920px;
    margin: 0 auto 22px;
    color: var(--color-muted);
    font-family: var(--font-display);
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    line-height: 1.42;
}

.article-header .meta-row {
    justify-content: center;
}

.article-cover {
    aspect-ratio: 16 / 8.2;
}

.article-cover-figure {
    margin: 0 0 56px;
}

.figure-caption {
    padding: 10px 0 0;
    margin: 0;
    color: var(--color-muted);
    font-size: 0.72rem;
}

.article-layout {
    display: grid;
    grid-template-columns: 72px minmax(0, 720px) 300px;
    gap: 44px;
    justify-content: center;
}

.share-rail {
    position: sticky;
    top: 20px;
    display: grid;
    height: max-content;
    gap: 10px;
}

.share-button {
    width: 42px;
    height: 42px;
    color: var(--color-ink);
    border: 1px solid var(--color-line);
    border-radius: 50%;
    background: var(--color-white);
    font-size: 0.72rem;
    font-weight: 800;
}

.share-button:hover {
    color: var(--color-white);
    border-color: var(--color-red);
    background: var(--color-red);
}

.share-feedback {
    color: var(--color-muted);
    font-size: 0.7rem;
    writing-mode: vertical-rl;
}

.article-body {
    font-family: "Noto Serif SC", "Songti SC", "STSong", "SimSun", Georgia, serif;
    font-size: 1.08rem;
    line-height: 1.85;
}

.article-body > p:first-of-type::first-letter {
    float: left;
    margin: 8px 8px 0 0;
    color: var(--color-red);
    font-family: var(--font-display);
    font-size: 4.2rem;
    font-weight: 700;
    line-height: 0.72;
}

.article-body h2 {
    margin: 46px 0 16px;
    font-family: var(--font-display);
    font-size: 1.8rem;
    line-height: 1.16;
}

.article-body blockquote {
    padding: 8px 0 8px 28px;
    margin: 36px 0;
    color: var(--color-teal);
    border-left: 5px solid var(--color-teal);
    font-family: var(--font-display);
    font-size: 1.55rem;
    font-style: italic;
    line-height: 1.4;
}

.article-body ul {
    padding-left: 24px;
}

.article-body .inline-figure {
    margin: 38px -55px;
}

.article-note {
    padding: 18px 20px;
    margin: 28px 0;
    border: 1px solid #efd3d5;
    background: #fff5f4;
    font-family: var(--font-body);
    font-size: 0.82rem;
    line-height: 1.55;
}

.article-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    margin-top: 52px;
    background: var(--color-line);
    border: 1px solid var(--color-line);
}

.article-nav a {
    padding: 24px;
    background: var(--color-white);
}

.article-nav span {
    display: block;
    margin-bottom: 6px;
    color: var(--color-red);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.article-nav strong {
    font-family: var(--font-display);
    line-height: 1.25;
}

/* 独立单页 */
.static-page-shell {
    display: grid;
    grid-template-columns: 240px minmax(0, 760px);
    gap: 70px;
    justify-content: center;
}

.static-page-shell > * {
    min-width: 0;
}

.page-side-nav {
    position: sticky;
    top: 24px;
    height: max-content;
    padding: 0;
    margin: 0;
    border-top: 3px solid var(--color-ink);
    list-style: none;
}

.page-side-nav a {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid var(--color-line);
    font-size: 0.82rem;
    font-weight: 700;
}

.page-side-nav a[aria-current="page"] {
    color: var(--color-red);
}

.rich-text {
    font-size: 1rem;
    line-height: 1.8;
}

.rich-text h2 {
    margin: 44px 0 14px;
    font-family: var(--font-display);
    font-size: 2rem;
    line-height: 1.16;
}

.rich-text h3 {
    margin: 30px 0 10px;
    font-size: 1rem;
}

.rich-text p,
.rich-text ul {
    color: #3f4749;
}

.contact-box {
    display: grid;
    padding: 28px;
    margin-top: 40px;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    background: var(--color-white);
    border-left: 5px solid var(--color-red);
}

.contact-box strong,
.contact-box span {
    display: block;
}

.contact-box span {
    margin-top: 4px;
    color: var(--color-muted);
    font-size: 0.86rem;
    overflow-wrap: anywhere;
}

/* 404 */
.not-found {
    display: grid;
    min-height: 560px;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 70px;
}

.error-code {
    margin: 0;
    color: var(--color-red);
    font-family: var(--font-display);
    font-size: clamp(7rem, 20vw, 13rem);
    font-weight: 700;
    letter-spacing: -0.09em;
    line-height: 0.75;
}

.not-found h1 {
    margin: 18px 0 10px;
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1;
}

.not-found p {
    max-width: 540px;
    margin: 0 0 25px;
    color: var(--color-muted);
}

.error-illustration {
    padding: 35px;
    background: var(--color-white);
    border: 1px solid var(--color-line);
    box-shadow: var(--shadow-card);
    transform: rotate(1.5deg);
}

/* 页脚 */
.site-footer {
    color: #d6dbd9;
    background: #171b1c;
}

.footer-main {
    display: grid;
    padding: 58px 0 42px;
    grid-template-columns: 1.4fr repeat(3, 0.75fr);
    gap: 50px;
}

.footer-brand .brand {
    color: var(--color-white);
    justify-self: start;
}

.footer-brand p {
    max-width: 360px;
    margin: 20px 0;
    color: #9da5a3;
    font-size: 0.86rem;
}

.footer-title {
    margin: 0 0 16px;
    color: var(--color-white);
    font-size: 0.75rem;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.footer-links {
    padding: 0;
    margin: 0;
    list-style: none;
}

.footer-links li + li {
    margin-top: 10px;
}

.footer-links a {
    color: #b8bfbd;
    font-size: 0.83rem;
}

.footer-links a:hover {
    color: var(--color-white);
}

.footer-bottom {
    display: flex;
    min-height: 60px;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
    color: #89918f;
    border-top: 1px solid #343a3b;
    font-size: 0.72rem;
}

.footer-bottom--simple {
    border-top: 0;
}

.footer-legal {
    display: flex;
    gap: 18px;
}

/* 轻提示 */
.toast {
    position: fixed;
    z-index: 130;
    right: 24px;
    bottom: 24px;
    visibility: hidden;
    max-width: min(360px, calc(100vw - 48px));
    padding: 14px 18px;
    color: var(--color-white);
    background: var(--color-ink);
    box-shadow: var(--shadow-card);
    opacity: 0;
    transform: translateY(10px);
    transition: 180ms ease;
}

.toast.is-visible {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1080px) {
    .nav-list a {
        padding: 0 11px;
        font-size: 0.75rem;
    }

    .lead-grid {
        grid-template-columns: minmax(0, 1.5fr) minmax(250px, 0.8fr);
    }

    .latest-panel {
        grid-column: 1 / -1;
        padding: 24px 0 0;
        border-top: 3px solid var(--color-ink);
        border-left: 0;
    }

    .latest-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 28px;
    }

    .news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .article-layout {
        grid-template-columns: 54px minmax(0, 690px);
    }

    .article-layout > .sidebar {
        display: none;
    }
}

@media (max-width: 820px) {
    .container {
        width: min(calc(100% - 32px), var(--container));
    }

    .masthead-inner {
        min-height: 84px;
        grid-template-columns: 1fr auto;
    }

    .masthead-note,
    .masthead-actions .button {
        display: none;
    }

    .brand {
        justify-self: start;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .primary-nav {
        position: absolute;
        right: 0;
        left: 0;
        visibility: hidden;
        box-shadow: 0 18px 35px rgba(20, 25, 25, 0.22);
        opacity: 0;
        transform: translateY(-8px);
        transition: 160ms ease;
    }

    .primary-nav.is-open {
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
    }

    .nav-list {
        display: grid;
        padding: 10px 16px 18px;
        grid-template-columns: repeat(2, 1fr);
    }

    .nav-list a {
        min-height: 44px;
        padding: 0 12px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    }

    .lead-grid,
    .portal-layout,
    .category-feature,
    .newsletter-inner {
        grid-template-columns: 1fr;
    }

    .lead-story {
        padding-right: 0;
        border-right: 0;
    }

    .support-column {
        grid-template-columns: 1fr 1fr;
    }

    .portal-layout {
        gap: 42px;
    }

    .sidebar {
        grid-template-columns: 1fr 1fr;
    }

    .article-layout {
        grid-template-columns: 1fr;
    }

    .article-body .inline-figure {
        margin: 32px 0;
    }

    .share-rail {
        position: static;
        display: flex;
        align-items: center;
    }

    .share-feedback {
        writing-mode: initial;
    }

    .static-page-shell {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .page-side-nav {
        position: static;
        display: flex;
        max-width: 100%;
        overflow-x: auto;
        border-bottom: 1px solid var(--color-line);
    }

    .page-side-nav li {
        flex: 0 0 auto;
    }

    .page-side-nav a {
        padding: 12px 18px 12px 0;
        border-bottom: 0;
    }

    .not-found {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 60px 0;
    }

    .footer-main {
        grid-template-columns: 1.4fr 1fr 1fr;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 580px) {
    .container {
        width: min(calc(100% - 24px), var(--container));
    }

    .utility-inner {
        gap: 8px;
    }

    .utility-group {
        gap: 12px;
    }

    .utility-secondary {
        display: none;
    }

    .brand-mark {
        width: 40px;
        height: 40px;
    }

    .brand-tagline {
        display: none;
    }

    .masthead-actions {
        gap: 5px;
    }

    .icon-button {
        width: 41px;
        height: 41px;
    }

    .content-section {
        padding: 46px 0;
    }

    .section-head {
        gap: 14px;
    }

    .section-head .text-link {
        font-size: 0;
    }

    .section-head .text-link::after {
        font-size: 1rem;
    }

    .lead-title {
        font-size: clamp(2rem, 10vw, 2.85rem);
    }

    .support-column,
    .latest-list,
    .news-grid,
    .sidebar,
    .contact-box {
        grid-template-columns: 1fr;
    }

    .support-card + .support-card {
        padding-top: 20px;
    }

    .news-card--horizontal {
        grid-template-columns: 118px minmax(0, 1fr);
        gap: 14px;
    }

    .news-card--horizontal .image-frame {
        min-height: 125px;
    }

    .news-card--horizontal .card-summary {
        display: none;
    }

    .news-card--horizontal .card-title {
        font-size: 1.06rem;
    }

    .newsletter {
        padding: 30px 20px;
    }

    .newsletter-fields,
    .search-form {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .newsletter-form input,
    .search-form input {
        border: 0;
    }

    .category-feature .image-frame {
        min-height: 230px;
    }

    .article-header {
        text-align: left;
    }

    .article-header .meta-row {
        justify-content: flex-start;
    }

    .article-cover {
        aspect-ratio: 4 / 3;
    }

    .article-body {
        font-size: 1rem;
    }

    .article-body .inline-figure {
        margin: 32px 0;
    }

    .article-nav {
        grid-template-columns: 1fr;
    }

    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 34px 24px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-bottom {
        padding: 18px 0;
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}

/* ==========================================================================
   第二版视觉系统：海峡都市新闻编辑室
   ========================================================================== */
:root {
    --color-red: #d52532;
    --color-red-dark: #ad1722;
    --color-ink: #102331;
    --color-muted: #66747d;
    --color-paper: #f2f0ea;
    --color-white: #ffffff;
    --color-line: #d9ddd9;
    --color-soft: #e9ece8;
    --color-teal: #1e6a68;
    --color-blue: #173f59;
    --color-gold: #d2a44a;
    --container: 1480px;
    --shadow-card: 0 18px 50px rgba(16, 35, 49, 0.1);
    --shadow-soft: 0 8px 26px rgba(16, 35, 49, 0.07);
    --radius-small: 8px;
    --radius-medium: 18px;
    --radius-large: 28px;
}

body {
    color: var(--color-ink);
    background: var(--color-paper);
    font-size: 16px;
}

.container {
    width: min(calc(100% - 56px), var(--container));
}

.eyebrow,
.meta,
.utility-label,
.section-kicker {
    letter-spacing: 0.06em;
}

.eyebrow {
    color: var(--color-red);
}

.button {
    min-height: 46px;
    padding: 0 22px;
    border-radius: 999px;
    box-shadow: none;
}

.button--ghost {
    color: var(--color-ink);
    border-color: #cbd1ce;
    background: var(--color-white);
}

.text-link {
    color: var(--color-red);
    font-size: 0.8rem;
}

/* 第二版顶部与品牌区域 */
.site-utility {
    color: #c5d0d5;
    background: #0a1822;
}

.utility-inner {
    min-height: 34px;
}

.utility-weather::before {
    background: var(--color-gold);
}

.masthead {
    background: #f8f7f3;
    border-bottom: 0;
}

.masthead-inner {
    min-height: 94px;
    grid-template-columns: auto minmax(240px, 1fr) auto;
    gap: 36px;
}

.masthead-note {
    grid-row: 1;
    grid-column: 2;
    max-width: none;
    margin: 0;
    justify-self: center;
    color: #718089;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-style: normal;
    letter-spacing: 0.03em;
    text-align: center;
}

.brand {
    grid-row: 1;
    grid-column: 1;
    gap: 14px;
    justify-self: start;
}

.brand-mark {
    position: relative;
    width: 52px;
    height: 52px;
    overflow: hidden;
    border-radius: 15px;
    background: var(--color-ink);
    box-shadow: inset 0 -8px 0 var(--color-red);
    font-family: Georgia, serif;
    font-size: 1.15rem;
}

.brand-mark::after {
    position: absolute;
    top: 7px;
    right: 7px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-gold);
    content: "";
}

.brand-name {
    font-family: var(--font-body);
    font-size: clamp(1.35rem, 2.4vw, 1.85rem);
    font-weight: 900;
    letter-spacing: -0.055em;
}

.brand-tagline {
    margin-top: 7px;
    color: #74818a;
    font-size: 0.61rem;
    letter-spacing: 0.13em;
}

.masthead-actions {
    grid-row: 1;
    grid-column: 3;
}

.icon-button {
    width: 46px;
    height: 46px;
    border-color: #ccd2cf;
    border-radius: 50%;
    background: var(--color-white);
}

.primary-nav {
    position: sticky;
    z-index: 40;
    top: 0;
    color: var(--color-ink);
    background: rgba(255, 255, 255, 0.97);
    border-top: 1px solid #e5e7e3;
    border-bottom: 1px solid #dfe2de;
    box-shadow: 0 8px 24px rgba(16, 35, 49, 0.04);
}

.nav-list {
    min-height: 54px;
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
}

.nav-list::-webkit-scrollbar {
    display: none;
}

.nav-list a {
    min-height: 54px;
    padding: 0 19px;
    border-bottom: 3px solid transparent;
    font-size: 0.82rem;
    white-space: nowrap;
}

.nav-list a:hover,
.nav-list a[aria-current="page"] {
    color: var(--color-red);
    background: transparent;
    border-bottom-color: var(--color-red);
}

/* 第二版通用区块 */
.content-section {
    padding: 76px 0;
}

.content-section--white {
    background: #fbfaf7;
}

.content-section--ink {
    background: var(--color-ink);
}

.section-head {
    position: relative;
    padding: 0 0 18px 22px;
    margin-bottom: 30px;
    border-bottom: 1px solid #cfd5d2;
}

.section-head::before {
    position: absolute;
    top: 2px;
    bottom: 17px;
    left: 0;
    width: 6px;
    border-radius: 99px;
    background: var(--color-red);
    content: "";
}

.section-head--light {
    border-bottom-color: rgba(255, 255, 255, 0.24);
}

.section-title {
    font-family: var(--font-body);
    font-size: clamp(1.7rem, 3vw, 2.35rem);
    font-weight: 900;
    letter-spacing: -0.055em;
}

.section-title::before {
    display: none;
}

.image-frame {
    border-radius: 14px;
    background: #d7dfdc;
}

.image-badge {
    top: 14px;
    left: 14px;
    padding: 7px 11px;
    border-radius: 999px;
    box-shadow: 0 6px 18px rgba(16, 35, 49, 0.12);
}

.card-title {
    margin: 10px 0;
    font-family: var(--font-body);
    font-size: 1.2rem;
    font-weight: 850;
    letter-spacing: -0.035em;
    line-height: 1.35;
}

.card-summary {
    line-height: 1.65;
}

/* 首页头条：两列主编排与海峡快讯带 */
.page-main > .content-section--white:first-child {
    padding-top: 38px;
    padding-bottom: 48px;
    background: var(--color-paper);
}

.lead-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.85fr) minmax(310px, 0.78fr);
    gap: 22px;
}

.lead-story {
    padding: 18px 18px 22px;
    border: 1px solid #e0e2de;
    border-radius: var(--radius-large);
    background: var(--color-white);
    box-shadow: var(--shadow-soft);
}

.lead-story .image-frame {
    aspect-ratio: 16 / 8.4;
    margin-bottom: 24px;
    border-radius: 20px;
}

.lead-story > a,
.lead-story > p,
.lead-story > .meta-row {
    margin-right: 14px;
    margin-left: 14px;
}

.lead-title {
    max-width: 820px;
    margin: 10px 0 14px;
    font-size: clamp(2.45rem, 4.7vw, 4.5rem);
    letter-spacing: -0.065em;
    line-height: 1.02;
}

.lead-summary {
    max-width: 800px;
    font-size: 1rem;
    line-height: 1.75;
}

.support-column {
    display: grid;
    gap: 18px;
}

.support-card {
    padding: 14px 14px 18px;
    border: 1px solid #e0e2de;
    border-radius: 22px;
    background: var(--color-white);
    box-shadow: var(--shadow-soft);
}

.support-card + .support-card {
    padding-top: 14px;
    border-top: 1px solid #e0e2de;
}

.support-card .image-frame {
    aspect-ratio: 16 / 9.2;
    margin-bottom: 16px;
}

.support-card .eyebrow,
.support-card .card-title,
.support-card .meta {
    margin-right: 5px;
    margin-left: 5px;
}

.latest-panel {
    grid-column: 1 / -1;
    display: grid;
    padding: 24px 28px;
    grid-template-columns: 155px minmax(0, 1fr);
    gap: 28px;
    color: var(--color-white);
    border: 0;
    border-radius: 22px;
    background: var(--color-ink);
    box-shadow: var(--shadow-card);
}

.latest-title {
    display: flex;
    padding: 0;
    margin: 0;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    border: 0;
    font-family: var(--font-body);
    font-size: 1.35rem;
    font-weight: 900;
}

.live-dot {
    order: -1;
    margin-bottom: 14px;
    background: #ff3d4d;
    box-shadow: 0 0 0 6px rgba(255, 61, 77, 0.18);
}

.latest-list {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0;
}

.latest-list li {
    display: block;
    padding: 4px 18px;
    border-right: 1px solid rgba(255, 255, 255, 0.17);
    border-bottom: 0;
}

.latest-list li:last-child {
    border-right: 0;
}

.latest-time {
    display: block;
    margin-bottom: 9px;
    color: #ff8d96;
}

.latest-list a {
    color: #f3f6f5;
    font-family: var(--font-body);
    font-size: 0.86rem;
    line-height: 1.5;
}

/* 第二版卡片和栏目流 */
.news-grid {
    gap: 20px;
}

.news-card {
    min-width: 0;
}

.news-grid > .news-card {
    padding: 14px 14px 20px;
    border: 1px solid #e0e3df;
    border-radius: 20px;
    background: var(--color-white);
    box-shadow: var(--shadow-soft);
}

.news-card .image-frame {
    aspect-ratio: 16 / 10.5;
    margin-bottom: 18px;
}

.news-grid > .news-card .eyebrow,
.news-grid > .news-card .card-title,
.news-grid > .news-card .card-summary,
.news-grid > .news-card .meta {
    margin-right: 5px;
    margin-left: 5px;
}

.portal-layout {
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 44px;
}

.portal-feed {
    gap: 16px;
}

.news-card--horizontal {
    padding: 14px;
    grid-template-columns: 230px minmax(0, 1fr);
    gap: 22px;
    border: 1px solid #e0e3df;
    border-radius: 18px;
    background: #fbfcfa;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.news-card--horizontal:hover {
    border-color: #c9ceca;
    box-shadow: var(--shadow-soft);
    transform: translateY(-2px);
}

.portal-feed .news-card--horizontal + .news-card--horizontal {
    padding-top: 14px;
    border-top: 1px solid #e0e3df;
}

.news-card--horizontal .image-frame {
    min-height: 165px;
    border-radius: 12px;
}

.sidebar {
    gap: 20px;
}

.sidebar-block {
    padding: 24px;
    border: 1px solid #e0e3df;
    border-top: 0;
    border-radius: 20px;
    background: #f8f9f7;
    box-shadow: var(--shadow-soft);
}

.sidebar-title {
    padding-bottom: 15px;
    margin-bottom: 6px;
    border-bottom: 3px solid var(--color-ink);
    font-family: var(--font-body);
    font-weight: 900;
}

.rank-list li {
    padding: 16px 0;
}

.rank-list li::before {
    color: var(--color-red);
    font-family: var(--font-body);
    font-weight: 900;
}

.rank-list a {
    font-family: var(--font-body);
    line-height: 1.5;
}

.topic-card {
    position: relative;
    min-height: 250px;
    overflow: hidden;
    padding: 30px;
    border-radius: 22px;
    background: var(--color-teal);
    box-shadow: var(--shadow-soft);
}

.topic-card::after {
    position: absolute;
    right: -34px;
    bottom: -40px;
    width: 150px;
    height: 150px;
    border: 24px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    content: "";
}

.topic-card h3 {
    max-width: 245px;
    font-family: var(--font-body);
    font-weight: 900;
    line-height: 1.3;
}

.chip {
    min-height: 36px;
    border-color: #d3d8d5;
    background: var(--color-white);
}

/* 第二版订阅 */
.newsletter {
    position: relative;
    overflow: hidden;
    padding: 44px 48px;
    color: var(--color-white);
    border-radius: var(--radius-large);
    background: var(--color-teal);
    box-shadow: var(--shadow-card);
}

.newsletter::after {
    position: absolute;
    top: -72px;
    right: -42px;
    width: 210px;
    height: 210px;
    border: 34px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    content: "";
}

.newsletter-inner {
    position: relative;
    z-index: 1;
}

.newsletter h2 {
    font-family: var(--font-body);
    font-weight: 900;
    letter-spacing: -0.04em;
}

.newsletter p {
    color: #d5ece9;
}

.newsletter-fields {
    padding: 7px;
    border-radius: 999px;
    background: var(--color-white);
}

.newsletter-form input {
    height: 46px;
    border-radius: 999px;
    background: transparent;
}

.newsletter-form .button {
    height: 46px;
    border-color: var(--color-red);
    border-radius: 999px;
    background: var(--color-red);
}

.form-message {
    padding: 0 12px;
    color: #f9e0aa;
}

/* 提示位于白色输入框外，空提示不占据高度，按钮与输入框始终居中。 */
.newsletter-form .form-message {
    margin: 0;
}

.newsletter-form .form-message:empty {
    display: none;
}

/* 第二版栏目页与独立页头部 */
.page-hero {
    position: relative;
    overflow: hidden;
    padding: 64px 0 58px;
    color: var(--color-white);
    background: var(--color-ink);
    border-bottom: 0;
}

.page-hero::after {
    position: absolute;
    right: 7%;
    bottom: -115px;
    width: 330px;
    height: 330px;
    border: 48px solid rgba(30, 106, 104, 0.45);
    border-radius: 50%;
    content: "";
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.page-hero .breadcrumb {
    color: #aebdc5;
}

.page-hero .eyebrow {
    color: #ff8f98;
}

.page-title {
    font-family: var(--font-body);
    font-size: clamp(3rem, 7vw, 6rem);
    font-weight: 900;
    letter-spacing: -0.07em;
}

.page-intro {
    max-width: 760px;
    color: #c8d2d7;
    line-height: 1.8;
}

.category-feature {
    padding: 18px;
    margin-bottom: 44px;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.6fr);
    gap: 28px;
    border: 1px solid #e0e3df;
    border-radius: var(--radius-large);
    background: var(--color-white);
    box-shadow: var(--shadow-card);
}

.category-feature .image-frame {
    min-height: 200px;
    border-radius: 20px;
}

.category-feature .image-frame img {
    position: absolute;
    inset: 0;
}

.category-feature-content {
    min-width: 0;
    padding: 12px 16px 12px 0;
}

.category-feature-title {
    margin: 8px 0 12px;
    font-size: clamp(2.1rem, 4vw, 3.5rem);
    line-height: 1.25;
}

.filter-bar {
    padding: 8px;
    width: max-content;
    max-width: 100%;
    border: 1px solid #dfe2df;
    border-radius: 999px;
    background: #f7f8f6;
}

.empty-state {
    border: 1px solid #d9dedb;
    border-radius: 20px;
    background: var(--color-white);
}

.empty-state h3 {
    font-family: var(--font-body);
    font-weight: 900;
}

.pagination a,
.pagination span {
    border-radius: 10px;
    background: var(--color-white);
}

/* 新闻详情：浅色阅读页头，栏目、摘要和来源时间分层展示。 */
.article-header {
    max-width: none;
    padding: 30px 40px;
    margin-top: 28px;
    margin-bottom: 24px;
    color: var(--color-ink);
    text-align: left;
    border: 1px solid var(--color-line);
    border-radius: 22px;
    background: var(--color-white);
}

.article-header .breadcrumb {
    margin-bottom: 22px;
    justify-content: flex-start;
    color: var(--color-muted);
}

.article-kicker {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
    color: var(--color-muted);
    font-size: 13px;
}

.article-kicker .eyebrow {
    padding: 5px 10px;
    color: var(--color-red);
    border-radius: 6px;
    background: #fff0f1;
    letter-spacing: 0;
}

.article-title {
    max-width: 1200px;
    margin: 16px 0;
    font-family: var(--font-body);
    font-size: clamp(32px, 2.8vw, 42px);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.article-deck {
    max-width: 1920px;
    margin: 0;
    padding-left: 16px;
    color: var(--color-muted);
    border-left: 3px solid var(--color-red);
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.75;
}

.article-meta {
    display: flex;
    gap: 16px 32px;
    margin-top: 24px;
    padding-top: 18px;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    border-top: 1px solid var(--color-line);
    color: var(--color-muted);
    font-size: 12px;
    line-height: 1.7;
}

.article-byline {
    display: grid;
    gap: 3px;
}

.article-byline-name {
    color: var(--color-ink);
    font-size: 13px;
    font-weight: 700;
}

.article-timeline {
    display: flex;
    gap: 6px 18px;
    flex-wrap: wrap;
}

.article-cover {
    border-radius: var(--radius-large);
    box-shadow: var(--shadow-card);
}

.article-layout {
    /* 移除分享列，正文与热门新闻直接组成两列。 */
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 34px;
    align-items: start;
}

.share-button {
    border: 0;
    box-shadow: var(--shadow-soft);
}

.article-body {
    padding: 46px 54px;
    border: 1px solid #e0e3df;
    border-radius: 24px;
    background: var(--color-white);
    box-shadow: var(--shadow-soft);
}

.article-body h2 {
    font-family: var(--font-body);
    font-weight: 900;
    letter-spacing: -0.04em;
}

.article-body blockquote {
    padding: 24px 26px;
    color: #165a58;
    border: 0;
    border-radius: 16px;
    background: #e6f0ee;
}

.article-body .inline-figure {
    margin: 38px -25px;
}

.article-note {
    border: 0;
    border-radius: 12px;
    background: #f8ecec;
}

.article-nav {
    overflow: hidden;
    border-radius: 16px;
}

.article-nav a {
    transition: background 160ms ease;
}

.article-nav a:hover {
    color: var(--color-ink);
    background: #f5f7f4;
}

/* 第二版独立单页与 404 */
.static-page-shell {
    /* 正文填满侧栏右侧空间，与全站容器宽度保持一致。 */
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 46px;
}

.page-side-nav {
    padding: 16px 20px;
    border: 0;
    border-radius: 18px;
    background: var(--color-ink);
    box-shadow: var(--shadow-soft);
}

.page-side-nav a {
    color: #c9d3d8;
    border-bottom-color: rgba(255, 255, 255, 0.12);
}

.page-side-nav a:hover,
.page-side-nav a[aria-current="page"] {
    color: var(--color-white);
}

.page-side-nav a[aria-current="page"] {
    position: relative;
    padding-left: 15px;
}

.page-side-nav a[aria-current="page"]::before {
    position: absolute;
    top: 18px;
    left: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-red);
    content: "";
}

.rich-text {
    padding: 42px 48px;
    border: 1px solid #e0e3df;
    border-radius: 24px;
    background: var(--color-white);
    box-shadow: var(--shadow-soft);
}

.rich-text h2 {
    font-family: var(--font-body);
    font-weight: 900;
    letter-spacing: -0.04em;
}

.contact-box {
    border: 0;
    border-radius: 16px;
    background: #edf2ef;
}

.not-found {
    min-height: 650px;
}

.error-code {
    color: transparent;
    -webkit-text-stroke: 3px var(--color-red);
    text-shadow: 12px 12px 0 rgba(213, 37, 50, 0.08);
}

.not-found h1 {
    font-family: var(--font-body);
    font-weight: 900;
    letter-spacing: -0.05em;
}

.error-illustration {
    padding: 22px;
    border: 0;
    border-radius: var(--radius-large);
    background: var(--color-white);
    box-shadow: var(--shadow-card);
    transform: rotate(1deg);
}

.error-illustration img {
    border-radius: 20px;
}

/* 第二版页脚 */
.site-footer {
    color: #d7e0e3;
    background: #091720;
}

.footer-main {
    padding: 68px 0 48px;
    gap: 64px;
}

.footer-brand .brand {
    display: inline-flex;
}

.footer-title {
    color: #8fa0a8;
}

.footer-links a {
    color: #c7d0d4;
}

.footer-bottom {
    min-height: 68px;
    border-top-color: #25343c;
}

/* 第二版响应式 */
@media (max-width: 1120px) {
    .lead-grid {
        grid-template-columns: minmax(0, 1.45fr) minmax(285px, 0.8fr);
    }

    .latest-list {
        grid-template-columns: repeat(3, 1fr);
        row-gap: 22px;
    }

    .latest-list li:nth-child(3) {
        border-right: 0;
    }

    .portal-layout {
        grid-template-columns: minmax(0, 1fr) 310px;
        gap: 30px;
    }

    .article-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .article-layout > .sidebar {
        display: none;
    }
}

@media (max-width: 860px) {
    .container {
        width: min(calc(100% - 32px), var(--container));
    }

    .masthead-inner {
        min-height: 82px;
        grid-template-columns: 1fr auto;
        gap: 16px;
    }

    .brand {
        grid-column: 1;
    }

    .masthead-actions {
        grid-column: 2;
    }

    .masthead-note,
    .masthead-actions .button {
        display: none;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .primary-nav {
        position: absolute;
        top: auto;
        right: 0;
        left: 0;
        visibility: hidden;
        color: var(--color-white);
        background: var(--color-ink);
        border: 0;
        opacity: 0;
        transform: translateY(-8px);
    }

    .primary-nav.is-open {
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
    }

    .nav-list {
        display: grid;
        padding: 14px 16px 20px;
        grid-template-columns: repeat(2, 1fr);
        overflow: visible;
    }

    .nav-list a {
        color: var(--color-white);
        border-bottom-color: rgba(255, 255, 255, 0.12);
    }

    .nav-list a:hover,
    .nav-list a[aria-current="page"] {
        color: #ff929a;
        border-bottom-color: #ff929a;
    }

    .lead-grid,
    .portal-layout,
    .category-feature,
    .newsletter-inner {
        grid-template-columns: 1fr;
    }

    .support-column {
        grid-template-columns: 1fr 1fr;
    }

    .latest-panel {
        grid-template-columns: 1fr;
    }

    .latest-title {
        flex-direction: row;
        gap: 14px;
        align-items: center;
        justify-content: flex-start;
    }

    .live-dot {
        margin-bottom: 0;
    }

    .latest-list {
        grid-template-columns: 1fr 1fr;
    }

    .latest-list li:nth-child(3) {
        border-right: 1px solid rgba(255, 255, 255, 0.17);
    }

    .latest-list li:nth-child(even) {
        border-right: 0;
    }

    .news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sidebar {
        grid-template-columns: 1fr 1fr;
    }

    .category-feature-content {
        padding: 14px 18px 24px;
    }

    .category-feature .image-frame {
        min-height: 0;
        aspect-ratio: 16 / 9;
    }

    .article-header {
        padding: 28px;
        margin-top: 24px;
    }

    .article-layout {
        grid-template-columns: 1fr;
    }

    .share-rail {
        position: static;
        display: flex;
        align-items: center;
    }

    .share-feedback {
        writing-mode: initial;
    }

    .article-body .inline-figure {
        margin: 34px 0;
    }

    .static-page-shell {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .page-side-nav {
        position: static;
        display: flex;
        max-width: 100%;
        padding: 5px 16px;
        overflow-x: auto;
        border-radius: 14px;
    }

    .page-side-nav li {
        flex: 0 0 auto;
    }

    .page-side-nav a {
        padding: 14px 18px 14px 0;
        border-bottom: 0;
    }

    .page-side-nav a[aria-current="page"]::before {
        top: 20px;
    }

    .footer-main {
        grid-template-columns: 1.4fr 1fr 1fr;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 600px) {
    .container {
        width: min(calc(100% - 24px), var(--container));
    }

    .brand-mark {
        width: 44px;
        height: 44px;
        border-radius: 12px;
    }

    .brand-name {
        font-size: 1.1rem;
    }

    .brand-tagline {
        display: none;
    }

    .content-section {
        padding: 54px 0;
    }

    .page-main > .content-section--white:first-child {
        padding-top: 20px;
    }

    .lead-story {
        padding: 10px 10px 20px;
        border-radius: 20px;
    }

    .lead-story .image-frame {
        margin-bottom: 18px;
        border-radius: 15px;
    }

    .lead-story > a,
    .lead-story > p,
    .lead-story > .meta-row {
        margin-right: 8px;
        margin-left: 8px;
    }

    .lead-title {
        font-size: clamp(2.15rem, 11vw, 3rem);
    }

    .support-column,
    .news-grid,
    .sidebar,
    .support-card {
        border-radius: 18px;
    }

    .latest-panel {
        padding: 22px;
        border-radius: 18px;
    }

    .latest-list {
        grid-template-columns: 1fr;
    }

    .latest-list li,
    .latest-list li:nth-child(3),
    .latest-list li:nth-child(even) {
        padding: 14px 0;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    }

    .news-grid > .news-card {
        border-radius: 18px;
    }

    .news-card--horizontal {
        padding: 10px;
        grid-template-columns: 114px minmax(0, 1fr);
        gap: 14px;
        border-radius: 14px;
    }

    .news-card--horizontal .image-frame {
        min-height: 122px;
    }

    .news-card--horizontal .card-summary {
        display: none;
    }

    .news-card--horizontal .card-title {
        font-size: 1rem;
    }

    .newsletter {
        padding: 32px 22px;
        border-radius: 20px;
    }

    .newsletter-fields,
    .search-form {
        padding: 0;
        grid-template-columns: 1fr;
        gap: 8px;
        border-radius: 14px;
        background: transparent;
    }

    .newsletter-form input,
    .search-form input {
        border-radius: 12px;
        background: var(--color-white);
    }

    .newsletter-form .button {
        border-radius: 12px;
    }

    .page-hero {
        padding: 52px 0 46px;
    }

    .page-hero::after {
        right: -120px;
        width: 260px;
        height: 260px;
    }

    .page-title {
        font-size: clamp(2.8rem, 16vw, 4.5rem);
    }

    .category-feature {
        padding: 10px;
        border-radius: 20px;
    }

    .category-feature .image-frame {
        min-height: 0;
        border-radius: 15px;
    }

    .filter-bar {
        width: 100%;
        overflow-x: auto;
        flex-wrap: nowrap;
        border-radius: 14px;
    }

    .filter-bar .chip {
        flex: 0 0 auto;
    }

    .article-header {
        padding: 22px;
        text-align: left;
        border-radius: 20px;
    }

    .article-header .breadcrumb,
    .article-header .meta-row {
        justify-content: flex-start;
    }

    .article-title {
        font-size: 28px;
        line-height: 1.45;
    }

    .article-deck {
        padding-left: 12px;
        font-size: 16px;
    }

    .article-meta {
        gap: 14px;
        margin-top: 20px;
        padding-top: 16px;
    }

    .article-timeline {
        display: grid;
        gap: 4px;
    }

    .article-body {
        padding: 30px 22px;
        border-radius: 18px;
    }

    .rich-text {
        padding: 30px 22px;
        border-radius: 18px;
    }

    .article-nav {
        grid-template-columns: 1fr;
    }

    .not-found {
        min-height: auto;
        padding: 58px 0;
        grid-template-columns: 1fr;
        gap: 36px;
        align-items: start;
    }

    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 38px 22px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

/* 第三轮优化：摘要优先结构、SEO/GEO 信息模块与图文卡片修正 */
.daily-brief {
    padding: 24px 0 32px;
}

.daily-brief-inner {
    display: grid;
    grid-template-columns: minmax(220px, 0.72fr) minmax(0, 2fr);
    gap: 36px;
    padding: 26px 30px;
    border: 1px solid #dce1dd;
    border-left: 5px solid var(--color-red);
    border-radius: 18px;
    background: #f8f9f7;
}

.daily-brief-intro h1,
.daily-brief-intro h2 {
    margin: 6px 0 8px;
    font-size: clamp(1.45rem, 2.2vw, 2rem);
    line-height: 1.15;
}

.daily-brief-intro p {
    margin: 0;
    color: var(--color-muted);
    line-height: 1.7;
}

.daily-brief-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.daily-brief-list li {
    min-width: 0;
    padding: 0 22px;
    border-left: 1px solid var(--color-line);
}

.daily-brief-list a {
    display: grid;
    gap: 7px;
    color: inherit;
}

.daily-brief-list strong {
    color: var(--color-red);
    font-size: 0.82rem;
    letter-spacing: 0.08em;
}

.daily-brief-list span {
    color: var(--color-ink);
    font-weight: 700;
    line-height: 1.55;
}

/* 移民专题：沿用门户配色、容器与文字层级 */
.page-hero--topic .page-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.2;
    letter-spacing: -0.03em;
}

.topic-overview {
    margin-bottom: 36px;
    padding: clamp(20px, 3vw, 32px);
    border: 1px solid var(--color-line);
    border-radius: 18px;
    background: var(--color-white);
}

.topic-overview h2 {
    margin-top: 0;
    font-size: clamp(1.25rem, 2vw, 1.65rem);
}

.topic-overview p,
.topic-faq p {
    line-height: 1.8;
    overflow-wrap: anywhere;
}

.topic-overview .meta a {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.topic-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.topic-links .chip {
    white-space: normal;
}

.topic-faq {
    margin-top: 40px;
    padding-top: 28px;
    border-top: 1px solid var(--color-line);
}

.topic-faq-item {
    padding: 18px 0;
    border-bottom: 1px solid var(--color-line);
}

.topic-faq-item h3 {
    margin: 0 0 10px;
    font-size: 1.15rem;
}

.topic-faq-item p {
    margin: 0;
    max-width: 1920px;
}

.article-keypoints {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    gap: 22px 24px;
    margin: 22px 0 30px;
    padding: 26px 30px;
    border: 1px solid #dce1dd;
    border-radius: 18px;
    background: #f8f9f7;
}

.article-keypoints h2 {
    margin: 6px 0 0;
    font-size: clamp(1.45rem, 2.1vw, 1.9rem);
}

.article-keypoints ul {
    display: grid;
    gap: 9px;
    margin: 0;
    padding-left: 20px;
    line-height: 1.68;
}

.article-keypoints p {
    grid-column: 1 / -1;
    margin: 0;
    padding-top: 16px;
    border-top: 1px solid var(--color-line);
    color: var(--color-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

.lead-title {
    font-size: clamp(2.05rem, 3.6vw, 3.55rem);
}

.news-card--horizontal {
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 28px;
}

.news-card--horizontal > .image-frame,
.news-card--horizontal > .card-body {
    min-width: 0;
}

.news-card--horizontal > .image-frame {
    width: 100%;
    overflow: hidden;
}

.news-card--horizontal > .image-frame img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-card--horizontal > .card-body {
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.news-card--horizontal .card-title,
.news-card--horizontal .card-title a,
.news-card--horizontal .card-summary {
    overflow-wrap: anywhere;
}

@media (max-width: 980px) {
    .daily-brief-inner {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .daily-brief-list li:first-child {
        padding-left: 0;
        border-left: 0;
    }

    .article-keypoints {
        grid-template-columns: 1fr;
    }

    .article-keypoints p {
        grid-column: auto;
    }
}

@media (max-width: 680px) {
    .daily-brief {
        padding: 16px 0 24px;
    }

    .daily-brief-inner {
        padding: 22px;
        border-radius: 15px;
    }

    .daily-brief-list {
        grid-template-columns: 1fr;
    }

    .daily-brief-list li,
    .daily-brief-list li:first-child {
        padding: 14px 0;
        border-left: 0;
        border-top: 1px solid var(--color-line);
    }

    .article-keypoints {
        margin-top: 16px;
        padding: 22px;
        border-radius: 15px;
    }

    .sidebar {
        grid-template-columns: 1fr;
    }

    .lead-title {
        font-size: clamp(1.85rem, 8.5vw, 2.45rem);
    }

    .news-card--horizontal {
        grid-template-columns: 112px minmax(0, 1fr);
        gap: 14px;
    }

    .news-card--horizontal > .image-frame {
        min-height: 118px;
    }
}

@media (max-width: 360px) {
    .news-card--horizontal {
        grid-template-columns: 96px minmax(0, 1fr);
        gap: 12px;
    }

    .news-card--horizontal > .image-frame {
        min-height: 108px;
    }
}

/* 默认 h2 保持 40px；首页快讯和卡片标题在下方使用专门字号。 */
h2 {
    font-size: 40px !important;
}

/* 首页阅读密度：手机按内容排列，桌面封面自适应以保持左右等高。 */
.page-home .lead-grid {
    align-items: start;
}

.page-home .lead-story > a {
    display: block;
}

.page-home .lead-story > a:first-child {
    margin-right: 0;
    margin-left: 0;
}

.page-home .latest-title {
    font-size: 24px !important;
    line-height: 1.4;
}

.page-home .card-title {
    font-size: 18px;
    line-height: 1.5;
}

.page-home .support-card .card-title {
    font-size: 22px !important;
}

@media (min-width: 861px) {
    .page-home .lead-grid {
        align-items: stretch;
    }

    .page-home .lead-story {
        display: grid;
        grid-template-rows: minmax(260px, 1fr) auto auto auto;
    }

    .page-home .lead-story > a:first-child {
        position: relative;
        margin-bottom: 24px;
    }

    .page-home .lead-story > a:first-child .image-frame {
        position: absolute;
        inset: 0;
        margin-bottom: 0;
        aspect-ratio: auto;
    }

    .page-home .support-column {
        grid-template-rows: repeat(2, minmax(0, 1fr));
        align-content: stretch;
    }

    .page-home .support-card {
        display: flex;
        flex-direction: column;
    }

    .page-home .support-card > .meta {
        margin-top: auto;
    }
}

@media (max-width: 600px) {
    .page-home .latest-title {
        font-size: 22px !important;
    }

    .page-home .card-title {
        font-size: 16px;
    }

    .page-home .support-card .card-title {
        font-size: 20px !important;
    }
}
