/**
 * Hans Reader Reviews widget — slider only, transparent wrapper.
 */

.hg-reviews {
	position: relative;
	width: 100%;
	background: transparent;
}

.hg-reviews__slider {
	overflow: hidden;
}

.hg-reviews__card {
	display: flex;
	flex-direction: column;
	height: 100%;
	min-height: 260px;
	padding: 28px 24px 24px;
	border: 1px solid rgba(94, 200, 248, 0.35);
	border-radius: 12px;
	background: #0a1118;
}

.hg-reviews__card-top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 20px;
}

.hg-reviews__stars {
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.hg-reviews__star {
	width: 14px;
	height: 14px;
	background: #5ec8f8;
	clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

.hg-reviews__quote-icon {
	flex: 0 0 auto;
	color: #5ec8f8;
	opacity: 0.9;
	line-height: 0;
}

.hg-reviews__quote-icon svg {
	display: block;
	width: 48px;
	height: 48px;
}

.hg-reviews__text {
	flex: 1;
	margin: 0 0 20px;
	font-family: "Playfair Display", Georgia, serif;
	font-size: 0.9375rem;
	font-style: italic;
	font-weight: 400;
	line-height: 1.75;
	color: rgba(255, 255, 255, 0.92);
}

.hg-reviews__author {
	margin: 0;
	font-family: Montserrat, Arial, sans-serif;
	font-size: 0.875rem;
	font-weight: 500;
	color: #5ec8f8;
}

.hg-reviews__pagination {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-top: 32px;
}

.hg-reviews__pagination .swiper-pagination-bullet {
	width: 8px;
	height: 8px;
	margin: 0 !important;
	border-radius: 999px;
	opacity: 1;
	background: rgba(255, 255, 255, 0.35);
	transition: width 0.25s ease, background 0.25s ease;
}

.hg-reviews__pagination .swiper-pagination-bullet-active {
	width: 28px;
	background: #5ec8f8;
}

.hg-reviews__slider--fallback .hg-reviews__track {
	display: flex;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	gap: 24px;
	padding-bottom: 4px;
}

.hg-reviews__slider--fallback .hg-reviews__slide {
	flex: 0 0 88%;
	scroll-snap-align: center;
}

@media (min-width: 768px) {
	.hg-reviews__slider--fallback .hg-reviews__slide {
		flex: 0 0 calc(50% - 12px);
	}
}

@media (min-width: 1025px) {
	.hg-reviews__slider--fallback .hg-reviews__slide {
		flex: 0 0 calc(33.333% - 16px);
	}
}

@media (max-width: 767px) {
	.hg-reviews__card {
		min-height: 240px;
		padding: 24px 20px 20px;
	}

	.hg-reviews__quote-icon svg {
		width: 40px;
		height: 40px;
	}
}
