/* TPS Testimonials page ([tps_testimonials]). Pixel units on purpose: the theme sets html font-size to 62.5%. */
.tps-reviews {
	--tr-green: #1B3B24; --tr-green-deep: #14301F; --tr-gold: #FFD54F; --tr-star: #F5B301;
	--tr-ink: #14301F; --tr-body: #33413A; --tr-muted: #5B6770; --tr-line: #E4E7E1; --tr-light: #F4F7F2; --tr-white: #FFFFFF;
	font-size: 16px; line-height: 1.5; color: var(--tr-body); text-align: left;
}
.tps-reviews *, .tps-reviews *::before, .tps-reviews *::after { box-sizing: border-box; }
.tps-reviews button { font: inherit; cursor: pointer; }

/* summary */
.tps-rvsum { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 0 0 32px; }
.tps-rvsum:has(> :only-child) { grid-template-columns: minmax(0, 560px); justify-content: center; }
.tps-rvsum__card {
	display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
	padding: 26px 28px; background: var(--tr-white); border: 1px solid var(--tr-line); border-radius: 18px;
	box-shadow: 0 10px 30px rgba(20, 48, 31, .07);
}
.tps-rvsum__brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--tr-muted); }
.tps-rvsum__brand::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #4285F4; }
.tps-rvsum__card--yelp .tps-rvsum__brand::before { background: #D32323; }
.tps-rvsum__big { font-family: Lexend, inherit; font-size: 44px; line-height: 1; font-weight: 700; color: var(--tr-ink); }
.tps-rvsum__label { color: var(--tr-muted); font-size: 15px; }
.tps-rvsum__links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 6px; font-size: 15px; }
.tps-rvsum__links a { color: var(--tr-green); font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--tr-gold); }
.tps-rvsum__links a:hover { color: var(--tr-green-deep); }

/* stars */
.tps-rv__stars { display: inline-flex; font-size: 18px; line-height: 1; letter-spacing: .06em; color: var(--tr-star); }
.tps-rv__stars-off { color: #D5DAD2; }

/* filters */
.tps-rvfilters { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 24px; }
.tps-rvchip {
	padding: 9px 16px; border-radius: 999px; font-size: 14.5px; font-weight: 600;
	border: 1px solid var(--tr-line); background: var(--tr-white); color: var(--tr-green);
	transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.tps-rvchip:hover { border-color: var(--tr-green); }
.tps-rvchip.is-active { background: var(--tr-green); border-color: var(--tr-green); color: var(--tr-white); }
.tps-rvchip:focus-visible { outline: 3px solid rgba(27, 59, 36, .3); outline-offset: 2px; }
.tps-rvcount { margin-left: auto; font-size: 14px; color: var(--tr-muted); }

/* cards */
.tps-rvgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: start; }
.tps-rv {
	display: flex; flex-direction: column; gap: 12px;
	padding: 24px 24px 20px; background: var(--tr-white); border: 1px solid var(--tr-line); border-radius: 16px;
	box-shadow: 0 6px 22px rgba(20, 48, 31, .05);
}
.tps-rv[hidden] { display: none; }
.tps-rv__text { margin: 0; padding: 0; border: 0; font-style: normal; }
.tps-rv__text p { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--tr-body); }
.tps-rv--long:not(.is-open) .tps-rv__text p { display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.tps-rv__more { align-self: flex-start; padding: 0; border: 0; background: none; color: var(--tr-green); font-weight: 700; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.tps-rv__meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--tr-line); font-size: 14px; color: var(--tr-muted); }
.tps-rv__name { color: var(--tr-ink); font-weight: 700; font-size: 15px; }
.tps-rv__city::before { content: "·"; margin-right: 8px; color: #B8C1BB; }
.tps-rv__src { width: 100%; font-size: 13px; }
.tps-rv__src a { color: inherit; text-decoration: none; }
.tps-rv__src a:hover { color: var(--tr-green); text-decoration: underline; }
.tps-rv__src--google::before, .tps-rv__src--yelp::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; background: #4285F4; vertical-align: middle; }
.tps-rv__src--yelp::before { background: #D32323; }
.tps-rv--yelp { background: #FFF8F8; }

/* load more + empty */
.tps-rvmore-wrap { display: flex; justify-content: center; margin-top: 28px; }
.tps-rvmore {
	min-height: 48px; padding: 0 26px; border-radius: 12px; border: 2px solid var(--tr-green);
	background: transparent; color: var(--tr-green); font-weight: 700; font-size: 15px;
}
.tps-rvmore:hover { background: var(--tr-green); color: var(--tr-white); }
.tps-rvmore[hidden], .tps-rvmore-wrap[hidden] { display: none; }
.tps-rvempty { margin: 24px 0 0; padding: 20px 24px; border-radius: 12px; background: var(--tr-light); color: var(--tr-muted); text-align: center; }
.tps-rvempty[hidden] { display: none; }

@media (max-width: 991px) {
	.tps-rvgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
	.tps-rvsum { grid-template-columns: 1fr; gap: 14px; }
	.tps-rvsum__card { padding: 20px 20px; }
	.tps-rvsum__big { font-size: 38px; }
	.tps-rvgrid { grid-template-columns: 1fr; gap: 14px; }
	.tps-rv { padding: 20px 18px 16px; }
	.tps-rvfilters { gap: 8px; }
	.tps-rvchip { padding: 8px 13px; font-size: 14px; }
	.tps-rvcount { width: 100%; margin-left: 0; }
}
