@charset "UTF-8";
@media screen and (max-width: 1400px) {
  body {
    min-width: 100%;
  }
  .container {
    width: auto;
    padding: 0 0.2rem;
  }
  .header-area .container {
    padding: 0.32rem 0.2rem;
  }
}

/* ============ 平板适配（768px - 1199px）============ */
@media screen and (min-width: 768px) and (max-width: 1199px) {
  html {
    font-size: 90px;
  }
  .banner .slick-prev, .banner .slick-next {
    width: 0.2rem;
    height: 0.2rem;
  }
  .header-area .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.2rem;
  }
  .header-area .container .header-right {
    margin-top: 0.24rem;
  }
  .header-area .container .header-right .right-link {
    margin-bottom: 0;
  }
  /* 主导航：9 项压缩到两行内 */
  .nav {
    height: auto;
    line-height: normal;
  }
  .menunav {
    display: flex;
    flex-wrap: wrap;
  }
  .menunav > li > a {
    font-size: 15px;
    height: 44px;
    line-height: 44px;
    padding: 0;
  }
  /* 子菜单：改为居中定位 */
  .submenu {
    top: 44px;
  }
  .submenu li a {
    font-size: 14px;
    height: 0.4rem;
    line-height: 0.4rem;
  }
  /* banner */
  #banner-area img {
    height: 300px;
  }
  /* 新闻区：保持双栏 */
  .main-area .w50 {
    padding: 0 0.2rem;
  }
  .news-area img {
    height: 300px;
  }
  /* 平台：4 个缩为一行 */
  .platform ul li {
    width: 25%;
  }
  .platform ul li a {
    font-size: 0.14rem;
    padding: 0.2rem;
  }
  .platform ul li a .pic {
    width: 50%;
  }
  .platform ul li a p {
    width: 100%;
  }
  /* 页脚链接：2 行 */
  .link > li {
    width: 48%;
    margin-bottom: 10px;
  }
  /* 侧栏返回顶部：随容器 */
  .sidebar {
    right: 0.3rem;
    bottom: 0.3rem;
  }
  .sidebar > div {
    width: 0.44rem;
    height: 0.44rem;
  }
}

@media screen and (max-width: 900px) {
  .footer-area .contact .qrcode-area {
    width: auto;
  }
  .footer-area .contact .footer-logo {
    display: none;
  }
}

/* ============ 手机适配（≤767px） ============ */
@media screen and (max-width: 767px) {
  .banner .slick-prev,
  .banner .slick-next {
    display: none !important;
  }
  html {
    font-size: 100px;
  }
  body {
    min-width: 100%;
  }
  .container {
    width: auto;
    max-width: none;
    padding: 0 15px;
  }
  /* ---------- 头部 ---------- */
  .header-area {
    border-top-width: 8px;
  }
  .header-area .container {
    padding: 0.18rem 15px;
    position: relative;
    flex-direction: column;
  }
  .header-area .container .header-right {
    margin-top: 0.15rem;
    padding-left: 0;
    display: flex;
    justify-content: space-between;
  }
  .header-area .container .header-right .search {
    max-width: calc(100% - 50px);
  }
  .header-area .container .header-right .right-link {
    display: none;
  }
  .news-area a p {
    padding: 0.12rem;
    font-size: 13px;
  }
  .news-area .slick-dots {
    bottom: 0.08rem;
    right: 0.02;
  }
  .slick-dots li {
    margin: 0.05rem;
  }
  .toggle {
    display: flex;
  }
  .mechanism_left {
    display: none;
  }
  .mechanism_right {
    width: 100%;
  }
  .sub .main-area .container {
    padding: 15px 0;
  }
  .mechanism_right, .full_content {
    padding: 0.15rem;
  }
  /* ---------- 主导航：手机上隐藏，用抽屉 ---------- */
  .nav-area {
    display: none;
  }
  .nav {
    display: none;
  }
  .nav .menunav,
  .nav .submenu {
    display: none;
  }
  /* ---------- banner ---------- */
  #banner-area img {
    height: 42vw;
    object-fit: cover;
  }
  #banner-area {
    margin-top: 0;
  }
  /* ---------- 主体：单栏堆叠 ---------- */
  .main-area .container {
    padding-top: 0.15rem;
    padding-bottom: 0.15rem;
  }
  .main-area .w100.flex {
    display: block;
  }
  .main-area .w50 {
    width: 100%;
    padding: 0;
  }
  .main-area .w50:first-child,
  .main-area .w50:last-child {
    padding: 0;
  }
  .news-area {
    margin-top: 0;
  }
  .news-area img {
    height: 42vw;
    object-fit: cover;
  }
  .news-list {
    padding-top: 0;
  }
  .news-list li {
    border-bottom: 1px dashed #f2e6e2;
    font-size: 15px;
    display: flex;
    flex-direction: column-reverse;
    padding: 0.08rem 0;
  }
  .news-list li p {
    padding-right: 0;
    padding-left: 14px;
  }
  .news-list li p a {
    overflow: visible;
    white-space: inherit;
    line-height: 1.75;
    padding-right: 0;
  }
  .news-list li span {
    padding-left: 14px;
    font-size: 14px;
    line-height: 1.75;
  }
  .news-list li::before {
    top: 17px;
    margin: 0;
  }
  /* 标题 */
  .subject-area {
    height: 0.48rem;
    line-height: 0.48rem;
    padding-left: 0.3rem;
  }
  .subject-area .title {
    font-size: 0.18rem;
  }
  /* ---------- 平台 ---------- */
  .platform {
    padding-bottom: 0.3rem;
  }
  .platform ul {
    flex-wrap: wrap;
  }
  .platform ul li {
    width: 50%;
    height: auto;
    padding: 0 0.06rem 0.12rem 0.06rem;
    margin-bottom: 0;
  }
  .platform ul li a {
    flex-direction: column;
    text-align: center;
    gap: 0.08rem;
    padding: 0.16rem 0.1rem;
    font-size: 0.15rem;
    height: auto;
  }
  .platform ul li a .pic {
    margin-right: 0;
  }
  .platform ul li a p {
    width: 100%;
    line-height: 1.5;
  }
  /* ---------- 页脚 ---------- */
  .footer-area {
    padding-top: 10px;
    padding-bottom: 0.3rem;
  }
  .link {
    margin: 0.2rem 0;
    flex-direction: column;
  }
  .link > li {
    width: 100%;
    margin: 0 0 8px 0;
  }
  .link > li {
    height: 36px;
    line-height: 36px;
  }
  .link ul {
    bottom: 36px;
    max-height: 60vh;
    overflow-y: auto;
  }
  .footer-area .contact {
    flex-direction: column;
    align-items: center;
    padding-top: 0.2rem;
  }
  .footer-area .contact .footer-logo {
    width: 55%;
    margin-bottom: 0.15rem;
  }
  .footer-area .contact .copyright {
    text-align: left;
    font-size: 13px;
    flex-direction: column;
  }
  .footer-area .contact .qrcode-area {
    margin-top: 0.2rem;
    width: auto;
    text-align: center;
  }
  .footer-area .contact .qrcode-area p {
    margin-bottom: 0.05rem;
  }
  .footer-area .contact .qrcode img {
    width: 0.9rem;
  }
  /* ---------- 侧边返回顶部 ---------- */
  .sidebar {
    right: 0.15rem;
    bottom: 0.25rem;
  }
  .sidebar > div {
    width: 0.42rem;
    height: 0.42rem;
  }
  /* ---------- 详情/列表页通用 ---------- */
  .aside {
    display: none;
  }
  .column {
    float: none;
    width: 100%;
    min-height: auto;
  }
  .column .common-list {
    margin-left: 0;
  }
  .caption {
    margin: 25px 0;
  }
  .caption h1 {
    font-size: 20px;
  }
  .caption p span:first-child {
    display: none;
  }
  .content img {
    max-width: 100%;
    height: auto !important;
  }
  .detail {
    margin: 25px 0 0;
  }
  .detail > p {
    font-size: 14px;
  }
  .list-box {
    margin: 25px 0;
  }
  .search-list {
    margin-left: 0;
  }
  /* ---------- 抽屉菜单 ---------- */
  .drawer {
    right: 0;
    transform: translateX(100%);
  }
  .drawer.open {
    transform: translateX(0);
  }
  .drawer-head {
    font-size: 0.18rem;
    padding: 0.15rem 0.2rem;
  }
  .drawer-nav > li > a {
    font-size: 0.17rem;
    padding: 0.15rem 0.2rem;
  }
}
