.feedback-staff {
	margin: 0;
}

.feedback-staff__row {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
	align-items: stretch;
}

.feedback-staff__card {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	background: #fff;
	border: 1px solid #ececec;
	border-radius: 14px;
	overflow: hidden;
	box-shadow:
		0 8px 24px rgba(0, 0, 0, 0.06),
		0 1px 2px rgba(0, 0, 0, 0.04);
}

.feedback-staff__media {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 12;
	background: #f5f5f5;
	overflow: hidden;
}

.feedback-staff__photo {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.feedback-staff__content {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 14px 14px 13px;
}

.feedback-staff__name {
	margin: 0;
	font-family: "Montserrat", sans-serif;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.28;
	color: #1a1a1a;
}

.feedback-staff__position {
	margin: 5px 0 0;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.35;
	color: #646464;
}

.feedback-staff__contacts {
	display: flex;
	flex-direction: column;
	gap: 7px;
	margin-top: 12px;
}

.feedback-staff__contact {
	display: inline-block;
	width: max-content;
	max-width: 100%;
	padding: 0;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.45;
	color: #1f1f1f;
	text-decoration: none;
	word-break: break-word;
	transition: color 0.2s ease;
}

.feedback-staff__contact--phone {
	color: #1f1f1f;
}

.feedback-staff__contact--phone:hover {
	color: #000;
}

.feedback-staff__contact--email {
	color: #3a3a3a;
}

.feedback-staff__contact--email:hover {
	color: #000;
}

@media (max-width: 1180px) {
	.feedback-staff__row {
		gap: 14px;
	}

	.feedback-staff__name {
		font-size: 17px;
	}
}

@media (max-width: 920px) {
	.feedback-staff__row {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 620px) {
	.feedback-staff__row {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.feedback-staff__content {
		padding: 12px 12px 11px;
	}

	.feedback-staff__name {
		font-size: 16px;
	}
}
