/**
 * Theme Name: Euramaterials
 * Description: Blocksy Child theme
 * Author: Studio CAD
 * Template: blocksy
 * Text Domain: blocksy
 */

body, h1, h2, h3, h4, h5, h6, label, figcaption, blockquote, blockquote p, .menu a, .site-title, .entry-meta, .mobile-menu, .widget-title, .ct-post-title, .ct-breadcrumbs, .ct-header-text, .site-description, .page-description, .ct-footer-copyright, .ct-widget>*:not(.widget-title){
	/*color: var(--theme-palette-color-1);*/
}



:root {
  --color-gray-dark: #7F858A;
  --color-gray-light: #C8C8CC;
  --color-gray-muted: #888888;
  --color-gray-bg-filter: #EEEDF7;
  --color-shadow: rgba(0, 0, 0, 0.05);
  --color-search-icon: #666666;
  --color-pagination-hover-bg: #eee;
}

.timetable-hexagonal .stk-block-timeline__middle {
    background: var(--fixed-bg);
    background-attachment: fixed;
    height: var(--line-dot-size, 16px);
    width: var(--line-dot-size, 16px);
    position: relative;
    z-index: 2;

    /* On supprime le rayon pour annuler la forme ronde */
    border-radius: 0;
    
    /* On applique la forme hexagonale avec clip-path */
    clip-path: polygon(50% 0%, 95% 25%, 95% 75%, 50% 100%, 5% 75%, 5% 25%);
}

.vertical-line-orange > .stk-row:first-of-type::before, .vertical-line-orange-hide-tb > .stk-row:first-of-type::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 0.5px;
  background-color: #ED6211;
  transform: translateX(-50%);
}

.vertical-line-white > .stk-row:first-of-type::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 0.5px;
	z-index: 5;
  background-color: #FFFFFF;
  transform: translateX(-50%);
}


.left-column-line, .right-column-line .stk-column-wrapper {
  min-width: calc(50vw + 40px) !important;
}


@media (max-width: 1000px) {
	
	.vertical-line-orange > .stk-row:first-of-type::before {
  left: 32px;
  width: 0.5px;
}
	
	.vertical-line-orange-hide-tb > .stk-row:first-of-type::before {
		display: none;
	}
	
	.vertical-line-white > .stk-row:first-of-type::before {
  left: 32px;
  width: 0.5px;
}
		
}


@media (max-width: 768px) {
	
	.vertical-line-orange > .stk-row:first-of-type::before {
  left: 16px;
  width: 0.5px;
}
	
	.vertical-line-white > .stk-row:first-of-type::before {
  left: 16px;
  width: 0.5px;
}
	
	
	.timetable-hexagonal .stk-block-timeline__middle {
    position: static;
}
	
	
}







.tabbar{
	position: fixed;
	z-index: 1000;
	background: var(--theme-palette-color-1);
	color: var(--theme-palette-color-8);
	top: 30%;
	right: 0;
	transform: translateY(-50%);
	-webkit-box-shadow: 0 8px 17px 2px rgb(0 0 0 / 14%), 0 3px 14px 2px rgb(0 0 0 / 12%), 0 5px 5px -3px rgb(0 0 0 / 20%);
    box-shadow: 0 8px 17px 2px rgb(0 0 0 / 14%), 0 3px 14px 2px rgb(0 0 0 / 12%), 0 5px 5px -3px rgb(0 0 0 / 20%);
}


.tabbar ul{
	width: 60px;
	margin: 0;
	padding: 0;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}
.tabbar ul li{
	transform: translateX(0px);
	background: var(--theme-palette-color-1);
	height: 60px;
	width: 260px;
	position: relative;
	display: flex;
	list-style: none;
	margin-bottom: 0px;
	padding: 0;
	transition: 0.2s all ease;
}

.champs-obligatoires {
	padding: 0px !important;
  	color: #6d747a !important;
  	font-size: 16px !important;
	margin-bottom: 0px !important;
}

.tabbar .contact {
	background-color: var(--theme-palette-color-7) !important;
	border-radius: 16px 0px 0px 0px;
}

.tabbar .newsletter {
	border-radius: 0px 0px 0px 16px;
}

.tabbar .contact:hover, .tabbar .newsletter:hover {
	border-radius: 0px;
}

.tabbar ul li a{
	display: flex;
	width: 100%;
}

.tabbar ul li .icon{
	height: 60px;
	width: 60px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.tabbar ul li .icon img {
	height: 24px;
	width: 24px;
}

.tabbar ul li .icon i{
	font-size: 1.4rem;
}

.tabbar ul li .icon i,
.tabbar ul li span{
	color: var(--theme-palette-color-8);
}

.tabbar ul li .icon {
  flex-direction: column;
}

.tabbar ul li .icon img {
  height: 24px;
  width: 24px;
  margin-bottom: 2px;
}

.tabbar ul li .subtitle {
  font-size: 10px;
  color: var(--theme-palette-color-8);
  line-height: 1;
  text-align: center;
}


.tabbar ul li span{
	font-weight: 400 !important;
	font-size: 0.9rem;
	text-transform: uppercase;
	align-items: center;
	justify-content: center;
	display: flex;
}


.tabbar ul li:hover{
		transform: translateX(-160px);
}

.page-id-416 .contact {
	display: none;
}

.page-id-416 .adherent {
	border-radius: 16px 0px 0px 0px;
}



@media only screen and (max-width: 768px) {
	.footer-menu .stk-8127757-inner-blocks {
	 flex-direction: column !important;
}
	.tabbar{
	top: 80%;
	right: 0;
	transform: translateY(-50%);
}
	
	.tabbar ul {
		width: 48px;
	}
	
	.tabbar ul li {
		height: 48px;
	}
	
	.tabbar ul li span{
		display: none;	
	}
	.tabbar ul li .icon{
		height: 48px;
		width: 48px;
	}
	.tabbar ul li .icon i{
		font-size: 1.2rem;
	}
	
	.tabbar ul li:hover{
		transform: translateX(0px);
	}
}





[data-device="desktop"] [data-row="top"] [data-column="middle"] {
	background-color: var(--theme-palette-color-2, #2F287F);
	clip-path: polygon(0 0, 100% 0, 97% 100%, 3% 100% );
	border-radius: 0px 0px 56px 56px;
}


[data-device="desktop"] [data-column="middle"] #menu-menu-header-desktop > li:not(:last-child) .ct-menu-link {
  height: 16px;
  border-right: 2px solid var(--theme-palette-color-7, #FF6207);
}


nav>ul>[class*=ct-mega-menu]>.sub-menu {
	width: 100% !important;
}


/*
 * 
[data-device="desktop"] [data-column="middle"] #menu-menu-header-desktop .menu-item-object-page {
	border-right: 1px solid orange;
}

[data-device="desktop"] [data-column="middle"] #menu-menu-header-desktop .menu-item-object-page {
  position: relative;
  padding-right: 15px;
}

[data-device="desktop"] [data-column="middle"] #menu-menu-header-desktop li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 5px;
  transform: translateY(-50%);
  width: 2px;
  height: 12px;
  background-color: var(--theme-palette-color-7, #FF6207);
}
*/



/*

[data-device="desktop"] .header-menu-1 .menu-item-459 {
  position: relative;
  margin-left: calc(20% - ((100vw - 1000px) * (20 / 360))) !important;
}




@media (max-width: 1000px) {
  [data-device="desktop"] .header-menu-1 .menu-item-459 {
    margin-left: 20% !important;
  }
}
@media (min-width: 1360px) {
  [data-device="desktop"] .header-menu-1 .menu-item-459 {
    margin-left: 0 !important;
  }
}

*/






/* --- đą SECTION HĂROĂQUE (PAGE) --- */
.hero-section .entry-header {
    align-items: center;
}

.hero-section .entry-header .ct-breadcrumbs {
	margin-top: 2em !important;
    align-self: flex-start;
    text-align: left;
}

.hero-section[data-type=type-2]>[class*=ct-container] {
	padding-top: 0px !important;
}

.acf-hero-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  font-size: 64px;
  color: var(--theme-palette-color-7, #FF6207);
}

.acf-hero-icon i,
.acf-hero-icon .dashicons {
  font-size: 64px;
  color: var(--theme-palette-color-7, #FF6207);
  line-height: 1;
}

.acf-hero-icon img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  display: block;
}

.titre-hero {
    max-width: 800px;
			--theme-font-weight: 700;
    --theme-font-size: 50px;
    --theme-heading-color: var(--theme-palette-color-8);
}

.excerpt-hero {
	max-width: 960px;
	color: var(--theme-palette-color-8);
	font-weight: 400;
}


/* Couleurs spĂ©ciales si pas dâimage Ă  la une */
.hero-section.no-featured-image {
	background-color: var(--theme-palette-color-5, #FAFAFF);
}

.hero-section.no-featured-image .titre-hero,
.titre-hero.no-featured-image {
	color: var(--theme-palette-color-1, #2C216B);
}

.hero-section.no-featured-image .excerpt-hero,
.excerpt-hero.no-featured-image {
	color: var(--theme-palette-color-1, #2C216B);
}





/* Home */

/*
.hero-home {
  position: relative;
  background-image: radial-gradient(circle, rgb(44 27 109 / 33%) 30%, rgb(118 71 99 / 37%) 80%)
  background-blend-mode: hard-light;
  background-size: cover;
  background-position: center;
}
*/

.hero-home::before {
  content: "";
  position: absolute;
  top: 40%;
  left: 30%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.8), transparent 70%);
  filter: blur(100px);
  border-radius: 50%;
  z-index: 0; /* Ajuste si nĂ©cessaire */
  pointer-events: none;
}


.hexagone-icon-home-left {
	margin-top: 20px !important;
    right: -3.5vw !important;
    position: absolute !important;
    z-index: 10 !important;
}





/* === Agenda Swiper Wrapper === */
.agenda-swiper-wrapper {
	display: flex;
  position: relative;
  width: 100%;
  padding: 0 80px; /* espace pour flĂšches Ă  gauche/droite */
	margin-bottom: 40px;
  box-sizing: border-box;
}

/* === Swiper Container === */
.agenda-swiper-container {
  width: 100%;
  max-width: 100%;
	padding: 32px 0px;
  box-sizing: border-box;
}

.agenda-swiper-container {
	overflow-y: visible !important;
  display: flex;
  align-items: stretch;
  border-top: 1px solid white;
  border-bottom: 1px solid white;
}

.agenda-swiper-container .swiper-wrapper {
	margin-left: 4px !important;
}

/* === Slide === */
.agenda-swiper-slide {
  display: flex;
  flex-direction: column;
	justify-content: space-between;
	min-height: 200px; /* ou la hauteur souhaitĂ©e */
  height: 100%;
  padding: 20px;
  box-sizing: border-box;
}

.agenda-swiper-slide:not(:last-child) {
	border-right: 1px solid white;
}

/* === Contenu Slide === */
.agenda-swiper-date {
  color: var(--theme-palette-color-8, #ffffff);
  font-size: 22px;
  font-weight: 400;
  line-height: 28px;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.agenda-swiper-date-symbol {
  color: var(--theme-palette-color-7, #FF6207);
}

.agenda-swiper-type {
  font-weight: 400;
  font-size: 16px;
  line-height: 28px;
  color: var(--theme-palette-color-7, #FF6207);
  margin-bottom: 0;
}

.agenda-swiper-title {
  color: var(--theme-palette-color-8, #ffffff);
  font-size: 20px;
  font-weight: 800;
  line-height: 30px;
}

.agenda-swiper-btn {
  margin-top: auto;
  align-self: flex-start;
  color: var(--theme-palette-color-8, #ffffff);
  font-weight: 800;
  line-height: 30px;
  text-decoration: underline;
}

.agenda-swiper-btn:hover {
	color: var(--wp--preset--color--palette-color-7);
}

/* === FlĂšches === */
.agenda-swiper-wrapper .agenda-swiper-button-prev,
.agenda-swiper-wrapper .agenda-swiper-button-next {
  width: 56px;
  height: 56px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  color: #ffffff;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}

.agenda-swiper-wrapper .agenda-swiper-button-prev {
  left: 0;
}

.agenda-swiper-wrapper .agenda-swiper-button-next {
  right: 0;
}

.agenda-swiper-wrapper .agenda-swiper-button-prev::after,
.agenda-swiper-wrapper .agenda-swiper-button-next::after {
  font-size: 20px;
  font-weight: bold;
  color: #ffffff;
}

/* === Pagination === */
.agenda-swiper-wrapper .agenda-swiper-pagination {
  display: flex;
  justify-content: center;
  margin-top: 32px;
  bottom: -32px;
  position: relative;
}

.agenda-swiper-wrapper .swiper-pagination-bullet {
  background-color: var(--color-gray-muted, #888888);
  opacity: 1;
}

.agenda-swiper-wrapper .swiper-pagination-bullet-active {
  background-color: var(--theme-palette-color-7, #FF6207);
}

/* === Responsive Mobile === */
@media (max-width: 768px) {

  /* Breadcrumb adjustment */
  .hero-section .entry-header .ct-breadcrumbs {
    padding-left: 0;
  }

  /* FlĂšches plus petites, en bas et centrĂ©es */
  .agenda-swiper-wrapper .agenda-swiper-button-prev,
  .agenda-swiper-wrapper .agenda-swiper-button-next {
    width: 32px;
    height: 32px;
    border: 2px solid var(--ct-color-primary);
    top: auto;
    bottom: -40px;
    transform: none;
  }

  .agenda-swiper-wrapper .agenda-swiper-button-prev {
    left: 50%;
    transform: translateX(-150%);
  }

  .agenda-swiper-wrapper .agenda-swiper-button-next {
    right: 50%;
    transform: translateX(150%);
  }

  .agenda-swiper-wrapper .agenda-swiper-button-prev::after,
  .agenda-swiper-wrapper .agenda-swiper-button-next::after {
    font-size: 14px;
  }

  /* Pagination position mobile juste au-dessus des flĂšches */
  .agenda-swiper-wrapper .agenda-swiper-pagination {
    bottom: -48px !important;
    margin-top: 0;
  }
	
	.agenda-swiper-wrapper {
	margin-bottom: 64px !important;
}
}





@media (max-width: 768px) {
  .agenda-swiper-wrapper {
    padding: 0;
  }

	
	  .agenda-swiper-button-prev,
  .agenda-swiper-button-next {
    position: absolute;
    top: auto;
    bottom: 10px; /* espace sous le carrousel */
    transform: none;
    width: 24px;
    height: 24px;
    color: var(--ct-color-primary);
  }

  .agenda-swiper-button-prev {
    left: 50%;
    transform: translateX(-150%); /* dĂ©cale un peu Ă  gauche du centre */
  }

  .agenda-swiper-button-next {
    right: 50%;
    transform: translateX(150%); /* dĂ©cale un peu Ă  droite du centre */
  }

  .agenda-swiper-button-prev::after,
  .agenda-swiper-button-next::after {
    font-size: 16px;
  }
	
}



/* Second Slider */

/* === ActualitĂ©s Swiper Wrapper === */
.actualites-swiper-wrapper {
  position: relative;
  width: 100%;
  padding: 0 80px; /* espace flĂšches gauche/droite */
  margin-bottom: 40px !important;
  box-sizing: border-box;
}

/* === Swiper Container === */
.actualites-swiper-container {
  	width: 100%;
  	max-width: 100%;
  	box-sizing: border-box;
	overflow-y: visible !important;
	display: flex;
  	align-items: stretch;
	padding-bottom: 16px;
}

/* === Slide === */
.actualites-swiper-container .swiper-slide {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card-blog-carrousel {
  display: flex;
  flex-direction: column;
  background: var(--wp--preset--color--palette-color-8); /* blanc */
  box-shadow: 0px 5px 0px 0px var(--color-shadow);
}

.card-blog-image-caroussel {
	padding-top: 30% !important;
}

.actualites-swiper-wrapper .actualites-swiper-button-prev,
.actualites-swiper-wrapper .actualites-swiper-button-next {
  width: 56px;
  height: 56px;
  background: var(--theme-palette-color-7, #FF6207);
  color: #ffffff;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}

.actualites-swiper-wrapper .actualites-swiper-button-prev {
  left: 0;
}

.actualites-swiper-wrapper .actualites-swiper-button-next {
  right: 0;
}

.actualites-swiper-wrapper .actualites-swiper-button-prev::after,
.actualites-swiper-wrapper .actualites-swiper-button-next::after {
  font-size: 20px;
  font-weight: bold;
  color: #ffffff;
}

/* === Pagination === */
.actualites-swiper-wrapper .actualites-swiper-pagination {
  display: flex;
  justify-content: center;
  margin-top: 32px;
  bottom: -32px;
  position: relative;
}

.actualites-swiper-wrapper .actualites-swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: #D9D9D9;
  opacity: 1;
  border-radius: 50%;
  margin: 0 5px;
  transition: background 0.3s;
}

.actualites-swiper-wrapper .actualites-swiper-pagination .swiper-pagination-bullet-active {
  border: 2px solid #D9D9D9;
  background-color: var(--theme-palette-color-7, #FF6207);
}

/* === Responsive Mobile === */
@media (max-width: 768px) {

  .actualites-swiper-wrapper {
    padding: 0;
  }

  /* FlĂšches plus petites, en bas et centrĂ©es */
  .actualites-swiper-wrapper .actualites-swiper-button-prev,
  .actualites-swiper-wrapper .actualites-swiper-button-next {
    width: 32px;
    height: 32px;
    top: auto;
    bottom: -40px !important;
    transform: none;
  }

  .actualites-swiper-wrapper .actualites-swiper-button-prev {
    left: 50%;
    transform: translateX(-150%);
  }

  .actualites-swiper-wrapper .actualites-swiper-button-next {
    right: 50%;
    transform: translateX(150%);
  }

  .actualites-swiper-wrapper .actualites-swiper-button-prev::after,
  .actualites-swiper-wrapper .actualites-swiper-button-next::after {
    font-size: 14px;
  }

  /* Pagination mobile juste au-dessus des flĂšches */
  .actualites-swiper-wrapper .actualites-swiper-pagination {
    bottom: -60px !important;
    margin-top: 0;
  }
	
	.actualites-swiper-wrapper {
		margin-bottom: 64px !important;
	}
}


/* Slider projet */

.projets-swiper-container {
		overflow: visible !important;
}

.projets-swiper-container .swiper-wrapper {
	padding: 0 80px;
}

.projets-swiper-container .swiper-slide {
    width: auto; /* Laisse Swiper gĂ©rer la largeur */
    height: auto;
}

.card-projet-carrousel {
    display: flex;
    flex-direction: column;
    border-left: 1px solid var(--theme-palette-color-7, #FF6207);
		padding-left: 16px;
    height: 100%;
}

.card-projet-content {
    display: flex;
    flex-direction: column;
    flex-grow: 0; /* ne pas pousser lâimage */
}

.card-projet-title {
		color: var(--theme-palette-color-1, #2C216B);
		font-size: 30px;
		font-weight: 800;
		line-height: 40px;
		margin-bottom: 0px;
}

.card-projet-title:hover a {
		color: var(--wp--preset--color--palette-color-7);
}

.card-projet-title-wrapper {
    position: relative;
    display: flex;
    align-items: center;
		margin-top: -32px;
		margin-bottom: 8px;
}

.card-projet-icon {
    position: absolute;
		left: -24px;
    width: 16px;
    height: auto;
}


.card-projet-title a {
    color: inherit;
    text-decoration: none;
}

.card-projet-image {
    width: 100%;
    height: 120px;
    overflow: hidden;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
		margin-bottom: 16px;
}

.card-projet-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.card-projet-excerpt {
		color: var(--theme-palette-color-1, #2C216B);
		font-size: 18px;
		font-weight: 500;
		line-height: 26px;
}

/* === FlĂšches (desktop) === */
.projets-swiper-wrapper .projets-swiper-button-prev,
.projets-swiper-wrapper .projets-swiper-button-next {
  width: 56px;
  height: 56px;
  background: var(--theme-palette-color-7, #FF6207);
  color: #ffffff;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}

.projets-swiper-wrapper .projets-swiper-button-prev {
  left: 0;
}

.projets-swiper-wrapper .projets-swiper-button-next {
  right: 0;
}

.projets-swiper-wrapper .projets-swiper-button-prev::after,
.projets-swiper-wrapper .projets-swiper-button-next::after {
  font-size: 20px;
  font-weight: bold;
  color: #ffffff;
}

@media (max-width: 1000px) {
.reverse-position-1 {
	order: 2;
}

.reverse-position-2 {
	order: 1
}
		
}

/* === Responsive Mobile === */
@media (max-width: 768px) {

  .projets-swiper-wrapper {
    padding: 0;
  }

  .projets-swiper-wrapper .card-projet-title {
    font-size: 24px;
  }

  /* FlĂšches mobile : plus petites et centrĂ©es en bas */
  .projets-swiper-wrapper .projets-swiper-button-prev,
  .projets-swiper-wrapper .projets-swiper-button-next {
    width: 32px;
    height: 32px;
    top: auto;
    bottom: -40px;
    transform: none;
  }

  .projets-swiper-wrapper .projets-swiper-button-prev {
    left: 50%;
    transform: translateX(-150%);
  }

  .projets-swiper-wrapper .projets-swiper-button-next {
    right: 50%;
    transform: translateX(150%);
  }

  .projets-swiper-wrapper .projets-swiper-button-prev::after,
  .projets-swiper-wrapper .projets-swiper-button-next::after {
    font-size: 14px;
  }
}





.btn-link {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.btn-link-hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.btn-link-hover:hover {
	  color: orange !important;
}

.btn-link-orange, .btn-link-orange a {
  text-decoration: underline;
  color: var(--theme-palette-color-8, #ffffff);
}

.btn-link-orange:hover, .btn-link-orange:hover a {
  color: var(--theme-palette-color-7, #FF6207) !important;
}






/* Cards Blogs */

.cards-blog .ct-dynamic-filter {
	max-width: 40% !important;
}

.cards-blog .active {
	border: 1px solid var(--theme-palette-color-1, #2C216B);
}

.cards-blog .entry-excerpt, .entry-card .entry-excerpt {
  display: -webkit-box;
  -webkit-line-clamp: 3;      /* Limite Ă  3 lignes */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cards-blog .entry-button {
	text-decoration: underline;
	font-size: 18px;
	padding: 8px 0px;
}


.ct-pagination .page-numbers {
	background: transparent !important;
}



/* IcĂŽne loupe Ă  droite */
#blog-search-container::after {
    content: "\1F50D"; /* Unicode loupe đ */
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: #999;
    pointer-events: none;
}


.carousel-custom img {
  pointer-events: auto;
  user-select: none;
  -webkit-user-drag: none;
}

.carousel-custom .stk-block-carousel__button {
	border: 1px solid white !important;
}

.etape-text .has-inline-color {
	line-height: 64px !important;
	font-size: 64px !important;
}

.count-outline {
  /* Le remplissage qui masquera l'intĂ©rieur du contour */
  color: var(--theme-palette-color-5, #FAFAFF); 
  
  /* Le contour */
  -webkit-text-stroke: 4px var(--theme-palette-color-1, #2C216B);
  text-stroke: 4px var(--theme-palette-color-1, #2C216B);
  
  /* L'astuce magique : dessine le contour PUIS le remplissage */
  paint-order: stroke fill;
}

.newsletter-form {
	margin: 0px !important;
}

#wpforms-form-292 {
	display: flex !important;
	flex-direction: row !important;
	align-items: center !important;
	justify-content: space-between !important;
	padding: 8px;
	border: 1px solid white;
  border-radius: 160px;
}

#wpforms-form-292 .wpforms-submit-container {
	margin-top: 0px !important;
}

.newsletter-btn-form {
	background-color: var(--theme-palette-color-8, #ffffff) !important;
	color: var(--theme-palette-color-2, #2F287F) !important;
	text-transform: uppercase !important;
	padding: 20px 16px !important;
	border-radius: 160px !important;
	white-space: nowrap;
}

.newsletter-btn-form:hover {
	background: var(--theme-palette-color-7) !important;
	background-color: var(--theme-palette-color-7) !important;
	color: var(--theme-palette-color-8) !important;
}

#wpforms-form-292 .wpforms-field {
	padding: 0px !important;
}

#wpforms-form-292 .wpforms-field-large {
	border: none;
	background-color: transparent;
	color: #9793BF !important;
}

#wpforms-form-292 .wpforms-field-large::placeholder {
	color: #FFFFFF !important;
}

.underline-black a {
	color: var(--theme-palette-color-8, #ffffff) !important;
	text-decoration: underline !important;
}

.underline-black a:hover {
	color: var(--theme-palette-color-7, #FF6207) !important;
}


.contact-form {
	margin: 0px !important;
}

.contact-form .wpforms-submit-container {
	  display: flex;
    justify-content: center;
}

.contact-form-btn:hover {
  background: none !important;
  background-color: var(--theme-palette-color-7, #FF6207) !important;
	transform: scale(1.05);
}






























/* Cards Custom */

.cards-blog-container {
  display: flex;
  flex-wrap: wrap;
  gap: 32px; /* ChangĂ© de 20px Ă  32px */
  justify-content: flex-start;
}

.card-blog {
  /* Le calcul est ajustĂ© pour le nouveau gap */
  width: calc(33.333% - 21.33px); 
  display: flex;
  flex-direction: column;
  background: var(--wp--preset--color--palette-color-8); /* blanc */
  box-shadow: 0px 5px 0px 0px var(--color-shadow);
}

.card-blog-image {
  width: 100%;
  padding-top: 50%; /* 2:1 ratio */
  background-size: cover;
  background-position: center;
}

.card-blog-content {
  padding: 15px;
  display: flex;
	justify-content: space-between;
  flex-direction: column;
  flex: 1;
}

/* Groupe haut : catĂ©gories, titre, excerpt */
.card-blog-texts {
  flex-grow: 0;
}

.card-blog-categories {
  color: var(--wp--preset--color--palette-color-6) !important; /* orange accent */
  font-weight: 500;
  line-height: 26px;
}

.card-blog-title, .entry-card .entry-title {
  color: var(--wp--preset--color--palette-color-2); /* bleu foncĂ© */
  font-size: 22px;
  font-weight: 800;
  line-height: 28px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-blog-excerpt {
  color: var(--wp--preset--color--palette-color-2); /* bleu foncĂ© */
  font-weight: 400;
  line-height: 26px;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-blog-readmore .readmore-link, .entry-card .entry-button {
  color: var(--wp--preset--color--palette-color-2); /* bleu foncĂ© */
  font-weight: 800;
	font-size: 18px;
  line-height: 30px;
	padding: 0px !important;
  text-decoration-line: underline;
  text-decoration-style: solid;
  text-decoration-skip-ink: none;
  text-decoration-thickness: auto;
  text-underline-offset: auto;
  text-underline-position: from-font;
}

.readmore-link:hover {
	color: var(--wp--preset--color--palette-color-7);
}

/* Le bouton reste en bas */
.card-blog-readmore {
  margin-top: auto;
	margin-bottom: 0px;
}

/* Barre de recherche */

.search-wrapper {
  position: relative;
  order: 1;
  width: 300px;
  max-width: 40%;
  font-weight: 500;
	border-radius: 160px;
  color: var(--color-gray-dark);
  background-color: var(--wp--preset--color--palette-color-8) !important; /* blanc */
  flex: 0 0 400px;
}

#cards-blog-search {
  width: 100%;
  padding-right: 40px;
	border-radius: 160px;
  border: 1px solid var(--color-gray-light);
  box-sizing: border-box;
  font-weight: 500;
  padding: 1.4rem 1.5rem;
  color: var(--color-gray-dark);
}

.search-icon {
  position: absolute;
  right: 10px;
  top: 50%;
  width: 16px;
  height: 16px;
  fill: var(--color-search-icon);
  pointer-events: none;
  transform: translateY(-50%);
}

/* Conteneur barre de recherche + filtres */

.cards-blog-search-filters-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

#cards-blog-filters {
  display: flex;
  flex: 1 1 auto;
  order: 0;
  min-width: 200px;
  max-width: 640px;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0;
}

.filter-tag {
  border: none;
  background: var(--color-gray-bg-filter);
  padding: 0.6rem 1rem;
  cursor: pointer;
  border-radius: 160px;
  transition: all 0.3s;
  font-weight: 500;
  color: var(--wp--preset--color--palette-color-2); /* bleu foncĂ© */
}

.filter-tag.active {
  background: var(--wp--preset--color--palette-color-8); /* blanc */
  color: var(--wp--preset--color--palette-color-2);
  border: 1px solid var(--wp--preset--color--palette-color-2);
}

/* Pagination */

.cards-blog-pagination {
	margin-left: auto;
	margin-right: auto;
  text-align: center;
  margin-top: 30px;
}

.cards-blog-pagination .pagination-label {
  margin-right: 10px;
  font-weight: bold;
  color: var(--color-gray-muted);
}

.cards-blog-pagination .page-btn {
  background: none;
  border: none;
  margin: 0 5px;
  padding: 5px 10px;
  cursor: pointer;
  font-weight: 600;
  color: var(--color-gray-muted);
  transition: background 0.2s;
}

.cards-blog-pagination .page-btn:hover {
  background: var(--color-pagination-hover-bg);
  border-radius: 5px;
}

.cards-blog-pagination .page-btn.active {
  color: var(--wp--preset--color--palette-color-2);
  border-radius: 5px;
}

.cards-blog-pagination .page-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}


/* Page resultat */

.search-results .hero-section {
	margin: 40px 0px 72px 0px;
}

.search-results .entry-title:hover a, .search-results .entry-button:hover {
		color: var(--wp--preset--color--palette-color-7);
}

.category .entry-title:hover a, .category .entry-button:hover {
		color: var(--wp--preset--color--palette-color-7);
}

/* Sous page Actu, Agenda, Blog, ... */

.page-id-449 .hero-section[data-type=type-2]>[class*=ct-container] {
	min-height: 320px !important
}

.single-post .entry-header {
	max-width: 1040px;
}

.single-post .ct-meta-element-date, .single-blog .ct-meta-element-date  {
	color: #2c216b;
	font-size: 24px;
	font-weight: 400;
}




.infos-agenda-ligne {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.infos-agenda-lieu, .infos-format {
    font-weight: 500;
    font-size: 32px;
		margin: 0px !important;
		color: #ff6207;
}

.infos-agenda-formats {
    display: flex;
		margin: 0px !important;
    gap: 8px;
}

.infos-format {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.infos-format img {
	color: white;
	font: white;
}

.infos-agenda-lieu-format {
	display: flex;
	margin: 0px
}

.infos-agenda-formats {
  display: flex;
  margin: 0 !important;
  gap: 8px;
  align-items: center;
}

.infos-format {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 30px;
  color: #ff6207;
  position: relative;
}

.infos-point {
    color: #ff6207; /* Couleur des points */
    font-weight: 700;
    font-size: 28px; /* ajuste selon tes besoins */
    margin: 0 0.4rem;
    user-select: none;
}

.agenda-date {
	color: #2c216b;
  font-size: 22px;
  font-weight: 400;
}


.single-projet .ct-container-full, .single-post .ct-container-full, .single-blog .ct-container-full, .single-agenda .ct-container-full, .single-opportunite .ct-container-full {
	padding: 64px 0px;
}



.ct-related-posts-items article {
	background-color: white;
	padding-bottom: 15px;
	border-bottom: 5px solid rgb(0 0 0 / 5%);
}

.ct-related-posts-items .ct-media-container  {
	padding-bottom: 15px;
}

.ct-related-posts-items .related-entry-title a {
		display: -webkit-box;
  -webkit-line-clamp: 3; /* Limite Ă  3 lignes */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
	padding: 0px 15px;
}


/* Agenda */


.card-agenda-meta {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
	margin-bottom: 16px;
}

.card-agenda-lieu {
    font-weight: bold;
	  color: var(--theme-palette-color-7, #FF6207);
		margin-bottom: 0px;
}

.card-agenda-format {
    font-style: italic;
    text-align: right;
}

.card-agenda-lieu-format {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

/* Format (PrĂ©sentiel / Digital) */
.card-agenda-format {
    display: flex;
    gap: 8px;
    align-items: center;
}

.card-agenda-formats {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-text-muted);
    font-weight: 500;
    line-height: 26px; /* 144.444% */
}

.format-icon {
    width: 18px;
    height: 18px;
}

.format-label, .format  {
		font-style: normal !important;
  	font-size: 16px;
    line-height: 26px;
    color: var(--color-gray-muted);
    font-weight: 500;
}

/* Date de l'Ă©vĂ©nement */
.card-agenda-dateevent {
    color: var(--theme-palette-color-7, #FF6207);
    font-size: 29px;
    font-weight: 800;
    line-height: 28px; /* 96.552% */
		margin-bottom: 8px;
}

.card-blog-title:hover a {
	color: var(--wp--preset--color--palette-color-7);
}

/* --- Badges Agenda Modernes (Style Pillule) --- */

/* 1. Base du positionnement sur l'image */
.card-blog-image {
    position: relative;
    overflow: hidden;
}

/* 2. Style structurel du badge (Police, Forme, Position) */
.event-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    z-index: 5;
    
    display: inline-block;
    max-width: calc(100% - 24px);
    padding: 6px 14px;
    
    /* Typographie */
    color: var(--wp--preset--color--palette-color-8, #ffffff); /* Blanc */
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.2;
    white-space: nowrap;
    
    /* Forme Pillule */
    border-radius: 50px;
    pointer-events: none;
    
    /* Animation douce */
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s ease;
}

/* Effet de survol sur la carte : le badge remonte lĂ©gĂšrement */
.card-blog:hover .event-badge {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.25);
}


/* --- 3. COULEURS SPĂCIFIQUES (C'est ici que Ă§a se joue) --- */

/* STYLE ĂCOSYSTĂME : DĂ©gradĂ© Orange (Palette 7 vers 6) 
   C'est le plus attractif pour diffĂ©rencier l'externe */
.badge-ecosysteme {
    /* Fallback couleur unie */
    background: var(--wp--preset--color--palette-color-7, #FF6207);
    
    /* Le DĂ©gradĂ© : Orange Vif -> Orange FoncĂ© */
    background: linear-gradient(
        135deg, 
        var(--wp--preset--color--palette-color-7) 0%, 
        var(--wp--preset--color--palette-color-6) 100%
    );
    
    /* Ombre portĂ©e lĂ©gĂšrement orangĂ©e pour un effet "Glow" moderne */
    box-shadow: 0 4px 12px rgba(237, 98, 16, 0.35);
}


/* STYLE EURAMATERIALS : DĂ©gradĂ© Violet/Bleu (Palette 2 vers 1)
   Plus institutionnel et "Marque" */
.badge-euramaterials {
    /* Fallback */
    background: var(--wp--preset--color--palette-color-2, #2F287F);
    
    /* Le DĂ©gradĂ© : Violet -> Violet FoncĂ© */
    background: linear-gradient(
        135deg, 
        var(--wp--preset--color--palette-color-2) 0%, 
        var(--wp--preset--color--palette-color-1) 100%
    );
    
    /* Bordure fine pour dĂ©tacher du fond sombre */
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 12px rgba(44, 33, 107, 0.4);
}

.card-blog-buttons {
	  display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.card-agenda-addbtn {
	color: var(--wp--preset--color--palette-color-2);
  font-weight: 800;
  line-height: 30px;
}

.card-agenda-addbtn-open {
	font-weight: 800;
	line-height: 30px;
}

.card-agenda-addbtn svg {
	width: 24px;
  height: 24px;
}

.card-agenda-addbtn:hover {
	color: var(--wp--preset--color--palette-color-7);
}


/* Projets */

.cards-projet-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* exactement 2 colonnes */
  gap: 2rem;
}

.card-projet {
  display: flex;
  flex-direction: column;
  background: var(--wp--preset--color--palette-color-8);
  box-shadow: 0px 5px 0px 0px var(--color-shadow);
}

.card-projet-categories-statuts {
	display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px; /* un peu d'espace sous la ligne */
}

.card-projet-categories {
	margin-bottom: 0px;
}

.statut-label {
	color: var(--color-gray-muted);
	font-size: 18px;
	font-weight: 500;
	line-height: 26px;
}




.cards-projet-search-filters-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 4rem;
}

/* RangĂ©e du haut : filtres statut + recherche */
.filters-top-row {
		width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Wrapper filtres statut */
.filters-status-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    flex: 1;
    min-width: 200px; /* ou autre valeur pour la largeur mini */
}




/* Wrapper filtres catĂ©gorie sous la rangĂ©e du dessus */
.filters-category-wrapper {
		width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
}

/* Titres au-dessus des filtres */
.filters-title {
		color: var(--theme-palette-color-1, #2C216B);
		font-size: 20px;
		font-weight: 500;
		margin: 8px 16px;
}

/* Petits ajustements boutons filtres */
#cards-projet-status-filters,
#cards-projet-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}






/* Tablette - 2 cards par ligne Ă  partir de 1000px */
@media (max-width: 1000px) {
  .card-blog {
    width: calc(50% - 16px);
  }

  .cards-blog-search-filters-container {
    justify-content: center;
  }

  #cards-blog-filters {
    order: 1;
  }
  .search-wrapper {
    order: 0;
    max-width: 100%;
    flex: 0 0 100%;
  }
	
	
	    .cards-blog-search-filters-container {
        flex-direction: column;
    }

    .filters-top-row {
        flex-direction: column;
        align-items: stretch;
    }

    .filters-status-wrapper,
    .search-wrapper,
    .filters-category-wrapper {
        min-width: 100%;
    }


    .search-wrapper {
        order: 0;
        margin-bottom: 1rem;
    }
    .filters-status-wrapper {
        order: 2;
        margin-bottom: 1rem;
    }
    .filters-category-wrapper {
        order: 3;
    }
	
		.cards-projet-search-filters-container {
				gap: 0rem;
				margin-bottom: 2rem;
		}
	
	
	
}

/* Mobile - 1 card par ligne Ă  partir de 690px */
@media (max-width: 690px) {
  .card-blog {
    width: 100%;
  }

  .cards-blog-container {
    gap: 24px !important;
  }
	
	.cards-projet-container {
    grid-template-columns: 1fr;
  }
}





































/* Map */

#carte-membres-container {
    position: relative;
    width: 100%;
    display: flex;
	flex-direction: column;
}

#map {
    width: 100%;
    height: 720px;
}

/* Liste Ă  droite 25% */
#liste-membres {
    width: 25%;
    max-height: 720px;
    overflow-y: auto;
    background: white;
    padding: 15px;
    box-sizing: border-box;
    border-bottom: solid #EDEDF2 5px;
}

.membres-list {
    list-style: none;
    padding-left: 0;
}

.membres-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.5rem;
    color: var(--theme-palette-color-1, #2C216B);
    cursor: pointer;
    transition: color 0.3s ease;
}

.membres-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.4rem;
    width: 1rem;
    height: 1rem;
    background: #EEEDF7;
    clip-path: polygon(
        50% 0%,
        93% 25%,
        93% 75%,
        50% 100%,
        7% 75%,
        7% 25%
    );
    transition: background 0.3s ease;
}

.membres-list li.actif {
    color: var(--theme-palette-color-7, #FF6207);
    font-weight: bold;
}

.membres-list li.actif::before {
    background: var(--theme-palette-color-7, #FF6207);
}


.membres-list li a {
    color: var(--theme-palette-color-1, #2C216B);
	transition: color 0.3s ease;
	text-transform: uppercase;
	font-size: 15px;
	font-style: normal;
	font-weight: 500;
	line-height: 26px;
    cursor: pointer;
}

.membres-list li.actif a {
    color: var(--theme-palette-color-7, #FF6207) !important;
}


/* Modale */

.single-membre .ct-header, .single-membre .ct-footer, .single-membre .nojq {
	display: none !important;
}

.gm-style-mtc-bbw, .gm-svpc {
	display: none;
}

/* Modale */

.single-membre .ct-header, .single-membre .ct-footer, .single-membre .nojq {
	display: none !important;
}

.gm-style-mtc-bbw, .gm-svpc {
	display: none;
}

/* --- MODALE MAP STYLE --- */

/* La ligne de séparation */
.modal-divider {
    border: 0;
    border-top: 1px solid #E5E5E5; /* Gris clair */
    margin: 16px 0;
    display: block;
    width: 100%;
}

/* L'icône de catégorie (Technique du masque pour changer la couleur) */
.modal-cat-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 8px;
    vertical-align: middle;
    
    /* On force la couleur de l'icône à être celle du texte parent */
    background-color: currentColor; 
    
    /* On utilise l'image comme un masque */
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
}

/* Fallback si pas d'icône ACF (SVG direct) */
.modal-cat-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.map-wrapper-relative {
    position: relative; /* C'est lui qui devient la référence */
    width: 100%;
    /* Pas de hauteur fixe, il prendra la hauteur de la map */
}

.map-modal {
  display: none;
  position: absolute;
  
  /* Maintenant, top: 20px veut dire "20px du haut de la MAP" */
  top: 20px; 
  left: 20px;
  bottom: auto; 
  
  width: 380px;
  height: auto; 
  /* La hauteur max se calcule par rapport à la map (720px) et non plus toute la page */
  max-height: calc(100% - 40px); 
  
  background: white;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  z-index: 1000;
  
  flex-direction: column;
}

.map-modal-content-wrapper {
    display: flex;
    flex-direction: column;
    /* Permet au contenu de scroller si on atteint le max-height */
    overflow-y: auto; 
    
    /* Scrollbar fine */
    scrollbar-width: thin;
    scrollbar-color: #ddd transparent;
}

.map-modal-content-wrapper::-webkit-scrollbar {
    width: 6px;
}
.map-modal-content-wrapper::-webkit-scrollbar-thumb {
    background-color: #ddd;
    border-radius: 3px;
}

/* HEADER : Logo / Image */
.map-modal-header {
    flex-shrink: 0;
    padding: 30px 30px 0px 30px; /* Moins de padding bas */
    text-align: center; /* Centrer l'image */
}
.map-modal-header img {
    max-width: 140px; /* Taille réduite pour l'harmonie */
    max-height: 100px;
    object-fit: contain;
    display: inline-block;
}

/* BODY */
.map-modal-body {
    padding: 20px 30px 10px 30px;
}

.modal-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--theme-palette-color-1, #2C216B);
    text-transform: uppercase;
    margin-bottom: 12px;
    line-height: 1.3;
}

.modal-description {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 20px;
}

/* Categories */
.modal-categories {
    margin-top: 10px;
}
.modal-categories p {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #777;
    font-size: 13px;
    margin-bottom: 6px;
    font-weight: 500;
}
.cat-icon {
    width: 16px;
    height: 16px;
    color: var(--theme-palette-color-7, #FF6207); /* Couleur thème */
}

/* FOOTER : Boutons */
.map-modal-footer {
    flex-shrink: 0;
    padding: 10px 30px 30px 30px;
    display: flex;
    flex-direction: column; /* Boutons l'un sous l'autre */
    gap: 12px;
    align-items: flex-start;
}

/* Bouton Contact */
.modal-btn-contact {
    background-color: var(--theme-palette-color-7, #FF6207);
    color: white !important;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 13px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}
.modal-btn-contact:hover {
    background-color: #e55600;
}
.modal-btn-contact::before {
    content: '\2709'; 
    font-size: 16px;
    margin-right: 6px;
}

/* Lien Voir le site */
.modal-btn-site {
    color: var(--theme-palette-color-1, #2C216B) !important;
    text-decoration: underline;
    font-weight: 700;
    font-size: 13px;
    padding-left: 5px;
}
.modal-btn-site:hover {
    color: var(--theme-palette-color-7, #FF6207) !important;
}

/* Bouton Fermer */
.close-map-modal {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #000;
    color: white;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    line-height: 24px;
    text-align: center;
    font-size: 16px;
    cursor: pointer;
    z-index: 1010;
    padding: 0;
}

/* RESPONSIVE MOBILE */
/* On utilise UN SEUL bloc media query pour gérer la modale mobile */
@media (max-width: 768px) {
  .map-modal {
    width: 100%; /* Pleine largeur */
    top: auto; 
    left: 0;
    right: 0;
    bottom: 0; /* Collé en bas */
    
    /* IMPORTANT : Hauteur auto pour ne pas avoir de blanc inutile */
    height: auto; 
    max-height: 80vh; /* Max 80% de l'écran pour garder la carte visible */
    
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.2);
    
    /* On annule le fixed full screen s'il traînait */
    position: absolute; 
    transform: none;
  }
  
  .map-modal-header {
      padding: 20px 20px 5px 20px;
  }
  .map-modal-header img {
      max-width: 100px;
  }
  .map-modal-body {
      padding: 10px 20px;
  }
  .map-modal-footer {
      padding: 10px 20px 30px 20px;
  }
  
  .close-map-modal {
      top: 15px;
      right: 15px;
  }
}

/* Autres styles existants */

@media (max-width: 690px) {
  .card-blog {
    width: 100%;
  }
  .cards-projet-container {
    grid-template-columns: 1fr;
  }
}

.filtre-btn {
  border: none;
  background: var(--color-gray-bg-filter);
  padding: 0.6rem 1rem;
  cursor: pointer;
  border-radius: 160px;
  transition: all 0.3s;
  font-weight: 500;
  color: var(--wp--preset--color--palette-color-2); /* bleu foncé */
}

.filtre-btn.actif {
  background: var(--wp--preset--color--palette-color-8); /* blanc */
  color: var(--wp--preset--color--palette-color-2);
  border: 1px solid var(--wp--preset--color--palette-color-2) !important;
}

#map-filtres-recherche {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    gap: 10px;
}

#map-filtres {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    min-width: 70%;
    flex: 1; 
    margin-top: 16px;
}

#map-recherche {
    position: relative;
    order: 1;
    width: 300px;
    max-width: 40%;
    max-height: 47px !important;
    font-weight: 500;
    color: var(--color-gray-dark);
    flex: 0 0 400px;
}

#map-search {
    width: 100%;
    padding-right: 40px;
    border-radius: 160px;
    border: 1px solid var(--color-gray-light);
    background-color: var(--wp--preset--color--palette-color-8) !important;
    box-sizing: border-box;
    font-weight: 500;
    padding: 1.4rem 1.5rem;
    color: var(--color-gray-dark);
}

/* Marqueur hexagone */
.custom-marker {
  position: absolute;
  width: 60px;
  height: 52px;
  background-color: var(--theme-palette-color-2, #2F287F);
  clip-path: polygon(
    50% 0%,
    93% 25%,
    93% 75%,
    50% 100%,
    7% 75%,
    7% 25%
  );
  border: 3px solid var(--theme-palette-color-8, #ffffff);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.custom-marker img {
  max-width: 60%;
  max-height: 60%;
}


@media (max-width: 690px) {
	#map-filtres-recherche {
		flex-direction: column !important;
		gap: 32px !important;
		margin-left: 24px !important;
		margin-right: 24px !important;
	}
	
	#map-recherche {
		max-width: 100% !important;
		width: 100% !important;
	}
}



/* Agenda */


.card-agenda-modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* ========== Modal Container ========== */
.card-agenda-modal {
    background: var(--theme-palette-color-5, #FAFAFF);
    padding: 32px;
    border-radius: 8px;
    max-width: 320px;
    width: 100%;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    position: relative;
    text-align: center;
}

.card-agenda-modal h3 {
    margin-bottom: 32px;
}

/* ========== Close Button ========== */
.card-agenda-modal-close {
    position: absolute;
	top: -16px;
    right: -16px;
    background: var(--theme-palette-color-2);
    border: none;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease, transform 0.2s ease;
}

.card-agenda-modal-close:hover {
    background: #000; /* tu peux remplacer par un darken(var(--theme-palette-color-2)) si besoin */
    transform: scale(1.1);
}

/* ========== List of Links ========== */
.card-agenda-modal-links {
    list-style: none;
    padding-left: 0;
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.card-agenda-modal-links a {
    text-decoration: none;
}

.card-agenda-modal-links a:hover {
    text-decoration: underline;
}

/* ========== Common Button Styles ========== */
.google-agenda-btn,
.ical-btn,
.outlook-btn {
    justify-content: center;
    padding: 10px 12px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    cursor: pointer;
    user-select: none;
    text-decoration: none;
    font-size: 15px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Hover effect (lift) */
.google-agenda-btn:hover,
.ical-btn:hover,
.outlook-btn:hover {
    transform: scale(1.05);
}

/* ========== Google Agenda Button ========== */
.google-agenda-btn {
    background-color: white;
    color: #4285f4 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.google-agenda-link {
    color: #4285f4 !important;
}

/* ========== iCal / Apple Button ========== */
.ical-btn {
    background-color: black;
    color: white !important;
    border: none;
    box-shadow: 0 1px 3px rgba(255, 255, 255, 0.1);
}

.ical-link {
    color: white !important;
}

/* ========== Outlook Button ========== */
.outlook-btn {
    background-color: #0071C9;
    color: white !important;
    border: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.outlook-link {
    color: white !important;
}

/* ========== Icons inside Buttons ========== */
.card-agenda-modal img {
    height: 24px;
    width: 24px;
	margin-right: 8px;
	margin-bottom: 4px;
    max-width: 100%;
    vertical-align: middle;
}

.card-agenda-modal-links a:hover {
    text-decoration: none;
}


.pagination-dots {
    display: inline-block;
    margin: 0 2px;
    padding: 5px;
    font-weight: 600;
    color: var(--color-gray-muted);
    user-select: none;
}











@media (min-width: 689.99px) and (max-width: 1024px){
	
	.hide-for-tablet{
		display: none;
	}
}

@media (min-width: 689.99px) and (max-width: 960px){
	
	
}

@media (max-width: 768px){
	
	
}


@media (min-width: 768px) and (max-width: 1024px){

	
}
@media (max-width: 689.98px){
	.hide-for-mobile{
		display: none;
	}
	
}

