/* ========== 变量定义 ========== */
:root {
    /* 主色调系统 */
    --primary-color: #3A6BFF;     /* 主色调：鲜亮蓝色 */
    --primary-dark: #2A4BBF;      /* 深蓝：用于悬停状态 */
    --secondary-color: #34495E;   /* 辅助色：柔和深蓝 */
    --accent-color: #48C9B0;      /* 强调色：自然青绿色 */
    
    /* 文字颜色系统 */
    --text-color: #333;           /* 主文本：深灰代替纯黑更柔和 */
    --light-text: #666;           /* 次要文本：中灰色 */
    --lighter-text: #999;         /* 辅助文本：更浅的灰色 */
    
    /* 背景色系统 */
    --bg-color: #F9FAFB;          /* 页面背景：非常浅的灰白 */
    --card-bg: #FFFFFF;           /* 卡片背景：纯白 */
    --header-bg: #fff;            /* 头部背景 */
    --footer-bg: #f8f9fa;         /* 页脚背景 */
    
    /* 背景配置 */
    --bg-base-color: #f9fafb;
    --bg-texture: none;
    --bg-gradient: none;
    --bg-image: none;
    --bg-image-opacity: 0.182;
    
    /* 特殊颜色 */
    --gold-color: #FFC107;        /* 金色：用于强调元素 */
    
    /* 字体系统 */
    --text-base: 1rem;            /* 基础字体：16px */
    --text-sm: 0.875rem;          /* 小字体：14px */
    --text-lg: 1.125rem;          /* 大字体：18px */
    --text-xl: 1.25rem;           /* 加大字体：20px */
    --text-2xl: 1.5rem;           /* 2倍大字体：24px */
    --text-3xl: 1.875rem;         /* 3倍大字体：30px */
    --text-4xl: 2.25rem;          /* 4倍大字体：36px */
    
    /* 行高系统 */
    --leading-normal: 1.6;        /* 标准行高 */
    --leading-relaxed: 1.8;       /* 宽松行高 */
    
    /* 布局系统 */
    --max-width: 1200px;          /* 最大内容宽度 */
    
    /* 字体族 */
    --font-main: system-ui, -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Segoe UI", "Microsoft YaHei UI", "Microsoft YaHei", "Noto Sans CJK SC", "Noto Sans SC", "WenQuanYi Micro Hei", Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif;
    --font-quote: Georgia, serif;
    --font-serif: 'Noto Serif SC', serif;
}

/* ========== 基础样式 ========== */
body {
    font-family: var(--font-main);
    color: var(--text-color);
    background-color: var(--bg-base-color);
    background-image: var(--bg-gradient), var(--bg-texture);
    background-size: 100%, var(--bg-texture-size, auto);
    background-position: center, center;
    background-attachment: fixed;
    margin: 0;
    padding: 0;
    line-height: var(--leading-normal);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    position: relative;
}

body.bg-image::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-image);
    background-size: cover;
    background-position: center;
    opacity: var(--bg-image-opacity);
    z-index: -1;
}

main {
    flex: 1; /* 让 main 部分自动伸展以填满剩余空间 */
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-color);
}

/* ========== 背景样式系统 ========== */
.bg-radial-gradient {
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(67, 116, 253, 0.05) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(78, 205, 196, 0.05) 0%, transparent 20%);
}

.bg-gradient {
    background: linear-gradient(135deg, #F9FAFB 0%, #EFF2F6 100%);
}

.bg-dots {
    background-image: radial-gradient(#ccc 1px, transparent 1px);
    background-size: 20px 20px;
}

.bg-lines {
    background-image: 
        linear-gradient(90deg, rgba(0, 0, 0, 0.05) 1px, transparent 1px), 
        linear-gradient(rgba(0, 0, 0, 0.05) 1px, transparent 1px);
    background-size: 20px 20px;
}

.bg-paper {
    /* 基础背景色使用米白色，模拟纸张底色 */
    background-color: #f8f5f0;
    
    /* 磨砂纹理SVG - 包含细微颗粒和纤维感 */
    --bg-texture: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100' height='100' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3Cpath d='M0,0 L100,0 L100,100 L0,100 Z' fill='none' stroke='%23d0c8b8' stroke-width='0.5' opacity='0.2'/%3E%3Cpath d='M0,20 L100,20 M0,40 L100,40 M0,60 L100,60 M0,80 L100,80' stroke='%23d0c8b8' stroke-width='0.3' opacity='0.15'/%3E%3C/svg%3E");
    
    /* 纹理大小和重复方式 */
    --bg-texture-size: 100px 100px;
    background-image: var(--bg-texture);
    background-size: var(--bg-texture-size);
    background-repeat: repeat;
    
    /* 叠加轻微的阴影效果，增强磨砂质感 */
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.02);
    
    /* 可选：添加轻微的凹凸感 */
    background-blend-mode: overlay;
}

.bg-cloud {
    --bg-texture: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.bg-spring {
    background-image: 
        linear-gradient(to bottom, rgba(127, 201, 127, 0.3), rgba(127, 201, 127, 0.2)),
        var(--bg-gradient), 
        var(--bg-texture);
}

.bg-white {
    --bg-texture: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400' viewBox='0 0 400 400'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' fill='%23ffffff'/%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.03'/%3E%3C/svg%3E");
    --bg-texture-size: 200px 200px;
    background-image: var(--bg-texture);
    background-size: var(--bg-texture-size);
    background-color: #f9f9f9;
}

.bg-grid {
    --bg-texture: 
        linear-gradient(to right, #eee 1px, transparent 1px), 
        linear-gradient(to bottom, #eee 1px, transparent 1px);
    --bg-texture-size: 20px 20px;
}

/* ========== 配色方案系统 ========== */
.color-preset-spring {
    --primary-color: #7fc97f;
    --accent-color: #4d924d;
    --bg-base-color: #f5faf5;
}

.color-preset-blue {
    --primary-color: #3A6BFF;
    --accent-color: #48C9B0;
}

.color-preset-teal {
    --primary-color: #20B2AA;
    --accent-color: #48D1CC;
}

.color-preset-indigo {
    --primary-color: #5C6BC0;
    --accent-color: #7E57C2;
}

.color-preset-orange {
    --primary-color: #FFA500;
    --accent-color: #FFD700;
}

.color-preset-apple {
    --primary-color: #4A6FA5;      /* 主色调：沉稳靛蓝 */
    --primary-dark: #253237;       /* 深靛蓝（悬停/强调） */
    --accent-color: #9DB4C0;       /* 淡蓝色（辅助元素） */
    --bg-base-color: #f8f9fa;      /* 极浅灰白背景 */
    --text-color: #253237;         /* 深靛蓝文本 */
    --light-text: #5C6B73;         /* 浅靛蓝文本 */
}

.color-preset-coffee {
    --primary-color: #8B5A2B;      /* 主色调：咖啡棕 */
    --primary-dark: #6B4423;       /* 深咖啡棕 */
    --accent-color: #D2B48C;       /* 棕褐色（辅助元素） */
    --bg-base-color: #FFF8E7;      /* 米黄色背景 */
    --text-color: #3D2B1F;         /* 深棕色文本 */
    --light-text: #664229;         /* 浅棕色文本 */
}

.color-preset-forest {
    --primary-color: #2E8B57;      /* 主色调：森林绿 */
    --primary-dark: #1E5E2E;       /* 深森林绿 */
    --accent-color: #8FBC8F;       /* 浅森林绿（辅助元素） */
    --bg-base-color: #F5F5DC;      /* 米色背景 */
    --text-color: #1A361A;         /* 深绿色文本 */
    --light-text: #386838;         /* 浅绿色文本 */
}

.color-preset-ocean {
    --primary-color: #1E90FF;      /* 主色调：海洋蓝 */
    --primary-dark: #005A8C;       /* 深蓝色 */
    --accent-color: #87CEEB;       /* 天蓝色（辅助元素） */
    --bg-base-color: #F0F8FF;      /* 淡蓝色背景 */
    --text-color: #0A2463;         /* 深蓝文本 */
    --light-text: #3E6B9E;         /* 浅蓝文本 */
}

.color-preset-wine {
    --primary-color: #8B0000;      /* 主色调：葡萄酒红 */
    --primary-dark: #4A0000;       /* 深红色 */
    --accent-color: #CD5C5C;       /* 浅红色（辅助元素） */
    --bg-base-color: #FFF0F0;      /* 淡粉色背景 */
    --text-color: #3C0000;         /* 深红酒文本 */
    --light-text: #702929;         /* 浅红酒文本 */
}

.color-preset-slate {
    --primary-color: #483D8B;      /* 主色调：石板紫 */
    --primary-dark: #2F285C;       /* 深石板紫 */
    --accent-color: #7B68EE;       /* 中紫色（辅助元素） */
    --bg-base-color: #F8F8FF;      /* 淡紫色背景 */
    --text-color: #1C173D;         /* 深紫文本 */
    --light-text: #554A8F;         /* 浅紫文本 */
}

/* ========== 头部样式 ========== */
.header {
    background: rgba(255, 255, 255, 0.382); /* 半透明背景 */
    backdrop-filter: blur(10px); /* 磨砂玻璃效果 */
    -webkit-backdrop-filter: blur(10px); /* Safari 兼容性 */
    box-shadow: 0 4px 30px rgba(0,0,0,0.1); /* 调整阴影 */
    padding: 15px 0;
    position: relative;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* 微妙的边框 */
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--gold-color);
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    margin-left: 25px;
}

.nav-menu a {
    color: var(--text-color);
    font-weight: 500;
    font-family: 'Noto Sans SC', "PingFang SC", "Microsoft YaHei", sans-serif;
    position: relative;
}

.nav-menu a:hover {
    color: var(--gold-color);
}

.nav-menu a:hover::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gold-color);
    animation: underline 0.3s ease;
}

/* 标题区域 */
.header-quote {
    margin: 40px 0 30px;
    text-align: center;
    padding: 0 20px;
}

/* 固定的阳光色调 */
.site-logo {
    font-family: 'PingFang SC', sans-serif; /* 添加字体 */
    font-size: 3rem; /* 增大字号更醒目 */
    font-weight: 800;
    color: #ffffff; /* 固定阳光金色 #FFD700 */
    margin-bottom: 12px;
    letter-spacing: 3px;
    text-shadow: 
        0 0 10px rgba(255, 215, 0, 0.5), /* 添加发光效果 */
        2px 2px 4px rgba(0, 0, 0, 0.2);
    position: relative;
}


.site-motto {
    font-family: "Comic Sans MS", cursive, sans-serif; /* 添加字体 */
    font-size: 1.2rem;
    color: #333; /* 深灰色增加可读性 */
    margin-bottom: 8px;
    line-height: 1.8;
    letter-spacing: 1px;
    text-shadow: 0 1px 1px rgba(0,0,0,0.1);
}

.site-submotto {
    font-size: 1.1rem;
    color: #555; /* 调整为暖灰 */
    font-style: italic;
    line-height: 1.8;
    letter-spacing: 0.5px;
    max-width: 80%; /* 防止文字过长 */
    margin: 0 auto; /* 居中 */
}

/* 新增：整体容器优化 */
.site-header {
    text-align: center;
    padding: 3rem 1.5rem;
    background: rgba(255, 255, 255, 0.85); /* 半透明白色背景 */
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    position: relative;
}

/* 添加光晕效果 */
.site-header::before {
    content: "";
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: radial-gradient(
        circle at center,
        rgba(255, 215, 0, 0.1) 0%,
        transparent 70%
    );
    border-radius: 16px;
    z-index: -1;
}

/* ========== 格言卡片 ========== */
.quote-card {
    margin: 40px 0;
    padding: 30px;
    border-left: 4px solid var(--primary-color);
    font-family: var(--font-quote);
    line-height: var(--leading-relaxed);
    color: var(--text-color);
    position: relative;
    overflow: hidden;
    background: var(--card-bg);
    border-radius: 12px;
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.quote-card::before {
    content: "";
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 5rem;
    color: rgba(52, 152, 219, 0.1);
    font-family: serif;
    line-height: 1;
}

.quote-card-content {
    position: relative;
    z-index: 1;
}

.quote-card p {
    margin: 0 0 15px;
    font-size: 1.1rem;
    position: relative;
    padding-left: 30px;
}

.quote-card p::before {
    content: "";
    position: absolute;
    left: 0;
    top: 12px;
    width: 20px;
    height: 2px;
    background-color: var(--secondary-color);
}

.quote-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.quote-card-footer {
    margin-top: 20px;
    text-align: right;
    font-style: italic;
    color: var(--light-text);
    font-size: 0.9rem;
}

/* ========== 文章列表 ========== */
.article-list {
    margin: 40px 0;
}

.month-header {
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin: 30px 0 15px;
    font-weight: bold;
    position: relative;
    padding-bottom: 10px;
}

.month-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0,0,0,0.1), transparent);
}

.article-item {
    margin-bottom: 15px;
    padding-left: 20px;
    position: relative;
    transition: all 0.3s ease;
}

.article-item::before {
    content: "●";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

.article-item:hover {
    transform: translateX(5px);
}

.article-title {
    font-weight: bold;
    color: var(--primary-color);
    display: inline;
    font-family: var(--font-serif);
}

.article-excerpt {
    display: inline;
    color: var(--text-color);
    font-family: var(--font-serif);
}

/* ========== 文章页 ========== */
.post-container {
    margin: 40px 0;
}

.post-title {
    color: var(--text-color);
    font-family: var(--font-serif);
    text-align: center;
    font-size: var(--text-3xl);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    position: relative;
}

.post-title.center {
    text-align: center;
}

.post-content {
    line-height: var(--leading-relaxed);
    font-size: var(--text-lg);
    letter-spacing: 0.02em;
    word-spacing: 0.05em;
    text-align: justify;
    text-justify: inter-ideograph;
    max-width: 100ch; /* 最佳阅读宽度 */
    margin: 0 auto;
}

.post-content p {
    margin-bottom: 1.2em;
}

.post-content h1,
.post-content h2,
.post-content h3 {
    color: var(--primary-color);
    margin-top: 1.5em;
    margin-bottom: 0.8em;
    font-weight: bold;
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin: 20px 0;
}

.post-content blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: 20px;
    margin-left: 0;
    color: var(--light-text);
    font-style: italic;
}

.post-content pre {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 4px;
    overflow-x: auto;
}

.post-content code {
    font-family: Consolas, Monaco, 'Andale Mono', monospace;
    background: #f8f9fa;
    padding: 2px 5px;
    border-radius: 3px;
    font-size: 0.9em;
}

/* ========== 文章卡片 ========== */
.post-card {
    overflow: hidden;
    margin: 40px 0;
    background: var(--card-bg);
    border-radius: 12px;
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.post-article {
    padding: 30px;
}

.post-meta {
    color: var(--light-text);
    font-size: 0.9rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.post-meta time,
.post-meta .post-category {
    display: flex;
    align-items: center;
}

/* ========== 特殊卡片样式 ========== */
.post-card.gradient-border {
    position: relative;
    background: var(--bg-color);
    border-radius: 8px;
}

.post-card.gradient-border::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 8px;
    padding: 2px;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    -webkit-mask: -webkit-linear-gradient(#fff 0 0) content-box, -webkit-linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
}

.post-card.glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.post-card.shadow-border {
    border: 2px solid transparent;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

/* ========== 布局系统 ========== */
.layout-three-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.layout-three-columns .container {
    flex: 2;
    min-width: 60%;
}

.layout-three-columns aside {
    flex: 1;
    min-width: 30%;
    padding: 20px;
}

.layout-three-columns .sidebar-right {
    order: 2;
}

.layout-two-columns-equal {
    display: flex;
    gap: 20px;
}

.layout-two-columns-equal .container,
.layout-two-columns-equal aside {
    flex: 1;
    padding: 20px;
}

.layout-sidebar {
    display: flex;
    flex-wrap: wrap;
}

.layout-sidebar .container {
    flex: 2;
    min-width: 60%;
}

.layout-sidebar aside {
    flex: 1;
    min-width: 30%;
    padding: 20px;
}

.layout-wide .container {
    max-width: 1200px;
}

.layout-narrow .container {
    max-width: 800px;
}

/* ========== 字体风格 ========== */
.font-sans-serif {
    font-family: var(--font-main);
}

.font-serif {
    font-family: var(--font-serif);
}

.font-monospace {
    font-family: Consolas, Monaco, 'Andale Mono', monospace;
}

.font-cursive {
    font-family: "Brush Script MT", cursive;
}

.font-fantasy {
    font-family: "Comic Sans MS", cursive, sans-serif;
}

.font-myself {
    font-family:'Helvetica Neue', Arial, 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

/* ========== 分类页 ========== */
.category-header {
    margin: 40px 0 30px;
    font-size: 1.8rem;
    color: var(--primary-color);
}

.category-description {
    color: var(--light-text);
    margin-bottom: 30px;
}

/* ========== 页脚 ========== */
.footer {
    text-align: center;
    color: var(--text-color);
    font-size: 0.9rem;
    background: var(--footer-bg);
    padding: 20px 0;
    margin-top: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.footer a {
    color: var(--accent-color);
}

/* ========== 响应式设计 ========== */
/* 平板电脑尺寸 */
@media (max-width: 1024px) {
    .header-container {
        flex-direction: column;
    }
    
    .logo {
        margin-bottom: 15px;
    }
    
    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav-menu li {
        margin: 0 10px 10px;
    }
    
    .quote-container {
        padding: 20px;
        font-size: 1rem;
    }
    
    .post-article {
        padding: 20px;
    }
    
    .post-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .post-card {
        margin: 20px 0;
    }
    
    .layout-three-columns,
    .layout-two-columns-equal,
    .layout-sidebar {
        flex-direction: column;
    }
}

/* 手机尺寸 */
@media (max-width: 480px) {
    .site-logo {
        font-size: 2rem;
    }
    
    .site-motto {
        font-size: 1rem;
    }
    
    .site-submotto {
        font-size: 0.9rem;
    }
    
    .post-title {
        font-size: var(--text-2xl);
    }
}

/* ========== 动画效果 ========== */
@keyframes underline {
    from { width: 0; }
    to { width: 100%; }
}