.offcanvas{
    opacity: 0.95;    
    }
/* =========================================================
   SCOTT PRICE MEDIA
   UNIVERSAL VIDEO GALLERY
========================================================= */

.spm-video-gallery {
    background: var(--bs-body-bg);
    color: var(--bs-body);
}
/* =========================================================
   SECTION HEADER
========================================================= */
.spm-section-kicker {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    opacity: 0.65;
}
/* =========================================================
   VIDEO CARD
========================================================= */
.spm-video-card {
    background:
        rgba(255,255,255,0.045);
    border:
        1px solid rgba(255,255,255,0.08);
    border-radius:
        1rem;
    overflow:
        hidden;
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}
.spm-video-card:hover {
    transform:
        translateY(-6px);
    border-color:
        rgba(255,255,255,0.18);
    box-shadow:
        0 20px 50px rgba(0,0,0,0.4);
}
/* =========================================================
   THUMBNAIL
========================================================= */
.spm-video-thumbnail {
    position:
        relative;
    width:
        100%;
    aspect-ratio:
        16 / 9;
    overflow:
        hidden;
    background:
        #111;
}
.spm-video-thumbnail img {
    width:
        100%;
    height:
        100%;
    object-fit:
        cover;
    display:
        block;
    transition:
        transform 0.65s cubic-bezier(.2,.7,.2,1);
}
.spm-video-card:hover
.spm-video-thumbnail img {
    transform:
        scale(1.10);
}
/* =========================================================
   THUMBNAIL OVERLAY
========================================================= */
.spm-thumbnail-overlay {
    position:
        absolute;
    inset:
        0;
    background:
        linear-gradient(
            to bottom,
            rgba(0,0,0,0.05),
            rgba(0,0,0,0.55)
        );
    transition:
        opacity 0.35s ease;
}
.spm-video-card:hover
.spm-thumbnail-overlay {
    opacity:
        0.9;
}
/* =========================================================
   PLAY BUTTON
========================================================= */
.spm-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 76px;
    height: 76px;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.96);
    color: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    box-shadow: 0 10px 35px rgba(0,0,0,0.5);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        background 0.3s ease;
}
.spm-play-button:hover {
    transform:
        translate(-50%, -50%)
        scale(1.13);
    background: #fff;
    box-shadow: 0 15px 45px rgba(0,0,0,0.65);
}
.spm-play-icon {
    font-size:
        2.0rem;
    line-height: 1;
    margin-left: 4px;
}
/* =========================================================
   VIDEO INFORMATION
========================================================= */

.spm-video-info {
    padding:
        1.35rem 1.4rem 1.5rem;
}
.spm-video-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--bs-body)!important;
    margin-bottom: 0.55rem;
}
.spm-video-description {
    margin: 0;
    color: var(--bs-body)!important;
    font-size: 0.95rem;
    line-height: 1.65;
}
/* =========================================================
   FULL-SCREEN PLAYER
========================================================= */
.spm-video-modal {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: rgba(0,0,0,0.90);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.spm-video-modal.active {
    opacity: 1;
    visibility: visible;
}
/* =========================================================
   MODAL INNER
========================================================= */
.spm-video-modal-inner {
    position: relative;
    width: min(1200px, 95vw);
    transform: scale(0.94);
    transition: transform 0.35s ease;
}
.spm-video-modal.active
.spm-video-modal-inner {
    transform: scale(1);
}
/* =========================================================
   PLAYER CONTAINER
========================================================= */
.spm-player-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 30px 100px rgba(0,0,0,0.75);
}

/* IFRAME */
.spm-player-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}
/* MP4 VIDEO */
.spm-player-container video {
    width: 100%;
    height: 100%;
    display: block;
    background: #000;
}
/* =========================================================
   TITLE
========================================================= */
.spm-modal-title {
    color: #fff;
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}
/* =========================================================
   CLOSE BUTTON
========================================================= */
.spm-video-close {
    position: fixed;
    top: 25px;
    right: 30px;
    width: 48px;
    height: 48px; 
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    background: rgba(0,0,0,0.65);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 100001;
    font-size: 1.1rem;
    transition: background 0.25s ease, transform 0.25s ease;
}
.spm-video-close:hover {
    background: rgba(255,255,255,0.15);
    transform: rotate(90deg);
}

/* =========================================================
   TABLET
========================================================= */
@media (max-width: 991.98px) {
    .spm-video-modal {
        padding:
            1.5rem;
    }
}
/* =========================================================
   MOBILE
========================================================= */
@media (max-width: 767.98px) {
    .spm-video-gallery {
        padding-left:
            0.75rem;
        padding-right:
            0.75rem;
    }
    .spm-play-button {
        width: 62px;
        height: 62px;
    }
    .spm-play-icon {
        font-size: 1.7rem;
    }
    .spm-video-modal {
        padding: 1rem;
    }
    .spm-video-close {
        top: 15px;
        right: 15px;
        width: 42px;
        height: 42px;
    }
    .spm-modal-title {
        font-size: 1rem;
    }
}
