/* Bandeau « À la une » au-dessus du menu (accueil + Norma'Klinck) : la dernière actualité, générée depuis _source/klinck/news.json */
.nbar { position: fixed; z-index: 55; top: 0; left: 0; right: 0; height: 38px; display: flex; align-items: center; justify-content: center; gap: 12px; padding: 0 48px;
  background: #1f2a2b; color: #fff; font: 500 14px/1.2 var(--sans, "Instrument Sans", system-ui, sans-serif); transition: transform .4s cubic-bezier(.2,.7,.2,1); }
.nbar[hidden] { display: none; }
.nbar__tag { flex-shrink: 0; padding: 3px 8px; border-radius: 999px; background: var(--k-orange, #f5a343); color: #1f2a2b; font: 400 11px/1 "JetBrains Mono", ui-monospace, monospace; letter-spacing: .12em; text-transform: uppercase; }
.nbar a { min-width: 0; color: #fff; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nbar a b { font-weight: 600; }
.nbar a span { opacity: .75; margin-left: 10px; white-space: nowrap; }
.nbar a:hover span { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
.nbar__x { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border: 0; border-radius: 50%; background: none; color: #fff; opacity: .7; cursor: pointer; font-size: 16px; line-height: 1; }
.nbar__x:hover { opacity: 1; background: rgba(255,255,255,.12); }
/* le menu (et les méga-menus) descendent sous le bandeau ; le bandeau remonte dès qu'on défile */
body.has-nbar .hd { top: 50px; transition: top .4s cubic-bezier(.2,.7,.2,1), transform .6s; }
body.has-nbar .nkm { top: 120px; }
body.has-nbar.nbar-up .nbar { transform: translateY(-100%); }
body.has-nbar.nbar-up .hd { top: 14px; }
body.has-nbar.nbar-up .nkm { top: 84px; }
/* mobile : le bandeau se pose en bas de l'écran (le menu reste en haut, le titre du héro reste visible) et disparaît en défilant */
@media (max-width: 700px) {
  .nbar { top: auto; bottom: 0; height: auto; min-height: 46px; justify-content: flex-start; padding: 8px 44px 10px 12px; font-size: 13px; }
  .nbar a { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .nbar a span { display: none; }
  body.has-nbar .hd { top: 14px; }
  body.has-nbar.nbar-up .nbar { transform: translateY(100%); }
}
