/* ==========================================================================
   Bolly2k Clone Theme
   ========================================================================== */

:root {
    --bf-bg-color: #09090b;
    --bf-card-bg: #1a1a1a;
    --bf-text-primary: #ffffff;
    --bf-text-secondary: #a0a0a0;
    --bf-accent-green: #8dc63f;
    --bf-accent-red: #ea2127;
    --bf-nav-bg: #494949;
    --bf-border-color: #333333;
    --wpr-bg-d7d56ba0-1123-41fc-9e05-cd0483b6bfff: #000;
}

body {
    background-color: #000;
    color: var(--bf-text-primary);
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

a {
    color: green;
    text-decoration: none;
    transition: color .3s, background-color .3s, border-color .3s;
}

a:hover {
    color: #fff;
}

/* Layout Overrides */
.app-layout,
.main-content {
    background-color: transparent;
}

#site-wrap-parent {
    background-color: #000;
    width: 100%;
    /* Removed background-image to keep it clean like Bolly2k/MoviesMad boxed layout */
}

#site-wrap-children {
    max-width: 1150px;
    margin: 0 auto;
    background-color: #111;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.8);
    position: relative;
}

/* Header & Navbar */
.site-header {
    background-image: url('/templates/bollyflix/images/double-bubble-dark.png');
}

.top-nav {
    background-color: rgba(19, 115, 109, 1);
}

.main-nav {
    background-color: #494949;
}

.nav-logo-img img {
    max-height: 50px !important;
    max-width: none !important;
}

.nav-menu>ul>li:hover>a {
    background-color: rgba(0, 0, 0, 0.08);
}

.nav-menu>ul>li.current-menu-ancestor:not(.top-megamenu)>a,
.nav-menu>ul>li.current-menu-item:not(.top-megamenu)>a {
    background-color: rgba(0, 0, 0, 0.08);
}

.nav-menu>ul>div.menu>ul>li>a,
.nav-menu>ul>li>a {
    padding-left: 13px;
    padding-right: 15px;
    color: #fff;
    text-transform: capitalize;
    font-weight: 500;
}

.top-search-box .top-search-box-wrapper .search-terms-textfield {
    background: #18181b !important;
    background-image: none !important;
    border-color: #3f3f46;
    color: #fff;
    padding: 8px;
    border-radius: 4px;
}

/* Header Categories & Tags */
#header-social {
    text-align: center;
    margin-bottom: 10px;
    margin-top: 10px;
}

.button {
    font-family: poppins, sans-serif;
    color: white;
    padding: 8px 6px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    margin: 5px 1px;
    transition-duration: 0.4s;
    cursor: pointer;
    min-width: 170px;
    box-shadow: 0px 0px 32px -10px #fe0000;
}

.buttontg {
    background-color: #009DE1;
    text-transform: uppercase;
    border-radius: 15%;
}

.howtodl {
    background-color: #DF9A17;
    text-transform: uppercase;
    border-radius: 15%;
}

.desijunx {
    background-color: red;
    text-transform: uppercase;
    border-radius: 15%;
    font-weight: 500;
}

.bollywood {
    background-color: #44b81a;
    text-transform: uppercase;
    border-radius: 15%;
    font-weight: 500;
}

#header-category {
    text-align: center;
    margin-bottom: 10px;
    margin-top: 10px;
}

.hcategory {
    font-family: poppins, sans-serif;
    color: white;
    padding: 5px 5px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    margin: 4px 2px;
    transition-duration: 0.4s;
    cursor: pointer;
    min-width: 70px;
}

.hccateg {
    text-transform: uppercase;
    border-radius: 15%;
    background-color: #555;
    color: #fff;
    border: 1px solid #e7e7e7;
    border-radius: 4px;
    margin-bottom: 4px;
}

span.hcategory.hccateg:hover {
    background-color: #e7e7e7;
    color: #000;
}

/* SEO Welcome Banner Overhaul */
.seo-header {
    background: linear-gradient(135deg, #111, #1c1c1c);
    padding: 50px 20px;
    border-bottom: 3px solid #4caf50;
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.seo-header h1 {
    color: #ffffff;
    font-size: 22px;
    line-height: 1.3;
    margin-bottom: 15px;
    font-weight: 600;
}

.seo-header p {
    color: #cfcfcf;
    font-size: 16px;
    line-height: 1.8;
}

/* Movie Card Grid Overhaul (Bolly2k Style) */
.movie-grid {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
    /* Adjust based on padding */
}

.post-item {
    width: 50%;
    padding: 0 15px;
    margin-bottom: 30px;
}

@media only screen and (min-width: 600px) {
    .movie-grid .post-item {
        width: 20%;
    }
}

.blog-pic {
    box-shadow: none;
    border: 2px solid transparent;
    border-radius: 10px;
    box-shadow: 0 0 5px #fff;
    background: #27272a;
    overflow: hidden;
}

.blog-pic img.blog-picture {
    width: 100%;
    height: auto;
    aspect-ratio: 2/3;
    object-fit: cover;
    display: block;
}

.listing-content {
    text-align: center;
    padding-top: 10px;
}

.mytime {
    color: #948a8a !important;
    text-align: center !important;
    font-size: 12px;
    margin-bottom: 10px;
}

.mytime i {
    margin-right: 5px;
}

.post-title {
    font-size: 15px !important;
    font-weight: 600;
}

.post-title a {
    color: #fff;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Pagination Overhaul */
.blog-pagination {
    text-align: center;
    margin: 30px 0;
}

.wp-pagenavi {
    display: inline-flex;
    gap: 5px;
    flex-wrap: wrap;
    justify-content: center;
}

.wp-pagenavi span.current {
    background-color: var(--bf-accent-green);
    color: #fff;
}

.wp-pagenavi span,
.wp-pagenavi a {
    background-color: #2a2a2a;
    border: none;
    color: #fff;
    border-radius: 3px;
    min-width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
}

.wp-pagenavi a:hover {
    background-color: var(--bf-accent-red);
    color: #fff;
}

/* Footer SEO Wrapper Overhaul */
.footer-seo-wrapper {
    background: #1b1b1b;
    border-top: 3px solid #4caf50;
    padding: 45px 25px;
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.footer-seo-wrapper h2,
.footer-seo-wrapper h3 {
    color: #ffffff;
    margin: 25px 0 15px;
    font-weight: 600;
}

.footer-seo-wrapper p {
    color: #cfcfcf;
    font-size: 15px;
    line-height: 1.9;
    margin-bottom: 15px;
}

.site-footer {
    background-color: #111;
    color: #a0a0a0;
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid #333;
}

.default-copyright {
    display: inline-block;
    padding-bottom: 10px;
}

.site-footer hr {
    border: none;
    height: 1px;
    background-color: #333;
    margin: 10px 0;
}

.site-footer a {
    color: #a0a0a0;
    margin: 0 10px;
}

.site-footer a:hover {
    color: #fff;
}