/* 
 * 建筑公司现代风格主题
 * 风格：现代、稳重、专业、简洁
 * 适合：建筑、工程、设计类企业
 */

:root {
    /* === 建筑公司配色方案 === */
    --c-primary: #2c5530;         /* 主色：森林绿，代表可靠与自然 */
    --c-primary-dark: #1f3a23;    /* 深绿 */
    --c-primary-light: #4a7c59;   /* 浅绿 */
    --c-secondary: #8b7355;       /* 辅助色：沙土棕，代表大地与稳定 */
    --c-accent: #d4a76a;          /* 强调色：金色，代表品质与成就 */
    --c-accent-dark: #b88b4a;     /* 深金 */
    
    /* === 中性色调 === */
    --bg-body: #f8f9f5;           /* 浅米灰背景 */
    --bg-white: #ffffff;          /* 纯白 */
    --bg-light: #f5f7f2;          /* 浅灰绿 */
    --text-main: #2d3436;         /* 主要文字：深灰 */
    --text-light: #636e72;        /* 次要文字：中灰 */
    --text-lighter: #b2bec3;      /* 淡灰 */
    --border-color: #dfe6e9;      /* 边框：浅灰 */
    
    /* === 现代几何设计参数 === */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    --header-height: 80px;
    --max-width: 1280px;
    --shadow-card: 0 5px 15px rgba(0,0,0,0.05);
    --shadow-hover: 0 15px 30px rgba(0,0,0,0.1);
    --shadow-elevated: 0 20px 40px rgba(0,0,0,0.08);
    
    /* === 现代字体 === */
    --font-heading: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    --font-body: 'Inter', 'Roboto', 'Open Sans', sans-serif;
}

/* === 全局重置与基础样式 === */
* { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-body);
    color: var(--text-light);
    font-family: var(--font-body);
    line-height: 1.7;
    font-size: 16px;
    font-weight: 400;
    overflow-x: hidden;
}

a { 
    text-decoration: none; 
    color: inherit; 
    transition: all 0.3s ease; 
}

a:hover {
    color: var(--c-primary);
}

ul, li { list-style: none; }
img { display: block; max-width: 100%; height: auto; }

/* === 现代容器 === */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* === 现代头部导航 === */
.site-header {
    background: rgba(255, 255, 255, 0.95);
    height: var(--header-height);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.8);
}

.header-inner {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--c-primary);
    display: flex;
    align-items: center;
    letter-spacing: -0.5px;
}

.logo-text {
    position: relative;
    padding-bottom: 5px;
}

.logo-text::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40%;
    height: 3px;
    background-color: var(--c-accent);
}

/* 桌面导航 */
.desktop-nav { 
    display: flex; 
    align-items: center; 
    gap: 10px; 
}

.desktop-nav a {
    font-size: 0.95rem; 
    font-weight: 600;
    color: var(--text-main);
    padding: 10px 18px; 
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
}

.desktop-nav a:hover {
    color: var(--c-primary);
    background-color: rgba(44, 85, 48, 0.05);
}

.desktop-nav a.active {
    color: var(--c-primary);
    background-color: rgba(44, 85, 48, 0.08);
}

.desktop-nav a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 18px;
    width: calc(100% - 36px);
    height: 2px;
    background-color: var(--c-accent);
}

/* 移动端菜单 */
.mobile-menu-trigger { 
    display: none; 
    cursor: pointer; 
    color: var(--text-main);
    font-size: 1.8rem;
    transition: transform 0.3s ease;
}

.mobile-menu-trigger:hover {
    transform: rotate(90deg);
}

.mobile-menu-overlay {
    display: none; 
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background: rgba(255, 255, 255, 0.98); 
    z-index: 9999;
    flex-direction: column; 
    padding: 30px;
    backdrop-filter: blur(5px);
}

.mobile-menu-header { 
    display: flex; 
    justify-content: space-between; 
    width: 100%; 
    margin-bottom: 40px; 
    align-items: center;
}

.logo-mobile { 
    font-family: var(--font-heading);
    font-weight: 700; 
    font-size: 1.6rem; 
    color: var(--c-primary); 
}

.close-btn { 
    font-size: 2.5rem; 
    cursor: pointer; 
    color: var(--text-light);
    line-height: 1;
}

.mobile-nav-links { 
    display: flex; 
    flex-direction: column; 
    gap: 20px; 
    text-align: left; 
}

.mobile-nav-links a { 
    font-size: 1.3rem; 
    color: var(--text-main); 
    font-weight: 600; 
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.mobile-nav-links a:hover {
    color: var(--c-primary);
    padding-left: 10px;
}

/* === Hero Section - 建筑公司风格 === */
.hero-section {
    background: linear-gradient(rgba(44, 85, 48, 0.85), rgba(31, 58, 35, 0.9)), 
                url('https://images.unsplash.com/photo-1504307651254-35680f356dfd?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 140px 0;
    text-align: center;
    margin-bottom: 80px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to top, var(--bg-body), transparent);
}

.hero-content h1 { 
    font-family: var(--font-heading);
    font-size: 3.5rem; 
    margin-bottom: 25px; 
    font-weight: 700; 
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.hero-subtitle { 
    font-size: 1.3rem; 
    margin-bottom: 50px; 
    opacity: 0.95; 
    max-width: 800px; 
    margin-left: auto; 
    margin-right: auto;
    line-height: 1.6;
}

.hero-buttons { 
    display: flex; 
    justify-content: center; 
    gap: 20px; 
    flex-wrap: wrap;
}

.btn {
    display: inline-block; 
    padding: 16px 36px; 
    font-size: 1rem;
    border-radius: var(--radius-sm); 
    font-weight: 600; 
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.primary-btn { 
    background: var(--c-accent); 
    color: #fff; 
    box-shadow: 0 5px 15px rgba(212, 167, 106, 0.3);
}

.primary-btn:hover { 
    background: var(--c-accent-dark); 
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(212, 167, 106, 0.4);
}

.secondary-btn { 
    background: transparent; 
    border: 2px solid rgba(255,255,255,0.7); 
    color: #fff; 
}

.secondary-btn:hover { 
    border-color: #fff; 
    background: rgba(255,255,255,0.1);
    transform: translateY(-3px);
}

/* === Info Section (核心价值) === */
.info-section { 
    margin-bottom: 100px; 
}

.center-header { 
    text-align: center; 
    margin-bottom: 70px; 
}

.center-header h2 { 
    font-family: var(--font-heading);
    font-size: 2.5rem; 
    color: var(--text-main); 
    margin-bottom: 15px; 
    position: relative;
    display: inline-block;
}

.center-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--c-accent);
}

.center-header p { 
    color: var(--c-secondary); 
    text-transform: uppercase; 
    letter-spacing: 2px; 
    font-size: 0.9rem; 
    font-weight: 600;
    margin-top: 20px;
}

.info-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); 
    gap: 40px; 
}

.info-card {
    background: var(--bg-white);
    padding: 50px 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    transition: all 0.4s ease;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--c-primary), var(--c-accent));
}

.info-card:hover { 
    transform: translateY(-10px); 
    box-shadow: var(--shadow-hover);
}

.info-card .icon { 
    font-size: 3rem; 
    margin-bottom: 25px; 
    color: var(--c-primary);
}

.info-card h3 { 
    font-family: var(--font-heading);
    font-size: 1.6rem; 
    color: var(--text-main); 
    margin-bottom: 20px; 
}

.info-card p { 
    color: var(--text-light); 
    margin-bottom: 25px; 
    font-size: 1rem; 
    line-height: 1.8;
}

.read-more { 
    color: var(--c-primary); 
    font-weight: 600; 
    font-size: 0.95rem; 
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.read-more::after {
    content: '→';
    transition: transform 0.3s ease;
}

.read-more:hover::after {
    transform: translateX(5px);
}

/* === Main Content Area === */
.main-content-area { 
    min-height: 500px; 
    margin-bottom: 100px; 
}

.section-header { 
    margin-bottom: 40px; 
    padding-left: 20px; 
    border-left: 5px solid var(--c-primary);
}

.section-header h2 { 
    font-family: var(--font-heading);
    font-size: 2.2rem; 
    color: var(--text-main); 
    margin-bottom: 10px;
}

.cat-desc { 
    margin-top: 10px; 
    color: var(--text-light); 
    font-size: 1.05rem; 
    line-height: 1.6;
    max-width: 800px;
}

/* === Post Grid (文章列表) === */
.post-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); 
    gap: 40px; 
}

.grid-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: all 0.4s ease;
    border: 1px solid var(--border-color);
    display: flex; 
    flex-direction: column;
}

.grid-card:hover { 
    transform: translateY(-10px); 
    box-shadow: var(--shadow-hover);
}

/* 封面图处理 */
.card-cover-wrapper {
    display: block;
    width: 100%;
    height: 240px;
    background: #f1f3f0;
    overflow: hidden;
    position: relative;
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.grid-card:hover .card-img { 
    transform: scale(1.08); 
}

/* 无图时的占位 */
.card-img-placeholder {
    width: 100%; 
    height: 100%;
    display: flex; 
    align-items: center; 
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-light) 0%, #e8ece5 100%);
    color: var(--c-secondary); 
    font-weight: 700; 
    font-size: 1.3rem;
}

.card-body { 
    padding: 30px; 
    display: flex; 
    flex-direction: column; 
    flex: 1; 
}

.card-meta { 
    display: flex; 
    justify-content: space-between; 
    font-size: 0.85rem; 
    color: var(--text-lighter); 
    margin-bottom: 15px; 
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
}

.cat-tag { 
    color: var(--c-primary); 
    font-weight: 600; 
    background-color: rgba(44, 85, 48, 0.08);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
}

.cat-tag:hover {
    background-color: rgba(44, 85, 48, 0.15);
}

.grid-card h3 { 
    font-family: var(--font-heading);
    font-size: 1.4rem; 
    margin-bottom: 15px; 
    line-height: 1.4; 
    color: var(--text-main); 
}

.grid-card h3 a:hover { 
    color: var(--c-primary); 
}

.excerpt { 
    font-size: 0.95rem; 
    color: var(--text-light); 
    flex-grow: 1; 
    margin-bottom: 20px; 
    line-height: 1.7;
}

.card-tags { 
    margin-top: auto; 
    padding-top: 20px; 
    border-top: 1px solid var(--border-color); 
}

.tag-badge { 
    display: inline-block;
    font-size: 0.8rem; 
    color: var(--c-secondary); 
    margin-right: 8px; 
    margin-bottom: 8px;
    padding: 4px 12px;
    background-color: rgba(139, 115, 85, 0.08);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.tag-badge:hover { 
    color: var(--c-primary); 
    background-color: rgba(44, 85, 48, 0.12);
}

/* 分页 */
.pagination { 
    display: flex; 
    justify-content: center; 
    align-items: center;
    gap: 15px; 
    margin-top: 70px; 
}

.page-btn {
    width: 50px; 
    height: 50px; 
    display: flex; 
    align-items: center; 
    justify-content: center;
    border: 2px solid var(--border-color); 
    border-radius: var(--radius-sm); 
    color: var(--text-main);
    background: var(--bg-white);
    font-weight: 600;
    transition: all 0.3s ease;
}

.page-btn:hover { 
    background: var(--c-primary); 
    color: #fff; 
    border-color: var(--c-primary);
    transform: translateY(-3px);
}

.page-current { 
    display: flex; 
    align-items: center; 
    padding: 0 15px; 
    font-weight: bold; 
    color: var(--text-main); 
    font-size: 1.1rem;
}

/* === 文章详情页 === */
.single-post { 
    background: var(--bg-white); 
    padding: 60px; 
    border-radius: var(--radius-lg); 
    box-shadow: var(--shadow-card); 
}

.single-header { 
    border-bottom: 1px solid var(--border-color); 
    padding-bottom: 30px; 
    margin-bottom: 40px; 
}

.breadcrumb { 
    font-size: 0.9rem; 
    color: var(--text-lighter); 
    margin-bottom: 20px; 
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.breadcrumb span {
    margin: 0 10px;
    color: var(--border-color);
}

.single-header h1 { 
    font-family: var(--font-heading);
    font-size: 2.5rem; 
    color: var(--text-main); 
    margin-bottom: 20px; 
    line-height: 1.3; 
}

.meta-line { 
    font-size: 0.95rem; 
    color: var(--text-light); 
    display: flex; 
    gap: 25px; 
    flex-wrap: wrap;
}

/* Markdown 内容样式 */
.markdown-body { 
    color: var(--text-light); 
    font-size: 1.1rem; 
    line-height: 1.8; 
}

.markdown-body h2 { 
    font-family: var(--font-heading);
    font-size: 1.8rem; 
    color: var(--text-main); 
    margin: 2em 0 1em; 
    border-bottom: 1px solid var(--border-color); 
    padding-bottom: 15px; 
}

.markdown-body h3 { 
    font-family: var(--font-heading);
    font-size: 1.5rem; 
    color: var(--text-main); 
    margin: 1.8em 0 1em;
}

.markdown-body p { 
    margin-bottom: 1.8em; 
}

/* HR 样式 */
.markdown-body hr {
    margin: 2.5em 0;
    height: 1px;
    border: none;
    background-color: var(--border-color);
}

.markdown-body img { 
    max-width: 100%; 
    border-radius: var(--radius-md); 
    box-shadow: var(--shadow-card); 
    margin: 30px 0; 
}

.markdown-body a { 
    color: var(--c-primary); 
    border-bottom: 1px solid rgba(44, 85, 48, 0.3); 
    font-weight: 500;
}

.markdown-body a:hover { 
    border-bottom-color: var(--c-primary); 
}

.markdown-body blockquote { 
    border-left: 4px solid var(--c-accent); 
    background: var(--bg-light); 
    padding: 25px 30px; 
    color: var(--text-light); 
    margin: 30px 0; 
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-style: italic;
    font-size: 1.1rem;
}

.post-tags-container { 
    margin-top: 50px; 
    padding-top: 30px; 
    border-top: 1px solid var(--border-color); 
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.tags-label { 
    font-weight: 600; 
    margin-right: 15px; 
    color: var(--text-main); 
    font-size: 1rem;
}

.tag-pill { 
    display: inline-block; 
    background: var(--bg-light); 
    padding: 8px 18px; 
    font-size: 0.9rem; 
    color: var(--c-primary); 
    border-radius: 30px; 
    margin-right: 10px; 
    margin-bottom: 10px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tag-pill:hover { 
    background: var(--c-primary); 
    color: #fff; 
    transform: translateY(-2px);
}

/* post-cta 部分 - 背景禁止深色，使用浅色背景 */
.post-cta {
    margin-top: 60px; 
    background: linear-gradient(135deg, var(--bg-light) 0%, #f0f3ec 100%); 
    padding: 50px; 
    text-align: center; 
    border-radius: var(--radius-lg);
    border: 1px solid rgba(139, 115, 85, 0.1);
    position: relative;
    overflow: hidden;
}

.post-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--c-primary), var(--c-accent));
}

.post-cta p { 
    font-family: var(--font-heading);
    font-weight: 600; 
    font-size: 1.4rem; 
    color: var(--text-main); 
    margin-bottom: 25px; 
    line-height: 1.5;
}

.small-btn { 
    font-size: 0.95rem; 
    padding: 14px 32px; 
    background: var(--c-primary); 
    color: white; 
    border-radius: var(--radius-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
}

.small-btn:hover {
    background: var(--c-primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(44, 85, 48, 0.2);
}

.post-navigation { 
    display: flex; 
    justify-content: space-between; 
    margin-top: 60px; 
    padding-top: 30px; 
    border-top: 1px solid var(--border-color); 
}

.nav-prev, .nav-next { 
    display: flex; 
    flex-direction: column; 
    max-width: 45%; 
    padding: 20px;
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.nav-prev:hover, .nav-next:hover {
    background-color: rgba(44, 85, 48, 0.05);
}

.nav-prev small, .nav-next small { 
    color: var(--text-lighter); 
    margin-bottom: 8px; 
    font-size: 0.85rem; 
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-prev span, .nav-next span { 
    color: var(--text-main); 
    font-weight: 600; 
    font-size: 1.1rem;
    line-height: 1.4;
}

/* 404 页面 */
.error-404 {
    text-align: center;
    padding: 100px 20px;
    max-width: 800px;
    margin: 0 auto;
}

.error-404 h1 {
    font-family: var(--font-heading);
    font-size: 8rem;
    color: var(--c-primary);
    margin-bottom: 20px;
    font-weight: 800;
    line-height: 1;
}

.error-404 p {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

/* === FAQ 区域 === */
.faq-section { 
    background: var(--bg-white); 
    padding: 100px 0; 
    border-top: 1px solid var(--border-color); 
    border-bottom: 1px solid var(--border-color);
}

.faq-item { 
    border-bottom: 1px solid var(--border-color); 
    max-width: 800px;
    margin: 0 auto;
}

.faq-question { 
    padding: 25px 0; 
    cursor: pointer; 
    display: flex; 
    justify-content: space-between; 
    font-weight: 600; 
    color: var(--text-main); 
    align-items: center;
    font-family: var(--font-heading);
    font-size: 1.2rem;
}

.faq-question:hover { 
    color: var(--c-primary); 
}

.faq-question.active {
    color: var(--c-primary);
}

.faq-answer { 
    max-height: 0; 
    overflow: hidden; 
    transition: max-height 0.5s ease;
}

.faq-answer p { 
    padding-bottom: 30px; 
    color: var(--text-light); 
    line-height: 1.8;
    font-size: 1.05rem;
}

.arrow {
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform 0.3s ease;
    color: var(--c-accent);
}

.faq-question.active .arrow {
    transform: rotate(45deg);
}

/* === 页脚 - 建筑公司风格 === */
.site-footer { 
    background: var(--text-main); 
    color: #d1d8de; 
    padding: 80px 0 40px; 
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--c-primary), var(--c-accent));
}

.footer-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
    gap: 50px; 
    margin-bottom: 60px; 
}

.footer-col h4 { 
    color: #fff; 
    margin-bottom: 25px; 
    font-size: 1.3rem; 
    font-family: var(--font-heading);
    position: relative;
    padding-bottom: 15px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--c-accent);
}

.footer-col p { 
    margin-bottom: 15px; 
    font-size: 0.95rem; 
    line-height: 1.7;
    max-width: 300px;
}

.footer-col a { 
    display: block; 
    margin-bottom: 12px; 
    font-size: 0.95rem; 
    transition: all 0.3s ease;
    color: #d1d8de;
}

.footer-col a:hover { 
    color: #fff; 
    padding-left: 8px;
}

.footer-bottom { 
    text-align: center; 
    padding-top: 40px; 
    border-top: 1px solid rgba(255,255,255,0.1); 
    font-size: 0.9rem; 
    color: #a0a7ad;
}

.footer-bottom a {
    color: var(--c-accent);
    font-weight: 500;
    margin-left: 5px;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* === 响应式设计 === */
@media (max-width: 1024px) {
    .hero-content h1 { font-size: 3rem; }
    .info-grid { grid-template-columns: 1fr; }
    .post-grid { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
}

@media (max-width: 768px) {
    .desktop-nav { display: none; }
    .mobile-menu-trigger { display: block; }
    
    .hero-section { padding: 100px 0; }
    .hero-content h1 { font-size: 2.5rem; }
    .hero-subtitle { font-size: 1.1rem; }
    .hero-buttons { flex-direction: column; align-items: center; gap: 15px; }
    .btn { width: 100%; max-width: 300px; text-align: center; }
    
    .center-header h2 { font-size: 2rem; }
    .info-card { padding: 40px 30px; }
    
    .single-post { padding: 30px 25px; }
    .single-header h1 { font-size: 2rem; }
    
    .faq-question { font-size: 1.1rem; padding: 20px 0; }
    
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    
    .post-navigation { flex-direction: column; gap: 20px; }
    .nav-prev, .nav-next { max-width: 100%; }
}

@media (max-width: 480px) {
    .container { padding: 0 20px; }
    .hero-content h1 { font-size: 2rem; }
    .center-header h2 { font-size: 1.8rem; }
    .post-grid { grid-template-columns: 1fr; }
    .error-404 h1 { font-size: 5rem; }
}