/* ============================================================
   EVENT DETAIL + REGISTRATION
   Uses the working palette tokens (which can be themed per-event
   by the event-loader via data-event-theme + inline overrides).
   ============================================================ */

.event-nav { background: #fff; }
.event-nav .bar { padding: 18px 0; }
.event-nav .right { display: flex; align-items: center; gap: 14px; }
.event-nav .ts-event-brand img { max-height: 32px; }

/* =========================================================
   DETAIL LAYOUT
   ========================================================= */
.detail-shell { display: grid; grid-template-columns: 1fr 380px; gap: 56px; align-items: start; padding: 24px 0 96px; }
@media (max-width: 980px) {
  .detail-shell { grid-template-columns: 1fr; gap: 32px; }
}

.detail-shell h1 { font-family: var(--ts-display); font-size: clamp(36px, 4.4vw, 60px); font-weight: 800; line-height: 1.04; letter-spacing: -0.03em; color: var(--ts-ink); margin: 16px 0 16px; text-wrap: balance; }
.detail-shell h1 em { font-family: var(--ts-script); color: var(--ts-primary); font-style: italic; font-weight: 700; }
.detail-shell .tagline { font-size: 18px; color: var(--ts-text-muted); line-height: 1.55; margin: 0 0 24px; max-width: 720px; }
.detail-shell .summary { font-size: 16px; color: var(--ts-text); line-height: 1.7; margin: 0 0 32px; max-width: 720px; }

.detail-shell h3 { font-family: var(--ts-display); font-size: 22px; font-weight: 700; margin: 32px 0 14px; color: var(--ts-ink); }

/* =========================================================
   STREAM / HERO VIDEO BLOCK
   ========================================================= */
.stream-frame {
  background: var(--ts-ink); border-radius: 14px; aspect-ratio: 16/9;
  position: relative; overflow: hidden; margin-bottom: 24px;
  display: flex; align-items: center; justify-content: center;
}
.stream-frame::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 50% 50%, rgba(255,255,255,0.04) 0, transparent 60%),
    linear-gradient(180deg, color-mix(in srgb, var(--ts-primary) 30%, transparent) 0%, transparent 60%);
}
.stream-frame .play { position: relative; z-index: 1; width: 72px; height: 72px; border-radius: 999px; background: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 30px rgba(0,0,0,0.3); }
.stream-frame .play::after { content: ''; border-left: 22px solid var(--ts-primary); border-top: 14px solid transparent; border-bottom: 14px solid transparent; margin-left: 5px; }
.stream-frame .pre-title { position: absolute; top: 24px; left: 24px; right: 24px; z-index: 1; color: #fff; }
.stream-frame .pre-title .label { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.7); font-weight: 700; margin-bottom: 6px; }
.stream-frame .pre-title .ttl { font-family: var(--ts-display); font-size: 22px; font-weight: 700; }

/* =========================================================
   AGENDA + LEARN LIST
   ========================================================= */
.agenda { display: flex; flex-direction: column; gap: 0; margin-bottom: 32px; }
.agenda .item { display: grid; grid-template-columns: 90px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px dashed var(--ts-line); }
.agenda .item:last-child { border-bottom: none; }
.agenda .item .t { font-family: var(--ts-mono); font-size: 12px; color: var(--ts-text-muted); padding-top: 2px; }
.agenda .item .b { font-size: 15px; color: var(--ts-ink); line-height: 1.45; font-weight: 600; }
.agenda .item .b small { display: block; color: var(--ts-text-muted); margin-top: 2px; font-size: 13px; font-weight: 400; }

.learn-list { list-style: none; padding: 0; margin: 0 0 32px; display: flex; flex-direction: column; gap: 12px; }
.learn-list li { display: flex; gap: 12px; align-items: start; font-size: 15px; }
.learn-list .tick { display: inline-flex; width: 22px; height: 22px; border-radius: 999px; background: var(--ts-primary-soft); color: var(--ts-primary-strong); flex-shrink: 0; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; margin-top: 1px; }

/* =========================================================
   SPEAKERS
   ========================================================= */
.speakers { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-bottom: 24px; }
@media (max-width: 720px) { .speakers { grid-template-columns: 1fr; } }
.speaker-card { background: var(--ts-paper-2); border-radius: 14px; padding: 18px; display: flex; gap: 14px; align-items: start; }
.speaker-card .ava-l { width: 52px; height: 52px; border-radius: 999px; background: #fff; border: 1px solid var(--ts-line); display: flex; align-items: center; justify-content: center; font-family: var(--ts-display); font-weight: 700; color: var(--ts-text); flex-shrink: 0; }
.speaker-card h5 { font-family: var(--ts-display); font-size: 16px; font-weight: 700; color: var(--ts-ink); margin: 0 0 4px; }
.speaker-card .role { font-size: 13px; color: var(--ts-text-muted); margin: 0 0 6px; }
.speaker-card .bio { font-size: 13.5px; color: var(--ts-text-muted); line-height: 1.5; margin: 0; }

/* =========================================================
   SIDEBAR — REGISTER CARD
   ========================================================= */
.detail-side { position: sticky; top: 88px; display: flex; flex-direction: column; gap: 16px; }
@media (max-width: 980px) { .detail-side { position: static; } }

.register-card { background: #fff; border: 1px solid var(--ts-line); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 1px 0 rgba(10,22,40,0.04), 0 4px 14px rgba(10,22,40,0.05); }
.register-card .when-big { display: flex; flex-direction: column; gap: 4px; padding-bottom: 14px; border-bottom: 1px dashed var(--ts-line); }
.register-card .when-big .d { font-family: var(--ts-display); font-size: 26px; font-weight: 800; color: var(--ts-ink); letter-spacing: -0.02em; line-height: 1.1; }
.register-card .when-big .t { font-size: 14px; color: var(--ts-text-muted); }
.register-card .row-info { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--ts-text-muted); padding: 4px 0; }
.register-card .row-info b { color: var(--ts-ink); font-weight: 600; }
.register-card .price { font-family: var(--ts-display); font-size: 18px; font-weight: 700; color: var(--ts-primary-strong); }
.register-card .btn-primary { justify-content: center; padding: 14px; font-size: 15px; }
.register-card .small { font-size: 12px; color: var(--ts-text-subtle); text-align: center; margin: 0; }

.share-card { background: var(--ts-paper-2); border-radius: 14px; padding: 18px 22px; display: flex; flex-direction: column; gap: 10px; }
.share-card .label { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ts-text-subtle); font-weight: 700; }
.share-card .row { display: flex; gap: 8px; }

/* =========================================================
   REGISTRATION FORM PAGE
   ========================================================= */
.register-shell { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; padding: 32px 0 96px; align-items: start; }
@media (max-width: 920px) { .register-shell { grid-template-columns: 1fr; } }

.register-summary { background: var(--ts-paper-2); border-radius: 16px; padding: 28px; position: sticky; top: 88px; }
@media (max-width: 920px) { .register-summary { position: static; } }
.register-summary h3 { font-family: var(--ts-display); font-size: 18px; font-weight: 700; margin: 0 0 10px; color: var(--ts-ink); }
.register-summary .meta { font-size: 14px; color: var(--ts-text-muted); margin: 0 0 16px; line-height: 1.55; }
.register-summary .what-we-do { font-size: 13px; color: var(--ts-text-muted); padding-top: 16px; border-top: 1px dashed var(--ts-line); line-height: 1.55; }

.register-form { background: #fff; border: 1px solid var(--ts-line); border-radius: 16px; padding: 32px; }
.register-form h2 { font-family: var(--ts-display); font-size: 28px; font-weight: 800; letter-spacing: -0.02em; color: var(--ts-ink); margin: 0 0 6px; }
.register-form .lead { color: var(--ts-text-muted); font-size: 15px; margin: 0 0 20px; }
.register-form .submit-row { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.register-form .submit-row .btn-primary { justify-content: center; padding: 14px; font-size: 15px; }
.register-form .submit-row .small { font-size: 12px; color: var(--ts-text-subtle); text-align: center; margin: 0; }

/* Success state */
.register-done { background: #fff; border: 1px solid var(--ts-line); border-radius: 16px; padding: 48px 32px; text-align: center; max-width: 560px; margin: 0 auto; }
.register-done .checkmark { width: 64px; height: 64px; border-radius: 999px; background: #E6F4EC; color: #166B45; margin: 0 auto 16px; display: flex; align-items: center; justify-content: center; font-size: 32px; font-weight: 700; }
.register-done h2 { font-family: var(--ts-display); font-size: 28px; margin: 0 0 8px; }
.register-done p { color: var(--ts-text-muted); margin: 0 0 8px; }
