/* ============================================
   Session Schedule — Stylesheet
   ============================================ */

:root {
  --navy: #224881;
  --navy-light: #2d3e7a;
  --accent-blue: #4a6cf7;
  --bg: #ffffff;
  --text: #222;
  --label: var(--navy);
  --border: #f5f5f5;
}

/* Reset */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Left accent strip */
.schedule-accent {
  position: fixed;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: linear-gradient(180deg, #a8c0ff 0%, #4a6cf7 40%, #1b2a5b 100%);
  z-index: 10;
}

/* Layout */
.schedule {
  max-width: 1040px;
  margin: 0 auto;
  padding: 60px 40px 100px;
}

/* Title */
.schedule-title {
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 400;
  line-height: 1.1;
  /* color: var(--navy); */
  margin-bottom: 60px;
}

/* Day header */
.day {
  margin-bottom: 60px;
}

.day-header {
  display: flex;
  align-items: baseline;
  gap: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--navy);
  margin-bottom: 0;
}

.day-label {
  font-size: 1.5rem;
  /* font-style: italic; */
  font-weight: 700;
  /* color: var(--navy); */
}

.day-date > span {
  /* display: block; */
}

/* Labels (TIME, SPEAKER, TOPIC, etc.) */
.label {
  display: block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--label);
  margin-bottom: 10px;
}

/* Event row */
.event {
  display: grid;
  grid-template-columns: 180px 1fr 160px;
  row-gap: 12px;
  column-gap: 12px;
  align-items: start;
  padding: 0;
}

/* .event:not(:last-child) { */
/*   border-bottom: 1px solid var(--border); */
/* } */

/* When there's no speaker column, let content span */
/* .event:not(:has(.event-speaker)) { */
/*   grid-template-columns: 120px 1fr; */
/* } */

/* Time */
.event-time {
  padding-top: 2px;
}

.time {
  font-size: 1.25rem;
  /* color: var(--navy); */
}

/* Event content */

.event-title {
  margin-bottom: 4px;
}

.event-title,
.day-date,
.event-location {
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.35;
  color: var(--text-primary);
}

.event-location {
  justify-self: end;
}

/* .event-note {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--navy);
} */

.event-note {
  margin-bottom: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-secondary);
}

.event-speakers-inline {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.55;
}

/* Speaker column */
.event-speaker p {
  margin-bottom: 0;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.55;
  color: var(--text-primary);
}

/* ============================================
   Responsive — Mobile
   ============================================ */

@media (max-width: 768px) {
  .event--headers {
    display: none;
  }

  .schedule-accent {
    width: 4px;
  }

  .schedule {
    padding: 40px 24px 80px;
  }

  .schedule-title {
    margin-bottom: 40px;
  }

  .day-header {
    flex-direction: column;
    gap: 2px;
  }

  .day-label {
    font-size: 1.25rem;
  }

  .day-date {
    font-size: 0.875rem;
    font-weight: normal;
    color: var(--navy);
  }

  .day-date > span {
    display: inline;
  }

  .event,
  .event:not(:has(.event-speaker)) {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 0;
    margin-bottom: 1rem;
  }

  .event-content {
    margin-bottom: 0;
    padding-top: 0;
  }

  .event-time {
    display: flex;
    flex-direction: column;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 0;
    padding-top: 0;
  }

  .event-time .label {
    margin-bottom: 0;
    flex-shrink: 0;
  }

  .time {
    font-size: 1.1rem;
  }

  .event-location {
    opacity: 0.5;
    font-size: 0.875rem;
  }

  .event-title {
    font-size: 1.125rem;
    margin-bottom: 0;
  }

  /* .event-speaker { */
  /*   margin-top: 4px; */
  /* } */
}

/* Fallback for browsers without :has() */
@supports not selector(:has(*)) {
  .event {
    grid-template-columns: 120px 1fr;
  }
}

.schedule-list {
  /* padding-top: 3rem; */
}
