/* Use equal gaps between top-level hit areas, including their focus rings. */
.site-header .desktop-menu {
    column-gap: .5rem;
}

.site-header .desktop-menu > li > a {
    align-items: center;
    min-height: calc(2.8125rem + 2px); /* Get started: line, vertical padding and border */
    padding-block: 0;
}

@media (1170px <= width < 1284px) {
    .site-header .desktop-menu {
        column-gap: .3125rem;
    }

    /* Let the logo yield space before a menu label or tracked phone number wraps. */
    .site-header__logo {
        min-width: 0;
    }

    .site-header__menu,
    .site-header__buttons {
        flex-shrink: 0;
    }
}

/* Between 1170 and 1199px the desktop link inherits the ordinary menu treatment. */
@media (width < 1170px), (min-width: 1200px) {
    .site-header .hc-sil-vacancies > a.menu-item {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: .75rem 1rem;
        border: 1px solid #fdab9f;
        border-radius: 5px;
        background: #fdab9f;
        color: var(--text-color);
        font-size: .875rem;
        font-weight: 600;
        line-height: 1.5;
        white-space: nowrap;
        transition: none; /* Keep the foreground and fill in step on focus. */
    }

    .hc-location-modular-page .site-header .hc-sil-vacancies > a.menu-item {
        border-radius: 999px;
    }

    .site-header .hc-sil-vacancies > a.menu-item:is(:hover, :focus-visible) {
        background: var(--text-color);
        border-color: var(--text-color);
        color: #fff;
    }
}

.site-header .mobile-menu .hc-sil-vacancies {
    padding: .5rem 1.5rem;
}

.mobile-menu:not(.open) .hc-sil-vacancies {
    visibility: hidden;
}
