/* เส้นทางสู่รอบตัดสิน — ใช้ร่วม index.html, rules.html */
.program-section {
  width: 100%;
  margin: 0;
  position: relative;
  overflow: hidden;
  background-color: #030208;
  background-image: var(--bg-poster, none);
  background-size: cover;
  background-position: center;
  padding: 56px 24px 64px;
}
.program-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  z-index: 0;
}
.program-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 55% at 50% 35%, rgba(30, 15, 60, .35) 0%, transparent 65%),
    linear-gradient(180deg, rgba(3, 2, 8, .45) 0%, rgba(3, 2, 8, .25) 50%, rgba(3, 2, 8, .55) 100%);
}
.program-inner {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
}
.program-header {
  text-align: center;
  margin-bottom: 32px;
}
.program-eyebrow {
  font-family: 'Prompt', sans-serif;
  font-weight: 600;
  font-size: clamp(22px, 4vw, 34px);
  color: rgba(255, 255, 255, .92);
  margin-bottom: 10px;
  letter-spacing: .02em;
}
.program-headline {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: clamp(15px, 2.5vw, 21px);
  line-height: 1.4;
  color: #D4A040;
  margin-bottom: 6px;
}
.program-headline em {
  font-family: Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-weight: 500;
}
.program-brand {
  font-family: 'Cinzel', serif;
  font-size: clamp(13px, 2vw, 16px);
  font-weight: 600;
  letter-spacing: .12em;
  color: rgba(255, 248, 230, .8);
  margin-bottom: 4px;
}
.program-tagline {
  font-family: 'Prompt', sans-serif;
  font-weight: 300;
  font-size: clamp(13px, 1.8vw, 15px);
  color: rgba(212, 160, 64, .78);
  margin-bottom: 10px;
}
.program-dates {
  font-family: 'Prompt', sans-serif;
  font-weight: 500;
  font-size: clamp(15px, 2.2vw, 18px);
  color: rgba(255, 255, 255, .82);
  margin-bottom: 8px;
}
.program-notice {
  font-family: 'Prompt', sans-serif;
  font-weight: 300;
  font-size: 12px;
  color: rgba(255, 255, 255, .35);
  line-height: 1.6;
  max-width: 420px;
  margin: 0 auto;
}

.prog-tl {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 0 8px;
}
.prog-tl::before {
  content: '';
  position: absolute;
  top: 10px;
  bottom: 48px;
  left: 180px;
  transform: translateX(-50%);
  width: 1px;
  background: linear-gradient(
    180deg,
    rgba(212, 160, 64, 0) 0%,
    rgba(212, 160, 64, .65) 6%,
    rgba(212, 160, 64, .65) 92%,
    rgba(212, 160, 64, 0) 100%
  );
}
.prog-tl-item {
  display: grid;
  grid-template-columns: 160px 40px 1fr;
  align-items: start;
  margin-bottom: 0;
}
.prog-tl-date {
  text-align: right;
  padding: 18px 24px 18px 0;
}
.prog-tl-day {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: clamp(30px, 5vw, 48px);
  color: #FFFFFF;
  line-height: 1;
  letter-spacing: -.01em;
}
.prog-tl-day.rng {
  font-size: clamp(22px, 3.5vw, 32px);
}
.prog-tl-month {
  font-family: 'Prompt', sans-serif;
  font-weight: 400;
  font-size: 13px;
  color: rgba(212, 160, 64, .85);
  letter-spacing: .04em;
  margin-top: 4px;
  line-height: 1.5;
}
.prog-tl-mid {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 22px;
  position: relative;
  z-index: 1;
}
.prog-tl-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #030208;
  border: 2px solid rgba(212, 160, 64, .7);
  box-shadow: 0 0 0 3px rgba(212, 160, 64, .12), 0 0 10px rgba(212, 160, 64, .25);
  flex-shrink: 0;
}
.prog-tl-item.glow .prog-tl-dot {
  background: #D4A040;
  border-color: #F0D080;
  box-shadow: 0 0 0 4px rgba(212, 160, 64, .18), 0 0 16px rgba(212, 160, 64, .55);
}
.prog-tl-body {
  padding: 14px 0 14px 22px;
  border-bottom: 1px solid rgba(212, 160, 64, .08);
}
.prog-tl-item:last-child .prog-tl-body {
  border-bottom: none;
}
.prog-tl-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(212, 160, 64, .75);
  margin-bottom: 6px;
}
.prog-tl-title {
  font-family: 'Prompt', sans-serif;
  font-weight: 600;
  font-size: clamp(15px, 2.2vw, 18px);
  color: #FFFFFF;
  line-height: 1.45;
  margin-bottom: 7px;
}
.prog-tl-item.glow .prog-tl-title {
  color: #F0D080;
}
.prog-tl-desc {
  font-family: 'Prompt', sans-serif;
  font-weight: 300;
  font-size: 13.5px;
  color: rgba(255, 255, 255, .55);
  line-height: 1.75;
}
.prog-tl-desc ul {
  padding-left: 16px;
  margin-top: 6px;
}
.prog-tl-desc li {
  margin-bottom: 3px;
}
.prog-tl-desc strong {
  color: rgba(212, 160, 64, .9);
  font-weight: 500;
}
.prog-tl-item.glow .prog-tl-body {
  background: linear-gradient(135deg, rgba(180, 120, 10, .18) 0%, rgba(80, 50, 0, .22) 100%);
  border: 1px solid rgba(212, 160, 64, .28);
  border-radius: 12px;
  padding: 18px 24px;
  margin-left: 0;
}
.prog-tl-end {
  text-align: center;
  padding-top: 16px;
  position: relative;
  z-index: 1;
}
.prog-tl-end i {
  font-size: 13px;
  color: #D4A040;
  filter: drop-shadow(0 0 8px rgba(212, 160, 64, .7));
}
.program-footer {
  text-align: center;
  margin-top: 32px;
  padding-top: 22px;
  border-top: 1px solid rgba(212, 160, 64, .12);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px 20px;
}
.program-footer a,
.program-footer span {
  font-size: 11px;
  color: rgba(255, 255, 255, .38);
  text-decoration: none;
}
.program-footer a:hover {
  color: rgba(212, 160, 64, .75);
}
.prog-hashtag {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 12px;
  color: #D4A040 !important;
  letter-spacing: .08em;
}

@media (max-width: 600px) {
  .program-section {
    padding: 36px 14px 44px;
  }
  .prog-tl::before {
    left: 88px;
    transform: none;
  }
  .prog-tl-item {
    grid-template-columns: 72px 32px 1fr;
  }
  .prog-tl-date {
    padding: 14px 10px 14px 0;
  }
  .prog-tl-day {
    font-size: 22px;
  }
  .prog-tl-day.rng {
    font-size: 16px;
  }
  .prog-tl-month {
    font-size: 11px;
  }
  .prog-tl-mid {
    padding-top: 18px;
  }
  .prog-tl-body {
    padding: 10px 0 10px 14px;
  }
  .prog-tl-item.glow .prog-tl-body {
    margin-left: 0;
    padding: 12px 14px;
  }
}
