/* ================================================================
   ROOT & RESET
================================================================ */
:root {
    --primary-color: #ff5733;
    --secondary-color: #2c5f2d;
    --full-width: 100%;
    --section-padding: 60px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Droid Serif',  sans-serif;
    /* font-size: 16px; */
    line-height: 1.6;
    color: #222;
    background-color: #ffffff;
}

/* ================================================================
   GLOBAL PROMO CARD: GREEN VARIANT
================================================================ */
.promo-card.green-card {
    background: #248F2C;
    color: white;
    border-radius: 5px;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.promo-card.green-card h3,
.promo-card.green-card p {
    color: white;
}

.promo-card.green-card h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.promo-card.green-card p {
    font-size: 0.9rem !important;
    margin-bottom: 12px;
    line-height: 1.4;
}

.promo-card.green-card .card-image {
    width: 100%;
    height: 130px;
    object-fit: cover;
    border-radius: 8px;
    margin: 12px 0 15px;
}

.promo-card.green-card .search-input-white {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 8px;
    background: white;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.promo-card.green-card .search-input-white::placeholder {
    color: black;
}

.promo-card.green-card .latest-search-label {
    color: white;
    font-size: 0.85rem;
    margin-bottom: 10px;
    font-weight: 500;
}

.promo-card.green-card .categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.promo-card.green-card .category-tag {
    display: inline-block;
    padding: 6px 12px;
    background: #358d38;
    border-radius: 5px;
    font-size: 0.8rem;
    color: white;
}

/* ================================================================
   LAYOUT
================================================================ */
.container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ================================================================
   TOP BAR
================================================================ */
.top-bar {
    background-color: #0d5cb6;
    color: #ffffff;
    padding: 10px 0;
    font-size: 14px;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-bar-left i {
    font-size: 16px;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.social-icon {
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    transition: opacity 0.3s ease;
}

.social-icon:hover {
    opacity: 0.8;
}

/* ================================================================
   MAIN HEADER
================================================================ */
.main-header {
    background-color: #ffffff;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(
        to right,
        #c3c4c7 0,
        #e0e0e0 calc(41% - 80px),
        transparent calc(41% - 80px),
        transparent calc(56% + 80px),
        #c3c4c7 calc(50% + 80px),
        #e0e0e0 100%
    );
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

/* ================================================================
   MENU TOGGLE — always visible (desktop + mobile)
================================================================ */
.menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    font-size: 22px;
    color: #333;
    cursor: pointer;
    padding: 6px 8px;
    border-radius: 4px;
    transition: background 0.2s ease;
    flex-shrink: 0;
    order: 0;
}

.menu-toggle:hover {
    background: #f0f0f0;
}

/* ================================================================
   DESKTOP NAVIGATION
================================================================ */
.nav-left,
.nav-right {
    flex: 1;
}

.nav-left ul,
.nav-right ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

/* .nav-left ul {
    justify-content: center;
} */

.nav-right ul {
    justify-content: flex-end;
}

.nav-left a,
.nav-right a {
    color: #333333;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-left a:hover,
.nav-right a:hover {
    color: #000000;
}

/* ================================================================
   LOGO
================================================================ */
.logo {
    flex-shrink: 0;
}

.logo a {
    display: block;
}

.logo img {
    height: 60px;
    width: auto;
    display: block;
}

/* ================================================================
   SEARCH BUTTONS
================================================================ */
/* Desktop search — shown on desktop, hidden on mobile */
.desktop-search-btn {
    background-color: #4caf50;
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.3s ease;
    flex-shrink: 0;
}

.desktop-search-btn:hover {
    background-color: #45a049;
}
.search-btn{
    background: transparent;
    color: white;
    border: none;
    font-size: medium;
    font-family:'Droid Serif';
}
/* Mobile search icon — hidden on desktop, shown on mobile */
.mobile-search-icon {
    display: none;
    background: #4caf50;
    color: #ffffff;
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    order: 3;
    overflow: hidden;
}

/* ================================================================
   SLIDE-IN MENU PANEL
================================================================ */
.mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 300px;
    max-width: 85vw;
    height: 100vh;
    background: #ffffff;
    z-index: 9999;
    padding: 70px 0 30px;
    transition: left 0.32s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.12);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.mobile-menu.active {
    left: 0;
}

/* Close button */
.menu-close {
    position: absolute;
    top: 27px;
    right: 18px;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #444;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s;
}

.menu-close:hover {
    background: #f0f0f0;
}

/* ================================================================
   MOBILE-ONLY LINKS
   Hidden on desktop (≥769px), shown on mobile (≤768px)
================================================================ */
.mobile-only-links {
    display: none; /* hidden by default (desktop) */
}

/* ================================================================
   STATIC MENU LINKS (inside slide-in panel)
================================================================ */
.menu-static-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-static-links li {
    border-bottom: 1px solid #f0f0f0;
}

.menu-static-links li a {
    display: block;
    padding: 13px 24px;
    color: #222;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: background 0.2s, color 0.2s;
}

.menu-static-links li a:hover {
    background: #f5f5f5;
    color: #2d7a4a;
}

/* Divider */
.menu-divider {
    height: 6px;
    background: #f0f4f0;
    margin: 8px 0;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

/* ================================================================
   ACCORDION
================================================================ */
.menu-accordion {
    flex: 1;
}

.accordion-item {
    border-bottom: 1px solid #f0f0f0;
}

.accordion-trigger {
    width: 100%;
    background: none;
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 24px;
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    cursor: pointer;
    text-align: left;
    transition: background 0.2s;
    /* font-family: inherit; */
}

.accordion-trigger:hover {
    background: #f5fdf7;
}

.accordion-icon {
    font-size: 13px;
    color: #888;
    transition: transform 0.25s ease;
    flex-shrink: 0;
}

.accordion-item.open .accordion-icon {
    transform: rotate(90deg);
    color: #2d7a4a;
}

.accordion-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.32s ease;
    background: #f9fdf9;
}

.accordion-item.open .accordion-panel {
    max-height: 500px;
}

.accordion-panel ul {
    list-style: none;
    padding: 4px 0 8px;
    margin: 0;
}

.accordion-panel ul li a {
    display: block;
    padding: 10px 24px 10px 36px;
    color: #444;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.2s, color 0.2s, padding-left 0.2s;
}

.accordion-panel ul li a:hover {
    background: #eef7f0;
    color: #2d7a4a;
    padding-left: 42px;
}

/* ================================================================
   OVERLAY
================================================================ */
.mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

body.menu-open {
    overflow: hidden;
}

/* ================================================================
   RESPONSIVE — TABLET (≤ 992px)
================================================================ */
@media screen and (max-width: 992px) {
    .nav-left ul,
    .nav-right ul {
        gap: 18px;
    }

    .nav-left a,
    .nav-right a {
        font-size: 15px;
    }

    .logo img {
        height: 50px;
    }

    .main-header::after {
        background: linear-gradient(
            to right,
            #c3c4c7 0%,
            #e0e0e0 calc(50% - 70px),
            transparent calc(50% - 70px),
            transparent calc(50% + 70px),
            #c3c4c7 calc(50% + 70px),
            #e0e0e0 100%
        );
    }
}

/* ================================================================
   RESPONSIVE — MOBILE (≤ 768px)
   Hide desktop nav items; show mobile search icon
================================================================ */
@media screen and (max-width: 768px) {
    /* Hide desktop-only elements */
    .nav-left,
    .nav-right,
    .desktop-search-btn {
        display: none;
    }

    /* Show mobile search icon */
    .mobile-search-icon {
        display: flex;
        width: 42px;
        height: 42px;
        min-width: 42px;
        border-radius: 8px;
        background: #16a34a;
        justify-content: center;
        align-items: center;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.18);
        color: #ffffff;
        border: 1px solid #0f8a38;
        position: relative;
        overflow: hidden;
        transition: width 0.28s ease, background-color 0.28s ease, border-color 0.28s ease;
    }

    /* Show the static links inside the slide-in panel */
    .mobile-only-links {
        display: block;
    }

    /* Reorder mobile header: toggle | logo | search icon */
    .header-content {
        justify-content: space-between;
    }

    .menu-toggle {
        order: 1;
    }

    .logo {
        order: 2;
        flex: 1;
        text-align: center;
        display: flex;
        justify-content: center;
    }

    .mobile-search-icon {
        order: 3;
    }

    .mobile-search-icon.is-open {
        width: min(72vw, 280px);
        background: #ffffff;
        border-color: #d0d7de;
    }

    .logo img {
        height: 45px;
    }

    .top-bar {
        font-size: 12px;
    }

    .top-bar-right {
        gap: 10px;
    }

    .social-icon {
        font-size: 14px;
    }

    .main-header::after {
        background: linear-gradient(
            to right,
            #c3c4c7 0%,
            #e0e0e0 calc(50% - 55px),
            transparent calc(50% - 55px),
            transparent calc(50% + 55px),
            #c3c4c7 calc(50% + 55px),
            #e0e0e0 100%
        );
    }
}

/* ================================================================
   RESPONSIVE — SMALL MOBILE (≤ 480px)
================================================================ */
@media screen and (max-width: 480px) {
    .top-bar-left span {
        font-size: 11px;
    }

    .social-icon {
        font-size: 12px;
    }

    .top-bar-right {
        gap: 8px;
    }

    .logo img {
        height: 40px;
    }

    .container {
        padding: 0 15px;
    }

    .main-header::after {
        background: linear-gradient(
            to right,
            #c3c4c7 0%,
            #e0e0e0 calc(50% - 45px),
            transparent calc(50% - 45px),
            transparent calc(50% + 45px),
            #c3c4c7 calc(50% + 45px),
            #e0e0e0 100%
        );
    }
}
.search-wrapper {
            position: relative;
            display: flex;
            align-items: center;
        }

        .mobile-search-btn {
            width: 100%;
            height: 100%;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            background: transparent;
            border: none;
            color: #ffffff;
            cursor: pointer;
            border-radius: inherit;
        }

        .mobile-search-btn i {
            font-size: 16px;
            line-height: 1;
        }

        /* Hidden expanding input */
        .search-wrapper .search-input {
            width: 0;
            opacity: 0;
            overflow: hidden;
            pointer-events: none;
            border: none;
            border-bottom:1px solid #f0f0f04a;
            outline: none;
            background: transparent;
            font-size: 0.88rem;
            padding: 3px 6px;
            color: white;
            transition: width 0.3s ease, opacity 0.25s ease;
            box-sizing: border-box;
        }

        .search-wrapper .search-input::placeholder {
            color: #aaa;
        }

        /* Expand on hover or focus */
        .search-wrapper:hover .search-input,
        .search-wrapper:focus-within .search-input {
            width: 150px;
            opacity: 1;
            pointer-events: all;
        }

        /* ─── DESKTOP: show desktop wrapper only ─────────────────── */
        .search-wrapper.desktop-search-btn { display: flex; }
        .search-wrapper.mobile-search-icon  { display: none; }

        /* ─── MOBILE: flip visibility ────────────────────────────── */
        @media (max-width: 768px) {
            .search-wrapper.desktop-search-btn { display: none; }
            .search-wrapper.mobile-search-icon  { display: flex; }

            .search-wrapper.mobile-search-icon .search-input {
                position: static;
                flex: 1;
                width: 0;
                min-width: 0;
                height: 100%;
                opacity: 0;
                padding: 0;
                background: #ffffff;
                color: #1f2937;
                border: 0;
                border-radius: 8px;
                box-shadow: none;
                pointer-events: none;
                visibility: visible;
                box-sizing: border-box;
                font-size: 16px;
                transition: opacity 0.2s ease, padding 0.2s ease;
            }

            .search-wrapper.mobile-search-icon .search-input::placeholder {
                color: #9ca3af;
            }

            .search-wrapper.mobile-search-icon.is-open .search-input {
                width: 100% !important;
                height: 100% !important;
                opacity: 1 !important;
                padding: 0 12px !important;
                font-size: 16px !important;
                border: 0 !important;
                box-shadow: none !important;
                pointer-events: all !important;
                visibility: visible !important;
                background: #ffffff !important;
                color: #1f2937 !important;
            }

            .search-wrapper.mobile-search-icon .mobile-search-btn {
                width: 42px;
                min-width: 42px;
                height: 42px;
                color: #ffffff;
                flex-shrink: 0;
            }

            .search-wrapper.mobile-search-icon.is-open .mobile-search-btn {
                color: #16a34a;
            }
        }
/* ================================================================
   GLOBAL GREENLIST SIDEBAR COMPONENTS
   Reusable across templates that render .greenlist-sidebar markup
================================================================ */
.greenlist-sidebar {
    background: #ffffff;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.greenlist-sidebar article {
    margin-bottom: 20px;
}

.greenlist-sidebar article:last-child {
    margin-bottom: 0;
}

.greenlist-sidebar .greenlist-featured-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.greenlist-sidebar .greenlist-featured-card {
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.greenlist-sidebar .greenlist-featured-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.greenlist-sidebar .sidebar-card {
    overflow: hidden;
    border: 1px solid #e0e0e0;
    background-color: #ffc216;
    padding: 10px;
    border-radius: 6px;
}

.greenlist-sidebar .career-card img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 4px;
}

.greenlist-sidebar .career-card h3 {
    padding: 15px 0px;
    font-size: 18px;
    color: #ffffff;
}

.greenlist-sidebar .career-card p {
    /* padding: 0 15px; */
    font-size: 14px;
    color: #ffffff;
    margin-bottom: 10px;
}

.greenlist-sidebar .green-search-form {
    margin-bottom: 15px;
}

.greenlist-sidebar .green-search-input {
    width: 100%;
    padding: 12px 15px 12px 40px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    background: #ffffff url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="%23666" stroke-width="2"><circle cx="11" cy="11" r="8"/><path d="m21 21-4.35-4.35"/></svg>') no-repeat 12px center;
    outline: none;
}

.greenlist-sidebar .green-search-input::placeholder {
    color: #999999;
}

.greenlist-sidebar .sidebar-widget .widget-content {
    padding: 15px;
}

.greenlist-sidebar .quiz-widget {
    padding: 0;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.greenlist-sidebar .quiz-widget .widget-content {
    background: linear-gradient(135deg, #014994 0%, #41AD49 100%);
    color: #ffffff;
}

.greenlist-sidebar .quiz-badge {
    display: inline-block;
    background-color: #ec4899;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.greenlist-sidebar .quiz-title {
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
}

.greenlist-sidebar .quiz-description {
    font-size: 14px;
    color: #ffffff;
    line-height: 1.5;
    margin-bottom: 16px;
    opacity: 0.95;
}

.greenlist-sidebar .green-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    border-bottom: 2px solid #ffffff;
}

.greenlist-sidebar .green-card {
    background: linear-gradient(135deg, #36A23E 0%, #00b34c 100%);
    border: none;
    padding: 10px;
    overflow: hidden;
    border-radius: 6px;
}

.greenlist-sidebar .green-card-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
    display: block;
}

.greenlist-sidebar .green-card-content {
    padding: 10px 4px 4px;
    color: #ffffff;
    margin-top: 8px;
}

.greenlist-sidebar .green-card-content h3 {
    font-size: 20px;
    font-weight: 600;
}

.greenlist-sidebar .green-card-content p {
    font-size: 14px;
    margin-bottom: 8px;
    opacity: 0.95;
}

.greenlist-sidebar .green-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.greenlist-sidebar .category-tag {
    display: inline-block;
    padding: 6px 12px;
    background: #0281306b;
    border-radius: 4px;
    font-size: 14px;
    color: #ffffff;
    font-weight: 500;
}

.greenlist-sidebar .cd-tag {
    background: #ffffff;
    color: #023870;
    border: none;
}
.bottom-card.green-card {
    background: #023870;
    padding: 10px;
}
/* ================================================================
   FOOTER
================================================================ */
.main-footer {
    background: linear-gradient(180deg, #f8f9fa 0%, #e9ecef 100%);
    margin-top: 60px;
    padding: 50px 0 0 0;
    padding-left: 30px;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 2px solid #dee2e6;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-about {
    padding-right: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo-image {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #2d7a4a;
}

.footer-logo-text {
    display: flex;
    flex-direction: column;
}

.footer-logo-main {
    font-size: 20px;
    font-weight: bold;
    color: #2d7a4a;
    line-height: 1;
    letter-spacing: 1px;
}

.footer-logo-sub {
    font-size: 10px;
    color: #666;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.footer-description {
    font-size: 14px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social-icon {
    width: 38px;
    height: 38px;
    color: rgb(48, 47, 47);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 16px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-social-icon:hover {
    background: linear-gradient(135deg, #1f5a35, #2d7a4a);
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(45, 122, 74, 0.3);
}

.footer-heading {
    font-size: 18px;
    font-weight: bold;
    color: #1a1a1a;
    margin-bottom: 10px;
    position: relative;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    border-radius: 2px;
}

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

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #555;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: #2d7a4a;
    padding-left: 5px;
}

.footer-bottom {
    padding: 25px 0;
    text-align: center;
}

.footer-copyright {
    font-size: 13px;
    color: #666;
    margin: 0;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #2d7a4a, #3d9b5f);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(45, 122, 74, 0.4);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: linear-gradient(135deg, #1f5a35, #2d7a4a);
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(45, 122, 74, 0.5);
}

@media (max-width: 1024px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-about {
        padding-right: 0;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .footer-logo-image {
        width: 40px;
        height: 40px;
    }

    .footer-logo-main {
        font-size: 18px;
    }

    .footer-description {
        font-size: 13px;
    }

    .footer-social-icon {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }

    .footer-heading {
        font-size: 16px;
    }

    .footer-links a {
        font-size: 13px;
    }
}

/* ================================================================
   LEADERBOARD AD BAR — global (appears on all pages via header.php)
================================================================ */
.leaderboard-ad-bar {
    width: 100%;
    border-bottom: 1px solid #e0e0e0;
    padding: 10px 0;
}

.leaderboard-ad-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.leaderboard-ad-placeholder {
    width: 728px;
    height: 90px;
    max-width: 100%;
    background: #e8e8e8;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: #888;
}

.ad-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #aaa;
}

.ad-size {
    font-size: 14px;
    font-weight: 600;
    color: #bbb;
}

@media (max-width: 768px) {
    .leaderboard-ad-placeholder {
        width: 100%;
        height: 60px;
    }
}

@media (max-width: 480px) {
    .leaderboard-ad-bar { padding: 8px 0; }
    .leaderboard-ad-placeholder { height: 50px; }
}

