/* WEBINAR LIST PAGE*/
.wb-thumb {
    position: relative;
    display: block;
    aspect-ratio: 860/400;
    overflow: hidden;
    background: linear-gradient(145deg, #e8eef7, #f8fafd)
}

.wb-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform .5s ease
}

.wb-thumb:hover img {
    transform: scale(1.04)
}

.wb-status {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .8px;
    text-transform: uppercase;
    background: #fff;
    color: var(--science-blue, #003B7A);
    box-shadow: 0 2px 8px rgba(0, 0, 0, .15)
}

.wb-status.upcoming::before,
.wb-status.recorded::before {
    content: "";
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    margin-right: 7px;
    vertical-align: middle
}

.wb-status.upcoming::before {
    background: var(--accent-orange, #F4A631)
}

.wb-status.recorded::before {
    background: #9ca3af
}

.wb-title {
    font-weight: 800;
    font-size: 1.3rem;
    line-height: 1.3;
    margin: 0 0 .6rem
}

.wb-title a {
    color: var(--dark-gray, #1f2937);
    text-decoration: none;
    transition: color .2s
}

.wb-title a:hover {
    color: var(--secondary-blue, #1a5bb0)
}

.wb-desc {
    color: #6b7280;
    font-size: .93rem;
    line-height: 1.55;
    margin: 0 0 1.1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden
}

.wb-btn {
    border-radius: 50px;
    font-weight: 700;
    padding: 9px 22px;
    font-size: .9rem;
    white-space: nowrap
}

.wb-btn-register,
.wb-btn-watch {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid transparent;
    text-decoration: none;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}

.wb-btn-register {
    background: var(--secondary-blue, #1a5bb0);
    color: #fff;
    border-color: var(--secondary-blue, #1a5bb0);
}

.wb-btn-register:hover {
    background: #fff;
    color: var(--secondary-blue, #1a5bb0);
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(26, 91, 176, .25);
}

.wb-btn-watch {
    background: #fff;
    color: #1f2937;
    border-color: #1f2937;
}

.wb-btn-watch:hover {
    background: #1f2937;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(31, 41, 55, .25);
}

.btn-load-more {
    background: #fff;
    color: var(--secondary-blue, #1a5bb0);
    border: 2px solid var(--secondary-blue, #1a5bb0);
    border-radius: 50px;
    padding: 10px 28px;
    font-weight: 700;
    cursor: pointer;
    transition: background .15s ease, color .15s ease;
}

.btn-load-more:hover:not(:disabled) {
    background: var(--secondary-blue, #1a5bb0);
    color: #fff;
}

.btn-load-more:disabled {
    opacity: .7;
    cursor: default;
}

.wb-row {
    display: flex;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    overflow: hidden;
    transition: box-shadow .3s, border-color .3s
}

.wb-row:hover {
    box-shadow: 0 12px 30px rgba(0, 0, 0, .08);
    border-color: #d1d5db
}

.wb-row .wb-thumb {
    flex: 0 0 500px;
    max-width: 500px;
    align-self: stretch;
    aspect-ratio: auto;
    min-height: 233px
}

.wb-row .wb-body {
    flex: 1;
    min-width: 0;
    padding: 1.5rem 1.75rem;
    display: flex;
    flex-direction: column;
    justify-content: center
}

.wb-row .wb-title {
    font-size: 1.45rem
}

.wb-row .wb-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #f0f1f3
}

.wb-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    overflow: hidden;
    transition: transform .3s, box-shadow .3s
}

.wb-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, .09)
}

.wb-card .wb-body {
    padding: 1.35rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1
}

.wb-card .wb-foot {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem
}

.webinar-group {
    margin-bottom: 2rem
}

.webinar-group:last-child {
    margin-bottom: 0
}

.webinar-group-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding-bottom: .7rem;
    border-bottom: 2px solid #E5E7EB
}

.webinar-group-head h2 {
    margin: 0;
    font-size: 2rem;
    font-weight: 800;
    color: var(--dark-gray, #1f2937);
    display: flex;
    align-items: center;
    gap: 12px
}

.group-count {
    display: inline-block;
    background: var(--secondary-blue, #1a5bb0);
    color: #fff;
    font-size: .8rem;
    font-weight: 700;
    padding: 3px 12px;
    border-radius: 50px
}

.webinar-search-wrap {
    position: relative;
    width: 100%;
    max-width: 380px
}

.webinar-search-wrap .form-control {
    padding-left: 40px;
    border-radius: 50px;
    font-size: .9rem;
    height: 44px;
    border: 1.5px solid #e5e7eb;
    background: #fff;
    transition: all .2s
}

.webinar-search-wrap .form-control:focus {
    border-color: var(--accent-orange, #F4A631);
    box-shadow: 0 0 0 3px rgba(244, 166, 49, .12)
}

.webinar-search-wrap .search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: .9rem;
    pointer-events: none
}

.past-filter-btn {
    background: #fff;
    border: 1.5px solid #e5e7eb;
    border-radius: 50px;
    padding: 6px 18px;
    font-size: .82rem;
    font-weight: 600;
    color: #6b7280;
    transition: all .2s;
    margin-right: 6px;
    margin-bottom: 6px;
    cursor: pointer
}

.past-filter-btn.active,
.past-filter-btn:hover {
    background: var(--science-blue, #003B7A);
    color: #fff;
    border-color: var(--science-blue, #003B7A)
}

.search-empty {
    text-align: center;
    padding: 3rem 1rem;
    color: #9ca3af
}

.search-empty i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #d1d5db
}

.search-empty p {
    font-size: 1rem;
    margin: 0
}

.wb-join-title {
    font-weight: 700;
    font-size: 1.8rem;
    margin-bottom: 1rem
}

.join-steps {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 2rem
}

.join-step {
    flex: 1;
    min-width: 200px;
    text-align: center;
    padding: 1.5rem 1rem;
    background: #f9fafc;
    border: 1px solid #e3e3e3;
    border-radius: 16px;
    transition: all .3s
}

.join-step:hover {
    background: #fff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .06)
}

.join-step .step-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #003B7A, #1a5bb0);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1rem
}

.join-step h6 {
    font-weight: 700
}

.join-step p {
    font-size: .85rem;
    color: #6b7280;
    margin: 0
}

.wb-when-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .6rem 1rem;
    margin-bottom: 1rem
}

.wb-when-date {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    border-radius: 50px;
    background: #eef3fb;
    color: var(--science-blue, #003B7A);
    font-size: .95rem;
    font-weight: 700
}

.wb-when-date i {
    color: var(--accent-orange, #F4A631)
}

.wb-dur {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .85rem;
    font-weight: 600;
    color: #6b7280
}

.wb-presenter {
    display: flex;
    align-items: center;
    gap: 14px
}

.wb-photo {
    position: relative;
    width: 58px;
    height: 58px;
    flex-shrink: 0;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--science-blue, #003B7A);
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: .5px;
    margin: 0 4px
}

.wb-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top
}

.wb-presenter-info small {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #1f2937;
    margin-bottom: 2px
}

.wb-presenter-info strong {
    display: block;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--dark-gray, #1f2937);
    line-height: 1.2
}

@media (max-width:991.98px) {
    .wb-row .wb-thumb {
        flex-basis: 260px;
        max-width: 260px
    }
}

@media (max-width:767.98px) {
    .wb-row {
        flex-direction: column
    }

    .wb-row .wb-thumb {
        flex: none;
        max-width: none;
        min-height: 0;
        aspect-ratio: 860/400
    }

    .wb-row .wb-body {
        padding: 1.25rem
    }

    .webinar-search-wrap {
        max-width: none
    }

    .webinar-group-head h2 {
        font-size: 1.6rem
    }
}

/* WEBINAR DETAIL PAGE*/

.wbd-page .webinar-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px
}

.wbd-page .badge-upcoming {
    background: var(--accent-orange, #F4A631);
    color: #fff
}

.wbd-page .badge-recorded {
    background: var(--medium-gray, #6b7280);
    color: #fff
}

.wbd-page .detail-card {
    background: var(--apple-card-bg, #fff);
    border-radius: var(--border-radius, 16px);
    box-shadow: var(--apple-card-shadow, 0 4px 20px rgba(0, 0, 0, .06));
    border: 1px solid rgba(0, 0, 0, .04);
    overflow: hidden;
    padding: 2rem
}

.wbd-page .join-form-card {
    background: #fff;
    border-radius: var(--border-radius, 16px);
    box-shadow: var(--box-shadow, 0 8px 30px rgba(0, 0, 0, .08));
    padding: 2rem;
    border-top: 5px solid var(--accent-orange, #F4A631)
}

.wbd-page .form-label {
    font-weight: 600;
    font-size: .9rem;
    color: var(--dark-gray, #1f2937)
}

.wbd-page .form-control,
.wbd-page .form-select {
    border-radius: 10px;
    border: 1px solid var(--border-gray, #e5e7eb);
    padding: 12px 18px;
    font-size: .95rem
}

.wbd-page .form-control:focus,
.wbd-page .form-select:focus {
    border-color: var(--accent-orange, #F4A631);
    box-shadow: 0 0 0 .2rem rgba(244, 166, 49, .15)
}

.wbd-page .btn-join {
    background: var(--gradient-orange, linear-gradient(135deg, #F4A631, #ff6b35));
    color: #fff;
    border: none;
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: 700;
    transition: all .3s;
    width: 100%
}

.wbd-page .btn-join:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, .35);
    color: #fff
}

.wbd-page .btn-join:disabled {
    opacity: .7;
    transform: none;
    box-shadow: none
}

.wbd-page .banner-small {
    margin: -2rem -2rem 1.5rem;
    aspect-ratio: 1756/500;
    overflow: hidden;
    background: linear-gradient(145deg, #e8eef7, #f8fafd);
}

.wbd-page .banner-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block
}

.wbd-page .event-title {
    font-weight: 800;
    font-size: 2rem;
    line-height: 1.2;
    color: var(--dark-gray, #1f2937);
    margin: 1.75rem 0 .75rem
}

.wbd-page .event-lead {
    color: #6b7280;
    font-size: 1.02rem;
    margin: 0 0 1.5rem;
    line-height: 1.6
}

.wbd-page .event-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .75rem
}

.wbd-page .event-datetime {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .5rem
}

.wbd-page .event-datetime-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: #fff;
    border: 1px solid #bdd2fd;
    border-radius: 50px;
    font-size: .9rem;
    font-weight: 800;
    color: var(--dark-gray, #1f2937);
    white-space: nowrap
}

.wbd-page .event-datetime-item i {
    color: var(--accent-orange, #F4A631)
}

.wbd-page .initials {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: var(--science-blue, #003B7A);
    background: linear-gradient(145deg, #f0f4fa, #dfe8f5)
}

.wbd-page .people-group-label {
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #6b7280;
    margin: 0 0 .9rem;
    display: flex;
    align-items: center;
    gap: 10px
}

.wbd-page .people-group-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e5e7eb
}

.wbd-page .people-group+.people-group {
    margin-top: 1.75rem
}

.wbd-page .person-card {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    height: 100%;
    padding: 1.25rem;
    border-radius: 16px;
    background: #f9fafc;
    border: 1px solid #eef1f6;
    transition: all .3s ease
}

.wbd-page .person-card:hover {
    background: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .07)
}

.wbd-page .person-photo {
    width: 96px;
    height: 96px;
    flex-shrink: 0;
    border-radius: 50%;
    overflow: hidden
}

.wbd-page .person-photo img,
.wbd-page .person-photo .initials {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: flex;
    font-size: 1.8rem
}

.wbd-page .person-role {
    display: inline-block;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 3px 12px;
    border-radius: 50px;
    background: var(--accent-orange, #F4A631);
    color: #fff;
    margin-bottom: 6px
}

.wbd-page .person-card.is-host .person-role {
    background: #3d8bff
}

.wbd-page .person-info h5 {
    font-weight: 800;
    font-size: 1.15rem;
    margin: 0 0 2px;
    color: var(--dark-gray, #1f2937)
}

.wbd-page .person-info .person-title {
    color: var(--science-blue, #003B7A);
    font-weight: 700;
    font-size: .88rem;
    margin-bottom: .5rem
}

.wbd-page .person-info p {
    font-size: .88rem;
    color: var(--apple-gray, #6b7280);
    margin: 0;
    line-height: 1.55
}

.wbd-page .person-info a.person-link {
    display: inline-block;
    margin-top: .6rem;
    font-size: .82rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--science-blue, #003B7A)
}

.wbd-page .person-info a.person-link:hover {
    color: var(--accent-orange, #F4A631)
}

.wbd-page .related-webinar-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, .06);
    transition: all .3s ease;
    border: 1px solid rgba(0, 0, 0, .04);
    overflow: hidden;
    display: flex;
    gap: 1rem;
    padding: 1rem;
    align-items: center
}

.wbd-page .related-webinar-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, .1)
}

.wbd-page .related-webinar-icon {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    background: linear-gradient(145deg, #f0f4fa, #e8edf5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--science-blue, #003B7A);
    flex-shrink: 0;
    overflow: hidden
}

.wbd-page .related-webinar-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block
}

.wbd-page .related-webinar-info h6 {
    font-weight: 700;
    margin: 0 0 2px;
    font-size: .9rem;
    color: var(--dark-gray, #1f2937)
}

.wbd-page .related-webinar-info small {
    color: var(--apple-gray, #6b7280);
    font-size: .78rem
}

.wbd-page .sticky-sidebar {
    position: sticky;
    top: 100px;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    overflow-x: hidden;
    padding: 4px 8px 4px 4px;
    margin-right: -8px;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: #d2d2d2 transparent
}

.wbd-page .sticky-sidebar::-webkit-scrollbar {
    width: 6px
}

.wbd-page .sticky-sidebar::-webkit-scrollbar-track {
    background: transparent
}

.wbd-page .sticky-sidebar::-webkit-scrollbar-thumb {
    background: var(--accent-orange, #F4A631);
    border-radius: 3px
}

.wbd-page .share-buttons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f0f0f0;
    color: var(--dark-gray, #1f2937);
    margin-right: 8px;
    transition: all .2s
}

.wbd-page .share-buttons a:hover {
    background: var(--accent-orange, #F4A631);
    color: #fff;
    transform: translateY(-2px)
}

.wbd-page .recaptcha-disclaimer {
    font-size: .72rem;
    color: #9ca3af;
    margin-top: .75rem;
    text-align: center;
    line-height: 1.4
}

.wbd-page .recaptcha-disclaimer a {
    color: var(--science-blue, #003B7A);
    text-decoration: none
}

.wbd-page .recaptcha-disclaimer a:hover {
    text-decoration: underline
}

.wbd-page #join-form,
.wbd-page #people {
    scroll-margin-top: 100px
}

@media (max-width:991.98px) {
    .wbd-page .sticky-sidebar {
        position: static;
        max-height: none;
        overflow: visible;
        padding: 0;
        margin-right: 0
    }
}

@media (max-width:767.98px) {
    .wbd-page .detail-card {
        padding: 1.5rem
    }

    .wbd-page .banner-small {
        margin: .5rem -1.5rem 1.25rem;
        aspect-ratio: 1756/500
    }

    .wbd-page .event-title {
        font-size: 1.6rem
    }

    .wbd-page .person-card {
        flex-direction: column
    }
}

@media (max-width:575.98px) {
    .wbd-page .event-topbar {
        flex-direction: column;
        align-items: flex-start
    }
}

/* ===== PAST WEBINAR (extends .wbd-page) ===== */
.wbd-page #video-player,
.wbd-page #reviews {
    scroll-margin-top: 100px
}

.wbd-page .video-frame {
    position: relative;
    margin: -2rem -2rem 1.5rem;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: linear-gradient(145deg, #0b1b3a, #1a3a6e);
    cursor: pointer
}

.wbd-page .video-frame.is-playing {
    cursor: default
}

.wbd-page .video-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block
}

.wbd-page .video-thumb {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s ease
}

.wbd-page .video-frame:hover .video-thumb {
    transform: scale(1.03)
}

.wbd-page .video-frame::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .05) 45%, rgba(0, 0, 0, .15) 100%);
    pointer-events: none
}

.wbd-page .video-frame.is-playing::after {
    display: none
}

.wbd-page .video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 88px;
    height: 88px;
    border: 0;
    border-radius: 50%;
    background: var(--gradient-orange, linear-gradient(135deg, #F4A631, #ff6b35));
    color: #fff;
    font-size: 1.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 6px;
    z-index: 2;
    box-shadow: 0 10px 35px rgba(0, 0, 0, .45);
    transition: transform .25s ease;
    animation: wbdPlayPulse 2.4s infinite
}

.wbd-page .video-frame:hover .video-play {
    transform: translate(-50%, -50%) scale(1.1)
}

@keyframes wbdPlayPulse {
    0% {
        box-shadow: 0 10px 35px rgba(0, 0, 0, .45), 0 0 0 0 rgba(255, 107, 53, .55)
    }

    70% {
        box-shadow: 0 10px 35px rgba(0, 0, 0, .45), 0 0 0 22px rgba(255, 107, 53, 0)
    }

    100% {
        box-shadow: 0 10px 35px rgba(0, 0, 0, .45), 0 0 0 0 rgba(255, 107, 53, 0)
    }
}

.wbd-page .video-label {
    position: absolute;
    left: 18px;
    bottom: 16px;
    z-index: 2;
    color: #fff;
    font-weight: 700;
    font-size: .95rem;
    display: flex;
    align-items: center;
    gap: 8px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, .5)
}

.wbd-page .video-duration {
    position: absolute;
    right: 16px;
    bottom: 16px;
    z-index: 2;
    background: rgba(0, 0, 0, .75);
    color: #fff;
    font-size: .8rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 6px
}

.wbd-page .event-rating-line {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: .5rem;
    font-size: .92rem;
    color: #6b7280;
    font-weight: 600
}

.wbd-page .event-rating-line strong {
    color: var(--dark-gray, #1f2937);
    font-size: 1.05rem
}

.wbd-page .event-rating-line a {
    color: var(--science-blue, #003B7A);
    font-weight: 700;
    text-decoration: none
}

.wbd-page .event-rating-line a:hover {
    color: var(--accent-orange, #F4A631)
}

.wbd-page .stars {
    color: #f5a623;
    letter-spacing: 2px;
    white-space: nowrap
}

.wbd-page .btn-event-secondary {
    background: #fff;
    color: var(--science-blue, #003B7A);
    border: 2px solid var(--science-blue, #003B7A);
    border-radius: 50px;
    font-weight: 700;
    font-size: 15px;
    padding: 10px 26px;
    transition: all .3s;
    text-align: center;
    text-decoration: none;
    display: inline-block
}

.wbd-page .btn-event-secondary:hover {
    background: var(--science-blue, #003B7A);
    color: #fff
}

.wbd-page .rating-summary {
    display: flex;
    gap: 2rem;
    align-items: center;
    flex-wrap: wrap;
    padding: 1.5rem;
    background: #f9fafc;
    border: 1px solid #eef1f6;
    border-radius: 16px;
    margin-bottom: 1.5rem
}

.wbd-page .rating-big {
    text-align: center;
    min-width: 140px
}

.wbd-page .rating-big .num {
    font-size: 3.4rem;
    font-weight: 800;
    line-height: 1;
    color: var(--science-blue, #003B7A);
    font-family: 'Sora', sans-serif
}

.wbd-page .rating-big .stars {
    display: block;
    font-size: 1.1rem;
    margin: 6px 0 4px
}

.wbd-page .rating-big small {
    color: #6b7280;
    font-weight: 600
}

.wbd-page .rating-bars {
    flex: 1;
    min-width: 220px
}

.wbd-page .rating-bar-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .85rem;
    font-weight: 700;
    color: #4b5563;
    margin-bottom: 6px
}

.wbd-page .rating-bar-row:last-child {
    margin-bottom: 0
}

.wbd-page .rating-bar-row .lbl {
    width: 34px;
    white-space: nowrap
}

.wbd-page .rating-bar-row .lbl i {
    color: #f5a623;
    font-size: .75rem
}

.wbd-page .rating-bar-track {
    flex: 1;
    height: 8px;
    background: #e5e7eb;
    border-radius: 50px;
    overflow: hidden
}

.wbd-page .rating-bar-fill {
    height: 100%;
    background: var(--gradient-orange, linear-gradient(90deg, #f4a631, #ff6b35));
    border-radius: 50px;
    width: 0;
    transition: width .8s ease
}

.wbd-page .rating-bar-row .cnt {
    width: 24px;
    text-align: right;
    color: #6b7280
}

.wbd-page .review-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 1.25rem
}

.wbd-page .review-filter-btn {
    background: #fff;
    border: 1.5px solid #e5e7eb;
    border-radius: 50px;
    padding: 6px 18px;
    font-size: .82rem;
    font-weight: 700;
    color: #6b7280;
    transition: all .2s;
    cursor: pointer
}

.wbd-page .review-filter-btn.active,
.wbd-page .review-filter-btn:hover {
    background: var(--science-blue, #003B7A);
    color: #fff;
    border-color: var(--science-blue, #003B7A)
}

.wbd-page .review-item {
    display: flex;
    gap: 1rem;
    padding: 1.25rem 0;
    border-bottom: 1px solid #eef1f6
}

.wbd-page .review-item:last-child {
    border-bottom: 0
}

.wbd-page .review-avatar {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, #003B7A, #1a5bb0);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: .95rem
}

.wbd-page .review-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 4px 12px;
    margin-bottom: 2px
}

.wbd-page .review-name {
    font-weight: 800;
    font-size: .98rem;
    color: var(--dark-gray, #1f2937)
}

.wbd-page .review-date {
    font-size: .78rem;
    color: #9ca3af;
    font-weight: 600
}

.wbd-page .review-role {
    font-size: .8rem;
    color: var(--science-blue, #003B7A);
    font-weight: 600;
    margin-bottom: 4px
}

.wbd-page .review-item .stars {
    font-size: .85rem;
    margin-bottom: 6px;
    display: block
}

.wbd-page .review-text {
    font-size: .92rem;
    color: #4b5563;
    line-height: 1.6;
    margin: 0
}

.wbd-page .reviews-empty {
    text-align: center;
    color: #9ca3af;
    padding: 2rem 1rem
}

@media (max-width:767.98px) {
    .wbd-page .video-frame {
        margin: .5rem -1.5rem 1.25rem
    }

    .wbd-page .video-play {
        width: 68px;
        height: 68px;
        font-size: 1.5rem
    }

    .wbd-page .video-label {
        font-size: .82rem;
        left: 12px;
        bottom: 12px
    }

    .wbd-page .rating-summary {
        gap: 1.25rem
    }
}

/* ===== Overrides for clashes with global style.css / bootstrap.css ===== */
.webinar-group .wb-btn {
    padding: 9px 22px;
    border-radius: 50px;
    font-size: .9rem
}

.wbd-page .stars {
    margin-right: 0
}

.wbd-page .rating-summary {
    margin-right: 0 !important
}

#webinars,
#join-form {
    margin-bottom: 0
}

.webinar-group-head h2,
.wbd-page h2 {
    padding-bottom: 0
}

.hero-title,
.webinar-group-head h2,
.wb-title,
.wb-join-title,
.wbd-page h1,
.wbd-page h2,
.wbd-page h3,
.wbd-page h5 {
    font-family: sans-serif;
}

.webinar-about .table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 1.5rem;
}

.webinar-about table {
    min-width: 600px;
    border-collapse: collapse;
}

.webinar-about table th,
.webinar-about table td {
    border: 1px solid #dee2e6;
    padding: 0.5rem 0.75rem;
}

.webinar-about img {
    max-width: 100%;
    height: auto;
}

#webinars.section {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
}

#join-form.section {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
}