/*
 * republic-faces.css — 民国人物志专题样式
 * Session 15. 视觉基调：米黄纸张 + 暗酱红 accent，与 intelligence 的金棕系区分。
 */

/* ──────────────────────────────────────────────────────────── */
/* Page shell                                                   */
/* ──────────────────────────────────────────────────────────── */

.faces-page {
  background: #fdf9ed;
  color: #2c2620;
  font-family: "Noto Serif SC", "Source Han Serif SC", serif;
}

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

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

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

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

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

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

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

/* ──────────────────────────────────────────────────────────── */
/* Hero                                                          */
/* ──────────────────────────────────────────────────────────── */

.faces-hero {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 1.2rem 2.4rem;
  background:
    linear-gradient(180deg, rgba(253, 249, 237, 0.4) 0%, rgba(245, 232, 204, 0.6) 100%);
  border-bottom: 1px solid rgba(138, 58, 44, 0.18);
}

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

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

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

.faces-hero h1 {
  margin: 0;
  color: #2f2a24;
  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) {
  .faces-hero h1 {
    font-size: 4rem;
  }
}

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

.faces-hero-lede {
  margin: 0 0 1.5rem;
  color: #3a342c;
  font-size: 1.05rem;
  line-height: 1.85;
}

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

.faces-hero-actions a {
  display: inline-block;
  padding: 0.5rem 1.1rem;
  color: #2c2620;
  border: 1px solid rgba(138, 58, 44, 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;
}

.faces-hero-actions a:hover {
  background: #f5e8cc;
  border-color: #8a3a2c;
}

/* ──────────────────────────────────────────────────────────── */
/* Overview grid                                                 */
/* ──────────────────────────────────────────────────────────── */

.faces-overview-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 700px) {
  .faces-overview-grid {
    grid-template-columns: 1fr 1fr;
  }
}

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

.faces-overview-grid article {
  padding: 1.1rem 1.2rem;
  background: #fffdf6;
  border: 1px solid rgba(138, 58, 44, 0.18);
  border-top: 3px solid #8a3a2c;
}

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

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

/* ──────────────────────────────────────────────────────────── */
/* Parts (九节骨架)                                              */
/* ──────────────────────────────────────────────────────────── */

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

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

.faces-part-card {
  position: relative;
  padding: 1.8rem 1.6rem 1.5rem;
  background: #fffdf6;
  border: 1px solid rgba(138, 58, 44, 0.18);
  border-left: 3px solid #8a3a2c;
  box-shadow: 0 1px 2px rgba(60, 40, 20, 0.04);
  scroll-margin-top: 80px;
}

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

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

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

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

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

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

.faces-part-question strong,
.faces-part-key strong {
  color: #8a3a2c;
  margin-right: 0.3em;
  letter-spacing: 0.04em;
}

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

.faces-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) {
  .faces-part-points {
    grid-template-columns: 1fr 1fr;
    column-gap: 1.4rem;
  }
}

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

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

.faces-part-key {
  margin: 0 0 1.2rem;
  padding: 0.9rem 1.1rem;
  background: #f9eedf;
  border-left: 2px solid #8a3a2c;
  color: #2c2620;
  font-style: italic;
  font-size: 0.98rem;
  line-height: 1.75;
}

/* ──────────────────────────────────────────────────────────── */
/* People chips (本节人物)                                       */
/* ──────────────────────────────────────────────────────────── */

.faces-people-zone {
  margin-top: 1.2rem;
  padding-top: 1rem;
  border-top: 1px dotted rgba(138, 58, 44, 0.3);
}

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

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

.faces-people-grid li {
  margin: 0;
}

.faces-people-grid a {
  display: inline-block;
  padding: 0.4rem 0.85rem;
  background: #fffdf6;
  border: 1px solid rgba(138, 58, 44, 0.3);
  color: #2c2620;
  font-size: 0.95rem;
  line-height: 1.4;
  text-decoration: none;
  transition: all 0.15s;
}

.faces-people-grid a:hover {
  background: #8a3a2c;
  border-color: #6a2a20;
  color: #fffdf6;
  transform: translateY(-1px);
}

/* ──────────────────────────────────────────────────────────── */
/* Extras                                                        */
/* ──────────────────────────────────────────────────────────── */

.faces-extras-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.faces-extras-list li {
  margin: 0;
}

.faces-extras-list a {
  display: block;
  padding: 1rem 1.3rem;
  background: #fffdf6;
  border: 1px solid rgba(138, 58, 44, 0.22);
  color: #2c2620;
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s;
}

.faces-extras-list a:hover {
  background: #f9eedf;
  border-color: #8a3a2c;
}

.faces-extras-list strong {
  color: #2f2a24;
  font-size: 1.08rem;
  font-weight: 600;
}

.faces-extras-list span {
  display: block;
  margin-top: 0.3rem;
  color: #6a5230;
  font-size: 0.88rem;
}

/* ──────────────────────────────────────────────────────────── */
/* Style panel                                                   */
/* ──────────────────────────────────────────────────────────── */

.faces-style-panel {
  background: rgba(138, 58, 44, 0.04);
  border-top: 1px solid rgba(138, 58, 44, 0.18);
  border-bottom: 1px solid rgba(138, 58, 44, 0.18);
  margin-top: 2rem;
}

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

.faces-style-panel em {
  color: #8a3a2c;
  font-style: italic;
  font-weight: 500;
}

.faces-style-note {
  color: #6a5230 !important;
  font-style: italic;
  font-size: 0.94rem !important;
  text-align: center;
}
