/* Retouches du dossier Catalogue Maquettes 2, limitées à l'accueil. */
body.home #diapo-accueil {position:relative; overflow:visible}
body.home .cabines-hero-services {position:absolute; z-index:30; right:4%; top:50%; transform:translateY(-50%); width:238px; max-width:30%}
body.home .cabines-hero-services ul {display:grid; gap:10px; margin:0; padding:0; list-style:none}
body.home .cabines-hero-services a {display:flex; align-items:center; gap:16px; min-height:66px; padding:12px 18px; background:#fff; color:#19515e; border:1px solid #c7dce0; border-radius:8px; box-shadow:0 5px 20px #122c3b26; font-size:17px; font-weight:700; line-height:1.3; text-decoration:none; box-sizing:border-box}
body.home .cabines-hero-services i {font-size:24px; width:30px; flex:none; text-align:center}
body.home .cabines-hero-services a:hover {background:#eaf4f5}
body.home .cabines-hero-services a:focus-visible {outline:3px solid #153d47; outline-offset:3px}
body.home #ligne1 #agenda-accueil {display:flex!important; flex-direction:column}
body.home #content-agenda {flex:1; grid-auto-rows:1fr}
body.home .manif-accueil {min-height:216px}
body.home .content-manif {padding:26px!important}
body.home .cabines-map-description {max-width:660px; margin:16px auto 0; font-size:17px; line-height:1.65; color:#294650}
body.home #main-accueil .k3-home-projects-kiosk__facebook-feed :is(img,video), body.home #main-accueil .k3-home-projects-kiosk__project-visual > img {width:100%!important; height:auto!important; max-height:none!important; object-fit:contain!important; aspect-ratio:auto!important}
@media(max-width:1100px) {
 body.home .cabines-hero-services {position:relative; right:auto; top:auto; transform:none; width:92%; max-width:none; margin:24px auto}
 body.home .cabines-hero-services ul {grid-template-columns:repeat(4,minmax(0,1fr))}
 body.home .cabines-hero-services a {height:100%; flex-direction:column; text-align:center; padding:16px 10px; font-size:16px}
 body.home .manif-accueil {min-height:190px}
}
@media(max-width:700px) {
 body.home .cabines-hero-services ul {grid-template-columns:repeat(2,minmax(0,1fr))}
 body.home .manif-accueil {min-height:0}
 body.home .content-manif {padding:18px!important}
}

/* Publications carrées ou verticales : laisser la hauteur du flux au contenu. */
body.home #main-accueil .k3-home-projects-kiosk__project-visual { height:auto!important; min-height:0!important; }
body.home #main-accueil .k3-home-projects-kiosk__project-visual > img { position:static!important; inset:auto!important; }
body.home #main-accueil .k3-home-projects-kiosk__project-visual--has-feed, body.home #main-accueil .k3-home-projects-kiosk__facebook-feed { height:auto!important; min-height:0!important; max-height:none!important; overflow:visible!important; }

/* Le titre du visuel de repli suit la publication sans la recouvrir.
 * Le titre du flux réel est hors de .project-visual : il reste inchangé. */
body.home #main-accueil .k3-home-projects-kiosk__project-visual > .k3-home-projects-kiosk__project-heading {
    position: static !important;
    inset: auto !important;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: clamp(20px, 3vw, 36px) !important;
    background: #19515e !important;
    color: #fff !important;
}
