:root {
    --ink: #202127;
    --muted: #72737b;
    --paper: #f7f5f0;
    --white: #ffffff;
    --accent: #ed5a3c;
    --accent-dark: #cb422a;
    --line: #e5e0d6;
    --navy: #202638;
    --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", Arial, sans-serif;
    line-height: 1.75;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    width: 100%;
    max-width: 100%;
    object-fit: cover;
}

.container {
    width: min(1160px, calc(100% - 40px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    z-index: 10;
    top: 0;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(14px);
}

.header-inner {
    display: flex;
    min-height: 76px;
    align-items: center;
    gap: 30px;
}

.brand {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 9px;
}

.brand-mark {
    display: grid;
    width: 42px;
    height: 42px;
    color: var(--white);
    background: var(--accent);
    border-radius: 13px;
    place-items: center;
    font-size: 18px;
    font-weight: 900;
}

.brand-copy {
    display: grid;
    line-height: 1.2;
}

.brand-copy strong {
    font-size: 15px;
}

.brand-copy small {
    margin-top: 3px;
    color: var(--muted);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .7px;
}

.main-nav {
    display: flex;
    flex: 1;
    justify-content: flex-end;
    gap: 4px;
}

.nav-item {
    display: inline-flex;
    padding: 9px 10px;
    align-items: center;
    gap: 5px;
    color: #4b4d55;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.nav-item:hover,
.nav-item.is-active {
    color: var(--accent-dark);
    background: #fff0ea;
}

.nav-icon {
    font-size: 15px;
}

.nav-toggle {
    display: none;
    margin-left: auto;
    padding: 8px;
    background: transparent;
    border: 0;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    margin: 4px;
    background: var(--ink);
}

.hero-section {
    padding: 56px 0 28px;
}

.hero-layout {
    display: grid;
    min-height: 390px;
    grid-template-columns: 1fr 1.1fr;
    overflow: hidden;
    background: var(--navy);
    border-radius: 26px;
}

.hero-copy {
    display: flex;
    padding: 54px;
    flex-direction: column;
    justify-content: center;
    color: var(--white);
}

.kicker,
.eyebrow {
    margin: 0 0 9px;
    color: var(--accent);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.hero-copy h1,
.channel-hero h1,
.article-header h1 {
    margin: 0;
    line-height: 1.25;
}

.hero-copy h1 {
    font-size: clamp(32px, 4vw, 52px);
}

.hero-copy > p:not(.kicker) {
    max-width: 440px;
    margin: 18px 0 25px;
    color: #d2d5df;
}

.button {
    display: inline-flex;
    width: fit-content;
    min-height: 44px;
    padding: 10px 17px;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border-radius: 999px;
    font-weight: 800;
}

.button-primary {
    color: var(--white);
    background: var(--accent);
}

.button-primary:hover {
    background: var(--accent-dark);
}

.hero-carousel {
    position: relative;
    min-height: 390px;
}

.carousel-track,
.carousel-slide,
.carousel-image {
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    inset: 0;
    visibility: hidden;
    opacity: 0;
    transition: opacity .55s ease;
}

.carousel-slide.is-visible {
    visibility: visible;
    opacity: 1;
}

.carousel-slide::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(transparent 45%, rgba(0, 0, 0, .78));
}

.carousel-slide span {
    position: absolute;
    z-index: 1;
    right: 35px;
    bottom: 35px;
    left: 35px;
    color: var(--white);
    font-size: 22px;
    font-weight: 900;
    line-height: 1.45;
}

.carousel-dots {
    position: absolute;
    z-index: 2;
    right: 35px;
    bottom: 16px;
}

.carousel-dots button {
    width: 8px;
    height: 8px;
    margin: 3px;
    padding: 0;
    background: rgba(255, 255, 255, .55);
    border: 0;
    border-radius: 50%;
}

.carousel-dots .is-current {
    width: 22px;
    border-radius: 9px;
    background: var(--accent);
}

.section-space {
    margin-top: 56px;
}

.quick-columns {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 10px;
}

.quick-column {
    display: grid;
    min-height: 92px;
    padding: 14px 6px;
    align-content: center;
    justify-items: center;
    gap: 5px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 14px;
    font-size: 13px;
    font-weight: 800;
    text-align: center;
}

.quick-column:hover {
    border-color: var(--accent);
    color: var(--accent-dark);
    transform: translateY(-2px);
}

.quick-icon {
    color: var(--accent);
    font-size: 22px;
}

.section-heading {
    display: flex;
    margin-bottom: 20px;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
}

.section-heading h2,
.panel h2,
.feature-strip h2,
.app-subscribe h2 {
    margin: 0;
    font-size: 29px;
    line-height: 1.3;
}

.section-heading > a,
.text-link {
    color: var(--accent-dark);
    font-size: 14px;
    font-weight: 800;
}

.card-grid {
    display: grid;
    gap: 20px;
}

.three-cols {
    grid-template-columns: repeat(3, 1fr);
}

.story-card {
    display: flex;
    min-height: 390px;
    flex-direction: column;
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.cover-image {
    height: 190px;
}

.card-body {
    display: flex;
    padding: 20px;
    flex: 1;
    flex-direction: column;
}

.card-body h3 {
    margin: 0;
    font-size: 18px;
    line-height: 1.5;
}

.card-body p:not(.eyebrow) {
    margin: auto 0 0;
    color: var(--muted);
    font-size: 14px;
}

.split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.panel {
    min-height: 340px;
    padding: 34px;
    border-radius: var(--radius);
}

.panel-dark {
    color: var(--white);
    background: var(--navy);
}

.rank-list {
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
}

.rank-list li {
    border-top: 1px solid rgba(255, 255, 255, .16);
}

.rank-list a {
    display: flex;
    padding: 12px 0;
    gap: 14px;
    align-items: center;
    font-size: 14px;
}

.rank-list span {
    color: var(--accent);
    font-weight: 900;
}

.source-panel {
    background: #efeae0;
}

.source-panel > p:not(.kicker) {
    color: #555760;
}

.topic-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 13px;
}

.topic-grid a {
    min-height: 135px;
    padding: 21px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 14px;
    font-weight: 900;
}

.topic-grid span {
    display: block;
    margin-bottom: 28px;
    color: var(--accent);
    font-size: 12px;
}

.feature-strip,
.app-subscribe {
    display: grid;
    grid-template-columns: .65fr 1.35fr;
    gap: 50px;
    padding: 40px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.feature-strip > p {
    margin: 0;
    color: #555760;
}

.app-subscribe {
    grid-template-columns: 1fr auto;
    margin-bottom: 56px;
    background: #fff0ea;
}

.app-subscribe > div > p:not(.kicker) {
    margin: 12px 0 20px;
}

.qr-placeholder {
    display: grid;
    width: 165px;
    height: 165px;
    padding: 15px;
    align-content: center;
    justify-items: center;
    background: repeating-conic-gradient(#202127 0 25%, #fff 0 50%) 50% / 24px 24px;
    border: 9px solid var(--white);
    color: var(--white);
    text-align: center;
}

.qr-placeholder span {
    display: grid;
    width: 62px;
    height: 62px;
    background: var(--accent);
    place-items: center;
    font-size: 24px;
    font-weight: 900;
}

.qr-placeholder small {
    margin-top: 10px;
    padding: 2px 5px;
    background: var(--navy);
    font-size: 7px;
}

.site-footer {
    padding: 36px 0 20px;
    color: #d8dbe3;
    background: var(--navy);
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.footer-grid p {
    max-width: 450px;
    margin: 8px 0 0;
    color: #a8adbd;
    font-size: 13px;
}

.footer-grid > div:last-child {
    display: flex;
    align-items: start;
    gap: 18px;
    font-size: 13px;
}

.copyright {
    margin-top: 30px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, .14);
    color: #9299aa;
    font-size: 12px;
}

.page-main {
    padding: 28px 0 56px;
}

.breadcrumb {
    display: flex;
    gap: 9px;
    color: var(--muted);
    font-size: 13px;
}

.breadcrumb a:hover {
    color: var(--accent-dark);
}

.channel-hero {
    margin-top: 25px;
    padding: 42px;
    color: var(--white);
    background: var(--navy);
    border-radius: var(--radius);
}

.channel-hero h1 {
    font-size: 42px;
}

.channel-hero > p:not(.kicker) {
    max-width: 720px;
    margin: 12px 0 0;
    color: #d5d8e0;
}

.list-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    align-items: start;
    gap: 28px;
}

.story-list {
    display: grid;
    gap: 16px;
}

.list-story {
    display: grid;
    min-height: 220px;
    grid-template-columns: 260px minmax(0, 1fr);
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.list-thumb .cover-image {
    height: 100%;
}

.list-copy {
    display: flex;
    padding: 23px;
    flex-direction: column;
}

.list-copy h2 {
    margin: 0;
    font-size: 21px;
    line-height: 1.45;
}

.list-copy > p:not(.eyebrow) {
    margin: 8px 0;
    color: var(--muted);
    font-size: 14px;
}

.list-copy .text-link {
    margin-top: auto;
}

.sidebar {
    display: grid;
    gap: 16px;
}

.side-card {
    padding: 23px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.side-card p:not(.kicker) {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.side-card a {
    display: block;
    padding: 8px 0;
    border-bottom: 1px solid var(--line);
    color: var(--accent-dark);
    font-size: 14px;
    font-weight: 800;
}

.article-shell {
    max-width: 840px;
    margin-top: 25px;
    padding: 44px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.article-header h1 {
    font-size: clamp(29px, 4vw, 42px);
}

.article-meta {
    display: flex;
    margin-top: 18px;
    flex-wrap: wrap;
    gap: 8px 18px;
    color: var(--muted);
    font-size: 13px;
}

.article-lead {
    margin: 24px 0 0;
    color: #555760;
    font-size: 17px;
}

.reading-note {
    margin: 28px 0;
    padding: 18px 20px;
    background: #fff4ef;
    border-left: 4px solid var(--accent);
}

.reading-note p {
    margin: 5px 0 0;
    color: #5e5a57;
    font-size: 14px;
}

.article-content h2 {
    margin: 38px 0 10px;
    font-size: 23px;
}

.article-content p {
    margin: 0;
    color: #3f4149;
}

.article-image {
    height: 355px;
    margin: 20px 0 0;
    border-radius: 13px;
}

.chapter-end {
    margin-top: 36px;
    padding: 17px;
    color: var(--muted);
    background: var(--paper);
    border-radius: 10px;
    text-align: center;
    font-size: 14px;
}

.article-nav {
    display: flex;
    margin-top: 28px;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    color: var(--accent-dark);
    font-weight: 800;
}

@media (max-width: 960px) {
    .main-nav {
        display: none;
    }

    .main-nav.is-open {
        display: grid;
        position: absolute;
        top: 76px;
        right: 20px;
        left: 20px;
        padding: 12px;
        background: var(--white);
        border: 1px solid var(--line);
        border-radius: 14px;
        box-shadow: 0 16px 35px rgba(21, 25, 37, .15);
        grid-template-columns: repeat(2, 1fr);
    }

    .nav-toggle {
        display: block;
    }

    .quick-columns {
        grid-template-columns: repeat(4, 1fr);
    }

    .three-cols {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 680px) {
    .container {
        width: min(100% - 28px, 1160px);
    }

    .header-inner {
        min-height: 64px;
    }

    .main-nav.is-open {
        top: 64px;
        right: 14px;
        left: 14px;
    }

    .hero-section {
        padding-top: 24px;
    }

    .hero-layout,
    .split-grid,
    .feature-strip,
    .app-subscribe,
    .list-layout {
        grid-template-columns: 1fr;
    }

    .hero-layout {
        min-height: 0;
    }

    .hero-copy {
        padding: 35px 28px;
    }

    .hero-carousel {
        min-height: 275px;
    }

    .carousel-slide span {
        right: 22px;
        bottom: 31px;
        left: 22px;
        font-size: 18px;
    }

    .carousel-dots {
        right: 19px;
    }

    .quick-columns {
        grid-template-columns: repeat(4, 1fr);
        gap: 7px;
    }

    .quick-column {
        min-height: 78px;
        font-size: 12px;
    }

    .section-space {
        margin-top: 36px;
    }

    .three-cols,
    .topic-grid {
        grid-template-columns: 1fr;
    }

    .topic-grid a {
        min-height: 72px;
    }

    .topic-grid span {
        display: inline;
        margin-right: 12px;
    }

    .panel,
    .feature-strip,
    .app-subscribe,
    .channel-hero,
    .article-shell {
        padding: 26px;
    }

    .app-subscribe {
        justify-items: start;
    }

    .list-story {
        min-height: 0;
        grid-template-columns: 1fr;
    }

    .list-thumb .cover-image {
        height: 190px;
    }

    .article-image {
        height: 220px;
    }

    .article-nav {
        align-items: stretch;
        flex-direction: column;
        text-align: center;
    }

    .footer-grid,
    .footer-grid > div:last-child {
        align-items: flex-start;
        flex-direction: column;
    }
}
