.program-page {
  min-height: 100vh;
  overflow-x: clip;
}

.program-page .navbar,
.program-page .footer__bottom {
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
}

.program-page .footer__top {
  display: none;
}

.program-page .footer {
  margin-top: 32px;
}

.program-page .navbar {
  margin-bottom: 32px;
}

.program-page-main {
  max-width: var(--container);
  margin: 0 auto;
  padding: 48px 0 56px;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
}

.program-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "header"
    "schedule";
  position: relative;
  align-items: start;
  max-width: 100%;
  min-width: 0;
  background: transparent;
  padding: 0 clamp(32px, 7.4vw, 106px);
}

.program-detail__disclaimer-wrap {
  position: absolute;
  top: 0;
  right: clamp(32px, 7.4vw, 106px);
  width: 292px;
  max-width: 292px;
  grid-area: disclaimer;
}

.program-detail__header {
  grid-area: header;
  display: flex;
  align-items: flex-start;
  flex-wrap: nowrap;
  gap: 0;
  min-width: 0;
  margin: 0 0 32px;
  padding: 0 332px 0 0;
}

.program-detail__heading-group {
  flex: 1 1 auto;
  min-width: 0;
}

.program-detail__heading {
  display: flex;
  align-items: center;
  min-width: 0;
}

.program-detail__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  margin-right: 38px;
  text-decoration: none;
  white-space: nowrap;
}

.program-detail__back-icon {
  display: block;
  width: 11px;
  height: 22px;
  flex-shrink: 0;
}

.program-detail__back-label {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 400;
  line-height: 32.8px;
  letter-spacing: -0.02em;
  font-variant: small-caps;
  background: linear-gradient(90deg, #ff9c59 0%, #f1dd45 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.program-detail__back:hover,
.program-detail__back:focus {
  text-decoration: none;
  opacity: 0.88;
}

.program-detail__divider {
  width: 1px;
  height: 33px;
  margin-right: 16px;
  background: #c8c8c8;
  flex-shrink: 0;
}

.program-detail__title {
  margin: 0;
  min-width: 0;
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 300;
  line-height: 35px;
  letter-spacing: -0.02em;
  text-transform: none;
  color: #414141;
}

body[data-section]:not([data-section="plenary-session"]) .program-detail__title {
  text-transform: uppercase;
}

.program-detail__disclaimer {
  width: 292px;
  max-width: 292px;
  margin: 0;
  padding: 0;
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 300;
  line-height: 12px;
  letter-spacing: 0;
  color: #414141;
  text-align: left;
}

.program-detail__intro {
  margin: 8px 0 0;
  padding-left: 17px;
  max-width: none;
}

.program-detail__header:has(.program-detail__intro) {
  margin-bottom: 24px;
}

.program-detail__intro-line {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0;
  color: #414141;
  white-space: nowrap;
}

.program-detail__intro-accent {
  display: block;
  margin: 4px 0 0;
  font-size: 13px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
  color: #f18a45;
}

.program-detail__schedule {
  grid-area: schedule;
  max-width: 100%;
  min-width: 0;
}

.program-schedule {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 100%;
}

.program-schedule__item {
  display: flex;
  align-items: flex-start;
  gap: clamp(12px, 2vw, 24px);
  max-width: 100%;
  min-width: 0;
}

.program-schedule__item--neutral,
.program-schedule__item--single {
  align-items: center;
}

.program-schedule__item--neutral .program-schedule__body,
.program-schedule__item--single .program-schedule__body {
  padding-top: 0;
}

.program-schedule__time {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 124px;
  width: 124px;
  min-width: 124px;
  max-width: 124px;
  height: 40px;
  padding: 10.38px 15.57px;
  border-radius: 6.49px;
  border: 0;
  background: linear-gradient(90deg, #ff9c59 0%, #f1dd45 100%);
  box-shadow:
    0 1px 3px 1px rgba(0, 0, 0, 0.15),
    0 1px 2px 0 rgba(0, 0, 0, 0.3);
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 300;
  line-height: 1.6;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
  color: #fff;
  text-align: center;
  white-space: nowrap;
}

.program-schedule__item--neutral .program-schedule__time {
  background: #efefef;
  color: #262626;
  border: 1px solid #e0e0e0;
  box-shadow: none;
}

.program-schedule__body {
  flex: 1 1 0;
  min-width: 0;
  max-width: 100%;
  padding-top: 11px;
  overflow-wrap: break-word;
}

.program-schedule__plain {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0;
  color: #262626;
  white-space: normal;
  overflow-wrap: break-word;
}

.program-schedule__topic {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
  color: #f18a45;
  white-space: normal;
  overflow-wrap: break-word;
}

.program-schedule__topic--muted {
  font-weight: 300;
  color: #262626;
  white-space: normal;
}

.program-schedule__speaker {
  margin: 4px 0 0;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0;
  color: #262626;
  white-space: normal;
}

.program-schedule__speaker b,
.program-schedule__speaker strong {
  font-weight: 300;
}

@media (min-width: 1500px) {
  .program-schedule__plain,
  .program-schedule__topic,
  .program-schedule__speaker {
    white-space: nowrap;
  }
}

@media (max-width: 1199px) {
  .program-page-main {
    padding: 48px 0 36px;
  }

  .program-detail {
    grid-template-columns: 1fr;
    grid-template-areas:
      "header"
      "disclaimer"
      "schedule";
    column-gap: 0;
    padding: 0 clamp(24px, 4vw, 48px) 0;
  }

  .program-detail__header {
    margin-bottom: 24px;
    padding-right: 0;
  }

  .program-detail__disclaimer-wrap {
    position: static;
    width: auto;
    max-width: none;
    display: block;
    margin: -12px 0 20px;
    padding: 0;
    background: transparent;
    border-radius: 0;
  }

  .program-detail__disclaimer {
    width: 100%;
    max-width: 280px;
    margin: 0 0 0 auto;
    padding: 0;
    background: transparent;
    font-family: var(--font-heading);
    font-size: 10px;
    font-weight: 300;
    line-height: 12px;
    letter-spacing: 0;
    color: #414141;
    text-align: right;
  }
}

@media (max-width: 768px) {
  .program-page-main {
    padding: 24px 0 0;
  }

  .program-detail {
    grid-template-areas:
      "header"
      "schedule"
      "disclaimer";
    padding: 0 20px 0;
  }

  .program-detail__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 22px;
    padding-right: 0;
  }

  .program-detail__heading-group {
    width: 100%;
  }

  .program-detail__intro {
    margin-top: 10px;
    padding-left: 17px;
    max-width: none;
  }

  .program-detail__intro-line {
    white-space: normal;
  }

  .program-detail__intro-accent {
    white-space: nowrap;
  }

  .program-detail__back {
    gap: 6px;
    margin-right: 0;
  }

  .program-detail__heading {
    display: flex;
    align-items: center;
    width: 100%;
    min-width: 0;
  }

  .program-detail__divider {
    display: block;
    width: 1px;
    height: 18px;
    margin-right: 10px;
    background: #c8c8c8;
  }

  .program-detail__back-label {
    font-size: 14px;
    line-height: 18px;
    letter-spacing: -0.02em;
  }

  .program-detail__back-icon {
    width: 7px;
    height: 14px;
  }

  .program-detail__title {
    flex: 1;
    min-width: 0;
    font-size: 13px;
    font-weight: 300;
    line-height: 18px;
  }

  .program-detail__disclaimer-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 16px -20px 0;
    padding: 10px 12px;
    min-height: 27px;
    background: #efefef;
    border-radius: 0 0 var(--radius) var(--radius);
  }

  .program-detail__disclaimer {
    width: 100%;
    max-width: 282px;
    margin: 0;
    padding: 0;
    background: transparent;
    font-family: var(--font-heading);
    font-size: 7.5px;
    font-weight: 300;
    line-height: 1;
    letter-spacing: 0;
    color: #414141;
    text-align: center;
  }

  .program-schedule {
    gap: 10px;
  }

  .program-schedule__item {
    align-items: flex-start;
    gap: 10px;
  }

  .program-schedule__item--neutral,
  .program-schedule__item--single {
    align-items: center;
  }

  .program-schedule__time {
    flex: 0 0 72px;
    width: 72px;
    min-width: 72px;
    max-width: 72px;
    height: 26px;
    padding: 0 6px;
    border-radius: 4px;
    font-size: 8px;
    font-weight: 300;
    line-height: 1;
    box-shadow:
      0 0.65px 1.95px 0.65px rgba(0, 0, 0, 0.15),
      0 0.65px 1.3px 0 rgba(0, 0, 0, 0.3);
  }

  .program-schedule__item--neutral .program-schedule__time {
    box-shadow: none;
  }

  .program-schedule__body {
    flex: 1 1 0;
    min-width: 0;
    max-width: none;
    padding-top: 5px;
  }

  .program-schedule__item--neutral .program-schedule__body,
  .program-schedule__item--single .program-schedule__body {
    padding-top: 0;
  }

  .program-schedule__plain,
  .program-schedule__topic,
  .program-schedule__topic--muted {
    font-size: 8.5px;
    line-height: 1.15;
    letter-spacing: 0;
  }

  .program-schedule__topic {
    font-weight: 400;
  }

  .program-schedule__topic--muted,
  .program-schedule__plain {
    font-weight: 300;
  }

  .program-schedule__speaker {
    margin-top: 2px;
    font-size: 8px;
    font-weight: 300;
    line-height: 1.15;
    letter-spacing: 0;
  }

  .program-page .footer {
    margin-top: 12px;
  }

  .program-page .footer__bottom-inner {
    padding: 20px 16px;
  }
}
