/**
 * ATB Block: Fleet Page
 *
 * Назначение:
 * - стили страницы /fleet/;
 * - вывод категорий Comfort / Premium / Luxury;
 * - карточки существующих vehicle-записей.
 *
 * Уникальные классы:
 * - .atb-fleet-page
 */

.atb-fleet-page {
	padding: 64px 0 72px;
	background: #f3f6fa;
}
.atb-fleet-page__container {
        width: min(calc(100% - 40px), 1320px);
        max-width: 1320px;
        margin-right: auto;
        margin-left: auto;
}


.atb-fleet-page__hero {
	max-width: 820px;
	margin-bottom: 34px;
}

.atb-fleet-page__eyebrow {
	margin: 0 0 10px;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: #2563eb;
}

.atb-fleet-page__title {
	margin: 0;
	font-size: clamp(40px, 5vw, 68px);
	line-height: .94;
	letter-spacing: -.055em;
	color: #07111f;
}

.atb-fleet-page__lead {
	max-width: 680px;
	margin: 18px 0 0;
	font-size: 17px;
	line-height: 1.65;
	color: #40536f;
}

.atb-fleet-page__category {
	margin-top: 34px;
	padding: 28px;
	border: 1px solid rgba(15, 23, 42, .1);
	border-radius: 4px;
	background: #fff;
	box-shadow: 0 24px 70px rgba(15, 23, 42, .08);
}

.atb-fleet-page__category-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 22px;
}

.atb-fleet-page__category-title {
	margin: 0;
	font-size: clamp(28px, 3vw, 42px);
	line-height: 1;
	letter-spacing: -.045em;
	color: #07111f;
}

.atb-fleet-page__category-text {
	max-width: 760px;
	margin: 10px 0 0;
	font-size: 15px;
	line-height: 1.65;
	color: #4a5c75;
}

.atb-fleet-page__count {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	min-height: 42px;
	padding: 0 16px;
	border: 1px solid rgba(15, 23, 42, .12);
	border-radius: 4px;
	font-size: 13px;
	font-weight: 800;
	color: #07111f;
	background: #f8fafc;
}

.atb-fleet-page__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
}

.atb-fleet-page__card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid rgba(15, 23, 42, .1);
	border-radius: 4px;
	background: #fff;
	box-shadow: 0 16px 44px rgba(15, 23, 42, .06);
}

.atb-fleet-page__media {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 210px;
	padding: 18px;
	background: #f3f6fa;
	text-decoration: none;
}

.atb-fleet-page__image {
	display: block;
	width: 100%;
	max-width: 260px;
	aspect-ratio: 3 / 2;
	height: auto;
	object-fit: contain;
}

.atb-fleet-page__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 18px;
}

.atb-fleet-page__label {
	margin: 0 0 8px;
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .06em;
	color: #2563eb;
}

.atb-fleet-page__card-title {
	margin: 0;
	font-size: 19px;
	line-height: 1.15;
	letter-spacing: -.025em;
	color: #07111f;
}

.atb-fleet-page__card-title a {
	color: inherit;
	text-decoration: none;
}

.atb-fleet-page__card-title a:hover {
	color: #2563eb;
}

.atb-fleet-page__excerpt {
	margin: 12px 0 0;
	font-size: 14px;
	line-height: 1.55;
	color: #4a5c75;
}

.atb-fleet-page__link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: auto;
	padding-top: 18px;
	font-size: 14px;
	font-weight: 800;
	color: #2563eb;
	text-decoration: none;
}

.atb-fleet-page__link:hover {
	color: #1d4ed8;
}

@media (max-width: 1180px) {
	.atb-fleet-page {
		padding: 52px 0;
	}

	.atb-fleet-page__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.atb-fleet-page__media {
		min-height: 190px;
	}
}

@media (max-width: 768px) {
        .atb-fleet-page__container {
                width: min(calc(100% - 32px), 100%);
        }

	.atb-fleet-page {
		padding: 36px 0;
	}

	.atb-fleet-page__category {
		padding: 20px;
		border-radius: 4px;
	}

	.atb-fleet-page__category-head {
		display: block;
	}

	.atb-fleet-page__count {
		margin-top: 16px;
	}

	.atb-fleet-page__grid {
		grid-template-columns: 1fr;
	}

	.atb-fleet-page__media {
		min-height: 220px;
	}
}
