/*
Theme Name: LocalLoot Modern News
Theme URI: https://localloot.news
Description: Modern, clean news child theme with tasteful ad spots.
Author: Antigravity
Author URI: https://rentwithricky.com.au
Template: freenews
Version: 1.0.0
*/

/* ============================================================
   GLOBAL â€” Prevent horizontal overflow
   ============================================================ */
html,
body {
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
}

/* ============================================================
   SEARCH REMOVAL â€” Hide any leftover search form container
   ============================================================ */
.header-media-search,
.search-container {
    display: none !important;
}

/* ============================================================
   SECONDARY NAV â€” Hide right menu toggle (does nothing)
   ============================================================ */
.secondary-navigation,
.secondary-menu-toggle {
    display: none !important;
}

/* ============================================================
   HEADER IMAGE / "FREE NEWS" â€” Hidden globally, replaced by ad
   ============================================================ */
.custom-header,
.custom-header-media {
    display: none !important;
}

/* ============================================================
   AD CONTAINERS â€” Responsive by default
   ============================================================ */
.ad-in-content,
.ad-placeholder,
.header-banner,
.advertise-area {
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.ad-in-content iframe,
.ad-in-content img,
.header-banner iframe,
.header-banner img {
    max-width: 100%;
    height: auto;
}

/* ============================================================
   PWA INSTALL BANNER
   ============================================================ */
.pwa-install-banner {
    display: none;
    /* Hidden by default, shown via JS */
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #BA1818 0%, #8B1111 100%);
    color: #fff;
    padding: 14px 20px;
    z-index: 99999;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    animation: slideUpBanner 0.4s ease-out;
}

@keyframes slideUpBanner {
    from {
        transform: translateY(100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.pwa-install-banner.visible {
    display: flex;
}

.pwa-install-banner__icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    flex-shrink: 0;
}

.pwa-install-banner__text {
    flex: 1;
    min-width: 0;
}

.pwa-install-banner__title {
    font-weight: 700;
    font-size: 15px;
    line-height: 1.2;
    margin: 0;
}

.pwa-install-banner__subtitle {
    font-size: 12px;
    opacity: 0.85;
    margin: 2px 0 0;
    line-height: 1.3;
}

.pwa-install-banner__btn {
    background: #fff;
    color: #BA1818;
    border: none;
    padding: 10px 22px;
    border-radius: 24px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    white-space: nowrap;
    transition: transform 0.15s, box-shadow 0.15s;
    flex-shrink: 0;
}

.pwa-install-banner__btn:active {
    transform: scale(0.95);
}

.pwa-install-banner__close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 22px;
    cursor: pointer;
    padding: 0 4px;
    line-height: 1;
    flex-shrink: 0;
}

.pwa-install-banner__close:hover {
    color: #fff;
}

/* ============================================================
   STICKY BOTTOM AD (Mobile)
   ============================================================ */
.mobile-sticky-ad {
    display: none;
    /* Only shown on mobile */
}

/* ============================================================
   TABLET â€” max-width: 768px
   ============================================================ */
@media only screen and (max-width: 768px) {

    /* --- Header: center logo, make it bigger --- */
    .main-header-brand .header-brand-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .main-header-brand .site-branding {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        text-align: center;
    }

    .main-header-brand .header-right {
        display: none;
        /* Hide header ad on mobile */
    }

    .site-branding .custom-logo-link {
        display: flex;
        justify-content: center;
        padding-right: 0;
        float: none;
    }

    /* --- LOGO: Make it bigger and more visible --- */
    .site-branding .custom-logo-link img {
        max-width: 280px;
        width: 280px;
        height: auto;
    }

    .site-title {
        text-align: center;
        float: none;
        font-size: 28px;
    }

    .site-description {
        text-align: center;
    }

    /* --- Flash/Breaking News bar --- */
    .top-header {
        overflow: hidden;
    }

    .flash-news {
        width: 100%;
        overflow: hidden;
    }

    .marquee {
        overflow: hidden;
    }

    /* --- Hide banner social icons (keep article share buttons) --- */
    .header-social-menu {
        display: none !important;
    }

    /* --- Content layout: SINGLE COLUMN --- */
    .wrap.wrap-width {
        padding: 0 10px;
    }

    /* Force all article grids to single column */
    .posts-holder,
    .category-content-holder {
        display: flex !important;
        flex-direction: column !important;
    }

    .posts-holder .post,
    .posts-holder .page,
    .posts-holder article,
    .category-content-holder .post,
    .category-content-holder article,
    .posts-holder .hentry {
        width: 100% !important;
        max-width: 100% !important;
        float: none !important;
        flex: 0 0 100% !important;
        margin-bottom: 20px;
    }

    /* Homepage category widget columns â€” force single column */
    .widget_list_category_posts {
        display: block !important;
        width: 100% !important;
        float: none !important;
    }

    .list-category-posts-half,
    .list-category-posts-half.lcp-left,
    .list-category-posts-half.lcp-right {
        width: 100% !important;
        max-width: 100% !important;
        float: none !important;
        display: block !important;
        margin-bottom: 15px;
    }

    /* Category slider â€” let Slick handle widths, just constrain the container */
    .widget_category_slide {
        width: 100% !important;
        overflow: hidden;
    }

    .widget_category_slide .slick-list {
        overflow: hidden !important;
    }

    .widget_category_slide .slick-track {
        display: flex !important;
    }

    /* Force featured/highlighted sections single column too */
    .highlighted-category,
    .highlighted-category-left,
    .highlighted-category-right,
    .banner-list {
        width: 100% !important;
        float: none !important;
        margin-bottom: 15px;
    }

    .main-banner-section {
        display: flex;
        flex-direction: column;
    }

    /* --- Hide header image / "FREE NEWS" area on mobile --- */
    .header-media-search {
        display: none !important;
    }

    /* --- Clock --- */
    .clock {
        display: none;
    }

    /* --- MOBILE MENU ---
       Keep the first .navigation-top for its toggle button.
       Collapse its bar, position toggle in the logo area.
       Hide #nav-sticker (duplicate). JS in child theme wires the toggle. */

    /* Collapse the first nav bar â€” only toggle stays visible */
    .main-header>.navigation-top:first-child {
        position: static;
        background: transparent;
        padding: 0;
        margin: 0;
        min-height: 0;
        height: 0;
        overflow: visible;
    }

    .main-header>.navigation-top:first-child .wrap {
        padding: 0;
    }

    /* Position the toggle button in the logo bar */
    .main-header>.navigation-top:first-child .menu-toggle {
        position: absolute;
        top: 50%;
        left: 5px;
        transform: translateY(-50%);
        z-index: 99999;
        background: transparent;
        color: #333;
        border: none;
        padding: 8px 12px;
        font-size: 22px;
        line-height: 1;
        margin: 0;
        display: block !important;
    }

    /* Hide desktop menu items by default */
    .main-header>.navigation-top:first-child .main-navigation .menu {
        display: none;
    }

    /* When toggled open â€” slide-in panel */
    .main-header>.navigation-top:first-child .main-navigation.toggled .menu {
        display: block !important;
        position: fixed;
        top: 0;
        left: 0;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: #222 !important;
        z-index: 99999;
        padding: 60px 0 20px;
        margin: 0;
        list-style: none;
        overflow-y: auto;
        box-shadow: 4px 0 20px rgba(0, 0, 0, 0.4);
    }

    .main-header>.navigation-top:first-child .main-navigation.toggled .menu li {
        display: block !important;
        width: 100% !important;
        float: none !important;
        border-bottom: 1px solid #444;
    }

    .main-header>.navigation-top:first-child .main-navigation.toggled .menu li a {
        color: #fff !important;
        padding: 14px 20px !important;
        display: block !important;
        font-size: 16px;
        text-decoration: none;
        background: transparent !important;
    }

    .main-header>.navigation-top:first-child .main-navigation.toggled .menu li a:hover {
        background: #333 !important;
    }

    /* Sub-menus inside mobile nav */
    .main-header>.navigation-top:first-child .main-navigation.toggled .sub-menu {
        display: block;
        position: static !important;
        background: #1a1a1a !important;
        box-shadow: none;
        padding-left: 15px;
    }

    /* Hide #nav-sticker entirely on mobile */
    #nav-sticker {
        display: none !important;
    }

    /* Logo bar is the positioning context */
    .header-brand {
        position: relative;
        padding-left: 45px;
    }

    /* Hide clock */
    .clock {
        display: none;
    }

    .ad-in-content {
        padding: 10px 0;
    }

    .ad-placeholder {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        min-height: 80px;
    }

    /* --- Article content --- */
    .entry-content img,
    .entry-content iframe {
        max-width: 100%;
        height: auto;
    }

    /* --- Sidebar & widget areas: stack below content on mobile --- */
    .widget {
        max-width: 100%;
        overflow: hidden;
    }

    .sidebar,
    .widget-area,
    #primary,
    #secondary,
    .main-content-area,
    .left-widget-area,
    .right-widget-area {
        width: 100% !important;
        max-width: 100% !important;
        float: none !important;
        display: block !important;
    }

    /* Ensure the content wrapper stacks vertically */
    .site-content-cell,
    .wrap.wrap-width {
        display: flex !important;
        flex-direction: column !important;
    }

    .wrap.wrap-width>* {
        width: 100% !important;
        max-width: 100% !important;
        float: none !important;
    }

    /* --- Footer --- */
    .footer-menu li {
        width: 50%;
    }

    .site-info {
        text-align: center;
        padding: 15px 10px;
    }

    /* --- Sticky bottom ad visible --- */
    .mobile-sticky-ad {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 9999;
        background: #fff;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.15);
        text-align: center;
        padding: 5px;
    }
}

/* ============================================================
   MOBILE â€” max-width: 500px
   ============================================================ */
@media only screen and (max-width: 500px) {

    /* Logo slightly smaller on small phones but still readable */
    .site-branding .custom-logo-link img {
        max-width: 220px;
        width: 220px;
    }

    .site-title {
        font-size: 22px;
    }

    /* Full-width content */
    .wrap.wrap-width {
        padding: 0 8px;
    }

    /* Footer menu single column */
    .footer-menu li {
        width: 100%;
        text-align: center;
    }

    /* Tighter header */
    .header-brand {
        padding: 10px 0;
    }
}

/* ============================================================
   SMALL PHONES â€” max-width: 375px
   ============================================================ */
@media only screen and (max-width: 375px) {
    .site-branding .custom-logo-link img {
        max-width: 180px;
        width: 180px;
    }

    .site-title {
        font-size: 20px;
    }

    .pwa-install-banner {
        padding: 12px 12px;
        gap: 8px;
    }

    .pwa-install-banner__btn {
        padding: 8px 16px;
        font-size: 13px;
    }
}/* ============================================================
   ULTRA CLEAN "NEWS.COM.AU" AESTHETIC
   ============================================================ */
:root {
    --news-primary: #111111;
    --news-secondary: #007bff;
    --news-accent: #cc0000;
    --news-text-dark: #333333;
    --news-text-light: #777777;
    --news-bg-light: #ffffff;
    --news-white: #ffffff;
    --news-border: #eaeaea;
}

/* Typography Improvements */
body, body.custom-background {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
    color: var(--news-text-dark) !important;
    background-color: var(--news-bg-light) !important;
    background-image: none !important;
    line-height: 1.5;
}

h1, h2, h3, h4, h5, h6, p, a, span, .site-title, .entry-title, .widget-title, .entry-content p, .main-navigation a, .cat-links a, .flash-news-title, .entry-meta {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
}

h1, h2, h3, h4, h5, h6, .site-title, .entry-title {
    font-weight: 700;
    color: var(--news-primary);
    letter-spacing: normal;
}

.entry-content p {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--news-text-dark);
    margin-bottom: 1.5rem;
}

/* Header Refinements */
.main-header, .site-header {
    background: var(--news-white) !important;
    background-color: var(--news-white) !important;
    border-bottom: 1px solid var(--news-border) !important;
    box-shadow: none !important;
}

.site-branding {
    padding: 15px 0;
}

.site-title {
    font-size: 2.2rem;
    font-weight: 800;
    text-transform: none;
    color: var(--news-primary) !important;
}

.header-brand {
    background: none !important;
    background-color: #ffffff !important;
    padding: 10px 0 !important;
}

.header-brand::before {
    display: none !important;
}

/* Flash News Bar */
.top-header, .top-header-inner {
    background: var(--news-white) !important;
    background-color: var(--news-white) !important;
    color: var(--news-text-dark) !important;
    border-bottom: 1px solid var(--news-border) !important;
    padding: 5px 0 !important;
}
.flash-news {
    background: var(--news-white) !important;
    background-color: var(--news-white) !important;
}
.flash-news-title {
    background: var(--news-accent) !important;
    background-color: var(--news-accent) !important;
    color: var(--news-white) !important;
    text-transform: uppercase;
    font-weight: bold;
    padding: 2px 10px;
    font-size: 0.8rem;
    display: inline-block;
}
.flash-news .marquee a {
    color: var(--news-primary) !important;
    font-weight: 600;
}
.flash-news .marquee a:hover {
    color: var(--news-secondary) !important;
}

/* Navigation */
.navigation-top, .main-navigation, .site-header-menu, .main-navigation ul {
    background: var(--news-white) !important;
    background-color: var(--news-white) !important;
}
.main-navigation {
    border-top: 1px solid var(--news-border) !important;
    border-bottom: 1px solid var(--news-border) !important;
}

.main-navigation ul li a {
    color: var(--news-primary) !important;
    font-weight: 600 !important;
    text-transform: none !important;
    font-size: 0.95rem !important;
    letter-spacing: normal !important;
    padding: 12px 15px !important;
    transition: color 0.1s ease !important;
}

.main-navigation ul li, .main-navigation ul li.current-menu-item, .main-navigation ul li:hover, .main-navigation ul li.current-menu-item a {
    background: transparent !important;
    background-color: transparent !important;
}

.main-navigation ul li a:hover {
    background: transparent !important;
    color: var(--news-secondary) !important;
    text-decoration: underline !important;
}

/* Post Cards (Archive / Front Page) */
.posts-holder .post, .category-content-holder .post, article.post, article.page, {
    background: var(--news-white) !important;
    background-color: var(--news-white) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    margin-bottom: 25px !important;
    padding-bottom: 25px !important;
    transition: none !important;
    border: none !important;
    border-bottom: 1px solid var(--news-border) !important;
    overflow: hidden !important;
}

.posts-holder .post:hover, .category-content-holder .post:hover {
    transform: none !important;
    box-shadow: none !important;
}

.entry-meta {
    font-size: 0.8rem !important;
    color: var(--news-text-light) !important;
    text-transform: uppercase !important;
    font-weight: 600 !important;
    margin-bottom: 8px !important;
}

.entry-title a {
    color: var(--news-primary) !important;
    text-decoration: none !important;
    transition: color 0.1s !important;
}

.entry-title a:hover {
    color: var(--news-secondary) !important;
}

.post-thumbnail img, .attachment-post-thumbnail {
    width: 100% !important;
    height: auto !important;
    border-radius: 0 !important;
    display: block !important;
    box-shadow: none !important;
}

/* Category Badges */
.cat-links a {
    background: transparent !important;
    background-color: transparent !important;
    color: var(--news-secondary) !important;
    padding: 0 !important;
    border-radius: 0 !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
}
.cat-links a:hover {
    background: transparent !important;
    text-decoration: underline !important;
}

/* Widgets & Sidebars */
.widget {
    background: var(--news-white) !important;
    background-color: var(--news-white) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 0 25px 0 !important;
    margin-bottom: 25px !important;
    border: none !important;
    border-bottom: 1px solid var(--news-border) !important;
}

.widget-title {
    font-size: 1.1rem !important;
    text-transform: none !important;
    border: none !important;
    border-bottom: 1px solid var(--news-primary) !important;
    padding-bottom: 8px !important;
    margin-bottom: 15px !important;
    color: var(--news-primary) !important;
    font-weight: 700 !important;
    background: transparent !important;
}

/* Tasteful Ad Spots */
.ad-placeholder {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    text-align: center !important;
    padding: 10px 0 !important;
    color: #ccc !important;
    font-size: 0.75rem !important;
    font-weight: 400 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    border-radius: 0 !important;
    margin: 15px 0 !important;
    position: relative !important;
    overflow: hidden !important;
}

.ad-placeholder::before {
    content: 'Advertisement' !important;
    display: block !important;
    font-size: 0.65rem !important;
    margin-bottom: 5px !important;
    color: #ccc !important;
}

.ad-in-content img, .header-banner img {
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* Single Post Specific */
.single .entry-header {
    margin-bottom: 25px !important;
    text-align: left !important;
}

.single .entry-title {
    font-size: 2.2rem !important;
    margin-bottom: 15px !important;
}

.single .post-thumbnail {
    margin-bottom: 25px !important;
    border-radius: 0 !important;
    overflow: hidden !important;
    box-shadow: none !important;
}

/* Footer Improvements */
.site-footer, .footer-menu {
    background: var(--news-white) !important;
    background-color: var(--news-white) !important;
    color: var(--news-text-dark) !important;
    padding: 30px 0 !important;
    margin-top: 40px !important;
    border-top: 2px solid var(--news-primary) !important;
    border-bottom: none !important;
}

.site-footer a, .footer-menu a {
    color: var(--news-primary) !important;
}

.site-footer a:hover, .footer-menu a:hover {
    color: var(--news-secondary) !important;
}

.footer-menu li a {
    font-size: 0.95rem !important;
    font-weight: 500 !important;
}


/* Fixes for lingering red and borders */
.header-social-menu, .localloot-share-nav {
    background: #ffffff !important;
    background-color: #ffffff !important;
}

.main-navigation, .site-header, .site-header-menu, #masthead, .navigation-top, .main-header, .site-branding-text {
    border-bottom: none !important;
    box-shadow: none !important;
    border-top: none !important;
}

/* Add a very thin, elegant bottom border to the header instead of the thick black line */
#masthead {
    border-bottom: 1px solid #eaeaea !important;
}

body, .site-content-cell, .wrap, .content-area, .site-main, .post, .widget, .posts-holder, .category-content-holder, article.post, article.page {
    background-color: #ffffff !important;
}

/* Re-style widget titles to not have the red shadow/underline */
.widget-title, .flash-news-title, .widget_title {
    border-bottom: 2px solid #000000 !important;
}

/* Ensure the flash news doesn't look like a red button if we want it clean */
.flash-news-title {
    background-color: #000000 !important;
    color: #ffffff !important;
}

/* Tighten header padding */
.main-header-brand, .site-branding, .header-brand-content {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.header-brand {
    padding: 0 !important;
}

.site-branding .custom-logo-link img {
    margin-top: 5px !important;
    margin-bottom: 5px !important;
}

/* Remove any reserved space for ads if empty */
.header-right {
    display: none !important;
}

.wrap {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}


/* Hide mobile sticky ad on desktop to prevent floating bug */
@media (min-width: 768px) {
    .ad-mobile-sticky-content {
        display: none !important;
    }
}

/* Make archive layout responsive */
@media (max-width: 768px) {
    .localloot-archive-sidebar {
        flex: 1 1 100% !important;
        margin-top: 40px;
    }
    .localloot-list-post {
        flex-direction: column;
    }
    .localloot-list-post .post-thumbnail {
        flex: 1 1 100% !important;
    }
}


/* Fix squished sidebar */
.localloot-archive-sidebar {
    word-break: normal !important;
    overflow-wrap: break-word !important;
}
.localloot-archive-sidebar .widget-title {
    word-break: normal !important;
}


/* Fix the squished sidebar caused by parent theme widths */
.localloot-archive-sidebar .widget-area {
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
}


/* Sidebar & Widget Premium Styling */
.widget-area .widget {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    padding: 25px;
    margin-bottom: 30px;
    border: 1px solid #f0f0f0;
}
.widget-area .widget-title {
    font-size: 1.15rem !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #111111;
    border-bottom: 3px solid #111111;
    padding-bottom: 12px;
    margin-bottom: 20px;
    display: inline-block;
}
.widget-area .widget ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}
.widget-area .widget ul li {
    padding: 12px 0;
    border-bottom: 1px solid #f5f5f5;
    font-size: 0.95rem;
}
.widget-area .widget ul li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.widget-area .widget ul li a {
    color: #333333;
    text-decoration: none;
    font-weight: 600;
    line-height: 1.4;
    display: block;
    transition: color 0.2s ease;
}
.widget-area .widget ul li a:hover {
    color: #e53935;
}
/* Ensure thumbnails in widgets look good */
.widget-area .widget .post-thumb img {
    border-radius: 4px;
    margin-bottom: 10px;
}

/* Ensure text links in widgets are visible and sleek */
.list-category-post-title a { color: #111111 !important; font-weight: 600 !important; font-size: 15px !important; text-decoration: none !important; }
.list-category-post-title a:hover { color: #007bff !important; text-decoration: underline !important; }
.list-category-posts-half { margin-bottom: 30px !important; }


/* Desktop Logo Size Increase */
@media only screen and (min-width: 992px) {
    .custom-logo-link img {
        max-width: 450px !important;
        width: 100% !important;
        height: auto !important;
    }
}

/* Inline Header Redesign (Logo + Menu + Ad) */
@media only screen and (min-width: 992px) {
    .header-brand-content {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
        padding: 10px 0 !important;
    }
    
    .site-branding {
        flex: 0 0 auto !important;
        margin-right: 20px !important;
    }

    .custom-logo-link img {
        max-width: 300px !important; /* Squished slightly as requested */
        width: 100% !important;
        height: auto !important;
    }

    .inline-nav-sticker {
        flex: 1 1 auto !important;
        display: flex !important;
        align-items: center !important;
        background: transparent !important;
        border: none !important;
        padding: 0 !important;
        margin: 0 !important;
        position: static !important;
        overflow: hidden !important; /* Prevent menu from blowing out container */
    }

    .inline-nav-sticker .navigation-top {
        border: none !important;
        background: transparent !important;
        width: 100% !important;
    }

    .inline-nav-sticker .wrap {
        padding: 0 !important;
        max-width: none !important;
        margin: 0 !important;
        width: 100% !important;
    }

    .inline-nav-sticker .main-navigation {
        display: flex !important;
        justify-content: flex-start !important;
    }

    .inline-nav-sticker .main-navigation ul {
        display: flex !important;
        flex-wrap: nowrap !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .inline-nav-sticker .main-navigation li {
        margin: 0 10px 0 0 !important;
        padding: 0 !important;
        white-space: nowrap !important;
    }

    .inline-nav-sticker .main-navigation a {
        padding: 10px 5px !important;
        font-size: 15px !important;
        font-weight: 600 !important;
    }

    .inline-nav-sticker .clock {
        display: none !important; /* Hide the clock to save space in the tight header */
    }

    .header-right {
        flex: 0 0 auto !important;
        margin-left: 20px !important;
        /* Removed max-width to allow 728x90 ads to render */
    }
}

/* Fix mobile so it still stacks properly */
@media only screen and (max-width: 991px) {
    .header-brand-content {
        display: block !important;
    }
    .inline-nav-sticker {
        display: block !important;
        margin-top: 15px !important;
    }
}
