.article-page {
    background: #f8fafc;
    color: var(--text-dark);
}

.article-site-header {
    position: sticky;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.05);
    backdrop-filter: blur(12px);
}

.article-site-header .navbar {
    min-height: 72px;
    padding: 10px 0;
}

.article-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: inherit;
    text-decoration: none;
}

.article-brand img {
    width: 40px;
    height: 40px;
}

.article-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.article-nav a {
    color: var(--text-dark);
    font-weight: 500;
    text-decoration: none;
}

.article-nav a:hover {
    color: var(--primary-color);
}

.article-nav .article-nav-cta {
    padding: 9px 16px;
    color: var(--white);
    background: var(--primary-color);
    border-radius: 999px;
}

.article-main {
    padding: 38px 0 72px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
    color: var(--text-light);
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
}

.article-shell {
    max-width: 920px;
    margin: 0 auto;
}

.article-hero {
    padding: 42px;
    margin-bottom: 28px;
    background: linear-gradient(135deg, #eff6ff 0%, #ecfeff 100%);
    border: 1px solid #bfdbfe;
    border-radius: 20px;
}

.article-category {
    display: inline-flex;
    padding: 6px 12px;
    margin-bottom: 16px;
    color: #1d4ed8;
    background: #dbeafe;
    border-radius: 999px;
    font-size: 0.86rem;
    font-weight: 600;
}

.article-hero h1 {
    max-width: 760px;
    margin-bottom: 18px;
    font-size: clamp(2rem, 5vw, 3.2rem);
    line-height: 1.18;
    letter-spacing: -0.03em;
}

.article-lead {
    max-width: 760px;
    color: #475569;
    font-size: 1.08rem;
    line-height: 1.85;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 20px;
    color: var(--text-light);
    font-size: 0.88rem;
}

.article-cover {
    display: block;
    width: 100%;
    height: auto;
    max-height: 460px;
    margin-bottom: 28px;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: var(--shadow);
}

.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 32px;
    align-items: start;
}

.article-body,
.article-sidebar-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: 0 8px 26px rgba(15, 23, 42, 0.05);
}

.article-body {
    padding: 38px;
}

.article-body p,
.article-body li {
    color: #334155;
    font-size: 1rem;
    line-height: 1.9;
}

.article-body p {
    margin: 0 0 18px;
}

.article-body h2 {
    margin: 42px 0 16px;
    padding-top: 8px;
    font-size: 1.55rem;
    line-height: 1.35;
    scroll-margin-top: 92px;
}

.article-body h2:first-of-type {
    margin-top: 28px;
}

.article-body h3 {
    margin: 28px 0 12px;
    font-size: 1.15rem;
}

.article-body ul,
.article-body ol {
    margin: 0 0 22px 1.3rem;
}

.article-body li + li {
    margin-top: 8px;
}

.article-body a {
    color: #1d4ed8;
    text-underline-offset: 3px;
}

.quick-answer {
    padding: 22px;
    margin-bottom: 26px;
    background: #eff6ff;
    border-left: 4px solid var(--primary-color);
    border-radius: 10px;
}

.quick-answer strong {
    display: block;
    margin-bottom: 8px;
    color: #1e40af;
}

.quick-answer p {
    margin: 0;
}

.article-toc {
    padding: 22px;
    margin-bottom: 28px;
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: 12px;
}

.article-toc strong {
    display: block;
    margin-bottom: 10px;
}

.article-toc ol {
    margin-bottom: 0;
}

.article-toc li + li {
    margin-top: 4px;
}

.article-toc a {
    color: #475569;
    text-decoration: none;
}

.article-toc a:hover {
    color: var(--primary-color);
}

.article-example,
.article-checklist,
.article-note {
    padding: 22px;
    margin: 24px 0;
    border-radius: 12px;
}

.article-example {
    background: #f0fdfa;
    border: 1px solid #99f6e4;
}

.article-checklist {
    background: #f8fafc;
    border: 1px solid var(--border-color);
}

.article-note {
    background: #fff7ed;
    border: 1px solid #fed7aa;
}

.article-example h3,
.article-checklist h3,
.article-note h3 {
    margin-top: 0;
}

.article-template {
    padding: 20px;
    margin: 22px 0;
    overflow-x: auto;
    color: #e2e8f0;
    background: #172033;
    border-radius: 12px;
    font: 0.94rem/1.8 Consolas, "Microsoft YaHei", sans-serif;
    white-space: pre-wrap;
}

.article-cta {
    padding: 28px;
    margin: 38px 0 12px;
    text-align: center;
    background: linear-gradient(135deg, #1d4ed8, #0891b2);
    border-radius: 16px;
}

.article-cta h2,
.article-cta p {
    color: var(--white);
}

.article-cta h2 {
    margin: 0 0 10px;
    padding: 0;
}

.article-cta p {
    margin-bottom: 18px;
    opacity: 0.92;
}

.article-cta a {
    display: inline-flex;
    padding: 11px 20px;
    color: #1d4ed8;
    background: var(--white);
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
}

.article-sidebar {
    position: sticky;
    top: 96px;
    display: grid;
    gap: 18px;
}

.article-sidebar-card {
    padding: 22px;
}

.article-sidebar-card h2 {
    margin-bottom: 14px;
    font-size: 1.05rem;
}

.article-sidebar-card ul {
    list-style: none;
}

.article-sidebar-card li + li {
    margin-top: 11px;
}

.article-sidebar-card a {
    color: #475569;
    font-size: 0.92rem;
    line-height: 1.5;
    text-decoration: none;
}

.article-sidebar-card a:hover {
    color: var(--primary-color);
}

.article-faq {
    padding-top: 6px;
}

.article-faq details {
    padding: 16px 0;
    border-bottom: 1px solid var(--border-color);
}

.article-faq summary {
    cursor: pointer;
    font-weight: 700;
}

.article-faq details p {
    margin: 12px 0 0;
}

.article-related {
    margin-top: 34px;
}

.article-related h2 {
    margin-bottom: 18px;
    font-size: 1.45rem;
}

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

.related-card {
    display: block;
    padding: 20px;
    color: inherit;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    text-decoration: none;
}

.related-card:hover {
    border-color: #93c5fd;
    box-shadow: var(--shadow);
}

.related-card span {
    display: block;
    margin-bottom: 8px;
    color: var(--primary-color);
    font-size: 0.82rem;
}

.related-card strong {
    line-height: 1.45;
}

.guide-index-hero {
    padding: 120px 0 54px;
    background: linear-gradient(135deg, #eff6ff 0%, #ecfeff 100%);
}

.guide-index-hero h1 {
    max-width: 760px;
    margin-bottom: 16px;
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    line-height: 1.15;
}

.guide-index-hero p {
    max-width: 720px;
    color: #475569;
    font-size: 1.08rem;
}

.guide-index-main {
    padding: 54px 0 76px;
}

.guide-cluster + .guide-cluster {
    margin-top: 52px;
}

.guide-cluster-head {
    margin-bottom: 22px;
}

.guide-cluster-head h2 {
    margin-bottom: 8px;
    font-size: 1.65rem;
}

.guide-cluster-head p {
    color: var(--text-light);
}

.guide-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.guide-card {
    display: flex;
    flex-direction: column;
    min-height: 220px;
    padding: 24px;
    color: inherit;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.guide-card:hover {
    transform: translateY(-3px);
    border-color: #93c5fd;
    box-shadow: var(--shadow);
}

.guide-card span {
    margin-bottom: 12px;
    color: var(--primary-color);
    font-size: 0.82rem;
    font-weight: 600;
}

.guide-card h3 {
    margin-bottom: 10px;
    font-size: 1.15rem;
    line-height: 1.45;
}

.guide-card p {
    color: var(--text-light);
    font-size: 0.92rem;
}

.guide-card strong {
    margin-top: auto;
    padding-top: 18px;
    color: var(--primary-color);
    font-size: 0.9rem;
}

.article-footer-note {
    margin-top: 24px;
    color: #94a3b8;
    font-size: 0.86rem;
}

@media (max-width: 900px) {
    .article-layout {
        grid-template-columns: 1fr;
    }

    .article-sidebar {
        position: static;
        grid-template-columns: repeat(2, 1fr);
    }

    .guide-card-grid,
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .article-nav a:not(.article-nav-cta) {
        display: none;
    }

    .article-nav {
        gap: 8px;
    }

    .article-nav-cta {
        font-size: 0.88rem;
    }

    .article-main {
        padding-top: 22px;
    }

    .article-hero,
    .article-body {
        padding: 24px;
    }

    .article-hero h1 {
        font-size: 2rem;
    }

    .article-sidebar,
    .guide-card-grid,
    .related-grid {
        grid-template-columns: 1fr;
    }

    .guide-index-hero {
        padding-top: 104px;
    }
}
@media (max-width: 640px) {
    .article-site-header .container {
        padding-right: 12px;
        padding-left: 12px;
    }

    .article-site-header .navbar {
        min-height: 64px;
        gap: 8px;
        padding: 8px 0;
    }

    .article-brand {
        min-width: 0;
        gap: 8px;
    }

    .article-brand img {
        width: 32px;
        height: 32px;
        flex: 0 0 auto;
    }

    .article-brand .logo-text {
        overflow: hidden;
        font-size: 1rem;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .article-nav {
        flex: 0 0 auto;
    }

    .article-nav .article-nav-cta {
        min-height: 42px;
        display: inline-flex;
        align-items: center;
        padding: 8px 12px;
        font-size: 0.8rem;
        line-height: 1.2;
        white-space: nowrap;
    }

    .article-main {
        padding: 18px 0 52px;
    }

    .breadcrumb {
        margin-bottom: 16px;
        font-size: 0.82rem;
    }

    .article-hero,
    .article-body {
        padding: 20px;
        border-radius: 14px;
    }

    .article-hero {
        margin-bottom: 20px;
    }

    .article-hero h1 {
        font-size: clamp(1.75rem, 8vw, 2rem);
        letter-spacing: -0.02em;
    }

    .article-lead {
        font-size: 1rem;
        line-height: 1.75;
    }

    .article-meta {
        gap: 8px 14px;
    }

    .article-cover {
        margin-bottom: 20px;
        border-radius: 12px;
    }

    .article-layout {
        gap: 20px;
    }

    .article-body h2 {
        font-size: 1.4rem;
        line-height: 1.4;
    }

    .quick-answer,
    .article-toc,
    .example-box,
    .checklist,
    .note-box,
    .article-cta {
        padding: 18px;
    }

    .article-cta a {
        width: 100%;
        min-height: 46px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .guide-index-main {
        padding: 38px 0 56px;
    }

    .guide-index-hero {
        padding: 92px 0 36px;
    }

    .guide-index-hero h1 {
        font-size: 1.9rem;
    }

    .guide-index-hero p {
        font-size: 1rem;
    }

    .guide-cluster + .guide-cluster {
        margin-top: 38px;
    }

    .guide-card {
        min-height: 0;
        padding: 20px;
    }
}