/* ========================================
   Front Page About
======================================== */

.front-about {
	padding: 88px 20px 76px;
	background: #f3f6f7;
}

.front-about__heading {
	margin-bottom: 42px;
	text-align: center;
}

.front-about__title {
	margin: 0;
	color: #222;
	font-size: 36px;
	line-height: 1.45;
}

.front-about__gallery {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
	grid-template-rows: repeat(2, minmax(0, 1fr));
	gap: 16px;
	height: 520px;
	margin-bottom: 48px;
}

.front-about__photo {
	overflow: hidden;
	margin: 0;
	background: #e7ebed;
}

.front-about__photo--main {
	grid-row: 1 / 3;
}

.front-about__photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.front-about__photo--main img {
	object-position: center 48%;
}

.front-about__photo--sub:first-of-type img {
	object-position: center center;
}

.front-about__content {
	max-width: 900px;
	margin: 0 auto;
}

.front-about__content p {
	margin: 0 0 22px;
	color: #4f5960;
	font-size: 16px;
	line-height: 2;
}

.front-about__content .front-about__lead {
	color: #222;
	font-size: 20px;
	font-weight: 600;
	line-height: 1.8;
}

.front-about__links {
	display: flex;
	flex-wrap: wrap;
	gap: 30px;
	margin-top: 34px;
	padding-top: 28px;
	border-top: 1px solid #d8e0e4;
}

.front-about__link {
	color: #1f77b4;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
}

.front-about__link span {
	margin-left: 7px;
}

.front-about__link:hover {
	text-decoration: underline;
}

@media screen and (max-width: 900px) {
	.front-about__gallery {
		grid-template-columns: 1.45fr 1fr;
		height: 440px;
	}
}

@media screen and (max-width: 600px) {
	.front-about {
		padding: 60px 20px 56px;
	}

	.front-about__heading {
		margin-bottom: 30px;
	}

	.front-about__title {
		font-size: 28px;
	}

	.front-about__gallery {
		grid-template-columns: 1fr 1fr;
		grid-template-rows: auto auto;
		gap: 10px;
		height: auto;
		margin-bottom: 34px;
	}

	.front-about__photo--main {
		grid-column: 1 / 3;
		grid-row: auto;
		aspect-ratio: 16 / 10;
	}

	.front-about__photo--sub {
		aspect-ratio: 1 / 1;
	}

	.front-about__content .front-about__lead {
		font-size: 18px;
	}

	.front-about__links {
		flex-direction: column;
		gap: 18px;
	}
}
