﻿/* ============================================
   WG Spider14 - 极简北欧风格
   Nordic Minimal Theme v1.0
   ============================================ */

/* ============================================
   CSS 变量
   ============================================ */
:root {
    /* 主色 */
    --green: #059669;
    --green-light: #10b981;
    --green-dark: #047857;
    
    /* 中性色 */
    --gray-900: #111827;
    --gray-800: #1f2937;
    --gray-700: #374151;
    --gray-600: #4b5563;
    --gray-500: #6b7280;
    --gray-400: #9ca3af;
    --gray-300: #d1d5db;
    --gray-200: #e5e7eb;
    --gray-100: #f3f4f6;
    --gray-50: #f9fafb;
    --white: #ffffff;
    
    /* 强调色 */
    --orange: #f59e0b;
    --red: #ef4444;
    --blue: #3b82f6;
    --purple: #8b5cf6;
    
    /* 渐变 */
    --grad-green: linear-gradient(135deg, #059669 0%, #10b981 100%);
    --grad-warm: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
    --grad-cool: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    
    /* 阴影 */
    --shadow-xs: 0 1px 2px rgba(0,0,0,0.04);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
    --shadow-xl: 0 16px 48px rgba(0,0,0,0.16);
    
    /* 尺寸 */
    --max-w: 1280px;
    --header-h: 72px;
    --radius: 16px;
    --radius-sm: 8px;
    --radius-full: 9999px;
    
    /* 过渡 */
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --duration: 0.3s;
}

/* ============================================
   基础重置
   ============================================ */
* { box-sizing: border-box; margin: 0; padding: 0; }

html { 
    scroll-behavior: smooth; 
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, 'PingFang SC', 'Microsoft YaHei', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-800);
    background: var(--gray-50);
    min-height: 100vh;
    overflow-x: hidden;
    width: 100%;
}

a { 
    color: inherit; 
    text-decoration: none; 
}

ul, ol { list-style: none; }

img { 
    max-width: 100%; 
    height: auto; 
    display: block; 
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* 容器 */
.wrap {
    width: 100%;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   导航栏 - 简约风格
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-h);
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--gray-200);
    z-index: 1000;
    transition: transform var(--duration) var(--ease);
}

.nav-inner {
    max-width: var(--max-w);
    height: 100%;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-brand img {
    height: 48px;
    width: auto;
}



.nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-menu a {
    padding: 10px 18px;
    font-size: 15px;
    font-weight: 500;
    color: var(--gray-600);
    border-radius: var(--radius-sm);
    transition: all var(--duration) var(--ease);
}

.nav-menu a:hover {
    color: var(--gray-900);
    background: var(--gray-100);
}

.nav-cta {
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
    background: var(--grad-green);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-sm);
    transition: all var(--duration) var(--ease);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* 移动端菜单按钮 */
.nav-toggle {
    display: none;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    background: var(--gray-100);
    border-radius: var(--radius-sm);
}

.nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--gray-700);
    border-radius: 2px;
    transition: all var(--duration) var(--ease);
}

.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* 移动端菜单展开状态 */
.nav-menu.active {
    display: flex;
}

/* ============================================
   首页 - 英雄区
   ============================================ */
.hero {
    padding: 160px 0 100px;
    background: linear-gradient(180deg, var(--white) 0%, var(--gray-50) 100%);
    overflow: hidden;
}

.hero .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.hero-text {
    flex: 1;
    max-width: 540px;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 600;
    color: var(--green);
    background: rgba(5, 150, 105, 0.1);
    border-radius: var(--radius-full);
    margin-bottom: 20px;
}

.hero-title {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.15;
    color: var(--gray-900);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.hero-title em {
    font-style: normal;
    background: var(--grad-green);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 18px;
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: 36px;
}

.hero-btns {
    display: flex;
    gap: 12px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius);
    transition: all var(--duration) var(--ease);
}

.btn-primary {
    color: var(--white);
    background: var(--grad-green);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    color: var(--gray-700);
    background: var(--white);
    border: 1.5px solid var(--gray-300);
}

.btn-outline:hover {
    border-color: var(--green);
    color: var(--green);
}

/* 英雄区右侧数据卡片 */
.hero-cards {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 480px;
}

.hero-card {
    padding: 28px;
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
    transition: all var(--duration) var(--ease);
}

.hero-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--green-light);
}

.hero-card-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.hero-card-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.hero-card h4 {
    font-size: 28px;
    font-weight: 700;
    color: var(--green);
    margin-bottom: 4px;
}

.hero-card p {
    font-size: 14px;
    color: var(--gray-500);
}

/* ============================================
   功能模块
   ============================================ */
.features {
    padding: 100px 0;
    background: var(--white);
}

.section-head {
    text-align: center;
    margin-bottom: 60px;
}

.section-head span {
    display: inline-block;
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--green);
    background: rgba(5, 150, 105, 0.1);
    border-radius: var(--radius-full);
    margin-bottom: 16px;
}

.section-head h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.section-head p {
    font-size: 17px;
    color: var(--gray-500);
    max-width: 500px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature-item {
    padding: 32px 24px;
    background: var(--gray-50);
    border-radius: var(--radius);
    text-align: center;
    transition: all var(--duration) var(--ease);
}

.feature-item:hover {
    background: var(--white);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.feature-icon img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.feature-icon img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.feature-item:hover .feature-icon {
    background: var(--grad-green);
}

.feature-item h3 {
    font-size: 17px;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 8px;
}

.feature-item p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.6;
}

/* ============================================
   数据统计
   ============================================ */
.stats {
    padding: 80px 0;
    background: var(--grad-green);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.stat-box {
    text-align: center;
    color: var(--white);
}

.stat-img {
    width: 80px;
    height: 80px;
    margin: 0 auto 16px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 3px solid rgba(255,255,255,0.3);
}

.stat-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stat-box strong {
    display: block;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 4px;
}

.stat-box span {
    font-size: 15px;
    opacity: 0.9;
}

/* ============================================
   新闻列表
   ============================================ */
.news {
    padding: 100px 0;
    background: var(--gray-50);
}

.news-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.news-item {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--gray-200);
    transition: all var(--duration) var(--ease);
}

.news-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.news-img {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease);
}

.news-item:hover .news-img img {
    transform: scale(1.06);
}

.news-img time {
    position: absolute;
    bottom: 12px;
    left: 12px;
    padding: 5px 12px;
    font-size: 12px;
    font-weight: 500;
    color: var(--gray-700);
    background: var(--white);
    border-radius: var(--radius-full);
}

.news-info {
    padding: 24px;
}

.news-info h3 {
    font-size: 17px;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 10px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-info h3:hover {
    color: var(--green);
}

.news-info p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.6;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--green);
}

.news-link svg {
    transition: transform var(--duration) var(--ease);
}

.news-link:hover svg {
    transform: translateX(4px);
}

/* ============================================
   合作伙伴
   ============================================ */
.section-partners {
    background: var(--bg-light);
    padding: 80px 0;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 32px;
    align-items: center;
}

.partner-item {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
    padding: 20px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    transition: all var(--transition);
}

.partner-item:hover {
    border-color: var(--green);
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.partner-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all var(--transition);
}

.partner-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* ============================================
   CTA 区域
   ============================================ */
.cta {
    padding: 100px 0;
    background: var(--white);
}

.cta-box {
    max-width: 680px;
    margin: 0 auto;
    padding: 60px 40px;
    text-align: center;
    background: var(--gray-50);
    border-radius: var(--radius);
    border: 1px solid var(--gray-200);
}

.cta-box h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.cta-box h2 em {
    font-style: normal;
    color: var(--green);
}

.cta-box p {
    font-size: 16px;
    color: var(--gray-500);
    margin-bottom: 28px;
}

.cta-box .btn {
    padding: 16px 36px;
    font-size: 16px;
}

.cta-tips {
    display: flex;
    justify-content: center;
    gap: 28px;
    margin-top: 24px;
}

.cta-tips span {
    font-size: 14px;
    color: var(--green);
    font-weight: 500;
}

/* ============================================
   页脚
   ============================================ */
.footer {
    padding: 60px 0 24px;
    background: var(--gray-900);
    color: var(--gray-400);
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 48px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--gray-700);
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.7;
    margin: 16px 0 20px;
    color: var(--gray-400);
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-800);
    border-radius: var(--radius-sm);
    font-size: 16px;
    transition: all var(--duration) var(--ease);
}

.footer-social a:hover {
    background: var(--green);
    transform: translateY(-2px);
}

.footer-col h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-col a {
    display: block;
    font-size: 14px;
    color: var(--gray-400);
    padding: 6px 0;
    transition: color var(--duration) var(--ease);
}

.footer-col a:hover {
    color: var(--green-light);
}

.footer-bottom {
    padding-top: 24px;
    text-align: center;
    font-size: 13px;
    color: var(--gray-500);
}

/* ============================================
   列表页 - 横幅
   ============================================ */
.banner {
    padding: 120px 0 50px;
    background: linear-gradient(180deg, var(--white) 0%, var(--gray-50) 100%);
}

.crumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--gray-500);
    margin-bottom: 16px;
}

.crumb a:hover {
    color: var(--green);
}

.crumb span {
    color: var(--gray-400);
}

.banner h1 {
    font-size: 38px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 10px;
}

.banner p {
    font-size: 16px;
    color: var(--gray-500);
    max-width: 600px;
}

/* ============================================
   列表页 - 内容区
   ============================================ */
.list-section {
    padding: 50px 0 80px;
    background: var(--gray-50);
}

.list-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
    align-items: flex-start;
}

.list-main {
    min-width: 0;
}

.list-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--gray-200);
    transition: all var(--duration) var(--ease);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.card-img {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease);
}

.card:hover .card-img img {
    transform: scale(1.05);
}

.card-img .tag {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 600;
    color: var(--white);
    background: var(--grad-green);
    border-radius: var(--radius-full);
}

.card-body {
    padding: 20px;
}

.card-body time {
    font-size: 13px;
    color: var(--gray-400);
}

.card-body h2 {
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-800);
    margin: 8px 0;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-body h2:hover {
    color: var(--green);
}

.card-body p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 分页 */
.pages,
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 40px 0 20px;
}

.pages a,
.page-item {
    min-width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-600);
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    transition: all var(--duration) var(--ease);
}

.pages a:hover,
.pages a.on,
.page-item:hover,
.page-item.active {
    color: var(--white);
    background: var(--green);
    border-color: var(--green);
}

.page-item.active {
    cursor: default;
    pointer-events: none;
}

/* ============================================
   侧边栏
   ============================================ */
.aside {
    position: sticky;
    top: 90px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.widget {
    background: var(--white);
    border-radius: var(--radius);
    padding: 24px;
    border: 1px solid var(--gray-200);
}

.widget-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--gray-100);
}

.widget-title i {
    font-style: normal;
}

/* 热门列表 */
.hot-list li {
    margin-bottom: 14px;
}

.hot-list li:last-child {
    margin-bottom: 0;
}

.hot-list a {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.hot-list .thumb {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.hot-list .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hot-list .info {
    flex: 1;
    min-width: 0;
}

.hot-list .info h4 {
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

.hot-list a:hover .info h4 {
    color: var(--green);
}

.hot-list .info time {
    font-size: 12px;
    color: var(--gray-400);
}

/* 标签云 */
.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tags a {
    padding: 6px 14px;
    font-size: 13px;
    color: var(--gray-600);
    background: var(--gray-100);
    border-radius: var(--radius-full);
    transition: all var(--duration) var(--ease);
}

.tags a:hover {
    color: var(--white);
    background: var(--green);
}

/* 联系 widget */
.widget-contact {
    background: var(--grad-green);
    border: none;
    text-align: center;
    color: var(--white);
}

.widget-contact .widget-title {
    justify-content: center;
    color: var(--white);
    border-bottom-color: rgba(255,255,255,0.2);
}

.widget-contact p {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 6px;
}

.widget-contact .contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 16px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    color: var(--green);
    background: var(--white);
    border-radius: var(--radius-full);
    transition: all var(--duration) var(--ease);
}

.widget-contact .contact-btn:hover {
    transform: scale(1.05);
}

/* ============================================
   内容页
   ============================================ */
.article-section {
    padding: 40px 0 80px;
    background: var(--gray-50);
}

.article-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
    align-items: flex-start;
}

.article-main {
    min-width: 0;
}

.article-box {
    background: var(--white);
    border-radius: var(--radius);
    padding: 48px;
    border: 1px solid var(--gray-200);
}

/* 主内容区 */
.main {
    min-height: 60vh;
    padding: 100px 0 60px;
}

/* 详情页样式 */
.detail-header {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--gray-100);
}

.detail-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1.4;
    margin-bottom: 16px;
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 14px;
    color: var(--gray-500);
}

.detail-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.detail-meta i {
    color: var(--green);
}

.detail-meta a {
    color: var(--green);
}

.detail-meta a:hover {
    text-decoration: underline;
}

.detail-tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--gray-100);
}

.detail-tags span {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-700);
}

.minimal-tag {
    padding: 6px 14px;
    font-size: 13px;
    color: var(--gray-600);
    background: var(--gray-100);
    border-radius: var(--radius-full);
    transition: all var(--duration) var(--ease);
}

.minimal-tag:hover {
    color: var(--white);
    background: var(--green);
}

.minimal-quote {
    margin: 24px 0;
    padding: 20px 24px;
    background: var(--gray-50);
    border-left: 4px solid var(--green-light);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    color: var(--gray-600);
}

.detail-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 40px;
}

.detail-nav-item {
    padding: 24px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    transition: all var(--duration) var(--ease);
}

.detail-nav-item:hover {
    background: var(--white);
    border-color: var(--green);
    box-shadow: var(--shadow-md);
}

.detail-nav-item.next {
    text-align: right;
}

.detail-nav-label {
    font-size: 13px;
    color: var(--gray-500);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.detail-nav-item.next .detail-nav-label {
    justify-content: flex-end;
}

.detail-nav-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--gray-800);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.detail-nav-item:hover .detail-nav-title {
    color: var(--green);
}

.detail-nav-empty {
    background: var(--gray-100);
    cursor: not-allowed;
}

.detail-nav-empty:hover {
    background: var(--gray-100);
    border-color: var(--gray-200);
    box-shadow: none;
}

.detail-nav-empty .detail-nav-title {
    color: var(--gray-400);
}

.related-section {
    margin-top: 48px;
    padding-top: 48px;
    border-top: 1px solid var(--gray-200);
}

.related-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 24px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.related-card {
    background: var(--white);
    border-radius: var(--radius-sm);
    border: 1px solid var(--gray-200);
    overflow: hidden;
    transition: all var(--duration) var(--ease);
}

.related-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.related-card-image {
    aspect-ratio: 16/10;
    overflow: hidden;
}

.related-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease);
}

.related-card:hover .related-card-image img {
    transform: scale(1.06);
}

.related-card-body {
    padding: 16px;
}

.related-card-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-card-title a:hover {
    color: var(--green);
}

.related-card-meta {
    display: flex;
    gap: 12px;
    font-size: 12px;
    color: var(--gray-400);
}

.article-header {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--gray-100);
}

.article-header h1 {
    font-size: 28px;
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1.4;
    margin-bottom: 16px;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 14px;
    color: var(--gray-500);
}

.article-meta a {
    color: var(--green);
}

/* 文章摘要 */
.article-summary {
    display: flex;
    gap: 14px;
    padding: 20px;
    background: var(--gray-50);
    border-radius: var(--radius-sm);
    border-left: 4px solid var(--green);
    margin-bottom: 28px;
}

.article-summary i {
    font-style: normal;
    font-size: 20px;
}

.article-summary p {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.7;
}

/* 正文内容 - 统一样式 (article-content, article-body, detail-content) */
.article-content,
.article-body,
.detail-content {
    font-size: 16px;
    line-height: 1.85;
    color: var(--gray-700);
}

.article-content h2,
.article-body h2,
.detail-content h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--gray-900);
    margin: 40px 0 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--green);
}

.article-content h3,
.article-body h3,
.detail-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--gray-800);
    margin: 32px 0 12px;
}

.article-content p,
.article-body p,
.detail-content p {
    margin: 16px 0;
}

.article-content img,
.article-body img,
.detail-content img {
    border-radius: var(--radius-sm);
    margin: 24px auto !important;
    display: block !important;
    max-width: 100%;
    height: auto;
}

.article-content p img,
.article-body p img,
.detail-content p img {
    margin-left: auto !important;
    margin-right: auto !important;
}

.article-content p:has(img),
.article-body p:has(img),
.detail-content p:has(img) {
    text-align: center;
}

.article-content a,
.article-body a,
.detail-content a {
    color: var(--green);
    text-decoration: underline;
}

.article-content ul,
.article-content ol,
.article-body ul,
.article-body ol,
.detail-content ul,
.detail-content ol {
    padding-left: 24px;
    margin: 16px 0;
}

.article-content li,
.article-body li,
.detail-content li {
    margin: 8px 0;
    position: relative;
}

.article-content blockquote,
.article-body blockquote,
.detail-content blockquote {
    margin: 24px 0;
    padding: 20px 24px;
    background: var(--gray-50);
    border-left: 4px solid var(--green-light);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    color: var(--gray-600);
}

.article-content table,
.article-body table,
.detail-content table {
    width: 100%;
    margin: 24px 0;
    border-collapse: collapse;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.article-content th,
.article-body th,
.detail-content th {
    background: var(--green);
    color: var(--white);
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
}

.article-content td,
.article-body td,
.detail-content td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--gray-200);
}

.article-content tr:hover,
.article-body tr:hover,
.detail-content tr:hover {
    background: var(--gray-50);
}

/* 文章底部 */
.article-footer {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--gray-100);
}

.article-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.article-actions button {
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-600);
    background: var(--gray-100);
    border-radius: var(--radius-full);
    transition: all var(--duration) var(--ease);
}

.article-actions button:hover {
    color: var(--green);
    background: rgba(5, 150, 105, 0.1);
}

.article-tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.article-tags strong {
    font-size: 14px;
    color: var(--gray-700);
}

.article-tags a {
    padding: 6px 14px;
    font-size: 13px;
    color: var(--gray-600);
    background: var(--gray-100);
    border-radius: var(--radius-full);
    transition: all var(--duration) var(--ease);
}

.article-tags a:hover {
    color: var(--white);
    background: var(--green);
}

/* 相关推荐 */
.related {
    margin-top: 48px;
}

.related h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 24px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.related-item {
    display: flex;
    gap: 14px;
    padding: 14px;
    background: var(--gray-50);
    border-radius: var(--radius-sm);
    transition: all var(--duration) var(--ease);
}

.related-item:hover {
    background: var(--white);
    box-shadow: var(--shadow-md);
}

.related-item .thumb {
    flex-shrink: 0;
    width: 90px;
    height: 70px;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.related-item .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-item .info h4 {
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 6px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-item:hover .info h4 {
    color: var(--green);
}

.related-item .info time {
    font-size: 12px;
    color: var(--gray-400);
}

/* 作者 widget */
.widget-author {
    text-align: center;
}

.widget-author .avatar {
    width: 80px;
    height: 80px;
    margin: 0 auto 14px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--green);
}

.widget-author .avatar img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: var(--gray-50);
}

.widget-author h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 6px;
}

.widget-author p {
    font-size: 13px;
    color: var(--gray-500);
    margin-bottom: 14px;
}

.widget-author .follow-btn {
    display: inline-flex;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
    background: var(--grad-green);
    border-radius: var(--radius-full);
    transition: all var(--duration) var(--ease);
}

.widget-author .follow-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ============================================
   响应式 - 平板
   ============================================ */
@media (max-width: 1024px) {
    .hero .wrap {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-text {
        max-width: 100%;
    }
    
    .hero-btns {
        justify-content: center;
    }
    
    .hero-cards {
        max-width: 100%;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .news-list {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .list-layout,
    .article-layout {
        grid-template-columns: 1fr;
    }
    
    .aside {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-top {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================
   响应式 - 移动端
   ============================================ */
@media (max-width: 768px) {
    :root {
        --header-h: 64px;
    }
    
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .partner-item {
        height: 80px;
        padding: 16px;
    }
    
    .wrap {
        padding: 0 16px;
    }
    
        /* 导航 - 移动端完全重写 */
        header.nav .nav-menu {
            display: none;
            position: fixed;
            top: 64px;
            left: 0;
            right: 0;
            bottom: 0;
            width: 100vw;
            height: calc(100vh - 64px);
            background: #ffffff;
            flex-direction: column;
            align-items: stretch;
            justify-content: flex-start;
            padding: 0;
            margin: 0;
            gap: 0;
            z-index: 9999;
            overflow-y: auto;
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        }
    
        header.nav .nav-menu.active {
            display: flex;
        }
    
        header.nav .nav-menu a {
            display: block;
            width: 100%;
            padding: 20px 24px;
            margin: 0;
            text-align: left;
            border-bottom: 1px solid #e5e7eb;
            border-radius: 0;
            color: #1f2937;
            font-size: 16px;
            font-weight: 500;
            background: #ffffff;
            box-sizing: border-box;
        }
    
        header.nav .nav-menu a:first-child {
            border-top: 1px solid #e5e7eb;
        }
    
        header.nav .nav-menu a:hover,
        header.nav .nav-menu a:active {
            color: #059669;
            background: #f3f4f6;
        }
    
    .nav-cta {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    /* 英雄区 */
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-desc {
        font-size: 16px;
    }
    
    .hero-btns {
        flex-direction: column;
    }
    
    .hero-btns .btn {
        width: 100%;
    }
    
    .hero-cards {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    
    .hero-card {
        padding: 20px 16px;
    }
    
    .hero-card h4 {
        font-size: 22px;
    }
    
    /* 功能 */
    .features {
        padding: 60px 0;
    }
    
    .section-head h2 {
        font-size: 26px;
    }
    
    .features-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
    
    .feature-item {
        padding: 24px 16px;
    }
    
    .feature-item h3 {
        font-size: 15px;
    }
    
    .feature-item p {
        font-size: 13px;
    }
    
    /* 统计 */
    .stats {
        padding: 50px 0;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    
    .stat-img {
        width: 64px;
        height: 64px;
    }
    
    .stat-box strong {
        font-size: 28px;
    }
    
    .stat-box span {
        font-size: 13px;
    }
    
    /* 新闻 */
    .news {
        padding: 60px 0;
    }
    
    .news-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* CTA */
    .cta {
        padding: 60px 0;
    }
    
    .cta-box {
        padding: 40px 20px;
    }
    
    .cta-box h2 {
        font-size: 24px;
    }
    
    .cta-tips {
        flex-direction: column;
        gap: 12px;
    }
    
    /* 列表页 */
    .banner {
        padding: 90px 0 30px;
    }
    
    .banner h1 {
        font-size: 26px;
    }
    
    .list-section {
        padding: 30px 0 50px;
    }
    
    .list-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .aside {
        display: none;
    }
    
    .pages a {
        min-width: 36px;
        height: 36px;
        padding: 0 10px;
        font-size: 13px;
    }
    
    /* 内容页 */
    .article-box {
        padding: 24px 16px;
    }
    
    .article-header h1 {
        font-size: 22px;
    }
    
    .article-meta {
        gap: 14px;
    }
    
    .article-content h2 {
        font-size: 20px;
    }
    
    .article-content h3 {
        font-size: 18px;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
    
    /* 页脚 */
    .footer-top {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* ============================================
   小屏幕
   ============================================ */
@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }
    
    .hero-cards {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .section-head h2 {
        font-size: 24px;
    }
    
    .banner h1 {
        font-size: 24px;
    }
    
    .article-header h1 {
        font-size: 20px;
    }
}
