

/* Shared homepage signature CSS */



/* JH-V100-UI-28-A */

:root {
    --jh-signature-navy:#0b2948;
    --jh-signature-orange:#0075E8;
    --jh-signature-red:#b91c1c;
}

/* =============================================
   SIGNATURE BRAND COLORS
   ============================================= */

html body
#jh-sticky-header#jh-sticky-header[data-jh28-header] {
    background:#fff!important;
    color:var(--jh-signature-navy)!important;
    border-bottom:2px solid
        var(--jh-signature-orange)!important;
    box-shadow:0 3px 14px rgba(11,41,72,.08)!important;
}

html body
#jh-sticky-header#jh-sticky-header[data-jh28-header]
.jh-gh-search button[type="submit"] {
    background:#0075E8!important;
    color:#fff!important;
    -webkit-text-fill-color:
        #fff!important;
    font-weight:750!important;
}

html body
#jh-sticky-header#jh-sticky-header[data-jh28-header]
.jh-post-job {
    background:var(--jh-header-job-bg,#0075E8)!important;
    color:var(--jh-header-job-fg,#fff)!important;
    font-weight:750!important;
}

html body
#jh-sticky-header#jh-sticky-header[data-jh28-header]
.login {
    background:var(--jh-signature-navy)!important;
    color:#fff!important;
}

html body
#jh-sticky-header#jh-sticky-header[data-jh28-header]
[data-jh-urgent-nav="1"] {
    display:inline-flex!important;
    visibility:visible!important;
    opacity:1!important;
    align-items:center!important;
    justify-content:center!important;
    background:var(--jh-signature-red)!important;
    color:white!important;
    min-height:40px!important;
    border:0!important;
    border-radius:8px!important;
    padding:9px 13px!important;
    white-space:nowrap!important;
}

html body
#jh-sticky-header[data-jh28-header]
.jh28-help-slot:not(:has(a)) {
    display:none!important;
}

html body
#jh-sticky-header[data-jh28-header]
.nav-links a:hover {
    color:#0059B3!important;
}

/* Remove repeated homepage assistance banner
   only when its native header action exists. */

html body:has(
    #jh-sticky-header[data-jh28-header]
    a[data-jh-urgent-nav="1"]
) [data-jh-urgent-home="1"] {
    display:none!important;
}

/* =============================================
   DESKTOP: SINGLE ROW
   ============================================= */

@media(min-width:1200px) {

    :root {
        --jh-v12-header-height:74px;
        --jh31-top-height:72px;
        --jh31-menu-height:0px;
        --jh31-input-height:40px;
    }

    html body
    #jh-sticky-header#jh-sticky-header[data-jh28-header] {
        display:flex!important;
        flex-direction:row!important;
        flex-wrap:nowrap!important;
        align-items:center!important;
        justify-content:space-between!important;

        width:100%!important;
        max-width:100%!important;

        height:74px!important;
        min-height:74px!important;
        max-height:74px!important;

        padding:0 clamp(16px,1.6vw,30px)!important;
        gap:clamp(8px,.8vw,16px)!important;
        overflow:visible!important;
    }

    /* Flatten both previous layout rows.
       Native DOM elements and JS IDs remain. */

    html body
    #jh-sticky-header#jh-sticky-header[data-jh28-header]
    > .top,

    html body
    #jh-sticky-header#jh-sticky-header[data-jh28-header]
    > .menu-bar,

    html body
    #jh-sticky-header#jh-sticky-header[data-jh28-header]
    .top-inner,

    html body
    #jh-sticky-header#jh-sticky-header[data-jh28-header]
    .menu-inner {
        display:contents!important;
    }

    /* 1. Official logo */

    html body
    #jh-sticky-header#jh-sticky-header[data-jh28-header]
    .brand {
        order:1!important;
        flex:0 0 auto!important;
        width:clamp(120px,9vw,158px)!important;
        min-width:0!important;
        margin:0!important;
        padding:0!important;
    }

    html body
    #jh-sticky-header#jh-sticky-header[data-jh28-header]
    .jh-header-logo-img {
        width:100%!important;
        max-width:158px!important;
        height:48px!important;
        max-height:48px!important;
        object-fit:contain!important;
    }

    /* 2. Location and GPS */

    html body
    #jh-sticky-header#jh-sticky-header[data-jh28-header]
    .jh-gh-location {
        order:2!important;
        flex:0 1 clamp(150px,12vw,225px)!important;
        width:auto!important;
        min-width:150px!important;
        max-width:225px!important;
        margin:0!important;
    }

    /* 3. Compact flexible search */

    html body
    #jh-sticky-header#jh-sticky-header[data-jh28-header]
    .jh-gh-search {
        order:3!important;
        flex:1 1 310px!important;
        width:auto!important;
        min-width:160px!important;
        max-width:580px!important;
        height:42px!important;
        min-height:42px!important;
        margin:0!important;
        border-radius:8px!important;
    }

    html body
    #jh-sticky-header#jh-sticky-header[data-jh28-header]
    .jh-gh-search input[name="title"] {
        font-size:12px!important;
        padding-left:12px!important;
        min-width:0!important;
    }

    html body
    #jh-sticky-header#jh-sticky-header[data-jh28-header]
    .jh-gh-search button[type="submit"] {
        padding:0 13px!important;
        flex:0 0 auto!important;
    }

    /* 4. Navigation */

    html body
    #jh-sticky-header#jh-sticky-header[data-jh28-header]
    .nav-links {
        order:4!important;
        flex:0 0 auto!important;
        display:flex!important;
        align-items:center!important;
        justify-content:flex-end!important;
        gap:clamp(9px,1vw,20px)!important;
        margin:0 0 0 auto!important;
        white-space:nowrap!important;
    }

    html body
    #jh-sticky-header#jh-sticky-header[data-jh28-header]
    .nav-links > a,

    html body
    #jh-sticky-header#jh-sticky-header[data-jh28-header]
    .jh28-explore > summary {
        font-size:13px!important;
        font-weight:650!important;
        color:var(--jh-signature-navy)!important;
    }

    /* 5. Post a Job */

    html body
    #jh-sticky-header#jh-sticky-header[data-jh28-header]
    .jh-post-job {
        order:5!important;
        flex:0 0 auto!important;
        height:40px!important;
        min-height:40px!important;
        margin:0!important;
        padding:9px 12px!important;
        font-size:12px!important;
    }

    /* 6. Get Help Now
       Supports native help placement or existing
       JavaScript relocation into the menu row. */

    html body
    #jh-sticky-header#jh-sticky-header[data-jh28-header]
    .jh28-help-slot:has(a) {
        display:contents!important;
    }

    html body
    #jh-sticky-header#jh-sticky-header[data-jh28-header]
    [data-jh-urgent-nav="1"],

    html body
    #jh-sticky-header#jh-sticky-header[data-jh28-header]
    .jh-compact-help {
        order:6!important;
        flex:0 0 auto!important;
        height:40px!important;
        min-height:40px!important;
        margin:0!important;
        padding:9px 12px!important;
        font-size:12px!important;
    }

    /* 7. My Account */

    html body
    #jh-sticky-header#jh-sticky-header[data-jh28-header]
    .login {
        order:7!important;
        flex:0 0 auto!important;
        margin:0!important;
        height:40px!important;
        min-height:40px!important;
        padding:9px 13px!important;
        font-size:12px!important;
    }

    html body
    #jh-sticky-header#jh-sticky-header[data-jh28-header]
    .cart {
        order:8!important;
    }

    html body
    #jh-sticky-header#jh-sticky-header[data-jh28-header]
    .mobile-menu {
        display:none!important;
    }

    /* Correct initial fixed-header spacing */

    html body #jh-global-header-spacer {
        height:var(--jh-v12-header-height)!important;
    }

    html {
        scroll-padding-top:74px;
    }
}

/* =============================================
   TABLET AND MOBILE
   Keep native responsive UI28 arrangement.
   ============================================= */

@media(max-width:1199px) {

    html body
    #jh-sticky-header[data-jh28-header]
    .jh-header-logo-img {
        object-fit:contain!important;
    }

    html body
    #jh-sticky-header[data-jh28-header]
    .jh-gh-search button[type="submit"] {
        padding-left:15px!important;
        padding-right:15px!important;
    }
}

@media(prefers-reduced-motion:no-preference) {

    #jh-sticky-header[data-jh28-header]
    :is(.login,.jh-post-job,[data-jh-urgent-nav]) {
        transition:filter .15s ease;
    }

    #jh-sticky-header[data-jh28-header]
    :is(.login,.jh-post-job,[data-jh-urgent-nav]):hover {
        filter:brightness(.94);
    }
}



/* Prevent incorrect initial header appearance. */

html body
header#jh-sticky-header#jh-sticky-header#jh-sticky-header
[data-jh-header-critical] {
    box-sizing:border-box!important;
}

html body
header#jh-sticky-header#jh-sticky-header#jh-sticky-header {
    position:sticky!important;
    top:0!important;
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
    background:#fff!important;
    color:#0b2948!important;
    font-family:Arial,Helvetica,sans-serif!important;
    border-bottom:2px solid #0075E8!important;
    visibility:visible!important;
    opacity:1!important;
    transform:none!important;
    transition:none!important;
    animation:none!important;
}

/* Native controls must exist from first paint. */

html body
#jh-sticky-header#jh-sticky-header#jh-sticky-header
:is(.jh-gh-location,.jh-gh-search) {
    display:flex!important;
    visibility:visible!important;
    opacity:1!important;
    position:relative!important;
    min-height:42px!important;
    height:42px!important;
    box-sizing:border-box!important;
    transition:none!important;
    animation:none!important;
}

html body
#jh-sticky-header#jh-sticky-header#jh-sticky-header
.jh-gh-search input[name="title"] {
    display:block!important;
    visibility:visible!important;
    opacity:1!important;
    flex:1 1 0!important;
    min-width:0!important;
    font-family:Arial,Helvetica,sans-serif!important;
    font-size:13px!important;
}

html body
#jh-sticky-header#jh-sticky-header#jh-sticky-header
.jh-gh-search button[type="submit"] {
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    background:#0075E8!important;
    color:#fff!important;
    -webkit-text-fill-color:#fff!important;
    flex:0 0 70px!important;
    width:70px!important;
    font-family:Arial,Helvetica,sans-serif!important;
    font-size:13px!important;
    font-weight:700!important;
}

html body
#jh-sticky-header#jh-sticky-header#jh-sticky-header
.jh-post-job {
    background:var(--jh-header-job-bg,#0075E8)!important;
    color:var(--jh-header-job-fg,#fff)!important;
    -webkit-text-fill-color:var(--jh-header-job-fg,#fff)!important;
    font-weight:700!important;
}

html body
#jh-sticky-header#jh-sticky-header#jh-sticky-header
a[data-jh-header-help="1"] {
    background:#b91c1c!important;
    color:#fff!important;
    -webkit-text-fill-color:#fff!important;
}

html body
#jh-sticky-header#jh-sticky-header#jh-sticky-header
.login {
    background:#0b2948!important;
    color:#fff!important;
    -webkit-text-fill-color:#fff!important;
}

/* Lock visual order at desktop widths.
   Actual role-based navigation remains unchanged. */

@media(min-width:1200px) {

    html body
    #jh-sticky-header#jh-sticky-header#jh-sticky-header {
        display:flex!important;
        flex-direction:row!important;
        flex-wrap:nowrap!important;
        align-items:center!important;
        justify-content:flex-start!important;
        gap:12px!important;
        min-height:74px!important;
        padding:12px 24px!important;
    }

    /*
     * Flatten only the existing structural wrappers
     * so all desktop controls share one flex row.
     */

    html body
    #jh-sticky-header#jh-sticky-header#jh-sticky-header
    :is(.top,.top-inner,.menu-bar,.menu-inner) {
        display:contents!important;
    }

    html body
    #jh-sticky-header#jh-sticky-header#jh-sticky-header
    .brand {
        order:1!important;
        flex:0 0 116px!important;
        width:116px!important;
        min-width:116px!important;
        max-width:116px!important;
        margin:0!important;
    }

    html body
    #jh-sticky-header#jh-sticky-header#jh-sticky-header
    .jh-header-logo-img {
        display:block!important;
        width:112px!important;
        max-width:112px!important;
        height:42px!important;
        object-fit:contain!important;
    }

    html body
    #jh-sticky-header#jh-sticky-header#jh-sticky-header
    .jh-gh-location {
        order:2!important;
        flex:0 0 clamp(150px,12vw,225px)!important;
        width:clamp(150px,12vw,225px)!important;
        min-width:150px!important;
        max-width:225px!important;
        margin:0!important;
    }

    html body
    #jh-sticky-header#jh-sticky-header#jh-sticky-header
    .jh-gh-search {
        order:3!important;
        flex:1 1 0!important;
        width:0!important;
        min-width:160px!important;
        max-width:none!important;
        margin:0!important;
    }

    html body
    #jh-sticky-header#jh-sticky-header#jh-sticky-header
    .nav-links {
        order:4!important;
        display:flex!important;
        align-items:center!important;
        flex:0 0 auto!important;
        flex-wrap:nowrap!important;
        white-space:nowrap!important;
        gap:12px!important;
        margin:0!important;
    }

    html body
    #jh-sticky-header#jh-sticky-header#jh-sticky-header
    .jh-post-job {
        order:5!important;
        flex:0 0 auto!important;
        white-space:nowrap!important;
        margin:0!important;
    }

    html body
    #jh-sticky-header#jh-sticky-header#jh-sticky-header
    a[data-jh-header-help="1"] {
        order:6!important;
        flex:0 0 auto!important;
        white-space:nowrap!important;
        margin:0!important;
    }

    html body
    #jh-sticky-header#jh-sticky-header#jh-sticky-header
    .login {
        order:7!important;
        flex:0 0 auto!important;
        white-space:nowrap!important;
        margin:0!important;
    }

    html body
    #jh-sticky-header#jh-sticky-header#jh-sticky-header
    .mobile-menu {
        display:none!important;
    }
}

/* Do not replace the existing responsive mobile grid. */

html body
#jh-global-header-spacer#jh-global-header-spacer {
    display:none!important;
    height:0!important;
    min-height:0!important;
}

