/* ==========================================================================
   Pre-Conference Webinar (#3144) — webinar.php and the home-page highlight.
   Built on style.css tokens (brand red, Poppins + Inter, light and dark).
   The hero is the webinar's title card: topic on the left, the speaker on a
   red stage disc on the right, and a broadcast slate below it counting down
   and showing the start in the visitor's own time zone.
   ========================================================================== */

/* ---------- hero ---------- */
.wb-hero {
  position: relative; isolation: isolate; overflow: hidden; color: #fff;
  padding: calc(var(--header-h) + 48px) 0 0;
  background:
    radial-gradient(900px 520px at 85% 30%, rgba(223, 37, 49, .32), transparent 65%),
    linear-gradient(180deg, #120709 0%, #0b0b0e 70%);
}
.wb-hero::before { /* faint scan lines: the broadcast look, kept quiet */
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: repeating-linear-gradient(180deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 4px);
  -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000 85%); mask-image: linear-gradient(90deg, transparent 30%, #000 85%);
}
.wb-hero__glow {
  position: absolute; z-index: -1; left: -160px; bottom: -220px; width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(223, 37, 49, .22), transparent); pointer-events: none;
}
.wb-hero__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 48px; align-items: end; }
.wb-hero__text { padding-bottom: 56px; }

.wb-crumbs ol { list-style: none; margin: 0 0 22px; padding: 0; display: flex; gap: 8px; font-size: .8rem; color: rgba(255, 255, 255, .55); }
.wb-crumbs a { color: rgba(255, 255, 255, .8); }
.wb-crumbs a:hover { color: #fff; }
.wb-crumbs li[aria-current] { color: #fff; font-weight: 600; }

.wb-tag {
  display: inline-flex; align-items: center; gap: 10px; margin: 0;
  padding: 7px 16px 7px 12px; border-radius: 999px;
  background: rgba(223, 37, 49, .16); border: 1px solid rgba(255, 107, 116, .38);
  color: #ffc2c6; font-size: .86rem; font-weight: 600;
}
.wb-tag__sep { opacity: .45; }
.wb-tag__dot { width: 8px; height: 8px; border-radius: 50%; background: #ff5a63; animation: wb-pulse 2.2s infinite; }
.wb-tag--light { background: var(--brand-soft); border-color: var(--brand-tint); color: var(--brand-ink); }
.wb-tag--light .wb-tag__dot { background: var(--brand); }
@keyframes wb-pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 90, 99, .7); } 70% { box-shadow: 0 0 0 10px rgba(255, 90, 99, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 90, 99, 0); } }

.wb-hero__title {
  margin: 20px 0 0; font-family: var(--font-head); font-weight: 800; color: #fff;
  font-size: clamp(2rem, 4.6vw, 3.6rem); line-height: 1.06; letter-spacing: -.035em; text-wrap: balance;
}
.wb-hero__title span {
  display: block; margin-top: 12px; font-weight: 600; letter-spacing: -.02em;
  font-size: clamp(1.15rem, 2.1vw, 1.6rem); line-height: 1.3; color: #ff8a90;
}
.wb-when { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; color: rgba(255, 255, 255, .86); font-size: .98rem; }
.wb-when li { display: flex; align-items: center; gap: 9px; }
.wb-when i { color: #ff5a63; }
.wb-hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

/* the speaker on a red stage disc, the name plate in front of her */
.wb-speaker-card { position: relative; margin: 0; align-self: end; }
.wb-speaker-card__stage { position: relative; display: flex; justify-content: center; }
.wb-speaker-card__stage::before {
  content: ''; position: absolute; left: 50%; bottom: 0; width: min(88%, 400px); aspect-ratio: 1; transform: translateX(-50%);
  border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ff5a63, var(--brand) 45%, var(--brand-deep) 100%);
  box-shadow: 0 0 0 14px rgba(223, 37, 49, .12), 0 0 0 30px rgba(223, 37, 49, .06);
}
.wb-speaker-card__stage img { position: relative; width: min(82%, 360px); height: auto; display: block; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .45)); }
.wb-speaker-card figcaption {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); width: max-content; max-width: 92%;
  padding: 12px 20px; border-radius: 14px; text-align: center;
  background: rgba(255, 255, 255, .96); color: #14141a; box-shadow: 0 18px 40px rgba(0, 0, 0, .35);
}
.wb-speaker-card figcaption strong { display: block; font-family: var(--font-head); font-size: 1rem; line-height: 1.3; }
.wb-speaker-card figcaption span { display: block; font-size: .82rem; color: #5d5d68; }
.wb-speaker-card .wb-speaker-card__label { color: var(--brand); font-weight: 600; font-size: .75rem; margin-bottom: 2px; }

/* ---------- broadcast slate: countdown + time zones ---------- */
.wb-clock {
  position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 24px 48px;
  padding: 24px 28px; border-radius: 20px 20px 0 0;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-bottom: 0;
  backdrop-filter: blur(8px);
}
.wb-clock__label { margin: 0 0 8px; font-size: .82rem; color: rgba(255, 255, 255, .6); }
.wb-clock__units { display: flex; gap: 10px; }
.wb-clock__units span { display: flex; flex-direction: column; align-items: center; min-width: 74px; padding: 10px 8px; border-radius: 12px; background: rgba(0, 0, 0, .35); font-size: .72rem; color: rgba(255, 255, 255, .6); }
.wb-clock__units b { font-family: var(--font-head); font-size: 2rem; line-height: 1.05; font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; }
.wb-clock__state { grid-column: 1; margin: 0; font-family: var(--font-head); font-weight: 600; font-size: 1.1rem; color: #fff; }
.wb-clock__zones { display: flex; flex-wrap: wrap; gap: 14px 40px; justify-content: flex-end; }
.wb-clock__zones p { margin: 0; display: flex; flex-direction: column; }
.wb-clock__zones span { font-size: .8rem; color: rgba(255, 255, 255, .58); }
.wb-clock__zones strong { font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; color: #fff; }

/* ---------- shared headings ---------- */
.wb-h2 { margin: 0; font-family: var(--font-head); font-weight: 700; font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.2; letter-spacing: -.025em; color: var(--ink-2); text-wrap: balance; }

/* ---------- about ---------- */
.wb-about__grid { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 48px; }
.wb-about__question { margin: 0 0 22px; font-family: var(--font-head); font-weight: 600; font-size: clamp(1.25rem, 2.2vw, 1.6rem); line-height: 1.4; letter-spacing: -.015em; color: var(--ink-2); max-width: 36ch; }
.wb-about__text { color: var(--muted); font-size: 1.02rem; line-height: 1.8; max-width: 66ch; }

/* ---------- agenda ---------- */
.wb-agenda__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
.wb-agenda__intro p { margin: 14px 0 26px; color: var(--muted); max-width: 40ch; }
.wb-points { list-style: none; margin: 0; padding: 0; counter-reset: none; border-top: 1px solid var(--line); }
.wb-points li { display: grid; grid-template-columns: 64px minmax(0, 1fr); align-items: center; gap: 16px; padding: 20px 4px; border-bottom: 1px solid var(--line); font-family: var(--font-head); font-weight: 600; font-size: 1.08rem; line-height: 1.4; color: var(--ink-2); }
.wb-points__n { font-size: 1.7rem; font-weight: 800; color: var(--brand-ink); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }

/* ---------- speaker ---------- */
.wb-bio__grid { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: 56px; align-items: center; }
.wb-bio__photo { position: relative; display: flex; justify-content: center; padding-top: 24px; border-radius: var(--radius-xl); overflow: hidden; background: radial-gradient(circle at 50% 75%, var(--brand-tint), var(--brand-soft) 60%, var(--surface-3)); border: 1px solid var(--line); }
.wb-bio__photo img { width: min(86%, 360px); height: auto; display: block; }
.wb-bio__kicker { margin: 0 0 8px; font-weight: 600; font-size: .9rem; color: var(--brand-ink); }
.wb-bio__role { margin: 10px 0 20px; font-weight: 600; color: var(--ink-3); line-height: 1.55; }
.wb-bio__text { color: var(--muted); line-height: 1.8; max-width: 66ch; }

/* ---------- registration ---------- */
.wb-register__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; align-items: start; }
.wb-register__intro .wb-h2 { margin-top: 18px; }
.wb-register__intro > p { margin: 14px 0 0; color: var(--muted); max-width: 44ch; }
.wb-facts { margin: 30px 0 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.wb-facts > div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.wb-facts dt { font-size: .85rem; font-weight: 500; color: var(--muted-2); }
.wb-facts dd { margin: 0; font-weight: 600; color: var(--ink-2); line-height: 1.5; }

/* ---------- home-page highlight (index.php) ---------- */
.wb-home { padding: 34px 0; background: var(--bg); }
.wb-home__card {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; align-items: center; gap: 28px;
  padding: 22px 30px 0 26px; border-radius: var(--radius-xl); color: #fff;
  background: radial-gradient(520px 260px at 0% 100%, rgba(223, 37, 49, .5), transparent 70%), linear-gradient(110deg, #1a0a0c, #0b0b0e 60%);
  box-shadow: var(--shadow-lg);
}
.wb-home__photo { align-self: end; position: relative; display: flex; justify-content: center; }
.wb-home__photo::before { content: ''; position: absolute; bottom: 0; left: 50%; width: 136px; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ff5a63, var(--brand) 45%, var(--brand-deep)); }
.wb-home__photo img { position: relative; width: 132px; height: auto; display: block; }
.wb-home__body { padding-bottom: 22px; }
.wb-home__body .wb-tag { font-size: .78rem; padding: 5px 12px 5px 10px; }
.wb-home__title { margin: 10px 0 6px; font-family: var(--font-head); font-weight: 700; font-size: clamp(1.1rem, 2vw, 1.45rem); line-height: 1.3; letter-spacing: -.015em; color: #fff; }
.wb-home__meta { margin: 0; display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: .9rem; color: rgba(255, 255, 255, .78); }
.wb-home__meta i { color: #ff5a63; margin-right: 6px; }
.wb-home__ctas { display: flex; flex-wrap: wrap; gap: 10px; padding-bottom: 22px; }

/* ---------- motion: one entrance on the hero, nothing else moves on its own ---------- */
@keyframes wb-up { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes wb-rise { from { opacity: 0; transform: translateY(40px) scale(.96); } to { opacity: 1; transform: none; } }
.wb-hero__text > * { animation: wb-up .7s var(--ease) backwards; }
.wb-hero__text > :nth-child(2) { animation-delay: .08s; }
.wb-hero__text > :nth-child(3) { animation-delay: .16s; }
.wb-hero__text > :nth-child(4) { animation-delay: .24s; }
.wb-hero__text > :nth-child(5) { animation-delay: .32s; }
.wb-speaker-card { animation: wb-rise .9s .2s var(--ease) backwards; }
.wb-clock { animation: wb-up .7s .45s var(--ease) backwards; }

@media (prefers-reduced-motion: reduce) {
  .wb-hero__text > *, .wb-speaker-card, .wb-clock, .wb-tag__dot { animation: none !important; }
}

/* ---------- responsive ---------- */
@media (max-width: 991.98px) {
  .wb-hero__grid { grid-template-columns: 1fr; gap: 8px; }
  .wb-hero__text { padding-bottom: 24px; }
  .wb-speaker-card { max-width: 420px; margin: 0 auto; }
  .wb-clock { grid-template-columns: 1fr; }
  .wb-clock__zones { justify-content: flex-start; }
  .wb-about__grid, .wb-agenda__grid, .wb-bio__grid, .wb-register__grid { grid-template-columns: 1fr; gap: 28px; }
  .wb-bio__photo { max-width: 420px; }
  .wb-home__card { grid-template-columns: 120px minmax(0, 1fr); }
  .wb-home__photo img { width: 110px; } .wb-home__photo::before { width: 112px; }
  .wb-home__ctas { grid-column: 1 / -1; padding: 0 0 22px; }
}
@media (max-width: 575.98px) {
  .wb-hero { padding-top: calc(var(--header-h) + 28px); }
  .wb-hero__ctas .btn { width: 100%; }
  .wb-clock { padding: 18px 16px; border-radius: 16px 16px 0 0; }
  .wb-clock__units { gap: 6px; }
  .wb-clock__units span { min-width: 0; flex: 1 1 0; }
  .wb-clock__units b { font-size: 1.55rem; }
  .wb-points li { grid-template-columns: 46px minmax(0, 1fr); font-size: 1rem; }
  .wb-points__n { font-size: 1.35rem; }
  .wb-facts > div { grid-template-columns: 1fr; gap: 2px; }
  .wb-home__card { grid-template-columns: 1fr; padding: 22px 20px 0; gap: 0; }
  .wb-home__photo { display: none; }
  .wb-home__ctas .btn { flex: 1 1 auto; }
}
