.webinar-detail .webinar-banner { position: relative; border-radius: 12px; overflow: hidden; }
.webinar-detail .webinar-banner img { width: 100%; height: auto; display: block; }
.webinar-banner__placeholder { width: 100%; min-height: 280px; background: linear-gradient(135deg, #2c3e50 0%, #4a5568 100%); }
.webinar-live-badge, .webinar-status-badge { position: absolute; top: 16px; left: 16px; padding: 6px 14px; border-radius: 30px; font-size: .8rem; font-weight: 700; color: #fff; z-index: 3; }
.webinar-live-badge { background: #e74c3c; display: inline-flex; align-items: center; gap: 6px; }
.webinar-live-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: wd-pulse 1.4s infinite; }
.webinar-status-badge { background: #6c757d; }

/* Hero preview trigger (YouTube + upload: Bootstrap modal) */
.webinar-banner--preview::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .35);
    z-index: 1;
    pointer-events: none;
}
.webinar-banner__preview-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}
.webinar-banner__preview-btn {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    text-decoration: none;
    color: #fff;
}
.webinar-banner__preview-btn .flaticon-play,
.webinar-banner__preview-btn i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    font-size: 28px;
    line-height: 1;
    border-radius: 50%;
    background-color: var(--mainColor, #007bff);
    color: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
    transition: transform .2s, background-color .2s;
}
.webinar-banner__preview-btn span {
    font-size: .95rem;
    font-weight: 700;
    letter-spacing: .3px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, .4);
}
.webinar-banner__preview-btn:hover {
    color: #fff;
    text-decoration: none;
}
.webinar-banner__preview-btn:hover .flaticon-play,
.webinar-banner__preview-btn:hover i {
    transform: scale(1.06);
    background-color: var(--blackColor, #222);
}

.webinar-preview-modal-video { width: 100%; display: block; max-height: 70vh; background: #000; }
.webinar-preview-modal__iframe-wrap {
    width: 100%;
    min-height: 400px;
    aspect-ratio: 16 / 9;
    background: #000;
}
.webinar-preview-modal-iframe {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border: 0;
    display: block;
    background: #000;
}

/* Meta strip */
.events-details-header ul { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 22px; }
.events-details-header li { font-weight: 600; color: #444; display: flex; align-items: center; gap: 6px; }
.events-details-header li i { color: var(--mainTextColor, #007bff); font-size: 1.15rem; }

/* Sections */
.webinar-section { margin-top: 32px; }
.webinar-section h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 16px; position: relative; padding-bottom: 10px; }
.webinar-section h3::after { content: ''; position: absolute; left: 0; bottom: 0; width: 50px; height: 3px; background: var(--mainTextColor, #007bff); border-radius: 3px; }

/* Training promo callout */
.webinar-training-promo { display: flex; gap: 20px; align-items: flex-start; margin-top: 32px; padding: 22px; background: linear-gradient(135deg, #f8f9fb 0%, #eef4ff 100%); border: 1px solid #d6e4ff; border-radius: 12px; }
.webinar-training-promo__media img { width: 550px; height: 165px; object-fit: cover; border-radius: 10px; border: 2px solid #fff; box-shadow: 0 4px 12px rgba(0,0,0,.08); }
.webinar-training-promo__icon { width: 88px; height: 88px; border-radius: 10px; background: var(--mainTextColor, #007bff); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 2rem; flex-shrink: 0; }
.webinar-training-promo__eyebrow { display: block; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .6px; color: var(--mainTextColor, #007bff); margin-bottom: 6px; }
.webinar-training-promo__body h4 { font-size: 1.15rem; font-weight: 700; margin: 0 0 8px; }
.webinar-training-promo__body p { color: #555; margin: 0 0 14px; line-height: 1.6; font-size: .92rem; }

/* Speaker spotlight */
.speaker-spotlight { display: flex; gap: 20px; align-items: flex-start; background: #f8f9fb; border: 1px solid #eef0f4; border-radius: 12px; padding: 22px; }
.speaker-photo img { width: 110px; height: 110px; object-fit: cover; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 4px 14px rgba(0,0,0,.1); }
.speaker-info h4 { margin: 0 0 4px; font-size: 1.25rem; font-weight: 700; }
.speaker-title { display: block; color: var(--mainTextColor, #007bff); font-weight: 600; margin-bottom: 0; }
.speaker-description { margin-top: 20px; padding-top: 20px; border-top: 1px solid #eef0f4; }
.speaker-description__heading { font-size: 1.1rem; font-weight: 700; margin: 0 0 10px; color: #333; }
.speaker-bio { color: #555; margin: 0; line-height: 1.7; }

/* FAQ accordion */
.webinar-faq .accordion-item { border: 1px solid #eef0f4; border-radius: 10px !important; margin-bottom: 10px; overflow: hidden; }
.webinar-faq .accordion-button { font-weight: 600; }
.webinar-faq .accordion-button:not(.collapsed) { background: rgba(0,123,255,.06); color: var(--mainTextColor, #007bff); box-shadow: none; }
.webinar-faq .accordion-button:focus { box-shadow: none; }

/* Register card */
.webinar-register-card { background: #fff; border: 1px solid #eef0f4; border-radius: 14px; box-shadow: 0 10px 30px rgba(0,0,0,.06); overflow: hidden; position: sticky; top: 100px; scroll-margin-top: 100px; }

/* Keep courses-details-info for share UI; reset training-page overlap layout */
.webinar-detail .webinar-register-card.courses-details-info {
    margin-top: 0;
    padding: 0;
    background: #fff;
    border: 1px solid #eef0f4;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .06);
}

.webinar-register-head { background: var(--mainTextColor, #007bff); color: #fff; text-align: center; padding: 22px 20px; }
.webinar-register-head__title {
    display: -webkit-box;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.35;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.webinar-register-head .price-sub { display: block; font-size: .9rem; opacity: .9; margin-top: 8px; }
.webinar-register-body { padding: 22px; }
.webinar-register-note { font-size: .85rem; color: #777; margin-bottom: 16px; }
.webinar-register-card .default-btn { width: 100%; text-align: center; }
.btn-join { background: #28a745 !important; }
.btn-add-calendar { display: block; text-align: center; margin-top: 10px; padding: 10px; border: 1px solid #dfe3e8; border-radius: 8px; color: #444; font-weight: 600; font-size: .9rem; }
.btn-add-calendar:hover { border-color: var(--mainTextColor, #007bff); color: var(--mainTextColor, #007bff); }

.webinar-add-to-calendar { margin-top: 12px; }
.webinar-add-to-calendar__label {
    display: block;
    font-size: .82rem;
    font-weight: 700;
    color: #555;
    margin-bottom: 8px;
}
.webinar-add-to-calendar__label i { color: var(--mainTextColor, #007bff); margin-right: 4px; }
.webinar-add-to-calendar__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.webinar-add-to-calendar__btn {
    display: inline-block;
    padding: 8px 12px;
    border: 1px solid #dfe3e8;
    border-radius: 8px;
    color: #444;
    font-weight: 600;
    font-size: .82rem;
    text-decoration: none;
    background: #fff;
}
.webinar-add-to-calendar__btn:hover {
    border-color: var(--mainTextColor, #007bff);
    color: var(--mainTextColor, #007bff);
    text-decoration: none;
}
.webinar-add-to-calendar--compact { margin-top: 0; }
.webinar-add-to-calendar--compact .webinar-add-to-calendar__actions { gap: 6px; }
.webinar-add-to-calendar--compact .webinar-add-to-calendar__btn {
    padding: 5px 10px;
    font-size: .75rem;
}
.webinar-trust { list-style: none; padding: 16px 0 0; margin: 16px 0 0; border-top: 1px solid #eef0f4; display: flex; flex-wrap: wrap; gap: 14px; font-size: .82rem; color: #555; }
.webinar-trust li { display: flex; align-items: center; gap: 5px; }
.webinar-trust li i { color: var(--mainTextColor, #007bff); font-size: 1rem; }

/* Share block: always visible, in-flow */
.webinar-detail .webinar-register-card .courses-share {
    text-align: center;
    margin-top: 0;
    padding: 0;
}
.webinar-detail .webinar-register-card .courses-share .share-info {
    display: block;
    position: static;
    width: 100%;
}
.webinar-detail .webinar-register-card .courses-share .share-info span {
    display: block;
    margin-bottom: 12px;
}
.webinar-detail .webinar-register-card .courses-share .share-info .social-link {
    position: static;
    opacity: 1;
    visibility: visible;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}
.webinar-detail .webinar-register-card .courses-share .share-info .social-link li {
    display: block;
    margin: 0;
}
.webinar-detail .webinar-register-card .courses-share .share-info .social-link li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 4px;
    background-color: #e1e1e1;
    font-size: 18px;
    color: var(--blackColor);
    position: relative;
}
.webinar-detail .webinar-register-card .courses-share .share-info .social-link li a i {
    position: static;
    transform: none;
    line-height: 1;
}
.webinar-detail .webinar-register-card .courses-share .share-info .social-link li a:hover {
    background-color: var(--mainColor);
    color: var(--whiteColor);
}

/* Sidebar FOMO (listing-style) */
.webinar-detail-sidebar__fomo,
.webinar-detail-sidebar__fomo.webinar-list-card__fomo {
    background: #fff8e6;
    border: 1px solid #ffe3a3;
    border-radius: 10px;
    padding: 12px 14px;
    margin-bottom: 18px;
    text-align: center;
}
.webinar-detail-sidebar__fomo .webinar-list-card__fomo-label {
    display: block;
    font-size: .78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .6px;
    color: #8a6d3b;
    margin-bottom: 8px;
}
.webinar-detail-sidebar__fomo .webinar-list-card__fomo-live {
    font-size: .88rem;
    font-weight: 800;
    color: #c0392b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.webinar-detail-sidebar__fomo .wd-countdown--fomo .wd-countdown__units {
    display: flex;
    justify-content: center;
    gap: 8px;
}
.webinar-detail-sidebar__fomo .wd-countdown--fomo .wd-unit {
    min-width: 48px;
    background: rgba(255, 255, 255, .85);
    border-radius: 8px;
    padding: 6px 4px;
}
.webinar-detail-sidebar__fomo .wd-countdown--fomo .wd-num {
    display: block;
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1;
    color: #333;
}
.webinar-detail-sidebar__fomo .wd-countdown--fomo .wd-lbl {
    display: block;
    font-size: .62rem;
    text-transform: uppercase;
    letter-spacing: .4px;
    margin-top: 3px;
    color: #888;
    font-weight: 700;
}
.webinar-detail-sidebar__fomo .webinar-list-card__scarcity {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed rgba(0, 0, 0, .12);
    font-size: .82rem;
    font-weight: 700;
    color: #8a6d3b;
}

/* Mobile sticky CTA */
.webinar-mobile-cta { position: fixed; bottom: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px; background: #fff; box-shadow: 0 -2px 12px rgba(0,0,0,.12); z-index: 1030; }
.webinar-mobile-cta__info strong { display: block; font-size: .95rem; }
.webinar-mobile-cta__info span { font-size: .75rem; color: #777; }
.webinar-mobile-cta .default-btn { white-space: nowrap; }

@media (max-width: 991px) {
    body { padding-bottom: 76px; }
    .webinar-register-card { position: static; margin-top: 30px; }
    .webinar-training-promo { flex-direction: column; }
}

@keyframes wd-pulse { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,.7); } 70% { box-shadow: 0 0 0 6px rgba(255,255,255,0); } 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); } }

.webinar-detail__title {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: .5rem;
    color: #222;
}
.webinar-detail__lead {
    font-size: 1.05rem;
    color: #555;
    margin-bottom: 0;
    line-height: 1.5;
}
