/*
 Theme Name: Default Theme
 Theme URI: https://aidocms.example/
 Description: aidocms 内置最简默认主题，AI 原生（自动注入 JSON-LD / 双输出）。
 Version: 1.0.0
 Author: aidocms
 License: GPL-2.0-or-later
 License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

:root {
    --fg: #222;
    --muted: #667;
    --link: #2563eb;
    --max: 820px;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: system-ui, "Microsoft YaHei", sans-serif;
    color: var(--fg);
    line-height: 1.7;
    background: #fafafa;
}

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--max);
    margin: 0 auto;
    padding: 16px 20px;
    border-bottom: 1px solid #e3e6ea;
}

.site-title { font-weight: 800; color: var(--fg); text-decoration: none; }
.site-nav a { margin-left: 14px; color: var(--link); text-decoration: none; }

.site-main {
    max-width: var(--max);
    margin: 24px auto;
    padding: 0 20px;
}

.post-title a, .archive-title a { color: var(--fg); text-decoration: none; }
.post-meta { color: var(--muted); font-size: 14px; }
.post-excerpt { color: #444; }

.post-content, .page-content {
    font-size: 17px;
}

.term-tag {
    display: inline-block;
    background: #eef3ff;
    color: var(--link);
    padding: 3px 10px;
    border-radius: 14px;
    margin: 4px 6px 4px 0;
    text-decoration: none;
    font-size: 14px;
}

.comment {
    border-top: 1px solid #e3e6ea;
    padding: 8px 0;
    font-size: 15px;
}

.site-footer {
    max-width: var(--max);
    margin: 40px auto 24px;
    padding: 16px 20px;
    color: var(--muted);
    font-size: 14px;
    border-top: 1px solid #e3e6ea;
}
