.elementor-2569 .elementor-element.elementor-element-7e90fb2 > .elementor-container{max-width:1320px;}.elementor-2569 .elementor-element.elementor-element-7e90fb2{overflow:hidden;transition:background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;padding:110px 0px 110px 0px;z-index:1;}.elementor-2569 .elementor-element.elementor-element-7e90fb2 > .elementor-background-overlay{transition:background 0.3s, border-radius 0.3s, opacity 0.3s;}.elementor-2569 .elementor-element.elementor-element-a7218cf .e-gallery-item:hover .elementor-gallery-item__overlay, .elementor-2569 .elementor-element.elementor-element-a7218cf .e-gallery-item:focus .elementor-gallery-item__overlay{background-color:rgba(0,0,0,0.5);}.elementor-2569 .elementor-element.elementor-element-a7218cf{--image-border-radius:8px;--image-transition-duration:800ms;--overlay-transition-duration:800ms;--content-text-align:center;--content-padding:20px;--content-transition-duration:800ms;--content-transition-delay:800ms;}.elementor-2569 .elementor-element.elementor-element-b3fd1d3 > .elementor-container{max-width:1320px;}.elementor-2569 .elementor-element.elementor-element-b3fd1d3{overflow:hidden;transition:background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;padding:110px 0px 110px 0px;z-index:1;}.elementor-2569 .elementor-element.elementor-element-b3fd1d3 > .elementor-background-overlay{transition:background 0.3s, border-radius 0.3s, opacity 0.3s;}.elementor-2569 .elementor-element.elementor-element-4f5c325 .jet-listing-dynamic-repeater__items{flex-direction:flex-start;justify-content:flex-start;}.elementor-2569 .elementor-element.elementor-element-4f5c325 .jet-listing-dynamic-repeater__item > *{justify-content:flex-start;}@media(max-width:1024px) and (min-width:768px){.elementor-2569 .elementor-element.elementor-element-f11b6ae{width:100%;}.elementor-2569 .elementor-element.elementor-element-2165a35{width:100%;}}@media(max-width:1024px){.elementor-2569 .elementor-element.elementor-element-7e90fb2{padding:90px 0px 90px 0px;}.elementor-2569 .elementor-element.elementor-element-b3fd1d3{padding:90px 0px 90px 0px;}}@media(max-width:767px){.elementor-2569 .elementor-element.elementor-element-7e90fb2{padding:60px 0px 60px 0px;}.elementor-2569 .elementor-element.elementor-element-b3fd1d3{padding:60px 0px 60px 0px;}}/* Start custom CSS for jet-listing-dynamic-repeater, class: .elementor-element-4f5c325 *//* --- 1. Grid Container (Forces Full Width) --- */
.marvel-video-grid {
    display: grid;
    /* Force 3 equal columns on desktop */
    grid-template-columns: repeat(3, 1fr); 
    gap: 30px; /* Space between cards */
    width: 100%;
    margin-bottom: 50px;
}

/* Tablet (2 Columns) */
@media (max-width: 1024px) {
    .marvel-video-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile (1 Column) */
@media (max-width: 767px) {
    .marvel-video-grid {
        grid-template-columns: 1fr;
    }
}

/* --- 2. Card Styling (Fixes Height Issues) --- */
.video-grid-item {
    width: 100%; /* Ensure item takes full grid cell width */
    display: flex; /* Fixes height consistency */
}

.video-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid #eee;
    cursor: pointer;
    position: relative;
    height: 100%; /* Matches height of neighbors */
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.12);
    border-color: #8DBF2E;
}

/* --- Keep the rest of your card styling (Thumb, Play Btn, Text) same as before --- */
.video-thumb {
    position: relative;
    padding-top: 56.25%; /* 16:9 Ratio */
    background: #000;
    width: 100%;
}
.video-thumb img {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover; opacity: 0.9;
}
.play-overlay {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 60px; height: 60px;
    background: rgba(255,255,255,0.25);
    border-radius: 50%; display: flex;
    align-items: center; justify-content: center;
    border: 2px solid #fff;
}
.play-overlay i { color: #fff; font-size: 24px; margin-left: 4px; }
.video-body { padding: 20px; flex-grow: 1; display: flex; flex-direction: column; }
.video-meta { color: #8DBF2E; font-weight: 700; font-size: 12px; margin-bottom: 5px; text-transform: uppercase;}
.video-title { font-size: 16px; font-weight: 600; color: #333; margin: 0; line-height: 1.4; }

/* --- Modal Styling (Important for Popup) --- */
.marvel-modal {
    display: none; 
    position: fixed; z-index: 10000; /* High Z-index to show above menu */
    left: 0; top: 0; width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.9);
    align-items: center; justify-content: center;
}
.marvel-modal.show { display: flex; }
.marvel-modal-content {
    position: relative; width: 90%; max-width: 900px;
    background: #000; border-radius: 8px;
}
.marvel-video-wrapper {
    position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden;
}
.marvel-video-wrapper iframe {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
}
.marvel-close {
    position: absolute; top: -40px; right: 0;
    color: #fff; font-size: 35px; cursor: pointer;
}/* End custom CSS */