/* =========================================================
   TechESteel Video Gallery
========================================================= */

.techesteel-video-gallery-page{
    background:#fff;
}

.techesteel-video-gallery-hero{
    padding:90px 0 70px;
    text-align:center;
    background:
        radial-gradient(circle at top right, rgba(31,148,255,.13), transparent 35%),
        #f4f9fe;
    border-bottom:1px solid var(--border);
}

.techesteel-video-gallery-kicker{
    display:inline-block;
    margin-bottom:14px;
    color:var(--blue2);
    font:700 12px var(--mono);
    letter-spacing:.13em;
    text-transform:uppercase;
}

.techesteel-video-gallery-hero h1{
    margin:0;
    font-size:clamp(44px,6vw,76px);
    line-height:1.05;
    letter-spacing:-.045em;
}

.techesteel-video-gallery-hero p{
    max-width:700px;
    margin:22px auto 0;
    color:var(--muted);
    font-size:18px;
    line-height:1.7;
}

.techesteel-video-gallery-content{
    padding:80px 0 110px;
}

.techesteel-video-gallery-editor-content{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:28px;
    align-items:start;
}

.techesteel-video-gallery-editor-content > .wp-block-embed,
.techesteel-video-gallery-editor-content > .wp-block-video,
.techesteel-video-gallery-editor-content > figure{
    width:100%;
    min-width:0;
    margin:0 !important;
    overflow:hidden;
    border:1px solid var(--border);
    border-radius:18px;
    background:#fff;
    box-shadow:0 15px 35px rgba(25,88,145,.10);
    transition:transform .28s ease, box-shadow .28s ease;
}

.techesteel-video-gallery-editor-content > .wp-block-embed:hover,
.techesteel-video-gallery-editor-content > .wp-block-video:hover,
.techesteel-video-gallery-editor-content > figure:hover{
    transform:translateY(-5px);
    box-shadow:0 22px 46px rgba(25,88,145,.15);
}

.techesteel-video-gallery-editor-content .wp-block-embed__wrapper,
.techesteel-video-gallery-editor-content .wp-block-video{
    position:relative;
    width:100%;
    aspect-ratio:16 / 9;
    overflow:hidden;
    background:#061728;
}

.techesteel-video-gallery-editor-content iframe,
.techesteel-video-gallery-editor-content video{
    position:absolute;
    inset:0;
    display:block;
    width:100%;
    height:100%;
    border:0;
    object-fit:cover;
}

.techesteel-video-gallery-editor-content figcaption{
    margin:0 !important;
    padding:18px 20px !important;
    color:var(--text) !important;
    background:#fff;
    font-size:16px !important;
    font-weight:700;
    line-height:1.45;
    text-align:left !important;
}

.techesteel-video-gallery-editor-content > h2,
.techesteel-video-gallery-editor-content > h3,
.techesteel-video-gallery-editor-content > p{
    grid-column:1 / -1;
}

@media(max-width:900px){
    .techesteel-video-gallery-editor-content{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}

@media(max-width:600px){
    .techesteel-video-gallery-hero{
        padding:70px 0 54px;
    }

    .techesteel-video-gallery-content{
        padding:55px 0 80px;
    }

    .techesteel-video-gallery-editor-content{
        grid-template-columns:1fr;
        gap:18px;
    }
}
