@charset "UTF-8";
/*
Theme Name: Cambremer
Theme URI:
Author: Pixelea - Matthieu
Author URI:
Description:
Requires at least: 6.7
Tested up to: 6.7
Requires PHP: 5.7
Version:
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Template: ng1-2025
Text Domain: ng1-2025-subtheme-sample
Tags:
*/
footer.wp-block-template-part {
  max-width: 100%;
}
footer.wp-block-template-part a {
  color: var(--wp--preset--color--contrast-1) !important;
}
footer.wp-block-template-part a:hover {
  text-decoration: underline;
}
footer.wp-block-template-part h4 {
  font-family: var(--wp--preset--font-family--luciole);
  padding-bottom: 10px !important;
}
@media screen and (max-width: 782px) {
  footer.wp-block-template-part h4 {
    margin-top: 1.5rem !important;
  }
  footer.wp-block-template-part h4 + .wp-block-group {
    margin-top: 0.5rem !important;
  }
}
footer.wp-block-template-part hr {
  color: rgba(39, 35, 35, 0.2);
}
footer.wp-block-template-part * {
  font-size: 0.875rem !important;
}
@media screen and (max-width: 650px) {
  footer.wp-block-template-part * .footer-bas .is-layout-flex {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}
footer.wp-block-template-part * a {
  font-size: 0.75rem !important;
  font-style: normal;
  font-weight: 400;
  line-height: 1.25rem; /* 166.667% */
  text-decoration: none;
}
footer.wp-block-template-part * a hr {
  opacity: 0.4;
}
footer.wp-block-template-part * a[href^="tel:"], footer.wp-block-template-part * a[href^="mailto:"] {
  text-decoration: underline;
}
@media screen and (max-width: 782px) {
  footer.wp-block-template-part .wp-block-column {
    text-align: center;
  }
  footer.wp-block-template-part .wp-block-column .is-layout-flex {
    align-items: center;
  }
}

header.wp-block-template-part * a:hover {
  text-decoration: underline;
}

#wpadminbar {
  top: auto !important;
  bottom: 0 !important;
  position: fixed !important;
}

html {
  margin-top: 0 !important;
}

body {
  max-width: 100vw;
  overflow-x: hidden;
}
body.admin-bar {
  margin-bottom: 32px !important; /* laisse la place en bas pour la barre */
}

h1 {
  margin-block-end: 2.5rem !important;
}

.entry-content {
  overflow-x: clip;
}
.entry-content h2,
.entry-content h3 {
  margin-block-start: 3rem;
  margin-block-end: 2rem;
}
.entry-content h4,
.entry-content h5 {
  margin-block-start: 0 !important;
  margin-block-end: 0 !important;
  margin-top: 1.5rem !important;
  margin-bottom: 1rem !important;
}
.entry-content p {
  margin-block-start: 24px;
}
.entry-content ul.wp-block-list li {
  position: relative;
}
.entry-content ul.wp-block-list li::marker {
  content: none;
}
.entry-content ul.wp-block-list li::before {
  content: "";
  position: absolute;
  left: -25px;
  top: 7px;
  width: 14px; /* longueur du trait */
  height: 3px; /* épaisseur */
  background-color: var(--wp--preset--color--contrast-2);
}
.entry-content > .wp-block-group {
  margin-block-start: 1.5rem;
}
.entry-content details {
  margin-block-start: 1.5rem;
}
.entry-content details:first-of-type {
  margin-block-start: 1.5rem;
}
.entry-content details:last-of-type {
  margin-block-end: 1.5rem;
}
.entry-content .bloc-informationnel,
.entry-content .wp-block-gallery,
.entry-content ul.liste-liens,
.entry-content .liens-home {
  margin-block-end: 2rem;
}

@media screen and (max-width: 781px) {
  .reverse {
    flex-direction: column-reverse;
  }
}
body.page .bloc-retour {
  display: none;
}

H4,
h5 {
  border: 0 solid transparent;
  border-left: 3px solid var(--wp--preset--color--base-2);
  padding: 0.5rem 0.5rem 0.5rem 1.5rem;
}

.is-style-section-style1 h1,
.is-style-section-style1 h2,
.is-style-section-style1 h3,
.is-style-section-style1 h4,
.is-style-section-style1 h5 {
  border-left: 4px solid var(--wp--preset--color--contrast-2);
  padding-left: 0.5em;
}
.is-style-section-style1 h1 strong,
.is-style-section-style1 h1 mark,
.is-style-section-style1 h2 strong,
.is-style-section-style1 h2 mark,
.is-style-section-style1 h3 strong,
.is-style-section-style1 h3 mark,
.is-style-section-style1 h4 strong,
.is-style-section-style1 h4 mark,
.is-style-section-style1 h5 strong,
.is-style-section-style1 h5 mark {
  color: var(--wp--preset--color--contrast-2);
  font-weight: 600;
}

h1.is-style-section-style1,
h2.is-style-section-style1,
h3.is-style-section-style1,
h4.is-style-section-style1,
h5.is-style-section-style1 {
  border-left: 4px solid var(--wp--preset--color--contrast-2);
  padding-left: 0.5em;
}
h1.is-style-section-style1 strong,
h1.is-style-section-style1 mark,
h2.is-style-section-style1 strong,
h2.is-style-section-style1 mark,
h3.is-style-section-style1 strong,
h3.is-style-section-style1 mark,
h4.is-style-section-style1 strong,
h4.is-style-section-style1 mark,
h5.is-style-section-style1 strong,
h5.is-style-section-style1 mark {
  color: var(--wp--preset--color--contrast-2);
  font-weight: 600;
}

.is-style-section-style2 h1,
.is-style-section-style2 h2,
.is-style-section-style2 h3,
.is-style-section-style2 h4,
.is-style-section-style2 h5 {
  border-left: 4px solid var(--wp--preset--color--accent-1);
  padding-left: 0.5em;
}
.is-style-section-style2 h1 strong,
.is-style-section-style2 h1 mark,
.is-style-section-style2 h2 strong,
.is-style-section-style2 h2 mark,
.is-style-section-style2 h3 strong,
.is-style-section-style2 h3 mark,
.is-style-section-style2 h4 strong,
.is-style-section-style2 h4 mark,
.is-style-section-style2 h5 strong,
.is-style-section-style2 h5 mark {
  color: var(--wp--preset--color--accent-1);
  font-weight: 600;
}

h1.is-style-section-style2,
h2.is-style-section-style2,
h3.is-style-section-style2,
h4.is-style-section-style2,
h5.is-style-section-style2 {
  border-left: 4px solid var(--wp--preset--color--accent-1);
  padding-left: 0.5em;
}
h1.is-style-section-style2 strong,
h1.is-style-section-style2 mark,
h2.is-style-section-style2 strong,
h2.is-style-section-style2 mark,
h3.is-style-section-style2 strong,
h3.is-style-section-style2 mark,
h4.is-style-section-style2 strong,
h4.is-style-section-style2 mark,
h5.is-style-section-style2 strong,
h5.is-style-section-style2 mark {
  color: var(--wp--preset--color--accent-1);
  font-weight: 600;
}

.is-style-section-style3 h1,
.is-style-section-style3 h2,
.is-style-section-style3 h3,
.is-style-section-style3 h4,
.is-style-section-style3 h5 {
  border-left: 4px solid var(--wp--preset--color--base-3);
  padding-left: 0.5em;
}
.is-style-section-style3 h1 strong,
.is-style-section-style3 h1 mark,
.is-style-section-style3 h2 strong,
.is-style-section-style3 h2 mark,
.is-style-section-style3 h3 strong,
.is-style-section-style3 h3 mark,
.is-style-section-style3 h4 strong,
.is-style-section-style3 h4 mark,
.is-style-section-style3 h5 strong,
.is-style-section-style3 h5 mark {
  color: var(--wp--preset--color--base-3);
  font-weight: 600;
}

h1.is-style-section-style3,
h2.is-style-section-style3,
h3.is-style-section-style3,
h4.is-style-section-style3,
h5.is-style-section-style3 {
  border-left: 4px solid var(--wp--preset--color--base-3);
  padding-left: 0.5em;
}
h1.is-style-section-style3 strong,
h1.is-style-section-style3 mark,
h2.is-style-section-style3 strong,
h2.is-style-section-style3 mark,
h3.is-style-section-style3 strong,
h3.is-style-section-style3 mark,
h4.is-style-section-style3 strong,
h4.is-style-section-style3 mark,
h5.is-style-section-style3 strong,
h5.is-style-section-style3 mark {
  color: var(--wp--preset--color--base-3);
  font-weight: 600;
}

.is-style-section-style4 h1,
.is-style-section-style4 h2,
.is-style-section-style4 h3,
.is-style-section-style4 h4,
.is-style-section-style4 h5 {
  border-left: 4px solid var(--wp--preset--color--contrast-2);
  padding-left: 0.5em;
}
.is-style-section-style4 h1 strong,
.is-style-section-style4 h1 mark,
.is-style-section-style4 h2 strong,
.is-style-section-style4 h2 mark,
.is-style-section-style4 h3 strong,
.is-style-section-style4 h3 mark,
.is-style-section-style4 h4 strong,
.is-style-section-style4 h4 mark,
.is-style-section-style4 h5 strong,
.is-style-section-style4 h5 mark {
  color: var(--wp--preset--color--contrast-2);
  font-weight: 600;
}

h1.is-style-section-style4,
h2.is-style-section-style4,
h3.is-style-section-style4,
h4.is-style-section-style4,
h5.is-style-section-style4 {
  border-left: 4px solid var(--wp--preset--color--contrast-2);
  padding-left: 0.5em;
}
h1.is-style-section-style4 strong,
h1.is-style-section-style4 mark,
h2.is-style-section-style4 strong,
h2.is-style-section-style4 mark,
h3.is-style-section-style4 strong,
h3.is-style-section-style4 mark,
h4.is-style-section-style4 strong,
h4.is-style-section-style4 mark,
h5.is-style-section-style4 strong,
h5.is-style-section-style4 mark {
  color: var(--wp--preset--color--contrast-2);
  font-weight: 600;
}

/* Style 1 */
.is-style-section-style1 .wp-block-button,
.is-style-section-style2 .wp-block-button,
.is-style-info-style1 .wp-block-button,
.is-style-info-style4 .wp-block-button {
  background-color: var(--wp--preset--color--contrast-2);
  border-radius: 8px;
  border: 0;
}
.is-style-section-style1 .wp-block-button .wp-block-button__link,
.is-style-section-style2 .wp-block-button .wp-block-button__link,
.is-style-info-style1 .wp-block-button .wp-block-button__link,
.is-style-info-style4 .wp-block-button .wp-block-button__link {
  position: relative;
  margin-top: 4px;
  left: -2px;
  top: -4px;
  background-color: var(--wp--preset--color--base-4);
  color: var(--wp--preset--color--contrast-1);
  line-height: 1rem;
  border: 0;
}
.is-style-section-style1 .wp-block-button .wp-block-button__link:hover,
.is-style-section-style2 .wp-block-button .wp-block-button__link:hover,
.is-style-info-style1 .wp-block-button .wp-block-button__link:hover,
.is-style-info-style4 .wp-block-button .wp-block-button__link:hover {
  left: 0px;
  top: 0px;
  background-color: var(--wp--preset--color--contrast-2);
  color: var(--wp--preset--color--base-4);
}

.is-style-section-style3 .wp-block-button,
.is-style-section-style4 .wp-block-button,
.is-style-info-style3 .wp-block-button,
.is-style-info-style2 .wp-block-button {
  background-color: var(--wp--preset--color--base-2);
  border-radius: 8px;
  border: 0;
}
.is-style-section-style3 .wp-block-button .wp-block-button__link,
.is-style-section-style4 .wp-block-button .wp-block-button__link,
.is-style-info-style3 .wp-block-button .wp-block-button__link,
.is-style-info-style2 .wp-block-button .wp-block-button__link {
  position: relative;
  left: -2px;
  top: -4px;
  margin-top: 4px;
  background-color: var(--wp--preset--color--contrast-3);
  color: var(--wp--preset--color--contrast-1);
  line-height: 1rem;
  border: 0;
}
.is-style-section-style3 .wp-block-button .wp-block-button__link:hover,
.is-style-section-style4 .wp-block-button .wp-block-button__link:hover,
.is-style-info-style3 .wp-block-button .wp-block-button__link:hover,
.is-style-info-style2 .wp-block-button .wp-block-button__link:hover {
  left: 0px;
  top: 0px;
  background-color: var(--wp--preset--color--base-2);
  color: var(--wp--preset--color--contrast-1);
}

h1.is-style-section-annule,
h2.is-style-section-annule {
  border-left: none !important;
  padding-left: 0 !important;
}

/* Style 1 */
.wp-block-button.is-style-button-style1,
.wp-block-button.is-style-button-style2 {
  background-color: var(--wp--preset--color--contrast-2);
  border-radius: 8px;
  border: 0;
}
.wp-block-button.is-style-button-style1 .wp-block-button__link,
.wp-block-button.is-style-button-style2 .wp-block-button__link {
  position: relative;
  left: -2px;
  margin-top: 4px;
  top: -4px;
  background-color: var(--wp--preset--color--base-4);
  color: var(--wp--preset--color--contrast-1);
  line-height: 1rem;
  border: 0;
}
.wp-block-button.is-style-button-style1 .wp-block-button__link:hover,
.wp-block-button.is-style-button-style2 .wp-block-button__link:hover {
  left: 0px;
  top: 0px;
  background-color: var(--wp--preset--color--contrast-2);
  color: var(--wp--preset--color--base-4);
}

/* Style 3 */
.wp-block-button.is-style-button-style3,
.wp-block-button.is-style-button-style4 {
  background-color: var(--wp--preset--color--base-2);
  border-radius: 8px;
  border: 0;
}
.wp-block-button.is-style-button-style3 .wp-block-button__link,
.wp-block-button.is-style-button-style4 .wp-block-button__link {
  position: relative;
  left: -2px;
  top: -4px;
  margin-top: 4px;
  background-color: var(--wp--preset--color--contrast-3);
  color: var(--wp--preset--color--contrast-1);
  line-height: 1rem;
  border: 0;
}
.wp-block-button.is-style-button-style3 .wp-block-button__link:hover,
.wp-block-button.is-style-button-style4 .wp-block-button__link:hover {
  left: 0px;
  top: 0px;
  background-color: var(--wp--preset--color--base-2);
  color: var(--wp--preset--color--contrast-1);
}

.wp-block-group.is-style-section-style1,
.wp-block-group.is-style-section-style2,
.wp-block-group.is-style-section-style3,
.wp-block-group.is-style-section-style4 {
  padding: 2rem;
}

.wp-block-group.is-style-section-style3 h2 {
  border-left: 4px solid var(--wp--preset--color--contrast-2);
  padding-left: 0.5em;
}
.wp-block-group.is-style-section-style3 h2 strong,
.wp-block-group.is-style-section-style3 h2 mark {
  color: var(--wp--preset--color--contrast-2);
}

.title-wrap {
  display: flex;
  align-items: center;
  gap: 0.5em;
  position: relative;
}
.title-wrap #preh1-link {
  cursor: pointer;
  background-image: url("./assets/images/3-vert-dots.svg");
  background-color: var(--wp--preset--color--contrast-3);
  background-size: 2rem 2rem;
  background-position: center;
  background-repeat: no-repeat;
  width: 2.62rem;
  height: 2.62rem;
  border-radius: 0.5rem;
  display: inline-block;
  order: -1;
  flex-shrink: 0;
}
.title-wrap h1 {
  margin-block-start: 0.67rem;
  margin-block-end: 0.67rem !important;
}

.site-wrapper {
  display: flex;
  transition: transform 0.3s ease;
}

main {
  flex: 1;
  transition: margin-left 0.3s ease;
}

#liste-details-container {
  padding: 1.5rem;
  border-radius: 8px;
  background-color: var(--wp--preset--color--contrast-3);
  top: var(--details-menu-top, 0px);
  position: fixed;
  left: -1000px;
  width: 240px;
  height: -moz-min-content;
  height: min-content;
  box-shadow: 2px 0 6px rgba(0, 0, 0, 0.2);
  transition: left 0.3s ease;
  z-index: 1000;
  overflow-y: auto;
}
#liste-details-container ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
#liste-details-container ul li {
  padding: 0.5rem 0;
}
#liste-details-container ul li a {
  text-transform: uppercase;
  color: var(--wp--preset--color--contrast-1);
  text-decoration: none;
}
#liste-details-container ul li a:hover {
  text-decoration: underline;
}

body.details-menu-open.scrolled #liste-details-container {
  top: 1rem;
}
body.details-menu-open.scrolling-up:not(.scrolled) #liste-details-container {
  top: var(--details-menu-top) !important;
}
body.details-menu-open.scrolling-up #liste-details-container {
  top: 120px;
}
body.details-menu-open #liste-details-container {
  transition: top 0.3s ease-in-out;
  left: 0;
}
@media (min-width: 1500px) {
  body.details-menu-open #liste-details-container {
    left: calc((100vw - 1200px) / 2 - 140px);
  }
}
body.details-menu-open main {
  margin-left: 300px !important;
}
@media (max-width: 900px) {
  body.details-menu-open main {
    margin-left: 0 !important;
  }
  body.details-menu-open #liste-details-container {
    left: -1000px !important;
  }
}

.entry-content > *:not(.wp-block-cover) {
  max-width: var(--wp--style--global--content-size);
  margin-right: auto;
  margin-left: auto;
}

.is-root-container.alignfull {
  max-width: var(--wp--style--global--content-size) !important;
}
.is-root-container.alignfull > * {
  margin-block-end: 2rem !important;
}
.is-root-container.alignfull .wp-block-button.is-style-with-arrow .wp-block-button__link::after {
  background-image: none;
}

.sr-only {
  display: none;
}

body.menu-mobile-open,
body.display-search {
  overflow: hidden;
  height: 100vh; /* utile pour mobile */
}
body.menu-mobile-open .wp-site-blocks:before,
body.display-search .wp-site-blocks:before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.3);
  z-index: 99999;
}
body.menu-mobile-open .wp-site-blocks header.wp-block-template-part,
body.display-search .wp-site-blocks header.wp-block-template-part {
  z-index: 999990;
}

.menu-mega-search {
  display: none;
}

@media screen and (max-width: 900px) {
  body header.wp-block-template-part {
    height: 70px;
    transition: height 0.3s ease;
  }
  body header.wp-block-template-part .menu-mega-search {
    display: inline-block;
    position: absolute;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  body header.wp-block-template-part .menu-mega-search .wp-block-search__inside-wrapper {
    max-width: 90vw;
  }
  body.display-search header.wp-block-template-part {
    height: 300px;
  }
  body.display-search header.wp-block-template-part .lien-header-search {
    top: 3px;
    position: relative;
  }
  body.display-search header.wp-block-template-part .lien-header-search a {
    display: inline-block;
    width: 32px;
    height: 32px;
    background-image: url(./assets/images/picto-x.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
  }
  body.display-search header.wp-block-template-part .lien-header-search a img {
    display: none; /* cache l’img inline */
  }
  body.display-search header.wp-block-template-part .menu-mega-search {
    position: absolute;
    top: 150px;
    left: 50%;
    transform: translateX(-50%);
    visibility: visible;
    opacity: 1;
  }
}
header.wp-block-template-part {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background-color: #fff;
  z-index: 99999;
  width: 100%;
  max-width: var(--wp--style--global--wide-size);
  border-radius: 0 0 30px 30px;
  transition: transform 0.3s ease;
  box-shadow: 0 4px 4px 0 rgba(39, 35, 35, 0.2);
}
@media screen and (min-width: 900px) {
  .scrolled header.wp-block-template-part {
    transform: translate(-50%, -100%);
  }
  .scrolling-up header.wp-block-template-part {
    transform: translate(-50%, 0);
  }
}
.menu-mobile-open header.wp-block-template-part {
  border-radius: 0;
}
header.wp-block-template-part .lien-header-search img {
  width: 40px !important;
}
header.wp-block-template-part .lien-header-contact img {
  width: 40px;
}

.wrapper-menu {
  padding: 1.5rem 2.5rem !important;
}

@media screen and (max-width: 900px) {
  .wrapper-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 1rem !important;
  }
  .wrapper-menu .wp-block-site-logo {
    max-width: 200px;
    margin-right: auto;
    z-index: 1;
  }
  .wrapper-menu .menu-mega {
    order: 3;
    z-index: 0;
  }
  .wrapper-menu > .wp-block-group {
    z-index: 2;
    order: 2;
  }
  .wrapper-menu > .wp-block-group figure {
    max-width: 25px;
  }
  .wrapper-menu > .wp-block-group figure.lien-header-contact {
    display: none;
  }
}
.menu-mega {
  width: 100%;
  max-width: var(--wp--style--global--wide-size) !important;
  /* Niveau 0 : horizontal */
}
.menu-mega a {
  color: var(--wp--preset--color--contrast-1);
  text-decoration: none;
}
.menu-mega a:hover {
  text-decoration: underline;
}
.menu-mega .menu-back {
  display: none;
  background: none;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  margin: 0.5rem 0 1rem 0;
  padding: 0;
  display: flex;
  align-items: center;
}
.menu-mega .menu-back .chevron-left {
  display: inline-block;
  width: 0;
  height: 0;
  margin-right: 0.5rem;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-right: 6px solid #000;
}
.menu-mega ul.menu-niveau-0 {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
@media screen and (max-width: 1050px) {
  .menu-mega ul.menu-niveau-0 {
    gap: 0;
  }
}
.menu-mega ul.menu-niveau-0 > .menu-mega-item {
  position: static;
  /* Niveau 1 */
}
.menu-mega ul.menu-niveau-0 > .menu-mega-item > a {
  text-align: center;
  display: block;
  text-transform: uppercase;
  font-size: 1rem;
  font-weight: 500;
  padding: 1rem 0.75rem;
  color: var(--wp--preset--color--contrast-1);
  text-decoration: none;
}
.menu-mega ul.menu-niveau-0 > .menu-mega-item > a:hover, .menu-mega ul.menu-niveau-0 > .menu-mega-item > a:focus {
  text-decoration: underline;
}
.menu-mega ul.menu-niveau-0 > .menu-mega-item > .menu-niveau-1 {
  position: absolute;
  top: 70%;
  width: 100%;
  left: 0;
  right: 0;
  z-index: 100;
  background: #fff;
  border-radius: 0 0 1.875rem 1.875rem;
  box-shadow: 0 4px 4px rgba(39, 35, 35, 0.2);
  padding: 2rem 0px 4.5rem;
  margin: 0.5rem 0px;
  max-width: var(--wp--style--global--wide-size);
  z-index: 2;
  /* multi-colonnes */
  -moz-column-count: 3;
       column-count: 3;
  -moz-column-gap: 2rem;
       column-gap: 2rem;
  -moz-column-rule: 1px solid rgba(0, 0, 0, 0.3);
       column-rule: 1px solid rgba(0, 0, 0, 0.3);
  list-style: none;
}
.menu-mega ul.menu-niveau-0 > .menu-mega-item > .menu-niveau-1 > li {
  -moz-column-break-inside: avoid;
       break-inside: avoid;
  padding-bottom: 2.5rem;
  padding-left: 2rem;
  padding-right: 2rem;
  /* Niveau 2 */
}
.menu-mega ul.menu-niveau-0 > .menu-mega-item > .menu-niveau-1 > li:hover > a {
  z-index: 0;
  text-decoration: none !important;
}
.menu-mega ul.menu-niveau-0 > .menu-mega-item > .menu-niveau-1 > li:hover > a::before {
  background: var(--wp--preset--color--base-2);
  transform: scaleX(100%);
  transform-origin: left;
  z-index: -1;
}
.menu-mega ul.menu-niveau-0 > .menu-mega-item > .menu-niveau-1 > li > a {
  position: relative;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.25rem;
  text-transform: uppercase;
  border-left: 4px solid var(--wp--preset--color--base-2);
  padding: 0.5rem 0 0.3rem 1rem;
  display: block;
  z-index: 0;
  overflow: hidden;
  text-decoration: none;
}
.menu-mega ul.menu-niveau-0 > .menu-mega-item > .menu-niveau-1 > li > a::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: scaleX(0%);
  transition: transform 0.25s ease;
}
.menu-mega ul.menu-niveau-0 > .menu-mega-item > .menu-niveau-1 > li .menu-niveau-2 {
  list-style: none;
  margin: 0;
  padding: 1.5rem 0 0 1rem;
}
.menu-mega ul.menu-niveau-0 > .menu-mega-item > .menu-niveau-1 > li .menu-niveau-2 li {
  font-size: 0.875rem;
  line-height: 1.1rem;
  padding-bottom: 0.5rem;
}
.menu-mega ul.menu-niveau-0 > .menu-mega-item > .menu-niveau-1 > li .menu-niveau-2 li a:hover {
  text-decoration: none;
  color: var(--wp--preset--color--contrast-2);
}

.menu-burger {
  display: none;
}

@media screen and (min-width: 900px) {
  header.wp-block-template-part nav.menu-mega ul#menu-niveau-0 > li > a {
    pointer-events: none;
  }
}
@media screen and (max-width: 900px) {
  .menu-mega {
    width: auto !important;
  }
  .menu-burger {
    display: block;
    width: 32px;
    height: 23px;
    position: relative;
  }
  .menu-burger {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
  }
  .menu-burger[aria-expanded=true] .burger-icon {
    background: transparent;
  }
  .menu-burger[aria-expanded=true] .burger-icon::before {
    top: 0;
    transform: rotate(45deg);
  }
  .menu-burger[aria-expanded=true] .burger-icon::after {
    top: 0;
    transform: rotate(-45deg);
  }
  .menu-burger .burger-icon {
    position: absolute;
    display: block;
    width: 24px;
    height: 2px;
    right: 5px !important;
    top: 10px !important;
    background: #000;
    position: absolute;
  }
  .menu-burger .burger-icon::before, .menu-burger .burger-icon::after {
    content: "";
    position: absolute;
    left: 0;
    width: 24px;
    height: 2px;
    background: #000;
  }
  .menu-burger .burger-icon::before {
    top: -7px;
  }
  .menu-burger .burger-icon::after {
    top: 7px;
  }
  .menu-niveau-0 > .menu-mega-item > .menu-niveau-1.is-open {
    margin-top: 3rem;
  }
  .menu-niveau-0 {
    border-top: 0;
    transform: translateX(100%);
    flex-direction: column;
    margin-top: 30px;
    border-radius: 0 0 1.875rem 1.875rem;
    box-shadow: 0 4px 4px rgba(39, 35, 35, 0.2);
    background: #fff;
    position: absolute;
    top: 67px;
    z-index: 0;
    justify-content: flex-start !important;
    left: 0;
    width: 100%;
    padding: 50px 0 0 !important;
    z-index: 1;
    text-align: left;
    transition: transform 0.3s ease;
  }
  .menu-niveau-0.is-open {
    transform: translateX(0);
  }
  .menu-niveau-0 > li {
    margin-bottom: 0;
    padding-bottom: 0.5rem !important;
    position: relative !important;
    width: 100%;
  }
  .menu-niveau-0 > li > a {
    text-align: left;
    padding: 1rem 2rem !important;
  }
  .menu-niveau-0 > li > a:hover, .menu-niveau-0 > li > a:focus {
    text-decoration: none !important;
  }
  .menu-niveau-0 > li > a::before {
    content: "";
    background-image: url(./assets/images/picto-x.svg);
    rotate: 45deg;
    background-size: 2rem 2rem;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    width: 1.4rem;
    height: 1.5rem;
    border-radius: 0.1rem;
    display: inline-block;
    position: absolute;
    top: 14px;
    right: 35px;
  }
  .menu-niveau-0 > li > a.title-is-open {
    color: var(--wp--preset--color--contrast-2) !important;
  }
  .menu-niveau-0 > li > a.title-is-open::before {
    content: "-";
    background-image: none;
    rotate: 0deg;
    font-size: 30px;
    display: inline-block;
    position: absolute;
    top: 10px;
    right: 30px;
  }
  .menu-niveau-1 {
    /* multi-colonnes */
    -moz-column-count: 1 !important;
         column-count: 1 !important;
  }
  .menu-niveau-1 > li > ul {
    display: none;
  }
  .menu-niveau-1[hidden] {
    display: inline !important;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease;
  }
  .menu-niveau-1.is-open {
    opacity: 1;
    visibility: visible;
    position: initial !important;
    padding: 0 !important;
  }
  .menu-niveau-1.is-open li {
    padding-bottom: 2rem !important;
    padding-left: 2rem !important;
    padding-right: 2rem !important;
  }
}
body.page main.wp-block-group > .wp-block-query {
  padding: 2rem 1.5rem 4.5rem 1.5rem !important;
}
body.page .wp-block-cover {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

h1.wp-block-post-title {
  font-size: 40px;
  font-style: normal;
  font-weight: 600;
  line-height: 50px;
  font-variant: all-small-caps;
  position: relative;
}

details.wp-block-details {
  overflow: visible;
}
details.wp-block-details > *:not(summary) {
  max-height: none; /* plus besoin de fixer */
  transform: scaleY(0);
  transform-origin: top;
  opacity: 0;
  transition: transform 0.32s ease, opacity 0.32s ease;
}
details.wp-block-details[open] summary {
  background-color: var(--wp--preset--color--base-2);
}
details.wp-block-details[open] summary::after {
  transform-origin: center 10px;
  transform: rotate(180deg);
}
details.wp-block-details[open] summary::before {
  content: "";
  background-color: var(--wp--preset--color--contrast-2);
}
details.wp-block-details[open] > *:not(summary) {
  opacity: 1;
  transform: translateY(0);
}
details.wp-block-details summary {
  font-size: 1.5rem;
  border-radius: 8px;
  font-family: var(--wp--preset--font-family--neutraface-text);
  text-transform: uppercase;
  font-style: normal;
  font-weight: 600;
  line-height: 1.5rem;
  padding: 1.5rem 3.8rem 1.5rem 3rem;
  position: relative;
  background-color: var(--wp--preset--color--contrast-3);
  list-style: none; /* cache le marker sur Firefox */
  transition: all 0.3s ease;
}
details.wp-block-details summary::before {
  content: "";
  background-color: var(--wp--preset--color--accent-1);
  width: 5px;
  height: 1.8rem;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 1.5rem;
  transition: all 0.3s ease;
}
details.wp-block-details summary::after {
  content: "";
  position: absolute;
  background-image: url("./assets/images/picto-chevron.svg");
  background-size: 2rem 2rem;
  background-position: center;
  background-repeat: no-repeat;
  width: 2.62rem;
  height: 2.62rem;
  display: inline-block;
  top: 50%;
  transform: translateY(-50%);
  right: 1.5rem;
  transition: all 0.3s ease;
}
details.wp-block-details summary::maker {
  content: "";
}
details.wp-block-details summary::-webkit-details-marker {
  display: none; /* Chrome / Safari / Edge */
}

.page-depth-2 details.wp-block-details,
.page-depth-3 details.wp-block-details,
.page-depth-4 details.wp-block-details {
  border-top: 1px solid var(--wp--preset--color--contrast-1);
  margin-block-start: 0px;
}
.page-depth-2 details.wp-block-details:first-of-type,
.page-depth-3 details.wp-block-details:first-of-type,
.page-depth-4 details.wp-block-details:first-of-type {
  margin-block-start: 24px;
}
.page-depth-2 details.wp-block-details:last-of-type,
.page-depth-3 details.wp-block-details:last-of-type,
.page-depth-4 details.wp-block-details:last-of-type {
  border-bottom: 1px solid var(--wp--preset--color--contrast-1);
}
.page-depth-2 details.wp-block-details summary,
.page-depth-3 details.wp-block-details summary,
.page-depth-4 details.wp-block-details summary {
  padding: 1.5rem 1.5rem 1.5rem 1.5rem;
  background-color: #fff;
}
.page-depth-2 details.wp-block-details summary::before,
.page-depth-3 details.wp-block-details summary::before,
.page-depth-4 details.wp-block-details summary::before {
  left: 0;
}
.page-depth-2 details.wp-block-details summary::after,
.page-depth-3 details.wp-block-details summary::after,
.page-depth-4 details.wp-block-details summary::after {
  background-image: url("./assets/images/picto-x.svg");
  top: 25%;
  transform: rotate(45deg);
}
.page-depth-2 details.wp-block-details[open] > *:not(summary),
.page-depth-3 details.wp-block-details[open] > *:not(summary),
.page-depth-4 details.wp-block-details[open] > *:not(summary) {
  padding-bottom: 1rem;
}
.page-depth-2 details.wp-block-details[open] summary::after,
.page-depth-3 details.wp-block-details[open] summary::after,
.page-depth-4 details.wp-block-details[open] summary::after {
  transform: rotate(180deg);
  transform-origin: center 20px;
}

.agenda ul {
  margin: 0;
  padding: 0;
  list-style: none !important;
}
@media (max-width: 781px) {
  .agenda ul {
    grid-template-columns: 1fr;
  }
}
.agenda ul li {
  position: relative;
}
.agenda ul li .wp-block-columns {
  gap: 0.5rem;
  margin-bottom: 0;
  height: 100%;
}
.agenda ul li .wp-block-columns .wp-block-column:first-child {
  gap: 0.5rem;
  flex-basis: 33.33%;
  display: flex;
  flex-direction: column;
}
.agenda ul li .wp-block-columns .wp-block-column:first-child figure {
  height: 50%;
}
.agenda ul li .wp-block-columns .wp-block-column:first-child figure img {
  border-radius: 8px;
}
.agenda ul li .wp-block-columns .wp-block-column:first-child .pix-date-event {
  height: 50%;
  margin-block-start: 0;
  border-radius: 8px;
  background-color: var(--wp--preset--color--base-2);
  color: var(--wp--preset--color--contrast-2);
  font-weight: 600;
  text-align: center;
  line-height: 1.6rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.agenda ul li .wp-block-columns .wp-block-column:first-child .pix-date-event .pix-date-day {
  font-size: 2.1875rem;
}
.agenda ul li .wp-block-columns .wp-block-column:first-child .pix-date-event .pix-date-month {
  font-size: 1.125rem;
}
.agenda ul li .wp-block-columns .wp-block-column:last-child {
  padding: 2rem;
  border-radius: 8px;
  background-color: var(--wp--preset--color--base-3);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.agenda ul li .wp-block-columns .wp-block-column:last-child .wp-block-group {
  border-left: 3px solid var(--wp--preset--color--contrast-1);
  padding-left: 0.75rem;
  position: initial;
}
.agenda ul li .wp-block-columns .wp-block-column:last-child .wp-block-group h3 {
  font-size: 1.125rem;
  font-family: var(--wp-preset--family--luciole);
  line-height: 18px; /* 100% */
}
.agenda ul li .wp-block-columns .wp-block-column:last-child .wp-block-group h3 a {
  font-weight: 600;
  color: var(--wp--preset--color--contrast-1);
}
.agenda ul li .wp-block-columns .wp-block-column:last-child .wp-block-group h3 a::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
}
.agenda ul li .wp-block-columns .wp-block-column:last-child .wp-block-group .wp-block-post-excerpt {
  margin-block-start: 0.5rem;
}
.agenda ul li .wp-block-columns .wp-block-column:last-child .wp-block-group .wp-block-post-excerpt p {
  font-size: 0.875rem;
  font-family: var(--wp-preset--family--luciole);
  font-weight: 400;
  line-height: 17.5px; /* 125% */
}

.wp-block-query-pagination {
  display: grid !important;
  grid-template-columns: 1fr auto 1fr; /* gauche | centre | droite */
  align-items: center;
}
.wp-block-query-pagination .wp-block-query-pagination-previous {
  grid-column: 1;
  justify-self: start;
}
.wp-block-query-pagination .wp-block-query-pagination-numbers {
  grid-column: 2;
  justify-self: center;
}
.wp-block-query-pagination .wp-block-query-pagination-next {
  grid-column: 3;
  justify-self: end;
}

body.single-agenda .wp-block-post-featured-image img {
  border-radius: 0.5rem;
}
body.single-agenda .sous-titre .pix-date-event {
  display: inline-flex; /* évite de prendre 100% de largeur */
  align-items: baseline; /* aligne le picto sur la ligne du texte */
  gap: 0.3rem;
  color: var(--wp--preset--color--contrast-1);
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.125rem;
}
body.single-agenda .sous-titre .pix-date-event::before {
  content: "";
  position: relative;
  display: flex;
  width: 1.3em; /* taille relative au texte */
  height: 1.3em;
  top: 0.2em;
  background: url("/wp-content/uploads/2025/09/blog-date.svg") no-repeat center;
  background-size: contain;
  flex-shrink: 0;
}

.wp-block-post-terms .wp-block-post-terms__post-term {
  border-radius: 0.25rem;
  background-color: var(--wp--preset--color--contrast-3);
  border: 1 px solid var(--wp--preset--color--base-2);
  padding: 0.7rem 0.5rem 0.5rem 1.7rem;
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 400;
  line-height: 0.75rem;
  position: relative;
}
.wp-block-post-terms .wp-block-post-terms__post-term:before {
  position: absolute;
  left: 0.2rem;
  display: inline-block;
  content: "";
  background-image: url(./assets/images/picto-tag.svg);
  background-size: 20px 20px;
  width: 20px;
  height: 20px;
  background-repeat: no-repeat;
}

body.single-post .wp-block-post-featured-image img {
  border-radius: 0.5rem;
}
body.single-post .pix-date-event {
  display: inline-flex; /* évite de prendre 100% de largeur */
  align-items: baseline; /* aligne le picto sur la ligne du texte */
  gap: 0.3rem;
  color: var(--wp--preset--color--contrast-1);
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.125rem;
}
body.single-post .pix-date-event::before {
  content: "";
  position: relative;
  display: flex;
  width: 1.3em; /* taille relative au texte */
  height: 1.3em;
  top: 0.2em;
  background: url("/wp-content/uploads/2025/09/blog-date.svg") no-repeat center;
  background-size: contain;
  flex-shrink: 0;
}

.wp-block-gallery.is-style-galerie-1 {
  display: grid !important;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.77rem;
}
.wp-block-gallery.is-style-galerie-1 .wp-block-image {
  margin: 0;
}
.wp-block-gallery.is-style-galerie-1 .wp-block-image:before {
  display: none;
}
.wp-block-gallery.is-style-galerie-1 figcaption {
  display: none;
}
.wp-block-gallery.is-style-galerie-1 img {
  width: 100%;
  height: auto;
  aspect-ratio: 1/1;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 0.428125rem;
  display: block;
}
@media (max-width: 1024px) {
  .wp-block-gallery.is-style-galerie-1 {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 768px) {
  .wp-block-gallery.is-style-galerie-1 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .wp-block-gallery.is-style-galerie-1 {
    grid-template-columns: 1fr;
  }
}

/*
.wp-block-button.is-style-with-arrow .wp-block-button__link,
span.is-style-with-arrow,
a.is-style-with-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.25em;
  transition: gap 0.4s;
  background: transparent !important;
  border-color: transparent !important;
  padding: 10px 10px 10px 60px;
  &:hover {
    text-decoration: underline;
    &:after {
      left: 5px;
    }
  }

  &:after {
    content: "";

    background-image: url(assets/images/arrow.svg);
    mask-image: none;
    display: inline-block;
    position: absolute;
    left: 0px;
    transition: left 0.4s;
    width: 40px;
    height: 40px;
    background-repeat: no-repeat;
    background-position: center;
    background-color: var(--wp--preset--color--base-2);
    border-radius: 50%;
  }
}
*/
.wp-block-button.is-style-with-arrow .wp-block-button__link,
span.is-style-with-arrow,
a.is-style-with-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.25em;
  transition: gap 0.4s;
  background: transparent !important;
  border-color: transparent !important;
  padding: 10px 10px 10px 60px;
  position: relative;
  /* Liens internes contenant "cambremer." → flèche */
  /* Liens externes → globe */
}
.wp-block-button.is-style-with-arrow .wp-block-button__link:hover,
span.is-style-with-arrow:hover,
a.is-style-with-arrow:hover {
  text-decoration: underline;
}
.wp-block-button.is-style-with-arrow .wp-block-button__link:hover::after,
span.is-style-with-arrow:hover::after,
a.is-style-with-arrow:hover::after {
  left: 5px;
}
.wp-block-button.is-style-with-arrow .wp-block-button__link::after,
span.is-style-with-arrow::after,
a.is-style-with-arrow::after {
  content: "";
  display: inline-block;
  position: absolute;
  -webkit-mask-image: none;
          mask-image: none;
  left: 0;
  transition: left 0.4s;
  width: 40px;
  height: 40px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 75%;
  background-color: var(--wp--preset--color--base-2);
  border-radius: 50%;
}
.wp-block-button.is-style-with-arrow .wp-block-button__link[href*="cambremer."]::after,
span.is-style-with-arrow[href*="cambremer."]::after,
a.is-style-with-arrow[href*="cambremer."]::after {
  background-image: url(assets/images/arrow.svg);
}
.wp-block-button.is-style-with-arrow .wp-block-button__link:not([href*="cambremer."])::after,
span.is-style-with-arrow:not([href*="cambremer."])::after,
a.is-style-with-arrow:not([href*="cambremer."])::after {
  background-image: url(assets/images/picto-globe.png);
}

.wp-block-button.is-style-download {
  position: relative;
}

.wp-block-button.is-style-download .wp-block-button__link,
span.is-style-download,
a.is-style-download {
  position: relative;
  text-transform: none;
  text-decoration: underline;
  display: inline-flex;
  align-items: center;
  gap: 0.25em;
  transition: gap 0.4s;
  background: transparent !important;
  border-color: transparent !important;
  padding: 20px 10px 15px 60px;
  transition: all 0.4s ease-in-out;
}
.wp-block-button.is-style-download .wp-block-button__link:hover,
span.is-style-download:hover,
a.is-style-download:hover {
  text-decoration: underline;
  color: var(--wp--preset--color--contrast-2) !important;
}
.wp-block-button.is-style-download .wp-block-button__link:hover::after,
span.is-style-download:hover::after,
a.is-style-download:hover::after {
  transition: all 0.4s ease-in-out;
  background-color: var(--wp--preset--color--base-4);
}
.wp-block-button.is-style-download .wp-block-button__link:hover::before,
span.is-style-download:hover::before,
a.is-style-download:hover::before {
  transition: all 0.4s ease-in-out;
  background-color: var(--wp--preset--color--contrast-2);
}
.wp-block-button.is-style-download .wp-block-button__link:before,
span.is-style-download:before,
a.is-style-download:before {
  content: "";
  display: inline-block;
  position: absolute;
  left: 0;
  top: 0;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--wp--preset--color--base-2);
}
.wp-block-button.is-style-download .wp-block-button__link::after,
span.is-style-download::after,
a.is-style-download::after {
  content: "";
  display: inline-block;
  position: absolute;
  left: 10px;
  top: 10px;
  width: 30px;
  height: 30px;
  -webkit-mask: url("assets/images/picto-download.svg") no-repeat center;
  -webkit-mask-size: contain;
  -webkit-mask: url("assets/images/picto-download.svg") no-repeat center;
          mask: url("assets/images/picto-download.svg") no-repeat center;
  mask-size: contain;
  background-color: var(--wp--preset--color--contrast-1);
  transition: top 0.4s, background-color 0.3s;
}

.wp-block-file {
  display: flex;
  flex-direction: row;
  align-items: center;
  vertical-align: middle;
  gap: 0rem;
}
.wp-block-file[data-wp-interactive="core/file"] {
  flex-wrap: wrap;
}
.wp-block-file[data-wp-interactive="core/file"] > div {
  flex: 1 1 50%;
}
.wp-block-file[data-wp-interactive="core/file"] > object {
  flex: 1 1 100%;
}
.wp-block-file:hover a[download] {
  text-decoration: underline;
  color: var(--wp--preset--color--contrast-2) !important;
}
.wp-block-file:hover a[download]::after {
  transition: all 0.4s ease-in-out;
  background-color: var(--wp--preset--color--base-2);
}
.wp-block-file:hover a[download]::before {
  transition: all 0.4s ease-in-out;
  background-color: var(--wp--preset--color--contrast-2);
}
.wp-block-file:hover a:not([download]) {
  text-decoration: underline;
  color: var(--wp--preset--color--contrast-2) !important;
}
.wp-block-file a[download] {
  order: 1 !important;
  position: relative;
  width: 0;
  font-size: 0;
  text-transform: none;
  text-decoration: underline;
  display: inline-flex;
  align-items: center;
  gap: 0.25em;
  transition: gap 0.4s;
  background: transparent !important;
  border-color: transparent !important;
  padding: 20px 10px 15px 60px;
  transition: all 0.4s ease-in-out;
}
.wp-block-file a[download]:before {
  content: "";
  display: inline-block;
  position: absolute;
  left: 0;
  top: 0;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--wp--preset--color--base-2);
}
.wp-block-file a[download]::after {
  content: "";
  display: inline-block;
  position: absolute;
  left: 10px;
  top: 10px;
  width: 30px;
  height: 30px;
  -webkit-mask: url("assets/images/picto-download.svg") no-repeat center;
  -webkit-mask-size: contain;
  -webkit-mask: url("assets/images/picto-download.svg") no-repeat center;
          mask: url("assets/images/picto-download.svg") no-repeat center;
  mask-size: contain;
  background-color: var(--wp--preset--color--contrast-1);
  transition: top 0.4s, background-color 0.3s;
}
.wp-block-file a:not([download]) {
  order: 2;
  color: var(--wp--preset--color--contrast-1);
}

.fancybox__container {
  z-index: 99999;
}
.fancybox__container .fancybox__backdrop {
  background: var(--wp--preset--color--base-2) !important;
}
.fancybox__container svg {
  stroke: var(--wp--preset--color--contrast-2);
}
.fancybox__container .carousel__button.fancybox__button--close svg {
  width: 40px;
  height: 40px;
}
.fancybox__container .fancybox__content {
  border-radius: 5px;
}
.fancybox__container .fancybox__content .fancybox__caption {
  color: var(--wp--preset--color--base-4);
  background: rgba(0, 0, 0, 0.6);
  position: absolute;
  bottom: 0;
  padding: 0.5rem 2.5rem;
  width: 100%;
}
@media screen and (max-width: 900px) {
  .fancybox__container .fancybox__content .fancybox__caption {
    transform: translateY(100%);
    background: rgb(0, 0, 0);
  }
}

form.wp-block-search__button-inside .wp-block-search__inside-wrapper {
  border-radius: 5px;
  max-width: 97vw;
  background-color: #fff;
}
form.wp-block-search__button-inside .wp-block-search__inside-wrapper .wp-block-search__input {
  border: 0 !important;
}
form.wp-block-search__button-inside .wp-block-search__inside-wrapper .wp-block-search__button {
  background-color: #fff;
}
form.wp-block-search__button-inside .wp-block-search__inside-wrapper .wp-block-search__button svg {
  fill: var(--wp--preset--color--contrast-1);
  transform: scaleX(-1);
}

.wp-block-query.search-res ul li {
  border: 1px solid var(--wp--preset--color--contrast-1);
  border-radius: 8px;
  padding: 2rem;
  position: relative;
  transition: all 0.3s ease-in-out;
}
.wp-block-query.search-res ul li:hover {
  box-shadow: 0 6px 13px 0 rgba(39, 35, 35, 0.3);
}
.wp-block-query.search-res ul li img {
  border-radius: 8px;
}
.wp-block-query.search-res ul li h2 {
  /* Paragraphe/p-large-bold */
  font-size: 18px;
  font-style: normal;
  font-weight: 600;
  text-transform: uppercase;
  font-family: var(--wp--preset--font-family--luciole);
}
.wp-block-query.search-res ul li h2 a {
  color: var(--wp--preset--color--contrast-1);
}
.wp-block-query.search-res ul li h2 a:after {
  content: " ";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  cursor: pointer;
}
.wp-block-query.search-res ul li .wp-block-post-terms__post-term {
  width: -moz-fit-content;
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.wp-block-query.search-res ul li .pix-date-event {
  position: relative;
  width: 100%;
  margin-block-start: 0.5rem;
  padding: 1.5rem 0;
  border-radius: 8px;
  background-color: var(--wp--preset--color--base-2);
  color: var(--wp--preset--color--contrast-2);
  font-weight: 600;
  text-align: center;
  line-height: 1.6rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
}

.wp-block-query-pagination a {
  color: var(--wp--preset--color--contrast-1);
}

form.search-filters {
  background-color: var(--wp--preset--color--contrast-3);
  border-radius: 8px;
  padding: 2rem;
}
form.search-filters h3 {
  color: var(--wp--preset--color--contrast-1);
  text-align: center;
  font-family: var(--wp--preset--font-family--luciole);
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 24px;
  text-transform: uppercase;
}
form.search-filters .search-filters__group {
  margin: 2rem auto 3rem;
}
form.search-filters .search-filters__group p {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
form.search-filters .search-filters__group p label.search-filters__item input {
  margin-right: 0.7rem;
}
form.search-filters .search-filters__group div {
  padding: 0.7rem 0;
}
form.search-filters .search-filters__group div label input {
  margin-right: 1rem;
}
form.search-filters button {
  width: 100%;
  font-size: 16px;
  text-transform: uppercase;
  font-style: normal;
  font-weight: 400;
  line-height: 20px;
  padding: 0.5rem 2rem;
  border: 1px solid var(--wp--preset--color--contrast-2);
  background-color: var(--wp--preset--color--contrast-3);
  color: var(--wp--preset--color--contrast-2);
  cursor: pointer;
}
form.search-filters button:hover {
  background-color: var(--wp--preset--color--contrast-2);
  color: var(--wp--preset--color--contrast-3);
}

body.home .wp-block-cover {
  min-height: auto !important;
  aspect-ratio: 2/1 !important;
  padding: 0 !important;
  max-height: 100vh !important;
}
@media screen and (max-width: 480px) {
  body.home .wp-block-cover {
    min-height: 700px !important;
  }
}
body.home .wp-block-cover .wp-block-cover__inner-container {
  width: auto;
  position: absolute;
  bottom: 40px;
}

.carte-home img {
  max-width: 90%;
}
@media screen and (min-width: 900px) {
  .carte-home .wp-block-columns .wp-block-column:first-child > .wp-block-group {
    padding-right: 0 !important;
  }
  .carte-home .wp-block-columns .wp-block-column:last-child > .wp-block-group {
    padding-left: 0 !important;
  }
  .carte-home img {
    max-width: 100%;
  }
}

.marge-gauche {
  max-width: calc(100vw - 50% + var(--wp--style--global--wide-size) / 2) !important;
  margin: 0 0 0 auto !important;
}
.marge-gauche > * {
  margin-left: 30px !important;
  margin-right: auto !important;
}

.marge-droite {
  margin-right: 1.5rem !important;
  margin-left: 1.5rem !important;
}

@media screen and (min-width: 782px) {
  .marge-droite {
    max-width: calc(100vw - 50% + var(--wp--style--global--wide-size) / 2) !important;
    margin: 0 auto 0 0 !important;
  }
  .marge-droite > * {
    margin-left: auto !important;
    margin-right: 30px !important;
  }
}
@media screen and (max-width: 450px) {
  .is-actu-home {
    padding-top: 5.5rem !important;
  }
  .is-actu-home h2 {
    bottom: 40px;
    position: relative;
  }
}
.is-actu-home .wp-block-query {
  max-width: 100%;
}
ul.carte-actu-liste {
  padding-right: 1.5rem;
  padding-left: 1.5rem;
}
ul.carte-actu-liste + nav.wp-block-query-pagination {
  padding-right: 1.5rem;
  padding-left: 1.5rem;
}
ul.carte-actu-liste li:hover > .wp-block-group {
  box-shadow: 0 4px 13px 0 rgba(39, 35, 35, 0.7) !important;
}
ul.carte-actu-liste li > .wp-block-group {
  transition: all 0.3s ease;
}
ul.carte-actu-liste li > .wp-block-group {
  height: 100%; /* ton style conservé */
  border-radius: 8px;
  overflow: hidden;
  background-color: #fff;
  box-shadow: 0 6px 13px 0 rgba(39, 35, 35, 0.3);
}
ul.carte-actu-liste li > .wp-block-group .wp-block-group:nth-child(1) {
  position: relative;
  /* Image uniforme */
}
ul.carte-actu-liste li > .wp-block-group .wp-block-group:nth-child(1) .wp-block-post-featured-image img {
  width: 100%;
  height: 200px; /* fixe la hauteur */
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}
ul.carte-actu-liste li > .wp-block-group .wp-block-group:nth-child(1) .taxonomy-category.wp-block-post-terms {
  position: absolute;
  bottom: -28px;
  left: 50%;
  transform: translateX(-50%);
}
ul.carte-actu-liste li > .wp-block-group .wp-block-group:nth-child(1) .taxonomy-category.wp-block-post-terms .wp-block-post-terms__post-term {
  text-transform: uppercase;
  text-align: center;
  background-color: var(--wp--preset--color--contrast-3);
  padding: 0.5rem;
  font-weight: 600 !important;
  font-family: var(--wp--preset--font-family--luciole);
  font-size: 16px !important;
  display: block;
  line-height: 17px;
}
ul.carte-actu-liste li > .wp-block-group .wp-block-group:nth-child(1) .taxonomy-category.wp-block-post-terms .wp-block-post-terms__post-term:before {
  content: none;
}
ul.carte-actu-liste li > .wp-block-group .wp-block-group:nth-child(2) {
  padding: 2rem 1rem;
  position: initial;
  /* flex pour pousser l’extrait et équilibrer la hauteur */
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}
ul.carte-actu-liste li > .wp-block-group .wp-block-group:nth-child(2) .wp-block-post-excerpt {
  margin-block-start: 0px;
  flex: 1 1 auto;
}
ul.carte-actu-liste li > .wp-block-group .wp-block-group:nth-child(2) h3 {
  margin: 0 !important;
}
ul.carte-actu-liste li > .wp-block-group .wp-block-group:nth-child(2) h3 a {
  font-size: 1.125rem !important;
  line-height: 18px !important;
  font-weight: 600 !important;
}
ul.carte-actu-liste li > .wp-block-group .wp-block-group:nth-child(2) h3 a::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
}
ul.carte-actu-liste li > .wp-block-group .wp-block-group:nth-child(2) H3 a,
ul.carte-actu-liste li > .wp-block-group .wp-block-group:nth-child(2) .wp-block-post-excerpt p {
  font-family: var(--wp--preset--font-family--luciole);
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px;
  color: var(--wp--preset--color--contrast-1);
}

.wp-block-query.slider-actu-home {
  /* ---- CONFIG SLICK GOUTTIÈRES ---- */
}
.wp-block-query.slider-actu-home ul.wp-block-post-template {
  margin: 0 14px;
  display: flex !important;
}
.wp-block-query.slider-actu-home ul.wp-block-post-template li {
  margin-bottom: 1rem;
}
.wp-block-query.slider-actu-home ul.wp-block-post-template li[tabindex="-1"] > .wp-block-group {
  box-shadow: none;
}
.wp-block-query.slider-actu-home ul.wp-block-post-template li:hover > .wp-block-group {
  box-shadow: 0 4px 20px 0 rgba(39, 35, 35, 0.6);
}
.wp-block-query.slider-actu-home ul.wp-block-post-template li > .wp-block-group {
  transition: all 0.3s ease;
}
.wp-block-query.slider-actu-home ul.wp-block-post-template li[aria-hidden=true] > .wp-block-group::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  /* 🔑 dégradé transparent → fond */
  background: linear-gradient(to right, rgba(255, 214, 130, 0) 0%, #ffd682 40%, #ffd682 50%);
}
@media (max-width: 768px) {
  .wp-block-query.slider-actu-home ul.wp-block-post-template li[aria-hidden=true] > .wp-block-group::after {
    background: linear-gradient(to right, rgba(255, 214, 130, 0) 2%, #ffd682 14%, #ffd682 37%);
  }
}
.wp-block-query.slider-actu-home ul.wp-block-post-template li > .wp-block-group {
  height: 100%; /* ton style conservé */
  /* flex pour que tous les li s’alignent en hauteur */
  display: flex !important;
  flex-direction: column;
  overflow: hidden;
}
.wp-block-query.slider-actu-home ul.wp-block-post-template .slick-arrow {
  position: absolute;
  top: -40px;
  right: 0;
  margin: 0;
  left: auto;
  background-color: var(--wp--preset--color--contrast-3);
  width: 40px;
  height: 40px;
  border-radius: 50%;
}
.wp-block-query.slider-actu-home ul.wp-block-post-template .slick-arrow.slick-disabled {
  background-color: var(--wp--preset--color--base-4);
}
.wp-block-query.slider-actu-home ul.wp-block-post-template .slick-arrow::before {
  content: none;
}
.wp-block-query.slider-actu-home ul.wp-block-post-template .slick-arrow.slick-prev {
  right: 60px;
}
.wp-block-query.slider-actu-home ul.wp-block-post-template .slick-arrow.slick-next {
  right: 10px;
}
.wp-block-query.slider-actu-home .slick-list {
  margin-left: -10px;
  margin-right: -10px;
}
.wp-block-query.slider-actu-home .slick-slide {
  display: flex !important;
  height: auto !important;
  padding-left: 10px;
  padding-right: 10px;
}
.wp-block-query.slider-actu-home .slick-slide > div {
  display: flex;
  flex: 1 1 auto;
}
.wp-block-query.slider-actu-home .slick-track {
  display: flex !important;
}

.mot-commune-home {
  position: relative;
}
.mot-commune-home:after {
  content: "";
  position: absolute;
  background-image: url(./assets/images/c.png);
  background-size: 100%;
  background-repeat: no-repeat;
  z-index: -1;
  rotate: -3deg;
  width: 200px;
  height: 200px;
  top: -75px;
  right: -71px;
}

.wp-block-contact-form-7-contact-form-selector form.wpcf7-form input,
.wp-block-contact-form-7-contact-form-selector form.wpcf7-form select,
.wp-block-contact-form-7-contact-form-selector form.wpcf7-form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--wp--preset--color--contrast-1) !important;
  border-radius: 4px;
  font-size: 1rem;
}
.wp-block-contact-form-7-contact-form-selector form.wpcf7-form input[type=submit] {
  position: relative;
  cursor: pointer;
  left: -2px;
  top: -4px;
  background-color: var(--wp--preset--color--base-4) !important;
  color: var(--wp--preset--color--contrast-1) !important;
  line-height: 1rem;
  border-radius: 4px !important;
  border: 0 !important;
}
.wp-block-contact-form-7-contact-form-selector form.wpcf7-form input[type=submit]:hover {
  left: 0px;
  top: 0px;
  background-color: var(--wp--preset--color--contrast-2) !important;
  color: var(--wp--preset--color--base-4) !important;
}

/*

    --wp--preset--color--contrast-1: #272323;   // noir
    --wp--preset--color--contrast-2: #A2472C;   // maron
    --wp--preset--color--contrast-3: #FFEDC6;   //. beige
    --wp--preset--color--base-1:  #fff
    --wp--preset--color--base-2: #FFD682;    /// orange
    --wp--preset--color--base-3: #B6D77F;     // vert light
    --wp--preset--color--base-4: #EFD3B9;     // rose
    --wp--preset--color--accent-1: #FFBE4A
    --wp--preset--color--accent-2: #EFD3B9;   //. rose light
    --wp--preset--color--accent-3: #D3E8AE;    vert très light



    --wp--preset--color--vert-tres-fonce: #7CAA38;   /// vert foncé 


*/