/* 至信恒睿 — 刊式编排：左侧刊头 + 右侧长列表（非瀑布流） */
@import url("https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@500;700&family=Noto+Sans+SC:wght@400;500;700&display=swap");

:root {
  --ink: #0c2340;
  --ink-soft: #2a3f55;
  --gold: #b08d3c;
  --paper: #eef1f5;
  --panel: #ffffff;
  --line: #d5dde6;
  --muted: #6a7a8a;
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Noto Sans SC", "PingFang SC", sans-serif;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }

.shell {
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: 100vh;
  max-width: 1100px;
  margin: 0 auto;
}

.rail {
  position: sticky;
  top: 0;
  align-self: start;
  height: 100vh;
  padding: 36px 22px;
  border-right: 1px solid var(--line);
  background: linear-gradient(180deg, #f7f9fb 0%, #eef1f5 100%);
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.masthead {
  font-family: "Noto Serif SC", serif;
}
.masthead .mark {
  display: inline-block;
  width: 42px;
  height: 42px;
  line-height: 42px;
  text-align: center;
  border: 2px solid var(--ink);
  font-weight: 700;
  margin-bottom: 12px;
}
.masthead h1 {
  margin: 0;
  font-size: 28px;
  letter-spacing: 0.12em;
  writing-mode: vertical-rl;
  height: 160px;
}
.masthead p {
  margin: 12px 0 0;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.08em;
}

.rail-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.rail-nav button {
  appearance: none;
  border: 0;
  background: transparent;
  text-align: left;
  padding: 8px 0;
  font-size: 14px;
  color: var(--ink-soft);
  border-bottom: 1px solid transparent;
  cursor: pointer;
}
.rail-nav button.active {
  color: var(--ink);
  font-weight: 700;
  border-bottom-color: var(--gold);
}

.stage {
  padding: 28px 28px 60px;
}

.top-search {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}
.top-search input {
  flex: 1;
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 10px 12px;
  font-size: 14px;
}
.top-search button {
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
  padding: 0 16px;
  cursor: pointer;
}

.lead {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 20px;
  padding-bottom: 28px;
  margin-bottom: 28px;
  border-bottom: 2px solid var(--ink);
  cursor: pointer;
}
.lead img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}
.lead-body .kicker {
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.lead-body h2 {
  margin: 0 0 12px;
  font-family: "Noto Serif SC", serif;
  font-size: 28px;
  line-height: 1.35;
}
.lead-body p { color: var(--muted); margin: 0 0 14px; }
.lead-meta { font-size: 12px; color: var(--muted); }

.list {
  display: flex;
  flex-direction: column;
}
.row {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}
.row img {
  width: 96px;
  height: 72px;
  object-fit: cover;
}
.row h3 {
  margin: 0 0 6px;
  font-family: "Noto Serif SC", serif;
  font-size: 18px;
  font-weight: 500;
}
.row .summary {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 13px;
}
.row .meta {
  font-size: 12px;
  color: var(--muted);
  display: flex;
  gap: 12px;
}

.empty { padding: 40px 0; color: var(--muted); text-align: center; }
.more {
  margin-top: 24px;
  text-align: center;
}
.more button {
  appearance: none;
  border: 1px solid var(--ink);
  background: transparent;
  padding: 10px 22px;
  cursor: pointer;
}

.footer {
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}
.footer-heading {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
}
.footer-contact-list {
  margin: 0 auto 16px;
  max-width: 420px;
  text-align: left;
}
.footer-contact-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.footer-contact-row dt { color: var(--muted); }
.footer-contact-row dd { margin: 0; }
.footer a { color: #1e6f7a; }
.footer-icp { margin: 12px 0 6px; }
.footer-copy { margin: 0; color: #8a97a3; font-size: 12px; }

/* detail */
.detail-wrap { max-width: 760px; margin: 0 auto; padding: 24px 16px 60px; }
.detail-back {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 14px;
}
.detail-tag {
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 0.12em;
}
.detail-wrap h1 {
  font-family: "Noto Serif SC", serif;
  font-size: 30px;
  line-height: 1.35;
  margin: 8px 0 12px;
}
.detail-meta { color: var(--muted); font-size: 13px; margin-bottom: 18px; }
.detail-cover {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  margin-bottom: 20px;
}
.detail-content h3 { font-family: "Noto Serif SC", serif; }
.recommend { margin-top: 36px; }
.recommend h3 { font-family: "Noto Serif SC", serif; }
.recommend a {
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.mobile-bar { display: none; }

@media (max-width: 860px) {
  .shell { grid-template-columns: 1fr; }
  .rail {
    position: relative;
    height: auto;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    padding: 16px;
    gap: 12px;
  }
  .masthead h1 {
    writing-mode: horizontal-tb;
    height: auto;
    font-size: 22px;
    letter-spacing: 0.08em;
  }
  .rail-nav {
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    gap: 4px 14px;
  }
  .lead { grid-template-columns: 1fr; }
  .lead img { height: 200px; }
  .stage { padding: 16px 14px 48px; }
}
