/*
 Theme Name:   GeneratePress Child (枕浪人版)
 Template:     generatepress
 Description:  崇明岛 · 东海瀛州 专属子主题 - 2026 极简最终版
 Author:       枕浪人
 Version:      1.1.0
*/

/* 1. 核心字号与排版：28px/18px 黄金比例 */
.entry-title, .entry-title a, .single .entry-title {
    font-size: 28px !important;
    font-weight: 600;
    line-height: 1.4;
    color: #222;
    transition: color 0.3s ease;
    text-decoration: none;
}
.entry-title a:hover { color: #666 !important; }

/* 正文间距优化 */
.entry-content { font-size: 18px; line-height: 1.8; color: #333; }
.entry-header { margin-bottom: 25px; }

/* 2. 首页与分类页：薄雾灰背景 + 悬浮白卡片 */
body.blog, body.archive, body.category {
    background-color: #f7f8fa !important;
}

.blog .site-main article, .archive .site-main article {
    background: #ffffff;
    padding: 40px;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.blog .site-main article:hover, .archive .site-main article:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

/* 3. 文章底部：分类与“阅读全文”按钮 完美对齐 */
footer.entry-meta {
    display: flex;
    justify-content: space-between; /* 左右两头撑开 */
    align-items: center;           /* 垂直居中 */
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0; /* 淡淡的横线 */
}

/* 左侧分类文字样式 */
.cat-links {
    display: block !important;
    font-size: 13px !important;
    letter-spacing: 1px;
    color: #999;
}
.cat-links a { color: #999 !important; text-decoration: none; }
.cat-links a:hover { color: #1A2B4C !important; }

/* 右侧“阅读全文”幽灵按钮 */
.read-more-button {
    display: inline-block;
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 400;
    color: #888 !important;
    border: 1px solid #eee;
    border-radius: 2px;
    text-decoration: none !important;
    transition: all 0.4s ease;
}
.read-more-button:hover {
    color: #fff !important;
    background-color: #1A2B4C;
    border-color: #1A2B4C;
    transform: translateY(-1px);
}

/* 4. 详情页微调：隐藏不必要的信息 */
.single .entry-meta .byline, 
.single .entry-meta .cat-links, 
.single .entry-meta .tags-links,
.single .entry-meta .comments-link {
    display: none !important;
}

/* 5. 分类页顶部标题美化 */
.archive .page-header { background: transparent; padding: 60px 0 40px 0; }
.archive .page-header h1 {
    font-size: 32px !important;
    font-weight: 600;
    letter-spacing: 2px;
    color: #333;
    text-align: center;
}

/* 6. 其他补丁：暗黑模式图标反转、页脚留白 */
.site-main { margin-bottom: 80px; }
@media (prefers-color-scheme: dark) {
    link[rel="icon"] { filter: invert(1) brightness(2); }
}