@media (max-width: 768px) {
  .page {
    padding: 14px;
    gap: 14px;
  }

  .header-top-row {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 16px;
    gap: 14px;
  }

  .brand-area {
    min-width: 0;
    width: 100%;
    align-items: flex-start;
  }

  .brand-copy {
    min-width: 0;
  }

  .brand-copy h1 {
    font-size: 18px;
    line-height: 1.3;
    word-break: keep-all;
  }

  .brand-sub-text {
    line-height: 1.5;
  }

  .header-actions {
    width: 100%;
    flex-wrap: wrap;
  }

  .header-actions > * {
    width: 100%;
    justify-content: center;
  }

  .main-nav {
    flex-wrap: wrap;
    padding: 6px;
  }

  .main-nav a {
    flex: 1 1 calc(50% - 6px);
    min-width: 0;
    padding: 12px 10px;
    text-align: center;
    font-size: 13px;
  }

  .main-nav a::after {
    left: 10px;
    right: 10px;
  }

  .banner-hero {
    padding: 16px;
  }

  .banner-hero-inner,
  .hero-info-boxes,
  .portal-mini-board,
  .shortcut-row.shortcut-row-5,
  .footer-top {
    grid-template-columns: 1fr;
  }

  .banner-hero-content h2 {
    font-size: 30px;
    line-height: 1.28;
  }

  .banner-lead {
    font-size: 14px;
    line-height: 1.7;
  }

  .banner-action-row {
    flex-direction: column;
    align-items: stretch;
  }

  .banner-btn,
  .hero-link-btn {
    width: 100%;
    justify-content: center;
  }

  .shortcut-card strong {
    padding-right: 0;
  }

  .section-head,
  .course-slider-top,
  .shortcut-intro-row,
  .footer-bottom,
  .footer-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .course-section,
  .schedule-section,
  .info-panel {
    padding: 18px 16px;
  }

  .table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

@media (max-width: 560px) {
  .brand-mark {
    width: 44px;
    height: 44px;
  }

  .brand-mark span {
    width: 30px;
    height: 30px;
    font-size: 12px;
  }

  .brand-kicker {
    font-size: 9px;
    letter-spacing: 0.8px;
  }

  .brand-copy h1 {
    font-size: 16px;
  }

  .main-nav a {
    flex-basis: 100%;
  }

  .banner-hero-content h2 {
    font-size: 26px;
  }

  .hero-bullet-list span,
  .hero-info-box strong,
  .portal-summary-box strong,
  .shortcut-card strong {
    word-break: keep-all;
  }

  .portal-step-item {
    grid-template-columns: 1fr;
  }

  .portal-step-item em {
    width: 42px;
    height: 42px;
  }

  .course-slider-shell,
  .banner-visual-panel {
    padding: 14px;
  }

  .course-slide-page,
  .course-slide-meta {
    grid-template-columns: 1fr;
  }
}
