/*
 * Public webinar pages (/webinar, /webinar/<slug>, /webinar/t/<token>) on the /radar look: report-web.css gives the
 * paper page and the ink cover (.rw-hero); this adds the event facts, the countdown, cards and the registration box.
 */

/* Elements webinar.js shows later (live badge, "sudah terdaftar", the repeat notice) keep their display rules below. */
.rw [hidden] { display: none !important; }

.wb-hero h1 { margin: 0 0 12px; font-size: clamp(30px, 4.6vw, 56px); font-weight: 600; line-height: 1.04; letter-spacing: -0.035em; color: #f6f2ea; max-width: 18ch; text-wrap: balance; }
.wb-hero h1 a { color: inherit; text-decoration: none; }
.wb-hero h1 a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.wb-hero .lede { max-width: 60ch; color: rgba(246, 242, 234, 0.75); margin: 0; font-size: clamp(16px, 1.6vw, 19px); }
.wb-hero { padding-right: clamp(0px, 14vw, 180px); }
.wb-facts { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 22px 0 0; padding: 16px 0 0; border-top: 1px solid rgba(246, 242, 234, 0.14); list-style: none; color: rgba(246, 242, 234, 0.72); font-size: 15px; }
.wb-facts li { display: flex; flex-direction: column; gap: 2px; }
.wb-facts span { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(246, 242, 234, 0.55); }
.wb-facts b { color: #f6f2ea; font-weight: 600; font-variant-numeric: tabular-nums; }
.wb-facts .free { color: #8fd6a8; }
.wb-cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 24px; }
.wb-cta-row .btn-cta { background: var(--red); color: var(--on-red); }
.wb-cta-row .btn-cta:hover { background: var(--red-hover); }
.wb-cta-row .wb-seats { color: rgba(246, 242, 234, 0.75); font-size: 14px; }
.wb-cta-row .wb-seats b { color: #f6f2ea; }

.wb-count { display: flex; gap: 8px; margin: 24px 0 0; padding: 0; list-style: none; }
.wb-count li { min-width: 64px; padding: 10px 8px 8px; border: 1px solid rgba(246, 242, 234, 0.16); border-radius: 14px; text-align: center; background: rgba(246, 242, 234, 0.04); }
.wb-count b { display: block; font-size: clamp(24px, 3vw, 34px); font-weight: 600; color: #f6f2ea; font-variant-numeric: tabular-nums; line-height: 1.1; }
.wb-count span { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(246, 242, 234, 0.6); }
.wb-live { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; padding: 6px 12px; border-radius: 999px; background: rgba(224, 113, 107, 0.16); color: #f6c7c3; font-size: 14px; font-weight: 500; }
.wb-live::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #e0716b; }

.wb-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(18px, 3vw, 32px); margin-top: clamp(22px, 3vw, 36px); align-items: start; }
.wb-card { background: var(--panel); border: 1px solid var(--line); border-radius: 22px; padding: clamp(18px, 2.4vw, 28px); }
.wb-card + .wb-card { margin-top: 18px; }
.wb-card h2 { margin: 0 0 12px; font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
.wb-card p { margin: 0 0 12px; color: var(--text); line-height: 1.6; text-wrap: pretty; }
.wb-card p:last-child { margin-bottom: 0; }
.wb-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.wb-list li { position: relative; padding-left: 26px; line-height: 1.5; }
.wb-list li::before { content: ''; position: absolute; left: 4px; top: 0.55em; width: 10px; height: 10px; border-radius: 3px; background: var(--red); transform: rotate(45deg) scale(0.8); }
.wb-agenda { counter-reset: wb; }
.wb-agenda li::before { counter-increment: wb; content: counter(wb, decimal-leading-zero); transform: none; width: auto; height: auto; background: none; top: 0.1em; left: 0; font-size: 13px; font-weight: 600; color: var(--red); font-variant-numeric: tabular-nums; }
.wb-agenda li { padding-left: 34px; }

.wb-speakers { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.wb-speakers li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 14px; align-items: center; }
.wb-speakers img, .wb-speakers .wb-ava { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; background: var(--panel-2); border: 1px solid var(--line); }
.wb-speakers .wb-ava { display: grid; place-items: center; font-weight: 600; font-size: 20px; color: var(--red); }
.wb-speakers b { display: block; font-weight: 600; }
.wb-speakers span { color: var(--muted); font-size: 14px; }

.wb-reg { position: sticky; top: 16px; }
.wb-reg h2 { margin-bottom: 4px; }
.wb-reg .wb-price { margin: 0 0 16px; color: var(--muted); }
.wb-reg .wb-price b { color: var(--text); font-size: 22px; font-weight: 600; font-variant-numeric: tabular-nums; }
.wb-reg .pilot-form { display: grid; gap: 12px; }
.wb-reg .btn-cta { width: 100%; justify-content: center; }
.wb-closed { margin: 0; padding: 14px 16px; border-radius: 14px; background: var(--panel-2); color: var(--muted); }
.wb-done { display: grid; gap: 10px; }
.wb-done h3 { margin: 0; font-size: 18px; }
.wb-done .btn { justify-content: center; }
.wb-mine { margin: 0 0 14px; padding: 12px 14px; border-radius: 14px; background: rgba(26, 127, 75, 0.08); border: 1px solid rgba(26, 127, 75, 0.2); font-size: 15px; }
.wb-mine a { font-weight: 600; }

.wb-share { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.wb-share .btn { font-size: 14px; padding: 8px 14px; }
.btn-ghost { background: transparent; border: 1px solid var(--line-2); color: var(--text); }
.btn-ghost:hover { border-color: var(--text); }

.wb-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.wb-item { display: flex; flex-direction: column; gap: 8px; background: var(--panel); border: 1px solid var(--line); border-radius: 22px; padding: 18px 20px; color: inherit; text-decoration: none; transition: border-color 0.15s, transform 0.15s; }
.wb-item:hover { border-color: var(--line-2); transform: translateY(-1px); }
.wb-item .wb-when { font-size: 13px; color: var(--red); font-weight: 600; letter-spacing: 0.02em; }
.wb-item h3 { margin: 0; font-size: 18px; font-weight: 600; line-height: 1.25; }
.wb-item p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.5; }
.wb-item .wb-tags { margin-top: auto; display: flex; flex-wrap: wrap; gap: 6px; padding-top: 6px; font-size: 13px; }
.wb-tag { padding: 3px 10px; border-radius: 999px; background: var(--chip); border: 1px solid var(--line); color: var(--muted); }
.wb-tag.rec { color: var(--ok); border-color: rgba(26, 127, 75, 0.25); }
.wb-empty { margin: 8px 0 0; color: var(--muted); font-size: 17px; }

.wb-ticket { display: grid; gap: 4px; margin-top: 18px; padding: 16px 18px; border: 1px dashed rgba(246, 242, 234, 0.3); border-radius: 18px; max-width: 420px; }
.wb-ticket span { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(246, 242, 234, 0.6); }
.wb-ticket b { font-family: var(--mono); font-size: 26px; letter-spacing: 0.12em; color: #f6f2ea; }
.wb-steps { display: grid; gap: 10px; }
.wb-steps .btn { justify-content: center; }
.wb-note { font-size: 14px; color: var(--muted); }
.wb-warn { padding: 12px 14px; border-radius: 14px; background: rgba(163, 101, 0, 0.1); border: 1px solid rgba(163, 101, 0, 0.25); color: var(--text); }

.wb-foot { margin: 36px 0 0; font-size: 13px; color: var(--muted); max-width: 90ch; line-height: 1.6; }

@media (max-width: 860px) {
  .wb-grid { grid-template-columns: minmax(0, 1fr); }
  /* The form right under the cover on a phone, before the long read. */
  .wb-reg { position: static; order: -1; }
  .rw-hero .rw-mascot { display: none; }
  .wb-hero { padding-right: 0; }
  .wb-count li { min-width: 0; flex: 1; }
}

@media (max-width: 520px) {
  .wb-facts { gap: 12px 18px; }
  .wb-facts li { flex-basis: calc(50% - 9px); }
  .wb-cta-row .btn { width: 100%; justify-content: center; }
}
