/*
 * SECTION ÉQUIPE
 *
 * Grille 2 colonnes (texte + image) présentant l'équipe de recherche.
 */

 .team {
	display: grid;
	grid-template-columns: 1fr 1.1fr;
	gap: 56px;
	align-items: center;
}

/* === Colonne texte === */
.team-content h2 {
	font-size: clamp(32px, 4vw, 48px);
	line-height: 1.1;
	margin-bottom: 24px;
}

/*
 * .team-text est le wrapper du contenu WYSIWYG/Textarea.
 * Les <p> à l'intérieur sont générés par WordPress.
 */
.team-content .team-text p {
	color: var(--text-muted);
	font-size: 16px;
	line-height: 1.7;
	margin-bottom: 0;
}

/* Fallback si le contenu est un <p> direct (Textarea simple) */
.team-content > p {
	color: var(--text-muted);
	font-size: 16px;
	line-height: 1.7;
	margin-bottom: 0;
}

.team-content .btn-dark {
	margin-top: 32px;
	display: inline-flex;
}

/* === Colonne image === */
.team-image-wrap {
	border-radius: var(--radius-lg);
	overflow: hidden;
	aspect-ratio: 3/2;
	background: var(--bg-light);
}

.team-image-wrap img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 968px) {
	.team { grid-template-columns: 1fr; gap: 40px; }
	.team-content h2 { font-size: 28px; margin-bottom: 18px; }
	.team-content .team-text p,
	.team-content > p { font-size: 15px; }
	.team-content .btn-dark { margin-top: 24px; padding: 13px 24px; font-size: 14.5px; }
}

@media (max-width: 540px) {
	.team-content h2 { font-size: 24px; margin-bottom: 14px; }
	.team-content .team-text p,
	.team-content > p { font-size: 14px; line-height: 1.6; }
	.team-content .btn-dark { margin-top: 20px; padding: 12px 20px; font-size: 14px; }
}
