/*
Theme Name: Dz Theme
Theme URI: https://example.com/dz-theme
Author: Dz
Author URI: https://example.com
Description: A custom WordPress theme with customizable Logo, Header and Footer settings. 一款支持自定义Logo、页眉和页脚的WordPress主题。
Version: 1.0.0
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dz-theme
Tags: custom-logo, custom-header, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ==========================================================================
   Reset & Base
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
}

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

a {
    color: #0073aa;
    text-decoration: none;
}

a:hover {
    color: #005177;
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
}

/* ==========================================================================
   Layout
   ========================================================================== */
.site-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================================
   Header / Footer base — actual styling is in assets/css/layouts.css
   (per-layout). Settings here only set the body-level defaults.
   ========================================================================== */
.site-header {
    background: #ffffff;
}

.site-title {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
}

.site-title a {
    color: #222;
    text-decoration: none;
}

.site-description {
    margin: 4px 0 0;
    font-size: 14px;
    color: #666;
}

/* ==========================================================================
   Main Content
   ========================================================================== */
.site-main {
    padding: 40px 0;
    min-height: 400px;
}

.entry {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.entry-title {
    margin: 0 0 12px;
    font-size: 28px;
    line-height: 1.3;
}

.entry-title a {
    color: #222;
}

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

.entry-content p {
    margin: 0 0 16px;
}

.read-more {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 18px;
    background: #0073aa;
    color: #fff !important;
    border-radius: 4px;
    text-decoration: none;
}

.read-more:hover {
    background: #005177;
    text-decoration: none;
}

/* ==========================================================================
   Pagination
   ========================================================================== */
.pagination {
    margin: 30px 0;
    text-align: center;
}

.pagination .page-numbers {
    display: inline-block;
    padding: 8px 14px;
    margin: 0 3px;
    background: #f7f7f7;
    color: #333;
    border-radius: 4px;
    text-decoration: none;
}

.pagination .page-numbers.current,
.pagination .page-numbers:hover {
    background: #0073aa;
    color: #fff;
}

/* ==========================================================================
   Footer base — per-layout styling lives in assets/css/layouts.css
   ========================================================================== */
.site-footer {
    background: #2c3e50;
    color: #ccc;
}

/* ==========================================================================
   Comments
   ========================================================================== */
.comments-area {
    margin-top: 40px;
}

.comment-list {
    list-style: none;
    padding: 0;
}

.comment {
    padding: 15px;
    margin-bottom: 15px;
    background: #f9f9f9;
    border-radius: 6px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 768px) {
    .entry-title {
        font-size: 22px;
    }
}
