/*
 * Team-Mitglieder widget — new widget (no source prototype), styled to match the
 * plugin's established card language: white card, 10px radius, 0 4px 8px shadow,
 * Montserrat for name, Amiko for body text, brand green accent (see styleguide.md).
 */

.ac-team-grid {
	display: grid;
	grid-template-columns: repeat( auto-fill, minmax( 240px, 1fr ) );
	gap: 25px;
}

.ac-team-card {
	background-color: #fff;
	border-radius: 10px;
	box-shadow: 0 4px 8px rgba( 0, 0, 0, 0.15 );
	overflow: hidden;
	text-align: center;
	transition: transform 0.3s;
	font-family: 'Amiko', sans-serif;
}

.ac-team-card:hover {
	transform: translateY( -6px );
}

.ac-team-photo {
	width: 100%;
	aspect-ratio: 1 / 1;
	background-color: #f0f0f0;
	overflow: hidden;
}

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

.ac-team-body {
	padding: 20px;
}

.ac-team-name {
	font-family: 'Montserrat', sans-serif;
	font-size: 1.2rem;
	font-weight: 700;
	color: #111;
	margin: 0 0 4px;
}

.ac-team-position {
	font-family: 'Montserrat', sans-serif;
	font-size: 0.85rem;
	font-weight: 600;
	color: var( --ac-accent, #2e6741 );
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-bottom: 10px;
}

.ac-team-subline {
	font-size: 0.95rem;
	color: #666;
	line-height: 1.5;
	margin-bottom: 16px;
}

.ac-team-links {
	display: flex;
	justify-content: center;
	gap: 10px;
}

.ac-team-link {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background-color: #f0f0f0;
	color: var( --ac-accent, #2e6741 );
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
	text-decoration: none;
	transition: all 0.3s;
}

.ac-team-link:hover {
	background-color: var( --ac-accent, #2e6741 );
	color: #fff;
	transform: translateY( -3px );
}
