.review-slider-container {
	padding: 30px 0;
	position: relative;
	width: 100%;
	box-sizing: border-box;
}
.swiper-slide {
	height: auto !important;
}
.review-card {
	background: #ffffff;
	border: 1px solid #e1e4e8;
	border-radius: 8px;
	padding: 25px;
	box-sizing: border-box;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	box-shadow: 0 2px 8px rgba(0,0,0,0.04);
	transition: transform 0.2s, box-shadow 0.2s;
}
.review-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.review-top {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	margin-bottom: 10px;
}
.review-author {
	font-weight: bold;
	font-size: 16px;
	color: #222;
	margin-bottom: 4px;
}
.review-date {
	font-size: 13px;
	color: #777;
}
.review-stars {
	color: #ffcc00;
	font-size: 20px;
	letter-spacing: 5px;
	margin-bottom: 10px;
	line-height: 1;
}
.review-text {
	font-size: 14px;
	line-height: 1.5;
	color: #444;
	margin-bottom: 20px;
	flex-grow: 1;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 6;
	-webkit-box-orient: vertical;
}
.review-footer {
	border-top: 1px solid #f0f2f5;
	padding-top: 15px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.review-source-link {
	font-size: 13px;
	font-weight: bold;
	color: #333 !important;
	text-decoration: none !important;
	display: inline-flex;
	align-items: center;
	transition: color 0.2s;
}
.mod-review-swiper {
	padding-bottom: 40px;
}
.review-source-link:hover {
	color: #c1272d !important;
}
.review-source-link svg {
	margin-right: 10px;
}
.swiper-pagination-bullet-active {
	background: #05326D;
}

/* SVG Стили иконок сервисов */
.review-source-icon {
	width: 20px;
	height: 20px;
	margin-right: 8px;
	display: inline-block;
	vertical-align: middle;
}
.source-yandex .review-source-icon {
	color: #ffcc00;
}
.source-google .review-source-icon {
	color: #4285F4;
}
.source-avito .review-source-icon {
	color: #98ce00;
}
.source-zoon .review-source-icon {
	color: #3b5998;
}
.source-2gis .review-source-icon {
	color: #23bc54;
}
.review-text-wrap {
	position: relative;
	margin-bottom: 15px;
}
.review-text {
	font-size: 14px;
	line-height: 1.5;
	color: #444;
	margin-bottom: 0;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	max-height: 4.5em; /* 4 строки * 1.5 line-height */
	transition: max-height 0.3s ease;
}
.review-text.expanded {
	display: block;
	max-height: 1000px; /* Достаточно большое значение для полного открытия */
}
.review-toggle-btn {
	display: none; /* По умолчанию скрыта, включится через JS если текст длинный */
	font-size: 13px;
	font-weight: bold;
	color: #c1272d;
	cursor: pointer;
	margin-top: 5px;
	user-select: none;
}
.review-toggle-btn:hover {
	text-decoration: underline;
}
.swiper-button-prev {
	left: -10px !important;
}
.swiper-button-next	{
	right: -10px !important;
}
.swiper-pagination-bullet {
	width: 15px;
	height: 15px;
}
.review-object-photo-wrap {
	margin-top: 15px;
	margin-bottom: 5px;
	width: 100%;
	height: 160px; /* Фиксированная высота для ровной сетки слайдера */
	border-radius: 6px;
	overflow: hidden;
	background: #f0f2f5;
	border: 1px solid #e1e4e8;
}
.review-object-photo-img {
	width: 100%;
	height: 100%;
	object-fit: cover; /* Картинка заполняет блок без искажения пропорций */
	transition: transform 0.3s ease;
}
.review-card:hover .review-object-photo-img {
	transform: scale(1.05); /* Легкий интерактивный зум при наведении на карточку */
}

/* --- СТИЛИ СВЕТОВОГО ОКНА (LIGHTBOX) ДЛЯ ФОТО ОБЪЕКТА --- */
.review-object-photo-wrap {
	cursor: zoom-in; /* Меняем курсор на лупу при наведении на фото в отзыве */
}

/* Оверлей на весь экран */
.review-lightbox-overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.85);
	z-index: 9999999 !important;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: opacity 0.3s ease;
}
.review-lightbox-overlay.active {
	display: flex !important;
	opacity: 1;
}

/* Контейнер для адаптивной картинки */
.review-lightbox-content {
	position: relative;
	max-width: 90%;
	max-height: 85%;
	display: flex;
	align-items: center;
	justify-content: center;
	transform: scale(0.9);
	transition: transform 0.3s ease;
}
.review-lightbox-overlay.active .review-lightbox-content {
	transform: scale(1);
}

/* Сама увеличенная фотография */
.review-lightbox-img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	border-radius: 4px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

/* Кнопка закрытия (крестик) */
.review-lightbox-close {
	position: absolute;
	top: -40px;
	right: 0;
	color: #fff;
	font-size: 35px;
	font-weight: bold;
	cursor: pointer;
	line-height: 1;
	user-select: none;
	transition: color 0.2s;
}
.review-lightbox-close:hover {
	color: #c1272d;
}

/* --- ИКОНКА ФОТОАППАРАТА РЯДОМ С ИМЕНЕМ --- */
.review-author-wrap {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 4px;
}
.review-author {
	margin-bottom: 0 !important; /* Убираем старый отступ, так как теперь есть gap в обертке */
}
.review-photo-icon-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #c1272d; /* Фирменный темно-красный цвет под стиль кнопок */
	cursor: help; /* Курсор в виде знака вопроса при наведении на подсказку */
	transition: transform 0.2s ease;
}
.review-photo-icon-badge:hover {
	transform: scale(1.15); /* Интерактивное увеличение иконки при наведении */
}
.review-photo-icon-badge svg {
	width: 16px;
	height: 16px;
	display: block;
}

@media (max-width: 960px) {
	.swiper-button-next,
	.swiper-button-prev {
		opacity: .3;
	}
}