/**
 * Theme Name: UnCubeAxel
 * 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;
}
	
	
}



@media (max-width: 698px) {
	
.hexagone-left .stk-block-timeline__middle {
	margin-left: -40px !important;
}
	
	
}





.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-7, #FF6207);
	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"] .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;
  }
}








.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: 300;
    --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;
}


.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);
}







/* === 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;
}

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

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

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

.card-blog-image-caroussel {
	width: 35% !important;
	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) {
	
	
	.card-blog-carrousel {
  flex-direction: column;
}
	
	.card-blog-image-caroussel {
	width: 100% !important;
    padding-top: 50% !important;
	}

  .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;
}



.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-2546 {
	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-2546 .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-2546 .wpforms-field {
	padding: 0px !important;
}

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

#wpforms-form-2546 .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;
}

.card-blog-carrousel .card-blog-content {
	padding: 48px;
}

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

.card-blog-categories {
  color: var(--wp--preset--color--palette-color-6); /* 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;
}



/* 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-success-story .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);
}

.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 */

.project-result-title {
	color: var(--theme-palette-color-6, #ED6210);
	font-size: 16px;
}




.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;
}








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



/* 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;
  }
	
	.infos-agenda-lieu-format {
		flex-wrap: wrap;
	}
	
	.infos-agenda-lieu, .infos-format {
		font-size: 16px;
	}
}





/* 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;
}




/* ========== Appels à candidatures ========== */

.page-id-2523 .acf-hero-icon {
	width: auto;
}

.appel-candidature .entry-title {
	font-size: 30px;
	font-weight: 500;
	line-height: 1.4em;
}

.appel-candidature .entry-button {
	color: white;
	text-decoration: none;
	text-transform: uppercase;
	font-weight: 700;
	padding: 5px 15px !important;
}

.appel-candidature-shortcode .appel-candidature {
	border-bottom: 8px solid #EDEDF2 !important;
}

.appel-candidature-shortcode .acf-periode {
  color: var(--wp--preset--color--palette-color-6);
  font-weight: 500;
  margin-bottom: 0px;
}

.champs-obligatoire p {
	font-size: 16px;
	margin: 0px !important;
}

.contact-form-btn {
	text-transform: uppercase !important;
}

.contact-form-btn:hover {
	transform: scale(1.05) !important;
}

.dernier-appel-section {
	background-color: #eeedf7;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px;
    border-radius: 160px;
	text-align: center;
}

.appel-label {
	font-size: 30px;
    color: var(--theme-palette-color-7);
    font-weight: 500;
    margin-bottom: 16px;
}

.appel-titre {
	font-weight: 800;
    margin-bottom: 0px !important;
}

.appel-periode {
	font-size: 35px;
    font-weight: 800;
    margin-bottom: 16px;
}

.appel-excerpt {
	text-align: center;
    max-width: 640px;
}

.appel-btn {
	background-color: var(--theme-palette-color-8);
    padding: 5px 15px;
    border-radius: 32px;
    text-transform: uppercase;
    font-weight: 500;
}

.appel-btn:hover {
	transform: scale(1.05) !important;
}


/* --- Toggle Switch Agenda --- */
.agenda-filters-container {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 24px;
    align-items: center;
}

.agenda-toggle-switch {
    position: relative;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    gap: 12px;
}

.agenda-toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}

.agenda-toggle-slider {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
    background-color: var(--color-gray-light, #C8C8CC);
    border-radius: 34px;
    transition: 0.3s ease-in-out;
}

.agenda-toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    border-radius: 50%;
    transition: 0.3s ease-in-out;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.agenda-toggle-switch input:checked + .agenda-toggle-slider {
    background-color: var(--theme-palette-color-7, #FF6207);
}

.agenda-toggle-switch input:checked + .agenda-toggle-slider:before {
    transform: translateX(24px);
}

.agenda-toggle-label {
    font-weight: 700;
    color: var(--theme-palette-color-1, #2C216B);
    font-size: 16px;
    user-select: none;
    transition: color 0.3s ease;
}

.agenda-toggle-switch:hover .agenda-toggle-label {
    color: var(--theme-palette-color-7, #FF6207);
}


.actualites-swiper-wrapper .project-description p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 4;
}





/* --- Limite de lignes pour la description des Success Stories en Grille --- */
.grid-success-stories .project-description,
.grid-success-stories .project-result {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 4; /* 4 lignes max sur Desktop */
}

@media (max-width: 768px) {
    .grid-success-stories .project-description,
    .grid-success-stories .project-result {
        -webkit-line-clamp: 6; /* 6 lignes max sur Mobile */
    }
}





@media (max-width: 768px) {
    .actualites-swiper-wrapper .project-description p {
        -webkit-line-clamp: 6;
    }
}




@media (max-width: 768px) {
    .agenda-filters-container {
        justify-content: center;
    }
}





@media (max-width: 1000px) {

	.appel-periode {
		font-size: 30px;
		line-height: 1.2em;
	}

}

@media (max-width: 689px) {
	
	.dernier-appel-section {
		border-radius: 16px;
	}

	.appel-periode {
		font-size: 24px;
		line-height: 1.2em;
	}
	
	.appel-label {
		font-size: 20px;
	}
	
	.footer-widget .stk-block-content {
		align-items: flex-start;
	}
	
	.footer-widget .wp-block-stackable-text {
		margin-left: 0px !important;
		max-width: 100% !important;
	}
	
	.footer-widget p {
		text-align: left !important;
	}

}



@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;
	}
	
}

