.elementor-4717 .elementor-element.elementor-element-7f550b6{--display:flex;--flex-direction:row;--container-widget-width:initial;--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-4717 .elementor-element.elementor-element-fb997db{width:var( --container-widget-width, 100.057% );max-width:100.057%;--container-widget-width:100.057%;--container-widget-flex-grow:0;text-align:center;}.elementor-4717 .elementor-element.elementor-element-fb997db.elementor-element{--flex-grow:0;--flex-shrink:0;}.elementor-4717 .elementor-element.elementor-element-fb997db .elementor-heading-title{font-size:30px;color:#FFFFFF;}.elementor-4717 .elementor-element.elementor-element-bf892c9{--display:flex;--flex-direction:row;--container-widget-width:initial;--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-4717 .elementor-element.elementor-element-3895c05{width:var( --container-widget-width, 113.159% );max-width:113.159%;--container-widget-width:113.159%;--container-widget-flex-grow:0;}.elementor-4717 .elementor-element.elementor-element-3895c05.elementor-element{--flex-grow:0;--flex-shrink:0;}.elementor-4717 .elementor-element.elementor-element-5c7f2b4{--display:flex;--flex-direction:row;--container-widget-width:initial;--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-4717 .elementor-element.elementor-element-b1c9a42{width:var( --container-widget-width, 101.482% );max-width:101.482%;--container-widget-width:101.482%;--container-widget-flex-grow:0;}.elementor-4717 .elementor-element.elementor-element-b1c9a42.elementor-element{--flex-grow:0;--flex-shrink:0;}@media(max-width:767px){.elementor-4717 .elementor-element.elementor-element-fb997db > .elementor-widget-container{margin:7px 0px 0px 0px;}.elementor-4717 .elementor-element.elementor-element-fb997db .elementor-heading-title{font-size:15px;}.elementor-4717 .elementor-element.elementor-element-bf892c9{--margin-top:8px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;}.elementor-4717 .elementor-element.elementor-element-5c7f2b4{--justify-content:center;--align-items:center;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );}}/* Start custom CSS for container, class: .elementor-element-bf892c9 *//* Container Layout (Full Width, No Margins/Padding) */
.mz-app-container {
    display: grid;
    grid-template-columns: 3fr 1fr; /* 3 parts main content, 1 part sidebar */
    gap: 30px;
    max-width: 100%;
    margin: 0;
    padding: 0;
    color: #fff;
    font-family: inherit;
}

/* Top Horizontal Category Tabs */
.mz-top-tabs {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 15px;
    margin-bottom: 25px;
    scrollbar-width: none; 
}

.mz-top-tabs::-webkit-scrollbar {
    display: none; 
}

.mz-top-tabs a {
    background: #1a1a1a;
    color: #a0a0a0;
    padding: 10px 22px;
    border-radius: 30px; 
    white-space: nowrap;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid #333;
    transition: all 0.3s ease;
}

.mz-top-tabs a.active, .mz-top-tabs a:hover {
    background: #ffffff;
    color: #000000;
    border-color: #ffffff;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

/* The Grid for Web Series Cards (TMDB sizing) */
.mz-glow-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); 
    gap: 20px;
}

/* Individual Glow Card */
.mz-glow-card {
    background-color: #121212;
    border-radius: 12px;
    border: 1px solid #2a2a2a;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.mz-glow-card:hover {
    border-color: #00f3ff;
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.2);
    transform: translateY(-4px);
}

/* Vertical Poster Aspect Ratio (2:3) */
.mz-card-image {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 2 / 3; 
    border-radius: 12px 12px 0 0;
    overflow: hidden; 
}

.mz-card-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important; 
    object-position: center; 
    display: block;
    margin: 0;
}

/* Hindi Dubbed Badge */
.mz-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0,0,0,0.7);
    color: #fff;
    font-size: 10px;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 700;
    border: 1px solid #555;
}

/* Centered Title Content Area */
.mz-card-content {
    padding: 15px 10px;
    text-align: center; 
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60px; 
    background: #1a1a1a;
}

.mz-card-content h3 {
    font-size: 14px;
    margin: 0;
    line-height: 1.3;
    color: #ffffff; 
    font-weight: 700; 
    text-align: center;
}

/* --- CATEGORY SIDEBAR --- */
.mz-category-box {
    background: #121212;
    border-radius: 16px;
    padding: 20px;
    border: 1px solid #2a2a2a;
    height: 480px; 
    overflow-y: auto; 
}

.mz-category-box::-webkit-scrollbar {
    width: 6px;
}
.mz-category-box::-webkit-scrollbar-track {
    background: #121212; 
}
.mz-category-box::-webkit-scrollbar-thumb {
    background: #333; 
    border-radius: 10px;
}
.mz-category-box::-webkit-scrollbar-thumb:hover {
    background: #00f3ff; 
}

.mz-cat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #333;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.mz-cat-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
}

.mz-cat-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mz-cat-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #1f1f1f;
}

.mz-cat-list li:last-child {
    border-bottom: none;
}

.mz-cat-list a {
    color: #a0a0a0;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
}

.cat-arrow {
    color: #555;
    margin-right: 8px;
    font-size: 16px;
    transition: margin-right 0.2s ease;
}

.mz-cat-list li:hover a {
    color: #ffffff;
}

.mz-cat-list li:hover .cat-arrow {
    color: #00f3ff;
    margin-right: 12px;
}

.cat-count {
    color: #666;
    font-size: 13px;
    background: #1a1a1a;
    padding: 2px 8px;
    border-radius: 20px;
}



/* This targets small tablets/large phones to stack the sidebar */
@media (max-width: 900px) {
    .mz-app-container {
        grid-template-columns: 1fr; /* Stacks the categories sidebar below the grid */
    }
    .mz-category-box {
        height: auto; /* Allows category box to expand vertically */
    }
}

/* This targets standard mobile phone screens (the core fix) */
@media (max-width: 600px) {

    /* --- THE FIX: MAKE THREE IMAGES VISIBLE SIDE-BY-SIDE --- */
    .mz-glow-grid {
        display: grid !important; /* Forces it back into a grid */
        grid-template-columns: repeat(3, 1fr) !important; /* Forces EXACTLY 3 equal columns */
        gap: 8px; /* Tightens the gap between posters to save space */
        overflow-x: hidden !important; /* Safely disables horizontal scroll */
        padding-bottom: 0 !important;
    }

    /* Shrink the posters for the tight 3-up view */
    .mz-glow-card {
        flex: auto !important; /* Resets the previous carousel flex setting */
        max-width: 100% !important;
        margin-bottom: 5px;
    }

    /* Target individual card content to shrink text */
    .mz-card-content {
        padding: 5px 3px !important;
        min-height: 40px; /* Shortens the title area spacing */
    }

    .mz-card-content h3 {
        font-size: 11px !important; /* Small, bold font for 3-up view */
        font-weight: 700;
        line-height: 1.2;
    }

    /* Shrink the HD badge slightly so it doesn't cover too much of the poster */
    .mz-badge {
        font-size: 7px;
        padding: 2px 4px;
        top: 4px;
        right: 4px;
        border: none;
    }

    /* --- CATEGORIES FIX: MAKE EVERY CATEGORY VISIBLE --- */

    /* Target the scrolling top tabs to make them wrap instead */
    .mz-top-tabs {
        flex-wrap: wrap !important; /* Allows them to wrap to a new line */
        gap: 6px; /* Space between wrapped items */
        overflow-x: hidden !important; /* Disables horizontal scroll */
        justify-content: center !important; /* Centers the wrapped buttons */
        margin-bottom: 15px;
    }

    /* Tighten the style of the individual tab buttons */
    .mz-top-tabs a {
        padding: 6px 12px;
        font-size: 11px;
    }
}/* End custom CSS */