/*
--------------------------------------
Container
--------------------------------------
*/

.post-items--formateurs * {
	color: #fff;
}

.post-items--team-homepage.posts-items__grid {
	display: grid;
	grid-template-columns: 1fr;
	justify-content: center;
	gap: 2rem;
	padding-top: 2rem;
}

.post-items--team-all.posts-items__grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: calc(15px + (30 - 15) * ((100vw - 320px) / (1920 - 320)));
	padding-top: calc(0px + (32 - 0) * ((100vw - 320px) / (1920 - 320)));
}

/*
--------------------------------------
Items
--------------------------------------
*/

.post-items--team-all .post-item__element {
	flex: 0 0 280px;
}

.post-items--formateurs .post-item {
	position: relative;
	border-radius: 8px;
}

/*img*/

.post-items--formateurs .post-item img {
	display: flex;
	object-fit: cover;
	border-radius: 8px;
	width: 100%;
	height: calc(330px + (380 - 330) * ((100vw - 320px) / (1920 - 320)));
}

/*overlay*/

.post-items--formateurs .post-item__image-overlay {
	position: absolute;
	border-radius: 8px;
	width: 100%;
	height: 100%;
	content: "";
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0) 47%, rgba(0, 0, 0, 0.7) 100%),
	linear-gradient(178deg, rgba(244, 58, 227, 0) 65.77%, rgba(106, 37, 249, 0.3) 81.91%, rgba(87, 222, 231, 0.3) 98.04%);
	pointer-events: none;
}

/*content*/

.post-items--formateurs .post-item__content {
	position: absolute;
	z-index: 2;
	bottom: 16px;
	left: 14px;
	right: 14px;
	border-radius: 4px;
	background: rgba(255, 255, 255, 0.20);
	backdrop-filter: blur(10px);
	text-align: center;
	padding: 5px;
}

/*title*/

.post-items--formateurs .post-item__title {
	font-size: 18px;
	font-weight: 700;
	line-height: 22px;
}

/*job*/

.post-item__job {
	line-height: 1;
}

.post-items--formateurs .post-item__job-text {
	font-size: 13px;
	font-weight: 400;
	opacity: 0.6;
}