/* CF - Recensioni Google v1.0.0 — Cloudfactory S.r.l. */
.cf-rg {
	--cf-rg-accent: #9460a5;
	--cf-rg-star: #f4b400;
	--cf-rg-text: #555;
	--cf-rg-ink: #333;
	--cf-rg-bg: #f7f7f7;
	--cf-rg-gap: 24px;
	background: var(--cf-rg-bg);
	padding: 64px 0;
	font-family: inherit;
	color: var(--cf-rg-text);
}
.cf-rg *, .cf-rg *::before, .cf-rg *::after { box-sizing: border-box; }
.cf-rg__inner { width: 80%; max-width: 1080px; margin: 0 auto; }

/* Intestazione */
.cf-rg__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 32px; margin-bottom: 32px; }
.cf-rg__title { margin: 0 0 10px; padding: 0; font-size: 30px; line-height: 1.2; font-weight: 500; color: var(--cf-rg-ink); letter-spacing: .02em; }
.cf-rg__score { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: 16px; }
.cf-rg__score-num { font-size: 28px; font-weight: 600; color: var(--cf-rg-ink); line-height: 1; }
.cf-rg__score-count { color: var(--cf-rg-text); }
.cf-rg__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cf-rg__btn {
	display: inline-block; padding: 12px 22px; font-size: 14px; line-height: 1; letter-spacing: .08em; text-transform: uppercase;
	background: var(--cf-rg-accent); color: #fff !important; border: 1px solid var(--cf-rg-accent); text-decoration: none; transition: opacity .2s;
}
.cf-rg__btn:hover { opacity: .85; }
.cf-rg__btn--ghost { background: transparent; color: var(--cf-rg-accent) !important; }

/* Stelle */
.cf-rg-stars { position: relative; display: inline-block; line-height: 0; white-space: nowrap; vertical-align: middle; }
.cf-rg-stars svg { width: 16px; height: 16px; margin-right: 1px; display: inline-block; }
.cf-rg-stars--lg svg { width: 22px; height: 22px; }
.cf-rg-stars__bg svg { fill: #ddd; }
.cf-rg-stars__fg { position: absolute; inset: 0 auto 0 0; overflow: hidden; }
.cf-rg-stars__fg svg { fill: var(--cf-rg-star); }

/* Carosello */
.cf-rg__carousel { position: relative; }
.cf-rg__track {
	list-style: none; margin: 0; padding: 4px 2px 12px;
	display: grid; grid-auto-flow: column; gap: var(--cf-rg-gap);
	grid-auto-columns: calc((100% - 2 * var(--cf-rg-gap)) / 3);
	overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: thin;
	-webkit-overflow-scrolling: touch;
}
.cf-rg__track::-webkit-scrollbar { height: 6px; }
.cf-rg__track::-webkit-scrollbar-thumb { background: #ccc; border-radius: 3px; }
.cf-rg__nav {
	position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
	width: 42px; height: 42px; border-radius: 50%; border: 0; cursor: pointer;
	background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.12); display: flex; align-items: center; justify-content: center; padding: 0;
}
.cf-rg__nav[hidden] { display: none; }
.cf-rg__nav svg { width: 20px; height: 20px; fill: none; stroke: var(--cf-rg-accent); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.cf-rg__nav--prev { left: -21px; }
.cf-rg__nav--next { right: -21px; }
.cf-rg__nav:disabled { opacity: 0; pointer-events: none; }

/* Card */
.cf-rg-card {
	scroll-snap-align: start; margin: 0; padding: 24px; list-style: none;
	background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.06); display: flex; flex-direction: column; gap: 12px; min-width: 0;
}
.cf-rg-card__top { display: flex; align-items: center; gap: 12px; }
.cf-rg-card__avatar {
	flex: 0 0 44px; width: 44px; height: 44px; border-radius: 50%;
	display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 600; letter-spacing: .03em;
	background: hsl(var(--cf-rg-hue, 285) 35% 90%); color: hsl(var(--cf-rg-hue, 285) 35% 35%);
}
.cf-rg-card__who { display: flex; flex-direction: column; min-width: 0; }
.cf-rg-card__name { font-weight: 600; color: var(--cf-rg-ink) !important; text-decoration: none; font-size: 16px; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
a.cf-rg-card__name:hover { color: var(--cf-rg-accent) !important; }
.cf-rg-card__when { font-size: 13px; color: #999; line-height: 1.3; }
.cf-rg-card__text {
	font-size: 15px; line-height: 1.6; color: var(--cf-rg-text);
	display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden;
}
.cf-rg-card.is-open .cf-rg-card__text { -webkit-line-clamp: unset; display: block; }
.cf-rg-card__more { align-self: flex-start; margin-top: auto; padding: 0; border: 0; background: none; cursor: pointer; color: var(--cf-rg-accent); font: inherit; font-size: 14px; text-decoration: underline; }
.cf-rg-card__more[hidden] { display: none; }

.cf-rg__attr { margin: 18px 0 0; padding: 0; font-size: 12px; color: #999; text-align: right; }

@media (max-width: 980px) {
	.cf-rg { padding: 48px 0; }
	.cf-rg__track { grid-auto-columns: calc((100% - var(--cf-rg-gap)) / 2); }
	.cf-rg__title { font-size: 26px; }
}
@media (max-width: 640px) {
	.cf-rg__inner { width: 88%; }
	.cf-rg { --cf-rg-gap: 14px; }
	.cf-rg__track { grid-auto-columns: 86%; }
	.cf-rg__nav { display: none !important; }
	.cf-rg__head { align-items: flex-start; }
	.cf-rg__actions { width: 100%; flex-wrap: nowrap; gap: 10px; }
	.cf-rg__btn { flex: 1 1 0; display: flex; align-items: center; justify-content: center; text-align: center; padding: 10px 8px; min-height: 46px; font-size: 12px; line-height: 1.25; letter-spacing: .05em; }
	.cf-rg__title { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) { .cf-rg__track { scroll-behavior: auto; } }
