/* ============ SCHEDULE SECTION ============ */
.schedule-section { width: 100%; box-sizing: border-box; }
.schedule-section *, .schedule-section *::before, .schedule-section *::after { box-sizing: border-box; }
.schedule-section__container { margin: 0 auto; padding: 0 24px; }

/* ============ HEADER ============ */
.schedule-section__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.schedule-section__header--sticky {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 16px 0;
  background: inherit;
}
.schedule-section__eyebrow {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.schedule-section__heading h1,
.schedule-section__heading h2,
.schedule-section__heading h3 {
  font-size: 56px;
  line-height: 1.05;
  font-weight: 800;
  margin: 0;
}

/* Tabs */
.schedule-section__tabs {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px;
  border-radius: 999px;
  border: 1px solid;
  background: #fff;
}
.schedule-section__tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 0;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  background: var(--tab-inactive-bg);
  color: var(--tab-inactive-text);
  transition: background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.schedule-section__tab:hover { opacity: 0.85; }
.schedule-section__tab.is-active {
  background: var(--tab-active-bg);
  color: var(--tab-active-text);
}
.schedule-section__tab-date { opacity: 0.85; font-weight: 500; }

/* ============ DAY PANELS ============ */
.schedule-section__day { display: none; flex-direction: column; gap: 24px; }
.schedule-section__day.is-active { display: flex; }

/* ============ COVER ROW ============ */
.schedule-cover {
  display: grid;
  grid-template-columns: minmax(280px, 360px) 1fr;
  gap: 0;
  background: #fff;
  border: 1px solid;
  border-radius: 16px;
  overflow: hidden;
}
.schedule-cover__media {
  position: relative;
  min-height: 220px;
  background: #f1f5f9;
}
.schedule-cover__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.schedule-cover__badge {
  position: absolute;
  top: 20px;
  left: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 12px;
  min-width: 110px;
}
.schedule-cover__badge-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.95;
}
.schedule-cover__badge-date {
  font-size: 26px;
  font-weight: 800;
  line-height: 1.1;
  margin-top: 2px;
}
.schedule-cover__content {
  padding: 36px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.schedule-cover__eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.schedule-cover__title {
  font-size: 38px;
  line-height: 1.15;
  font-weight: 800;
  color: #1A3B69;
  margin: 0 0 12px 0;
}
.schedule-cover__description {
  font-size: 16px;
  line-height: 1.55;
  color: #475569;
}
.schedule-cover__description p { margin: 0; }

/* ============ INNER SECTION ============ */
.schedule-inner-section {
  padding: 24px;
}
.schedule-inner-section__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.schedule-inner-section__eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.schedule-inner-section__eyebrow-sep { opacity: 0.5; padding: 0 2px; }
.schedule-inner-section__title {
  font-size: 22px;
  font-weight: 800;
  margin: 0;
  line-height: 1.2;
}
.schedule-inner-section__time-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #E2E8F0;
  font-size: 13px;
}
.schedule-inner-section__time-label {
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #64748B;
}
.schedule-inner-section__time-range {
  color: #1A3B69;
  font-weight: 600;
}

/* ============ ROWS GRID ============ */
.schedule-rows { display: grid; gap: 16px; }
.schedule-rows--cols-1 { grid-template-columns: 1fr; }
.schedule-rows--cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.schedule-rows--cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* ============ ROW ============ */
.schedule-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  border: 1px solid;
  border-radius: 16px;
  overflow: hidden;
}
.schedule-rows--cols-2 .schedule-row,
.schedule-rows--cols-3 .schedule-row {
  grid-template-columns: 120px 1fr;
}

/* Sidebar */
.schedule-row__sidebar {
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
/* Hide sidebar badge on desktop (shown in content instead) */
.schedule-row__badge--sidebar { display: none; }
.schedule-row__badge--content { display: inline-block; }
.schedule-row__type {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.schedule-row__time-wrap {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.schedule-row__time-start {
  font-size: 22px;
  font-weight: 800;
  color: #1A3B69;
  line-height: 1.1;
}
.schedule-row__time-end {
  font-size: 14px;
  color: #64748B;
  font-weight: 500;
  margin-bottom: 8px;
}
.schedule-row__location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #475569;
  margin-top: auto;
}

/* Content */
.schedule-row__content {
  padding: 24px 28px;
  display: flex;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
}
.schedule-row__badge,
.schedule-row__category {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  width: fit-content;
}
.schedule-row__title {
  font-size: 24px;
  font-weight: 800;
  line-height: 1.2;
  margin: 0;
}
.schedule-rows--cols-2 .schedule-row__title,
.schedule-rows--cols-3 .schedule-row__title { font-size: 18px; }
.schedule-row__description {
  font-size: 15px;
  line-height: 1.55;
  color: #475569;
}
.schedule-row__description p { margin: 0; }

/* Speakers block */
.schedule-row__speakers {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  border-radius: 10px;
  margin-top: 4px;
}
.schedule-row__speakers--two { gap: 12px; }
.schedule-row__speaker {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
}
.schedule-row__speaker-avatar,
.schedule-row__speaker-photo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  background: #E2E8F0;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.schedule-row__speaker-info { min-width: 0; }
.schedule-row__speaker-name {
  font-size: 16px;
  font-weight: 700;
  color: #1A3B69;
  line-height: 1.2;
}
.schedule-row__speaker-role {
  font-size: 13px;
  color: #64748B;
  margin-top: 2px;
}
.schedule-row__speaker-sep {
  width: 1px;
  height: 32px;
  background: rgba(26, 59, 105, 0.15);
}
.schedule-row__tba-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid #EE3924;
  color: #EE3924;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-left: auto;
}

/* Sponsor */
.schedule-row__sponsor {
  padding-top: 14px;
  margin-top: 4px;
  border-top: 1px solid #E2E8F0;
}
.schedule-row__sponsor-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #94A3B8;
  margin-bottom: 8px;
}
.schedule-row__sponsor-logo {
  max-height: 36px;
  width: auto;
  display: block;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .schedule-rows--cols-2,
  .schedule-rows--cols-3 { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .schedule-section__container { padding: 0 16px; }

  /* Header: full-width header bar with title centered and tabs below */
  .schedule-section__header {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-bottom: 20px;
  }
  .schedule-section__header-text {
    text-align: center;
    width: 100%;
  }
  .schedule-section__eyebrow { font-size: 12px; margin-bottom: 4px; }
  .schedule-section__heading h1,
  .schedule-section__heading h2,
  .schedule-section__heading h3 {
    font-size: 28px;
    line-height: 1.1;
  }

  /* Tabs: compact pill row, full width */
  .schedule-section__tabs {
    width: 100%;
    justify-content: space-between;
    padding: 4px;
    gap: 0;
  }
  .schedule-section__tab {
    flex: 1;
    justify-content: center;
    padding: 10px 8px;
    font-size: 13px;
    gap: 4px;
  }
  .schedule-section__tab-date {
    font-size: 12px;
  }
  /* Hide date on inactive tabs to save space, like the design */
  .schedule-section__tab:not(.is-active) .schedule-section__tab-date {
    display: none;
  }

  /* Cover row: stacked, badge on top */
  .schedule-cover { grid-template-columns: 1fr; border-radius: 12px; }
  .schedule-cover__media { min-height: 180px; }
  .schedule-cover__badge {
    top: 16px;
    left: 16px;
    padding: 8px 14px;
    min-width: auto;
    border-radius: 8px;
  }
  .schedule-cover__badge-label { font-size: 10px; }
  .schedule-cover__badge-date { font-size: 20px; }
  .schedule-cover__content { padding: 20px; }
  .schedule-cover__eyebrow { font-size: 12px; margin-bottom: 6px; }
  .schedule-cover__title { font-size: 24px; margin-bottom: 8px; }
  .schedule-cover__description { font-size: 14px; }

  /* Inner section: tighter padding */
  .schedule-inner-section { padding: 16px; }
  .schedule-inner-section__header { margin-bottom: 12px; }
  .schedule-inner-section__title { font-size: 18px; }

  /* ====== ROW IN MOBILE ======
     Stack: sidebar on top (as a horizontal strip), then content below.
     Inside content: badge, title, description, speakers, sponsor (natural order).
  */
  .schedule-row {
    grid-template-columns: 1fr;
    border-radius: 12px;
  }
  .schedule-row__sidebar {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    column-gap: 12px;
    row-gap: 8px;
    padding: 14px 16px;
  }
  /* Row 1: badge full width left */
  .schedule-row__badge--sidebar { display: inline-block; }
  .schedule-row__badge--content { display: none; }
  .schedule-row__sidebar .schedule-row__badge {
    grid-column: 1 / -1;
    justify-self: start;
    margin: 0 0 2px 0;
  }
  /* Row 2: type label full width */
  .schedule-row__type {
    grid-column: 1 / -1;
    justify-self: start;
    margin-bottom: 0;
    font-size: 12px;
  }
  /* Row 3 left: time wrapper (start + end side by side) */
  .schedule-row__time-wrap {
    grid-column: 1;
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
  }
  .schedule-row__time-start {
    font-size: 16px;
    line-height: 1.2;
    font-weight: 800;
    color: #1A3B69;
    margin: 0;
  }
  .schedule-row__time-end {
    font-size: 13px;
    color: #64748B;
    font-weight: 500;
    margin: 0;
  }
  /* Row 3 right: location */
  .schedule-row__location {
    grid-column: 2;
    justify-self: end;
    margin: 0;
    font-size: 13px;
    gap: 4px;
  }
  .schedule-row__content {
    padding: 16px;
    gap: 10px;
  }
  .schedule-row__badge,
  .schedule-row__category {
    font-size: 10px;
    padding: 5px 10px;
  }
  .schedule-row__title {
    font-size: 20px;
  }
  .schedule-row__description {
    font-size: 14px;
  }

  /* Speakers block tighter */
  .schedule-row__speakers {
    padding: 10px 12px;
    gap: 10px;
  }
  .schedule-row__speaker-avatar,
  .schedule-row__speaker-photo { width: 32px; height: 32px; }
  .schedule-row__speaker-name { font-size: 14px; }
  .schedule-row__speaker-role { font-size: 12px; }
  .schedule-row__tba-pill { font-size: 10px; padding: 3px 8px; }

  /* Sponsor */
  .schedule-row__sponsor-label { font-size: 11px; margin-bottom: 6px; }
  .schedule-row__sponsor-logo { max-height: 28px; }
}

@media (max-width: 420px) {
  .schedule-section__tab { padding: 8px 6px; font-size: 12px; }
  .schedule-row__time-start { font-size: 15px; }
  .schedule-row__location { width: 100%; margin-left: 0; }
}

.schedule-row__badge--sidebar { display: none; }

@media (max-width: 768px) {
  .schedule-row__badge--sidebar { display: inline-block; }
  .schedule-row__badge--content { display: none; }
.schedule-row__speakers--four {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 0;
}

.schedule-row__speakers--four .schedule-row__speaker-sep {
  display: none;
}

.schedule-row__speakers--four .schedule-row__speaker {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}

.schedule-row__speakers--four .schedule-row__speaker:nth-of-type(3),
.schedule-row__speakers--four .schedule-row__speaker:nth-of-type(4) {
  border-top: 1px solid rgba(0, 0, 0, 0.1) !important;
  padding-top: 16px !important;
}