/**
 * 移动端主内容样式
 * 适配主页面布局
 */

/* 平板适配 */
@media screen and (max-width: 1024px) {
  .shiximain {
    padding-top: 100px;
  }
  
  .headswiper {
    height: auto;
    min-height: 500px;
  }
  
  .headswiperwarp {
    width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
  }
  
  .shixinewswarpper {
    width: 95%;
    padding: 1.5rem;
  }
  
  .workflow {
    gap: 2rem;
  }
  
  .workflow .workflowwarp {
    max-width: 90%;
  }
  
  .workflow_items {
    flex-wrap: wrap;
    gap: 1rem;
  }
  
  .workflow_items .workflow_item {
    width: 140px;
    height: 200px;
  }
}

/* 手机端适配 */
@media screen and (max-width: 768px) {
  /* 声明按钮 - 移动端不漂浮，隐藏原始漂浮元素 */
  .demo {
    display: none !important;
  }
  
  /* 去除移动端背景图 */
  .headswiper {
    background-image: none !important;
    background-color: #f5f5f5;
  }
  
  .shiximain {
    padding-top: 115px;
    width: 100%;
  }
  
  .headswiper {
    height: auto;
    min-height: auto;
    padding: 20px 0;
    background-size: cover;
    background-position: center;
  }
  
  .headswiperwarp {
    width: 100%;
    position: relative;
    padding: 0 10px;
  }
  
  /* 工作流程区域 */
  .workflow {
    width: 100%;
    padding: 0 10px;
    gap: 1.5rem;
    box-sizing: border-box;
  }
  
  .workflow .workflowwarp {
    max-width: 100%;
    width: 100%;
  }
  
  .workflow .workflow_title {
    margin-bottom: 1rem;
    flex-direction: column;
    text-align: center;
  }
  
  .workflow .workflow_title .special {
    font-size: 24px;
    line-height: 28px;
  }
  
  .workflow .workflow_title .workflowt {
    position: relative;
    width: auto;
    font-size: 16px;
    line-height: 28px;
    margin-top: 5px;
  }
  
  .workflow_items {
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
  }
  
  .workflow_items .workflow_item {
    width: calc(50% - 0.5rem);
    height: auto;
    min-height: 180px;
    padding: 0.8rem;
  }
  
  .workflow_items .workflow_item .workflow_item_title {
    font-size: 14px;
  }
  
  .workflow_items .workflow_item .workflow_item_img {
    width: 100%;
    height: auto;
    max-height: 100px;
  }
  
  /* 新闻区域 */
  .shixinewswarpper {
    width: 100%;
    margin: 1rem auto;
    padding: 1rem;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  }
  
  .renzaizhichangtab {
    width: 100% !important;
  }
  
  .tab_list {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .tab_list ul {
    display: flex;
    flex-wrap: wrap;
  }
  
  .tab_list ul li {
    padding: 5px 1rem;
  }
  
  /* 对象范围 */
  .objrange {
    width: 100%;
    height: auto;
    max-width: 300px;
  }
  
  .objrange .objrange_title {
    width: 100%;
    font-size: 18px;
    height: 40px;
    line-height: 40px;
  }
  
  /* 最后工作流程 */
  .lastworkflow {
    margin: 2rem 0;
    flex-direction: column;
  }
  
  .lastworkflow_bg {
    height: auto;
    min-height: 300px;
  }
  
  .lastworkflow_items {
    position: relative;
    width: 100%;
    padding: 1rem;
    box-sizing: border-box;
  }
  
  .lastworkflow_items_l1,
  .lastworkflow_items_l2 {
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1rem;
  }
  
  .lastworkflow_item {
    width: 100%;
    max-width: 280px;
    height: 80px;
    font-size: 20px;
  }
  
  .lastworkflow_items_l3 {
    font-size: 24px;
    padding-top: 1.5rem;
  }
  
  .downhand {
    width: 100%;
    justify-content: center;
  }
  
  .qa {
    flex-direction: column;
    gap: 2rem;
    padding: 0 15px;
  }
}

/* 小屏手机适配 */
@media screen and (max-width: 480px) {
  .shiximain {
    padding-top: 100px;
  }
  
  .workflow .workflow_title .special {
    font-size: 20px;
  }
  
  .workflow .workflow_title .workflowt {
    font-size: 14px;
  }
  
  .workflow_items .workflow_item {
    width: calc(50% - 0.4rem);
    min-height: 150px;
    padding: 0.5rem;
  }
  
  .workflow_items .workflow_item .workflow_item_title {
    font-size: 12px;
  }
  
  .lastworkflow_item {
    height: 60px;
    font-size: 16px;
  }
  
  .lastworkflow_items_l3 {
    font-size: 20px;
  }
  
  .shixinewswarpper {
    padding: 0.8rem;
    margin: 0.8rem auto;
  }
  
  .tab_list ul li {
    font-size: 14px;
    padding: 5px 0.8rem;
  }
}
