/**
 * ATB Block: Vehicle Reviews + FAQ
 *
 * Назначение:
 * - отзывы и FAQ на single vehicle;
 * - native details/summary без JS;
 * - CSS не влияет на home-reviews-faq и другие блоки.
 *
 * Уникальные классы:
 * - .atb-vehicle-reviews-faq
 */

.atb-vehicle-reviews-faq {
	padding: 0 0 76px;
	background: #f3f6fa;
	color: #0f172a;
}

.atb-vehicle-reviews-faq__container {
	width: min(calc(100% - 40px), 1320px);
		max-width: 1320px;
		margin-right: auto;
		margin-left: auto;
}

.atb-vehicle-reviews-faq__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
	gap: 22px;
	align-items: stretch;
}

.atb-vehicle-reviews-faq__reviews,
.atb-vehicle-reviews-faq__faq {
	padding: 26px;
	border: 1px solid rgba(15, 23, 42, .1);
	border-radius: 26px;
	background: #fff;
	box-shadow: 0 24px 70px rgba(15, 23, 42, .08);
}

.atb-vehicle-reviews-faq__header {
	margin-bottom: 20px;
}

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

.atb-vehicle-reviews-faq__text {
	max-width: 720px;
	margin: 12px 0 0;
	font-size: 15px;
	line-height: 1.65;
	color: #40536f;
}

.atb-vehicle-reviews-faq__review-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
}

.atb-vehicle-reviews-faq__review-card {
	display: flex;
	flex-direction: column;
	min-height: 220px;
	padding: 18px;
	border: 1px solid rgba(15, 23, 42, .1);
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 14px 36px rgba(15, 23, 42, .05);
}

.atb-vehicle-reviews-faq__stars {
	margin-bottom: 14px;
	color: #f59e0b;
	font-size: 17px;
	font-weight: 900;
	letter-spacing: .05em;
	line-height: 1;
}

.atb-vehicle-reviews-faq__review-text {
	margin: 0;
	font-size: 14px;
	font-weight: 550;
	line-height: 1.58;
	color: #40536f;
}

.atb-vehicle-reviews-faq__review-meta {
	display: grid;
	gap: 3px;
	margin-top: auto;
	padding-top: 18px;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.35;
	color: #64748b;
}

.atb-vehicle-reviews-faq__review-meta strong {
	font-weight: 850;
	color: #07111f;
}

.atb-vehicle-reviews-faq__faq-list {
	display: grid;
	gap: 10px;
}

.atb-vehicle-reviews-faq__faq-item {
	overflow: hidden;
	border: 1px solid rgba(15, 23, 42, .1);
	border-radius: 14px;
	background: #fff;
}

.atb-vehicle-reviews-faq__question {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 54px;
	padding: 0 18px;
	font-size: 14px;
	font-weight: 850;
	line-height: 1.28;
	color: #07111f;
	cursor: pointer;
	list-style: none;
}

.atb-vehicle-reviews-faq__question::-webkit-details-marker {
	display: none;
}

.atb-vehicle-reviews-faq__plus {
	flex: 0 0 auto;
	color: #2563eb;
	font-size: 22px;
	font-weight: 700;
	line-height: 1;
	transition: transform .2s ease;
}

.atb-vehicle-reviews-faq__faq-item[open] .atb-vehicle-reviews-faq__plus {
	transform: rotate(45deg);
}

.atb-vehicle-reviews-faq__answer {
	padding: 0 18px 18px;
	font-size: 14px;
	font-weight: 550;
	line-height: 1.58;
	color: #40536f;
}

.atb-vehicle-reviews-faq__answer p {
	margin: 0;
}

@media (max-width: 1180px) {
	.atb-vehicle-reviews-faq__grid {
		grid-template-columns: 1fr;
	}

	.atb-vehicle-reviews-faq__review-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 768px) {
	.atb-vehicle-reviews-faq {
		padding-bottom: 52px;
	}

	.atb-vehicle-reviews-faq__reviews,
	.atb-vehicle-reviews-faq__faq {
		padding: 22px;
		border-radius: 22px;
	}

	.atb-vehicle-reviews-faq__review-grid {
		grid-template-columns: 1fr;
	}

	.atb-vehicle-reviews-faq__review-card {
		min-height: auto;
	}
}

/* ATB vehicle revision spacing */
.atb-vehicle-reviews-faq {
	padding-top: 28px;
	padding-bottom: 42px;
}

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