/* ==========================================================================
   TxtPress Theme: Polymer & Plastics Industrial (塑胶工业/高分子材料主题)
   Design Concept: 注塑圆角, 聚合物渐变, 熔融流变动画, 工业科技感
   ========================================================================== */

/* --- 1. 全局变量：塑胶工业调色板 --- */
:root {
    /* 核心色彩 */
    --poly-dark: #0f172a;       /* 工业深蓝 - 稳重设备感 */
    --poly-blue: #0284c7;       /* 科技深蓝 - 辅助渐变与标签 */
    --poly-cyan: #06b6d4;       /* 聚碳酸酯青 - 科技与现代高分子 */
    --poly-orange: #f97316;     /* 热熔橙 - 代表加热、注塑与活力 */
    
    /* 材质灰度与背景 */
    --bg-base: #f0f4f8;         /* 浅灰蓝底层 - 车间/实验室洁净感 */
    --bg-surface: #ffffff;      /* 表面白 - 产品的光洁感 */
    --text-main: #334155;
    --text-muted: #64748b;
    --border-color: #cbd5e1;
    
    /* 注塑成型般的圆角特性 (关键视觉) */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;          /* 典型注塑产品的平滑边缘 */
    --radius-pill: 50px;        /* 胶囊形颗粒感 */
    
    /* 光影效果 (模拟光滑塑胶表面) */
    --shadow-soft: 0 10px 40px -10px rgba(15, 23, 42, 0.08);
    --shadow-hover: 0 20px 40px -10px rgba(6, 182, 212, 0.15);
    --inner-gloss: inset 0 2px 4px rgba(255, 255, 255, 0.8);
    
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: "PingFang SC", "Microsoft YaHei", -apple-system, sans-serif;
    line-height: 1.8;
    color: var(--text-main);
    background-color: var(--bg-base);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main { flex: 1; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; width: 100%; }

h1, h2, h3, h4, h5, h6 { color: var(--poly-dark); font-weight: 800; letter-spacing: -0.5px; }

h2 { 
    font-size: 2.4rem; 
    text-align: center; 
    margin-bottom: 4rem; 
    position: relative; 
}
/* 标题底部的塑胶颗粒装饰 */
h2::after { 
    content: ''; 
    position: absolute; 
    bottom: -18px; 
    left: 50%; 
    transform: translateX(-50%); 
    width: 60px; 
    height: 6px; 
    background: linear-gradient(90deg, var(--poly-cyan), var(--poly-orange));
    border-radius: var(--radius-pill); 
}

section { padding: 100px 0; }

/* 全局按钮：圆润胶囊形态（塑胶颗粒感） */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 36px;
    background: linear-gradient(135deg, var(--poly-cyan), #0891b2);
    color: #FFF;
    text-decoration: none;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 1.05rem;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(6, 182, 212, 0.3);
    border: none;
    cursor: pointer;
}
.btn:hover { 
    transform: translateY(-3px) scale(1.02); 
    box-shadow: 0 8px 25px rgba(6, 182, 212, 0.4); 
    background: linear-gradient(135deg, #0891b2, var(--poly-cyan));
}

/* --- 2. 头部导航 (无边框悬浮亚克力质感) --- */
.main-header { 
    background-color: rgba(255, 255, 255, 0.85); 
    backdrop-filter: blur(15px); /* 磨砂半透明质感 */
    position: sticky; 
    top: 0; 
    z-index: 1000; 
    width: 100%; 
    box-shadow: 0 2px 20px rgba(0,0,0,0.03);
}
.main-header .container { display: flex; justify-content: space-between; align-items: center; height: 85px; }
.logo { 
    font-size: 1.6rem; 
    font-weight: 900; 
    color: var(--poly-dark); 
    text-decoration: none; 
    display: flex;
    align-items: center;
    gap: 8px;
}
/* Logo旁边的聚合物六边形纯CSS点缀 */
.logo::before {
    content: '';
    display: block;
    width: 24px; height: 24px;
    background: var(--poly-cyan);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.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-main); 
    font-weight: 600; 
    font-size: 1rem;
    position: relative;
    padding: 8px 0;
}
.main-nav ul li a::after {
    content: ''; position: absolute;
    bottom: 0; left: 50%;
    width: 0; height: 3px;
    background: var(--poly-cyan);
    border-radius: var(--radius-pill);
    transition: var(--transition);
    transform: translateX(-50%);
}
.main-nav ul li a:hover::after, .main-nav ul li a.active::after { width: 100%; }
.main-nav ul li a:hover, .main-nav ul li a.active { color: var(--poly-cyan); }
.menu-toggle { display: none; cursor: pointer; background: none; border: none; font-size: 2rem; color: var(--poly-dark); }

/* --- 3. 首页 Hero 区域 (多层叠加薄膜与挤出渐变效果) --- */
#hero {
    background: var(--poly-dark);
    position: relative;
    color: #FFFFFF; 
    min-height: 85vh; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    text-align: center; 
    overflow: hidden;
}
/* 纯CSS塑造的高分子薄膜重叠视觉 */
#hero::before, #hero::after {
    content: '';
    position: absolute;
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    animation: flow 15s ease-in-out infinite alternate;
}
#hero::before {
    width: 120vw; height: 120vw;
    top: -50%; right: -20%;
    background: radial-gradient(circle, rgba(6,182,212,0.15) 0%, rgba(15,23,42,0) 70%);
}
#hero::after {
    width: 80vw; height: 80vw;
    bottom: -40%; left: -10%;
    background: radial-gradient(circle, rgba(249,115,22,0.1) 0%, rgba(15,23,42,0) 60%);
    animation-delay: -5s;
}

@keyframes flow {
    0% { transform: rotate(0deg) scale(1); }
    100% { transform: rotate(15deg) scale(1.1); }
}

.hero-content {
    position: relative; z-index: 2; max-width: 900px;
}
#hero h1 { 
    font-size: 4.5rem; color: #FFFFFF; margin-bottom: 2rem; 
    font-weight: 900; line-height: 1.1; text-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
#hero h1 span { color: var(--poly-cyan); }
#hero p { 
    font-size: 1.35rem; color: #cbd5e1; margin: 0 auto 3.5rem; 
    font-weight: 400; max-width: 700px;
}

/* --- 4. 解决方案 (模具卡片设计) --- */
#solutions { background-color: var(--bg-base); }
.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-soft), var(--inner-gloss); /* 模拟光滑塑料外壳 */
    transition: var(--transition);
    position: relative;
    border-bottom: 4px solid var(--border-color); /* 模拟塑料件底部厚度 */
}
.solution-card:hover { 
    transform: translateY(-10px); 
    box-shadow: var(--shadow-hover), var(--inner-gloss); 
    border-bottom-color: var(--poly-cyan);
}
.solution-card h3 { font-size: 1.4rem; margin-bottom: 15px; color: var(--poly-dark); }
.solution-card p { color: var(--text-muted); font-size: 1rem; }

/* --- 纯CSS 重绘高分子/塑胶工业符号 --- */
.solution-icon { 
    width: 64px; height: 64px; 
    margin-bottom: 30px; 
    position: relative; 
    background: rgba(6, 182, 212, 0.1);
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    color: var(--poly-cyan);
}
.solution-icon::before, .solution-icon::after { content: ''; position: absolute; }

/* 原 Cloud -> 改为 "注塑模具/成型" 概念 (上下模具相扣) */
.icon-cloud::before {
    width: 28px; height: 12px; border: 3px solid currentColor;
    border-radius: 8px 8px 0 0; top: 18px; border-bottom: none;
}
.icon-cloud::after {
    width: 36px; height: 14px; border: 3px solid currentColor;
    border-radius: 0 0 8px 8px; bottom: 18px; border-top: none;
}

/* 原 Data -> 改为 "管材挤出/异型材" (立体圆柱管) */
.icon-data::before {
    width: 14px; height: 28px; border: 3px solid currentColor;
    border-radius: 7px; left: 16px; top: 18px;
}
.icon-data::after {
    width: 14px; height: 40px; background: currentColor;
    border-radius: 7px; right: 16px; bottom: 12px;
}

/* 原 AI -> 改为 "高分子化学结构/聚合物" (六边形相连) */
.icon-ai { background: transparent; }
.icon-ai::before {
    width: 24px; height: 24px; border: 3px solid currentColor;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    top: 10px; left: 10px;
}
.icon-ai::after {
    width: 20px; height: 20px; background: var(--poly-orange);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    bottom: 12px; right: 12px;
}

/* 原 Security -> 改为 "环保可回收标志" (循环箭头变体) */
.icon-security::before {
    width: 26px; height: 26px; border: 3px solid currentColor;
    border-radius: 50%; border-right-color: transparent;
    transform: rotate(45deg);
}
.icon-security::after {
    width: 0; height: 0; border-left: 6px solid transparent;
    border-right: 6px solid transparent; border-bottom: 10px solid currentColor;
    top: 14px; right: 18px; transform: rotate(45deg);
}

/* 原 IoT -> 改为 "色母粒/粒子原料" (散落的圆润颗粒) */
.icon-iot::before {
    width: 12px; height: 12px; background: currentColor; border-radius: 50%;
    box-shadow: -16px 10px 0 var(--poly-orange), 16px 10px 0 currentColor;
    top: 16px;
}

/* 原 Consult -> 改为 "卷材/薄膜卷轴" */
.icon-consult::before {
    width: 32px; height: 32px; border: 3px solid currentColor; border-radius: 50%;
    left: 10px;
}
.icon-consult::after {
    width: 16px; height: 16px; border-top: 3px solid currentColor; border-right: 3px solid currentColor;
    right: 12px; top: 12px; border-radius: 0 8px 0 0;
}

/* --- 5. 关于我们 (熔融流体特性) --- */
#about { background-color: var(--bg-surface); }
#about .about-content { display: flex; align-items: center; gap: 80px; }
.about-text { flex: 1; }
.about-text h3 { font-size: 1.8rem; margin-bottom: 1.5rem; }
.about-text p { margin-bottom: 1.2rem; color: var(--text-muted); font-size: 1.1rem; }
.about-action { margin-top: 2.5rem; }

/* 纯CSS塑造的 "受热熔化的塑胶聚合物 Blob" 动画视觉 */
.about-visual {
    flex: 1; 
    height: 450px; 
    display: flex; align-items: center; justify-content: center;
    position: relative;
}
.about-visual::before {
    content: ''; position: absolute;
    width: 100%; height: 100%;
    /* 此处使用了 --poly-blue */
    background: linear-gradient(135deg, var(--poly-cyan) 0%, var(--poly-blue) 100%);
    /* 核心流体形变动画 */
    animation: plastic-melt 8s ease-in-out infinite alternate;
    box-shadow: inset -20px -20px 40px rgba(0,0,0,0.1), 0 20px 40px rgba(6,182,212,0.2);
}
.about-visual::after {
    content: ''; position: absolute;
    width: 70%; height: 70%;
    background: linear-gradient(135deg, var(--poly-orange) 0%, #ff8a00 100%);
    animation: plastic-melt 6s ease-in-out infinite alternate-reverse;
    opacity: 0.8;
    mix-blend-mode: multiply;
}
@keyframes plastic-melt {
    0% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
    50% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
    100% { border-radius: 40% 60% 30% 70% / 40% 40% 60% 50%; }
}
.about-visual span { 
    z-index: 1; color: var(--poly-dark); 
    font-size: 2rem; font-weight: 900; 
    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-base); }
.news-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); 
    gap: 35px; 
}
.news-card {
    background-color: var(--bg-surface); 
    border-radius: var(--radius-lg); 
    box-shadow: var(--shadow-soft);
    overflow: hidden; 
    display: flex; flex-direction: column; 
    transition: var(--transition);
}
.news-card:hover { 
    transform: translateY(-8px); 
    box-shadow: var(--shadow-hover); 
}

/* 封面无图片时，模拟不同颜色的工程塑料板材 (亚克力/PVC) */
.news-cover {
    height: 240px; width: 100%; 
    overflow: hidden; position: relative;
    display: flex; align-items: center; justify-content: center;
    box-shadow: inset 0 -4px 10px rgba(0,0,0,0.1); /* 板材厚度感 */
}
/* 利用 nth-child 赋予不同塑料的纯净色彩 */
.news-card:nth-child(3n+1) .news-cover { background: linear-gradient(135deg, #0ea5e9, #0284c7); } /* PC透明蓝 */
.news-card:nth-child(3n+2) .news-cover { background: linear-gradient(135deg, #f97316, #ea580c); } /* ABS阻燃橙 */
.news-card:nth-child(3n+3) .news-cover { background: linear-gradient(135deg, #10b981, #059669); } /* 环保可降解绿 */

.news-cover img {
    width: 100%; height: 100%; object-fit: cover; display: block;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.news-card:hover .news-cover img { transform: scale(1.08); }

.news-content { padding: 30px; flex-grow: 1; display: flex; flex-direction: column; background: var(--bg-surface); }
.news-meta { font-size: 0.9rem; color: var(--poly-cyan); margin-bottom: 15px; font-weight: 600; }
.news-meta a { color: var(--poly-cyan); text-decoration: none;}

.news-content h4 { font-size: 1.35rem; margin-bottom: 12px; line-height: 1.5; }
.news-content h4 a { text-decoration: none; color: var(--poly-dark); transition: color 0.2s; }
.news-content h4 a:hover { color: var(--poly-orange); }

.news-content p { flex-grow: 1; margin-bottom: 25px; font-size: 1rem; color: var(--text-muted); }
.read-more-link { 
    text-decoration: none; color: var(--poly-dark); 
    font-weight: 700; font-size: 0.95rem; align-self: flex-start; 
    background: var(--bg-base); padding: 8px 20px; border-radius: var(--radius-pill);
    transition: var(--transition);
}
.read-more-link:hover { background: var(--poly-cyan); color: #FFF; }

/* --- 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-base);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}
.faq-item.active { background: var(--poly-dark); box-shadow: 0 10px 20px rgba(15,23,42,0.2); }

.faq-question {
    width: 100%; background: none; border: none; text-align: left; padding: 25px 30px;
    font-size: 1.15rem; font-weight: 700; cursor: pointer; display: flex;
    justify-content: space-between; align-items: center; color: var(--poly-dark);
    transition: color 0.3s ease;
}
.faq-item.active .faq-question { color: #FFF; }

/* 展开图标：加号变减号 (注塑顶针意象) */
.faq-question::after { 
    content: '+'; font-size: 1.8rem; font-weight: 300;
    color: var(--poly-cyan); transition: transform 0.4s ease;
}
.faq-item.active .faq-question::after { transform: rotate(45deg); color: var(--poly-orange); }

/* 这里移除了 active 状态下生硬的 max-height，让 js 自由控制实现顺滑过渡 */
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.5s cubic-bezier(0, 1, 0, 1); }
.faq-item.active .faq-answer { transition: max-height 0.5s ease-in-out; }
.faq-answer p { color: #cbd5e1; font-size: 1.05rem; padding: 0 30px 25px; margin: 0; }

/* --- 8. Footer (沉稳重工业感) --- */
.main-footer { background-color: #0b1120; color: #94a3b8; padding: 100px 0 30px; border-top: 5px solid var(--poly-cyan); }
.footer-content { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 50px; margin-bottom: 60px; }
.footer-column { flex: 1; min-width: 250px; }
.footer-column h4 { color: #FFFFFF; margin-bottom: 2rem; font-size: 1.25rem; font-weight: 700; }
.footer-column p { line-height: 1.8; }
.footer-column ul { list-style: none; }
.footer-column ul li { margin-bottom: 15px; }
.footer-column ul li a { color: #94a3b8; text-decoration: none; transition: color 0.3s ease; display: inline-block;}
.footer-column ul li a:hover { color: var(--poly-cyan); transform: translateX(5px); }
.footer-bottom { text-align: center; padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.05); font-size: 0.9rem; }

/* --- 9. 内容页 (重构为大气的宽屏科技说明书风格) --- */
.page-container { padding: 60px 0 120px; background-color: var(--bg-base); }

/* 完全摒弃原本800px的限制，改为900px，并加入大圆角和悬浮立体感 */
.single-post-wrapper { 
    max-width: 900px; 
    margin: 0 auto; 
    background: var(--bg-surface); 
    padding: 60px 80px; 
    border-radius: var(--radius-lg); 
    box-shadow: var(--shadow-soft), var(--inner-gloss); 
    position: relative;
}
/* 顶部的高亮注塑饰条 */
.single-post-wrapper::before {
    content: ''; position: absolute;
    top: 0; left: 80px; right: 80px; height: 4px;
    background: var(--poly-cyan);
    border-radius: 0 0 4px 4px;
}

.breadcrumb { font-size: 0.95rem; color: var(--text-muted); margin-bottom: 40px; }
.breadcrumb a { color: var(--poly-dark); text-decoration: none; font-weight: 600;}
.breadcrumb a:hover { color: var(--poly-cyan); }
.breadcrumb span { margin: 0 12px; color: var(--border-color); }

.page-header { text-align: center; margin-bottom: 50px; padding-bottom: 30px; border-bottom: 1px dashed var(--border-color); }
.center-header { border-bottom: none; }
.page-header h1 { font-size: 2.8rem; color: var(--poly-dark); }
.page-meta { color: var(--text-muted); font-size: 1rem; margin-top: 20px; display: inline-block; background: var(--bg-base); padding: 5px 20px; border-radius: var(--radius-pill);}
.page-meta a { color: var(--poly-cyan); text-decoration: none; font-weight: 600;}

/* 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.8rem; margin: 3.5rem 0 1.5rem; text-align: left; color: var(--poly-dark); display: flex; align-items: center;}
.markdown-body h2::after { display: none; }
.markdown-body h2::before { content: ''; display: inline-block; width: 6px; height: 24px; background: var(--poly-cyan); margin-right: 15px; border-radius: 3px; }
.markdown-body h3 { font-size: 1.5rem; margin: 2.5rem 0 1rem; color: var(--poly-dark); }
.markdown-body p { margin-bottom: 1.5rem; }
.markdown-body ul, .markdown-body ol { padding-left: 20px; margin-bottom: 1.5rem; }
.markdown-body li { margin-bottom: 0.8rem; }
.markdown-body img { max-width: 100%; height: auto; border-radius: var(--radius-md); margin: 2.5rem auto; box-shadow: var(--shadow-soft); display: block; }
/* 引用块设计：如技术指标说明框 */
.markdown-body blockquote { 
    border-left: none; 
    background-color: var(--bg-base); 
    padding: 30px; margin: 2.5rem 0; 
    border-radius: var(--radius-md); 
    color: var(--poly-dark); font-weight: 500;
    position: relative; overflow: hidden;
}
.markdown-body blockquote::before {
    content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--poly-orange);
}
.markdown-body a { color: var(--poly-cyan); text-decoration: none; border-bottom: 2px solid rgba(6,182,212,0.2); transition: border-color 0.2s; font-weight: 600;}
.markdown-body a:hover { border-bottom-color: var(--poly-cyan); }
.markdown-body hr { border: 0; height: 2px; background: var(--bg-base); margin: 4rem 0; }

.post-tags { margin-top: 60px; padding-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.tag-pill { 
    /* 此处使用了 --poly-blue */
    display: inline-block; background: #e0f2fe; padding: 8px 20px; 
    border-radius: var(--radius-pill); color: var(--poly-blue); text-decoration: none; 
    font-size: 0.9rem; font-weight: 600; transition: var(--transition); 
}
.tag-pill:hover { background: var(--poly-cyan); color: #FFFFFF; transform: translateY(-2px);}

.post-navigation { display: flex; justify-content: space-between; margin-top: 40px; padding: 30px; background: var(--bg-base); border-radius: var(--radius-md); }
.nav-next, .nav-prev { max-width: 45%; text-decoration: none; color: var(--poly-dark); font-weight: 700; line-height: 1.5; transition: color 0.2s; }
.nav-next:hover, .nav-prev:hover { color: var(--poly-cyan); }
.nav-next span, .nav-prev span { display: block; font-size: 0.9rem; color: var(--text-muted); font-weight: 500; margin-bottom: 8px; }
.nav-next { text-align: right; }

/* 分页组件：胶囊连片感 */
.pagination { display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 80px; }
.page-btn { 
    display: inline-flex; align-items: center; justify-content: center; 
    width: 45px; height: 45px; border-radius: 50%; color: var(--poly-dark); 
    text-decoration: none; transition: var(--transition); background: var(--bg-surface); font-weight: 600;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.page-btn:hover { background-color: var(--poly-cyan); color: #FFF; transform: translateY(-3px);}
.page-current { display: inline-flex; align-items: center; height: 45px; padding: 0 25px; font-weight: 700; color: #FFF; background: var(--poly-dark); border-radius: var(--radius-pill); box-shadow: 0 4px 10px rgba(0,0,0,0.1);}

/* 404 & 无内容 */
.error-page { text-align: center; padding: 150px 0; }
.error-page h1 { font-size: 8rem; color: var(--bg-base); margin-bottom: 20px; font-weight: 900; text-shadow: 2px 2px 0px var(--border-color);}
.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; color: var(--text-muted); background: var(--bg-surface); border-radius: var(--radius-lg); font-size: 1.2rem;}

/* --- 10. 响应式适配 --- */
@media (max-width: 1024px) { 
    .single-post-wrapper { padding: 50px 40px; }
}

@media (max-width: 992px) { 
    h2 { font-size: 2.2rem; } 
    #hero h1 { font-size: 3.5rem; }
    .about-visual { height: 350px; }
    #about .about-content { gap: 40px; }
}

@media (max-width: 768px) {
    .main-header .container { height: 75px; }
    .logo { font-size: 1.4rem; }
    .menu-toggle { display: block; }
    
    /* 移动端菜单悬浮覆盖 */
    .main-nav { 
        position: absolute; top: 75px; left: 0; width: 100%; 
        background-color: rgba(255, 255, 255, 0.98); backdrop-filter: blur(10px);
        flex-direction: column; 
        max-height: 0; overflow: hidden; transition: max-height 0.5s cubic-bezier(0.25, 0.8, 0.25, 1); 
        box-shadow: 0 10px 20px rgba(0,0,0,0.05); border-top: 1px solid var(--bg-base);
    }
    .main-nav.active { max-height: 500px; }
    .main-nav ul { flex-direction: column; padding: 10px 0; }
    .main-nav ul li { margin: 0; text-align: center; }
    .main-nav ul li a { display: block; padding: 15px 24px; font-size: 1.1rem; }
    .main-nav ul li a::after { display: none; }
    
    #hero { min-height: 70vh; padding: 140px 20px 100px; }
    #hero h1 { font-size: 2.8rem; }
    #hero p { font-size: 1.15rem; }
    
    #about .about-content { flex-direction: column; gap: 50px; text-align: center; }
    .about-visual { width: 100%; height: 300px;}
    .footer-content { flex-direction: column; gap: 40px; text-align: center; }
    
    .single-post-wrapper { padding: 40px 25px; border-radius: var(--radius-md); margin: 0 15px;}
    .single-post-wrapper::before { left: 40px; right: 40px; }
    .page-header h1 { font-size: 2.2rem; }
}

@media (max-width: 480px) { 
    section { padding: 60px 0; } 
    h2 { font-size: 1.9rem; margin-bottom: 3rem; } 
    .news-cover { height: 200px; }
    .page-header h1 { font-size: 1.8rem; }
    .post-navigation { flex-direction: column; gap: 20px; padding: 20px; text-align: center;}
    .nav-next, .nav-prev { max-width: 100%; text-align: center !important;}
    .solutions-grid, .news-grid { grid-template-columns: 1fr; }
}