/* ==========================================================================
   TxtPress Theme: Eco-Tech (环保科技风格纯CSS主题) - 修正版
   ========================================================================== */

/* --- 1. 全局变量与自然生态配色 --- */
:root {
    /* 环保科技核心色系 */
    --eco-green: #10B981;      /* 充满生机的自然绿 */
    --eco-dark: #047857;       /* 深沉稳重的森林绿 (用于强调与交互) */
    --pure-blue: #0EA5E9;      /* 清洁水源蓝 (用于点缀与渐变) */
    --leaf-light: #D1FAE5;     /* 极浅的绿叶底色 */
    
    /* 文本与灰度层 */
    --text-main: #1F2937;      /* 碳灰色主文本 */
    --text-muted: #4B5563;     /* 柔和的次要文本 */
    --bg-body: #F8FAFC;        /* 极浅的蓝灰背景，清透 */
    --bg-surface: #FFFFFF;     /* 纯白卡片容器 */
    --border-light: #E5E7EB;   
    --border-eco: #A7F3D0;     /* 绿意边框 */
    
    /* 圆角与阴影 (更加柔和、有机的形态) */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;         
    --radius-pill: 50px;       
    
    /* 柔和的光影系统 */
    --shadow-float: 0 10px 40px -10px rgba(16, 185, 129, 0.15);
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.03);
    --transition-smooth: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: "PingFang SC", "Microsoft YaHei", "Inter", sans-serif;
    line-height: 1.8;
    color: var(--text-main);
    background-color: var(--bg-body);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

main { flex: 1; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; width: 100%; }

h1, h2, h3, h4, h5, h6 { 
    color: #064E3B; 
    font-weight: 700; 
    line-height: 1.3; 
}

h2 { 
    font-size: 2.5rem; 
    text-align: center; 
    margin-bottom: 4rem; 
    position: relative; 
    z-index: 1;
}

h2::after { 
    content: ''; 
    position: absolute; 
    bottom: -16px; 
    left: 50%; 
    transform: translateX(-50%); 
    width: 60px; 
    height: 6px; 
    background: linear-gradient(90deg, var(--eco-green), var(--pure-blue)); 
    border-radius: var(--radius-pill); 
}

/* 修正：增加 scroll-margin-top 防止锚点跳转时被顶部悬浮导航条遮挡 */
section { padding: 100px 0; scroll-margin-top: 90px; }
section:nth-of-type(even) { background-color: var(--bg-surface); }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 36px;
    background: linear-gradient(135deg, var(--eco-green), var(--eco-dark));
    color: #FFFFFF;
    text-decoration: none;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 1.05rem;
    transition: var(--transition-smooth);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}
.btn:hover { 
    transform: translateY(-3px) scale(1.02); 
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4); 
    color: #fff;
}

/* --- 2. 头部导航 --- */
.main-header { 
    background-color: rgba(255, 255, 255, 0.85); 
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(167, 243, 208, 0.5); 
    position: sticky; 
    top: 0; 
    z-index: 1000; 
    width: 100%; 
    transition: var(--transition-smooth);
}
.main-header .container { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    height: 90px; 
}
.logo { 
    font-size: 1.75rem; 
    font-weight: 800; 
    color: var(--eco-dark); 
    text-decoration: none; 
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.logo::before {
    content: ''; display: block; width: 24px; height: 24px;
    background: var(--eco-green); border-radius: 0 50% 0 50%;
    transform: rotate(45deg);
}

.main-nav ul { display: flex; list-style: none; }
.main-nav ul li { margin-left: 45px; }
.main-nav ul li a { 
    text-decoration: none; color: var(--text-muted); font-weight: 600; font-size: 1rem;
    position: relative; padding-bottom: 6px; transition: color 0.3s ease;
}
.main-nav ul li a::after {
    content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 3px;
    background-color: var(--eco-green); border-radius: 2px;
    transform: scaleX(0); transform-origin: right; transition: transform 0.3s ease;
}
.main-nav ul li a:hover, .main-nav ul li a.active { color: var(--eco-dark); }
.main-nav ul li a:hover::after, .main-nav ul li a.active::after { 
    transform: scaleX(1); transform-origin: left; 
}
.menu-toggle { display: none; cursor: pointer; background: none; border: none; font-size: 2rem; color: var(--eco-dark); }

/* --- 3. 首页 Hero 区域 --- */
@keyframes ecoFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
#hero {
    background: linear-gradient(-45deg, #059669, #0EA5E9, #10B981, #0284C7);
    background-size: 400% 400%;
    animation: ecoFlow 15s ease infinite;
    position: relative; color: #FFFFFF; height: 90vh; min-height: 650px;
    display: flex; align-items: center; justify-content: center; text-align: center; 
    padding: 0 20px; overflow: hidden;
}
#hero::after {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 100px;
    background-color: var(--bg-body); clip-path: polygon(100% 0%, 0% 100%, 100% 100%);
}
#hero::before {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 150px;
    background-color: rgba(255,255,255,0.1); clip-path: polygon(0% 0%, 0% 100%, 100% 100%);
}

.hero-content {
    position: relative; z-index: 2; max-width: 900px; opacity: 0;
    animation: fadeUpIn 1s cubic-bezier(0.25, 1, 0.5, 1) forwards; transform: translateY(40px);
}
@keyframes fadeUpIn { to { opacity: 1; transform: translateY(0); } }

#hero h1 { font-size: 4.5rem; color: #FFFFFF; margin-bottom: 1.5rem; letter-spacing: -1px; font-weight: 800; text-shadow: 0 10px 30px rgba(0,0,0,0.15); }
#hero p { font-size: 1.35rem; color: rgba(255,255,255,0.9); margin: 0 auto 3.5rem; font-weight: 400; max-width: 700px; text-shadow: 0 2px 10px rgba(0,0,0,0.1); }
#hero .btn { background: #FFFFFF; color: var(--eco-dark); box-shadow: 0 10px 25px rgba(0,0,0,0.1); }
#hero .btn:hover { background: var(--bg-body); color: var(--eco-green); transform: translateY(-5px); }

/* --- 4. 解决方案 (生态漂浮卡片) --- */
#solutions { background-color: var(--bg-body); }
.solutions-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 40px; }
.solution-card { 
    background-color: var(--bg-surface); padding: 50px 40px; border-radius: var(--radius-lg); 
    box-shadow: var(--shadow-card); border: 1px solid var(--border-light);
    transition: var(--transition-smooth); position: relative; z-index: 1;
}
.solution-card::before {
    content: ''; position: absolute; inset: 0; border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--leaf-light), transparent);
    opacity: 0; z-index: -1; transition: opacity 0.4s ease;
}
.solution-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-float); border-color: var(--border-eco); }
.solution-card:hover::before { opacity: 1; }
.solution-card h3 { font-size: 1.35rem; margin-bottom: 16px; color: var(--text-main); }
.solution-card p { color: var(--text-muted); font-size: 1rem; }

/* 修正：补全所有图标绝对定位的精确位置，防Safari排版崩溃 */
.solution-icon { 
    width: 64px; height: 64px; margin-bottom: 30px; position: relative; 
    background: var(--leaf-light); border-radius: 18px; color: var(--eco-green);
    display: flex; align-items: center; justify-content: center;
}
.solution-icon::before, .solution-icon::after { 
    content: ''; position: absolute; box-sizing: border-box; 
}
/* 1. 云化水滴 */
.icon-cloud { background: #E0F2FE; color: var(--pure-blue); }
.icon-cloud::before { 
    width: 24px; height: 24px; top: 20px; left: 20px; background: currentColor; 
    border-radius: 0 50% 50% 50%; transform: rotate(45deg);
}
.icon-cloud::after { width: 14px; height: 14px; border: 3px solid #FFF; border-radius: 50%; top: 25px; left: 25px; }

/* 2. 数据 */
.icon-data::before { width: 8px; height: 20px; background: currentColor; border-radius: 4px; left: 20px; bottom: 18px; box-shadow: 16px -8px 0 currentColor; }
.icon-data::after { width: 12px; height: 12px; background: var(--pure-blue); border-radius: 0 50% 0 50%; transform: rotate(45deg); top: 15px; right: 22px; }

/* 3. AI中心 */
.icon-ai::before { width: 32px; height: 32px; border: 3px solid currentColor; border-radius: 50%; top: 16px; left: 16px; }
.icon-ai::after { width: 12px; height: 12px; background: currentColor; border-radius: 50%; top: 26px; left: 26px; box-shadow: -22px 0 0 -3px var(--pure-blue), 22px 0 0 -3px var(--pure-blue); }

/* 4. 安全盾 */
.icon-security::before { width: 32px; height: 36px; border: 3px solid currentColor; border-radius: 4px 4px 16px 16px; top: 14px; left: 16px; }
.icon-security::after { width: 12px; height: 16px; background: var(--eco-green); border-radius: 0 50% 0 50%; transform: rotate(45deg); top: 23px; left: 26px; }

/* 5. 物联循环 */
.icon-iot::before { width: 28px; height: 28px; border: 3px solid currentColor; border-radius: 50%; border-top-color: transparent; transform: rotate(45deg); top: 18px; left: 18px; }
.icon-iot::after { width: 20px; height: 20px; border: 3px solid var(--pure-blue); border-radius: 50%; border-bottom-color: transparent; transform: rotate(45deg); top: 22px; left: 22px; }

/* 6. 对话咨询 */
.icon-consult { background: #ECFDF5; }
.icon-consult::before { width: 32px; height: 24px; background: currentColor; border-radius: 8px; top: 20px; left: 16px; }
.icon-consult::after { width: 12px; height: 12px; background: currentColor; bottom: 14px; left: 22px; transform: rotate(45deg); }

/* --- 5. 关于我们 --- */
#about { background-color: var(--bg-surface); }
#about .about-content { display: flex; align-items: center; gap: 80px; }
.about-text { flex: 1.2; }
.about-text h3 { font-size: 1.8rem; margin-bottom: 1.5rem; color: var(--eco-dark); }
.about-text p { margin-bottom: 1.5rem; color: var(--text-muted); font-size: 1.1rem; }
.about-action { margin-top: 3rem; }

@keyframes morphing {
    0% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
    25% { border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%; }
    50% { border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%; }
    75% { border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%; }
    100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
}
.about-visual {
    flex: 1; height: 450px; background: linear-gradient(135deg, var(--eco-green) 0%, var(--pure-blue) 100%);
    animation: morphing 10s ease-in-out infinite; display: flex; align-items: center; justify-content: center; position: relative;
    box-shadow: 0 20px 50px rgba(16, 185, 129, 0.2);
}
.about-visual::before { content: ''; position: absolute; inset: 15px; border: 2px dashed rgba(255,255,255,0.4); animation: morphing 12s ease-in-out infinite reverse; }
.about-visual span { 
    z-index: 1; color: var(--eco-dark); font-size: 1.8rem; font-weight: 800; letter-spacing: 4px; background: rgba(255,255,255,0.9);
    padding: 20px 40px; border-radius: var(--radius-pill); box-shadow: 0 10px 30px rgba(0,0,0,0.1); backdrop-filter: blur(10px);
}

/* --- 6. 资讯/内容列表区 --- */
#news, #content { background-color: var(--bg-body); }
/* 修正：auto-fit改为auto-fill，防止单篇文章强行拉伸占满整行 */
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 40px; }
.news-card { background-color: var(--bg-surface); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); overflow: hidden; display: flex; flex-direction: column; transition: var(--transition-smooth); border: none; }
.news-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-float); }

.news-cover { height: 240px; width: 100%; overflow: hidden; position: relative; background-color: var(--leaf-light); display: flex; align-items: center; justify-content: center; }
.news-card:nth-child(3n+1) .news-cover { background: linear-gradient(135deg, #059669, #10B981); }
.news-card:nth-child(3n+2) .news-cover { background: linear-gradient(135deg, #0284C7, #0EA5E9); }
.news-card:nth-child(3n+3) .news-cover { background: linear-gradient(135deg, #047857, #059669); }

.news-cover img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1); }
.news-card:hover .news-cover img { transform: scale(1.08); }

.news-content { padding: 30px; flex-grow: 1; display: flex; flex-direction: column; }
/* 修正：提升了文章类目链接在浅色底上的对比度 */
.news-meta { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 15px; display: flex; gap: 10px; }
.news-meta a { color: var(--eco-dark); text-decoration: none; font-weight: 600; padding: 2px 10px; background: var(--leaf-light); border-radius: var(--radius-pill); transition: all 0.3s;}
.news-meta a:hover { background: var(--eco-green); color: #FFF; }

.news-content h4 { font-size: 1.35rem; margin-bottom: 12px; line-height: 1.5; }
.news-content h4 a { text-decoration: none; color: var(--text-main); transition: color 0.3s; }
.news-content h4 a:hover { color: var(--eco-green); }
.news-content p { flex-grow: 1; margin-bottom: 25px; font-size: 1rem; color: var(--text-muted); }
.read-more-link { text-decoration: none; color: var(--eco-dark); font-weight: 700; font-size: 1rem; align-self: flex-start; display: inline-flex; align-items: center; transition: var(--transition-smooth); padding-bottom: 2px; border-bottom: 2px solid transparent; }
.read-more-link:hover { color: var(--eco-green); border-bottom-color: var(--eco-green); }

/* --- 7. FAQ 环保风折叠面板 --- */
#faq { background-color: var(--bg-surface); }
.faq-accordion { max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; gap: 20px; }
.faq-item { background: var(--bg-surface); border: 1px solid var(--border-light); border-radius: var(--radius-md); box-shadow: 0 2px 8px rgba(0,0,0,0.02); overflow: hidden; transition: all 0.3s ease; }
.faq-item.active { border-color: var(--eco-green); box-shadow: 0 4px 15px rgba(16,185,129,0.1); }
.faq-question { width: 100%; background: none; border: none; text-align: left; padding: 25px 30px; font-size: 1.15rem; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; color: var(--text-main); transition: color 0.3s ease; }
.faq-question:hover { color: var(--eco-green); }
.faq-question::after { content: '+'; font-size: 1.8rem; font-weight: 300; color: var(--eco-green); transition: transform 0.4s ease; }
.faq-item.active .faq-question::after { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.5s cubic-bezier(0, 1, 0, 1); background-color: #FAFAFA; }
.faq-item.active .faq-answer { transition: max-height 0.8s ease-in-out; }
.faq-answer p { color: var(--text-muted); font-size: 1.05rem; padding: 15px 30px; margin: 0; }

/* --- 8. Footer --- */
.main-footer { background-color: #022C22; color: #D1FAE5; padding: 80px 0 30px; margin-top: auto; position: relative; overflow: hidden; }
.main-footer::before { content: ''; position: absolute; top: -150px; right: -100px; width: 300px; height: 300px; background: radial-gradient(circle, rgba(16,185,129,0.15) 0%, transparent 70%); }
.footer-content { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 50px; margin-bottom: 60px; position: relative; z-index: 2;}
.footer-column { flex: 1; min-width: 240px; }
.footer-column h4 { color: #FFFFFF; margin-bottom: 1.8rem; font-size: 1.25rem; font-weight: 600; }
.footer-column p { color: #A7F3D0; font-size: 1rem; line-height: 1.8; }
.footer-column ul { list-style: none; }
.footer-column ul li { margin-bottom: 15px; }
.footer-column ul li a { color: #A7F3D0; text-decoration: none; font-size: 1rem; transition: color 0.3s ease; }
.footer-column ul li a:hover { color: #FFFFFF; padding-left: 5px; }
.footer-bottom { text-align: center; padding-top: 30px; border-top: 1px solid rgba(167,243,208,0.1); font-size: 0.9rem; color: #6EE7B7; position: relative; z-index: 2;}

/* --- 9. 内容页 (宽体排版) --- */
.page-container { padding: 60px 0 120px; background-color: var(--bg-body); }
.single-post-wrapper { max-width: 900px; margin: 0 auto; background: var(--bg-surface); padding: 60px 80px; border-radius: var(--radius-lg); box-shadow: 0 10px 40px rgba(0,0,0,0.04); border: none; }

.breadcrumb { padding-bottom: 25px; font-size: 0.95rem; color: var(--text-muted); margin-bottom: 30px; }
.breadcrumb a { color: var(--text-main); text-decoration: none; font-weight: 500;}
.breadcrumb a:hover { color: var(--eco-green); }
.breadcrumb span { margin: 0 12px; color: var(--border-light); }

.page-header { text-align: left; margin-bottom: 50px; padding-bottom: 30px; border-bottom: 2px solid var(--bg-body); }
.center-header { text-align: center; border-bottom: none; }
.page-header h1 { font-size: 2.8rem; color: var(--eco-dark); letter-spacing: -0.5px; }
.page-meta { color: var(--text-muted); font-size: 1.05rem; margin-top: 20px; }
.page-meta a { color: var(--eco-green); text-decoration: none; font-weight: 600; }
.page-meta a:hover { text-decoration: underline; }

/* Markdown 样式 */
.markdown-body { color: var(--text-main); font-size: 1.15rem; line-height: 1.9; word-wrap: break-word; }
.markdown-body h2 { font-size: 1.85rem; margin: 3.5rem 0 1.5rem; text-align: left; color: var(--eco-dark); position: relative; padding-left: 20px;}
.markdown-body h2::after { display: none; }
.markdown-body h2::before { content: ''; position: absolute; left: 0; top: 10%; height: 80%; width: 6px; background: var(--eco-green); border-radius: 4px; }
.markdown-body h3 { font-size: 1.5rem; margin: 2.5rem 0 1.2rem; color: var(--text-main); }
.markdown-body p { margin-bottom: 1.8rem; }
.markdown-body ul, .markdown-body ol { padding-left: 25px; margin-bottom: 1.8rem; color: var(--text-main); }
.markdown-body li { margin-bottom: 0.8rem; }
.markdown-body li::marker { color: var(--eco-green); font-weight: bold; }
.markdown-body img { max-width: 100%; height: auto; border-radius: var(--radius-md); margin: 3rem auto; box-shadow: var(--shadow-card); display: block; }
.markdown-body blockquote { border-left: 0; background-color: var(--leaf-light); padding: 30px; margin: 3rem 0; border-radius: var(--radius-md); color: var(--eco-dark); font-style: normal; font-weight: 500; position: relative; }
.markdown-body blockquote::before { content: '“'; position: absolute; left: 10px; top: -10px; font-size: 4rem; color: rgba(16,185,129,0.2); font-family: serif; line-height: 1; }
.markdown-body a { color: var(--eco-green); text-decoration: none; font-weight: 600; border-bottom: 2px solid transparent; transition: border-color 0.2s; }
.markdown-body a:hover { border-bottom-color: var(--eco-green); }
.markdown-body hr { border: 0; height: 2px; background: var(--bg-body); margin: 4rem 0; }
.markdown-body pre { background: #1F2937; color: #E5E7EB; padding: 25px; border-radius: var(--radius-md); overflow-x: auto; margin-bottom: 2.5rem; font-size: 1rem; box-shadow: inset 0 0 10px rgba(0,0,0,0.5); }
.markdown-body code { font-family: "JetBrains Mono", Consolas, monospace; background: var(--leaf-light); color: var(--eco-dark); padding: 4px 8px; border-radius: 6px; font-size: 0.9em; }
.markdown-body pre code { background: none; color: inherit; padding: 0; }

/* 修正：补充 Markdown 表格基础样式 */
.markdown-body table { width: 100%; border-collapse: collapse; margin-bottom: 2.5rem; background: var(--bg-surface); border-radius: var(--radius-sm); overflow: hidden; }
.markdown-body th, .markdown-body td { border: 1px solid var(--border-light); padding: 14px 20px; text-align: left; }
.markdown-body th { background-color: var(--leaf-light); color: var(--eco-dark); font-weight: 700; }

.post-tags { margin-top: 60px; padding-top: 40px; border-top: 2px solid var(--bg-body); display: flex; flex-wrap: wrap; gap: 12px; }
.tag-pill { display: inline-block; background: #FFF; padding: 10px 20px; border-radius: var(--radius-pill); color: var(--eco-dark); text-decoration: none; font-size: 0.95rem; font-weight: 600; transition: var(--transition-smooth); border: 1px solid var(--border-eco); }
.tag-pill:hover { background: var(--eco-green); color: #FFFFFF; border-color: var(--eco-green); transform: translateY(-2px); box-shadow: 0 4px 10px rgba(16,185,129,0.2); }

.post-navigation { display: flex; justify-content: space-between; margin-top: 40px; padding-top: 40px; border-top: 2px solid var(--bg-body); }
.nav-next, .nav-prev { max-width: 48%; text-decoration: none; color: var(--text-main); font-weight: 700; font-size: 1.1rem; line-height: 1.5; transition: color 0.3s; }
.nav-next:hover, .nav-prev:hover { color: var(--eco-green); }
.nav-next span, .nav-prev span { display: block; font-size: 0.9rem; color: var(--text-muted); font-weight: 500; margin-bottom: 8px; text-transform: uppercase; letter-spacing: 1px; }
.nav-next { text-align: right; }

/* 分页 */
.pagination { display: flex; justify-content: center; align-items: center; gap: 12px; margin-top: 70px; }
.page-btn { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: none; border-radius: 50%; color: var(--eco-dark); text-decoration: none; transition: var(--transition-smooth); background: var(--bg-surface); font-weight: 600; font-size: 1.1rem; box-shadow: 0 4px 10px rgba(0,0,0,0.05); }
.page-btn:hover { background-color: var(--eco-green); color: #FFF; transform: translateY(-3px); box-shadow: 0 6px 15px rgba(16,185,129,0.3); }
.page-current { display: inline-flex; align-items: center; height: 48px; padding: 0 25px; font-weight: 700; color: #FFF; background: var(--eco-green); border-radius: var(--radius-pill); box-shadow: 0 6px 15px rgba(16,185,129,0.3);}

/* 404 & 无内容 */
.error-page { text-align: center; padding: 150px 0; }
.error-page h1 { font-size: 8rem; color: var(--border-eco); margin-bottom: 20px; font-weight: 900; }
.error-page p { font-size: 1.5rem; margin-bottom: 50px; color: var(--text-muted); }
.no-content { grid-column: 1 / -1; text-align: center; padding: 80px 20px; font-size: 1.1rem; color: var(--eco-dark); background: var(--leaf-light); border-radius: var(--radius-lg); font-weight: 600; }

/* --- 10. 响应式适配优化 --- */
@media (max-width: 1024px) {
    .single-post-wrapper { padding: 50px; }
}

@media (max-width: 992px) { 
    h2 { font-size: 2.2rem; } 
    #hero h1 { font-size: 3.5rem; }
    .about-visual { height: 350px; }
}

@media (max-width: 768px) {
    .main-header .container { height: 75px; }
    .logo { font-size: 1.5rem; }
    .menu-toggle { display: block; }
    
    .main-nav { 
        position: absolute; top: 75px; left: 0; width: 100%; 
        background-color: var(--eco-dark); flex-direction: column; 
        max-height: 0; overflow: hidden; transition: max-height 0.6s cubic-bezier(0.25, 1, 0.5, 1); 
        box-shadow: 0 10px 30px rgba(0,0,0,0.2); 
    }
    .main-nav.active { max-height: 600px; }
    .main-nav ul { flex-direction: column; padding: 20px 0; }
    .main-nav ul li { margin: 0; }
    .main-nav ul li a { display: block; padding: 16px 30px; font-size: 1.1rem; color: #FFF; border-bottom: 1px solid rgba(255,255,255,0.05); }
    .main-nav ul li a::after { display: none; }
    .main-nav ul li a:hover, .main-nav ul li a.active { background: rgba(255,255,255,0.1); }
    
    #hero { height: auto; padding: 150px 20px 100px; }
    #hero h1 { font-size: 2.8rem; }
    #hero p { font-size: 1.15rem; margin-bottom: 2.5rem; }
    
    #about .about-content { flex-direction: column; gap: 50px; }
    .about-text h3 { text-align: center; }
    .about-visual { width: 100%; }
    
    .footer-content { flex-direction: column; gap: 40px; text-align: center; }
    
    .single-post-wrapper { padding: 40px 25px; border-radius: var(--radius-md); }
    .page-header h1 { font-size: 2.2rem; }
}

@media (max-width: 480px) { 
    section { padding: 70px 0; } 
    h2 { font-size: 1.8rem; margin-bottom: 3rem; } 
    .news-cover { height: 200px; }
    .single-post-wrapper { padding: 30px 20px; }
    .page-header h1 { font-size: 1.9rem; }
    .post-navigation { flex-direction: column; gap: 30px; }
    .nav-next, .nav-prev { max-width: 100%; text-align: left; }
    .markdown-body h2 { font-size: 1.5rem; }
    .markdown-body blockquote { padding: 20px; font-size: 1rem;}
}