/* ========================================
   手机端适配（不影响 PC 端 1200 布局）
   ======================================== */
.nav-toggle {
  display: none;
}

@media (max-width: 992px) {
  html {
    -webkit-text-size-adjust: 100%;
  }

  html,
  body {
    min-width: 0 !important;
    max-width: 100% !important;
    overflow-x: hidden;
  }

  /* 避免裁切 fixed 悬浮栏：不在 body 上设 overflow-x；顶栏不加 clip，以免裁掉汉堡按钮 */
  .footer_wrapper,
  .dl_con,
  .banner_wrapper,
  .index_hyzx_wrapper,
  .news,
  .hddl,
  .hezuo {
    max-width: 100%;
    overflow-x: clip;
  }

  .top_wrapper {
    max-width: 100%;
    overflow: visible;
  }

  img:not(.right-service img):not(.right-service-icon) {
    max-width: 100%;
    height: auto;
  }

  /* 右悬浮栏：手机端保持与电脑端相同的右侧竖向悬浮 */
  .right-service {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: fixed !important;
    right: 8px !important;
    left: auto !important;
    top: 50% !important;
    bottom: auto !important;
    transform: translateY(-50%) !important;
    width: 48px !important;
    z-index: 10050 !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
  }

  .right-service-item {
    display: flex !important;
    width: 48px !important;
    height: 48px !important;
    margin: 0 0 6px !important;
    flex: none !important;
  }

  .right-service-panel {
    right: 56px !important;
    left: auto !important;
    top: 50% !important;
    bottom: auto !important;
    margin-top: -90px !important;
    transform: none !important;
  }

  /* ---------- 顶栏 ---------- */
  .header_spacer {
    height: 64px;
  }

  .top_wrapper {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
  }

  .top {
    width: 100% !important;
    max-width: 100% !important;
    height: 64px;
    padding: 0 60px 0 14px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
  }

  .logo {
    width: auto !important;
    max-width: calc(100% - 8px);
    height: auto;
    float: none !important;
    box-sizing: border-box;
  }

  .logo-title {
    font-size: 18px;
    letter-spacing: 1px;
  }

  .logo-subtitle {
    display: none;
  }

  /* 固定到视口右上角，避免 .top 过宽时按钮被挤出屏幕 */
  .nav-toggle {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    margin: 0;
    padding: 0;
    border: 1px solid #eee;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    flex-shrink: 0;
    position: fixed !important;
    right: 14px;
    top: 11px;
    left: auto;
    transform: none;
    z-index: 10060;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: #333;
    border-radius: 1px;
    transition: transform .2s ease, opacity .2s ease;
  }

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

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

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

  .top_ul {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 64px;
    width: 100%;
    padding: 8px 0 16px;
    margin: 0;
    background: #fff;
    border-bottom: 1px solid #eee;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    box-sizing: border-box;
    z-index: 10000;
  }

  .top_ul.is-open {
    display: block;
  }

  .top_ul li {
    float: none;
    width: 100%;
    text-align: left;
    padding: 0;
    border: none !important;
    border-radius: 0 !important;
  }

  .top_ul li a {
    padding: 12px 18px;
    font-size: 15px;
  }

  .top_ul .nav1 {
    position: static;
    display: block !important;
    width: 100%;
    padding: 0 0 8px;
    border: none;
    background: #fafafa;
    box-sizing: border-box;
  }

  .top_ul .nav1 span a {
    padding: 8px 28px;
    font-size: 13px;
    color: #666;
  }

  .top_ul .h,
  .top_ul .clear {
    display: none;
  }

  /* ---------- 通用容器 ---------- */
  .breadcrumb,
  .dl_con,
  .footer_top,
  .prenext_wrapper,
  #dituContent,
  .index_quick,
  .index_hyzx_con,
  .news,
  .hddl_box,
  .hezuo,
  .main1,
  .content2,
  .table1,
  .news_con,
  .top_tub {
    width: 100% !important;
    max-width: 100%;
    box-sizing: border-box;
    padding-left: 14px;
    padding-right: 14px;
  }

  .breadcrumb {
    margin: 10px auto;
    font-size: 12px;
    line-height: 1.6;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .list_page_title {
    font-size: 22px;
    margin: 10px 0 16px;
  }

  .list_page_title span {
    font-size: 12px;
  }

  .help_til_reset dl,
  .help_til dl {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .help_til_reset dd,
  .help_til dd {
    float: none;
    margin: 0;
  }

  .help_til_reset dd a,
  .help_til dd a {
    display: inline-block;
    padding: 6px 12px;
    font-size: 13px;
  }

  /* ---------- 首页 ---------- */
  .index-banner {
    height: auto !important;
  }

  .index-banner img {
    width: 100%;
    height: auto !important;
    max-height: 220px;
    object-fit: cover;
    display: block;
  }

  .banner_wrapper,
  .index-banner {
    min-height: 0;
  }

  .index_quick {
    height: auto;
  }

  .index_quick ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .index_quick li {
    position: relative;
    float: none;
    width: 100%;
    margin: 0 !important;
    height: auto;
    min-height: 88px;
    padding: 18px 14px 18px 78px;
    box-sizing: border-box;
    text-align: left;
    background: #eeeeeb !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  /* 用伪元素单独放图标，保证在框内垂直居中 */
  .index_quick li::before {
    content: "";
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 68px;
    background-image: url(../images/bg3.png);
    background-repeat: no-repeat;
    background-size: 140px auto; /* 原图 250px，约 56% */
  }

  .index_quick li.li1::before {
    background-position: 0 -504px; /* -900 * 0.56 */
  }

  .index_quick li.li2::before {
    background-position: 0 -588px; /* -1050 * 0.56 */
  }

  .index_quick li.li3::before {
    background-position: 0 -672px; /* -1200 * 0.56 */
  }

  .index_quick li strong {
    font-size: 18px;
  }

  .index_news_dl_2,
  .index_news_r,
  .index_news_left,
  .index_news_right {
    float: none !important;
    width: 100% !important;
    height: auto !important;
    padding: 0 !important;
    margin: 0 0 20px !important;
  }

  .index_news_dl_2,
  .index_news_dl_2 dt {
    height: auto !important;
    line-height: 0;
  }

  .index_news_dl_2 dt img {
    display: block;
    width: 100% !important;
    height: auto !important;
  }

  /* 简介图：高度固定缩放，宽度拉满（允许拉伸变形） */
  .index_news_left .index_about_img,
  a .index_about_img,
  .index_about_img {
    float: none !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 180px !important;
    object-fit: fill;
    margin: 0 0 12px !important;
  }

  .index_news_r {
    clear: both;
  }

  /* 策略头条：左图右文，避免手机端错位 */
  .index_news_dl {
    display: flex !important;
    align-items: flex-start;
    float: none !important;
    clear: both;
    width: 100% !important;
    height: auto !important;
    margin: 0 0 12px !important;
    overflow: hidden;
  }

  .index_news_dl dt {
    flex: 0 0 115px;
    float: none !important;
    width: 115px !important;
    height: auto !important;
    margin: 0;
    padding: 0;
  }

  .index_news_dl dt a {
    display: block;
    line-height: 0;
  }

  .index_news_dl dt img {
    display: block;
    width: 115px !important;
    height: 75px !important;
    max-width: none !important;
    object-fit: cover;
  }

  .index_news_dl dd {
    flex: 1 1 auto;
    float: none !important;
    width: auto !important;
    height: auto !important;
    min-width: 0;
    margin: 0;
    padding: 0 0 0 12px;
    box-sizing: border-box;
    overflow: hidden;
    font-size: 13px;
    line-height: 1.5;
  }

  .index_news_dl dd h3 {
    padding-bottom: 4px;
    font-size: 15px;
    line-height: 1.4;
  }

  .index_news_dl_3 {
    display: flex !important;
    align-items: flex-start;
    float: none !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 0 14px !important;
    padding-bottom: 12px;
    border-bottom: 1px dotted #eee;
    box-sizing: border-box;
    overflow: visible;
  }

  .index_news_dl_3 dt {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 0 0 68px;
    float: none !important;
    width: 68px !important;
    height: auto !important;
    min-height: 56px;
    margin: 0;
    padding: 0 8px 0 0;
    border-right: 2px solid #999;
    box-sizing: border-box;
    text-align: center;
  }

  .index_news_dl_3 dt p {
    font-size: 28px !important;
    line-height: 1.1 !important;
    margin: 0;
  }

  .index_news_dl_3 dd {
    flex: 1 1 auto;
    float: none !important;
    width: auto !important;
    height: auto !important;
    min-width: 0;
    margin: 0;
    padding: 0 0 0 12px !important;
    overflow: hidden;
    box-sizing: border-box;
  }

  .index_news_dl_3 dd h3 {
    padding-bottom: 6px;
    font-size: 15px;
    line-height: 1.4;
  }

  .news {
    margin: 20px auto 0;
  }

  .hddl {
    padding: 0 14px;
    box-sizing: border-box;
  }

  .hddl_box {
    padding: 0;
  }

  .hd {
    display: flex !important;
    flex-direction: column !important;
    float: none !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 0 16px !important;
    overflow: hidden;
  }

  .hd_left,
  .hd_right {
    float: none !important;
    width: 100% !important;
    height: auto !important;
  }

  .hd_left {
    line-height: 0;
  }

  .hd_left img {
    display: block;
    width: 100% !important;
    height: auto !important;
  }

  .hd_right {
    padding-bottom: 8px;
  }

  .hd_right h3 {
    padding-top: 14px;
    line-height: 1.4;
    font-size: 20px;
  }

  .hd_right .hd_desc {
    padding: 0 16px 16px;
    font-size: 13px;
    line-height: 1.7;
  }

  .dl {
    float: none !important;
    width: 100% !important;
    height: auto !important;
    overflow: hidden;
  }

  .index_agent_a {
    display: block !important;
    width: 100% !important;
    height: auto !important;
  }

  .index_agent_a img,
  .dl img {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
  }

  .index_agent_a span {
    top: auto;
    bottom: 12px;
    right: 12px;
  }

  .hezuo {
    padding: 20px 14px;
    box-sizing: border-box;
  }

  .img2 {
    padding: 24px 0 36px;
  }

  .img2 ul {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
    margin: 0;
    padding: 0;
  }

  .img2 li {
    float: none;
    width: calc(50% - 7px);
    height: auto;
    min-height: 72px;
    margin: 0 !important;
    padding: 10px 8px;
    box-sizing: border-box;
    line-height: normal;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .img2 li img {
    max-width: 100%;
    max-height: 56px;
    width: auto;
    height: auto;
  }

  /* ---------- 列表页 ---------- */
  .new {
    width: 100%;
    padding: 14px;
    box-sizing: border-box;
  }

  .new_left,
  .new_middle,
  .new_right {
    float: none !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 0 12px !important;
    padding: 0 !important;
  }

  .new_left {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    width: 64px !important;
    height: 64px !important;
  }

  .new_left h2 {
    font-size: 28px;
    line-height: 1.1;
  }

  .new_middle a,
  .new_middle img {
    display: block;
    width: 100% !important;
    height: auto !important;
  }

  .new_right {
    padding: 14px !important;
    min-height: 0;
  }

  .new_right h2 {
    padding: 0 0 10px;
    font-size: 16px;
  }

  .new_right .view_detail_btn,
  .new_right .a1.view_detail_btn {
    position: static !important;
    display: inline-flex !important;
    margin-top: 12px;
  }

  .pagelink {
    overflow-x: auto;
    text-align: center;
  }

  /* ---------- 详情/单页 ---------- */
  .news_detail {
    padding: 16px;
  }

  .article_title_row {
    flex-wrap: wrap;
    gap: 10px;
  }

  .article_title_row h1 {
    font-size: 20px;
    line-height: 1.4;
  }

  .article_meta {
    font-size: 12px;
    line-height: 1.8;
  }

  .article_meta span {
    display: inline-block;
    margin-right: 8px;
  }

  .page_content,
  .de_con,
  .de_con div,
  .de_con h1,
  .de_con h2,
  .de_con h4,
  .page_main,
  .news_zw,
  .page_title {
    width: auto !important;
    max-width: 100% !important;
    float: none !important;
    box-sizing: border-box;
  }

  .de_con img,
  .page_content img,
  .news_detail img {
    max-width: 100% !important;
    height: auto !important;
  }

  .contact_left,
  .contact_right {
    float: none !important;
    width: 100% !important;
    text-align: center;
  }

  .contact_left {
    text-align: left;
    margin-bottom: 20px;
  }

  .contact_right img {
    margin: 0 auto;
  }

  .related_articles,
  .prenext_wrapper {
    width: 100%;
  }

  .prenext_left,
  .prenext_right {
    float: none !important;
    width: 100% !important;
    margin: 0 0 10px;
    line-height: 1.6;
  }

  .new_ba,
  .dl_bg1,
  .news_ba {
    height: 120px !important;
    background-size: cover !important;
  }

  .new_ba div h3 {
    font-size: 28px !important;
    line-height: 1.2 !important;
  }

  /* ---------- 底部 ---------- */
  .footer_right,
  .footer_bottom,
  .footer_top dl {
    float: none !important;
    width: 100% !important;
    margin: 0 0 16px !important;
  }

  .footer_top dl {
    display: block;
    text-align: left;
    border-bottom: 1px solid #444;
    padding-bottom: 8px;
  }

  .footer_top dt {
    line-height: 36px;
  }

  .footer_bottom {
    margin-top: 10px;
  }

  .footer_p {
    text-align: center;
    justify-content: center;
  }

  .footer_contact_line {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
  }

  .footer_contact_sep {
    display: none;
  }

}

@media (max-width: 480px) {
  .logo-title {
    font-size: 16px;
  }

  .img2 ul {
    gap: 12px;
  }

  .img2 li {
    width: calc(50% - 6px);
  }

  .index_quick li strong {
    font-size: 16px;
  }
}

/* PC 端隐藏汉堡按钮 */
@media (min-width: 993px) {
  .nav-toggle {
    display: none !important;
  }
}
