/* 仅手机首页排版修订。600px 以上不应用，保留已确认的 PC 视觉。 */
@media (max-width:600px){
  .section{padding-block:36px}
  .section h2,.planning-intro h2{
    font-size:24px;
    font-weight:650;
    line-height:1.5;
    letter-spacing:normal;
  }
  .section-heading{margin-bottom:20px}
  .section-intro{margin-top:10px;font-size:16px;line-height:1.75}
  .section-heading>.text-link{margin-top:12px;font-size:14px;line-height:1.6}
  .school-category-links{margin-bottom:18px}

  /* 不再把标题、说明与课程清单塞进左右两个窄栏。 */
  .course-grid{gap:14px}
  .course-card{
    display:grid;
    grid-template-columns:40px minmax(0,1fr);
    grid-template-rows:auto auto auto auto;
    column-gap:12px;
    padding:20px;
    align-items:start;
  }
  .course-top{
    grid-column:1;
    grid-row:1;
    width:40px;
    height:40px;
    margin:0;
    display:flex;
    align-items:center;
    justify-content:center;
    color:var(--brand-primary);
    background:var(--brand-soft);
    border-radius:10px;
  }
  .course-top svg{width:25px;height:25px}
  .course-top span{display:none}
  .course-card h3{
    grid-column:2;
    grid-row:1;
    align-self:center;
    font-size:20px;
    line-height:1.5;
    font-weight:600;
    letter-spacing:normal;
    white-space:normal;
  }
  .course-card>p{
    grid-column:1/-1;
    grid-row:2;
    margin:11px 0 0;
    font-size:16px;
    line-height:1.75;
    color:var(--brand-muted);
  }
  .course-card ul{
    grid-column:1/-1;
    grid-row:3;
    display:flex;
    flex-direction:row;
    flex-wrap:wrap;
    justify-content:flex-start;
    align-items:flex-start;
    align-self:auto;
    column-gap:16px;
    row-gap:9px;
    margin:15px 0 0;
    padding:15px 0 0;
    border-left:0;
    border-top:1px solid var(--brand-line);
  }
  .course-card li{
    flex:1 1 calc(50% - 8px);
    min-width:max-content;
    max-width:100%;
    padding-left:17px;
    font-size:14px;
    line-height:1.8;
    white-space:nowrap;
    letter-spacing:normal;
  }
  .course-card li:before{width:7px;height:5px;left:0;top:8px}
  .course-card .button{
    grid-column:1/-1;
    grid-row:4;
    min-height:44px;
    margin-top:18px;
    padding:9px 14px;
    font-size:15px;
    line-height:1.6;
  }

  /* 同一层级采用一致的间距，流程文案不再强制另起一行。 */
  .planning-layout{display:grid;grid-template-columns:1fr;gap:20px}
  .planning-intro>p:not(.eyebrow){
    margin-top:12px;
    font-size:16px;
    line-height:1.75;
    color:var(--brand-muted);
  }
  .planning-intro>p br{display:none}
  .planning-intro .button{
    width:100%;
    min-height:44px;
    margin-top:17px;
    padding:9px 18px;
    font-size:16px;
    line-height:1.6;
  }
  .process-list{padding-top:0;border-top:0;gap:0}
  .process-list article{padding-block:12px;gap:12px;align-items:flex-start}
  .process-icon{width:36px;height:36px;margin-top:3px}
  .process-icon svg{width:21px;height:21px}
  .process-list article:not(:last-child):before{left:17px;top:49px;bottom:-15px}
  .process-list h3{font-size:17px;line-height:1.6;font-weight:600}
  .process-list p{font-size:16px;line-height:1.75;margin-top:3px}

  .insights-layout{gap:22px}
  .news-columns{gap:24px}
  .resource-card{padding:20px}
  .resource-card h3{font-size:21px;line-height:1.6;margin-top:18px}
  .resource-book{right:18px;top:17px;width:42px;height:42px}
  .team-promise{margin-top:16px;padding:18px 16px}
  .faq-layout{gap:20px}
  .faq-layout .section-intro{margin-top:10px;line-height:1.75}
  .faq-more{margin-top:13px}
  .center-body{height:auto;min-height:207px}
  .center-body a{padding-top:16px}
  .contact-section{padding-block:32px}
  .contact-layout h2{font-size:24px;line-height:1.5}
}

@media (max-width:359px){
  .course-card{padding:18px;column-gap:10px}
  .course-card h3{font-size:19px}
  .course-card ul{row-gap:8px;column-gap:14px}
  .section h2,.planning-intro h2,.contact-layout h2{font-size:23px}
}
