@charset "utf-8";

/* 响应式布局 - 适配不同设备尺寸 */

/* 标准屏幕设备 (宽度小于1200px=>920px) */
@media screen and (max-width: 1199.98px) {
  #name_box_w {
    height: 10rem /* 160/16 */;
  }
  #header_logo img {
    max-height: 5rem /* 80/16 */;
  }
  .search_box {
    border: 1px solid #ffffff;
  }
  .search p {
    font-size: 1.125rem /* 18/16 */;
    text-align: justify;
    letter-spacing: 1.5px;
    font-weight: 700;
    color: var(--second_color);
  }

  .singleInfo img,
  .mainInfo img {
    width: 50rem /* 800/16 */;
    max-width: 90% !important;
    display: block;
    margin: 0 auto;
  }
}

/* 平板横屏设备 (宽度小于992px=>768px) */
@media screen and (max-width: 991.98px) {
  #name_box_w {
    height: 7.5rem /* 120/16 */;
  }
  #page_left {
    width: 100%;
  }
  #page_right {
    width: 100%;
    margin: 0;
  }
  #footer {
    margin-bottom: 5rem /* 80/16 */;
  }
}

/* 平板竖屏设备 (宽度小于768px=>576px) */
@media screen and (max-width: 767.98px) {
  #name_box_w {
    height: 6.25rem /* 100/16 */;
  }
  #name_box_w #header_logo img {
    height: 3.75rem /* 60/16 */;
  }
}

/* 手机设备 (宽度小于576px=>375px) */
@media screen and (max-width: 575.98px) {
  #name_box_w #header_logo img {
    margin-right: 3.125rem /* 50/16 */;
  }

  #page_left .slider_type_header {
    font-size: 1.75rem /* 28/16 */;
  }
}

/* iPhone及中等手机设备 (宽度小于375px=>320px) */
@media screen and (max-width: 374.98px) {
  #name_box_w #header_logo img {
    height: 1.25rem /* 20/16 */;
  }
}