/* ============================================
   schedule.css — Страница расписания конференции
   ============================================ */




/* ===== Заголовок ===== */
.schedule-title {
  font-size: 36px;
  font-weight: 800;
  color: #1A1A1A;
  margin: 0 0 8px;
}
.schedule-subtitle {
  font-size: 14px;
  color: #6B6B6B;
  margin: 0 0 40px;
}

/* ===== Навигация ← дата → ===== */
.schedule-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 12px;
  user-select: none;
}

.schedule-nav__date {
  background: var(--dark-bg);
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  padding: 14px 40px;
  border-radius: 10px;
  min-width: 220px;
  text-align: center;
  letter-spacing: .3px;
  text-transform: none;
  transition: background .2s;
}

.schedule-nav__arrow {
  width: 48px;
  height: 48px;
  border: 1.5px solid #D0D0D0;
  background: #fff;
  color: #444;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .2s;
  padding: 0;
  flex-shrink: 0;
}

.schedule-nav__arrow:hover:not(:disabled) {
  background: var(--orange, #FF7800);
  border-color: var(--orange, #FF7800);
  color: #fff;
  transform: scale(1.05);
}

.schedule-nav__arrow:disabled {
  opacity: .3;
  cursor: not-allowed;
}

/* ===== Точки ===== */
.schedule-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 36px;
}
.schedule-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: #D0D0D0;
  padding: 0;
  cursor: pointer;
  transition: all .25s;
}
.schedule-dot.is-active {
  background: #FF7800;
  transform: scale(1.3);
}
.schedule-dot:hover:not(.is-active) {
  background: #aaa;
}

/* ===== Список дней ===== */
.schedule-days {
  position: relative;
  min-height: 200px;
}

.schedule-day {
  display: none;
  animation: schedFadeIn .35s ease;
}
.schedule-day.is-active {
  display: block;
}

@keyframes schedFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ===== Событие (строка-карточка) ===== */
.schedule-event {
  display: flex;
  align-items: stretch;
  background: #fff;
  border: 1px solid #e8ecf1;
  border-radius: 10px;
  margin-bottom: 10px;
  transition: border-color .2s, box-shadow .2s, transform .2s;
  overflow: hidden;
}

.schedule-event:hover {
  border-color: #d0d4db;
  box-shadow: 0 4px 16px rgba(9, 30, 62, .06);
  transform: translateY(-1px);
}

/* Левая часть: время + место */
.schedule-event__left {
  flex: 0 0 230px;
  padding: 20px 24px;
  border-right: 1px solid #e8ecf1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.schedule-event__time {
  font-size: 15px;
  font-weight: 700;
  color: #1A1A1A;
  line-height: 1.3;
}

.schedule-event__place {
  font-size: 12px;
  color: #8a8f9a;
  margin-top: 4px;
  line-height: 1.4;
}

/* Правая часть: название */
.schedule-event__right {
  flex: 1;
  padding: 20px 28px;
  display: flex;
  align-items: center;
}

.schedule-event__title {
  font-size: 15px;
  font-weight: 600;
  color: #1A1A1A;
  line-height: 1.5;
}

/* Ссылка в названии */
a.schedule-event__link {
  text-decoration: none;
  color: #1A1A1A;
  transition: color .2s;
  display: flex;
  align-items: center;
  gap: 8px;
}
a.schedule-event__link::after {
  content: '→';
  font-size: 14px;
  color: var(--orange, #FF7800);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity .25s, transform .25s;
}
a.schedule-event__link:hover {
  color: var(--orange, #FF7800);
}
a.schedule-event__link:hover::after {
  opacity: 1;
  transform: translateX(0);
}

/* Ссылка внутри перерыва */
.schedule-event--break a.schedule-event__link {
  color: #C76A00;
}
.schedule-event--break a.schedule-event__link:hover {
  color: #A55800;
}


/* ===== Перерыв (оранжевый) ===== */
.schedule-event--break {
  background: #FFF6EC;
  border-color: #FFD9A8;
}

.schedule-event--break:hover {
  border-color: #FFB866;
  background: #FFF1E0;
}

.schedule-event--break .schedule-event__left {
  border-right-color: #FFD9A8;
}

.schedule-event--break .schedule-event__time {
  color: #D97A00;
}

.schedule-event--break .schedule-event__place {
  color: #C28030;
}

.schedule-event--break .schedule-event__title {
  color: #C76A00;
  font-weight: 700;
}


/* ===== Responsive ===== */
@media (max-width: 768px) {
  .schedule-title {
    font-size: 26px;
  }
  .schedule-nav__date {
    font-size: 18px;
    padding: 12px 24px;
    min-width: 180px;
  }
  .schedule-nav__arrow {
    width: 40px;
    height: 40px;
  }
  .schedule-nav {
    gap: 12px;
  }

  /* Карточка события — стопка */
  .schedule-event {
    flex-direction: column;
  }
  .schedule-event__left {
    flex: none;
    border-right: none;
    border-bottom: 1px solid #e8ecf1;
    padding: 14px 18px;
  }
  .schedule-event--break .schedule-event__left {
    border-bottom-color: #FFD9A8;
  }
  .schedule-event__right {
    padding: 14px 18px;
  }
  .schedule-event__time {
    font-size: 14px;
  }
  .schedule-event__title {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .schedule-nav__date {
    font-size: 14px;
    padding: 10px 16px;
    min-width: auto;
  }
  .schedule-nav__arrow {
    width: 36px;
    height: 36px;
  }
}


@media (max-width: 768px) {
  .schedule-days,
  .schedule-day {
    touch-action: pan-y !important;
  }
}