/* =========================================================
   BAD MOVIES ARCHIVE
   ========================================================= */

.badcp-video-archive{
    --bad-bg:#05070a;
    --bad-panel:#0d1117;
    --bad-card:#11161e;
    --bad-border:rgba(255,255,255,.10);
    --bad-gold:#e0b62e;
    --bad-deep-gold:#a77d00;
    --bad-text:#ffffff;
    --bad-muted:#aeb6c2;

    width:100%;
    min-height:70vh;
    background:var(--bad-bg);
    color:var(--bad-text);
}

.badcp-video-archive *{
    box-sizing:border-box;
}

.badcp-video-archive a{
    text-decoration:none;
}

.badcp-video-archive-inner{
    width:min(1400px,calc(100% - 40px));
    margin:0 auto;
}


/* HERO */

.badcp-video-archive-hero{
    padding:70px 0 42px;
    background:
        radial-gradient(
            circle at 20% 20%,
            rgba(167,125,0,.14),
            transparent 38%
        ),
        linear-gradient(
            180deg,
            #090c11 0%,
            #05070a 100%
        );
    border-bottom:1px solid var(--bad-border);
}

.badcp-video-eyebrow{
    display:block;
    margin-bottom:10px;
    color:var(--bad-gold);
    font-size:12px;
    font-weight:900;
    letter-spacing:.18em;
    text-transform:uppercase;
}

.badcp-video-archive-hero h1{
    margin:0;
    color:#fff;
    font-size:clamp(42px,6vw,76px);
    font-weight:900;
    line-height:.95;
    letter-spacing:-.03em;
}

.badcp-video-description{
    max-width:760px;
    margin-top:16px;
    color:var(--bad-muted);
    font-size:16px;
    line-height:1.6;
}

.badcp-video-description p{
    margin:0;
}


/* CONTENT */

.badcp-video-content{
    padding:40px 0 80px;
}

.badcp-video-grid{
    display:grid;
    grid-template-columns:
        repeat(4,minmax(0,1fr));
    gap:24px 18px;
}


/* CARD */

.badcp-video-card{
    min-width:0;
}

.badcp-video-poster{
    position:relative;
    display:block;
    width:100%;
    aspect-ratio:16/9;
    overflow:hidden;
    border-radius:14px;
    background:var(--bad-card);
    border:1px solid var(--bad-border);
    box-shadow:0 18px 45px rgba(0,0,0,.26);
    transition:
        transform .22s ease,
        border-color .22s ease,
        box-shadow .22s ease;
}

.badcp-video-poster img{
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
    transition:transform .35s ease;
}

.badcp-video-placeholder{
    display:block;
    width:100%;
    height:100%;
    background:
        radial-gradient(
            circle at 30% 20%,
            rgba(224,182,46,.16),
            transparent 42%
        ),
        #11161e;
}

.badcp-video-shade{
    position:absolute;
    inset:0;
    background:
        linear-gradient(
            180deg,
            rgba(5,7,10,0) 42%,
            rgba(5,7,10,.65) 100%
        );
}

.badcp-video-type{
    position:absolute;
    top:12px;
    left:12px;
    z-index:3;
    padding:6px 10px;
    border-radius:999px;
    background:rgba(5,7,10,.80);
    border:1px solid rgba(224,182,46,.45);
    color:var(--bad-gold);
    font-size:10px;
    line-height:1;
    font-weight:900;
    letter-spacing:.09em;
    text-transform:uppercase;
}

.badcp-video-play{
    position:absolute;
    left:50%;
    top:50%;
    z-index:3;
    display:grid;
    place-items:center;
    width:54px;
    height:54px;
    border-radius:50%;
    transform:translate(-50%,-50%);
    background:rgba(5,7,10,.76);
    border:1px solid rgba(224,182,46,.72);
    opacity:0;
    transition:
        opacity .2s ease,
        transform .2s ease;
}

.badcp-video-play i{
    display:block;
    width:0;
    height:0;
    margin-left:4px;
    border-top:7px solid transparent;
    border-bottom:7px solid transparent;
    border-left:11px solid #fff;
}

.badcp-video-poster:hover{
    transform:translateY(-3px);
    border-color:rgba(224,182,46,.55);
    box-shadow:0 24px 55px rgba(0,0,0,.34);
}

.badcp-video-poster:hover img{
    transform:scale(1.035);
}

.badcp-video-poster:hover .badcp-video-play{
    opacity:1;
    transform:
        translate(-50%,-50%)
        scale(1.05);
}


/* TEXT */

.badcp-video-card-body{
    padding:13px 3px 0;
}

.badcp-video-card h2{
    margin:0;
    font-size:17px;
    line-height:1.3;
    font-weight:800;
}

.badcp-video-card h2 a{
    color:#fff;
}

.badcp-video-card h2 a:hover{
    color:var(--bad-gold);
}

.badcp-video-meta{
    margin-top:6px;
    color:var(--bad-muted);
    font-size:12px;
}


/* PAGINATION */

.badcp-video-pagination{
    margin-top:42px;
}

.badcp-video-pagination .page-numbers{
    list-style:none;
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:7px;
    margin:0;
    padding:0;
}

.badcp-video-pagination li{
    margin:0;
}

.badcp-video-pagination a,
.badcp-video-pagination span{
    display:grid;
    place-items:center;
    min-width:40px;
    height:40px;
    padding:0 12px;
    border-radius:999px;
    background:var(--bad-panel);
    border:1px solid var(--bad-border);
    color:#fff;
    font-weight:800;
}

.badcp-video-pagination .current{
    background:var(--bad-gold);
    border-color:var(--bad-gold);
    color:#080a0d;
}


/* EMPTY */

.badcp-video-empty{
    padding:50px 24px;
    text-align:center;
    border:1px dashed var(--bad-border);
    border-radius:16px;
    background:var(--bad-panel);
}

.badcp-video-empty strong{
    display:block;
    color:#fff;
    font-size:21px;
}

.badcp-video-empty span{
    display:block;
    margin-top:5px;
    color:var(--bad-muted);
}


/* TABLET */

@media(max-width:1100px){

    .badcp-video-grid{
        grid-template-columns:
            repeat(3,minmax(0,1fr));
    }

}


/* TABLET PORTRAIT */

@media(max-width:820px){

    .badcp-video-archive-inner{
        width:min(100% - 30px,1400px);
    }

    .badcp-video-archive-hero{
        padding:50px 0 32px;
    }

    .badcp-video-grid{
        grid-template-columns:
            repeat(2,minmax(0,1fr));
        gap:20px 14px;
    }

}


/* MOBILE */

@media(max-width:560px){

    .badcp-video-archive-inner{
        width:calc(100% - 22px);
    }

    .badcp-video-archive-hero{
        padding:38px 0 26px;
    }

    .badcp-video-archive-hero h1{
        font-size:40px;
    }

    .badcp-video-grid{
        grid-template-columns:1fr;
        gap:22px;
    }

    .badcp-video-poster{
        border-radius:12px;
    }

    .badcp-video-play{
        opacity:1;
        width:48px;
        height:48px;
    }

}
