/* 手机端样式 */
@media screen and (max-width: 768px) {
  #ty-header .ty-header-bg {
    background: none;
  }
  
  /* area页面手机端优化 - 强制生效 */
  .list-container {
    width: 100% !important;
    padding: 10px 0 !important;
    margin: 0 !important;
    flex-direction: column !important;
  }
  
  .list-container .left {
    width: 100% !important;
    padding: 0 15px !important;
    margin: 0 !important;
  }
  
  .list-container .right {
    display: none !important;
  }
  
  .list_title {
    font-size: 18px !important;
    font-weight: bold !important;
    margin-bottom: 15px !important;
    padding-left: 10px !important;
    border-left: 3px solid #007bff !important;
    color: #333 !important;
  }
  
  #news-list {
    width: 100% !important;
  }
  
  .list-item {
    padding: 15px 0 !important;
    border-bottom: 1px solid #f0f0f0 !important;
    width: 100% !important;
    margin: 0 !important;
  }
  
  .list-item:last-child {
    border-bottom: none !important;
  }
  
  .itemRight {
    width: 100% !important;
    padding: 0 !important;
  }
  
  .itemTil {
    display: block !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    color: #333 !important;
    margin-bottom: 10px !important;
    line-height: 1.4 !important;
    word-break: break-word !important;
    text-decoration: none !important;
  }
  
  .itemTip {
    font-size: 14px !important;
    color: #666 !important;
    line-height: 1.5 !important;
    margin-bottom: 10px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
  }
  
  .dateBox {
    font-size: 12px !important;
    color: #999 !important;
  }
  
  .pagination {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    margin-top: 20px !important;
    padding: 0 15px !important;
  }
  
  .pagination button {
    padding: 8px 12px !important;
    margin: 5px !important;
    border: 1px solid #ddd !important;
    background-color: #fff !important;
    color: #333 !important;
    border-radius: 4px !important;
    font-size: 14px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
  }
  
  /* 导航样式优化 - 显示导航 */
  .ty-nav {
    display: flex !important;
    width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }
  
  .ty-nav .ty-container {
    min-width: 100% !important;
    overflow-x: visible !important;
  }
  
  #mainNav {
    display: flex !important;
    flex-wrap: nowrap !important;
    min-width: fit-content !important;
    padding: 10px 15px !important;
  }
  
  #mainNav li {
    flex-shrink: 0 !important;
    margin-right: 20px !important;
  }
  
  #mainNav li a {
    font-size: 14px !important;
    white-space: nowrap !important;
  }
  
  #mainNav li.on1 a {
    /* color: #007bff !important; */
    font-weight: bold !important;
  }
  
  .ty-nav2 {
    width: 100% !important;
    overflow-x: auto !important;
    white-space: nowrap !important;
  }
  
  .ty-nav2 .ty-container {
    width: 100% !important;
  }
  
  .city_list {
    display: flex !important;
    padding: 0 15px !important;
  }
  
  .city_list li {
    flex-shrink: 0 !important;
    margin-right: 15px !important;
  }
  
  .city_list li a {
    font-size: 14px !important;
    color: #333 !important;
    text-decoration: none !important;
  }
  
  .city_list li a.active {
    color: #007bff !important;
    font-weight: bold !important;
  }

  /* 顶部区域适配 - 确保顶部正常显示 */
  .topBoxAll {
    display: block !important;
    width: 100%;
  }

  .topBox {
    display: flex;
    align-items: center;
    padding: 10px;
  }

  .topBox .leftBox img {
    max-width: none;
    height: auto;
    width: auto;
  }

  .topBox .rightBox {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
  }
  
  /* 确保地方站部分与列表格式一致并允许横向滚动 */
  .difangzhan-container {
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 10px;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
  
  .difangzhan-container::-webkit-scrollbar {
    height: 4px;
  }
  
  .difangzhan-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 2px;
  }
  
  .difangzhan-container::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 2px;
  }
  
  .difangzhan-item {
    display: inline-block;
    margin-right: 10px;
    padding: 5px 15px;
    font-size: 14px;
    flex-shrink: 0;
    zoom: 1;
  }
  
  /* 确保所有导航相关元素保持原始大小 */
  * {
    box-sizing: border-box;
  }
  
  /* 防止触摸时的高亮效果 */
  a,
  button {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }

  .qglhes {
    display: none;
  }

  .ty-links a,
  #inputkeyword,
  .tytb-dlzc {
    color: #666 !important;
  }

  .sy-container {
    width: 100%;
  }

  /* 头条 */
  .headlines {
    height: auto;
    /* background: url(../images/toutiao2.png)
      0.26rem 0.3rem no-repeat; */
    background-size: 0.93rem;
    padding: 0.5rem 0.5rem 0.2rem 0.5rem;;
  }

  .headlines::before {
    top: 0.15rem;
    left: 0.5rem;
    font-size: 0.2rem;
  }

  .headlines .swiper-container {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
  }

  .headlines .swiper-container .itemBox {
    font-size: 0.2rem;
    width: 100%;
  }

  .headlines h1 {
    font-size: 0.44rem;
    line-height: 0.48rem;
    text-align: left;
    height: 1.35rem;
  }

  .headlines span {
    font-size: 0.26rem;
    text-align: left;
    line-height: 0.36rem;
  }

  .swiper-wrapper {
    min-width: 100%;
  }

  .headlines .swiper-slide {
    margin-left: 0;
    height: 3.2rem !important;
  }

  .headlines h1 {
    padding-left: 0;
  }

  .headlines span {
    padding-left: 0;
    padding-right: 0;
  }

  /* 大图新闻 */
  .photo-new {
    width: 100%;
    height: 4rem;
  }

  .photo-new .swiper-container img {
    width: 100%;
  }

  .photo-new .swiper-container .swiper-slide .img-fix {
    background-color: transparent;
  }



  /* 轮播 */
  .sy-container {
    width: 100%;
  }

  .news-img img {
    width: 100%;
  }

  .news-img {
    width: 100%;
  }

  .news-lb {
    height: auto;
  }

  .news-title {
    width: 100%;
    padding: 0.24rem;
  }

  .news-lb .swiper-container-horizontal>.swiper-pagination-bullets {
    width: 100%;
  }

  .news-title a {
    font-size: 0.36rem;
  }

  .news-title span {
    font-size: 0.26rem;
  }

  .photo-new .swiper-slide .content {
    height: 1.2rem;
  }

  .photo-new .swiper-slide .content .zNew {
    width: 1rem;
    height: 0.5rem;
    background-size: 100%;
    top: -0.5rem;
  }

  .photo-new .swiper-slide .content .txt {
    height: 100%;
    padding: 0.1rem;
  }

  .photo-new .swiper-slide .content .txt h3 {
    font-size: 0.26rem;
  }


  .photo-new .swiper-slide .content .txt h3 a {
    width: 95%;
    height: 1.2rem;
    line-height: 1.2rem;
    margin-left: 0.24rem;
    font-size: 0.26rem;
  }

  /* 信箱 */
  .needService {
    display: none;
  }

  /* 查找政府服务 */
  .service-title span:first-child {
    font-size: 0.36rem;
    background: url(../images/yunduo.png)
      /*tpa=https://www.jcs.gov.cn/cms_files/webjinchangshirmzf/tplobject/defaultSet/ecf5f26f15ba4d7c9f4cfbb5c4459280/images/yunduo.png*/
      4.92rem center no-repeat;
    display: block;
  }

  .service-title span:last-child {
    font-size: 0.26rem;
    background: none;
    padding-left: 0;
  }

  .service-title {
    height: 1.1rem;
    padding: 0 0.2rem;
  }

  .lookupService {
    height: auto;
    margin-top: 0.5rem;
  }

  .lookupService .lifecycle-list li {
    width: 1.75rem;
    height: 2.25rem;
  }

  .lookupService {
    padding: 0.24rem;
  }

  .lookupService .lifecycle-list li a {
    width: 1.75rem;
    height: 2.25rem;
    padding: 0.24rem;
  }

  .lookupService .lifecycle-list li .newBg {
    background-size: 0.36rem;
  }

  .lookupService .lifecycle-list li span:first-child {
    height: 0.36rem;
    margin-bottom: 0.08rem;
  }

  .lookupService .lifecycle-list li .zwfwIco {
    background-size: 0.36rem;
  }

  .lookupService .lifecycle-list li .newTitle {
    font-size: 0.3rem;
    margin-bottom: 0.12rem;
    line-height: 0.3rem;
  }

  .lookupService .lifecycle-list li .newJJ {
    font-size: 0.2rem;
  }

  .lookupService .lifecycle-list li span {
    display: block;
  }
  
  /* 删除lifecycle-list的::after伪元素 */
  .lookupService .lifecycle-list::after,
  .lifecycle-list::after {
    content: none !important;
    display: none !important;
  }
  
  /* 删除clearfix的::after伪元素 */
  .clearfix::after {
    content: none !important;
    display: none !important;
  }

  .lookupService .lifecycle-content {
    height: 16rem;
    margin-top: 0.40rem;
    overflow-y: auto;
  }

  /* 要闻动态切换 */
  .newsDynamic .newsDynamic-left {
    width: 100%;
  }

  .newsDynamic {
    padding: 0.24rem;
  }

  .newsDynamic .newsDynamicTab-list li {
    height: 0.5rem;
    line-height: 0.5rem;
    margin-right: 0rem;
  }

  .newsDynamic .newsDynamicTab-list li a {
    line-height: 0.5rem;
    font-size: 0.3rem;
  }

  .newsDynamic .newsDynamicTab-body .swiper-wrapper .swiper-slide li:first-child {
    height: auto;
    padding-bottom: 0.2rem;
    margin-top: 0.2rem;
    border-bottom: solid 1px #d8d8d8 !important;
    padding-left: 0.2rem;
  }

  .newsDynamic .block-time {
    width: 1.2rem;
    height: 1.2rem;
    display: none;
  }

  .newsDynamic .block-time span:first-child {
    font-size: 0.35rem;
  }

  .newsDynamic .block-time span {
    padding: 0.1rem;
  }

  .newsDynamic .block-title {
    width: 100%;
    height: 100%;
    margin-top: 0;
  }

  .newsDynamic .block-title a {
    height: auto;
    font-size: 0.3rem;
    line-height: 0.46rem;
  }

  .newsDynamic .block-time span:last-child {
    font-weight: 400;
  }

  .block-other {
    font-size: 0.3rem;
    line-height: 0.5rem;
    padding: 0.2rem 0.2rem;
    border-bottom: solid 1px #d8d8d8;
  }

  .newsDynamic .newsDynamicTab-body .swiper-wrapper .swiper-slide .xw-list .bt-lists-covers li:first-child {
    margin-top: 0.2rem;
  }

  .xw-list {
    height: auto !important;
  }

  .xw-list .bt-lists-covers {
    height: auto !important;
  }

  .bt-lists-covers li.white ins {
    display: none !important;
  }

  .block-other span {
    font-size: 0.3rem;
    white-space: nowrap;
  }

  /* 图片新闻 */
  .newsDynamic .newsDynamic-right {
    padding-left: 0;
    width: 100%;
    border-left: none;
    margin-top: 0.4rem;
  }

  .AnnouncementsTab-list li {
    line-height: 0.38rem;
    margin-right: 0.25rem;
    height: auto;
  }

  .AnnouncementsTab-list li a {
    line-height: 0.6rem;
    font-size: 0.3rem;
  }

  .AnnouncementsTab-body .swiper-slide {
    height: auto;
  }

  .picture-new {
    height: 2.45rem;
    padding-top: 0.4rem;
    padding-bottom: 0;
  }

  .picture-new-left {
    width: 35%;
    margin-right: 0.16rem;
  }

  .picture-new-left a img {
    height: 2rem;
  }

  .picture-new-right {
    width: 62%;
    height: 100%;
  }

  .picture-new-right li a {
    font-size: 0.3rem;
    height: 0.8rem;
  }

  .picture-new-right li span {
    font-size: 0.3rem;
  }

  .picture-new-right .xw-bt-po li {
    line-height: 0.4rem;
    height: 0.8rem;
    margin-bottom: 0.2rem;
  }

  .bt-lists-covers {
    height: auto;
  }

  .swiper-container-autoheight,
  .swiper-container-autoheight .swiper-slide {
    border-bottom: none;
  }

  .notice-box {
    padding-top: 0.2rem;
  }

  /* 信息公开板块 */
  .zwgkTabs {
    padding: 0.24rem;
  }

  .zwgkTabs .zwgk-left {
    width: 100%;
  }

  .zwgkTabs .zwgkTab-list li {
    height: 0.5rem;
    line-height: 0.5rem;
    margin-right: 0.5rem;
  }

  .zwgkTabs .zwgkTab-list li a {
    line-height: 0.5rem;
    font-size: 0.3rem;
  }

  .zwgkTabs .zwgkTab-body .swiper-wrapper .swiper-slide li:first-child {
    height: auto;
    padding-bottom: 0.2rem;
    margin-top: 0.2rem;
    border-bottom: solid 1px #d8d8d8 !important;
    padding-left: 0.2rem;
  }

  .zwgkTabs .block-time {
    width: 1.2rem;
    height: 1.2rem;
    display: none;
  }

  .zwgkTabs .block-time span:first-child {
    font-size: 0.35rem;
  }

  .zwgkTabs .block-time span {
    padding: 0.1rem;
  }

  .zwgkTabs .block-title {
    width: 100%;
    height: 100%;
    margin-top: 0;
  }

  .zwgkTabs .block-title a {
    height: auto;
    font-size: 0.3rem;
    line-height: 0.46rem;
  }

  .zwgkTabs .block-time span:last-child {
    font-weight: 400;
  }

  .zwgkTabs .block-other {
    font-size: 0.3rem;
    line-height: 0.5rem;
    padding: 0.2rem 0.2rem;
    border-bottom: solid 1px #d8d8d8;
  }

  .zwgk-right {
    width: 100%;
    margin-top: 0.5rem;
  }

  .zwgk-right .zwgk-right-img>div {
    background: url(../images/touming_icon.png)
      /*tpa=https://www.jcs.gov.cn/cms_files/webjinchangshirmzf/tplobject/defaultSet/ecf5f26f15ba4d7c9f4cfbb5c4459280/images/touming_icon.png*/
      repeat;
    margin-top: 0.5rem;
  }

  .zwgk-right .zwgk-right-list ul li {
    font-size: 0.3rem;
  }

  .zwgk-right .zwgk-right-img {
    display: none;
  }

  /* 政务服务 */
  .zwfw-box {
    width: 100%;
    padding: 0.2rem;
  }

  .zwfw-top {
    height: 100%;
  }

  .zwfw-top .zwfw-top-bg {
    width: 100%;
    background-size: 100%;
    height: 3rem;
  }

  .zwfw-top .zwfw-top-bg a {
    margin-top: 2rem;
    font-size: 0.3rem;
    background: url(../images/zwfw_jiantou.png)
      /*tpa=https://www.jcs.gov.cn/cms_files/webjinchangshirmzf/tplobject/defaultSet/ecf5f26f15ba4d7c9f4cfbb5c4459280/images/zwfw_jiantou.png*/
      2.5rem center no-repeat #fff;
    line-height: 0.25rem;
  }

  .zwfw-top .zwfw-top-nav {
    width: 100%;
    margin-top: 0.3rem;
  }

  .zwfw-top-nav ul li {
    width: 3.06rem;
    height: 1.1rem;
  }

  .zwfw-top-nav .zwfw-nav-icon a,
  .zwfw-top-nav .zwfw-nav-icon:nth-child(2) a,
  .zwfw-top-nav .zwfw-nav-icon:nth-child(3) a,
  .zwfw-top-nav .zwfw-nav-icon:nth-child(4) a,
  .zwfw-top-nav .zwfw-nav-icon:nth-child(5) a,
  .zwfw-top-nav .zwfw-nav-icon:nth-child(6) a {
    background-size: 25%;
  }

  .zwfw-top-nav ul li a {
    font-size: 0.3rem;
    width: 3.06rem;
    height: 1.1rem;
    line-height: 1.1rem;
    padding-left: 1.2rem;
  }

  .zwfw-bottom {
    display: none;
  }

  .centerBanner {
    display: none;
  }

  /* 六轮切换 */
  .sixTab-title span:first-child {
    font-size: 0.36rem;
    background: url(../images/yunduo.png)
      /*tpa=https://www.jcs.gov.cn/cms_files/webjinchangshirmzf/tplobject/defaultSet/ecf5f26f15ba4d7c9f4cfbb5c4459280/images/yunduo.png*/
      2rem center no-repeat;
    display: block;
  }

  .sixTab-title span:last-child {
    font-size: 0.26rem;
    background: none;
    padding-left: 0;
  }

  .sixTab,
  .sixTab-box {
    height: auto;
  }

  .sixTab-box .sixTab-header {
    width: 100%;
    height: 8rem;
    margin-right: 0;
  }

  .sevenTab {
    flex-wrap: wrap;
    padding: 0.24rem;
  }

  .sixTab {
    flex-wrap: wrap;
    padding: 0.24rem;

    .imgBox {
      display: none !important;
    }

    .newBox {
      width: 100% !important;
      padding: 0 !important;
      margin-bottom: 0.4rem;
    }

    .leftTil {
      margin-bottom: 0.2rem;
    }

    .leftBox {
      /* margin-bottom: 0.4rem; */
    }

    .rightBox {
      padding: 0 !important;
    }
  }

  .sixTab-header {
    background-size: 100%;
  }

  .sixTab-header .sixTab-list li {
    width: 2.2rem;
    height: 2rem;
    background-size: 100%;
  }

  .sixTab-header .sixTab-list li.active {
    width: 2.2rem;
    height: 2rem;
    background-size: 120%;
  }

  #jcStory {
    top: 0.18rem;
    left: 2.3rem;
  }

  #newMedia {
    top: 1.6rem;
    right: 0.8rem;
  }

  #openData {
    top: 3.72rem;
    right: 0.8rem;
  }

  #zqNav {
    top: 5rem;
    left: 2.3rem;
  }

  #projectCol {
    top: 3.72rem;
    left: 0.6rem;
  }

  #zmInteractive {
    top: 1.6rem;
    left: 0.6rem;
  }

  .sixTab-header .sixTab-list li a {
    font-size: 0.35rem;
    line-height: 1.1rem;
  }

  .jcStoryTab {
    width: 100%;
  }

  .jcStoryTab-list li a {
    font-size: 0.3rem;
  }

  .sixTab-box .swiper-container {
    width: 100%;
    height: auto;
  }

  .jcProbably-txt {
    display: none;
  }

  .jcCity-box,
  .jcProbably {
    width: 100%;
  }

  .jcCity-body .swiper-pagination {
    background-repeat: repeat;
  }

  .jcCity-message ul li a {
    font-size: 0.3rem;
  }

  .jcProbably-list .jcProbably-list-li a,
  .jcProbably-list .jcProbably-list-li span {
    font-size: 0.3rem;
  }

  .jcProbably-list .jcProbably-list-li {
    width: 100%;
    height: 2rem;
    margin-bottom: 0.15rem;
  }

  .city-jc-top li {
    width: 100%;
  }

  .city-jc-top {
    height: auto;
  }

  .city-jc-bottom {
    display: none;
  }

  .jcWechatTab-list li a {
    font-size: 0.3rem;
  }

  .jcWechatTab-list li {
    margin-right: 0.25rem;
  }

  .jcWexinTab-list li {
    width: 2rem;
  }

  .jcWexinTab-header {
    width: 100%;
  }

  .sixTab-box .swiper-container .swiper-slide {
    height: auto;
    width: 100% !important;
  }

  .jcWechatTab-box .swiper-container {
    height: auto;
  }

  .jcWechatTab-box {
    width: 100%;
  }

  .jcWexinTab-list li a {
    font-size: 0.25rem;
  }

  .jcWechatTab-box .swiper-container {
    margin-top: 0.3rem;
  }

  .jcWexinTab-box .swiper-container .swiper-slide img {
    width: 2rem;
    height: 2rem;
    margin-top: 2.2rem;
  }

  .jcWexinTab-box .swiper-container .swiper-slide span {
    display: inherit;
    font-size: 0.3rem;
  }

  .jcWexinTab-lists li {
    width: 2rem;
    margin: 0.32rem 0.32rem 0 0;
  }

  .jcWexinTab-lists li:first-child,
  .jcWexinTab-lists li:nth-child(2),
  .jcWexinTab-lists li:nth-child(3),
  .jcWexinTab-lists li:nth-child(4) {
    margin: 0.32rem 0.32rem 0 0;
  }

  .jcWexinTab-lists li:nth-child(4n) {
    margin: 0.32rem 0.32rem 0 0;
  }

  .data-open {
    width: 100%;
    height: auto;
  }

  .data-list li {
    margin-bottom: 0.24rem;
  }

  .sixTab {
    margin-bottom: 0;
  }

  .link-nav {
    width: 100%;
    height: auto;
  }

  .bt-ztzl .bt-list-hidden .bt-lists-covers {
    height: auto;
  }

  .bt-ztzl .bt-list-hidden {
    height: auto;
  }

  /* 专题专栏手机端样式 */
  @media (max-width: 768px) {
    /* 专题容器 */
    .sevenTab {
        width: 100% !important;
        margin: 0 auto 15px !important;
        padding: 0 15px !important;
        box-sizing: border-box !important;
    }
    
    .sevenTab .leftTil {
        font-size: 18px !important;
        margin-bottom: 10px !important;
        padding-bottom: 8px !important;
    }
    
    /* 专题轮播容器 */
    .topic-swiper {
        height: 160px !important;
        width: 100% !important;
    }
    
    /* 轮播项样式 - 确保一次只显示一个 */
    .topic-swiper .swiper-slide {
        width: 100% !important;
        max-width: 100% !important;
        margin-right: 0 !important;
        padding: 10px !important;
    }
    
    /* 隐藏轮播箭头 */
    .topic-swiper .swiper-button-next,
    .topic-swiper .swiper-button-prev {
        display: none !important;
    }
    
    /* 优化分页器 */
    .topic-swiper .swiper-pagination {
        bottom: -20px !important;
    }
    
    /* 专题图片响应式 */
    .topic-swiper .swiper-slide img {
        max-width: 100% !important;
        height: auto !important;
        max-height: 120px !important;
        display: block !important;
        margin: 0 auto !important;
    }
  }
  
  /* 小屏幕手机优化 */
  @media (max-width: 480px) {
    .topic-swiper {
        height: 140px !important;
    }
    
    .sevenTab .leftTil {
        font-size: 16px !important;
    }
    
    .topic-swiper .swiper-slide img {
        max-height: 100px !important;
    }
  }

  .email-link {
    height: 2rem;
    margin-bottom: 0.24rem;
  }

  .email-link li {
    width: 1.2rem;
    margin-left: 0.24rem;
  }

  .email-link li a {
    padding-top: 1.2rem;
    font-size: 0.23rem;
  }

  .email-link .email-link-szrx,
  .email-link .email-link-szxx,
  .email-link .email-link-wyzx,
  .email-link .email-link-wyts,
  .email-link .email-link-wyjy {
    background-size: 100%;
  }

  .email-link li:first-child a {
    padding-top: 1rem;
  }

  .jczmhdTab-list li a {
    font-size: 0.34rem;
  }

  .email-list {
    width: 100%;
    height: auto;
  }

  .zmhd-list {
    height: auto;
    margin-top: 0.24rem;
  }

  .gonggao2,
  .gonggao3,
  .gonggao4 {
    display: none;
  }

  .list-container {
    width: 100% !important;
    flex-wrap: wrap;
    padding: 15px 0;

    .left {
      width: 100%;
      padding: 0 15px;
    }

    .right {
      display: none;
    }
  }

  .tgBox {
    .post_content {
      input {
        padding: 0 10px;
      }
    }

    button {
      font-size: 16px;
    }
  }

  /* 专家库页面移动端适配 */
  .list-container {
    width: 100% !important;
    flex-direction: column;
  }

  /* 侧边悬浮窗在移动端强制隐藏 */
  .youcebox {
    display: none !important;
  }
  
  .pagination button {
    padding: 8px 12px !important;
    margin: 5px !important;
    border: 1px solid #ddd !important;
    background-color: #fff !important;
    color: #333 !important;
    border-radius: 4px !important;
    font-size: 14px !important;
  }
  
  .pagination button.active {
    background-color: #007bff !important;
    color: #fff !important;
    border-color: #007bff !important;
  }
  
  /* 地方站导航优化 */
  .ty-nav2 {
    overflow-x: auto !important;
    white-space: nowrap !important;
    -webkit-overflow-scrolling: touch !important;
  }
  
  #city_link {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }
  
  .city_list {
    display: flex !important;
    padding: 0 10px !important;
  }
  
  .city_name {
    margin-right: 10px !important;
    flex-shrink: 0 !important;
  }
  
  .city_name div {
    font-size: 14px !important;
  }

  .expert-tab-container {
    margin-top: 20px;
  }

  .expert-tabs {
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
  }

  .expert-tab {
    padding: 12px 15px;
    font-size: 14px;
    flex-shrink: 0;
  }

  .expert-tab-content {
    padding: 15px;
  }

  .expert-item {
    flex-direction: column;
    align-items: flex-start;
    padding: 12px;
  }

  .expert-info-wrapper {
    width: 100%;
  }

  .expert-name {
    font-size: 16px;
    margin-bottom: 8px;
  }

  .expert-info {
    font-size: 13px;
    line-height: 1.4;
  }

  .expert-info span {
    margin-right: 10px;
    margin-bottom: 5px;
  }

  .expert-detail-btn {
    margin-top: 10px;
    padding: 6px 12px;
    font-size: 13px;
    align-self: flex-end;
  }

  /* 侧边悬浮窗在移动端隐藏 */
  .youcebox,
  .leftcebox {
    display: none !important;
  }

  /* 响应式导航栏 - 保持原始大小并添加横向滚动 */
  .ty-nav {
    display: block;
  }

  .ty-nav2 {
    display: block;
  }
  
  /* 确保导航容器允许横向滚动 */
  .ty-nav .ty-container,
  .ty-nav2 .ty-container {
    padding: 0 !important;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
  }
  
  /* 移除默认的换行，让导航项横向排列 */
  .mainNav {
    overflow-x: visible;
    white-space: nowrap;
    margin: 0 !important;
    padding: 0 !important;
    min-width: fit-content;
  }
  
  /* 保持导航项原始大小，不做任何缩放 */
  .mainNav li {
    display: inline-block;
    margin: 0 !important;
    padding: 0 !important;
    zoom: 1;
  }
  
  /* 确保导航链接保持原始样式 */
  .mainNav li a {
    padding: 10px 15px !important;
    font-size: 14px !important;
    white-space: nowrap;
  }
  
  /* 地方站样式修改 - 与列表格式保持一致 */
  #city_link {
    width: 100%;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
  
  #city_link::-webkit-scrollbar {
    height: 4px;
  }
  
  #city_link::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 2px;
  }
  
  #city_link::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 2px;
  }
  
  .city_list {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    height: auto;
    padding: 10px 0;
    min-width: fit-content;
    white-space: nowrap;
  }
  
  
  /* 确保ty-nav2容器不会限制内容显示 */
  .ty-nav2 .ty-container {
    width: 100%;
    overflow-x: visible !important;
  }
  
  /* 隐藏滚动条但保留滚动功能 */
  .ty-nav .ty-container::-webkit-scrollbar,
  .ty-nav2 .ty-container::-webkit-scrollbar {
    height: 0;
  }
  
  .ty-nav .ty-container,
  .ty-nav2 .ty-container {
    -ms-overflow-style: none;
    scrollbar-width: none;
  }



  

  
  /* 移动端导航菜单 */
  .mobile-nav-menu {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background-color: white;
    z-index: 9998;
    padding: 60px 20px;
    transition: right 0.3s ease;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    overflow-y: auto;
  }
  
  /* 表单移动端样式 - feedback.html */
@media (max-width: 768px) {
  /* 通用表单样式 */
  .list-container {
    padding: 10px !important;
    flex-direction: column !important;
  }
  
  .list-container .left {
    width: 100% !important;
  }
  
  .list-container .right {
    display: none !important;
  }
  
  .youcebox {
    display: none !important;
  }
  
  /* 反馈表单样式 */
  #feedbackForm {
    padding: 10px 0;
  }
  
  #feedbackForm label {
    display: block !important;
    margin-bottom: 15px !important;
    font-size: 14px;
    color: #333;
  }
  
  #feedbackForm input[type="text"],
  #feedbackForm input[type="tel"],
  #feedbackForm input[type="email"],
  #feedbackForm textarea {
    width: 100% !important;
    padding: 10px !important;
    border: 1px solid #ddd !important;
    border-radius: 4px !important;
    box-sizing: border-box !important;
    font-size: 14px;
    margin-top: 5px;
  }
  
  #feedbackForm textarea {
    height: 120px !important;
    resize: vertical;
  }
  
  #feedbackForm button {
    width: 100% !important;
    padding: 12px !important;
    background-color: #0066cc !important;
    color: white !important;
    border: none !important;
    border-radius: 4px !important;
    font-size: 16px;
    cursor: pointer;
  }
  
  #feedbackForm button:hover {
    background-color: #0052a3 !important;
  }
  
  /* 查询页面样式 - queryPeople.html */
.query_all {
  height: auto !important;
  padding: 10px !important;
}

.query-box {
  width: 100% !important;
  height: auto !important;
  padding: 20px 15px !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06) !important;
}

.query-box .row {
  gap: 8px !important;
}

.query-box .row label {
  font-size: 15px !important;
  color: #333 !important;
}

.query-box .row input {
  height: 46px !important;
  font-size: 16px !important;
  padding: 0 15px !important;
  border: 1px solid #ddd !important;
  border-radius: 8px !important;
  background-color: white !important;
}

.query-box button {
  width: 100% !important;
  height: 48px !important;
  margin-top: 20px !important;
  font-size: 17px !important;
  background-color: #0066cc !important;
}

.query-box button:hover {
  background-color: #0052a3 !important;
}

/* 人员卡片样式 */
.people-card a {
  flex-direction: column !important;
  text-align: center !important;
  padding: 15px !important;
  margin-bottom: 15px !important;
}

.people-card img {
  width: 80px !important;
  height: 100px !important;
  margin-bottom: 10px !important;
}

.people-card .info h3 {
  font-size: 16px !important;
  margin-bottom: 8px !important;
}

.people-card .info p {
  font-size: 13px !important;
  margin-bottom: 4px !important;
  line-height: 1.4 !important;
}

/* 查询结果标题 */
.result-title {
  font-size: 16px !important;
  padding: 15px 0 !important;
  text-align: center !important;
}
  
  /* 查询结果样式 */
.query-result {
  padding: 15px 10px !important;
  margin-top: 20px !important;
  background-color: white !important;
  border-radius: 12px !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04) !important;
}

/* 表格响应式优化 */
.query-result table {
  width: 100% !important;
  font-size: 13px !important;
  border-collapse: collapse !important;
  display: block !important;
  overflow-x: auto !important;
  white-space: nowrap !important;
}

.query-result th,
.query-result td {
  padding: 10px 6px !important;
  text-align: left !important;
  font-size: 13px !important;
  border-bottom: 1px solid #f0f0f0 !important;
}

.query-result th {
  background-color: #f8f9fa !important;
  color: #333 !important;
  font-weight: 600 !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 10 !important;
}

/* 空结果状态样式 */
#result:empty::before {
  content: "暂无查询结果" !important;
  display: block !important;
  text-align: center !important;
  padding: 40px 10px !important;
  color: #999 !important;
  font-size: 14px !important;
}

/* 错误提示样式 */
.error-message {
  color: #c7000b !important;
  font-size: 14px !important;
  padding: 10px !important;
  background-color: #fff5f5 !important;
  border: 1px solid #ffccc7 !important;
  border-radius: 8px !important;
  margin: 15px 0 !important;
  text-align: center !important;
}

/* 加载状态样式 */
    .loading {
      text-align: center !important;
      padding: 30px 10px !important;
      color: #666 !important;
      font-size: 14px !important;
    }

    /* 仅PC端显示的元素 */
    .pc-only {
      display: none !important;
    }

    /* 修复查询按钮背景颜色 */
    .query-box button {
      background-color: #0066cc !important;
      color: white !important;
    }

    /* 优化触摸反馈 */
    .query-box button:active {
      background-color: #004c99 !important;
      transform: scale(0.98) !important;
    }

    /* 输入框聚焦优化 */
    .query-box .row input:focus {
      border-color: #0066cc !important;
      box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1) !important;
    }
  
  /* 标题样式 */
  .post_title {
    font-size: 18px !important;
    margin: 15px 0 !important;
    color: #333;
    text-align: center;
  }
  
  /* 提交成功消息样式 */
  #thanksMsg {
    padding: 20px !important;
    text-align: center;
  }
  
  #thanksMsg svg {
    margin: 0 auto 15px !important;
  }
  
  #thanksMsg p {
    font-size: 14px !important;
    margin-bottom: 15px !important;
  }
  
  #resetBtn {
    padding: 8px 20px !important;
    background-color: #0066cc !important;
    color: white !important;
    border: none !important;
    border-radius: 4px !important;
    font-size: 14px;
  }
}

  .mobile-nav-menu.active {
    right: 0;
  }

  .mobile-nav-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .mobile-nav-menu li {
    border-bottom: 1px solid #eee;
  }

  .mobile-nav-menu li a {
    display: block;
    padding: 15px 0;
    color: #333;
    text-decoration: none;
    font-size: 16px;
  }

  .mobile-nav-menu .close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #666;
  }

  /* 响应式页脚 */
  #ty-footer {
    padding: 20px 15px;
  }

  .ty-footer-nav {
    display: flex;
    padding: 0.3rem 0rem !important;;
    flex-wrap: wrap;
    justify-content: center;
  }

  .ty-footer-nav .nav_item {
    font-size: 14px;
    margin: 5px 10px;
  }

  .ty-footer-nav div {
    display: none;
  }

  /* 底部版权信息样式优化 */
  .ty-info {
    padding: 15px 10px;
    font-size: 13px;
    line-height: 1.6;
    text-align: center;
    color: #e0e0e0;
    margin: 0 auto;
    max-width: 100%;
  }

  .ty-infos {
    width: 100%;
    font-size: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .ty-infos span {
    display: block;
    margin-bottom: 5px;
    font-size: 12px;
    line-height: 1.5;
    word-break: break-word;
    white-space: normal;
    width: 100%;
    text-align: center;
  }

  /* 顶部搜索框调整 */
  .topBox .rightBox {
    display: flex;
    align-items: center;
  }

  .topBox .rightBox .dateBox {
    font-size: 12px;
    margin-right: 10px;
  }

  .topBox .rightBox .inp_Box {
    width: 120px;
    font-size: 12px;
  }

  /* 分页容器调整 */
  .pagination-container {
    margin-top: 20px;
  }

  /* 首页新闻模块适配 */
  .news-list {
    padding: 0 15px;
  }

  .news-item {
    flex-direction: column;
    padding: 10px 0;
  }

  .news-img {
    width: 100%;
    height: 160px;
    margin-right: 0;
    margin-bottom: 10px;
  }

  .news-content {
    width: 100%;
    padding: 0;
  }

  .news-title {
    font-size: 16px;
    line-height: 1.4;
  }

  .news-meta {
    font-size: 12px;
    margin-top: 8px;
  }

  /* 更多首页模块适配 */
  .content-main {
    padding: 10px;
  }

  .news-module {
    margin-bottom: 20px;
  }

  .module-title {
    font-size: 18px;
    padding: 10px 0;
  }

  .row {
    margin-left: -10px;
    margin-right: -10px;
  }

  .col-xs-12 {
    padding-left: 10px;
    padding-right: 10px;
  }

  /* 确保所有图片在移动端自适应 */
  img {
    max-width: 100%;
    height: auto;
  }

  /* 确保文本不会溢出 */
  p, span, div {
    word-break: break-word;
    font-size: 0.4rem;
  }

  /* 政务服务区域适配 */
  .zwfw-list {
    padding: 10px;
  }

  .zwfw-item {
    width: 50%;
    padding: 10px;
  }

  .zwfw-item a {
    font-size: 14px;
    text-align: center;
  }

  /* 专家库样式优化 */
  .expert-card {
    width: 100%;
    margin-bottom: 15px;
  }

  /* 轮播图按钮隐藏 */
  .swiper-button-prev,
  .swiper-button-next {
    display: none !important;
  }

  /* 横向滚动列表 */
  .scrollable-list {
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 10px;
  }

  .scrollable-list::-webkit-scrollbar {
    height: 4px;
  }

  .scrollable-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 2px;
  }

  .scrollable-list::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 2px;
  }

  /* 优化触摸区域 */
  a, button {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }

  /* 标题区域样式优化 */
  .title-bar {
    padding: 10px 15px;
  }

  .title-bar h2 {
    font-size: 18px;
    margin: 0;
  }

  /* 确保搜索框在移动端正常显示 */
  .search-box {
    padding: 10px;
  }

  .search-input {
    width: 100%;
    padding: 8px 12px;
    font-size: 14px;
  }

  .search-btn {
    padding: 8px 15px;
    font-size: 14px;
  }

  /* 数字金昌banner适配 */
  .centerBanner {
    width: 100%;
    height: auto;
  }

  /* 专题模块适配 */
  .special-topics {
    padding: 15px;
  }

  .topic-item {
    margin-bottom: 15px;
  }

  /* 七个标签区域适配 */
  .sevenTab {
    overflow-x: auto;
    white-space: nowrap;
  }

  .sevenTab .tab-item {
    display: inline-block;
    margin-right: 10px;
    padding: 5px 15px;
    font-size: 14px;
  }

  /* 新闻动态区域适配 */
  .newsDynamic {
    padding: 10px;
  }

  .newsDynamicTab-list {
    overflow-x: auto;
    white-space: nowrap;
  }

  .newsDynamicTab-list .tab-btn {
    display: inline-block;
    margin-right: 15px;
    padding: 8px 0;
    font-size: 14px;
  }

  /* 底部版权信息样式优化 */
  .ty-info {
    padding: 10px !important;
  }

  .ty-infos span {
    font-size: 12px;
    line-height: 1.5;
  }

  /* 确保所有文本内容在移动端正常显示 */
  .text-content {
    font-size: 14px;
    line-height: 1.6;
    padding: 10px !important;
  }

  /* 确保二维码和联系方式区域在移动端正常显示 */
  .contact-qrcode {
    width: 100%;
    padding: 15px;
  }

  .qrcode-item {
    width: 100%;
    margin-bottom: 15px;
  }

  /* 隐藏不必要的元素 */
  .hidden-mobile {
    display: none;
  }

  /* 政务服务区域适配 */
  .zwfw-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0 15px;
  }

  .zwfw-item {
    width: 48%;
    margin-bottom: 15px;
  }

  .zwfw-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto 8px;
  }

  .zwfw-name {
    font-size: 14px;
    text-align: center;
  }


  .swiper-slide img {
    height: 100%;
    object-fit: cover;
  }

  /* 搜索框响应式调整 */
  .search-box {
    padding: 0 15px;
  }

  .search-input {
    height: 36px;
    font-size: 14px;
  }

  .search-btn {
    height: 36px;
    width: 60px;
    font-size: 14px;
  }

  /* 标题区域调整 */
  .title-bar {
    padding: 15px;
  }

  .title-bar h3 {
    font-size: 16px;
  }

  /* index.html 特定适配 */
  .sy-container {
    padding: 0;
  }

  /* 头条区域适配 */
  .header_title {
    padding: 0 15px;
  }

  .header_content {
    width: calc(100% - 40px);
  }

  /* 大图新闻适配 */
  .photo-new {
    padding: 0 15px;
    margin-top: 15px;
  }

  .photo-new-box {
    height: 200px !important;
  }

  .swiper-button-next,
  .swiper-button-prev {
    display: none;
  }

  /* 查找政府服务适配 */
  .lookupService {
    padding: 0 15px;
    margin-top: 20px;
  }

  .lifecycle-list {
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
  }

  .lifecycle-list li {
    display: inline-block;
    margin-right: 10px;
  }

  /* 六个标签区域适配 */
  .sixTab {
    padding: 0 15px;
    margin-top: 20px;
    flex-direction: column;
  }

  .sixTab .leftBox,
  .sixTab .rightBox {
    width: 100% !important;
  }

  .sixTab .rightBox {
    margin-top: 15px;
  }

  .leftTil {
    font-size: 16px;
  }

  .newBox ul li {
    padding: 8px 0;
  }

  .newBox ul li a {
    font-size: 14px;
  }

  /* 数字金昌banner适配 */
  .centerBanner {
    padding: 0 15px;
  }

  /* 顶部logo和搜索框适配 - 同一水平线 */
  .topBox {
    padding: 10px 15px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .topBox .leftBox {
    margin-bottom: 0;
  }

  .topBox .leftBox img {
    width: 120px;
    height: auto;
  }

  .topBox .rightBox {
    display: flex;
    align-items: center;
    margin-left: 10px;
    flex: 1;
  }
  
  /* 搜索框和按钮同一行 */
  .topBox .rightBox .inp_Box {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 300px;
  }
  
  .topBox .rightBox .inp_Box input {
    flex: 1;
    margin-right: 0;
  }
  
  .topBox .rightBox .inp_Box button {
    margin-left: 0;
  }

  /* 新闻动态适配 */
  .newsDynamic {
    flex-direction: column;
  }

  .newsDynamic-left,
  .newsDynamic-right {
    width: 100% !important;
  }

  .newsDynamic-right {
    margin-top: 15px;
  }

  /* 新闻列表适配 */
  .newsDynamicTab-list {
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    display: flex;
    justify-content: space-around;
  }

  .newsDynamicTab-list li {
    display: inline-block;
  }

  /* 其他Box适配 */
  .otherBox {
    margin-top: 15px;
  }

  /* 专题模块适配 */
  .sevenTab {
    padding: 0 15px;
    margin-top: 20px;
  }

  /* 二维码和联系方式适配 */
  .sevenTab .erweima,
  .sevenTab .contact {
    width: 100% !important;
    margin-bottom: 15px;
  }

  /* 底部版权信息适配 */
  .copyR {
    padding: 10px 15px;
    font-size: 12px;
    text-align: center;
  }

  /* 防止文字溢出 */
  .newTitle {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  /* 优化触摸区域 */
  a,
  button {
    font-size: 14px;
    -webkit-tap-highlight-color: transparent;
  }

  /* 优化图片加载 */
  img {
    max-width: 100%;
    height: auto;
    right: 5% !important;
  }
}