.subheader-2025 {
    height: 4rem;
    line-height: 4rem;
}
#masterhead {
	margin-bottom:0;
}
#cmplz-cookiebanner-container,.cmplz-cookiebanner {
	max-width:100%!important;
}
/*----HOMEPAGE CONTENT------*/
.hp-content{
	margin:2rem 0;
	display:flex;
	flex-wrap: wrap;  
	justify-content: space-between;
	gap: 0 ;
}

.hp-row{
	display:flex;
	gap: 2rem;
	width:100%;
}

.hp-col-item {
    flex: 1;
    box-sizing: border-box; 
	border-radius: 8px;
	margin-bottom:1.5rem ;
}
.hp-item_serenity{
	background:#ff4054;
	color:#fff;
	padding :3rem  2.2rem  1rem  2rem ;
	font-size:2rem;
	min-height: 263px;
} 
.hp-item_serenity h1{
	font-size:4rem;
	line-height:4rem;
}
.hp-item_serenity-body{
	padding-top:1rem ;
}
.hp-item-img img{
	width:100%;
}
.bold{
	font-weight:900;
}
.hp-text-sep{
	margin-top:2rem ;
}
.hp-button{
	font-size:1.8rem;
	font-weight:700;
	border:1px solid grey;
	color:#3f3f3f;
	background:#fff;
	border-radius:50px;
	padding : 0.8rem  1.5rem ;
	text-decoration:none!important;	
}
.hp-button:hover{
	background:#ccc;
	color:#3f3f3f!important;
}
.hp-item_count{
	min-height: 263px;
	font-size:2rem;
	border:1px solid grey;
	color:#3f3f3f;
	line-height:4rem;
	padding :2rem  2rem  2rem  2rem ;
	padding-bottom:1.1rem ;
}
.hp-item_counter{
	padding-top:1.1rem;
}
.hp-item_info-session{
	margin-top:4.2rem;
}
.hp-item_registration{
	margin-top: 2rem ;
}

.hp-col-item img{
	border-radius:8px;
	width:100%;
	min-width: 0;
	width: 100%;	
	height: auto;
	max-width: 100%;
}

/*---QUICK ACCESS----*/
.hp-quick-access{
	margin:4rem 0 2rem 0;	
	border-radius: 8px;
	border:1px solid grey;
	padding:2.4rem 3rem 3rem 3rem;
}
.quick-access_label{
	text-align:center;
	font-size:2.6rem ;
	font-weight:900;
}
.quick-access_buttons{
	margin-top:3vmax;
	display:flex;	
	text-align:center;
	width:100%;
	min-width:740px;
}
.quick-access_button{
	width:33%;
}

/*------TESTIMONY-----*/
.hp-testimony-block{
	margin:5rem 0 ;
	text-align:center;
}
.testimony-slider-titre{
	color:#ff4054;			
	font-size : 2.6rem;
	margin:2rem 0;
	font-weight:700;
}
.hp-button-red{
	background:#ff4054;
	color:#fff;
	border:none;
	font-weight:400;
}
.hp-button-red:hover{
	color:#fff;
}
.testimony-slider .flexslider .slides li img{
	border-radius:10px;
}

.testimony-slider .flexslider ul.slides .caption-wrap .caption {		
	margin-top:-90px;
	height:120px;
}
.testimony-slider .caption-wrap {
	background: #fff !important;
	border-radius:8px;
  position: relative !important;
  bottom: 0 !important;
  color: #000!important;
}
.testimony-slider .caption {
	border-radius:8px;
  background: #fff !important;  
  border:1px solid #c0c0c0!important;
  line-height:1.2em;
}

.testimony-slider .caption div {
  margin-bottom:0.8rem;
}
.testimony-slider .caption a {
  text-decoration:underline;
}
.metaslider.ms-theme-simply-dark .flexslider ul.slides .caption-wrap .caption * {
  color: #000 !important;
}
.testimony-button{
	margin-top:5rem;
}
@media (max-width: 780px) {	
	.main-slider-wrapper{
		margin-top:0;
	}
	.hp-content {
		flex-direction: column;
		align-items: stretch;       /* plutôt que center pour éviter du dépassement */
		gap: 2rem;
	}
	.hp-col {
		width: 100%;
		margin-right: 0; /* évite le gap horizontal résiduel */
	}
	.hp-col-item {
		height: auto;
		margin-bottom: 2rem ;	
	}
	.hp-col .hp-item_serenity h1{
		font-size: 3.3rem;
		line-height:3.5rem;
	}
	.hp-button {
	    font-size: 1.6rem;
	}
	.hp-col .hp-item_count, .hp-col .hp-item_serenity {
		height: auto;		
		padding-bottom:2rem ;
	}
	.hp-quick-access{
		flex-direction: column;		
		height: auto;	
		text-align:center;		
	}
	.quick-access_label{		
		width:100%;
	}
	.quick-access_buttons{
		flex-direction: column;
		height: auto; 
		width:100%;
		min-width:80%;
	}
	.quick-access_button{
		width:100%;
		margin: 2rem  0;
	}
	.testimony-slider .ms-image{
		min-width:320px;		
	}
	
}
@media (min-width: 781px) and (max-width: 974px) {
	.hp-quick-access{
		flex-direction: column;		
		height: auto;	
		text-align:center;		
	}
	.quick-access_label{		
		width:100%;
	}
	
	.quick-access_buttons{
		flex-direction: column;
		height: auto; 
		width:100%;
		min-width:80%;
	}
	.quick-access_button{
		width:100%;
		margin: 2rem  0;
	}
}

