/* Webinars page (src/lib/events-page.ts), alongside /kinore-ui/podcast.css. */
.ke-hero, .ke-next, .ke-archive { font-family: 'Montserrat', Arial, sans-serif; color: #1E1919; }
.ke-hero *, .ke-next * { box-sizing: border-box; }

/* Header: charcoal panel with Sunrise half-circles, like the podcast page */
.ke-hero { position: relative; overflow: hidden; width: min(1248px, calc(100% - 40px)); margin: 0 auto; border-radius: 0 0 28px 28px; background: #1E1919; color: #fff; isolation: isolate; }
.ke-hero-c1, .ke-hero-c2, .ke-hero-c3 { position: absolute; z-index: -1; border-radius: 50%; background: #FABE19; }
.ke-hero-c1 { width: 300px; height: 300px; right: 30px; bottom: -150px; }
.ke-hero-c2 { width: 190px; height: 190px; right: 350px; bottom: -95px; }
.ke-hero-c3 { width: 100px; height: 100px; right: 560px; bottom: -50px; }
.ke-hero-inner { max-width: 680px; padding: clamp(48px, 6vw, 80px) clamp(24px, 4vw, 56px) clamp(64px, 8vw, 104px); }
.ke-hero h1 { margin: 0; font-family: inherit; font-size: clamp(38px, 5vw, 64px); line-height: 1.05; font-weight: 900; letter-spacing: -0.02em; color: #fff; text-transform: none; }
.ke-hero p { margin: 20px 0 0; font-family: inherit; font-size: clamp(16px, 1.4vw, 18px); line-height: 1.6; color: #EDE4FC; max-width: 54ch; }
.ke-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.ke-pill { display: inline-flex; align-items: center; height: 52px; padding: 0 24px; border-radius: 999px; font-size: 16px; font-weight: 600; white-space: nowrap; text-decoration: none !important; transition: background .15s ease, color .15s ease; }
.ke-pill-sun { background: #FABE19; color: #1E1919 !important; }
.ke-pill-sun:hover { background: #F0AE00; }
.ke-pill-ghost { border: 1px solid rgba(255,255,255,.45); color: #fff !important; }
.ke-pill-ghost:hover { background: #fff; color: #1E1919 !important; }
.ke-stats { display: flex; flex-wrap: wrap; gap: 20px clamp(28px, 4vw, 48px); margin: 40px 0 0; padding: 0; }
.ke-stats div { display: flex; flex-direction: column-reverse; gap: 2px; margin: 0; }
.ke-stats dd { margin: 0; font-size: clamp(28px, 2.6vw, 34px); line-height: 1.1; font-weight: 900; color: #fff; }
.ke-stats dd.ke-accent { color: #FABE19; }
.ke-stats dt { margin: 0; font-size: 15px; color: #C8D2DC; }
.ke-hero a:focus-visible { outline: 2px solid #FABE19; outline-offset: 3px; }

/* Next up: cream rounded panel with a dark feature card */
.ke-next { position: relative; overflow: hidden; width: min(1248px, calc(100% - 40px)); margin: 20px auto 0; padding: clamp(56px, 7vw, 96px) 0; border-radius: 24px; background: #FFF8E7; isolation: isolate; }
.ke-next::before { content: ""; position: absolute; z-index: -1; width: 240px; height: 240px; right: -90px; top: -110px; border-radius: 50%; background: #FABE19; }
.ke-feature { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); overflow: hidden; border-radius: 28px; background: #1E1919; color: #fff; box-shadow: 0 40px 80px -40px rgba(0,0,0,.6); }
.ke-feature-media { position: relative; display: block; min-height: 340px; background: #2a2424; }
.ke-feature-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ke-live { position: absolute; left: 20px; top: 20px; display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 14px; border-radius: 999px; background: rgba(30,25,25,.8); color: #fff; font-size: 13px; font-weight: 700; backdrop-filter: blur(6px); }
.ke-dot { width: 9px; height: 9px; border-radius: 50%; background: #FF4D4D; box-shadow: 0 0 0 0 rgba(255,77,77,.6); animation: ke-pulse 1.8s infinite; }
@keyframes ke-pulse { 70% { box-shadow: 0 0 0 9px rgba(255,77,77,0); } 100% { box-shadow: 0 0 0 0 rgba(255,77,77,0); } }
.ke-date { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; width: 70px; height: 76px; border-radius: 18px; background: #FABE19; color: #1E1919; line-height: 1; }
.ke-date strong { font-size: 28px; font-weight: 900; }
.ke-date span { margin-top: 4px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.ke-date-tbc strong { font-size: 18px; }
.ke-feature-media .ke-date { position: absolute; right: 20px; bottom: 20px; box-shadow: 0 10px 24px rgba(0,0,0,.35); }
.ke-feature-body { display: flex; flex-direction: column; gap: 16px; padding: clamp(28px, 3.4vw, 44px); }
.ke-feature-body h3 { margin: 0; font-family: inherit; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.18; font-weight: 900; letter-spacing: -0.02em; text-transform: none; }
.ke-feature-body h3 a { color: #fff !important; text-decoration: none !important; }
.ke-feature-body h3 a:hover { color: #FABE19 !important; }
.ke-feature-body > p { margin: 0; font-size: 16px; line-height: 1.65; color: #CFC8C8; }
.ke-facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.ke-facts li { margin: 0; padding: 7px 12px; border-radius: 10px; background: rgba(255,255,255,.08); color: #fff; font-size: 14px; font-weight: 600; list-style: none; }
.ke-feature .kpe-tags li { background: rgba(255,255,255,.1); color: #fff; }
.ke-feature-ctas { margin-top: auto; padding-top: 6px; }
.ke-btn-sun { background: #FABE19; color: #1E1919 !important; border: 2px solid #FABE19; }
.ke-btn-sun:hover { background: #F0AE00; border-color: #F0AE00; }
.ke-more-title { margin: 44px 0 16px; font-size: 20px; font-weight: 900; text-transform: none; }
.ke-rows { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.ke-rows li { margin: 0; list-style: none; }
.ke-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 20px; padding: 14px 20px 14px 14px; border-radius: 22px; background: #fff; border: 1px solid #F1E6C8; color: #1E1919 !important; text-decoration: none !important; transition: transform .2s ease, box-shadow .2s ease; }
.ke-row:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -24px rgba(30,25,25,.4); }
.ke-row .ke-date { width: 62px; height: 66px; border-radius: 16px; }
.ke-row .ke-date strong { font-size: 24px; }
.ke-row-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ke-row-text strong { font-size: 17px; line-height: 1.3; font-weight: 800; }
.ke-row-text span { font-size: 14px; color: #5B5555; }
.ke-row-go { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 999px; background: #1E1919; color: #fff; font-size: 14px; font-weight: 700; white-space: nowrap; }
.ke-row-go svg { width: 16px; height: 16px; }
.ke-row:hover .ke-row-go { background: #FABE19; color: #1E1919; }

/* Recordings: reuses the podcast archive; cards without artwork get a branded tile */
.ke-archive .kpe-card-media { background: linear-gradient(135deg, #640AE1, #3a0682); }
.ke-card-fallback { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 18px 18px 44px; color: #fff; font-size: 17px; line-height: 1.25; font-weight: 900; letter-spacing: -0.01em; }
.ke-card-fallback::before { content: ""; position: absolute; width: 140px; height: 140px; right: -40px; top: -40px; border-radius: 50%; background: #FABE19; }
.ke-archive .kpe-card-media img { object-fit: cover; }

@media (max-width: 1024px) {
  .ke-feature { grid-template-columns: minmax(0, 1fr); }
  .ke-feature-media { min-height: 0; aspect-ratio: 16 / 9; }
  .ke-hero-c3 { display: none; }
}
@media (max-width: 680px) {
  .ke-hero, .ke-next { width: calc(100% - 24px); }
  .ke-hero-c1 { width: 200px; height: 200px; right: -40px; bottom: -110px; }
  .ke-hero-c2 { width: 110px; height: 110px; right: 150px; bottom: -60px; }
  .ke-next::before { width: 120px; height: 120px; right: -50px; top: -55px; }
  .ke-row { grid-template-columns: auto minmax(0, 1fr); padding-right: 14px; }
  .ke-row-go { grid-column: 1 / -1; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .ke-dot { animation: none; } .ke-row { transition: none; } }
.ke-hero-inner { max-width: 760px; }
/* FAQ heading in the brand style */
body:has(.ke-hero) .elementor-element-17904952 .elementor-heading-title { font-family: 'Montserrat', Arial, sans-serif !important; font-weight: 900 !important; letter-spacing: -0.02em !important; }
body:has(.ke-hero) .elementor-element-17904952 { padding-top: 24px; }
/* No overlapping closing card on this page, so drop the footer space kept for one. */
body:has(.ke-hero) .elementor-location-footer > .e-parent:not(.sticky-contact) > .e-con-inner { padding-top: 48px !important; }

/* Nothing scheduled: reuses the podcast newsletter band */
.ke-none h2 { max-width: 16ch; }
.ke-none .kpe-news-note { max-width: 46ch; line-height: 1.65; }
.ke-none-link { margin-top: 26px; }

/* Webinar series */
.ke-series { position: relative; overflow: hidden; width: min(1248px, calc(100% - 40px)); margin: 20px auto 0; padding: clamp(56px, 7vw, 96px) 0; border-radius: 24px; background: #FFF8E7; isolation: isolate; font-family: 'Montserrat', Arial, sans-serif; color: #1E1919; }
.ke-series * { box-sizing: border-box; }
.ke-series::before { content: ""; position: absolute; z-index: -1; width: 240px; height: 240px; right: -90px; top: -110px; border-radius: 50%; background: #FABE19; }
.ke-series::after { content: ""; position: absolute; z-index: -1; width: 90px; height: 90px; left: -30px; bottom: -30px; border-radius: 50%; background: #640AE1; }
.ke-series-list { display: grid; gap: 24px; }
.ke-series-card { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); overflow: hidden; border-radius: 28px; background: #fff; box-shadow: 0 30px 60px -40px rgba(30,25,25,.45); }
.ke-series-media { position: relative; display: block; min-height: 360px; background: #1E1919; }
.ke-series-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.ke-series-badge { position: absolute; left: 20px; top: 20px; display: inline-flex; align-items: center; height: 32px; padding: 0 14px; border-radius: 999px; background: #640AE1; color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.ke-series-body { display: flex; flex-direction: column; gap: 16px; padding: clamp(28px, 3.4vw, 44px); }
.ke-series-body h3 { margin: 0; font-family: inherit; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.18; font-weight: 900; letter-spacing: -0.02em; text-transform: none; }
.ke-series-body h3 a { color: #1E1919 !important; text-decoration: none !important; }
.ke-series-body h3 a:hover { color: #640AE1 !important; }
.ke-series-body > p { margin: 0; font-size: 16px; line-height: 1.65; color: #5B5555; }
.ke-facts-light li { background: #F3F1F5; color: #1E1919; }
@media (max-width: 1024px) {
  .ke-series-card { grid-template-columns: minmax(0, 1fr); }
  .ke-series-media { min-height: 0; aspect-ratio: 3 / 2; }
}
@media (max-width: 680px) {
  .ke-series { width: calc(100% - 24px); }
  .ke-series::before { width: 120px; height: 120px; right: -50px; top: -55px; }
}
.ke-none { width: min(1248px, calc(100% - 40px)) !important; }
@media (max-width: 680px) { .ke-none { width: calc(100% - 24px) !important; } }
/* Webinar covers are 1250 x 625 (2:1): show them whole. */
.ke-archive .kpe-card-media { aspect-ratio: 2 / 1; }
