.yandex-reviews-block {
	width: 100%;
	max-width: 100%;
	margin: 0 auto 40px;
}

.yandex-reviews-block__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 20px;
}

.yandex-reviews-block__title {
	margin: 0;
	font-size: 24px;
	font-weight: 600;
	line-height: 1.3;
}

.yandex-reviews-block__title-spacer {
	flex: 1 1 auto;
}

.yandex-reviews-block__actions {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 20px;
}

.yandex-reviews-block__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	min-height: 44px;
	padding: 11px 22px;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
	border-radius: 9999px;
	border: 1.5px solid #e30611;
	transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.yandex-reviews-block__link_filled {
	color: #fff;
	background: #e30611;
}

.yandex-reviews-block__link_filled:hover {
	color: #fff;
	text-decoration: none;
	background: #c0050f;
	border-color: #c0050f;
}

.yandex-reviews-block__link_outline {
	color: #e30611;
	background: transparent;
}

.yandex-reviews-block__link_outline:hover {
	color: #e30611;
	text-decoration: none;
	background: rgba(227, 6, 17, 0.06);
	border-color: #c0050f;
}

.yandex-reviews-slider__carousel {
	position: relative;
}

.yandex-reviews-slider .owl-stage-outer {
	overflow: hidden;
}

.yandex-reviews-slider .owl-item {
	display: flex;
}

.yandex-reviews-card {
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	width: 100%;
	height: 300px;
	max-height: 300px;
	padding: 20px;
	border: 1px solid #e6e6e6;
	border-radius: 16px;
	background: #fff;
	overflow: hidden;
}

.yandex-reviews-card__head {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	margin-bottom: 14px;
	flex-shrink: 0;
}

.yandex-reviews-card__avatar {
	flex: 0 0 48px;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	overflow: hidden;
	background: #f3f3f3;
}

.yandex-reviews-card__avatar img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.yandex-reviews-card__meta {
	min-width: 0;
}

.yandex-reviews-card__rating {
	display: flex;
	gap: 1px;
	margin-bottom: 4px;
	line-height: 1;
}

.yandex-reviews-card__star {
	display: inline-block;
	font-size: 16px;
	line-height: 1;
	color: #ddd;
}

.yandex-reviews-card__star_filled {
	color: #fc0;
}

.yandex-reviews-card__author {
	font-size: 15px;
	font-weight: 600;
	line-height: 1.3;
	color: #222;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.yandex-reviews-card__date {
	margin-top: 2px;
	font-size: 13px;
	line-height: 1.3;
	color: #888;
}

.yandex-reviews-card__text {
	flex: 1;
	min-height: 0;
	font-size: 15px;
	line-height: 1.55;
	color: #333;
	overflow: hidden;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 8;
	text-overflow: ellipsis;
	word-break: break-word;
}

.yandex-reviews-slider .owl-dots {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 16px;
}

.yandex-reviews-slider .owl-dot span {
	display: block;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #d9d9d9;
}

.yandex-reviews-slider .owl-dot.active span {
	background: #fc0;
}

@media (max-width: 575px) {
	.yandex-reviews-block__header {
		align-items: flex-start;
		flex-wrap: wrap;
	}

	.yandex-reviews-block__actions {
		flex-wrap: wrap;
		gap: 12px;
	}

	.yandex-reviews-block__title {
		font-size: 20px;
	}

	.yandex-reviews-card__text {
		-webkit-line-clamp: 6;
	}
}
