/* ==========================================
   0. UNIVERSAL LAYOUT
   ========================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

/* Ensure the body classes work for specific pages */
body.whitish-bg {
    background-color: #f4f3ef; /* A cleaner, paper-like tactical off-white */
    color: #2a2a2a;
}

/* ==========================================
   1. GENERIC PAGE HEADER
   ========================================== */
.page-header {
    background-color: var(--forest-green);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.page-header h1 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 10px;
}

.page-header p {
    font-size: 1.1rem;
    opacity: 0.8;
}

/* ==========================================
   4. SINGLE ARTICLE STYLES (Rugged Field Journal)
   ========================================== */

/* The Background Switch */
.field-report {
    padding-bottom: 80px;
    background-color: #f9f8f4; /* Parchment white */
    color: #1b1c17;
}

/* Report Header - Clean & Focused */
.report-header {
    padding-top: 80px;
    padding-bottom: 40px;
}

.report-meta-top {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    color: #8c5e3c; /* Leather Brown */
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
}

.report-status {
    color: #d1cfc4;
    font-weight: bold;
}

.entry-title {
    font-family: 'Arvo', serif;
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 25px;
    color: #121212;
    text-transform: none; /* Less "yelling", more "official document" */
}

.report-meta-sub {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    color: #888;
    text-transform: uppercase;
    display: flex;
    gap: 15px;
}

.report-meta-sub .divider {
    color: #d1cfc4;
}

/* Hero Image - Contained & Captioned */
.report-hero-image {
    width: 100%;
    margin-bottom: 60px;
}

.report-hero-image img {
    width: 100%;
    height: auto;
    border: 1px solid #d1cfc4;
    padding: 10px;
    background: #fff;
    filter: contrast(1.05);
}

.img-caption {
    display: block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    color: #888;
    margin-top: 10px;
    text-align: right;
    text-transform: uppercase;
}

/* --- Layout Grid --- */
.report-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
}

.report-body p {
    font-family: 'Inter', sans-serif;
    font-size: 1.15rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 30px;
}

.field-summary {
    color: #121212 !important;
    font-size: 1.3rem !important;
    font-weight: 500;
    border-bottom: 2px solid #121212;
    padding-bottom: 30px;
    margin-bottom: 40px !important;
}

/* --- New Field Gallery --- */
.field-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 50px 0;
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border: 1px solid #d1cfc4;
    padding: 5px;
    background: #fff;
}

.gallery-item p {
    font-family: 'JetBrains Mono', monospace !important;
    font-size: 0.65rem !important;
    color: #888 !important;
    text-transform: uppercase;
    margin-top: 10px !important;
}

/* Tactical Note - Highlighted */
.tactical-note {
    background: #f0eee4;
    border-left: 4px solid #121212;
    padding: 40px;
    margin: 50px 0;
}

.note-label {
    font-family: 'JetBrains Mono', monospace;
    color: #121212;
    font-weight: bold;
    font-size: 0.75rem;
    display: block;
    margin-bottom: 15px;
}

.tactical-note p {
    font-family: 'Arvo', serif;
    font-style: italic;
    font-size: 1.4rem;
    line-height: 1.4;
    color: #121212;
    margin: 0;
}

/* Sidebar Specs - High Detail */
.report-specs .spec-box {
    border: 1px solid #d1cfc4;
    padding: 30px;
    margin-bottom: 30px;
    background: #fff;
}

.report-specs h4 {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    color: #121212;
    border-bottom: 1px solid #121212;
    padding-bottom: 12px;
    margin-bottom: 20px;
}

.spec-list li {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px dotted #d1cfc4;
}

.spec-list li span { color: #888; }
.spec-list li strong { color: #121212; }

/* Affiliate Sidebar Highlight */
.affiliate-highlight {
    border: 1px solid #8c5e3c !important; /* Brown leather border */
    position: relative;
    overflow: hidden;
}

.affiliate-highlight::before {
    content: "FIELD GEAR";
    position: absolute;
    top: 0;
    right: 0;
    background: #8c5e3c;
    color: #fff;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.5rem;
    padding: 2px 8px;
}

.sidebar-product img {
    width: 100%;
    mix-blend-mode: multiply;
    margin-bottom: 15px;
}

.buy-link-sm {
    display: block;
    background: #121212;
    color: #fff;
    text-align: center;
    padding: 12px;
    text-decoration: none;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    margin-top: 15px;
    transition: 0.3s;
}

.buy-link-sm:hover {
    background: #8c5e3c;
}

/* Footer Tags */
.report-footer {
    margin-top: 80px;
    padding: 40px 0;
    border-top: 1px solid #d1cfc4;
}

.tag-cloud a {
    color: #888;
    text-decoration: none;
    font-size: 0.75rem;
    margin-right: 20px;
    padding: 5px 10px;
    border: 1px solid #d1cfc4;
}

.tag-cloud a:hover {
    background: #121212;
    color: #fff;
    border-color: #121212;
}

/* --- Related Intel Sidebar --- */
.related-intel {
    border-top: 2px solid #121212 !important; /* Makes this box feel "pinned" */
}

.intel-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.intel-links li {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease;
}

.intel-links li:last-child {
    border-bottom: none;
}

.intel-links a {
    text-decoration: none;
    display: block;
}

.intel-id {
    display: block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.6rem;
    color: #8c5e3c; /* Leather Brown */
    margin-bottom: 4px;
}

.intel-title {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: #121212;
    line-height: 1.3;
}

/* Hover effect for the links */
.intel-links li:hover .intel-title {
    color: #8c5e3c;
    transform: translateX(5px);
}
.intel-links li:hover {
    padding-left: 5px;
}

.all-reports-btn {
    display: inline-block;
    margin-top: 20px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    color: #888;
    text-decoration: none;
    text-transform: uppercase;
    border-bottom: 1px solid #d1cfc4;
    padding-bottom: 2px;
}

.all-reports-btn:hover {
    color: #121212;
    border-color: #121212;
}
/* ==========================================
   4. LUXURY SHOP GRID (CONSOLIDATED & FIXED)
   ========================================== */

/* BREAKOUT: Forces section to 100vw to match Video Section */
#shop-section-tactical.whitish-bg {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background-color: #ffffff !important; 
    padding: 80px 0;
    box-sizing: border-box;
    overflow: hidden;
    border-bottom: none !important; 
}

/* CONTAINER: Controls internal width */
.shop-container-wide {
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 0 40px;
}

/* --- Filter Bar --- */
.shop-filter-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;
    padding: 30px 0;
    margin-bottom: 40px;
    border-bottom: 1px solid #d1cfc4;
}

.filter-list {
    display: flex;
    flex-direction: row !important;
    list-style: none;
    gap: 12px;
    padding: 0;
    margin: 0;
}

.filter-btn {
    background: #ffffff !important;
    border: 1px solid #d1cfc4;
    padding: 8px 18px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #121212 !important;
}

/* Fix: Active filters now clearly black with light text */
.filter-btn.active, .filter-btn:hover {
    background-color: #121212 !important; 
    color: #f9f8f4 !important; 
    border-color: #121212 !important;
}

/* --- Shop Grid --- */
.shop-grid-tactical {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 40px !important;
    align-items: stretch;
    min-height: 400px;
}

/* Product Card - Updated to match your PHP class "product-card" */
.product-card {
    background: #ffffff;
    border: 1px solid #d1cfc4;
    display: flex;
    flex-direction: column;
    padding: 8px;
    transition: all 0.4s ease, box-shadow 0.3s ease;
    position: relative;
}

.product-card:hover {
    box-shadow: 15px 15px 0px rgba(27, 28, 23, 0.05);
    transform: translateY(-5px);
    border-color: #1b1c17;
}

/* HUD Corner Brackets */
.product-card::before {
    content: '';
    position: absolute;
    top: -1px; left: -1px; width: 25px; height: 25px;
    border-top: 4px solid #8c5e3c; border-left: 4px solid #8c5e3c;
    pointer-events: none;
    z-index: 10;
}

/* RIGID IMAGE FIX */
.product-image {
    position: relative;
    height: 280px !important;
    width: 100% !important;
    overflow: hidden;
    background: #f2f0e9;
    flex-shrink: 0;
    border-bottom: 1px solid #d1cfc4;
}

.product-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block;
}

/* Info & Content */
.product-card .product-info {
    padding: 20px 10px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-card .p-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.product-card h3 {
    font-family: 'Arvo', serif;
    font-size: 1.25rem;
    margin-bottom: 15px;
    line-height: 1.3;
    color: #1b1c17;
}

/* --- THE ACTION ROW & BUTTON FIX --- */
.p-action-row {
    margin-top: auto;
    display: flex;
    flex-direction: column; 
    gap: 10px;
    padding-top: 20px;
    border-top: 1px dashed #d1cfc4;
    width: 100%;
}

.product-card .price {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    font-size: 1.1rem;
    color: #8c5e3c;
}

/* THE BUTTON: Targeting both .btn-add-cart and .buy-link for safety */
.btn-add-cart, .buy-link {
    display: block !important; 
    background-color: #121212 !important; 
    color: #ffffff !important;
    text-decoration: none !important;
    font-family: 'JetBrains Mono', monospace !important;
    font-size: 0.75rem !important;
    font-weight: bold !important;
    padding: 14px 20px !important; 
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid #121212 !important;
    transition: all 0.3s ease;
    text-align: center;
    width: 100%; 
    box-sizing: border-box !important;
}

.btn-add-cart:hover, .buy-link:hover {
    background-color: transparent !important;
    color: #121212 !important;
    box-shadow: 5px 5px 0px rgba(140, 94, 60, 0.2);
}

/* Responsive Logic */
@media (max-width: 1100px) { 
    .shop-grid-tactical { grid-template-columns: repeat(2, 1fr) !important; } 
}
@media (max-width: 768px) { 
    .shop-grid-tactical { grid-template-columns: 1fr !important; }
}
/* ==========================================
   5. CONTACT PAGE FORM
   ========================================== */
/* --- Contact / Field Office Banner --- */
.contact-banner {
    position: relative;
    padding: 150px 0 100px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
    color: #ffffff;
    /* Ensure the content stays on top of the ::before grid */
    z-index: 1;
}

/* Optional: Adding a technical 'grid' texture over the image */
.contact-banner::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 30px 30px;
    pointer-events: none;
}

.contact-banner h1 {
    font-family: 'Arvo', serif;
    font-size: 4.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 10px 0;
}

.contact-banner .subtitle {
    font-family: 'JetBrains Mono', monospace;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid #ffffff;
    padding: 6px 18px;
    font-size: 0.75rem;
    text-transform: uppercase;
    display: inline-block;
}

.contact-banner .header-divider {
    width: 80px;
    height: 1px;
    background: #8c5e3c;
    margin: 25px auto;
}

.contact-banner p {
    font-family: 'JetBrains Mono', monospace; /* Monospace for 'comms' feel */
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
    color: #a0a095;
    text-transform: uppercase;
    letter-spacing: 1px;
}

   .contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    padding: 80px 0;
}

/* Tactical Form Elements */
.tactical-form {
    background: #ffffff;
    padding: 40px;
    border: 1px solid #d1cfc4;
    box-shadow: 6px 6px 0px #d1cfc4; /* Hard "stamped" shadow */
}

.field-group {
    margin-bottom: 25px;
}

.field-group label {
    display: block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    font-weight: 700;
    color: #888;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.tactical-form input, 
.tactical-form select, 
.tactical-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #d1cfc4;
    background: #f9f8f4;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: #1b1c17;
    border-radius: 0; /* Square edges for rugged feel */
}

.tactical-form input:focus {
    outline: none;
    border-color: #c2a382;
    background: #fff;
}

.btn-tactical-submit {
    background: #121212;
    color: #ffffff;
    border: none;
    padding: 15px 30px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    width: 100%;
    transition: background 0.3s;
}

.btn-tactical-submit:hover {
    background: #c2a382;
}

/* Sidebar Details */
.detail-block {
    margin-bottom: 40px;
    border-left: 1px solid #d1cfc4;
    padding-left: 20px;
}

.detail-block p {
    font-family: 'Arvo', serif;
    font-size: 1.1rem;
    line-height: 1.5;
    margin-top: 10px;
}

.geo-code {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem !important;
    color: #c2a382;
    margin-top: 5px !important;
}

.contact-socials a {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    text-decoration: none;
    color: #1b1c17;
    margin-right: 15px;
    border-bottom: 1px solid #c2a382;
}

/* Mobile Layout */
@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .contact-form-container { order: 2; }
    .contact-details { order: 1; margin-bottom: 40px; }
}

/* ==========================================
   6. ABOUT PAGE (SIDEBAR REPAIR)
   ========================================== */

/* 1. Ensure the grid has a reliable alignment */
.report-grid {
    display: grid;
    grid-template-columns: 1fr 350px; /* Use a fixed width for sidebar to prevent squishing */
    gap: 60px;
    margin-top: 60px;
    align-items: start; /* CRITICAL: Prevents sidebar from stretching to match content height */
}

/* 2. Create a wrapper for the sidebar content */
.report-specs {
    position: sticky;
    top: 100px; /* Offset for your header height */
    display: flex;
    flex-direction: column;
    gap: 30px; /* This keeps the boxes from touching/covering each other */
}

/* 3. Remove the sticky from the individual boxes */
.spec-box {
    background: #ffffff;
    border: 1px solid #d1cfc4;
    padding: 30px;
    margin-bottom: 0; /* Handled by .report-specs gap */
    position: relative; /* Changed from sticky */
    width: 100%;
    box-sizing: border-box;
}

/* Fix for sidebar images */
.sidebar-product img {
    width: 100%;
    height: auto; /* Changed from fixed height to prevent distortion */
    max-height: 200px;
    object-fit: cover;
    display: block;
    margin-bottom: 15px;
}

/* --- Responsive Fix --- */
@media (max-width: 1024px) {
    .report-grid {
        grid-template-columns: 1fr; /* Single column */
        gap: 40px;
    }
    
    .report-specs {
        position: static; /* Disable sticky on mobile */
        gap: 30px;
    }
}

/* ============================================================
   SHARED / GLOBAL CINEMA STYLES
   ============================================================ */
.v-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.6rem;
    padding: 2px 6px;
    background: #eee;
    color: #666;
    text-transform: uppercase;
}

/* ============================================================
   CONTAINER & FILTER BAR ALIGNMENT
   ============================================================ */

/* Ensuring the main container allows children to touch the edges */
main.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px; /* Standard breathing room */
    width: 100%;
    display: block; /* Ensure it's not flex which can shrink children */
}

.shop-filter-bar {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: flex-start;
    padding: 30px 0;
    margin-bottom: 40px;
    border-bottom: 1px solid #d1cfc4;
    /* Removed margin: 0 auto to let it align with the grid below */
}

/* ============================================================
   ARCHIVE PAGE (TACTICAL HUD OVERHAUL)
   ============================================================ */

/* 1. FIX FOR THE TOP BANNER TITLE (FIELD CINEMA) */
.tactical-header.field-note-banner h1 {
    color: #ffffff !important;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.tactical-header.field-note-banner .subtitle {
    color: #c2a382 !important;
    font-family: 'JetBrains Mono', monospace;
}

/* 2. FIX FOR THE CARD TITLES (Inside the grid) */
.video-info h3 {
    color: #1b1c17 !important;
    font-size: 1.15rem !important;
    font-weight: 800 !important;
    margin: 12px 0 !important;
    text-transform: uppercase;
    line-height: 1.2;
    text-decoration: none !important;
    /* Alignment Fix: Ensures titles take up consistent space */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.8rem; 
}

/* Ensure the link doesn't override the color */
.video-card-inner, 
.video-card-inner:hover {
    text-decoration: none !important;
    color: inherit !important;
}

/* 3. FIX FOR THE EXCERPT TEXT (The small description) */
.video-excerpt {
    color: #444444 !important;
    font-size: 0.85rem !important;
    line-height: 1.4;
    margin-bottom: 15px;
}

/* --- REST OF YOUR ORIGINAL CSS --- */

#video-section.whitish-bg {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background-color: #f9f8f4;
    padding: 60px 0;
    box-sizing: border-box;
    overflow: hidden;
}

.video-grid-tactical { 
    display: grid !important; 
    grid-template-columns: repeat(3, 1fr) !important; 
    gap: 40px !important;
    margin-top: 40px;
    width: 100%;
    grid-auto-rows: 1fr; /* Alignment Fix: Forces all cards in a row to match height */
    align-items: stretch;
}

.video-card-rugged { 
    background: #ffffff; 
    border: 1px solid #d1cfc4; 
    position: relative;
    padding: 8px;
    display: flex !important;
    flex-direction: column;
    height: 100%;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Alignment Fix: Hidden items in grid won't leave gaps */
.video-card-rugged[style*="display: none"] {
    display: none !important;
}

.video-thumb {
    position: relative;
    height: 200px; 
    overflow: hidden;
    background: #000;
}

.video-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    filter: grayscale(1);
    opacity: 0.7;
    transition: 0.6s ease;
}

/* ANIMATED PLAY BUTTON LOGIC */
.video-card-rugged:hover .video-thumb img {
    filter: grayscale(0.4) sepia(0.2);
    opacity: 1;
    transform: scale(1.05);
}

.video-hud-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(140, 94, 60, 0.1); 
    z-index: 5;
    opacity: 0.8;
    transition: 0.3s;
}

.play-button-hud {
    width: 60px;
    height: 60px;
    background: rgba(27, 28, 23, 0.85);
    border: 2px solid #c2a382;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c2a382;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Animation on Hover */
.video-card-rugged:hover .play-button-hud {
    transform: scale(1.15);
    background: #c2a382;
    color: #1b1c17;
    box-shadow: 0 0 15px rgba(194, 163, 130, 0.5);
}

.video-duration {
    position: absolute !important;
    top: 15px !important;
    right: 15px !important;
    background: rgba(26, 26, 23, 0.9);
    color: #c2a382;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.6rem;
    padding: 3px 8px;
    border: 1px solid #c2a382;
    z-index: 10;
}

.video-info {
    padding: 15px 10px 5px;
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* Alignment Fix: Stretches content to fill card */
}

.info-top-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
    padding-bottom: 8px;
    margin-bottom: 12px;
}

.video-code {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    color: #8c5e3c;
    font-weight: bold;
}

.gear-badge-tag {
    background: #c2a382 !important;
    color: #1b1c17 !important;
    font-family: 'JetBrains Mono', monospace;
    font-size: 9px;
    padding: 2px 6px;
    font-weight: 800;
    letter-spacing: 1px;
}

.video-card-footer {
    margin-top: auto; /* Alignment Fix: Pushes button to the very bottom */
    padding-top: 15px;
}

.btn-tactical-more {
    display: inline-flex !important;
    width: auto !important;
    padding: 10px 20px !important;
    background: #1b1c17;
    color: #c2a382;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem !important;
    border: 1px solid #8c5e3c;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.crt-scanlines {
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.1) 50%);
    background-size: 100% 3px;
    pointer-events: none;
    opacity: 0.4;
    z-index: 2;
}
/* ============================================================
   SINGLE VIDEO PAGE (HERO VIEW)
   ============================================================ */
/* This targets ONLY the single video page using the article class */
.cinema-single-view .video-thumbnail {
    width: 100%;
    height: 550px; /* Big Hero Height */
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 4px solid #1b1c17;
}

.cinema-single-view .play-button {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #8c5e3c;
    border: 3px solid #fff;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cinema-single-view .video-player-wrapper:hover .play-button {
    transform: scale(1.1);
    background: #a6734d;
}

/* ============================================================
   LIGHTBOX & CLOSE BUTTON
   ============================================================ */
.video-lightbox {
    display: none; 
    position: fixed; 
    top: 0; left: 0; width: 100%; height: 100%; 
    background: rgba(0,0,0,0.95); 
    z-index: 99999; 
    align-items: center; 
    justify-content: center;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #c2a382;
    font-size: 60px;
    cursor: pointer;
    z-index: 100001;
    line-height: 1;
}

.lightbox-container {
    width: 85%;
    max-width: 1200px;
    aspect-ratio: 16 / 9;
    background: #000;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .video-grid-rugged { grid-template-columns: 1fr !important; }
    .cinema-single-view .video-thumbnail { height: 300px; }
}

/* ==========================================
   TACTICAL PAGINATION (Centered & Enlarged)
   ========================================== */
.pagination-wrapper, 
.pagination-tactical {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    margin: 60px 0 !important;
    clear: both;
}

.luxury-nav, 
.pagination-tactical .nav-links {
    display: flex !important;
    flex-direction: row !important; /* Forces horizontal */
    gap: 20px !important;
    align-items: center !important;
}

.luxury-nav .page-numbers, 
.pagination-tactical .page-numbers {
    font-family: 'JetBrains Mono', monospace !important;
    font-size: 1.2rem !important; /* Makes it larger */
    text-decoration: none !important;
    color: #1b1c17 !important;
    padding: 10px 15px !important;
    transition: all 0.3s ease;
}

.luxury-nav .page-numbers.current, 
.pagination-tactical .page-numbers.current {
    font-weight: 700 !important;
    border-bottom: 2px solid #1b1c17 !important;
}

.luxury-nav a.page-numbers:hover {
    background: #f4f4f2;
}