/* One-day conference schedule. Session copy and timing are edited in index.html. */
.program-section {
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding: 90px 0 105px;
  background:
    radial-gradient(ellipse at 15% 55%, #e7f6f8, transparent 55%),
    linear-gradient(145deg, #fff 20%, #f7fbfc 100%);
  color: var(--content-ink);
  color-scheme: light;
  border-top: 1px solid #dbe8ee;
  scroll-margin-top: 22px;
  outline: none;
}
.program-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  margin-bottom: 38px;
  padding-bottom: 25px;
  border-bottom: 1px solid var(--content-line);
}
.program-heading h2 {
  margin: 0;
  font:
    clamp(48px, 5.4vw, 78px) / 1.08 Bebas,
    sans-serif;
  letter-spacing: 0.5px;
}
.program-date-mark {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 50px;
  padding: 10px 19px 10px 15px;
  border: 1px solid #167d8a2e;
  border-radius: 40px;
  background: #ffffffc9;
  box-shadow: 0 10px 28px #17374b0b;
  color: #536c7b;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.program-date-mark b {
  padding-left: 12px;
  border-left: 1px solid #d8e6ea;
  color: #167d8a;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.program-date-orbit {
  position: relative;
  width: 11px;
  height: 11px;
  border: 1px solid #167d8a;
  border-radius: 50%;
}
.program-date-orbit::before,
.program-date-orbit::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red);
  transform: translate(-50%, -50%);
  animation: program-marker-pulse 2.8s ease-out infinite;
}
.program-date-orbit::after {
  animation-delay: 1.4s;
}
.program-shell {
  --program-time-width: 150px;
  --program-node-width: 48px;
  position: relative;
  /*max-width: 1120px;*/
  margin: 0 auto;
  overflow: hidden;
  padding: clamp(25px, 4.2vw, 52px);
  border: 1px solid #d9e7ec;
  border-radius: 24px;
  background: linear-gradient(135deg, #ffffffef, #f8fcfded);
  box-shadow:
    0 30px 90px #15394b12,
    inset 0 1px #fff;
}
.program-shell::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  width: 80%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #167d8a66, #ef35325c, transparent);
  transform-origin: center;
  animation: program-top-glint 8s ease-in-out infinite;
}
.program-shell-top {
  display: grid;
  grid-template-columns: 72px minmax(24px, 1fr) auto;
  align-items: center;
  gap: 22px;
  padding-bottom: 30px;
  border-bottom: 1px solid #dce8ec;
}
.program-day-index {
  display: flex;
  align-items: baseline;
  gap: 5px;
  white-space: nowrap;
  color: #167d8a;
  font:
    700 19px / 1 Bebas,
    sans-serif;
  letter-spacing: 0.08em;
}
.program-day-index b {
  color: #758a97;
  font-size: 14px;
  font-weight: 400;
}
.program-shell-line {
  position: relative;
  height: 1px;
  overflow: hidden;
  background: #d8e7eb;
}
.program-shell-line span {
  position: absolute;
  inset: 0 auto 0 0;
  width: 28%;
  background: linear-gradient(90deg, transparent, #167d8a, var(--red), transparent);
  animation: program-line-sweep 5.8s ease-in-out infinite;
}
.program-hours {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: #748a97;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.035em;
  white-space: nowrap;
}
.program-hours strong {
  color: #17374b;
  font-size: 14px;
  font-weight: 700;
}
.program-timeline {
  position: relative;
  margin: 0;
  padding: 29px 0 0;
  list-style: none;
}
.program-timeline::before {
  content: "";
  position: absolute;
  top: 53px;
  bottom: 42px;
  left: calc(var(--program-time-width) + var(--program-node-width) / 2);
  width: 1px;
  background: linear-gradient(180deg, #167d8a24, #167d8a73 24%, #ef353254 76%, #167d8a20);
}
.program-item {
  position: relative;
  display: grid;
  grid-template-columns: var(--program-time-width) var(--program-node-width) minmax(0, 1fr);
  align-items: stretch;
  min-width: 0;
  padding-bottom: 19px;
}
.program-item:last-child {
  padding-bottom: 0;
}
.program-time {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding: 22px 18px 0 0;
  color: #6c828f;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.6;
  white-space: nowrap;
}
.program-time time {
  color: #14364a;
  font:
    24px / 1.1 Bebas,
    sans-serif;
  letter-spacing: 0.04em;
}
.program-time > span {
  padding-top: 4px;
}
.program-timeline-node {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  padding-top: 35px;
}
.program-timeline-node::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 50%;
  width: 30px;
  height: 30px;
  border: 1px solid #167d8a47;
  border-radius: 50%;
  background: #f7fbfc;
  box-shadow: 0 0 0 6px #ffffff8c;
  transform: translateX(-50%);
  transition:
    border-color 0.35s,
    box-shadow 0.35s,
    transform 0.45s;
}
.program-timeline-node i {
  position: relative;
  z-index: 1;
  display: block;
  width: 8px;
  height: 8px;
  border: 1px solid #fff;
  border-radius: 50%;
  background: #167d8a;
  box-shadow: 0 0 0 3px #167d8a20;
  transition:
    background 0.35s,
    box-shadow 0.35s,
    transform 0.35s;
}
.program-item:hover .program-timeline-node::before {
  border-color: #ef353278;
  box-shadow:
    0 0 0 7px #ffffffc4,
    0 0 26px #ef35322b;
  transform: translateX(-50%) scale(1.12);
}
.program-item:hover .program-timeline-node i {
  background: var(--red);
  box-shadow: 0 0 0 4px #ef353226;
  transform: scale(1.16);
}
.program-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  padding: 21px 25px 23px;
  border: 1px solid #dce8ed;
  border-radius: 15px;
  background: linear-gradient(135deg, #fff, #fbfdfe);
  box-shadow: 0 10px 28px #163b5008;
  transition:
    transform 0.42s cubic-bezier(0.2, 0.7, 0.2, 1),
    border-color 0.35s,
    box-shadow 0.35s,
    background 0.35s;
}
.program-card::before {
  content: "";
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 0;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(180deg, #167d8a88, #7ecfd733);
  transform: scaleY(0.35);
  transform-origin: center;
  transition:
    transform 0.4s,
    background 0.4s;
}
.program-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 38%, #ffffffb5 51%, transparent 64%);
  transform: translateX(-130%);
  opacity: 0.62;
}
.program-item:hover .program-card {
  transform: translateX(5px);
  border-color: #a9d2d9;
  box-shadow: 0 18px 44px #163b5013;
}
.program-item:hover .program-card::before {
  transform: scaleY(1);
  background: linear-gradient(180deg, var(--red), #167d8a);
}
.program-item:hover .program-card::after {
  animation: program-card-sheen 1.2s ease both;
}
.program-card-featured {
  background: linear-gradient(135deg, #fff, #f7fbfc);
}
.program-card-featured::before {
  background: linear-gradient(180deg, var(--red), #167d8a);
}
.program-kind {
  display: block;
  margin-bottom: 7px;
  color: #167d8a;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  line-height: 1.5;
}
.program-card h3 {
  margin: 0;
  color: #17374b;
  font:
    600 clamp(19px, 2vw, 24px) / 1.3 Poppins,
    sans-serif;
  letter-spacing: -0.025em;
}
.program-card p {
  max-width: 720px;
  margin: 10px 0 0;
  color: #586f7e;
  font-size: 16px;
  line-height: 1.75;
}
.program-card-compact {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 78px;
  padding-top: 17px;
  padding-bottom: 17px;
}
.program-card-compact .program-kind {
  flex: 0 0 155px;
  margin: 0;
}
.program-card-compact h3 {
  font-size: 20px;
}
.program-item-pause .program-card {
  border-color: #e1ecef;
  background: linear-gradient(100deg, #f3f9fa, #fff);
}
.program-item-pause .program-timeline-node i {
  width: 7px;
  height: 7px;
  background: #829ba7;
  box-shadow: 0 0 0 3px #829ba71c;
}
.program-topic-chips,
.program-topic-list,
.program-workshop-list {
  margin: 15px 0 0;
  padding: 0;
  list-style: none;
}
.program-topic-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.program-topic-chips li {
  padding: 7px 11px;
  border: 1px solid #d9e9ed;
  border-radius: 30px;
  background: #eff7f8;
  color: #315869;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
  transition:
    border-color 0.3s,
    background 0.3s,
    transform 0.3s;
}
.program-topic-chips li:hover {
  transform: translateY(-2px);
  border-color: #9dcfd6;
  background: #fff;
}
.program-topic-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 28px;
  counter-reset: war-topic;
}
.program-topic-list li {
  position: relative;
  min-width: 0;
  padding-left: 22px;
  color: #4d6574;
  font-size: 15px;
  line-height: 1.65;
  counter-increment: war-topic;
}
.program-topic-list li::before {
  content: counter(war-topic, decimal-leading-zero);
  position: absolute;
  top: 1px;
  left: 0;
  color: #167d8a;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.program-workshop-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.program-workshop-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 50px;
  padding: 10px 14px;
  border: 1px solid #dce9ed;
  border-radius: 9px;
  background: #f5fafb;
  color: #315869;
  font-size: 15px;
  line-height: 1.45;
}
.program-workshop-list li span {
  flex: 0 0 auto;
  color: #ef3532;
  font:
    20px / 1 Bebas,
    sans-serif;
}
.program-item-finale .program-card {
  border-color: #b5d9df;
  background: linear-gradient(105deg, #eaf6f8, #fff 72%);
}
.program-item-finale .program-card::before {
  background: linear-gradient(180deg, #ef3532, #167d8a);
}
.program-item-finale .program-timeline-node i {
  background: var(--red);
  box-shadow:
    0 0 0 4px #ef353221,
    0 0 18px #ef353245;
}
#program .program-item.revealed .program-card {
  animation: program-card-enter 0.72s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: calc(var(--program-index) * 45ms);
}
@keyframes program-card-enter {
  from {
    opacity: 0;
    transform: translate3d(0, 12px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}
@keyframes program-card-sheen {
  to {
    transform: translateX(130%);
  }
}
@keyframes program-line-sweep {
  from {
    transform: translateX(-110%);
  }
  to {
    transform: translateX(390%);
  }
}
@keyframes program-top-glint {
  0%,
  100% {
    opacity: 0.35;
    transform: scaleX(0.78);
  }
  50% {
    opacity: 1;
    transform: scaleX(1);
  }
}
@keyframes program-marker-pulse {
  0% {
    opacity: 0.65;
    transform: translate(-50%, -50%) scale(0.5);
  }
  80%,
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(3.4);
  }
}
@media (max-width: 1099px) {
  .program-section {
    padding: 72px 0 80px;
  }
  .program-shell {
    --program-time-width: 130px;
    --program-node-width: 42px;
    padding: 34px;
  }
  .program-card {
    padding: 20px 22px;
  }
}
@media (max-width: 767px) {
  .program-section {
    padding: 58px 0 72px;
  }
  .program-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 28px;
    padding-bottom: 21px;
  }
  .program-heading h2 {
    font-size: clamp(46px, 8vw, 58px);
  }
  .program-date-mark {
    min-height: 44px;
    padding: 8px 14px;
    font-size: 13px;
  }
  .program-shell {
    --program-time-width: 94px;
    --program-node-width: 30px;
    padding: 23px 18px;
    border-radius: 19px;
  }
  .program-shell-top {
    grid-template-columns: auto minmax(12px, 1fr);
    gap: 13px;
    padding-bottom: 22px;
  }
  .program-hours {
    grid-column: 1 / -1;
    justify-content: flex-end;
    margin-top: -3px;
  }
  .program-timeline {
    padding-top: 23px;
  }
  .program-timeline::before {
    top: 46px;
    bottom: 38px;
  }
  .program-item {
    padding-bottom: 14px;
  }
  .program-time {
    padding: 17px 9px 0 0;
    font-size: 12px;
  }
  .program-time time {
    font-size: 20px;
  }
  .program-timeline-node {
    padding-top: 29px;
  }
  .program-timeline-node::before {
    top: 19px;
    width: 25px;
    height: 25px;
  }
  .program-timeline-node i {
    width: 7px;
    height: 7px;
  }
  .program-card {
    padding: 17px 17px 18px;
    border-radius: 12px;
  }
  .program-card-compact {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    min-height: 78px;
  }
  .program-card-compact .program-kind {
    flex-basis: auto;
  }
  .program-kind {
    font-size: 11px;
  }
  .program-card h3,
  .program-card-compact h3 {
    font-size: 18px;
  }
  .program-card p {
    font-size: 15px;
  }
  .program-topic-chips {
    gap: 7px;
  }
  .program-topic-chips li {
    padding: 6px 9px;
    font-size: 13px;
  }
  .program-topic-list {
    grid-template-columns: 1fr;
    gap: 7px;
    margin-top: 12px;
  }
  .program-topic-list li {
    font-size: 14px;
    line-height: 1.55;
  }
  .program-workshop-list {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .program-workshop-list li {
    min-height: 46px;
    padding: 9px 11px;
    font-size: 14px;
  }
}
@media (max-width: 400px) {
  .program-container {
    padding-right: 18px;
    padding-left: 18px;
  }
  .program-shell {
    --program-time-width: 77px;
    --program-node-width: 25px;
    padding: 18px 12px;
  }
  .program-time {
    padding-right: 5px;
    font-size: 11px;
  }
  .program-time time {
    font-size: 18px;
  }
  .program-card {
    padding: 15px 13px 16px;
  }
  .program-card h3,
  .program-card-compact h3 {
    font-size: 17px;
  }
  .program-date-mark {
    gap: 9px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .program-date-orbit::before,
  .program-date-orbit::after,
  .program-shell::before,
  .program-shell-line span,
  .program-item.revealed .program-card {
    animation: none !important;
  }
  .program-card::after {
    display: none;
  }
}
