/*
Theme Name: twentytwenyfour-childb
Theme URI: 
Author: [ZAA.CC] Design web
Author URI: 
Description: 
Requires at least: 6.7
Tested up to: 6.7
Requires PHP: 5.7
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Template: twentytwentyfour
Text Domain: twentytwenyfour-childb
Tags: 


--wp--preset--color--base: #ffffff;
--wp--preset--color--contrast: #263840;
--wp--preset--color--transparent: transparent;
--wp--preset--color--primary: #038575;
--wp--preset--color--secondary: ##bf4733;
--wp--preset--color--custom-yellow: #fab233
--wp--preset--color--custom-grey-dark: #7f7f7f
--wp--preset--color--custom-grey: #dddddd
--wp--preset--color--custom-grey-light: #efefef
 

 */ 
:root {
  --wp--preset--border--radius: 25px;
  --search-filter-scale-border-radius: 20px;
}
html {
  scroll-padding-top: 90px;
}
body {}
/* Accessibility */
a, :root :where(.wp-block-post-author-name a:where(:not(.wp-element-button))), .tribe-events h3.tribe-common-h7 a, .wp-block-post-title :where(a) {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
  text-decoration-color: var(--wp--preset--color--contrast);
}
.sans-soulignement a {
  text-decoration: none;
  text-underline-offset: 3px;
  text-decoration-thickness: 0;
  text-decoration-color: var(--wp--preset--color--contrast);
}
a.wp-element-button:hover {
  text-decoration: none !important;
}
/*
h1 a, h2 a, h3 a, h4 a, h5 a {
    text-decoration-thickness: 4px;
}*/
a:hover, a:focus, a:active, .souligne a, .souligne a:focus, .souligne a:active, h1 a:focus, h2 a:focus, h3 a:focus, h1 a:hover, h2 a:hover, h3 a:hover, h1 a:active, h2 a:active, h3 a:active, :root :where(a:where(:not(.wp-element-button)):hover), :root :where(a:where(:not(.wp-element-button)):focus), :root :where(a:where(:not(.wp-element-button)):active), .tribe-events h3.tribe-common-h7 a:hover, .tribe-events h3.tribe-common-h7 a:focus, .tribe-events h3.tribe-common-h7 a:active, .current-menu-item a.wp-block-navigation-item__content, a.current-menu-ancestor {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
  text-decoration-color: var(--wp--preset--color--primary);
  border-bottom: 0;
}
:root :where(.wp-block-search .wp-block-search__input) {
  border-radius: var(--wp--preset--border--radius);
}
button:focus:not(:focus-visible), .button:focus {
  outline: 0;
  text-decoration: none;
}
.button, .btn, .bouton, .nav a, .navigation a, .menu a, [role="button"] {
  text-decoration: none;
}
.invisible {
  font-size: 1px;
  line-height: 1px;
  height: 1px;
  opacity: 0;
  margin: 0;
  padding: 0;
}
/* Revolution / button / submit  */
a.rev-btn:focus, a.btn:focus, input[type="submit"]:focus {
  background-color: var(--noir);
  border-color: var(--noir);
  color: var(--blanc);
}
[role=button] {
  cursor: pointer
}
[list]::-webkit-calendar-picker-indicator {
  display: none
}
[type=button], [type=reset], [type=submit], button {
  -webkit-appearance: button
}
[type=button]:not(:disabled), [type=reset]:not(:disabled), [type=submit]:not(:disabled), button:not(:disabled) {
  cursor: pointer
}
::-moz-focus-inner {
  padding: 0;
  border-style: none
}
::placeholder {
  color: var(--placeholder);
  opacity: 0.8;
}
.metas {
  gap: unset;
  column-gap: 1rem;
}
.wp-block-search .wp-element-button {
  background-color: var(--wp--preset--color--custom-yellow);
  color: var(--wp--preset--color--base);
  border: 1px solid var(--wp--preset--color--custom-yellow);
  border-radius: var(--wp--preset--border--radius); /* Optional: Rounded corners */
  padding: 8px 20px; /* Adjust padding */
  text-decoration: none; /* Ensure no underline */
}
.wp-block-button.is-style-color-1 a {
  background-color: var(--wp--preset--color--base);
  color: var(--wp--preset--color--custom-yellow);
  border: 1px solid var(--wp--preset--color--base);
  border-radius: var(--wp--preset--border--radius); /* Optional: Rounded corners */
  padding: 8px 20px; /* Adjust padding */
  text-decoration: none; /* Ensure no underline */
}
.wp-block-button.is-style-color-2 a {
  background-color: transparent;
  color: var(--wp--preset--color--primary);
  border: 1px solid var(--wp--preset--color--primary);
  border-radius: var(--wp--preset--border--radius); /* Optional: Rounded corners */
  padding: 8px 20px; /* Adjust padding */
  text-decoration: none; /* Ensure no underline */
}
/* Fond transparence, bordure et texte blanc */
.wp-block-button.is-style-color-3 a {
  color: var(--wp--preset--color--base);
  border: 2px solid var(--wp--preset--color--base);
  background-color: transparent;
  border-radius: var(--wp--preset--border--radius); /* Optional: Rounded corners */
  padding: 8px 20px; /* Adjust padding */
  text-decoration: none; /* Ensure no underline */
}
.wp-block-button.is-style-color-3 a:hover, .wp-block-search .wp-element-button:hover {
  color: var(--wp--preset--color--contrast);
  border: 2px solid var(--wp--preset--color--base);
  background-color: var(--wp--preset--color--base);
  border-radius: var(--wp--preset--border--radius); /* Optional: Rounded corners */
  padding: 8px 20px; /* Adjust padding */
  text-decoration: none; /* Ensure no underline */
}
#ateliers a.wp-element-button, .wp-block-button.is-style-outline a:hover, .wp-block-button.is-style-outline > .wp-block-button__link:not(.has-text-color, .has-background):hover, .wp-block-search .wp-element-button:hover {
  color: var(--wp--preset--color--base);
  border: 1px solid var(--wp--preset--color--primary);
  background-color: var(--wp--preset--color--primary);
  border-radius: var(--wp--preset--border--radius); /* Optional: Rounded corners */
  padding: 8px 20px; /* Adjust padding */
  text-decoration: none; /* Ensure no underline */
}
#ateliers a.wp-element-button:hover, .wp-block-button a:hover, .wp-block-button.is-style-color-1 a:hover, .wp-block-button.is-style-color-2 a:hover, header .mc-field-group .wp-element-button:hover {
  background-color: var(--wp--preset--color--contrast);
  color: var(--wp--preset--color--base); /* White text */
  border: 1px solid var(--wp--preset--color--contrast);
  text-decoration: none;
}
#tribe-events-content .tribe-block__event-website a, .wp-block-file a.wp-block-file__button {
  background-color: var(--wp--preset--color--primary);
  color: var(--wp--preset--color--base);
  border: 1px solid var(--wp--preset--color--primary);
  border-radius: var(--wp--preset--border--radius); /* Optional: Rounded corners */
  padding: 8px 20px; /* Adjust padding */
  text-decoration: none; /* Ensure no underline */
  font-size: var(--wp--preset--font-size--medium);
}
#tribe-events-content .tribe-block__event-website a:hover, .wp-block-file a.wp-block-file__button:hover {
  background-color: var(--wp--preset--color--secondary);
  color: var(--wp--preset--color--base);
  border: 1px solid var(--wp--preset--color--secondary);
  border-radius: var(--wp--preset--border--radius); /* Optional: Rounded corners */
  padding: 8px 20px; /* Adjust padding */
  text-decoration: none; /* Ensure no underline */
}
.wp-block-file a.wp-block-file__button {
  font-size: var(--wp--preset--font-size--xsmall);
}
/* Navigation */
@media (min-width: 1024px) and (max-width:1180px) {
  header nav.has-small-font-size, header nav.has-small-font-size .has-small-font-size {
    font-size: var(--wp--preset--font-size--xsmall) !important;
  }
}
.autres-langues a {
  text-decoration: none;
}
.autres-langues a:hover {
  color: var(--wp--preset--color--base);
  text-decoration: underline;
}
.autres-langues svg {
  fill: var(--wp--preset--color--base);
}
.wp-site-blocks > header.wp-block-template-part {
  position: sticky;
  top: 0;
  background-color: var(--wp--preset--color--base) !important;
  z-index: 999;
}
.wp-block-navigation .has-child .wp-block-navigation__submenu-container {
  min-width: 280px !important;
}
.navigation-align-right {
  margin-left: auto !important;
}
.desktop-invisible.wp-block-search .wp-block-search__input {
  padding-left: 10px;
}
@media only screen and (max-width:1024px) {
  .wp-block-navigation .has-child .wp-block-navigation__submenu-container > .wp-block-navigation-item > .wp-block-navigation-item__content {
    padding: 0 1em;
  }
  .wp-container-core-group-is-layout-2 {
    justify-content: space-between;
  }
  .wp-block-navigation__responsive-close {
    padding-right: var(--wp--style--root--padding-right);
    padding-left: var(--wp--style--root--padding-left);
  }
  .invisible-mobile {
    display: none !important;
  }
  .has-modal-open form.wp-block-search__button-inside.wp-block-search__icon-button.desktop-invisible.wp-block-search {
    max-width: 230px;
  }
}
/* For screens wider than 1023px – show full navigation */
@media (min-width: 1024px) {
  .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
    display: block;
    width: 100%;
    position: relative;
    z-index: auto;
    background-color: inherit;
  }
  .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) .wp-block-navigation__responsive-container-close {
    display: none;
  }
  .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container {
    left: 0;
  }
  .wp-block-navigation__responsive-container-open:not(.always-shown) {
    display: none;
  }
}
/* For screens 1023px or narrower – show mobile (hamburger) navigation */
@media (max-width: 1023px) {
  .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
    display: none;
  }
  .wp-block-navigation__responsive-container-open:not(.always-shown) {
    display: flex;
  }
}
@media (max-width: 566px) {
  .nav-top.has-small-font-size, .nav-top .has-small-font-size {
    font-size: var(--wp--preset--font-size--xsmall) !important;
  }
}
@media (max-width: 520px) {
  .nav-top .translate-text {
    display: none;
  }
}
/******************************************
/* Search Top
*******************************************/
@media only screen and (max-width:1024px) {
  .invisible-mobile {
    display: none !important;
  }
}
@media only screen and (min-width:1024px) {
  .desktop-invisible {
    display: none !important;
  }
}
/*#search-top {
  position: absolute;
  top: 0;
  width: var(--wp--style--global--wide-size);
  margin: 0 auto;
  display: none;
  background-color: var(--wp--preset--color--base);
  padding-top: 12px;
}*/
#search-top {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--wp--style--global--wide-size);
  display: none;
  background-color: var(--wp--preset--color--base);
  padding-top: 31px;
  z-index: 99;
}
@media only screen and (min-width:1480px) {
  #search-top > .largeur {
    width: 85.8%;
    margin-left: auto;
    margin-right: auto;
    padding-right: var(--wp--style--root--padding-right);
    padding-left: var(--wp--style--root--padding-left);
  }
}
@media only screen and (min-width:1688px) {
  #search-top > .largeur {
    width: 100%;
    padding-left: 0;
    padding-right: 0;
  }
}
.header-wide-container #search-top {
  width: 100%;
  margin: 0;
  padding: 0 40px;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
#search-top input {
  float: left;
  margin: 0px;
  width: 96%;
  height: 50px;
  border: 0;
  background: transparent;
  color: #666666;
  font-size: 38px;
  font-weight: 300;
  border-radius: none;
  box-shadow: none;
  -webkit-font-smoothing: antialiased;
}
#search-top input::-webkit-input-placeholder {
  color: #666666;
  opacity: 0.6;
}
#search-top input:-moz-placeholder {
  color: #666666;
  opacity: 0.6;
}
#search-top input::-moz-placeholder {
  color: #666666;
  opacity: 0.6;
}
#search-top input:-ms-input-placeholder {
  color: #666666;
  opacity: 0.6;
}
#search-top input:focus {
  outline: none;
}
#close-search-btn, #search-btn button {
  margin: 0;
  font-size: var(--wp--preset--font-size--large);
  color: var(--wp--preset--color--base);
  fill: var(--wp--preset--color--base);
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -ms-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
  padding: 6px 8px;
  border: 1px solid var(--wp--preset--color--custom-yellow);
  background: var(--wp--preset--color--custom-yellow);
  float: right;
  margin-top: 0;
  line-height: 0;
  border-radius: var(--wp--preset--border--radius);
}
/*#close-search-btn {
  margin-top: -54px;
}*/
#close-search-btn:hover, #search-btn button:hover {
  border: 1px solid var(--wp--preset--color--primary);
  color: var(--wp--preset--color--base);
  fill: var(--wp--preset--color--base);
  background-color: var(--wp--preset--color--primary);
}
/* Search */ :where(.wp-block-search__input) {
  padding: 8px 8px 8px 20px;
}
/* MailChimp - Header */
header .mc-field-group {
  display: flex;
  height: 40px;
}
header .mc-field-group input.wp-element-input[type="email"] {
  font-size: var(--wp--preset--font-size--xsmall);
  border: 2px solid var(--wp--preset--color--base);
  border-radius: var(--wp--preset--border--radius);
  line-height: 1.3;
  padding: 8px 15px;
  margin-top: -1px;
}
header .mc-field-group .wp-element-button {
  font-size: var(--wp--preset--font-size--xsmall);
  line-height: 1;
  padding: 4px 15px;
  border: 2px solid var(--wp--preset--color--custom-yellow);
  border-radius: var(--wp--preset--border--radius);
  background: var(--wp--preset--color--custom-yellow);
  color: var(--wp--preset--color--base);
  font-weight: 700;
  margin-left: -40px;
}
@media only screen and (max-width:560px) {
  header .mc-field-group {
    height: 30px;
  }
  header .mc-field-group .wp-element-button {
    margin-left: -70px;
  }
}
header .mc_embed_shell p {
  margin: 0;
  padding: 0;
  height: 0;
}
footer h2.mc_custom_border_hdr {
  margin-top: 0 !important;
}
.mc_signup_form label {
  font-weight: 700;
}
.mc_signup_form input {
  font-size: var(--wp--preset--font-size--xsmall);
  border: 2px solid var(--wp--preset--color--custom-grey-light);
  border-radius: var(--wp--preset--border--radius);
  line-height: 1.3;
  margin-top: -1px;
}
.mc_signup_form input[type="submit"] {
  font-size: var(--wp--preset--font-size--small);
  line-height: 1.2;
  border: 2px solid var(--wp--preset--color--primary);
  border-radius: var(--wp--preset--border--radius);
  background: var(--wp--preset--color--primary);
  color: var(--wp--preset--color--base);
  font-weight: 700;
  width: 100%;
}
/************************************************
Home page 
************************************************/
ul.is-style-checkmark-list li::marker {
  color: var(--wp--preset--color--primary);
}
/* Slider Revolution * /
/* tab */
#SR7_2_1 .hesperiden .sr7-tab-title {
  line-height: 46px !important;
}
#SR7_2_1 .hesperiden .sr7-tab-img {
  margin-top: 4px;
}
.sr7-tab-title {
  font-weight: 600 !important;
  line-height: 46px !important;
}
.hesperiden .sr7-tab {
  height: 80px !important;
}
/*.hesperiden .sr7-tab.sr7-touchhovert, .hesperiden .sr7-tab.selected {
	height:75px !important;
}*/
.hesperiden .sr7-tab .sr7-tab-content {
  margin-top: -10px !important;
  height: 80px !important;
}
.hesperiden .sr7-tab.sr7-touchhover .sr7-tab-content, .hesperiden .sr7-tab.selected .sr7-tab-content {
  background: var(--noir) !important;
  margin-top: -10px !important;
  height: 80px !important;
}
.hesperiden .sr7-tab.selected {
  height: 80px !important;
}
.hesperiden .sr7-tab:first-of-type {
  border-top-left-radius: var(--wp--preset--border--radius);
  border-bottom-left-radius: var(--wp--preset--border--radius);
}
.hesperiden .sr7-tab:last-of-type {
  border-top-right-radius: var(--wp--preset--border--radius);
  border-bottom-right-radius: var(--wp--preset--border--radius);
}
sr7-img#fgauche:hover {
  background: url('assets/img/CREDIL_fleche-gauche-jaune.svg') 50% 50% / cover no-repeat transparent !important;
  transition: background 0.3s ease;
}
sr7-img#fdroite:hover {
  background: url('assets/img/CREDIL_fleche-droite-jaune.svg') 50% 50% / cover no-repeat transparent !important;
  transition: background 0.3s ease;
}
/* Services */
/* Le contenu du cover prend toute la hauteur et se pousse en bas */
@media (min-width: 782px) {
  /* 1) on cible la PREMIÈRE rangée Columns dans #services, peu importe les wrappers */
  #services .wp-block-columns:first-of-type {
    display: flex !important;
    align-items: stretch !important;
  }
  /* 2) les colonnes deviennent des conteneurs flex en hauteur */
  #services .wp-block-columns:first-of-type > .wp-block-column {
    display: flex !important;
    flex-direction: column !important;
    align-self: stretch !important;
  }
  /* 3) le cover gauche doit pouvoir s'étirer : on enlève la contrainte ratio */
  #services .wp-block-columns:first-of-type > .wp-block-column:first-child .wp-block-cover {
    flex: 1 1 auto !important;
    height: 100% !important;
    min-height: 0 !important;
    aspect-ratio: auto !important; /* ← clé */
  }
  /* 4) la colonne droite : ses 2 sous-colonnes en flex + les covers en flex:1 */
  #services .wp-block-columns:first-of-type > .wp-block-column:last-child > .wp-block-columns {
    height: 100% !important;
    align-items: stretch !important;
  }
  #services .wp-block-columns:first-of-type > .wp-block-column:last-child > .wp-block-columns > .wp-block-column {
    display: flex !important;
    flex-direction: column !important;
  }
  #services .wp-block-columns:first-of-type > .wp-block-column:last-child .wp-block-cover {
    flex: 1 1 auto !important;
    min-height: 0 !important;
  }
  /* 5) mettre le cartouche en bas (sans spacer) */
  #services .wp-block-columns:first-of-type > .wp-block-column:first-child .wp-block-cover__inner-container {
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
  }
  /* Make cover inner container and its direct children stretch full width */
  #services .wp-block-cover__inner-container {
    width: 100% !important;
  }
  /* Your green box is a Group inside the cover inner container */
  #services .wp-block-cover__inner-container > .wp-block-group {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    align-self: stretch !important; /* important when parent becomes flex */
  }
  /* Safety: headings/paragraphs should not re-introduce centering */
  #services .wp-block-cover__inner-container > .wp-block-group * {
    max-width: none;
  }
}
/* 2) Hover effect: when hovering the TILE, change the green box background */
#services .wp-block-cover {
  cursor: pointer; /* optional UX hint */
}
/* smooth transition */
#services .wp-block-cover__inner-container > .wp-block-group.has-background {
  transition: background-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
/* hover: cover hover OR keyboard focus within (accessibility) */
#services .wp-block-cover:hover .wp-block-cover__inner-container > .wp-block-group.has-background, #services .wp-block-cover:focus-within .wp-block-cover__inner-container > .wp-block-group.has-background {
  background-color: var(--wp--preset--color--contrast) !important;
}
/* 3) Keep link text readable + remove default underline behavior */
#services .wp-block-cover__inner-container > .wp-block-group.has-background a {
  color: inherit;
  text-decoration: none;
}
/* 4) Make the H3 link easier to click (fills the green box width) */
#services .wp-block-cover__inner-container > .wp-block-group.has-background h3 a {
  display: block;
  width: 100%;
}
/* Optional: small underline on hover for the link only */
#services .wp-block-cover:hover .wp-block-cover__inner-container > .wp-block-group.has-background h3 a, #services .wp-block-cover:focus-within .wp-block-cover__inner-container > .wp-block-group.has-background h3 a {
  text-decoration: none;
  text-underline-offset: .15em;
}
/* axes */
.axes a.wp-block-button__link.has-text-align-left.wp-element-button {
  display: flex;
  gap: 0.5em;
  align-items: center;
  min-height: 83px;
  width: 173px;
}
.axe-texte {
  flex: 1;
  text-align: center;
}
@media (max-width: 767px) {
  .axes a.wp-block-button__link.has-text-align-left.wp-element-button {
    width: 117px;
  }
  .axes img {
    height: 18px;
    width: 18px;
    }
  .axes {
    gap: 0 !important;
  }
	.axes.has-xsmall-font-size {
    font-size: 10px !important;
}
}
/* Stages*/
.date_fin .value::first-letter {
  text-transform: capitalize;
}
/* Éducation */
.themes {
  position: relative;
  z-index: 9;
}
.is-display-inline-block.is-acf-field .prefix {
  font-weight: 600;
}
/* 1) La grille doit étirer les items en hauteur */
.cards-equal .wp-block-post-template {
  align-items: stretch;
}
/* 2) Chaque item (li) prend toute la hauteur de la rangée */
.cards-equal .wp-block-post-template > li {
  height: 100%;
}
/* 3) Le Groupe "carte" dans chaque item devient la carte qui s’étire */
.cards-equal .wp-block-post-template > li .wp-block-group {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.bloc-1 {
  margin-top: -25px;
  z-index: 9;
  position: relative;
}
.bloc {
  padding-bottom: 20px;
}
/* Event Calendar Home page */
.home .tribe-events .tribe-events-c-subscribe-dropdown__container {
  display: none !important;
}
.home .tribe-events .tribe-events-l-container {
  min-height: unset;
  padding-bottom: 0 !important;
  padding-top: 0 !important;
}
.home .tribe-events-widget-events-list__view-more {
  display: none;
}
.home .tribe-events.tribe-common h3.tribe-events-widget-events-list__event-title {
  font-size: var(--wp--preset--font-size--medium);
}
.tribe-events .tribe-events-c-view-selector--tabs .tribe-events-c-view-selector__content {
  min-width: 110px;
}
.tribe-events.tribe-common .tribe-events-c-top-bar__datepicker-container .dropdown-menu {
  min-width: auto;
  width: auto;
}
.tribe-events .tribe-events-calendar-month__day-cell--selected .tribe-events-calendar-month__day-date-daynum {
  color: var(--wp--preset--color--base);
}
.tribe-common .tribe-common-h7 {
  font-family: var(--wp--preset--font-family--quicksand);
}
.tribe-events.tribe-common h3 a:not(.tribe-common-anchor--unstyle):visited, .tribe-events.tribe-common h3 a:not(.tribe-common-anchor--unstyle), .tribe-events h3.tribe-common-h7 a:visited, .tribe-events h3.tribe-common-h7 a {
  color: var(--wp--preset--color--primary);
  font-family: var(--wp--preset--font-family--quicksand);
  line-height: normal;
}
.tribe-events.tribe-common h3 a:not(.tribe-common-anchor--unstyle):hover, .tribe-events h3.tribe-common-h7 a:hover, .tribe-events h3.tribe-common-h7 a:hover, .tribe-events.tribe-common h3 a:not(.tribe-common-anchor--unstyle):active, .tribe-events h3.tribe-common-h7 a:active, .tribe-events h3.tribe-common-h7 a:active {
  color: var(--wp--preset--color--primary);
}
.tribe-events a.tribe-events-calendar-month-mobile-events__mobile-event-title-link, .tribe-events a.tribe-events-calendar-month-mobile-events__mobile-event-title-link:visited {
  font-size: var(--wp--preset--font-size--medium);
  font-family: var(--wp--preset--font-family--quicksand);
  color: var(--wp--preset--color--primary);
}
.tribe-events.tribe-common .tribe-common-h7, .tribe-events.tribe-common .tribe-common-b2 {
  font-size: var(--wp--preset--font-size--small);
  color: var(--wp--preset--color--contrast);
}
.tribe-events-widget .tribe-events-widget-events-list__event-date-tag-datetime {
  align-items: center;
  justify-content: center;
}
.tribe-events.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-events-bar--border {
  border: 2px solid var(--tec-color-border-events-bar);
  border-radius: var(--wp--preset--border--radius);
}
.tribe-events.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-events-bar__search-container {
  border-radius: var(--wp--preset--border--radius);
}
.tribe-events.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-view-selector--tabs .tribe-events-c-view-selector__content {
  border-radius: var(--wp--preset--border--radius);
}
.tribe-events.tribe-common--breakpoint-medium.tribe-events .tribe-common-c-btn.tribe-events-c-search__button {
  border-radius: var(--wp--preset--border--radius);
  letter-spacing: 1px;
}
.tribe-events.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-view-selector__list-item:hover, .tribe-events.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-view-selector__list-item:focus {
  background: var(--wp--preset--color--light-blue);
}
.tribe-events.tribe-common .tribe-events-c-view-selector__list-item-text {
  color: var(--wp--preset--color--primary);
}
.tribe-events.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-view-selector--tabs .tribe-events-c-view-selector__content {
  padding: 0 var(--tec-spacer-5);
}
.tribe-events.tribe-common .tribe-events-c-search__button:focus, .tribe-events.tribe-common .tribe-events-c-search__button:hover, .tribe-events.tribe-common button.tribe-events-c-search__button:focus, .tribe-events.tribe-common button.tribe-events-c-search__button:hover {
  background-color: var(--wp--preset--color--secondary);
}
.tribe-events.tribe-common--breakpoint-medium.tribe-common .tribe-common-form-control-text__input {
  font-size: var(--wp--preset--font-size--medium);
}
.tribe-events.tribe-common--breakpoint-medium.tribe-common .tribe-common-c-btn-border-small, .tribe-events.tribe-common--breakpoint-medium.tribe-common a.tribe-common-c-btn-border-small {
  padding: 6px 15px;
  width: auto;
  border-radius: var(--wp--preset--border--radius);
  border: 1px solid var(--wp--preset--color--primary);
  color: var(--wp--preset--color--primary);
}
.tribe-events.tribe-common--breakpoint-medium.tribe-common .tribe-common-c-btn-border-small:hover, .tribe-events.tribe-common--breakpoint-medium.tribe-common a.tribe-common-c-btn-border-small:hover {
  color: var(--wp--preset--color--base);
  background-color: var(--wp--preset--color--primary);
  border: 1px solid var(--wp--preset--color--primary);
}
.tribe-events.tribe-common .tribe-common-c-btn-border, .tribe-common a.tribe-common-c-btn-border {
  border-width: 2px;
  border-radius: var(--wp--preset--border--radius);
}
.tribe-events.tribe-common .tribe-common-form-control-text__input:focus {
  border-bottom-color: var(--tec-color-border-active);
  outline: auto;
  border-radius: var(--wp--preset--border--radius);
}
/********************************************
Single Tribe event 
*********************************************/
.single-tribe_events .tribe-events-single .tribe-events-c-subscribe-dropdown__button, .tribe-block__events-link .tribe-events-c-subscribe-dropdown__button, .single-tribe_events .tribe-events .tribe-events-c-subscribe-dropdown__container, .tribe-block__events-link .tribe-events .tribe-events-c-subscribe-dropdown__container {
  width: 240px;
}
.tribe-block__venue {
  bordeR: none;
  margin: 0;
  padding: 0;
}
.tribe-block .tribe-block__venue--has-map {
  border: 1px solid #ffffff;
  border-radius: var(--wp--preset--border--radius);
  background-color: #fff;
  box-shadow: 6px 6px 9px rgba(0, 0, 0, 0.2);
  padding: 25px;
}
.single-tribe_events .tribe-events-single .tribe-block__venue .tribe-block__venue__meta .tribe-block__venue__name h3 {
  font-size: var(--wp--preset--font-size--large);
  font-weight: 600;
  letter-spacing: normal;
  line-height: normal;
}
.single-tribe_events .tribe-events-single h1.wp-block-post-title {
  margin-top: 0;
  margin-bottom: 0;
}
.single-tribe_events .tribe-events-single .tribe-events-schedule__all-day, .single-tribe_events .tribe-events-single .tribe-events-schedule__separator, .tribe-events-schedule__timezone {
  color: var(--wp--preset--color--secondary);
}
.single-tribe_events .tribe-events-single .tribe-events-schedule__all-day, .single-tribe_events .tribe-events-single .tribe-events-schedule__separator, .tribe-events-schedule__timezone {
  font-size: var(--wp--preset--font-size--medium);
}
.single-tribe_events .tribe-events-single .tribe-block__event-price__cost {
  font-size: var(--wp--preset--font-size--medium);
  color: var(--wp--preset--color--secondary);
}
.single-tribe_events .tribe-events-single .tribe-events-schedule__all-day {
  text-transform: none;
}
.single-tribe_events .tribe-events-single .tribe-block__organizer__details h3 {
  color: var(--wp--preset--color--primary);
  font-family: var(--wp--preset--font-family--quicksand);
  font-style: normal;
  font-weight: 700;
  line-height: 1.2;
  font-size: var(--wp--preset--font-size--medium);
}
.single-tribe_events .tribe-events-single .tribe-block__organizer__details {
  border-top: none;
}
.single-tribe_events .tribe-events-single .tribe-block__organizer__details {
  padding: 0;
}
/* Hide Nos actualités 
.taxonomy-category.wp-block-post-terms a:first-of-type, .taxonomy-category.wp-block-post-terms a:first-of-type + .wp-block-post-terms__separator {
  display: none;
}*/
/* Pagination */
@media (min-width: 782px) {
  /* Le wrapper devient référentiel */
  #actualites .wp-block-query .wp-block-group.is-layout-flow.wp-block-group-is-layout-flow {
    position: relative;
  }
  /* Neutralise le nav */
  #actualites .wp-block-query-pagination {
    position: static !important;
    display: block !important;
  }
  /* PREVIOUS → à gauche */
  #actualites .wp-block-query-pagination-previous {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
  }
  /* NEXT → à droite */
  #actualites .wp-block-query-pagination-next {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
  }
  /* Style des liens */
  #actualites .wp-block-query-pagination a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    line-height: 0;
    color: var(--wp--preset--color--primary) !important;
    text-decoration: none !important;
  }
  #actualites .pagination-arrow {
    width: 28px; /* ← change cette valeur */
    height: auto; /* garde les proportions */
  }
  /* SVG suit la couleur */
  #actualites .wp-block-query-pagination .pagination-arrow polygon {
    fill: currentColor;
    transition: fill .2s ease;
  }
  /* Hover jaune */
  #actualites .wp-block-query-pagination a:hover {
    color: var(--wp--preset--color--custom-yellow) !important;
  }
}
/* Services */
.wp-block-cover {
  align-items: flex-end;
}
/* Projets Accueil */
.bloc-projets .bloc-projet {
  background: rgba(49, 86, 157, .85);
  margin-top: -351px !important;
  border-bottom-left-radius: 30px;
  border-bottom-right-radius: 30px;
  min-height: 333px;
}
.category-projets .wp-block-post-date {
  display: none;
}
figure.wp-block-media-text__media img {
  border-radius: 30px;
}
/****************************************888
QUIZ
*********************************************/
@media only screen and (max-width: 768px) {
  .home #quiz .wp-block-columns {
    max-width: 100%;
  }
}
a.btn-quiz, a.btn-quiz:visited {
  color: var(--wp--preset--color--base);
  border: 1px solid var(--wp--preset--color--base);
  text-transform: uppercase;
  font-weight: 700;
  background: transparent;
  border-radius: var(--wp--preset--border--radius);
  text-decoration: none;
}
a.btn-quiz:hover, a.btn-quiz:focus {
  color: #fff;
  border: 1px solid var(--wp--preset--color--primary);
  text-transform: uppercase;
  font-weight: 700;
  background-color: var(--wp--preset--color--primary);
  text-decoration: none;
}
@-webkit-keyframes borderBlinkBlanc {
  from, to {
    border-color: transparent
  }
  50% {
    border-color: #fff;
  }
}
@keyframes borderBlinkBlanc {
  from, to {
    border-color: transparent
  }
  50% {
    border-color: #fff;
  }
}
@-webkit-keyframes borderBlinkOrange {
  from, to {
    border-color: transparent
  }
  50% {
    border-color: var(--accent4);
  }
}
@keyframes borderBlinkOrange {
  from, to {
    border-color: transparent
  }
  50% {
    border-color: var(--accent4);
  }
}
.quiz-btn-blink {
  -webkit-animation: borderBlinkBlanc 1s step-end infinite;
  animation: borderBlinkBlanc 1s step-end infinite;
}
.quiz-btn-blink:hover {
  -webkit-animation: borderBlinkBlanc 1s step-end infinite;
  animation: borderBlinkBlanc 1s step-end infinite;
}
/* QUIZ */
.hdq_quiz_wrapper .hdq_question {
  margin: 1rem 0;
  padding: 2rem;
  background: var(--wp--preset--color--light-blue);
  transition: all 350ms ease-in-out;
  border-radius: var(--wp--preset--border--radius);
  box-shadow: 6px 6px 9px rgba(0, 0, 0, 0.2);
}
.hdq_quiz_wrapper .hdq_quiz .hdq_row:hover {
  background: rgba(143, 206, 228, 0.1);
}
.hdq_quiz_wrapper .hdq_question_number {
  display: none;
}
.hdq_quiz_wrapper h2.hdq_results_title, h3.hdq_question_heading {
  text-transform: none;
  font-size: 20pt;
  clear: both;
}
.hdq_quiz_wrapper big {
  text-transform: none;
  font-size: 24pt;
}
.hdq_quiz_wrapper .hdq_question_after_text {
  background: transparent;
  border-bottom: none;
}
.quiz-reponse {
  color: #000;
  font-weight: 700;
  font-size: 130%;
}
.hdq_correct {
  border: 4px solid #639630;
  background: rgba(99, 151, 48, 0.1);
}
.quiz-sources {
  margin-top: 45px;
}
.quiz-sources p {
  text-align: left;
  font-size: 0.8em;
}
.hdq_quiz_wrapper .hdq_button.hdq_finsh_button {
  border-radius: var(--wp--preset--border--radius);
  color: var(--wp--preset--color--primary);
  border: 1px solid var(--wp--preset--color--primary);
  background-color: #fff;
  font-family: var(--wp--preset--font-family--quicksand);
  font-size: var(--wp--preset--font-size--small);
  font-style: normal;
  font-weight: 600;
  line-height: 1.5;
  padding-top: 8px;
  padding-right: 20px;
  padding-bottom: 8px;
  padding-left: 20px;
  box-shadow: none;
  text-transform: none;
}
.hdq_quiz_wrapper .hdq_button.hdq_finsh_button:hover {
  background: var(--wp--preset--color--primary);
  border: 1px solid var(--wp--preset--color--primary);
  color: #fff;
  opacity: 1;
}
.hdq_quiz_wrapper .hdq_result {
  color: var(--wp--preset--color--primary);
}
.hdq_quiz_wrapper .hdq_results_wrapper {
  background: var(--wp--preset--color--light-green);
  border: 0;
  border-radius: var(--wp--preset--border--radius);
  box-shadow: 6px 6px 9px rgba(0, 0, 0, 0.2);
}
.hdq_quiz_wrapper .hdq_share {
  background: transparent;
}
/***********************************************
Archives
************************************************/
.archive .taxonomy-thumbnail img {
  width: 100%;
  height: auto;
  border-radius: var(--wp--preset--border--radius);
}
/***********************************************
Footer
************************************************/
/* FOOTER – navigation en liste ouverte */
/* FOOTER NAV: forcer les sous-menus ouverts en liste */
nav.menu-pied.wp-block-navigation ul.wp-block-navigation__container, nav.menu-pied.wp-block-navigation ul.wp-block-navigation__container > li {
  display: block !important;
}
/* Sous-menu toujours visible */
nav.menu-pied.wp-block-navigation li.wp-block-navigation-item.has-child > ul.wp-block-navigation__submenu-container {
  display: block !important;
  position: static !important;
  visibility: visible !important;
  opacity: 1 !important;
  transform: none !important;
  left: auto !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  box-shadow: none !important;
  margin: .4rem 0 0 0 !important;
  padding: 0 0 0 1rem !important;
  background: transparent !important;
  border: none !important;
}
/* Enlever la flèche/toggle */
nav.menu-pied.wp-block-navigation button.wp-block-navigation-submenu__toggle {
  display: none !important;
}
/* Empêcher le style “dropdown” (hover/focus) de casser l’affichage */
nav.menu-pied.wp-block-navigation li.wp-block-navigation-item.has-child:hover > ul.wp-block-navigation__submenu-container, nav.menu-pied.wp-block-navigation li.wp-block-navigation-item.has-child:focus-within > ul.wp-block-navigation__submenu-container {
  display: block !important;
}
/* Optionnel: espacement des liens */
nav.menu-pied.wp-block-navigation a.wp-block-navigation-item__content {
  display: inline-block;
  padding: .15rem 0;
}
nav.menu-pied.wp-block-navigation .has-child .wp-block-navigation__submenu-container > .wp-block-navigation-item > .wp-block-navigation-item__content {
  display: flex;
  flex-grow: 1;
  padding: .15em 1em;
}
footer .wp-block-button a:hover, footer .wp-block-button.is-style-outline a:hover, footer .wp-block-button.is-style-color-1 a:hover, footer .wp-block-button.is-style-color-2 a:hover, footer .wp-block-button.is-style-outline > .wp-block-button__link:not(.has-text-color, .has-background):hover {
  background-color: var(--wp--preset--color--secondary);
  color: var(--wp--preset--color--base); /* White text */
  border: 1px solid var(--wp--preset--color--secondary);
  text-decoration: none;
}
footer .menu-pied a {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
  text-decoration-color: var(--wp--preset--color--contrast);
}
footer a.wp-block-navigation-item__content:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
  text-decoration-color: var(--wp--preset--color--primary);
}
#copyright a {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
  text-decoration-color: var(--wp--preset--color--base);
}
#copyright a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
  text-decoration-color: var(--wp--preset--color--contrast);
}
.border-right-white {
  border-right: 2px solid #ffffff;
}
.border-right-primary {
  border-right: 2px solid var(--wp--preset--color--primary);
}
@media only screen and (max-width: 768px) {
  .border-right-white, .border-right-primary {
    border-right: none !important;
  }
}
/* ------------------------------------------------------------------------ */
/* Back-To-Top Button
/* ------------------------------------------------------------------------ */
/* ------------------------------------------------------------------------ */
/* Back-To-Top Button
/* ------------------------------------------------------------------------ */
#back-to-top {
  position: fixed;
  z-index: 1000;
  bottom: 0px;
  right: 5px;
}
#back-to-top a {
  position: relative;
  display: block;
  width: 30px;
  height: 25px;
  background: #000000;
  fill: #ffffff;
  text-align: center;
  border-radius: 10px 10px 0 0;
  opacity: 0.8;
  padding-top: 4px;
}
#back-to-top a svg {
  width: 13px;
  height: 13px;
}
#back-to-top a:hover {
  background-color: var(--wp--preset--color--custom-yellow);
  opacity: 1
}