/* ═══════════════════════════════════════════════════════════════
   第 001 期独有样式 / SLN-2026-001/style.css
   全站基础样式在 ../index.css
   ═══════════════════════════════════════════════════════════════ */


/* 本期补充变量：index.css 中未定义 */
:root {
  --accent-dim: rgba(34, 211, 238, 0.12);
}


/* ───────────────────────────────────────────────
   版面标签：██ 头条 ██
   ─────────────────────────────────────────────── */

.section-label {
  font-family: var(--font-mono);
  font-size: var(--fs-meta);
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: var(--gap-md);
}


/* ───────────────────────────────────────────────
   本期目录 / Issue Contents
   ─────────────────────────────────────────────── */

.issue-block {
  padding: var(--gap-2xl) 0;
  border-top: 3px solid var(--line-strong);
}

/* 区块标题：本期目录 */
.issue-heading {
  font-family: var(--font-serif);
  font-size: var(--fs-heading);
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.05em;
  margin-bottom: var(--gap-lg);
}

.issue-heading::before {
  content: '//';
  font-family: var(--font-mono);
  font-size: 0.8em;
  color: var(--accent);
  margin-right: 10px;
  opacity: 0.7;
}

/* 条目列表 */
.issue-list {
  display: flex;
  flex-direction: column;
}

/* 单条：左日期 + 中内容 + 右标签 */
.issue-item {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: var(--gap-md);
  align-items: start;
  padding: var(--gap-lg) 0;
  border-bottom: 1px dotted var(--line);
  transition: padding-left 0.2s;
}

.issue-item:last-child {
  border-bottom: none;
}

.issue-item:hover {
  padding-left: 8px;
}

/* 日期 */
.issue-date {
  font-family: var(--font-mono);
  font-size: var(--fs-meta);
  color: var(--text-dim);
  padding-top: 4px;
}

/* 内容区 */
.issue-main {
  min-width: 0;
}

/* 标题 */
.issue-title {
  font-family: var(--font-serif);
  font-size: var(--fs-issue);
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: var(--gap-sm);
}

.issue-title a {
  color: var(--text);
}

.issue-title a:hover {
  color: var(--accent);
}

/* 摘要 */
.issue-excerpt {
  font-family: var(--font-serif);
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-muted);
}

/* 标签 */
.issue-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 2px 8px;
  border-radius: 4px;
  white-space: nowrap;
}


/* ───────────────────────────────────────────────
   文章页 / Post
   ─────────────────────────────────────────────── */

.post {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: var(--gap-xl) 0 var(--gap-2xl);
}

/* ── 文章头 ── */

.post-header {
  padding-bottom: var(--gap-lg);
  margin-bottom: var(--gap-lg);
  border-bottom: 1px solid var(--line);
}

.post-title {
  font-family: var(--font-serif);
  font-size: var(--fs-headline);
  font-weight: 700;
  line-height: var(--lh-headline);
  letter-spacing: 0.01em;
  color: var(--text);
  margin-bottom: var(--gap-md);
}

/* 署名与审校 */
.post-author,
.post-reviewer {
  font-family: var(--font-serif);
  font-size: 15px;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  line-height: 1.6;
}

.post-author {
  margin-bottom: 4px;
}

.post-reviewer {
  margin-bottom: var(--gap-md);
}

.post-lead {
  font-family: var(--font-serif);
  font-size: 18px;
  font-style: italic;
  line-height: 1.7;
  color: var(--text-secondary);
  padding-left: var(--gap-md);
  border-left: 3px solid var(--accent);
  margin-bottom: var(--gap-lg);
}

.post-meta {
  font-family: var(--font-mono);
  font-size: var(--fs-meta);
  color: var(--text-dim);
  letter-spacing: 0.02em;
}

.post-meta span {
  margin-right: 6px;
}

/* ── 正文 ── */

.post-body {
  font-family: var(--font-serif);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--text-body);
}

.post-body p {
  margin-bottom: var(--gap-md);
}

/* 小标题 */
.post-body h2 {
  font-family: var(--font-serif);
  font-size: var(--fs-heading);
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.02em;
  margin: var(--gap-xl) 0 var(--gap-md);
}

/* 首字下沉 */
.post-body p:first-of-type::first-letter {
  float: left;
  font-family: var(--font-serif);
  font-size: 4em;
  font-weight: 700;
  line-height: 0.85;
  padding: 6px 12px 0 0;
  color: var(--accent);
}

/* ── 文章脚 ── */

.post-footer {
  margin-top: var(--gap-2xl);
  padding-top: var(--gap-lg);
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: var(--fs-meta);
}

.post-footer a {
  color: var(--text-muted);
}

.post-footer a:hover {
  color: var(--accent);
}


/* ───────────────────────────────────────────────
   响应式
   ─────────────────────────────────────────────── */

@media (max-width: 768px) {

  /* 条目改为两行：日期+内容一行，标签换行 */
  .issue-item {
    grid-template-columns: 56px 1fr;
    gap: var(--gap-sm) var(--gap-md);
  }

  .issue-tag {
    grid-column: 2;
    justify-self: start;
    margin-top: var(--gap-sm);
  }

  .post-lead {
    padding-left: var(--gap-sm);
    font-size: 16px;
  }

  .post-body p:first-of-type::first-letter {
    font-size: 3em;
    padding-right: 8px;
  }
}