/* ===== 设计变量 — 靛紫 + 翡翠绿 官方风 ===== */
:root {
    --c-primary: #1a1635;
    --c-accent: #6366f1;
    --c-accent-light: #818cf8;
    --c-highlight: #10b981;
    --c-warm: #f59e0b;
    --c-bg: #f1f5f9;
    --c-surface: #ffffff;
    --c-text: #1e293b;
    --c-muted: #64748b;
    --c-border: #e2e8f0;
    --c-dark: #0f0d21;
    --radius: 12px;
    --radius-sm: 8px;
    --shadow: 0 1px 3px rgba(15, 13, 33, 0.06), 0 4px 16px rgba(15, 13, 33, 0.04);
    --shadow-md: 0 4px 24px rgba(15, 13, 33, 0.08);
    --transition: 0.25s ease;
    --container: 1140px;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
    font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    line-height: 1.7;
    color: var(--c-text);
    background: var(--c-bg);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a { color: var(--c-accent); }

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 16px;
}

body.no-scroll { overflow: hidden; }

/* ===== 顶部栏 ===== */
.top-bar {
    background: var(--c-dark);
    color: rgba(255,255,255,0.75);
    font-size: 13px;
    padding: 7px 0;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.top-bar-left {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.top-bar-left i,
.top-bar-right i { color: var(--c-highlight); margin-right: 5px; }

.top-bar-right a {
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    margin-left: 12px;
    transition: var(--transition);
}

.top-bar-right a:hover { color: #fff; }

/* ===== 导航 ===== */
.header {
    background: var(--c-surface);
    border-bottom: 2px solid var(--c-accent);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: transform var(--transition);
}

.header.scroll-down { transform: translateY(-100%); }

.header-wrapper {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 0;
    min-height: 64px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-icon {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, var(--c-accent), var(--c-highlight));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
}

.logo h1 {
    font-size: 17px;
    font-weight: 700;
    color: var(--c-primary);
    line-height: 1.3;
    max-width: 160px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nav { flex: 1; min-width: 0; }

.nav-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    list-style: none;
    gap: 2px;
}

.nav-link {
    display: block;
    padding: 8px 14px;
    color: var(--c-text);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active,
.nav-list li.z24593this .nav-link {
    color: var(--c-accent);
    background: rgba(99, 102, 241, 0.08);
}

.search-area { flex-shrink: 0; width: 200px; }

.search-form { display: flex; position: relative; }

.search-input {
    width: 100%;
    padding: 8px 36px 8px 12px;
    border: 1px solid var(--c-border);
    border-radius: 20px;
    font-size: 13px;
    outline: none;
    transition: var(--transition);
}

.search-input:focus {
    border-color: var(--c-accent);
    box-shadow: 0 0 0 3px rgba(99,102,241,0.12);
}

.search-btn {
    position: absolute;
    right: 2px;
    top: 2px;
    bottom: 2px;
    width: 32px;
    border: none;
    background: var(--c-accent);
    color: #fff;
    border-radius: 50%;
    cursor: pointer;
    font-size: 12px;
    transition: var(--transition);
}

.search-btn:hover { background: var(--c-accent-light); }

.mobile-menu {
    display: none;
    background: none;
    border: 1px solid var(--c-border);
    border-radius: var(--radius-sm);
    width: 40px;
    height: 40px;
    font-size: 18px;
    color: var(--c-text);
    cursor: pointer;
    flex-shrink: 0;
}

/* 移动端导航 */
.mobile-nav {
    position: fixed;
    inset: 0;
    z-index: 1001;
    pointer-events: none;
    visibility: hidden;
}

.mobile-nav.active {
    pointer-events: auto;
    visibility: visible;
}

.mobile-nav-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 13, 33, 0.55);
    opacity: 0;
    transition: opacity var(--transition);
}

.mobile-nav.active .mobile-nav-overlay { opacity: 1; }

.mobile-nav-panel {
    position: absolute;
    top: 0;
    right: 0;
    width: min(300px, 85vw);
    height: 100%;
    background: var(--c-surface);
    transform: translateX(100%);
    transition: transform var(--transition);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.mobile-nav.active .mobile-nav-panel { transform: translateX(0); }

.mobile-nav-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid var(--c-border);
    color: var(--c-primary);
}

.mobile-nav-close {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: var(--c-muted);
    padding: 4px;
}

.mobile-nav-list {
    list-style: none;
    overflow-y: auto;
    flex: 1;
    padding: 8px 0;
}

.mobile-nav-link {
    display: block;
    padding: 14px 20px;
    color: var(--c-text);
    text-decoration: none;
    font-size: 15px;
    border-bottom: 1px solid var(--c-border);
    transition: var(--transition);
}

.mobile-nav-link:hover,
.mobile-nav-link.active,
.mobile-nav-list li.z24593this .mobile-nav-link {
    color: var(--c-accent);
    background: rgba(99,102,241,0.06);
}

/* ===== 按钮 ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 11px 24px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    line-height: 1.4;
}

.btn-main {
    background: var(--c-accent);
    color: #fff;
    border-color: var(--c-accent);
}

.btn-main:hover {
    background: #4f46e5;
    border-color: #4f46e5;
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,0.5);
}

.btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: #fff;
}

.btn-block { width: 100%; }

/* ===== 通用板块 ===== */
.section { padding: 64px 0; }

.section-head {
    text-align: center;
    margin-bottom: 40px;
}

.section-head.align-left { text-align: left; }

.section-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--c-accent);
    margin-bottom: 8px;
}

.section-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--c-primary);
    margin-bottom: 10px;
    line-height: 1.3;
}

.section-desc {
    color: var(--c-muted);
    font-size: 15px;
    max-width: 560px;
    margin: 0 auto;
}

.section-head.align-left .section-desc { margin: 0; }

.section-head-light .section-title { color: #fff; }
.section-head-light .section-desc { color: rgba(255,255,255,0.75); }
.section-head-light .section-tag { color: var(--c-highlight); }

/* ===== Hero ===== */
.hero {
    position: relative;
    background: var(--c-dark);
    color: #fff;
    padding: 56px 0 64px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(99,102,241,0.25) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(16,185,129,0.15) 0%, transparent 50%);
    pointer-events: none;
}

.hero-inner {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    background: rgba(99,102,241,0.2);
    border: 1px solid rgba(99,102,241,0.4);
    padding: 5px 12px;
    border-radius: 20px;
    margin-bottom: 16px;
    color: var(--c-accent-light);
}

.hero-badge i { font-size: 6px; color: var(--c-highlight); }

.hero-heading {
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    line-height: 1.25;
    margin-bottom: 16px;
    font-weight: 800;
}

.hero-lead {
    color: rgba(255,255,255,0.8);
    font-size: 15px;
    margin-bottom: 24px;
    max-width: 520px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 28px;
}

.hero-stats {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.stat-item strong {
    font-size: 1.4rem;
    color: var(--c-highlight);
    line-height: 1;
}

.stat-item span { font-size: 12px; color: rgba(255,255,255,0.6); }

.hero-visual {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4/3;
    max-height: 360px;
    border: 1px solid rgba(255,255,255,0.1);
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-float-card {
    position: absolute;
    bottom: 16px;
    left: 16px;
    right: 16px;
    background: rgba(255,255,255,0.95);
    color: var(--c-text);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-md);
}

.hero-float-card i {
    font-size: 22px;
    color: var(--c-accent);
    flex-shrink: 0;
}

.hero-float-card strong { display: block; font-size: 14px; }
.hero-float-card p { font-size: 12px; color: var(--c-muted); margin: 0; }

/* ===== Bento 服务网格 ===== */
.services-section { background: var(--c-surface); }

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 16px;
}

.bento-item {
    background: var(--c-bg);
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    padding: 24px;
    transition: var(--transition);
}

.bento-item:hover {
    border-color: var(--c-accent-light);
    box-shadow: var(--shadow);
}

.bento-large { grid-row: span 2; }

.bento-wide { grid-column: span 2; }

.bento-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--c-accent), var(--c-highlight));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    margin-bottom: 14px;
}

.bento-item h3 {
    font-size: 16px;
    color: var(--c-primary);
    margin-bottom: 8px;
    line-height: 1.4;
}

.bento-item p {
    font-size: 14px;
    color: var(--c-muted);
    line-height: 1.7;
}

/* ===== 流程 ===== */
.process-section {
    background: linear-gradient(135deg, var(--c-primary) 0%, #2d2a5e 100%);
    color: #fff;
}

.process-track {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.process-step {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius);
    padding: 24px 20px;
    transition: var(--transition);
}

.process-step:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--c-accent-light);
}

.step-num {
    font-size: 2rem;
    font-weight: 800;
    color: var(--c-accent-light);
    opacity: 0.6;
    line-height: 1;
    margin-bottom: 12px;
}

.process-step h3 {
    font-size: 15px;
    margin-bottom: 8px;
    line-height: 1.4;
}

.process-step p {
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
}

/* ===== 知识区 ===== */
.knowledge-section { background: var(--c-bg); }

.knowledge-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 24px;
    align-items: start;
}

.knowledge-block {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    padding: 20px 24px;
    margin-bottom: 16px;
    border-left: 3px solid var(--c-accent);
}

.knowledge-block:last-child { margin-bottom: 0; }

.knowledge-block h3 {
    font-size: 15px;
    color: var(--c-primary);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.knowledge-block h3 i { color: var(--c-accent); font-size: 14px; }

.knowledge-block p {
    font-size: 14px;
    color: var(--c-muted);
    line-height: 1.75;
}

.side-panel {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 16px;
}

.side-panel h3 {
    font-size: 16px;
    color: var(--c-primary);
    margin-bottom: 14px;
}

.check-list {
    list-style: none;
}

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    color: var(--c-muted);
    margin-bottom: 10px;
    line-height: 1.5;
}

.check-list i {
    color: var(--c-highlight);
    margin-top: 3px;
    flex-shrink: 0;
    font-size: 11px;
}

.side-panel-accent {
    background: linear-gradient(135deg, var(--c-accent), #4f46e5);
    border: none;
    color: #fff;
    text-align: center;
}

.side-panel-accent > i {
    font-size: 28px;
    margin-bottom: 10px;
    opacity: 0.9;
}

.side-panel-accent h3 { color: #fff; }

.side-panel-accent p {
    font-size: 13px;
    opacity: 0.85;
    margin-bottom: 16px;
    line-height: 1.6;
}

.side-panel-accent .btn-main {
    background: #fff;
    color: var(--c-accent);
    border-color: #fff;
}

/* ===== 知识卡片 ===== */
.tips-section { background: var(--c-surface); }

.tips-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.tip-card {
    background: var(--c-bg);
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    padding: 24px;
    transition: var(--transition);
}

.tip-card:hover {
    border-color: var(--c-accent-light);
    box-shadow: var(--shadow);
}

.tip-num {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    color: var(--c-accent);
    background: rgba(99,102,241,0.1);
    padding: 3px 8px;
    border-radius: 4px;
    margin-bottom: 10px;
}

.tip-card h3 {
    font-size: 15px;
    color: var(--c-primary);
    margin-bottom: 8px;
}

.tip-card p {
    font-size: 14px;
    color: var(--c-muted);
    line-height: 1.7;
}

/* ===== 首页文章 ===== */
.home-articles { background: var(--c-bg); }

.home-articles-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
}

.home-article-card {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}

.home-article-card:hover {
    border-color: var(--c-accent-light);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.home-article-thumb {
    display: block;
    aspect-ratio: 3/2;
    overflow: hidden;
    background: var(--c-bg);
}

.home-article-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.home-article-card:hover .home-article-thumb img { transform: scale(1.04); }

.home-article-title {
    font-size: 13px;
    line-height: 1.45;
    padding: 10px 12px 12px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.home-article-title a {
    color: var(--c-text);
    text-decoration: none;
    transition: var(--transition);
}

.home-article-title a:hover { color: var(--c-accent); }

/* ===== 联系 ===== */
.contact-section { background: var(--c-surface); padding-bottom: 72px; }

.contact-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    background: var(--c-bg);
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    padding: 32px;
    overflow: hidden;
}

.contact-lead {
    color: var(--c-muted);
    font-size: 14px;
    margin: 12px 0 20px;
    line-height: 1.7;
}

.contact-list {
    list-style: none;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}

.contact-list i {
    width: 36px;
    height: 36px;
    background: rgba(99,102,241,0.1);
    color: var(--c-accent);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 14px;
}

.contact-list strong {
    display: block;
    font-size: 14px;
    color: var(--c-primary);
}

.contact-list span { font-size: 13px; color: var(--c-muted); }

.contact-form {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    padding: 24px;
}

.form-group { margin-bottom: 14px; }

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--c-border);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: var(--transition);
    background: var(--c-bg);
}

.form-group textarea {
    height: 110px;
    resize: vertical;
    min-height: 80px;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--c-accent);
    box-shadow: 0 0 0 3px rgba(99,102,241,0.1);
    background: #fff;
}

/* ===== 页脚 ===== */
.footer {
    background: var(--c-dark);
    color: rgba(255,255,255,0.7);
    padding: 48px 0 24px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-section h3 {
    color: #fff;
    font-size: 15px;
    margin-bottom: 16px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
}

.footer-links a,
.footer-links li a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 13px;
    transition: var(--transition);
}

.footer-links a:hover { color: var(--c-accent-light); }

.footer-bottom {
    text-align: center;
    font-size: 13px;
    line-height: 1.8;
}

.footer-bottom a { color: var(--c-accent-light); text-decoration: none; }

/* ===== 内页通用 ===== */
.page-breadcrumb {
    background: var(--c-surface);
    border-bottom: 1px solid var(--c-border);
    padding: 12px 0;
    font-size: 13px;
}

.page-breadcrumb a {
    color: var(--c-muted);
    text-decoration: none;
}

.page-breadcrumb a:hover { color: var(--c-accent); }

.breadcrumb-sep { margin: 0 6px; color: var(--c-border); }
.breadcrumb-current { color: var(--c-primary); }

.page-main {
    padding: 32px 0 56px;
}

.page-layout {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 24px;
    align-items: start;
}

.page-content { min-width: 0; }

/* ===== 列表页 ===== */
.list-page-header {
    background: linear-gradient(135deg, var(--c-primary), #2d2a5e);
    padding: 32px 0;
    color: #fff;
}

.list-page-title {
    font-size: clamp(1.3rem, 3vw, 1.75rem);
    margin-bottom: 6px;
}

.list-page-desc {
    font-size: 14px;
    opacity: 0.8;
    max-width: 600px;
}

.article-list {
    list-style: none;
}

.article-list-item {
    display: flex;
    gap: 16px;
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    padding: 16px;
    margin-bottom: 14px;
    transition: var(--transition);
    overflow: hidden;
}

.article-list-item:hover {
    border-color: var(--c-accent-light);
    box-shadow: var(--shadow);
}

.list-item-thumb {
    flex: 0 0 180px;
    width: 180px;
    height: 120px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--c-bg);
}

.list-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.list-item-body {
    flex: 1;
    min-width: 0;
}

.list-item-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 12px;
    color: var(--c-muted);
    margin-bottom: 6px;
}

.list-item-meta a { color: var(--c-accent); text-decoration: none; }
.list-item-meta i { margin-right: 3px; }

.list-item-title {
    font-size: 16px;
    margin-bottom: 6px;
    line-height: 1.4;
}

.list-item-title a {
    color: var(--c-primary);
    text-decoration: none;
    transition: var(--transition);
}

.list-item-title a:hover { color: var(--c-accent); }

.list-item-intro {
    font-size: 13px;
    color: var(--c-muted);
    line-height: 1.65;
    margin-bottom: 8px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.list-item-more {
    font-size: 13px;
    color: var(--c-accent);
    text-decoration: none;
    font-weight: 600;
}

/* 翻页 */
.pagebar {
    margin-top: 20px;
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    padding: 16px;
}

.pagebar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.pagebar-left, .pagebar-right { flex-shrink: 0; }

.pagebar-center { flex: 1; min-width: 0; }

.z24593pages .pagelist {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    list-style: none;
}

.z24593pages .pagelist a,
.z24593pages .pagelist span {
    display: inline-block;
    padding: 6px 12px;
    border: 1px solid var(--c-border);
    border-radius: var(--radius-sm);
    color: var(--c-muted);
    text-decoration: none;
    font-size: 13px;
    transition: var(--transition);
    line-height: 1.4;
}

.z24593pages .pagelist a:hover,
.z24593pages .pagelist .thisclass a,
.z24593pages .pagelist .thisclass span {
    background: var(--c-accent);
    border-color: var(--c-accent);
    color: #fff;
}

.pagebar-left a,
.pagebar-right a {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background: var(--c-accent);
    color: #fff;
    text-decoration: none;
    border-radius: var(--radius-sm);
    font-size: 13px;
    transition: var(--transition);
    white-space: nowrap;
}

.pagebar-left a:hover,
.pagebar-right a:hover { background: #4f46e5; }

/* ===== 内容页 ===== */
.article-detail {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    padding: 28px;
    overflow: hidden;
}

.article-header {
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--c-border);
}

.article-title {
    font-size: clamp(1.25rem, 3vw, 1.65rem);
    color: var(--c-primary);
    line-height: 1.4;
    margin-bottom: 12px;
    word-break: break-word;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 13px;
    color: var(--c-muted);
}

.article-meta a { color: var(--c-accent); text-decoration: none; }
.article-meta i { margin-right: 4px; }

.article-thumb {
    margin-bottom: 20px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    text-align: center;
    max-height: 420px;
}

.article-thumb img {
    width: 100%;
    max-height: 420px;
    object-fit: contain;
    margin: 0 auto;
}

.article-body {
    font-size: 15px;
    line-height: 1.85;
    color: var(--c-text);
    margin-bottom: 24px;
    word-break: break-word;
    overflow-wrap: break-word;
}

.article-body img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-sm);
    margin: 12px auto;
}

.article-body p { margin-bottom: 14px; }

.article-body table {
    max-width: 100%;
    overflow-x: auto;
    display: block;
}

.article-images { margin-bottom: 20px; }

.article-image-item {
    margin-bottom: 16px;
    text-align: center;
}

.article-image-item img {
    max-width: 100%;
    border-radius: var(--radius-sm);
}

.article-image-item figcaption {
    font-size: 13px;
    color: var(--c-muted);
    margin-top: 6px;
}

.z24593diyfield {
    margin-bottom: 20px;
    padding: 16px;
    background: var(--c-bg);
    border-radius: var(--radius-sm);
    border: 1px solid var(--c-border);
    overflow: hidden;
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 16px 0;
    border-top: 1px solid var(--c-border);
    border-bottom: 1px solid var(--c-border);
    margin-bottom: 20px;
}

.tags-label { font-size: 13px; color: var(--c-muted); }

.z24593meta-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    list-style: none;
}

.z24593tagitem a {
    display: inline-block;
    padding: 3px 10px;
    background: rgba(99,102,241,0.08);
    color: var(--c-accent);
    text-decoration: none;
    border-radius: 20px;
    font-size: 12px;
    transition: var(--transition);
}

.z24593tagitem a:hover {
    background: var(--c-accent);
    color: #fff;
}

.article-prenext {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 24px;
}

.prenext-item {
    padding: 14px 16px;
    background: var(--c-bg);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-sm);
    font-size: 13px;
    line-height: 1.6;
    overflow: hidden;
    word-break: break-word;
}

.prenext-item a {
    color: var(--c-primary);
    text-decoration: none;
}

.prenext-item a:hover { color: var(--c-accent); }
.prenext-next { text-align: right; }

.related-articles { margin-top: 4px; }

.related-title {
    font-size: 16px;
    color: var(--c-primary);
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--c-accent);
}

.related-list { list-style: none; }

.related-item { margin-bottom: 10px; }

.related-link {
    display: flex;
    gap: 12px;
    padding: 12px;
    background: var(--c-bg);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: var(--transition);
    overflow: hidden;
}

.related-link:hover { border-color: var(--c-accent-light); }

.related-thumb {
    flex: 0 0 72px;
    width: 72px;
    height: 54px;
    border-radius: 6px;
    overflow: hidden;
    background: var(--c-border);
}

.related-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-info { flex: 1; min-width: 0; }

.related-item-title {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--c-primary);
    margin-bottom: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.related-desc {
    font-size: 12px;
    color: var(--c-muted);
    line-height: 1.5;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* ===== 侧栏 ===== */
.page-sidebar {
    position: sticky;
    top: 80px;
}

.sidebar-widget {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    padding: 18px;
    overflow: hidden;
}

.sidebar-widget-header {
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--c-accent);
}

.sidebar-widget-title {
    font-size: 15px;
    color: var(--c-primary);
    margin: 0;
}

.sidebar-article-list { list-style: none; }

.sidebar-article-item {
    border-bottom: 1px dashed var(--c-border);
}

.sidebar-article-item:last-child { border-bottom: none; }

.sidebar-article-link {
    display: flex;
    gap: 10px;
    padding: 9px 0;
    text-decoration: none;
    align-items: center;
}

.sidebar-article-thumb {
    flex: 0 0 52px;
    width: 52px;
    height: 40px;
    border-radius: 6px;
    overflow: hidden;
    background: var(--c-bg);
}

.sidebar-article-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sidebar-article-info { flex: 1; min-width: 0; }

.sidebar-article-title {
    display: block;
    font-size: 12px;
    color: var(--c-text);
    line-height: 1.45;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    transition: var(--transition);
}

.sidebar-article-link:hover .sidebar-article-title { color: var(--c-accent); }

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
    .search-area { display: none; }

    .nav { display: none; }

    .mobile-menu { display: flex; align-items: center; justify-content: center; }

    .hero-inner { grid-template-columns: 1fr; gap: 28px; }

    .hero-visual { max-height: 280px; }

    .bento-grid {
        grid-template-columns: 1fr 1fr;
    }

    .bento-large { grid-row: auto; }

    .bento-wide { grid-column: span 1; }

    .process-track { grid-template-columns: repeat(2, 1fr); }

    .knowledge-layout { grid-template-columns: 1fr; }

    .page-layout { grid-template-columns: 1fr; }

    .page-sidebar { position: static; }

    .home-articles-grid { grid-template-columns: repeat(3, 1fr); }

    .contact-box { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .section { padding: 48px 0; }

    .top-bar-left span:last-child { display: none; }

    .logo h1 { font-size: 15px; max-width: 120px; }

    .hero { padding: 40px 0 48px; }

    .hero-stats { gap: 16px; }

    .bento-grid { grid-template-columns: 1fr; }

    .process-track { grid-template-columns: 1fr; }

    .tips-grid { grid-template-columns: 1fr; }

    .home-articles-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }

    .contact-box { padding: 20px; }

    .article-list-item { flex-direction: column; }

    .list-item-thumb {
        flex: none;
        width: 100%;
        height: 160px;
    }

    .article-detail { padding: 18px 16px; }

    .article-prenext { grid-template-columns: 1fr; }

    .prenext-next { text-align: left; }

    .pagebar-inner { flex-direction: column; align-items: stretch; }

    .pagebar-left, .pagebar-right { text-align: center; }

    .pagebar-left a, .pagebar-right a { justify-content: center; width: 100%; }

    .footer-content { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 480px) {
    .container { padding: 0 12px; }

    .hero-actions { flex-direction: column; }

    .hero-actions .btn { width: 100%; }

    .home-articles-grid { grid-template-columns: 1fr 1fr; }

    .home-article-title { font-size: 12px; padding: 8px 10px 10px; }

    .related-link { flex-direction: column; }

    .related-thumb {
        flex: none;
        width: 100%;
        height: 100px;
    }
}

@media print {
    .header, .top-bar, .mobile-nav, .contact-form, .footer, .pagebar { display: none; }
    body { font-size: 12pt; }
}
