.eventBookingBtn, #book_now_mb, .cbe-book { cursor: pointer; background: #3B82F6 !important; border: 1px solid #3B82F6 !important; color: rgb(255, 255, 255) !important; font-weight: 700 !important; padding: 10px 28px !important; border-radius: 10px !important; }
.eventBookingBtn:hover, #book_now_mb:hover, .cbe-book:hover { background: #2F68C5 !important; border-color: #2F68C5 !important; }
/* Main action steps back once the certificate button leads */
.cbe-book.ghost { background: #fff !important; color: #3B82F6 !important; }
.cbe-book.ghost:hover { background: #EBF2FE !important; color: #2F68C5 !important; }
/* Tablets up: the card carries Book Now, so no bottom bar */
@media (min-width: 768px) {
  .event_details_wrapper .row > .col-xl-3.col-lg-4 { order: 2; }
  #price_sticky { display: none !important; }
}
.cbe-hero { position: relative; background: linear-gradient(rgb(245, 249, 255) 0%, rgb(251, 253, 255) 70%, rgb(255, 255, 255) 100%); padding: 40px 0px 84px; overflow: hidden; }
.cbe-hero::before, .cbe-hero::after { content: ""; position: absolute; left: 0px; right: 0px; bottom: 0px; clip-path: polygon(0px 100%, 100% 0px, 100% 100%); }
.cbe-hero::before { height: 62px; background: rgb(47, 104, 197); opacity: 0.35; }
.cbe-hero::after { height: 60px; background: rgb(255, 255, 255); }
.cbe-hero .in { position: relative; z-index: 1; display: flex; gap: 40px; align-items: center; justify-content: space-between; }
.cbe-hero .txt { flex: 1 1 auto; min-width: 0px; }
.cbe-hero .eb { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: rgb(47, 104, 197); margin: 0px 0px 10px; }
.cbe-hero h1 { letter-spacing: -0.01em; font-size: 38px !important; line-height: 1.2 !important; font-weight: 700 !important; color: rgb(24, 24, 48) !important; margin: 0px 0px 16px !important; }
.cbe-hero .sep { height: 1px; background: rgba(47, 104, 197, 0.14); margin: 0px 0px 16px; max-width: 640px; }
.cbe-hosts { display: flex; align-items: flex-start; flex-wrap: wrap; gap: 12px 28px; margin: 0px 0px 18px; }
.cbe-hosts .pp { display: flex; align-items: center; gap: 10px; min-width: 0px; }
.cbe-hosts .pp img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 2px solid rgb(255, 255, 255); box-shadow: rgb(228, 232, 235) 0px 0px 0px 1px; flex: 0 0 auto; }
.cbe-hosts .pp b { font-size: 15px; color: rgb(24, 24, 48); font-weight: 700; }
.cbe-hosts .pp .r { display: block; font-size: 13px; line-height: 1.35; color: rgb(84, 88, 91); }
.cbe-hosts.many .stack { display: inline-flex; }
.cbe-hosts.many .stack img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; border: 2px solid rgb(255, 255, 255); box-shadow: rgb(228, 232, 235) 0px 0px 0px 1px; }
.cbe-hosts.many .stack img + img { margin-left: -10px; }
.cbe-hosts.many .names { font-size: 15px; color: rgb(84, 88, 91); align-self: center; }
.cbe-hosts.many .names b { color: rgb(24, 24, 48); }
.cbe-li { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; border-radius: 4px; background: rgb(255, 255, 255); border: 1px solid rgb(207, 224, 245); font-size: 10px; margin-left: 4px; vertical-align: middle; color: rgb(10, 102, 194) !important; text-decoration: none !important; }
.cbe-li:hover { background: rgb(235, 242, 254); }
.cbe-hero .when { display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: 17px; font-weight: 600; color: rgb(24, 24, 48); }
.cbe-hero .when span { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.cbe-hero .when i { color: rgb(47, 104, 197); font-size: 18px; }
/* In-person venue under the when line, linked to Google Maps */
.cbe-hero .ev-venue { display: flex; align-items: flex-start; gap: 8px; margin: 12px 0 0; font-size: 16px; line-height: 24px; font-weight: 600; color: rgb(24, 24, 48); }
.cbe-hero .ev-venue i { color: rgb(47, 104, 197); font-size: 18px; }
.cbe-hero .ev-venue a { color: var(--ev-blue); text-decoration: underline; text-underline-offset: 3px; }
.cbe-hero .ev-venue a:hover { color: var(--ev-blue-d); }
.cbe-hero .acts { margin-top: 22px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.cbe-hero .acts .cbe-book { font-size: 16px; padding: 11px 30px !important; }
.cbe-syl { display: inline-flex; align-items: center; gap: 8px; background: rgb(255, 255, 255); border: 1.5px solid #3B82F6; font-weight: 700; font-size: 15px; padding: 10px 22px; border-radius: 10px; cursor: pointer; color: #3B82F6 !important; }
.cbe-syl:hover { background: rgb(235, 242, 254); }
@keyframes cbe-nudge { 
  0%, 100% { transform: translateX(0px); }
  20% { transform: translateX(-4px) rotate(-1deg); }
  40% { transform: translateX(4px) rotate(1deg); }
  60% { transform: translateX(-3px); }
  80% { transform: translateX(2px); }
}
.cbe-syl.nudge { animation: 0.6s ease 0s 2 normal none running cbe-nudge; }
@media (prefers-reduced-motion: reduce) {
  .cbe-syl.nudge { animation: auto ease 0s 1 normal none running none; }
}
.cbe-photo { flex: 0 0 440px; margin: 0px; }
.cbe-photo img { width: 100%; height: auto; border-radius: 16px; display: block; box-shadow: rgba(24, 24, 48, 0.12) 0px 8px 24px; }
.cbe-spk { flex: 0 0 360px; background: rgb(245, 249, 255); border: 1px solid rgb(220, 231, 251); border-radius: 18px; padding: 20px; display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.cbe-spk .p { flex: 1 1 90px; text-align: center; }
.cbe-spk img { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; border: 3px solid rgb(255, 255, 255); box-shadow: rgba(24, 24, 48, 0.12) 0px 2px 8px; margin: 0px auto 8px; display: block; }
.cbe-spk b { display: block; font-size: 14px; color: rgb(24, 24, 48); }
@media (max-width: 991px) {
  .cbe-hero .in { flex-direction: column; align-items: stretch; }
  .cbe-hero .txt { width: 100%; }
  .cbe-photo, .cbe-spk { flex-basis: auto; width: 100%; }
  .cbe-hero h1 { font-size: 28px !important; }
  .cbe-hero .when span { white-space: normal; }
}
/* Under the site header (z-index 99), so its profile/cart dropdowns open over this bar */
.cbe-top { position: fixed; left: 0px; right: 0px; z-index: 98; background: rgb(255, 255, 255); border-bottom: 1px solid rgb(228, 232, 235); box-shadow: rgba(24, 24, 48, 0.06) 0px 4px 12px; transform: translateY(-120%); opacity: 0; transition: transform 0.2s, opacity 0.2s; pointer-events: none; }
.cbe-top.on { transform: none; opacity: 1; pointer-events: auto; }
.cbe-top .in { display: flex; align-items: center; gap: 20px; padding: 10px 0px; }
.cbe-top .t { flex: 1 1 auto; min-width: 0px; font-size: 17px; font-weight: 700; color: rgb(24, 24, 48); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cbe-top .d { font-size: 14px; color: rgb(84, 88, 91); white-space: nowrap; }
@media (max-width: 767px) {
  .cbe-top .d { display: none; }
  .cbe-top .t { font-size: 15px; }
}
.cbe-side { position: sticky; top: 200px; z-index: 5; }
.cbe-card {background: rgb(255, 255, 255); border: 1px solid rgb(228, 232, 235); border-radius: 16px; padding: 22px; margin-bottom: 24px; font-size: 15px; color: rgb(28, 29, 31); }
.cbe-card .lbl { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: rgb(84, 88, 91); margin: 0px 0px 4px; }
.cbe-card .pr h5 { font-size: 28px !important; margin: 0px 0px 4px !important; }
.cbe-card .pr2 { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin: 0px 0px 4px; }
.cbe-card .pr2 .now { font-size: 30px; font-weight: 800; color: rgb(24, 24, 48); line-height: 1.1; }
.cbe-card .pr2 del { font-size: 16px; color: rgb(122, 127, 133); }
.cbe-card .why { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: rgb(35, 78, 148); margin: 0px 0px 10px; }
.cbe-card .why i { font-size: 15px; color: rgb(47, 104, 197); }
.cbe-card .row2 { display: flex; gap: 10px; padding: 10px 0px; border-top: 1px solid rgb(240, 242, 244); line-height: 1.45; }
.cbe-card .row2 i { color: rgb(47, 104, 197); margin-top: 2px; }
.cbe-card .sub { display: block; color: rgb(84, 88, 91); font-size: 13px; line-height: 1.45; }
.cbe-card .need { display: flex; align-items: center; gap: 6px; margin: 12px 0px 10px; font-size: 13px; color: rgb(84, 88, 91); }
.cbe-card .need i { color: rgb(47, 104, 197); font-size: 14px; }
.cbe-card .cbe-book { width: 100%; display: block; margin-top: 4px; text-align: center; }
.cbe-card .share_event { display: flex; align-items: center; justify-content: space-between; background: none !important; border-width: 1px 0px 0px !important; border-style: solid none none !important; border-color: rgb(240, 242, 244) currentcolor currentcolor !important; border-image: none !important; box-shadow: none !important; padding: 14px 0px 0px !important; margin: 14px 0px 0px !important; }
.cbe-card .share_event p { font-size: 13px !important; font-weight: 600 !important; color: rgb(84, 88, 91) !important; margin: 0px !important; }
#price_sticky .cbe-book { margin-left: 12px; padding: 8px 22px !important; }
.event_full_info .ws02 .who .av img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; display: block; }
.cbe-ov { position: fixed; inset: 0px; background: rgba(24, 24, 48, 0.45); z-index: 1050; opacity: 0; pointer-events: none; transition: opacity 0.2s; }
.cbe-ov.on { opacity: 1; pointer-events: auto; }
.cbe-modal { position: fixed; left: 50%; top: 50%; width: min(940px, 94vw); max-height: 94vh; background: rgb(255, 255, 255); z-index: 1051; border-radius: 20px; box-shadow: rgba(24, 24, 48, 0.25) 0px 24px 60px; display: flex; flex-direction: column; opacity: 0; pointer-events: none; transform: translate(-50%, -46%); transition: opacity 0.2s, transform 0.2s; }
.cbe-modal.on { opacity: 1; pointer-events: auto; transform: translate(-50%, -50%); }
.cbe-modal .hd { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 20px 28px 14px; border-bottom: 1px solid rgb(228, 232, 235); }
.cbe-modal .hd b { display: block; font-size: 22px; color: rgb(24, 24, 48); line-height: 1.2; }
.cbe-modal .hd span { display: block; font-size: 14px; color: rgb(84, 88, 91); margin-top: 4px; }
.cbe-modal .x { flex: 0 0 auto; border: 0px; background: rgb(245, 249, 255); color: rgb(24, 24, 48); width: 38px; height: 38px; border-radius: 50%; font-size: 18px; cursor: pointer; }
.cbe-modal .bd { overflow: auto; padding: 18px 28px; scrollbar-width: thin; }
.cbe-modal .ws02 { max-width: none !important; margin: 0px !important; }
.cbe-modal .cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.cbe-modal .col { background: rgb(249, 251, 255); border: 1px solid rgb(228, 232, 235); border-radius: 14px; padding: 16px 18px 14px; }
.cbe-modal .col > .day { display: none; }
.cbe-modal .dh { margin: 0px 0px 6px; padding: 0px 0px 10px; border-bottom: 1px solid rgb(228, 232, 235); }
.cbe-modal .dh .dd { display: block; font-size: 19px; font-weight: 700; color: rgb(24, 24, 48); line-height: 1.25; }
.cbe-modal .dh .tt { display: flex; align-items: center; gap: 7px; font-size: 15px; font-weight: 600; color: rgb(35, 78, 148); margin-top: 4px; }
.cbe-modal .dh .lt { display: block; font-size: 13px; color: rgb(84, 88, 91); margin-top: 2px; }
.cbe-modal .dh .th { display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: rgb(84, 88, 91); margin-top: 8px; }
.cbe-modal .step { padding: 7px 0px; gap: 12px; }
.cbe-modal .step b { font-size: 15px; }
.cbe-modal .step span { font-size: 14px; line-height: 1.45; }
.cbe-modal .outbox { display: flex; gap: 12px; align-items: flex-start; margin-top: 16px; background: rgb(235, 242, 254); border: 1px solid rgb(220, 231, 251); border-radius: 14px; padding: 14px 18px; font-size: 15px; font-weight: 600; line-height: 1.5; color: rgb(35, 78, 148); }
.cbe-modal .outbox i { font-size: 20px; line-height: 1.1; color: rgb(47, 104, 197); }
.cbe-modal .ft { padding: 12px 28px; border-top: 1px solid rgb(228, 232, 235); display: flex; gap: 12px; align-items: center; justify-content: space-between; }
.cbe-modal .ft span { font-size: 14px; color: rgb(84, 88, 91); }
/* The note wraps; the button keeps its one-line width */
.cbe-modal .ft .cbe-book { flex-shrink: 0; }
@media (max-width: 767px) {
  /* Full screen (dvh: iOS toolbars don't push the footer off); the agenda fills the space so the footer sits at the bottom */
  .cbe-modal { width: 100vw; max-height: 100vh; height: 100vh; max-height: 100dvh; height: 100dvh; border-radius: 0px; }
  .cbe-modal .bd { flex: 1 1 auto; }
  .cbe-modal .hd, .cbe-modal .bd, .cbe-modal .ft { padding-left: 18px; padding-right: 18px; }
  .cbe-modal .ft { padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px)); }
}
body.cbe-lock { overflow: hidden; }
.ws02 { max-width: 760px; margin: 0px; font-family: inherit; font-size: 16px; line-height: 1.6; color: rgb(28, 29, 31); }
.ws02 p { margin: 0px 0px 0.9em; }
.ws02 h2 { font-size: 1.75em; font-weight: 600; line-height: 1.25; letter-spacing: -0.01em; margin: 0px; color: rgb(24, 24, 48); }
.ws02 .rule { width: 48px; height: 3px; border-radius: 2px; background: rgb(47, 104, 197); margin: 1.1em 0px 1.4em; }
.ws02 .intro { font-size: 1.08em; line-height: 1.7; color: rgb(62, 65, 67); }
.ws02 .when { display: flex; align-items: flex-start; gap: 12px; background: rgb(245, 249, 255); border: 1px solid rgb(220, 231, 251); border-radius: 12px; padding: 14px 18px; margin: 1.2em 0px 0px; color: rgb(24, 24, 48); }
.ws02 .when b { display: block; }
.ws02 .when span { color: rgb(84, 88, 91); font-size: 0.95em; }
.ws02 h3 { position: relative; font-size: 1.45em; font-weight: 600; line-height: 1.3; margin: 2.4em 0px 0.8em; padding-top: 1.3em; border-top: 1px solid rgb(228, 232, 235); color: rgb(24, 24, 48); }
.ws02 h3::before { content: ""; position: absolute; top: -2px; left: 0px; width: 48px; height: 3px; border-radius: 2px; background: rgb(47, 104, 197); }
.ws02 .item { border: 1px solid rgb(228, 232, 235); border-radius: 10px; padding: 14px 18px; margin: 0px 0px 10px; }
.ws02 .item b { display: block; color: rgb(24, 24, 48); margin-bottom: 2px; }
.ws02 .item span { color: rgb(84, 88, 91); font-size: 0.95em; }
.ws02 .step { display: flex; gap: 16px; padding: 14px 0px; border-bottom: 1px solid rgb(240, 242, 244); }
.ws02 .num { flex: 0 0 28px; height: 28px; border-radius: 7px; background: rgb(235, 242, 254); color: rgb(35, 78, 148); font-weight: 700; font-size: 0.85em; display: flex; align-items: center; justify-content: center; margin-top: 1px; }
.ws02 .step b { display: block; color: rgb(24, 24, 48); margin-bottom: 4px; }
.ws02 .step span { display: block; color: rgb(84, 88, 91); font-size: 0.86em; line-height: 1.55; }
.ws02 .day { font-size: 0.8em; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: rgb(47, 104, 197); margin: 2.4em 0px 0.5em; }
.ws02 .muted + .day { margin-top: 1.6em; }
.ws02 .out { font-size: 0.95em; font-weight: 600; line-height: 1.6; color: rgb(35, 78, 148); margin: 1.8em 0px 0px; }
.ws02 .inc { display: flex; gap: 14px; align-items: flex-start; padding: 8px 0px; }
.ws02 .ic { flex: 0 0 34px; height: 34px; border-radius: 8px; background: rgb(235, 242, 254); display: flex; align-items: center; justify-content: center; }
.ws02 .ic svg { width: 18px; height: 18px; stroke: rgb(47, 104, 197); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ws02 .inc b { display: block; color: rgb(24, 24, 48); }
.ws02 .inc span { color: rgb(84, 88, 91); font-size: 0.95em; }
.ws02 .muted { color: rgb(84, 88, 91); margin: 0px 0px 0.6em; }
.ws02 .todo { background: rgb(255, 243, 176); }
@media (max-width: 600px) {
  .ws02 h2 { font-size: 1.4em; }
}
.snap-toast{position:fixed;left:50%;bottom:calc(60px + env(safe-area-inset-bottom,0px));transform:translateX(-50%);z-index:2001;background:#181830;color:#fff;font:500 14px/1.4 Manrope,system-ui,sans-serif;padding:10px 16px;border-radius:10px;max-width:min(520px,92vw);opacity:0;pointer-events:none;transition:opacity .2s ease}
.snap-toast.on{opacity:1}
@media (max-width:991px){.cbe-hero .in{align-items:stretch!important}.cbe-hero .txt{width:100%}}

/* Wide enough for the "Also needed" note on one line */
@media (min-width: 992px) {
  .event_details_wrapper .row > .col-xl-3.col-lg-4 { flex: 0 0 400px; width: 400px; max-width: 100%; }
  .event_details_wrapper .row > .col-xl-9.col-lg-8 { flex: 0 0 calc(100% - 400px); width: calc(100% - 400px); }
  .cbe-card .need { white-space: nowrap; }
}

/* Phone booking bar; shown once the hero Book Now scrolls out of view */
@media (max-width: 767.98px) {
  #price_sticky { position: fixed !important; left: 0; right: 0; bottom: 0; z-index: 1030; margin: 0;
    background: #fff !important; border-top: 1px solid #E4E8EB; box-shadow: 0 -4px 16px rgba(24,24,48,.08);
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)) !important;
    opacity: 0; transform: translateY(100%); pointer-events: none; transition: transform .2s ease, opacity .2s ease; }
  #price_sticky.showprice { opacity: 1; transform: none; pointer-events: auto; }
  #price_sticky .container { padding: 0; }
  #price_sticky .flex-fill.d-flex { justify-content: space-between; }
  #price_sticky h5 { font-size: 24px; line-height: 1.1; }
  /* One row on narrow phones: the old price goes above the new one, and a booked learner's status text wraps so the button keeps one line */
  #price_sticky .ev-was { display: block; font-size: 14px; line-height: 1.3; }
  #price_sticky .price_show { min-width: 0; }
  #price_sticky h5.ev-bar-txt { white-space: normal; }
  #price_sticky .cbe-book { flex: 0 0 auto; min-height: 44px; padding: 10px 28px !important; margin-left: 12px; }
  body.cbe-lock #price_sticky { display: none !important; }
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)); }
  .snap-toast { bottom: calc(140px + env(safe-area-inset-bottom, 0px)); }
}
@media (prefers-reduced-motion: reduce) { #price_sticky { transition: none; } }

:root { --ev-blue:#3B82F6; --ev-blue-d:#2F68C5; --ev-ink:#181830; --ev-line:#E4E8EB; --ev-soft:#F5F9FF; --ev-mute:#54585B; --ev-live:#12A150; --ev-live-d:#0B7A3B; --ev-live-bg:#E4F7EC; --ev-live-line:#B5E3C8; --ev-ok:#0E8F5B; }
.ev-pill { display:inline-flex; align-items:center; gap:6px; font-size:13px; font-weight:700; padding:5px 12px; border-radius:999px; background:#E7F6EF; color:var(--ev-ok); margin:0 0 12px; }
.ev-pill.off { background:#F0F2F4; color:var(--ev-mute); }
.ev-note { font-size:13px; line-height:1.5; background:var(--ev-soft); border:1px solid #DCE7FB; color:var(--ev-ink); border-radius:10px; padding:10px 12px; margin:12px 0 10px; }
.cbe-hero .ev-hero-note { margin:12px 0 0; font-size:14px; color:var(--ev-mute); max-width:560px; }
.cbe-book[disabled], .ev-btn[disabled] { background:#E4E8EB !important; border-color:#E4E8EB !important; color:#7A7F85 !important; cursor:not-allowed !important; }
/* Every CTA on one line */
.cbe-book, .ev-btn { white-space: nowrap; }
/* A booked learner's "Starts in 02:15:09": outlined, not greyed out like an ended event, with digits that don't shift as they tick */
.cbe-book.countdown[disabled] { background: #fff !important; border-color: #B1CDFB !important; color: var(--ev-blue) !important; cursor: default !important; font-variant-numeric: tabular-nums; }

.ev-btn { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:44px; padding:10px 22px; border-radius:10px; border:1px solid var(--ev-blue); background:var(--ev-blue); color:#fff; font-weight:700; font-size:15px; cursor:pointer; text-decoration:none; transition:background .15s; }
.ev-btn:hover { background:var(--ev-blue-d); border-color:var(--ev-blue-d); color:#fff; }
.ev-btn.ghost { background:#fff; color:var(--ev-blue); }
.ev-btn.ghost:hover { background:var(--ev-soft); color:var(--ev-blue-d); }
.ev-btn.live, .cbe-book.live { background:var(--ev-live) !important; border-color:var(--ev-live) !important; color:#fff !important; }
.ev-btn.live:hover, .cbe-book.live:hover { background:var(--ev-live-d) !important; border-color:var(--ev-live-d) !important; }
.ev-btn:focus-visible, .ev-tab:focus-visible { outline:3px solid #9DBBF0; outline-offset:2px; }

.ev-dot { display:inline-block; width:9px; height:9px; border-radius:50%; background:var(--ev-live); box-shadow:0 0 0 0 rgba(18,161,80,.5); animation:ev-pulse 1.6s infinite; vertical-align:middle; }
@keyframes ev-pulse { 70% { box-shadow:0 0 0 8px rgba(18,161,80,0); } 100% { box-shadow:0 0 0 0 rgba(18,161,80,0); } }
@media (prefers-reduced-motion: reduce) { .ev-dot { animation:none; } }


.ev-card .ev-next-k { font-size:12px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:var(--ev-mute); margin:14px 0 2px; }
.ev-card .ev-next-t { font-size:20px; font-weight:800; color:var(--ev-ink); margin:0; }
.ev-card .ev-next-s { margin:2px 0 12px; color:var(--ev-mute); font-size:14px; }
.ev-card .ev-btn { width:100%; margin-top:8px; }


.ev-tabs { background:#fff; border-bottom:1px solid var(--ev-line); }
.ev-tabs [role="tablist"] { display:flex; gap:8px; }
.ev-tab { position:relative; background:none; border:0; padding:14px 18px; font-weight:700; font-size:16px; color:var(--ev-mute); cursor:pointer; display:inline-flex; align-items:center; gap:8px; }
.ev-tab[aria-selected="true"] { color:var(--ev-ink); }
.ev-tab[aria-selected="true"]::after { content:""; position:absolute; left:12px; right:12px; bottom:-1px; height:3px; border-radius:3px 3px 0 0; background:var(--ev-blue); }
.ev-hide { display:none !important; }

#ev-sessions { padding:28px 0 56px; background:#fff; }
#ev-sessions h2 { font-size:28px; font-weight:800; color:var(--ev-ink); margin:0 0 6px; }
#ev-sessions .ev-sub { color:var(--ev-mute); margin:0 0 20px; }
.ev-head { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:flex-end; gap:16px; margin:0 0 24px; }
#ev-sessions .ev-head .ev-sub { margin:0; max-width:640px; }
.ev-pills { display:inline-flex; gap:6px; padding:4px; border-radius:999px; background:#F0F2F4; }
.ev-pillb { border:0; background:transparent; padding:9px 22px; border-radius:999px; font-weight:700; font-size:15px; color:var(--ev-mute); cursor:pointer; }
.ev-pillb[aria-selected="true"] { background:var(--ev-blue); color:#fff; }
.ev-pillb:focus-visible, .ev-link:focus-visible { outline:3px solid #9DBBF0; outline-offset:2px; }
.ev-list { display:flex; flex-direction:column; gap:16px; }
.ev-row, .ev-crow { border:1px solid var(--ev-line); border-radius:16px; background:#fff; }
.ev-row { overflow:hidden; }
.ev-row[data-status="live"] { border-color:var(--ev-live); box-shadow:0 8px 24px -12px rgba(18,161,80,.45); }
.ev-row-main { display:flex; gap:20px; justify-content:space-between; align-items:flex-start; padding:20px; }
.ev-row-info, .ev-crow-info { display:flex; flex-direction:column; gap:10px; min-width:0; }
.ev-row-top { display:flex; flex-wrap:wrap; align-items:center; gap:8px 14px; }
.ev-row-title { margin:0; font-weight:700; font-size:17px; line-height:1.35; color:var(--ev-ink); }
.ev-badge { display:inline-flex; align-items:center; gap:7px; font-size:13px; font-weight:700; padding:6px 14px; border-radius:999px; white-space:nowrap; }
.ev-badge.up { background:rgba(245,159,10,.2); color:#8A5A00; }
.ev-badge.live { background:var(--ev-live-bg); color:var(--ev-live-d); }
.ev-badge.done { background:#F0F2F4; color:var(--ev-mute); }
.ev-meta { display:flex; flex-wrap:wrap; gap:6px 20px; font-size:14px; color:var(--ev-mute); }
.ev-meta span { display:inline-flex; align-items:center; gap:7px; }
.ev-row-desc { margin:0; font-size:14px; line-height:1.55; color:var(--ev-mute); }
.ev-row-acts, .ev-crow-acts { display:flex; flex-wrap:wrap; gap:10px; flex-shrink:0; }
.ev-foot { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:10px 16px; padding:12px 20px; background:var(--ev-soft); border-top:1px solid #DCE7FB; }
.ev-row[data-status="live"] .ev-foot { background:var(--ev-live-bg); border-top-color:var(--ev-live-line); }
.ev-foot-l { font-weight:600; font-size:15px; color:var(--ev-ink); }
.ev-cd { display:inline-flex; align-items:center; gap:6px; }
.ev-cd i { font-style:normal; font-weight:700; color:var(--ev-mute); }
.ev-cdb { min-width:48px; text-align:center; }
.ev-cdb b { display:block; font-size:18px; line-height:1.2; font-weight:700; color:var(--ev-blue); font-variant-numeric:tabular-nums; }
.ev-cdb small { font-size:12px; color:var(--ev-mute); }
.ev-crow { display:flex; justify-content:space-between; align-items:center; gap:16px; padding:16px 20px; }
.ev-link { display:inline-flex; align-items:center; gap:8px; background:none; border:0; border-radius:8px; padding:8px 12px; font-weight:600; font-size:15px; color:var(--ev-ink); cursor:pointer; }
.ev-link:hover:not([disabled]) { color:var(--ev-blue); background:var(--ev-soft); }
.ev-link[disabled] { color:#7A7F85; cursor:not-allowed; }
.ev-empty { border:1px dashed var(--ev-line); border-radius:16px; padding:28px; text-align:center; color:var(--ev-mute); }
.ev-hint { margin:0; font-size:13px; color:var(--ev-mute); }
.ev-sr { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }

@media (max-width: 991.98px) {
  .ev-head { align-items:flex-start; }
  .ev-pills { width:100%; } .ev-pillb { flex:1; padding:9px 12px; }
  .ev-row-main, .ev-crow { flex-direction:column; align-items:stretch; padding:16px; }
  .ev-row-acts { flex-direction:column; } .ev-row-acts .ev-btn { width:100%; }
  .ev-crow-acts .ev-link { padding-left:0; }
  .ev-foot { padding:12px 16px; } .ev-cdb { min-width:40px; } .ev-cdb b { font-size:16px; }
  #ev-sessions h2 { font-size:24px; }  #price_sticky h5.ev-bar-txt { font-size:16px !important; line-height:1.25; }
  body.ev-joinable #price_sticky { opacity:1; transform:none; pointer-events:auto; }
}

/* Join links before their window, recordings not ready yet */
.ev-btn[aria-disabled="true"], .ev-link[aria-disabled="true"] { background:#E4E8EB !important; border-color:#E4E8EB !important; color:#7A7F85 !important; cursor:not-allowed; pointer-events:none; }
a.cbe-book { display:inline-flex; align-items:center; justify-content:center; text-decoration:none; }

/* Hidden except on phones */
.cbe-hero .when .ev-when-compact, .ev-btn-price { display: none !important; }

.cbe-book:focus-visible, .cbe-syl:focus-visible, .ev-btn:focus-visible, .ev-link:focus-visible, .ev-tab:focus-visible, .cbe-li:focus-visible, .ylf-ic:focus-visible, .gd-b:focus-visible {
  outline: 3px solid rgba(47, 104, 197, 0.45); outline-offset: 2px;
}

/* Phones: a guest's card follows the description (hero and bottom bar carry Book Now).
   Its Book button is hidden, not removed: the other Book buttons click it. */
@media (max-width: 767.98px) {
  .ev-side-col.is-guest { order: 2; }
  .ev-side-col.is-guest .cbe-card > .cbe-book { display: none !important; }
  .cbe-side { position: static; }

  .cbe-hero { padding: 16px 0 22px; }
  .cbe-hero .in { gap: 18px; }
  .cbe-hero .eb { margin-bottom: 6px; }
  .cbe-hero h1 { font-size: 25px !important; line-height: 33px !important; margin-bottom: 0 !important; }
  .cbe-hero .sep, .cbe-hosts .pp .r, .cbe-hero .cbe-li { display: none !important; }
  .cbe-hero .cbe-hosts { gap: 6px 14px; margin: 10px 0 8px; }
  .cbe-hero .cbe-hosts .pp { gap: 6px; }
  .cbe-hero .cbe-hosts .pp img { width: 26px; height: 26px; }
  .cbe-hero .cbe-hosts .pp b { font-size: 14px; }
  .cbe-hero .when { display: block; margin: 0 0 14px; font-size: 15px; line-height: 22px; }
  .cbe-hero .when > span { display: none; }
  .cbe-hero .when .ev-when-compact { display: inline !important; white-space: normal; }
  .cbe-hero .when .ev-when-compact i { margin-right: 8px; }
  .cbe-hero .ev-venue { margin: -4px 0 14px; font-size: 15px; line-height: 22px; }
  .ev-btn-price { display: inline !important; }
  .cbe-hero .acts { flex-direction: column; align-items: stretch; gap: 10px; margin-top: 0; }
  .cbe-hero .acts .cbe-book { width: 100%; min-height: 48px; }
  .cbe-hero .acts .cbe-syl { align-self: center; border: 0; background: none; padding: 2px 0; }

  #price_sticky .cbe-book { flex: 0 1 auto; min-height: 40px; padding: 8px 24px !important; font-size: 14px; margin-left: 16px; }
  .event_details_wrapper { padding-top: 0 !important; }
  /* Under the Overview | Sessions tabs (booked workshop learners) the enrolled card needs room to breathe */
  .ev-tabs + .event_details_wrapper { padding-top: 20px !important; }
  .ws02 > h2:first-of-type { font-size: 19px; line-height: 28px; margin-top: 20px; }
}

.ylf { margin: 48px 0 8px; padding-top: 40px; border-top: 1px solid var(--ev-line); }
.ylf h2 { font-size: 32px; line-height: 40px; font-weight: 600; letter-spacing: -0.02em; color: var(--ev-ink); margin: 0 0 28px; }
.ylf-p { display: grid; grid-template-columns: 160px 1fr; gap: 28px; padding: 24px 0; border-bottom: 1px solid #F0F2F4; }
.ylf-p:last-child { border-bottom: 0; }
.ylf-img { width: 160px; height: 160px; border-radius: 20px; object-fit: cover; background: #EBF2FE; display: block; }
.ylf-s { display: flex; gap: 10px; justify-content: center; margin-top: 14px; }
.ylf-ic { width: 40px; height: 40px; border: 1px solid var(--ev-line); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: #1C1D1F; font-size: 17px; text-decoration: none; }
.ylf-ic:hover { border-color: #D1D7DC; color: var(--ev-blue); }
.ylf-r { min-width: 0; }
.ylf-r h3 { font-size: 24px; line-height: 32px; font-weight: 600; color: var(--ev-ink); margin: 0; }
.ylf-d { font-size: 16px; line-height: 24px; font-weight: 600; color: var(--ev-mute); margin: 4px 0 14px; }
.ylf-bio { font-size: 16px; line-height: 26px; color: #1C1D1F; margin: 0; overflow-wrap: anywhere; }
/* Narrow content column up to tablets: photo and links in a row above the text */
@media (max-width: 991.98px) {
  .ylf-p { grid-template-columns: 1fr; gap: 16px; }
  .ylf-l { display: flex; align-items: center; gap: 16px; }
  .ylf-img { width: 96px; height: 96px; border-radius: 14px; }
  .ylf-s { margin-top: 0; }
  .ylf h2 { font-size: 26px; line-height: 32px; margin-bottom: 12px; }
  .ylf-r h3 { font-size: 22px; line-height: 30px; }
}

/* Go deeper is rendered twice: gd-side for tablets up, gd-end for phones */
.gd { background: var(--ev-soft); border: 1px solid #D8E6FD; border-radius: 16px; padding: 18px 22px; margin-bottom: 24px; font-size: 15px; color: #1C1D1F; }
.gd .lbl { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ev-mute); margin: 0 0 4px; }
.gd-t { font-size: 16px; line-height: 22px; font-weight: 700; color: var(--ev-ink); margin: 2px 0 4px; }
.gd-s { font-size: 13px; line-height: 19px; color: var(--ev-mute); margin: 0 0 12px; }
.gd-on { display: inline-block; font-size: 11px; font-weight: 700; color: #17804B; background: #E8F6EE; border-radius: 5px; padding: 0 6px; margin-right: 4px; }
.gd-on.soon { color: #9A5B00; background: #FFF4DE; }
.gd-b { background: #fff; display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 42px; border: 1px solid var(--ev-blue); border-radius: 10px; color: var(--ev-blue); font-weight: 700; font-size: 15px; text-decoration: none; transition: background 0.15s ease-out; }
.gd-b:hover { background: #EBF2FE; color: var(--ev-blue-d); text-decoration: none; }
/* The arrow is an SVG, so flex centres the drawn arrow itself, whatever the device's font metrics */
.gd-b svg { flex-shrink: 0; }
.gd.gd-end { margin: 28px 0 24px; }
@media (min-width: 768px) { .gd.gd-end { display: none; } }
@media (max-width: 767.98px) { .gd.gd-side { display: none; } }
button.gd-b { width: 100%; cursor: pointer; }
.gd-b.gd-done { border-color: #B5E3C8; color: #0E8F5B; background: #fff; cursor: default; }
.gd-b.gd-done:hover { background: #fff; color: #0E8F5B; }
