@media (max-width: 767px) {
  *, *::before, *::after { box-sizing: border-box; }
  html, body { max-width: 100%; overflow-x: hidden; }
  img, video, iframe, table { height: auto; max-width: 100%; }
  .layout, .son-contents { margin-left: auto !important; margin-right: auto !important; max-width: none !important; width: calc(100% - 32px) !important; }
  .header-top, .header .logo-row .search, .header-nav .logo { display: none; }
  .header { min-height: 56px; position: relative; }
  .header-nav { background: #007d72; min-height: 56px; }
  .wap-nav-toggle { appearance: none; background: transparent; border: 0; color: #fff; display: block; font-size: 16px; height: 56px; margin-left: auto; padding: 0 18px; }
  .main-nav { background: #007d72; display: none; left: 0; position: absolute; top: 56px; width: 100%; z-index: 30; }
  .main-nav.wap-nav-open { display: block; }
  .main-nav > ul, .main-nav > ul.layout { display: block; width: 100%; }
  .main-nav > ul > li { border-top: 1px solid rgba(255,255,255,.18); float: none; height: auto; line-height: 1.35; margin: 0; width: 100%; }
  .main-nav > ul > li > a { color: #fff; display: block; font-size: 16px; padding: 14px 18px; }
  .main-nav .subnav { display: none !important; }
  #index-banner, #index-banner #slider, #index-banner .slider-item { height: 210px; min-width: 0; }
  #index-banner .slider-item { background-position: center; background-size: cover; }
  .work-icon, .work-icon .layout, .work-icon ul.left { height: auto; width: 100%; }
  .work-icon ul.left { display: grid; grid-template-columns: repeat(3, 1fr); padding: 10px 8px; }
  .work-icon ul.left li { float: none; margin: 0; padding: 8px 2px; width: auto; }
  .work-icon ul.left li div { font-size: 13px; }
  #index-news, #index-area, #index-research, #index-party { min-width: 0; }
  #index-news .layout, #index-area .layout, #index-research .layout, #index-party .layout { width: calc(100% - 32px); }
  #index-news .top .left, #index-news .top .right, #index-area .bottom .left, #index-area .bottom .right, #index-research .inner .left, #index-research .inner .right { float: none; width: 100%; }
  #index-news .top .slider { min-height: 0; }
  #index-news .top .slider .image, #index-news .top .slider .image img { height: 190px; width: 100%; }
  #index-news .top .right { margin-top: 18px; }
  #index-news .top .right .index-common-list li a .title { max-width: calc(100vw - 140px); }
  #index-news .bottom .slider-inner, #index-news .bottom .chunk { float: none; width: 100%; }
  #index-area .bottom .left li { float: none; width: 100%; }
  #index-area .bottom .right { min-height: 250px; padding: 22px 16px; }
  #index-research .inner .right { display: flex; gap: 12px; margin-top: 16px; }
  #index-research .inner .right li { float: none; width: 50%; }
  #index-party .resource .slider-inner > ul, #index-party .doctor-overview { gap: 12px; }
  #index-party .resource .slider-inner > ul > li, #index-party .doctor-overview .doctor-card { width: calc(50% - 6px); }
  .son-banner { background-position: center; font-size: 24px; height: 130px; line-height: 130px; min-width: 0; }
  .son-outside { background: none !important; min-width: 0; padding-bottom: 28px; }
  .son-nav, .son-navs { height: auto !important; width: 100% !important; }
  .son-navs ul { display: flex; flex-wrap: wrap; padding: 8px 16px; }
  .son-navs li { float: none; margin: 4px; width: calc(50% - 8px); }
  .son-navs li a { display: block; font-size: 14px; padding: 9px 6px; }
  .son-adress { font-size: 13px; padding: 14px 0; }
  .son-adress img { width: 18px; }
  .news-information, .son-cont, .doctor-lines, .department-list, .search-result { width: 100% !important; }
  .news-information { padding: 0 4px; }
  .news-information-tit h1, .son-jj-tit { font-size: 22px; line-height: 1.45; }
  .news-information-cont, .conts { font-size: 16px; line-height: 1.8; overflow-wrap: anywhere; }
  .doctor-lines ul { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .doctor-lines li { float: none !important; height: auto !important; margin: 0 !important; width: auto !important; }
  .doctor-msg { min-height: 0; width: 100% !important; margin: 0 !important; padding: 12px; }
  .son-cont-news li a { display: block; }
  .son-cont-news li img { float: none !important; width: 100% !important; height: auto !important; }
  .news-right { float: none !important; width: 100% !important; padding: 12px 0 0; }
  .new-discrip { padding-bottom: 12px; }
  .son-cont-news li a .new-time span { display: block; float: none !important; margin-top: 6px; }
  .footer, .footer-info, .footlinks { min-width: 0; }
  .footer-info .layout { padding: 22px 0; }
  .footer-left, .footer-middle, .footer-wei { float: none; margin: 0 0 18px; width: 100%; }
  .footer-middle dl { display: block; }
}

@media (min-width: 768px) {
  .wap-nav-toggle {
    display: none;
  }

  .header .layout {
    min-width: 0;
    width: min(1200px, calc(100% - 40px));
  }

  .header .logo-row .search {
    width: min(320px, 34vw);
  }

  .header .header-nav {
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #d8e4e1;
    background: #fff;
  }

  .header .header-nav .nav {
    background: #fff;
  }

  .header .header-nav .nav .nav-ul {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    width: min(1200px, calc(100% - 40px));
    padding-left: 205px;
    text-align: left;
  }

  .header .header-nav .nav .nav-ul::after {
    display: none;
  }

  .header .header-nav .nav .nav-ul > li {
    flex: 0 0 auto;
  }

  .header .header-nav .nav .nav-ul > li > a {
    display: block;
    padding: 9px clamp(5px, .65vw, 12px);
    color: #1f625e;
    font-size: clamp(12px, 1.12vw, 16px);
    line-height: 32px;
    white-space: nowrap;
  }

  .header .header-nav .nav .nav-ul > li.cur > a,
  .header .header-nav .nav .nav-ul > li > a:hover {
    color: #008f84;
  }
}

@media (min-width: 768px) and (max-width: 1199px) {
  html,
  body {
    overflow-x: hidden;
  }

  .layout {
    min-width: 0 !important;
    width: calc(100% - 40px) !important;
  }

  #index-banner,
  #index-banner #slider,
  #index-banner .slider-item,
  #index-news,
  #index-area,
  #index-research,
  #index-party {
    min-width: 0 !important;
  }

  #index-banner .slider-item {
    background-position: center !important;
    background-size: cover !important;
  }

  #index-banner .slide-txt {
    display: none !important;
  }
}
