/* Shared navigation: temp070-style spacing across home and inner pages, retaining theme effects. */
@media (min-width: 961px) {
    .header {
        --home-nav-gap: clamp(8px, calc(10vw - 88px), 36px);
        --home-nav-side-gap: clamp(12px, 2vw, 38px);
    }

    .header .nav-content,
    .header .header-content {
        width: 92.25%;
        max-width: none;
        padding-left: 0;
        padding-right: 0;
        display: flex;
        align-items: center;
        gap: var(--home-nav-side-gap);
    }

    /* Default theme: center the menu between the logo and account/city tools. */
    .header .logobox {
        min-width: 0;
        margin-right: 0;
    }

    .header .navbar-light {
        flex: 1;
        min-width: 0;
    }

    .header .navbar {
        display: flex;
        flex-wrap: nowrap;
        justify-content: center;
        gap: var(--home-nav-gap);
        float: none;
        margin-left: auto;
        margin-right: auto;
    }

    .header .navbar > li {
        flex-shrink: 0;
        min-width: 0;
    }

    .header .navbar > li > a {
        padding-left: 0;
        padding-right: 0;
        white-space: nowrap;
    }

    .header .navbar-light > .sbtn {
        margin-left: var(--home-nav-side-gap);
        flex-shrink: 0;
    }

    .header .navbar-userinfo {
        flex-shrink: 0;
        white-space: nowrap;
    }

    /* temp003: replace the percentage offset and floats with a single row. */
    .header .header-content .header-logo {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        width: clamp(96px, 10vw, 192px);
        flex-shrink: 0;
    }

    .header .header-content .header-right {
        display: flex;
        align-items: center;
        flex: 1;
        min-width: 0;
        margin-left: 0;
        gap: var(--home-nav-side-gap);
    }

    .header .header-content .header-nav {
        float: none;
        flex: 0 0 auto;
        margin-left: auto;
        margin-right: auto;
    }

    .header .header-content .header-nav > ul {
        display: flex;
        flex-wrap: nowrap;
        gap: var(--home-nav-gap);
    }

    .header .header-content .header-nav > ul > li {
        margin: 0;
        flex-shrink: 0;
    }

    .header .header-content .header-nav > ul > li > a {
        white-space: nowrap;
    }

    .header .header-content .header-search {
        float: none;
        margin: 0;
        flex-shrink: 0;
    }
}

@media (min-width: 1441px) {
    .header {
        --home-nav-gap: clamp(36px, 2.8125vw, 54px);
    }
}
