/* ===========================
   Carrousel - parametres
   =========================== */
:root{
  --card-min: 260px;
  --card-max: 420px;
  --card-gap: 14px;
}

/* ===========================
   Piste scrollable
   =========================== */
.module-bloc-graphic-22.carousel-track{
  position: relative;
  z-index: 1;                 /* la piste dessous la nav */
  display: flex;
  gap: var(--card-gap);

  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 0.001px;

  -ms-overflow-style: none;
  scrollbar-width: none;

  width: 100%;                /* occupe la largeur de sa cellule (70%) */
  max-width: 100%;
  padding-bottom: .25rem;
  box-sizing: border-box;
  overscroll-behavior-x: contain;
}

.module-bloc-graphic-22.carousel-track::-webkit-scrollbar{
  display: none;
  height: 0; width: 0;
}

/* ===========================
   Cartes
   =========================== */
.module-bloc-graphic-22.carousel-track .module-bloc-graphic-item{
  scroll-snap-align: start;

  /* Entre card-min et card-max, mais JAMAIS plus large que la piste */
  flex: 0 0 clamp(var(--card-min), 100%, var(--card-max));
  max-width: 100%;
  min-width: 0;
}

/* Images : ratio respecte, jamais deformees */
.module-bloc-graphic-22.carousel-track .module-bloc-graphic-item img{
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Typo/links internes : wrapping propre */
.module-bloc-graphic-22.carousel-track .module-bloc-graphic-item *{
  min-width: 0;
  word-wrap: break-word;
  border-radius: 21px;
}

/* Focus visibles (RGAA) */
.module-bloc-graphic-22.carousel-track .module-bloc-graphic-item :where(a,button,[tabindex]){
  outline-offset: 3px;
}
.module-bloc-graphic-22.carousel-track .module-bloc-graphic-item :where(a,button,[tabindex]):focus-visible{
  outline: 2px solid #005fcc;
}

/* Petits ecrans */
@media (max-width: 420px){
  .module-bloc-graphic-22.carousel-track .module-bloc-graphic-item{
    flex-basis: clamp(240px, 100%, var(--card-max));
  }
}

/* ===========================
   Navigation au-dessus
   =========================== */
.carousel-nav-above{
  display: flex;
  gap: .5rem;
  justify-content: center;
  align-items: center;

  margin-top: .75rem;
  margin-bottom: .5rem;

  position: relative;
  z-index: 2;     /* nav AU-DESSUS de la piste -> clics OK */
}

@media (max-width: 640px){
  .carousel-nav-above{ justify-content: center; }
}

.carousel-nav-above .carousel-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 55px;
  height: 55px;
    border: 1px solid #e3d80c;
    background: #e3d80c;
  border-radius: 9999px;
  cursor: pointer;
  line-height: 1;
  font-size: 27px;
  font-weight: 700;
  user-select: none;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .06);
 color: #0d283b;
}

.carousel-nav-above .carousel-btn[aria-disabled="true"]{
  opacity: 1;
  cursor: not-allowed;
}

.carousel-nav-above .carousel-btn:focus-visible{
  outline: 2px solid #005fcc;
  outline-offset: 3px;
}

/* Utilitaire a11y */
.sr-only{
  position:absolute!important; width:1px!important; height:1px!important;
  padding:0!important; margin:-1px!important; overflow:hidden!important;
  clip:rect(0,0,0,0)!important; white-space:nowrap!important; border:0!important;
}

/* ===========================
   Animations directionnelles
   =========================== */
.carousel-anim-right{ animation: car-anim-r .32s ease-out; }
.carousel-anim-left{  animation: car-anim-l .32s ease-out; }

@keyframes car-anim-r{
  from{ transform: translateX(-6px); } to{ transform: translateX(0); }
}
@keyframes car-anim-l{
  from{ transform: translateX(6px); } to{ transform: translateX(0); }
}

/* @@liens-fiches */
/* ==========================================================================
   LIENS & FICHES - MODE CARTES - charte Pompiey prune & peche
   Grille : 3 colonnes > 2 > 1 (pas de scroll horizontal a 320px).
   RGAA : contrastes AA (blanc/prune 8.3:1, prune/creme 7.5:1, marine/peche 10.2:1),
   cibles 44px, focus visible, ordre visuel = ordre de tabulation.
   ========================================================================== */
.liens-bloc {
  --rx-navy: #0d283b;
  --rx-blue: #8b265e;
  --rx-blue-bg: #fff1e6;
  --rx-teal: #ffc7bb;
  --rx-teal-dark: #8b265e;
  --rx-teal-bg: #fff1e6;
  --rx-orange: #ffc7bb;
  --rx-orange-bg: #ffe3dc;
  --rx-grey: #4f5d66;
  --rx-border: #ffc7bb;
  color: var(--rx-navy);
  margin: 2rem 0;
}
.liens-bloc :is(.liens-bloc-groupe, .liens-bloc-groupe-container, .liens-bloc-groupe-titre, .liens-bloc-groupe-ul,
  .liens-bloc-groupe-ligne, .un-lien-bloc, .un-lien-bloc-couleur, .un-lien-bloc-titre,
  .un-lien-bloc-geloc, .un-lien-bloc-footer, .un-lien-bloc-contenu, .un-lien-bloc-image,
  .un-lien-bloc-adresse, .un-lien-bloc-telephone) {
  float: none;
  width: auto;
  margin: 0;
  padding: 0;
  clear: none;
  box-sizing: border-box;
}
.liens-bloc .un-lien-bloc-couleur { background: transparent; color: inherit; }
.liens-bloc :is(.liens-bloc-groupe, .liens-bloc-groupe-container)::after { content: none; }
.liens-bloc .liens-liste-selector { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 28px; padding: 0; list-style: none; }
.liens-bloc .liens-liste-selector li { display: block; }
.liens-bloc a.btn-liste-selector { display: inline-flex; align-items: center; min-height: 44px; margin: 0; padding: 8px 20px; border: 2px solid var(--rx-blue); border-radius: 999px; background: #fff; color: var(--rx-blue); font-weight: 600; text-decoration: none; transition: background-color .2s ease, color .2s ease; }
.liens-bloc a.btn-liste-selector:hover { background: var(--rx-blue-bg); color: var(--rx-navy); }
.liens-bloc a.btn-liste-selector.btn-liste-selected { background: var(--rx-blue); color: #fff; }
.liens-bloc a.btn-liste-selector.btn-liste-selected::before { content: "\f00c"; font: normal .9rem/1 FontAwesome; margin-right: 8px; }
.liens-bloc .liens-bloc-groupe-titre { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; padding: 12px 14px 12px 20px; border: 0; border-left: 6px solid #8b265e; border-radius: 0 16px 16px 0; background: #ffc7bb; color: var(--rx-navy); font-size: 1.5rem; font-weight: 700; line-height: 1.2; }
.liens-bloc .liens-bloc-groupe-anchor { display: none; }
.liens-bloc a.anchor-retour { margin-left: auto; width: auto; height: auto; min-height: 44px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; overflow: visible; text-indent: 0; background: #fff none; border-radius: 999px; color: #0d283b; font-size: .95rem; font-weight: 600; text-decoration: none; }
.liens-bloc a.anchor-retour::before { content: "\f062"; font: normal .95rem/1 FontAwesome; color: #8b265e; }
.liens-bloc a.anchor-retour:hover { background: #0d283b; color: #fff; }
.liens-bloc a.anchor-retour:hover::before { color: #fff; }
.liens-bloc .liens-bloc-groupe-ul { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); gap: 24px; margin-bottom: 40px; }
.liens-bloc .liens-bloc-groupe-ligne { display: flex; list-style: none; }
.liens-bloc .un-lien-bloc { position: relative; display: flex; flex-direction: column; width: 100%; background: #fff; border: 1px solid var(--rx-border); border-radius: 20px; overflow: hidden; box-shadow: 0 2px 12px rgba(13, 40, 59, .06); transition: box-shadow .2s ease, transform .2s ease; }
.liens-bloc .un-lien-bloc:hover { box-shadow: 0 10px 28px rgba(13, 40, 59, .12); transform: translateY(-2px); }
.liens-bloc .un-lien-bloc:hover, .liens-bloc .un-lien-bloc:focus-within { border-color: #8b265e; }
.liens-bloc .un-lien-bloc-contenu { display: contents; }
.liens-bloc .un-lien-bloc-image { order: 1; }
.liens-bloc .un-lien-bloc-header { order: 2; }
.liens-bloc .un-lien-bloc-description { order: 3; }
.liens-bloc a.un-lien-bloc-savoir-plus { order: 4; }
.liens-bloc .un-lien-bloc-footer { order: 5; }
.liens-bloc .un-lien-bloc-image { aspect-ratio: 16 / 10; background: linear-gradient(135deg, #fff1e6, #ffe3dc); overflow: hidden; }
.liens-bloc .un-lien-bloc-image a { display: block; height: 100%; }
.liens-bloc .un-lien-bloc-image img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; transition: transform .4s ease; }
.liens-bloc .un-lien-bloc:hover .un-lien-bloc-image img { transform: scale(1.04); }
.liens-bloc .un-lien-bloc-header { display: flex; align-items: flex-start; gap: 10px; padding: 18px 20px 4px; }
.liens-bloc .un-lien-bloc-titre { flex: 1; font-size: 1.3rem; font-weight: 700; line-height: 1.3; color: #8b265e; }
.liens-bloc a.un-lien-bloc-geloc { flex: 0 0 44px; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--rx-orange-bg); color: var(--rx-navy); text-decoration: none; }
.liens-bloc a.un-lien-bloc-geloc::before { content: "\f279"; font: normal 1.1rem/1 FontAwesome; width: auto; height: auto; color: #8b265e; }
.liens-bloc a.un-lien-bloc-geloc:hover { background: #ffc7bb; }
.liens-bloc .un-lien-bloc-description { margin: 8px 20px 0; padding: 0; background: none; color: #0d283b; font-size: 1rem; font-weight: 400; line-height: 1.45; }
.liens-bloc .un-lien-bloc-description:empty { display: none; }
.liens-bloc a.un-lien-bloc-savoir-plus { align-self: flex-start; display: inline-flex; align-items: center; width: auto; max-width: calc(100% - 40px); box-sizing: border-box; min-height: 44px; margin: 14px 20px 0; padding: 10px 20px; border: 0; border-radius: 999px; background: #8b265e; color: #fff; font-weight: 700; font-size: .95rem; text-decoration: none; transition: background-color .2s ease, color .2s ease; }
.liens-bloc a.un-lien-bloc-savoir-plus::after { content: "En savoir plus \203A"; content: "En savoir plus \203A" / "En savoir plus"; font-family: inherit; }
.liens-bloc a.un-lien-bloc-savoir-plus:hover { background: #0d283b; color: #fff; }
.liens-bloc .un-lien-bloc-footer { display: grid; gap: 8px; margin: 16px 12px 12px; margin-top: auto; padding: 12px 14px; border-radius: 14px; background: #fff1e6; font-size: .95rem; line-height: 1.45; }
.liens-bloc a.un-lien-bloc-savoir-plus { margin-bottom: 16px; }
.liens-bloc :is(.un-lien-bloc-adresse, .un-lien-bloc-telephone) { margin: 0; }
.liens-bloc .un-lien-bloc-adresse { position: relative; display: flex; flex-direction: column; padding-left: 28px; color: #0d283b; }
.liens-bloc .un-lien-bloc-adresse:empty { display: none; }
.liens-bloc .un-lien-bloc-adresse::before { content: "\f041"; position: absolute; left: 4px; top: 2px; font: normal 1.1rem/1 FontAwesome; color: #8b265e; }
.liens-bloc .un-lien-bloc-telephone ul, .liens-bloc .un-lien-bloc-telephone li { list-style: none; margin: 0; padding: 0; }
.liens-bloc .un-lien-bloc-telephone:has(ul:empty) { display: none; }
.liens-bloc :is(a.un-lien-bloc-telephone-fixe, a.un-lien-bloc-telephone-portable, a.un-lien-bloc-telephone-fax) { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; float: none; width: auto; color: #8b265e; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.liens-bloc a.un-lien-bloc-telephone-fixe::before { content: "\f095"; font: normal 1.1rem/1 FontAwesome; }
.liens-bloc a.un-lien-bloc-telephone-portable::before { content: "\f10b"; font: normal 1.2rem/1 FontAwesome; }
.liens-bloc a.un-lien-bloc-telephone-fax::before { content: "\f1ac"; font: normal 1.05rem/1 FontAwesome; }
.liens-bloc .un-lien-bloc-liens { position: static; display: flex; flex-wrap: wrap; gap: 8px; }
.liens-bloc .un-lien-bloc-liens:empty { display: none; }
.liens-bloc :is(a.un-lien-bloc-email, a.un-lien-bloc-website, a.un-lien-bloc-facebook) { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; min-width: 44px; max-width: 100%; padding: 6px 12px; border: 1px solid #ffc7bb; border-radius: 12px; background: #fff; color: #0d283b; font-size: .9rem; text-decoration: none; overflow-wrap: anywhere; float: none; flex-grow: 0; }
.liens-bloc :is(a.un-lien-bloc-email, a.un-lien-bloc-website, a.un-lien-bloc-facebook):hover { background: #0d283b; border-color: #0d283b; color: #fff; }
.liens-bloc a.un-lien-bloc-email::before { content: "\f0e0"; font: normal 1rem/1 FontAwesome; }
.liens-bloc a.un-lien-bloc-website::before { content: "\f0ac"; font: normal 1rem/1 FontAwesome; }
.liens-bloc a.un-lien-bloc-facebook::after { content: "\f09a"; font: normal 1rem/1 FontAwesome; }
.liens-bloc a:focus-visible { outline: 3px solid #0d283b; outline-offset: 2px; box-shadow: 0 0 0 6px #ffc7bb; }
.liens-bloc .un-lien-bloc:focus-within { box-shadow: 0 10px 28px rgba(13, 40, 59, .14); }
.liens-bloc :is(.liens-bloc-groupe-ligne, .un-lien-bloc-header, .un-lien-bloc-titre, .un-lien-bloc-image, .un-lien-bloc-description, .un-lien-bloc-footer, .un-lien-bloc-geloc) { height: auto !important; min-height: 0 !important; }
.liens-bloc a.un-lien-bloc-geloc { height: 44px !important; min-height: 44px !important; }
@media (max-width: 1240px) { .liens-bloc { margin-left: 16px; margin-right: 16px; } }
@media (max-width: 600px) {
  .liens-bloc .liens-bloc-groupe-titre { font-size: 1.2rem; padding-left: 14px; }
  .liens-bloc .liens-bloc-groupe-ul { gap: 16px; }
  .liens-bloc .un-lien-bloc-header { padding: 14px 16px 4px; }
  .liens-bloc .un-lien-bloc-description { margin: 8px 16px 0; }
  .liens-bloc a.un-lien-bloc-savoir-plus { margin: 12px 16px 0; }
  .liens-bloc .un-lien-bloc-footer { margin: 14px 10px 10px; }
}
@media (forced-colors: active) { .liens-bloc .un-lien-bloc { border: 1px solid CanvasText; } .liens-bloc a:focus-visible { outline: 3px solid Highlight; box-shadow: none; } }
@media (prefers-reduced-motion: reduce) { .liens-bloc *, .liens-bloc *::before, .liens-bloc *::after { transition: none !important; animation: none !important; transform: none !important; } }
/* @@fin liens-fiches */

/* @@telechargement */
/* ==========================================================================
   MODULE TELECHARGEMENT (rendu classique) - charte Pompiey prune & peche
   Identique sur toutes les pages (portee .telechargements).
   Corrige le theme bleu.css : titre de groupe blanc sur bleu ciel (1.8:1),
   date en 10px. RGAA : contrastes AA, lien etire 44px, focus visible.
   ========================================================================== */
.telechargements { --rx-navy: #0d283b; --rx-blue: #8b265e; --rx-blue-bg: #fff1e6; --rx-orange-bg: #ffe3dc; --rx-grey: #4f5d66; --rx-border: #f1ddd5; display: grid; gap: 18px; margin: 2rem 0; color: var(--rx-navy); font-size: 1rem; }
.telechargements .telechargement-groupe { background: #fff; border: 1px solid var(--rx-border); border-left: 6px solid #8b265e; border-radius: 18px; box-shadow: 0 2px 10px rgba(13, 40, 59, .06); overflow: hidden; float: none; width: auto; margin: 0; }
.telechargements .telechargement-groupe-nom { display: flex; align-items: center; gap: 14px; margin: 0 !important; padding: 14px 20px; background: #fff !important; color: var(--rx-navy) !important; border-bottom: 1px solid var(--rx-border); font-size: 1.2rem; font-weight: 700; line-height: 1.25; clear: none; float: none; width: auto; }
.telechargements .telechargement-groupe-nom::before { content: "\f115"; font: normal 1.1rem/1 FontAwesome; flex: 0 0 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: #fff1e6; color: #8b265e; }
.telechargements .telechargement-groupe-liste { list-style: none; margin: 0; padding: 10px; display: grid; gap: 4px; }
.telechargements .telechargement-groupe-liste > li { position: relative; min-height: 44px; margin: 0; padding: 12px 74px 12px 74px; border-radius: 12px; line-height: 1.35; list-style: none; float: none; width: auto; transition: background-color .2s ease; }
.telechargements .telechargement-groupe-liste > li + li { box-shadow: 0 -1px 0 var(--rx-border); }
.telechargements .telechargement-groupe-liste > li:hover, .telechargements .telechargement-groupe-liste > li:focus-within { background: #fff1e6; box-shadow: none; }
.telechargements .telechargement-groupe-liste > li:hover + li { box-shadow: none; }
.telechargements a.telechargement { color: var(--rx-grey); font-size: .875rem; font-weight: 400; text-decoration: none; }
.telechargements a.telechargement > b { display: block; margin-bottom: 2px; color: var(--rx-navy); font-size: 1.05rem; font-weight: 600; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 3px; overflow-wrap: anywhere; }
.telechargements li:hover a.telechargement > b { color: #8b265e; text-decoration-color: currentColor; }
.telechargements a.telechargement::before { content: "\f15b"; position: absolute; left: 14px; top: 12px; width: 44px; height: 44px; margin: 0 !important; display: grid; place-items: center; border-radius: 12px; background: #fff1e6; color: #8b265e; font: normal 1.25rem/1 FontAwesome !important; }
.telechargements a[class*="telechargement-pdf" i]::before { content: "\f1c1"; background: var(--rx-orange-bg); }
.telechargements a:is([class*="telechargement-doc" i],[class*="telechargement-odt" i])::before { content: "\f1c2"; }
.telechargements a:is([class*="telechargement-xls" i],[class*="telechargement-ods" i],[class*="telechargement-csv" i])::before { content: "\f1c3"; }
.telechargements a:is([class*="telechargement-jpg" i],[class*="telechargement-jpeg" i],[class*="telechargement-png" i],[class*="telechargement-webp" i])::before { content: "\f1c5"; }
.telechargements a[class*="telechargement-zip" i]::before { content: "\f1c6"; }
.telechargements li:hover a.telechargement::before, .telechargements li:focus-within a.telechargement::before { background: #fff; }
.telechargements a.telechargement::after { content: ""; position: absolute; inset: 0; border-radius: 12px; }
.telechargements a.telechargement:focus-visible { outline: none; }
.telechargements a.telechargement:focus-visible::after { outline: 3px solid var(--rx-navy); outline-offset: -3px; box-shadow: inset 0 0 0 6px #ffc7bb; }
.telechargements .telechargement-groupe-liste > li::after { content: "\f019"; position: absolute; right: 14px; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 2px solid #8b265e; background: #fff; color: #8b265e; font: normal 1rem/1 FontAwesome; pointer-events: none; transition: background-color .2s ease, color .2s ease; }
.telechargements .telechargement-groupe-liste > li:hover::after, .telechargements .telechargement-groupe-liste > li:focus-within::after { background: #8b265e; color: #fff; }
.telechargements .telechargement-date-publication { color: var(--rx-grey); font-size: .875rem; }
.telechargements .telechargement-date-publication::before { content: " - "; }
.telechargements .telechargement-description { position: relative; z-index: 1; margin: 8px 0 0; padding: 8px 12px; border-left: 3px solid #8b265e; border-radius: 8px; background: #fff1e6; font-size: .9rem; line-height: 1.5; color: var(--rx-navy); }
.telechargements li:hover .telechargement-description { background: #fff; }
.telechargements:empty::before { content: "Aucun document n\0027est publi\00E9  pour le moment."; display: block; padding: 18px 22px; border: 1px dashed #ffc7bb; border-radius: 18px; background: #fff1e6; color: #0d283b; text-align: center; }
@media (max-width: 1240px) { .telechargements { margin-left: 16px; margin-right: 16px; } }
@media (max-width: 900px) { .telechargements .telechargement-groupe-nom { font-size: 1.1rem; padding: 12px 16px; } .telechargements a.telechargement > b { font-size: 1rem; } }
@media (max-width: 600px) {
  .telechargements { gap: 12px; margin: 1.5rem 12px; }
  .telechargements .telechargement-groupe { border-left-width: 5px; border-radius: 14px; }
  .telechargements .telechargement-groupe-nom { font-size: 1.05rem; padding: 10px 12px; gap: 10px; }
  .telechargements .telechargement-groupe-nom::before { flex-basis: 36px; height: 36px; font-size: 1rem; }
  .telechargements .telechargement-groupe-liste { padding: 6px; gap: 2px; }
  .telechargements .telechargement-groupe-liste > li { padding: 10px 8px 10px 56px; }
  .telechargements a.telechargement::before { left: 8px; top: 10px; width: 36px; height: 36px; font-size: 1.05rem !important; border-radius: 10px; }
  .telechargements .telechargement-groupe-liste > li::after { content: none; }
  .telechargements a.telechargement > b { font-size: .975rem; }
  .telechargements a.telechargement, .telechargements .telechargement-date-publication { font-size: .8rem; }
  .telechargements .telechargement-description { margin-left: -48px; font-size: .85rem; }
}
@media (forced-colors: active) { .telechargements .telechargement-groupe, .telechargements .telechargement-groupe-liste > li { border: 1px solid CanvasText; } .telechargements a.telechargement:focus-visible::after { outline: 3px solid Highlight; box-shadow: none; } }
@media (prefers-reduced-motion: reduce) { .telechargements *, .telechargements *::before, .telechargements *::after { transition: none !important; animation: none !important; } }
/* @@fin telechargement */

/* ==========================================================================
   TITRE H1 DES PAGES : taille adaptee aux petits ecrans (evite le debordement
   horizontal des mots longs, ex. "commercants" a 320px)
   ========================================================================== */
@media (max-width:980px){.bloc-h1 h1{font-size:2.6rem; line-height:1.15}}
@media (max-width:600px){.bloc-h1 h1{font-size:2.1rem}}
.bloc-h1 h1{overflow-wrap:break-word; hyphens:auto}

/* @@pages-conseil */
/* ==========================================================================
   TEXTES D INTRODUCTION ET TITRES DE SECTION (toutes les pages)
   ========================================================================== */
.wrapper-contents p.rx-intro{max-width:880px; margin:8px auto 36px; padding:0 16px; color:#0d283b; font-size:1.3rem; line-height:1.6; text-align:center}
.wrapper-contents h2.rx-titre{position:relative; margin:56px auto 28px; padding-bottom:14px; color:#0d283b; font-size:2.1rem; line-height:1.2; text-align:center}
.wrapper-contents h2.rx-titre::after{content:""; position:absolute; left:50%; bottom:0; width:72px; height:5px; margin-left:-36px; border-radius:5px; background:#ffc7bb}
.wrapper-contents p.rx-texte{max-width:880px; margin-left:auto; margin-right:auto; padding:0 16px; line-height:1.6}
.wrapper-contents p.rx-texte a:not([class]){color:#8b265e; font-weight:700; text-decoration:underline; text-underline-offset:3px}
.wrapper-contents p.rx-texte a:not([class]):hover{color:#0d283b}
.wrapper-contents a.rx-doc{display:inline-flex; align-items:center; gap:10px; min-height:44px; padding:10px 22px; border-radius:999px; background:#8b265e; color:#fff !important; font-weight:700; text-decoration:none; line-height:1.3}
.wrapper-contents a.rx-doc::before{content:"\f1c1"; font:normal 1.1rem/1 FontAwesome}
.wrapper-contents a.rx-doc:hover{background:#0d283b}
.wrapper-contents :is(p.rx-texte,p.rx-intro) a:focus-visible,.wrapper-contents a.rx-doc:focus-visible{outline:3px solid #0d283b; outline-offset:3px}
@media (max-width:600px){
  .wrapper-contents p.rx-intro{font-size:1.15rem}
  .wrapper-contents h2.rx-titre{font-size:1.7rem; margin-top:44px}
}

/* ==========================================================================
   CONSEIL MUNICIPAL (page 7) : trombinoscope en cartes, avatars ronds
   Module Articles 24 (rendu colonne). Prune #8b265e / peche #ffc7bb.
   ========================================================================== */
body.body-page-7 .wrapper-contents > p:has(> .articles-colonne){max-width:1100px; padding:0 16px}
body.body-page-7 ul.articles-colonne{display:grid; grid-template-columns:repeat(auto-fill,minmax(190px,1fr)); gap:22px; max-width:1100px; margin:0 auto 24px; padding:0; list-style:none}
body.body-page-7 ul.articles-colonne-1{grid-template-columns:minmax(0,320px); justify-content:center}
body.body-page-7 ul.articles-colonne-3{grid-template-columns:repeat(auto-fit,minmax(190px,260px)); justify-content:center}
body.body-page-7 ul.articles-colonne > li{float:none; width:auto !important; height:auto !important; margin:0; padding:0; list-style:none}
body.body-page-7 .un-article-colonne{position:relative; display:flex; flex-direction:column; align-items:center; gap:6px; height:100%; margin:0; padding:26px 16px 22px; box-sizing:border-box; background:#fff; border:1px solid #ffc7bb; border-radius:22px; box-shadow:0 3px 14px rgba(13,40,59,.07); text-align:center; transition:transform .2s ease, box-shadow .2s ease}
body.body-page-7 .un-article-colonne:hover,body.body-page-7 .un-article-colonne:focus-within{transform:translateY(-3px); box-shadow:0 10px 26px rgba(13,40,59,.13)}
body.body-page-7 .un-article-colonne-contenu{display:contents}
body.body-page-7 .un-article-colonne > a:first-child{order:2; color:#8b265e; text-decoration:none}
body.body-page-7 .un-article-colonne > a:first-child::after{content:""; position:absolute; inset:0; border-radius:22px}
body.body-page-7 .un-article-colonne > a:first-child:focus-visible{outline:none}
body.body-page-7 .un-article-colonne:has(> a:first-child:focus-visible){outline:3px solid #0d283b; outline-offset:3px}
body.body-page-7 .un-article-colonne-titre{margin:8px 0 0; padding:0; background:none; color:#8b265e; font-size:1.3rem; font-weight:700; line-height:1.25; height:auto !important}
body.body-page-7 .un-article-colonne-contenu > a:first-child{order:1; display:block}
body.body-page-7 .un-article-colonne-image{width:128px; height:128px; margin:0 auto; border-radius:50%; overflow:hidden; box-shadow:0 0 0 4px #fff,0 0 0 7px #ffc7bb}
body.body-page-7 .un-article-colonne-image img{display:block; width:100%; height:100%; max-width:none; object-fit:cover}
body.body-page-7 .un-article-colonne-texte{order:3; margin:0; padding:0; color:#0d283b; font-size:1.05rem; line-height:1.4; cursor:default}
body.body-page-7 .un-article-colonne-texte:empty{display:none}
body.body-page-7 .un-article-colonne-contenu > a:last-child,body.body-page-7 .un-article-colonne-suite,body.body-page-7 .un-article-colonne-publication{display:none}
body.body-page-7 ul.articles-colonne-1 .un-article-colonne{background:#fff1e6; border-color:#8b265e; padding-top:32px}
body.body-page-7 ul.articles-colonne-1 .un-article-colonne-image{width:160px; height:160px; box-shadow:0 0 0 5px #fff,0 0 0 9px #8b265e}
body.body-page-7 ul.articles-colonne-1 .un-article-colonne-titre{font-size:1.55rem}
body.body-page-7 ul.articles-colonne-1 .un-article-colonne-texte{display:inline-block; margin-top:4px; padding:4px 16px; border-radius:999px; background:#8b265e; color:#fff; font-weight:700}
@media (max-width:600px){
  body.body-page-7 ul.articles-colonne{grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px}
  body.body-page-7 ul.articles-colonne-1{grid-template-columns:minmax(0,300px)}
  body.body-page-7 .un-article-colonne{padding:20px 10px 16px}
  body.body-page-7 .un-article-colonne-image{width:96px; height:96px}
  body.body-page-7 .un-article-colonne-titre{font-size:1.1rem}
  body.body-page-7 .un-article-colonne-texte{font-size:.95rem}
}
@media (max-width:360px){body.body-page-7 ul.articles-colonne{grid-template-columns:minmax(0,1fr)}}
@media (prefers-reduced-motion:reduce){body.body-page-7 .un-article-colonne{transition:none}body.body-page-7 .un-article-colonne:hover{transform:none}}
@media (forced-colors:active){body.body-page-7 .un-article-colonne{border:1px solid CanvasText}}
/* @@fin pages-conseil */

/* @@responsive-global */
/* ==========================================================================
   RESPONSIVE GLOBAL : cellules de tableaux CMS (96% + padding + bordure = debordement),
   iframes de largeur fixe (PanneauPocket, cartes) et titres longs (cesure)
   ========================================================================== */
@media (max-width:1100px){.wrapper-contents :is(.responsive-table,.responsive-table-1000) td{box-sizing:border-box}}
.wrapper-contents iframe{max-width:100%}
.wrapper-contents :is(h2,h3).rx-titre,.wrapper-contents h2{overflow-wrap:break-word; hyphens:auto}
@media (max-width:400px){.wrapper-contents h2.rx-titre{font-size:1.5rem}}
/* @@fin responsive-global */

/* @@police */
/* Police unique du site : Cormorant Garamond (les polices d icones ne sont pas touchees) */
body,input,button,select,textarea,.copyright,.copyright a,.fancybox-title,.fancybox-error,.fancybox-inner,.cookies-main-banner,.cookies-main-banner *:not(i):not([class*="fa-"]){font-family:'Cormorant Garamond', serif}
body .copyright,body .copyright a{font-family:'Cormorant Garamond', serif !important}
.wrapper-contents [style*="Girl Next Door" i]{font-family:'Cormorant Garamond', serif !important}
/* @@fin police */

/* @@responsive-2 */
/* En-tete entre 471 et 767 px : la recherche passait hors ecran (jusqu a 63 px) -> centree sous le logo */
@media (min-width:471px) and (max-width:767px){
  .template-header-content .header-left{float:none; width:100%; text-align:center}
  .template-header-content .header-right{float:none; width:100%; clear:both; text-align:center}
  .template-header-content .header-right address{float:none; display:inline-block; max-width:100%; margin:0 auto; padding:10px 0; box-sizing:border-box}
}
/* Longs mots (nom de domaine dans le H1 des CGU, URL, e-mails) */
.wrapper-contents h1,.wrapper-contents h1 *{overflow-wrap:anywhere}
.wrapper-contents :is(p,li,td,address) a{overflow-wrap:anywhere}
/* Carte Leaflet (contact) : textes en 12px minimum */
.leaflet-container .leaflet-control-attribution,.leaflet-container .leaflet-control-attribution a,.leaflet-container .leaflet-control-scale-line{font-size:12px}
/* @@fin responsive-2 */

/* @@menu-principal */
/* Menu principal : le script Websee bascule en menu smartphone des que le menu
   horizontal passe sur 2 lignes. Marges reduites pour qu il tienne sur une ligne
   jusqu a la tablette (768 px). */
nav ul.menu-principal-horizontal > li.menu-principal-horizontal-item{margin:0 40px 0 0}
nav ul.menu-principal-horizontal > li.menu-principal-horizontal-item:last-child{margin-right:0}
@media (max-width:1699px){
  nav ul.menu-principal-horizontal > li.menu-principal-horizontal-item{margin-right:14px}
  nav ul.menu-principal-horizontal > li > a.menu-principal-horizontal-item-titre{padding-left:14px; padding-right:14px}
}
@media (min-width:1200px) and (max-width:1439px){
  nav ul.menu-principal-horizontal > li.menu-principal-horizontal-item{margin-right:5px}
  nav ul.menu-principal-horizontal > li > a.menu-principal-horizontal-item-titre{padding-left:8px; padding-right:8px; font-size:20px}
}
@media (max-width:1199px){
  nav ul.menu-principal-horizontal > li.menu-principal-horizontal-item{margin-right:8px}
  nav ul.menu-principal-horizontal > li > a.menu-principal-horizontal-item-titre{padding-left:12px; padding-right:12px; font-size:23px}
}
/* @@fin menu-principal */

/* @@acces-rapides */
/* Acces rapides de l accueil : 3 liens, icones a taille raisonnable */
table.tabaccesrapide td{vertical-align:top !important}
table.tabaccesrapide a.rx-acces{display:flex; flex-direction:column; align-items:center; gap:10px; padding:10px 6px; border-radius:18px; color:#0d283b; text-decoration:none; text-align:center; line-height:1.2}
table.tabaccesrapide a.rx-acces img{display:block; width:clamp(90px,8vw,140px); height:auto; max-width:100%; transition:transform .2s ease}
table.tabaccesrapide .rx-acces-titre{font-size:1.25rem; font-weight:700}
table.tabaccesrapide a.rx-acces:hover img{transform:translateY(-4px)}
table.tabaccesrapide a.rx-acces:hover .rx-acces-titre{color:#8b265e; text-decoration:underline; text-underline-offset:3px}
table.tabaccesrapide a.rx-acces:focus-visible{outline:3px solid #0d283b; outline-offset:3px}
@media (max-width:1100px){
  table.tabaccesrapide{width:100% !important; max-width:620px}
  table.tabaccesrapide tbody,table.tabaccesrapide tr{display:block}
  table.tabaccesrapide tr{display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px}
  table.tabaccesrapide td{display:block !important; width:auto !important; padding:0 !important}
  table.tabaccesrapide a.rx-acces img{width:clamp(64px,17vw,110px)}
  table.tabaccesrapide .rx-acces-titre{font-size:1.1rem}
}
@media (max-width:400px){table.tabaccesrapide .rx-acces-titre{font-size:1rem}}
@media (prefers-reduced-motion:reduce){table.tabaccesrapide a.rx-acces img{transition:none}table.tabaccesrapide a.rx-acces:hover img{transform:none}}
/* @@fin acces-rapides */

/* @@accueil-blocs */
/* Carte Espace citoyen : le texte passait sur le pictogramme sous 980 px */
@media (max-width:979px){.module-bloc-graphic-11035 .module-bloc-graphic-item-texte{top:8em}}
/* @@fin accueil-blocs */

/* @@liens-tel */
/* Liens telephone : toujours identifiables (soulignes) et focus visible */
a[href^="tel:"]{text-decoration:underline; text-underline-offset:3px; white-space:nowrap}
a[href^="tel:"]:hover{color:#8b265e}
a[href^="tel:"]:focus-visible{outline:3px solid #0d283b; outline-offset:2px}
/* @@fin liens-tel */
