.shl-shirei-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 38px 28px;
}

.shl-shirei-card {
    text-decoration: none;
    color: inherit;
}

.shl-shirei-thumb {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
}

.shl-shirei-thumb img {
    width: 100%;
    aspect-ratio: 1.45 / 1;

    object-fit: cover;

    display: block;

    transition: transform .4s ease;
}

.shl-shirei-overlay {
    position: absolute;
    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    opacity: 0;

    transition: opacity .3s ease;

    background: rgba(0,0,0,.18);
}

.shl-shirei-play {
    width: 74px;
    height: 74px;

    border: 3px solid #fff;
    border-radius: 999px;

    display: flex;
    align-items: center;
    justify-content: center;

    backdrop-filter: blur(3px);

    transform: scale(.9);

    transition: all .3s ease;
}

.shl-shirei-card:hover .shl-shirei-overlay {
    opacity: 1;
}

.shl-shirei-card:hover .shl-shirei-play {
    transform: scale(1);
}

.shl-shirei-card:hover img {
    transform: scale(1.04);
}

.shl-shirei-content {
    padding-top: 14px;
}

.shl-shirei-content h3 {
    margin: 0 0 8px;

    font-size: 20px;
    line-height: 1.15;
}

.shl-shirei-content p {
    margin: 0;

    font-size: 14px;
    line-height: 1.4;
}


/* =========================
POPUP
========================= */

#shl-video-popup {
    position: fixed;
    inset: 0;

    z-index: 999999;

    visibility: hidden;
    opacity: 0;

    transition: all .3s ease;
}

#shl-video-popup.opened {
    visibility: visible;
    opacity: 1;
}

.shl-video-popup-bg {
    position: absolute;
    inset: 0;

    background: rgba(0,0,0,.88);

    backdrop-filter: blur(4px);
}

.shl-video-popup-content {
    position: absolute;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    width: 1100px;
    max-width: calc(100% - 40px);

    aspect-ratio: 16 / 9;
}

.shl-video-player {
    width: 100%;
    height: 100%;
}

.shl-video-player iframe {
    width: 100%;
    height: 100%;

    border: 0;
    border-radius: 12px;
}

.shl-video-popup-close {
    position: absolute;

    top: -54px;
    right: 0;

    width: 42px;
    height: 42px;

    border: 0;
    border-radius: 999px;

    background: #fff;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;

    z-index: 10;
}

.shl-video-popup-close svg {
    width: 18px;
    height: 18px;
}


/* =========================
RESPONSIVE
========================= */

@media(max-width: 1024px) {

    .shl-shirei-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media(max-width: 767px) {

    .shl-shirei-grid {
        grid-template-columns: 1fr;
    }

    .shl-video-popup-content {
        max-width: calc(100% - 20px);
    }

}