/* LOGO TEXT COLOUR FIX - Highest priority */
.slb-logo-text, .slb-nav-outer .slb-logo-text, .slb-wrap .slb-logo-text {
    color: #ffffff !important;
}
.slb-logo-text span, .slb-nav-outer .slb-logo-text span {
    color: #5cb85c !important;
}

/* =============================================
   SUPERLUIGIBROS - HOMEPAGE CUSTOM CSS
   ============================================= */
#page.site {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
}
html, body {
    overflow-x: hidden;
    max-width: 100%;
}
/* Hide GeneratePress header on ALL pages - replaced by custom SLB nav */
#masthead,
header.site-header,
.site-branding,
#site-navigation,
#mobile-menu-control-wrapper,
.main-navigation {
    display: none !important;
}

/* Keep entry-header hidden on homepage only */
.home .entry-header,
.home .site-footer,
.home .main-title,
.home h1.main-title,
.home p.main-title,
.home .site-title,
.home #site-title {
    display: none !important;
}

/* SLB Nav styles - applied sitewide */
.slb-nav{background:#1a1a1a;padding:0 24px;display:flex;align-items:center;justify-content:space-between;height:52px;position:relative;z-index:9999;width:100%;box-sizing:border-box;max-width:1400px;margin:0 auto}
.slb-nav-outer{background:#1a1a1a;width:100%;position:relative;z-index:9999}
.slb-logo-text{font-size:16px;font-weight:700;color:#fff;text-decoration:none;letter-spacing:0.5px;white-space:nowrap}
.slb-logo-text{color:#fff !important}.slb-logo-text span{color:#5cb85c !important}
.slb-nav-links{display:flex;gap:0;align-items:center;height:52px}
.slb-nav-item{position:relative;height:52px;display:flex;align-items:center}
.slb-nav-item>a{color:#ccc;font-size:13px;text-decoration:none;padding:0 12px;height:52px;display:flex;align-items:center;white-space:nowrap}
.slb-nav-item>a:hover{color:#5cb85c}
.slb-nav-item>a.has-children::after{content:' ▾';font-size:10px;opacity:0.7}
.slb-dropdown{display:none;position:absolute;top:52px;left:0;background:#1a1a1a;border-top:2px solid #5cb85c;min-width:200px;z-index:99999;padding:6px 0;box-shadow:0 6px 16px rgba(0,0,0,0.5)}
.slb-nav-links.slb-open{position:fixed;top:52px;left:0;right:0;bottom:0;height:auto !important;overflow-y:auto;z-index:9000;background:#1a1a1a}
.slb-dropdown.slb-wide{width:400px;columns:2;column-gap:0}
body:not(.home) @media (hover: hover) { .slb-nav-item:hover .slb-dropdown{display:block} }


.slb-dropdown a{display:block;padding:8px 16px;color:#ccc;font-size:12px;text-decoration:none;white-space:nowrap;break-inside:avoid}
.slb-dropdown a:hover{color:#5cb85c;background:#222}
.slb-nav-search{background:#333;border:none;border-radius:4px;padding:6px 12px;color:#ccc;font-size:13px;width:140px}
.slb-hamburger{display:none}

/* Remove all spacing on homepage */
.home #page,
.home .grid-container,
.home .site-content,
.home #content,
.home #primary,
.home .site-main,
.home .inside-article,
.home .entry-content,
.home .content-area,
.home article.page {
    padding: 0 !important;
    margin: 0 !important;
}

.home .content-area,
.home .grid-container {
    width: 100% !important;
    max-width: 100% !important;
}

/* Retro Corner images - responsive aspect ratio */
.slb-rc-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
    height: auto;
}

/* Style GeneratePress nav dark on all non-homepage pages */
.main-navigation,
.main-navigation ul ul {
    background: #1a1a1a !important;
}

.main-navigation .main-nav ul li a {
    color: #ccc !important;
    font-size: 13px !important;
}

.main-navigation .main-nav ul li a:hover,
.main-navigation .main-nav ul ul li a:hover {
    color: #5cb85c !important;
    background: #222 !important;
}

.site-header { background: #1a1a1a !important; }

.main-title a,
.main-title a:hover { color: #fff !important; }

/* Hamburger button - hidden on desktop */
.slb-hamburger {
    display: none;
}

/* =============================================
   MOBILE RESPONSIVE - under 768px
   ============================================= */
@media (max-width: 768px) {
	.slb-nav-links.slb-open {
        display: flex !important;
        flex-direction: column;
        height: calc(100vh - 52px) !important;
    }
.slb-hamburger {
        position: relative;
        z-index: 99999;
    }
    /* NAV */
    .slb-nav {
        justify-content: space-between !important;
    }
    .slb-nav-links,
    .slb-nav-search {
        display: none !important;
    }

    /* HAMBURGER BUTTON */
    .slb-hamburger {
        display: flex;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
        padding: 6px;
        background: none;
        border: none;
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
        min-width: 44px;
        min-height: 44px;
        justify-content: center;
        align-items: center;
    }
    .slb-hamburger span {
        display: block;
        width: 24px;
        height: 2px;
        background: #fff;
        border-radius: 2px;
    }

    /* HERO - scale down logo */
    .slb-hero img {
        width: 280px !important;
        height: auto !important;
    }

    /* CONSOLE GRID - 4 columns on mobile */
    .slb-consoles {
        grid-template-columns: repeat(4, 1fr) !important;
    }

    /* ABOUT - hide image */
    .slb-about-sec {
        grid-template-columns: 1fr !important;
        text-align: center;
    }
    .slb-about-img {
        display: none;
    }

    /* NEWS - single column layout */
    .slb-news-layout {
        grid-template-columns: 1fr !important;
    }
    .slb-news-left {
        grid-template-columns: 1fr !important;
    }
    .slb-sidebar {
        display: none;
    }

    /* FEATURED POST */
    .slb-featured-body {
        padding: 12px 14px;
    }
    .slb-featured-title {
        font-size: 15px !important;
    }

    /* NEWS HEADER - stack title and tabs */
    .slb-news-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .slb-tabs {
        width: 100%;
    }
    .slb-tab {
        flex: 1;
        text-align: center;
    }

    /* RETRO CORNER - single column */
    .slb-retro-grid {
        grid-template-columns: 1fr !important;
    }

    /* FOOTER - single column */
    .slb-footer-grid {
        grid-template-columns: 1fr !important;
    }
    .slb-fb {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

/* =============================================
   TABLET - 768px to 1024px
   ============================================= */
@media (min-width: 769px) and (max-width: 1024px) {

    /* CONSOLE GRID - 5 columns */
    .slb-consoles {
        grid-template-columns: repeat(5, 1fr) !important;
    }

    /* NEWS - narrower sidebar */
    .slb-news-layout {
        grid-template-columns: 1fr 200px !important;
    }

    /* RETRO CORNER - 2 columns */
    .slb-retro-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    /* HERO logo */
    .slb-hero img {
        width: 380px !important;
        height: auto !important;
    }
}

/* =============================================
   INNER PAGES - POST / ARTICLE TEMPLATE
   ============================================= */

/* Widen container to match homepage 1400px */
.single .grid-container,
.single .site-content,
.page .grid-container,
.page .site-content,
.archive .grid-container,
.archive .site-content {
    max-width: 1400px !important;
    width: 100% !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
}

/* Page background */
body:not(.home) {
    background: #f0f0f0 !important;
}

/* Post content area */
.single .content-area,
.single #primary {
    width: 100% !important;
    max-width: 100% !important;
}

/* Post article styling */
.single .entry-content,
.single article {
    background: #fff;
    border-radius: 8px;
    border: 1px solid #ddd;
    padding: 32px 40px;
    font-size: 15px;
    line-height: 1.8;
    color: #333;
}

/* Post title */
.single .entry-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
    line-height: 1.3;
}

/* Post meta (date, author) */
.single .entry-meta {
    font-size: 12px;
    color: #888;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #eee;
}
.single .entry-meta a {
    color: #5cb85c;
    text-decoration: none;
}

/* Post header area */
.single .entry-header {
    margin-bottom: 0;
    padding: 0;
}

/* Links in post content */
.single .entry-content a {
    color: #5cb85c;
}
.single .entry-content a:hover {
    color: #4a9e4a;
}

/* Post images */
.single .entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

/* Headings in post content */
.single .entry-content h2 {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 28px 0 12px;
    padding-bottom: 6px;
    border-bottom: 2px solid #5cb85c;
}
.single .entry-content h3 {
    font-size: 17px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 20px 0 8px;
}

/* Post navigation (prev/next) */
.post-navigation {
    max-width: 1400px;
    margin: 20px auto;
    padding: 0 24px;
}
.post-navigation .nav-links {
    display: flex;
    justify-content: space-between;
    gap: 16px;
}
.post-navigation a {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 12px 16px;
    color: #5cb85c;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    flex: 1;
}
.post-navigation a:hover {
    border-color: #5cb85c;
    background: #f9f9f9;
}

/* Mobile post */
@media (max-width: 768px) {
    .single .entry-content,
    .single article {
        padding: 20px 16px;
    }
    .single .entry-title {
        font-size: 22px;
    }
}

/* =============================================
   INNER PAGE HEADER FIXES
   ============================================= */

/* Hide site title/tagline text on inner pages - use logo instead */
body:not(.home) .site-branding p.site-description,
body:not(.home) .site-title {
    display: none !important;
}

/* Make inner page header match homepage dark style */
body:not(.home) .site-header {
    background: #1a1a1a !important;
    padding: 0 !important;
    border-bottom: 3px solid #5cb85c;
}

/* Add logo to inner page header */
body:not(.home) .site-branding {
    display: flex;
    align-items: center;
    padding: 10px 0;
}

body:not(.home) .site-branding::before {
    content: '';
    display: block;
    background: url('https://staging.superluigibros.com/wp-content/uploads/2026/03/logo_luigi.png') no-repeat left center;
    background-size: contain;
    width: 280px;
    height: 53px;
}

/* Nav styling on inner pages */
body:not(.home) .main-navigation .main-nav ul li a {
    height: 52px;
    display: flex;
    align-items: center;
}

/* Fix link colours in post content */
.single .entry-content a {
    color: #5cb85c !important;
}
.single .entry-content a:hover {
    color: #4a9e4a !important;
}

/* Move post title inside the card */
.single article.post {
    display: flex;
    flex-direction: column;
}
.single .entry-header {
    background: #fff;
    border-radius: 8px 8px 0 0;
    border: 1px solid #ddd;
    border-bottom: none;
    padding: 32px 40px 0;
    margin-bottom: 0;
}
.single .entry-content {
    border-radius: 0 0 8px 8px;
    border-top: none;
    padding-top: 24px;
}

/* =============================================
   POST PAGE POLISH
   ============================================= */

/* Green border under nav on all inner pages */
body:not(.home) .slb-nav-outer {
    border-bottom: 3px solid #5cb85c;
}

/* Remove excess top padding on inner pages */
body:not(.home) .site-content {
    padding-top: 24px !important;
}
body:not(.home) #primary {
    padding-top: 0 !important;
}

/* Breadcrumb / category tag above post title */
.single .entry-header .entry-meta .cat-links a {
    display: inline-block;
    background: #5cb85c;
    color: #fff !important;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 8px;
    border-radius: 3px;
    text-decoration: none;
    margin-bottom: 8px;
}



/* Comment section styling */
.comments-area {
    max-width: 1400px;
    margin: 0 auto 24px;
    padding: 0 24px;
}
.comments-area .comment-list,
.comments-area .comment-respond {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 24px 32px;
    margin-bottom: 16px;
}
.comments-area h2 {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid #5cb85c;
}
#submit {
    background: #5cb85c !important;
    color: #fff !important;
    border: none !important;
    padding: 8px 20px !important;
    border-radius: 4px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
}
#submit:hover {
    background: #4a9e4a !important;
}

/* =============================================
   INNER PAGE FOOTER - Replace GP default
   ============================================= */

/* Hide GP footer completely on inner pages */
body:not(.home) #colophon,
body:not(.home) .site-footer,
body:not(.home) .site-info {
    display: none !important;
}

/* Our custom footer from snippet will appear here */
body:not(.home) .slb-footer {
    display: block !important;
}

/* =============================================
   SLB FOOTER STYLES - Global
   ============================================= */
.slb-footer{background:#0d1f0d;border-top:1px solid #1a3a1a}
.slb-footer-inner{max-width:1400px;margin:0 auto;padding:24px 24px 16px}
.slb-footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:24px;margin-bottom:18px}
.slb-ft{color:#5cb85c;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:1px;margin-bottom:10px}
.slb-fl{display:flex;flex-direction:column;gap:6px}
.slb-fl a{color:#fff;font-size:12px;text-decoration:none}
.slb-fl a:hover{color:#5cb85c}
.slb-fn{display:flex;gap:7px;margin-top:8px}
.slb-fi{background:#1a3a1a;border:1px solid #2a4a2a;border-radius:4px;padding:7px 10px;color:#ccc;font-size:12px;flex:1}
.slb-fi::placeholder{color:#567856}
.slb-footer p{color:#fff;font-size:12px;margin-bottom:8px}
.slb-fb{border-top:1px solid #1a3a1a;padding-top:14px;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:10px}
.slb-copy{color:#fff;font-size:11px}
.slb-social-btn{background:#1a3a1a;color:#7cb87c;border:1px solid #2a4a2a;border-radius:4px;padding:5px 10px;font-size:11px;cursor:pointer;margin-left:7px;text-decoration:none;display:inline-block}
.slb-social-btn:hover{background:#2a4a2a;color:#fff}

@media (max-width: 768px) {
    .slb-footer-grid { grid-template-columns: 1fr !important; }
    .slb-fb { flex-direction: column; text-align: center; }
    .slb-social-btn { margin: 2px; }
}

/* Fix footer link colours */
.slb-footer .slb-fl a {
    color: #fff !important;
}
.slb-footer .slb-fl a:hover {
    color: #5cb85c !important;
}

/* =============================================
   CATEGORY / ARCHIVE PAGE TEMPLATE
   ============================================= */

/* Full width, grey background */
.archive .content-area,
.archive #primary {
    width: 100% !important;
    max-width: 100% !important;
}

/* Category header box */
.archive .page-header {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 24px 32px;
    margin-bottom: 24px;
    border-left: 4px solid #5cb85c;
}
.archive .page-title {
    font-size: 26px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
}
.archive .archive-description p {
    font-size: 14px;
    color: #555;
    line-height: 1.7;
    margin: 0;
}
.archive .archive-description a {
    color: #5cb85c;
}

/* Page header spans full width above grid */
.archive .page-header {
    grid-column: 1 / -1;
}

/* Card grid - 3 columns */
.archive #primary .site-main {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* Individual article cards */
.archive article {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: border-color 0.15s;
    padding: 0 !important;
    margin: 0 !important;
}
.archive article:hover {
    border-color: #5cb85c;
}

/* Featured image */
.archive .post-image,
.archive .post-thumbnail {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #0d1f0d;
}
.archive .post-image img,
.archive .post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Green top bar on cards */
.archive article::before {
    content: '';
    display: block;
    height: 4px;
    background: #5cb85c;
    flex-shrink: 0;
}

/* Card body */
.archive .entry-header,
.archive .entry-summary,
.archive .entry-footer {
    padding: 0 16px;
}
.archive .entry-header {
    padding-top: 14px;
}

/* Card title */
.archive .entry-title {
    font-size: 15px !important;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 6px;
    line-height: 1.4;
}
.archive .entry-title a {
    color: #1a1a1a !important;
    text-decoration: none;
}
.archive .entry-title a:hover {
    color: #5cb85c !important;
}

/* Card meta */
.archive .entry-meta {
    font-size: 11px;
    color: #888;
    margin-bottom: 8px;
}
.archive .entry-meta a {
    color: #888 !important;
}

/* Card excerpt */
.archive .entry-summary {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    flex: 1;
    padding-bottom: 12px;
}
.archive .entry-summary p {
    margin: 0;
}

/* Read more link */
.archive .entry-footer {
    padding-bottom: 16px;
}
.archive .more-link,
.archive a.more-link {
    display: inline-block;
    background: #5cb85c;
    color: #fff !important;
    font-size: 11px;
    padding: 5px 12px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
}
.archive .more-link:hover {
    background: #4a9e4a;
}

/* Pagination */
.archive .pagination {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 8px;
}
.archive .pagination .page-numbers {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 6px 12px;
    color: #444;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
}
.archive .pagination .page-numbers.current,
.archive .pagination .page-numbers:hover {
    background: #5cb85c;
    border-color: #5cb85c;
    color: #fff;
}

/* Mobile - single column */
@media (max-width: 768px) {
    .archive #primary .site-main {
        grid-template-columns: 1fr !important;
    }
    .archive .page-header {
        padding: 16px;
    }
}

/* Tablet - 2 columns */
@media (min-width: 769px) and (max-width: 1024px) {
    .archive #primary .site-main {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* Hide tag/category/comments footer on archive cards */
.archive .entry-footer,
.archive footer.entry-meta,
.archive .entry-meta.entry-footer {
    display: none !important;
}

/* Force homepage to be truly full width */
.home #page,
.home .site,
.home .grid-container {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* =============================================
   GP CONTAINER - FULL WIDTH OVERRIDE
   ============================================= */
.site.grid-container,
.grid-container,
.single .grid-container,
.archive .grid-container,
.page .grid-container {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}


/* FINAL NAV COLOUR OVERRIDE - beats .page .entry-content a !important */
.entry-content .slb-nav-outer .slb-logo-text,
.entry-content .slb-wrap .slb-logo-text,
.slb-wrap .slb-nav-outer .slb-logo-text {
    color: #ffffff !important;
}
.entry-content .slb-nav-outer .slb-logo-text span,
.slb-wrap .slb-nav-outer .slb-logo-text span {
    color: #5cb85c !important;
}
.entry-content .slb-nav-outer .slb-nav-item > a,
.slb-wrap .slb-nav-outer .slb-nav-item > a,
.entry-content .slb-nav-outer .slb-nav-links a {
    color: #cccccc !important;
}
.entry-content .slb-nav-outer .slb-dropdown a,
.slb-wrap .slb-nav-outer .slb-dropdown a {
    color: #cccccc !important;
}

/* =============================================
   NAV COLOUR FINAL OVERRIDES
   ============================================= */
/* These must come last to beat all other rules */
.slb-logo-text { color: #ffffff !important; }
.slb-logo-text span { color: #5cb85c !important; }
.slb-nav-item > a { color: #cccccc !important; }
.slb-dropdown a { color: #cccccc !important; }
@media (hover: hover) {
    .slb-nav-item:hover .slb-dropdown { display: block !important; }
    .slb-nav-item:hover > a { color: #5cb85c !important; }
    .slb-dropdown a:hover { color: #5cb85c !important; }
}

/* POST PAGE - Content width capped at 1400px, centred, full grey background */
.single .site-content {
    max-width: 1400px !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 24px 24px 0 !important;
    box-sizing: border-box !important;
}
.single #primary,
.single .content-area {
    width: 100% !important;
    max-width: 100% !important;
}

/* POST PAGE - Fix broken border: merge entry-header and entry-content into one card */
.single .inside-article {
    padding: 0 !important;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}
.single .entry-header {
    padding: 32px 40px 0 !important;
    border: none !important;
    border-radius: 0 !important;
    background: #fff;
}
.single .entry-content {
    padding: 24px 40px 32px !important;
    border: none !important;
    border-radius: 0 !important;
    background: #fff;
}

@media (max-width: 768px) {
    .single .site-content { padding: 16px 16px 0 !important; }
    .single .entry-header { padding: 20px 16px 0 !important; }
    .single .entry-content { padding: 16px 16px 24px !important; }
}

/* POST PAGE LAYOUT FIX */
.single .site-content {
    max-width: 1400px !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 24px 24px 0 !important;
    box-sizing: border-box !important;
}
.single .inside-article {
    padding: 0 !important;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}
.single .entry-header {
    padding: 32px 40px 0 !important;
    border: none !important;
    border-radius: 0 !important;
}
.single .entry-content {
    padding: 24px 40px 32px !important;
    border: none !important;
    border-radius: 0 !important;
}

/* =============================================
   CATEGORY PAGE - CENTERING + IMAGE CARDS
   ============================================= */

/* Centre the content within the full-width grey background */
.archive .site-content {
    max-width: 1400px !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 24px 24px 0 !important;
    box-sizing: border-box !important;
}

/* Category header - full width of the content area */
.archive .page-header {
    grid-column: 1 / -1;
    width: 100%;
    box-sizing: border-box;
}

/* Featured image on archive cards - show if exists */
.archive article .post-thumbnail {
    display: block !important;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #0d1f0d;
}
.archive article .post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Image banner on ALL cards - shows featured image or dark green fallback */
.archive article {
    position: relative;
}
/* Dark green image area before the card body */
.archive .entry-header {
    position: relative;
}
.archive .entry-header::before {
    content: '';
    display: block;
    width: 100%;
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, #0d1f0d 0%, #2d7a2d 50%, #0d1f0d 100%);
    flex-shrink: 0;
    margin-bottom: 14px;
}
/* If post has a thumbnail, show it overlaying the ::before */
.archive .post-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    aspect-ratio: 16/9;
    overflow: hidden;
    z-index: 1;
}
.archive .post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
/* Remove the plain green top bar now we have the image area */
.archive article::before {
    content: none !important;
}

/* Hide date and author on category/archive cards */
.archive .entry-meta {
    display: none !important;
}

/* Hide post navigation (prev/next) on single posts - old imported titles look messy */
.single #nav-below,
.single .post-navigation {
    display: none !important;
}

/* Homepage welcome block - green left border matching category description boxes */
.slb-about-sec {
    border-left: 4px solid #5cb85c !important;
}

/* Hide categories/tags/comments meta on single post pages */
.single footer.entry-meta,
.single .entry-footer {
    display: none !important;
}

/* =============================================
   MOBILE FIXES
   ============================================= */

/* Post/article page - full width, no box on mobile */
@media (max-width: 768px) {
    .single .site-content {
        padding: 0 !important;
        max-width: 100% !important;
        margin: 0 !important;
    }
    .single .inside-article {
        border: none !important;
        border-radius: 0 !important;
        box-shadow: none !important;
    }
    .single .entry-header {
        padding: 16px 16px 0 !important;
    }
    .single .entry-content {
        padding: 12px 16px 24px !important;
    }
    .single .entry-title {
        font-size: 22px !important;
    }

    /* Category page - single column on mobile */
    .archive .site-content {
        padding: 12px 12px 0 !important;
    }
    .archive #primary .site-main {
        grid-template-columns: 1fr !important;
    }

    /* Mobile nav - hamburger visible, dropdown accordion */
    .slb-hamburger {
        display: flex !important;
    }
    .slb-nav-links {
        display: none !important;
        flex-direction: column !important;
        position: fixed !important;
        top: 52px !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        background: #1a1a1a !important;
        overflow-y: auto !important;
        z-index: 9998 !important;
        padding: 0 !important;
    }
    .slb-nav-links.slb-open {
        display: flex !important;
    }
    .slb-nav-item {
        flex-direction: column !important;
        width: 100% !important;
    }
    .slb-nav-item > a {
        padding: 14px 20px !important;
        border-bottom: 1px solid #2a2a2a !important;
        font-size: 15px !important;
        width: 100% !important;
        box-sizing: border-box !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
    }
    /* Dropdowns HIDDEN by default on mobile - shown only when parent tapped */
    .slb-dropdown {
        display: none !important;
        position: static !important;
        background: #111 !important;
        padding: 0 !important;
        border: none !important;
        width: 100% !important;
        box-shadow: none !important;
    }

    .slb-dropdown a {
        padding: 11px 32px !important;
        border-bottom: 1px solid #222 !important;
        display: block !important;
        font-size: 13px !important;
        color: #aaa !important;
    }
    .slb-dropdown a:hover, .slb-dropdown a:active {
        color: #5cb85c !important;
        background: #1a1a1a !important;
    }
    /* Search box hidden on mobile nav */
    .slb-search {
        display: none !important;
    }
}

/* Desktop hover dropdowns */
@media (hover: hover) and (min-width: 769px) {
    .slb-nav-item:hover > .slb-dropdown {
        display: block !important;
    }
}

/* =============================================
   NAV BUTTON RESET - GP overrides buttons with grey bg
   ============================================= */
.slb-nav .slb-nav-item > button.has-children,
.slb-nav-outer button.has-children {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    cursor: pointer !important;
    color: #cccccc !important;
    font-size: 13px !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    font-weight: normal !important;
    padding: 0 12px !important;
    height: 52px !important;
    display: flex !important;
    align-items: center !important;
    white-space: nowrap !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    line-height: 1 !important;
    border-radius: 0 !important;
}
.slb-nav .slb-nav-item > button.has-children:hover,
.slb-nav-outer button.has-children:hover {
    color: #5cb85c !important;
    background: transparent !important;
    background-color: transparent !important;
}
.slb-nav .slb-nav-item > button.has-children::after,
.slb-nav-outer button.has-children::after {
    content: ' ▾' !important;
    font-size: 10px !important;
    opacity: 0.7 !important;
    margin-left: 2px !important;
}

@media (max-width: 768px) {
    .slb-nav-outer button.has-children {
        width: 100% !important;
        padding: 14px 20px !important;
        border-bottom: 1px solid #2a2a2a !important;
        font-size: 15px !important;
        justify-content: space-between !important;
        height: auto !important;
        box-sizing: border-box !important;
        color: #cccccc !important;
        background: transparent !important;
        background-color: transparent !important;
    }
}





/* ================================================
   MOBILE NAV ACCORDION - DEFINITIVE FINAL FIX
   ================================================ */
@media (max-width: 768px) {

    /* Hamburger visible */
    .slb-hamburger { display: flex !important; }

    /* Nav overlay */
    .slb-nav-links {
        display: none !important;
        position: fixed !important;
        top: 52px !important; left: 0 !important; right: 0 !important; bottom: 0 !important;
        flex-direction: column !important;
        background: #1a1a1a !important;
        overflow-y: auto !important;
        z-index: 9998 !important;
    }
    .slb-nav-links.slb-open { display: flex !important; }

    /* Nav items full width */
    .slb-nav-item { width: 100% !important; flex-direction: column !important; height: auto !important; }

    /* Dropdown: reset position, hidden by default */
    .slb-nav-links .slb-dropdown {
        display: none !important;
        position: static !important;
        top: auto !important; left: auto !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        z-index: auto !important;
        box-shadow: none !important;
        border-top: none !important;
        border-left: 3px solid #5cb85c !important;
        background: #111111 !important;
        columns: 1 !important;
        column-count: 1 !important;
        padding: 0 !important;
    }

    /* Dropdown open state - MUST be after the none rule above */
    .slb-nav-links .slb-dropdown.slb-mob-open {
        display: block !important;
    }

    /* Dropdown links */
    .slb-nav-links .slb-dropdown a {
        display: block !important;
        padding: 11px 20px 11px 28px !important;
        font-size: 13px !important;
        color: #aaaaaa !important;
        border-bottom: 1px solid #222222 !important;
        white-space: normal !important;
        break-inside: auto !important;
    }

    /* Nav buttons */
    .slb-nav-outer button.has-children {
        width: 100% !important;
        height: auto !important;
        padding: 14px 20px !important;
        border-bottom: 1px solid #2a2a2a !important;
        font-size: 15px !important;
        justify-content: space-between !important;
        color: #cccccc !important;
        background: transparent !important;
    }

    /* Hide search on mobile */
    .slb-search, .slb-nav-search { display: none !important; }
}

/* DEFINITIVE accordion fix - matches specificity of the slb-open rule above */
.slb-nav-links.slb-open .slb-dropdown.slb-mob-open {
    display: block !important;
    position: static !important;
    width: 100% !important;
    min-width: 0 !important;
    top: auto !important;
    left: auto !important;
    box-shadow: none !important;
    border-top: none !important;
    border-left: 3px solid #5cb85c !important;
    background: #111111 !important;
    columns: 1 !important;
}

/* Character bios archive card fixes */
.archive.category-character-bios .post-image,
.archive.category-character-bios .post-thumbnail {
  aspect-ratio: 4 / 3 !important;
  background: #fff !important;
  border-bottom: 1px solid #eee !important;
}
.archive.category-character-bios .post-image img,
.archive.category-character-bios .post-thumbnail img {
  object-fit: contain !important;
  padding: .5rem !important;
  background: #fff !important;
}

/* Character bios archive header::before fix */
.archive.category-character-bios .entry-header::before {
  display: none !important;
}

/* Character bios single post: hide duplicate featured image */
.single article.category-character-bios .featured-image.page-header-image-single,
.single article.category-character-bios > .inside-article > .featured-image {
  display: none !important;
}


/* Nintendo Power lightbox: show full portrait magazine scans (override plugin's 365px crop) */
.slb-lb-grid { align-items: flex-start; }
.slb-lb-thumb img {
  height: auto !important;
  max-height: 680px !important;
  object-fit: contain !important;
  background: #0d1f0d;
}
@media (max-width: 640px) {
  .slb-lb-thumb img { width: 100% !important; max-height: 520px !important; }
  .slb-lb-thumb { width: 100%; }
}
