body.custom-node-8 #edit-field-categorie-target-id--2--wrapper {
  width: 100% !important;
}

body.page-recherche
  #block-cenon-content
  [data-drupal-selector="views-exposed-form-recherche-globale-bloc-resultats-de-recherche"]
  #edit-type
  .form-checkboxes {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0 2em;
}

body.page-recherche
  #block-cenon-content
  [data-drupal-selector="views-exposed-form-recherche-globale-bloc-resultats-de-recherche"]
  #edit-type
  .form-checkboxes
  .js-form-type-checkbox {
  flex-basis: unset;
  width: auto;
}

/* body.page-recherche
  #block-cenon-content
  [data-drupal-selector="views-exposed-form-recherche-globale-bloc-resultats-de-recherche"]
  #edit-type
  .form-checkboxes
  .js-form-type-checkbox
  [type="checkbox"] {
  display: none;
} */

#block-sliderlactu .generic-slider .see-more {
  align-items: center;
  justify-content: center;
  padding: 0.5em 0;
}

#block-sliderlactu .generic-slider .see-more:before {
  left: 0 !important;
}

#pre-footer [id*="block-suiveznous"] .block-content {
  flex-wrap: nowrap;
}

#pre-footer [id*="block-suiveznous"] .block-content > h2 {
  width: 267px;
}

#pre-footer .region-pre-footer-haut .region-content {
  justify-content: center;
}

@media only screen and (max-width: 768px) {
  #pre-footer .region-pre-footer-haut .region-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

#pre-footer [id*="block-suiveznous"] .field--name-body ul {
  flex-wrap: nowrap;
  gap: 20px;
}

@media only screen and (max-width: 768px) {
  #pre-footer [id*="block-suiveznous"] .field--name-body ul {
    flex-wrap: wrap;
  }
}

#pre-footer [id*="block-suiveznous"] .field--name-body ul .picto {
  flex: unset;
}

#pre-footer [id*="block-suiveznous"] .field--name-body ul .lk-newsletter a,
#pre-footer [id*="block-blocalertesms"] .field--name-body a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 179px;
  height: 60px;
  margin: 0;
  padding: 0 1.5em;
  text-align: center;
  border-radius: 0.5em;
  letter-spacing: 1px;
  background-color: #484a76;
  font-weight: lighter;
  font-size: 95%;
  -webkit-transition-duration: 0.5s;
  transition-duration: 0.5s;
  -webkit-transition-timing-function: "linear";
  transition-timing-function: "linear";
  -webkit-transition-property: color;
  transition-property: color;
  -webkit-transition-property: background-color;
  transition-property: background-color;
  color: #fff;
}

#pre-footer [id*="block-blocalertesms"] .field--name-body a span::before {
  content: unset;
}

#pre-footer [id*="block-blocalertesms"] .field--name-body a::before {
  content: "";
  width: 40px;
  height: 40px;
  background-image: url("/themes/cenon/assets/css/../images/svg/mobile-blanc.svg");
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  flex-shrink: 0;
}

@media only screen and (max-width: 768px) {
  #pre-footer [id*="block-suiveznous"] .field--name-body ul .lk-newsletter a,
  #pre-footer [id*="block-blocalertesms"] .field--name-body a {
    width: 73vw;
    height: 87px;
    margin-bottom: 20px;
  }
}

#pre-footer
  [id*="block-suiveznous"]
  .field--name-body
  ul
  .lk-newsletter
  a::before {
  content: "";
  width: 40px;
  height: 40px;
  background-image: url("/themes/cenon/assets/css/../images/svg/newsletter.svg");
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  flex-shrink: 0;
}

@media only screen and (max-width: 768px) {
  #pre-footer
    [id*="block-suiveznous"]
    .field--name-body
    ul
    .lk-newsletter
    a::before,
  #pre-footer [id*="block-blocalertesms"] .field--name-body a::before {
    width: 50px;
    height: 50px;
  }
}

#pre-footer
  [id*="block-suiveznous"]
  .field--name-body
  ul
  .lk-newsletter
  a:hover {
  -webkit-transition: all ease-in-out 0.25s;
  transition: all ease-in-out 0.25s;
  background-color: #171618;
  color: #fff !important;
}

#page-front #block-sliderinfospratiques .slide a {
  flex-direction: column;
}

#page-front #block-sliderinfospratiques .slide a .infos-pratiques-slider-image {
  justify-content: center;
}

#page-front
  #block-sliderinfospratiques
  .slide
  a
  .infos-pratiques-slider-image
  img {
  width: 100%;
}

#page-front
  #pre-footer
  .region-pre-footer-bas
  .region-content
  [id*="block-mairies"]
  .block-content
  .field--name-body {
  justify-content: flex-start;
}

#page-front
  #pre-footer
  .region-pre-footer-bas
  .region-content
  [id*="block-mairies"]
  .block-content
  .field--name-body
  > div:last-child {
  position: relative;
  top: 0;
  left: 0;
}

body.page-recherche #block-cenon-content
  [data-drupal-selector="views-exposed-form-recherche-globale-bloc-resultats-de-recherche"]
  #edit-type .form-checkboxes .js-form-type-checkbox [type="checkbox"] {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}

/* 2) Le label dessine la “case” */
html body input[type="checkbox"] + label {
  position: relative;
  padding-left: 2.5rem;      /* espace pour la case */
  cursor: pointer;
  line-height: 1.6;
}

html body input[type="checkbox"] + label::before {
  content: '';
  position: absolute;
  left: 0; top: 0.2rem;
  width: 25px;
  height: 25px;
  border: 1px solid #7AB529;
  border-radius: 5px;
  background-color: #7AB529;
  display: inline-block;
  box-sizing: border-box;
}

/* 3) L’icône de coche (ta font “cenon”) */
html body input[type="checkbox"] + label::after {
  content: "\e970";
  position: absolute;
  left: 5px;
  top: 6px;                 /* ajusté pour centrer */
  width: 13px;
  height: 13px;
  font-family: "cenon";
  font-size: 17px;
  font-weight: bold;
  color: #fff;
  transform: scale(0);
  transition: transform .2s ease-in-out;
}

/* 4) État coché : on affiche l’icône */
html body input[type="checkbox"]:checked + label::after {
  transform: scale(1);
}

/* 5) Focus clavier visible (très important) */
html body input[type="checkbox"]:focus-visible + label::before {
  outline: 3px solid #000;   /* ou la couleur de ton thème */
  outline-offset: 1px;
}

/* 6) Désactivé (optionnel) */
html body input[type="checkbox"]:disabled + label {
  opacity: .6;
  cursor: not-allowed;
}