/*
 * Selectors are prefixed with .ex10-gr so the defaults beat Elementor Kit
 * rules like ".elementor-kit-5 h2" / ".elementor-kit-5 a". Widget controls
 * ({{WRAPPER}} selectors) are more specific still and always win.
 */

.ex10-gr {
	--ex10-spv: 3;
	--ex10-gap: 20px;
	--ex10-navy: #1c1e33;
	--ex10-green: #01b67a;
	--ex10-blue: #1863dc;
	--ex10-text: #4e4b66;
	--ex10-muted: #6a6b6b;
	--ex10-star: #fbbc04;
	--ex10-star-empty: #dadce0;
	--ex10-divider-margin: auto;
	position: relative;
	width: 100%;
}

.ex10-gr *,
.ex10-gr *::before,
.ex10-gr *::after {
	box-sizing: border-box;
}

/* Background overlay layer (Style > Background > Background Overlay) */
.ex10-gr::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	border-radius: inherit;
	pointer-events: none;
}

.ex10-gr > * {
	position: relative;
	z-index: 1;
}

/* Header */
.ex10-gr .ex10-gr__header {
	margin-bottom: 24px;
	text-align: center;
}

.ex10-gr .ex10-gr__title {
	margin: 0;
	padding: 0;
	color: var(--ex10-navy);
	font-size: 38px;
	font-weight: 600;
	line-height: 1.2;
}

.ex10-gr .ex10-gr__divider {
	display: block;
	width: 44px;
	height: 2px;
	margin-top: 10px;
	margin-bottom: 12px;
	margin-inline: var(--ex10-divider-margin);
	background-color: var(--ex10-green);
	border-radius: 2px;
}

.ex10-gr .ex10-gr__subtitle {
	margin: 0;
	color: var(--ex10-muted);
	font-size: 15px;
	line-height: 1.5;
}

/* Carousel layout */
.ex10-gr .ex10-gr__carousel {
	display: flex;
	align-items: center;
	gap: 16px;
}

.ex10-gr .ex10-gr__viewport {
	flex: 1 1 0%;
	width: 100%;
	min-width: 0;
	overflow: hidden;
	padding: 10px 6px 14px;
	touch-action: pan-y;
}

.ex10-gr .ex10-gr__track {
	position: relative;
	display: flex;
	align-items: stretch;
	gap: var(--ex10-gap);
	transition-property: transform;
	transition-timing-function: ease;
	will-change: transform;
}

.ex10-gr .ex10-gr__slide {
	display: flex;
	flex: 0 0 calc((100% - (var(--ex10-spv) - 1) * var(--ex10-gap)) / var(--ex10-spv));
	min-width: 0;
}

/* Card */
.ex10-gr .ex10-gr__card {
	display: flex;
	flex-direction: column;
	width: 100%;
	padding: 22px 24px 20px;
	background-color: #fff;
	border-radius: 8px;
	box-shadow: 0 2px 10px rgba(28, 30, 51, 0.06);
	transition: box-shadow 0.3s ease, transform 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

.ex10-gr .ex10-gr__head {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 14px;
}

.ex10-gr .ex10-gr__avatar {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	overflow: hidden;
}

.ex10-gr img.ex10-gr__avatar {
	max-width: none;
	object-fit: cover;
}

.ex10-gr .ex10-gr__avatar--initial {
	background-color: var(--ex10-blue);
	color: #fff;
	font-size: 17px;
	font-weight: 500;
	line-height: 1;
	text-transform: uppercase;
}

.ex10-gr .ex10-gr__meta {
	min-width: 0;
}

.ex10-gr .ex10-gr__name {
	color: var(--ex10-blue);
	font-size: 15px;
	font-weight: 500;
	line-height: 1.3;
	overflow-wrap: anywhere;
}

.ex10-gr .ex10-gr__name a {
	color: inherit;
	text-decoration: none;
}

.ex10-gr .ex10-gr__name a:hover {
	text-decoration: underline;
}

/* Stars */
.ex10-gr .ex10-gr__stars {
	display: flex;
	align-items: center;
	gap: 1px;
	margin-top: 6px;
}

.ex10-gr .ex10-gr__star {
	position: relative;
	display: inline-block;
	width: 15px;
	height: 15px;
	line-height: 0;
}

.ex10-gr .ex10-gr__star svg {
	display: block;
	width: 100%;
	height: 100%;
	fill: var(--ex10-star-empty);
}

.ex10-gr .ex10-gr__star-fill {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	overflow: hidden;
}

.ex10-gr .ex10-gr__star-fill svg {
	width: auto;
	height: 100%;
	aspect-ratio: 1 / 1;
	fill: var(--ex10-star);
}

/* Text */
.ex10-gr .ex10-gr__text {
	margin-bottom: 16px;
	color: var(--ex10-text);
	font-size: 15px;
	line-height: 1.45;
	overflow-wrap: break-word;
}

/* Google link, pinned to the bottom of the card */
.ex10-gr .ex10-gr__google {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	gap: 8px;
	margin-top: auto;
	color: var(--ex10-blue);
	font-size: 13px;
	line-height: 1.3;
	text-decoration: none;
	transition: color 0.2s ease;
}

.ex10-gr a.ex10-gr__google:hover {
	text-decoration: underline;
}

.ex10-gr .ex10-gr__google-icon {
	flex: 0 0 auto;
	width: 15px;
	height: 15px;
}

/* Arrows */
.ex10-gr .ex10-gr__arrow {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	min-height: 0;
	padding: 0;
	margin: 0;
	border: 0;
	border-radius: 50%;
	background-color: #fff;
	color: var(--ex10-navy);
	font-size: 14px;
	line-height: 1;
	box-shadow: 0 2px 8px rgba(28, 30, 51, 0.12);
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.ex10-gr .ex10-gr__arrow:hover {
	background-color: var(--ex10-green);
	color: #fff;
}

.ex10-gr .ex10-gr__arrow:focus-visible {
	outline: 2px solid var(--ex10-green);
	outline-offset: 2px;
}

.ex10-gr .ex10-gr__arrow svg {
	width: 14px;
	height: 14px;
	fill: currentColor;
}

.ex10-gr .ex10-gr__arrow svg[fill="none"] {
	fill: none;
}

.ex10-gr .ex10-gr__arrow[disabled] {
	opacity: 0.4;
	cursor: default;
}

/* Dots */
.ex10-gr .ex10-gr__dots {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin-top: 16px;
}

.ex10-gr .ex10-gr__dot {
	width: 8px;
	height: 8px;
	min-height: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background-color: #cbd5e1;
	cursor: pointer;
	transition: background-color 0.2s ease, transform 0.2s ease;
}

.ex10-gr .ex10-gr__dot.is-active {
	background-color: var(--ex10-green);
	transform: scale(1.2);
}

/* Button */
.ex10-gr .ex10-gr__footer {
	display: flex;
	justify-content: center;
	margin-top: 18px;
}

.ex10-gr .ex10-gr__button {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 10px 24px;
	border: 1px solid var(--ex10-green);
	border-radius: 999px;
	background-color: #fff;
	color: var(--ex10-navy);
	font-size: 15px;
	font-weight: 500;
	line-height: 1.3;
	text-decoration: none;
	transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.ex10-gr .ex10-gr__button:hover,
.ex10-gr .ex10-gr__button:focus-visible {
	background-color: var(--ex10-green);
	border-color: var(--ex10-green);
	color: #fff;
}

.ex10-gr .ex10-gr__button-icon {
	display: inline-flex;
	align-items: center;
	color: var(--ex10-green);
	font-size: 14px;
	transition: color 0.25s ease, transform 0.25s ease;
}

.ex10-gr .ex10-gr__button-icon svg {
	width: 14px;
	height: 14px;
	fill: currentColor;
}

.ex10-gr .ex10-gr__button:hover .ex10-gr__button-icon,
.ex10-gr .ex10-gr__button:focus-visible .ex10-gr__button-icon {
	color: inherit;
}

.ex10-gr .ex10-gr__button:hover .ex10-gr__button-icon:last-child {
	transform: translateX(3px);
}

/* "Google Logo" layout: logo + stars on top, review, author at the bottom */
.ex10-gr.ex10-gr--google {
	--ex10-star: #f69f00;
	--ex10-ink: #151727;
}

.ex10-gr--google .ex10-gr__card {
	padding: 40px 38px 62px 40px;
	background-color: rgba(255, 255, 255, 0.82);
	border-radius: 10px;
	box-shadow: none;
}

.ex10-gr .ex10-gr__top {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px 16px;
	margin-bottom: 26px;
}

.ex10-gr .ex10-gr__logo {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	flex: 0 0 auto;
	color: inherit;
	line-height: 1;
	text-decoration: none;
}

.ex10-gr .ex10-gr__logo-img {
	display: block;
	width: 108px;
	max-width: 100%;
	height: auto;
}

.ex10-gr .ex10-gr__logo-label {
	margin-top: 0;
	color: #595a5d;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.1;
	letter-spacing: 0;
}

/* Stars shrink rather than wrap so they stay on the logo's row in narrow cards. */
.ex10-gr--google .ex10-gr__top {
	flex-wrap: nowrap;
}

.ex10-gr--google .ex10-gr__stars {
	flex: 0 1 auto;
	min-width: 0;
	gap: 1px;
	margin-top: 11px;
}

.ex10-gr--google .ex10-gr__star {
	flex: 0 1 28px;
	min-width: 0;
	width: 28px;
	height: auto;
	aspect-ratio: 1 / 1;
}

.ex10-gr--google .ex10-gr__text {
	margin-bottom: 64px;
	color: var(--ex10-ink);
	font-size: 16px;
	line-height: 1.4;
}

.ex10-gr .ex10-gr__author {
	display: flex;
	align-items: center;
	gap: 15px;
	margin-top: auto;
}

.ex10-gr--google .ex10-gr__avatar {
	width: 42px;
	height: 42px;
}

.ex10-gr--google .ex10-gr__avatar--initial {
	background-color: #5c3cc6;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 19px;
	font-weight: 700;
}

.ex10-gr--google .ex10-gr__name {
	color: var(--ex10-ink);
	font-family: Arial, Helvetica, sans-serif;
	font-size: 16px;
	font-weight: 700;
}

/* Fallbacks; Elementor's responsive "Slides Per View" control overrides these. */
@media (max-width: 1024px) {
	.ex10-gr {
		--ex10-spv: 2;
	}
}

@media (max-width: 767px) {
	.ex10-gr {
		--ex10-spv: 1;
	}

	.ex10-gr .ex10-gr__title {
		font-size: 28px;
	}

	.ex10-gr .ex10-gr__carousel {
		gap: 8px;
	}

	.ex10-gr--google .ex10-gr__card {
		padding: 24px 22px;
	}

	.ex10-gr-arrows-hide-mobile-yes .ex10-gr .ex10-gr__arrow {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ex10-gr .ex10-gr__track,
	.ex10-gr .ex10-gr__card,
	.ex10-gr .ex10-gr__button-icon {
		transition: none !important;
	}
}
