.three-boxes {
	display: flex;
	justify-content: center;
	gap: 0px;
	margin: -150px 0;
	flex-wrap: wrap; /* Permet aux divs de se réorganiser sur plusieurs lignes */
	font-style: italic;
}

.three-boxes .box {
	width: 430px;
	height: 258px;
	background-size: cover;
	background-position: center;
	position: relative;
}

.three-boxes .box a {
	position: absolute;
	bottom: 10px;
		left: 10px;
	color: white;
	text-decoration: none;
	font-size: 20px;
	font-weight: bold;
}
/* Zone du titre */
.event-header {
	padding: 0 10px;
	border-radius: 4px;
	margin-top: -20px;
}
.event-card{
	margin-top: 20px;
}
.event-title {
	background: #5c5c5c; /* Fond semi-transparent */
	font-size: 24px;
	font-weight: bold;
	display: inline-block;
	position: relative;
	color: #fff;
	width: 100%;
	padding: 15px 10px 15px 20px;
	margin: 10px 0 0 -10px;
}
.event-title::after{
	transform: skew(-30deg);
	z-index: -1;
}
.event-location {
	font-size: 16px;
	color: #fff;
	font-weight: 900;
	margin-top: 5px;
}
/*.et_pb_text_inner{
	margin-top: 250px; //descend le bloc où il y a les les 3 DIV 
}*/
.box{
	margin: 0 5px;
}
/* Pied de la carte */
.event-footer {
	text-align: left;
	margin: 65px 10px 0px 10px;
	
	display: flex; /* Active le mode flexbox */
	justify-content: space-between; /* Place les éléments aux extrémités (date à gauche, lien à droite) */
	align-items: center; /* Aligne verticalement au centre */
}

.event-date {
	font-family: "Roboto Condensed";
	font-size: 34px;
	font-weight: bold;
	margin-bottom: 5px;
	color: #fff;
}

.event-result {
	display: inline-block; /* Permet d'appliquer des styles comme un cadre autour du texte */
	font-family: "Roboto Condensed";
	text-align: right; /* Aligne le texte à droite */
	font-weight: bold;
	color: red;
	margin-top: 0; /* Retire tout espace inutile ajouté précédemment */
	
}
.event-result a {
	display: inline; /* Permet d'appliquer des styles comme un cadre autour du texte */
	font-size: 40px !important;
	color: red !important;
	text-decoration: none;
	text-align: right;
	right: 20px;
}

.event-result a:hover{
	color: white!important;
}
/* Styles pour les petits écrans */
@media (max-width: 768px) {
	.three-boxes {
		flex-direction: column; /* Les divs s'empilent verticalement */
		align-items: center;   /* Centrer les divs */
		margin: 0px;
	}

	.three-boxes .box {
		width: 100%; /* Les divs prennent presque toute la largeur */
		margin-bottom: 0px; /* Espacement entre les divs */
		/*margin-top: -20px;*/
	}
	
	/*.et_pb_text_inner{
		margin-top: 306px; //descend le bloc où il y a les les 3 DIV 
	}*/
}