/* --- 1. 全局与基础样式 --- */
:root {
    --primary-color: #8B5A2B; /* 原木色，象征天然纺织原料 */
    --secondary-color: #B68D40; /* 金色，象征品质与精致 */
    --accent-color: #7C9D8E; /* 青瓷绿，象征环保与自然 */
    --dark-color: #3E2723; /* 深褐色，象征传统与稳重 */
    --light-color: #F9F5F0; /* 米白色，象征棉麻质感 */
    --text-color: #5D4037; /* 褐色，用于文字 */
    --border-color: #D7CCC8; /* 浅灰褐色 */
    --white-color: #FFFFFF;
    --shadow: 0 4px 12px rgba(139, 90, 43, 0.1);
    --texture-bg: linear-gradient(135deg, #F9F5F0 25%, transparent 25%) -10px 0,
                  linear-gradient(225deg, #F9F5F0 25%, transparent 25%) -10px 0,
                  linear-gradient(315deg, #F9F5F0 25%, transparent 25%),
                  linear-gradient(45deg, #F9F5F0 25%, transparent 25%);
    --texture-size: 20px 20px;
    --texture-color: #F1E9E0;
}

* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}
html { 
    scroll-behavior: smooth; 
}
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--white-color);
    display: flex; 
    flex-direction: column; 
    min-height: 100vh;
    background-image: var(--texture-bg);
    background-size: var(--texture-size);
    background-color: var(--texture-color);
}
main { 
    flex: 1; 
}
.container { 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 0 20px; 
}

h1, h2, h3, h4 { 
    color: var(--dark-color); 
    margin-bottom: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}
h2 { 
    font-size: 2.5rem; 
    text-align: center; 
    margin-bottom: 3rem; 
    position: relative; 
    padding-bottom: 15px;
}
h2::after { 
    content: ''; 
    position: absolute; 
    bottom: 0; 
    left: 50%; 
    transform: translateX(-50%); 
    width: 80px; 
    height: 3px; 
    background-color: var(--primary-color); 
    border-radius: 2px; 
}
h2::before {
    content: '✦';
    position: absolute;
    bottom: -8px;
    left: calc(50% - 40px);
    color: var(--primary-color);
    font-size: 1.2rem;
}

section { 
    padding: 80px 0; 
    position: relative;
}
section:nth-of-type(odd) { 
    background-color: rgba(249, 245, 240, 0.7); 
    position: relative;
    overflow: hidden;
}
section:nth-of-type(odd)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(139, 90, 43, 0.03) 2px, rgba(139, 90, 43, 0.03) 4px);
    pointer-events: none;
    z-index: 0;
}
section:nth-of-type(odd) > .container {
    position: relative;
    z-index: 1;
}

.btn {
    display: inline-block; 
    padding: 14px 32px; 
    background-color: var(--primary-color);
    color: var(--white-color); 
    text-decoration: none; 
    border-radius: 4px; 
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.4s ease; 
    border: 2px solid var(--primary-color);
    cursor: pointer;
    text-transform: uppercase;
    font-size: 0.9rem;
    box-shadow: 0 4px 8px rgba(139, 90, 43, 0.2);
}
.btn:hover { 
    background-color: var(--dark-color); 
    border-color: var(--dark-color);
    transform: translateY(-3px); 
    color: #fff; 
    box-shadow: 0 6px 12px rgba(139, 90, 43, 0.3);
}

/* --- 2. 头部与导航 --- */
.main-header { 
    background-color: rgba(255, 255, 255, 0.95); 
    box-shadow: 0 2px 15px rgba(62, 39, 35, 0.1); 
    position: sticky; 
    top: 0; 
    z-index: 1000; 
    width: 100%;
    backdrop-filter: blur(5px);
    border-bottom: 1px solid rgba(215, 204, 200, 0.3);
}
.main-header .container { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    height: 80px; 
}
.logo { 
    font-size: 1.8rem; 
    font-weight: 700; 
    color: var(--dark-color); 
    text-decoration: none; 
    position: relative;
    padding-left: 40px;
}
/* 修复：移除了重复的content属性 */
.logo::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
}
.logo::after {
    content: '';
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 40px;
    background-color: var(--secondary-color);
}
.main-nav ul { 
    display: flex; 
    list-style: none; 
}
.main-nav ul li { 
    margin-left: 35px; 
    position: relative;
}
.main-nav ul li a { 
    text-decoration: none; 
    color: var(--dark-color); 
    font-weight: 500; 
    position: relative; 
    padding: 8px 0;
    transition: color 0.3s ease;
}
.main-nav ul li a::before { 
    content: ''; 
    position: absolute; 
    bottom: 0; 
    left: 0; 
    width: 0; 
    height: 2px; 
    background-color: var(--primary-color); 
    transition: width 0.4s ease; 
}
.main-nav ul li a:hover::before, 
.main-nav ul li a.active::before { 
    width: 100%; 
}
.main-nav ul li a.active { 
    color: var(--primary-color); 
    font-weight: 600;
}
.menu-toggle { 
    display: none; 
    cursor: pointer; 
    background: none; 
    border: none; 
    font-size: 1.5rem; 
    color: var(--dark-color); 
    padding: 5px;
    border-radius: 3px;
    transition: background-color 0.3s;
}
.menu-toggle:hover {
    background-color: rgba(139, 90, 43, 0.1);
}

/* --- 3. 英雄区域 --- */
#hero {
    background: linear-gradient(rgba(62, 39, 35, 0.85), rgba(139, 90, 43, 0.8)), 
                repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(255,255,255,0.05) 10px, rgba(255,255,255,0.05) 20px);
    color: var(--white-color); 
    height: 85vh; 
    min-height: 600px;
    max-height: 800px;
    display: flex; 
    align-items: center; 
    justify-content: center; 
    text-align: center; 
    padding: 0 20px;
    position: relative;
    overflow: hidden;
}
#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(90deg, transparent, transparent 15px, rgba(255,255,255,0.03) 15px, rgba(255,255,255,0.03) 30px),
        repeating-linear-gradient(0deg, transparent, transparent 15px, rgba(255,255,255,0.03) 15px, rgba(255,255,255,0.03) 30px);
    pointer-events: none;
    z-index: 0;
}
.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}
#hero h1 { 
    font-size: 3.8rem; 
    color: var(--white-color); 
    margin-bottom: 1.5rem; 
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    line-height: 1.2;
}
#hero p { 
    font-size: 1.3rem; 
    max-width: 700px; 
    margin: 0 auto 3rem; 
    opacity: 0.95; 
    line-height: 1.8;
}
#hero .btn {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    padding: 16px 40px;
    font-size: 1rem;
}
#hero .btn:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

/* --- 4. 解决方案 --- */
#solutions {
    position: relative;
}
.solutions-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); 
    gap: 35px; 
}
.solution-card { 
    background-color: var(--white-color); 
    padding: 35px 30px; 
    border-radius: 8px; 
    box-shadow: var(--shadow); 
    text-align: center; 
    transition: all 0.4s ease; 
    border: 1px solid rgba(215, 204, 200, 0.5);
    position: relative;
    overflow: hidden;
}
.solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}
.solution-card:hover { 
    transform: translateY(-12px); 
    box-shadow: 0 15px 30px rgba(139, 90, 43, 0.15); 
}
.solution-icon { 
    width: 80px; 
    height: 80px; 
    margin: 0 auto 25px; 
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)); 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    position: relative; 
    box-shadow: 0 8px 16px rgba(139, 90, 43, 0.2);
    color: white;
    font-size: 2rem;
    overflow: hidden;
}
/* 重新设计图标 - 使用CSS绘制避免表情符号兼容性问题 */
.icon-cloud::before { 
    content: '';
    position: relative;
    display: block;
    width: 40px;
    height: 25px;
    background: white;
    border-radius: 15px 15px 0 0;
}
.icon-cloud::after { 
    content: '';
    position: absolute;
    top: 10px;
    left: 30px;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
}

.icon-data::before { 
    content: '📊';
    position: relative;
}

.icon-ai::before { 
    content: '';
    position: relative;
    width: 30px;
    height: 30px;
    border: 3px solid white;
    border-radius: 50%;
}
.icon-ai::after { 
    content: '';
    position: absolute;
    top: 25px;
    left: 25px;
    width: 20px;
    height: 20px;
    border: 3px solid white;
    border-radius: 50%;
}

.icon-security::before { 
    content: '✓';
    position: relative;
    font-weight: bold;
    font-size: 2.5rem;
}

.icon-iot::before { 
    content: '';
    position: relative;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
}
.icon-iot::after { 
    content: '';
    position: absolute;
    top: 15px;
    left: 15px;
    width: 40px;
    height: 40px;
    border: 2px solid white;
    border-radius: 50%;
}

.icon-consult::before { 
    content: '💡';
    position: relative;
}

.solution-card h3 { 
    font-size: 1.5rem; 
    color: var(--dark-color); 
    margin-bottom: 15px;
}
.solution-card p { 
    color: #666;
    line-height: 1.7;
}

/* --- 5. 关于我们 --- */
#about .about-content { 
    display: flex; 
    align-items: center; 
    gap: 60px; 
}
.about-text { 
    flex: 1; 
}
.about-text p { 
    margin-bottom: 1.5rem; 
    font-size: 1.05rem;
    line-height: 1.8;
}
.about-visual {
    flex: 1; 
    height: 350px; 
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    border-radius: 10px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    color: var(--white-color); 
    font-size: 1.8rem; 
    font-weight: bold; 
    box-shadow: var(--shadow);
    position: relative; 
    overflow: hidden;
    flex-direction: column;
    padding: 20px;
    text-align: center;
}
.about-visual::before {
    content: '';
    position: absolute;
    width: 200%; 
    height: 200%;
    background-image: 
        repeating-linear-gradient(0deg, transparent, transparent 30px, rgba(255,255,255,0.1) 30px, rgba(255,255,255,0.1) 31px),
        repeating-linear-gradient(90deg, transparent, transparent 30px, rgba(255,255,255,0.1) 30px, rgba(255,255,255,0.1) 31px);
    background-size: 60px 60px;
    animation: weave 20s linear infinite;
}
@keyframes weave {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(-30px, -30px) rotate(0.5deg); }
}
.about-visual span { 
    z-index: 1; 
    font-size: 2.2rem;
    margin-bottom: 15px;
}
.about-visual::after {
    content: '纺织艺术 · 匠心传承';
    z-index: 1;
    font-size: 1.2rem;
    opacity: 0.9;
}
.about-action { 
    margin-top: 2.5rem; 
}

/* --- 6. 最新动态 --- */
#news, #content {
    position: relative;
}
.news-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); 
    gap: 35px; 
}
.news-card {
    background-color: var(--white-color); 
    border-radius: 8px; 
    box-shadow: var(--shadow);
    overflow: hidden; 
    display: flex; 
    flex-direction: column; 
    transition: all 0.4s ease;
    border: 1px solid rgba(215, 204, 200, 0.5);
}
.news-card:hover { 
    transform: translateY(-8px); 
    box-shadow: 0 15px 30px rgba(139, 90, 43, 0.15); 
}

/* 图片容器 */
.news-cover {
    height: 220px; 
    width: 100%; 
    overflow: hidden; 
    position: relative;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
}
.news-card:nth-child(2n) .news-cover { 
    background: linear-gradient(45deg, var(--accent-color), #8B5A2B); 
}
.news-card:nth-child(3n) .news-cover { 
    background: linear-gradient(45deg, #B68D40, #7C9D8E); 
}
.news-card:nth-child(4n) .news-cover { 
    background: linear-gradient(45deg, #3E2723, #8B5A2B); 
}

/* 图片样式 */
.news-cover img {
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    display: block;
    transition: transform 0.6s ease, filter 0.6s ease;
    filter: brightness(0.95);
}
.news-card:hover .news-cover img { 
    transform: scale(1.1); 
    filter: brightness(1.05);
}

.news-content { 
    padding: 25px; 
    flex-grow: 1; 
    display: flex; 
    flex-direction: column; 
}
.news-content h4 { 
    font-size: 1.3rem; 
    margin-bottom: 0.8rem; 
    line-height: 1.4;
}
.news-content h4 a { 
    text-decoration: none; 
    color: var(--dark-color); 
    transition: color 0.3s; 
}
.news-content h4 a:hover { 
    color: var(--primary-color); 
}
.news-meta { 
    font-size: 0.85rem; 
    color: #777; 
    margin-bottom: 1.2rem; 
    display: flex; 
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}
.news-meta::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 50%;
    margin-right: 5px;
}

/* 资讯卡片中分类链接的样式 */
.news-meta a { 
    color: inherit; 
    text-decoration: none; 
    transition: color 0.3s ease; 
    font-weight: 500;
}
.news-meta a:hover { 
    color: var(--primary-color); 
    text-decoration: underline; 
}

.news-content p { 
    flex-grow: 1; 
    margin-bottom: 1.5rem; 
    font-size: 0.95rem; 
    color: #666; 
    line-height: 1.7; 
}
.read-more-link { 
    text-decoration: none; 
    color: var(--primary-color); 
    font-weight: 600; 
    align-self: flex-start; 
    position: relative;
    padding-bottom: 3px;
}
.read-more-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}
.read-more-link:hover::after { 
    width: 100%; 
}
.read-more-link:hover { 
    text-decoration: none; 
}

/* --- 7. FAQ --- */
#faq {
    position: relative;
}
.faq-accordion { 
    max-width: 900px; 
    margin: 0 auto; 
}
.faq-item { 
    border-bottom: 1px solid var(--border-color); 
    transition: all 0.3s ease;
}
.faq-item:hover {
    background-color: rgba(249, 245, 240, 0.5);
}
.faq-question {
    width: 100%; 
    background: none; 
    border: none; 
    text-align: left; 
    padding: 22px 20px;
    font-size: 1.1rem; 
    font-weight: 600; 
    cursor: pointer; 
    display: flex;
    justify-content: space-between; 
    align-items: center; 
    color: var(--dark-color);
    transition: color 0.3s ease;
}
.faq-question:hover {
    color: var(--primary-color);
}
.faq-question::after { 
    content: '+'; 
    font-size: 1.8rem; 
    color: var(--primary-color); 
    transition: transform 0.3s ease, color 0.3s ease;
    font-weight: 300;
}
.faq-item.active .faq-question::after { 
    content: '−'; 
    transform: none; 
    color: var(--secondary-color);
}
.faq-answer { 
    max-height: 0; 
    overflow: hidden; 
    transition: max-height 0.5s ease, padding 0.3s ease; 
    padding: 0 20px; 
}
.faq-item.active .faq-answer { 
    padding: 0 20px 25px; 
}

/* FAQ 回答段落样式优化 */
.faq-answer p {
    color: #666;
    font-size: 1rem;
    line-height: 1.8;
    padding: 15px 0;
    margin-top: 5px;
    border-left: 3px solid var(--accent-color);
    padding-left: 20px;
    background-color: rgba(124, 157, 142, 0.05);
    border-radius: 0 4px 4px 0;
}

/* --- 8. Footer --- */
.main-footer { 
    background-color: var(--dark-color); 
    color: var(--light-color); 
    padding: 70px 0 25px; 
    margin-top: auto; 
    position: relative;
}
.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}
.footer-content { 
    display: flex; 
    justify-content: space-between; 
    flex-wrap: wrap; 
    gap: 40px; 
    margin-bottom: 50px; 
}
.footer-column { 
    flex: 1; 
    min-width: 220px; 
}
.footer-column h4 { 
    color: var(--white-color); 
    margin-bottom: 1.5rem; 
    font-size: 1.3rem; 
    position: relative;
    padding-bottom: 10px;
}
.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--secondary-color);
}
.footer-column ul { 
    list-style: none; 
}
.footer-column ul li { 
    margin-bottom: 12px; 
}
.footer-column ul li a { 
    color: #ccc; 
    text-decoration: none; 
    transition: all 0.3s ease; 
    display: inline-block;
    padding: 3px 0;
}
.footer-column ul li a:hover { 
    color: var(--secondary-color); 
    transform: translateX(5px);
}
.footer-column p {
    color: #ccc;
    line-height: 1.7;
    margin-top: 10px;
}
.footer-bottom { 
    text-align: center; 
    padding-top: 25px; 
    border-top: 1px solid rgba(255, 255, 255, 0.1); 
    font-size: 0.9rem; 
    color: #aaa; 
}
.footer-bottom a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s;
}
.footer-bottom a:hover {
    color: #fff;
    text-decoration: underline;
}

/* --- CMS 页面样式 --- */
.breadcrumb { 
    padding: 20px 0; 
    font-size: 0.9rem; 
    color: #777; 
    border-bottom: 1px solid var(--border-color); 
    margin-bottom: 30px; 
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
.breadcrumb a { 
    color: var(--text-color); 
    text-decoration: none; 
    transition: color 0.3s;
    padding: 5px 0;
}
.breadcrumb a:hover { 
    color: var(--primary-color); 
}
.breadcrumb span { 
    margin: 0 12px; 
    color: #ccc; 
}
.page-container { 
    padding: 60px 0 100px; 
}
.page-header { 
    text-align: left; 
    margin-bottom: 40px; 
}
.page-header.center-header {
    text-align: center;
}
.page-header.center-header h1::after {
    left: 50%;
    transform: translateX(-50%);
}
.page-header h1 { 
    font-size: 2.4rem; 
    color: var(--dark-color); 
    position: relative;
    padding-bottom: 15px;
}
.page-header h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}
.page-meta { 
    color: #777; 
    font-size: 0.95rem; 
    margin-top: 15px; 
}

/* 修正：增加 .page-meta a 的样式 */
.page-meta a {
    color: inherit; 
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}
.page-meta a:hover {
    color: var(--primary-color); 
    text-decoration: underline;
}

.pagination { 
    display: flex; 
    justify-content: center; 
    align-items: center;
    gap: 15px; 
    margin-top: 60px; 
}
.page-btn { 
    display: inline-flex; 
    align-items: center; 
    justify-content: center; 
    width: 46px; 
    height: 46px; 
    border: 1px solid var(--border-color); 
    border-radius: 4px; 
    color: var(--text-color); 
    text-decoration: none; 
    transition: all 0.3s; 
    font-weight: 600;
    font-size: 1.1rem;
}
.page-btn:hover { 
    background-color: var(--primary-color); 
    color: #fff; 
    border-color: var(--primary-color); 
    transform: translateY(-2px);
}
.page-current { 
    display: inline-flex; 
    align-items: center; 
    height: 40px; 
    padding: 0 20px; 
    font-weight: 600; 
    color: var(--dark-color); 
    background-color: rgba(139, 90, 43, 0.1);
    border-radius: 4px;
}
.markdown-body { 
    color: var(--text-color); 
    font-size: 1.08rem; 
    line-height: 1.9; 
    max-width: 100%; 
    overflow-x: hidden; 
}
.markdown-body h2 { 
    font-size: 1.9rem; 
    margin-top: 2.8rem; 
    margin-bottom: 1.5rem; 
    padding-bottom: 12px; 
    border-bottom: 2px solid rgba(139, 90, 43, 0.1); 
    text-align: left; 
}
.markdown-body h2::after { 
    display: none; 
}
.markdown-body h2::before {
    display: none;
}
.markdown-body h3 { 
    font-size: 1.5rem; 
    margin-top: 2.5rem; 
    margin-bottom: 1.2rem; 
    color: var(--dark-color);
}
.markdown-body p { 
    margin-bottom: 1.6rem; 
}
.markdown-body ul, .markdown-body ol { 
    padding-left: 25px; 
    margin-bottom: 1.8rem; 
}
.markdown-body li { 
    margin-bottom: 0.7rem; 
    position: relative;
}
.markdown-body ul li::before {
    content: '•';
    color: var(--primary-color);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}
.markdown-body img { 
    max-width: 100%; 
    height: auto; 
    border-radius: 8px; 
    margin: 25px 0; 
    box-shadow: var(--shadow); 
    border: 1px solid rgba(215, 204, 200, 0.5);
}
.markdown-body blockquote { 
    border-left: 4px solid var(--primary-color); 
    background-color: rgba(139, 90, 43, 0.05); 
    padding: 25px; 
    margin: 30px 0; 
    border-radius: 0 8px 8px 0; 
    font-style: italic; 
    color: #5D4037; 
    position: relative;
}
.markdown-body blockquote::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 3rem;
    color: rgba(139, 90, 43, 0.2);
    font-family: Georgia, serif;
}
.markdown-body a { 
    color: var(--primary-color); 
    text-decoration: none; 
    border-bottom: 1px solid rgba(139, 90, 43, 0.3); 
    padding-bottom: 1px;
    transition: all 0.3s;
}
.markdown-body a:hover { 
    border-bottom-color: var(--primary-color); 
    color: var(--dark-color);
}
.markdown-body hr { 
    border: 0; 
    height: 2px; 
    background: linear-gradient(to right, transparent, var(--border-color), transparent); 
    margin: 50px 0; 
}
.markdown-body pre { 
    background: #2d3748; 
    color: #fff; 
    padding: 25px; 
    border-radius: 8px; 
    overflow-x: auto; 
    margin-bottom: 25px; 
    border-left: 4px solid var(--primary-color);
}
.post-tags { 
    margin-top: 50px; 
    padding-top: 25px; 
    border-top: 1px solid var(--border-color); 
}
.tag-pill { 
    display: inline-block; 
    background: rgba(139, 90, 43, 0.1); 
    padding: 8px 18px; 
    border-radius: 20px; 
    color: var(--dark-color); 
    text-decoration: none; 
    font-size: 0.9rem; 
    margin-right: 12px; 
    margin-bottom: 12px; 
    border: 1px solid rgba(139, 90, 43, 0.2);
    transition: all 0.3s;
}
.tag-pill:hover { 
    background: var(--primary-color); 
    color: #fff; 
    border-color: var(--primary-color); 
    transform: translateY(-2px);
}
.post-navigation { 
    display: flex; 
    justify-content: space-between; 
    margin-top: 50px; 
    padding-top: 25px; 
    border-top: 1px solid var(--border-color); 
}
.nav-next, .nav-prev { 
    max-width: 48%; 
    text-decoration: none; 
    color: var(--dark-color); 
    font-weight: 600; 
    padding: 15px;
    border-radius: 8px;
    transition: all 0.3s;
    border: 1px solid transparent;
}
.nav-next:hover, .nav-prev:hover { 
    color: var(--primary-color); 
    background-color: rgba(139, 90, 43, 0.05);
    border-color: rgba(139, 90, 43, 0.2);
}
.nav-next span, .nav-prev span { 
    display: block; 
    font-size: 0.85rem; 
    color: #777; 
    font-weight: normal; 
    margin-bottom: 8px; 
}
.error-page { 
    text-align: center; 
    padding: 100px 0; 
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.error-page h1 { 
    font-size: 6rem; 
    color: var(--primary-color); 
    margin-bottom: 0; 
    font-weight: 800;
}
.error-page p { 
    font-size: 1.5rem; 
    margin-bottom: 40px; 
    max-width: 600px;
}
.no-content { 
    text-align: center; 
    padding: 60px; 
    color: #777; 
    background: rgba(249, 245, 240, 0.7); 
    border-radius: 8px; 
    font-size: 1.1rem;
    border: 1px dashed var(--border-color);
}

/* 响应式 */
@media (max-width: 1100px) { 
    h2 { font-size: 2.2rem; } 
    #hero h1 { font-size: 3.2rem; } 
    .solutions-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
}

@media (max-width: 768px) {
    .logo { 
        font-size: 1.6rem; 
        padding-left: 35px;
    }
    .logo::after {
        left: 12.5px;
    }
    .menu-toggle { 
        display: block; 
    }
    .main-nav { 
        position: absolute; 
        top: 80px; 
        left: 0; 
        width: 100%; 
        background-color: var(--white-color); 
        flex-direction: column; 
        max-height: 0; 
        overflow: hidden; 
        transition: max-height 0.5s ease-in-out; 
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        border-top: 1px solid var(--border-color);
    }
    .main-nav.active { 
        max-height: 500px; 
    }
    .main-nav ul { 
        flex-direction: column; 
        padding: 10px 0; 
    }
    .main-nav ul li { 
        margin: 0; 
        text-align: center; 
        width: 100%;
    }
    .main-nav ul li a { 
        display: block; 
        padding: 15px 20px; 
        border-bottom: 1px solid rgba(215, 204, 200, 0.3);
    }
    .main-nav ul li a::before { 
        display: none; 
    }
    #about .about-content { 
        flex-direction: column; 
    }
    .footer-content { 
        flex-direction: column; 
        text-align: left; 
    }
    .hero-content {
        padding: 0 20px;
    }
    #hero h1 { 
        font-size: 2.5rem; 
    }
    #hero p { 
        font-size: 1.1rem; 
    }
    h2 { 
        font-size: 2rem; 
    }
    section { 
        padding: 60px 0; 
    }
    .page-header h1 {
        font-size: 2rem;
    }
    .about-visual {
        height: 280px;
        font-size: 1.5rem;
    }
    .about-visual span {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) { 
    #hero h1 { 
        font-size: 2.2rem; 
    } 
    #hero p { 
        font-size: 1rem; 
    } 
    section { 
        padding: 50px 0; 
    } 
    h2 { 
        font-size: 1.8rem; 
    }
    .container {
        padding: 0 15px;
    }
    .news-grid {
        grid-template-columns: 1fr;
    }
    .solutions-grid {
        grid-template-columns: 1fr;
    }
    .error-page h1 {
        font-size: 4rem;
    }
    .error-page p {
        font-size: 1.2rem;
    }
    .news-meta {
        font-size: 0.8rem;
    }
    .solution-card {
        padding: 25px 20px;
    }
}