/* Single webinar pages (src/lib/event-single.ts). */
.kev-page, .kev-related { font-family: 'Montserrat', Arial, sans-serif; color: #1E1919; }
.kev-page * { box-sizing: border-box; }
.kev-page h1, .kev-page h2, .kev-page h3, .kev-page h4, .kev-page p { font-family: inherit; text-transform: none; }

/* Header */
.kev-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; }
.kev-c1, .kev-c2 { position: absolute; z-index: -1; border-radius: 50%; background: #FABE19; }
.kev-c1 { width: 260px; height: 260px; left: -110px; bottom: -150px; background: #640AE1; }
.kev-c2 { width: 80px; height: 80px; left: 48%; top: 40px; }
.kev-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 4vw, 56px); align-items: center; padding: clamp(40px, 5vw, 72px) clamp(24px, 4vw, 56px); }
.kev-crumbs { display: flex; gap: 8px; margin-bottom: 20px; font-size: 14px; color: #C8D2DC; }
.kev-crumbs a { color: #fff !important; font-weight: 600; text-decoration: none !important; }
.kev-badge { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 14px; border-radius: 999px; background: rgba(255,255,255,.1); color: #fff; font-size: 13px; font-weight: 700; }
.kev-badge svg { width: 14px; height: 14px; }
.kev-badge-series { background: #640AE1; }
.kev-hero h1 { margin: 18px 0 0; color: #fff; font-size: clamp(32px, 4.2vw, 56px); line-height: 1.05; font-weight: 900; letter-spacing: -0.02em; }
.kev-summary { margin: 18px 0 0; font-size: clamp(16px, 1.4vw, 18px); line-height: 1.6; color: #E6E0EA; max-width: 54ch; }
.kev-tiles { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 28px; padding: 0; }
.kev-tiles div { margin: 0; padding: 12px 16px; border-radius: 16px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); }
.kev-tiles dt { margin: 0 0 2px; font-size: 12px; color: #C8D2DC; }
.kev-tiles dd { margin: 0; font-size: 16px; font-weight: 800; color: #fff; }
.kev-tiles div:first-child dd { color: #FABE19; }
.kev-btn-sun { background: #FABE19; color: #1E1919 !important; border: 2px solid #FABE19; }
.kev-btn-sun:hover { background: #F0AE00; border-color: #F0AE00; }
.kev-btn-sun svg { width: 18px; height: 18px; }
.kev-art { position: relative; margin: 0; }
.kev-art::before { content: ""; position: absolute; z-index: -1; width: 70%; aspect-ratio: 1; right: -12%; bottom: -16%; border-radius: 50%; background: #FABE19; }
.kev-art img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 22px; box-shadow: 0 40px 70px -40px rgba(0,0,0,.8); }
.kev-hero a:focus-visible { outline: 2px solid #FABE19; outline-offset: 3px; }

/* Body */
.kev-layout { width: 100%; max-width: 1200px; margin: 0 auto; padding: clamp(48px, 6vw, 80px) 24px clamp(56px, 7vw, 96px); display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.kev-body { min-width: 0; font-size: 16px; line-height: 1.75; color: #3b3535; }
.kev-body > p:first-of-type { font-size: clamp(19px, 1.8vw, 22px); line-height: 1.6; font-weight: 500; color: #1E1919; }
.kev-body p { margin: 0 0 16px; }
.kev-body h2, .kev-body h3 { margin: 44px 0 16px; color: #1E1919; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.2; font-weight: 900; letter-spacing: -0.01em; }
.kev-body h2:first-child, .kev-body h3:first-child { margin-top: 0; }
.kev-body ul, .kev-body ol { margin: 0 0 16px; padding: 0; list-style: none; display: grid; gap: 10px; }
.kev-body ul li, .kev-body ol li { position: relative; margin: 0; padding: 16px 18px 16px 50px; border-radius: 16px; background: #FAF8F5; border: 1px solid #ECE8F2; line-height: 1.6; }
.kev-body ul li::before { content: ""; position: absolute; left: 18px; top: 22px; width: 14px; height: 14px; border-radius: 50%; background: #FABE19; }
.kev-body ul li:nth-child(even)::before { background: #640AE1; }
.kev-body li strong { color: #1E1919; }
.kev-body a { color: #640AE1; text-decoration: underline; text-underline-offset: 3px; }
.kev-body img { max-width: 100%; height: auto; }
/* Speaker cards */
.kev-person { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 4px 24px; align-items: start; margin: 0 0 16px; padding: 22px; border-radius: 22px; background: #F1E9FD; }
.kev-person figure { display: contents; margin: 0; }
.kev-person figcaption { display: contents; }
.kev-person h4 { margin: 0; font-size: 18px; font-weight: 800; color: #1E1919; font-style: normal; }
.kev-person h4:has(img) { grid-row: span 3; }
.kev-person h4 img { display: block; width: 120px; height: 120px; border-radius: 50%; object-fit: cover; }
.kev-person p { grid-column: 2; margin: 0; font-size: 15px; }
.kev-person p strong, .kev-person p strong * { color: #640AE1; font-style: normal; font-weight: 700; font-size: 14px; }
.kev-person em { font-style: normal; }

/* Register card */
.kev-aside { position: sticky; top: var(--kev-sticky-top, 110px); align-self: start; }
.kev-card { position: relative; overflow: hidden; padding: 28px; border-radius: 26px; background: #1E1919; color: #fff; box-shadow: 0 30px 60px -36px rgba(0,0,0,.6); isolation: isolate; }
.kev-card::after { content: ""; position: absolute; z-index: -1; width: 160px; height: 160px; right: -60px; top: -70px; border-radius: 50%; background: #FABE19; }
.kev-card-label { margin: 0 0 8px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #FABE19; }
.kev-card-title { margin: 0 0 8px; color: #fff; font-size: 26px; font-weight: 900; letter-spacing: -0.01em; }
.kev-card-sub, .kev-card-note { margin: 0 0 18px; font-size: 14px; line-height: 1.55; color: #CFC8C8; }
.kev-card-note a { color: #FABE19; }
.kev-card.is-submitted .kev-card-sub { display: none; }
.kev-loading { margin: 0; padding: 30px 0; text-align: center; font-size: 14px; color: #CFC8C8; }
.kev-form { padding: 20px; border-radius: 18px; background: #fff; color: #1E1919; }
.kev-form form { margin: 0; }
.kev-form fieldset { max-width: none !important; margin: 0; padding: 0; border: 0; }
.kev-form fieldset.form-columns-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.kev-form fieldset .hs-form-field, .kev-form fieldset .input { width: auto !important; float: none !important; margin-right: 0 !important; }
.kev-form .hs-form-field { margin-bottom: 12px; }
.kev-form .hs-form-field > label { display: block; margin: 0 0 5px; font-size: 13px; font-weight: 600; color: #1E1919; text-transform: none; }
.kev-form .hs-form-required { color: #640AE1; margin-left: 2px; }
.kev-form input.hs-input:not([type=checkbox]):not([type=radio]), .kev-form select.hs-input, .kev-form textarea.hs-input { display: block; width: 100% !important; min-height: 46px; margin: 0; padding: 10px 14px; border-radius: 12px; border: 1.5px solid #D9D3DE; background: #fff; font-family: inherit; font-size: 15px; color: #1E1919; box-shadow: none; }
.kev-form .hs-input:focus { outline: none; border-color: #640AE1; box-shadow: 0 0 0 4px rgba(100,10,225,.12); }
.kev-form .inputs-list { margin: 0; padding: 0; list-style: none; }
.kev-form .inputs-list label { display: flex; gap: 8px; align-items: flex-start; font-size: 12px; line-height: 1.5; color: #5B5555; }
.kev-form .hs-error-msgs { margin: 4px 0 0; padding: 0; list-style: none; }
.kev-form .hs-error-msg { font-size: 12px; color: #C62828; }
.kev-form .legal-consent-container, .kev-form .hs-richtext, .kev-form .hs-richtext p { font-size: 11px !important; line-height: 1.5; color: #5B5555 !important; }
.kev-form .hs_submit, .kev-form .actions { margin: 4px 0 0; padding: 0; }
.kev-form input[type=submit].hs-button, .kev-form input[type=submit].hs-button:focus {
  display: block !important; width: 100% !important; height: 50px !important; margin: 0 !important; padding: 0 16px !important; border: 0 !important; border-radius: 12px !important;
  background: #FABE19 !important; color: #1E1919 !important; font-family: 'Montserrat', Arial, sans-serif !important; font-size: 16px !important; font-weight: 800 !important; line-height: 50px !important;
  text-transform: none !important; letter-spacing: 0 !important; box-shadow: none !important; -webkit-appearance: none !important; appearance: none !important; cursor: pointer !important; }
.kev-form input[type=submit].hs-button:hover { background: #F0AE00 !important; }
.kev-form .submitted-message { font-size: 15px; font-weight: 600; color: #1E1919; }

/* Related recordings */
.kev-related { width: min(1248px, calc(100% - 40px)); margin: 0 auto clamp(40px, 5vw, 64px); padding: clamp(48px, 6vw, 72px) 0; border-radius: 24px; background: #FFF8E7; }

@media (max-width: 1024px) {
  .kev-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .kev-art { max-width: 560px; }
  .kev-layout { grid-template-columns: minmax(0, 1fr); }
  .kev-aside { position: static; }
}
@media (max-width: 680px) {
  .kev-hero, .kev-related { width: calc(100% - 24px); }
  .kev-c2 { display: none; }
  .kev-person { grid-template-columns: 72px minmax(0, 1fr); gap: 4px 16px; padding: 18px; }
  .kev-person h4 img { width: 72px; height: 72px; }
  .kev-form fieldset.form-columns-2 { grid-template-columns: minmax(0, 1fr); gap: 0; }
}
/* No overlapping closing card on these pages, so drop the footer space kept for one. */
body:has(.kev-page) .elementor-location-footer > .e-parent:not(.sticky-contact) > .e-con-inner { padding-top: 48px !important; }
@media (max-width: 1024px) { .kev-aside { order: -1; } }
.kev-art img { aspect-ratio: 2 / 1; }
.kev-related .kpe-card-media { aspect-ratio: 2 / 1; }
