/* ── FILTER PILLS ── */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin-bottom: 40px;
}

.pill {
    font-weight: 600;
    font-size: 14px;
    color: #2C2C2C;
    line-height: 1em;
    display: block;
    overflow: hidden;
    height: 100%;
    cursor: pointer;
    padding: 15px 1.2em;
    border-radius: 27px;
    margin-right: 10px;
    border: none;
    transition: all .4s ease-in-out;
    background: rgba(0, 80, 210, 0.13);
}

.pill:hover {
    color: #2C2C2C;
    background: #E2FAFF;
}

.pill.active {
    color: #2C2C2C;
    background: #E2FAFF;
}


/* ── GRID ── */
.vimo-video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.vimo-video-grid.reels-active {
    grid-template-columns: repeat(4, 1fr);
}


@media (max-width: 860px) {
    .vimo-video-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .vimo-video-grid.reels-active {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .vimo-video-grid {
        grid-template-columns: 1fr;
    }
    .vimo-video-grid.reels-active {
        grid-template-columns: repeat(1, 1fr) !important;
    }

    .filter-bar {
        gap: 12px;
    }

    .pill {
        font-size: 13px;
        padding: 12px 16px;
    }
}

/* ── VIDEO CARD ── */
.v-card {
    border-radius: 12px;
    overflow: hidden;
    background: #000000;
    position: relative;
    aspect-ratio: 16/9;
    cursor: pointer;
    display: block;
    /* Hidden cards */
    transition: opacity 0.25s;
}

.reels-active .v-card {
    aspect-ratio: 9 / 16;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
}



.v-card.hidden {
    display: none;
}

/* ── THUMBNAIL LAYER ── */
.thumb-layer {
    position: absolute;
    inset: 0;
    z-index: 2;
    transition: opacity 0.35s ease;
}

.thumb-layer img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 12px;
}

/* Gradient overlay on thumb for readability */
.thumb-layer::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            transparent 40%,
            rgba(0, 0, 0, 0.55) 100%);
    border-radius: 12px;
}

.thumb-layer.hidden-layer {
    opacity: 0;
    pointer-events: none;
}

/* ── CUSTOM PLAY BUTTON ── */
.vimo-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    transition: transform 0.2s, background 0.2s, opacity 0.35s;
    pointer-events: none;
}



.v-card:hover .vimo-play-btn {
    transform: translate(-50%, -50%) scale(1.1);

}

.vimo-play-btn.hidden-btn {
    opacity: 0;
}

/* ── VIMEO IFRAME LAYER ── */
.iframe-layer {
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: 12px;
    overflow: hidden;
}

.iframe-layer iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* ── CATEGORY LABEL (optional bottom-left) ── */
.cat-chip {
    position: absolute;
    bottom: 10px;
    left: 10px;
    z-index: 4;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 20px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s;
}

.v-card:hover .cat-chip {
    opacity: 1;
}


.v-card .thumb-layer.hidden-layer ~ .cat-chip {
    opacity: 0;
}

/* No results */
.no-results {
    grid-column: 1/-1;
    text-align: center;
    padding: 60px 20px;
    color: #888;
    font-size: 15px;
    display: none;
}

.no-results.show {
    display: block;
}


.occlip-archive-main {
    background-size: initial;
    background-position: right 0px top;
    background-image: url(https://offshoreclipping.com/wp-content/uploads/2023/06/hero-shape-2.png)!important;
    background-repeat: no-repeat;
    padding-top: 200px;
    padding-bottom: 100px;
}

.occlip-archive-main-content{
    max-width: 1320px;
    margin: auto;
    
}