/* FHC Widgets: Google Reviews */
.fhcw-rv {
	--fhcw-rv-sum: 312px;
	--fhcw-rv-card: 312px;
	--fhcw-rv-h: 362px;
	--fhcw-rv-lines: 6;
	--fhcw-rv-border: #eaeaea;
	--fhcw-rv-star: #fbb004;
	position: relative;
	width: 100%;
}

.fhcw-rv__row {
	display: flex;
	align-items: stretch;
	min-width: 0;
}

.fhcw-rv__summary {
	flex: 0 0 var(--fhcw-rv-sum);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: var(--fhcw-rv-h);
	padding: 32px 20px;
	box-sizing: border-box;
	background: #0274be;
	color: #fff;
	text-align: center;
	text-decoration: none;
	position: relative;
	z-index: 1;
}

a.fhcw-rv__summary:hover,
a.fhcw-rv__summary:focus {
	color: inherit;
}

.fhcw-rv__score {
	font-size: 100px;
	font-weight: 600;
	line-height: 1.15;
}

.fhcw-rv__stars {
	display: inline-flex;
	gap: 5px;
}

.fhcw-rv__stars svg {
	fill: var(--fhcw-rv-star);
}

.fhcw-rv__stars svg.is-off {
	opacity: .3;
}

.fhcw-rv__count {
	margin-top: 4px;
	font-size: 18px;
	font-weight: 600;
	line-height: 21px;
}

.fhcw-rv__biz {
	font-size: 15px;
	line-height: 20px;
}

.fhcw-rv__track {
	flex: 1 1 auto;
	display: flex;
	min-width: 0;
	overflow-x: auto;
	overflow-y: hidden;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	overscroll-behavior-x: contain;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
	outline: none;
}

.fhcw-rv__track::-webkit-scrollbar {
	display: none;
}

.fhcw-rv__track.is-dragging {
	scroll-snap-type: none;
	scroll-behavior: auto;
	cursor: grabbing;
	user-select: none;
}

.fhcw-rv__card {
	flex: 0 0 var(--fhcw-rv-card);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 24px;
	min-height: var(--fhcw-rv-h);
	margin: 0;
	padding: 27px 25px 23px 26px;
	box-sizing: border-box;
	border: 1px solid var(--fhcw-rv-border);
	border-left: 0;
	background: #fff;
	scroll-snap-align: start;
}

.fhcw-rv__summary + .fhcw-rv__track .fhcw-rv__card:first-child {
	border-left: 0;
}

.fhcw-rv__row > .fhcw-rv__track:first-child .fhcw-rv__card:first-child {
	border-left: 1px solid var(--fhcw-rv-border);
}

.fhcw-rv__quote {
	quotes: none;
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 24px;
	line-height: 29px;
	font-style: normal;
}

.fhcw-rv__quote p {
	margin: 0;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: var(--fhcw-rv-lines);
	overflow: hidden;
}

.fhcw-rv__who {
	font-style: normal;
	display: flex;
	align-items: center;
	gap: 12px;
}

.fhcw-rv__avatar {
	flex: 0 0 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	overflow: hidden;
	border: 1px solid #ececec;
	border-radius: 50%;
	background: #fff;
}

.fhcw-rv__avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.fhcw-rv__avatar--icon img {
	width: 100%;
	height: 100%;
}

.fhcw-rv__meta {
	display: flex;
	flex-direction: column;
	gap: 3px;
	min-width: 0;
}

.fhcw-rv__name {
	font-size: 18px;
	font-weight: 600;
	line-height: 20px;
}

.fhcw-rv__date {
	font-size: 15px;
	line-height: 18px;
}

.fhcw-rv__nav {
	display: flex;
	justify-content: center;
	gap: 25px;
	margin-top: 48px;
}

.fhcw-rv__nav button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 51px;
	height: 51px;
	padding: 0;
	border: 0;
	border-radius: 16px;
	background: #f7f7f7;
	color: #222;
	cursor: pointer;
	transition: background-color .2s ease, color .2s ease, opacity .2s ease;
}

.fhcw-rv__nav button.is-disabled {
	opacity: .4;
	pointer-events: none;
}

.fhcw-rv.is-static .fhcw-rv__nav {
	display: none;
}

@media (max-width: 767px) {
	.fhcw-rv__row {
		flex-direction: column;
		gap: 16px;
	}

	.fhcw-rv__summary {
		flex-basis: auto;
		min-height: 0;
		padding: 28px 20px;
	}

	.fhcw-rv__score {
		font-size: 64px;
	}

	.fhcw-rv__track {
		gap: 12px;
		margin-right: -16px;
		padding-right: 16px;
	}

	.fhcw-rv__card,
	.fhcw-rv__summary + .fhcw-rv__track .fhcw-rv__card:first-child {
		min-height: 0;
		border-left: 1px solid var(--fhcw-rv-border);
		border-radius: 12px;
	}

	.fhcw-rv__quote {
		font-size: 19px;
		line-height: 26px;
	}

	.fhcw-rv__nav {
		margin-top: 24px;
	}
}

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

/* Source filter and Housecall Pro reviewer initials */
.fhcw-rv__card[hidden] {
	display: none !important;
}

.fhcw-rv__avatar--initial {
	border-color: transparent;
	background: #0274BE;
	color: #fff;
	font-size: 18px;
	font-weight: 600;
	line-height: 1;
}
