/**
 * 对齐赣州人民医院首页布局 — https://www.gzsrmyy.com/index
 * 加载顺序：layout → home-enhance → home-ref-layout
 */

/* 隐藏非参考站区块 */
.hospital-stats {
  display: none !important;
}

/* ========== 重点专科：五卡横排 + 圆形图标 ========== */
@media screen and (min-width: 993px) {
  .main .key_specialty {
    margin-top: -36px;
    position: relative;
    z-index: 2;
    background: transparent;
    box-shadow: none;
    padding: 0;
  }

  .main .key_specialty .mobile_swiper div {
    display: flex !important;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: flex-start;
  }

  .main .key_specialty .mobile_swiper div li {
    width: 18% !important;
    height: 300px !important;
    margin-top: 83px !important;
    padding: 0 10px;
    background: #fff;
    box-shadow: 0 6px 20px rgba(4, 74, 140, 0.1);
    border: none;
    border-radius: 0;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
  }

  .main .key_specialty .mobile_swiper div li p a {
    width: 48% !important;
    float: left;
    font-size: 15px;
  }
}

.sub_nav_box {
  margin-top: -28px !important;
  position: relative;
  z-index: 3;
}

/* ========== 名医专家 ========== */
.main .expert_team {
  margin-top: 40px;
}

.main .expert_team .title_box {
  border-bottom: none;
  margin-bottom: 20px;
}

/* ========== 特色医疗技术：左竖标题 + 右三列列表（参考站横条） ========== */
.main .technology.container {
  width: 100% !important;
  float: none !important;
  clear: both;
  height: 270px !important;
  margin-top: 36px;
  padding-top: 20px;
  display: flex !important;
  box-shadow: 0 6px 14px rgba(51, 51, 51, 0.15);
  border-radius: 0;
}

.main .technology .title {
  width: 106px;
  flex-shrink: 0;
  border-right: 2px solid #efefef;
}

.main .technology ul {
  flex: 1;
  display: flex !important;
  flex-wrap: wrap !important;
  flex-direction: row !important;
  justify-content: space-between;
  align-content: flex-start;
  padding: 20px 24px !important;
  height: 100%;
}

.main .technology ul a {
  width: 31% !important;
  height: 82px !important;
  margin-bottom: 20px !important;
  min-height: 0;
  padding-bottom: 0;
}

/* ========== 医院公告：六栏单行全宽 ========== */
.main .announcement.container {
  width: 100% !important;
  float: none !important;
  clear: both;
  height: auto !important;
  min-height: 460px;
  margin-top: 36px !important;
  padding: 0 !important;
  overflow: visible !important;
}

.main .announcement .announcement_swiper {
  margin-top: 32px !important;
}

.main .announcement .announcement_swiper .lists {
  flex-wrap: nowrap !important;
  justify-content: space-between !important;
  gap: 0 !important;
}

.main .announcement .announcement_swiper .lists ul {
  width: calc(16.666% - 10px) !important;
  min-height: 380px;
  height: auto !important;
  flex-shrink: 0;
  padding: 0 14px;
  box-shadow: 0 13px 18px rgba(142, 142, 142, 0.22);
  border-radius: 0;
  border: none;
}

.main .announcement .announcement_swiper .lists ul:hover {
  transform: none;
}

/* ========== 专题专栏：参考站背景条 + 横滑 ========== */
.special_box_back {
  display: block !important;
  height: 220px !important;
  min-height: 220px !important;
  background: url(/content/main/home/images/back.png) no-repeat center / 100% 100% !important;
  padding-top: 70px !important;
  margin-top: 0 !important;
  top: -26px;
  position: relative;
}

.special_box_back .special_nav::before {
  display: none;
}

.special_box_back .special_nav .hidden_box .special_swiper {
  height: 118px !important;
}

.special_box_back .special_nav .hidden_box .special_swiper .swiper-wrapper {
  display: flex !important;
  flex-wrap: nowrap !important;
  height: 118px !important;
  gap: 0;
}

.special_box_back .special_nav .hidden_box .special_swiper .swiper-wrapper a {
  width: 250px !important;
  min-width: 250px;
  height: 118px !important;
  font-size: 18px;
  border-radius: 0;
  box-shadow: none;
  position: relative;
  color: #fff;
}

.special_box_back .special_nav .hidden_box .special_swiper .swiper-wrapper a::after {
  display: flex !important;
  content: attr(data-title);
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
  padding: 12px;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  background: rgba(4, 74, 140, 0.15);
  line-height: 1.4;
}

/* ========== 监督举报：参考站三列横排 ========== */
.supervise.container {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0;
  background: transparent;
  border-radius: 0;
  padding: 40px 0 !important;
  height: auto;
}

.supervise p {
  width: 32%;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0 12px !important;
  text-align: left;
}

.supervise p::before {
  display: none;
}

.supervise p:hover {
  box-shadow: none;
  border: none;
}

/* ========== 平板 ========== */
@media screen and (min-width: 768px) and (max-width: 992px) {
  .main .key_specialty .mobile_swiper div li {
    width: 31% !important;
    margin-top: 64px !important;
  }

  .main .announcement .announcement_swiper .lists {
    flex-wrap: wrap !important;
  }

  .main .announcement .announcement_swiper .lists ul {
    width: calc(33.333% - 10px) !important;
    margin-bottom: 14px;
  }

  .main .technology.container {
    height: auto !important;
    min-height: 270px;
  }

  .main .technology ul a {
    width: 48% !important;
  }

  .supervise p {
    width: 100%;
    margin-bottom: 20px;
  }
}

/* ========== 手机 ========== */
@media screen and (max-width: 767px) {
  .main .key_specialty {
    margin-top: -16px;
  }

  .main .technology.container {
    height: auto !important;
    flex-direction: column;
  }

  .main .technology .title {
    width: 100%;
    height: auto;
    border-right: none;
    border-bottom: 2px solid #efefef;
    padding: 12px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
  }

  .main .technology .title p {
    width: auto;
    writing-mode: horizontal-tb;
    margin: 0;
  }

  .main .technology ul a {
    width: 100% !important;
  }

  .main .announcement .announcement_swiper .lists {
    flex-wrap: wrap !important;
  }

  .main .announcement .announcement_swiper .lists ul {
    width: 100% !important;
  }

  .special_box_back {
    height: auto !important;
    min-height: 140px !important;
    padding: 32px 0 24px !important;
    background-size: cover !important;
  }

  .special_box_back .special_nav .hidden_box .special_swiper .swiper-wrapper a {
    width: 200px !important;
    min-width: 200px;
    height: 90px !important;
  }
}
