/* 响应式设计 - about.html */

/* 移动端基础样式 */
@media (max-width: 767px) {
    /* 重置宽度限制 */
    .info_content {
        padding: 0 15px;
    }
    .w, .navbg, .new_content, .i-header-hd, .news-groom, .index-wrap, .ft-wrap, .i-header-sub, .footer-main, .menu-columns, .menu-section-fl, .ban-cont, .i-pro .list, .i-pro .list li {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
        margin-left: 0 !important;
        margin-right: 0 !important;
        float: none !important;
    }
    
    .navbg {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 15px;
    }
    #header {
        min-width: 100%;
        height: auto;
       
    }
    .top_r .top_nav {
        display: none;
    }
    .ml_p1 {
        width: auto;
    }
    #loca .locar {
        display: none;
    }
  .sort_list li a.scurr {
    border-bottom: none;
  }
    /* 头部样式 */
    .top_l {
        font-size: 12px;
        padding: 10px 15px;
        line-height: 1.4;
    }
    
    .top_r .top_nav {
        font-size: 12px;
    }
    
    /* 移动端导航菜单 - 折叠样式 */
    .nav-toggle {
        display: block !important;
        position: absolute !important;
        right: 15px !important;
        width: 50px !important;
        height: 50px !important;
        color: #0056b3  !important;
        border: none !important;
        border-radius: 5px !important;
        cursor: pointer !important;
        z-index: 9999 !important;
        font-size: 28px !important;
        text-align: center !important;
        line-height: 48px !important;
        padding: 0 !important;
        margin: 0 !important;
        background: transparent;
    }
    .navbg {
        padding-top: 0;
    }
    /* 激活状态下的样式 */
    #nav.nav-open + .nav-toggle {
        background-color: #003d82 !important;
    }
    
    #nav {
        display: none;
        position: absolute;
        top: 102px;
        left: 0;
        right: 0;
        background-color: #fff;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        z-index: 1000;
        flex-direction: column;
        width: 100%;
    }
    
    #nav.nav-open {
        display: flex;
        animation: slideDown 0.3s ease-out;
        justify-content: center;
        align-items: center;
    }
    
    @keyframes slideDown {
        from { opacity: 0; transform: translateY(-10px); }
        to { opacity: 1; transform: translateY(0); }
    }
    
    #nav .nav_item {
        margin: 5px 0;
        border-top: 1px solid #eee;
        padding-bottom: 8px;
        width: 100%;
        padding: 0;
    }
    
    #nav .nav_item:last-child {
        border-bottom: none;
    }
    
    #nav .nav_item a {
        font-size: 14px;
        padding: 8px 0;
        display: block;
        color: #333;
    }
    
    #nav .nav_item a:hover {
        color: #0056b3;
        text-decoration: none;
    }
    
    /* Banner样式 */
    .banner {
        height: 150px !important;
        background-size: cover;
    }
    
    /* 面包屑导航 */
    .loca {
        flex-direction: column;
        align-items: flex-start;
    }
    #loca {
        padding:  0 15px;
        width: auto;

    }
    .local, .locar {
        margin-bottom: 10px;
    }
    
    /* Tab切换样式优化 */
    #side {
        width: 100% !important;
        margin-bottom: 20px;
    }
    
    .tab_container {
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        position: relative;
    }
    
    .sort_list {
        display: flex;
        padding: 10px 0;
        flex-wrap: nowrap;
        justify-content: flex-start;
        margin: 0 !important;
        background-color: #f8f9fa;
        border-radius: 8px;
    }
    
    .sort_list li {
        flex-shrink: 0;
        padding: 0 10px;
        margin: 0 !important;
    }
    
    .sort_list li a {
        display: block;
        padding: 10px 15px !important;
        font-size: 14px;
        color: #666;
        background-color: transparent;
        transition: all 0.3s ease;
        text-decoration: none !important;
    }
    
    .sort_list li a:hover {
        color: #0056b3;
        background-color: rgba(0, 86, 179, 0.1);
    }
    
    .sort_list li a.scurr {
        color: #fff !important;
        font-weight: bold;
    }
    
    .sort_list li a h2 {
        font-size: 14px !important;
        margin: 0 !important;
        padding: 0 !important;
        font-weight: normal;
    }
    
    .sort_list li a.scurr h2 {
        font-weight: bold;
    }
    
    /* 内容区域优化 */
    .about_content {
        padding: 15px;
        width: 100% !important;
        float: none !important;
        margin: 0 !important;
        background-color: #fff;
        border-radius: 8px;
        box-shadow: 0 2px 4px rgba(0,0,0,0.05);
        margin-bottom: 20px;
        box-sizing: border-box;
    }
    .bottom_nav li dl {
        height: 100px;
    }
    .about_content img {
        max-width: 100%;
        height: auto;

    }
    #foot {
        padding: 15px;
    }
    /* 调整主内容容器布局 */
    .content .w {
        display: flex;
        flex-direction: column;
    }
    
    /* 确保内容块正常显示 */
    .tab_content {
        padding: 15px;
        background-color: #fff;
        border-radius: 8px;
        box-shadow: 0 2px 4px rgba(0,0,0,0.05);
        margin-bottom: 20px;
        width: 100%;
    }
    
    .fs_h2 {
        font-size: 18px;
        margin-bottom: 15px;
    }
    
    /* 文本样式 */
    p {
        font-size: 14px;
        line-height: 1.6;
        text-align: left;
    }
    
    /* 图片样式优化 */
    .ml_img1, .mll_text img, .gallery_item img {
        float: none !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        margin: 10px 0 !important;
        border-radius: 4px;
    }
    
    /* 企业文化卡片 */
    .culture_values {
        flex-direction: column;
    }
    
    .value_item {
        width: 92%;
        margin: 10px 0;
    }
    
    /* 发展历程时间轴 */
 
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline_year {
        font-size: 14px;
    }
    
    /* 办公环境图库 */
    .office_gallery {
        flex-direction: column;
    }
    
    .gallery_item {
        width: 100%;
        margin-bottom: 15px;
    }
    
    /* 联系我们样式 */
    .contact_details li {
        padding-left: 25px;
        font-size: 14px;
    }
    
    .contact_icon {
        width: 16px;
        height: 16px;
        background-size: contain;
    }
    
    .contact_gallery .gallery_row {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .contact_gallery .gallery_row img {
        width: 100%;
        margin-bottom: 10px;
    }
    .left_tel {
        width: 290px;
    }
    /* 页脚样式 */
    .footer {
        padding: 20px 15px;
    }
    
    .section_link {
        flex-direction: column;
    }
    
    .left_tel {
        margin-bottom: 20px;
        text-align: center;
    }
    
    .bottom_nav {
        flex-direction: column;
    }
    
    .bottom_nav li {
        margin-bottom: 20px;
    }
    
    /* 在线客服 */
    #online_qq_layer {
        position: fixed;
        bottom: 20px;
        right: 10px;
        z-index: 999;
    }
    
    #online_qq_tab {
        position: static;
    }
    
    .online_windows {
        width: 260px;
    }
    /* 报税页面 */
    .nav1 {
        padding: 0 15px;
    }
    .jylc  {
        padding: 0 15px !important;

    }
    .jykf  {
        padding: 0 15px !important;
        width: auto !important;
        height: 350px !important;
        background-size: cover !important;
    }
    .jykf .title1 {
        font-size: 22px !important;
    }
    .jykf .info .p2 {
        font-size: 22px !important;
    }
    .jykf .title1 {
        margin-top: 40px !important;
    }
    .jykf .info {
        margin-top: 30px !important;
        width: 100% !important;
    }
    .jylc-m img {
        width: 100%;
    }
    .i-pro .list {
        height: auto !important;
    }
   .i-pro .list ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
   }
    .i-pro .list ul li {
        width: 100% !important;

    }
    .i-pro .list li {
        left: 0% !important;
    }
    /* 陆运页面 */
    #luyun-intro {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 100%;
    }
    .luyun-title1,
    .xiaobao-title1 {
        padding-top: 50px;
    }
    .clf {
        padding: 0 15px;
    }
    .intro-b {
        width: 100% !important;
    }
    .intro-c {
        width: 100% !important;
        height: auto;
    }
    .mianf {
        padding: 0 15px;

    }
    .mian-col, .mian-col1 {
        width: auto !important;
        margin-left: 0 !important;
        
    }
    .mian-col1 {
        width: auto !important;
        margin-right: 0 !important;
    }
    .contact-btn {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    /* 小包页面 */
    .allgn1 dl dd {
        width: auto !important;
        padding: 0 !important;
    }
}

/* 平板端样式 */
@media (min-width: 768px) and (max-width: 1023px) {
    /* 恢复默认导航样式 */
    .nav-toggle {
        display: none !important;
    }
    
    #nav {
        display: flex !important;
        position: relative;
        top: auto;
        background-color: transparent;
        box-shadow: none;
        padding: 0;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    #nav .nav_item {
        margin: 5px;
        border-bottom: none;
        padding-bottom: 0;
        width: auto;
    }
    
    #nav .nav_item a {
        padding: 5px 10px;
        display: inline-block;
    }
    /* 重置宽度限制 */
    .w, .navbg, .new_content {
        width: 100% !important;
        max-width: 95% !important;
        margin: 0 auto;
        padding: 0 15px;
        box-sizing: border-box;
    }
    
    /* 平板端Tab样式 */
    #side {
        width: 100% !important;
        margin-bottom: 25px;
    }
    
    .tab_container {
        width: 100%;
    }
    
    .sort_list {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        margin: 0 auto !important;
        background-color: #f8f9fa;
        border-radius: 8px;
        padding: 10px;
    }
    
    .sort_list li {
        margin: 5px 8px !important;
    }
    
    .sort_list li a {
        padding: 12px 18px !important;
        font-size: 15px;
    }
    
    .sort_list li a h2 {
        font-size: 15px !important;
    }
    
    /* 平板端内容区域优化 */
    .about_content {
        padding: 20px 0;
        width: 100% !important;
        float: none !important;
        margin: 0 !important;
    }
    
    /* 平板端主内容容器布局 */
    .content .w {
        display: flex;
        flex-direction: column;
    }
    
    /* 平板端内容块样式 */
    .tab_content {
        padding: 20px;
        background-color: #fff;
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.08);
        margin-bottom: 25px;
    }
    
    /* 图片样式 */
    .ml_img1, .mll_text img, .gallery_item img {
        max-width: 100%;
        height: auto;
    }
    
    /* 企业文化卡片 */
    .culture_values {
        flex-wrap: wrap;
    }
    
    .value_item {
        width: 48%;
        margin: 10px 1%;
    }
    
    /* 办公环境图库 */
    .office_gallery {
        flex-wrap: wrap;
    }
    
    .gallery_item {
        width: 48%;
        margin-bottom: 20px;
    }
}

/* 大屏幕样式微调 */
@media (min-width: 1024px) and (max-width: 1299px) {
    /* 重置宽度限制 */
    .w, .navbg, .new_content {
        width: 100% !important;
        max-width: 1100px !important;
        margin: 0 auto;
    }
}

/* 超小屏幕优化 */
@media (max-width: 480px) {
    /* 导航菜单隐藏子菜单，保持简洁 */
    .nav-menu {
        display: none;
    }
    .logo {
        width: 120px;
        margin-top: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .logo .h1 {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .logo a {
       display: flex;
       justify-content: center;
       align-items: center;
    }
   
    .logo .h1 img {
        width: 100%;
        height: auto;
    }
    /* 简化的Tab切换 */
    .sort_list {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding: 8px 0;
    }
    
    .sort_list li {
        flex-shrink: 0;
        padding: 0 8px;
    }
    
    .sort_list li a {
        padding: 8px 12px !important;
        font-size: 13px;

    }
    
    .sort_list li a h2 {
        font-size: 14px !important;
    }
    
    /* 简化的联系信息 */
    .contact_details li {
        padding-left: 0;
        padding-bottom: 10px;
        border-bottom: 1px solid #eee;
    }
    
    .contact_icon {
        position: static;
        margin-right: 10px;
        width: 16px;
        height: 16px;
    }
    .intro-bb {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .intro-i {
        margin-bottom: 20px;
    }
    .intro-txt .title {
      text-align: center !important;
    }
      .allgn1 dl dd {
        float: none !important;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
      }
      .allgn1 dl dd .icon {
        width: auto !important;
      }
      .allgn1 dl dd h3 {
        text-align: center;
      }
      .quick-link {
        float: none !important;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 20px;
        justify-items: center;
      }
      .quick-link .link-b {
        padding: 0 !important;
      }
      .timeline {
        display: flex !important;
        flex-direction: column !important;
      }
 }
 
