/* =====================================================
   detail.html 专属定制层 —— 严格对照 06.psd 制作
   色板：标题蓝 #0f2552 / teal #34b7af / 金 #f4c926
         浅底 #f9f5f2 / 小圆 #f1f1f1
   有效区域：≥1200 视口两侧各留 100px（1920 下 = 1720px）
   rem 基准：模板 html 12px / 13px@768 / 14px@992
   PSD 关键坐标（1920）：照片带 0-621 / 标题 682
   左卡 828-1909 / 右卡1 828-1253 / 右卡2 1278-1733
   返回钮 1888-1932 / 联系区 2096-2899（与 02/04.psd 同段）
   ===================================================== */

/* ==================== 顶部照片带 ==================== */
.detail-hero {
  position: relative; height: 44.36rem;
  background: #0a1630 url(../image/detail-band.jpg) top center / cover no-repeat;
}
.detail-team-circle {
  position: absolute; left: 57.03%; top: 34.93rem; z-index: 1;
  width: 12.71rem; height: 12.71rem; border-radius: 50%; background: #f1f1f1;
}
.detail-team {
  position: absolute; top: 13.86rem; right: 6.77%; z-index: 2;
  width: 31.82%; max-width: 611px;
}
.detail-team img { display: block; width: 100%; height: auto; }

/* ==================== 导航（复用 about.css 骨架，按 06.psd 调整） ==================== */
/* 内容行中心 y=72：padding-top 3.57rem + 行高 3.14rem */
.navbar { padding-top: 3.57rem; }
.about-menu { margin-left: auto; }
.about-menu-list a { color: #fff; }
.about-menu-list a:hover, .about-menu-list .active a { color: #f4c926; text-decoration: none; }
/* 金色圆钮复用 .about-phone 样式，图标换为搜索；06.psd 间距 13px
   宽松间距仅 ≥1600 生效，≤1599 由 about.css 的收紧档接管 */
.about-nav-actions .btn-teal { height: 3.14rem; line-height: 3.14rem; border-radius: 2em; }
@media (min-width: 1600px) {
  .about-nav-actions { margin-left: 5.93rem; }
  .about-nav-actions .about-phone { margin-right: .93rem; }
  .about-nav-actions .btn-teal { font-size: 1.21rem; padding: 0 2.7rem; }
}

/* ==================== 病例区 ==================== */
.detail-main {
  background: #f9f5f2 url(../image/detail-bg.jpg) top center / 100% auto no-repeat;
  padding: 4.36rem 0 5.86rem; margin-bottom: 7.5rem;
}
.detail-title {
  margin: 0; font-size: 3.43rem; font-weight: 700;
  color: #0f2552; line-height: 1; text-transform: none;
}
.detail-main .sec-en {
  margin: .86rem 0 0; color: #8b97a5;
  font-size: 1.07rem; letter-spacing: .32em; text-transform: uppercase;
}
.detail-cards { display: flex; align-items: flex-start; gap: 3rem; margin-top: 5.29rem; }

/* ---- 左：病例详情大卡（112-1230，828-1909） ---- */
.detail-article {
  position: relative; flex: 1 1 auto; min-width: 0;
  background: #fff; border-radius: 10px;
  padding: 4.21rem 4.5rem 0; min-height: 77.21rem;
  box-shadow: 0 18px 45px rgba(15, 37, 82, .10);
}
.detail-article p { color: rgba(15, 37, 82, .8); font-size: 1.07rem; line-height: 2; margin: 0; }
.detail-article p + p { margin-top: 1.93rem; }

/* ---- 返回目录钮：骑缝在左卡底边（pill 1888-1932，卡底 1909） ---- */
.detail-back {
  position: absolute; left: 50%; bottom: 0; transform: translate(-50%, 50%);
  display: flex; align-items: center; white-space: nowrap;
}
.detail-pill {
  display: inline-block; background: #34b7af; color: #fff;
  border-radius: 2em; font-size: 1.21rem; line-height: 3.14rem;
  height: 3.14rem; padding: 0 2.9rem;
}
.detail-pill:hover { background: #2ba49c; color: #fff; text-decoration: none; }
.detail-pill-circle {
  flex: 0 0 auto; width: 3.14rem; height: 3.14rem; line-height: 3.1rem;
  background: #34b7af; color: #fff; border-radius: 50%;
  text-align: center; font-size: 1.5rem;
}
.detail-back .detail-pill-circle { margin-left: 1rem; }
.detail-pill-circle:hover { background: #2ba49c; color: #fff; text-decoration: none; }

/* ---- 右：两列病例卡（1272-1810，复用 index .case-card） ---- */
.detail-side { flex: 0 0 38.43rem; max-width: 38.43rem; }
/* 间距 4.5rem：气泡尾巴 ::after 高 2.85rem，25px 会压到下卡，须留出尾巴 */
.detail-side .case-card { border-radius: 10px; min-height: 30.36rem; margin-bottom: 4.5rem; }
.detail-side .case-card:last-child { min-height: 32.5rem; margin-bottom: 0; }
.detail-side .case-card p { line-height: 2; }
.detail-side .card-btns { margin-top: 3rem; }
.detail-side .btn-pill { padding: .38em 1.2em; }
.detail-side .card-tip { margin-left: 3.4rem; font-size: 1.07rem; }

/* ==================== 响应式 ====================
   导航收紧档（@1599/@1399）与汉堡断点（≤1199）统一由共用的 about.css 提供 */
@media (max-width: 991px) {
  .navbar .navbar-toggle { margin-left: auto; }
}
@media (max-width: 767px) {
  .detail-hero { height: 30rem; }
  .detail-team { top: 9rem; right: 3%; width: 56%; }
  .detail-team-circle { display: none; }
  .detail-main { padding: 3.6rem 0 4.6rem; margin-bottom: 4.6rem; }
  .detail-cards { display: block; margin-top: 3.6rem; }
  .detail-article { min-height: 0; padding: 3rem 2.4rem 4.2rem; }
  .detail-back { position: static; transform: none; justify-content: center; margin-top: 2.6rem; }
  .detail-side { max-width: none; margin-top: 3rem; }
  .detail-side .case-card, .detail-side .case-card:last-child { min-height: 0; margin-bottom: 4.2rem; }
}
