.lec-schedule-page {
  --lec-primary: #2455d8;
  --lec-secondary: #7c3aed;
  --lec-warm: #f59e0b;
  --lec-teal: #0f766e;
  --lec-ink: #101c3a;
  --lec-soft: #51607c;
  position: relative;
}

.lec-schedule-page .shell-wide {
  max-width: 1380px;
}

.lec-schedule-hero {
  max-width: 920px;
  margin: 0 auto 46px;
  padding: 50px 42px;
  text-align: center;
  border: 1px solid rgba(36, 85, 216, 0.12);
  border-radius: 36px;
  background:
    radial-gradient(circle at top left, rgba(59, 130, 246, 0.2), transparent 34%),
    radial-gradient(circle at top right, rgba(245, 158, 11, 0.18), transparent 30%),
    linear-gradient(180deg, rgba(255,255,255,0.98), rgba(247,249,255,0.99));
  box-shadow: 0 30px 72px rgba(15, 23, 42, 0.1);
  overflow: hidden;
}

.lec-schedule-hero::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 50%;
  width: min(72%, 560px);
  height: 1px;
  background: linear-gradient(90deg, rgba(36, 85, 216, 0), rgba(36, 85, 216, 0.22), rgba(245, 158, 11, 0));
  transform: translateX(-50%);
}

.lec-schedule-hero__eyebrow,
.lec-schedule-panel__eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(36, 85, 216, 0.1), rgba(245, 158, 11, 0.1));
  color: var(--lec-primary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.lec-schedule-hero__title {
  margin: 18px 0 14px;
  font-size: clamp(34px, 5.4vw, 54px);
  line-height: 1.16;
  font-weight: 800;
  color: var(--lec-ink);
}

.lec-schedule-hero__copy {
  margin: 0 auto;
  max-width: 760px;
  font-size: 18px;
  line-height: 1.9;
  color: var(--lec-soft);
}

.lec-schedule-hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.lec-schedule-board {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.75fr);
  gap: 28px;
  align-items: start;
}

.lec-schedule-panel {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(255,255,255,0.97);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
}

.lec-schedule-panel::before,
.lec-schedule-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--lec-primary), var(--lec-secondary), rgba(245, 158, 11, 0.7));
}

.lec-schedule-panel--calendar {
  padding: 32px;
}

.lec-schedule-panel--stats,
.lec-schedule-panel--next,
.lec-schedule-panel--legend {
  padding: 28px 24px;
}

.lec-schedule-panel__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.lec-schedule-panel__title,
.lec-schedule-list-section__title {
  margin: 14px 0 0;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.2;
  font-weight: 800;
  color: var(--lec-ink);
}

.lec-schedule-panel__desc,
.lec-schedule-list-section__copy {
  margin: 10px 0 0;
  font-size: 15px;
  line-height: 1.8;
  color: #5d6c87;
}

.lec-schedule-calendar-app {
  display: grid;
  gap: 16px;
}

.lec-schedule-calendar-toolbar {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 52px;
  align-items: center;
  gap: 14px;
}

.lec-schedule-calendar-toolbar__button {
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 18px;
  background: linear-gradient(135deg, #eff4ff, #dfe9ff);
  color: #17336b;
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 14px 28px rgba(36, 85, 216, 0.12);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.lec-schedule-calendar-toolbar__button:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #2455d8, #17336b);
  color: #fff;
  box-shadow: 0 18px 34px rgba(36, 85, 216, 0.22);
}

.lec-schedule-calendar-toolbar__titlebox {
  text-align: center;
}

.lec-schedule-calendar-toolbar__eyebrow {
  display: block;
  color: #6b7a94;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.lec-schedule-calendar-toolbar__title {
  display: block;
  margin-top: 8px;
  color: #17336b;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  line-height: 1.1;
}

.lec-schedule-calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
}

.lec-schedule-calendar-weekdays span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 16px;
  background: #f3f7ff;
  color: #23417d;
  font-size: 13px;
  font-weight: 800;
}

.lec-schedule-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
}

.lec-schedule-calendar-cell {
  min-height: 132px;
  padding: 14px 12px 12px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(247,250,255,0.98));
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.lec-schedule-calendar-cell.is-outside {
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.92), rgba(241, 245, 249, 0.92));
  opacity: 0.72;
}

.lec-schedule-calendar-cell.is-today {
  border-color: rgba(36, 85, 216, 0.34);
  box-shadow: 0 16px 30px rgba(36, 85, 216, 0.12);
}

.lec-schedule-calendar-cell__day {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  min-height: 34px;
  border-radius: 999px;
  background: rgba(36, 85, 216, 0.08);
  color: #16315f;
  font-size: 14px;
  font-weight: 800;
}

.lec-schedule-calendar-cell.is-today .lec-schedule-calendar-cell__day {
  background: linear-gradient(135deg, #2455d8, #17336b);
  color: #fff;
}

.lec-schedule-calendar-cell__events {
  display: grid;
  gap: 6px;
  margin-top: 12px;
}

.lec-schedule-calendar-pill {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 12px;
  padding: 7px 10px;
  background: color-mix(in srgb, var(--calendar-pill-color, #2455d8) 14%, #ffffff);
  color: #17336b;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  text-align: left;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--calendar-pill-color, #2455d8) 22%, transparent);
  transition: transform .18s ease, box-shadow .18s ease;
}

.lec-schedule-calendar-pill:hover {
  transform: translateY(-1px);
  box-shadow:
    inset 0 0 0 1px color-mix(in srgb, var(--calendar-pill-color, #2455d8) 28%, transparent),
    0 10px 20px rgba(15, 23, 42, 0.08);
}

.lec-schedule-calendar-cell__more {
  color: #64748b;
  font-size: 11px;
  font-weight: 700;
}

.lec-schedule-calendar .fc-toolbar.fc-header-toolbar {
  margin-bottom: 18px;
  gap: 14px;
}

.lec-schedule-calendar .fc-toolbar-title {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  color: #16315f;
}

.lec-schedule-calendar .fc-button {
  border: 0;
  border-radius: 999px;
  background: #f3f6fc;
  color: #16315f;
  font-weight: 700;
  box-shadow: none;
}

.lec-schedule-calendar .fc-button-primary:not(:disabled).fc-button-active,
.lec-schedule-calendar .fc-button-primary:not(:disabled):active,
.lec-schedule-calendar .fc-button:hover {
  background: #2455d8;
  color: #fff;
}

.lec-schedule-calendar .fc-daygrid-day-frame,
.lec-schedule-calendar .fc-list-event {
  cursor: pointer;
}

.lec-schedule-calendar .fc-daygrid-day-number,
.lec-schedule-calendar .fc-col-header-cell-cushion {
  color: #16315f;
  font-weight: 700;
}

.lec-schedule-calendar .fc-day-today {
  background: rgba(36, 85, 216, 0.08) !important;
}

.lec-schedule-calendar .fc-h-event {
  border: 0;
  border-radius: 12px;
  padding: 2px 6px;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.16);
}

.lec-schedule-calendar .fc-daygrid-event-dot {
  border-color: currentColor;
}

.lec-schedule-stats {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.lec-schedule-stat-card {
  padding: 18px 18px 20px;
  border-radius: 22px;
  background:
    radial-gradient(circle at top right, rgba(255,255,255,0.16), transparent 34%),
    linear-gradient(135deg, #16315f, #2455d8);
  color: #fff;
  box-shadow: 0 18px 34px rgba(36, 85, 216, 0.18);
}

.lec-schedule-stat-card:nth-child(2) {
  background:
    radial-gradient(circle at top right, rgba(255,255,255,0.16), transparent 34%),
    linear-gradient(135deg, #0f766e, #14b8a6);
}

.lec-schedule-stat-card:nth-child(3) {
  background:
    radial-gradient(circle at top right, rgba(255,255,255,0.16), transparent 34%),
    linear-gradient(135deg, #b45309, #f59e0b);
}

.lec-schedule-stat-card__label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  opacity: 0.92;
}

.lec-schedule-stat-card__value {
  display: block;
  margin-top: 10px;
  font-size: 34px;
  line-height: 1;
  font-weight: 800;
}

.lec-schedule-next {
  display: block;
  margin-top: 18px;
  padding: 24px 22px;
  border-radius: 24px;
  color: #fff;
  text-align: left;
  background:
    radial-gradient(circle at top right, rgba(255,255,255,0.16), transparent 28%),
    linear-gradient(135deg, var(--schedule-accent, #2455d8), #101c3a);
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.18);
  transition: transform .22s ease, box-shadow .22s ease;
}

.lec-schedule-next:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 46px rgba(15, 23, 42, 0.2);
}

.lec-schedule-next__date,
.lec-schedule-next__badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.14);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.lec-schedule-next__title {
  display: block;
  margin: 14px 0 0;
  font-size: 24px;
  line-height: 1.35;
  font-weight: 800;
}

.lec-schedule-next__badge {
  margin-top: 14px;
}

.lec-schedule-empty-note,
.lec-schedule-empty {
  padding: 26px 22px;
  border: 1px dashed rgba(148, 163, 184, 0.4);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(248,250,252,0.98));
  text-align: center;
  color: #52617d;
}

.lec-schedule-guide {
  margin: 18px 0 0;
  padding-left: 18px;
  color: #3c4b66;
  font-size: 15px;
  line-height: 1.9;
}

.lec-schedule-list-section {
  margin-top: 46px;
}

.lec-schedule-list-section__head {
  max-width: 780px;
  margin: 0 auto 28px;
  text-align: center;
}

.lec-schedule-list {
  display: grid;
  gap: 18px;
}

.lec-schedule-card {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 30px;
  background:
    radial-gradient(circle at top right, color-mix(in srgb, var(--schedule-accent, #2455d8) 12%, transparent), transparent 28%),
    linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,250,255,0.98));
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}

.lec-schedule-card:hover,
.lec-schedule-card.is-focused {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--schedule-accent, #2455d8) 36%, transparent);
  box-shadow: 0 28px 56px rgba(15, 23, 42, 0.12);
}

.lec-schedule-card__head {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.lec-schedule-card__datebox {
  padding: 22px 20px;
  border-radius: 24px;
  color: #fff;
  text-align: center;
  background:
    radial-gradient(circle at top right, rgba(255,255,255,0.18), transparent 26%),
    linear-gradient(135deg, var(--schedule-accent, #2455d8), #101c3a);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.14);
}

.lec-schedule-card__date-label {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  opacity: 0.9;
}

.lec-schedule-card__date {
  display: block;
  margin-top: 12px;
  font-size: 28px;
  line-height: 1.1;
  font-weight: 800;
}

.lec-schedule-card__date-range {
  display: block;
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.5;
  opacity: 0.92;
}

.lec-schedule-card__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.lec-schedule-card__chip {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.05);
  color: #30415f;
  font-size: 12px;
  font-weight: 700;
}

.lec-schedule-card__chip.is-highlight {
  background: color-mix(in srgb, var(--schedule-accent, #2455d8) 14%, #ffffff);
  color: var(--schedule-accent, #2455d8);
}

.lec-schedule-card__title {
  margin: 14px 0 0;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.28;
  font-weight: 800;
  color: #101c3a;
}

.lec-schedule-card__period {
  margin: 12px 0 0;
  font-size: 15px;
  line-height: 1.8;
  font-weight: 700;
  color: #2455d8;
}

.lec-schedule-card__excerpt {
  margin: 14px 0 0;
  font-size: 16px;
  line-height: 1.9;
  color: #4d5d79;
}

.lec-schedule-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
}

.lec-schedule-card__stamp {
  font-size: 13px;
  color: #64748b;
}

.lec-schedule-card__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  background: #101c3a;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.lec-schedule-empty__title {
  display: block;
  font-size: 24px;
  font-weight: 800;
  color: #101c3a;
}

.lec-schedule-empty__copy {
  margin: 12px 0 0;
  font-size: 15px;
  line-height: 1.8;
}

@media (max-width: 1199px) {
  .lec-schedule-board {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 991px) {
  .lec-schedule-hero {
    padding: 32px 22px;
    margin-bottom: 30px;
    border-radius: 26px;
  }

  .lec-schedule-hero__copy {
    font-size: 16px;
  }

  .lec-schedule-panel--calendar,
  .lec-schedule-panel--stats,
  .lec-schedule-panel--next,
  .lec-schedule-panel--legend {
    padding: 22px 18px;
    border-radius: 24px;
  }

  .lec-schedule-panel__head {
    display: block;
  }

  .lec-schedule-panel__desc {
    margin-top: 12px;
  }

  .lec-schedule-calendar-toolbar {
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    gap: 10px;
  }

  .lec-schedule-calendar-toolbar__button {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    font-size: 24px;
  }

  .lec-schedule-calendar-grid,
  .lec-schedule-calendar-weekdays {
    gap: 8px;
  }

  .lec-schedule-calendar-cell {
    min-height: 118px;
    padding: 12px 10px 10px;
    border-radius: 18px;
  }

  .lec-schedule-calendar .fc-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .lec-schedule-card {
    padding: 20px 18px;
    border-radius: 24px;
  }

  .lec-schedule-card__head {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .lec-schedule-card__foot {
    flex-direction: column;
    align-items: stretch;
  }

  .lec-schedule-card__link {
    width: 100%;
  }
}

@media (max-width: 767px) {
  .lec-schedule-hero__actions {
    flex-direction: column;
  }

  .lec-schedule-hero__actions .btn {
    width: 100%;
  }

  .lec-schedule-hero__title {
    font-size: 32px;
  }

  .lec-schedule-hero__copy,
  .lec-schedule-card__excerpt,
  .lec-schedule-guide {
    font-size: 15px;
  }

  .lec-schedule-calendar-weekdays span {
    min-height: 34px;
    border-radius: 12px;
    font-size: 12px;
  }

  .lec-schedule-calendar-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lec-schedule-calendar-cell {
    min-height: 134px;
  }

  .lec-schedule-calendar .fc-toolbar-title {
    font-size: 24px;
  }

  .lec-schedule-calendar .fc-button {
    min-height: 40px;
    font-size: 13px;
  }

  .lec-schedule-card__date {
    font-size: 24px;
  }
}
