.schedule-page {
  background: var(--cream, #F7FAFF);
  color: var(--text, #0F172A);
  min-height: 100vh;
  font-family: 'Inter', sans-serif;
}

.schedule-wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

.schedule-hero {
  padding: 150px 0 72px;
  text-align: center;
  background:
    radial-gradient(ellipse 70% 50% at 20% 20%, rgba(11,77,219,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 80%, rgba(255,210,31,0.16) 0%, transparent 60%),
    linear-gradient(180deg, #F7FAFF 0%, #EDF4FF 100%);
}

.schedule-label {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue, #0B4DDB);
  margin-bottom: 22px;
}

.schedule-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--navy, #023192);
  max-width: 820px;
  margin: 0 auto;
}

.schedule-subtitle {
  color: var(--muted, #64748B);
  font-size: clamp(1rem, 1.6vw, 1.12rem);
  line-height: 1.75;
  max-width: 640px;
  margin: 24px auto 0;
}

.timezone-card {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
  padding: 16px 22px;
  border-radius: 20px;
  background: white;
  border: 1px solid var(--border, rgba(11,77,219,0.12));
  box-shadow: var(--shadow, 0 4px 24px rgba(0,80,199,0.12));
  text-align: left;
}

.timezone-icon {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(11,77,219,0.08);
  font-size: 1.35rem;
}

.timezone-small {
  margin: 0 0 3px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted, #64748B);
}

.timezone-name {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  color: var(--navy, #023192);
}

.schedule-section {
  padding: 72px 0 100px;
}

.schedule-topline {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.section-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.9rem, 3.5vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--navy, #023192);
  margin: 0;
}

.schedule-note {
  color: var(--muted, #64748B);
  line-height: 1.7;
  max-width: 360px;
  margin: 0;
  text-align: right;
}

.schedule-status {
  color: var(--muted, #64748B);
  font-weight: 700;
  margin-bottom: 18px;
}

.lesson-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.lesson-card {
  position: relative;
  overflow: hidden;
  background: white;
  border: 1px solid var(--border, rgba(11,77,219,0.12));
  border-radius: 22px;
  padding: 28px;
  box-shadow: 0 10px 34px rgba(0,80,199,0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.lesson-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue, #0B4DDB), var(--blue-light, #0EA5E9));
  opacity: 0;
  transition: opacity 0.25s ease;
}

.lesson-card:hover {
  transform: translateY(-4px);
  border-color: rgba(11,77,219,0.28);
  box-shadow: 0 18px 50px rgba(0,80,199,0.12);
}

.lesson-card:hover::before,
.lesson-card.next-lesson::before {
  opacity: 1;
}

.lesson-card.next-lesson {
  border: 2px solid rgba(255,210,31,0.75);
  box-shadow: 0 18px 50px rgba(255,210,31,0.18);
}

.next-badge {
  display: inline-flex;
  align-items: center;
  margin-bottom: 16px;
  padding: 6px 13px;
  border-radius: 100px;
  background: var(--gold, #FFD21F);
  color: var(--navy, #023192);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.lesson-number {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue, #0B4DDB);
  margin-bottom: 10px;
}

.lesson-topic {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.22rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--navy, #023192);
  margin: 0 0 20px;
}

.lesson-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.lesson-meta span {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 100px;
  background: var(--cream, #F7FAFF);
  border: 1px solid var(--border, rgba(11,77,219,0.12));
  color: var(--text, #0F172A);
  font-size: 0.84rem;
  font-weight: 700;
}

.lesson-meta span:last-child {
  background: rgba(11,77,219,0.08);
  color: var(--blue, #0B4DDB);
}

@media (max-width: 760px) {
  .schedule-hero {
    padding: 112px 0 52px;
  }

  .schedule-wrap {
    padding: 0 18px;
  }

  .timezone-card {
    width: 100%;
    max-width: 420px;
  }

  .schedule-section {
    padding: 52px 0 80px;
  }

  .schedule-topline {
    display: block;
  }

  .schedule-note {
    text-align: left;
    margin-top: 14px;
  }

  .lesson-grid {
    grid-template-columns: 1fr;
  }

  .lesson-card {
    padding: 24px;
    border-radius: 20px;
  }
}

@media (max-width: 480px) {
  .schedule-title {
    font-size: 2.55rem;
    line-height: 0.95;
  }

  .schedule-subtitle {
    font-size: 0.96rem;
  }

  .timezone-card {
    padding: 14px 16px;
  }

  .lesson-topic {
    font-size: 1.08rem;
  }

  .lesson-meta span {
    font-size: 0.8rem;
    padding: 6px 10px;
  }
}
.next-lesson {
  transform: scale(1.03);
}
.timezone-controls {
  margin-top: 10px;
}

.timezone-change-btn {
  background: none;
  border: none;
  color: var(--blue);
  font-size: 0.85rem;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
}

.timezone-select {
  margin-top: 10px;
  width: 100%;
  max-width: 320px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: white;
  font-family: inherit;
}
.schedule-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 14px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.schedule-logo img {
  height: 38px;
  display: block;
}

.schedule-nav-pills {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.schedule-nav-pills span,
.schedule-nav-pills a {
  background: white;
  border: 1px solid var(--border);
  color: var(--navy);
  padding: 8px 14px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
}

.schedule-nav-pills .buy-btn {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

.chapter-info {
  background: white;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 32px;
  margin-bottom: 36px;
  box-shadow: var(--shadow);
}

.chapter-info h2,
.chapter-info h3 {
  font-family: 'Montserrat', sans-serif;
  color: var(--navy);
  margin-bottom: 14px;
}

.chapter-info p {
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 12px;
}

.chapter-info strong {
  color: var(--navy);
}

.chapter-times {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 20px;
  margin: 20px 0;
}

.chapter-note {
  font-size: 0.85rem;
  color: var(--blue) !important;
  font-weight: 600;
}

.jump-next-btn {
  display: block;
  margin: 24px auto 0 auto;
  width: fit-content;
  margin-top: 24px;
  background: var(--gold);
  color: var(--navy);
  padding: 20px 40px;
  border-radius: 999px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  text-decoration: none;
  box-shadow: 0 14px 35px rgba(255,210,31,0.45);
}
/* Schedule spacing fixes */

.chapter-summary {
  margin-bottom: 36px;
}

.chapter-times {
  padding: 30px 36px;
}

.chapter-times p {
  margin: 0 0 12px;
  line-height: 1.35;
  font-size: 1.05rem;
}

.chapter-times p:last-child {
  margin-bottom: 0;
}

.chapter-note {
  margin-top: 16px !important;
  line-height: 1.45 !important;
}

.lesson-grid {
  margin-top: 24px;
}

.chapter-info {
  margin-top: 44px;
  margin-bottom: 0;
  padding: 38px 42px;
}

.chapter-info p {
  line-height: 1.75;
}

@media (max-width: 700px) {
  .chapter-times {
    padding: 22px;
  }

  .chapter-times p {
    font-size: 0.98rem;
    line-height: 1.45;
  }

  .chapter-info {
    margin-top: 32px;
    padding: 26px 22px;
  }
}
.chapter-times {
  background: white;
  border: 2px solid rgba(11,77,219,0.15);
  border-radius: 24px;
  padding: 34px 40px;
  margin: 28px 0;
  box-shadow: 0 12px 35px rgba(0,80,199,0.08);
}

.chapter-times p {
  font-size: 1.25rem;
  font-weight: 700;
}

.chapter-times strong {
  color: var(--navy);
}

.chapter-times span {
  color: var(--blue);
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
}
.help-videos {
  padding: 70px 0 100px;
}
.help-videos .section-title {
  text-align: center;
}
.help-text {
  text-align: center;
  max-width: 800px;
  margin: 14px auto;
  line-height: 1.75;
  color: var(--muted);
}
.help-videos .section-title {
  font-size: clamp(2.15rem, 4.2vw, 3.8rem);
}

.video-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.video-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.video-card h3 {
  margin-bottom: 18px;
  font-family: 'Montserrat', sans-serif;
  color: var(--navy);
}


.video-card iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 16px;
}

@media (max-width: 760px) {
  .video-grid {
    grid-template-columns: 1fr;
  }
}
.jump-next-btn,
.schedule-nav-pills a,
.timezone-change-btn {
  transition: all 0.25s ease;
}

.jump-next-btn:hover,
.schedule-nav-pills a:hover {
  transform: translateY(-3px) scale(1.04);
}

.timezone-change-btn:hover {
  transform: scale(1.04);
}
.lesson-card:hover {
  transform: translateY(-4px) scale(1.02);
}
.jump-next-btn {
  border: none;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}
/* =========================================
   PRINT / PDF VERSION
========================================= */

@media print {

  @page {
    size: A4;
    margin: 4mm;
  }

  body {
    background: white !important;
  }

  /* Hide website-only content */

  .schedule-nav,
  .schedule-hero,
  .chapter-info,
  .help-videos,
  .jump-next-btn,
  .schedule-status {
    display: none !important;
  }

  /* Layout reset */

  .schedule-page,
  .schedule-section,
  .schedule-wrap {
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* =========================================
     PRINT HEADER
  ========================================= */

  .chapter-summary {
    display: block !important;
    margin-bottom: 18px !important;
  }

  .chapter-summary .schedule-label {
    display: block !important;
    font-size: 0.95rem !important;
    letter-spacing: 0.1em !important;
    margin-bottom: 8px !important;
  }

  .chapter-summary .section-title {
    font-size: 1.85rem !important;
    line-height: 1.08 !important;
    margin-bottom: 12px !important;
  }

  .chapter-times {
    background: white !important;
    border: 1px solid #ccc !important;
    border-radius: 10px !important;
    box-shadow: none !important;

    padding: 13px 17px !important;
    margin: 0 0 16px 0 !important;
  }

  .chapter-times p {
    font-size: 0.93rem !important;
    line-height: 1.42 !important;
    margin-bottom: 5px !important;
  }

  .chapter-note {
    font-size: 0.84rem !important;
    line-height: 1.35 !important;
    margin-top: 8px !important;
  }

  /* =========================================
     LESSON CARDS
  ========================================= */

  .lesson-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 7px !important;

    margin: 0 !important;
    padding: 0 !important;
  }

  .lesson-card {
    break-inside: avoid;
    page-break-inside: avoid;

    padding: 9px 11px !important;

    border: 1px solid #ccc !important;
    border-radius: 8px !important;

    box-shadow: none !important;
    transform: none !important;
  }

  .lesson-card::before {
    display: none !important;
  }

  .next-badge {
    display: none !important;
  }

  .lesson-number {
    font-size: 0.55rem !important;
    margin-bottom: 3px !important;
  }

  .lesson-topic {
    font-size: 0.79rem !important;
    line-height: 1.12 !important;
    margin-bottom: 5px !important;
  }

  .lesson-meta {
    gap: 4px !important;
  }

  .lesson-meta span {
    font-size: 0.6rem !important;
    padding: 3px 6px !important;
  }

  /* Better PDF colours */

  * {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
}
.level-dropdown {
  position: relative;
  display: inline-block;
}

.level-btn {
  border: 1px solid var(--border);
  background: white;
  color: var(--navy);
  padding: 8px 14px;
  border-radius: 100px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.25s ease;
}

.level-btn-orange {
  color: #e9721e;
  border-color: rgba(233, 114, 30, 0.25);
}
.level-btn-blue {
  color: #27D7F7;
  border-color: rgba(39, 215, 247, 0.25);
}

.level-btn-green {
  color: #32D74B;
  border-color: rgba(50, 215, 75, 0.25);
}

.level-btn:hover,
.level-dropdown:hover .level-btn {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 8px 22px rgba(0,80,199,0.12);
}

.level-menu {
  display: none;
  position: absolute;
top: 100%;
left: 0;
  min-width: 220px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 8px;
  z-index: 200;
}

.level-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--navy);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
}

.level-menu a:hover {
  background: var(--cream);
}

.level-dropdown:hover .level-menu {
  display: block;
}
.level-dropdown::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 12px;
}

.schedule-switch-buttons {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.level-label-btn {
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
}
.level-label-btn-orange {
  color: #e9721e;
}

.level-label-btn-blue {
  color: #27D7F7;
}

.level-label-btn-green {
  color: #32D74B;
}
.chapter-level-dropdown .level-menu {
  left: 50%;
  transform: translateX(-50%);
}
.school-btn {
  background: var(--gold, #FFD21F);
  color: var(--navy, #023192) !important;

  border: 2px solid var(--gold, #FFD21F);

  padding: 10px 18px;
  border-radius: 999px;

  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  font-weight: 800;

  text-decoration: none;

  transition: all 0.25s ease;

  box-shadow: 0 8px 24px rgba(255,210,31,0.35);
}
.schedule-title {
  font-size: clamp(3rem, 6vw, 5.6rem);
}
@media (max-width: 480px) {
  .schedule-title {
    font-size: 2.55rem;
    line-height: 0.95;
  }
}
@media (max-width: 760px) {
  .timezone-card {
    flex-direction: row;
    text-align: left;
    justify-content: center;
    width: auto;
    max-width: 100%;
    padding: 14px 18px;
  }

  .timezone-icon {
    width: 40px;
    height: 40px;
    margin: 0;
  }

  .timezone-icon {
    margin: 0 auto;
  }
}
.chapter-note {
  font-size: 0.78rem !important;
  font-weight: 500 !important;
  line-height: 1.5 !important;
  opacity: 0.85;
}
.jump-next-btn {
  white-space: nowrap;
}

@media (max-width: 480px) {
  .jump-next-btn {
    font-size: 0.88rem;
    padding: 16px 22px;
  }
}
.nav-menu-btn {
  display: none;
}

.schedule-menu-btn {
  display: none;
}

@media (max-width: 760px) {

  .schedule-menu-btn {
    display: block;
    background: var(--gold);
    color: var(--navy);
    border: none;
    border-radius: 999px;
    padding: 10px 15px;
    font-weight: 800;
    cursor: pointer;
    margin-left: auto;
  }

  .schedule-nav {
    position: sticky;
    align-items: center;
    padding: 12px 16px;
  }

  .schedule-nav-pills {
    display: none;
  }

  .schedule-nav.open .schedule-nav-pills {
    display: flex;
    position: absolute;
    top: 100%;
    left: 12px;
    right: 12px;
    background: white;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .schedule-nav-pills span,
  .schedule-nav-pills a,
  .schedule-nav-pills .level-btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .schedule-switch-buttons .level-dropdown {
    width: auto;
  }

  .schedule-switch-buttons .level-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) !important;
    width: max-content;
    min-width: 220px;
  }
}
@media print and (max-width: 700px) {

  .chapter-summary {
    margin-bottom: 8px !important;
  }

  .chapter-summary .section-title {
    font-size: 1.55rem !important;
    margin-bottom: 8px !important;
  }

  .chapter-times {
    padding: 8px 10px !important;
    margin: 0 0 8px 0 !important;
  }

  .chapter-times p {
    font-size: 0.82rem !important;
    line-height: 1.22 !important;
    margin-bottom: 2px !important;
  }

  .chapter-note {
    font-size: 0.72rem !important;
    line-height: 1.2 !important;
    margin-top: 4px !important;
  }

  .lesson-grid {
    gap: 4px !important;
  }

  .lesson-card {
    padding: 6px 8px !important;
  }

  .lesson-number {
    font-size: 0.48rem !important;
    margin-bottom: 1px !important;
  }

  .lesson-topic {
    font-size: 0.7rem !important;
    line-height: 1.05 !important;
    margin-bottom: 3px !important;
  }

  .lesson-meta span {
    font-size: 0.52rem !important;
    padding: 1px 4px !important;
  }
}
/* Extra compact print version for phones */
@media print {
  @page {
    size: A4;
    margin: 3mm;
  }

  .chapter-summary {
    margin-bottom: 12px !important;
  }

  .chapter-times {
    padding: 10px 14px !important;
    margin-bottom: 10px !important;
  }

  .lesson-grid {
    gap: 5px !important;
  }

  .lesson-card {
    padding: 7px 9px !important;
  }
}