/* =========================================================
   重庆仁品医院官网首页 样式表
   作者：YanGeGe (Alex)
   说明：纯 CSS3，PC 端严格按设计尺寸，移动端(<=768px)自适应堆叠
   ========================================================= */

/* ---------- 基础重置 ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%; /* 防止移动端字体自动放大 */
}

body {
  font-family: "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
  color: #303030;
  background: #fff;
  font-size: 16px;
  line-height: 1.5;
}

img {
  display: block;
  max-width: 100%;
  border: 0;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* 通用主容器：最大 1200px 居中 */
.header-inner,
.nav-inner,
.block-news-guide,
.block-doctors,
.block-ad,
.block-depts,
.block-links,
.block-environment,
.service-inner,
.foot-inner {
  width: 1200px;
  max-width: 100%;
  margin: 0 auto;
}

/* =========================================================
   第 1 块：头部
   ========================================================= */
.site-header {
  width: 100%;
}

.header-inner {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* 左侧 Logo */
.logo img {
  height: auto;
  width: auto;
  max-height: 100%;
}

/* 右侧 电话 / 免费回电 */
.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-phone img {
  height: auto;
  width: auto;
  max-width: 100%;
}

.callback-form {
  display: flex;
  align-items: center;
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
}

.callback-form input {
  width: 150px;
  height: 38px;
  padding: 0 12px;
  border: 0;
  font-size: 14px;
  color: #333;
  outline: none;
  font-family: "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
}

.callback-form input::placeholder {
  color: #999;
}

.callback-form button {
  height: 38px;
  padding: 0 16px;
  border: 0;
  background: #ff7a00;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.25s;
  font-family: "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
}

.callback-form button:hover {
  background: #e96c00;
}

/* ---------- 导航 ---------- */
.site-nav {
  width: 100%;
  height: 66px;
  background: #0168b7;
}

.nav-inner {
  height: 66px;
  display: flex;
  align-items: center;
  position: relative;
}

.nav-list {
  height: 66px;
  display: flex;
  align-items: center;
  width: 100%;
}

.nav-list li:not(.sep) {
  width: 197px;
  text-align: center;
}

.nav-list li a {
  color: #fff;
  font-size: 20px;
  font-family: "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
  padding: 0;
  display: block;
  width: 100%;
  line-height: 66px;
  transition: color 0.2s;
}

.nav-list li a:hover {
  color: #fff;
}

/* 分隔符 | */
.nav-list li.sep {
  color: #fff;
  font-size: 18px;
  opacity: 0.6;
}

/* 移动端汉堡按钮（PC 隐藏） */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 22px;
  background: transparent;
  border: 0;
  cursor: pointer;
  margin-left: 16px;
}

.nav-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background: #0168b7;
  border-radius: 2px;
}

/* =========================================================
   第 2 块：Banner
   ========================================================= */
.banner {
  position: relative;
  width: 100%;
  height: 630px;
  overflow: hidden;
}

.banner-slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.banner-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
}

.banner-slide.active {
  opacity: 1;
}

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

/* 左右箭头 */
.banner-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  font-size: 22px;
  line-height: 48px;
  text-align: center;
  cursor: pointer;
  z-index: 2;
  transition: background 0.25s;
}

.banner-arrow:hover {
  background: rgba(0, 0, 0, 0.6);
}

.banner-prev {
  left: 20px;
}

.banner-next {
  right: 20px;
}

/* 圆点指示器 */
.banner-dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 2;
}

.banner-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #0168b5;
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s;
}

.banner-dots .dot:hover {
  background: #0168b5;
}

.banner-dots .dot.active {
  background: #0168b5;
  border-color: #0168b5;
}

/* =========================================================
   通用区块标题（医院新闻 / 就医指南 / 专家团队 / 医院环境）
   ========================================================= */
.section-title {
  display: flex;
  align-items: baseline;
  margin: 0 -25px 18px -25px;
  padding: 0 25px 12px 25px;
  border-bottom: 1px solid #b5b5b5;
}

.section-title.center {
  justify-content: center;
  position: relative;
}

.section-title h2 {
  font-size: 28px;
  font-weight: bold;
  color: #0068b6;
  font-family: "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
}

.section-title .en {
  font-size: 18px;
  font-weight: normal;
  color: #808080;
  margin-left: 12px;
  font-family: Arial, sans-serif;
}

.section-title .more {
  margin-left: auto;
  font-size: 18px;
  font-weight: normal;
  color: #808080;
}

.section-title.center .more {
  position: absolute;
  right: 0;
  bottom: 12px;
}

/* 医院环境标题右侧：+详情咨询（提高优先级覆盖 .section-title .more 的灰色） */
.section-title .env-more {
  color: #ff5400;
}

/* =========================================================
   第 3 块：医院新闻 + 就医指南
   ========================================================= */
.block-news-guide {
  margin-top: 35px;
  display: flex;
  align-items: stretch;
}

/* 左：医院新闻 */
.news-box {
  width: 670px;
  border-left: 1px solid #b5b5b5;
  border-right: 1px solid #b5b5b5;
  border-bottom: 1px solid #b5b5b5;
  border-top: 3px solid #0168b5;
  padding: 12px 24px 12px 24px;
}

.news-top {
  display: flex;
  gap: 18px;
  margin-bottom: 18px;
}

.news-top-text {
  flex: 1;
}

.news-headline {
  font-size: 24px;
  font-weight: normal;
  color: #0068b6;
  font-family: "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
  margin-bottom: 12px;
}

.news-summary {
  font-size: 20px;
  font-weight: normal;
  color: #303030;
  line-height: 1.7;
}

.news-summary .detail {
  color: #007ad6;
  font-size: 20px;
}

.news-top-img {
  width: 220px;
  flex-shrink: 0;
}

.news-top-img img {
  width: 100%;
  height: auto;
  border: 1px solid #eee;
}

.news-list {
  padding-top: 14px;
}

.news-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px dotted #ddd;
}

.news-list li:last-child {
  border-bottom: none;
}

.news-list li a {
  font-size: 20px;
  color: #303030;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.2s;
}

.news-list li a:hover {
  color: #0068b6;
}

.news-list li .date {
  font-size: 20px;
  color: #808080;
  flex-shrink: 0;
  margin-left: 12px;
}

/* 右：就医指南 */
.guide-box {
  width: 507px;
  margin-left: 20px;
  border-left: 1px solid #b5b5b5;
  border-right: 1px solid #b5b5b5;
  border-bottom: 1px solid #b5b5b5;
  border-top: 3px solid #0168b5;
  padding: 12px 24px 12px 24px;
}

.guide-list {
  display: flex;
  flex-wrap: wrap;
}

.guide-item {
  width: 33.333%;
  margin-bottom: 32px;
}

.guide-item a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

/* 图标：默认 / 悬停 切换，按原尺寸显示（126×126） */
.guide-item .ico-default,
.guide-item .ico-hover {
  width: auto;
  height: auto;
  max-width: 100%;
  transition: opacity 0.2s;
}

.guide-item .ico-hover {
  display: none;
}

.guide-text {
  font-size: 20px;
  font-weight: normal;
  color: #303030;
  transition: color 0.2s;
}

/* 悬停：切换图标 + 文字变色 */
.guide-item a:hover .ico-default {
  display: none;
}

.guide-item a:hover .ico-hover {
  display: block;
}

.guide-item a:hover .guide-text {
  color: #0068b6;
}

/* =========================================================
   第 4 块：专家团队
   ========================================================= */
.block-doctors {
  height: 560px;
  border-left: 1px solid #b5b5b5;
  border-right: 1px solid #b5b5b5;
  border-bottom: 1px solid #b5b5b5;
  border-top: 3px solid #0168b5;
  margin-top: 35px;
  padding: 12px 24px;
}

.doctor-list {
  overflow: hidden;
}

.doctor-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 16px;
}

.doctor-card {
  width: 20%;
  flex-shrink: 0;
  text-align: center;
  padding: 0;
  background: #ececec;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  transition: box-shadow 0.25s, transform 0.25s;
}

.doctor-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  transform: translateY(-4px);
}

.doctor-card img {
  width: 100%;
  max-width: 100%;
  height: auto;
}

/* 专家图片已去掉指上放大效果 */

.doctor-name {
  font-size: 22px;
  color: #303030;
  font-weight: bold;
  margin: 12px 0 6px;
  font-family: "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
}

.doctor-title {
  width: 178px;
  font-size: 16px;
  color: #303030;
  margin: 0 auto 12px auto;
  text-align: center;
}

.doctor-title.single-line {
  margin-top: 10px;
}

.doctor-btns {
  display: flex;
  justify-content: space-between;
  gap: 2px;
  margin-top: auto;
}

.doctor-btns a {
  width: 117px;
  height: 43px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: #fff;
  border-radius: 0;
  transition: background 0.2s;
}

/* 专家团队轮换小圆点指示器 */
.doctor-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
}

.doctor-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #0168b5;
  cursor: pointer;
  transition: background 0.25s;
}

.doctor-dots .dot:hover,
.doctor-dots .dot.active {
  background: #0168b5;
}

.btn-register {
  background: #f68100;
  color: #fff;
}

.btn-register:hover {
  background: #e07400;
}

.btn-consult {
  background: #027bd6;
  color: #fff;
}

.btn-consult:hover {
  background: #0169b8;
}

/* =========================================================
   第 5 块：广告条
   ========================================================= */
.block-ad {
  margin: 20px auto;
}

.block-ad a,
.block-ad img {
  width: 100%;
  height: auto;
  display: block;
}

/* =========================================================
   第 6 块：四个科室
   ========================================================= */
.block-depts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.dept-card {
  border: 1px solid #b5b5b5;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.dept-top {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 18px 0 0;
  background: #0168b7;
}

.dept-top .dept-bg {
  width: auto;
  height: auto;
  max-height: 62px;
  display: block;
}

.dept-title {
  color: #fff;
  font-size: 24px;
  font-weight: bold;
  font-family: "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
}

.dept-btn {
  margin-left: auto;
  color: #fff;
  font-size: 19px;
  font-weight: bold;
  font-family: "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
  background: #3cb371;
  padding: 6px 18px;
  border-radius: 0;
  transition: background 0.2s;
}

.dept-btn:hover {
  background: #34a062;
}

.dept-body {
  flex: 1;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
}

.dept-content {
  width: auto;
  max-width: 100%;
  height: auto;
  display: block;
  align-self: flex-start;
  flex-shrink: 0;
}

.dept-desc {
  font-size: 18px;
  color: #303030;
  font-family: "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
  line-height: 1.8;
}

.dept-extra {
  font-size: 18px;
  color: #303030;
  margin-top: 10px;
}

/* 科室卡片内部第一排：左图 + 右子栏目（图片与子栏目顶部对齐） */
.dept-row1 {
  width: 555px;
  max-width: 100%;
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

/* 右侧子栏目：可自动换行；短关键词一排 3 个，长关键词一排 2 个（不固定像素宽） */
.dept-sub {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-content: flex-start;
  flex: 1;
  min-width: 0;
}

.dept-sub .sub-item {
  flex: 1 1 calc(33.333% - 6.67px);
}

.dept-sub.is-2col .sub-item {
  flex: 1 1 calc(50% - 5px);
}

.sub-item {
  min-height: 36px;
  box-sizing: border-box;
  background: #e2f5f3;
  color: #303032;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 16px;
  line-height: 1.2;
  padding: 4px 10px;
  border-radius: 0;
  text-decoration: none;
}

/* 科室卡片内部第二排：新闻列表 */
.dept-news {
  margin-top: 15px;
  list-style: none;
  padding: 0;
}

.dept-news li {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 0;
  border-bottom: 1px dashed #ccc;
  font-size: 14px;
  color: #303032;
}

.dept-news li:last-child {
  border-bottom: none;
}

.dept-news .n-main {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dept-news .n-date {
  margin-left: auto;
  color: #808080;
  font-size: 13px;
  white-space: nowrap;
}

/* =========================================================
   第 7 块：三张图链接
   ========================================================= */
.block-links {
  margin-top: 20px;
  display: flex;
  gap: 15px;
}

.block-links a {
  flex: 1;
}

.block-links img {
  width: 100%;
  height: auto;
  transition: opacity 0.25s;
}

.block-links a:hover img {
  opacity: 0.85;
}

/* =========================================================
   第 8 块：医院环境
   ========================================================= */
.block-environment {
  border-left: 1px solid #b5b5b5;
  border-right: 1px solid #b5b5b5;
  border-bottom: 1px solid #b5b5b5;
  border-top: 3px solid #0168b5;
  margin-top: 35px;
  padding: 12px 24px;
}

.env-list {
  display: flex;
  justify-content: space-between;
  gap: 13px;
}

.env-list img {
  width: auto;
  height: auto;
  max-width: 100%;
  transition: transform 0.25s;
}

.env-list img:hover {
  transform: scale(1.02);
}

/* =========================================================
   第 9 块：服务条
   ========================================================= */
.block-service {
  width: 100%;
  height: 103px;
  background: #0168b7;
  margin-top: 35px;
}

.service-inner {
  height: 103px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 90px;
}

.service-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.service-item img {
  width: auto;
  height: auto;
  max-height: 85px;
}

.service-text .s-label {
  font-size: 20px;
  color: #fff;
  font-family: "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
}

.service-text .s-value {
  font-size: 30px;
  color: #fff;
  font-family: "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
}

/* =========================================================
   第 10 块：底部
   ========================================================= */
.site-foot {
  padding: 40px 0;
  background: #f7f7f7;
  border-top: 2px solid #0168b7;
}

.foot-inner {
  height: 385px;
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

/* 左侧 自助挂号 */
.foot-left {
  width: 420px;
  flex-shrink: 0;
}

.foot-left-img {
  width: auto;
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  margin-bottom: 12px;
  display: block;
}

.foot-form-title {
  font-size: 24px;
  color: #007ad6;
  font-family: "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
  text-align: center;
}

.foot-hr {
  border: 0;
  border-top: 2px solid #007ad6;
  margin: 8px 0 16px;
}

.appointment-form .form-row {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}

.appointment-form label {
  width: 80px;
  font-size: 16px;
  color: #303030;
  flex-shrink: 0;
}

.appointment-form input {
  flex: 1;
  height: 36px;
  padding: 0 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 15px;
  font-family: "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
  outline: none;
}

.appointment-form input:focus {
  border-color: #007ad6;
}

.form-btns {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 6px;
}

.btn-submit,
.btn-reset {
  padding: 10px 52px;
  border: 0;
  border-radius: 4px;
  font-size: 16px;
  color: #fff;
  cursor: pointer;
  font-family: "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
  transition: background 0.2s;
}

.btn-submit {
  background: #0168b7;
}

.btn-submit:hover {
  background: #015296;
}

.btn-reset {
  background: #ff7a00;
}

.btn-reset:hover {
  background: #e96c00;
}

/* 右侧 */
.foot-right-wrap {
  flex: 1;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 50px;
  margin-top: 100px;
}

/* 右侧两块各占一半宽度，避免时间等文字被挤掉行 */
.footer-center,
.footer-right {
  flex: 1;
  min-width: 0;
}

.footer-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
}

.footer-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-label {
  font-size: 17px;
  color: #303030;
  font-family: "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
}

.footer-phone {
  font-size: 22px;
  color: #ff7a00;
  font-weight: bold;
}

/* 咨询热线行：标签与号码按基线对齐，避免大字号号码视觉下沉；图标仍贴顶部 */
.footer-phone-line {
  align-items: baseline;
}

.footer-phone-line .footer-icon {
  align-self: flex-start;
  margin-top: 2px;
}

.footer-text {
  font-size: 17px;
  color: #555;
  line-height: 1.6;
}

.footer-links {
  font-size: 16px;
  color: #555;
  margin-bottom: 8px;
  margin-left: 32px;
}

.footer-links a {
  color: #555;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #0068b6;
}

/* =========================================================
   移动端自适应（<=768px）
   ========================================================= */
@media (max-width: 768px) {
  body {
    font-size: 14px;
  }

  /* 头部：堆叠 */
  .header-inner {
    height: auto;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    padding: 16px;
    gap: 12px;
  }

  .header-inner .logo {
    flex-shrink: 1;
    min-width: 0;
  }

  .logo img {
    height: auto;
    max-height: 44px;
  }

  .header-right {
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: 0 10px;
  }

  .header-phone img {
    height: 34px;
  }

  .callback-form input {
    width: 130px;
    height: 34px;
  }

  .callback-form button {
    height: 34px;
    padding: 0 12px;
    font-size: 14px;
  }

  /* 导航：汉堡菜单（置于 logo 右侧，正方形） */
  .nav-toggle {
    display: flex;
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    margin-left: auto;
  }

  .nav-inner {
    justify-content: flex-start;
    height: auto;
  }

  /* 移动端隐藏空蓝条，下拉菜单从 header 下方展开 */
  .site-nav {
    background: transparent;
    height: auto;
  }

  .nav-list {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    flex-direction: column;
    background: #0168b7;
    z-index: 999;
    height: auto;
  }

  .nav-list.open {
    display: flex;
  }

  .nav-list li,
  .nav-list li.sep {
    width: 100%;
    text-align: center;
    display: none; /* 分隔符在移动端隐藏 */
  }

  .nav-list li:not(.sep) {
    display: block;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }

  .nav-list li a {
    line-height: 48px;
    font-size: 16px;
  }

  /* Banner：移动端降低高度 */
  .banner {
    height: 220px;
  }

  /* 第 3 块：堆叠 */
  .block-news-guide {
    height: auto;
    flex-direction: column;
    padding: 0 14px;
  }

  .news-box,
  .guide-box {
    width: 100%;
    height: auto;
    margin: 0 0 20px 0;
  }

  .news-top {
    flex-direction: column;
  }

  .news-top-img {
    width: 100%;
  }

  .guide-list {
    justify-content: space-between;
  }

  .guide-item {
    width: 33.333%;
  }

  /* 第 4 块：专家横向滚动 */
  .block-doctors {
    height: auto;
    padding: 18px 14px;
  }

  .doctor-list {
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
  }

  .doctor-card {
    width: 60%;
    flex-shrink: 0;
  }

  .doctor-dots {
    display: none;
  }

  .doctor-card img {
    width: 100%;
    height: auto;
  }

  /* 第 5 块 */
  .block-ad {
    height: auto;
    padding: 0 14px;
  }

  .block-ad,
  .block-ad img {
    height: auto;
  }

  /* 第 6 块：单列堆叠 */
  .block-depts {
    height: auto;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    padding: 0 14px;
  }

  .dept-top {
    height: auto;
    padding: 0 12px 0 0;
  }

  .dept-title {
    font-size: 20px;
  }

  .dept-btn {
    padding: 8px 26px;
    font-size: 17px;
  }

  .dept-content {
    align-self: center;
  }

  /* 第 7 块：纵向堆叠 */
  .block-links {
    flex-direction: column;
    padding: 0 14px;
    gap: 12px;
  }

  /* 第 8 块：横向滚动 */
  .block-environment {
    height: auto;
    padding: 18px 14px;
  }

  .env-list {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .env-list img {
    flex: 0 0 auto;
    max-height: 150px;
  }

  /* 第 9 块：纵向堆叠 */
  .block-service {
    height: auto;
    padding: 20px 0;
  }

  .service-inner {
    flex-direction: column;
    gap: 20px;
    height: auto;
  }

  /* 第 10 块：堆叠 */
  .site-foot {
    padding: 30px 14px;
  }

  .foot-inner {
    height: auto;
    flex-direction: column;
    gap: 30px;
  }

  .foot-left {
    width: 100%;
  }

  /* 移动端：底部 logo 与 提交/重置 居中 */
  .foot-left-img {
    margin-left: auto;
    margin-right: auto;
  }

  .form-btns {
    justify-content: center;
  }

  .foot-right-wrap {
    flex-direction: column;
    gap: 18px;
    margin-top: 0;
  }
}

/* 更小屏幕（<=480px）微调 */
@media (max-width: 480px) {
  .guide-item {
    width: 33.333%;
  }

  .section-title h2 {
    font-size: 22px;
  }

  .service-text .s-value {
    font-size: 22px;
  }
}

/* =========================================================
   子页：专家团队 (zjtd.html)
   ========================================================= */

/* 导航当前项高亮（仅保留 active，无背景，与桌面端默认一致） */
.nav-list li a.active {
  color: #fff;
}

/* 子页 Banner：复用首页 .banner 全宽样式，单图按原比例铺满（不裁切） */
.sub-banner {
  height: auto;
  overflow: visible;
  background: #fff;
}

.sub-banner img {
  width: 100%;
  height: auto;
  display: block;
}

/* 页面主容器 */
.page-main {
  width: 100%;
  background: #fff;
  padding: 20px 0 40px;
}

.page-container {
  width: 1200px;
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

/* 左侧导航（对齐参考站 284px） */
.page-sidebar {
  width: 284px;
  flex-shrink: 0;
}

.side-appoint,
.side-illness {
  margin-bottom: 10px;
}

.side-appoint img,
.side-illness img {
  width: 100%;
  height: auto;
  display: block;
}

.side-title {
  width: 284px;
  height: 80px;
  line-height: 80px;
  background: #017ad7;
  color: #fff;
  font-size: 24px;
  font-weight: normal;
  text-align: center;
  font-family: "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
  margin-bottom: 10px;
}

.side-menu {
  border: 0;
  background: transparent;
}

.side-menu li {
  width: 284px;
  height: 67px;
  line-height: 67px;
  background: #edf2f8;
  border-bottom: 1px solid #ffffff;
}

.side-menu li:last-child {
  border-bottom: 0;
}

.side-menu li a {
  display: block;
  width: 100%;
  height: 67px;
  line-height: 67px;
  padding: 0;
  color: #303030;
  font-size: 24px;
  text-align: center;
  transition: color 0.2s, background 0.2s;
}

.side-menu li a:hover,
.side-menu li.active a {
  color: #017ad7;
  background: transparent;
}

/* 右侧内容 */
.page-content {
  flex: 1;
  min-width: 0;
}

/* 当前位置（面包屑）—— 对齐参考站 list_3 */
.list-main {
  width: 100%;
  max-width: 860px;
  flex: 1;
}

.breadcrumb-bar {
  width: 100%;
  height: 40px;
  display: flex;
  align-items: center;
}

.breadcrumb-icon {
  width: auto;
  height: 22px;
  margin-right: 8px;
}

.breadcrumb-text {
  font-size: 20px;
  font-family: "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
  color: #303030;
}

.breadcrumb-text a {
  color: #303030;
  transition: color 0.2s;
}

.breadcrumb-text a:hover {
  color: #0168b7;
}

.breadcrumb-line {
  width: 860px;
  height: 10px;
  background: #e6e6e6;
  margin-top: 8px;
  margin-bottom: 0;
}

/* 专家列表 —— 对齐参考站 list_3 规格 */
.expert-list-page {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 15px;
  margin-left: 20px;
}

.expert-card-page {
  width: 410px;
  height: 220px;
  display: flex;
  border: 1px solid #e6e6e6;
  background: #fff;
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.expert-card-page:hover {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.expert-card-photo {
  width: 160px;
  height: 220px;
  flex-shrink: 0;
  overflow: hidden;
  background: #cdcdcd;
}

.expert-card-photo a {
  display: block;
}

.expert-card-photo img {
  width: 160px;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}

.expert-card-page:hover .expert-card-photo img {
  transform: scale(1.05);
}

.expert-card-info {
  flex: 1;
  padding: 15px;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.expert-card-head {
  display: flex;
  align-items: flex-start;
}

.expert-card-name {
  flex-shrink: 0;
  font-size: 22px;
  font-family: "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
  color: #0168b7;
  font-weight: normal;
  line-height: 1.3;
  margin-right: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.expert-card-title {
  min-width: 0;
  font-size: 16px;
  font-family: "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
  color: #303030;
  font-weight: normal;
  line-height: 1.5;
}

/* 专家信息区分割线（对齐参考站 <img hr-zjdt1132.jpg>，紧跟 expert-card-head 后） */
.expert-card-head + img {
  display: block;
  width: 100%;
  height: 3px;
  margin: 6px 0 10px;
}

.expert-card-specialty {
  font-size: 15px;
  font-family: "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
  color: #808080;
  line-height: 1.6;
  flex: 1;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.expert-card-specialty .read-more {
  color: #0168b7;
  margin-left: 4px;
}

.expert-card-specialty .read-more:hover {
  text-decoration: underline;
}

.expert-card-buttons {
  display: flex;
  gap: 2px;
}

.expert-card-buttons a {
  flex: 1;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-family: "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
  color: #fff;
  text-decoration: none;
  transition: opacity 0.2s;
}

.expert-card-buttons a:hover {
  opacity: 0.85;
}

.btn-consult-page {
  background: #0168b7;
}

.btn-appoint-page {
  background: #f58100;
}

/* 分页 —— 对齐参考站 */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 35px;
  padding-bottom: 20px;
  font-family: "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
  font-size: 14px;
}

.pagination .page-status {
  color: #808080;
  margin-right: 6px;
}

.pagination .page-numbar {
  display: inline-flex;
  gap: 6px;
  margin: 0 2px;
}

.pagination .page-index a,
.pagination .page-pre a,
.pagination .page-next a,
.pagination .page-last a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 36px;
  padding: 0 12px;
  border: 1px solid #dcdcdc;
  border-radius: 3px;
  color: #303030;
  text-decoration: none;
  transition: border-color .2s, color .2s;
}

.pagination .page-index a:hover,
.pagination .page-pre a:hover,
.pagination .page-next a:hover,
.pagination .page-last a:hover {
  border-color: #0168b7;
  color: #0168b7;
}

.pagination .page-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 36px;
  padding: 0 10px;
  border: 1px solid #dcdcdc;
  border-radius: 3px;
  color: #303030;
  text-decoration: none;
  transition: border-color .2s, color .2s, background .2s;
}

.pagination .page-num:hover {
  border-color: #0168b7;
  color: #0168b7;
}

.pagination .page-num-current {
  background: #0168b7;
  border-color: #0168b7;
  color: #fff;
}

/* 子页移动端适配 */
@media (max-width: 768px) {
  .page-container {
    flex-direction: column;
    padding: 0 14px;
  }

  .page-sidebar {
    width: 100%;
  }

  .side-title {
    width: 100% !important;
  }

  .side-menu {
    display: flex;
    flex-wrap: wrap;
  }

  .side-menu li {
    flex: 1 1 50%;
    width: auto !important;
    border-bottom: 1px solid #e5e5e5;
  }

  .side-menu li:nth-child(odd) {
    border-right: 1px solid #e5e5e5;
  }

  .breadcrumb-bar {
    flex-wrap: wrap;
    height: auto;
  }

  .breadcrumb-text {
    font-size: 14px;
  }

  .breadcrumb-line {
    width: 100%;
    height: 5px;
  }

  .expert-list-page {
    flex-direction: column;
    gap: 15px;
  }

  .expert-card-page {
    width: 100%;
    height: auto;
    min-height: 160px;
  }

  .expert-card-photo {
    width: 120px;
    height: 160px;
  }

  .expert-card-photo img {
    width: 120px;
    height: 160px;
  }

  .expert-card-info {
    padding: 12px;
  }

  .expert-card-name {
    font-size: 18px;
    margin-right: 6px;
  }

  .expert-card-title {
    font-size: 14px;
  }

  .expert-card-specialty {
    font-size: 13px;
    -webkit-line-clamp: 2;
    margin-bottom: 10px;
  }

  .expert-card-buttons a {
    height: 32px;
    font-size: 13px;
  }

  .pagination {
    flex-wrap: wrap;
  }
}

/* ========== 子页：新闻列表（栏目页） ========== */
.news-list-page {
  margin-top: 15px;
  margin-left: 20px;
}

.news-item-page {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid #e5e5e5;
}

.news-item-page:last-child {
  border-bottom: 0;
}

/* 左侧日期块 */
.news-date-box {
  position: relative;
  flex-shrink: 0;
  width: 85px;
  height: 80px;
  background: #f2f4f6;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #303030;
  font-family: Arial, sans-serif;
  font-weight: bold;
  line-height: 1.2;
}

/* 左上角蓝色 L 装饰 */
.news-date-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 80px;
  background: #007ad7;
}
.news-date-box::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 85px;
  height: 4px;
  background: #007ad7;
}

.news-date-box .news-year {
  font-size: 24px;
  margin-bottom: 4px;
  color: #303030;
}

.news-date-box .news-day {
  font-size: 18px;
  color: #303030;
}

/* 中间内容区 */
.news-content-box {
  flex: 0 0 567px;
  height: 116px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.news-title {
  font-size: 20px;
  font-weight: bold;
  color: #303030;
  line-height: 1.5;
  margin: 0 0 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.news-desc {
  font-size: 18px;
  color: #808080;
  line-height: 1.6;
  margin: 8px 0 6px;
}

.news-desc .read-more {
  color: #e63946;
  font-size: 13px;
  margin-left: 4px;
}

/* 右侧缩略图 */
.news-thumb-box {
  flex-shrink: 0;
  width: 172px;
  height: 116px;
  overflow: hidden;
}

.news-thumb-box img {
  width: 172px;
  height: 116px;
  object-fit: cover;
}

/* 新闻分页（简化版） */
.news-pagination {
  margin-top: 20px;
  margin-left: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.news-pagination .page-count {
  font-size: 13px;
  color: #303030;
  margin-right: 6px;
}

/* 移动端：新闻列表 */
@media (max-width: 768px) {
  .news-list-page {
    margin-left: 0;
  }

  .news-item-page {
    display: grid;
    grid-template-columns: 50px 1fr 60px;
    grid-template-rows: auto;
    gap: 8px;
    align-items: center;
    padding: 12px 0;
  }

  .news-date-box {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
  }

  .news-date-box::before {
    width: 3px;
    height: 50px;
  }
  .news-date-box::after {
    width: 50px;
    height: 3px;
  }

  .news-date-box .news-year {
    font-size: 13px;
    margin-bottom: 2px;
  }

  .news-date-box .news-day {
    font-size: 11px;
  }

  .news-content-box {
    min-width: 0;
    overflow: hidden;
    height: auto;
  }

  .news-thumb-box {
    width: 60px;
    height: 50px;
    flex-shrink: 0;
    overflow: hidden;
  }

  .news-thumb-box img {
    width: 60px;
    height: 50px;
  }

  .news-title {
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
    margin-bottom: 4px;
  }

  .news-desc {
    font-size: 11px;
    color: #808080;
    line-height: 1.5;
    margin: 3px 0 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .news-desc .read-more {
    font-size: 11px;
    color: #e63946;
    margin-left: 2px;
  }

  .news-pagination {
    margin-left: 0;
  }
}

/* ========== 文章详情（栏目页） ========== */
.article-detail {
  width: 790px;
  margin-left: 25px;
  padding: 30px 0 20px;
}

/* 文章标题 */
.article-detail-title {
  font-size: 24px;
  font-weight: normal;
  color: #0084ea;
  text-align: center;
  line-height: 1.5;
  margin-bottom: 15px;
}

/* 元信息行 */
.article-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e6e6e6;
  margin-bottom: 30px;
}

.article-meta .meta-item {
  font-size: 14px;
  color: #808080;
}

/* 正文 */
.article-body {
  font-size: 16px;
  color: #303030;
  line-height: 2;
  text-align: justify;
}

.article-body p {
  margin-bottom: 12px;
  font-size: 18px;
}

.article-body img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
}

.article-body a {
  color: #0084ea;
  text-decoration: none;
}

.article-body a:hover {
  text-decoration: underline;
}

/* 上/下篇导航 */
.article-nav {
  margin-top: 40px;
  padding-top: 25px;
  border-top: 1px solid #e6e6e6;
}

.article-nav-item {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 12px;
  font-size: 15px;
  color: #303030;
}

.nav-star {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #cfcfcf;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.nav-star::before {
  content: "";
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
}

/* 上一篇：三角朝上 */
.nav-star.up::before {
  border-bottom: 7px solid #000;
}

/* 下一篇：三角朝下 */
.nav-star.down::before {
  border-top: 7px solid #000;
}

.nav-label {
  color: #303030;
  flex-shrink: 0;
}

.article-nav-item a {
  color: #0084ea;
  text-decoration: none;
  font-size: 20px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  min-width: 0;
}

.article-nav-item a:hover {
  color: #0068b7;
  text-decoration: underline;
}

/* 文章页移动端适配 */
@media (max-width: 768px) {
  .article-detail {
    width: 100%;
    margin-left: 0;
    padding: 12px 0 20px;
  }

  .article-detail-title {
    font-size: 18px;
    text-align: left;
    line-height: 1.5;
    margin-bottom: 12px;
  }

  .article-meta {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    gap: 4px 12px;
    padding-bottom: 12px;
    margin-bottom: 18px;
  }

  .article-meta .meta-item {
    font-size: 12px;
  }

  .article-body {
    font-size: 15px;
    color: #303030;
    line-height: 1.8;
    text-align: left;
  }

  .article-body p {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 10px;
    text-align: justify;
  }

  .article-body img {
    max-width: 100%;
    height: auto;
    margin: 8px auto;
  }

  .article-body a {
    font-size: 14px;
    word-break: break-all;
  }

  .article-nav {
    margin-top: 25px;
    padding-top: 15px;
  }

  .article-nav-item {
    font-size: 13px;
    flex-wrap: wrap;
    gap: 4px 6px;
    margin-bottom: 10px;
  }

  .article-nav-item a {
    font-size: 13px;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    word-break: break-all;
  }

  .article-nav-item .nav-label {
    flex-shrink: 0;
  }
}
/* ===== 弹窗样式（预约挂号 / 免费回电）===== */
.yygh-mask{position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,.55);display:none;align-items:center;justify-content:center;z-index:99999;}
.yygh-mask.show{display:flex;}
.yygh-box{background:#fff;width:360px;max-width:92vw;border-radius:10px;padding:24px 22px;position:relative;box-shadow:0 10px 40px rgba(0,0,0,.25);}
.yygh-close{position:absolute;top:8px;right:14px;font-size:22px;color:#999;cursor:pointer;background:none;border:none;}
.yygh-title{font-size:18px;font-weight:700;color:#c0392b;margin-bottom:16px;text-align:center;}
.yygh-row{margin-bottom:12px;}
.yygh-row label{display:block;font-size:14px;color:#333;margin-bottom:6px;}
.yygh-row input,.yygh-row textarea{width:100%;box-sizing:border-box;padding:9px 10px;border:1px solid #ddd;border-radius:6px;font-size:14px;outline:none;}
.yygh-row input:focus,.yygh-row textarea:focus{border-color:#c0392b;}
.yygh-btns{display:flex;gap:10px;margin-top:6px;}
.yygh-btns button{flex:1;padding:10px 0;border:none;border-radius:6px;font-size:15px;cursor:pointer;}
.yygh-submit{background:#c0392b;color:#fff;}
.yygh-reset{background:#eee;color:#555;}
.yygh-msg{font-size:13px;margin-top:8px;min-height:18px;text-align:center;}
.yygh-msg.ok{color:#27ae60;}
.yygh-msg.err{color:#c0392b;}

