.reviews-swiper .swiper-button-wrapper {
	justify-content: end;
}

.review-item {
	height: auto;
}

.reviews__title {
	margin-bottom: 60px;
}

.review-card {
	padding: 20px;
	border: 5px solid var(--site-dark-accent-color);
	border-radius: 20px;

	display: flex;
	flex-direction: column;
	gap: 30px;
	overflow: hidden;

	background-color: white;

	height: 100%;
}

.review__photo-review {
	position: relative;
	border-radius: var(--site-border-radius);
	overflow: hidden;
	cursor: pointer;
}

.review__photo-review img {
	width: 100%;
	height: 100%;
	aspect-ratio: 1 / 1;
	object-fit: contain;
	display: block;
}

.review__photo-review svg {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 62px;
	color: var(--site-accent-color);
	opacity: 0;
	transition: var(--site-transition);
	pointer-events: none;
}

.review__photo-review::before {
	content: "";
	position: absolute;
	inset: 0;
	background-color: rgba(0, 0, 0, 0.3);
	opacity: 0;
	transition: var(--site-transition);
	pointer-events: none;
}

.review__photo-review:hover::before,
.review__photo-review:hover svg {
	opacity: 1;
}

.review-card__add-info {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	margin-top: auto;
}

.review-card__service {
	padding: 10px;
	background-color: var(--site-accent-color);
	border-radius: var(--site-extra-border-radius);
	transition: var(--site-transition);
}

.review-card__link {
	padding: 10px;
	background-color: var(--site-accent-color);
	border-radius: var(--site-extra-border-radius);
	display: flex;
	gap: 10px;
	transition: var(--site-transition);
}

.review-card__link svg {
	width: 15px;
	color: var(--site-dark-accent-color);
}

.review-card__service:hover,
.review-card__link:hover {
	background-color: var(--site-dark-accent-color);
	color: var(--site-accent-color);
}

.review-card__link:hover svg {
	color: var(--site-accent-color);
}

.reviews-section {
	display: flex;
	justify-content: space-between;
	gap: 30px;
	align-items: center;
	margin-top: 60px;
}
.reviews-section__footer {
	display: flex;
	gap: 20px;
}

.reviews-section__footer .all-review-button {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 25px;
	gap: 20px;
	border: 5px solid var(--site-dark-accent-color);
	background-color: var(--site-accent-color);
	border-radius: 50px;
}

.reviews-section__footer .all-review-button svg {
	color: var(--site-dark-accent-color);
	width: 15px;
}
.reviews-section__social {
	display: flex;
	gap: 20px;
}
.reviews-section__social-link {
	width: 71px;
	height: 71px;
	border: 5px solid var(--site-dark-accent-color);
	border-radius: 50%;
	overflow: hidden;
}

.custom-nav-swiper .swiper-button {
	margin-top: 0;
}

@media (max-width: 1440px) {
	.reviews-section__footer .all-review-button {
		border-width: 3px;
	}
}

@media (max-width: 767px) {
	.reviews__title {
		margin-bottom: 30px;
	}

	.review-card {
		border-width: 3px;
		gap: 25px;
	}

	.reviews-section {
		margin-top: 0px;
		flex-direction: column-reverse;
		gap: 30px;
	}

	.reviews-section__footer {
		flex-direction: column;
		width: 100%;
		gap: 15px;
	}

	.reviews-section__footer .all-review-button svg {
		display: none;
	}

	.reviews-section__social {
		justify-content: center;
		align-items: center;
	}

	.reviews-section__footer .all-review-button {
		padding: 10px 0px;
		border: 3px solid var(--site-dark-accent-color);
		border-radius: 35px;
		height: auto;
		font-size: 24px;
		width: 100%;
		text-align: center;
	}

	.reviews-section__social-link {
		width: 50px;
		height: 50px;
		border: 3px solid var(--site-dark-accent-color);
		border-radius: 50%;
		overflow: hidden;
	}
}
