/*
Theme Name: LBO News - High Performance Edition
Theme URI: https://example.com
Author: Grand Vacation
Author URI: https://www.grand-vacation.com/
Description: A premium, ultra-fast news theme engineered for high-volume sites (40k+ posts). Features include real-time asynchronous view tracking, dynamic engagement-based trending lists, and multi-layer transient caching for extreme speed. Architected to be editor-friendly and fully customizable via the WordPress Customizer, with a global site preloader and shimmer skeleton effects for a superior user experience.
Version: 1.1.8
Requires at least: 6.0
Requires PHP: 8.0
Text Domain: lbonews
Tags: news, blogs, modern, Advertising management, high-performance, asynchronous-views, trending-algorithm, slider, customizable, editor-friendly, transient-cache, preloader, shimmer, scalable
*/

/* Import Google Fonts - Roboto */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900&display=swap');

/* =========================================
   1. CSS Variables (Design Tokens)
   ========================================= */
:root {
    /* Typography */
    --font-heading: 'Roboto', sans-serif;
    --font-body: 'Roboto', sans-serif;

    /* Colors */
    --color-text: #1a1a1a;
    --color-text-hover: #cf0000;
    --color-text-light: #666;
    --color-bg: #ffffff;
    --color-gray-bg: #e4e4e4;
    --color-primary: #cf0000;
    --color-secondary: #333;
    --color-gray-border: #e5e5e5;

    /* Layout */
    --width-container: 1200px;
    --spacing-unit: 1rem;
}

/* =========================================
   2. Reset & Base Styles
   ========================================= */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

p {
    font-size: 13px !important;
}

h1,
h2,
h3,
h4,
h5,
h6,
h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a {
    font-size: 18px !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    line-height: 1.25;
    margin-bottom: var(--spacing-unit);
    font-weight: 700;
}

a {
    color: var(--color-primary);
    text-decoration: none !important;
}

a:hover {
    text-decoration: none !important;
    color: var(--color-text-hover);
}

img,
video {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Icon Font Protection Removed - Let FontAwesome manage its own font families */

.dashicons {
    font-family: dashicons !important;
}



/* =========================================
   3. Global Form & Button Styles
   ========================================= */

/* Inputs & Textareas */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
textarea,
select {
    width: 100%;
    padding: 0.75rem 1rem;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--color-text);
    background-color: #f8f9fa;
    border: 1px solid var(--color-gray-border);
    border-radius: 6px;
    transition: all 0.3s ease;
    outline: none;
    -webkit-appearance: none;
}

textarea {
    min-height: 120px;
    resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
    background-color: #fff;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(207, 0, 0, 0.1);
}

input::placeholder,
textarea::placeholder {
    color: #999;
    font-size: 14px;
}

/* Global Buttons */
button,
.btn,
input[type="submit"],
input[type="button"],
input[type="reset"],
.wp-block-button__link {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #fff;
    background-color: var(--color-primary);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    text-decoration: none !important;
}

button:hover,
.btn:hover,
input[type="submit"]:hover,
.wp-block-button__link:hover {
    background-color: #b50000;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(207, 0, 0, 0.15);
}

button:active,
.btn:active,
input[type="submit"]:active {
    transform: translateY(0);
}

/* Secondary/Outline Button Variant */
.btn-outline {
    background-color: transparent;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
}

.btn-outline:hover {
    background-color: var(--color-primary);
    color: #fff;
}

.has-small-font-size {
    font-size: 13px;
}

.has-normal-font-size {
    font-size: 16px;
}

.has-medium-font-size {
    font-size: 20px;
}

.has-large-font-size {
    font-size: 24px;
}

.has-huge-font-size {
    font-size: 36px;
}

/* =========================================
   4. Layout Utilities
   ========================================= */
.container {
    max-width: var(--width-container);
    margin: 0 auto;
    padding: 0 var(--spacing-unit);
}

.site-header {
    padding: var(--spacing-unit) 0;
    border-bottom: 1px solid var(--color-gray-border);

}

.site-main {
    padding: calc(var(--spacing-unit) * 2) 0;
    flex-grow: 1;
}

.site-footer {
    background: var(--color-secondary);
    padding: calc(var(--spacing-unit) * 2) 0;
    margin-top: calc(var(--spacing-unit) * 3);
    position: relative;

}

/* Screen Reader Text (Accessibility) */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    -webkit-clip-path: inset(50%);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

/* =========================================
   Post Title Styling - Global
   ========================================= */

/* All post titles across the site */
.entry-title,
.entry-title a,
.recent-post-title a,
.post h1,
h1.entry-title,
h2.entry-title,
h2.entry-title a,
h6.recent-post-title a,
a.wp-block-latest-posts__post-title {
    color: #cf0000 !important;
    text-decoration: none;
    font-size: 14px;
}

.recent-post-title a {
    font-size: 14px !important;
}

/* Post title hover states */
.entry-title a:hover,
.recent-post-title a:hover,
h2.entry-title a:hover,
h6.recent-post-title a:hover,
a.wp-block-latest-posts__post-title:hover {
    color: #ff1f37 !important;
    text-decoration: none;
}

.post h1 {
    font-size: 28px !important;
}

/* Excerpt limiting */
.entry-summary {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 1rem;
}

.entry-summary p {
    margin-bottom: 0;
}

/* sidebar  */
.site-sidebar {
    padding-left: calc(var(--spacing-unit) * 2);
}

.rounded-corner-img {
    border-radius: 2px;
}

/* Sticky Sidebar - Desktop Only */
@media (min-width: 1200px) {
    #secondary {
        /*         position: -webkit-sticky;
        position: sticky;
        top: 40px; */
        /* Offset for sticky header */
        border-left: 1px solid #f6f7f8;
        padding-inline: 1rem;
        height: -webkit-fill-available;
        z-index: 10;
        align-self: flex-start;
        /* Required for sticky in flex containers */
    }
}

/* 404 Error Page Styling */
.error-404 .error-image {
    max-width: 100%;
    height: auto;
    justify-self: center;
    max-height: 380px;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.1));
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.error-404 .error-image:hover {
    transform: scale(1.02) translateY(-10px);
}

.text-gradient {
    background: linear-gradient(135deg, #000000 0%, #cf0000 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.max-600 {
    max-width: 600px;
}

.error-404 .page-title {
    justify-self: center;
    background: none;
    color: var(--color-text);
    font-size: 2rem !important;
}

.error-404 .page-header p {
    color: var(--color-primary) !important;
    font-size: 15px !important;
}

.error-404 .modern-search-box {
    padding: 0px;
    border-radius: 50px;
}

.error-404 .modern-search-box .input-group {
    padding: 0;
    border-radius: 50px;
    background: #fff;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    font-size: 16px !important;

}

.error-404 .modern-search-box .form-control {
    font-size: 16px !important;
    background-color: #fff !important;
}

.error-404 .modern-search-box .input::placeholder,
:-moz-placeholder,
::-webkit-input-placeholder,
:-ms-input-placeholder {
    font-size: 16px !important;

}

.error-404 .input-group .btn-primary {
    width: 80px;
    border-radius: 0px 50px 50px 0px !important;
    font-size: 16px !important;
    font-weight: 00;
}

.error-actions .btn {
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.error-actions .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(207, 0, 0, 0.1);
}

.error-actions a {
    display: flex;
    align-items: center;
    width: fit-content;
    gap: 1rem;
    justify-self: center;
}

.youtube-widget a {
    text-decoration: none;
}

.category-list li {
    margin-bottom: 0.5rem;
}

/* =========================================
   4. Zero-Gravity Footer
   ========================================= */
.site-footer {
    color: #fff;
    position: relative;
    padding-bottom: 0;
    overflow: hidden;
    font-family: var(--font-body);
    background: linear-gradient(180deg, #333333 0%, #000000 100%);
    backdrop-filter: blur(20px);
}

.footer-block-1 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: calc(var(--spacing-unit) * 2);
    padding-bottom: calc(var(--spacing-unit) * 4);
    position: relative;
    z-index: 2;
    gap: 10%;
}

@media (max-width: 991.98px) {
    .footer-block-1 {
        grid-template-columns: repeat(2, 1fr);
        padding-top: calc(var(--spacing-unit) * 2);
        gap: 2rem;
    }

    .footer-column {
        width: 100%;
        max-width: 100%;
    }
}



/* Column Styles */
.footer-heading {
    font-family: var(--font-heading);
    font-size: 15px;
    margin-bottom: 1.5rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.footer-text {
    color: #ccc !important;
    text-align: justify !important;
    font-size: 13px;
    line-height: 1.8;
}

@media (max-width: 767.98px) {

    .footer-heading,
    .footer-text {
        text-align: left !important;
    }

    .floating-links {
        text-align: left !important;
    }
}

.mission-quote {
    font-style: italic;
    font-size: 1.1rem;
    color: #fff;
    border-left: none;
    padding: 0;
    margin: 0;
    text-align: center;
    position: relative;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
}

.mission-quote::before {
    content: "“";
    display: block;
    font-size: 3rem;
    line-height: 1;
    margin-bottom: 0.5rem;
    opacity: 0.3;
}

/* Subscribe Module */
.subscribe-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    perspective: 1000px;
}

@media (max-width: 767.98px) {
    .subscribe-form {
        max-width: 400px;
        margin: 0 auto;
    }
}

.subscribe-form input[type="email"] {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.subscribe-form input[type="email"]:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: #fff;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
    outline: none;
}

.btn-3d-float {
    background: #fff;
    color: #000;
    border: none;
    padding: 1rem;
    font-weight: 700;
    letter-spacing: 2px;
    cursor: pointer;
    transform-style: preserve-3d;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.btn-3d-float:hover {
    transform: translateZ(20px) translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
}

/* Floating Links */
.floating-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

@media (max-width: 767.98px) {
    .floating-links {
        text-align: center;
    }
}

.floating-links li {
    margin-bottom: 0.75rem;
    transition: transform 0.3s ease;
}

.floating-links li:hover {
    transform: translateX(10px);
}

.floating-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 14px;
}

.floating-links a:hover {
    color: var(--color-primary);
    text-shadow: 0 0 8px rgba(207, 0, 0, 0.3);
    text-decoration: none;
    padding-left: 5px;
}

/* Horizon Line */
.horizon-line {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.8rem 0;
    /* Reduced padding */
    background: rgba(0, 0, 0, 0.3);
}

.horizon-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.copyright-text {
    font-size: 12px;
    color: #fff;
    letter-spacing: 0.5px;
}

.site-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-grow: 1;
}

@media (max-width: 767.98px) {
    .horizon-content {
        flex-direction: column;
        text-align: center;
        padding: 1rem 0;
    }

    .site-info {
        flex-direction: column;
        gap: 0.5rem;
    }
}

.back-to-top {
    position: fixed !important;
    bottom: 2rem;
    right: 2rem;
    width: 40px;
    height: 40px;
    background: #333;
    display: flex;
    border-radius: 4px;
    align-items: center;
    justify-content: center;
    color: #fff !important;
    font-size: 1.25rem;
    text-decoration: none !important;
    transition: all 0.3s ease;
    z-index: 9999;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}



.back-to-top:hover {
    text-shadow: 0 0 10px #fff;
    background-color: #cf0000;
}




/* =========================================
   5. Header & Navigation (Migrated from header.php)
   ========================================= */

/* Top Info Bar */
.top-info-bar {
    background: var(--color-text) !important;
    font-size: 0.875rem;
}

.top-info-bar a:hover {
    color: var(--color-primary) !important;
}

.social-links a {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--color-primary);
    transform: translateY(-2px);
}

/* Main Header */
/* Main Header - Global/Mobile Base */
.main-header {
    background: transparent;
    transition: all 0.3s ease;
}

/* Sticky Header - Desktop vs Mobile */
@media (max-width: 1199.98px) {
    .main-header {
        position: -webkit-sticky;
        position: sticky;
        top: 0;
        z-index: 1001;
        background-color: white;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        padding: 5px 0;
    }

    .header-nav-section.sticky-nav {
        position: -webkit-sticky;
        position: sticky;
        top: 70px;
        /* Approximate height of logo section */
        z-index: 1000;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    }

    .header-logo-section {
        text-align: center;
        padding: 0 !important;
    }

    .header-logo-section .container {
        display: flex;
        justify-content: center;
    }

    .custom-logo-wrapper img,
    .custom-logo {
        max-width: 100px;
        position: static;
        width: auto;
        height: auto;
    }


    .custom-logo-wrapper {
        min-width: auto;
        height: auto;
        padding: 5px;
    }

    .navbar-toggler {
        margin-block: 0.5rem !important;
    }

    /* Mobile Submenu Background & Layout (Tree View) */
    .dropdown-menu {
        position: static !important;
        float: none !important;
        width: 100% !important;
        margin-top: 0 !important;
        background-color: #757575 !important;
        border: none !important;
        box-shadow: none !important;
        backdrop-filter: none !important;
        padding-left: 1rem !important;
        /* Indent for tree effect */
    }

    /* Caret Hover/Active Color Animation */
    .dropdown-toggle:hover .dropdown-arrow,
    .dropdown-toggle[aria-expanded="true"] .dropdown-arrow,
    .nav-item.show .dropdown-arrow {
        color: var(--color-primary);
        transition: color 0.3s ease, transform 0.3s ease;
    }

    /* Fix Tree Layout: Allow wrapping so submenu drops to new line */
    .navbar-nav .dropdown {
        flex-wrap: wrap !important;
    }

    /* Thumb Friendly Dropdown Toggle */
    .dropdown-toggle.nav-link {
        padding: 0.5rem 1rem !important;
        /* Larger hit area */
        font-size: 1.2rem !important;
        /* Slightly larger icon */
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100%;
        min-width: 48px;
        /* Standard mobile touch target */
        color: #fff !important;
    }

    /* Reset hover rotation on mobile to avoid sticky hover states */
    .nav-item:hover .dropdown-arrow {
        transform: rotate(0deg) !important;
    }

    /* Only rotate on explicit expand in mobile */
    .dropdown-toggle[aria-expanded="true"] .dropdown-arrow,
    .nav-link[aria-expanded="true"] .dropdown-arrow,
    .show>.dropdown-toggle .dropdown-arrow {
        transform: rotate(180deg) !important;
    }
}

@media (min-width: 1200px) {
    .sticky-nav {
        position: -webkit-sticky;
        position: sticky;
        top: 0;
        z-index: 1000;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    }
}

/* Header Logo Section */
.header-logo-section {
    background-color: white;
    backdrop-filter: blur(100px);
    padding: 8px 0;
    transition: all 0.3s ease;
    align-content: center;
}

/* Header Navigation Section - Sticky on Desktop */
.header-nav-section {
    background: linear-gradient(0deg, #000000d4 0%, #333333 100%, #00000000 100%);
    backdrop-filter: blur(100px);
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.sticky-nav {
    position: sticky !important;
    top: 0;
    z-index: 1000 !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.main-header .navbar-light .navbar-brand,
.main-header .navbar-light .nav-link {
    color: #fff !important;
}

.main-header .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.1);
}

.main-header .hamburger-menu span {
    background: #fff;
}

.navbar-brand {
    text-decoration: none !important;
    padding: 0 !important;
}

.header-logo-section .navbar-brand {
    max-height: none !important;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-text-hover));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

/* Custom Logo Sizing for Desktop */
@media (min-width: 1200px) {
    .custom-logo-wrapper img {
        align-items: center;
        justify-content: center;
        background-color: white;
        max-height: 90px;
        max-width: 200px;
        height: 100%;
        width: 200px;

    }

    .custom-logo-wrapper {
        padding: 3px;
        margin-right: 8px;
        position: relative;
        min-width: 100px;
        height: -webkit-fill-available;
    }

    /* .custom-logo {
        position: absolute;
        top: 0;
        width: 300px;
    } */

    .main-header {
        background: linear-gradient(0deg, #000000d4 0%, #333333 100%, #00000000 100%);
    }
}



/* .header-nav-section{
        background: #e4e4e4 !important;
        color: #000 !important;
    } */

/* Mobile Submenu Background & Layout (Tree View) */

.widget-title {
    color: #333333 !important;
}

.brand-text h3 {
    color: var(--color-primary) !important;
    font-size: 1.5rem;
    line-height: 1.2;
}

/* Single Post Styles */
/* Social Sharing Buttons */
.social-sharing-buttons .social-share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: #fff;
    text-decoration: none;
    transition: opacity 0.3s ease, transform 0.2s ease;
}

.social-sharing-buttons .social-share-btn:hover {
    opacity: 0.8;
    transform: translateY(-2px);
}

/* Post Meta Styling */
.entry-meta {
    font-size: 0.9rem;
    color: #666;
}

.entry-meta .author-link {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
}

.entry-meta .author-link:hover {
    text-decoration: underline;
}

.entry-meta .meta-separator {
    color: #999;
    margin: 0 0.5rem;
}

.entry-meta .cat-links a {
    color: #666;
    text-decoration: none;
}

.entry-meta .cat-links a:hover {
    color: var(--color-primary);
}

.single-featured-image {
    width: 100%;
    max-height: 500px !important;
    object-fit: cover !important;
    aspect-ratio: 16/9 !important;
    background-position: center !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
}

/* Search Form in Sidebar */
.widget_search .search-form .input-group {
    display: flex;
}

.widget_search .search-form .form-control {
    border-right: none;
}

.widget_search .search-form .btn-primary {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}

.widget_search .search-form .btn-primary:hover {
    background-color: #a00;
    border-color: #a00;
}

/* Recent Posts Widget */
.recent-posts-list .recent-post-item {
    border-bottom: 1px solid #eee;
    padding-bottom: 0.75rem;
}

.recent-posts-list .recent-post-item:last-child {
    border-bottom: none;
}

.recent-posts-list .recent-post-title a {
    color: #cf0000;
    font-size: 0.9rem;
    line-height: 1.4;
}

.recent-posts-list .recent-post-title a:hover {
    color: #ff1f37;
}

/* Ad Images */
.widget_ads .ad-image img {
    width: 100%;
    height: auto;
}

/* Navigation */
.nav-link {
    color: white !important;
    font-weight: 500;
    padding: 0.2rem 0.8rem !important;
    position: relative;
    transition: all 0.3s ease;
    font-size: 13px !important;
}

.nav-link:hover,
.nav-link:focus,
.nav-link.show {
    color: var(--color-primary) !important;
    /* Restore red hover text */
    text-decoration: none !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: all 0.3s ease;
    transform: translateX(-50%);

}

.nav-link:hover::after,
.nav-link.show::after {
    width: 80%;
}

/* Dropdown with Glassmorphism */
.dropdown-menu {
    background: #757575 !important;
    /* Darker but more transparent to show blur */
    backdrop-filter: blur(40px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(40px) saturate(180%) !important;
    /* Safari support */
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    /* Subtle border for glass effect */
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.37) !important;
    /* Enhanced shadow for depth */
    border-radius: 3px !important;
    padding: 0 !important;
    margin-top: 1rem;
    min-width: 120px !important;
    overflow: hidden;
    animation: dropdownFadeIn 0.3s ease-out;
    /* Fix for flex parent positioning */
    top: 100%;
    left: 0;
}

/* Dropdown Animation */
@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-item {
    color: white !important;
    font-size: 14px !important;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
    border-radius: 0;
    position: relative;
    display: flex;
    align-items: center;
    text-decoration: none !important;
    justify-content: space-between;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: #fff;
    /* White bg on hover */
    color: var(--color-primary) !important;
    /* Red text on hover */
    transform: none;
    /* Fix overflow/movement issue */
}

.dropdown-item .submenu-arrow {
    transform: rotate(0deg);
}

.dropdown-item:hover .submenu-arrow,
.dropdown-item:focus .submenu-arrow {
    transform: rotate(-90deg);
}


/* Active Menu Item (Red Square) */
.navbar-nav>.nav-item.active>.nav-link,
.navbar-nav>.nav-item>.nav-link.active,
.navbar-nav>.nav-item.current-menu-item>.nav-link,
.navbar-nav>.nav-item.current-menu-parent>.nav-link,
.navbar-nav>.nav-item.current-menu-ancestor>.nav-link,
.navbar-nav>.nav-item.current-post-ancestor>.nav-link {
    background-color: var(--color-primary);
    color: #fff !important;
    border-radius: 0;
    /* Square */
}

/* Global Dropdown Item Active Override */
.dropdown-item.active,
.dropdown-item:active,
.dropdown-menu .active {
    background-color: white !important;
    color: var(--color-primary) !important;
    text-decoration: none !important;
}

/* Desktop specific hover for dropdown items already handled above, 
   but ensuring specificity for active state */
@media (min-width: 1200px) {
    .dropdown-item.active {
        background-color: #fff !important;
        /* White bg for active on desktop if preferred, or keep transparent */
        color: var(--color-primary) !important;
    }
}

/* Hover effect for desktop items to match */
@media (min-width: 1200px) {
    .navbar-nav>.nav-item>.nav-link:hover {
        /* background-color: var(--color-primary); Keep background transparent on hover unless active */
        color: var(--color-primary) !important;
        /* Red text on hover */
        text-decoration: none;
    }

    /* Keep active items white on hover */
    .navbar-nav>.nav-item.active>.nav-link:hover,
    .navbar-nav>.nav-item>.nav-link.active:hover,
    .navbar-nav>.nav-item.current-menu-item>.nav-link:hover,
    .navbar-nav>.nav-item.current-menu-parent>.nav-link:hover,
    .navbar-nav>.nav-item.current-menu-ancestor>.nav-link:hover,
    .navbar-nav>.nav-item.current-post-ancestor>.nav-link:hover {
        color: #fff !important;
    }

    .navbar-nav>.nav-item>.nav-link::after {
        display: none;
        /* Remove underline effect in favor of background */
    }
}

/* Dropdown arrows */
.dropdown-arrow {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
    margin-left: 5px;
}

.nav-link[aria-expanded="true"] .dropdown-arrow,
.nav-link.show .dropdown-arrow,
.nav-item:hover .dropdown-arrow {
    transform: rotate(180deg);
    transition: 0.3s ease-in;
}

.submenu-arrow {
    font-size: 0.7rem;
    margin-left: auto !important;
    opacity: 0.7;
}


/* Hover Submenus for Desktop */
@media (min-width: 992px) {

    .dropdown:hover>.dropdown-menu,
    .dropdown-submenu:hover>.dropdown-menu {
        display: block;
        opacity: 1;
        visibility: visible;
        margin-top: 0;
        transform: translateY(0);
    }

    .dropdown-menu {
        display: block;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
        transform: translateY(-10px);
    }

    /* Submenu slide animation */
    .dropdown-submenu .dropdown-menu {
        transform: translateX(-10px);
        top: 0;
        left: 100%;
        margin-top: -5px;
    }

    .dropdown-submenu:hover>.dropdown-menu {
        transform: translateX(0);
    }
}

/* Hide Bootstrap default dropdown arrows */
.dropdown-toggle::after {
    display: none !important;
}

.dropdown-toggle-submenu::after {
    display: none !important;
}

/* Hamburger Menu */
.hamburger-menu {
    width: 30px;
    height: 20px;
    position: relative;
    cursor: pointer;
}

.hamburger-menu span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: white;
    border-radius: 2px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: 0.25s ease-in-out;
}

.hamburger-menu span:nth-child(1) {
    top: 0px;
}

.hamburger-menu span:nth-child(2) {
    top: 8px;
}

.hamburger-menu span:nth-child(3) {
    top: 16px;
}

.navbar-toggler[aria-expanded="true"] .hamburger-menu span:nth-child(1) {
    top: 8px;
    transform: rotate(135deg);
}

.navbar-toggler[aria-expanded="true"] .hamburger-menu span:nth-child(2) {
    opacity: 0;
    left: -60px;
}

.navbar-toggler[aria-expanded="true"] .hamburger-menu span:nth-child(3) {
    top: 8px;
    transform: rotate(-135deg);
}

@media (max-width: 1199.98px) {
    .dropdown-toggle {
        height: -webkit-fill-available !important;
    }
}

.navbar-collapse .navbar-nav a {
    align-content: center;
}


/* Mobile Responsiveness for Header */
@media (max-width: 1199.98px) {
    .navbar-collapse {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: 85%;
        height: 100vh;
        max-width: 300px;
        background: #333;
        /* Dark background as requested */
        padding: 3rem 0 0 0;
        z-index: 1100;
        /* Higher than sticky-nav (1000) and header sections to overlay from top */
        transform: translateX(-100%);
        transition: transform 0.3s ease-in-out;
        overflow-y: auto;
        overflow-x: hidden;
        /* Prevent horizontal scrolling */
        box-shadow: 5px 0 15px rgba(0, 0, 0, 0.3);
        display: block !important;
        visibility: hidden;
    }

    /* Mobile Close Button Style */
    .navbar-collapse button {
        margin-top: 0.5rem !important;
        padding: 0 !important;
    }

    .mobile-close-btn {
        padding: 0 !important;
        z-index: 1060;
        /* Higher than sidebar content */
        position: absolute;
        /* Explicit positioning */
        top: 10px;
        right: 15px;
        font-size: 1.5rem !important;
        /* Make it bit large */
    }

    .mobile-close-btn:focus {
        outline: none;
        box-shadow: none;
    }

    /* Ensure close icon is white on dark background */
    .mobile-close-btn span {
        color: #fff !important;
    }

    .navbar-collapse.show,
    .navbar-collapse.collapsing {
        transform: translateX(0);
        visibility: visible;
        display: block !important;
    }

    .navbar-collapse.collapsing {
        height: 100vh !important;
        transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), visibility 0.4s;
    }

    /* Smooth slide-in animation for mobile sidebar */
    .navbar-collapse .collapsing {
        animation: slideInFromLeft 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    }

    @keyframes slideInFromLeft {
        from {
            transform: translateX(-100%);
            opacity: 0.8;
        }

        to {
            transform: translateX(0);
            opacity: 1;
        }
    }

    /* Backdrop */
    .navbar-collapse.show::before {
        content: '';
        position: fixed;
        top: 0;
        right: -100vw;
        /* Extend to cover the rest of the screen */
        bottom: 0;
        width: 100vw;
        background: rgba(0, 0, 0, 0.5);
        z-index: -1;
        pointer-events: all;
    }

    .nav-link {
        text-align: left;
        padding: 12px 20px !important;
        border-bottom: 1px solid #444;
        /* Darker border for dark theme */
        font-size: 15px !important;
        color: #ddd !important;
        /* Light text for dark bg */
        display: flex;
        justify-content: space-between;
        align-items: center;
        background: transparent !important;
    }

    /* Override active state for mobile sidebar */
    .navbar-nav>.nav-item.active,
    .navbar-nav>.nav-item.current-menu-item,
    .navbar-nav>.nav-item.current-menu-parent,
    .navbar-nav>.nav-item.current-menu-ancestor,
    .navbar-nav>.nav-item.current-post-ancestor {
        background-color: #444 !important;
        /* Lighter grey for active */
        color: #fff !important;
        /* border-left: 4px solid var(--color-primary); */
    }

    .navbar-nav>.nav-item.current-menu-item .fw-medium,
    .navbar-nav>.nav-item.current-menu-parent .nav-link.fw-medium {
        border-left: 4px solid var(--color-primary) !important;
    }

    .nav-link:last-child {
        border-bottom: none;
    }

    .nav-link::after {
        display: none;
    }

    .navbar-nav>.nav-item a:first-child {
        flex-grow: 1;
    }

    /* Accordion Style Dropdown */
    .dropdown-menu {
        background-color: transparent;
        /* Remove white bg */
        position: static !important;
        transform: none !important;
        box-shadow: none !important;
        border: none !important;
        margin: 0;
        padding: 0;
        display: none;
    }

    /* Show dropdown when toggled */
    .dropdown-menu.show {
        display: block;
        animation: slideDown 0.3s ease forwards;
    }

    .dropdown-item {
        padding: 10px 20px 10px 30px;
        font-size: 14px;
        color: #bbb;
        /* Muted text */
        border-bottom: 1px solid #3a3a3a;
        background-color: transparent;
        /* Remove bg */

    }

    .dropdown-item.active,
    .dropdown-item:active {
        color: var(--color-primary) !important;
        background-color: transparent !important;
        font-weight: 600;
    }

    .dropdown-item:hover {
        background-color: #333;
        color: #fff;
        transform: none;
    }
}

/* =========================================
   6. Block Editor (Gutenberg) Alignments
   ========================================= */
.alignwide {
    margin-left: -80px;
    margin-right: -80px;
    max-width: 100vw;
    width: auto;
}

.alignfull {
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    max-width: 100vw;
    width: 100vw;
}


/* =========================================
   7. Final Overrides & Active States
   ========================================= */

/* Ensure active sub-menu items are ALWAYS red */
.main-header .dropdown-item.active,
.main-header .dropdown-item:active,
.main-header .dropdown-item.current-menu-item,
.main-header .dropdown-item.current-menu-parent,
.main-header .dropdown-item.current-menu-ancestor,
.main-header .active>.dropdown-item,
.main-header .current-menu-item>.dropdown-item {
    color: var(--color-primary) !important;
    background-color: transparent !important;
    font-weight: 600 !important;
}

/* Adjust for smaller screens */
@media (max-width: 1200px) {
    .alignwide {
        margin-left: 0;
        margin-right: 0;
    }
}

/* =========================================
   8. Custom Page Styles
   ========================================= */

/* Page Title 18px */
.page .entry-title.page-heading {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--color-text);
}

/* Gray Separator */
.page-title-separator {
    width: 100%;
    height: 1px;
    background-color: var(--color-gray-border);
    display: block;
}

/* Breadcumbs tweak */
.breadcrumb-item a {
    color: var(--color-text-light) !important;
    font-size: 12px;
}

.breadcrumb-item.active {
    color: var(--color-primary) !important;
    font-weight: 500;
}

/* Featured Image 16:9 Ratio, Max Height 250px */
.page-featured-image {
    width: 100%;
    height: 250px !important;
    object-fit: cover !important;
    aspect-ratio: 16/9 !important;
    background-position: center !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
}

.page-header h1 {
    background-color: #004276;
    color: #fff;
    padding: 3px;
    justify-self: start;
    margin: 0;
}

.page-header .page-title-separator {
    height: 2px;
    background-color: #004276;
}

/* Custom Pagination */
.custom-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 30px;
    height: 30px;
    border: 1px solid #004276;
    color: #666;
    text-decoration: none;
    line-height: 1;
    background-color: #fff;
    transition: all 0.2s ease;
    align-items: center;
}

.custom-pagination .page-numbers.current {
    background-color: #cf0000;
    border-color: #333;
    /* Darker border like in the mockup */
    color: #fff;
}

.custom-pagination .page-numbers:hover:not(.current) {
    background-color: #f0f7ff;
    color: #004276;
}

.custom-pagination .page-numbers.prev,
.custom-pagination .page-numbers.next {
    font-size: 1.2rem;
    margin: auto;
}

.custom-pagination .page-info {
    border: 1px solid #004276 !important;
    color: #004276 !important;
    font-size: 0.9rem;
    padding: 5px 10px;
}

/* =========================================
   12. Comments Section Styles
   ========================================= */
.comments-area {
    background: #fff;
    padding-top: 2rem;
}

.comments-title.section-heading,
.comment-reply-title.section-heading {
    color: var(--color-primary);
    /* #cf0000 */
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    border-bottom: 2px solid var(--color-primary);
    padding-bottom: 0.5rem;
    display: inline-block;
}

.comment-list .comment-body {
    border-bottom: 1px solid #eee;
    padding-bottom: 1.5rem;
}

.comment-list .comment-body:last-child {
    border-bottom: 0;
}

.comment-author-avatar img {
    border: 2px solid #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.comment-metadata .fn {
    font-size: 1rem;
    font-weight: 700;
}

.comment-metadata .comment-date {
    font-size: 0.8rem;
}

.comment-content p {
    color: #666;
    line-height: 1.6;
}

.reply-link {
    font-weight: 600;
    text-decoration: none;
}

.reply-link:hover {
    text-decoration: underline;
}

/* Comment Form Styling */
.comment-form .form-control {
    border-radius: 4px;
    border: 1px solid #ddd;
    padding: 10px 15px;
}

.comment-form .form-control:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 0.2rem rgba(207, 0, 0, 0.15);
}

.comment-form .btn-primary {
    background-color: var(--color-primary) !important;
    border-color: var(--color-primary) !important;
    font-weight: 600;
    text-transform: uppercase;
    padding: 10px 30px;
    transition: all 0.3s;
}

.comment-form .btn-primary:hover {
    background-color: var(--color-secondary) !important;
    /* #004276 */
    border-color: var(--color-secondary) !important;
    transform: translateY(-1px);
}

/* Children/Replies Indentation */
.comment-list .children {
    list-style: none;
    padding-left: 3rem;
    border-left: 2px solid #f8f8f8;
}

@media (max-width: 767.98px) {
    .comment-list .children {
        padding-left: 1rem;
    }
}

/* =========================================
   13. Post Navigation Styles (Refined)
   ========================================= */
.post-navigation-modern {
    background: #fcfcfc;
}

.post-nav-card {
    background-color: #fff;
    border: 1px solid #eee;
    transition: all 0.3s ease;
    min-height: 80px;
}

.post-nav-card:hover {
    border-color: #cf0000;
    box-shadow: 0 4px 15px rgba(207, 0, 0, 0.1) !important;
}

.post-nav-card .nav-icon i {
    color: #cf0000;
    transition: transform 0.2s;
}

.prev-card:hover .nav-icon i {
    transform: translateX(-5px);
}

.next-card:hover .nav-icon i {
    transform: translateX(5px);
}

.post-nav-card .nav-label {
    letter-spacing: 0.5px;
    color: #999 !important;
}

.post-nav-card .nav-title {
    color: #333 !important;
    transition: color 0.2s;
}

.post-nav-card:hover .nav-title {
    color: #cf0000 !important;
}

.post .author-link {
    color: #000;
}

/* Ensure comments are not hidden */
.comments-area {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    clear: both;
}

/* Sidebar Styles */
.social-share-btn {
    width: 35px;
    height: 35px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff !important;
    border-radius: 4px;
    transition: opacity 0.2s;
    text-decoration: none;
}

.social-share-btn:hover {
    opacity: 0.8;
    color: #fff !important;
}

.ad-slot {
    width: fit-content;
}

.ad-slot a {
    border-radius: 8px !important;
}

.ad-slot-wrapper img {
    transition: transform 0.3s ease;
    border-radius: 8px !important;
    max-width: 100%;
    height: auto;
    object-fit: scale-down !important;
    display: block;
    margin: 0 auto;
}

/* No Results Premium View */
.no-results-premium {
    position: relative;
    overflow: hidden;
}

.no-results-visual {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.magnifying-glass-watermark {
    position: absolute;
    font-size: 10rem;
    color: #f8f9fa;
    z-index: -1;
    opacity: 0.8;
}

.main-error-icon {
    font-size: 5rem;
    color: var(--primary-color);
    text-shadow: 0 10px 20px rgba(207, 0, 0, 0.1);
}

.floating-animation {
    animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

.search-box-premium {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.search-box-premium:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05) !important;
}

.search-box-premium .input-group-text {
    background-color: transparent;
    border-right: none;
    color: #adb5bd;
}

.search-box-premium .form-control {
    border-left: none;
    padding: 0.75rem 1rem;
    font-size: 1.1rem;
}

.search-box-premium .form-control:focus {
    box-shadow: none;
    border-color: #dee2e6;
}

.search-box-premium .btn-primary {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.search-suggestions ul {
    list-style: none;
    padding: 0;
}

.letter-spacing-1 {
    letter-spacing: 1px;
}

.ad-slot-wrapper img:hover {
    transform: scale(1.02);
}

.border-bottom {
    border-bottom: 1px solid #dee2e6 !important;
}

/* Sidebar Address, Editorial & YouTube Blocks */
.widget_address .address-details p,
.widget_editorial .editorial-details p {
    color: #666;
    margin-bottom: 0.5rem;
}

.widget_address .publisher-details strong,
.widget_address .publisher-details a {
    color: #444;
}

.widget_address .publisher-details .text-muted {
    color: #888 !important;
}

.youtube-sub-box {
    background-color: #fcfcfc;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.youtube-sub-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
}

.youtube-sub-box .btn-danger {
    background-color: #e62117;
    border: none;
    line-height: 1;
}

.youtube-sub-box .sub-count {
    color: #666;
    font-weight: 600;
    height: -webkit-fill-available;
    border-radius: 0 2px 2px 0;
}

@media (max-width: 1200px) {
    .youtube-sub-box {
        max-width: 300px;
        margin: 0 auto;
    }
}

/* Sidebar Components */
.recent-post-item {
    transition: all 0.3s ease;
}

.recent-post-item:last-child {
    border-bottom: 0 !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.border-bottom-dashed {
    border-bottom: 1px dashed #ddd;
}

.recent-post-title {
    font-size: 0.95rem;
    line-height: 1.4;
    font-weight: 600;
}

.hover-primary:hover {
    color: #cf0000 !important;
}

.sidebar-search-form .input-group .form-control {
    border-radius: 4px 0 0 4px;
}

.sidebar-search-form .input-group .btn {
    border-radius: 0 4px 4px 0;
}

/* Modern Search Results UI */
.search-results-header {
    /* background: linear-gradient(135deg, #000000e0 0%, #cf0000f1 100%); */
    padding: 2rem;
    border-radius: 12px;
    color: var(--color-primary);
    margin-bottom: 0rem !important;
    /* box-shadow: 0 10px 30px rgba(207, 0, 0, 0.15); */
    text-align: center;
    position: relative;
    overflow: hidden;
}

.search-results-header::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.search-results-header .page-title {
    color: var(--color-text) !important;
    font-size: 2.75rem !important;
    margin-bottom: 0.75rem;
    font-weight: 800;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    letter-spacing: -0.5px;
}

.search-results-header .results-count {
    font-size: 1.35rem;
    opacity: 0.95;
    font-weight: 300;
    font-family: inherit;
}

.modern-search-box {
    background: #fff;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid #f0f0f0;
}

.modern-search-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

.modern-search-box .input-group {
    background: #fdfdfd;
    border-radius: 100px;
    padding: 8px;
    border: 2px solid #eee;
    transition: all 0.3s ease;
    display: flex;
    overflow: hidden;
}

.modern-search-box .input-group:focus-within {
    border-color: #cf0000;
    box-shadow: 0 0 0 0.25rem rgba(207, 0, 0, 0.1);
    background: #fff;
}

.modern-search-box .form-control {
    background: transparent;
    border: none !important;
    padding: 0.85rem 1.75rem;
    font-size: 1.2rem;
    height: auto;
}

.modern-search-box .form-control:focus {
    box-shadow: none;
}

.modern-search-box .btn-primary {
    border-radius: 100px !important;
    width: 60px;
    height: 60px;
    padding: 0;
    font-size: 1.25rem;
    background-color: #cf0000;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(207, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.modern-search-box .btn-primary:hover {
    background-color: #b30000;
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(207, 0, 0, 0.4);
}

.no-results-icon {
    font-size: 6rem;
    background: linear-gradient(135deg, #eee 0%, #ccc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 2rem;
    animation: pulse 2s infinite ease-in-out;
}

@keyframes pulse {
    0% {
        opacity: 0.5;
        transform: scale(0.95);
    }

    50% {
        opacity: 1;
        transform: scale(1);
    }

    100% {
        opacity: 0.5;
        transform: scale(0.95);
    }
}

.search-result-stats {
    padding: 15px 0;
    margin-bottom: 30px;
    border-bottom: 3px solid #f8f8f8;
    font-size: 1rem;
    color: #888;
}


.search-result-stats strong {
    color: #cf0000;
    font-weight: 700;
}

/* Keyword Highlighting */
mark.highlight {
    background-color: #fff33b;
    color: #000;
    padding: 0 2px;
    border-radius: 2px;
}

/* =========================================
   14. Front Page Rebuild Styles
   ========================================= */

/* Section Titles */
.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary, #cf0000);
    position: relative;
    display: inline-block;
}

.section-title a {
    color: inherit;
    text-decoration: none;
}

/* Hero Section */
.hero-title {
    font-size: 2.5rem;
    line-height: 1.2;
}

.hero-section .hero-title a {
    font-size: 24px !important;
}

.category-badge {
    width: fit-content !important;
    height: fit-content !important;
}

.hero-image img {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    aspect-ratio: 16/9;
}

.latest-headlines-list .entry-title a {
    font-size: 14px !important;
}

.latest-news-item .latest-news-thumb img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

/* Conversation Section */
.conversation-section .badge {
    background-color: var(--color-primary, #cf0000) !important;
}

.conversation-section .fa-fire {
    color: orange !important;
    font-size: 27px !important;
}

.comment-item {
    transition: background-color 0.2s;
    border-radius: 0 0 6px 6px;
}

.comment-item:hover {
    background-color: #f9f9f9;
}

.trending-number {
    font-family: 'Roboto', sans-serif;
    /* Or heading font */
    color: #ccc;
    line-height: 1;
}

.trending-content .entry-title a {
    font-size: 14px !important;
}

/* Category Spotlight */
.cat-featured-post .entry-title a {
    font-size: 18px;
    line-height: 1.3;
}

.cat-featured-post .entry-excerpt {
    font-size: 16px !important;
}

.cat-list-thumb {
    width: 120px;
}

.cat-list-item .entry-title a {
    font-size: 14px !important;
}

.section-title.border-bottom {
    border-color: var(--color-primary, #cf0000) !important;
}

/* Video Section */
.video-section {
    position: relative;
    background-color: #212529 !important;
    border-radius: 6px;
}

.video-thumbnail:hover img {
    opacity: 1 !important;
    transform: scale(1.02);
    transition: all 0.3s ease;
}

.video-thumbnail img {
    transition: all 0.3s ease;
}

.video-section .entry-title a {
    font-size: 14px !important;
}

.video-section .entry-excerpt {
    font-size: 14px !important;
}

/* Editor's Picks */
.editors-picks {
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    overflow: hidden;
    /* Prevent horizontal scroll */
}

.editors-pick-post .pick-image img {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);

}

.editors-pick-post .entry-title {
    font-size: 1.5rem;
}

.font-serif {
    font-family: 'Merriweather', 'Georgia', serif;
}

/* Utility */
.object-fit-cover {
    object-fit: cover;
}

.hover-primary:hover {
    color: var(--color-primary, #cf0000) !important;
}

.hover-danger:hover {
    color: #dc3545 !important;
}

.hover-opacity-100:hover {
    opacity: 1 !important;
}

.transition-opacity {
    transition: opacity 0.3s ease;
}

.opacity-75 {
    opacity: 0.75;
}

.opacity-90 {
    opacity: 0.9;
}

.spacing-1 {
    letter-spacing: 1px;
}

.spacing-2 {
    letter-spacing: 2px;
}

/* Category Spotlight */
.category-spotlight {
    overflow: hidden;
    /* Prevent horizontal scroll */
}

.cat-featured-post img,
.cat-list-post img {
    max-width: 100%;
    height: auto;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .hero-title {
        font-size: 2rem;
    }

    .cat-featured-post .entry-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 767.98px) {
    .site-sidebar {
        margin-top: 2rem;
    }
}

/* =========================================
   15. Featured Horizontal Slider
   ========================================= */
.featured-slider-section {
    overflow: hidden;
}

.horizontal-slider-container {
    margin-right: -15px;
    /* Extend to edge on mobile if needed */
}

.horizontal-slider {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    display: flex;
    padding-bottom: 20px;
    margin-bottom: -10px;
}

.horizontal-slider::-webkit-scrollbar {
    height: 4px;
}

.horizontal-slider::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.horizontal-slider::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

.horizontal-slider::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary);
}

.slider-item {
    flex: 0 0 280px;
    max-width: 280px;
    transition: transform 0.3s ease !important;
}

.slider-item:hover {
    transform: translateY(-5px);
}

.transition-scale {
    transition: transform 0.5s ease;
}

.slider-item:hover .transition-scale {
    transform: scale(1.1);
}

.extra-small {
    font-size: 0.75rem;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 768px) {
    .slider-item {
        flex: 0 0 240px;
        max-width: 240px;
    }
}

/* Site Preloader */
.site-preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.5s ease, visibility 0.5s;
}

.site-preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
}

.preloader-logo img {
    max-width: 200px;
    height: auto;
}

/* Spinner Animation */
.preloader-spinner {
    width: 70px;
    text-align: center;
}

.preloader-spinner>div {
    width: 18px;
    height: 18px;
    background-color: var(--color-primary);
    border-radius: 100%;
    display: inline-block;
    animation: sk-bouncedelay 1.4s infinite ease-in-out both;
}

.preloader-spinner .spinner-bounce1 {
    animation-delay: -0.32s;
}

.preloader-spinner .spinner-bounce2 {
    animation-delay: -0.16s;
}

@keyframes sk-bouncedelay {

    0%,
    80%,
    100% {
        transform: scale(0);
    }

    40% {
        transform: scale(1.0);
    }
}

/* Shimmer/Skeleton Effect */
.shimmer {
    background: #f6f7f8;
    background-image: linear-gradient(to right, #f6f7f8 0%, #edeef1 20%, #f6f7f8 40%, #f6f7f8 100%);
    background-repeat: no-repeat;
    background-size: 800px 100%;
    display: inline-block;
    position: relative;
    animation-duration: 1s;
    animation-fill-mode: forwards;
    animation-iteration-count: infinite;
    animation-name: shimmer;
    animation-timing-function: linear;
}

@keyframes shimmer {
    0% {
        background-position: -468px 0;
    }

    100% {
        background-position: 468px 0;
    }
}

.shimmer-text {
    height: 10px;
    width: 100%;
    border-radius: 4px;
    margin-bottom: 10px;
}

.shimmer-title {
    height: 20px;
    width: 80%;
    margin-bottom: 15px;
}

.shimmer-img {
    width: 100%;
    border-radius: 8px;
}

/* Slider Interactivity */
.custom-scrollbar::-webkit-scrollbar {
    display: none;
}

.custom-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.dot-item {
    width: 10px;
    height: 10px;
    background: #ccc;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot-item.active {
    background: var(--color-primary);
    transform: scale(1.2);
}

.slider-prev,
.slider-next {
    width: 35px;
    height: 35px;
    padding: 0;
    background-color: var(--color-secondary);
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.slider-prev:hover,
.slider-next:hover {
    transform: none;
}

.horizontal-slider::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.horizontal-slider::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

.horizontal-slider::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary);
}

.slider-item {
    flex: 0 0 280px;
    max-width: 280px;
    transition: transform 0.3s ease;
}

.slider-item:hover {
    transform: translateY(-5px);
}

.slider-item:hover .transition-scale,
.img-zoom-hover:hover .transition-scale {
    transform: scale(1.05);
}

.img-zoom-hover {
    overflow: hidden;
    display: block;
}

.transition-scale {
    transition: transform 0.4s ease-in-out !important;
}

.extra-small {
    font-size: 0.75rem;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 768px) {
    .slider-item {
        flex: 0 0 240px;
        max-width: 240px;
    }
}

/* Site Preloader */
.site-preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.5s ease, visibility 0.5s;
}

.site-preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
}

.preloader-logo img {
    max-width: 200px;
    height: auto;
}

/* Spinner Animation */
.preloader-spinner {
    width: 70px;
    text-align: center;
}

.preloader-spinner>div {
    width: 18px;
    height: 18px;
    background-color: var(--color-primary);
    border-radius: 100%;
    display: inline-block;
    animation: sk-bouncedelay 1.4s infinite ease-in-out both;
}

.preloader-spinner .spinner-bounce1 {
    animation-delay: -0.32s;
}

.preloader-spinner .spinner-bounce2 {
    animation-delay: -0.16s;
}

@keyframes sk-bouncedelay {

    0%,
    80%,
    100% {
        transform: scale(0);
    }

    40% {
        transform: scale(1.0);
    }
}

/* Shimmer/Skeleton Effect */
.shimmer {
    background: #f6f7f8;
    background-image: linear-gradient(to right, #f6f7f8 0%, #edeef1 20%, #f6f7f8 40%, #f6f7f8 100%);
    background-repeat: no-repeat;
    background-size: 800px 100%;
    display: inline-block;
    position: relative;
    animation-duration: 1s;
    animation-fill-mode: forwards;
    animation-iteration-count: infinite;
    animation-name: shimmer;
    animation-timing-function: linear;
}

@keyframes shimmer {
    0% {
        background-position: -468px 0;
    }

    100% {
        background-position: 468px 0;
    }
}

.shimmer-text {
    height: 10px;
    width: 100%;
    border-radius: 4px;
    margin-bottom: 10px;
}

.shimmer-title {
    height: 20px;
    width: 80%;
    margin-bottom: 15px;
}

.shimmer-img {
    width: 100%;
    border-radius: 8px;
}

/* Slider Interactivity */
.custom-scrollbar::-webkit-scrollbar {
    display: none;
}

.custom-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.dot-item {
    width: 10px;
    height: 10px;
    background: #ccc;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot-item.active {
    background: var(--color-primary);
    transform: scale(1.2);
}

.slider-prev,
.slider-next {
    width: 35px;
    height: 35px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.slider-prev:hover,
.slider-next:hover {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
}

/* Advertisement Styles */
.ad-slot-wrapper {
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.ad-slot-label {
    font-size: 11px;
    color: #cf0000;
    opacity: 0.6;
    margin-top: 5px;
    text-align: center;
    width: 100%;
}

.ad-impact-break,
.ad-impact-content {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.ad-impact-break img,
.ad-impact-content img {
    max-width: 100%;
    height: auto;
}

.sidebar-ad-item {
    text-align: center;
}

.header-ad-section {
    width: -webkit-fill-available !important;
    align-content: center
}

/* =========================================
   16. 4-Column Page Layout & Ads
   ========================================= */
.site-layout-4-col {
    max-width: 1920px;
    margin: 0 auto;
}

.ad-col-side {
    position: relative;
    padding-top: 20px;
}

.sticky-ad-wrapper {
    position: sticky;
    top: 100px;
    /* Adjust based on sticky header height */
    z-index: 10;
}

.page-content-root {
    transition: all 0.3s ease;
}

/* Specific Ad Component Styling */
.ad-rectangle-row {
    justify-content: center;
}

.bottom-ad-stack {
    border-top: 1px solid #eee;
    padding-top: 2rem;
}

/* Hide medium device ads by default */
.medium-ad-break {
    display: none !important;
}

/* Responsive Hide side columns and expand content on screens < 1600px */
@media (max-width: 1599.98px) {
    .ad-col-side {
        display: none !important;
    }

    .page-content-root {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }

    /* Hide desktop ad images for S1 and S2 skyscraper slots */
    .desktop-only .sticky-ad-wrapper {
        display: none;
    }
}

/* Show medium device ads (S1, S2) only between 1200px and 1600px */
@media (min-width: 1200px) and (max-width: 1599.98px) {

    .laptop-only,
    .medium-ad-break,
    .medium-ad-break .ad-impact-break .medium-priority-ad {
        display: block !important;
    }

}

/* Ensure content doesn't overlap sticky nav */
.sticky-nav {
    z-index: 1050;
}

/* Ensure ads never overflow the container */
.ad-slot-wrapper img,
.ad-slot-wrapper a img {
    max-width: 100%;
    height: auto;
    display: inline-block;
}

/* Specific spacing for mobile ad breaks */
.mobile-ad-break {
    /* background: #f9f9f9; */
    padding: 20px 0;
    /* border-top: 1px solid #eee; */
    /* border-bottom: 1px solid #eee; */
}

.mobile-priority-ad {
    margin-bottom: 25px;
}

.mobile-priority-ad:last-child {
    margin-bottom: 0;
}

/* Adjust rectangle row for mobile stacking */
@media (max-width: 767.98px) {
    .ad-rectangle-row .col-md-6 {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 20px;
    }

    .ad-rectangle-row .col-md-6:last-child {
        margin-bottom: 0;
    }
}

.archive #secondary .recent-post-title h5 {
    font-size: 14px !important;
}

/* Category Spotlight */
.category-spotlight {
    overflow: hidden;

}

/* Mobile Swapped Ads (Skyscrapers) - Force 300x120 as requested */
@media (max-width: 1199px) {

    .ad-slot-global-skyscraper-right img,
    .ad-slot-global-skyscraper-left img {
        width: 300px !important;
        height: 120px !important;
        object-fit: cover;
        margin: 0 auto;
        display: block;
    }

    /* Header Ad (Leaderboard) - Force 280x60 on mobile */
    .ad-slot-global-leaderboard img {
        width: 280px !important;
        height: 60px !important;
        max-width: 280px !important;
        max-height: 60px !important;
        min-width: 280px !important;
        min-height: 60px !important;
        object-fit: cover;
        margin: 0 auto;
        display: block;
    }
}

.skyscraper-left img,
.skyscraper-right img {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
}

@media(max-width:420px) {

    .ad-slot-global-leaderboard img,
    .ad-slot-global-leaderboard a,
    .header-ad-section {
        max-width: 240px !important;
        margin: 0 auto;
    }
}

@media (max-width: 1200px) {
    .social-sharing-buttons {
        justify-items: center;
    }
}

/* Scroll To Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background-color: var(--lbonews-primary);
    color: #fff;
    border-radius: 5px;
    text-align: center;
    line-height: 45px;
    z-index: 9999;
    font-size: 20px;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover,
.back-to-top:focus {
    background-color: var(--lbonews-secondary);
    color: #fff;
    transform: translateY(-5px);
}

.entry-footer .tags-links {
    font-size: 13px !important;
}

.single-post article .entry-content .wp-block-image img {
    max-height: 600px;
    align-self: center;
    justify-self: center;
}

.map-container {
    justify-self: center;
}

.contact-map {
    text-align: center;
}