/* Ma Ville Solidaire — maquette verte */

:root{--mvs-green:#204b31;--mvs-ink:#173b2a;--mvs-paper:#faf7ef;--mvs-button:#619742}

body.site{background:var(--mvs-paper);color:#303a34;font-family:Arial,sans-serif}

a{color:var(--mvs-green)}

.container-header{background:transparent;background-image:none;color:var(--mvs-ink);box-shadow:none;padding:22px 0}

.container-header .grid-child{max-width:1200px;margin:auto;padding:0 24px}

.container-header .navbar-brand{margin:0}

.container-header .brand-logo{color:var(--mvs-ink);text-decoration:none}

.container-header .site-description{color:var(--mvs-ink);font-family:Georgia,serif;font-size:20px;letter-spacing:1px;margin-left:100px}

.mvs-brand{display:flex;align-items:center;gap:18px;font:700 42px/1.1 Georgia,serif}

.mvs-brand img{width:82px;height:82px;object-fit:contain}

.site-grid{max-width:1200px;margin:auto;gap:24px}

.container-banner{max-width:1200px;margin:0 auto 22px;padding:0 24px}

.container-component h1{font:700 28px/1.2 Georgia,serif;color:var(--mvs-ink);margin:0 0 20px}

.com-content-category-blog .blog-item{display:flex;gap:22px;background:#fff;padding:18px;border:1px solid #eee9df;border-radius:10px;margin:0 0 20px;box-shadow:0 3px 12px #173b2a05}

.com-content-category-blog .item-content{min-width:0;flex:1}

.com-content-category-blog .page-header h2,.com-content-category-blog .page-header h2 a{font:700 26px/1.16 Georgia,serif;color:var(--mvs-ink);text-decoration:none;margin:0 0 12px}

.com-content-category-blog .page-header h2 a:hover{text-decoration:underline}

.com-content-category-blog .item-image,.com-content-category-blog .mvs-thumb{width:44%;flex:0 0 44%;margin:0;align-self:stretch}

.com-content-category-blog .item-image img,.com-content-category-blog .mvs-thumb img{width:100%;height:100%;min-height:210px;max-height:280px;object-fit:cover;border-radius:6px}

.com-content-category-blog .article-info{font-size:12px;display:flex;flex-wrap:wrap;gap:4px 12px;margin:0 0 12px;color:#667367}

.com-content-category-blog .article-info-term{display:none}

.com-content-category-blog .article-info dd{margin:0}

.mvs-summary{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.5;font-style:italic;margin:1rem 0}

.readmore{margin-bottom:0}

.readmore a,.readmore a:hover{background:var(--mvs-button);color:white;border:0;padding:10px 20px;border-radius:7px;font-size:16px;text-decoration:none}

.readmore a:hover{background:var(--mvs-green)}

.com-content-category-blog img,.com-content-article img{max-width:100%;height:auto}

#mod-custom111,#mod-custom112,#mod-custom113,.mvs-ad-between{background:radial-gradient(ellipse at 5% 110%,#afb88a 0%,transparent 50%),radial-gradient(ellipse at 100% 0%,#ded1b7 0%,transparent 55%),#ede4d1;border:0;border-radius:9px;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;color:#213b2c;padding:30px 18px;min-height:130px}

#mod-custom111 p,#mod-custom112 p,#mod-custom113 p,.mvs-ad-between p{font-size:12px;letter-spacing:5px;text-transform:uppercase;margin:0 0 12px}

#mod-custom111:after,#mod-custom112:after,#mod-custom113:after,.mvs-ad-between:after{content:'Votre annonce ici';font:700 30px/1.2 Georgia,serif}

#mod-custom112{min-height:320px}

.container-sidebar-right .card{border:0;background:transparent;box-shadow:none}

.container-sidebar-right .card-body:has(#mod-custom112){padding:0}

.mvs-agenda{background:#fff;border:1px solid #eee9df;border-radius:10px;overflow:hidden;margin-bottom:20px}

.mvs-agenda h2{background:var(--mvs-green);color:#fff;font:700 28px Georgia,serif;padding:20px;margin:0}

.mvs-agenda-content{padding:22px}

.mvs-agenda-content p{line-height:1.6}

.mvs-agenda a{display:inline-block;color:var(--mvs-green);font-weight:bold}

.mvs-nav{display:flex;flex-wrap:wrap;gap:22px;font-size:16px;padding:15px 0}

.mvs-nav a{text-decoration:none;color:var(--mvs-ink)}

.mvs-nav a:hover{text-decoration:underline}

.com-content-category-blog .com-content-category-blog__children{display:none}

@media(min-width:992px){
.site-grid{grid-template-columns:0 minmax(0,820px) minmax(280px,340px) 0}
.container-header .grid-child:has(.navbar){justify-content:flex-end}
.container-header .grid-child{display:flex}
.com-content-category-blog__items{display:block}
}

@media(max-width:767px){
.container-header{padding:16px 0}
.mvs-brand{font-size:28px;gap:10px}
.mvs-brand img{width:60px;height:60px}
.container-header .site-description{font-size:15px;margin-left:70px;letter-spacing:0}
.site-grid{padding:0 16px}
.container-banner{padding:0 16px}
.com-content-category-blog .blog-item{flex-direction:column;padding:14px;gap:16px}
.com-content-category-blog .item-image,.com-content-category-blog .mvs-thumb{width:100%;flex-basis:auto}
.com-content-category-blog .page-header h2,.com-content-category-blog .page-header h2 a{font-size:24px}
}

/* Placement explicite pour Cassiopeia */
body .site-grid{grid-template-columns:minmax(0,2.3fr) minmax(280px,1fr);grid-template-rows:auto;grid-template-areas:'banner banner' 'main sidebar' 'bottoma bottoma' 'bottomb bottomb';padding:0 24px}

body .container-banner{grid-area:banner;width:100%;max-width:none;margin:0;padding:0}

body .container-component{grid-area:main;min-width:0}

body .container-sidebar-right{grid-area:sidebar;min-width:0;display:block}

body .container-bottom-a{grid-area:bottoma}

body .container-bottom-b{grid-area:bottomb}

body .container-header{display:flex;align-items:center;justify-content:space-between;max-width:1200px;margin:0 auto;background:transparent}

body .container-header>.grid-child{margin:0;max-width:none}

body .container-header .site-description{margin:8px 0 0;font-size:18px;letter-spacing:.5px}

body.itemid-101.view-category .mod-breadcrumbs{display:none}

@media(max-width:767px){
body .site-grid{display:flex;flex-direction:column;padding:0 16px}
body .container-header{display:block}
body .container-header .site-description{font-size:15px}
body .container-banner{margin-bottom:18px}
.container-sidebar-right{width:100%}
}

body.site .site-grid{grid-template-columns:minmax(0,2.3fr) minmax(280px,1fr)!important;grid-template-areas:none!important;grid-template-rows:auto!important}

body.site .container-banner{grid-column:1 / -1!important;grid-row:1!important;width:100%}

body.site .container-component{grid-column:1!important;grid-row:2!important}

body.site .container-sidebar-right{grid-column:2!important;grid-row:2!important}

body.site .container-bottom-a{grid-column:1 / -1!important;grid-row:3!important}

body.site .container-bottom-b{grid-column:1 / -1!important;grid-row:4!important}

body.site .container-header>.grid-child:first-of-type{flex:1}

body.site .container-header>.grid-child:last-of-type{flex:0 0 auto}

@media(max-width:767px){
body.site .site-grid{display:flex!important}
.container-header>.grid-child{width:100%}
}

body.site .container-header{width:100%;display:grid;grid-template-columns:minmax(380px,1fr) auto;gap:20px;padding:24px}

body.site .container-header>.grid-child{width:100%!important;padding:0;min-width:0}

body.site .navbar-brand{width:100%;white-space:normal}

body.site .brand-logo img{width:440px;max-width:100%}

.container-sidebar-right .card:has(.mod-menu){display:none}

.com-content-category-blog .blog-item:nth-child(2){position:relative;margin-bottom:165px}

.com-content-category-blog .blog-item:nth-child(2):after{content:'PUBLICITÉ · Votre annonce ici';position:absolute;top:calc(100% + 20px);left:0;width:100%;height:120px;display:flex;align-items:center;justify-content:center;background:linear-gradient(120deg,#cdd2ad,#ece2cb);border-radius:9px;color:#213b2c;font:700 25px Georgia,serif}

.container-bottom-b:has(#mod-custom113){display:none}

@media(max-width:767px){
body.site .container-header{display:block;padding:20px 16px}
.mvs-nav{gap:18px}
.com-content-category-blog .blog-item:nth-child(2):after{font-size:20px}
}

@media(min-width:768px){
body.site .com-content-category-blog .blog-item{flex-direction:row}
.mvs-thumb>a,.item-image>a{display:block;height:100%}
.com-content-category-blog .page-header h2,.com-content-category-blog .page-header h2 a{font-size:24px}
}

/* Articles à la une et pied de page */
.mvs-highlights{grid-column:1/-1!important;grid-row:2!important;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin:0 0 10px}

body.site:has(.mvs-highlights) .container-component,body.site:has(.mvs-highlights) .container-sidebar-right{grid-row:3!important}

body.site:has(.mvs-highlights) .container-bottom-a{grid-row:4!important}

body.site:has(.mvs-highlights) .container-bottom-b{grid-row:5!important}

.mvs-highlight{position:relative;display:block;overflow:hidden;border-radius:10px;min-height:320px;background:#204b31;color:#fff;text-decoration:none;box-shadow:0 4px 15px #173b2a10}

.mvs-highlight>img{width:100%;height:320px;object-fit:cover;display:block}

.mvs-highlight>div{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:flex-end;padding:24px;background:linear-gradient(transparent 12%,#102e2160 45%,#102e21ed)}

.mvs-highlight h2{font:700 26px/1.2 Georgia,serif;color:#fff;margin:8px 0 14px}

.mvs-highlight>div>span:first-child{font-size:13px;letter-spacing:1.5px;text-transform:uppercase;color:#e6edd4}

.mvs-highlight-read{font-size:15px;font-weight:bold}

.mvs-highlight:hover{color:#fff}

.mvs-highlight:hover .mvs-highlight-read{text-decoration:underline}

.mvs-page-bottom{max-width:1200px;margin:24px auto 0;padding:0 24px}

.mvs-bottom-ad{background:#fff;border:1px solid #e8e3d8;padding:20px 18px;border-radius:10px;margin:0 0 24px;min-height:120px;overflow:hidden}

.mvs-bottom-ad>p{font-size:11px;letter-spacing:4px;text-align:center;text-transform:uppercase;color:#697166;margin:0 0 15px}

.mvs-newsletter{display:flex;align-items:center;justify-content:space-between;gap:24px;background:linear-gradient(115deg,#edf0dc,#d4debd);padding:32px;border-radius:10px 10px 0 0;color:#204b31}

.mvs-newsletter h2{font:700 30px Georgia,serif;margin:0 0 10px}

.mvs-newsletter p{margin:0;line-height:1.5}

.mvs-newsletter>a{flex-shrink:0;display:inline-block;background:#426f33;color:white;padding:14px 28px;border-radius:28px;text-decoration:none;font-weight:bold}

.mvs-newsletter>a:hover{background:#204b31}

/* ===== Pied de page : fond vert foncé #14532d (modifié) ===== */
.mvs-footer{position:relative;background:#14532d;color:#eaf0df;padding:28px 30px;text-align:center;border-radius:0 0 10px 10px;margin-bottom:24px}

.mvs-footer nav{display:flex;justify-content:center;flex-wrap:wrap;gap:16px 28px}

.mvs-footer a{color:#eaf0df;text-decoration:none;font-size:14px}

.mvs-footer a:hover{text-decoration:underline}

.mvs-footer p{margin:24px 0 12px;font-size:14px}

@media(max-width:767px){
.mvs-highlights{grid-template-columns:1fr;width:100%;gap:16px}
.mvs-highlight,.mvs-highlight>img{min-height:260px;height:260px}
.mvs-highlight h2{font-size:23px}
.mvs-page-bottom{padding:0 16px}
.mvs-newsletter{flex-direction:column;align-items:flex-start;padding:24px}
.mvs-newsletter h2{font-size:27px}
.mvs-footer{padding:24px 20px}
}

.mvs-page-bottom{width:100%}

/* Publicités AdSense actives */
#mod-custom111,.container-sidebar-right .card:has(#mod-custom112){display:none}

.mvs-top-ad,.mvs-side-ad{background:#fff;border:1px solid #e8e3d8;border-radius:10px;padding:18px;overflow:hidden;width:100%}

.mvs-top-ad{min-height:150px}

.mvs-side-ad{min-height:280px;margin-top:20px}

.mvs-top-ad>p,.mvs-side-ad>p{font-size:11px;letter-spacing:4px;text-transform:uppercase;text-align:center;color:#697166;margin:0 0 14px}

/* Bannière du haut plus étroite */
.mvs-top-ad{max-width:800px;margin:0 auto;min-height:0;padding:16px 18px}

/* Bannière horizontale, hauteur réduite */
.mvs-top-ad{max-width:none;margin:0;min-height:0;padding:12px 18px}

.mvs-top-ad ins.adsbygoogle{height:90px}

/* Webcams de l'Office de tourisme */
.mvs-webcams{width:100%;max-width:1200px;margin:28px auto 0;padding:0 24px;scroll-margin-top:24px}

.mvs-webcams-heading{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:18px}

.mvs-webcams h2{font:700 30px Georgia,serif;color:#204b31;margin:0 0 8px}

.mvs-webcams-heading p{margin:0;color:#5c6b5d}

.mvs-webcams a{font-size:14px;color:#204b31}

.mvs-webcam-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}

.mvs-webcam-grid article{background:#fff;border:1px solid #e8e3d8;border-radius:10px;overflow:hidden}

.mvs-webcam-grid h3{font:700 22px Georgia,serif;color:#204b31;margin:0;padding:18px}

.mvs-webcam-grid iframe{width:100%;height:260px;border:0;display:block;background:#e7eadd}

.mvs-webcam-grid article>a{display:block;padding:16px 18px;font-weight:bold}

@media(max-width:767px){
.mvs-webcams{padding:0 16px}
.mvs-webcams-heading{display:block}
.mvs-webcams-heading>a{display:inline-block;margin-top:12px}
.mvs-webcam-grid{grid-template-columns:1fr}
.mvs-webcam-grid iframe{height:300px}
}

/* Webcams sous les deux articles à la une */
.site-grid>.mvs-webcams{grid-column:1 / -1!important;grid-row:3!important;max-width:none;margin:0 0 24px;padding:0}

body.site:has(.mvs-highlights) .container-component,body.site:has(.mvs-highlights) .container-sidebar-right{grid-row:4!important}

body.site:has(.mvs-highlights) .container-bottom-a{grid-row:5!important}

body.site:has(.mvs-highlights) .container-bottom-b{grid-row:6!important}

/* Titre principal au-dessus des articles à la une */
body.site:has(.mvs-highlights) .com-content-category-blog>.page-header{display:none}

/* Instagram : vignettes compactes */
.container-bottom-a:has(#jux\_instagram\_stream110){width:100%;max-width:580px;justify-self:center;margin:0 auto 24px}

.container-bottom-a:has(#jux\_instagram\_stream110) .card-header{font:700 24px Georgia,serif;color:#204b31;background:#edf0dc}

#jux\_instagram\_stream110 .jux-item,#jux\_instagram\_stream110 .jux-content,#jux\_instagram\_stream110 .jux-meta,#jux\_instagram\_stream110 .inner-preview,#jux\_instagram\_stream110 .inner-overlay{height:165px!important;width:100%!important}

#jux\_instagram\_stream110 .inner-preview{overflow:hidden;border-radius:6px}

#jux\_instagram\_stream110 .inner-preview img{width:100%!important;height:100%!important;object-fit:cover;max-width:100%!important}

#jux\_instagram\_stream110 .jux-item{margin-bottom:8px}

@media(max-width:600px){
.container-bottom-a:has(#jux\_instagram\_stream110){max-width:100%}
#jux\_instagram\_stream110 .jux-item,#jux\_instagram\_stream110 .jux-content,#jux\_instagram\_stream110 .jux-meta,#jux\_instagram\_stream110 .inner-preview,#jux\_instagram\_stream110 .inner-overlay{height:120px!important}
}

/* Instagram : pleine largeur, vignettes moins hautes */
.container-bottom-a:has(#jux\_instagram\_stream110){max-width:none;justify-self:stretch}

/* Lien vers notre compte Instagram */
.container-bottom-a:has(#jux\_instagram\_stream110){display:block}

.container-bottom-a:has(#jux\_instagram\_stream110)>.card>.card-header{display:none}

.mvs-instagram-heading{padding:14px 18px;background:#edf0dc;border-radius:8px}

.mvs-instagram-heading:hover span{text-decoration:underline}

/* Bandeau chaleureux Ma Ville Solidaire */
body.site .container-header{display:grid;grid-template-columns:1fr auto;gap:0 24px;padding:0 24px 14px;background:#fff8e9}

body.site .container-header>.grid-child:has(.navbar-brand){grid-column:1/-1}

body.site .navbar-brand{min-height:330px;display:flex;align-items:center;margin:0;padding:30px;background:linear-gradient(90deg,#fff8e9 0%,#fff8e9ee 34%,#fff8e900 62%),url('/images/exec-b07769e3-4254-4198-8b03-48a82de516b9.png') right center/auto 100% no-repeat}

body.site .brand-logo{display:block;width:64%;text-decoration:none;color:#2c3c17;white-space:normal}

.mvs-brand-title{display:block;font:700 clamp(36px,4.7vw,66px)/1.08 Georgia,serif;margin-bottom:14px;letter-spacing:-1.5px}

.mvs-brand-subtitle{display:block;font:400 clamp(17px,1.7vw,23px)/1.4 Georgia,serif;max-width:610px}

.mvs-brand-free{display:block;font:italic 19px Georgia,serif;color:#9a660d;margin-top:18px}

body.site .site-description{display:none}

body.site .container-header>.grid-child:has(.mvs-nav){border-top:1px solid #bc9657;padding-top:15px}

body.site .container-header>.grid-child:has(nav[aria-label="Nos réseaux sociaux"]){border-top:1px solid #bc9657;padding-top:10px}

.mvs-nav{justify-content:flex-start}

.mvs-clock-band{background:#34451e!important}

@media(max-width:767px){
body.site .container-header{display:block;padding:0 16px 14px}
body.site .navbar-brand{min-height:255px;padding:22px 8px;background-size:auto 100%;background-position:right center}
body.site .brand-logo{width:67%}
.mvs-brand-title{font-size:37px;letter-spacing:-1px}
.mvs-brand-subtitle{font-size:16px}
.mvs-brand-free{font-size:15px;margin-top:12px}
body.site .container-header>.grid-child:has(nav[aria-label="Nos réseaux sociaux"]){border-top:0;padding-top:0}
.mvs-nav{gap:15px;flex-wrap:wrap}
}

/* Téléphones : bandeau lisible, colonnes et contenus fluides */
@media(max-width:991px){
body.site .site-grid{display:flex!important;flex-direction:column;gap:20px;padding:0 16px}
body.site .site-grid>*{width:100%;min-width:0;max-width:100%}
.container-sidebar-right{width:100%}
.mvs-webcam-grid{grid-template-columns:1fr}
.mvs-highlights{gap:16px}
}

@media(max-width:767px){
body.site .container-header{padding:0 16px 14px}
body.site .navbar-brand{min-height:0;display:block;padding:24px 8px 185px;background:linear-gradient(180deg,#fff8e9 0%,#fff8e9 47%,#fff8e900 68%),url("/images/exec-b07769e3-4254-4198-8b03-48a82de516b9.png") right bottom/auto 190px no-repeat}
body.site .brand-logo{width:100%;max-width:100%}
.mvs-brand-title{font-size:clamp(29px,8vw,37px);letter-spacing:-.7px;line-height:1.1;margin-bottom:12px}
.mvs-brand-subtitle{font-size:16px;line-height:1.4}
.mvs-brand-free{font-size:15px;margin-top:10px}
.mvs-clock-band{font-size:12px!important;line-height:1.6;padding:8px 16px!important;letter-spacing:0!important;white-space:normal}
.mvs-nav{gap:4px 16px;padding:6px 0;margin:0}
.mvs-nav a{display:inline-flex;align-items:center;min-height:44px;font-size:15px}
nav[aria-label="Nos réseaux sociaux"]{justify-content:flex-start!important;flex-wrap:wrap;gap:18px!important;margin-top:4px!important}
nav[aria-label="Nos réseaux sociaux"] a{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px}
.mvs-highlights{display:grid;grid-template-columns:minmax(0,1fr)}
.mvs-highlight{min-height:300px;height:auto}
.mvs-highlight>img{height:300px;min-height:300px}
.mvs-highlight>div{padding:18px}
.mvs-highlight h2{font-size:22px;line-height:1.25;overflow-wrap:anywhere}
.com-content-category-blog .blog-item{width:100%;min-width:0;flex-direction:column;padding:14px}
.com-content-category-blog .item-image,.com-content-category-blog .mvs-thumb{width:100%;flex:0 0 auto}
.com-content-category-blog .item-image img,.com-content-category-blog .mvs-thumb img{height:210px;min-height:0;max-height:none}
.com-content-category-blog .page-header h2,.com-content-category-blog .page-header h2 a{font-size:23px;overflow-wrap:anywhere}
.com-content-article{min-width:0;overflow-wrap:anywhere}
.com-content-article img,.com-content-article video,.com-content-article iframe{max-width:100%!important}
.com-content-article table{display:block;max-width:100%;overflow-x:auto}
.mvs-audio{max-width:100%;flex-wrap:wrap}
.pagination ul{flex-wrap:wrap;gap:4px}
.mvs-webcams h2{font-size:25px}
.mvs-webcam-grid iframe{height:260px}
.mvs-webcam-grid h3{font-size:21px}
.mvs-top-ad,.mvs-side-ad,.mvs-bottom-ad{max-width:100%;padding:12px;box-sizing:border-box}
.mvs-instagram-heading{font-size:20px!important;line-height:1.3;min-width:0}
.mvs-instagram-heading svg{flex-shrink:0}
#jux\_instagram\_stream110{max-width:100%;min-width:0}
#jux\_instagram\_stream110 .slick-list{max-width:100%;overflow:hidden}
.mvs-newsletter{padding:22px;gap:18px}
.mvs-newsletter>a{width:100%;text-align:center;white-space:normal}
.mvs-footer nav{gap:8px 20px}
.mvs-footer a{display:inline-flex;align-items:center;min-height:44px}
}

/* Photos et conteneurs : empêcher les débordements sur téléphone */
@media(max-width:991px){
body.site .container-component,body.site .com-content-category-blog,body.site .com-content-category-blog__items,body.site .com-content-category-blog__item,body.site .item-content,body.site .com-content-article,body.site .com-content-article__body{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box}
body.site .com-content-category-blog__items{display:block!important;grid-template-columns:minmax(0,1fr)!important}
body.site .com-content-category-blog .blog-item{display:flex!important;flex-direction:column!important;max-width:100%!important;min-width:0!important;box-sizing:border-box}
body.site .com-content-category-blog .mvs-thumb,body.site .com-content-category-blog .item-image,body.site .com-content-article .item-image,body.site .com-content-article figure,body.site .com-content-article picture{float:none!important;display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;margin:0 0 16px!important;padding:0!important;flex:0 0 auto!important;box-sizing:border-box}
body.site .mvs-thumb>a,body.site .item-image>a{display:block!important;width:100%!important;max-width:100%!important;min-width:0!important}
body.site .com-content-category-blog img,body.site .com-content-article img,body.site .mvs-highlight>img{display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box;object-fit:cover}
body.site .com-content-article img{height:auto!important;margin-left:0!important;margin-right:0!important}
body.site .com-content-article [style*="width"]{max-width:100%!important;box-sizing:border-box}
body.site .mvs-highlight{width:100%;max-width:100%;min-width:0;box-sizing:border-box}
}

/* Limite physique : aucune photo plus large que l'écran */
body.site{max-width:100%;margin:0}

body.site .site-grid,body.site .site-grid>*{box-sizing:border-box}

body.site .site-grid{width:100%;max-width:1200px}

body.site .container-component img,body.site .mvs-highlight img{max-width:min(100%,calc(100vw - 32px))!important;min-width:0!important;box-sizing:border-box}

@media(max-width:991px){
body.site .site-grid{width:100%!important;max-width:100%!important;align-items:stretch!important}
body.site .site-grid>*{max-width:calc(100vw - 32px)!important;flex-shrink:1!important}
body.site .container-component{display:block!important}
body.site .blog-items{margin-left:0!important;margin-right:0!important}
body.site .item-content{flex:1 1 auto!important;min-width:0!important}
body.site .com-content-category-blog img{width:100%!important;max-width:100%!important;height:auto!important}
body.site .mvs-highlights{grid-template-columns:minmax(0,1fr)!important}
body.site .mvs-highlights>h1{font-size:25px!important;overflow-wrap:anywhere}
body.site .mvs-highlight img{width:100%!important;max-width:100%!important}
.mvs-highlight>div{min-width:0;box-sizing:border-box}
}

/* Ajustements demandés le 11 octobre 2026 */
/* Ajustements demandés le 11 octobre 2026 */
.com-content-article__body,.com-content-article__body p,.com-content-article__body li,.com-content-category-blog .item-content p{line-height:1.45!important}

.com-content-article__body p{margin-top:0!important;margin-bottom:.75rem!important}

.mvs-highlight{background:#e1edce;color:#204b31;border:2px solid #b9d496}

.mvs-highlight>div{background:linear-gradient(transparent 8%,#e1edce50 40%,#e1edcef5 72%)}

.mvs-highlight h2,.mvs-highlight>div>span:first-child,.mvs-highlight-read,.mvs-highlight:hover{color:#204b31}

.mvs-agenda img{width:110px!important;max-width:100%!important;height:78px!important;object-fit:cover;border-radius:6px}

/* Reprise MVS du 14 octobre 2026 : bandeau complet et navigation lisible */
body.site .container-header{display:block!important;padding:0 20px 16px!important;background:#fff8e9!important}

body.site .container-header>.grid-child{display:block!important;width:100%!important}

body.site .navbar-brand{display:block!important;min-height:0!important;padding:0!important;background:none!important}

body.site .brand-logo{display:block!important;width:100%!important;max-width:none!important}

body.site .brand-logo img{display:block!important;width:100%!important;max-width:100%!important;height:auto!important;max-height:300px!important;object-fit:contain!important}

body.site .container-nav{display:flex!important;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:14px;padding-top:12px!important;border-top:1px solid #d3c5a5}

body.site .container-header .mod-menu a,body.site .container-header .navbar-toggler{color:#204b31!important;font-weight:700}

body.site .container-header .mod-menu{gap:24px}

body.site .com-content-article__body{color:#26352c;background:#fff;padding:20px;border-radius:8px;line-height:1.5}

body.site .com-content-article__body p{line-height:1.5!important;margin-bottom:.8rem!important}

@media(max-width:767px){
body.site .container-header{padding:0 12px 12px!important}
body.site .brand-logo img{max-height:none!important}
body.site .container-nav{gap:10px}
body.site .container-search{width:100%}
body.site .com-content-article__body{padding:14px}
}

/* Deux articles les plus récents en évidence */
.mvs-article-vert{background:#e1efda!important;border:1px solid #a5c294!important;border-left:6px solid #356b3d!important;border-radius:10px;padding:22px!important;color:#172b1b!important;margin-bottom:22px!important}

.mvs-article-vert h2 a{color:#204b31!important}

.mvs-article-vert .article-info{color:#35523b!important}

/* Bas de page : Newsletter mise en avant sur toute la largeur (texte à gauche, formulaire à droite) */
footer.container-footer>.grid-child{flex-direction:column!important;align-items:stretch!important;justify-content:center!important;text-align:center;gap:26px!important;padding:40px 44px 22px!important}
footer.container-footer .acym_module{flex:none!important;width:100%;max-width:none;margin:0}
footer.container-footer .acym_module_form{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(180px,1fr) auto;grid-template-areas:"intro email button" "intro terms terms";gap:12px;align-items:center;text-align:left}
footer.container-footer .acym_introtext{grid-area:intro;align-self:center;margin:0 32px 0 0;color:#fff}
footer.container-footer .mvs-nl-kicker{margin:0 0 8px;font-size:13px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:#a8d08d}
footer.container-footer .mvs-nl-title{margin:0 0 10px;font:700 26px/1.25 Georgia,serif;color:#fff}
footer.container-footer .mvs-nl-text{margin:0;max-width:560px;font-size:16px;line-height:1.55;color:rgba(255,255,255,.85)}
footer.container-footer .acym_module_form .acym_form{display:contents}
footer.container-footer .acym_module_form .acyfield_text{grid-area:email;align-self:end;margin:0!important;padding:0!important}
footer.container-footer .acym_module_form .acyfield_text label{display:block;width:100%;margin:0!important}
footer.container-footer .acym_module_form .fieldacyterms{grid-area:terms;align-self:start;margin:0!important;padding:0 0 0 12px!important;font-size:14px;color:rgba(255,255,255,.85)}
footer.container-footer .acym_module_form .fieldacyterms a{color:#fff}
footer.container-footer .acym_module_form .fieldacyterms input{margin:0 6px 0 0;vertical-align:-2px}
footer.container-footer .acym_module_form .acysubbuttons{grid-area:button;align-self:end;margin:0!important;padding:0!important}
footer.container-footer .acym_module input[type=email]{display:block;width:100%!important;max-width:none!important;height:50px;margin:0!important;padding:0 20px!important;border:0!important;border-radius:999px!important;background:#fff;color:#173b2a;font-size:16px;box-shadow:none}
footer.container-footer .acym_module .acysubbuttons .subbutton{height:50px;margin:0!important;padding:0 26px!important;border:0!important;border-radius:999px!important;background:#8cc66a!important;color:#10331f!important;font-size:16px;font-weight:700;white-space:nowrap;cursor:pointer}
footer.container-footer .acym_module .acysubbuttons .subbutton:hover,footer.container-footer .acym_module .acysubbuttons .subbutton:focus{background:#a6d98a!important}
footer.container-footer .mvs-nowrap{white-space:nowrap}
footer.container-footer>.grid-child>#mvs-legal-footer{flex:none!important;width:100%;padding-top:18px!important;border-top:1px solid rgba(255,255,255,.18)!important}
@media (max-width:900px){
footer.container-footer .acym_module_form{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"intro intro" "email button" "terms terms";text-align:center}
footer.container-footer .acym_introtext{margin:0 0 8px}
footer.container-footer .mvs-nl-text{margin:0 auto}
footer.container-footer .acym_module_form .fieldacyterms{padding:0!important}
}
@media (max-width:600px){
footer.container-footer>.grid-child{padding:30px 16px 18px!important}
footer.container-footer .mvs-nl-title{font-size:24px}
footer.container-footer .mvs-nowrap{white-space:normal}
footer.container-footer .acym_module_form{grid-template-columns:1fr;grid-template-areas:"intro" "email" "button" "terms"}
footer.container-footer .acym_module .acysubbuttons .subbutton{width:100%}
}

/* === 17 nov. 2026 : texte des articles plus grand === */
body.site .com-content-article__body,body.site .com-content-article__body p,body.site .com-content-article__body li,body.site .com-content-article__body td{font-size:18px!important;line-height:1.6!important}
body.site .com-content-article__body h3{font-size:22px}
@media (max-width:767px){body.site .com-content-article__body,body.site .com-content-article__body p,body.site .com-content-article__body li,body.site .com-content-article__body td{font-size:17px!important}}
/* === bannière fixe en haut (ordinateur + téléphone) === */
.mvs-stickybar{position:fixed;top:0;left:50%;width:100%;max-width:1200px;z-index:9000;background:#fff8e9;box-shadow:0 2px 8px rgba(0,0,0,.18);transform:translate(-50%,-110%);transition:transform .25s ease;visibility:hidden;line-height:0}
body.mvs-stuck .mvs-stickybar{transform:translate(-50%,0);visibility:visible}
.mvs-stickybar a{display:block;line-height:0}
.mvs-stickybar img{display:block;width:100%;object-fit:cover;object-position:center}
body.mvs-stuck .mvs-pub-droite{top:calc(var(--mvs-sb-h,150px) + 12px)!important}
/* === telephone : rien ne depasse a droite (bandeau fixe) 17/11/2026 === */
@media (max-width:767px){html:root body.site footer.container-footer > .grid-child{width:auto!important;max-width:none!important}}

/* MVS bandeau moins haut 21/11/2026 - debut */
html body.site .container-header a.brand-logo img{aspect-ratio:2172/360!important;height:auto!important;object-fit:cover!important;object-position:50% 45%!important}
/* MVS bandeau moins haut 21/11/2026 - fin */


/* === MVS 22/11/2026 (demande de Rémi) : corrections agenda et onglets === */
/* Fiches agenda : cacher le cadre vide des thèmes (les boutons ne s'affichent que sur la liste de l'agenda) */
html:root body .card:has(#mod-custom140):not(:has(#mvs-themes:not([hidden]))){display:none!important}
/* Agenda : cacher les boutons d'inscription iCagenda (S'inscrire / Inscriptions closes) */
html:root body .ic-registration-box{display:none!important}
/* Téléphone : bouton Rafraîchir réduit à l'icône pour ne plus cacher les onglets */
@media (max-width:767px){
html:root body .mvs-tabs .mvs-refresh{font-size:0!important;padding:0!important;width:36px!important;min-width:36px!important;height:36px!important;border-radius:50%!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;line-height:1!important;align-self:center}
html:root body .mvs-tabs .mvs-refresh::before{content:"\21BB";font-size:20px;line-height:1;font-weight:700}
}


/* « À lire aussi » : 3 articles récents de la même rubrique sous chaque article (26 nov. 2026) */
html:root body:not(.view-article) .mvs-a-lire-aussi{display:none!important}
html:root body .mvs-a-lire-aussi{margin-top:1.5rem}
html:root body .mvs-a-lire-aussi .mod-articles-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:16px!important;list-style:none!important;margin:0!important;padding:0!important}
html:root body .mvs-a-lire-aussi .mod-articles-grid>li{margin:0!important;padding:0!important;list-style:none!important}
html:root body .mvs-a-lire-aussi .mod-articles-item-content{display:flex!important;flex-direction:column-reverse!important;gap:8px}
html:root body .mvs-a-lire-aussi .mod-articles-image{margin:0!important;overflow:hidden;border-radius:6px}
html:root body .mvs-a-lire-aussi .mod-articles-image img{display:block;width:100%!important;height:auto!important;aspect-ratio:16/10;object-fit:cover}
html:root body .mvs-a-lire-aussi .mod-articles-title{font-size:1rem!important;line-height:1.3!important;margin:0!important}
html:root body .mvs-a-lire-aussi .mod-articles-title a{text-decoration:none;color:inherit}
html:root body .mvs-a-lire-aussi .mod-articles-title a:hover{text-decoration:underline}
@media (max-width:767px){
html:root body .mvs-a-lire-aussi .mod-articles-grid{grid-template-columns:1fr!important;gap:12px!important}
html:root body .mvs-a-lire-aussi .mod-articles-item-content{flex-direction:row-reverse!important;align-items:center}
html:root body .mvs-a-lire-aussi .mod-articles-image{flex:0 0 110px;width:110px}
html:root body .mvs-a-lire-aussi .mod-articles-title{flex:1;font-size:.95rem!important}
}

/* Flèches haut/bas en vert foncé (27 nov. 2026) */
html:root body.site #back-top#back-top,html:root body.site #mvs-go-down#mvs-go-down{background:#2f6a45!important;color:#fff!important;border:1px solid #2f6a45!important;box-shadow:0 2px 8px rgba(0,0,0,.25)!important}
html:root body.site #back-top#back-top *,html:root body.site #mvs-go-down#mvs-go-down *{color:#fff!important;fill:#fff!important}
html:root body.site #back-top#back-top:hover,html:root body.site #back-top#back-top:focus-visible,html:root body.site #mvs-go-down#mvs-go-down:hover,html:root body.site #mvs-go-down#mvs-go-down:focus-visible{background:#204b31!important;border-color:#204b31!important}

/* === Sondage accueil (28 nov. 2026) === */
.mvs-sondage-card{background:#e7f3e3;border:3px solid #4f9a4a;border-radius:18px;padding:14px 16px 12px;box-shadow:0 6px 18px rgba(31,58,95,.14)}
.mvs-sondage-head{display:flex;align-items:center;justify-content:center;gap:10px;margin-bottom:6px}
.mvs-sondage-head img{width:44px;height:44px;border-radius:10px;border:2px solid #4f9a4a;background:#fff;padding:2px}
.mvs-sondage-pill{background:#4f9a4a;color:#fff;font-weight:800;border-radius:999px;padding:5px 16px;font-size:.85rem;text-transform:uppercase;letter-spacing:.05em}
.mvs-sondage-q{color:#1f3a5f;font-weight:800;font-size:1.3rem;line-height:1.2;margin:6px 0 10px;text-align:center}
.mvs-sondage-card .acym_module_form,.mvs-sondage-card .acym_form{display:block}
.mvs-sondage-card .acym_lists{background:#fff;border:2px solid #4f9a4a;border-radius:14px;padding:2px 10px;margin:0 0 10px}
.mvs-sondage-card .acym_lists .onelist{display:flex;align-items:center;gap:10px;padding:8px 4px;border-bottom:1px solid #e3ece0;border-radius:8px;transition:background .15s}
.mvs-sondage-card .acym_lists .onelist:last-child{border-bottom:0}
.mvs-sondage-card .acym_lists .onelist:hover{background:#f1f8ef}
.mvs-sondage-card .acym_lists input[type=checkbox]{-webkit-appearance:none;appearance:none;width:24px;height:24px;flex:0 0 24px;margin:0;border:2.5px solid #1f3a5f;border-radius:6px;background:#fff;cursor:pointer;display:grid;place-content:center;transition:all .15s}
.mvs-sondage-card .acym_lists input[type=checkbox]:checked{background:#4f9a4a;border-color:#4f9a4a;transform:scale(1.08)}
.mvs-sondage-card .acym_lists input[type=checkbox]:checked::after{content:"\2713";color:#fff;font-weight:900;font-size:16px;line-height:1}
.mvs-sondage-card .acym_lists label{color:#1f3a5f;font-weight:600;font-size:1rem;margin:0;cursor:pointer;line-height:1.25}
.mvs-sondage-card .acym__user__edit__email{width:100%;border:2px solid #1f3a5f;border-radius:10px;padding:9px 12px;font-size:1rem}
.mvs-sondage-card .fieldacyterms{font-size:.82rem;margin-top:6px;color:#1f3a5f}
.mvs-sondage-card .acysubbuttons{margin:10px 0 0;text-align:center}
.mvs-sondage-card .subbutton{width:100%;background:#1f3a5f!important;border:0!important;border-radius:999px!important;color:#fff!important;font-weight:800!important;font-size:1.15rem!important;padding:11px 16px!important;animation:mvsSondagePulse 2.2s ease-in-out infinite}
.mvs-sondage-card .subbutton::before{content:"\1F5F3\FE0F  "}
.mvs-sondage-card .subbutton:hover,.mvs-sondage-card .subbutton:focus-visible{background:#4f9a4a!important}
@keyframes mvsSondagePulse{0%,100%{box-shadow:0 0 0 0 rgba(79,154,74,.55)}50%{box-shadow:0 0 0 9px rgba(79,154,74,0)}}
@media (prefers-reduced-motion:reduce){.mvs-sondage-card .subbutton{animation:none}}
.mvs-sondage-note{font-size:.8rem;color:#1f3a5f;text-align:center;margin:8px 0 0;opacity:.85}
.mvs-sondage-card .acym_module_form + p, .mvs-sondage-card .acym_fulldiv{margin:0}

.mvs-sondage-card{padding:10px 14px 10px}
.mvs-sondage-head{margin-bottom:2px}.mvs-sondage-head img{width:38px;height:38px}
.mvs-sondage-q{font-size:1.15rem;margin:4px 0 8px}
.mvs-sondage-card .acym_lists{margin-bottom:8px}
.mvs-sondage-card .acym_lists .onelist{padding:5px 4px}
.mvs-sondage-card .acym_lists label{font-size:.95rem}
.mvs-sondage-card .acym__user__edit__email{width:100%!important;max-width:none!important;box-sizing:border-box;padding:7px 12px}
.mvs-sondage-card .fieldacyterms{margin-top:4px}
.mvs-sondage-card .acysubbuttons{margin-top:8px}
.mvs-sondage-card .subbutton{padding:9px 16px!important}
.mvs-sondage-note{margin-top:6px}

/* Liens Special Noel en 2 colonnes, sur ordinateur (28 nov. 2026) */
@media (min-width:768px){
#mod-custom132 .mvs-une-video > div{display:grid!important;grid-template-columns:1fr 1fr;grid-template-rows:repeat(3,auto);grid-auto-flow:column;column-gap:28px;row-gap:8px;align-items:start}
#mod-custom132 .mvs-une-video > div > p{margin:0!important}
}
