/**
 * Google Reviews & Testimonials - frontend styling.
 */

.grt-badge {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 8px 14px;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	background: #fff;
	font-family: inherit;
	line-height: 1.3;
}

.grt-badge__logo {
	display: inline-flex;
	flex: 0 0 auto;
}

.grt-badge__logo svg {
	display: block;
	width: 22px;
	height: 22px;
}

.grt-badge__rating {
	display: inline-flex;
	flex-direction: column;
	align-items: flex-start;
}

.grt-badge__score {
	font-weight: 700;
	font-size: 15px;
	color: #202124;
}

.grt-badge__count {
	font-size: 12px;
	color: #5f6368;
}

/* Sterrenweergave met gedeeltelijke vulling. */
.grt-stars {
	position: relative;
	display: inline-block;
	font-size: 14px;
	line-height: 1;
	letter-spacing: 1px;
}

.grt-stars__empty {
	color: #dadce0;
}

.grt-stars__full {
	position: absolute;
	top: 0;
	left: 0;
	overflow: hidden;
	white-space: nowrap;
	color: #fbbc05;
}

/* Testimonials. */
.grt-testimonials {
	margin: 1em 0;
}

.grt-testimonials__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 16px;
}

.grt-testimonial {
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	padding: 16px;
	background: #fff;
}

.grt-testimonial__header {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 8px;
	flex-wrap: wrap;
}

.grt-testimonial__author {
	font-weight: 600;
	color: #202124;
}

.grt-testimonial__text {
	margin: 0 0 8px;
	color: #3c4043;
	line-height: 1.5;
}

.grt-testimonial__time {
	font-size: 12px;
	color: #5f6368;
}

.grt-testimonials__attribution {
	margin-top: 12px;
	font-size: 12px;
	color: #5f6368;
}

.grt-testimonials__attribution a {
	color: #1a73e8;
	text-decoration: none;
}
