/* ==========================================================================
   GEOER · 文章详情页（画布 frame 111:72）
   正文列固定 760px 居中（阅读舒适度优先，与全站 1312 内容宽区分开）
   --------------------------------------------------------------------------
   与画布的差异（有意为之，便于对齐阅读轴）：
   画布上页头的 H1/导语 是 900 宽、贴容器左缘，而正文列是 760 居中，
   两者相差约 340px，读起来是错位的。这里把页头内容也收进同一条 760 轴线。
   ========================================================================== */

.detail-head {
  background: var(--bg-base);
  padding: 64px var(--pad-page) 40px;
}

.detail-head__inner {
  width: 100%;
  max-width: 760px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* 面包屑单独一行，仍与正文同轴 */
.detail-head .breadcrumb {
  margin-bottom: -4px;
}

.detail-head__meta {
  font-size: 13px;
  color: var(--text-muted);
}

.detail-head .h1 {
  font-size: 36px;
  line-height: 48px;
}

.detail-head__lead {
  font-size: 18px;
  line-height: 30px;
  color: var(--text-muted);
}

/* -------------------------------------------------------------- 正文 */

.detail-body {
  background: var(--bg-base);
  padding: 40px var(--pad-page) 88px;
}

.detail-body__col {
  width: 100%;
  max-width: 760px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.detail-body h2 {
  font-size: 24px;
  line-height: 1.5;
  font-weight: 700;
  color: var(--text-primary);
}

.detail-body p {
  font-size: 16px;
  line-height: 30px;
  color: var(--text-body);
}

/* 引文块 */
.quote {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 26px;
  background: var(--bg-inset);
  border-radius: var(--radius-inset);
}

.quote__text {
  font-size: 16px;
  line-height: 30px;
  color: var(--text-body);
}

.quote__from {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
}

/* 要点 */
.takeaways {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.takeaways li {
  font-size: 16px;
  line-height: 30px;
  color: var(--text-body);
}

/* 下一篇卡 */
.next-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px 26px;
  background: var(--bg-alt);
  border-radius: var(--radius-card);
  transition: background var(--dur-fast) var(--ease-out);
}

.next-card:hover {
  background: #e6ecfa;
}

.next-card__label {
  font-size: 12px;
  color: var(--text-muted);
}

.next-card__title {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--text-primary);
}

.next-card__link {
  font-size: 13px;
  color: var(--brand);
}

/* -------------------------------------------------------------- 断点 */

@media (max-width: 899px) {
  .detail-head {
    padding-top: 48px;
    padding-bottom: 32px;
  }

  .detail-head .h1 {
    font-size: 30px;
    line-height: 42px;
  }

  .detail-head__lead {
    font-size: 17px;
    line-height: 28px;
  }

  .detail-body h2 {
    font-size: 21px;
  }
}

@media (max-width: 639px) {
  .detail-head .h1 {
    font-size: 26px;
    line-height: 36px;
  }

  .detail-body p,
  .quote__text,
  .takeaways li {
    font-size: 15px;
    line-height: 28px;
  }

  .quote,
  .next-card {
    padding: 18px 18px;
  }
}
