@charset "UTF-8";
/* 响应式一套站：在保留 PC 布局基础上适配手机/平板 */

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

img, video, iframe {
  max-width: 100%;
}

.mobile-nav-toggle {
  display: none;
  position: absolute;
  right: 12px;
  top: 50%;
  z-index: 120;
  width: 40px;
  height: 40px;
  margin-top: -20px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.mobile-nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: #fff;
  transition: transform .2s ease, opacity .2s ease;
}

.mobile-nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.mobile-nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.new_header .mobile-nav-toggle span {
  background: #0271a5;
}

.mobile-book-list {
  display: none;
}

@media screen and (max-width: 1024px) {
  .w1100,
  .wrapper,
  .common-head > article,
  .new_header .wrapper {
    width: 100% !important;
    max-width: 100%;
    box-sizing: border-box;
    padding-left: 12px;
    padding-right: 12px;
  }

  .main-content {
    padding: 20px 0 24px;
  }

  .main-content .common-left-menu {
    float: none;
    width: 100%;
    margin-bottom: 16px;
  }

  .main-content .common-left-menu menu {
    min-height: 0;
    display: flex;
    flex-wrap: wrap;
    overflow-x: auto;
  }

  .main-content .common-left-menu menu a,
  .main-content .common-left-menu menu .aWrapper {
    width: auto;
    min-width: 96px;
    height: 44px;
    line-height: 44px;
    flex: 1 0 auto;
  }

  .main-content .common-left-menu menu a.active i {
    display: none;
  }

  .main-content .right-content,
  .main-content .right-content2 {
    float: none;
    width: 100% !important;
  }

  .main-content .common-top-title {
    height: auto;
    overflow: hidden;
  }

  .main-content .common-top-title .crumb {
    float: none;
    clear: both;
    text-align: left;
    line-height: 1.6;
    font-size: 13px;
  }

  .news-page2 li .writings,
  .news-page2 li .writings > div {
    width: 100% !important;
    max-width: 100%;
    box-sizing: border-box;
  }

  .news-details-page .detailed .title h1 {
    font-size: 20px;
    line-height: 1.4;
  }

  .news-details-page .detailed .subtitle strong {
    display: block;
    margin: 4px 0;
  }

  .common-foot .foot-menu .w1100,
  .common-foot .foot-menu section {
    display: block;
  }

  .common-foot .foot-menu nav {
    float: none;
    width: 100%;
    margin-bottom: 16px;
  }

  .zixun,
  .online_qq {
    display: none !important;
  }
}

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

  .mobile-nav-toggle {
    display: block;
  }

  /* —— 内页头 —— */
  .new_header {
    height: auto;
    position: relative;
  }

  .new_header .wrapper {
    height: 56px;
    line-height: 56px;
    position: relative;
  }

  .new_header .logo {
    margin-top: 8px;
  }

  .new_header .logo a {
    width: 200px;
    height: 32px;
    background-size: contain;
  }

  .new_header .fr {
    display: none;
  }

  .new_header .common-head,
  .new_header .nav-bottom {
    height: auto;
    background: #0271a5;
  }

  .new_header .common-head > article,
  header.common-head > article {
    height: auto;
    width: 100%;
  }

  .new_header .common-head nav,
  header.common-head nav {
    display: none;
    float: none;
    width: 100%;
    background: #0271a5;
    max-height: 70vh;
    overflow-y: auto;
  }

  .new_header .common-head nav.is-open,
  header.common-head nav.is-open {
    display: block;
  }

  .new_header .common-head nav > div,
  header.common-head nav > div {
    display: block;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }

  .new_header .common-head nav > div > a,
  header.common-head nav > div > a {
    display: block;
    padding: 0 16px !important;
    line-height: 44px !important;
    font-size: 15px !important;
    margin-top: 0 !important;
  }

  .common-head nav .subNav {
    position: static;
    display: block !important;
    background: rgba(0, 0, 0, 0.12);
  }

  .common-head nav .subNav a {
    text-align: left;
    padding-left: 28px !important;
    line-height: 40px;
    font-size: 13px;
  }

  /* —— 首页：头浮在 Banner 上 —— */
  body > header.common-head {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    z-index: 30;
    height: auto;
    min-height: 48px;
    background: transparent !important;
  }

  body > header.common-head > article {
    padding: 0;
  }

  body > header.common-head .login-register {
    display: none;
  }

  body > header.common-head .mobile-nav-toggle {
    top: 24px;
    right: 10px;
  }

  body > header.common-head .mobile-nav-toggle span {
    background: #fff;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.35);
  }

  body > header.common-head nav.is-open {
    background: rgba(2, 113, 165, 0.96);
  }

  /* —— Banner 独立一块，内部装 logo/搜索，不再飘到新闻区 —— */
  .index-banner {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    margin-top: 0 !important;
    width: 100% !important;
    height: 220px !important;
    overflow: hidden !important;
    z-index: 1;
  }

  .index_banner,
  .index_banner .bd,
  .index_banner .bd ul,
  .index_banner .bd li,
  .index_banner .bd li a,
  .index_banner .bd img {
    width: 100% !important;
    height: 220px !important;
    max-height: 220px !important;
  }

  .index_banner .bd img {
    object-fit: cover;
    display: block;
  }

  .index_banner .hd {
    left: 50% !important;
    bottom: 12px !important;
    margin-left: -20px;
  }

  img.index-logo {
    position: absolute;
    left: 50%;
    top: 52px;
    z-index: 12;
    width: 58%;
    max-width: 240px;
    height: auto !important;
    margin-left: 0 !important;
    transform: translateX(-50%);
  }

  .index-search-box {
    position: absolute;
    left: 50% !important;
    top: 130px !important;
    bottom: auto !important;
    z-index: 12;
    width: 86% !important;
    max-width: 340px !important;
    height: 40px !important;
    margin-left: 0 !important;
    transform: translateX(-50%);
    box-sizing: border-box;
  }

  .index-search-box form {
    position: relative;
    width: 100%;
    height: 100%;
  }

  .index-search-box input[type="text"] {
    width: 100% !important;
    max-width: 100% !important;
    height: 40px !important;
    line-height: 40px !important;
    font-size: 14px;
    box-sizing: border-box !important;
    padding-left: 44px !important;
    padding-right: 40px !important;
  }

  .index-search-box .icon-search {
    left: 12px !important;
    top: 8px !important;
  }

  .index-search-box .icon-reset {
    right: 10px !important;
    top: 8px !important;
  }

  /* 新闻区与 Banner 脱钩 */
  .index-news-section {
    margin-top: 0 !important;
    padding: 20px 12px 24px !important;
    position: relative;
    z-index: 2;
    background: #fff;
    clear: both;
    overflow: hidden;
  }

  .index-news-section .w1100 {
    padding-left: 0;
    padding-right: 0;
  }

  .index-news-image,
  .index-news-articles {
    float: none !important;
    width: 100% !important;
    margin: 0 0 16px !important;
    height: auto !important;
    text-align: left !important;
  }

  .index-news-image {
    max-height: none;
  }

  .index-news-image .pic,
  .index-news-image .pic li,
  .index-news-image .pic li a,
  .index-news-image .pic li a .img {
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
  }

  .index-news-image .pic li a .img img {
    width: 100% !important;
    height: auto !important;
    max-height: 200px;
    object-fit: cover;
  }

  .index-news-image .pic li a > p {
    margin-top: 8px !important;
    white-space: normal;
    height: auto !important;
    line-height: 1.4 !important;
  }

  .index-news-image .hd {
    right: 12px !important;
    bottom: 40px !important;
  }

  .index-news-tab ul {
    width: 100% !important;
    padding-left: 0 !important;
    box-sizing: border-box;
  }

  .index-news-tab ul li {
    height: auto !important;
    min-height: 72px;
    margin-bottom: 14px !important;
    overflow: hidden;
  }

  .news_date,
  .news_active {
    width: 56px !important;
    height: 56px !important;
  }

  .index-news-tab ul li .disc {
    font-size: 22px !important;
    margin-top: 2px !important;
    line-height: 1.1;
  }

  .news_date p {
    font-size: 11px;
    line-height: 1.2;
  }

  .news_title {
    display: block;
    overflow: hidden;
    margin-left: 68px !important;
    margin-top: 0 !important;
    text-align: left;
  }

  .index-news-tab ul li a,
  .news_title a {
    float: none !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    line-height: 1.35 !important;
    font-size: 14px;
    height: auto !important;
  }

  .news_title .news_content {
    float: none !important;
    display: block !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-top: 4px;
    white-space: normal;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  .index-sec-head {
    width: 100%;
    height: auto;
    overflow: hidden;
  }

  .index-sec-head h1 {
    font-size: 20px;
    padding-left: 36px;
  }

  .index-books-section,
  .index-sec-resources,
  .index-sec-team .w1100 {
    padding-left: 12px;
    padding-right: 12px;
    box-sizing: border-box;
  }

  /* PC 3D 轮播手机不可用，换简易列表 */
  #focus_Box,
  #focus_Box_two,
  .index-books-section .book-smmary,
  .index-sec-resources .resources-download-right,
  .index-sec-resources .focus-book-title,
  .index-sec-resources .book_title {
    display: none !important;
  }

  .mobile-book-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 8px 0 20px;
    list-style: none;
    margin: 0;
  }

  .mobile-book-list li {
    width: calc(33.333% - 8px);
    text-align: center;
  }

  .mobile-book-list li a {
    display: block;
    color: #333;
  }

  .mobile-book-list li img {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    background: #eee;
  }

  .mobile-book-list li p {
    margin-top: 6px;
    font-size: 12px;
    line-height: 1.35;
    height: 2.7em;
    overflow: hidden;
  }

  .index-team-tab ul {
    display: flex;
    flex-wrap: wrap;
    width: 100% !important;
  }

  .index-team-tab ul li {
    float: none;
    width: 33.333%;
    box-sizing: border-box;
    padding: 8px;
  }

  .index-sec-resources .resources-download {
    height: auto !important;
    overflow: visible;
  }

  .index-sec-resources:before {
    display: none;
  }
}

@media screen and (max-width: 480px) {
  .index-banner,
  .index_banner,
  .index_banner .bd,
  .index_banner .bd ul,
  .index_banner .bd li,
  .index_banner .bd li a,
  .index_banner .bd img {
    height: 200px !important;
    max-height: 200px !important;
  }

  img.index-logo {
    top: 48px;
    width: 62%;
  }

  .index-search-box {
    top: 118px !important;
  }

  .mobile-book-list li,
  .index-team-tab ul li {
    width: calc(50% - 6px);
  }

  .index-team-tab ul li {
    width: 50%;
  }

  .new_header .logo a {
    width: 168px;
  }
}

/* 图书详情 / 列表常见固定宽 */
@media screen and (max-width: 768px) {
  .book_detail_section .wrapper,
  .book-summary,
  .book_list_section,
  .product-list,
  .books-list {
    width: 100% !important;
    max-width: 100%;
    box-sizing: border-box;
  }

  .book_detail_section .top_img,
  .book_detail_section .book-summary {
    float: none !important;
    width: 100% !important;
  }

  .news-details-page img,
  .detailed img,
  .right-content img {
    height: auto !important;
  }

  .news-page2 li.img-li {
    height: auto !important;
    overflow: visible;
  }

  .news-page2 li .img {
    float: none;
    display: block;
    margin: 0 auto 12px;
  }
}
