header, footer, .cover-popup, .newsletter-section, .region-footer {
    display: none !important;
}

body {
    margin: 0;
    padding: 0;
    background: #212121;
    overflow: hidden;
}

.block {
    display: block;
    margin: 0 !important;
    padding: 0 !important;
}

.reels-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.reels-container::-webkit-scrollbar {
    display: none;
}

.video-reel {
    width: 100%;
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #212121;
    padding: 0;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    transition: opacity 0.3s ease;
}

.video-wrapper {
    position: relative;
    width: 100%;
    height: 100vh;
    max-width: 390px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vimeo-player {
    width: 100%;
    height: 100%;
    background: #212121;
    border-radius: 0;
    overflow: hidden;
    position: relative;
}

.vimeo-player iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 0;
}

.video-info {
    position: absolute;
    bottom: 25px;
    left: 420px;
    width: 260px;
}

.video-overlay {

    position: absolute;
    bottom: 7%;
    left: -2%;
    right: 0;
    padding: 0px;
    color: white;
    z-index: 10;

}

.video-info h1 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    margin-top: 0;
}

.video-info p {
    color: #FFB800;
    font-size: 12px;
    font-weight: 500;
}

.video-info h1 a {
    color: #fff;
}

.video-info img {
    max-width: 100%;
    display: block;
    margin-bottom: 20px;
    height: auto;
    max-height: 150px;
    object-fit: cover;
    border-radius: 4px;
}

.video-info a {
    color: #2a65ff;
    display: block;
    text-decoration: none;
}

.video-info a:hover {
    color: #fff;
}

.video-opt {
    position: absolute;
    bottom: 18px;
    left: -72px;
}

/* ── Like button: circular reels-style ── */
.video-opt .flag {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.video-opt .flag a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: none !important;
    box-shadow: none !important;
    background: rgba(255,255,255,0.15) !important;
    padding: 0 !important;
    position: relative;
    overflow: visible;
}
/* Unliked: white icon */
.video-opt .flag.action-flag .thumbs-up-icon {
    width: 28px;
    height: 28px;
    margin: 0;
    flex-shrink: 0;
    filter: brightness(0) invert(1) !important;
}
/* Liked: active image */
.video-opt .flag.action-unflag .thumbs-up-icon {
    width: 28px;
    height: 28px;
    margin: 0;
    flex-shrink: 0;
    background-image: url('../../../../sites/default/files/media/wp/2025/09/post-like-active.png') !important;
    filter: none !important;
}
/* Count display: absolutely positioned below the circle */
.video-opt .flag a .like-count-display {
    position: absolute !important;
    top: calc(100% + 6px) !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    color: #fff !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    white-space: nowrap;
    line-height: 1;
    min-width: unset;
    text-align: center;
}

.back {
    position: fixed;
    top: 30px;
    left: 40px;
    color: #fff;
    z-index: 99;
    font-size: 16px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.back:hover {
    color: #FFB800;
}

@media (max-width: 768px) {
    .video-info {
        position: static;
        width: 100%;
        text-align: center;
        padding: 20px;
        background: rgba(0,0,0,0.8);
    }

    .back {
        left: auto;
        right: 20px;
        top: 20px;
    }
}

@media only screen and (max-width: 650px) {
    body {
        overflow-x: hidden;
    }

    .video-wrapper {
        max-width: 100%;
        padding: 0;
    }

    .video-reel {
        padding: 0;
        align-items: center;
    }

    .vimeo-player iframe {
        height: 100%;
    }

    .video-info {
        display: none;
    }

    .back {
        right: 20px;
        top: 20px;
        text-shadow: 2px 2px 5px #000;
    }

    .video-opt {
        left: 40px;
        bottom: 10vh;
    }
}
