/* =========================================================
   China Business School - phone and small-tablet refinements
   ========================================================= */

@media (max-width: 767px) {
  body.china-business-school-page {
    overflow-x: hidden;
  }

  .cbs-container {
    width: calc(100% - 40px);
  }

  .cbs-section {
    padding-block: 58px;
  }

  .cbs-section-marker {
    top: 18px;
    right: 12px;
    font-size: clamp(5.2rem, 28vw, 8rem);
  }

  body.china-business-school-page #why-this-school,
  body.china-business-school-page #learning-journey,
  body.china-business-school-page #applied-learning,
  body.china-business-school-page #inside-china-business,
  body.china-business-school-page #factory-sourcing-quality,
  body.china-business-school-page #immersion-program,
  body.china-business-school-page #who-it-is-for {
    scroll-margin-top: calc(var(--header-height) - 30px);
  }

  /* ---------- Hero ---------- */
  .cbs-hero {
    min-height: 100svh;
    min-height: 568px;
    align-items: flex-end;
  }

  .cbs-hero-media img {
    object-position: 68% 26%;
  }

  .cbs-hero-overlay {
    background:
      linear-gradient(180deg, rgba(2, 8, 18, 0.18) 0%, rgba(2, 8, 18, 0.46) 43%, rgba(2, 8, 18, 0.91) 78%, rgba(2, 8, 18, 0.98) 100%),
      linear-gradient(90deg, rgba(2, 8, 18, 0.6) 0%, rgba(2, 8, 18, 0.16) 72%, transparent 100%);
  }

  .cbs-hero-inner {
    padding-block: 118px 24px;
  }

  .cbs-hero-copy {
    max-width: 380px;
  }

  .cbs-hero-copy h1 {
    margin-top: 10px;
    font-size: clamp(2.15rem, 10.6vw, 2.72rem);
    line-height: 0.96;
  }

  .cbs-motto {
    margin-top: 12px;
    padding-left: 12px;
    font-size: 0.95rem;
    line-height: 1.32;
  }

  .cbs-hero-body {
    margin-top: 10px;
    max-width: 33ch;
    font-size: 0.93rem;
    line-height: 1.45;
  }

  .cbs-hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    margin-top: 16px;
  }

  .cbs-hero-actions .btn {
    width: 100%;
    min-height: 50px;
    padding-inline: 14px;
  }

  .cbs-hero-actions .text-link {
    min-height: 42px;
    justify-content: center;
    font-size: 0.92rem;
  }

  /* ---------- Anchor nav ---------- */
  .cbs-anchor-nav {
    overflow: hidden;
  }

  .cbs-anchor-nav::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    z-index: 2;
    width: 20px;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(247, 242, 231, 0.98), rgba(247, 242, 231, 0));
  }

  .cbs-anchor-nav-inner {
    width: 100%;
    padding-inline: 20px 44px;
    min-height: 50px;
  }

  .cbs-anchor-nav a {
    min-height: 50px;
    padding: 0 14px;
    font-size: 0.76rem;
  }

  /* ---------- Why This School ---------- */
  .cbs-route-texture {
    opacity: 0.58;
  }

  .cbs-why {
    gap: 26px;
  }

  .cbs-why-statement {
    padding-left: 18px;
  }

  .cbs-why-statement h2 {
    max-width: 12ch;
  }

  .cbs-pull-statement {
    max-width: none;
    margin-top: 22px;
    padding: 18px 18px 20px;
    border-top: 0;
    color: var(--gold-light);
    background: linear-gradient(145deg, var(--navy), var(--navy-deep));
    font-size: 1.26rem;
  }

  .cbs-principle {
    padding: 22px 0 22px 58px;
  }

  .cbs-principle-num {
    top: 21px;
    font-size: 1.58rem;
  }

  .cbs-principle h3 {
    font-size: 1.14rem;
  }

  /* ---------- Learning Journey ---------- */
  .cbs-head {
    margin-bottom: 30px;
  }

  .cbs-journey-track {
    padding-left: 38px;
    gap: 22px;
  }

  .cbs-journey-track::before {
    left: 13px;
    right: auto;
    top: 12px;
    bottom: 12px;
    width: 2px;
    height: auto;
    background: linear-gradient(180deg, var(--red), var(--gold));
  }

  .cbs-stage {
    padding: 28px 22px 26px;
  }

  .cbs-stage-node {
    top: 34px;
    left: -34px;
    width: 16px;
    height: 16px;
    border-color: var(--white);
  }

  .cbs-stage--01 {
    background: rgba(247, 242, 231, 0.94);
  }

  .cbs-stage--02 {
    background: var(--white);
  }

  .cbs-stage--03 .cbs-stage-node {
    border-color: var(--navy-deep);
  }

  .cbs-stage-num {
    font-size: 2.52rem;
  }

  .cbs-stage h3 {
    font-size: 1.42rem;
  }

  .cbs-stage h4 {
    margin-top: 18px;
  }

  .cbs-stage-topics li {
    font-size: 0.93rem;
  }

  /* ---------- Applied Learning ---------- */
  .cbs-applied {
    gap: 24px;
  }

  .cbs-applied-media {
    width: calc(100% + 40px);
    min-height: 0;
    aspect-ratio: 4 / 3;
    margin-inline: -20px;
  }

  .cbs-applied-media figcaption {
    right: 14%;
    padding: 14px 18px;
    font-size: 0.92rem;
  }

  .cbs-applied-copy::before {
    display: none;
  }

  .cbs-applied-copy h2 {
    max-width: 13ch;
  }

  .cbs-applied-highlight {
    display: none;
  }

  .cbs-theme-sequence {
    gap: 8px 16px;
  }

  .cbs-theme-sequence li {
    font-size: 0.74rem;
  }

  /* ---------- Inside China Business ---------- */
  .cbs-flagship-grid {
    gap: 28px;
  }

  .cbs-flagship-statement {
    margin-top: 16px;
    padding-block: 14px;
    font-size: 1.3rem;
  }

  .cbs-feature-row {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 16px;
    padding: 18px 0;
  }

  .cbs-feature-row:nth-child(even) {
    margin-inline: -20px;
    padding-inline: 20px;
    background: rgba(255, 255, 255, 0.04);
  }

  .cbs-feature-row h3 {
    font-size: 1.02rem;
  }

  .cbs-feature-row p {
    font-size: 0.9rem;
  }

  /* ---------- Factory ---------- */
  .cbs-factory {
    gap: 24px;
  }

  .cbs-factory-media {
    width: calc(100% + 40px);
    min-height: 0;
    aspect-ratio: 5 / 4;
    margin-inline: -20px;
  }

  .cbs-factory-media figcaption {
    left: 20px;
    right: 20px;
    bottom: 16px;
    max-width: none;
    font-size: 0.92rem;
  }

  .cbs-factory-area {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 16px 0;
  }

  /* ---------- Immersion ---------- */
  .cbs-immersion {
    min-height: 640px;
    align-items: flex-end;
  }

  .cbs-immersion-media img {
    object-position: 70% 36%;
  }

  .cbs-immersion-overlay {
    background:
      linear-gradient(180deg, rgba(2, 8, 18, 0.16) 0%, rgba(2, 8, 18, 0.5) 44%, rgba(2, 8, 18, 0.92) 82%, rgba(2, 8, 18, 0.98) 100%),
      linear-gradient(90deg, rgba(2, 8, 18, 0.62) 0%, rgba(2, 8, 18, 0.16) 72%, transparent 100%);
  }

  .cbs-immersion-inner {
    padding-block: 72px 30px;
  }

  .cbs-immersion-copy h2 {
    max-width: 12ch;
  }

  .cbs-immersion-route {
    margin-top: 18px;
    font-size: 0.92rem;
    line-height: 1.8;
  }

  .cbs-immersion-copy .btn {
    width: 100%;
    margin-top: 22px;
  }

  .cbs-immersion-notice {
    margin-top: 16px;
    font-size: 0.76rem;
  }

  /* ---------- Who It Is For ---------- */
  .cbs-audience {
    gap: 24px;
  }

  .cbs-audience-head h2 {
    max-width: 12ch;
  }

  .cbs-audience-list article {
    padding: 18px 0 18px 42px;
  }

  .cbs-audience-list article::before {
    top: 25px;
    width: 22px;
  }

  .cbs-audience-list h3 {
    font-size: 1.08rem;
  }

  /* ---------- Final CTA ---------- */
  .cbs-final-section {
    padding-block: 58px;
  }

  .cbs-final-copy h2 {
    max-width: 12ch;
  }

  .cbs-final-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .cbs-final-actions .btn {
    width: 100%;
  }

  .cbs-final-actions .text-link {
    min-height: 44px;
    justify-content: center;
  }
}

@media (max-width: 390px) {
  .cbs-anchor-nav a {
    padding-inline: 12px;
    font-size: 0.73rem;
  }

  .cbs-hero-copy h1 {
    font-size: clamp(2.02rem, 10.2vw, 2.38rem);
  }

  .cbs-hero-body {
    max-width: 31ch;
    font-size: 0.9rem;
  }

  .cbs-stage {
    padding-inline: 20px;
  }
}

@media (max-width: 340px) {
  .cbs-container {
    width: calc(100% - 40px);
  }

  .cbs-hero-inner {
    padding-bottom: 20px;
  }

  .cbs-hero-copy .section-kicker {
    font-size: 0.62rem;
  }

  .cbs-motto {
    font-size: 0.9rem;
  }

  .cbs-hero-actions .btn {
    min-height: 48px;
    font-size: 0.9rem;
  }
}
