.ofqd-commune-page{background:linear-gradient(180deg,#f4f8ff 0,#eef4fc 100%);color:#09235f;padding-bottom:54px}.ofqd-commune-page .ofqd-container{max-width:1180px;margin-inline:auto;padding-inline:22px}.ofqd-commune-hero{background:linear-gradient(125deg,#07245d 0,#0c4f91 64%,#37b9d1 100%);color:#fff;padding:58px 0 72px;position:relative;overflow:hidden}.ofqd-commune-hero:after{content:"";position:absolute;width:520px;height:520px;border-radius:50%;background:rgba(255,255,255,.09);right:-150px;top:-250px}.ofqd-commune-hero-inner{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:42px;align-items:center;position:relative;z-index:1}.ofqd-commune-kicker{text-transform:uppercase;letter-spacing:.15em;font-size:12px;font-weight:800;color:#ffcf32;margin:0 0 8px}.ofqd-commune-hero h1{font-size:clamp(38px,5vw,68px);line-height:.98;margin:0 0 14px;color:#fff}.ofqd-commune-location{font-size:16px;font-weight:700;margin:0 0 12px}.ofqd-commune-intro{font-size:18px;line-height:1.5;max-width:680px;margin:0 0 24px}.ofqd-commune-quicklinks{display:flex;flex-wrap:wrap;gap:9px}.ofqd-commune-quicklinks a{color:#fff;text-decoration:none;border:1px solid rgba(255,255,255,.32);background:rgba(255,255,255,.12);padding:9px 14px;border-radius:999px;font-size:13px;font-weight:800}.ofqd-commune-rodyn{display:flex;align-items:center;gap:16px;background:rgba(255,255,255,.94);color:#09235f;padding:17px;border-radius:24px;box-shadow:0 24px 60px rgba(0,0,0,.16)}.ofqd-commune-rodyn img{width:82px;height:82px;object-fit:cover;border-radius:50%;border:4px solid #ffcb22}.ofqd-commune-rodyn strong{font-size:18px}.ofqd-commune-rodyn p{margin:5px 0 0;line-height:1.35;color:#4e6287}.ofqd-commune-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-top:-34px;position:relative;z-index:2}.ofqd-commune-stats article{background:#fff;border:1px solid #dae5f5;border-radius:20px;padding:18px 20px;box-shadow:0 14px 36px rgba(17,49,101,.1)}.ofqd-commune-stats strong{display:block;font-size:22px;color:#e5162d}.ofqd-commune-stats span{font-size:12px;color:#657490;font-weight:700}.ofqd-commune-section{margin-top:44px}.ofqd-section-heading{display:flex;justify-content:space-between;gap:18px;align-items:end;margin-bottom:17px}.ofqd-section-heading span{color:#16875f;text-transform:uppercase;font-size:11px;font-weight:900;letter-spacing:.13em}.ofqd-section-heading h2{font-size:28px;margin:3px 0 0}.ofqd-section-heading>a{font-size:13px;font-weight:800;color:#0967d8;text-decoration:none}.ofqd-commune-event-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.ofqd-commune-event-card{background:#fff;border:1px solid #dce6f4;border-radius:17px;overflow:hidden;box-shadow:0 10px 25px rgba(14,42,87,.08);cursor:pointer;transition:.2s}.ofqd-commune-event-card:hover{transform:translateY(-3px);box-shadow:0 17px 38px rgba(14,42,87,.14)}.ofqd-commune-event-card .media{height:142px;background-size:cover;background-position:center;position:relative}.ofqd-commune-event-card .media span{position:absolute;top:8px;left:8px;background:#fff;color:#08265e;border-radius:999px;padding:4px 8px;font-size:10px;font-weight:900}.ofqd-commune-event-card .body{padding:10px 11px 11px}.ofqd-commune-event-card h3{font-size:14px;line-height:1.12;margin:0 0 7px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.ofqd-commune-event-card p{font-size:12px;margin:0 0 3px;color:#4e5f7d}.ofqd-commune-event-card .body>div{display:flex;align-items:center;gap:7px;font-size:12px;color:#4e5f7d}.ofqd-commune-event-card .body>div span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ofqd-commune-event-card button{margin-left:auto;width:25px;height:25px;border:1px solid #d7e1ef;border-radius:50%;background:#fff;color:#09235f}.ofqd-commune-two-columns{display:grid;grid-template-columns:1fr 1fr;gap:22px}.ofqd-local-list{display:grid;gap:10px}.ofqd-local-list article{display:grid;grid-template-columns:45px 1fr auto;align-items:center;gap:13px;background:#fff;border:1px solid #dce6f4;border-radius:17px;padding:14px 15px}.ofqd-local-list i{font-style:normal;font-size:25px;text-align:center}.ofqd-local-list h3{font-size:15px;margin:0 0 3px}.ofqd-local-list p{font-size:12px;color:#667590;margin:0}.ofqd-local-list b{font-size:24px;color:#1475dd}.ofqd-business-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.ofqd-business-grid article{display:grid;grid-template-columns:150px 1fr auto;min-height:132px;background:#fff;border:1px solid #dce6f4;border-radius:18px;overflow:hidden;box-shadow:0 10px 25px rgba(14,42,87,.07)}.ofqd-business-grid img{width:150px;height:100%;object-fit:cover}.ofqd-business-grid article>div{padding:13px 14px}.ofqd-business-grid article>div>span{display:inline-block;background:#edf9f3;color:#147548;border-radius:999px;padding:4px 8px;font-size:10px;font-weight:900}.ofqd-business-grid h3{font-size:16px;margin:7px 0 3px;text-align:center;color:#13814e}.ofqd-business-grid p{font-size:13px;line-height:1.2;margin:0 0 8px}.ofqd-business-grid small{color:#657490}.ofqd-business-grid button{align-self:start;margin:12px 12px 0 0;width:30px;height:30px;border:0;background:transparent;font-size:22px;color:#08265e}.ofqd-commune-map-layout{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:15px;background:#fff;border:1px solid #dce6f4;border-radius:22px;padding:14px}.ofqd-commune-map-layout #ofqdCommuneMap{height:410px;border-radius:16px;overflow:hidden}.ofqd-commune-map-layout aside{background:#f5f8fe;border-radius:16px;padding:20px}.ofqd-commune-map-layout aside h3{margin-top:0}.ofqd-commune-map-layout aside p{background:#fff;border-radius:12px;padding:12px;font-size:13px}.ofqd-commune-map-layout aside strong{display:block;color:#e5162d;font-size:22px}.ofqd-commune-map-layout aside a,.ofqd-commune-practical a{display:inline-block;background:#0b69da;color:#fff;text-decoration:none;font-weight:800;border-radius:12px;padding:11px 14px;font-size:12px}.ofqd-commune-practical{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:38px}.ofqd-commune-practical>div{background:#fff;border:1px solid #dce6f4;border-radius:18px;padding:18px}.ofqd-commune-practical span{font-size:28px}.ofqd-commune-practical h3{margin:8px 0 5px}.ofqd-commune-practical p{font-size:13px;line-height:1.4;color:#657490}.ofqd-commune-empty{background:#fff;border-radius:18px;padding:25px;border:1px solid #dce6f4}.ofqd-night .ofqd-commune-page{background:#07152e;color:#fff}.ofqd-night .ofqd-commune-page article,.ofqd-night .ofqd-commune-page .ofqd-commune-map-layout,.ofqd-night .ofqd-commune-practical>div{background:#10254e;border-color:#25416f}.ofqd-night .ofqd-local-list p,.ofqd-night .ofqd-commune-event-card p,.ofqd-night .ofqd-commune-event-card .body>div,.ofqd-night .ofqd-commune-practical p{color:#c1d0eb}@media(max-width:900px){.ofqd-commune-hero-inner{grid-template-columns:1fr}.ofqd-commune-rodyn{max-width:520px}.ofqd-commune-stats{grid-template-columns:repeat(2,1fr)}.ofqd-commune-event-grid{grid-template-columns:repeat(2,1fr)}.ofqd-commune-two-columns{grid-template-columns:1fr}.ofqd-business-grid{grid-template-columns:1fr}.ofqd-commune-map-layout{grid-template-columns:1fr}.ofqd-commune-practical{grid-template-columns:1fr}}@media(max-width:560px){.ofqd-commune-page .ofqd-container{padding-inline:12px}.ofqd-commune-hero{padding:36px 0 54px}.ofqd-commune-hero h1{font-size:40px}.ofqd-commune-intro{font-size:15px}.ofqd-commune-stats{gap:8px;margin-top:-28px}.ofqd-commune-stats article{padding:13px}.ofqd-commune-stats strong{font-size:17px}.ofqd-section-heading{align-items:start;flex-direction:column}.ofqd-section-heading h2{font-size:22px}.ofqd-commune-event-grid{grid-template-columns:1fr 1fr;gap:8px}.ofqd-commune-event-card .media{height:112px}.ofqd-commune-event-card h3{font-size:12px}.ofqd-business-grid article{grid-template-columns:112px 1fr auto}.ofqd-business-grid img{width:112px}.ofqd-commune-map-layout #ofqdCommuneMap{height:330px}}
.ofqd-breadcrumb{display:flex;align-items:center;gap:8px;margin:0 0 24px;font-size:12px;color:rgba(255,255,255,.78);position:relative;z-index:2}.ofqd-breadcrumb a{color:#fff;text-decoration:none}.ofqd-breadcrumb strong{color:#ffcf32}.ofqd-period-tabs{display:flex;justify-content:center;gap:8px;margin:-4px 0 16px}.ofqd-period-tabs a{background:#fff;border:1px solid #dce6f4;border-radius:999px;color:#09235f;text-decoration:none;font-size:12px;font-weight:800;padding:7px 13px}.ofqd-period-tabs a.active{background:#0b69da;color:#fff;border-color:#0b69da}.ofqd-nearby-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.ofqd-nearby-grid a{display:grid;grid-template-columns:40px 1fr auto;align-items:center;gap:10px;background:#fff;border:1px solid #dce6f4;border-radius:16px;padding:14px;text-decoration:none;color:#09235f;box-shadow:0 8px 22px rgba(14,42,87,.06)}.ofqd-nearby-grid a span{font-size:22px}.ofqd-nearby-grid a b{font-size:22px;color:#1475dd}@media(max-width:700px){.ofqd-nearby-grid{grid-template-columns:1fr}.ofqd-breadcrumb{margin-bottom:16px}.ofqd-period-tabs{justify-content:flex-start;overflow-x:auto;padding-bottom:4px}}

/* V150.2 — page commune premium stabilisée */
.ofqd-commune-hero{background-image:linear-gradient(90deg,rgba(4,33,88,.94) 0%,rgba(7,65,131,.83) 48%,rgba(4,38,87,.50) 100%),var(--commune-hero);background-size:cover;background-position:center;min-height:330px}
.ofqd-commune-hero:before{background:radial-gradient(circle at 92% 15%,rgba(29,194,239,.34),transparent 34%)}
.ofqd-commune-rodyn a{display:inline-flex;margin-top:10px;padding:8px 12px;border-radius:999px;background:#0b69da;color:#fff;text-decoration:none;font-size:12px;font-weight:800}
.ofqd-commune-stats article{position:relative;overflow:hidden}.ofqd-commune-stats article:after{content:"";position:absolute;inset:auto -28px -36px auto;width:86px;height:86px;border-radius:50%;background:rgba(27,117,221,.07)}
.ofqd-commune-stats strong{font-size:25px}.ofqd-commune-stats span{font-size:13px}
.ofqd-commune-map-filters{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:0 0 10px;padding:10px 12px;background:#fff;border:1px solid #dce6f4;border-radius:17px}
.ofqd-commune-map-filters button{border:0;border-radius:999px;background:#eef3fb;color:#09235f;padding:8px 12px;font-size:12px;font-weight:800;cursor:pointer}.ofqd-commune-map-filters button.active{background:#ffcb22}.ofqd-commune-map-filters label{margin-left:auto;display:flex;align-items:center;gap:7px;font-size:12px;font-weight:800}.ofqd-commune-map-filters select{border:1px solid #d3dfef;border-radius:10px;padding:7px 30px 7px 9px;background:#fff;color:#09235f}
/* V150.3 — Professionnels en 3 colonnes, cartes compactes */
.ofqd-business-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.ofqd-business-grid article{display:flex;flex-direction:column;min-height:0;position:relative;background:#fff;border:1px solid #dce6f4;border-radius:18px;overflow:hidden;box-shadow:0 10px 25px rgba(14,42,87,.07)}
.ofqd-business-grid img{width:100%;height:165px;object-fit:cover;display:block}
.ofqd-business-grid article>div{padding:11px 13px 13px;min-width:0}
.ofqd-business-grid article>div>span{display:inline-block;background:#edf9f3;color:#147548;border-radius:999px;padding:4px 8px;font-size:10px;font-weight:900}
.ofqd-business-grid h3{font-size:16px;line-height:1.12;margin:7px 32px 4px;text-align:center;color:#13814e;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.ofqd-business-grid p{font-size:12px;line-height:1.18;margin:0 0 7px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.ofqd-business-grid small{display:block;color:#657490;font-size:11px}
.ofqd-business-grid button{position:absolute;right:9px;top:174px;margin:0;width:29px;height:29px;border:1px solid #d7e1ef;border-radius:50%;background:#fff;font-size:18px;color:#08265e;display:flex;align-items:center;justify-content:center}
@media(max-width:900px){.ofqd-business-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.ofqd-business-grid{grid-template-columns:1fr}.ofqd-business-grid img{height:150px}.ofqd-business-grid button{top:159px}}

/* V150.4 — cartes professionnels compactes en carrousel */
.ofqd-business-card{position:relative;flex:0 0 calc((100% - 42px)/4);min-width:220px;scroll-snap-align:start;background:#fff;border:1px solid #dce6f4;border-radius:18px;overflow:hidden;box-shadow:0 10px 25px rgba(14,42,87,.07);transition:transform .18s ease,box-shadow .18s ease}
.ofqd-business-card:hover{transform:translateY(-3px);box-shadow:0 16px 34px rgba(14,42,87,.13)}
.ofqd-business-card-link{display:block;color:inherit;text-decoration:none}.ofqd-business-card img{display:block;width:100%;height:108px;object-fit:cover}.ofqd-business-card-body{padding:9px 11px 11px}.ofqd-business-card h3{font-size:14px;line-height:1.1;margin:7px 34px 3px 0;color:#13814e;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ofqd-business-card p{font-size:11.5px;line-height:1.15;margin:0 0 7px;color:#3f506d;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ofqd-business-card small{font-size:11px;color:#657490}.ofqd-business-favorite{position:absolute;right:9px;top:117px;width:28px;height:28px}
.ofqd-commune-event-card .ofqd-meta-line{font-size:12px;color:#4e5f7d}.ofqd-commune-event-card .ofqd-meta-row{margin-top:3px}.ofqd-commune-event-card .ofqd-favorite-btn{margin-left:auto;width:25px;height:25px}.ofqd-commune-event-card .ofqd-favorite-btn .ofqd-icon{width:14px;height:14px}
.ofqd-nearby-grid .ofqd-icon{width:24px;height:24px}.ofqd-commune-practical>div>span .ofqd-icon{width:30px;height:30px;color:#0b69da}
@media(max-width:1000px){.ofqd-business-card{flex-basis:calc((100% - 28px)/3)}}
@media(max-width:760px){.ofqd-business-card{flex-basis:calc((100% - 10px)/2);min-width:210px}}
@media(max-width:520px){.ofqd-business-card{flex-basis:82%;min-width:240px}.ofqd-business-card img{height:120px}.ofqd-business-favorite{top:129px}}


/* V150.6 — présentation commune de référence */
.ofqd-commune-hero-inner{display:block;position:relative;z-index:1}
.ofqd-commune-hero-copy{max-width:980px}
.ofqd-commune-intro{max-width:980px;line-height:1.28;margin-bottom:20px}
.ofqd-commune-intro span{display:block}
.ofqd-section-heading h2{margin-top:0}
@media(min-width:901px){.ofqd-commune-intro span{white-space:nowrap}}
@media(max-width:900px){.ofqd-commune-intro span{white-space:normal}}

/* V151 — fiche commune alignée sur la maquette OFQD validée */
.ofqd-commune-page .ofqd-container{max-width:1450px;padding-inline:24px}
.ofqd-commune-hero{min-height:210px;padding:18px 0 42px;background-position:center 44%}
.ofqd-commune-hero-copy{max-width:780px}
.ofqd-commune-hero-copy:before{content:"Bienvenue à";display:block;font-size:18px;font-weight:800;margin-bottom:2px}
.ofqd-commune-hero h1{font-size:clamp(46px,5vw,72px);margin-bottom:4px}
.ofqd-commune-location{font-size:16px;margin-bottom:14px}
.ofqd-commune-intro{display:none}
.ofqd-commune-quicklinks{gap:10px}
.ofqd-commune-quicklinks a{border-radius:9px;padding:9px 17px;background:rgba(4,20,56,.55);border-color:rgba(255,255,255,.62)}
.ofqd-commune-quicklinks a:first-child{background:#0b67ef;border-color:#0b67ef}
.ofqd-commune-stats{gap:14px;margin-top:-28px}
.ofqd-commune-stats article{min-height:72px;border-radius:9px;padding:15px 22px 12px 78px;display:flex;flex-direction:column;justify-content:center}
.ofqd-commune-stats article:before{content:"";position:absolute;left:22px;top:18px;width:34px;height:34px;background:center/contain no-repeat}
.ofqd-commune-stats article:nth-child(1):before,.ofqd-commune-stats article:nth-child(2):before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%230b2473' stroke-width='2' viewBox='0 0 24 24'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M16 3v4M8 3v4M3 11h18'/%3E%3C/svg%3E")}
.ofqd-commune-stats article:nth-child(3):before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%230b2473' stroke-width='2' viewBox='0 0 24 24'%3E%3Ccircle cx='9' cy='8' r='4'/%3E%3Cpath d='M2 21v-2a7 7 0 0 1 14 0v2M16 3.5a4 4 0 0 1 0 7.5M17 14a6 6 0 0 1 5 5v2'/%3E%3C/svg%3E")}
.ofqd-commune-stats article:nth-child(4):before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%230b2473' stroke-width='2' viewBox='0 0 24 24'%3E%3Crect x='3' y='7' width='18' height='13' rx='2'/%3E%3Cpath d='M8 7V5a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2M3 12h18M10 12v2h4v-2'/%3E%3C/svg%3E")}
.ofqd-commune-stats strong{font-size:28px;line-height:1;color:#ed152b}.ofqd-commune-stats span{font-size:13px;color:#0b2473}
.ofqd-commune-section{margin-top:24px}.ofqd-section-heading{margin-bottom:10px}.ofqd-section-heading h2{font-size:22px}
.ofqd-period-tabs{margin:-34px 0 10px;justify-content:center}.ofqd-period-tabs a{padding:6px 15px;border-radius:7px}
.ofqd-commune-event-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}
.ofqd-commune-event-card{border-radius:8px}.ofqd-commune-event-card .media{height:108px}.ofqd-commune-event-card .body{padding:8px 10px}.ofqd-commune-event-card h3{font-size:13px;min-height:29px}.ofqd-commune-event-card p,.ofqd-commune-event-card .body>div{font-size:11px}
.ofqd-business-card{flex-basis:calc((100% - 50px)/6);min-width:180px;border-radius:8px}.ofqd-business-card img{height:90px}.ofqd-business-card-body{padding:7px 9px 9px}.ofqd-business-card h3{font-size:13px;margin-top:5px}.ofqd-business-card p{font-size:11px}.ofqd-business-favorite{top:97px}
.ofqd-commune-dashboard{display:grid;grid-template-columns:255px 255px minmax(430px,1fr) 210px 245px;gap:12px;align-items:stretch;margin-top:16px}
.ofqd-commune-dashboard .ofqd-commune-section{margin-top:0;background:#fff;border:1px solid #dce6f4;border-radius:10px;padding:12px}
.ofqd-commune-dashboard .ofqd-section-heading{margin-bottom:8px}.ofqd-commune-dashboard .ofqd-section-heading h2{font-size:17px}
.ofqd-commune-dashboard .ofqd-local-list{gap:7px}.ofqd-commune-dashboard .ofqd-local-list article{grid-template-columns:30px 1fr;border:0;border-radius:0;padding:5px 0;background:transparent}.ofqd-commune-dashboard .ofqd-local-list article b{display:none}.ofqd-commune-dashboard .ofqd-local-list i{font-size:20px}.ofqd-commune-dashboard .ofqd-local-list h3{font-size:12px}.ofqd-commune-dashboard .ofqd-local-list p{font-size:10px}
.ofqd-dashboard-map{min-width:0}.ofqd-dashboard-map .ofqd-commune-map-filters{padding:0;border:0;margin:0 0 7px;gap:5px}.ofqd-dashboard-map .ofqd-commune-map-filters button{padding:5px 9px;font-size:10px}.ofqd-dashboard-map .ofqd-commune-map-filters label{display:none}.ofqd-dashboard-map #ofqdCommuneMap{height:158px;border-radius:8px}
.ofqd-dashboard-radius h2,.ofqd-dashboard-nearby h2{font-size:17px;margin:0 0 10px}.ofqd-dashboard-radius p{font-size:12px;margin:8px 0}.ofqd-dashboard-radius strong{display:block;color:#ed152b;font-size:24px}.ofqd-dashboard-radius a{display:inline-block;margin-top:8px;background:#0b67ef;color:#fff;text-decoration:none;padding:8px 11px;border-radius:7px;font-size:11px;font-weight:800}
.ofqd-dashboard-nearby .ofqd-nearby-grid{grid-template-columns:1fr;gap:2px}.ofqd-dashboard-nearby .ofqd-nearby-grid a{display:flex;border:0;box-shadow:none;padding:2px 0;background:transparent;font-size:11px}.ofqd-dashboard-nearby .ofqd-nearby-grid a span{font-size:13px}.ofqd-dashboard-nearby .ofqd-nearby-grid a b{display:none}.ofqd-dashboard-nearby>a{display:block;margin-top:8px;color:#0967d8;font-size:11px;font-weight:800;text-decoration:none}
.ofqd-commune-practical{margin-top:14px}.ofqd-commune-practical>div{border-radius:10px;padding:14px}.ofqd-commune-practical h3{font-size:14px}.ofqd-commune-practical p{font-size:11px}
@media(max-width:1250px){.ofqd-commune-event-grid{grid-template-columns:repeat(4,1fr)}.ofqd-business-card{flex-basis:calc((100% - 30px)/4)}.ofqd-commune-dashboard{grid-template-columns:1fr 1fr 2fr}.ofqd-dashboard-radius,.ofqd-dashboard-nearby{grid-column:auto}}
@media(max-width:900px){.ofqd-commune-hero{min-height:245px}.ofqd-commune-event-grid{grid-template-columns:repeat(2,1fr)}.ofqd-business-card{flex-basis:calc((100% - 10px)/2)}.ofqd-commune-dashboard{grid-template-columns:1fr 1fr}.ofqd-dashboard-map{grid-column:1/-1}.ofqd-dashboard-radius,.ofqd-dashboard-nearby{grid-column:auto}}
@media(max-width:560px){.ofqd-commune-page .ofqd-container{padding-inline:12px}.ofqd-commune-hero{padding-top:24px}.ofqd-commune-hero-copy:before{font-size:15px}.ofqd-commune-hero h1{font-size:42px}.ofqd-commune-stats article{padding-left:52px}.ofqd-commune-stats article:before{left:14px;width:26px}.ofqd-period-tabs{margin:0 0 10px;justify-content:flex-start}.ofqd-commune-dashboard{grid-template-columns:1fr}.ofqd-dashboard-map,.ofqd-dashboard-radius,.ofqd-dashboard-nearby{grid-column:auto}.ofqd-dashboard-map #ofqdCommuneMap{height:260px}}

/* V152 — vignettes compactes, priorité absolue à l'image */
.ofqd-sorties-title span{display:block}

/* La hauteur totale reste stable : l'espace retiré au texte est rendu à l'image. */
.ofqd-commune-event-card{height:188px;display:flex;flex-direction:column}
.ofqd-commune-event-card .media{height:128px;min-height:128px;flex:0 0 128px}
.ofqd-commune-event-card .body{height:60px;min-height:60px;padding:5px 9px 4px;display:grid;grid-template-rows:auto auto;align-content:center;gap:2px;overflow:hidden}
.ofqd-commune-event-card h3{font-size:12.5px;line-height:1.08;min-height:0;margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.ofqd-commune-event-card .ofqd-meta-line{font-size:10.5px;line-height:1;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ofqd-commune-event-card .ofqd-meta-line .ofqd-icon{width:12px;height:12px;flex:0 0 12px}
.ofqd-commune-event-card .ofqd-meta-row{margin:0;min-height:14px}
.ofqd-commune-event-card .ofqd-favorite-btn{width:22px;height:22px;min-width:22px}

.ofqd-business-card{height:164px;display:flex;flex-direction:column}
.ofqd-business-card-link{height:100%;display:flex;flex-direction:column}
.ofqd-business-card img{height:108px;min-height:108px;flex:0 0 108px}
.ofqd-business-card-body{height:56px;min-height:56px;padding:4px 8px 3px;display:grid;grid-template-columns:1fr auto;grid-template-areas:"title badge" "meta meta";align-content:center;column-gap:5px;row-gap:2px;overflow:hidden}
.ofqd-business-card .ofqd-badge{grid-area:badge;margin:0;padding:2px 5px;font-size:9px;line-height:1;white-space:nowrap}
.ofqd-business-card .ofqd-badge .ofqd-icon{display:none}
.ofqd-business-card h3{grid-area:title;font-size:12.5px;line-height:1.05;margin:0;color:#0b2473;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ofqd-business-card p{display:none}
.ofqd-business-card small{grid-area:meta;font-size:10.5px;line-height:1;margin:0}
.ofqd-business-card small .ofqd-icon{width:12px;height:12px}
.ofqd-business-favorite{top:84px;width:23px;height:23px}

@media(max-width:900px){
  .ofqd-commune-event-card{height:194px}
  .ofqd-commune-event-card .media{height:134px;min-height:134px;flex-basis:134px}
  .ofqd-business-card{height:174px}
  .ofqd-business-card img{height:116px;min-height:116px;flex-basis:116px}
  .ofqd-business-favorite{top:92px}
}
@media(max-width:560px){
  .ofqd-sorties-title span{display:inline}
  .ofqd-sorties-title span+span:before{content:" ";}
  .ofqd-commune-event-card{height:205px}
  .ofqd-commune-event-card .media{height:143px;min-height:143px;flex-basis:143px}
  .ofqd-business-card{height:184px}
  .ofqd-business-card img{height:124px;min-height:124px;flex-basis:124px}
  .ofqd-business-favorite{top:100px}
}

/* V153 — 12 sorties visibles : 2 lignes de 6 sur grand écran */
@media(min-width:1251px){
  .ofqd-commune-event-grid{grid-template-columns:repeat(6,minmax(0,1fr));}
  .ofqd-commune-event-grid .ofqd-commune-event-card{display:flex;}
}

/* V155 — harmonisation finale de la fiche commune */
.ofqd-sorties-title{
  color:#09235f!important;
  text-transform:none!important;
  letter-spacing:0!important;
  font-size:22px!important;
  line-height:1.1;
  font-weight:800;
}

/* Les professionnels utilisent exactement le gabarit image/texte des événements. */
.ofqd-carousel-track{align-items:stretch}
.ofqd-business-card.ofqd-commune-event-card{
  flex:0 0 calc((100% - 50px)/6);
  min-width:0;
  height:188px;
  position:relative;
}
.ofqd-business-card-link{display:flex;flex-direction:column;height:100%;color:inherit;text-decoration:none}
.ofqd-business-card.ofqd-commune-event-card .media{height:128px;min-height:128px;flex:0 0 128px;background-size:cover;background-position:center;position:relative}
.ofqd-business-card.ofqd-commune-event-card .body{height:60px;min-height:60px;padding:5px 9px 4px;display:grid;grid-template-rows:auto auto;align-content:center;gap:2px;overflow:hidden}
.ofqd-business-card.ofqd-commune-event-card h3{font-size:12.5px;line-height:1.08;min-height:0;margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;color:#09235f}
.ofqd-business-card .ofqd-meta-row{display:flex;align-items:center;gap:7px;min-width:0}
.ofqd-business-card .ofqd-meta-line{font-size:10.5px;line-height:1;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.ofqd-business-card .ofqd-meta-line .ofqd-icon{width:12px;height:12px;flex:0 0 12px}
.ofqd-business-distance{margin-left:auto!important}
.ofqd-business-favorite{position:absolute;top:8px;right:8px;z-index:4;width:25px;height:25px;margin:0!important;border:1px solid rgba(255,255,255,.8)!important;background:rgba(4,22,60,.62)!important;color:#fff!important}

/* Carte visible même dans le tableau compact. */
.ofqd-dashboard-map #ofqdCommuneMap{min-height:158px;background:#dfe9f4}

/* Blocs pratiques plus compacts. */
.ofqd-commune-practical>div{min-height:0;padding:10px 14px;display:grid;grid-template-columns:34px 1fr;column-gap:10px;align-items:start}
.ofqd-commune-practical>div>span{grid-row:1/4;font-size:25px}
.ofqd-commune-practical h3{margin:0 0 3px;font-size:13px}
.ofqd-commune-practical p{margin:0;font-size:10.5px;line-height:1.25}
.ofqd-commune-practical a{margin-top:6px;padding:7px 10px}

@media(max-width:1250px){
  .ofqd-business-card.ofqd-commune-event-card{flex-basis:calc((100% - 30px)/4)}
}
@media(max-width:900px){
  .ofqd-business-card.ofqd-commune-event-card{flex-basis:calc((100% - 10px)/2);height:194px}
  .ofqd-business-card.ofqd-commune-event-card .media{height:134px;min-height:134px;flex-basis:134px}
}
@media(max-width:560px){
  .ofqd-business-card.ofqd-commune-event-card{flex-basis:82%;height:205px}
  .ofqd-business-card.ofqd-commune-event-card .media{height:143px;min-height:143px;flex-basis:143px}
  .ofqd-commune-practical{grid-template-columns:1fr}
}

/* V156 — priorité maximale à l'image et hiérarchie typographique */
/* Hauteur totale inchangée : 8 px repris au texte sont ajoutés à l'image. */
.ofqd-commune-event-card{
  height:188px;
}
.ofqd-commune-event-card .media{
  height:136px;
  min-height:136px;
  flex:0 0 136px;
}
.ofqd-commune-event-card .body{
  height:52px;
  min-height:52px;
  padding:4px 8px 3px;
  display:grid;
  grid-template-rows:minmax(0,auto) auto auto;
  align-content:center;
  gap:1px;
  overflow:hidden;
}
/* Titre : élément le plus visible. */
.ofqd-commune-event-card h3{
  font-size:13.5px;
  line-height:1.02;
  font-weight:800;
  margin:0;
  min-height:0;
  -webkit-line-clamp:2;
}
/* Date et heure : information la plus petite. */
.ofqd-commune-event-card .body>p.ofqd-meta-line{
  font-size:9.25px;
  line-height:1;
  color:#71809a;
  margin:1px 0 0;
}
.ofqd-commune-event-card .body>p.ofqd-meta-line .ofqd-icon{
  width:10px;
  height:10px;
  flex:0 0 10px;
}
/* Ville : légèrement plus visible que la date, sans concurrencer le titre. */
.ofqd-commune-event-card .ofqd-meta-row{
  min-height:11px;
  margin:0;
  line-height:1;
}
.ofqd-commune-event-card .ofqd-meta-row .ofqd-meta-line{
  font-size:10.25px;
  line-height:1;
  color:#596a88;
}
.ofqd-commune-event-card .ofqd-meta-row .ofqd-icon{
  width:10px;
  height:10px;
  flex:0 0 10px;
}
.ofqd-commune-event-card .ofqd-favorite-btn{
  width:20px;
  height:20px;
  min-width:20px;
}

/* Même priorité à l'image pour Artisans & Commerçants. */
.ofqd-business-card.ofqd-commune-event-card .media{
  height:136px;
  min-height:136px;
  flex-basis:136px;
}
.ofqd-business-card.ofqd-commune-event-card .body{
  height:52px;
  min-height:52px;
  padding:4px 8px 3px;
  gap:1px;
}
.ofqd-business-card.ofqd-commune-event-card h3{
  font-size:13.5px;
  line-height:1.02;
  font-weight:800;
}
.ofqd-business-card .ofqd-meta-row .ofqd-meta-line{
  font-size:9.75px;
  line-height:1;
}

@media(max-width:900px){
  .ofqd-commune-event-card,
  .ofqd-business-card.ofqd-commune-event-card{height:194px}
  .ofqd-commune-event-card .media,
  .ofqd-business-card.ofqd-commune-event-card .media{height:142px;min-height:142px;flex-basis:142px}
  .ofqd-commune-event-card .body,
  .ofqd-business-card.ofqd-commune-event-card .body{height:52px;min-height:52px}
}
@media(max-width:560px){
  .ofqd-commune-event-card,
  .ofqd-business-card.ofqd-commune-event-card{height:205px}
  .ofqd-commune-event-card .media,
  .ofqd-business-card.ofqd-commune-event-card .media{height:151px;min-height:151px;flex-basis:151px}
  .ofqd-commune-event-card .body,
  .ofqd-business-card.ofqd-commune-event-card .body{height:54px;min-height:54px}
  .ofqd-commune-event-card h3,
  .ofqd-business-card.ofqd-commune-event-card h3{font-size:13px}
}

/* V157 — hiérarchie finale : image prioritaire, titre dominant, métadonnées serrées */
/* La hauteur générale et la hauteur d'image de V156 restent strictement inchangées. */
.ofqd-commune-event-card .body,
.ofqd-business-card.ofqd-commune-event-card .body{
  padding:3px 8px 3px;
  grid-template-rows:minmax(0,auto) auto auto;
  align-content:center;
  row-gap:1px;
}

.ofqd-commune-event-card h3,
.ofqd-business-card.ofqd-commune-event-card h3{
  font-size:15px;
  line-height:1.06;
  font-weight:800;
  margin:0 0 2px;
  max-height:2.12em;
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  overflow:hidden;
}

/* Date et heure : la ligne la plus petite et la plus discrète. */
.ofqd-commune-event-card .body>p.ofqd-meta-line{
  font-size:9.5px;
  line-height:1;
  color:#74829a;
  margin:0 0 1px;
}

/* Ville : plus lisible que la date, mais toujours secondaire au titre. */
.ofqd-commune-event-card .ofqd-meta-row .ofqd-meta-line,
.ofqd-business-card .ofqd-meta-row .ofqd-meta-line{
  font-size:10.75px;
  line-height:1;
  color:#536582;
  font-weight:500;
}

.ofqd-commune-event-card .body>p.ofqd-meta-line .ofqd-icon,
.ofqd-commune-event-card .ofqd-meta-row .ofqd-icon,
.ofqd-business-card .ofqd-meta-row .ofqd-icon{
  width:10px;
  height:10px;
  flex:0 0 10px;
}

@media(max-width:900px){
  .ofqd-commune-event-card h3,
  .ofqd-business-card.ofqd-commune-event-card h3{font-size:14.5px}
}
@media(max-width:560px){
  .ofqd-commune-event-card h3,
  .ofqd-business-card.ofqd-commune-event-card h3{font-size:14px}
  .ofqd-commune-event-card .body>p.ofqd-meta-line{font-size:9.25px}
  .ofqd-commune-event-card .ofqd-meta-row .ofqd-meta-line,
  .ofqd-business-card .ofqd-meta-row .ofqd-meta-line{font-size:10.5px}
}

/* V158 — titres lisibles sur 2 lignes, hauteur totale inchangée */
/* 8 px sont rendus à la zone texte pour éviter toute coupe du titre. */
.ofqd-commune-event-card,
.ofqd-business-card.ofqd-commune-event-card{
  height:188px;
}

.ofqd-commune-event-card .media,
.ofqd-business-card.ofqd-commune-event-card .media{
  height:128px;
  min-height:128px;
  flex:0 0 128px;
}

.ofqd-commune-event-card .body,
.ofqd-business-card.ofqd-commune-event-card .body{
  height:60px;
  min-height:60px;
  padding:5px 8px 4px;
  display:grid;
  grid-template-rows:minmax(0,auto) auto auto;
  align-content:center;
  row-gap:2px;
  overflow:hidden;
}

.ofqd-commune-event-card h3,
.ofqd-business-card.ofqd-commune-event-card h3{
  font-size:13.5px;
  line-height:1.1;
  font-weight:800;
  margin:0;
  min-height:2.2em;
  max-height:2.2em;
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  overflow:hidden;
}

.ofqd-commune-event-card .body>p.ofqd-meta-line{
  font-size:9.25px;
  line-height:1;
  margin:0;
}

.ofqd-commune-event-card .ofqd-meta-row,
.ofqd-business-card .ofqd-meta-row{
  min-height:12px;
  margin:0;
}

.ofqd-commune-event-card .ofqd-meta-row .ofqd-meta-line,
.ofqd-business-card .ofqd-meta-row .ofqd-meta-line{
  font-size:10.25px;
  line-height:1;
}

@media(max-width:900px){
  .ofqd-commune-event-card,
  .ofqd-business-card.ofqd-commune-event-card{height:194px}
  .ofqd-commune-event-card .media,
  .ofqd-business-card.ofqd-commune-event-card .media{height:134px;min-height:134px;flex-basis:134px}
  .ofqd-commune-event-card .body,
  .ofqd-business-card.ofqd-commune-event-card .body{height:60px;min-height:60px}
}

@media(max-width:560px){
  .ofqd-commune-event-card,
  .ofqd-business-card.ofqd-commune-event-card{height:205px}
  .ofqd-commune-event-card .media,
  .ofqd-business-card.ofqd-commune-event-card .media{height:143px;min-height:143px;flex-basis:143px}
  .ofqd-commune-event-card .body,
  .ofqd-business-card.ofqd-commune-event-card .body{height:62px;min-height:62px}
  .ofqd-commune-event-card h3,
  .ofqd-business-card.ofqd-commune-event-card h3{font-size:13px}
}

/* V159 — harmonisation définitive des vignettes et liens de la fiche commune */
/* Hauteur totale inchangée : image prioritaire, mais deux lignes de titre réellement lisibles. */
.ofqd-commune-event-card,
.ofqd-business-card.ofqd-commune-event-card{
  height:188px;
}

.ofqd-commune-event-card .media,
.ofqd-business-card.ofqd-commune-event-card .media{
  width:100%;
  height:124px;
  min-height:124px;
  flex:0 0 124px;
  margin:0;
  border-radius:0;
  background-size:cover;
  background-position:center;
}

.ofqd-commune-event-card .body,
.ofqd-business-card.ofqd-commune-event-card .body{
  box-sizing:border-box;
  width:100%;
  height:64px;
  min-height:64px;
  padding:5px 8px 4px;
  display:grid;
  grid-template-rows:minmax(30px,auto) 11px 11px;
  align-content:center;
  row-gap:1px;
  overflow:visible;
}

.ofqd-commune-event-card h3,
.ofqd-business-card.ofqd-commune-event-card h3{
  margin:0;
  min-height:30px;
  max-height:30px;
  font-size:13.5px;
  font-weight:800;
  line-height:1.1;
  color:#09235f;
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:normal;
}

.ofqd-commune-event-card .body>p.ofqd-meta-line{
  margin:0;
  font-size:9px;
  line-height:1;
  color:#6b7280;
}

.ofqd-commune-event-card .ofqd-meta-row,
.ofqd-business-card .ofqd-meta-row{
  min-height:11px;
  margin:0;
  display:flex;
  align-items:center;
  gap:6px;
}

.ofqd-commune-event-card .ofqd-meta-row .ofqd-meta-line,
.ofqd-business-card .ofqd-meta-row .ofqd-meta-line{
  margin:0;
  font-size:10.25px;
  line-height:1;
  color:#52617b;
}

/* Les cartes professionnels reprennent strictement le cadre des événements. */
.ofqd-business-card.ofqd-commune-event-card{
  min-width:0;
  padding:0;
  border-radius:8px;
  overflow:hidden;
}
.ofqd-business-card-link{
  width:100%;
  height:100%;
  margin:0;
  padding:0;
  display:flex;
  flex-direction:column;
}
.ofqd-business-card.ofqd-commune-event-card img{
  display:block;
  width:100%;
  height:124px;
  min-height:124px;
  flex:0 0 124px;
  margin:0;
  padding:0;
  object-fit:cover;
  border-radius:0;
}
.ofqd-business-card.ofqd-commune-event-card .body,
.ofqd-business-card.ofqd-commune-event-card .ofqd-business-card-body{
  box-sizing:border-box;
  width:100%;
  height:64px;
  min-height:64px;
  padding:5px 8px 4px;
  overflow:visible;
}
.ofqd-business-favorite,
.ofqd-business-card .ofqd-favorite-btn{
  top:7px;
  right:7px;
}

/* Tous les liens de fin de bloc utilisent la flèche OFQD, sans soulignement. */
.ofqd-commune-page .ofqd-section-heading>a,
.ofqd-commune-page .ofqd-local-list+a,
.ofqd-commune-page .ofqd-commune-dashboard a,
.ofqd-commune-page .ofqd-dashboard-nearby>a,
.ofqd-commune-page .ofqd-nearby-grid a,
.ofqd-commune-page a[class*="view-all"],
.ofqd-commune-page a[class*="voir-tous"]{
  text-decoration:none!important;
  text-underline-offset:0!important;
}

@media(max-width:900px){
  .ofqd-commune-event-card,
  .ofqd-business-card.ofqd-commune-event-card{height:194px}
  .ofqd-commune-event-card .media,
  .ofqd-business-card.ofqd-commune-event-card .media,
  .ofqd-business-card.ofqd-commune-event-card img{height:130px;min-height:130px;flex-basis:130px}
  .ofqd-commune-event-card .body,
  .ofqd-business-card.ofqd-commune-event-card .body,
  .ofqd-business-card.ofqd-commune-event-card .ofqd-business-card-body{height:64px;min-height:64px}
}

@media(max-width:560px){
  .ofqd-commune-event-card,
  .ofqd-business-card.ofqd-commune-event-card{height:205px}
  .ofqd-commune-event-card .media,
  .ofqd-business-card.ofqd-commune-event-card .media,
  .ofqd-business-card.ofqd-commune-event-card img{height:139px;min-height:139px;flex-basis:139px}
  .ofqd-commune-event-card .body,
  .ofqd-business-card.ofqd-commune-event-card .body,
  .ofqd-business-card.ofqd-commune-event-card .ofqd-business-card-body{height:66px;min-height:66px}
  .ofqd-commune-event-card h3,
  .ofqd-business-card.ofqd-commune-event-card h3{font-size:13px}
}

/* V160 — finitions validées sur capture : titres, professionnels, liens et compteurs */
.ofqd-commune-stats{
  grid-template-columns:repeat(auto-fit,minmax(210px,1fr));
}

/* Hauteur totale inchangée (188 px), avec une vraie zone de deux lignes. */
.ofqd-commune-event-card,
.ofqd-business-card.ofqd-commune-event-card{
  box-sizing:border-box;
  height:188px!important;
  min-height:188px!important;
  display:flex!important;
  flex-direction:column!important;
  padding:0!important;
  overflow:hidden!important;
}
.ofqd-commune-event-card .media,
.ofqd-business-card.ofqd-commune-event-card .media,
.ofqd-business-card.ofqd-commune-event-card img{
  box-sizing:border-box;
  width:100%!important;
  height:118px!important;
  min-height:118px!important;
  flex:0 0 118px!important;
  margin:0!important;
  padding:0!important;
  border-radius:0!important;
  object-fit:cover!important;
  background-size:cover!important;
  background-position:center!important;
}
.ofqd-commune-event-card .body,
.ofqd-business-card.ofqd-commune-event-card .body,
.ofqd-business-card.ofqd-commune-event-card .ofqd-business-card-body{
  box-sizing:border-box!important;
  width:100%!important;
  height:70px!important;
  min-height:70px!important;
  flex:0 0 70px!important;
  padding:5px 8px 4px!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:flex-start!important;
  gap:2px!important;
  overflow:hidden!important;
}
.ofqd-commune-event-card h3,
.ofqd-business-card.ofqd-commune-event-card h3{
  display:-webkit-box!important;
  -webkit-box-orient:vertical!important;
  -webkit-line-clamp:2!important;
  white-space:normal!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  flex:0 0 auto!important;
  min-height:29px!important;
  max-height:29px!important;
  margin:0!important;
  padding:0!important;
  font-size:13px!important;
  line-height:1.1!important;
  font-weight:800!important;
  color:#09235f!important;
}
.ofqd-commune-event-card .body>p.ofqd-meta-line{
  flex:0 0 11px!important;
  min-height:11px!important;
  margin:0!important;
  font-size:8.75px!important;
  line-height:1!important;
  color:#748097!important;
  overflow:hidden!important;
}
.ofqd-commune-event-card .ofqd-meta-row,
.ofqd-business-card.ofqd-commune-event-card .ofqd-meta-row{
  flex:0 0 14px!important;
  min-height:14px!important;
  width:100%!important;
  margin:0!important;
  display:flex!important;
  align-items:center!important;
  gap:5px!important;
  overflow:visible!important;
}
.ofqd-commune-event-card .ofqd-meta-row .ofqd-meta-line,
.ofqd-business-card.ofqd-commune-event-card .ofqd-meta-row .ofqd-meta-line{
  min-width:0!important;
  margin:0!important;
  font-size:9.5px!important;
  line-height:1!important;
  color:#52617b!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.ofqd-commune-event-card .ofqd-favorite-btn{
  width:20px!important;
  height:20px!important;
  min-width:20px!important;
  margin-left:auto!important;
  flex:0 0 20px!important;
}

/* Six cartes professionnelles complètes, sans cadre blanc intérieur. */
.ofqd-carousel-track{
  align-items:stretch!important;
}
.ofqd-business-card.ofqd-commune-event-card{
  flex:0 0 calc((100% - 70px)/6)!important;
  width:calc((100% - 70px)/6)!important;
  min-width:0!important;
  max-width:none!important;
}
.ofqd-business-card-link{
  box-sizing:border-box!important;
  width:100%!important;
  height:100%!important;
  display:flex!important;
  flex-direction:column!important;
  margin:0!important;
  padding:0!important;
  color:inherit!important;
  text-decoration:none!important;
}
.ofqd-business-card.ofqd-commune-event-card .ofqd-business-favorite{
  position:absolute!important;
  top:auto!important;
  right:6px!important;
  bottom:6px!important;
  width:22px!important;
  height:22px!important;
  margin:0!important;
  z-index:4!important;
}
.ofqd-business-card.ofqd-commune-event-card h3{
  min-height:29px!important;
  max-height:29px!important;
}
.ofqd-business-card.ofqd-commune-event-card .ofqd-business-distance{
  margin-left:auto!important;
}

/* Aucun soulignement sur les actions de navigation de la fiche commune. */
.ofqd-commune-page .ofqd-dashboard-link,
.ofqd-commune-page .ofqd-section-heading>a,
.ofqd-commune-page .ofqd-dashboard-nearby>a,
.ofqd-commune-page .ofqd-nearby-grid a,
.ofqd-commune-page a[class*="view-all"],
.ofqd-commune-page a[class*="voir-tous"]{
  text-decoration:none!important;
  border-bottom:0!important;
  box-shadow:none!important;
}
.ofqd-commune-page .ofqd-dashboard-link:hover,
.ofqd-commune-page .ofqd-section-heading>a:hover,
.ofqd-commune-page .ofqd-dashboard-nearby>a:hover{
  text-decoration:none!important;
}

@media(max-width:1100px){
  .ofqd-business-card.ofqd-commune-event-card{
    flex-basis:calc((100% - 42px)/4)!important;
    width:calc((100% - 42px)/4)!important;
  }
}
@media(max-width:760px){
  .ofqd-business-card.ofqd-commune-event-card{
    flex-basis:calc((100% - 14px)/2)!important;
    width:calc((100% - 14px)/2)!important;
  }
}
@media(max-width:560px){
  .ofqd-commune-event-card,
  .ofqd-business-card.ofqd-commune-event-card{
    height:205px!important;
    min-height:205px!important;
  }
  .ofqd-commune-event-card .media,
  .ofqd-business-card.ofqd-commune-event-card .media,
  .ofqd-business-card.ofqd-commune-event-card img{
    height:135px!important;
    min-height:135px!important;
    flex-basis:135px!important;
  }
  .ofqd-commune-event-card .body,
  .ofqd-business-card.ofqd-commune-event-card .body,
  .ofqd-business-card.ofqd-commune-event-card .ofqd-business-card-body{
    height:70px!important;
    min-height:70px!important;
    flex-basis:70px!important;
  }
  .ofqd-business-card.ofqd-commune-event-card{
    flex-basis:82%!important;
    width:82%!important;
  }
}

/* V161 — finition complète et icônes modernes */
/* Conserver toujours les 4 compteurs, y compris à zéro. */
.ofqd-commune-stats{grid-template-columns:repeat(4,minmax(0,1fr))!important}
.ofqd-commune-stats article.is-zero strong{color:#8c98ad}
.ofqd-commune-stats article.is-zero span{color:#6f7d95}

/* Micro-ajustements des vignettes, sans changer leur hauteur. */
.ofqd-commune-event-card .body{gap:0!important}
.ofqd-commune-event-card h3{margin:0 0 2px!important}
.ofqd-commune-event-card .body>p.ofqd-meta-line{margin:0 0 2px!important}
.ofqd-business-card.ofqd-commune-event-card h3{font-size:14.5px!important}
.ofqd-business-card .ofqd-business-distance{font-size:9.25px!important;color:#8792a7!important}

/* Liens d'action modernes et sans soulignement. */
.ofqd-commune-page a.ofqd-dashboard-link,
.ofqd-commune-page .ofqd-section-heading>a,
.ofqd-dashboard-nearby>a{
  text-decoration:none!important;
  border-bottom:0!important;
  box-shadow:none!important;
  font-weight:750;
  color:#0864e8;
}
.ofqd-commune-page a.ofqd-dashboard-link:hover,
.ofqd-commune-page .ofqd-section-heading>a:hover,
.ofqd-dashboard-nearby>a:hover{color:#034ab2;text-decoration:none!important}
.ofqd-dashboard-link span{display:inline-block;margin-left:3px;transition:transform .18s ease}
.ofqd-dashboard-link:hover span{transform:translateX(3px)}

/* Icônes vectorielles modernes, cohérentes et légères. */
.ofqd-local-list article>i{
  width:28px;height:28px;min-width:28px;
  display:grid;place-items:center;
  border-radius:9px;
  background:#eef5ff;
  color:#075bd8;
  font-style:normal;
}
.ofqd-local-list article>i .ofqd-icon{width:18px;height:18px;stroke-width:1.9}
.ofqd-local-list article>b{display:grid;place-items:center;color:#7e8ba2}
.ofqd-local-list article>b .ofqd-icon{width:15px;height:15px;stroke-width:2}
.ofqd-nearby-grid a>span{display:grid;place-items:center;color:#075bd8}
.ofqd-nearby-grid a>span .ofqd-icon{width:17px;height:17px;stroke-width:1.9}
.ofqd-commune-practical>div>span .ofqd-icon{width:27px;height:27px;stroke-width:1.8}

/* Carte un peu plus présente. */
.ofqd-dashboard-map #ofqdCommuneMap{min-height:178px!important}

@media(max-width:900px){
  .ofqd-commune-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}

/* V162 — finition Pixel Perfect de la fiche commune */
/* Compteurs : 4 tuiles stables et contenu mieux centré. */
.ofqd-commune-stats article{
  justify-content:center!important;
  padding-top:13px!important;
  padding-bottom:13px!important;
}
.ofqd-commune-stats strong{
  line-height:1!important;
  margin:0 0 3px!important;
}
.ofqd-commune-stats span{
  line-height:1.05!important;
}

/* Vignettes : respiration minimale sans changer ni la hauteur totale ni l'image. */
.ofqd-commune-event-card .body,
.ofqd-business-card.ofqd-commune-event-card .body,
.ofqd-business-card.ofqd-commune-event-card .ofqd-business-card-body{
  padding-top:5px!important;
  padding-bottom:4px!important;
}
.ofqd-commune-event-card h3,
.ofqd-business-card.ofqd-commune-event-card h3{
  margin:0 0 3px!important;
}
.ofqd-commune-event-card .body>p.ofqd-meta-line{
  margin:0 0 2px!important;
}

/* Professionnels : titre plus lisible, commune prioritaire, distance secondaire. */
.ofqd-business-card.ofqd-commune-event-card h3{
  font-size:15px!important;
  line-height:1.08!important;
}
.ofqd-business-card .ofqd-meta-row .ofqd-meta-line{
  color:#53627a!important;
}
.ofqd-business-card .ofqd-meta-row .ofqd-business-distance{
  font-size:9px!important;
  color:#98a2b3!important;
  font-weight:600!important;
}

/* Icônes homogènes : 20 px, même trait et même bleu OFQD. */
.ofqd-local-list article>i .ofqd-icon,
.ofqd-nearby-grid a>span .ofqd-icon,
.ofqd-commune-practical>div>span .ofqd-icon{
  width:20px!important;
  height:20px!important;
  stroke-width:1.9!important;
  color:#075bd8!important;
}
.ofqd-local-list article>b .ofqd-icon{
  width:16px!important;
  height:16px!important;
  stroke-width:1.9!important;
}

/* Carte renforcée comme point d'accroche principal. */
.ofqd-dashboard-map #ofqdCommuneMap{
  height:240px!important;
  min-height:240px!important;
}

/* Toutes les actions utilisent le bleu principal, sans soulignement. */
.ofqd-commune-page .ofqd-dashboard-link,
.ofqd-commune-page .ofqd-section-heading>a,
.ofqd-commune-page .ofqd-dashboard-nearby>a,
.ofqd-commune-page .ofqd-nearby-grid+a,
.ofqd-commune-page a[class*="view-all"],
.ofqd-commune-page a[class*="voir-tous"]{
  color:#0864e8!important;
  text-decoration:none!important;
  border-bottom:0!important;
}

@media(max-width:900px){
  .ofqd-dashboard-map #ofqdCommuneMap{
    height:220px!important;
    min-height:220px!important;
  }
}
@media(max-width:560px){
  .ofqd-dashboard-map #ofqdCommuneMap{
    height:260px!important;
    min-height:260px!important;
  }
  .ofqd-business-card.ofqd-commune-event-card h3{
    font-size:14px!important;
  }
}

/* V163 — carte pleine hauteur et réglage du rayon sur la fiche commune */
.ofqd-dashboard-map{
  display:flex;
  flex-direction:column;
  min-height:100%;
}
.ofqd-dashboard-map #ofqdCommuneMap{
  flex:1 1 auto;
  width:100%;
  height:auto!important;
  min-height:240px;
}
.ofqd-dashboard-radius .ofqd-radius-toggle{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  margin-top:8px;
  border:0;
  border-radius:7px;
  padding:8px 11px;
  background:#0b67ef;
  color:#fff;
  font:inherit;
  font-size:11px;
  font-weight:800;
  cursor:pointer;
}
.ofqd-dashboard-radius .ofqd-radius-toggle:hover,
.ofqd-dashboard-radius .ofqd-radius-toggle:focus-visible{background:#0754c9}
.ofqd-radius-editor{
  margin-top:10px;
  padding-top:10px;
  border-top:1px solid #dce6f4;
}
.ofqd-radius-editor label{
  display:block;
  margin-bottom:5px;
  color:#536582;
  font-size:10px;
  font-weight:800;
}
.ofqd-radius-editor select{
  width:100%;
  border:1px solid #cbd9ec;
  border-radius:8px;
  padding:8px 28px 8px 9px;
  background:#fff;
  color:#09235f;
  font-size:12px;
  font-weight:800;
}
@media(max-width:900px){.ofqd-dashboard-map #ofqdCommuneMap{min-height:300px}}
@media(max-width:560px){.ofqd-dashboard-map #ofqdCommuneMap{min-height:280px}}


/* V164 — sécurisation de l'affichage Leaflet */
.ofqd-dashboard-map #ofqdCommuneMap{position:relative;display:block;background:#dfe9f4}
.ofqd-dashboard-map #ofqdCommuneMap .leaflet-container{width:100%;height:100%}
.ofqd-dashboard-map #ofqdCommuneMap.ofqd-map-error{display:flex;align-items:center;justify-content:center;padding:20px;text-align:center;color:#526581;font-weight:700}
.ofqd-dashboard-map #ofqdCommuneMap.ofqd-map-error p{margin:0}


/* V168 — Favori des professionnels dans la ligne d'informations. */
.ofqd-business-card.ofqd-commune-event-card .ofqd-meta-row .ofqd-business-favorite{
  position:static!important;
  top:auto!important;
  right:auto!important;
  bottom:auto!important;
  margin-left:auto!important;
  width:22px!important;
  height:22px!important;
  min-width:22px!important;
  flex:0 0 22px!important;
  z-index:auto!important;
}

/* V178 — filtres de période sur place, sans changement de page */
.ofqd-period-tabs button{
  appearance:none;
  -webkit-appearance:none;
  font-family:inherit;
  cursor:pointer;
  background:#fff;
  border:1px solid #dce6f4;
  border-radius:7px;
  color:#09235f;
  font-size:12px;
  font-weight:800;
  line-height:1.2;
  padding:6px 15px;
}
.ofqd-period-tabs button.active{
  background:#0b69da;
  color:#fff;
  border-color:#0b69da;
}
.ofqd-commune-event-card[hidden]{display:none!important}


/* OFQD V131 — Hero territorial fiable : pas de fausse photo de commune. */
.ofqd-commune-hero.no-hero-photo{
  --ofqd-terrain-deep:#071f55;
  --ofqd-terrain-mid:#0b5d8d;
  --ofqd-terrain-light:#79c8cf;
  background-image:
    linear-gradient(90deg,rgba(4,28,76,.96) 0%,rgba(7,58,115,.86) 45%,rgba(8,55,93,.58) 100%),
    radial-gradient(ellipse at 82% 104%,var(--ofqd-terrain-mid) 0 22%,transparent 22.5%),
    radial-gradient(ellipse at 58% 111%,var(--ofqd-terrain-light) 0 30%,transparent 30.5%),
    linear-gradient(135deg,var(--ofqd-terrain-deep),var(--ofqd-terrain-mid));
  background-size:cover;
  background-position:center;
}
.ofqd-commune-hero.no-hero-photo:before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(circle at 86% 18%,rgba(255,255,255,.15),transparent 24%),
    repeating-linear-gradient(115deg,transparent 0 58px,rgba(255,255,255,.025) 59px 60px);
}
.ofqd-commune-hero--relief.no-hero-photo{
  --ofqd-terrain-deep:#09295b;
  --ofqd-terrain-mid:#28736f;
  --ofqd-terrain-light:#8bbd89;
}
.ofqd-commune-hero--coast.no-hero-photo{
  --ofqd-terrain-deep:#06366d;
  --ofqd-terrain-mid:#087ea4;
  --ofqd-terrain-light:#72d0d5;
}
.ofqd-commune-hero--urban.no-hero-photo{
  --ofqd-terrain-deep:#101f52;
  --ofqd-terrain-mid:#3b5f91;
  --ofqd-terrain-light:#95afc8;
}
.ofqd-commune-hero--plain.no-hero-photo{
  --ofqd-terrain-deep:#0a2e62;
  --ofqd-terrain-mid:#397a78;
  --ofqd-terrain-light:#9dc68b;
}
.ofqd-commune-hero.has-hero-photo{
  background-image:linear-gradient(90deg,rgba(4,33,88,.94) 0%,rgba(7,65,131,.83) 48%,rgba(4,38,87,.50) 100%),var(--commune-hero);
}


/* OFQD V132 — Recalage du surtitre "Bienvenue à" dans le Hero commune. */
.ofqd-commune-hero-copy{padding-top:8px}
.ofqd-commune-hero-copy:before{line-height:1.2}
@media(max-width:560px){.ofqd-commune-hero-copy{padding-top:4px}}

/* OFQD V136 — distinguer clairement données réelles et exemples. */
.ofqd-commune-demo-note{margin:0 0 10px;padding:8px 10px;border-radius:10px;background:#fff8df;color:#5f4a00;font-size:.78rem;line-height:1.35}
.ofqd-local-list article.is-demo{opacity:.82}
.ofqd-local-list article.is-demo h3 small{display:inline-flex;margin-left:4px;padding:2px 6px;border-radius:999px;background:#fff0b8;color:#705300;font-size:.62rem;font-weight:900;vertical-align:middle}
.ofqd-commune-empty-compact{min-height:0!important;padding:12px!important;margin:0 0 8px!important;text-align:left!important}
.ofqd-commune-empty-compact p{margin:4px 0 0!important;font-size:.76rem!important}
