/* ביקורות גוגל – ראש קצוץ */
.rkgr,
.rkgr-badge-wrap {
	--rkgr-gold: #F6E5B7;
	--rkgr-gold-deep: #E2C27D;
	--rkgr-bg: #1C1C1C;
	--rkgr-card: #121212;
	--rkgr-line: rgba(246, 229, 183, .28);
	--rkgr-text: #F6F6F9;
	--rkgr-muted: #ADADAD;
	--rkgr-font: var(--e-global-typography-primary-font-family, "Secular One"), sans-serif;
	direction: rtl;
	font-family: var(--rkgr-font);
}
.rkgr *,
.rkgr *::before,
.rkgr *::after { box-sizing: border-box; }

.rkgr {
	width: 100%;
	max-width: 1280px;
	margin-inline: auto;
	padding: 56px 20px 64px;
	color: var(--rkgr-text);
}

/* Heading */
.rkgr__head { text-align: center; margin-bottom: 44px; }
.rkgr__orn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin: 0 auto;
	width: 190px;
	height: 12px;
}
.rkgr__orn::before,
.rkgr__orn::after {
	content: "";
	flex: 1;
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--rkgr-gold));
}
.rkgr__orn::after { background: linear-gradient(270deg, transparent, var(--rkgr-gold)); }
.rkgr__orn { background: radial-gradient(circle, var(--rkgr-gold) 0 4px, transparent 4.5px) center / 12px 12px no-repeat; }
.rkgr h2.rkgr__title {
	margin: 12px 0;
	font-family: var(--rkgr-font);
	font-size: 55px;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: -1px;
	color: var(--rkgr-text);
}
.rkgr__sub {
	margin: 18px 0 0;
	font-size: 18px;
	line-height: 1.6;
	color: var(--rkgr-text);
}
.rkgr__sub a { color: var(--rkgr-gold); }
.rkgr__head h2:empty,
.rkgr__head p:empty { display: none; }

/* Layout: summary card on the start side (right in RTL), carousel beside it */
.rkgr__body {
	display: grid;
	grid-template-columns: 290px minmax(0, 1fr);
	gap: 28px;
	align-items: stretch;
}

/* Summary card */
.rkgr__summary {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 34px 24px;
	text-align: center;
	background: var(--rkgr-card);
	border: 1px solid var(--rkgr-line);
	border-radius: 18px;
	box-shadow: 0 18px 40px rgba(0, 0, 0, .35), inset 0 0 0 4px var(--rkgr-card), inset 0 0 0 5px rgba(246, 229, 183, .12);
}
.rkgr-wordmark { width: 118px; height: auto; display: block; }
.rkgr__summary-label { font-size: 16px; color: var(--rkgr-muted); margin-top: -4px; }
.rkgr__score {
	font-size: 68px;
	line-height: 1;
	font-weight: 600;
	color: var(--rkgr-gold);
	margin-top: 6px;
}
.rkgr__based { font-size: 16px; color: var(--rkgr-text); }
.rkgr__based b { color: var(--rkgr-gold); font-weight: inherit; }
.rkgr__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-top: 12px;
	padding: 12px 26px;
	min-height: 48px;
	border-radius: 6px;
	background: var(--rkgr-gold);
	color: #121212 !important;
	font-size: 17px;
	line-height: 1.2;
	text-decoration: none !important;
	transition: background-color .2s ease, transform .2s ease;
}
.rkgr__btn:hover,
.rkgr__btn:focus-visible { background: #fff; transform: translateY(-1px); }

/* Stars — five solid gold stars */
.rkgr-stars { display: inline-flex; gap: 3px; line-height: 0; }
.rkgr-stars svg { width: 18px; height: 18px; fill: var(--rkgr-gold); display: block; }
.rkgr-stars--lg svg { width: 28px; height: 28px; }
.rkgr-stars--sm svg { width: 15px; height: 15px; }

/* Carousel */
.rkgr__carousel { position: relative; min-width: 0; display: flex; flex-direction: column; }
.rkgr__track {
	display: flex;
	gap: 20px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	overscroll-behavior-x: contain;
	scrollbar-width: none;
	padding: 2px;
	flex: 1;
}
.rkgr__track::-webkit-scrollbar { display: none; }
.rkgr__track:focus-visible { outline: 2px solid var(--rkgr-gold); outline-offset: 4px; }

.rkgr-card {
	flex: 0 0 calc((100% - 40px) / 3);
	scroll-snap-align: start;
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 24px 22px 22px;
	background: var(--rkgr-card);
	border: 1px solid var(--rkgr-line);
	border-radius: 14px;
	color: var(--rkgr-text);
}
.rkgr-card__top { display: flex; align-items: center; gap: 12px; }
.rkgr-card__avatar {
	position: relative;
	flex: 0 0 48px;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	overflow: hidden;
	background: linear-gradient(135deg, var(--rkgr-gold), var(--rkgr-gold-deep));
}
.rkgr-card__letter {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #121212;
	font-size: 22px;
	line-height: 1;
}
.rkgr-card__avatar img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	margin: 0;
	max-width: none;
	border-radius: 50%;
}
.rkgr-card__who { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.rkgr-card__name {
	font-size: 17px;
	line-height: 1.3;
	color: var(--rkgr-gold);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.rkgr-card__date { font-size: 13px; color: var(--rkgr-muted); line-height: 1.4; }
.rkgr-g { width: 22px; height: 22px; flex: 0 0 22px; display: block; }

.rkgr-card__text {
	margin: 0;
	font-size: 15px;
	line-height: 1.75;
	color: var(--rkgr-text);
	display: -webkit-box;
	-webkit-line-clamp: 6;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.rkgr-card.is-open .rkgr-card__text { -webkit-line-clamp: unset; display: block; }
.rkgr-card__more,
.rkgr button.rkgr-card__more {
	align-self: flex-start !important;
	width: auto !important;
	min-height: 0 !important;
	line-height: 1.4 !important;
	margin-top: auto;
	padding: 0 !important;
	background: none !important;
	border: 0 !important;
	color: var(--rkgr-gold) !important;
	font-family: inherit;
	font-size: 14px;
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
	box-shadow: none !important;
}

.rkgr__nav[hidden] { display: none !important; }
.rkgr__nav { display: flex; justify-content: center; gap: 12px; margin-top: 22px; }
.rkgr__arrow,
.rkgr button.rkgr__arrow {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 46px !important;
	min-width: 46px !important;
	height: 46px !important;
	padding: 0 !important;
	margin: 0 !important;
	line-height: 1 !important;
	border-radius: 50% !important;
	border: 1px solid var(--rkgr-gold) !important;
	background: transparent !important;
	color: var(--rkgr-gold) !important;
	box-shadow: none !important;
	cursor: pointer;
	transition: background-color .2s ease, color .2s ease, opacity .2s ease;
}
.rkgr__arrow svg { width: 22px !important; height: 22px !important; flex: 0 0 22px; display: block; fill: none !important; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.rkgr__arrow:hover,
.rkgr__arrow:focus-visible { background: var(--rkgr-gold) !important; color: #121212 !important; }
.rkgr__arrow[disabled] { opacity: .35; cursor: default; background: transparent !important; color: var(--rkgr-gold) !important; }

/* Compact badge (hero) */
.rkgr-badge-wrap { display: flex; justify-content: center; width: 100%; margin-top: 4px; }
.rkgr-badge {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 9px 18px;
	min-height: 44px;
	border-radius: 999px;
	background: rgba(18, 18, 18, .72);
	border: 1px solid var(--rkgr-line);
	color: var(--rkgr-text) !important;
	text-decoration: none !important;
	font-size: 16px;
	line-height: 1.2;
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
}
.rkgr-badge .rkgr-g { width: 20px; height: 20px; flex-basis: 20px; }
.rkgr-badge__score { color: var(--rkgr-gold); font-size: 18px; font-weight: 600; }
.rkgr-badge__count { color: var(--rkgr-text); }
.rkgr-badge:hover,
.rkgr-badge:focus-visible { border-color: var(--rkgr-gold); }

/* Tablet */
@media (max-width: 1024px) {
	.rkgr { padding: 44px 18px 52px; }
	.rkgr h2.rkgr__title { font-size: 40px; }
	.rkgr__body { grid-template-columns: 1fr; gap: 22px; }
	.rkgr__summary {
		display: grid;
		grid-template-columns: auto auto auto;
		grid-template-areas: "logo score btn" "label stars btn" "based based btn";
		justify-content: center;
		column-gap: 26px;
		row-gap: 6px;
		padding: 22px 24px;
	}
	.rkgr-wordmark { grid-area: logo; width: 96px; }
	.rkgr__summary-label { grid-area: label; margin: 0; }
	.rkgr__score { grid-area: score; font-size: 48px; margin: 0; }
	.rkgr__summary .rkgr-stars { grid-area: stars; }
	.rkgr__based { grid-area: based; }
	.rkgr__btn { grid-area: btn; align-self: center; margin: 0; }
	.rkgr-card { flex-basis: calc((100% - 20px) / 2); }
}

/* Mobile */
@media (max-width: 767px) {
	.rkgr { padding: 36px 16px 44px; }
	.rkgr__head { margin-bottom: 28px; }
	.rkgr h2.rkgr__title { font-size: 38px; }
	.rkgr__sub { font-size: 15px; }
	.rkgr__summary {
		display: flex;
		padding: 24px 18px;
		gap: 8px;
	}
	.rkgr-wordmark { width: 92px; }
	.rkgr__score { font-size: 52px; }
	.rkgr-stars--lg svg { width: 24px; height: 24px; }
	.rkgr__btn { width: 100%; max-width: 300px; margin-top: 8px; }
	.rkgr__track { gap: 14px; }
	.rkgr-card { flex-basis: 86%; padding: 20px 18px; }
	.rkgr-badge { gap: 8px; padding: 8px 14px; font-size: 14px; }
	.rkgr-badge__score { font-size: 16px; }
}
/* Site-wide kits size every svg inside Elementor widgets to 1em — keep ours at their real size */
.rkgr svg.rkgr-wordmark { width: 118px !important; height: 40px !important; max-width: none !important; }
.rkgr svg.rkgr-g,
.rkgr-badge-wrap svg.rkgr-g { width: 22px !important; height: 22px !important; max-width: none !important; }
.rkgr-badge-wrap svg.rkgr-g { width: 20px !important; height: 20px !important; }
.rkgr .rkgr-stars svg,
.rkgr-badge-wrap .rkgr-stars svg { width: 18px !important; height: 18px !important; max-width: none !important; }
.rkgr .rkgr-stars--lg svg { width: 28px !important; height: 28px !important; }
.rkgr-badge-wrap .rkgr-stars--sm svg { width: 15px !important; height: 15px !important; }
.rkgr .rkgr__arrow svg { width: 22px !important; height: 22px !important; }
@media (max-width: 1024px) {
	.rkgr svg.rkgr-wordmark { width: 96px !important; height: 33px !important; }
}
@media (max-width: 767px) {
	.rkgr svg.rkgr-wordmark { width: 92px !important; height: 31px !important; }
	.rkgr .rkgr-stars--lg svg { width: 24px !important; height: 24px !important; }
}

@media (prefers-reduced-motion: reduce) {
	.rkgr__track { scroll-behavior: auto; }
}
