/* 仅打包 GB2312 常用字和主题现有字符；生僻字由系统中文字体回退。 */
@font-face {
    font-family: "Noto Sans SC";
    src: url("../fonts/noto-sans-sc-300-700.woff2") format("woff2");
    font-display: swap;
    font-weight: 300 700;
}

:root {
    --brand-red: #d9212b;
    --brand-orange: #f46816;
    --ink: #282828;
    --muted: #737373;
    --line: #e9e4df;
    --soft: #fff8f2;
}

.skip-link {
    position: fixed;
    z-index: 9999;
    top: 12px;
    left: 12px;
    padding: 10px 16px;
    border-radius: 4px;
    background: #fff;
    color: var(--brand-red);
    box-shadow: 0 4px 20px rgb(0 0 0 / 18%);
    transform: translateY(-150%);
}

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

.site-header {
    background: #fff;
}

.nav-scroll {
    overflow-x: auto;
    scrollbar-width: thin;
}


.page-shell {
    padding: 28px 20px 64px;
}

.home-shell {
    padding-top: 24px;
}

.crumbs {
    margin-bottom: 18px;
    color: var(--muted);
    font-size: 14px;
}

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

.featured-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
    gap: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--line);
}

.featured-main {
    min-height: 310px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 38px;
    border-radius: 8px;
    background: linear-gradient(135deg, #fff8ef, #fff 65%);
    border-top: 4px solid var(--brand-orange);
}

.eyebrow {
    margin-bottom: 12px;
    color: var(--brand-red);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.16em;
}

.featured-title {
    max-width: 760px;
    color: #27201d;
    font-size: clamp(28px, 3vw, 43px);
    line-height: 1.25;
}

.featured-title a:hover,
.news-title a:hover,
.section-list a:hover,
.sidebar-list a:hover {
    color: var(--brand-red);
}

.featured-summary {
    margin-top: 18px;
    color: var(--muted);
    font-size: 16px;
}

.featured-side {
    padding: 22px 24px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.panel-title,
.section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
}

.panel-title h2,
.section-heading h2 {
    padding-left: 12px;
    border-left: 4px solid var(--brand-orange);
    font-size: 21px;
    line-height: 1.2;
}

.more-link {
    color: var(--muted);
    font-size: 14px;
}

.more-link:hover {
    color: var(--brand-red);
}

.headline-list li,
.section-list li,
.sidebar-list li {
    position: relative;
    padding: 11px 0 11px 15px;
    border-bottom: 1px dashed #e7e2de;
    line-height: 1.55;
}

.headline-list li::before,
.section-list li::before,
.sidebar-list li::before {
    content: "";
    position: absolute;
    left: 1px;
    top: 21px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--brand-orange);
}

.section-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    padding: 32px 0;
}

.section-card,
.content-panel,
.sidebar-panel {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 6px 20px rgb(68 46 31 / 5%);
}

.section-card {
    min-height: 286px;
    padding: 22px;
}

.empty-state {
    display: grid;
    place-content: center;
    min-height: 160px;
    padding: 24px;
    color: var(--muted);
    background: linear-gradient(135deg, var(--soft), #fff);
    text-align: center;
}

.empty-state strong {
    display: block;
    margin-bottom: 6px;
    color: var(--ink);
    font-size: 18px;
}

.news-list {
    display: grid;
    gap: 0;
}

.news-item {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 22px;
    padding: 24px 0;
    border-bottom: 1px solid var(--line);
}

.news-thumb {
    width: 190px;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 5px;
    background: var(--soft);
}

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

.news-title {
    margin-bottom: 9px;
    font-size: 21px;
    line-height: 1.45;
}

.news-meta {
    margin-bottom: 10px;
    color: #999;
    font-size: 13px;
}

.news-summary {
    color: var(--muted);
    font-size: 15px;
}

.content-panel,
.sidebar-panel {
    padding: 26px;
}

.page-title {
    margin-bottom: 18px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--brand-red);
    font-size: 28px;
}

.article-header {
    padding: 8px 0 26px;
    border-bottom: 1px solid var(--line);
    text-align: center;
}

.article-title {
    margin-bottom: 18px;
    font-size: clamp(28px, 3.3vw, 40px);
    line-height: 1.4;
}

.article-meta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 24px;
    color: var(--muted);
    font-size: 14px;
}

.article-content {
    max-width: 860px;
    margin: 0 auto;
    padding: 32px 0 10px;
    font-size: 17px;
    line-height: 2;
    overflow-wrap: anywhere;
}

.article-content p {
    margin: 0 0 1.25em;
}

.article-content img,
.article-content video,
.article-content iframe {
    max-width: 100%;
}

.article-content table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
}

.pagination {
    margin-top: 32px;
    display: flex;
    justify-content: center;
}

.pagination ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 0;
    margin: 0;
    list-style: none;
}

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

.pagination li a,
.pagination li span {
    min-width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 6px;
    color: var(--ink);
    font-weight: 500;
    font-size: 14px;
    background-color: #fff;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}

.pagination li.active span {
    border-color: var(--brand-red);
    background-color: var(--brand-red);
    color: #fff;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(217, 33, 43, 0.18);
    cursor: default;
}

.pagination li a:hover {
    border-color: var(--brand-red);
    color: var(--brand-red);
    background-color: var(--soft);
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.pagination li.disabled span,
.pagination li.disabled a {
    border-color: #eaeaea;
    background-color: #fafafa;
    color: #c0c0c0;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.search-summary {
    margin-bottom: 20px;
    color: var(--muted);
}

.prototype-empty {
    width: 100%;
    min-height: 90px;
    display: grid;
    place-items: center;
    padding: 18px;
    color: var(--muted);
    background: #fffaf6;
    text-align: center;
}

.quick-link-box,
.partner-box {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: var(--ink);
    text-align: center;
}

.quick-link-box img,
.partner-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.quick-link-box span {
    padding: 6px;
}

.article-siblings {
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

.article-siblings p {
    margin: 8px 0;
}

@media (max-width: 992px) {
    .featured-grid,
    .section-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .featured-main {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .page-shell {
        padding: 20px 14px 48px;
    }

    .section-grid,
    .featured-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .featured-main {
        min-height: 240px;
        padding: 26px 20px;
    }

    .content-panel,
    .sidebar-panel,
    .section-card {
        padding: 18px;
    }

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

    .news-thumb {
        width: 112px;
    }

    .news-title {
        font-size: 17px;
    }

    .news-summary {
        display: none;
    }

    .article-content {
        font-size: 16px;
        line-height: 1.85;
    }

    .search-button,
    button,
    .pagination li a,
    .pagination li span {
        min-height: 44px;
    }
}

@media (max-width: 480px) {
    .logo-container {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .logo-icon-img--fallback {
        height: 38px;
    }

}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

:focus-visible {
    outline: 3px solid rgb(23 84 199 / 60%);
    outline-offset: 3px;
}
