:root {
    --ink: #111318;
    --muted: #666b75;
    --line: #e2e4e9;
    --paper: #f5f4f0;
    --white: #fff;
    --accent: #ed4b2f;
    --accent-dark: #c93620;
    --blue: #2646d3;
    --green: #16795d;
    --shadow: 0 18px 60px rgba(17, 19, 24, 0.1);
    --radius: 18px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
    line-height: 1.7;
}

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

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

.shell {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}

.shell--article {
    width: min(790px, calc(100% - 40px));
}

.shell--wide {
    width: min(1100px, calc(100% - 40px));
}

.site-header {
    position: sticky;
    z-index: 50;
    top: 0;
    border-bottom: 1px solid rgba(17, 19, 24, 0.1);
    background: rgba(245, 244, 240, 0.94);
    backdrop-filter: blur(16px);
}

.site-header__inner {
    display: flex;
    min-height: 74px;
    align-items: center;
    gap: 38px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-right: auto;
}

.brand__mark {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    color: #fff;
    background: var(--ink);
    font-weight: 900;
}

.brand strong,
.brand small {
    display: block;
}

.brand strong {
    font-size: 15px;
    line-height: 1.2;
}

.brand small {
    margin-top: 3px;
    color: var(--muted);
    font-size: 9px;
    letter-spacing: 0.17em;
}

.site-nav {
    display: flex;
    gap: 30px;
    font-size: 14px;
    font-weight: 700;
}

.site-nav a:hover,
.text-link:hover,
.eyebrow-link:hover {
    color: var(--accent);
}

.admin-link {
    padding: 9px 16px;
    border: 1px solid var(--ink);
    font-size: 13px;
    font-weight: 800;
}

.home-hero {
    position: relative;
    overflow: hidden;
    padding: 88px 0 82px;
    border-bottom: 1px solid var(--line);
}

.home-hero::after {
    position: absolute;
    top: -180px;
    right: -160px;
    width: 560px;
    height: 560px;
    border: 90px solid rgba(237, 75, 47, 0.08);
    border-radius: 50%;
    content: "";
}

.home-hero__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(340px, 0.65fr);
    align-items: center;
    gap: 80px;
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--accent);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.eyebrow-link {
    display: inline-block;
    margin-bottom: 34px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.home-hero h1 {
    margin: 0;
    font-size: clamp(43px, 5vw, 70px);
    line-height: 1.12;
    letter-spacing: -0.055em;
}

.home-hero h1 span {
    color: var(--accent);
}

.home-hero__intro {
    max-width: 650px;
    margin-top: 26px;
    color: var(--muted);
    font-size: 18px;
}

.home-hero__intro p {
    margin: 0;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.button {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border: 1px solid var(--ink);
    background: transparent;
    cursor: pointer;
    font: inherit;
    font-size: 14px;
    font-weight: 800;
}

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

.button--primary:hover {
    border-color: var(--accent);
    background: var(--accent);
}

.button--secondary:hover {
    color: var(--white);
    background: var(--ink);
}

.workflow-card {
    padding: 30px 32px 18px;
    border: 1px solid var(--ink);
    background: var(--white);
    box-shadow: 14px 14px 0 var(--ink);
}

.workflow-card__label {
    margin: 0 0 18px;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.13em;
}

.workflow-card ol {
    padding: 0;
    margin: 0;
    list-style: none;
}

.workflow-card li {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 16px 0;
    border-top: 1px solid var(--line);
}

.workflow-card li > span {
    color: var(--accent);
    font: 900 18px/1 Georgia, serif;
}

.workflow-card strong,
.workflow-card small {
    display: block;
}

.workflow-card small {
    margin-top: 2px;
    color: var(--muted);
}

.category-section {
    padding: 80px 0;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 30px;
}

.section-heading h2 {
    margin: 0;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.2;
    letter-spacing: -0.035em;
}

.text-link {
    font-size: 14px;
    font-weight: 800;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.category-card {
    position: relative;
    display: flex;
    min-height: 290px;
    flex-direction: column;
    justify-content: space-between;
    padding: 28px;
    overflow: hidden;
    color: #fff;
    transition: transform 0.2s ease;
}

.category-card:hover {
    transform: translateY(-6px);
}

.category-card--news {
    background: var(--accent);
}

.category-card--promotion {
    background: var(--blue);
}

.category-card--library {
    background: var(--green);
}

.category-card__number {
    align-self: flex-end;
    opacity: 0.45;
    font: 900 58px/1 Georgia, serif;
}

.category-card p {
    margin: 0 0 6px;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.2em;
}

.category-card h3 {
    margin: 0;
    font-size: 34px;
}

.category-card div span {
    display: block;
    margin-top: 7px;
    opacity: 0.78;
    font-size: 13px;
}

.category-card b {
    position: absolute;
    right: 28px;
    bottom: 24px;
    font-size: 24px;
}

.recent-section {
    padding: 78px 0 90px;
    background: var(--white);
}

.recent-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.content-card {
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--white);
}

.content-card__media {
    display: block;
    overflow: hidden;
    aspect-ratio: 1.6;
    background: #e8e7e3;
}

.content-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.content-card:hover .content-card__media img {
    transform: scale(1.035);
}

.placeholder {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    color: #9a9ca2;
    font-size: 24px;
    font-weight: 900;
}

.content-card__body {
    padding: 22px;
}

.content-card__body h2,
.content-card__body h3 {
    margin: 5px 0 9px;
    line-height: 1.35;
}

.content-card__body h3 {
    font-size: 19px;
}

.content-card__body p:not(.meta) {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.meta {
    margin: 0;
    color: var(--accent);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.inline-search {
    display: flex;
    min-width: min(360px, 100%);
    border-bottom: 1px solid var(--ink);
}

.inline-search input {
    min-width: 0;
    flex: 1;
    padding: 10px 0;
    border: 0;
    outline: 0;
    background: transparent;
    font: inherit;
}

.inline-search button {
    border: 0;
    background: transparent;
    cursor: pointer;
    font-weight: 800;
}

.section-hero {
    padding: 72px 0 64px;
    color: #fff;
    background: var(--ink);
}

.section-hero h1 {
    margin: 0;
    font-size: clamp(44px, 7vw, 76px);
    line-height: 1.1;
}

.section-hero .eyebrow-link {
    color: #aaaeb6;
}

.section-intro {
    max-width: 700px;
    margin-top: 18px;
    color: #c1c3c8;
    font-size: 17px;
}

.section-intro p {
    margin: 0;
}

.content-list {
    padding: 62px 0 90px;
}

.content-card--row {
    display: grid;
    grid-template-columns: minmax(250px, 0.75fr) minmax(0, 1.25fr);
    margin-bottom: 22px;
}

.content-card--row .content-card__media {
    aspect-ratio: auto;
    min-height: 270px;
}

.content-card--row .content-card__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 34px 40px;
}

.content-card--row h2 {
    font-size: clamp(24px, 3vw, 34px);
}

.content-card--row .text-link {
    margin-top: 20px;
}

.article {
    padding: 72px 0 100px;
    background: var(--white);
}

.article-header h1 {
    margin: 0;
    font-size: clamp(42px, 6vw, 68px);
    line-height: 1.15;
    letter-spacing: -0.045em;
}

.article-summary {
    margin: 24px 0 0;
    color: var(--muted);
    font-size: 20px;
    line-height: 1.7;
}

.article-meta {
    display: flex;
    gap: 22px;
    margin-top: 24px;
    color: var(--muted);
    font-size: 13px;
}

.article-hero {
    margin-top: 54px;
}

.article-hero img {
    width: 100%;
    max-height: 680px;
    object-fit: cover;
}

.article-body {
    padding-top: 56px;
    font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
    font-size: 17px;
}

.article-block {
    margin: 0 0 26px;
}

.article-block--video video {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    background: #0f172a;
}

.article-block--heading {
    margin-top: 48px;
    font-size: 26px;
    font-weight: 900;
}

.article-block--paragraph h2,
.article-block--paragraph h3 {
    margin-top: 42px;
    line-height: 1.3;
}

.article-block--paragraph a,
.source-box a {
    color: var(--blue);
    text-decoration: underline;
}

.article-figure {
    margin: 46px 0;
}

.article-image {
    width: 100%;
    height: auto;
}

.article-figure figcaption {
    margin-top: 10px;
    color: var(--muted);
    font-size: 12px;
}

.article-quote {
    margin: 44px 0;
    padding: 12px 0 12px 30px;
    border-left: 5px solid var(--accent);
    font-size: 22px;
    font-weight: 700;
}

.article-quote p {
    margin: 0;
}

.article-quote cite {
    display: block;
    margin-top: 10px;
    color: var(--muted);
    font-size: 13px;
    font-style: normal;
}

.document-card {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 20px;
    border: 1px solid var(--line);
    background: var(--paper);
}

.document-card__icon {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    color: #fff;
    background: var(--ink);
    font-size: 24px;
}

.document-card strong,
.document-card small {
    display: block;
}

.document-card small {
    color: var(--muted);
}

.source-box {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 60px;
    padding: 24px;
    overflow-wrap: anywhere;
    border-top: 1px solid var(--line);
    background: var(--paper);
    font-size: 13px;
}

.empty-state {
    max-width: 720px;
    padding: 52px;
    border: 1px dashed #b7bac1;
    background: var(--white);
    text-align: center;
}

.empty-state--wide {
    grid-column: 1 / -1;
    max-width: none;
}

.empty-state h2,
.empty-state h3 {
    margin: 0 0 10px;
    font-size: 28px;
}

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

.empty-state .button {
    margin-top: 12px;
}

.section-hero--search {
    padding-bottom: 52px;
}

.search-form {
    display: flex;
    max-width: 760px;
    gap: 10px;
    margin-top: 30px;
}

.search-form input {
    min-width: 0;
    flex: 1;
    padding: 13px 16px;
    border: 1px solid #555962;
    outline: 0;
    background: #24272d;
    color: #fff;
    font: inherit;
}

.search-results {
    min-height: 380px;
    padding: 54px 0 90px;
}

.result-count {
    margin-bottom: 28px;
    color: var(--muted);
}

.search-result {
    max-width: 820px;
    padding: 28px 0;
    border-top: 1px solid var(--line);
}

.search-result h2 {
    margin: 7px 0;
    font-size: 26px;
}

.search-result p:last-child {
    margin-bottom: 0;
    color: var(--muted);
}

.pagination {
    display: flex;
    max-width: 820px;
    justify-content: space-between;
    padding-top: 26px;
    border-top: 1px solid var(--line);
}

.site-footer {
    padding: 50px 0;
    color: #fff;
    background: var(--ink);
}

.site-footer__inner {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.site-footer strong {
    font-size: 18px;
}

.site-footer p {
    margin: 6px 0 0;
    color: #979ba3;
    font-size: 13px;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 24px;
    font-size: 13px;
}

@media (max-width: 900px) {
    .site-nav {
        display: none;
    }

    .home-hero__grid {
        grid-template-columns: 1fr;
        gap: 52px;
    }

    .category-grid,
    .recent-grid {
        grid-template-columns: 1fr 1fr;
    }

    .category-card:last-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 640px) {
    .shell,
    .shell--article,
    .shell--wide {
        width: min(100% - 28px, 1180px);
    }

    .site-header__inner {
        min-height: 66px;
    }

    .admin-link {
        padding: 7px 10px;
    }

    .home-hero {
        padding: 58px 0 64px;
    }

    .home-hero h1 {
        font-size: 42px;
    }

    .workflow-card {
        padding: 24px 22px 12px;
        box-shadow: 8px 8px 0 var(--ink);
    }

    .category-section,
    .recent-section {
        padding: 58px 0;
    }

    .section-heading {
        display: block;
    }

    .section-heading .text-link,
    .inline-search {
        display: flex;
        margin-top: 20px;
    }

    .category-grid,
    .recent-grid,
    .content-card--row {
        grid-template-columns: 1fr;
    }

    .category-card:last-child {
        grid-column: auto;
    }

    .content-card--row .content-card__media {
        min-height: 210px;
    }

    .content-card--row .content-card__body {
        padding: 26px 22px;
    }

    .section-hero {
        padding: 48px 0;
    }

    .article {
        padding-top: 50px;
    }

    .article-header h1 {
        font-size: 40px;
    }

    .article-summary {
        font-size: 17px;
    }

    .article-meta,
    .site-footer__inner,
    .footer-links {
        align-items: flex-start;
        flex-direction: column;
    }

    .empty-state {
        padding: 36px 20px;
    }
}
