/* Yandex reviews + studio rating markers */

.site-reviews {
	margin: 76px 0;
}

.site-reviews__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 28px;
	margin-bottom: 28px;
}

.site-reviews__head .h2,
.site-reviews__head .subtitle {
	margin-left: 0;
	margin-right: 0;
}

.site-reviews__head .subtitle {
	max-width: 760px;
	margin-top: 12px;
	margin-bottom: 0;
}

.site-reviews__eyebrow {
	margin-bottom: 8px;
	color: #89966f;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .04em;
	text-transform: uppercase;
}

.site-reviews__source {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	flex: 0 0 auto;
	padding: 10px 14px;
	border: 1px solid rgba(47, 47, 47, .12);
	border-radius: 999px;
	background: #f7f7f5;
	color: #2f2f2f;
	font-size: 13px;
	white-space: nowrap;
	text-decoration: none;
}

.site-reviews__source-mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	border-radius: 7px;
	background: #fc3f1d;
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
}

.siteReviewsSwiper {
	width: 100%;
	overflow: hidden;
	padding: 2px 0 4px;
}

.siteReviewsSwiper .swiper-wrapper {
	align-items: stretch;
}

.siteReviewsSwiper .swiper-slide {
	display: flex;
	height: auto;
}

.site-review-card {
	display: flex;
	flex-direction: column;
	width: 100%;
	height: 100%;
	min-height: 350px;
	padding: 22px;
	border: 1px solid rgba(47, 47, 47, .1);
	border-radius: 22px;
	background: #fff;
	box-sizing: border-box;
}

.site-review-card__top {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 11px;
}

.site-review-card__top strong {
	color: #2f2f2f;
	font-size: 16px;
	font-weight: 500;
}

.site-review-card__top span,
.site-review-card__source {
	color: rgba(47, 47, 47, .55);
	font-size: 13px;
}

.site-review-card__rating {
	margin: -1px 0 13px;
	color: #f5b400;
	font-size: 18px;
	line-height: 1;
	letter-spacing: 2px;
}

.site-review-card__studio {
	align-self: flex-start;
	margin-bottom: 13px;
	padding: 6px 9px;
	border-radius: 999px;
	background: #f4f5f1;
	color: #65704f;
	font-size: 12px;
	line-height: 1.2;
}

.site-review-card__text {
	display: -webkit-box;
	overflow: hidden;
	max-height: 11.6em;
	margin: 0 0 14px;
	color: #2f2f2f;
	font-size: 15px;
	line-height: 1.55;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 8;
}

.site-review-card.is-expanded .site-review-card__text {
	display: block;
	max-height: none;
	-webkit-line-clamp: unset;
}

.site-review-card__more {
	align-self: flex-start;
	margin: -2px 0 14px;
	padding: 0;
	border: 0;
	background: transparent;
	color: #89966f;
	font: inherit;
	font-size: 13px;
	line-height: 1.3;
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
}

.site-review-card__source {
	margin-top: auto;
	color: #89966f;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.site-reviews__controls {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 10px;
	margin-top: 18px;
}

.site-reviews__note {
	margin-right: auto;
	color: rgba(47, 47, 47, .55);
	font-size: 13px;
}

.site-reviews-prev,
.site-reviews-next {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 1px solid rgba(47, 47, 47, .15);
	border-radius: 50%;
	background: #fff;
	color: #2f2f2f;
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
}

.site-reviews-prev.swiper-button-disabled,
.site-reviews-next.swiper-button-disabled {
	opacity: .35;
	cursor: default;
}

.studio-yandex {
	box-sizing: border-box;
}

.studio-yandex--compact {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	width: fit-content;
	max-width: 100%;
	margin-top: 11px;
	padding: 7px 10px;
	border: 1px solid rgba(47, 47, 47, .12);
	border-radius: 999px;
	background: #f7f7f5;
	color: #2f2f2f;
	font-size: 12px;
	line-height: 1.2;
	text-decoration: none;
	transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.studio-yandex--compact:hover {
	border-color: rgba(47, 47, 47, .22);
	background: #fff;
	transform: translateY(-1px);
}

.studio-yandex__brand {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	border-radius: 6px;
	background: #fc3f1d;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
}

.studio-yandex__label {
	font-weight: 600;
}

.studio-yandex__star {
	color: #f5b400;
	font-size: 15px;
	line-height: 1;
}

.studio-yandex--compact strong {
	font-size: 13px;
	font-weight: 600;
}

.studio-yandex__count {
	color: rgba(47, 47, 47, .58);
}
.studio-yandex__star {
	color: #f5b400;
	font-size: 15px;
	line-height: 1;
}

.studio-yandex--compact strong {
	font-size: 13px;
	font-weight: 600;
}

.studio-yandex__count {
	color: rgba(47, 47, 47, .58);
}

.studiya .studio-yandex--live {
	width: 100%;
	margin-top: 0;
}

.studiya .studio-yandex__badge {
	height: 50px !important;
	max-height: 50px;
}

.site-reviews--studio {
	margin-top: 0;
}

@media (min-width: 768px) {
	.site-reviews__nowrap {
		white-space: nowrap;
	}
}

.studio-yandex--live {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px 14px;
	margin-top: 13px;
}

.studio-yandex__badge {
	display: block;
	width: 150px;
	height: 50px;
	border: 0;
}

.studio-yandex__link {
	color: #89966f;
	font-size: 13px;
	line-height: 1.35;
	text-decoration: underline;
	text-underline-offset: 3px;
}

@media (max-width: 767px) {
	.site-reviews {
		margin: 54px 0;
		overflow: hidden;
	}

	.site-reviews .container-section {
		min-width: 0;
		max-width: 100%;
		overflow: hidden;
	}

	.site-reviews__head {
		display: block;
		margin-bottom: 20px;
	}

	.site-reviews__source {
		margin-top: 16px;
	}

	.siteReviewsSwiper {
		width: 100%;
		max-width: 100%;
		min-width: 0;
		overflow: hidden;
	}

	.siteReviewsSwiper .swiper-wrapper {
		min-width: 0;
	}

	.siteReviewsSwiper .swiper-slide {
		min-width: 0;
		max-width: 100%;
	}

	.site-review-card {
		min-height: 330px;
		padding: 19px;
		border-radius: 18px;
	}

	.site-review-card__top span {
		display: block;
		margin-top: 5px;
	}

	.site-reviews__controls {
		margin-top: 14px;
	}

	.site-reviews__note {
		max-width: 62%;
		font-size: 11px;
	}

	.studio-yandex--live {
		align-items: flex-start;
		flex-direction: column;
	}
}
