/* Lien de pétition global dans la navigation Marseille Mobilité. */
.nav .nav-petition-direct{background:#e30613;color:#fff!important;border:0;border-radius:5px;text-decoration:none;white-space:nowrap;flex:none;font-size:10px;font-weight:800;letter-spacing:.02em;padding-left:9px;padding-right:9px}
.nav .nav-petition-direct:hover{background:#b9000c;color:#fff!important}
.nav .nav-petition-direct:focus-visible{outline:3px solid #95c11f;outline-offset:4px}
.nav ul li.petition-mobile{display:none}

/* Give the full desktop menu enough room for the added campaign link. */
@media(min-width:1348px){
  .nav .wrap{max-width:1300px}
  .nav ul{min-width:0}
  .nav ul a{padding-left:3px;padding-right:3px;letter-spacing:0}
  .nav .tele.nav-petition-direct{font-size:10px;padding-left:8px;padding-right:8px}
  .nav .tele.lv-tele{padding-left:8px;padding-right:8px}
}

/* Between the original menu breakpoints, use the same burger menu so the bar never overflows. */
@media(min-width:1281px) and (max-width:1347px){
  .nav .wrap{align-items:center}
  .nav ul{display:none;position:absolute;top:100%;left:0;right:0;background:var(--nuit);flex-direction:column;gap:0;padding:8px 24px 18px;max-height:calc(100vh - 74px);overflow:auto;align-items:stretch;justify-content:flex-start}
  .nav ul.ouvert{display:flex}
  .nav ul li{padding:2px 0 2px 14px;border-bottom:1px solid #22303E}
  .nav ul li::before{left:0;right:auto;top:0;bottom:0;height:auto;width:4px}
  .nav ul li::after{display:none}
  .nav ul li:has(a.ici)::before{height:auto;width:7px}
  .nav-burger{display:block;margin-left:auto}
  .nav .marque{padding-bottom:0}
  .nav .tele{margin-bottom:0}
  .nav .tele.lv-tele{display:none}
  .nav .sousmenu{display:block;position:static;border:0;box-shadow:none;background:transparent;min-width:0;padding:0 0 8px;max-height:none}
  .nav .sousmenu a{padding:6px 12px;font-size:13.5px;color:#96A3B1}
  .nav ul li.lv-mobile{display:block;order:-1;border-bottom:1px solid #22303E}
  .nav ul li.lv-mobile::before{background:var(--t3)}
  .nav ul li.lv-mobile a{display:flex;align-items:center;gap:9px;color:#fff;font-size:17px;text-transform:none;letter-spacing:0;font-weight:800;padding:12px 6px}
  .nav ul li.lv-mobile a .lv-mot span{color:var(--t3)}
  .nav ul li.lv-mobile a em{font-style:normal;font-weight:600;font-size:13px;color:#96A3B1;margin-left:4px}
  .nav ul li.petition-mobile{display:block;order:-2;border-bottom:1px solid #22303E}
  .nav ul li.petition-mobile::before{background:#e30613}
  .nav ul li.petition-mobile a{color:#fff;font-weight:800}
}

/* On compact screens the red link sits in the burger menu. */
@media(max-width:1280px){
  .nav .nav-petition-direct{margin-bottom:0}
  .nav ul li.petition-mobile{display:block;order:-2;border-bottom:1px solid #22303E}
  .nav ul li.petition-mobile::before{background:#e30613}
  .nav ul li.petition-mobile a{color:#fff;font-weight:800}
}
@media(max-width:760px){.nav .nav-petition-direct{display:none}}
