/* Google Reviews Feed - Frontend-Styles */

.grf {
	--grf-star: #fbbc04;
	--grf-border: #e5e7eb;
	--grf-text: #202124;
	--grf-muted: #5f6368;
	font-size: 15px;
	color: var(--grf-text);
}

.grf-summary {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 16px;
	flex-wrap: wrap;
}

.grf-summary__rating {
	font-size: 1.4em;
	font-weight: 700;
}

.grf-summary__count {
	color: var(--grf-muted);
	font-size: 0.9em;
}

.grf-stars {
	display: inline-flex;
	line-height: 1;
}

.grf-star {
	color: var(--grf-border);
	font-size: 1.05em;
}

.grf-star--on {
	color: var(--grf-star);
}

/* Raster */
.grf-items {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 16px;
}

.grf-item {
	border: 1px solid var(--grf-border);
	border-radius: 12px;
	padding: 16px;
	background: #fff;
}

.grf-item__head {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 8px;
}

.grf-item__avatar {
	border-radius: 50%;
	width: 40px;
	height: 40px;
	object-fit: cover;
	flex: 0 0 auto;
}

.grf-item__meta {
	display: flex;
	flex-direction: column;
}

.grf-item__author {
	font-weight: 600;
}

.grf-item__date {
	color: var(--grf-muted);
	font-size: 0.85em;
}

.grf-item__text {
	margin: 8px 0 0;
	line-height: 1.5;
}

/* Firmenzuordnung bei firmenuebergreifenden Bewertungen */
.grf-item__company {
	margin-bottom: 6px;
	font-size: 0.9em;
	font-weight: 600;
}

.grf-item__company-link {
	color: var(--grf-accent, #4a90e2);
	text-decoration: none;
}

.grf-item__company-link:hover,
.grf-item__company-link:focus {
	text-decoration: underline;
}

.grf--aggregate.grf--list .grf-item__company {
	margin-top: 4px;
}

/* Liste */
.grf-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.grf-list__item {
	border-bottom: 1px solid var(--grf-border);
	padding: 14px 0;
}

.grf-list__item:last-child {
	border-bottom: none;
}

.grf-list__head {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.grf-attribution {
	margin-top: 16px;
	color: var(--grf-muted);
	font-size: 0.8em;
}

.grf-notice {
	border: 1px dashed var(--grf-border);
	border-radius: 8px;
	padding: 10px 12px;
	color: var(--grf-muted);
	font-size: 0.9em;
}
