/* Header wrapper for the shared Sime Darby Property menu (injected into #this-menu), plus the section bar
   that sits over the top of the hero (title on the left, section links on the right).
   The section links are hidden for now: the <nav> carries the hidden attribute in index.html. */

#navbarserenade.fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
}

#navbarserenade .top-section {
    background: none;
}

/* ---- section bar (desktop only; the Mobile design has none) ---- */
.subbar {
    display: none;
}

@media (min-width: 992px) {
    .subbar {
        position: absolute;
        z-index: 2;
        top: calc(103.5 * var(--hu));
        left: calc(90.64 * var(--hu));
        right: calc(94 * var(--hu));
        display: flex;
        align-items: center;
        justify-content: space-between;
        color: #fff;
        font-weight: 700;
    }

    .subbar a {
        color: #fff;
        text-decoration: none;
    }

    .subbar__title {
        font-size: max(15px, calc(23 * var(--hu)));
        line-height: 1.2;
    }

    .subbar__links {
        display: flex;
        gap: calc(40 * var(--hu));
        font-size: max(12px, calc(16 * var(--hu)));
        line-height: 1.2;
    }

    .subbar__links[hidden] {
        display: none;
    }

    .subbar__links a:hover,
    .subbar__links a:focus-visible {
        text-decoration: underline;
        text-underline-offset: 4px;
    }

    /* anchor jumps land below the shared menu */
    #about,
    #vision {
        scroll-margin-top: 80px;
    }
}
