/* Munkatársak – csak a Munkatársak oldalsablonon töltődik be. */
.am-team__content { padding-top: 4px; }
.am-team__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 30px;
	align-items: stretch;
}
.am-team__card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	background: #fffdf8;
	border: 1px solid #cfb889;
}
.am-team__photo {
	width: 100%;
	margin: 0;
	aspect-ratio: 4 / 4.7;
	overflow: hidden;
	background: var(--cream);
}
.am-team__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
}
.am-team__photo--empty {
	background: var(--green) url('../images/antimonit-leveles-hatter-csillogo.webp') center / cover no-repeat;
}
.am-team__details { flex: 1; padding: 26px 27px 30px; }
.am-team__name {
	margin: 0 0 8px;
	color: var(--green);
	font-size: clamp(25px, 2.3vw, 31px);
	font-weight: 300;
	line-height: 1.25;
	overflow-wrap: anywhere;
}
.am-team__title {
	margin: 0;
	color: var(--gold-text);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.55;
}
.am-team__description {
	margin-top: 18px;
	padding-top: 17px;
	border-top: 1px solid var(--line);
	color: var(--muted);
	font-size: 15px;
	line-height: 1.8;
	overflow-wrap: break-word;
}
.am-team__description p { margin: 0 0 12px; }
.am-team__description p:last-child { margin-bottom: 0; }
.am-team__empty {
	display: grid;
	place-items: center;
	min-height: 245px;
	padding: 35px 22px;
	border-top: 1px solid #cbb685;
	border-bottom: 1px solid #cbb685;
	text-align: center;
}
.am-team__empty p {
	margin: 0;
	color: var(--gold-heading);
	font-size: clamp(30px, 4vw, 44px);
	font-weight: 300;
	line-height: 1.2;
}
@media (max-width: 900px) {
	.am-team__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
}
@media (max-width: 600px) {
	.am-team__grid { grid-template-columns: 1fr; gap: 25px; }
	.am-team__details { padding: 23px 22px 27px; }
	.am-team__name { font-size: 26px; }
	.am-team__empty { min-height: 180px; }
}
