/**
 * =========================================================
 * EMPLOYEE RECOMMENDATION
 * =========================================================
 */

.section-employee-recommendation {
	padding: 90px 0;
}

.employee-recommendation {
	display: grid;
	grid-template-columns: minmax(0, 40%) minmax(0, 60%);
	align-items: center;
	gap: clamp(50px, 8vw, 130px);
}


/**
 * IMAGE
 */

.employee-recommendation-media {
	position: relative;
	overflow: hidden;

	width: 100%;
	aspect-ratio: 4 / 5;

	border-radius: 36px;
}

.employee-recommendation-image {
	display: block;

	width: 100%;
	height: 100%;

	object-fit: cover;
	object-position: center;
}


/**
 * CONTENT
 */

.employee-recommendation-content {
	width: 100%;
	max-width: 760px;
}

.employee-recommendation-label {
	margin: 0 0 35px;

	color: var(--th-color-accent);

	font-size: 18px;
	font-weight: 700;
	line-height: 1.2;

	letter-spacing: .02em;
	text-transform: uppercase;
}

.employee-recommendation-title {
	margin: 0 0 30px;

	color: var(--th-color-primary);
}

.employee-recommendation-text {
	margin: 0 0 45px;
}

.employee-recommendation-text > *:first-child {
	margin-top: 0;
}

.employee-recommendation-text > *:last-child {
	margin-bottom: 0;
}

.employee-recommendation-text p {
	margin: 0 0 18px;
}

.employee-recommendation-text p:last-child {
	margin-bottom: 0;
}


/**
 * PERSON
 */

.employee-recommendation-person {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.employee-recommendation-name {
	display: block;

	color: var(--th-color-primary);

	font-size: 18px;
	font-weight: 700;
	line-height: 1.3;
}

.employee-recommendation-position {
	margin-top: 3px;

	color: var(--th-color-muted);

	font-size: 15px;
	font-weight: 400;
	line-height: 1.4;
}

.employee-recommendation-email {
	display: inline-block;

	margin-top: 8px;

	color: var(--th-color-accent);

	font-size: 15px;
	font-weight: 600;
	line-height: 1.4;

	text-decoration: none;

	transition:
		color .2s ease,
		text-decoration-color .2s ease;
}

.employee-recommendation-email:hover,
.employee-recommendation-email:focus {
	color: var(--th-color-primary);
	text-decoration: underline;
}

.employee-recommendation-email:focus-visible {
	outline: 2px solid var(--th-color-accent);
	outline-offset: 4px;
}


/**
 * =========================================================
 * TABLET
 * =========================================================
 */

@media (max-width: 900px) {

	.section-employee-recommendation {
		padding: 70px 0;
	}

	.employee-recommendation {
		grid-template-columns:
			minmax(0, 42%)
			minmax(0, 58%);

		gap: 45px;
	}

	.employee-recommendation-media {
		border-radius: 28px;
	}

	.employee-recommendation-label {
		margin-bottom: 24px;
		font-size: 15px;
	}

	.employee-recommendation-title {
		margin-bottom: 22px;
	}

	.employee-recommendation-text {
		margin-bottom: 32px;
	}

}


/**
 * =========================================================
 * MOBILE
 * =========================================================
 */

@media (max-width: 700px) {

	.section-employee-recommendation {
		padding: 25px 0;
	}

	.employee-recommendation {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.employee-recommendation-media {
		width: 100%;
		max-height: 540px;

		aspect-ratio: 4 / 5;

		border-radius: 24px;
	}

	.employee-recommendation-label {
		margin-bottom: 18px;
		font-size: 14px;
	}

	.employee-recommendation-title {
		margin-bottom: 20px;
	}

	.employee-recommendation-text {
		margin-bottom: 28px;
	}

	.employee-recommendation-name {
		font-size: 17px;
	}

	.employee-recommendation-position,
	.employee-recommendation-email {
		font-size: 14px;
	}

}