.ml-child-header-logo-slot {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.ml-child-menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    padding: 0;
    border: 0;
    border-radius: 10px;
    background: #fff;
    color: #5f6368;
    box-shadow: 0 1px 3px rgba(60, 64, 67, 0.2);
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.ml-child-menu-btn:hover,
.ml-child-menu-btn:focus {
    background: #f1f3f4;
    color: #202124;
    outline: none;
}

.ml-child-menu-btn:active {
    transform: scale(0.98);
}

.ml-child-menu-btn svg {
    fill: currentColor;
}

.ml-child-header-brand {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-width: 0;
    max-width: min(420px, 42vw);
    color: #fff;
    text-decoration: none;
}

.ml-child-header-brand:hover,
.ml-child-header-brand:focus {
    color: #fff;
    text-decoration: none;
    outline: none;
}

.ml-child-header-brand span {
    display: block;
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ml-child-header-site-logo {
    display: block;
    max-width: 100%;
    max-height: 55px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.ml-child-side-drawer {
    position: fixed;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100%;
    background: #fff;
    z-index: 10000;
    box-shadow: 4px 0 15px rgba(0, 0, 0, 0.1);
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    visibility: hidden;
}

body.drawer-open .ml-child-side-drawer {
    left: 0;
    visibility: visible;
}

.ml-child-header-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

body.drawer-open .ml-child-header-backdrop {
    opacity: 1;
    visibility: visible;
}

.ml-child-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    direction: ltr;
    padding: 18px 18px 10px;
    border-bottom: 1px solid #dadce0;
}

.ml-child-drawer-brand,
.gm-drawer-logo {
    min-width: 0;
    flex: 1;
    text-align: left;
}

.ml-child-drawer-brand a,
.gm-drawer-logo a {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 40px;
    width: 100%;
    color: #202124;
    text-decoration: none;
    text-align: left;
}

.ml-child-drawer-brand span,
.gm-drawer-logo span {
    font-size: 18px;
    font-weight: 600;
    color: #202124;
    letter-spacing: -0.5px;
    word-break: break-word;
}

.ml-child-drawer-site-logo {
    display: block;
    max-width: 220px;
    max-height: 44px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.ml-child-drawer-close {
    position: relative;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    margin-left: 16px;
    border: 0;
    border-radius: 999px;
    background: #f1f3f4;
    cursor: pointer;
}

.ml-child-drawer-close span {
    position: absolute;
    top: 19px;
    left: 11px;
    width: 18px;
    height: 2px;
    background: #202124;
}

.ml-child-drawer-close span:first-child {
    transform: rotate(45deg);
}

.ml-child-drawer-close span:last-child {
    transform: rotate(-45deg);
}

.ml-child-drawer-content {
    flex: 1;
    overflow-y: auto;
    padding: 12px 0;
}

.ml-child-drawer-content ul,
.gm-drawer-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ml-child-drawer-content li,
.gm-drawer-content li {
    margin: 0;
}

.ml-child-drawer-content li+li,
.gm-drawer-content li+li {
    border-top: 1px solid #f1f3f4;
}

.ml-child-drawer-content li a,
.gm-drawer-content li a {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
    padding: 12px 18px;
    color: #3c4043;
    text-decoration: none;
    font-size: 15px;
    font-weight: 400;
    transition: all 0.2s ease;
    border-left: 4px solid transparent;
    border-radius: 0 8px 8px 0;
}

.ml-child-drawer-content li a i,
.ml-child-drawer-content li a .mi,
.gm-drawer-content li a i,
.gm-drawer-content li a .mi {
    width: 18px;
    min-width: 18px;
    text-align: center;
}

.ml-child-drawer-content li a:hover,
.gm-drawer-content li a:hover {
    background: #f1f3f4;
    color: #202124;
}

.ml-child-drawer-content li.current-menu-item a,
.ml-child-drawer-content li.current_page_item a,
.gm-drawer-content li.current-menu-item a,
.gm-drawer-content li.current_page_item a {
    background: #e8f0fe;
    color: #1a73e8;
    font-weight: 500;
    border-left-color: #1a73e8;
}

body.ml-child-drawer-open {
    overflow: hidden;
}

@media (max-width: 768px) {
    body.single-job_listing .header-left>.mobile-menu {
        display: none !important;
    }

    .ml-child-side-drawer {
        width: 100vw;
        max-width: 100vw;
    }

    .ml-child-header-brand {
        max-width: min(220px, 48vw);
    }

    .ml-child-header-brand span {
        font-size: 22px;
    }
}

/* Slim Top Nav Styles */
.slim-top-nav {
    height: 60px;
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    position: sticky;
    top: 0;
    z-index: 99999;
    font-family: 'Inter', sans-serif;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-right {
    display: flex;
    align-items: center;
}

.mobile-hamburger {
    display: none;
    cursor: pointer;
}

.slim-nav-brand {
    text-decoration: none;
    font-size: 18px;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    height: 100%;
}

.slim-nav-brand span {
    line-height: 1;
}

.slim-nav-brand span.brand-ortho {
    font-weight: 700;
    color: #0f172a;
}

.slim-nav-brand span.brand-nearme {
    font-weight: 700;
    color: #2563eb;
}

.nav-link {
    margin-right: 20px;
    font-weight: 600;
    font-size: 14px;
    color: #0f172a;
    text-decoration: none;
    transition: color 0.2s;
}

.nav-link:hover {
    color: #2563eb;
}

.btn-cta-nav {
    background: #2563eb;
    color: #fff !important;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s;
    white-space: nowrap;
}

.assign-menu-notice {
    margin: 0;
    font-size: 14px;
    color: #0f172a;
}

.desktop-nav-menu {
    list-style: none;
    display: flex;
    gap: 24px;
    margin: 0;
    padding: 0;
}

.desktop-nav-menu li a {
    text-decoration: none;
    color: #0f172a;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}

.desktop-nav-menu li a:hover {
    color: #2563eb;
}

.btn-cta-nav:hover {
    background: #1d4ed8 !important;
}

@media (max-width: 1024px) {
    .desktop-menu-container {
        display: none !important;
    }

    .mobile-hamburger {
        display: block !important;
    }

    .nav-left {
        gap: 16px !important;
    }
}

@media (max-width: 1024px) {
    .slim-top-nav {
        padding: 0 10px !important;
        height: 56px !important;
    }

    .slim-nav-brand span {
        font-size: 14px !important;
        /* Prevents overlap with buttons */
    }

    .nav-left {
        gap: 8px !important;
        flex: 1;
        min-width: 0;
    }

    .nav-right {
        margin-left: 8px;
    }

    .nav-right .nav-link {
        display: none !important;
        /* Hides "Log In" text to save space on small screens */
    }

    .btn-cta-nav {
        display: none !important;
    }

    .ml-child-header-brand {
        max-width: min(220px, 48vw);
    }

    /* Global Navigation Drawer (Left-to-Right) */
    .ml-child-side-drawer {
        position: fixed !important;
        top: 0 !important;
        bottom: 0 !important;
        left: -100% !important;
        /* Off-screen left */
        width: 100% !important;
        max-width: 100% !important;
        height: 100% !important;
        background: #fff !important;
        z-index: 999999 !important;
        transform: none !important;
        transition: left 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
        border-radius: 0 !important;
        box-shadow: 4px 0 25px rgba(0, 0, 0, 0.15) !important;
        visibility: hidden !important;
        margin: 0 !important;
        display: flex;
        flex-direction: column;
    }

    body.drawer-open .ml-child-side-drawer {
        left: 0 !important;
        visibility: visible !important;
    }

    .ml-child-side-drawer::before {
        display: none;
    }

    /* Centering the hamburger icon icon perfectly with no shadow */
    .ml-child-menu-btn {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: transparent !important;
        border-radius: 50%;
        width: 40px;
        height: 40px;
        border: none !important;
        box-shadow: none !important;
    }

    .ml-child-menu-btn svg {
        margin: 0 !important;
        display: block;
    }
}

@media (max-width: 380px) {
    .slim-nav-brand span {
        font-size: 13px !important;
    }

    .nav-left {
        gap: 4px !important;
    }
}

/* Backdrop */
.ml-child-header-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

body.drawer-open .ml-child-header-backdrop {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-menu li a {
    display: block;
    padding: 12px 15px;
    color: #0f172a;
    text-decoration: none;
    font-weight: 500;
    border-radius: 6px;
    transition: background 0.2s;
}

.mobile-nav-menu li a:hover {
    background: #f1f5f9;
}