/* =========================================================
   SPMOVIES / MOVIEBOX HOMEPAGE
   COMPLETE MOBILE + DESKTOP CSS
   Dooplay 2.5.5.1
   ========================================================= */


/* =========================================================
   1. HOMEPAGE BASE
   ========================================================= */

html,
body.home {
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    background: #101114;
    color: #ffffff;
}

body.home {
    overflow-x: hidden;

    font-family:
        Inter,
        Roboto,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Arial,
        sans-serif;
}

body.home *,
body.home *::before,
body.home *::after {
    box-sizing: border-box;
}

body.home a {
    text-decoration: none;
}

body.home img {
    max-width: 100%;
}

body.home input,
body.home textarea,
body.home select {
    font-size: 16px;
}


/* =========================================================
   2. HOMEPAGE MODULE CONTAINER
   ========================================================= */

body.home .module {
    width: 100%;
    min-width: 0;

    margin: 0;
    padding: 0;

    float: none;

    background: #101114;
}

body.home .module .content {
    min-width: 0;
}


/* =========================================================
   3. HOMEPAGE SECTION HEADER
   ========================================================= */

body.home .module .content header {
    width: 100%;

    margin: 0;
    padding: 10px 0;

    float: none;

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

    line-height: normal;

    border: 0;
}

body.home .module .content header h1,
body.home .module .content header h2 {
    margin: 0;
    padding: 0;

    float: none;

    color: #ffffff;

    font-size: 17px;
    line-height: 22px;
    font-weight: 700;
}

body.home .module .content header span {
    margin: 0;
    padding: 0;

    float: none;

    color: #9b9da4;

    font-size: 13px;
    line-height: 20px;
    font-weight: 400;
}

body.home .module .content header span a.see-all {
    margin: 0;
    padding: 0;

    color: #9b9da4;

    font-size: 13px;
    line-height: 20px;
    font-weight: 400;

    text-transform: none;

    background: transparent;
    border: 0;
}

body.home .module .content header span a.see-all:hover {
    color: #ffffff;
}


/* =========================================================
   4. HOMEPAGE ROW
   ========================================================= */

body.home .module .content .items {
    width: 100%;

    margin: 0 0 13px 0;
    padding: 0;

    float: none;

    display: flex;

    flex-direction: row;
    flex-wrap: nowrap;

    gap: 8px;

    overflow-x: auto;
    overflow-y: hidden;

    border: 0;

    scrollbar-width: none;
    -ms-overflow-style: none;

    scroll-behavior: smooth;
}

body.home .module .content .items::-webkit-scrollbar {
    display: none;
}


/* =========================================================
   5. MOVIEBOX ROW WRAPPER
   Created by existing moviebox-slider JS
   ========================================================= */

body.home .moviebox-row-wrap {
    position: relative;

    width: 100%;
    min-width: 0;

    margin: 0;
    padding: 0;

    overflow: visible;
}



/* =========================================================
   13. MOVIEBOX POSTER + TITLE BOX
   Mobile + Desktop
   ========================================================= */


body.home .module .content .items .item .poster {
    border-radius: 5px 5px 0 0 !important;
    overflow: hidden !important;
}


body.home .module .content .items .item .data {
    background: #25262b !important;

    padding:
        2px
        7px
        2px
        7px !important;

    margin-top: 0 !important;

    border-radius:
        0
        0
        5px
        5px !important;
}



/* =========================================================
   6. MOBILE
   0px - 599px
   ========================================================= */

@media only screen and (max-width: 599px) {

    body.home .module .content,
    body.home .module .content.normal,
    body.home .module .content.right,
    body.home .module .content.left,
    body.home .module .content.full,
    body.home .module .content.full_width_layout {

        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;

        margin-left: 0 !important;
        margin-right: 0 !important;

        padding:
            0
            10px
            78px
            10px !important;

        float: none !important;

        box-sizing: border-box !important;
    }


    /* -----------------------------------------
       Mobile header
       ----------------------------------------- */

    body.home .module .content header {
        padding: 8px 0 10px 0;
    }

    body.home .module .content header h1,
    body.home .module .content header h2 {
        font-size: 16px;
        line-height: 21px;
    }

    body.home .module .content header span,
    body.home .module .content header span a.see-all {
        font-size: 12px;
        line-height: 18px;
    }


    /* -----------------------------------------
       Mobile row
       ----------------------------------------- */

    body.home .module .content .items {
        width: 100% !important;

        margin:
            0
            0
            13px
            0 !important;

        padding: 0 !important;

        display: flex !important;

        flex-direction: row !important;
        flex-wrap: nowrap !important;

        gap: 8px !important;

        overflow-x: auto !important;
        overflow-y: hidden !important;

        border: 0 !important;
    }


    /* -----------------------------------------
       Mobile cards
       ----------------------------------------- */

    body.home .module .content .items > .item {

        flex:
            0 0 28.1vw !important;

        width:
            28.1vw !important;

        min-width:
            28.1vw !important;

        max-width:
            28.1vw !important;

        margin: 0 !important;
        padding: 0 !important;

        float: none !important;

        position: relative;

        box-sizing: border-box !important;
    }


    /* -----------------------------------------
       Mobile poster
       ----------------------------------------- */

    body.home .module .content .items > .item .poster {

        width: 100% !important;
        height: auto !important;

        margin: 0 !important;
        padding-top: 130% !important;

        float: none !important;

        position: relative;

        overflow: hidden !important;

        border-radius: 5px;

        background: #191a1f;

        box-sizing: border-box !important;
    }


    body.home .module .content .items > .item .poster img {

        position: absolute !important;

        top: 0 !important;
        left: 0 !important;

        width: 100% !important;
        height: 100% !important;

        margin: 0 !important;

        object-fit: cover !important;
    }


    /* -----------------------------------------
       Mobile data
       ----------------------------------------- */

    body.home .module .content .items > .item .data {

        width: 100% !important;

        margin:
            0
            0
            8px
            0 !important;

        padding:
            6px
            2px
            0
            2px !important;

        float: none !important;
    }


    body.home .module .content .items > .item .data h3 {

        width: 100% !important;

        margin: 0 0 2px 0 !important;
        padding: 0 !important;

        float: none !important;

        color: #ffffff;

        font-size: 12px !important;
        line-height: 17px !important;
        font-weight: 500 !important;

        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }


    body.home .module .content .items > .item .data span {

        width: 100% !important;

        margin: 0 !important;
        padding: 0 !important;

        float: none !important;

        color: #8d9098;

        font-size: 11px !important;
        line-height: 15px !important;

        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }


    /* -----------------------------------------
       Mobile arrows hidden
       ----------------------------------------- */

    body.home .moviebox-row-arrow {
        display: none !important;
    }
}


/* =========================================================
   7. SMALL MOBILE
   ========================================================= */

@media only screen and (max-width: 424px) {

    body.home .module .content {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    body.home .module .content .items {
        gap: 7px !important;
    }

    body.home .module .content .items > .item {
        flex-basis: 28vw !important;
        width: 28vw !important;
        min-width: 28vw !important;
        max-width: 28vw !important;
    }
}


/* =========================================================
   8. VERY SMALL MOBILE
   ========================================================= */

@media only screen and (max-width: 360px) {

    body.home .module .content {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    body.home .module .content .items {
        gap: 6px !important;
    }
}


/* =========================================================
   9. DESKTOP
   600px AND ABOVE
   ========================================================= */

@media only screen and (min-width: 600px) {

    /* -----------------------------------------
       Full width content
       ----------------------------------------- */

    body.home .module {
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;

        margin: 0 !important;
        padding: 0 !important;

        float: none !important;
    }


    body.home .module .content,
    body.home .module .content.normal,
    body.home .module .content.right,
    body.home .module .content.left,
    body.home .module .content.full,
    body.home .module .content.full_width_layout {

        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;

        margin-left: 0 !important;
        margin-right: 0 !important;

        padding:
            0
            14px
            60px
            14px !important;

        float: none !important;

        box-sizing: border-box !important;
    }


    /* -----------------------------------------
       Desktop section header
       ----------------------------------------- */

    body.home .module .content header {

        width: 100% !important;

        min-height: 46px;

        margin: 0 !important;
        padding:
            10px
            2px !important;

        float: none !important;

        display: flex !important;

        align-items: center !important;
        justify-content: space-between !important;

        line-height: normal !important;
    }


    body.home .module .content header h1,
    body.home .module .content header h2 {

        margin: 0 !important;
        padding: 0 !important;

        float: none !important;

        font-size: 17px !important;
        line-height: 23px !important;
        font-weight: 700 !important;
    }


    body.home .module .content header span,
    body.home .module .content header span a.see-all {

        font-size: 13px !important;
        line-height: 20px !important;
    }


    /* -----------------------------------------
       Desktop row
       ----------------------------------------- */

    body.home .module .content .items {

        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;

        margin:
            0
            0
            30px
            0 !important;

        padding: 0 !important;

        float: none !important;

        display: flex !important;

        flex-direction: row !important;
        flex-wrap: nowrap !important;

        gap: 8px !important;

        overflow-x: auto !important;
        overflow-y: hidden !important;

        border: 0 !important;

        scrollbar-width: none !important;
        -ms-overflow-style: none !important;

        box-sizing: border-box !important;
    }


    body.home .module .content .items::-webkit-scrollbar {
        display: none !important;
    }


    /* -----------------------------------------
       EXACT 5 CARDS
       ----------------------------------------- */

    body.home .module .content .items > .item {

        flex:
            0 0 calc((100% - 32px) / 5) !important;

        width:
            calc((100% - 32px) / 5) !important;

        min-width:
            calc((100% - 32px) / 5) !important;

        max-width:
            calc((100% - 32px) / 5) !important;

        margin: 0 !important;
        padding: 0 !important;

        float: none !important;

        position: relative;

        box-sizing: border-box !important;
    }


    /* -----------------------------------------
       Desktop poster
       ----------------------------------------- */

    body.home .module .content .items > .item .poster {

        width: 100% !important;
        height: auto !important;

        margin: 0 !important;
        padding-top: 140% !important;

        float: none !important;

        position: relative !important;

        overflow: hidden !important;

        border-radius: 6px;

        background: #191a1f;

        box-sizing: border-box !important;
    }


    body.home .module .content .items > .item .poster img {

        position: absolute !important;

        top: 0 !important;
        left: 0 !important;

        width: 100% !important;
        height: 100% !important;

        margin: 0 !important;

        object-fit: cover !important;
    }


    /* -----------------------------------------
       Desktop data
       ----------------------------------------- */

    body.home .module .content .items > .item .data {

        width: 100% !important;

        margin:
            0
            0
            10px
            0 !important;

        padding:
            7px
            2px
            0
            2px !important;

        float: none !important;

        box-sizing: border-box !important;
    }


    body.home .module .content .items > .item .data h3 {

        width: 100% !important;

        margin:
            0
            0
            2px
            0 !important;

        padding: 0 !important;

        float: none !important;

        color: #ffffff;

        font-size: 13px !important;
        line-height: 18px !important;
        font-weight: 500 !important;

        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }


    body.home .module .content .items > .item .data span {

        width: 100% !important;

        margin: 0 !important;
        padding: 0 !important;

        float: none !important;

        color: #8d9098;

        font-size: 11px !important;
        line-height: 16px !important;

        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }



/* -----------------------------------------
   Desktop arrows — MovieBox style
   JS controls show / hide
   ----------------------------------------- */

body.home .moviebox-row-arrow {
    position: absolute;

    top: 50%;
    transform: translateY(-50%);

    width: 42px;
    height: 58px;

    margin: 0;
    padding: 0;

    display: flex;

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

    z-index: 20;

    border: 0;
    border-radius: 6px;

    background: rgba(16, 17, 20, 0.88);

    color: #ffffff;

    cursor: pointer;

    opacity: 0.92;

    transition:
        opacity 0.2s ease,
        background 0.2s ease;
}


body.home .moviebox-row-arrow:hover {
    opacity: 1;
    background: rgba(37, 38, 43, 0.98);
}


/* Left arrow */
body.home .moviebox-row-arrow.left {
    left: 0;
}


/* Right arrow */
body.home .moviebox-row-arrow.right {
    right: 0;
}


/* Arrow symbol */
body.home .moviebox-row-arrow span {
    display: block;

    margin: 0;
    padding: 0;

    color: #ffffff;

    font-size: 38px;
    line-height: 1;
}

}

/* =========================================================
   10. DESKTOP 900px+
   ========================================================= */

@media only screen and (min-width: 900px) {

    body.home .module .content,
    body.home .module .content.normal,
    body.home .module .content.right,
    body.home .module .content.left,
    body.home .module .content.full,
    body.home .module .content.full_width_layout {

        padding-left: 16px !important;
        padding-right: 16px !important;
    }
}


/* =========================================================
   11. DESKTOP 1200px+
   ========================================================= */

@media only screen and (min-width: 1200px) {

    body.home .module .content,
    body.home .module .content.normal,
    body.home .module .content.right,
    body.home .module .content.left,
    body.home .module .content.full,
    body.home .module .content.full_width_layout {

        padding-left: 18px !important;
        padding-right: 18px !important;
    }
}


/* =========================================================
   12. DESKTOP 1600px+
   ========================================================= */

@media only screen and (min-width: 1600px) {

    body.home .module .content,
    body.home .module .content.normal,
    body.home .module .content.right,
    body.home .module .content.left,
    body.home .module .content.full,
    body.home .module .content.full_width_layout {

        padding-left: 20px !important;
        padding-right: 20px !important;
    }
}




/* =========================================================
   END
   ========================================================= */
  
  
  
  
  /* =========================================================
   LATEST RELEASE - FIXED GRID
   ========================================================= */

/* Desktop */
body.home .module .content .items.latest-release-grid {
    display: grid !important;

    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;

    grid-auto-flow: row !important;

    column-gap: 8px !important;
    row-gap: 13px !important;

    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;

    height: auto !important;
    max-height: none !important;

    margin: 0 0 13px 0 !important;
    padding: 0 !important;

    float: none !important;

    flex-direction: unset !important;
    flex-wrap: unset !important;
    flex: none !important;

    overflow: visible !important;

    transform: none !important;
}


/* Latest Release cards */
body.home .module .content .items.latest-release-grid > .item {
    display: block !important;

    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;

    height: auto !important;

    margin: 0 !important;
    padding: 0 !important;

    float: none !important;

    flex: none !important;
}


/* =========================================================
   LATEST RELEASE - MOBILE
   ========================================================= */

@media only screen and (max-width: 599px) {

    body.home .module .content .items.latest-release-grid {

        display: grid !important;

        grid-template-columns:
            repeat(3, minmax(0, 1fr)) !important;

        grid-template-rows: none !important;

        grid-auto-flow: row !important;

        column-gap: 8px !important;
        row-gap: 13px !important;

        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;

        height: auto !important;

        margin: 0 0 13px 0 !important;
        padding: 0 !important;

        float: none !important;

        display: grid !important;

        flex-direction: unset !important;
        flex-wrap: unset !important;
        flex: none !important;

        overflow: visible !important;

        scroll-behavior: auto !important;
    }


    body.home .module .content .items.latest-release-grid > .item {

        display: block !important;

        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;

        margin: 0 !important;
        padding: 0 !important;

        float: none !important;

        flex: none !important;
    }


    /* Poster */
    body.home .module .content .items.latest-release-grid > .item .poster {

        width: 100% !important;

        padding-top: 130% !important;

        height: auto !important;

        margin: 0 !important;
    }


    /* Title/data box */
    body.home .module .content .items.latest-release-grid > .item .data {

        width: 100% !important;

        margin: 0 !important;
    }


    /* Latest Release arrows OFF */
    body.home .moviebox-row-wrap:has(.latest-release-grid)
    .moviebox-row-arrow {

        display: none !important;
    }
}