/* =====================================================
   About Area — 公司介绍组件样式
   （已去重 + 整合 iPad Air / Mini 上下排版修正）
   ===================================================== */

/* ===== 1. 标题通用样式 ===== */
.witr_section_title_inner h1,
.witr_section_title_inner h2,
.witr_section_title_inner h3 {
  margin: auto;
  font-size: 40px;
  font-weight: bold;
  line-height: 40px;
  color: #8b572a;
}
.witr_section_title_inner h2 {
  color: #888;
  font-size: 18px;
  margin: 0;
  display: inline-block;
}
.witr_section_title_inner h1 span,
.witr_section_title_inner h2 span,
.witr_section_title_inner h3 span,
.witr_section_title_inner p span,
.witr_section_title_inner p span a {
  color: var(--color-primary);
}
.witr_section_title {
  margin-bottom: 45px;
}
.witr_section_title_inner p {
  width: 100%;
  padding: 10px 0 0 0;
}
.witr_section_title_inner.text-center p {
  width: 66%;
  margin-right: auto;
  margin-left: auto;
}

/* ===== 2. 按钮样式 ===== */
.witr_btn {
  font-size: 16px;
  font-weight: 600;
  border-radius: 5px;
  text-align: center;
  position: relative;
  margin-right: 15px;
  z-index: 2;
  transition: 1s;
  padding: 16px 40px;
  color: #fff;
  display: inline-block;
  background: var(--color-primary);
}
.witr_btn:hover {
  background: #555;
  color: #fff;
}

/* ===== 3. About Area 基础样式 ===== */
.bt_about_area {
  padding: 80px 0 20px 0;
}
.icon-list-item i {
  color: var(--color-primary);
  overflow: hidden;
  display: inline-block;
  margin-right: 8px;
  vertical-align: bottom;
}
.icon-list-icon + .icon-list-text {
  align-self: center;
  display: inherit;
}
.ab_cont_inner .witr_btn {
  margin-top: 46px;
}
.ab_cont_inner {
  margin-bottom: 20px;
}
.ab_cont_inner .witr_section_title {
  margin-bottom: 36px;
}

/* ===== 4. 大屏（1200–1440）===== */
@media (min-width: 1200px) and (max-width: 1440px) {
  .witr_section_title_inner.text-center p,
  .witr_section_title_inner.text-left p,
  .witr_section_title_inner.text-right p {
    width: 87%;
  }
  .title_in_area {
    width: 100%;
  }
  .witr_section_title_inner h1,
  .witr_section_title_inner h3 {
    font-size: 34px;
  }
  .ab_witr_content {
    margin: 0;
  }
  .ab_midd_cont {
    padding: 0;
  }
  .ab_cont_inner .witr_btn {
    margin-top: 40px;
  }
  .single_image {
    left: 0 !important;
  }
  .single_image img {
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* =====================================================
   5. iPad 竖屏（768–991）：公司介绍改为上下排版
   ===================================================== */
@media only screen and (min-width: 768px) and (max-width: 991px) {

  /* ---- 字号与间距 ---- */
  .witr_section_title_inner h1,
  .witr_section_title_inner h3 {
    font-size: 30px;
  }
  .witr_section_title_inner.text-center p,
  .witr_section_title_inner.text-left p,
  .witr_section_title_inner.text-right p {
    width: 90%;
  }
  .title_in_area {
    width: 100%;
  }
  .slider_btn .witr_btn {
    margin-top: 20px;
  }
  .witr_button_area {
    margin-top: 15px;
  }
  .ab_cont_inner .witr_btn {
    margin-top: 20px;
  }
  .bt_about_area {
    padding: 50px 0 20px 0;
  }
  .witr_section_title {
    margin-bottom: 30px;
  }
  .ab_cont_inner {
    margin-bottom: 15px;
  }
  .ab_cont_inner .witr_section_title {
    margin-bottom: 25px;
  }

  /* ---- ★ 修正 1：row 声明为纵向 flex 容器 ---- */
  .bt_about_area .row {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-flex-wrap: nowrap;
    flex-wrap: nowrap;
  }

  /* ---- ★ 修正 2：两列占满整行，清除 float 栅格 ---- */
  .bt_about_area .col-lg-6,
  .bt_about_area .col-md-6,
  .bt_about_area .row > [class*="col-"] {
    -webkit-flex: 0 0 auto;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    width: 100%;
    max-width: 100%;
    float: none;
  }

  /* ---- ★ 修正 3：图片退出绝对定位，回到文档流并居中 ---- */
  .bt_about_area .single_image_area,
  .bt_about_area .single_image {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    transform: none !important;
    -webkit-transform: none !important;
    width: 100%;
    max-width: 100%;
    margin: 30px auto 0;
    text-align: center;
  }
  .bt_about_area .single_image img {
    position: static !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    display: block;
    margin: 0 auto;
    float: none !important;
  }

  /* ---- 文字与按钮居中 ---- */
  .bt_about_area .ab_cont_inner {
    text-align: center;
  }
  .bt_about_area .ab_cont_inner .witr_section_title_inner.text-left {
    text-align: center;
  }
  .bt_about_area .witr_section_title_inner.text-left p {
    margin-right: auto;
    text-align: left;
  }
  .bt_about_area .witr_button_area {
    text-align: center;
  }

  /* ---- 图标列表 ---- */
  .bt_about_area .icon-list-items {
    padding-left: 0;
    text-align: left;
  }
  .bt_about_area .icon-list-item {
    display: inline-block;
    margin: 0 10px 8px;
  }
}

/* =====================================================
   5b. iPad 横屏（992–1194）：同样上下排版
   覆盖 iPad Mini 横屏(1024) / iPad Air 横屏(1180)
   ※ 如希望横屏保持左右排版，删除这一整段即可
   ===================================================== */
@media only screen and (min-width: 992px) and (max-width: 1194px) {
  .bt_about_area .row {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
  }
  .bt_about_area .col-lg-6,
  .bt_about_area .col-md-6,
  .bt_about_area .row > [class*="col-"] {
    -webkit-flex: 0 0 auto;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    width: 100%;
    max-width: 100%;
    float: none;
  }
  .bt_about_area .single_image_area,
  .bt_about_area .single_image {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    transform: none !important;
    -webkit-transform: none !important;
    width: 100%;
    max-width: 100%;
    margin: 30px auto 0;
    text-align: center;
  }
  .bt_about_area .single_image img {
    position: static !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    display: block;
    margin: 0 auto;
    float: none !important;
  }
  .bt_about_area .ab_cont_inner {
    /* text-align: center; */
  }
  .bt_about_area .witr_button_area {
    text-align: center;
  }
}

/* ===== 6. 移动端（≤767）===== */
@media (max-width: 767px) {
  .witr_section_title_inner h2 {
    font-size: 17px !important;
    padding-top: 10px;
  }
  .witr_section_title_inner p {
    padding-top: 10px;
  }
  .witr_section_title {
    text-align: center;
  }
  .witr_section_title .text-right {
    text-align: center !important;
  }
  .title_btn {
    margin: 30px 0 20px;
  }
  .witr_section_title_inner h1,
  .witr_section_title_inner h2,
  .witr_section_title_inner h3 {
    font-size: 21px;
  }
  .slider_btn .witr_btn {
    margin-top: 10px;
  }
  .bt_about_area {
    padding: 30px 0 20px 0;
  }
  .witr_section_title {
    margin-bottom: 20px;
  }
  .ab_cont_inner {
    margin-bottom: 10px;
  }
  .ab_cont_inner .witr_section_title {
    margin-bottom: 18px;
  }
  .ab_cont_inner .witr_btn {
    margin-top: 20px;
  }
}

/* ===== 7. 小屏手机（480–767）===== */
@media only screen and (min-width: 480px) and (max-width: 767px) {
  .witr_section_title_inner h1,
  .witr_section_title_inner h2,
  .witr_section_title_inner h3 {
    font-size: 25px;
  }
  .witr_section_title_inner.text-center p,
  .witr_section_title_inner.text-left p,
  .witr_section_title_inner.text-right p {
    width: 91%;
  }
}
