/* ============================================================
   hz_index.css — 主站首页样式（index.htm 引入）
   由模板内嵌 <style> 抽取，标准格式排版，便于手动维护
   ============================================================ */

.zj-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 18px;
}

.zj-card {
  background: #fff;
  border: 1px solid #e5dcc4;
  border-radius: 6px;
  padding: 26px 16px 20px;
  text-align: center;
  transition: transform .25s,box-shadow .25s;
}

.zj-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(140,120,80,.15);
}

.zj-card a {
  display: block;
  text-decoration: none;
  color: inherit;
}

.zj-pic {
  width: 128px;
  height: 128px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 14px;
  border: 3px solid #ede4cd;
  box-shadow: 0 3px 10px rgba(140,120,80,.10);
}

.zj-pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.zj-name {
  font-size: 17px;
  font-weight: 700;
  color: #3a352e;
  margin-bottom: 9px;
  letter-spacing: 1px;
}

.zj-tag {
  display: inline-block;
  background: #f5efe0;
  color: #a8873f;
  font-size: 12px;
  padding: 4px 15px;
  border-radius: 20px;
  letter-spacing: 1px;
  border: 1px solid #e0d4b8;
}

.zj-goodat {
  margin-top: 13px;
  font-size: 12.5px;
  color: #a89a80;
  line-height: 1.7;
  text-align: left;
}

@media(max-width:768px) {
  .zj-grid {
    grid-template-columns: repeat(2,1fr);
    gap: 12px;
  }

  .zj-card {
    padding: 20px 12px 16px;
  }

  .zj-pic {
    width: 100px;
    height: 100px;
  }

}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 20px;
}

.case-card {
  background: #fff;
  border-radius: 6px;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(140,120,80,.06);
  text-decoration: none;
  color: inherit;
  display: block;
  transition: .25s;
  border: 1px solid #e5dcc4;
}

.case-pic {
  height: 180px;
  background: linear-gradient(135deg,#f5efe0,#e6d9bd);
  overflow: hidden;
  position: relative;
}

.case-pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .45s;
}

.case-card:hover .case-pic img {
  transform: scale(1.06);
}

.case-ph {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #b9a279;
  font-size: 15px;
  letter-spacing: 6px;
  font-family: "Noto Serif SC","STSong","SimSun",serif;
}

.case-bd {
  padding: 20px 22px 22px;
}

.case-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 22px rgba(140,120,80,.14);
}

.case-tag {
  display: inline-block;
  background: #f5efe0;
  color: #a8873f;
  font-size: 12px;
  padding: 3px 12px;
  border-radius: 10px;
  margin-bottom: 12px;
  border: 1px solid #e5dcc4;
}

.case-card h3 {
  font-size: 16px;
  color: #333;
  margin-bottom: 10px;
  line-height: 1.5;
}

.case-card p {
  font-size: 13px;
  color: #777;
  line-height: 1.8;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.more-link {
  display: block;
  text-align: center;
  margin-top: 24px;
}

.more-link a {
  display: inline-block;
  border: 1.5px solid #b3452e;
  color: #b3452e;
  padding: 9px 36px;
  border-radius: 24px;
  text-decoration: none;
  font-size: 14px;
  transition: .2s;
}

.more-link a:hover {
  background: #b3452e;
  color: #fff;
}

@media(max-width:768px) {
  .case-grid {
    grid-template-columns: 1fr;
  }

}

.lfshow {
  background: #4a4238;
  padding: 58px 0;
}

.lfshow-tit {
  text-align: center;
  font-family: "Noto Serif SC","STSong","SimSun",serif;
  font-size: 28px;
  color: #c9a96a;
  letter-spacing: 6px;
  margin-bottom: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.lfshow-tit:before {
  content: "";
  width: 70px;
  height: 1px;
  background: linear-gradient(90deg,transparent,#c9a96a);
}

.lfshow-tit:after {
  content: "";
  width: 70px;
  height: 1px;
  background: linear-gradient(90deg,#c9a96a,transparent);
}

.lfshow-frame {
  border: 1px solid rgba(201,169,106,.55);
  padding: 40px 46px;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  background: rgba(255,255,255,.02);
}

.jc {
  position: absolute;
  width: 22px;
  height: 22px;
  border-color: #c9a96a;
  border-style: solid;
  border-width: 0;
}

.jc1 {
  top: -2px;
  left: -2px;
  border-top-width: 3px;
  border-left-width: 3px;
}

.jc2 {
  top: -2px;
  right: -2px;
  border-top-width: 3px;
  border-right-width: 3px;
}

.jc3 {
  bottom: -2px;
  left: -2px;
  border-bottom-width: 3px;
  border-left-width: 3px;
}

.jc4 {
  bottom: -2px;
  right: -2px;
  border-bottom-width: 3px;
  border-right-width: 3px;
}

.lfshow-pic img {
  width: 100%;
  border-radius: 8px;
  display: block;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
}

.lfshow-txt p {
  color: #cfc2a8;
  font-size: 14.5px;
  line-height: 2;
  margin-bottom: 14px;
}

.lfshow-txt p.lead {
  color: #ece3cd;
  font-size: 15.5px;
}

.lfshow-feats {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 16px;
  margin-top: 22px;
}

.lfshow-feats>div {
  border-top: 2px solid #c9a96a;
  padding-top: 10px;
}

.lfshow-feats b {
  display: block;
  color: #c9a96a;
  font-size: 15px;
  margin-bottom: 6px;
  font-family: "Noto Serif SC","STSong","SimSun",serif;
  letter-spacing: 3px;
}

.lfshow-feats span {
  color: #a89a80;
  font-size: 12.5px;
  line-height: 1.7;
}

.lfshow-more {
  margin-top: 22px;
}

.lfshow-more a {
  color: #c9a96a;
  font-size: 14px;
  text-decoration: none;
  border-bottom: 1px solid rgba(201,169,106,.4);
  padding-bottom: 2px;
}

@media(max-width:900px) {
  .lfshow-frame {
    grid-template-columns: 1fr;
    padding: 26px 20px;
    gap: 24px;
  }

  .lfshow-pic {
    max-width: 280px;
    margin: 0 auto;
  }

  .lfshow-feats {
    grid-template-columns: 1fr;
  }

  .lfshow-tit {
    font-size: 22px;
    letter-spacing: 3px;
  }

}

.kn-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 6px;
}

.kn-box {
  background: #fff;
  border: 1px solid #e5dcc4;
  border-top: 3px solid #c9a96a;
  border-radius: 6px;
  overflow: hidden;
}

.kn-box h3 {
  margin: 0;
  padding: 13px 16px;
  background: #f5efe0;
  color: #3a352e;
  font-size: 15px;
  letter-spacing: 1px;
  border-bottom: 1px solid #e5dcc4;
}

.kn-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px dashed #e5dcc4;
  text-decoration: none;
  color: #4a4238;
  font-size: 13.5px;
  transition: background .2s;
}

.kn-row:last-of-type {
  border-bottom: none;
}

.kn-row:hover {
  background: #f8f3e6;
}

.kn-row .t {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.kn-row:hover .t {
  color: #b3452e;
}

.kn-row .d {
  color: #a89a80;
  font-size: 11.5px;
  margin-left: 10px;
  flex-shrink: 0;
}

.kn-more {
  text-align: center;
  padding: 12px;
  border-top: 1px solid #e5dcc4;
}

.kn-more a {
  color: #b3452e;
  font-size: 13px;
  text-decoration: none;
}

@media(max-width:768px) {
  .kn-wrap {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .kn-row {
    padding: 11px 14px;
    font-size: 13px;
  }

  .kn-row .d {
    font-size: 11px;
  }

}

/* ===== 全国分院：纯文字卡片，不使用任何图片 ===== */
.branch-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 16px;
}

.branch-card {
  display: block;
  background: #fff;
  border: 1px solid #e5dcc4;
  border-left: 3px solid #c9a96a;
  border-radius: 4px;
  padding: 20px 20px 18px;
  text-decoration: none;
  color: inherit;
  transition: .25s;
}

.branch-card:hover {
  border-left-color: #b3452e;
  box-shadow: 0 8px 22px rgba(140,120,80,.14);
  transform: translateY(-3px);
}

.branch-card h3 {
  font-size: 17px;
  color: #3a352e;
  margin-bottom: 8px;
  letter-spacing: 1px;
  font-family: "Noto Serif SC","STSong","SimSun",serif;
}

.branch-card p {
  font-size: 13px;
  color: #8a8175;
  line-height: 1.7;
  margin: 0;
}

.branch-card .go {
  display: inline-block;
  margin-top: 12px;
  font-size: 12.5px;
  color: #b3452e;
  letter-spacing: 1px;
}

@media(max-width:1000px) {
  .branch-grid { grid-template-columns: repeat(3,1fr); }
}

@media(max-width:760px) {
  .branch-grid { grid-template-columns: repeat(2,1fr); }
  .case-pic { height: 160px; }
}

@media(max-width:520px) {
  .branch-grid { grid-template-columns: 1fr; }
}

/* v76：病例标签改为链接 */
.case-tag {
  text-decoration: none;
}
.case-tag:hover {
  color: #8c6d2a;
  border-color: #d6c295;
}

/* v76：病例卡容器由 a 改为 div，图片与标题各自带链接（避免 a 嵌套 a） */
.case-card .case-pic { display: block; }
.case-card h3 a { color: inherit; text-decoration: none; }
.case-card:hover h3 a { color: #a8873f; }
