/* HRC 营销专题页统一样式：关于我们 / 我们的优势 / 医疗团队 */
.hm-page { color: #3A4F66; font-size: 15px; line-height: 1.85; max-width: 1180px; margin: 0 auto; }
.hm-page h2, .hm-page h3, .hm-page h4 { color: #132E47; }
.hm-page p { margin: 0 0 14px; }

/* 导语 */
.hm-lead { padding: 34px 0 26px; border-bottom: 2px solid #E3F2EC; margin-bottom: 28px; }
.hm-lead h2 { font-size: 30px; line-height: 1.4; margin: 0 0 14px; font-weight: 700; letter-spacing: -.02em; }
.hm-lead p { font-size: 17px; line-height: 1.9; color: #4A6278; max-width: 940px; margin: 0; }

/* 数据条 */
.hm-stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin: 0 0 40px; }
.hm-stat { background: #F7FBFA; border: 1px solid #E3F2EC; border-top: 3px solid #2A6B94; border-radius: 8px; padding: 18px 12px; text-align: center; }
.hm-stat strong { display: block; font-size: 26px; color: #132E47; line-height: 1.25; }
.hm-stat span { display: block; font-size: 12px; color: #647B8D; margin-top: 6px; }

/* 区块 */
.hm-sec { margin: 0 0 46px; }
.hm-sec-title { font-size: 25px; position: relative; padding-left: 16px; margin: 0 0 18px; }
.hm-sec-title:before { content: ''; position: absolute; left: 0; top: 5px; bottom: 5px; width: 4px; background: #2A6B94; border-radius: 2px; }
.hm-sec-sub { color: #647B8D; margin: -8px 0 22px; }

/* 卡片 */
.hm-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.hm-cards-3 { grid-template-columns: repeat(2, 1fr); }
.hm-card { background: #fff; border: 1px solid #E5EDF1; border-radius: 10px; padding: 22px 24px; box-shadow: 0 4px 16px rgba(19,46,71,.04); transition: box-shadow .2s, transform .2s; }
.hm-card:hover { box-shadow: 0 10px 26px rgba(19,46,71,.09); transform: translateY(-2px); }
.hm-card-icon { width: 38px; height: 38px; line-height: 38px; text-align: center; border-radius: 9px; background: #E3F2EC; color: #1C5177; font-weight: 700; font-size: 15px; margin-bottom: 12px; }
.hm-card h3 { font-size: 18px; margin: 0 0 8px; }
.hm-card p { margin: 0; font-size: 14px; color: #5B7185; line-height: 1.8; }

/* 时间轴 / 流程 */
.hm-timeline { border-left: 2px solid #E3F2EC; margin-left: 10px; padding-left: 0; }
.hm-tl-item { display: flex; gap: 20px; padding: 0 0 22px 22px; position: relative; }
.hm-tl-item:before { content: ''; position: absolute; left: -7px; top: 8px; width: 12px; height: 12px; border-radius: 50%; background: #2A6B94; border: 2px solid #fff; box-shadow: 0 0 0 2px #E3F2EC; }
.hm-tl-year { flex: 0 0 118px; font-weight: 700; color: #2A6B94; font-size: 15px; }
.hm-tl-item h4 { font-size: 16px; margin: 0 0 4px; }
.hm-tl-item p { margin: 0; font-size: 14px; color: #5B7185; }

.hm-path { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.hm-path-step { background: #F7FBFA; border: 1px solid #E5EDF1; border-radius: 8px; padding: 18px 20px; }
.hm-path-step > span { display: inline-block; font-size: 12px; font-weight: 700; color: #fff; background: #2A6B94; border-radius: 20px; padding: 2px 10px; margin-bottom: 8px; }
.hm-path-step h4 { font-size: 16px; margin: 0 0 6px; }
.hm-path-step p { font-size: 13px; color: #5B7185; margin: 0; line-height: 1.75; }

/* 对比表 / 适合人群 */
.hm-compare { width: 100%; border-collapse: collapse; margin-top: 8px; font-size: 14px; background: #fff; }
.hm-compare th, .hm-compare td { border: 1px solid #E1EAEF; padding: 11px 14px; text-align: left; vertical-align: top; }
.hm-compare thead th { background: #132E47; color: #fff; font-weight: 600; }
.hm-compare th:first-child { width: 16%; color: #132E47; background: #F7FBFA; font-weight: 700; }
.hm-compare td:nth-child(2) { color: #1C5177; }
.hm-audience { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.hm-audience-item { background: #fff; border: 1px solid #E5EDF1; border-left: 3px solid #2A6B94; border-radius: 6px; padding: 14px 16px; }
.hm-audience-item strong { display: block; color: #132E47; font-size: 15px; margin-bottom: 4px; }
.hm-audience-item span { font-size: 13px; color: #647B8D; }

/* 医生 */
.hm-doctor-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.hm-chip { display: inline-block; background: #E3F2EC; color: #1C5177; border-radius: 30px; padding: 7px 16px; font-size: 13px; font-weight: 600; }
.hm-group-title { font-size: 22px; margin: 34px 0 4px; }
.hm-group-sub { font-size: 13px; color: #647B8D; margin: 0 0 18px; }
.hm-doctor-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.hm-doctor-card { display: flex; gap: 14px; background: #fff; border: 1px solid #E5EDF1; border-radius: 9px; padding: 16px; box-shadow: 0 3px 12px rgba(19,46,71,.035); }
/* 专题页配图画廊 */
.hm-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 22px 0 28px; }
.hm-gallery figure { margin: 0; border: 1px solid #E5EDF1; border-radius: 8px; overflow: hidden; background: #fff; }
.hm-gallery img { display: block; width: 100%; height: 180px; object-fit: cover; background: #EEF4F7; }
.hm-gallery figcaption { font-size: 12px; line-height: 1.5; color: #5B7185; padding: 9px 12px; text-align: center; }
.hm-doc-avatar { flex: 0 0 92px; width: 92px; height: 92px; border-radius: 50%; overflow: hidden; background: #E3F2EC; display: flex; align-items: center; justify-content: center; }
.hm-doc-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.hm-doc-initial { color: #1C5177; font-weight: 700; font-size: 27px; }
.hm-doc-body { min-width: 0; flex: 1; }
.hm-doc-body h4 { font-size: 15px; margin: 0 0 2px; line-height: 1.45; color: #132E47; }
.hm-doc-body h4 span { display: block; font-size: 11px; font-weight: 400; color: #8A9BA9; }
.hm-doc-role { font-size: 12px; color: #2A6B94; margin: 4px 0 7px !important; line-height: 1.4; }
.hm-doc-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 7px; }
.hm-tag { background: #F0F7F4; color: #1C5177; border-radius: 4px; padding: 2px 7px; font-size: 11px; line-height: 1.6; }
.hm-doc-note { font-size: 12px; color: #5B7185; margin: 0 0 5px !important; line-height: 1.65; }
.hm-doc-loc { font-size: 11px; color: #90A1AE; margin: 0 !important; }

/* CTA 与注释 */
.hm-cta { background: linear-gradient(135deg, #132E47, #1C5177); color: #fff; border-radius: 10px; padding: 26px 30px; margin-top: 44px; }
.hm-cta h3 { color: #fff; font-size: 21px; margin: 0 0 8px; }
.hm-cta p { color: #D6E8F1; font-size: 14px; margin: 0 0 16px; }
.hm-cta .inquiry-form, .hm-cta form { background: #fff; border-radius: 8px; padding: 16px; }
.hm-cta #feedbackForm .inquiry-form { display: flex; flex-wrap: wrap; column-gap: 12px; row-gap: 10px; }
.hm-cta #feedbackForm input[type="text"], .hm-cta #feedbackForm input[type="email"] { flex: 1 1 calc(50% - 6px); width: calc(50% - 6px); margin-top: 0; }
.hm-cta #feedbackForm textarea { flex: 1 1 100%; width: 100%; height: 110px; margin-top: 0; resize: vertical; }
.hm-cta #feedbackForm .send-btn { flex: 0 0 160px; width: 160px; margin-top: 0; }
/* 联系我们页的在线留言表单 */
.contact-main #feedbackForm .inquiry-form { display: flex; flex-wrap: wrap; column-gap: 12px; row-gap: 10px; }
.contact-main #feedbackForm input[type="text"], .contact-main #feedbackForm input[type="email"] { flex: 1 1 calc(50% - 6px); width: calc(50% - 6px); margin-top: 0; }
.contact-main #feedbackForm textarea { flex: 1 1 100%; width: 100%; height: 120px; margin-top: 0; resize: vertical; }
.contact-main #feedbackForm .send-btn { margin-top: 0; }
.hm-note { font-size: 12px; color: #8A9BA9; background: #F7FBFA; border: 1px solid #E5EDF1; border-radius: 6px; padding: 12px 16px; margin-top: 28px; }

@media (max-width: 1024px) {
  .hm-stats { grid-template-columns: repeat(3, 1fr); }
  .hm-doctor-grid { grid-template-columns: repeat(2, 1fr); }
  .hm-path { grid-template-columns: repeat(2, 1fr); }
  .hm-audience { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  /* 旧站 .l-wrap 使用 width:100% + padding 的 content-box 模型，窄屏会撑出视口；
     这里改为 border-box，避免正文右侧被裁切。 */
  html, body { overflow-x: hidden; }
  .l-wrap, .page-main, .about-content, .hm-page, .hm-page * { box-sizing: border-box; }
  .l-wrap { width: 100% !important; max-width: 100% !important; }

  .hm-page { font-size: 14px; }
  .hm-lead { padding: 22px 0 18px; }
  .hm-lead h2 { font-size: 22px; }
  .hm-lead p { font-size: 15px; }
  .hm-stats { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .hm-stat strong { font-size: 21px; }
  .hm-sec-title { font-size: 20px; }
  .hm-gallery { grid-template-columns: 1fr; gap: 10px; }
  .hm-gallery img { height: 170px; }
  .hm-cards, .hm-cards-3, .hm-path, .hm-audience, .hm-doctor-grid { grid-template-columns: 1fr; }
  .hm-tl-item { flex-direction: column; gap: 4px; padding-left: 20px; }
  .hm-tl-year { flex: none; }
  .hm-compare { display: block; overflow-x: auto; white-space: nowrap; font-size: 12px; }
  .hm-cta { padding: 20px 18px; }
  .hm-cta h3 { font-size: 18px; }
  .hm-cta #feedbackForm input[type="text"], .hm-cta #feedbackForm input[type="email"] { flex: 1 1 100%; width: 100%; }
  .hm-cta #feedbackForm .send-btn { flex: 1 1 100%; width: 100%; }
  .contact-main #feedbackForm input[type="text"], .contact-main #feedbackForm input[type="email"] { flex: 1 1 100%; width: 100%; }
}
