.review-widgets {
	--rw-badge-link-color: #111;
	--rw-badge-link-hover-color: #4285f4;
}

.rw-google-badge {
	display: inline-flex;
	max-width: 100%;
}

.rw-google-badge__link {
	display: inline-flex;
	align-items: center;
	gap: 0.65rem;
	padding: 0.55rem 1rem;
	border-radius: 999px;
	color: var(--rw-badge-link-color, #111);
	text-decoration: none;
	font-size: 0.95rem;
	line-height: 1.2;
	transition: color 0.15s ease;
}

.rw-google-badge--floating .rw-google-badge__link {
	background: #fff;
	box-shadow: 0 4px 18px rgba(15, 23, 42, 0.12);
}

.rw-google-badge__link:hover,
.rw-google-badge__link:focus {
	color: var(--rw-badge-link-hover-color, #4285f4);
}

.rw-google-badge__link--static {
	cursor: default;
}

.rw-google-badge__avatars {
	display: inline-flex;
	align-items: center;
	padding-left: 0.35rem;
}

.rw-google-badge__avatar-wrap {
	flex-shrink: 0;
	display: block;
	width: 2rem;
	height: 2rem;
	margin-left: -0.55rem;
	border-radius: 50%;
	overflow: hidden;
	border: 2px solid #fff;
	box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.06);
}

.rw-google-badge__avatar-wrap:first-child {
	margin-left: 0;
}

.rw-google-badge__avatar-wrap--empty {
	background: #e2e8f0;
}

.rw-google-badge__avatar {
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	object-fit: cover;
	object-position: center;
	background: transparent;
}

.rw-google-badge__avatar--placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	font-size: 0.75rem;
	font-weight: 600;
	color: #fff;
	background: #7c3aed;
}

.rw-google-badge__stars {
	display: inline-flex;
	align-items: center;
	gap: 0.05rem;
	line-height: 1;
}

.rw-google-badge__stars .rw-google-star {
	font-size: 1rem;
}

.rw-google-stars-strip__link {
	display: inline-flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.75rem 1rem;
	color: var(--rw-badge-link-color, #111);
	text-decoration: none;
	font-size: 1.05rem;
	line-height: 1.2;
	transition: color 0.15s ease;
}

.rw-google-stars-strip__link:hover,
.rw-google-stars-strip__link:focus {
	color: var(--rw-badge-link-hover-color, #4285f4);
}

.rw-google-stars-strip__link--static {
	cursor: default;
}

.rw-google-stars-strip__stars {
	display: inline-flex;
	align-items: center;
	gap: 0.08rem;
}

.rw-google-stars-strip__stars .rw-google-star {
	font-size: 1.35rem;
}

.rw-google-stars-strip__stars .rw-google-star--on {
	color: #fbbc04;
}

.rw-google-stars-strip__count {
	font-weight: 700;
}

.rw-google-wordmark-img {
	display: inline-block;
	vertical-align: middle;
	width: 70px;
	height: auto;
	max-width: none;
}

.rw-google-stars-strip .rw-google-wordmark-img--stars {
	margin-top: 4px;
}

.rw-google-wordmark-img--footer {
	vertical-align: middle;
}

.rw-google-badge__text .rw-google-wordmark-img--badge {
	margin-left: 0.2rem;
}

.rw-google-badge__sep {
	margin: 0 0.35rem;
	color: #64748b;
}

.rw-google-carousel {
	position: relative;
	max-width: 960px;
	margin: 0 auto;
	padding: 0 2.75rem 1rem;
}

.rw-google-carousel__viewport {
	overflow: hidden;
}

.rw-google-carousel__track {
	display: flex;
	gap: 1rem;
	transition: transform 0.45s ease-in-out;
	will-change: transform;
}

.rw-google-carousel__track--instant {
	transition: none;
}

.rw-google-card {
	flex: 0 0 min(100%, 280px);
	background: #fff;
	border-radius: 0.35rem;
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
	padding: 1rem 1rem 1.25rem;
}

.rw-google-card__header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 0.5rem;
	margin-bottom: 0.65rem;
}

.rw-google-card__author {
	display: flex;
	gap: 0.65rem;
	align-items: center;
}

.rw-google-card__avatar-wrap {
	flex-shrink: 0;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 50%;
	overflow: hidden;
}

.rw-google-card__avatar {
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	border: 0;
	border-radius: 0;
	object-fit: cover;
}

.rw-google-card__avatar--placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	background: #7c3aed;
	color: #fff;
	font-weight: 600;
}

.rw-google-card__name {
	margin: 0;
	font-weight: 600;
	font-size: 0.9rem;
}

.rw-google-card__time {
	margin: 0.15rem 0 0;
	font-size: 0.75rem;
	color: #64748b;
}

.rw-google-card__g {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 0;
}

.rw-google-card__g-img {
	display: block;
	width: auto;
	height: 1.375rem;
	max-height: 22px;
}

.rw-google-card__stars {
	margin-bottom: 0.5rem;
}

.rw-google-star {
	color: #cbd5e1;
}

.rw-google-star--on {
	color: #fbbc04;
}

.rw-google-card__text {
	margin: 0 0 0.5rem;
	font-size: 0.875rem;
	line-height: 1.45;
	color: #334155;
}

.rw-google-card__read-more {
	border: 0;
	background: transparent;
	padding: 0;
	font-size: 0.8125rem;
	font-family: inherit;
	color: var(--rw-badge-link-color, #111);
	cursor: pointer;
	text-decoration: underline;
	transition: color 0.15s ease;
}

.rw-google-card__read-more:hover,
.rw-google-card__read-more:focus {
	color: var(--rw-badge-link-hover-color, #4285f4);
}

.rw-google-carousel__nav {
	position: absolute;
	top: 38%;
	transform: translateY(-50%);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.25rem;
	height: 2.25rem;
	padding: 0;
	border-radius: 50%;
	border: 0;
	background: var(--rw-badge-link-color, #111);
	box-shadow: 0 4px 14px rgba(15, 23, 42, 0.15);
	font-size: 1.35rem;
	line-height: 1;
	color: #fff;
	cursor: pointer;
	transition: background-color 0.15s ease;
}

.rw-google-carousel__nav:hover,
.rw-google-carousel__nav:focus {
	background: var(--rw-badge-link-hover-color, #4285f4);
	color: #fff;
}

.rw-google-carousel__nav:disabled {
	opacity: 0.45;
	cursor: default;
}

.rw-google-carousel__nav--prev {
	left: 0;
}

.rw-google-carousel__nav--next {
	right: 0;
}

.rw-google-carousel__summary {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 0.1rem 0.25rem;
	text-align: center;
	margin: 1.25rem 0 0;
	font-size: 0.8125rem;
	font-weight: 600;
	color: #334155;
	line-height: 1.35;
}

.rw-google-carousel__summary-text {
	display: inline;
}

.rw-google-empty {
	color: #64748b;
	font-style: italic;
}

@media (max-width: 640px) {
	.rw-google-carousel {
		padding-left: 2.25rem;
		padding-right: 2.25rem;
	}

	.rw-google-card {
		flex-basis: 100%;
	}
}

/* Scoped under .review-widgets so theme button/link styles do not win on the front end. */
.review-widgets .rw-google-carousel button.rw-google-carousel__nav {
	-webkit-appearance: none;
	appearance: none;
	min-height: 0;
	min-width: 0;
	text-transform: none;
	font-weight: 400;
}

.review-widgets .rw-google-card__body button.rw-google-card__read-more {
	-webkit-appearance: none;
	appearance: none;
	min-height: 0;
	box-shadow: none;
	text-transform: none;
	font-weight: inherit;
}

.review-widgets .rw-google-badge a.rw-google-badge__link {
	text-transform: none;
	font-weight: 400;
}

.review-widgets .rw-google-badge__text strong {
	color: inherit;
	font-weight: 700;
}

.review-widgets a.rw-google-stars-strip__link {
	text-transform: none;
	font-weight: 400;
}

.review-widgets .rw-google-stars-strip__count {
	color: inherit;
}
