:root {
    --card-radius: 12px;
    --card-bg: #fff;
    --tile-height: 140px;
    --accent: #0b84ff33;
    --shadow: 0 6px 18px rgba(8, 30, 60, 0.08);
    --muted: #415062;
    --play-size: 28px;
}

.al_wrapper {
    margin-top: -90px;
    z-index: 999;
    position: relative;
    background-color: #fff;
    border-radius: 80px 80px 0 80px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 82.5rem;
    margin: 0 auto;
    padding-inline: 20px;
    padding-top: 100px;
}

/* Card */
.card {
    background: var(--card-bg);
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    min-height: 220px;
}


/* Image / Hero */
.card .hero {
    height: 240px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-bottom: 1px solid rgba(15, 23, 36, 0.03);
}


/* Footer with title + action */
.card .meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
}


.title {
    font-weight: 600;
    font-size: 13px;
    color: #0b2340;
    letter-spacing: -0.02em;
}


.action {
    width: calc(var(--play-size) + 12px);
    height: calc(var(--play-size) + 12px);
    border-radius: 999px;
    display: inline-grid;
    place-items: center;
    border: 1px solid rgba(7, 20, 40, 0.06);
    background: linear-gradient(180deg, #fff, #fbfdff);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset;
    border: none;
    background-color: transparent;
}


.action svg {
    width: var(--play-size);
    height: var(--play-size);
}


/* Rounded larger corners similar to reference */
.card {
    border-radius: 14px;
}


/* Responsive */
@media (max-width: 900px) {
    .grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 520px) {
    .grid {
        grid-template-columns: 1fr;
    }
}

.popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 99999;
}

.popup-box {
    background: white;
    padding: 20px;
    width: 100%;
    max-width: 1030px;
    border-radius: 8px;
    position: relative;
}

.popup-close {
    position: absolute;
    top: 0;
    right: 0;
    color: #fff;
    cursor: pointer;
    background-color: #020E66;
    padding-inline: 7px;
    padding-top: 7px;
}

.popup-main-video video {
    height: 480px;
    background: #000;
    max-width: 940px;
    width: 100%;
}

.popup-main-video {
    max-width: 940px;
    width: 100%;
    margin: 0 auto;
}

.popup-thumbs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 10px;
    max-width: 940px;
    margin: 0 auto;
    margin-top: 15px;
}

.popup-thumbs video {
    width: 150px;
    height: 100px;
    cursor: pointer;
    border-radius: 6px;
    object-fit: cover;
}

.popup-box {
    margin: 0 auto;
}
#videoPopup .slider-prev {
    left: 55px;
}
#videoPopup .slider-next {
    right: 55px;
}

.slider-arrow {
    position: absolute;
    background: #ffffff;
    color: #000;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 22px;
    cursor: pointer;
    border: 1px solid #ccc;
    z-index: 50;
    top: 35%;
}

.slider-prev {
    left: 5px;
}

.slider-next {
    right:5px;
}

.slider-arrow:hover {
    background: #f1f1f1;
}