/* Reviews carousel — [gc_reviews] */

.gc-reviews {
	position: relative;
	padding: 0 44px;
}

.gc-reviews__track {
	display: flex;
	gap: 20px;
	overflow-x: auto;
	scroll-behavior: smooth;
	scroll-snap-type: x mandatory;
	-ms-overflow-style: none;
	scrollbar-width: none;
	padding: 4px 2px 8px;
}

.gc-reviews__track::-webkit-scrollbar {
	display: none;
}

.gc-reviews__card {
	flex: 0 0 calc((100% - 40px) / 3);
	scroll-snap-align: start;
	display: flex;
	flex-direction: column;
	background: #ffffff;
	border-radius: 10px;
	padding: 18px;
	border: 0.5px solid #c0dbd7;
	box-sizing: border-box;
}

@media (max-width: 900px) {
	.gc-reviews__card {
		flex-basis: calc((100% - 20px) / 2);
	}
}

@media (max-width: 600px) {
	.gc-reviews {
		padding: 0 38px;
	}

	.gc-reviews__card {
		flex-basis: 100%;
	}
}

/* Stars */
.gc-reviews__stars {
	color: #e8a020;
	display: flex;
	align-items: center;
	gap: 3px;
	margin-bottom: 10px;
}

.gc-reviews__star {
	position: relative;
	display: inline-flex;
	line-height: 0;
}

.gc-reviews__star svg {
	fill: currentColor;
	display: block;
}

.gc-reviews__star--empty svg {
	fill: none;
	stroke: currentColor;
	stroke-width: 1.5;
}

.gc-reviews__star--half > svg {
	fill: none;
	stroke: currentColor;
	stroke-width: 1.5;
}

.gc-reviews__star-fill {
	position: absolute;
	top: 0;
	left: 0;
	width: 50%;
	height: 100%;
	overflow: hidden;
}

/* Review text */
.gc-reviews__text {
	font-size: 13px;
	color: #0f2d4a;
	line-height: 1.65;
	margin: 0 0 14px;
	font-style: italic;
	flex-grow: 1;
}

/* Reviewer */
.gc-reviews__reviewer {
	display: flex;
	align-items: center;
	gap: 10px;
}

.gc-reviews__avatar {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: #0f2d4a;
	color: #fff;
	font-size: 11px;
	font-weight: 600;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: 'Playfair Display', serif;
	flex-shrink: 0;
}

.gc-reviews__name {
	font-size: 13px;
	font-weight: 500;
	color: #0f2d4a;
}

.gc-reviews__loc {
	font-size: 11px;
	color: #5a6e7f;
}

/* Nav buttons */
.gc-reviews__nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 34px;
	height: 34px;
	border-radius: 50%;
	border: 1px solid #c0dbd7;
	background: #ffffff;
	color: #0f2d4a;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	padding: 0;
	transition: background 0.2s ease, color 0.2s ease;
	z-index: 1;
}

.gc-reviews__nav:hover {
	background: #0f2d4a;
	border-color: #0f2d4a;
	color: #ffffff;
}

.gc-reviews__nav:disabled {
	opacity: 0.35;
	cursor: default;
	pointer-events: none;
}

.gc-reviews__nav--prev {
	left: 0;
}

.gc-reviews__nav--next {
	right: 0;
}
