/*
 * republic-cities.css — 民国城市志专题样式
 * Session 16. 视觉基调：浅蓝灰 + 深青蓝 accent (#2c5e7c)，
 * 与 faces 的暖红 (#8a3a2c) / intelligence 的金棕 (#8a6a2c) 区分。
 * 呼应「铁路、港口、工业城市」的现代工业感。
 */

.cities-page {
  background: #f4f7fa;
  color: #1f2a35;
  font-family: "Noto Serif SC", "Source Han Serif SC", serif;
}

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

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

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

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

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

.cities-section-head h2 {
  margin: 0;
  color: #1f2a35;
  font-size: 1.65rem;
  letter-spacing: 0.04em;
  font-weight: 600;
}

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

/* Hero */
.cities-hero {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 1.2rem 2.4rem;
  background:
    linear-gradient(180deg, rgba(244, 247, 250, 0.5) 0%, rgba(217, 227, 234, 0.6) 100%);
  border-bottom: 1px solid rgba(44, 94, 124, 0.18);
}

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

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

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

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

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

.cities-hero-lede {
  margin: 0 0 1.5rem;
  color: #2f3a48;
  font-size: 1.05rem;
  line-height: 1.85;
}

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

.cities-hero-actions a {
  display: inline-block;
  padding: 0.5rem 1.1rem;
  color: #1f2a35;
  border: 1px solid rgba(44, 94, 124, 0.4);
  background: rgba(255, 255, 255, 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;
}

.cities-hero-actions a:hover {
  background: #d8e3ea;
  border-color: #2c5e7c;
}

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

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

.cities-overview-grid article {
  padding: 1.1rem 1.2rem;
  background: #ffffff;
  border: 1px solid rgba(44, 94, 124, 0.18);
  border-top: 3px solid #2c5e7c;
}

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

.cities-overview-grid p {
  margin: 0;
  color: #3a4858;
  font-size: 0.94rem;
  line-height: 1.7;
}

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

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

.cities-part-card {
  position: relative;
  padding: 1.8rem 1.6rem 1.5rem;
  background: #ffffff;
  border: 1px solid rgba(44, 94, 124, 0.18);
  border-left: 3px solid #2c5e7c;
  box-shadow: 0 1px 2px rgba(20, 40, 60, 0.04);
  scroll-margin-top: 80px;
}

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

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

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

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

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

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

.cities-part-question strong,
.cities-part-key strong {
  color: #2c5e7c;
  margin-right: 0.3em;
  letter-spacing: 0.04em;
}

.cities-part-intro {
  margin: 0 0 1rem;
  color: #3a4858;
  font-size: 1rem;
  line-height: 1.85;
}

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

.cities-part-points li {
  position: relative;
  padding-left: 1.1rem;
  color: #2f3a48;
  font-size: 0.95rem;
  line-height: 1.6;
}

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

.cities-part-key {
  margin: 0 0 1.2rem;
  padding: 0.9rem 1.1rem;
  background: #e6eff5;
  border-left: 2px solid #2c5e7c;
  color: #1f2a35;
  font-style: italic;
  font-size: 0.98rem;
  line-height: 1.75;
}

/* Articles chips */
.cities-articles-zone {
  margin-top: 1.2rem;
  padding-top: 1rem;
  border-top: 1px dotted rgba(44, 94, 124, 0.3);
}

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

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

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

.cities-articles-grid a {
  display: inline-block;
  padding: 0.4rem 0.85rem;
  background: #ffffff;
  border: 1px solid rgba(44, 94, 124, 0.3);
  color: #1f2a35;
  font-size: 0.95rem;
  line-height: 1.4;
  text-decoration: none;
  transition: all 0.15s;
}

.cities-articles-grid a:hover {
  background: #2c5e7c;
  border-color: #1d4a64;
  color: #ffffff;
  transform: translateY(-1px);
}

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

/* Style panel */
.cities-style-panel {
  background: rgba(44, 94, 124, 0.04);
  border-top: 1px solid rgba(44, 94, 124, 0.18);
  border-bottom: 1px solid rgba(44, 94, 124, 0.18);
  margin-top: 2rem;
}

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

.cities-style-panel em {
  color: #2c5e7c;
  font-style: italic;
  font-weight: 500;
}

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