/* ===== 全局变量 — 蓝橙商务官网风 ===== */
:root {
    --primary: #1d4ed8;
    --primary-dark: #1e3a8a;
    --primary-light: #3b82f6;
    --accent: #ea580c;
    --accent-light: #fb923c;
    --bg-body: #ffffff;
    --bg-muted: #f1f5f9;
    --bg-dark: #0f172a;
    --bg-card: #ffffff;
    --text-main: #334155;
    --text-dark: #0f172a;
    --text-light: #64748b;
    --text-inverse: #f8fafc;
    --border: #e2e8f0;
    --border-dark: #cbd5e1;
    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.08);
    --shadow-md: 0 4px 16px rgba(15, 23, 42, 0.1);
    --shadow-lg: 0 8px 30px rgba(15, 23, 42, 0.12);
    --radius: 10px;
    --radius-sm: 6px;
    --header-h: 64px;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
    background: var(--bg-body);
    color: var(--text-main);
    line-height: 1.7;
    font-size: 15px;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.25s;
}

a:hover {
    color: var(--accent);
}

.container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4 {
    color: var(--text-dark);
    font-weight: 600;
    line-height: 1.35;
}

/* ===== 头部导航 ===== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-h);
    gap: 16px;
}

.site-logo h1 {
    font-size: 1.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 220px;
}

.site-logo h1 a {
    color: var(--primary-dark);
}

.site-nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 0;
}

.site-nav ul li a {
    display: block;
    padding: 6px 12px;
    color: var(--text-main);
    font-size: 0.9rem;
    border-radius: var(--radius-sm);
    white-space: nowrap;
}

.site-nav ul li a:hover,
.site-nav ul li.za9648this a,
.site-nav ul li[class*="za9648this"] a {
    color: var(--primary);
    background: rgba(29, 78, 216, 0.08);
    font-weight: 600;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: none;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    padding: 6px;
    flex-shrink: 0;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-dark);
    border-radius: 2px;
}

/* ===== 按钮 ===== */
.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 600;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.25s;
    cursor: pointer;
    line-height: 1.4;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: #fff;
}

.btn-outline {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border-color: #fff;
}

.btn-accent {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

.btn-accent:hover {
    background: #c2410c;
    border-color: #c2410c;
    color: #fff;
}

/* ===== Banner ===== */
.banner {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, #2563eb 100%);
    color: var(--text-inverse);
    padding: 56px 0 48px;
}

.banner-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    align-items: center;
}

.banner-tag {
    display: inline-block;
    padding: 4px 14px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    font-size: 0.82rem;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}

.banner-text h2 {
    font-size: clamp(1.5rem, 3.5vw, 2.2rem);
    color: #fff;
    margin-bottom: 14px;
}

.banner-text > p {
    font-size: 0.95rem;
    opacity: 0.92;
    margin-bottom: 12px;
}

.banner-desc {
    font-size: 0.9rem;
    opacity: 0.85;
    margin-bottom: 24px;
    line-height: 1.75;
}

.banner-desc strong {
    color: var(--accent-light);
}

.banner-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.banner-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 20px;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.banner-card img {
    width: 100%;
    max-width: 220px;
    margin: 0 auto 16px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
}

.banner-card .btn-accent {
    display: block;
    width: 100%;
    margin-bottom: 10px;
}

.banner-note {
    font-size: 0.8rem;
    color: var(--text-light);
    margin: 0;
}

/* ===== 数据条 ===== */
.stats-bar {
    background: var(--bg-dark);
    padding: 28px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    text-align: center;
}

.stat-item strong {
    display: block;
    font-size: 1.6rem;
    color: var(--accent-light);
    margin-bottom: 4px;
}

.stat-item span {
    font-size: 0.85rem;
    color: #94a3b8;
}

/* ===== 通用区块 ===== */
.block {
    padding: 56px 0;
}

.block-light {
    background: var(--bg-body);
}

.block-muted {
    background: var(--bg-muted);
}

.block-dark {
    background: var(--bg-dark);
    color: #cbd5e1;
}

.block-head {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 36px;
}

.block-label {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 8px;
}

.block-label-light {
    color: var(--accent-light);
}

.block-title {
    font-size: clamp(1.4rem, 3vw, 1.85rem);
    margin-bottom: 10px;
}

.block-title-light {
    color: #fff;
}

.block-sub {
    font-size: 0.92rem;
    color: var(--text-light);
    line-height: 1.7;
}

.block-sub strong {
    color: var(--text-main);
}

/* ===== 卡片网格 ===== */
.card-grid {
    display: grid;
    gap: 20px;
}

.card-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px 22px;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.25s, transform 0.25s;
}

.card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.card-icon {
    width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    background: var(--primary);
    color: #fff;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 14px;
}

.card h3 {
    font-size: 1.05rem;
    margin-bottom: 10px;
    color: var(--primary-dark);
}

.card p {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.75;
    margin: 0;
}

.card p strong {
    color: var(--text-main);
}

/* ===== 特色保障 ===== */
.feature-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.feature-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-left: 4px solid var(--primary);
    border-radius: var(--radius);
    padding: 22px 24px;
    box-shadow: var(--shadow-sm);
}

.feature-box h3 {
    font-size: 1rem;
    margin-bottom: 8px;
    color: var(--primary-dark);
}

.feature-box p {
    font-size: 0.88rem;
    color: var(--text-light);
    margin: 0;
    line-height: 1.7;
}

/* ===== 时间线流程 ===== */
.timeline {
    max-width: 720px;
    margin: 0 auto;
    position: relative;
    padding-left: 32px;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 15px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: var(--border-dark);
}

.timeline-item {
    position: relative;
    padding: 0 0 28px 24px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-num {
    position: absolute;
    left: -32px;
    top: 0;
    width: 32px;
    height: 32px;
    line-height: 32px;
    text-align: center;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    font-size: 0.85rem;
    font-weight: 700;
    z-index: 1;
}

.timeline-body h4 {
    font-size: 1rem;
    margin-bottom: 6px;
    color: var(--primary-dark);
}

.timeline-body p {
    font-size: 0.88rem;
    color: var(--text-light);
    margin: 0;
    line-height: 1.7;
}

.timeline-body p strong {
    color: var(--text-main);
}

/* ===== 知识板块 ===== */
.knowledge-wrap {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 32px;
    align-items: start;
}

.knowledge-text p {
    font-size: 0.92rem;
    margin-bottom: 16px;
    line-height: 1.75;
}

.knowledge-list {
    list-style: none;
    margin-bottom: 16px;
}

.knowledge-list li {
    position: relative;
    padding: 10px 0 10px 18px;
    font-size: 0.88rem;
    line-height: 1.7;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.knowledge-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 18px;
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
}

.knowledge-list li:last-child {
    border-bottom: none;
}

.knowledge-foot {
    font-size: 0.88rem;
    opacity: 0.9;
}

.knowledge-panel {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    padding: 24px 22px;
}

.knowledge-panel h3 {
    color: #fff;
    font-size: 1.05rem;
    margin-bottom: 8px;
}

.knowledge-panel > p {
    font-size: 0.85rem;
    color: #94a3b8;
    margin-bottom: 16px;
}

.knowledge-panel ul {
    list-style: none;
    margin-bottom: 20px;
}

.knowledge-panel ul li {
    padding: 6px 0;
    font-size: 0.88rem;
    color: #cbd5e1;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.knowledge-panel ul li:last-child {
    border-bottom: none;
}

.knowledge-panel .btn-accent {
    display: block;
    width: 100%;
    text-align: center;
}

/* ===== FAQ ===== */
.faq-list {
    max-width: 760px;
    margin: 0 auto;
}

.faq-detail {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.faq-detail summary {
    padding: 16px 20px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.faq-detail summary::-webkit-details-marker {
    display: none;
}

.faq-detail summary::after {
    content: "+";
    font-size: 1.2rem;
    color: var(--primary);
    flex-shrink: 0;
    margin-left: 12px;
}

.faq-detail[open] summary::after {
    content: "−";
}

.faq-detail p {
    padding: 0 20px 16px;
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.75;
    margin: 0;
}

.faq-detail p strong {
    color: var(--text-main);
}

/* ===== 首页文章 ===== */
.home-article-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.home-article-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.25s, transform 0.25s;
}

.home-article-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.home-article-thumb {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--bg-muted);
}

.home-article-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.home-article-item:hover .home-article-thumb img {
    transform: scale(1.04);
}

.home-article-info {
    padding: 10px 12px;
}

.home-article-info h3 {
    font-size: 0.82rem;
    margin: 0;
    line-height: 1.45;
    font-weight: 500;
}

.home-article-info h3 a {
    color: var(--text-main);
}

.home-article-info h3 a:hover {
    color: var(--primary);
}

/* ===== 收费表格 ===== */
.pricing-wrap {
    max-width: 800px;
    margin: 0 auto;
}

.pricing-table {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    margin-bottom: 24px;
}

.pricing-row {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 2fr;
    gap: 12px;
    padding: 14px 20px;
    font-size: 0.88rem;
    border-bottom: 1px solid var(--border);
    align-items: center;
}

.pricing-row:last-child {
    border-bottom: none;
}

.pricing-head {
    background: var(--primary-dark);
    color: #fff;
    font-weight: 600;
    font-size: 0.85rem;
}

.pricing-row:not(.pricing-head):nth-child(even) {
    background: var(--bg-muted);
}

.pricing-note {
    text-align: center;
}

.pricing-note p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 16px;
    line-height: 1.75;
}

.pricing-note p strong {
    color: var(--text-main);
}

/* ===== 页脚 ===== */
.site-footer {
    background: var(--bg-dark);
    color: #94a3b8;
    padding: 36px 0 28px;
    font-size: 0.85rem;
}

.site-footer .container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    text-align: center;
}

.friend-links h3 {
    color: #e2e8f0;
    font-size: 1rem;
    margin-bottom: 12px;
}

.friend-links ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 20px;
}

.friend-links ul li a {
    color: #94a3b8;
}

.friend-links ul li a:hover {
    color: var(--accent-light);
}

.copyright p {
    margin: 4px 0;
}

.copyright a {
    color: #e2e8f0;
}

.copyright a:hover {
    color: var(--accent-light);
}

/* ===== 列表页 & 内容页 ===== */
.page-main {
    padding: 32px 0 48px;
    min-height: 50vh;
    background: var(--bg-muted);
}

.page-layout {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.page-content {
    flex: 1;
    min-width: 0;
}

.page-sidebar {
    flex: 0 0 280px;
    width: 280px;
}

/* 面包屑 */
.article-breadcrumb,
.list-breadcrumb {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 16px;
}

.article-breadcrumb a,
.list-breadcrumb a {
    color: var(--text-light);
}

.article-breadcrumb a:hover,
.list-breadcrumb a:hover {
    color: var(--primary);
}

.article-breadcrumb .sep,
.list-breadcrumb .sep {
    margin: 0 6px;
    color: var(--border-dark);
}

.article-breadcrumb .current,
.list-breadcrumb .current {
    color: var(--text-main);
}

/* 内容页 */
.article-detail {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow-sm);
}

.article-header {
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.article-title {
    font-size: clamp(1.25rem, 3vw, 1.65rem);
    color: var(--text-dark);
    margin-bottom: 12px;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    font-size: 0.85rem;
    color: var(--text-light);
}

.article-meta a {
    color: var(--primary);
}

.article-thumb {
    margin-bottom: 20px;
    text-align: center;
}

.article-thumb img {
    max-width: 100%;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
}

.article-body {
    font-size: 0.95rem;
    line-height: 1.85;
    color: var(--text-main);
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.article-body img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-sm);
    margin: 8px 0;
}

.article-body p {
    margin-bottom: 14px;
}

.article-gallery-item {
    margin: 12px 0;
}

.article-gallery-item img {
    max-width: 100%;
    border-radius: var(--radius-sm);
}

.za9648diyfield {
    margin: 16px 0;
    padding: 14px;
    background: var(--bg-muted);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
}

.za9648meta-tags {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 20px 0;
    padding: 0;
}

.za9648tagitem a {
    display: inline-block;
    padding: 4px 12px;
    background: var(--bg-muted);
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: 0.82rem;
    color: var(--text-main);
}

.za9648tagitem a:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.clear {
    clear: both;
    width: 100%;
}

.article-prenext {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin: 24px 0;
    padding: 16px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    font-size: 0.88rem;
}

.prenext-item {
    flex: 1;
    min-width: 0;
    word-break: break-all;
}

.prenext-prev {
    text-align: left;
}

.prenext-next {
    text-align: right;
}

.related-articles {
    margin-top: 24px;
}

.related-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.related-item {
    display: flex;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
}

.related-item:last-child {
    border-bottom: none;
}

.related-thumb {
    flex: 0 0 110px;
    overflow: hidden;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
}

.related-thumb img {
    width: 110px;
    height: 78px;
    object-fit: cover;
}

.related-info {
    flex: 1;
    min-width: 0;
}

.related-info a {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.92rem;
}

.related-info a:hover {
    color: var(--primary);
}

.related-info p {
    margin: 6px 0 0;
    font-size: 0.82rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* 列表页 */
.list-header {
    margin-bottom: 20px;
}

.list-title {
    font-size: clamp(1.25rem, 3vw, 1.65rem);
    color: var(--text-dark);
    margin: 0;
}

.article-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.list-item {
    display: flex;
    gap: 18px;
    padding: 18px;
    margin-bottom: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.25s;
}

.list-item:hover {
    box-shadow: var(--shadow-md);
}

.list-item-thumb {
    flex: 0 0 180px;
    overflow: hidden;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
}

.list-item-thumb img {
    width: 100%;
    height: 130px;
    object-fit: cover;
    transition: transform 0.3s;
}

.list-item:hover .list-item-thumb img {
    transform: scale(1.03);
}

.list-item-content {
    flex: 1;
    min-width: 0;
}

.list-item-title {
    font-size: 1.05rem;
    margin: 0 0 8px;
}

.list-item-title a {
    color: var(--text-dark);
}

.list-item-title a:hover {
    color: var(--primary);
}

.list-item-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 16px;
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 8px;
}

.list-item-meta a {
    color: var(--primary);
}

.list-item-intro {
    font-size: 0.88rem;
    color: var(--text-light);
    margin: 0;
    line-height: 1.65;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 分页 */
.pagebar {
    margin-top: 24px;
}

.za9648pages .pagelist,
.pagelist {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 6px;
    padding: 12px 0;
    margin: 0;
}

.za9648pages .pagelist li a,
.za9648pages .pagelist li span,
.pagelist li a,
.pagelist li span {
    display: inline-block;
    padding: 6px 13px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-main);
    font-size: 0.85rem;
    transition: all 0.2s;
}

.za9648pages .pagelist li a:hover,
.pagelist li a:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.za9648pages .pagelist li.thisclass a,
.pagelist li.thisclass a {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* 侧栏 */
.sidebar-block {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.sidebar-title {
    font-size: 0.95rem;
    padding: 12px 16px;
    margin: 0;
    background: var(--primary-dark);
    color: #fff;
    font-weight: 600;
}

.sidebar-title a {
    color: #fff;
}

.sidebar-article-list {
    list-style: none;
    padding: 8px 14px;
    margin: 0;
}

.sidebar-article-item {
    display: flex;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}

.sidebar-article-item:last-child {
    border-bottom: none;
}

.sidebar-article-thumb {
    flex: 0 0 72px;
    overflow: hidden;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
}

.sidebar-article-thumb img {
    width: 72px;
    height: 54px;
    object-fit: cover;
}

.sidebar-article-info {
    flex: 1;
    min-width: 0;
}

.sidebar-article-info a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 0.82rem;
    color: var(--text-main);
    line-height: 1.45;
}

.sidebar-article-info a:hover {
    color: var(--primary);
}

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
    .banner-grid {
        grid-template-columns: 1fr 260px;
        gap: 28px;
    }

    .card-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .home-article-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .knowledge-wrap {
        grid-template-columns: 1fr;
    }

    .page-sidebar {
        flex: 0 0 240px;
        width: 240px;
    }
}

@media (max-width: 768px) {
    .header-inner {
        flex-wrap: wrap;
        height: auto;
        padding: 12px 0;
    }

    .site-logo h1 {
        max-width: calc(100% - 50px);
        font-size: 1.1rem;
    }

    .nav-toggle {
        display: flex;
    }

    .site-nav {
        display: none;
        width: 100%;
        order: 3;
        padding-bottom: 8px;
    }

    .site-nav.active {
        display: block;
    }

    .site-nav ul {
        flex-direction: column;
        align-items: stretch;
    }

    .site-nav ul li a {
        padding: 10px 14px;
        font-size: 0.95rem;
    }

    .banner {
        padding: 36px 0 32px;
    }

    .banner-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .banner-text {
        text-align: center;
    }

    .banner-actions {
        justify-content: center;
    }

    .banner-card {
        max-width: 280px;
        margin: 0 auto;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .stat-item strong {
        font-size: 1.3rem;
    }

    .block {
        padding: 40px 0;
    }

    .card-grid-3 {
        grid-template-columns: 1fr;
    }

    .feature-row {
        grid-template-columns: 1fr;
    }

    .home-article-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .pricing-row {
        grid-template-columns: 1fr;
        gap: 4px;
        padding: 12px 16px;
    }

    .pricing-head {
        display: none;
    }

    .pricing-row:not(.pricing-head) span:first-child {
        font-weight: 600;
        color: var(--primary-dark);
    }

    .page-layout {
        flex-direction: column;
    }

    .page-sidebar {
        flex: none;
        width: 100%;
    }

    .article-detail {
        padding: 18px 16px;
    }

    .article-prenext {
        flex-direction: column;
    }

    .prenext-next {
        text-align: left;
    }

    .list-item {
        flex-direction: column;
        padding: 14px;
    }

    .list-item-thumb {
        flex: none;
        width: 100%;
    }

    .list-item-thumb img {
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .related-item {
        flex-direction: column;
    }

    .related-thumb {
        flex: none;
        width: 100%;
    }

    .related-thumb img {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 14px;
    }

    .home-article-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .home-article-info h3 {
        font-size: 0.78rem;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .banner-actions .btn {
        width: 100%;
    }
}
