/* Tathastu Google Reviews */
.tgr-widget {
	--tgr-gap: 16px;
	--tgr-star: #f6bb06;
	--tgr-star-off: #dcdcdc;
	--tgr-border: #e4e4e4;
	--tgr-text: #333;
	--tgr-muted: #8a8a8a;
	display: flex;
	align-items: center;
	gap: 24px;
	width: 100%;
	box-sizing: border-box;
	color: var(--tgr-text);
	font-size: 14px;
	line-height: 1.5;
	text-align: left;
}
.tgr-widget *, .tgr-widget *::before, .tgr-widget *::after { box-sizing: border-box; }

/* Summary block */
.tgr-summary {
	flex: 0 0 210px;
	text-align: center;
}
.tgr-word {
	font-size: 22px;
	font-weight: 700;
	letter-spacing: .5px;
	color: #000;
	margin-bottom: 4px;
}
.tgr-based { font-size: 14px; color: var(--tgr-text); margin-top: 6px; }
.tgr-based strong { font-weight: 700; }
.tgr-avg { font-size: 12px; color: var(--tgr-muted); margin-top: 2px; }
.tgr-wordmark {
	margin-top: 10px;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 28px;
	font-weight: 500;
	letter-spacing: -1px;
	line-height: 1;
}
.tgr-wordmark .b { color: #4285f4; }
.tgr-wordmark .r { color: #ea4335; }
.tgr-wordmark .y { color: #fbbc05; }
.tgr-wordmark .g { color: #34a853; }

/* Stars */
.tgr-stars {
	position: relative;
	display: inline-block;
	line-height: 0;
	white-space: nowrap;
	vertical-align: middle;
}
.tgr-stars svg { width: 17px; height: 17px; margin-right: 1px; }
.tgr-stars-lg svg { width: 24px; height: 24px; }
.tgr-stars-bg svg path { fill: var(--tgr-star-off); }
.tgr-stars-fg {
	position: absolute;
	top: 0;
	left: 0;
	overflow: hidden;
	white-space: nowrap;
}
.tgr-stars-fg svg path { fill: var(--tgr-star); }

/* Slider */
.tgr-slider {
	position: relative;
	flex: 1 1 auto;
	min-width: 0;
	padding: 0 34px;
}
.tgr-track {
	display: flex;
	gap: var(--tgr-gap);
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
	padding: 4px 2px 8px;
	outline: none;
}
.tgr-track::-webkit-scrollbar { display: none; }

.tgr-card {
	flex: 0 0 calc((100% - (var(--tgr-cols) - 1) * var(--tgr-gap)) / var(--tgr-cols));
	scroll-snap-align: start;
	background: #fff;
	border: 2px solid var(--tgr-border);
	border-radius: 6px;
	padding: 18px 18px 14px;
	display: flex;
	flex-direction: column;
	min-height: 230px;
}
.tgr-head {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 10px;
}
.tgr-avatar {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	object-fit: cover;
	flex: 0 0 40px;
}
.tgr-initial {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #010f3e;
	color: #fff;
	font-weight: 700;
	font-size: 17px;
}
.tgr-who { flex: 1 1 auto; min-width: 0; }
.tgr-name {
	font-weight: 700;
	font-size: 15px;
	color: #000;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.tgr-name a { color: inherit; text-decoration: none; }
.tgr-name a:hover { text-decoration: underline; }
.tgr-date { font-size: 12px; color: var(--tgr-muted); }
.tgr-gicon { flex: 0 0 20px; line-height: 0; align-self: flex-start; }

.tgr-card > .tgr-stars { margin-bottom: 8px; }

.tgr-text {
	display: -webkit-box;
	-webkit-line-clamp: 5;
	-webkit-box-orient: vertical;
	overflow: hidden;
	word-break: break-word;
}
.tgr-card.tgr-open .tgr-text { -webkit-line-clamp: unset; display: block; }
.tgr-more {
	align-self: flex-start;
	background: none;
	border: 0;
	padding: 4px 0 0;
	margin: 0;
	color: var(--tgr-muted);
	font-size: 13px;
	cursor: pointer;
	text-decoration: none;
}
.tgr-more:hover { color: #000; background: none; }
.tgr-loc {
	margin-top: auto;
	padding-top: 10px;
	font-size: 12px;
	color: #309e0b;
	display: flex;
	align-items: center;
	gap: 4px;
}

/* Arrows */
.tgr-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 30px;
	height: 30px;
	border-radius: 50%;
	border: 1px solid var(--tgr-border);
	background: #fff;
	color: #555;
	font-size: 22px;
	line-height: 26px;
	padding: 0;
	cursor: pointer;
	box-shadow: 0 1px 3px rgba(0, 0, 0, .12);
	z-index: 2;
}
.tgr-nav:hover, .tgr-nav:focus { background: #f5f5f5; color: #000; }
.tgr-prev { left: 0; }
.tgr-next { right: 0; }

.tgr-empty { padding: 12px; border: 1px dashed #ccc; color: #666; }

/* Responsive */
@media (max-width: 1024px) {
	.tgr-widget { flex-direction: column; gap: 16px; }
	.tgr-summary { flex: 0 0 auto; }
	.tgr-slider { width: 100%; }
	.tgr-card { flex-basis: calc((100% - var(--tgr-gap)) / 2); }
}
@media (max-width: 640px) {
	.tgr-slider { padding: 0 28px; }
	.tgr-card { flex-basis: 100%; }
}
