/* 手机端响应式样式 */
@media screen and (max-width: 768px) {
  
  /* 主容器自适应 */
  .gx_home_header_content,
  .gx_home_menu_content,
  .gx_home_footer_content,
  .gx_home_search_content,
  .container,
  .content {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    box-sizing: border-box !important;
  }
  
  /* 头部导航 */
  .gx_home_header {
    height: auto !important;
    min-height: 60px !important;
  }
  
  .gx_home_header_content {
    flex-direction: column !important;
    height: auto !important;
    padding: 10px 15px !important;
  }
  
  .gx_home_header_left {
    width: 100% !important;
    justify-content: center !important;
    margin-bottom: 10px !important;
  }
  
  .gx_home_header_right {
    width: 100% !important;
    justify-content: center !important;
  }
  
  /* 搜索框 */
  .gx_home_search {
    width: 100% !important;
    margin: 10px 0 !important;
  }
  
  /* 菜单导航 */
  .gx_home_menu {
    overflow-x: auto !important;
  }
  
  .gx_home_menu_ul {
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    padding: 0 15px !important;
  }
  
  .gx_home_menu_ul li {
    white-space: nowrap !important;
    margin-right: 15px !important;
  }
  
  /* 图片自适应 */
  img {
    max-width: 100% !important;
    height: auto !important;
  }
  
  /* 表格横向滚动 */
  table {
    display: block !important;
    overflow-x: auto !important;
    white-space: nowrap !important;
    -webkit-overflow-scrolling: touch !important;
  }
  
  table tbody,
  table tr,
  table td {
    display: block !important;
  }
  
  /* flex布局改为纵向 */
  .flex,
  .flex-row,
  .flex-wrap {
    flex-direction: column !important;
  }
  
  /* 内容区块间距 */
  .section,
  .block,
  .module {
    margin: 15px 0 !important;
    padding: 15px !important;
  }
  
  /* 字体大小调整 */
  body {
    font-size: 14px !important;
    line-height: 1.6 !important;
  }
  
  h1 { font-size: 22px !important; }
  h2 { font-size: 18px !important; }
  h3 { font-size: 16px !important; }
  
  /* 底部footer */
  .gx_home_footer {
    padding: 20px 15px !important;
  }
  
  .gx_home_footer_top {
    flex-direction: column !important;
  }
  
  .gx_home_footer_left,
  .gx_home_footer_middle,
  .gx_home_footer_right {
    width: 100% !important;
    margin-bottom: 20px !important;
    text-align: center !important;
  }
  
  /* 热门车型列表 */
  .hot-car-list,
  .car-list,
  .product-list {
    flex-direction: column !important;
  }
  
  .hot-car-item,
  .car-item,
  .product-item {
    width: 100% !important;
    margin: 10px 0 !important;
  }
  
  /* 热门推荐区块 */
  .gx_home_hot_car_content {
    display: block !important;
  }
  
  .gx_home_hot_car_item {
    width: 100% !important;
    margin-bottom: 15px !important;
  }
  
  /* 友链和标签 */
  .friend-link ul,
  .tag-list {
    flex-wrap: wrap !important;
    justify-content: center !important;
  }
  
  .friend-link li,
  .tag-item {
    margin: 5px !important;
  }
  
  /* 隐藏不必要的元素（可选） */
  .hide-mobile {
    display: none !important;
  }
  
}

/* 平板适配 */
@media screen and (min-width: 769px) and (max-width: 1024px) {
  
  .gx_home_header_content {
    padding: 10px 20px !important;
  }
  
  .gx_home_menu_ul {
    padding: 0 20px !important;
  }
  
}
