/* Shared top menu bar, matching the home page (index.html).
   All selectors are namespaced with .vx- so they can sit alongside any page's own CSS. */
.vx-header {
    position: relative;
    z-index: 40;
    width: min(1180px, calc(100% - 64px));
    height: 82px;
    margin: 0 auto;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    box-sizing: border-box;
    background: none;
    border: 0;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    color: #f5f5f6;
    -webkit-font-smoothing: antialiased;
}
.vx-header *,
.vx-header *::before,
.vx-header *::after { box-sizing: border-box; }
.vx-header a { color: inherit; text-decoration: none; }
.vx-header a:focus-visible,
.vx-header summary:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }

.vx-brand { display: flex; }
.vx-brand img { width: 170px; height: auto; display: block; }

.vx-header .vx-menu {
    position: static;
    height: auto;
    padding: 0;
    background: none;
    border: 0;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 34px;
    font-size: 14px;
    color: #b8b9bd;
}
.vx-header .vx-menu a:hover { color: #fff; }

.vx-industry { position: relative; }
.vx-industry summary { cursor: pointer; list-style: none; display: flex; gap: 10px; align-items: center; }
.vx-industry summary::-webkit-details-marker { display: none; }
.vx-industry[open] summary { color: #fff; }
.vx-industry-dropdown {
    position: absolute;
    top: 36px;
    left: -35px;
    width: 360px;
    background: #171819;
    border: 1px solid #3b3d40;
    border-radius: 12px;
    padding: 12px;
    z-index: 30;
}
.vx-industry-dropdown a { display: block; padding: 12px 14px; border-radius: 7px; }
.vx-industry-dropdown a:hover { background: #252729; }
.vx-industry-dropdown strong { display: block; font-size: 14px; font-weight: 500; color: #f5f5f5; }
.vx-industry-dropdown small { display: block; font-size: 12px; color: #9d9fa4; margin-top: 2px; }

.vx-actions { display: flex; align-items: center; gap: 26px; }
.vx-login { font-size: 13px; color: #b8b9bd; white-space: nowrap; transition: color .2s; }
.vx-login:hover { color: #fff; }
.vx-jump-back { display: none; }
.vx-header.nav-authed .vx-jump-back { display: inline; }
.vx-header.nav-authed #sign-in-link { display: none; }

.vx-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    background: #f5f5f6;
    color: #101112;
    border: 1px solid #f5f5f6;
    border-radius: 100px;
    padding: 10px 18px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
    white-space: nowrap;
    transition: background .2s, color .2s;
}
.vx-header a.vx-btn { color: #101112; }
.vx-btn:hover { background: #dadbdd; border-color: #dadbdd; }
.vx-btn svg { width: 16px; height: 16px; fill: currentColor; stroke: none; flex-shrink: 0; }

@media (max-width: 1050px) {
    .vx-header { width: calc(100% - 48px); gap: 18px; }
    .vx-header .vx-menu { gap: 24px; }
}
@media (max-width: 760px) {
    .vx-header { width: calc(100% - 36px); height: auto; min-height: 85px; flex-wrap: wrap; padding-block: 18px; gap: 15px; }
    .vx-brand img { width: 145px; }
    .vx-header .vx-menu { display: none; }
    .vx-industry-dropdown { left: 50%; transform: translateX(-50%); width: 330px; }
    .vx-actions { margin-left: auto; }
}
@media (max-width: 560px) {
    .vx-header { gap: 10px; }
    .vx-brand img { width: 118px; }
    .vx-header .vx-menu { font-size: 13px; gap: 30px; }
    .vx-industry-dropdown { width: min(330px, calc(100vw - 36px)); }
    .vx-actions { gap: 12px; }
    .vx-login { font-size: 12px; }
    .vx-actions .vx-btn { padding: 9px 13px; font-size: 11px; gap: 8px; }
    .vx-actions .vx-btn svg { display: none; }
}
