/*
Theme Name: WP SkyMoviesHD
Theme URI: https://wpcodequill.com/themes/wp-sky-movies-hd-theme
Author: WPCodeQuill
Author URI: https://wpcodequill.com
Description: 
Version: 1.0
Text Domain: wp-sarkari-result
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Tags: responsive-layout, custom-colors, blog, movies, custom-menu, featured-images, two-columns, grid-layout, translation-ready, rtl-language-support, full-width-template, accessibility-ready, sticky-post, threaded-comments, editor-style, block-styles, theme-options, ads-ready, movie, lightweight, fast-loading, seo-friendly
*/


/* MODERN THEME RESET & COLORS */
:root {
    --primary-red: #e50914;
    --dark-bg: #141414;
    --card-bg: #ffffff;
    --text-main: #333333;
    --text-muted: #777777;
}

body { background: #f5f5f7; color: var(--text-main); font-family: 'Inter', sans-serif; }

/* HERO SECTION */
.hero-section { background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('YOUR-BG-IMAGE.jpg'); background-size: cover; padding: 60px 0; text-align: center; color: white; margin-bottom: 30px; border-bottom: 4px solid var(--primary-red); }
.promo-banner h1 { font-size: 2.5rem; font-weight: 800; margin-bottom: 10px; letter-spacing: -1px; }

/* SEARCH BOX */
.modern-search-form { display: flex; max-width: 600px; margin: 20px auto 0; background: white; padding: 5px; border-radius: 50px; box-shadow: 0 10px 25px rgba(0,0,0,0.2); }
.modern-search-form input { border: none; padding: 15px 25px; flex-grow: 1; border-radius: 50px 0 0 50px; outline: none; font-size: 16px; }
.modern-search-form button { background: var(--primary-red); color: white; border: none; padding: 0 30px; border-radius: 50px; font-weight: bold; cursor: pointer; transition: 0.3s; }
.modern-search-form button:hover { background: #ff0000; }

/* MOVIE GRID & CARDS */
.movie-card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; }
.movie-entry-card { background: var(--card-bg); border-radius: 8px; overflow: hidden; box-shadow: 0 4px 12px rgba(0,0,0,0.08); transition: 0.3s; }
.movie-entry-card:hover { transform: translateY(-5px); box-shadow: 0 12px 20px rgba(0,0,0,0.15); }

.poster-box { position: relative; aspect-ratio: 2/3; overflow: hidden; background: #eee; }
.poster-box img { width: 100%; height: 100%; object-fit: cover; }
.badge.quality { position: absolute; top: 10px; right: 10px; background: var(--primary-red); color: white; padding: 3px 8px; font-size: 11px; font-weight: bold; border-radius: 3px; }

.movie-details { padding: 12px; }
.entry-title { font-size: 14px; font-weight: 600; margin: 0 0 8px; height: 40px; overflow: hidden; color: #111; }
.entry-meta { display: flex; justify-content: space-between; font-size: 12px; color: var(--text-muted); }

/* SIDEBAR CARDS */
.sidebar-card { background: white; border-radius: 8px; padding: 20px; margin-bottom: 20px; box-shadow: 0 4px 10px rgba(0,0,0,0.05); }
.sidebar-title { font-size: 16px; font-weight: 700; color: #111; border-bottom: 2px solid #eee; padding-bottom: 10px; margin-bottom: 15px; }
.modern-side-menu { list-style: none; padding: 0; }
.modern-side-menu li a { display: block; padding: 8px 0; color: var(--text-muted); text-decoration: none; border-bottom: 1px solid #f9f9f9; transition: 0.2s; }
.modern-side-menu li a:hover { color: var(--primary-red); padding-left: 5px; }

.breadcrumbs-container {
    background: #fff;
    padding: 10px 15px;
    margin-bottom: 20px;
    border-radius: 4px;
    font-size: 13px;
    color: #777;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    border-left: 4px solid #e50914; /* Your primary red */
}

.breadcrumbs-container a {
    color: #e50914;
    text-decoration: none;
    font-weight: 600;
}

.breadcrumbs-container a:hover {
    text-decoration: underline;
    color: #111;
}

.breadcrumbs-container .sep {
    margin: 0 8px;
    color: #ccc;
}

.breadcrumbs-container .current-post {
    color: #333;
    font-weight: 500;
}

/* Modern Category Section Container */
.modern-category-section {
    background: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 25px;
}

.category-group {
    margin-bottom: 20px;
}

.group-title {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Button Grid Layout */
.button-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* The Modern Button Style */
.btn-modern {
    background: #f1f3f5;
    color: #495057;
    padding: 10px 18px;
    border-radius: 50px; /* Rounded pill shape */
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    display: inline-block;
}

.btn-modern:hover {
    background: #e50914; /* Your primary red */
    color: #ffffff;
    border-color: #e50914;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(229, 9, 20, 0.2);
}

/* Special Styling for Series Buttons */
.btn-series {
    background: #fff;
    border: 1.5px solid #dee2e6;
}

.btn-series:hover {
    background: #007bff; /* Different color for series hover */
    border-color: #007bff;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .btn-modern {
        padding: 8px 14px;
        font-size: 12px;
        flex-grow: 1; /* Buttons fill space on mobile */
        text-align: center;
    }
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .main-wrapper { flex-direction: column; }
    .sidebar { width: 100%; }
    .movie-card-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}


/* Ensure the list is visible and styled as buttons */
.modern-side-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap; /* Allows buttons to wrap to next line */
    gap: 8px;
}

.modern-side-menu li {
    margin: 0;
}

.modern-side-menu li a {
    display: inline-block;
    background: #f1f3f5; /* Light gray background */
    color: #e50914;      /* Strong red text */
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 13px;
    border: 1px solid #dee2e6;
    transition: 0.3s;
}

.modern-side-menu li a:hover {
    background: #e50914;
    color: #ffffff;
    border-color: #e50914;
}


/* --- SkymoviesHD Post Design --- */
.title-bar {
    background: #b22222 !important;
    color: #ffffff !important; /* Added white text color */
    font-size: 13px !important;
    padding: 5px !important;
    text-align: center;
}

.info-header {
    background: #b22222 !important;
    color: #ffffff !important; /* Added white text color */
    font-size: 12px !important;
    padding: 3px !important;
    margin-top: 10px;
    text-align: center;
}

.movie-specs {
    background: #fff;
    padding: 10px;
    font-size: 12px;
    line-height: 1.6;
    border-bottom: 1px solid #ddd;
}

.movie-specs p {
    margin: 2px 0;
}

.movie-specs b {
    color: #000;
}

.download-bar {
    background: #b22222 !important;
    color: #ffffff !important; /* Added white text color */
    font-size: 12px !important;
    padding: 5px !important;
    margin-top: 20px;
    text-align: center;
}

.dl-link {
    color: #960000;
    font-weight: bold;
    text-decoration: none;
    font-size: 13px;
    display: block;
    margin: 5px 0;
}

.dl-link:hover {
    color: #ff1919;
}

.movie-screenshots img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 2px auto;
    border: 1px solid #ccc;
}