@charset "UTF-8";
/* =========================================================
   404 页面（wl_wap_box1 / z_404_div1）PC 页面 —— 移动端适配样式
   说明：本文件只做样式覆盖，不改动任何页面结构（DOM）
   头部与页脚复用 mobile.css
   ========================================================= */

@media screen and (max-width: 1220px) {
  .w_1220 {
    width: 100%;
    max-width: 1220px;
    padding-left: 12px;
    padding-right: 12px;
    box-sizing: border-box;
  }
  img {
    max-width: 100%;
  }
}

@media screen and (max-width: 768px) {
  html,
  body {
    min-width: 0;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
  }
  img {
    max-width: 100%;
    height: auto;
  }
  .w_1220 {
    width: 100%;
    padding-left: 10px;
    padding-right: 10px;
    box-sizing: border-box;
  }
  .wl_wap_box1 {
    padding: 12px 0 0;
  }

  /* ===== 404 图文区：左图右文 -> 上图下文居中 ===== */
  .z_404_div1 {
    padding: 16px 12px;
  }
  .z_404_div1 img {
    display: block;
    float: none;
    width: 200px;
    max-width: 60%;
    height: auto;
    margin: 0 auto;
  }
  .z_404_right {
    float: none;
    width: 100%;
    padding-top: 12px;
    text-align: center;
  }
  .z_404_right .tit {
    font-size: 18px;
    line-height: 26px;
  }
  .z_404_right .p2 {
    margin: 8px 0 4px;
    font-size: 13px;
    line-height: 20px;
  }
  /* PC 用 float 排列入口链接，移动端改居中换行 */
  .z_404_right .p3 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin-bottom: 6px;
    font-size: 13px;
    line-height: 22px;
  }
  .z_404_right .p3 span {
    float: none;
  }
  .z_404_right .p3 a {
    float: none;
    margin: 0 0 0 8px;
  }

  /* ===== 相关机构 / 相关课程 ===== */
  .relatecourse_w {
    margin-top: 12px;
  }
  .relatecourse_w .noresult_con {
    padding: 12px;
  }
  .relatecourse_w .noresult_con .relate_title {
    font-size: 16px;
  }
  /* PC：175px 定宽左浮动；移动端：两列网格 */
  .relate_outfit {
    display: flex;
    flex-wrap: wrap;
    padding: 0 6px 8px;
  }
  .outfit_con {
    float: none;
    width: calc(50% - 12px);
    margin: 12px 6px 0;
    box-sizing: border-box;
  }
  .outfit_logo {
    width: 100%;
    height: auto;
  }
  .outfit_logo img {
    width: 100%;
    height: auto;
    max-height: 96px;
    object-fit: cover;
  }
  .outfit_til,
  .outefit_price {
    float: none;
    width: 100%;
    margin: 8px 0 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 13px;
  }
  .outfit_con .outefit_price.outfit_xj {
    text-align: left;
    font-size: 13px;
  }
  .outfit_con .sp1,
  .outfit_con .sp2 {
    height: auto;
    font-size: 12px;
  }

  /* ===== 免责声明 ===== */
  .main-tip {
    width: auto !important;
    max-width: 100%;
    margin: 12px 10px !important;
    padding: 12px !important;
    box-sizing: border-box;
    font-size: 12px;
    line-height: 20px;
  }

    .common-layer {
        width: 365px !important;
    }

    .tc_box_div {
        width: 329px !important;
    }

    .yyst_box_form div input {
        width: 243px;
    }

    .common-layer .bxk-notice {
        width: 365px !important;
    }

    .yyst_box_form .formBtn {
        width: 330px !important;
    }
}
