.team_grid {
	grid-template-columns: repeat(4, 1fr);
    gap: 50px;
    display: grid;
    width: 100%;
}

.team_grid_item {
	position: relative;
	display: flex;
	flex-wrap: nowrap;
	flex-direction: column;
	align-items: flex-start;
	overflow: hidden;
}

.team_grid_item:hover::after {
	opacity: 0.8;
}

.team_grid_item:after {
	background-color: #033D68;
	position: absolute;
	top: 0px;
	left: 0px;
	right: 0px;
	bottom: 0px;
	opacity: 0;
	z-index: 0;
	transition-duration: 0.3s;
	content: "";
}

.team_grid_item:hover .team_grid_item_info {
    transform: translateY(0%);
    opacity: 1;
}

.titre_trombinoscope,
.paragraph_trombinoscope{
	margin-bottom: 60px;
}
.team_grid_image {
	aspect-ratio: 3 / 4;
    object-fit: cover;
    width: 100%;
}

.team_grid_item_info {
	z-index: 1;
	position: absolute;
	top: 0;
	transition-duration: 0.5s;
	opacity: 0;
	display: flex;
    flex-direction: column;
    align-self: center;
	padding: 10px;
	height: 100%;
	transform: translateY(50%);
	justify-content: center;
}

.team_grid_item_info_name {
	font-size: 1.4rem;
    color: #D49242;
    margin-bottom: 15px;
    position: relative;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-weight: 600;
}

.team_grid_item_info_name::after {
	content: "";
    width: 80px;
    height: 1px;
    background-color: #D49242;
    display: block;
    margin-top: 15px;
}

.team_grid_item_info_position {
	text-align: center;
	text-transform: none;
    font-size: 1.1rem;
    font-weight: 400;
    color: white;
    line-height: 1.1;
    width: 80%;
    align-self: center;
}

.team_grid_item_info_position p {
	margin-top: 0;
	margin-bottom: 8px;
}

.btn_team {
	display: flex;
    align-items: center;
	position: absolute;
	bottom: 15px;
	right: 15px;
	font-size: 1.1rem;
	color: #ffffffba;
	transition: 0.3s;
}

.btn_team:hover {
	color: #fff;
}

.btn_team::after {
	content: "";
    display: block;
    width: 15px;
    height: 15px;
    background-image: url(/wp-content/uploads/2022/09/arrow_down2.svg);
    background-repeat: no-repeat;
    background-position: center;
    transform: rotate(-90deg);
    margin-left: 5px;
}

@media screen and (max-width: 1300px) {
	
	.team_grid {
		gap: 30px;
	}
	
}

@media screen and (max-width: 1200px) {
	
	.team_grid {
		grid-template-columns: repeat(3, 1fr);
		margin: auto;
		max-width: 900px;
	}
	
}

@media screen and (max-width: 991px) {
	
	.team_grid {
		gap: 30px;
		grid-template-columns: repeat(2, 1fr);
		max-width: 600px;
	}
	
}

@media screen and (max-width: 650px) {
	
	.team_grid {
		grid-template-columns: repeat(1, 1fr);
		max-width: 300px;
	}
	
}

