/*
Theme Name: Custom HDHub4u Theme
Author: Your Name
Version: 1.0
*/

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    background: #1a1919;
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
}


/* =========================================
   TOP HEADER
========================================= */

.top-header {
    width: 100%;
    height: 73px;
    background: #050505;
    border-bottom: 1px solid #151515;
}

.header-inner {
    width: 100%;
    max-width: 1440px;
    height: 73px;
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 60px;
}


/* =========================================
   LOGO
========================================= */

.site-logo {
    display: flex;
    align-items: center;
}

.site-logo a {
    display: flex;
    align-items: center;

    color: #fff;
    text-decoration: none;
}

.site-logo img {
    display: block;
    max-height: 62px;
    width: auto;
}

.logo-text {
    font-size: 38px;
    font-weight: 800;
    color: #fff;
}


/* =========================================
   TOP MENU
========================================= */

.top-menu {
    display: flex;
    align-items: center;
    gap: 39px;
}

.top-menu a {
    color: #fff;
    text-decoration: none;

    font-size: 18px;
    font-weight: 600;

    white-space: nowrap;

    transition: color 0.2s ease;
}

.top-menu a:hover {
    color: #ffd000;
}


/* =========================================
   MOVIE STRIP
========================================= */

.movie-strip {
    width: 100%;
    height: 158px;

    background: #050505;

    overflow: hidden;

    border-bottom: 1px solid #292929;
}

.movie-strip-inner {
    width: 100%;
    height: 158px;

    display: flex;
    align-items: stretch;

    overflow: hidden;
}

.poster-item {
    flex: 0 0 auto;

    width: 101px;
    height: 158px;

    display: block;

    overflow: hidden;

    border-right: 2px solid #080808;
}

.poster-item img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition: transform 0.25s ease;
}

.poster-item:hover img {
    transform: scale(1.04);
}

.poster-placeholder {
    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 8px;

    text-align: center;

    background: #151515;
    color: #fff;

    font-size: 12px;
}


/* =========================================
   MAIN NAVIGATION
========================================= */

.main-navigation-wrapper {
    width: 100%;

    background: #111;

    border-bottom: 1px solid #333;
}

.main-navigation {
    width: 100%;
    min-height: 61px;

    display: flex;
    align-items: center;

    padding: 7px 11px;

    gap: 0;
}


/* =========================================
   NAV LINKS
========================================= */

.main-navigation > a,
.dropdown-toggle {
    height: 44px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0 15px;

    color: #fff;
    background: transparent;

    border: 0;

    text-decoration: none;

    font-size: 16px;
    font-weight: 600;

    white-space: nowrap;

    cursor: pointer;
}

.main-navigation > a:hover,
.dropdown-toggle:hover {
    color: #ffd000;
}


/* =========================================
   DESKTOP MENU PANEL
========================================= */

.mobile-menu-panel {
    display: contents;
}

.mobile-menu-panel > a,
.mobile-menu-panel .dropdown-toggle {
    height: 44px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0 15px;

    color: #fff;
    background: transparent;

    border: 0;

    text-decoration: none;

    font-size: 16px;
    font-weight: 600;

    white-space: nowrap;

    cursor: pointer;
}

.mobile-menu-panel > a:hover,
.mobile-menu-panel .dropdown-toggle:hover {
    color: #ffd000;
}

/* =========================================
   4K BUTTON
========================================= */

.nav-4k {
    margin-left: 54px;

    background: #ffc400 !important;
    color: #000 !important;

    border-radius: 6px;

    font-weight: 700 !important;

    padding: 0 15px !important;
}

.nav-4k:hover {
    background: #ffd333 !important;
    color: #000 !important;
}

.film-icon {
    margin-right: 7px;

    font-size: 18px;
    line-height: 1;
}


/* =========================================
   DROPDOWN
========================================= */

.nav-dropdown {
    position: relative;
}

.dropdown-toggle span {
    margin-left: 5px;
    font-size: 13px;
}

.dropdown-menu {
    position: absolute;

    top: 100%;
    left: 0;

    min-width: 180px;

    padding: 7px 0;

    background: #171717;

    border: 1px solid #333;

    border-radius: 4px;

    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);

    opacity: 0;
    visibility: hidden;

    transform: translateY(5px);

    transition:
        opacity 0.2s ease,
        transform 0.2s ease,
        visibility 0.2s ease;

    z-index: 1000;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;

    padding: 10px 15px;

    color: #fff;

    text-decoration: none;

    font-size: 14px;
}

.dropdown-menu a:hover {
    background: #272727;
    color: #ffd000;
}


/* =========================================
   SEARCH
========================================= */

.header-search {
    margin-left: auto;
    margin-right: 0;
}

.header-search form {
    margin: 0;
}

.header-search input {
    width: 177px;
    height: 44px;

    padding: 0 12px;

    border: 1px solid #b7c4d2;
    border-radius: 4px;

    background: #fff;
    color: #222;

    font-size: 14px;

    outline: none;
}

.header-search input::placeholder {
    color: #777;
}

.header-search input:focus {
    border-color: #65a9e8;
}


/* =========================================
   NOTICE BAR
========================================= */

.notice-wrapper {
    width: 100%;
    max-width: 1298px;

    margin: 16px auto 0;

    padding: 0 0 13px;

    border-bottom: 1px solid #292929;
}

.notice-bar {
    min-height: 47px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 8px 15px;

    border-radius: 8px;

    background:
        linear-gradient(
            180deg,
            #403737 0%,
            #211c1c 50%,
            #080808 100%
        );

    font-size: 16px;

    line-height: 1.5;

    text-align: center;
}

.notice-cross {
    color: #ffd000;

    font-size: 22px;

    font-weight: 700;

    margin-right: 4px;
}

.notice-red {
    color: #ff3d3d;
}

.notice-blue {
    color: #00aaff;
}

.telegram-icon {
    color: #00aaff;

    margin: 0 4px;

    font-size: 17px;
}


/* =========================================
   MOBILE MENU BUTTON
   HIDDEN ON DESKTOP
========================================= */

.mobile-menu-toggle {
    display: none;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 1100px) {

    .header-inner {
        padding: 0 25px;
    }

    .top-menu {
        gap: 20px;
    }

    .top-menu a {
        font-size: 15px;
    }

    .nav-4k {
        margin-left: 10px;
    }

    .main-navigation > a,
    .dropdown-toggle {
        padding: 0 9px;
        font-size: 14px;
    }

    .header-search input {
        width: 150px;
    }
}


/* =========================================
   MOBILE / SMALL TABLET
========================================= */

@media (max-width: 850px) {

    /* -------------------------
       TOP HEADER
    ------------------------- */

    .top-header {
        height: auto;
    }

    .header-inner {
        position: relative;
        min-height: 78px;
        height: 78px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 8px 55px;
    }

    .site-logo {
        justify-content: center;
        width: auto;
    }

    .site-logo img {
        max-height: 58px;
        width: auto;
    }

    .logo-text {
        font-size: 32px;
        line-height: 1;
    }

    .top-menu {
        display: none;
    }

    /* TOP-LEFT HAMBURGER */
    .mobile-top-menu-toggle {
        display: flex;
        position: absolute;
        left: 8px;
        top: 50%;
        transform: translateY(-50%);

        width: 42px;
        height: 38px;

        align-items: center;
        justify-content: center;

        padding: 0;

        background: transparent;
        color: #fff;

        border: 2px solid #fff;
        border-radius: 4px;

        font-size: 23px;
        line-height: 1;
        cursor: pointer;
        z-index: 20;
    }


    /* -------------------------
       MOVIE STRIP
    ------------------------- */

    .movie-strip {
        height: 150px;
        margin-top: 0;
    }

    .movie-strip-inner {
        height: 150px;
        overflow-x: auto;
        overflow-y: hidden;
        scrollbar-width: none;
    }

    .movie-strip-inner::-webkit-scrollbar {
        display: none;
    }

    .poster-item {
        width: 100px;
        height: 150px;
    }


    /* -------------------------
       MAIN NAVIGATION
    ------------------------- */

    .main-navigation-wrapper {
        position: relative;
        z-index: 50;
    }

    .main-navigation {
        width: 100%;
        min-height: 58px;

        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: flex-start;

        padding: 7px 12px;
        gap: 10px;

        position: relative;
        background: #111;
    }

    /* MAIN NAV HAMBURGER */
    .mobile-nav-menu-toggle {
        display: flex;

        flex: 0 0 34px;
        width: 34px;
        height: 40px;

        align-items: center;
        justify-content: center;

        padding: 0;

        background: transparent;
        color: #fff;

        border: 0;

        font-size: 23px;
        line-height: 1;
        cursor: pointer;
    }

    /* 4K STAYS OUTSIDE MENU */
    .nav-4k {
        flex: 0 0 auto;

        margin-left: 0;

        height: 42px;

        padding: 0 12px !important;

        border-radius: 5px;

        font-size: 14px !important;
    }

    .film-icon {
        font-size: 16px;
        margin-right: 6px;
    }

    /* SEARCH STAYS OUTSIDE MENU */
    .header-search {
        display: flex !important;
        flex: 1 1 auto;

        width: auto;
        min-width: 0;

        margin: 0 0 0 auto;

        justify-content: flex-end;
    }

    .header-search form {
        width: 100%;
        max-width: 178px;
    }

    .header-search input {
        display: block;

        width: 100%;
        height: 44px;

        font-size: 14px;
    }


    /* -------------------------
       DESKTOP MENU PANEL
       HIDDEN ON MOBILE
    ------------------------- */

    .mobile-menu-panel {
        display: none;
    }

    /* OPEN MOBILE MENU */
    .main-navigation.menu-open .mobile-menu-panel {
        display: block;

        position: absolute;

        top: 100%;
        left: 0;

        width: 100%;

        padding: 8px 12px 10px;

        background: #111;

        border-top: 1px solid #333;
        border-bottom: 1px solid #333;

        box-shadow: 0 8px 18px rgba(0, 0, 0, 0.6);

        z-index: 100;
    }

    .main-navigation.menu-open .mobile-menu-panel > a,
    .main-navigation.menu-open .mobile-menu-panel > .nav-dropdown {
        display: block;

        width: 100%;

        margin: 2px 0;
    }

    .main-navigation.menu-open .mobile-menu-panel > a {
        height: 40px;

        display: flex;
        align-items: center;

        padding: 0 14px;

        background: #181818;

        border: 1px solid #292929;
        border-radius: 4px;

        color: #fff;

        text-decoration: none;

        font-size: 14px;
        font-weight: 600;
    }

    .main-navigation.menu-open .mobile-menu-panel > a:hover {
        color: #ffd000;
    }

    /* GENRES / MORE */
    .main-navigation.menu-open .mobile-menu-panel .dropdown-toggle {
        display: flex;

        width: 100%;
        height: 40px;

        align-items: center;
        justify-content: flex-start;

        padding: 0 14px;

        background: #181818;

        border: 1px solid #292929;
        border-radius: 4px;

        color: #fff;

        font-size: 14px;
        font-weight: 600;
    }

    .main-navigation.menu-open .mobile-menu-panel .dropdown-menu {
        position: static;

        width: 100%;
        min-width: 0;

        margin-top: 2px;
        padding: 0;

        background: #0d0d0d;

        border: 1px solid #292929;
        border-radius: 4px;

        box-shadow: none;

        opacity: 1;
        visibility: visible;
        transform: none;

        display: none;
    }

    .main-navigation.menu-open .mobile-menu-panel .nav-dropdown:hover .dropdown-menu {
        display: block;
    }

    .main-navigation.menu-open .mobile-menu-panel .dropdown-menu a {
        display: block;

        padding: 10px 20px;

        border-bottom: 1px solid #222;

        color: #fff;

        font-size: 13px;
    }


    /* -------------------------
       NOTICE
    ------------------------- */

    .notice-wrapper {
        width: auto;
        max-width: none;

        margin: 18px 10px 0;

        padding: 0 0 12px;
    }

    .notice-bar {
        display: block;

        min-height: 0;

        padding: 12px 8px;

        font-size: 14px;
        line-height: 1.45;

        text-align: center;
    }

    .notice-cross {
        font-size: 20px;
        margin-right: 3px;
    }

    .telegram-icon {
        font-size: 15px;
        margin: 0 3px;
    }
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 500px) {

    .header-inner {
        min-height: 78px;
        height: 78px;
        padding: 8px 50px;
    }

    .site-logo img {
        max-height: 54px;
    }

    .logo-text {
        font-size: 30px;
    }

    .mobile-top-menu-toggle {
        left: 7px;

        width: 42px;
        height: 38px;

        font-size: 22px;
    }


    /* POSTER STRIP */

    .movie-strip {
        height: 150px;
    }

    .movie-strip-inner {
        height: 150px;
    }

    .poster-item {
        width: 100px;
        height: 150px;
    }


    /* MAIN NAV */

    .main-navigation {
        min-height: 58px;
        padding: 7px 10px;
        gap: 8px;
    }

    .mobile-nav-menu-toggle {
        flex-basis: 32px;
        width: 32px;
        height: 40px;
        font-size: 22px;
    }

    .nav-4k {
        height: 42px;
        padding: 0 11px !important;
        font-size: 14px !important;
    }

    .header-search {
        min-width: 0;
    }

    .header-search form {
        max-width: 178px;
    }

    .header-search input {
        height: 44px;
        padding: 0 12px;
    }


    /* NOTICE */

    .notice-wrapper {
        margin: 18px 10px 0;
    }

    .notice-bar {
        font-size: 14px;
        line-height: 1.45;
        padding: 12px 7px;
    }


    /* KEEP LATEST CONTENT COMPACT */
    .main-navigation.menu-open .mobile-menu-panel > a,
    .main-navigation.menu-open .mobile-menu-panel .dropdown-toggle {
        height: 40px;
        font-size: 13px;
    }
}


/* =========================================
   VERY SMALL PHONES
========================================= */

@media (max-width: 360px) {

    .header-inner {
        padding-left: 46px;
        padding-right: 46px;
    }

    .site-logo img {
        max-height: 50px;
    }

    .logo-text {
        font-size: 27px;
    }

    .mobile-top-menu-toggle {
        width: 39px;
        height: 36px;
        font-size: 20px;
    }

    .poster-item {
        width: 90px;
        height: 135px;
    }

    .movie-strip,
    .movie-strip-inner {
        height: 135px;
    }

    .main-navigation {
        padding-left: 8px;
        padding-right: 8px;
        gap: 6px;
    }

    .mobile-nav-menu-toggle {
        flex-basis: 30px;
        width: 30px;
        font-size: 21px;
    }

    .nav-4k {
        padding: 0 9px !important;
        font-size: 13px !important;
    }

    .film-icon {
        margin-right: 4px;
        font-size: 15px;
    }

    .header-search form {
        max-width: 150px;
    }

    .header-search input {
        height: 42px;
        font-size: 13px;
    }

    .notice-bar {
        font-size: 13px;
    }
}


/* =========================================
   WORDPRESS DYNAMIC PRIMARY MENU
========================================= */

.mobile-menu-panel {
    display: contents;
}

.primary-menu {
    list-style: none;
    margin: 0;
    padding: 0;

    display: flex;
    align-items: center;
}

.primary-menu > .menu-item {
    position: relative;
    margin: 0;
    padding: 0;
}

.primary-menu > .menu-item > a {
    height: 44px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0 15px;

    color: #fff;
    background: transparent;

    text-decoration: none;

    font-size: 16px;
    font-weight: 600;

    white-space: nowrap;

    cursor: pointer;
}

.primary-menu > .menu-item > a:hover {
    color: #ffd000;
}


/* =========================================
   DYNAMIC DROPDOWN
========================================= */

.primary-menu .menu-item-has-children {
    position: relative;
}

.primary-menu .menu-item-has-children > a::after {
    content: "⌄";

    margin-left: 6px;

    font-size: 13px;
    line-height: 1;
}


/* SUB MENU */

.primary-menu .sub-menu {
    position: absolute;

    top: 100%;
    left: 0;

    min-width: 180px;

    margin: 0;
    padding: 7px 0;

    list-style: none;

    background: #171717;

    border: 1px solid #333;
    border-radius: 4px;

    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);

    opacity: 0;
    visibility: hidden;

    transform: translateY(5px);

    transition:
        opacity 0.2s ease,
        transform 0.2s ease,
        visibility 0.2s ease;

    z-index: 1000;
}

.primary-menu .menu-item-has-children:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.primary-menu .sub-menu li {
    margin: 0;
    padding: 0;
}

.primary-menu .sub-menu a {
    display: block;

    padding: 10px 15px;

    color: #fff;

    text-decoration: none;

    font-size: 14px;

    white-space: nowrap;
}

.primary-menu .sub-menu a:hover {
    background: #272727;
    color: #ffd000;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 1100px) {

    .primary-menu > .menu-item > a {
        padding: 0 9px;
        font-size: 14px;
    }

}


/* =========================================
   MOBILE DYNAMIC MENU
========================================= */

@media (max-width: 850px) {

    .mobile-menu-panel {
        display: none;
    }

    .main-navigation.menu-open .mobile-menu-panel {
        display: block;

        position: absolute;

        top: 100%;
        left: 0;

        width: 100%;

        padding: 8px 12px 10px;

        background: #111;

        border-top: 1px solid #333;
        border-bottom: 1px solid #333;

        box-shadow: 0 8px 18px rgba(0, 0, 0, 0.6);

        z-index: 100;
    }

    .main-navigation.menu-open .primary-menu {
        display: block;

        width: 100%;

        margin: 0;
        padding: 0;
    }

    .main-navigation.menu-open .primary-menu > .menu-item {
        display: block;

        width: 100%;

        margin: 2px 0;
    }

    .main-navigation.menu-open .primary-menu > .menu-item > a {
        display: flex;

        width: 100%;
        height: 40px;

        align-items: center;
        justify-content: flex-start;

        padding: 0 14px;

        background: #181818;

        border: 1px solid #292929;
        border-radius: 4px;

        color: #fff;

        font-size: 14px;
        font-weight: 600;
    }

    .main-navigation.menu-open .primary-menu > .menu-item > a:hover {
        color: #ffd000;
    }


    /* MOBILE SUBMENU */

    .main-navigation.menu-open .primary-menu .sub-menu {
        position: static;

        display: none;

        width: 100%;
        min-width: 0;

        margin: 2px 0 0;
        padding: 0;

        background: #0d0d0d;

        border: 1px solid #292929;
        border-radius: 4px;

        box-shadow: none;

        opacity: 1;
        visibility: visible;
        transform: none;
    }


    /*
     * JS adds submenu-open when user
     * taps a parent menu item.
     */

    .main-navigation.menu-open
    .primary-menu
    .menu-item-has-children.submenu-open
    > .sub-menu {
        display: block;
    }


    .main-navigation.menu-open
    .primary-menu
    .sub-menu
    li {
        display: block;

        width: 100%;
    }

    .main-navigation.menu-open
    .primary-menu
    .sub-menu
    a {
        display: block;

        width: 100%;

        padding: 10px 20px;

        border-bottom: 1px solid #222;

        color: #fff;

        text-decoration: none;

        font-size: 13px;
    }

    .main-navigation.menu-open
    .primary-menu
    .sub-menu
    a:hover {
        background: #181818;
        color: #ffd000;
    }


    /* MOBILE ARROW */

    .primary-menu
    .menu-item-has-children
    > a::after {
        content: "⌄";

        margin-left: auto;

        font-size: 14px;
    }

}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 500px) {

    .main-navigation.menu-open .primary-menu > .menu-item > a {
        height: 40px;

        font-size: 13px;

        padding: 0 14px;
    }

}


/* =========================================
   VERY SMALL PHONES
========================================= */

@media (max-width: 360px) {

    .main-navigation.menu-open .primary-menu > .menu-item > a {
        font-size: 12px;
    }

}







/* =========================================
   MAIN CONTENT
========================================= */

.site-main {
    width: 100%;
    background: #1a1919;
    color: #fff;
    padding: 20px 0 50px;
}

.content-container {
    width: calc(100% - 80px);
    max-width: 1290px;
    margin: 0 auto;
}


/* =========================================
   LATEST RELEASES TITLE
========================================= */

.latest-releases-title {
    width: 100%;

    min-height: 48px;

    display: flex;
    align-items: center;

    padding: 0 10px;

    margin-bottom: 16px;

    background: #151515;

    border: 1px solid #1d1d1d;

    color: #fff;

    font-size: 30px;
    font-weight: 600;
}

.latest-icon {
    color: #fff;

    font-size: 15px;

    margin-right: 7px;
}


/* =========================================
   MOVIE GRID
========================================= */

.movie-grid {
    display: grid;

    grid-template-columns: repeat(5, minmax(0, 1fr));

    column-gap: 20px;
    row-gap: 30px;
}


/* =========================================
   MOVIE CARD
========================================= */

.movie-card {
    min-width: 0;

    margin: 0;

    background: #111;

    border: 1px solid #171717;

    overflow: hidden;
}


/* =========================================
   POSTER
========================================= */

.movie-image-link {
    display: block;

    width: 100%;

    aspect-ratio: 0.68;

    overflow: hidden;

    background: #111;
}

.movie-poster {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition: transform 0.25s ease;
}

.movie-image-link:hover .movie-poster {
    transform: scale(1.03);
}


/* =========================================
   NO IMAGE
========================================= */

.movie-no-image {
    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #222;

    color: #aaa;

    font-size: 14px;
}


/* =========================================
   MOVIE INFO
========================================= */

.movie-info {
    padding: 7px 8px 12px;

    min-height: 90px;
}

.movie-title {
    margin: 0;
    padding: 10px 6px;
    

    font-size: 18px;

    line-height: 1.45;

    font-weight: 600;
}

.movie-title a {
    color: #fff;

    text-decoration: none;
}

.movie-title a:hover {
    color: #ffd000;
}


/* =========================================
   PAGINATION
========================================= */

.movie-pagination {
    width: 100%;

    display: flex;
    justify-content: center;

    margin-top: 48px;
}

.movie-pagination ul {
    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 4px;

    list-style: none;

    margin: 0;
    padding: 0;
}

.movie-pagination li {
    margin: 0;
    padding: 0;
}

.movie-pagination a,
.movie-pagination span {
    min-width: 29px;
    height: 29px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    padding: 0 8px;

    border: 1px solid #3a3a3a;

    border-radius: 3px;

    background: #222;

    color: #fff;

    text-decoration: none;

    font-size: 12px;

    font-weight: 600;
}

.movie-pagination a:hover {
    background: #333;

    border-color: #555;
}

.movie-pagination .current {
    background: #1683e8;

    border-color: #1683e8;

    color: #fff;
}

.movie-pagination .dots {
    background: #1683e8;

    border-color: #1683e8;
}


/* =========================================
   NO POSTS
========================================= */

.no-posts {
    padding: 60px 20px;

    text-align: center;

    background: #111;
}

.no-posts h2 {
    margin-bottom: 10px;
}

.no-posts p {
    color: #aaa;
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 1100px) {

    .movie-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));

        column-gap: 14px;
    }

    .movie-title {
        font-size: 18px;
    }
}


@media (max-width: 850px) {

    .content-container {
        width: calc(100% - 30px);
    }

    .movie-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));

        column-gap: 12px;
        row-gap: 24px;
    }

    .movie-info {
        min-height: 80px;

        padding: 7px;
    }

    .movie-title {
        font-size: 17px;
    }
}


@media (max-width: 600px) {

    .site-main {
        padding-top: 14px;
    }

    .content-container {
        width: calc(100% - 20px);
    }

    .latest-releases-title {
        min-height: 42px;

        margin-bottom: 12px;

        font-size: 14px;
    }

    .movie-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));

        column-gap: 10px;
        row-gap: 18px;
    }

    .movie-info {
        min-height: 75px;

        padding: 16px 10px;
    }

    .movie-title {
        font-size: 16px;

        line-height: 1.4;
    }
}

@media (max-width: 500px) {

    main {
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
        padding: 0 10px;
    }

    .movie-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .movie-card {
        width: 100%;
        min-width: 0;
    }

    .movie-card img {
        width: 100%;
        height: auto;
        display: block;
    }
}


@media (max-width: 420px) {

    .movie-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));

        column-gap: 12px;
        row-gap: 20px;
    }

    .movie-info {
        min-height: 80px;
    }

    .movie-title {
        font-size: 16px;
    }

    .movie-pagination {
        margin-top: 35px;
    }
}



/* =========================================
   FOOTER
========================================= */

.site-footer {
    width: 100%;
    background: #000;
    color: #fff;
}


/* =========================================
   FOOTER CONTENT
========================================= */

.footer-content {
    width: calc(100% - 80px);
    max-width: 940px;

    margin: 0 auto;

    padding: 0 0 20px;

    border-top: 1px solid #292929;
    border-bottom: 1px solid #292929;
}


/* FOOTER TITLE */

.footer-info {
    text-align: center;

    padding: 18px 20px 14px;
}

.footer-info h2 {
    margin: 0 0 10px;

    color: #ffd000;

    font-size: 20px;

    font-weight: 700;
}

.footer-info p {
    max-width: 900px;

    margin: 0 auto;

    color: #fff;

    font-size: 13px;

    line-height: 1.6;
}


/* =========================================
   POPULAR LINKS
========================================= */

.footer-popular {
    padding: 11px 10px 13px;

    border-top: 1px solid #292929;

    text-align: center;

    color: #777;

    font-size: 12px;

    line-height: 1.8;
}

.footer-popular strong {
    color: #22d500;
}

.footer-popular a {
    color: #777;

    text-decoration: none;
}

.footer-popular a:hover {
    color: #ffd000;
}

.footer-popular span {
    color: #777;

    margin: 0 2px;
}


/* =========================================
   FOOTER BOTTOM
========================================= */

.footer-bottom {
    width: 100%;

    min-height: 70px;

    background: #111;
}

.footer-bottom-inner {
    width: calc(100% - 80px);
    max-width: 1290px;

    min-height: 70px;

    margin: 0 auto;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;
}


/* COPYRIGHT */

.copyright {
    color: #ddd;

    font-size: 14px;

    white-space: nowrap;
}

.copyright strong {
    color: #ffd000;
}

.copyright span {
    color: #777;

    margin: 0 3px;
}


/* =========================================
   FOOTER MENU
========================================= */

.footer-menu {
    display: flex;

    align-items: center;

    justify-content: flex-end;

    gap: 20px;
}

.footer-menu a {
    display: inline-flex;

    align-items: center;

    gap: 6px;

    color: #fff;

    text-decoration: none;

    font-size: 13px;

    font-weight: 600;

    white-space: nowrap;
}

.footer-menu a span {
    color: #ffd000;

    font-size: 15px;
}

.footer-menu a:hover {
    color: #ffd000;
}


/* =========================================
   RESPONSIVE FOOTER
========================================= */

@media (max-width: 900px) {

    .footer-bottom-inner {
        flex-direction: column;

        justify-content: center;

        padding: 15px 0;

        text-align: center;
    }

    .footer-menu {
        flex-wrap: wrap;

        justify-content: center;

        gap: 12px 18px;
    }
}


@media (max-width: 600px) {

    .footer-content {
        width: calc(100% - 25px);
    }

    .footer-info {
        padding: 18px 8px 14px;
    }

    .footer-info h2 {
        font-size: 18px;
    }

    .footer-info p {
        font-size: 12px;
    }

    .footer-popular {
        font-size: 11px;
    }

    .footer-bottom-inner {
        width: calc(100% - 25px);
    }

    .copyright {
        font-size: 12px;
    }

    .footer-menu a {
        font-size: 12px;
    }
}







/* =========================================
   SINGLE POST
========================================= */

.single-page {
    padding-top: 8px;
    padding-bottom: 50px;
}

.single-container {
    width: calc(100% - 100px);
    max-width: 1250px;

    margin: 0 auto;
}


/* =========================================
   HOME BUTTON
========================================= */

.back-home-wrap {
    text-align: center;

    padding: 0 0 7px;

    border-bottom: 1px solid #292929;
}

.back-home-btn {
    display: inline-block;

    padding: 3px 7px;

    background: #222;

    border: 1px solid #555;

    border-radius: 3px;

    color: #fff;

    text-decoration: none;

    font-size: 11px;
}

.back-home-btn:hover {
    background: #333;

    color: #ffd000;
}


/* =========================================
   POST TITLE
========================================= */

.single-post-header {
    margin-top: 12px;
}

.single-post-title {
    margin: 0;

    padding: 9px 8px;

    background: #151515;

    border-radius: 2px;

    color: #fff;

    font-size: 22px;

    line-height: 1.35;

    font-weight: 700;
}


/* =========================================
   META
========================================= */

.single-meta {
    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 5px;

    padding: 7px 0;

    border-bottom: 1px solid #292929;
}

.meta-date,
.meta-category {
    display: inline-flex;

    align-items: center;

    padding: 4px 8px;

    background: #f5f5f5;

    border-radius: 2px;

    color: #111;

    text-decoration: none;

    font-size: 15px;

    font-weight: 600;
}

.meta-date {
    background: #2589e8;

    color: #fff;
}

.meta-category:hover {
    background: #ddd;
}


/* =========================================
   INTRO CONTENT
========================================= */

.single-intro {
    max-width: 850px;

    margin: 8px auto 0;

    color: #aaa;

    text-align: center;

    font-size: 12px;

    font-style: italic;

    line-height: 1.6;
}

.single-intro p {
    margin: 5px 0;
}


/* =========================================
   FEATURED IMAGE
========================================= */

.single-featured-image {
    display: flex;

    justify-content: center;

    margin: 8px auto 0;
}

.single-poster {
    width: auto;

    max-width: 300px;

    height: auto;

    display: block;
}


/* =========================================
   DOWNLOAD GUIDE
========================================= */

.download-guide {
    text-align: center;

    padding: 8px 0;
}

.download-guide a {
    color: #168fe8;

    font-size: 15px;

    font-weight: 700;

    text-decoration: none;
}

.download-guide a:hover {
    color: #ffd000;
}


/* =========================================
   WHATSAPP
========================================= */

.whatsapp-section {
    display: flex;

    justify-content: center;

    padding: 2px 0 10px;
}

.whatsapp-button {
    display: inline-flex;

    align-items: center;

    gap: 7px;

    padding: 4px 8px;

    background: #172121;

    border-radius: 3px;

    color: #ddd;

    text-decoration: none;

    font-size: 11px;
}

.whatsapp-icon {
    width: 36px;
    height: 36px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #25d366;

    color: #fff;

    font-size: 20px;
}

.whatsapp-button:hover {
    opacity: .85;
}


/* =========================================
   MOVIE DETAILS
========================================= */

.movie-details {
    margin-top: 5px;

    padding: 12px 10px;

    border-top: 1px solid #292929;

    border-bottom: 1px solid #292929;

    text-align: center;
}

.movie-details h2 {
    margin: 0 0 7px;

    color: #fff;

    font-size: 15px;
}

.movie-details h2 em {
    font-weight: 400;

    font-size: 13px;
}

.movie-detail-line {
    margin: 5px 0;

    font-size: 12px;

    line-height: 1.4;

    color: #aaa;
}

.movie-detail-line strong {
    color: #168fe8;
}

.red-text {
    color: #ff3d3d;
}


/* =========================================
   SCREENSHOTS
========================================= */

.movie-screenshots {
    margin-top: 7px;

    border-bottom: 1px solid #292929;
}

.section-heading {
    margin: 0;

    text-align: center;

    font-size: 14px;
}

.screenshots-heading {
    padding: 7px 0;

    color: #ff2222;
}

.screenshots-grid {
    width: min(660px, 100%);

    margin: 0 auto;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 0;

    padding-bottom: 10px;
}

.screenshots-grid img {
    width: 100%;

    height: auto;

    display: block;

    object-fit: cover;
}

/* =========================================
   SINGLE CONTENT - RESPONSIVE FIX
========================================= */

.single-content {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
    box-sizing: border-box;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

/* All images inside imported post content */
.single-content img {
    max-width: 100% !important;
    width: auto !important;
    height: auto !important;
    display: block;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

/* Images wrapped inside links */
.single-content a {
    max-width: 100%;
    overflow-wrap: anywhere;
}

.single-content a img {
    max-width: 100% !important;
    height: auto !important;
}

/* Figures */
.single-content figure {
    max-width: 100% !important;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

.single-content figure img {
    max-width: 100% !important;
}

/* Videos / iframes / embeds */
.single-content iframe,
.single-content video,
.single-content embed,
.single-content object {
    max-width: 100% !important;
}

/* Long text / URLs */
.single-content p,
.single-content div,
.single-content span {
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

/* Tables */
.single-content table {
    max-width: 100%;
    display: block;
    overflow-x: auto;
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 500px) {

    .single-container {
        width: calc(100% - 20px);
        max-width: 500px;
    }

    .single-content {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .single-content img,
    .single-content figure img {
        max-width: 100% !important;
        width: auto !important;
        height: auto !important;
    }

    .single-content iframe,
    .single-content video {
        max-width: 100% !important;
    }

}



/* =========================================
   DOWNLOAD SECTION
========================================= */

.download-section {
    margin-top: 10px;
    text-align: center;
}

.download-title {
    margin: 0;
    padding: 8px;
    border-bottom: 1px solid #292929;
    color: #fff;
    font-size: 15px;
}

.download-heading {
    margin: 0;
    padding: 8px;
    border-bottom: 1px solid #292929;
    color: #ff1717;
    font-size: 14px;
    font-style: italic;
}

.quality-note {
    padding: 8px;
    border-bottom: 1px solid #292929;
    color: #ff7500;
    font-size: 11px;
    font-weight: 600;
}


/* =========================================
   QUALITY DOWNLOAD BUTTON
========================================= */

.quality-list {
    width: 100%;
    text-align: center;
    box-sizing: border-box;
}

.quality-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: auto;
    max-width: 100%;
    min-height: 44px;

    margin: 5px auto;
    padding: 9px 16px;

    box-sizing: border-box;

    background: linear-gradient(
        90deg,
        #4caf20 0%,
        #249c55 45%,
        #0878d1 100%
    );

    color: #fff !important;
    text-decoration: none !important;

    font-size: 14px;
    font-weight: 700;
    font-style: normal;

    line-height: 1.3;
    text-align: center;

    border: none;
    border-radius: 4px;

    overflow-wrap: anywhere;
    word-break: break-word;

    transition: opacity 0.2s ease, transform 0.2s ease;
}

.quality-link:hover {
    color: #fff !important;

    background: linear-gradient(
        90deg,
        #55b925 0%,
        #28a55b 45%,
        #1685df 100%
    );

    transform: translateY(-1px);
}

.quality-4k {
    color: #fff !important;
}


/* =========================================
   IMPORTED DOWNLOAD LINKS
   HTML:
   <a class="btn">
       <button class="dwd-button">...</button>
   </a>
========================================= */

.single-content .download-links-div {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;

    text-align: center;
    box-sizing: border-box;

    overflow: hidden;
}

/* Quality heading */

.single-content .download-links-div h3 {
    max-width: 100%;
    margin: 10px 0 !important;
    padding: 0 !important;

    line-height: 1.3;
    text-align: center;

    box-sizing: border-box;
}

/* Red quality text */

.single-content .download-links-div h3 span {
    max-width: 100%;
    overflow-wrap: break-word;
}


/* =========================================
   DOWNLOAD LINK WRAPPER
========================================= */

.single-content .download-links-div a.btn {
    display: inline-block;

    max-width: 100%;

    margin: 0 auto;

    padding: 0;

    box-sizing: border-box;

    text-decoration: none !important;

    overflow-wrap: anywhere;
}


/* =========================================
   ACTUAL DOWNLOAD BUTTON
========================================= */

.single-content .download-links-div button.dwd-button {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 7px;

    width: auto;
    max-width: 100%;

    min-width: 250px;
    min-height: 44px;

    margin: 0 auto;
    padding: 10px 16px;

    box-sizing: border-box;

    background: linear-gradient(
        90deg,
        #4caf20 0%,
        #249c55 45%,
        #0878d1 100%
    );

    border: none;
    border-radius: 4px;

    color: #fff;

    font-size: 14px;
    font-weight: 700;
    font-style: normal;

    line-height: 1.3;

    text-align: center;

    white-space: normal;

    overflow-wrap: anywhere;
    word-break: break-word;

    cursor: pointer;

    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
}


/* =========================================
   DOWNLOAD ICON
========================================= */

.single-content .download-links-div button.dwd-button i {
    flex: 0 0 auto;

    font-size: 14px;
}


/* =========================================
   WORDPRESS EMOJI
========================================= */

.single-content .download-links-div button.dwd-button img.emoji {
    display: inline-block !important;

    width: 18px !important;
    height: 18px !important;

    max-width: 18px !important;
    max-height: 18px !important;

    min-width: 18px !important;

    margin: 0 !important;
    padding: 0 !important;

    object-fit: contain;

    vertical-align: middle;
}


/* =========================================
   DOWNLOAD BUTTON HOVER
========================================= */

.single-content .download-links-div a.btn:hover {
    text-decoration: none !important;
}

.single-content .download-links-div a.btn:hover button.dwd-button {
    opacity: 0.9;

    transform: translateY(-1px);
}


/* =========================================
   PLAYER
========================================= */

.player-section {
    padding: 12px 8px;

    border-bottom: 1px solid #292929;

    box-sizing: border-box;
}

.player-link {
    color: #00e6d0;

    text-decoration: none;

    font-size: 14px;
    font-weight: 700;
}

.player-link:hover {
    color: #fff;
}


/* =========================================
   GENERAL CONTENT BUTTON SAFETY
========================================= */

.single-content a[class*="button"],
.single-content a[class*="btn"],
.single-content .button,
.single-content .btn,
.single-content button {
    max-width: 100%;
    box-sizing: border-box;

    overflow-wrap: anywhere;
    word-break: break-word;
}


/* =========================================
   SINGLE RESPONSIVE - TABLET
========================================= */

@media (max-width: 700px) {

    .single-container {
        width: calc(100% - 20px);
    }

    .single-post-title {
        font-size: 14px;
    }

    .single-poster {
        max-width: 260px;
    }

    .screenshots-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .movie-detail-line {
        font-size: 11px;
    }

    /* Download button */

    .single-content .download-links-div button.dwd-button {
        max-width: 100%;
        min-width: 220px;
    }
}


/* =========================================
   SINGLE RESPONSIVE - MOBILE
========================================= */
@media (max-width: 500px) {

    .single-content .download-links-div button.dwd-button {
        width: 100%;
        max-width: 100%;

        min-width: 0;
        min-height: 52px;

        padding: 13px 10px;

        font-size: 14px;
        font-weight: 700;

        line-height: 1.4;

        gap: 6px;
    }

    .single-content .download-links-div button.dwd-button img.emoji {
        width: 19px !important;
        height: 19px !important;

        max-width: 19px !important;
        max-height: 19px !important;

        min-width: 19px !important;
    }

    .single-content .download-links-div button.dwd-button i {
        font-size: 14px;
    }
}
/* =========================================
   VERY SMALL MOBILE
========================================= */

@media (max-width: 450px) {

    .single-container {
        width: calc(100% - 14px);
    }

    .single-post-title {
        font-size: 13px;
    }

    .single-meta {
        gap: 3px;
    }

    .meta-date,
    .meta-category {
        font-size: 9px;
        padding: 4px 5px;
    }

    .single-poster {
        width: 220px;
    }

    .screenshots-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .quality-link {
        font-size: 12px;
        padding: 11px 5px;
    }

    .download-title {
        font-size: 13px;
    }

    /* Imported download buttons */

    .single-content .download-links-div h3 {
        margin: 8px 0 !important;
    }

    .single-content .download-links-div button.dwd-button {
        width: 100%;
        min-height: 40px;

        padding: 8px 5px;

        font-size: 11px;

        gap: 4px;
    }

    .single-content .download-links-div button.dwd-button img.emoji {
        width: 15px !important;
        height: 15px !important;

        max-width: 15px !important;
        max-height: 15px !important;

        min-width: 15px !important;
    }

    .single-content .download-links-div button.dwd-button i {
        font-size: 11px;
    }
}
/* =========================================
   404 ERROR PAGE
========================================= */

.error-page {
    min-height: 500px;

    display: flex;
    align-items: flex-start;
    justify-content: center;

    padding-top: 45px;
    padding-bottom: 70px;
}

.error-container {
    width: calc(100% - 30px);
    max-width: 900px;

    margin: 0 auto;
}

.error-box {
    text-align: center;

    padding: 35px 20px 45px;

    border-top: 1px solid #292929;
    border-bottom: 1px solid #292929;
}


/* 404 NUMBER */

.error-number {
    color: #ffd000;

    font-size: 82px;

    line-height: 1;

    font-weight: 800;

    margin-bottom: 10px;
}

.error-box h1 {
    margin: 0 0 12px;

    color: #fff;

    font-size: 25px;
}

.error-box p {
    margin: 5px 0;

    color: #888;

    font-size: 15px;

    line-height: 1.6;
}

.error-box .error-subtext {
    color: #555;

    font-size: 13px;
}


/* =========================================
   BUTTONS
========================================= */

.error-actions {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 10px;

    margin-top: 25px;
}

.error-home-button,
.error-search-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 38px;

    padding: 0 15px;

    border-radius: 4px;

    text-decoration: none;

    font-size: 13px;

    font-weight: 600;
}

.error-home-button {
    background: #ffd000;

    color: #000;
}

.error-home-button:hover {
    background: #fff;

    color: #000;
}

.error-search-button {
    background: #222;

    border: 1px solid #444;

    color: #fff;
}

.error-search-button:hover {
    background: #333;

    color: #ffd000;
}


/* =========================================
   SEARCH FORM
========================================= */

.error-search-form {
    width: min(520px, 100%);

    display: flex;

    margin: 25px auto 0;
}

.error-search-form input {
    flex: 1;

    min-width: 0;

    height: 42px;

    padding: 0 13px;

    background: #111;

    border: 1px solid #333;

    border-right: 0;

    border-radius: 4px 0 0 4px;

    color: #fff;

    outline: none;

    font-size: 13px;
}

.error-search-form input:focus {
    border-color: #555;
}

.error-search-form button {
    width: 55px;

    height: 42px;

    border: 1px solid #333;

    border-radius: 0 4px 4px 0;

    background: #222;

    color: #aaa;

    cursor: pointer;

    font-size: 16px;
}

.error-search-form button:hover {
    background: #333;

    color: #ffd000;
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 600px) {

    .error-page {
        min-height: 430px;

        padding-top: 30px;
        padding-bottom: 45px;
    }

    .error-box {
        padding: 30px 10px 35px;
    }

    .error-number {
        font-size: 65px;
    }

    .error-box h1 {
        font-size: 21px;
    }

    .error-box p {
        font-size: 13px;
    }

    .error-box .error-subtext {
        font-size: 12px;
    }

    .error-actions {
        flex-direction: column;

        width: 100%;
    }

    .error-home-button,
    .error-search-button {
        width: min(280px, 100%);
    }

    .error-search-form {
        width: 100%;
    }
}








