/* Barre neutre des pages multi-enseignes (cf. block/fusion/header-neutral.html.twig).
   Reprend la charte du panneau de « Trouver mon centre » : fond blanc, filets
   #E9EFF4, coins arrondis doux, bleu charbon sur les libelles, menthe au survol. */
.nt-topbar {
    position: sticky;
    top: 0;
    /* Au-dessus des controles Leaflet et du panneau de recherche de la carte,
       qui montent jusqu'a z-index 1000. */
    z-index: 1100;
    background: #fff;
    border-bottom: solid 1px #E9EFF4;
}

.nt-topbar__inner {
    display: flex;
    align-items: center;
    gap: 18px;
    min-height: 68px;
    padding: 12px 50px;
    box-sizing: border-box;
}

.nt-topbar__back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
    height: 40px;
    padding: 0 16px;
    border: solid 1px #E0E9F2;
    border-radius: 12px;
    background: #fff;
    color: #234353;
    font-size: 14px;
    text-decoration: none;
    transition: background .15s ease, border-color .15s ease, color .15s ease;
}

.nt-topbar__back:hover,
.nt-topbar__back:focus-visible {
    background: #BFEDE2;
    border-color: #BFEDE2;
    color: #0B2F39;
}

.nt-topbar__icon {
    width: 16px;
    height: 16px;
}

.nt-topbar__sep {
    width: 1px;
    height: 24px;
    background: #E9EFF4;
}

.nt-topbar__title {
    min-width: 0;
    color: #0B2F39;
    font-size: 16px;
    font-family: "poppins_semibold", arial, sans-serif;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media screen and (max-width: 1024px) {

    .nt-topbar__inner {
        padding: 10px 30px;
    }

}

/* Sous cette largeur, le titre entrerait en concurrence avec le lien de retour :
   la page se nomme deja elle-meme dans son contenu. */
@media screen and (max-width: 600px) {

    .nt-topbar__inner {
        min-height: 60px;
        padding: 10px 20px;
    }

    .nt-topbar__sep,
    .nt-topbar__title {
        display: none;
    }

}
