.lyg-wrap *{
    box-sizing:border-box;
}

/* Grid */
.lyg-grid{
    display:grid !important;
    grid-template-columns:repeat(3,1fr) !important;
    gap:18px !important;
    margin:40px 0 !important;
}

@media(max-width:1024px){
    .lyg-grid{
        grid-template-columns:repeat(2,1fr) !important;
    }
}

@media(max-width:767px){
    .lyg-grid{
        grid-template-columns:1fr !important;
    }
}

/* Card */
.lyg-card{
    position:relative !important;
    display:block !important;
    overflow:hidden !important;
    border-radius:8px !important;
    text-decoration:none !important;
    background:transparent !important;
    box-shadow:none !important;
    transition:.35s ease !important;
}

.lyg-card:hover{
    transform:translateY(-5px) scale(1.02) !important;
}

/* .lyg-card is now a <button> — reset native button chrome */
.lyg-card{
    border:none !important;
    padding:0 !important;
    margin:0 !important;
    width:100% !important;
    font:inherit !important;
    color:inherit !important;
    cursor:pointer !important;
    -webkit-appearance:none !important;
    appearance:none !important;
}

/* Thumbnail */
.lyg-card img{
    width:100% !important;
    aspect-ratio:16/9 !important;
    object-fit:cover !important;
    display:block !important;
    border-radius:8px !important;
}

/* Dark overlay */
.lyg-card::before{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(
        to bottom,
        rgba(0,0,0,.45) 0%,
        rgba(0,0,0,.10) 40%,
        rgba(0,0,0,.20) 100%
    );
    z-index:1;
    pointer-events:none;
}

/* Title over image */
.lyg-card h3{
    position:absolute !important;
    top:20px !important;
    left:20px !important;
    right:20px !important;
    margin:0 !important;
    padding:0 !important;
    color:#fff !important;
    font-size:14px !important;
    font-weight:700 !important;
    line-height:1.2 !important;
    text-align:center !important;
    text-shadow:0 2px 8px rgba(0,0,0,.6);
    z-index:2 !important;
    visibility:hidden !important;
    opacity:0 !important;
    transition:.3s !important;
}

.lyg-card:hover h3{
    visibility:visible !important;
    opacity:1 !important;   
    darken:0.2 !important;

}

@media(max-width:991px){
    .lyg-card h3{
        font-size:24px !important;
    }
}

@media(max-width:767px){
    .lyg-card h3{
        font-size:18px !important;
        top:15px !important;
        left:15px !important;
        right:15px !important;
    }
}

/* Play icon stays centered */
.lyg-card .play-icon,
.lyg-card .youtube-play,
.lyg-card svg{
    position:absolute;
    left:50%;
    top:50%;
    transform:translate(-50%,-50%);
    z-index:2;
}

.lyg-card svg.lyg-play-icon{
    width:56px !important;
    height:56px !important;
    opacity:.85 !important;
    filter:drop-shadow(0 2px 6px rgba(0,0,0,.55));
    transition:.3s !important;
    pointer-events:none;
}

.lyg-card:hover svg.lyg-play-icon{
    opacity:1 !important;
    transform:translate(-50%,-50%) scale(1.12) !important;
}

@media(max-width:767px){
    .lyg-card svg.lyg-play-icon{
        width:42px !important;
        height:42px !important;
    }
}

/* Buttons */
.lyg-actions{
    display:flex !important;
    justify-content:center !important;
    align-items:center !important;
    gap:15px !important;
    margin-top:40px !important;
    flex-wrap:wrap !important;
}

.lyg-load-more{
    background:#d60000 !important;
    color:#fff !important;
    border:none !important;
    padding:14px 34px !important;
    border-radius:6px !important;
    font-size:16px !important;
    font-weight:600 !important;
    cursor:pointer !important;
    transition:.3s;
}

.lyg-load-more:hover{
    background:#b40000 !important;
}

.lyg-load-more:disabled{
    opacity:.6 !important;
    cursor:not-allowed !important;
}

/* Video popup modal */
.lyg-modal{
    display:none;
    position:fixed !important;
    inset:0 !important;
    z-index:99999 !important;
    align-items:center !important;
    justify-content:center !important;
    padding:24px !important;
}

.lyg-modal.is-open{
    display:flex !important;
}

.lyg-modal-backdrop{
    position:absolute !important;
    inset:0 !important;
    background:rgba(0,0,0,.85) !important;
    cursor:pointer;
}

.lyg-modal-content{
    position:relative !important;
    width:100% !important;
    max-width:960px !important;
    z-index:1 !important;
}

.lyg-modal-iframe-wrap{
    position:relative !important;
    width:100% !important;
    aspect-ratio:16/9 !important;
    background:#000 !important;
    border-radius:8px !important;
    overflow:hidden !important;
    box-shadow:0 20px 60px rgba(0,0,0,.5) !important;
}

.lyg-modal-iframe-wrap iframe{
    position:absolute !important;
    inset:0 !important;
    width:100% !important;
    height:100% !important;
    border:0 !important;
}

.lyg-modal-close{
    position:absolute !important;
    top:-42px !important;
    right:0 !important;
    background:transparent !important;
    border:none !important;
    color:#fff !important;
    font-size:34px !important;
    line-height:1 !important;
    cursor:pointer !important;
    padding:4px 8px !important;
}

.lyg-modal-close:hover{
    color:#d60000 !important;
}