/* EMBODIED DAILY 全站共用样式
   设计基调：深蓝学术期刊风（刊头/页头深蓝），正文区米白底保证可读性；手机优先响应式。 */

:root {
  --navy: #16324f;        /* 主深蓝 */
  --navy-dark: #0e2238;   /* 更深蓝（刊头带） */
  --cream: #f7f3ea;       /* 米白正文底 */
  --paper: #fffdf8;       /* 卡片底 */
  --ink: #1d2b3a;         /* 正文墨色 */
  --muted: #6b7686;       /* 次要文字 */
  --line: #d8d2c4;        /* 细分隔线 */
  --accent: #b8862f;      /* 点缀金 */
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: "Noto Serif SC", Georgia, "Times New Roman", serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.7;
}

a { color: inherit; }

/* ---------- 页头（深蓝刊头带） ---------- */
.site-header {
  background: linear-gradient(180deg, var(--navy-dark) 0%, var(--navy) 100%);
  color: #fff;
  text-align: center;
  padding: 2.2rem 1rem 1.6rem;
  border-bottom: 3px solid var(--accent);
}
.site-header .masthead {
  font-family: "Playfair Display", "Noto Serif SC", serif;
  font-weight: 800;
  font-size: clamp(1.8rem, 6vw, 3rem);
  letter-spacing: 0.12em;
}
.site-header .subtitle {
  font-size: 0.95rem;
  letter-spacing: 0.5em;
  opacity: 0.85;
  margin-top: 0.3rem;
}
.site-header .issue-meta {
  margin-top: 0.8rem;
  font-size: 0.85rem;
  color: #cfd8e3;
}
.site-header .issue-meta span + span::before { content: "·"; margin: 0 0.6em; }
.site-header .ai-note {
  display: inline-block;
  margin-top: 0.7rem;
  font-size: 0.75rem;
  color: #9fb2c8;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  padding: 0.1rem 0.8rem;
}
.site-header nav { margin-top: 0.9rem; font-size: 0.85rem; }
.site-header nav a { color: #cfd8e3; text-decoration: none; }
.site-header nav a:hover { color: #fff; }

/* ---------- 正文容器 ---------- */
.container { max-width: 760px; margin: 0 auto; padding: 1.2rem 1rem 3rem; }

/* ---------- 栏目 ---------- */
.category { margin-top: 2rem; }
.category-header {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  border-bottom: 2px solid var(--navy);
  padding-bottom: 0.4rem;
  margin-bottom: 1rem;
}
.category-header .icon { font-size: 1.2rem; }
.category-header h2 {
  font-size: 1.3rem;
  color: var(--navy);
  letter-spacing: 0.1em;
}
.category-header .count { font-size: 0.8rem; color: var(--muted); margin-left: auto; }

/* ---------- 条目卡片 ---------- */
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 3px solid var(--navy);
  border-radius: 4px;
  padding: 1rem 1.1rem;
  margin-bottom: 0.9rem;
}
.card .title { font-size: 1.05rem; font-weight: 700; line-height: 1.5; }
.card .title a { text-decoration: none; }
.card .title a:hover { color: var(--navy); text-decoration: underline; }
.card .source {
  font-size: 0.78rem;
  color: var(--accent);
  letter-spacing: 0.05em;
  margin-top: 0.25rem;
}
.card .summary { font-size: 0.92rem; color: #3a4756; margin-top: 0.5rem; }

/* 头条栏目：卡片更大、金边强调 */
.category-headline .card {
  border-left: 4px solid var(--accent);
  padding: 1.3rem 1.3rem;
}
.category-headline .card .title { font-size: 1.3rem; }

/* ---------- 页脚 ---------- */
.site-footer {
  background: var(--navy-dark);
  color: #9fb2c8;
  font-size: 0.8rem;
  padding: 1.6rem 1rem 2.2rem;
  text-align: center;
  line-height: 1.9;
}
.site-footer .sources-list { color: #cfd8e3; }
.site-footer .ai-disclaimer { margin-top: 0.5rem; font-style: italic; }

/* ---------- 归档页 ---------- */
.archive-item {
  display: flex;
  gap: 1rem;
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0.9rem 1rem;
  margin-bottom: 0.8rem;
  text-decoration: none;
}
.archive-item:hover { border-color: var(--navy); }
.archive-item img { width: 60px; height: 80px; object-fit: cover; border-radius: 2px; }
.archive-item .thumb-placeholder {
  width: 60px; height: 80px; border-radius: 2px;
  background: linear-gradient(160deg, var(--navy-dark), var(--navy));
  flex-shrink: 0;
}
.archive-item .meta .date { font-weight: 700; color: var(--navy); }
.archive-item .meta .detail { font-size: 0.82rem; color: var(--muted); }

/* ---------- 响应式：手机优先，桌面端微调 ---------- */
@media (min-width: 768px) {
  .container { padding-top: 2rem; }
  .card { padding: 1.2rem 1.4rem; }
}
