/*
 * republic-vista.css — 民国风物志（物质文化版）专题样式
 * Session 16. 视觉基调：沙黄米色 + 暖橄榄绿 accent (#6b7942)，
 * 与 faces 暖红 / cities 蓝灰 / intelligence 金棕 区分。
 * 呼应「日常生活、家居、器物」的温和质感。
 */

.vista-page {
  background: #faf6ea;
  color: #2c2a20;
  font-family: "Noto Serif SC", "Source Han Serif SC", serif;
}

.vista-page main { padding-bottom: 3rem; }

.vista-shell {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.4rem 1.2rem 1.6rem;
}

@media (min-width: 900px) {
  .vista-shell { padding: 3rem 2rem 2rem; }
}

.vista-section-head { margin-bottom: 1.4rem; }

.vista-section-head > span {
  display: block;
  color: #6b7942;
  font-family: "Montserrat", "Inter", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.vista-section-head h2 {
  margin: 0;
  color: #2c2a20;
  font-size: 1.65rem;
  letter-spacing: 0.04em;
  font-weight: 600;
}

@media (min-width: 900px) {
  .vista-section-head h2 { font-size: 1.85rem; }
}

/* Hero */
.vista-hero {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 1.2rem 2.4rem;
  background:
    linear-gradient(180deg, rgba(250, 246, 234, 0.5) 0%, rgba(235, 226, 198, 0.6) 100%);
  border-bottom: 1px solid rgba(107, 121, 66, 0.18);
}

@media (min-width: 900px) {
  .vista-hero { padding: 4.5rem 2rem 3.2rem; }
}

.vista-hero-copy { max-width: 720px; }

.vista-kicker {
  color: #6b7942;
  font-family: "Montserrat", "Inter", sans-serif;
  font-size: 0.76rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 0.7rem;
}

.vista-hero h1 {
  margin: 0;
  color: #2c2a20;
  font-size: 3.2rem;
  letter-spacing: 0.14em;
  font-weight: 700;
  line-height: 1.05;
  /* Session 18: 与 lianda/lurk 等子页面字体统一（从 Ma Shan Zheng 装饰体改为 Noto Serif SC 编辑体）*/
  font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", serif;
}

@media (min-width: 900px) {
  .vista-hero h1 { font-size: 4rem; }
}

.vista-hero-sub {
  margin: 0.5rem 0 1.4rem;
  color: #6b7942;
  font-family: "Montserrat", "Inter", sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.32em;
  font-weight: 500;
}

.vista-hero-lede {
  margin: 0 0 1rem;
  color: #3a3528;
  font-size: 1.05rem;
  line-height: 1.85;
}

.vista-hero-note {
  margin: 0 0 1.5rem;
  padding: 0.6rem 1rem;
  background: rgba(107, 121, 66, 0.08);
  border-left: 2px solid #6b7942;
  color: #4a4530;
  font-size: 0.92rem;
  line-height: 1.7;
  font-style: italic;
}

.vista-hero-note a {
  color: #6b7942;
  font-weight: 600;
  border-bottom: 1px solid currentColor;
}

.vista-hero-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.vista-hero-actions a {
  display: inline-block;
  padding: 0.5rem 1.1rem;
  color: #2c2a20;
  border: 1px solid rgba(107, 121, 66, 0.4);
  background: rgba(255, 253, 246, 0.5);
  font-family: "Noto Serif SC", serif;
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s;
}

.vista-hero-actions a:hover {
  background: #ece4c8;
  border-color: #6b7942;
}

/* Overview */
.vista-overview-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 700px) {
  .vista-overview-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1000px) {
  .vista-overview-grid { grid-template-columns: repeat(4, 1fr); }
}

.vista-overview-grid article {
  padding: 1.1rem 1.2rem;
  background: #fffdf3;
  border: 1px solid rgba(107, 121, 66, 0.18);
  border-top: 3px solid #6b7942;
}

.vista-overview-grid strong {
  display: block;
  color: #6b7942;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 0.4rem;
}

.vista-overview-grid p {
  margin: 0;
  color: #4a4530;
  font-size: 0.94rem;
  line-height: 1.7;
}

/* Parts */
.vista-parts-lede {
  max-width: 760px;
  margin: 0 auto 2rem;
  color: #4a4530;
  font-size: 1.04rem;
  line-height: 1.85;
  text-align: center;
  font-style: italic;
}

.vista-part-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.6rem;
}

.vista-part-card {
  position: relative;
  padding: 1.8rem 1.6rem 1.5rem;
  background: #fffdf3;
  border: 1px solid rgba(107, 121, 66, 0.18);
  border-left: 3px solid #6b7942;
  box-shadow: 0 1px 2px rgba(60, 50, 20, 0.04);
  scroll-margin-top: 80px;
}

@media (min-width: 900px) {
  .vista-part-card { padding: 2rem 2.2rem 1.8rem; }
}

.vista-part-card-head {
  display: grid;
  grid-template-columns: 3.4rem 1fr;
  align-items: start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.vista-part-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border: 1.5px solid #6b7942;
  border-radius: 50%;
  color: #6b7942;
  font-family: "Montserrat", "Inter", sans-serif;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  font-weight: 600;
  background: #fffdf3;
}

.vista-part-card-head h3 {
  margin: 0 0 0.3rem;
  color: #2c2a20;
  font-size: 1.45rem;
  letter-spacing: 0.04em;
  line-height: 1.3;
}

.vista-part-en {
  margin: 0;
  color: #6b7942;
  font-family: "Montserrat", "Inter", sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.vista-part-question {
  margin: 0.5rem 0 0.8rem;
  color: #2c2a20;
  font-size: 1rem;
  line-height: 1.7;
}

.vista-part-question strong,
.vista-part-key strong {
  color: #6b7942;
  margin-right: 0.3em;
  letter-spacing: 0.04em;
}

.vista-part-intro {
  margin: 0 0 1rem;
  color: #4a4530;
  font-size: 1rem;
  line-height: 1.85;
}

.vista-part-points {
  list-style: none;
  margin: 0 0 1.1rem;
  padding: 0;
  display: grid;
  gap: 0.45rem;
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .vista-part-points {
    grid-template-columns: 1fr 1fr;
    column-gap: 1.4rem;
  }
}

.vista-part-points li {
  position: relative;
  padding-left: 1.1rem;
  color: #3a3528;
  font-size: 0.95rem;
  line-height: 1.6;
}

.vista-part-points li::before {
  content: "·";
  position: absolute;
  left: 0;
  top: -0.05em;
  color: #6b7942;
  font-size: 1.4rem;
  font-weight: 700;
}

.vista-part-key {
  margin: 0 0 1.2rem;
  padding: 0.9rem 1.1rem;
  background: #eee6c8;
  border-left: 2px solid #6b7942;
  color: #2c2a20;
  font-style: italic;
  font-size: 0.98rem;
  line-height: 1.75;
}

/* Pending state */
.vista-articles-pending {
  margin-top: 1.2rem;
  padding: 0.6rem 1rem;
  background: rgba(107, 121, 66, 0.04);
  border-top: 1px dotted rgba(107, 121, 66, 0.3);
  border-bottom: 1px dotted rgba(107, 121, 66, 0.3);
  color: #7a7548;
  font-family: "Montserrat", "Inter", sans-serif;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-align: center;
  font-style: italic;
}

.vista-articles-zone {
  margin-top: 1.2rem;
  padding-top: 1rem;
  border-top: 1px dotted rgba(107, 121, 66, 0.3);
}

.vista-articles-label {
  color: #6b7942;
  font-family: "Montserrat", "Inter", sans-serif;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 0.7rem;
}

.vista-articles-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.55rem;
}

.vista-articles-grid li { margin: 0; }

.vista-articles-grid a {
  display: inline-block;
  padding: 0.4rem 0.85rem;
  background: #fffdf3;
  border: 1px solid rgba(107, 121, 66, 0.3);
  color: #2c2a20;
  font-size: 0.95rem;
  line-height: 1.4;
  text-decoration: none;
  transition: all 0.15s;
}

.vista-articles-grid a:hover {
  background: #6b7942;
  border-color: #4a5530;
  color: #fffdf3;
  transform: translateY(-1px);
}

/* Style panel */
.vista-style-panel {
  background: rgba(107, 121, 66, 0.04);
  border-top: 1px solid rgba(107, 121, 66, 0.18);
  border-bottom: 1px solid rgba(107, 121, 66, 0.18);
  margin-top: 2rem;
}

.vista-style-panel p {
  color: #3a3528;
  font-size: 1rem;
  line-height: 1.85;
  max-width: 760px;
  margin: 0 auto 1rem;
}

.vista-style-panel em {
  color: #6b7942;
  font-style: italic;
  font-weight: 500;
}

.vista-style-note {
  color: #7a7548 !important;
  font-style: italic;
  font-size: 0.94rem !important;
  text-align: center;
}
