/* ===================================================================
   zhongkao.html（中考页）—— 只定义中间内容区
   头部 / 底部 / banner 复用 css/common.css + css/tutorinfo.css（与 tutorinfo 完全一致）
   =================================================================== */

/* PC banner：不用图片，背景 0-80% 为 #F3EFFC，80%-100% 渐变到页面底色 #F6F5FA
   （移动端仍用 images/application/zhong/zhongbannerm.jpg） */
.zhhero {
  background: linear-gradient(180deg, #f3effc 80%, #f6f5fa 100%);
}
/* PC 端首屏：内容图放大到 800，副标题绝对定位（不占位，长文案不影响布局） */
@media (min-width: 769px) {
  .zhhero .tbhero-pic {
    width: auto;
    max-width: 830px;
  }
  .zhhero .tbhero-box {
    position: relative;
  }
  .zhhero .tbhero-title {
    margin-bottom: 80px;
  }
  .zhhero .tbhero-sub {
    position: absolute;
    width: 500px;
  }
}

@media (max-width: 768px) {
  /* 移动端文案区上移量（本页专用，覆盖 tutorinfo.css 的 -120px） */
  .zhhero .tbhero-wrap {
    margin-top: -136px;
  }
}

/* 两张白卡之间的间距：设计稿 60px */
.tb-card + .tb-card {
  margin-top: 60px;
}

/* ---------- 一、3大核心优势（3 张横排卡片：左图标 + 右文字） ---------- */
.zk-adv {
  padding: 52px 30px 48px;
}
.zk-adv-row {
  display: flex;
  justify-content: space-between;
  margin-top: 45px;
}
.zk-adv-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  width: 364px;
  height: 180px;
  box-sizing: border-box;
  padding: 0 20px;
  border: 1px solid #e3e8f4;
  border-radius: 16px;
  text-align: left;
}
.zk-adv-item:nth-child(1) {
  background: linear-gradient(317.88deg, #f4f6ff 4%, #eff3ff 92.5%);
}
.zk-adv-item:nth-child(2) {
  background: linear-gradient(317.88deg, #f1f5ff 4%, #f9f9ff 92.5%);
}
.zk-adv-item:nth-child(3) {
  background: linear-gradient(317.88deg, #f3fdff 4%, #f3f8fe 92.5%);
}
.zk-adv-item img {
  display: block;
  flex: none;
  width: 48px;
  height: 48px;
}
.zk-adv-text h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
  color: #08042c;
}
.zk-adv-text p {
  margin: 8px 0 0;
  width: 200px;
  font-size: 14px;
  line-height: 20px;
  color: #474560;
}

/* ---------- 二、5大核心功能（5 行图文交替，复用 tutorinfo 的 .tb-fn-* ） ---------- */
/* 设计稿：标题到第一行 57px；行间距 40px；行内描述 16px/22px */
.tb-fn-row:first-of-type {
  margin-top: 57px;
}
.tb-fn-row + .tb-fn-row {
  margin-top: 40px;
}
.tb-fn-text p {
  font-size: 16px;
  line-height: 22px;
}

/* ---------- 窄屏 ---------- */
@media (max-width: 1240px) {
  .zk-adv {
    padding: 40px 24px 36px;
  }
  .zk-adv-row {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-top: 28px;
  }
  .zk-adv-item {
    width: 100%;
    max-width: 364px;
  }
}

/* ---------- 移动端 ---------- */
@media (max-width: 768px) {
  .zk-adv {
    padding: 24px 16px 28px;
  }
  /* 前两张并排一行，第三张独占整行 */
  .zk-adv-row {
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0;
    row-gap: 16px;
    margin-top: 18px;
  }
  .zk-adv-item {
    width: 48%;
    max-width: none;
    height: auto;
    min-height: 0;
    flex-direction: column; /* 图标在上、文字在下 */
    gap: 0;
    padding: 20px 16px;
    border-radius: 8px;
    text-align: center;
  }
  .zk-adv-item img {
    width: 38px;
    height: 38px;
  }
  .zk-adv-text h3 {
    margin-top: 14px;
    font-size: 15px;
  }
  .zk-adv-text p {
    width: auto;
    margin-top: 8px;
    font-size: 13px;
    line-height: 18px;
  }
  /* 第 3 张：占满整行，回到“左图标 + 右文字、左对齐” */
  .zk-adv-item:last-child {
    width: 100%;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    padding: 20px 16px;
    text-align: left;
  }
  .zk-adv-item:last-child .zk-adv-text h3 {
    margin-top: 0;
  }
  .tb-fn-row:first-of-type {
    margin-top: 22px;
  }
  .tb-fn-row + .tb-fn-row {
    margin-top: 22px;
  }
  .tb-fn-text p {
    font-size: 13px;
    line-height: 20px;
  }
}
