/*
Theme Name: WP HDHub4u
Theme URI: https://wpcodequill.com/themes/hdhub4u-theme/
Author: WPCodeQuill
Author URI: https://wpcodequill.com
Description: 
Version: 1.2.0
Text Domain: wp-hdhub4u-theme
License: MIT License
License URI: https://wpcodequill.com/mit-license/

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
*/


/* Overall Theme Reset */
/* --- 1. Overall Theme Reset --- */
body { 
    background-color: #0b0b0b; 
    color: #ffffff; 
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
    margin: 0; 
    padding: 0; 
    line-height: 1.6;
}

a { text-decoration: none; color: #fff; transition: 0.3s; }
ul, li { list-style: none !important; margin: 0; padding: 0; }

/* --- 2. Navigation & Logo --- */
.main-nav { 
    background: #1a1a1a; 
    border-bottom: 3px solid #ff9933; 
    padding: 10px 0; 
    text-align: center; 
}

.logo-area img {
    max-height: 50px;
    width: auto;
    display: inline-block;
}

.section-title { 
    background: #111; 
    color: #fff; 
    padding: 12px; 
    font-size: 16px; 
    font-weight: bold; 
    border-left: 5px solid #ff9933; 
    margin: 15px 10px;
    text-transform: uppercase;
    border-radius: 4px;
}

/* --- 3. Movie Grid (2 Columns Mobile, Auto Desktop) --- */
.movie-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 Columns on Mobile */
    gap: 10px;
    padding: 10px;
}

@media (min-width: 768px) {
    .movie-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); /* Desktop Grid */
        gap: 15px;
        padding: 15px;
    }
}

/* --- 4. Movie Card Style --- */
.movie-card {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 5px;
    overflow: hidden;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
}

.movie-card:hover { 
    border-color: #ff9933; 
    transform: translateY(-3px); 
}

/* --- 5. Poster & Quality Badge --- */
.poster-container {
    position: relative;
    width: 100%;
    aspect-ratio: 2 / 3;
    background: #222;
    overflow: hidden;
}

.poster-container img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
}

.quality-badge { 
    position: absolute; 
    top: 5px; 
    left: 5px; 
    background: rgba(0, 0, 0, 0.85); 
    color: #fff; 
    padding: 2px 7px; 
    font-size: 10px; 
    font-weight: bold; 
    text-align: center; 
    border: 1px solid #444; 
    border-radius: 3px; 
    z-index: 10; 
    text-transform: uppercase;
}

/* --- 6. Movie Details --- */
.movie-details {
    padding: 10px 8px;
    text-align: center;
    background: #222;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.movie-date { 
    font-size: 10px; 
    color: #2196f3; 
    display: block; 
    margin-bottom: 5px; 
    font-weight: bold; 
}

.movie-title { 
    font-size: 12px; 
    color: #eee; 
    font-weight: bold; 
    line-height: 1.4; 
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Shows exactly 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-transform: capitalize;
}

.movie-formats { 
    font-size: 10px; 
    color: #ffeb3b; 
    margin-top: 5px; 
    display: block; 
    font-weight: bold; 
}

/* --- 7. Pagination --- */
.pagination { 
    text-align: center; 
    padding: 40px 10px; 
}

.pagination .page-numbers {
    padding: 8px 15px;
    background: #1a1a1a;
    border: 1px solid #333;
    color: #bbb;
    margin: 0 3px;
    font-weight: bold;
    border-radius: 4px;
    font-size: 13px;
    display: inline-block;
}

.pagination .current { 
    background: #ff9933 !important; 
    color: #000 !important; 
    border-color: #ff9933 !important; 
}

.pagination a:hover { 
    background: #333; 
    color: #fff; 
}
            