.search-result__grid-container {
	display: grid;
	grid-template-columns: repeat(3, 1fr); /* Trois cartes par ligne */
	gap: 20px;
	padding: 20px;
}

.search-result__card {
	position: relative;
	border: 1px solid #ddd;
	border-radius: 5px;
	overflow: hidden;
	aspect-ratio: 1; /* Ratio d'aspect carré */
	width: 100%; /* Pour garantir que la carte couvre tout l'espace disponible */
	max-width: calc(100% - 40px); /* Largeur maximale de la carte pour tenir compte de la marge */
}

.search-result__card img {
	width: 100%;
	height: 100%;
	object-fit: cover; /* Redimensionne l'image pour remplir le conteneur */
}

.search-result__card .search-result__footer {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 33.33%; /* 2/6 (ou 1/3) de la hauteur de la carte */
	background-color: rgba(0, 86, 112, 0.75);
	color: white;
	box-sizing: border-box;
	padding: 10px;
	display: flex;
	justify-content: space-between; /* Espacement entre les éléments */
	align-items: center; /* Centre les éléments verticalement */
}

.search-result__left-text, .search-result__right-text {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: normal;
	width: 50%;
	max-height: 100%; /* Ajustez cette valeur selon vos besoins */
}

.search-result__footer .search-result__left-text {
	margin-top: 5px;
	font-size: 1em;
}

.search-result__footer .search-result__right-text {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.search-result__footer .search-result__right-text p {
	margin-right: 5px;
	margin-bottom: 0;
	font-size: 1em;
}
}

.search-result__icon {
	font-size: 20px;
}

@media only screen and (max-width: 768px) {
	.search-result__grid-container {
		grid-template-columns: repeat(1, 1fr); /* Trois cartes par ligne */
	}
}