/*
Theme Name: Waka
Theme URI: https://your-theme-url.com
Author: Your Name
Author URI: https://your-website.com
Description: 一个现代化的WordPress主题，支持文章卡片布局，响应式设计，SEO优化。
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: waka
Tags: blog, custom-background, custom-colors, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/


/* 基础样式 */

:root {
    --primary-color: #4CAF50;
    --secondary-color: #45a049;
    --text-color: #333;
    --background-color: #fff;
    --header-height: 100px;
    --container-width: 1200px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}


/* 容器 */

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 15px;
}


/* 头部样式 */

.site-header {
    height: var(--header-height);
    background: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}


/* 导航样式 */

.main-navigation {
    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* 文章卡片样式 */

.post-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.post-card:hover {
    transform: translateY(-5px);
}


/* 下载按钮样式 */

.download-button {
    background-color: var(--primary-color);
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.download-button:hover {
    background-color: var(--secondary-color);
}


/* 响应式设计 */

@media (max-width: 768px) {
     :root {
        --header-height: 60px;
    }
    .container {
        padding: 0 10px;
    }
}


/* 面包屑与标题间距优化 */

.breadcrumb {
    margin-bottom: 12px;
}

.entry-header {
    margin-top: 0;
}

.entry-title {
    margin-top: 0;
}