/*==============================================================
    Video Banner
==============================================================*/

.spyx-video-banner {
    padding: 0 0 100px;
    background: #000;
}

.video-banner {
    display: grid;
    grid-template-columns: 30% 70%;
    align-items: stretch;

    background: #0b0b0b;

    border: 1px solid rgba(255,255,255,.08);
    border-radius: 18px;

    overflow: hidden;

    box-shadow:
        0 15px 40px rgba(0,0,0,.45),
        inset 0 0 0 1px rgba(255,255,255,.03);
}

/*==============================================================
    Left Content
==============================================================*/

.video-content {
    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 38px 34px;

    background:
        radial-gradient(circle at top left,
        rgba(215,25,32,.08),
        transparent 45%),
        #0b0b0b;
}

.video-title {
    margin: 0;
    font-family: 'Oswald', sans-serif;
    font-size: 48px;
    text-transform: uppercase;
}

.video-title .white {
    display: block;
    background: transparent;

    color: #ffffff !important;
}

.video-title .red {
    display: block;
    color: #d71920;
}

.video-description {
    margin: 22px 0 34px;

    color: #d3d3d3;

    font-size: 18px;
    line-height: 1.7;

    max-width: 300px;
}

/*==============================================================
    Button
==============================================================*/

.video-btn, .video-btn:link, .video-btn:visited
 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    width: fit-content;
    padding: 16px 28px;
    border: 2px solid #d71920;
    border-radius: 6px;
    background: transparent;
    color: #ffffff !important;
    text-decoration: none !important;
    text-transform: uppercase;
    font-family: 'Oswald', sans-serif;
    font-size: 20px;
    transition: .3s ease;
}

.video-btn i {
    color: #d71920 !important;
    font-size: 22px;

    transition: .3s ease;
}

.video-btn:hover,
.video-btn:focus,
.video-btn:active {
    background: #d71920 !important;
    color: #ffffff !important;
    border-color: #d71920 !important;
    text-decoration: none !important;
}

.video-btn:hover i {
    background: transparent;

    color: #ffffff !important;
}

/*==============================================================
    Image
==============================================================*/

.video-preview {
    position: relative;
    overflow: hidden;
}

.video-preview img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center center;

    display: block;

    transition: transform .5s ease;
}

.video-banner:hover .video-preview img {
    transform: scale(1.04);
}

.video-preview::before {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            to right,
            rgba(0,0,0,.10),
            rgba(0,0,0,.30)
        );

    z-index: 1;
}

.video-preview::after {
    content: "● REC";

    position: absolute;

    top: 18px;
    right: 22px;

    background: transparent;

    color: #ffffff !important;

    font-family: "Barlow Condensed", sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;

    z-index: 4;
}

/*==============================================================
    Play Button
==============================================================*/

.video-preview #spyx-video-play,
.video-preview #spyx-video-play,
.video-play {
    position: absolute;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    width: 96px;
    height: 96px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0 !important;

    border: 2px solid rgba(255,255,255,.85) !important;
    border-radius: 50% !important;

    background: rgba(190,20,20,.78) !important;

    color: #ffffff !important;

    font-size: 0;

    cursor: pointer;

    box-shadow:
        0 0 25px rgba(255,40,40,.45),
        inset 0 1px 2px rgba(255,255,255,.25);

    transition: all .35s ease;

    z-index: 5;
}

#spyx-video-play:hover,
.video-play:hover {
    transform: translate(-50%, -50%) scale(1.08);

    background: rgba(210, 30, 30, .9);

    box-shadow:
        0 0 35px rgba(255, 40, 40, .65),
        inset 0 1px 3px rgba(255,255,255,.35);
}

.video-preview #spyx-video-play i,
.video-preview .video-play i {
    color: #ffffff !important;

    font-size: 40px;

    margin: 0 !important;

    line-height: 1;
}

#spyx-video-play:hover i,
.video-play:hover i {
    color: #ffffff !important;
}

/*==============================================================
    Video Popup
==============================================================*/

.spyx-video-modal {
    position: fixed;
    inset: 0;

    display: none;

    z-index: 99999;
}

.spyx-video-modal.active {
    display: block;
}

.spyx-video-overlay {
    position: absolute;
    inset: 0;

    background: rgba(0, 0, 0, .85);

    backdrop-filter: blur(4px);
}

.spyx-video-popup {
    position: absolute;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    width: min(1100px, 92vw);

    aspect-ratio: 16 / 9;

    background: #000;

    border-radius: 16px;

    overflow: hidden;

    box-shadow: 0 25px 80px rgba(0,0,0,.65);
}

.spyx-video-frame,
.spyx-video-frame iframe {
    width: 100%;
    height: 100%;
}

.spyx-video-close {
    position: absolute;

    top: 16px;
    right: 16px;

    width: 46px;
    height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: none !important;
    border-radius: 50%;

    background: #d71920 !important;

    color: #fff !important;

    font-size: 30px;
    line-height: 1;

    cursor: pointer;

    transition: .3s ease;

    z-index: 10;
}

.spyx-video-close:hover,
.spyx-video-close:focus,
.spyx-video-close:active {
    background: #ffffff !important;
    color: #d71920 !important;
}

/*==============================================================
    Tablet
==============================================================*/

@media (max-width: 1024px) {

    .video-banner {
        grid-template-columns: 1fr;
        height: auto;
    }

    .video-content {
        padding: 40px 32px;
        order: 1;
    }

    .video-preview {
        order: 2;
        height: 420px;
    }

    .video-title {
        font-size: 54px;
    }

    .video-description {
        max-width: 100%;
    }

    #spyx-video-play,
.video-play {
        width: 110px;
        height: 110px;
    }

    .video-play i {
        font-size: 42px;
    }
}

/*==============================================================
    Mobile
==============================================================*/

@media (max-width: 767px) {

    .spyx-video-banner {
        padding-bottom: 0px;
                padding-top: 40px;
    }

    .video-banner {
        border-radius: 14px;
    }

    .video-content {
        padding: 32px 24px;
    }

    .video-title {
        font-size: 42px;
    }

    .video-description {
        margin: 18px 0 28px;

        font-size: 16px;
        line-height: 1.6;
    }

    .video-btn,
.video-btn:link,
.video-btn:visited {
        width: 100%;
        justify-content: center;

        font-size: 18px;

        padding: 14px 20px;
    }

    .video-preview {
        height: 260px;
    }

    .video-preview::after {
        top: 14px;
        right: 16px;

        font-size: 11px;
    }

    #spyx-video-play,
.video-play {
        width: 82px;
        height: 82px;
    }

    .video-play i {
        font-size: 30px;
        margin-left: 4px;
    }

    .spyx-video-popup {
        width: 95vw;
        border-radius: 12px;
    }

    .spyx-video-close {
        width: 40px;
        height: 40px;

        font-size: 24px;

        top: 10px;
        right: 10px;
    }
}