/*
 * Grandliga Core UA 0.3.0
 * Rating line reproduced from g-business-reviews-rating source.
 * Deliberately scoped to .glua-gmbrr--source-exact.
 */

.glua-gmbrr--source-exact {
	margin: 0;
	padding: 0;
}

.glua-gmbrr--source-exact > .rating {
	font-size: 32px;
	line-height: 1.2em;
	margin-block-end: 0;
	white-space: nowrap;
}

.glua-gmbrr--source-exact .rating span {
	vertical-align: top;
	position: relative;
}

.glua-gmbrr--source-exact .rating .all-stars {
	display: inline-flex;
	block-size: 1.1em;
	inset-block-start: 0.2em;
	gap: 0.05em;
	z-index: 11;
	font-family: Arial, Helvetica, sans-serif;
}

.glua-gmbrr--source-exact .star {
	display: inline-block;
	inline-size: 0.8em;
	block-size: 0.7667em;
	background: url("data:image/svg+xml;charset=UTF-8;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0OCIgaGVpZ2h0PSI0NiI+CiAgPHBhdGggZmlsbD0iI0Y3QjYwMyIgZD0iTTMzLjA2MSAyOC41MDlMNDcuNzIxIDE4SDI5LjYwM0wyNC4wMjguODIyIDE4LjQ1MyAxOEguMzM1bDE0LjY2IDEwLjUwOS01LjU3OCAxNy4xMTIgMTQuNjExLTEwLjY1NUwzOC42MzkgNDUuNjR6Ii8+Cjwvc3ZnPg==") 0 0/100% no-repeat;
}

.glua-gmbrr--source-exact .animate .star {
	transform-origin: 33% 50%;
}

.glua-gmbrr--source-exact .rating .count {
	display: inline-flex;
	align-items: center;
	align-self: center;
	margin-block: 0;
	font-size: 0.5em;
	line-height: 1;
	vertical-align: middle;
	margin-inline-start: 0.35rem;
	color: #2fa48f;
	font-family: inherit;
	font-weight: 600;
	text-decoration: underline;
}

.glua-gmbrr--source-exact .rating .count:hover,
.glua-gmbrr--source-exact .rating .count:focus-visible {
	text-decoration: underline;
}

@keyframes google-business-reviews-rating-star {

	0% {
		transform: scale(1, 1);
		opacity: 0.05;
		filter: saturate(0);
	}
	5% {
		transform: scale(0.1, 1);
		opacity: 0.15;
	}
	8% {
		transform: scale(0.1, 1);
		opacity: 0.5;
	}
	14% {
		opacity: 1;
	}
	21% {
		transform: scale(1.25, 1.25);
		filter: saturate(100%);
	}
	25% {
		transform: scale(1, 1);
		filter: brightness(100%);
	}
	100%,
	88% {
		transform: scale(1, 1);
		filter: brightness(100%) saturate(100%);
	}
	94% {
		transform: scale(1.15, 1.15);
		filter: brightness(120%) saturate(85%);
	}
}

@media (prefers-reduced-motion: no-preference) {
	.glua-gmbrr--source-exact .animate .star {
		animation: google-business-reviews-rating-star 3s 0.5s ease-in-out 1;
		animation-fill-mode: backwards;
		animation-play-state: paused;
	}
	.glua-gmbrr--source-exact .animate.animation-start .star {
		animation-play-state: running;
	}
	.glua-gmbrr--source-exact .animate .star:nth-child(1) {
		animation-duration: 3s;
		animation-delay: 0.5s;
	}
	.glua-gmbrr--source-exact .animate .star:nth-child(2) {
		animation-duration: 2.8s;
		animation-delay: 0.9s;
	}
	.glua-gmbrr--source-exact .animate .star:nth-child(3) {
		animation-duration: 2.6s;
		animation-delay: 1.3s;
	}
	.glua-gmbrr--source-exact .animate .star:nth-child(4) {
		animation-duration: 2.4s;
		animation-delay: 1.7s;
	}
	.glua-gmbrr--source-exact .animate .star:nth-child(5) {
		animation-duration: 2.2s;
		animation-delay: 2.1s;
	}
}

@media (prefers-reduced-motion: reduce) {
	.glua-gmbrr--source-exact .animate .star {
		animation: none !important;
	}
}



/* page-services.php uses .right-side and creates a different optical baseline.
   Keep the homepage untouched. */
.right-side .glua-gmbrr--source-exact .rating .count {
	position: relative;
	top: -3px;
}
