/* responsive mobile : accueil (actus), fil, liste des actus, recherche, filtres, popup des actus.
   Tout est dans des @media : le bureau n'est pas touché. Retour arrière : retirer 'mobile-actus' de la liste des modules (functions.php). */

.ca-mbar,.ca-mmenu,.ca-mnav,.ca-mbar__toast,.ca-m-voirplus,.ca-mproj,.ca2-projet__img{display:none}

/* ================= Mise en page : pleine largeur, plus de boîtes ================= */
@media (max-width:700px){
 html body .ca-m-page{padding-left:14px!important;padding-right:14px!important;padding-top:8px!important;padding-bottom:40px!important}
 html body .ca-m-boite{background:transparent!important;box-shadow:none!important;border-radius:0!important;padding:0!important;margin-bottom:26px!important}
 html body .ca-m-boite > div{gap:14px!important}

 /* accueil : la grande affiche « Dernière news » double le fil, on la retire */
 html body .ca-h3__affiche{display:none!important}

 /* ---- cartes du fil : rangées compactes (vignette à gauche), la première reste en grand ---- */
 html body .ca-flux,html body .ca-flux--grille{display:flex!important;flex-direction:column;gap:10px!important;grid-template-columns:none!important}
 html body .ca-flux .ca-flux__item{display:grid!important;grid-template-columns:104px minmax(0,1fr);column-gap:12px;align-items:center;width:auto!important;max-width:none!important;margin:0!important;padding:9px!important;border-radius:18px!important;min-height:0!important;box-sizing:border-box}
 html body .ca-flux .ca-flux__item .ca-flux__vignette{grid-column:1;position:relative;display:block;width:104px!important;height:104px!important;min-height:0!important;aspect-ratio:1/1;border-radius:13px!important;overflow:hidden;flex:none}
 html body .ca-flux .ca-flux__item .ca-flux__vignette img{position:absolute;inset:0;width:100%!important;height:100%!important;object-fit:cover;object-position:top center}
 html body .ca-flux .ca-flux__item .ca-flux__corps{grid-column:2;padding:0!important;min-width:0}
 html body .ca-flux .ca-flux__item .ca-flux__meta{margin:0 0 5px!important}
 html body .ca-flux .ca-flux__item .ca-flux__meta-ligne1{display:flex;gap:6px;flex-wrap:nowrap;min-width:0;overflow:hidden}
 html body .ca-flux .ca-flux__item .ca-flux__tag{display:none!important}
 html body .ca-flux .ca-flux__item .ca-etiquette-parc{min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px!important;padding:2px 9px!important}
 html body .ca-flux .ca-flux__item .ca-flux__date{font-size:14px!important}
 html body .ca-flux .ca-flux__item .ca-flux__titre{margin:0!important;font-size:16.5px!important;line-height:1.26!important;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
 html body .ca-flux .ca-flux__item .ca-flux__texte,html body .ca-flux .ca-flux__item .ca-flux__cta{display:none!important}
 html body .ca-flux .ca-flux__item .ca-multi{top:5px;right:5px}
 html body .ca-flux .ca-flux__item .ca-flux__corps::before,html body .ca-flux .ca-flux__item::after{display:none!important}

 /* première actu : grande carte image */
 /* inventaire 20/11 : la grande carte ne vaut que pour le fil de l'accueil (ailleurs, recap, fiche parc… : rangée compacte comme les autres) */
 html body #ca-fil-accueil > .ca-flux__item:first-child{display:block!important;padding:0!important;overflow:hidden}
 html body #ca-fil-accueil > .ca-flux__item:first-child .ca-flux__vignette{width:100%!important;height:auto!important;aspect-ratio:4/3;border-radius:18px 18px 0 0!important}
 html body #ca-fil-accueil > .ca-flux__item:first-child .ca-flux__corps{padding:12px 14px 14px!important}
 html body #ca-fil-accueil > .ca-flux__item:first-child .ca-flux__titre{font-size:19px!important;-webkit-line-clamp:4}
 html body #ca-fil-accueil > .ca-flux__item:first-child .ca-flux__texte{display:-webkit-box!important;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin:6px 0 0;font-size:15.5px;line-height:1.45}
 html body #ca-fil-accueil > .ca-flux__item:first-child .ca-flux__tag{display:inline-flex!important}

 /* fil de l'accueil : 7 actus, le reste à la demande */
 html body #ca-fil-accueil:not(.ca-m-tout) > .ca-m-plus{display:none!important}
 html body .ca-m-voirplus{display:flex;align-items:center;justify-content:center;width:100%;height:50px;margin:12px 0 4px;border:1.5px solid #D6DDEC;border-radius:14px;background:#fff;color:#0B2B66;font:700 16.5px 'Barlow',sans-serif;cursor:pointer}
 html body .ca-flux__plus{display:flex!important;align-items:center;justify-content:center;width:100%;margin:12px 0 0!important;height:50px;border-radius:14px!important;box-sizing:border-box}

 /* séparateurs de mois et titres de sections */
 html body .ca-blog__jour{margin:14px 0 4px;font-size:14.5px}
 html body .ca-h--fil{font-size:30px!important}

 /* ---- page « toute l'actualité » : recherche et filtres ---- */
 html body .ca-ph{padding:22px 18px 24px!important;border-radius:18px!important;margin-bottom:14px!important}
 html body .ca-ph h1{font-size:30px!important}
 html body .ca-ph p{font-size:16px!important}
 html body .ca-blog__toolbar{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:8px!important;margin:0 0 10px!important}
 html body .ca-blog__champ{width:100%!important;max-width:none!important;height:48px;display:flex;align-items:center}
 html body .ca-blog__champ input{font-size:16px!important;min-width:0;width:100%}
 html body .ca-blog__toolbar .ca-sel,html body .ca-blog__toolbar .ca-sel__btn{width:100%;max-width:none}
 html body .ca-blog__toolbar .ca-sel__btn{height:46px;justify-content:flex-start}
 html body .ca-blog__toolbar .ca-sel__lib{flex:1;text-align:left}
 html body .ca-flux__onglets{display:flex!important;flex-wrap:nowrap!important;gap:8px!important;overflow-x:auto;margin:0 -14px 12px!important;padding:2px 14px 6px!important;scroll-snap-type:x proximity;scroll-padding:0 14px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
 html body .ca-flux__onglets::-webkit-scrollbar{display:none}
 html body .ca-flux__onglet{flex:none!important;scroll-snap-align:start;height:42px;padding:0 18px!important;white-space:nowrap}

 /* ---- page de résultats de recherche ---- */
 html body .ca-rp__hero{padding:20px 16px!important;border-radius:18px!important}
 html body .ca-rp__titre{font-size:28px!important}
 html body .ca-rp__puces{display:flex!important;flex-wrap:nowrap!important;gap:8px!important;overflow-x:auto;margin:0 -14px 14px!important;padding:2px 14px 6px!important;scrollbar-width:none}
 html body .ca-rp__puces::-webkit-scrollbar{display:none}
 html body .ca-rp__puce{flex:none!important;height:42px}
 html body .ca-rp__corps{padding:0!important;background:transparent!important;box-shadow:none!important;border-radius:0!important}
 html body .ca-rp__sec{margin-bottom:26px!important}
}

/* ================= Listes déroulantes : feuille basse sur mobile (tous les filtres du site) ================= */
@media (max-width:700px){
 html body .ca-sel__pop{position:fixed!important;left:0!important;right:0!important;top:auto!important;bottom:0!important;width:auto!important;max-width:none!important;border-radius:22px 22px 0 0!important;padding:10px 12px calc(14px + env(safe-area-inset-bottom))!important;z-index:100002!important;transform:translateY(24px)}
 html body .ca-sel.is-ouvert .ca-sel__pop{transform:none;box-shadow:0 0 0 100vmax rgba(11,30,70,.45),0 -10px 40px rgba(11,30,70,.25)!important}
 html body .ca-sel__pop::before{content:"";display:block;width:44px;height:5px;border-radius:99px;background:#D6DDEC;margin:0 auto 10px}
 html body:has(.ca-sel.is-ouvert) .ca-bar,html body:has(.ca-sel.is-ouvert) .ca-ast{display:none!important}
 html body .ca-sel__liste{max-height:min(58vh,440px)!important}
 html body .ca-sel__opt{min-height:48px;padding:10px 12px!important;font-size:17px!important}
 html body .ca-sel__cherche{height:46px!important}
 html body .ca-sel__cherche input{font-size:16px!important}
}

/* ================= Popup d'une actu : feuille plein écran, bas d'écran réservé à la lecture ================= */
@media (max-width:860px){
 html body.ca-pop2 .ca-pop{padding:0!important;background:#0B2B66}
 html body.ca-pop2 .ca-pop__boite{display:block!important;height:100vh!important;height:100dvh!important;max-height:none!important;border-radius:0!important;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding-bottom:calc(84px + env(safe-area-inset-bottom));grid-template-columns:none!important;grid-template-rows:none!important}
 html body.ca-pop2 .ca-pop__boite.ca-ms-d{animation:ca-ms-d .3s cubic-bezier(.16,1,.3,1) both}
 html body.ca-pop2 .ca-pop__boite.ca-ms-g{animation:ca-ms-g .3s cubic-bezier(.16,1,.3,1) both}
 @keyframes ca-ms-d{from{opacity:.3;transform:translateX(34px)}to{opacity:1;transform:none}}
 @keyframes ca-ms-g{from{opacity:.3;transform:translateX(-34px)}to{opacity:1;transform:none}}

 /* image : bandeau compact, toucher = agrandir ; carrousel au doigt (points en bas) */
 html body.ca-pop2 .ca-pop__media{position:relative;height:min(38vh,100vw)!important;min-height:0!important;touch-action:pan-y}
 html body.ca-pop2 .ca-pop__photo{cursor:zoom-in;-webkit-tap-highlight-color:transparent}
 html body.ca-pop2 .ca-pop__nav,html body.ca-pop2 .ca-pop__compteur{display:none!important}
 html body.ca-pop2 .ca2-dots{bottom:10px}
 html body.ca-pop2 .ca-pop__fermer{position:fixed!important;top:max(10px,env(safe-area-inset-top))!important;right:12px!important;width:42px!important;height:42px!important;background:rgba(255,255,255,.95)!important;color:#0B2B66!important;z-index:40;box-shadow:0 4px 14px rgba(0,0,0,.25)}
 html body.ca-pop2 .ca-mnav{display:flex;position:absolute;left:10px;top:max(10px,env(safe-area-inset-top));z-index:6;align-items:center;gap:0;height:42px;padding:0 3px;border-radius:999px;background:rgba(255,255,255,.95);color:#0B2B66;box-shadow:0 4px 14px rgba(0,0,0,.25);font:700 15px 'Barlow',sans-serif}
 html body.ca-pop2 .ca-mnav[hidden]{display:none}
 .ca-mnav__b{width:38px;height:38px;border:0;border-radius:50%;background:transparent;color:#0B2B66;display:grid;place-items:center;cursor:pointer}
 .ca-mnav__b:disabled{opacity:.3}
 .ca-mnav__p{min-width:46px;text-align:center;font-variant-numeric:tabular-nums}

 /* texte : tout défile avec la fiche, plus de zone de lecture étroite */
 html body.ca-pop2 .ca-pop__panel{display:block!important;overflow:visible!important;height:auto!important;padding:0!important}
 html body.ca-pop2 .ca-pop__badges{padding:0 16px!important;margin:14px 0 8px!important;gap:8px}
 html body.ca-pop2 .ca-pop__badge-parc{font-size:15px!important;padding:5px 12px!important}
 html body.ca-pop2 .ca-pop__badge-date,html body.ca-pop2 .ca2-lecture{font-size:15px!important}
 html body.ca-pop2 .ca-pop__titre{margin:0 16px 10px!important;padding-left:14px!important;font-size:21px!important;line-height:1.2!important}
 html body.ca-pop2 .ca-pop__texte-wrap{display:block!important;flex:none!important;overflow:visible!important;height:auto!important;max-height:none!important;padding:2px 16px 0!important;margin:0!important}
 html body.ca-pop2 .ca-pop__texte-wrap::after{display:none!important}
 html body.ca-pop2 .ca-pop__texte{font-size:17px!important;line-height:1.6!important}
 html body.ca-pop2 .ca2-lead{font-size:18px!important}
 html body.ca-pop2 .ca2-piste{display:none!important}
 html body.ca-pop2 .ca2-projet{margin:6px 0 14px!important}
 html body.ca-pop2 .ca2-coms{margin-top:18px}

 /* « À lire aussi » : à la fin de la fiche, plus de pastille ni de volet flottant */
 html body.ca-pop2 .ca-pop__lies-volet{position:static!important;display:none;width:auto!important;margin:8px 16px 22px!important;padding:14px 0 0!important;border:0!important;border-top:1px solid var(--ca2-ligne,#E3E9F3)!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;animation:none!important}
 html body.ca-pop2 .ca-pop__lies-volet:has(.ca-lies__item){display:block}
 html body.ca-pop2 .ca-pop__lies-titre{margin:0 0 10px;font-size:15.5px!important}

 /* les anciens boutons du bas laissent la place à la barre d'actions */
 html body.ca-pop2 .ca-pop__ctas,html body.ca-pop2 .ca-pop__bas,html body.ca-pop2 .ca-pop__signaler{display:none!important}

 /* barre d'actions : un bouton principal, commentaires, partage, « … » */
 html body.ca-pop2 .ca-mbar{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:35;gap:8px;align-items:center;padding:10px 12px calc(10px + env(safe-area-inset-bottom));background:var(--ca2-papier,#fff);border-top:1px solid var(--ca2-ligne,#E3E9F3);box-shadow:0 -8px 24px rgba(11,30,70,.1)}
 html body.ca-pop2 .ca-pop.ca-mbar-off .ca-mbar{display:none}
 .ca-mbar__main{flex:1 1 auto;min-width:0;height:48px;display:flex;align-items:center;justify-content:center;gap:8px;padding:0 12px;border-radius:14px;background:#ec9521;color:#fff!important;font:700 16.5px 'Barlow',sans-serif;text-decoration:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 .ca-mbar__main::after{content:"\2192";font-size:19px}
 .ca-mbar__ic{position:relative;flex:none;width:48px;height:48px;display:grid;place-items:center;border-radius:14px;border:1.5px solid #D6DDEC;background:var(--ca2-papier,#fff);color:#0B2B66;cursor:pointer;-webkit-tap-highlight-color:transparent}
 .ca-mbar__ic[hidden]{display:none}
 .ca-mbar__ic.is-on{border-color:#124A9E;color:#124A9E;background:#F2F6FD}
 .ca-mbar__n{position:absolute;top:-7px;right:-6px;min-width:22px;height:22px;padding:0 6px;box-sizing:border-box;display:flex;align-items:center;justify-content:center;border-radius:99px;background:#ec9521;color:#fff;font:700 14px 'Barlow',sans-serif;border:2px solid var(--ca2-papier,#fff);box-sizing:content-box}
 .ca-mbar__n[hidden]{display:none}
 html body.ca-pop2 .ca-mmenu{display:block;position:fixed;right:12px;bottom:calc(76px + env(safe-area-inset-bottom));z-index:36;min-width:230px;padding:6px;border-radius:16px;background:var(--ca2-papier,#fff);border:1px solid var(--ca2-ligne,#E3E9F3);box-shadow:0 18px 44px rgba(8,18,46,.3)}
 html body.ca-pop2 .ca-mmenu[hidden]{display:none}
 .ca-mmenu__it{display:flex;align-items:center;gap:12px;width:100%;min-height:48px;padding:0 12px;border:0;border-radius:11px;background:transparent;color:#0B2B66;font:600 16.5px 'Barlow',sans-serif;text-decoration:none;text-align:left;cursor:pointer}
 .ca-mmenu__it[hidden]{display:none}
 .ca-mmenu__it:active,.ca-mmenu__it:focus-visible{background:#EEF2F9;outline:0}
 html body.ca-pop2 .ca-mbar__toast{display:block;position:fixed;left:50%;bottom:calc(84px + env(safe-area-inset-bottom));transform:translateX(-50%);z-index:37;padding:9px 16px;border-radius:99px;background:#0B2B66;color:#fff;font:600 15px 'Barlow',sans-serif;box-shadow:0 8px 22px rgba(0,0,0,.3)}
 html body.ca-pop2 .ca-mbar__toast[hidden]{display:none}
 body.ca-dark .ca-mbar__ic,body.ca-dark .ca-mmenu__it,body.ca-dark .ca-mnav__b{color:#E6EAF4}
 body.ca-dark .ca-mmenu__it:active{background:#222B3F}

 /* visionneuse d'image plein écran */
 .ca-zoom{display:none;position:fixed;inset:0;z-index:100010;background:#050a18;touch-action:none;overscroll-behavior:contain}
 .ca-zoom.is-on{display:block}
 .ca-zoom__scene{position:absolute;inset:0;display:grid;place-items:center;overflow:hidden;touch-action:none}
 .ca-zoom__img{max-width:100%;max-height:100%;object-fit:contain;transform-origin:center;will-change:transform;user-select:none;-webkit-user-select:none;-webkit-user-drag:none}
 .ca-zoom__x{position:absolute;top:max(10px,env(safe-area-inset-top));right:12px;width:44px;height:44px;border:0;border-radius:50%;background:rgba(255,255,255,.18);color:#fff;font-size:28px;line-height:1;cursor:pointer;z-index:2}
 .ca-zoom__dots{position:absolute;left:0;right:0;bottom:calc(18px + env(safe-area-inset-bottom));display:flex;justify-content:center;gap:6px;pointer-events:none}
 .ca-zoom__dots i{width:8px;height:8px;border-radius:99px;background:rgba(255,255,255,.5)}
 .ca-zoom__dots i.on{width:26px;background:#ec9521}
}
/* projet lié : la barre devient [fiche du parc][le projet][partager][…] ; la barre s'efface pendant la lecture vers le bas */
@media (max-width:860px){
 html body.ca-pop2 .ca-mbar{transition:transform .26s cubic-bezier(.2,.8,.3,1)}
 html body.ca-pop2 .ca-pop.ca-mbar-masque .ca-mbar{transform:translateY(112%)}
 .ca-mbar__main--court::after{display:none}
 .ca-mbar--duo .ca-mbar__main{flex:1.1 1 0}
 .ca-mbar__sec{position:relative;flex:1 1 0;min-width:0;height:48px;display:flex;align-items:center;justify-content:center;gap:7px;padding:0 10px;border-radius:14px;border:1.5px solid #124A9E;background:#F2F6FD;color:#124A9E;font:700 16px 'Barlow',sans-serif;cursor:pointer;white-space:nowrap;-webkit-tap-highlight-color:transparent}
 .ca-mbar__sec[hidden]{display:none}
 .ca-mbar__sec svg{width:19px;height:19px;flex:none}
 .ca-mbar__sec span{overflow:hidden;text-overflow:ellipsis}
 /* encart « projet lié » dans la fiche : visuel + nom sur deux lignes */
 html body.ca-pop2 .ca2-projet{align-items:center;gap:12px;padding:10px 12px 10px 10px!important;margin:10px 16px 14px!important;background:#F2F5FB}
 html body.ca-pop2 .ca2-projet__img{display:block;flex:0 0 68px;width:68px;height:68px;border-radius:12px;overflow:hidden;background:var(--cp,#0B3C91)}
 html body.ca-pop2 .ca2-projet__img img{width:100%;height:100%;object-fit:cover;object-position:50% 0;display:block}
 html body.ca-pop2 .ca2-projet__nom{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
 /* feuille d'aperçu du projet lié */
 html body.ca-pop2 .ca-mproj{display:block;position:fixed;inset:0;z-index:60}
 html body.ca-pop2 .ca-mproj[hidden]{display:none}
 .ca-mproj__fond{position:absolute;inset:0;background:rgba(8,18,46,.55)}
 .ca-mproj__feuille{position:absolute;left:0;right:0;bottom:0;max-height:82dvh;display:flex;flex-direction:column;padding:10px 16px calc(18px + env(safe-area-inset-bottom));border-radius:22px 22px 0 0;background:#fff;box-shadow:0 -12px 40px rgba(8,18,46,.35);animation:caMprojUp .26s cubic-bezier(.2,.8,.3,1)}
 .ca-mproj__grip{align-self:center;width:44px;height:5px;margin:0 0 8px;border-radius:99px;background:#CFD7E6}
 .ca-mproj__tete{display:flex;align-items:center;gap:8px;margin:0 0 10px}
 .ca-mproj__titre{flex:1;font:400 22px/1.1 'Anton',sans-serif;text-transform:uppercase;color:#124A9E}
 .ca-mproj__x{width:42px;height:42px;margin:-6px -6px -6px 0;border:0;border-radius:50%;background:#F2F1EE;color:#4B4A47;font:400 28px/1 'Barlow',sans-serif;cursor:pointer}
 .ca-mproj__corps{overflow-y:auto;display:flex;flex-direction:column;gap:12px}
 .ca-mproj__carte{display:grid;grid-template-columns:auto 1fr;gap:4px 14px;align-items:center;padding:12px;border-radius:18px;background:#F2F5FB;border-left:5px solid var(--cp,#0B3C91)}
 .ca-mproj__img{grid-row:1;width:84px;height:84px;border-radius:14px;overflow:hidden;background:var(--cp,#0B3C91)}
 .ca-mproj__img img{width:100%;height:100%;object-fit:cover;object-position:50% 0;display:block}
 .ca-mproj__txt{grid-row:1;grid-column:2;display:flex;flex-direction:column;gap:3px;min-width:0}
 .ca-mproj__carte > .ca-mproj__txt:first-child{grid-column:1/-1}
 .ca-mproj__lib{font:700 14px 'Barlow',sans-serif;color:#5C6B88;text-transform:none}
 .ca-mproj__nom{font:700 18px/1.25 'Barlow',sans-serif;color:#0B2B66}
 .ca-mproj__meta{font:500 15px 'Barlow',sans-serif;color:#5C6B88}
 .ca-mproj__statut{align-self:flex-start;margin-top:3px;padding:3px 11px;border-radius:999px;background:#FFE9D0;color:#7A4A06;font:700 14px 'Barlow',sans-serif}
 .ca-mproj__go{grid-column:1/-1;display:flex;align-items:center;justify-content:center;gap:8px;height:48px;margin-top:6px;border-radius:14px;background:#ec9521;color:#fff!important;font:700 16.5px 'Barlow',sans-serif;text-decoration:none}
 .ca-mproj__go::after{content:"\2192";font-size:19px}
 body.ca-dark .ca-mproj__feuille{background:#171C27}
 body.ca-dark .ca-mproj__carte{background:#1B2333}
 body.ca-dark .ca-mproj__nom{color:#EEF3FF}
 body.ca-dark .ca-mbar__sec{background:#1E2A40;color:#DCE7F8;border-color:#5B85C9}
}
@keyframes caMprojUp{from{transform:translateY(40px);opacity:0}to{transform:none;opacity:1}}
@media (max-width:380px){
 html body.ca-pop2 .ca-mbar{gap:6px;padding-left:10px;padding-right:10px}
 .ca-mbar__sec{font-size:15px;padding:0 6px;gap:5px}
 .ca-mbar__main{font-size:15px;padding:0 6px}
 .ca-mbar__main::after{display:none}
 .ca-mbar__ic{width:44px;height:46px}
}
@media (prefers-reduced-motion:reduce){
 html body.ca-pop2 .ca-pop__boite.ca-ms-d,html body.ca-pop2 .ca-pop__boite.ca-ms-g{animation:none!important}
}

/* ================= aperçus d'actus recadrés, vignettes de secours, page d'une actu ================= */
.ca-np-toast{display:none}
@media (max-width:700px){
 /* mini-news : le visuel est calé tout en haut et zoomé, le texte incrusté du bas (bandeau parc + titre) sort du cadre */
 html body .ca-flux .ca-flux__item .ca-flux__vignette img{inset:auto!important;top:0!important;left:50%!important;right:auto!important;bottom:auto!important;width:158%!important;max-width:none!important;height:198%!important;min-height:0!important;transform:translateX(-50%);object-fit:cover;object-position:50% 0}
 html body #ca-fil-accueil > .ca-flux__item:first-child .ca-flux__vignette img{width:124%!important;height:207%!important;min-height:0!important}
 /* toute la carte est cliquable (iOS n'envoie pas le toucher aux zones sans lien sinon) */
 html body .ca-flux__item[data-ca-lightbox]{cursor:pointer;-webkit-tap-highlight-color:rgba(18,74,158,.12)}
}
/* vignette de remplacement quand l'image ne charge pas */
.ca-img-ko{visibility:hidden}
.ca-img-ko-p{background:linear-gradient(135deg,#124A9E,#0B2B66) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='white' stroke-opacity='.55' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M4 36c6-18 12-18 16-6s10 12 14-8 6-12 10-6'/><path d='M4 42h40'/></svg>") center/42% no-repeat}

@media (max-width:860px){
 /* page d'une actu (/actus/...) : image pleine largeur qui se glisse et s'agrandit, texte à l'aise, suite en défilement horizontal */
 html body .np{padding:0 0 30px!important}
 html body .np__card{padding:0 0 18px!important;gap:0!important;border-radius:0 0 22px 22px!important}
 html body .np__media{max-width:none!important;margin:0!important;width:100%}
 html body .np__photo{border-radius:0!important;max-height:76vh;max-height:76svh;touch-action:pan-y}
 html body .np__photo.ca-np-zoomable{cursor:zoom-in}
 html body .np__nav{width:38px;height:38px}
 html body .np__nav--prec{left:10px}html body .np__nav--suiv{right:10px}
 html body .np__contenu{padding:16px 16px 0!important}
 html body .np__chips{gap:8px;margin-bottom:12px}
 html body .np__titre{font-size:24px!important;line-height:1.16;margin-bottom:14px;padding-left:16px}
 html body .np__p{font-size:16.5px!important;line-height:1.65}
 html body .np__lead{font-size:18.5px!important}
 html body .np__actions{margin-top:20px}
 html body .np__suite{padding:26px 14px 0!important}
 html body .np__lies{display:flex!important;grid-template-columns:none!important;overflow-x:auto;gap:12px!important;margin:0 -14px;padding:2px 14px 10px;scroll-snap-type:x mandatory;scroll-padding:0 14px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
 html body .np__lies::-webkit-scrollbar{display:none}
 html body .np__lie{flex:0 0 74%;scroll-snap-align:start}
 html body .np__parc{grid-template-columns:1fr!important;gap:22px!important;margin-top:28px!important}
}
@media (max-width:767px){
 /* la barre du bas porte déjà le parc, Instagram, les avis et le partage */
 html body .np.ca-np-barre .np__actions{display:none!important}
 html body .ca-np-toast{display:block;position:fixed;left:50%;bottom:calc(86px + env(safe-area-inset-bottom));transform:translate(-50%,12px);opacity:0;pointer-events:none;background:#0B2B66;color:#fff;font:600 15px 'Barlow',sans-serif;padding:9px 16px;border-radius:12px;z-index:100001;transition:opacity .2s,transform .2s}
 html body .ca-np-toast.is-on{opacity:1;transform:translate(-50%,0)}
}

/* popup news : pastille « Actu 4 sur 7 » en bleu (changer d'actu) distincte du compteur de photos ; plus de « À lire aussi » */
html body.ca-pop2 .ca-mnav{background:#0B3C91;color:#fff;box-shadow:0 4px 14px rgba(0,0,0,.35)}
html body.ca-pop2 .ca-mnav__b{color:#fff}
html body.ca-pop2 .ca-mnav__p{min-width:0;padding:0 4px;white-space:nowrap}
html body.ca-pop2 .ca-pop__compteur{left:50%;right:auto;transform:translateX(-50%);bottom:12px;top:auto;white-space:nowrap}
.ca-pop .ca-pop__lies-pill,.ca-pop .ca-pop__lies-volet,html body.ca-pop2 .ca-pop__lies-volet,html body.ca-pop2 .ca-pop__lies-volet:has(.ca-lies__item){display:none!important}

html body.ca-pop2 .ca-mnav{background:#0B3C91!important;color:#fff!important}
html body.ca-pop2 .ca-mnav__p{color:#fff!important;opacity:1!important;font-weight:700}
html body.ca-pop2 .ca-mnav__b{color:#fff!important}
