/*
Theme Name: Quck
Theme URI: https://example.com/quck
Author: Your Name
Author URI: https://example.com
Description: 一个简洁的 WordPress 博客主题，适合个人博客使用。
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: quck
Tags: blog, simple, responsive, clean
*/

/* 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* 容器 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 头部样式 - 基础样式，详细样式在 header.css */
.site-header {
    /* 基础样式已移至 header.css */
}

/* 主内容区 */
.site-main {
    padding: 40px 0;
    min-height: 60vh;
}

/* 首页特殊处理 - 移除容器限制 */
body.home .site-main,
body.page-template-front-page .site-main {
    padding: 0;
    max-width: 100%;
}

body.home .site-main .container,
body.page-template-front-page .site-main .container {
    max-width: 100%;
    padding: 0;
}

/* 文章列表 */
.post-list {
    list-style: none;
}

.post-item {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #e0e0e0;
}

.post-item:last-child {
    border-bottom: none;
}

.entry-title {
    font-size: 24px;
    margin-bottom: 10px;
}

.entry-title a {
    color: #333;
    text-decoration: none;
}

.entry-title a:hover {
    color: #0073aa;
}

.entry-meta {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.entry-content {
    margin-bottom: 15px;
}

.entry-content p {
    margin-bottom: 15px;
}

.read-more {
    display: inline-block;
    color: #0073aa;
    text-decoration: none;
    font-weight: 500;
}

.read-more:hover {
    text-decoration: underline;
}

/* 单篇文章 */
.single-post .entry-title {
    font-size: 32px;
    margin-bottom: 20px;
}

.single-post .entry-content {
    font-size: 18px;
    line-height: 1.8;
}

/* 页脚 */
.site-footer {
    background-color: #f5f5f5;
    padding: 40px 0;
    margin-top: 60px;
    text-align: center;
    color: #666;
    font-size: 14px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .main-navigation ul {
        display: none;
        flex-direction: column;
        width: 100%;
        margin-top: 10px;
    }
    
    .main-navigation ul.active {
        display: flex;
    }
    
    .site-title {
        font-size: 24px;
    }
    
    .single-post .entry-title {
        font-size: 24px;
    }
    
    .single-post .entry-content {
        font-size: 16px;
    }
}

