@media (max-width: 991px) {

	.formation-search {
		padding: 0 10px;
	}

	.formation-search__form {
		flex-direction: column;
		align-items: stretch;
		border-radius: 24px;
	}

	.formation-search__submit {
		justify-content: center;
		width: 100%;
	}

	.post-items--formations.posts-items__grid.post-items--all {
		max-width: 100%;
		padding-bottom: 3em;
	}

	.post-items--homepage .post-item__btn {
		width: 100%;
	}

	.post-items--formations .post-item__price-link {
		display: flex;
		justify-content: space-between;
		gap: 5px;
	}

	.post-items--formations.post-items--all .post-item__link {
		width: 90.5%;
		margin: 0 auto;
	}

}

@media (min-width: 768px) {

	.post-items--formations.posts-items__grid.post-items--all {
		grid-template-columns: repeat(2, 1fr);
	}

}

@media (min-width: 767px) and (max-width: 1355px) {

	.post-items--formations.post-items--homepage.posts-items__grid {
		display: grid !important;
		grid-template-columns: repeat(2, 1fr);
	}

	.post-items--formations.post-items--homepage.posts-items__grid .post-item__link {
		width: 100%;
	}

	.post-items--formations.post-items--homepage.posts-items__grid .post-item__image {
		position: relative;
		overflow: hidden;
		border-radius: 8px;
		width: 100%;
		height: 0;
		padding-bottom: 50%;
	}

}

@media (min-width: 768px) {

	.post-item__price-link {
		display: flex;
		align-items: center;
		justify-content: space-between;
	}

}

@media (min-width: 1200px) {

	.post-items--formations.posts-items__grid.post-items--all {
		grid-template-columns: repeat(3, 1fr);
	}

}

@media (min-width: 1400px) {

	.post-items--formations.posts-items__grid.post-items--all {
		grid-template-columns: repeat(4, 1fr);
		max-width: 85%;
	}

}

@media (min-width: 1600px) {

	.post-items--formations.posts-items__grid.post-items--all {
		max-width: 75%;
	}

}