/* =========================
   Header Top Bar
========================= */

.site-topbar {
    background: #ffffff;
    border-bottom: 1px solid #e6e6e6;
}

.site-topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
}

.site-branding .custom-logo-link img,
.site-branding .site-title-link {
    display: block;
    max-height: 60px;
    width: auto;
}

/* =========================
   Social Icons
========================= */

.site-topbar-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.site-social .social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: #111;
    background: transparent;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.site-social .social-link svg {
    width: 20px;
    height: 20px;
    display: block;
}

.site-social .social-link:hover {
    color: #1da1f2;
    background: rgba(0, 0, 0, 0.05);
}

/* =========================
   Navigation Bar
========================= */

.site-navbar {
    background: #f8f8f8;
    border-bottom: 1px solid #e9e9e9;
}

.site-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
}

/* =========================
   Primary Menu (Desktop)
========================= */

.primary-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 12px;
    align-items: center;
}

.primary-menu li {
    display: inline-block;
}

.primary-menu a {
    color: #222;
    text-decoration: none;
    padding: 10px 16px;
    border-radius: 8px;
    background: #f4f4f4;
    border: 1px solid #e6e6e6;
    font-weight: 600;
    transition: all 150ms ease;
}

.primary-menu a:hover,
.primary-menu a:focus {
    background: #0073aa;
    color: #fff;
    border-color: #0073aa;
}

/* =========================
   Mobile Menu Button
========================= */

.menu-toggle {
    display: none;
    background: #0073aa;
    color: #fff;
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 15px;
    cursor: pointer;
}

/* =========================
   Responsive Navigation
========================= */

@media (max-width: 768px) {

    .menu-toggle {
        display: inline-block;
    }

    .primary-menu {
        display: none;
        flex-direction: column;
        gap: 0;
        width: 100%;
        background: #f8f8f8;
        border-top: 1px solid #ddd;
    }

    .primary-menu.show {
        display: flex;
    }

    .primary-menu a {
        width: 100%;
        border-radius: 0;
        padding: 14px 18px;
        border: none;
        border-bottom: 1px solid #e6e6e6;
        background: #fff;
    }

    .primary-menu a:hover {
        background: #0073aa;
        color: #fff;
    }

    .site-topbar-inner {
        padding: 10px;
    }

    .site-nav-inner {
        padding: 8px;
    }
}
