/* =========================================================
   BOILING POINT ARENA VIDEO SECTION
   ========================================================= */

.bp-video-section {
    width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.bp-video-section *,
.bp-video-section *::before,
.bp-video-section *::after {
    box-sizing: border-box;
}


/* ---------------------------------------------------------
   CONTAINER
   --------------------------------------------------------- */

.bp-video-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}


/* ---------------------------------------------------------
   MAIN GRID
   --------------------------------------------------------- */

.bp-video-grid {
    display: grid;
    grid-template-columns: minmax(0, 2.15fr) minmax(320px, 1fr);
    gap: 24px;
    width: 100%;
    align-items: stretch;
}


/* ---------------------------------------------------------
   FEATURED VIDEO
   --------------------------------------------------------- */

.bp-featured-column {
    min-width: 0;
}

.bp-featured-video {
    width: 100%;
    margin: 0;
    padding: 0;
}

.bp-main-video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    overflow: hidden;
}

.bp-main-video-wrapper iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
}

.bp-video-section .bp-featured-title {
    color: #ffffff !important;
}

/* ---------------------------------------------------------
   FEATURED VIDEO TITLE
   --------------------------------------------------------- */

.bp-featured-title {
    margin: 14px 0 0;
    padding: 0;

    color: #ffffff;

    font-size: 22px;
    line-height: 1.35;
    font-weight: 700;
}


/* ---------------------------------------------------------
   RIGHT VIDEO SIDEBAR
   --------------------------------------------------------- */

.bp-sidebar-column {
    min-width: 0;

    /*
     * Match the height of the 16:9 main video.
     * The sidebar scrolls inside this area.
     */
    height: 100%;
    max-height: none;

    overflow-y: auto;
    overflow-x: hidden;

    padding-right: 8px;
}


/* ---------------------------------------------------------
   SIDEBAR SCROLLBAR
   --------------------------------------------------------- */

.bp-sidebar-column::-webkit-scrollbar {
    width: 6px;
}

.bp-sidebar-column::-webkit-scrollbar-track {
    background: transparent;
}

.bp-sidebar-column::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.35);
    border-radius: 10px;
}

.bp-sidebar-column {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.35) transparent;
}


/* ---------------------------------------------------------
   SMALL VIDEO ITEM
   --------------------------------------------------------- */

.bp-small-video {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 14px;

    width: 100%;
    margin: 0 0 14px;
    padding: 0 0 14px;

    border-bottom: 1px solid rgba(255, 255, 255, 0.22);

    cursor: pointer;

    transition:
        opacity 0.2s ease,
        background-color 0.2s ease;
}


/* ---------------------------------------------------------
   THUMBNAIL
   --------------------------------------------------------- */

.bp-thumbnail-wrapper {
    position: relative;
    width: 110px;
    height: 68px;

    overflow: hidden;
    background: #222;
}

.bp-thumbnail-wrapper img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition: transform 0.25s ease;
}


/* ---------------------------------------------------------
   PLAY BUTTON
   --------------------------------------------------------- */

.bp-play-button {
    position: absolute;

    left: 8px;
    bottom: 7px;

    width: 24px;
    height: 24px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(0, 0, 0, 0.78);
    color: #fff;

    border-radius: 50%;

    font-size: 10px;
    line-height: 1;

    pointer-events: none;
}

.bp-play-button span {
    display: block;
    transform: translateX(1px);
}


/* ---------------------------------------------------------
   SMALL VIDEO INFORMATION
   --------------------------------------------------------- */

.bp-video-section .bp-small-video-info h3 {
    margin: 0 !important;
    padding: 0 !important;

    color: #ffffff !important;

    font-size: 15px !important;
    line-height: 1.3 !important;
    font-weight: 600 !important;

    overflow-wrap: break-word;
}


/* ---------------------------------------------------------
   PROTECT AGAINST ELEMENTOR / JNEWS LINK STYLING
   --------------------------------------------------------- */

.bp-video-section a,
.bp-video-section a:hover,
.bp-video-section a:focus,
.bp-video-section a:visited {
    color: inherit;
    text-decoration: none;
}


/* ---------------------------------------------------------
   HOVER
   --------------------------------------------------------- */

.bp-small-video:hover {
    opacity: 0.88;
}

.bp-small-video:hover .bp-thumbnail-wrapper img {
    transform: scale(1.04);
}


/* ---------------------------------------------------------
   ACTIVE VIDEO
   --------------------------------------------------------- */

.bp-small-video.bp-active-video {
    opacity: 1;
}

.bp-small-video.bp-active-video .bp-thumbnail-wrapper {
    outline: 3px solid #ffffff;
    outline-offset: -3px;
}


/* ---------------------------------------------------------
   TABLET
   --------------------------------------------------------- */

@media (max-width: 991px) {

    .bp-video-grid {
        grid-template-columns: minmax(0, 1.7fr) minmax(270px, 1fr);
        gap: 18px;
    }

    .bp-sidebar-column {
        max-height: 480px;
    }

    .bp-small-video {
        grid-template-columns: 90px minmax(0, 1fr);
        gap: 10px;

        padding-bottom: 12px;
        margin-bottom: 12px;
    }

    .bp-thumbnail-wrapper {
        width: 90px;
        height: 58px;
    }

    .bp-small-video-info h3 {
        font-size: 13px;
    }

    .bp-featured-title {
        font-size: 19px;
    }
}


/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */

@media (max-width: 767px) {

    .bp-video-grid {
        display: block;
    }

    .bp-featured-title {
        font-size: 19px;
        margin-top: 12px;
        margin-bottom: 20px;
    }

    .bp-sidebar-column {
        width: 100%;
        height: auto;
        max-height: none;

        overflow: visible;

        padding-right: 0;
    }

    .bp-small-video {
        grid-template-columns: 105px minmax(0, 1fr);
        gap: 12px;

        padding-bottom: 12px;
        margin-bottom: 12px;
    }

    .bp-thumbnail-wrapper {
        width: 105px;
        height: 66px;
    }

    .bp-small-video-info h3 {
        font-size: 14px;
        line-height: 1.35;
    }
}


/* ---------------------------------------------------------
   SMALL MOBILE
   --------------------------------------------------------- */

@media (max-width: 480px) {

    .bp-small-video {
        grid-template-columns: 95px minmax(0, 1fr);
        gap: 10px;
    }

    .bp-thumbnail-wrapper {
        width: 95px;
        height: 60px;
    }

    .bp-small-video-info h3 {
        font-size: 13px;
    }
}