/* Google Reviews for Elementor
   Defaults are deliberately plain. Everything visual is a CSS variable or an
   Elementor style control, so the site's own design decides how this looks. */

/* ------------------------------------------------------------------ Stars */

.gre-stars {
	position: relative;
	display: inline-flex;
	line-height: 1;
	vertical-align: middle;
}

.gre-stars__empty,
.gre-stars__full {
	display: inline-flex;
	flex-wrap: nowrap;
	gap: 2px;
}

.gre-stars__empty {
	color: #e0e0e0;
}

.gre-stars__full {
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	overflow: hidden;
	color: #fbbc04;
}

.gre-star {
	flex: none;
	width: var(--gre-star-size, 18px);
	height: var(--gre-star-size, 18px);
	fill: currentColor;
}

/* ---------------------------------------------------------------- Summary */

.gre-summary {
	display: flex;
}

.gre-summary__inner {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	text-decoration: none;
	color: inherit;
	max-width: 100%;
}

a.gre-summary__inner:hover .gre-summary__rating {
	text-decoration: underline;
}

.gre-summary__single-star {
	display: inline-flex;
	color: #fbbc04;
}

.gre-summary__single-star .gre-star {
	width: var(--gre-star-size, 22px);
	height: var(--gre-star-size, 22px);
}

.gre-summary__rating {
	font-weight: 700;
	line-height: 1.2;
}

.gre-summary__count {
	color: #70757a;
	line-height: 1.2;
}

.gre-summary__label {
	line-height: 1.2;
}

.gre-summary__brand,
.gre-card__brand {
	display: inline-flex;
}

.gre-summary__brand .gre-g {
	width: var(--gre-star-size, 20px);
	height: var(--gre-star-size, 20px);
}

/* --------------------------------------------------------------- Carousel */

.gre-carousel {
	--gre-slides: 3;
	--gre-gap: 20px;
	--gre-arrow-size: 40px;
	position: relative;
}

.gre-carousel__viewport {
	overflow: hidden;
}

.gre-track {
	display: flex;
	gap: var(--gre-gap);
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
	-ms-overflow-style: none;
	padding-bottom: 2px;
}

.gre-track::-webkit-scrollbar {
	display: none;
}

.gre-track:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 4px;
}

.gre-slide {
	flex: 0 0 calc((100% - (var(--gre-slides) - 1) * var(--gre-gap)) / var(--gre-slides));
	max-width: calc((100% - (var(--gre-slides) - 1) * var(--gre-gap)) / var(--gre-slides));
	scroll-snap-align: start;
}

.gre-carousel--equal .gre-track {
	align-items: stretch;
}

.gre-carousel--equal .gre-slide {
	display: flex;
}

/* ------------------------------------------------------------------- Card */

.gre-card {
	--gre-avatar: 44px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	width: 100%;
	padding: 24px;
	border-radius: 12px;
	background-color: #fff;
	box-shadow: 0 1px 3px rgba(0, 0, 0, .12);
}

.gre-card__head {
	display: flex;
	align-items: center;
	gap: 12px;
	text-align: left;
}

.gre-card__avatar {
	flex: none;
	width: var(--gre-avatar);
	height: var(--gre-avatar);
	border-radius: 50%;
	object-fit: cover;
}

.gre-card__avatar--letter {
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: #e8eaed;
	color: #3c4043;
	font-weight: 600;
	font-size: calc(var(--gre-avatar) * .42);
	line-height: 1;
}

.gre-card__meta {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
	margin-inline-end: auto;
}

.gre-card__author {
	font-weight: 600;
	line-height: 1.3;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.gre-card__date {
	font-size: .8125em;
	color: #70757a;
	line-height: 1.3;
}

.gre-card__brand .gre-g {
	width: 20px;
	height: 20px;
}

.gre-card__text {
	line-height: 1.6;
	flex: 1 1 auto;
	white-space: pre-line;
	word-break: break-word;
}

.gre-card__text.is-clamped {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: var(--gre-clamp, 4);
	line-clamp: var(--gre-clamp, 4);
	overflow: hidden;
}

.gre-card__text.is-expanded {
	display: block;
	overflow: visible;
}

.gre-card__more {
	align-self: flex-start;
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
	font: inherit;
	font-size: .875em;
	font-weight: 600;
	text-decoration: underline;
	cursor: pointer;
}

/* ------------------------------------------------------------- Navigation */

/* Themes and Elementor global button styles repaint every <button> on the
   page (padding, background, min-height, transforms...). The carousel
   controls opt out of all of it, so the arrows keep their icon and the dots
   stay dots. Colours/size still come from the widget controls through the
   custom properties below. */
.gre-carousel .gre-arrow,
.gre-carousel .gre-dot {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	box-sizing: border-box !important;
	flex: none;
	min-width: 0 !important;
	min-height: 0 !important;
	max-width: none;
	padding: 0 !important;
	border: 0 !important;
	font: inherit;
	line-height: 1 !important;
	letter-spacing: normal;
	text-align: center;
	text-transform: none;
	text-decoration: none;
	text-shadow: none;
	cursor: pointer;
	outline-offset: 2px;
}

.gre-carousel .gre-arrow {
	position: absolute;
	top: 50%;
	z-index: 2;
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: var(--gre-arrow-size) !important;
	height: var(--gre-arrow-size) !important;
	margin: calc(var(--gre-arrow-size) / -2) 0 0 !important;
	border-radius: 50% !important;
	background: var(--gre-arrow-bg, #fff) !important;
	color: var(--gre-arrow-color, #202124) !important;
	box-shadow: 0 1px 4px rgba(0, 0, 0, .2);
	transition: opacity .2s ease;
}

.gre-carousel .gre-arrow:hover,
.gre-carousel .gre-arrow:focus,
.gre-carousel .gre-arrow:focus-visible,
.gre-carousel .gre-arrow:active {
	background: var(--gre-arrow-bg, #fff) !important;
	color: var(--gre-arrow-color, #202124) !important;
}

.gre-carousel .gre-arrow svg {
	display: block !important;
	flex: none;
	width: 55% !important;
	height: 55% !important;
	max-width: none;
	min-width: 0;
	pointer-events: none;
	overflow: visible;
}

.gre-carousel .gre-arrow svg path {
	fill: none !important;
	stroke: currentColor !important;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.gre-carousel .gre-arrow--prev {
	left: 0;
	right: auto;
	transform: translateX(-50%) !important;
}

.gre-carousel .gre-arrow--next {
	right: 0;
	left: auto;
	transform: translateX(50%) !important;
}

.gre-carousel .gre-arrow[disabled] {
	opacity: .35;
	cursor: default;
}

.gre-carousel .gre-dots {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: var(--gre-dot-gap, 8px);
	margin-top: 16px;
	padding: 0;
	list-style: none;
}

.gre-carousel .gre-dots:empty {
	display: none;
}

.gre-carousel .gre-dot {
	width: var(--gre-dot-size, 8px) !important;
	height: var(--gre-dot-size, 8px) !important;
	border-radius: 50% !important;
	background: var(--gre-dot-color, #dadce0) !important;
	box-shadow: none !important;
	font-size: 0;
	transition: transform .2s ease, background-color .2s ease;
}

.gre-carousel .gre-dot:hover,
.gre-carousel .gre-dot:focus,
.gre-carousel .gre-dot:focus-visible {
	background: var(--gre-dot-color, #dadce0) !important;
}

.gre-carousel .gre-dot.is-active,
.gre-carousel .gre-dot.is-active:hover,
.gre-carousel .gre-dot.is-active:focus {
	background: var(--gre-dot-active-color, #202124) !important;
	transform: scale(1.35);
}

/* --------------------------------------------------------- Editor notices */

.gre-notice {
	padding: 12px 16px;
	border: 1px dashed #c7cdd4;
	border-radius: 8px;
	background-color: #f6f7f8;
	color: #5f6368;
	font-size: 13px;
}

/* ---------------------------------------------------------- Small screens */

@media (max-width: 767px) {
	.gre-carousel .gre-arrow--prev {
		left: 4px;
		transform: none !important;
	}

	.gre-carousel .gre-arrow--next {
		right: 4px;
		transform: none !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	.gre-track {
		scroll-behavior: auto;
	}

	.gre-carousel .gre-dot {
		transition: none;
	}
}
