.nexar-gr-widget-wrap {
	--nexar-gr-widget-bg: #111111;
	--nexar-gr-card-bg: #1c1c1c;
	--nexar-gr-text: #ffffff;
	--nexar-gr-card-text: #ffffff;
	--nexar-gr-muted: #d1d5db;
	--nexar-gr-border: #3b3b3b;
	--nexar-gr-button-bg: #ffffff;
	--nexar-gr-button-text: #111111;
	--nexar-gr-outer-radius: 30px;
	--nexar-gr-card-radius: 20px;
	--nexar-gr-button-radius: 30px;
	--nexar-gr-modal-radius: 30px;
	margin: 0;
	padding: 20px;
	border-radius: var(--nexar-gr-outer-radius);
	background: var(--nexar-gr-widget-bg);
}

.nexar-gr-widget {
	display: flex;
	gap: 18px;
	width: 100%;
	max-width: 100%;
	align-items: stretch;
	font-size: 14px;
	line-height: 1.5;
	color: var(--nexar-gr-text);
	position: relative;
}

.nexar-gr-footer {
	width: 220px;
	flex: 0 0 220px;
	display: flex;
	align-items: center;
}

.nexar-gr-fade {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	height: 100%;
	width: 100%;
	min-height: 250px;
}

.nexar-gr-carousel-title {
	margin: 0 0 10px;
	font-size: 24px;
	line-height: 1.15;
	color: var(--nexar-gr-text);
}

.nexar-gr-carousel-meta {
	margin-top: 0;
	margin-bottom: 4px;
}

.nexar-gr-rating-large {
	font-size: 30px;
	font-weight: 800;
	letter-spacing: 0.04em;
	line-height: 1.1;
	display: block;
	margin-bottom: 10px;
}

.nexar-gr-rating-text {
	margin-bottom: 10px;
	color: var(--nexar-gr-text);
}

.nexar-gr-rating-text strong {
	color: var(--nexar-gr-text);
}

.nexar-gr-stars {
	display: inline-flex;
	gap: 5px;
	align-items: center;
	margin-bottom: 10px;
}

.nexar-gr-stars-large .nexar-gr-star {
	width: 24px !important;
	height: 24px !important;
}

.nexar-gr-stars-small .nexar-gr-star {
	width: 19px !important;
	height: 19px !important;
}

.nexar-gr-source-label {
	display: inline-flex;
	align-items: center;
	padding: 10px 14px;
	border: 1px solid var(--nexar-gr-border);
	border-radius: 999px;
	font-weight: 700;
	margin-top: 8px;
	color: var(--nexar-gr-text);
}

.nexar-gr-open-google {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin-top: 16px;
	padding: 12px 18px;
	border-radius: var(--nexar-gr-button-radius);
	background: var(--nexar-gr-button-bg);
	border: 1px solid var(--nexar-gr-button-bg);
	color: var(--nexar-gr-button-text) !important;
	text-decoration: none;
	font-weight: 700;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.nexar-gr-open-google:visited,
.nexar-gr-open-google:hover,
.nexar-gr-open-google:focus,
.nexar-gr-open-google:active {
	color: var(--nexar-gr-button-text) !important;
	text-decoration: none;
}

.nexar-gr-open-google:hover {
	transform: translateY(-1px);
	opacity: 0.92;
}

.nexar-gr-open-google-icon {
	width: 18px;
	height: 18px;
	flex: 0 0 18px;
	display: block;
}

.nexar-gr-reviews {
	flex: 1;
	position: relative;
	min-width: 0;
	padding-left: 36px;
	padding-right: 36px;
}

.nexar-gr-reviews-wrap {
	overflow: hidden;
	border-radius: var(--nexar-gr-card-radius);
}

.nexar-gr-track {
	display: flex;
	gap: 18px;
	will-change: transform;
	transition: transform 0.35s ease;
}

.nexar-gr-item {
	flex: 0 0 calc((100% - (18px * 2)) / 3);
	background: var(--nexar-gr-card-bg);
	border: 1px solid var(--nexar-gr-border);
	border-radius: var(--nexar-gr-card-radius);
	padding: 18px;
	min-height: 250px;
	box-sizing: border-box;
	display: flex;
	color: var(--nexar-gr-card-text);
}

.nexar-gr-inner {
	display: flex;
	flex-direction: column;
	width: 100%;
	flex: 1 1 auto;
}

.nexar-gr-header {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 12px;
}

.nexar-gr-profile {
	width: 44px;
	height: 44px;
	flex: 0 0 44px;
	border-radius: 999px;
	overflow: hidden;
	background: rgba(255, 255, 255, 0.08);
	display: flex;
	align-items: center;
	justify-content: center;
}

.nexar-gr-profile img {
	width: 44px;
	height: 44px;
	border-radius: 999px;
	object-fit: cover;
	display: block;
}

.nexar-gr-name {
	font-weight: 700;
	font-size: 15px;
	line-height: 1.2;
	color: var(--nexar-gr-card-text);
}

.nexar-gr-date {
	color: var(--nexar-gr-muted);
	font-size: 13px;
	margin-top: 3px;
}

.nexar-gr-content {
	margin-top: 10px;
	color: var(--nexar-gr-card-text);
	display: -webkit-box;
	-webkit-line-clamp: 5;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: 120px;
}

.nexar-gr-read-more {
	margin-top: auto;
	padding-top: 14px;
	display: inline-block;
	color: var(--nexar-gr-card-text) !important;
	font-weight: 700;
	text-decoration: underline;
	cursor: pointer;
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
	padding-left: 0;
	padding-right: 0;
	padding-bottom: 0;
	font-size: 14px;
	text-align: left;
	appearance: none;
	-webkit-appearance: none;
}

.nexar-gr-read-more:hover,
.nexar-gr-read-more:focus,
.nexar-gr-read-more:active,
.nexar-gr-read-more:visited {
	color: var(--nexar-gr-card-text) !important;
	background: transparent !important;
	outline: none;
}

.nexar-gr-controls {
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	transform: translateY(-50%);
	pointer-events: none;
	z-index: 3;
}

.nexar-gr-prev,
.nexar-gr-next {
	width: 32px;
	height: 32px;
	pointer-events: all;
	cursor: pointer;
	position: absolute;
	color: var(--nexar-gr-text);
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
	padding: 0;
	border-radius: 0;
	appearance: none;
	-webkit-appearance: none;
}

.nexar-gr-prev {
	left: 8px;
}

.nexar-gr-next {
	right: 8px;
}

.nexar-gr-prev:hover,
.nexar-gr-next:hover,
.nexar-gr-prev:focus,
.nexar-gr-next:focus,
.nexar-gr-prev:active,
.nexar-gr-next:active {
	background: transparent !important;
	color: var(--nexar-gr-text);
	outline: none;
	box-shadow: none !important;
}

.nexar-gr-prev.is-disabled,
.nexar-gr-next.is-disabled {
	opacity: 0.25;
	cursor: default;
}

.nexar-gr-prev::before,
.nexar-gr-next::before {
	content: "";
	position: absolute;
	inset: 0;
	margin: auto;
	width: 16px;
	height: 16px;
	border-top: 3px solid currentColor;
	border-right: 3px solid currentColor;
}

.nexar-gr-prev::before {
	transform: rotate(-135deg);
}

.nexar-gr-next::before {
	transform: rotate(45deg);
}

.nexar-gr-modal {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.72);
	display: none;
	align-items: center;
	justify-content: center;
	padding: 20px;
	z-index: 999999;
}

.nexar-gr-modal.is-open {
	display: flex;
}

.nexar-gr-modal-box {
	width: 100%;
	max-width: 720px;
	max-height: 85vh;
	overflow: auto;
	background: var(--nexar-gr-widget-bg);
	border: 1px solid var(--nexar-gr-border);
	border-radius: var(--nexar-gr-modal-radius);
	padding: 26px;
	color: var(--nexar-gr-text);
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
	position: relative;
}

.nexar-gr-modal-close {
	position: absolute;
	top: 14px;
	right: 14px;
	width: 42px;
	height: 42px;
	border-radius: 999px;
	border: none;
	background: transparent !important;
	color: var(--nexar-gr-text);
	cursor: pointer;
	font-size: 32px;
	line-height: 1;
	box-shadow: none !important;
	padding: 0;
	appearance: none;
	-webkit-appearance: none;
}

.nexar-gr-modal-close:hover,
.nexar-gr-modal-close:focus,
.nexar-gr-modal-close:active {
	background: transparent !important;
	color: var(--nexar-gr-text);
	outline: none;
	box-shadow: none !important;
}

.nexar-gr-modal-head {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 16px;
	padding-right: 50px;
}

.nexar-gr-modal-author {
	font-size: 18px;
	font-weight: 700;
	line-height: 1.2;
	color: var(--nexar-gr-text);
}

.nexar-gr-modal-date {
	font-size: 14px;
	color: var(--nexar-gr-muted);
	margin-top: 3px;
}

.nexar-gr-modal-text {
	margin-top: 14px;
	font-size: 15px;
	line-height: 1.7;
	white-space: pre-line;
	color: var(--nexar-gr-text);
}

.nexar-gr-grid-wrap {
	padding: 24px;
}

.nexar-gr-grid-summary {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 24px;
}

.nexar-gr-grid-summary-copy {
	min-width: 0;
}

.nexar-gr-grid-eyebrow {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--nexar-gr-muted);
	margin-bottom: 8px;
}

.nexar-gr-grid-title {
	margin: 0;
	font-size: 28px;
	line-height: 1.15;
	color: var(--nexar-gr-text);
}

.nexar-gr-grid-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin-top: 14px;
	color: var(--nexar-gr-muted);
}

.nexar-gr-grid-rating {
	font-weight: 700;
	color: var(--nexar-gr-text);
}

.nexar-gr-grid-total {
	color: var(--nexar-gr-muted);
}

.nexar-gr-grid-wrap .nexar-gr-open-google {
	margin-top: 0;
	flex-shrink: 0;
}

.nexar-gr-grid-list {
	display: grid;
	grid-template-columns: repeat(var(--nexar-gr-grid-columns), minmax(0, 1fr));
	gap: 18px;
}

.nexar-gr-grid-item {
	flex: initial;
	min-height: 250px;
	height: 100%;
}

.nexar-gr-grid-content {
	margin-top: 14px;
	min-height: 120px;
}

@media (max-width: 1024px) {
	.nexar-gr-widget {
		flex-direction: column;
		gap: 24px;
		align-items: stretch;
	}

	.nexar-gr-footer {
		width: 100%;
		flex: 1 1 auto;
		display: flex;
		justify-content: center;
		align-items: center;
		text-align: center;
	}

	.nexar-gr-fade {
		min-height: 0;
		justify-content: flex-start;
		align-items: center;
		text-align: center;
	}

	.nexar-gr-rating-text,
	.nexar-gr-stars {
		justify-content: center;
		text-align: center;
	}

	.nexar-gr-reviews {
		padding-left: 0;
		padding-right: 0;
	}

	.nexar-gr-reviews-wrap {
		overflow-x: auto;
		overflow-y: hidden;
		-webkit-overflow-scrolling: touch;
		scroll-snap-type: x mandatory;
		scroll-padding-left: 0;
		scroll-padding-right: 0;
		padding: 0 0 8px;
		overscroll-behavior-x: contain;
	}

	.nexar-gr-track {
		transition: none;
		transform: none !important;
		gap: 14px;
		padding-right: 0;
	}

	.nexar-gr-item {
		flex: 0 0 84%;
		scroll-snap-align: start;
		scroll-snap-stop: always;
		min-height: 230px;
	}

	.nexar-gr-controls {
		display: none;
	}

	.nexar-gr-grid-summary {
		flex-direction: column;
		align-items: flex-start;
	}

	.nexar-gr-grid-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.nexar-gr-widget-wrap {
		padding: 18px;
	}

	.nexar-gr-rating-large {
		font-size: 26px;
	}

	.nexar-gr-item {
		flex: 0 0 84%;
		padding: 16px;
	}

	.nexar-gr-content {
		min-height: auto;
		-webkit-line-clamp: 6;
	}

	.nexar-gr-modal-box {
		padding: 22px 18px;
	}

	.nexar-gr-modal-close {
		font-size: 36px;
		width: 44px;
		height: 44px;
	}

	.nexar-gr-grid-title {
		font-size: 24px;
	}

	.nexar-gr-grid-list {
		grid-template-columns: minmax(0, 1fr);
	}
}
