.rbr-reviews-shell {
	--rbr-bg: #047e93;
	--rbr-section-bg: var(--rbr-bg);
	--rbr-card: #fff;
	--rbr-text: #62666a;
	--rbr-heading: #20333a;
	--rbr-star: #f7c800;
	--rbr-accent: #047e93;
	--rbr-gap: clamp(12px, 2vw, 22px);
	--rbr-visible: 3;
	--rbr-card-pad: clamp(18px, 2.2vw, 26px);
	position: relative;
	left: auto;
	right: auto;
	width: 100%;
	max-width: 100%;
	margin: 0 auto;
	padding: 12px 0 8px;
	background: var(--rbr-section-bg);
	color: var(--rbr-text);
	font-family: Arial, Helvetica, sans-serif;
	box-sizing: border-box;
	overflow-x: hidden;
	overflow-x: clip;
	overflow-y: visible;
}

.rbr-reviews-shell *,
.rbr-reviews-shell *::before,
.rbr-reviews-shell *::after {
	box-sizing: border-box;
}

.rbr-slider {
	position: relative;
	width: min(1200px, 100%);
	margin: 0 auto;
	padding: 0 clamp(8px, 2vw, 12px);
}

.rbr-slider-viewport {
	overflow: hidden;
	padding: 4px 2px 12px;
	width: 100%;
	touch-action: pan-y;
	-webkit-user-select: none;
	user-select: none;
}

.rbr-slider-track {
	display: flex;
	flex-wrap: nowrap;
	align-items: stretch;
	gap: var(--rbr-gap);
	width: 100%;
	transition: transform .55s cubic-bezier(.22, .72, .3, 1);
	will-change: transform;
}

.rbr-review-card {
	flex: 0 0 calc((100% - (var(--rbr-gap) * (var(--rbr-visible) - 1))) / var(--rbr-visible));
	min-width: 0;
	width: calc((100% - (var(--rbr-gap) * (var(--rbr-visible) - 1))) / var(--rbr-visible));
	max-width: 100%;
	height: auto;
	min-height: clamp(280px, 42vw, 340px);
	display: flex;
	flex-direction: column;
	padding: var(--rbr-card-pad);
	border: 0;
	border-radius: 3px;
	background: var(--rbr-card);
	box-shadow: 0 2px 8px rgba(0, 0, 0, .2);
}

.rbr-review-card__top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px 16px;
	flex-wrap: wrap;
}

.rbr-avatar {
	display: none;
}

.rbr-avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.rbr-reviewer {
	min-width: 0;
	flex: 1 1 120px;
}

.rbr-reviewer h3 {
	overflow: hidden;
	margin: 0 0 7px;
	color: var(--rbr-text);
	font-size: clamp(14px, 1.6vw, 16px);
	font-weight: 700;
	line-height: 1.3;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.rbr-review-date {
	color: var(--rbr-text);
	font-size: clamp(12px, 1.4vw, 13px);
	opacity: .75;
}

.rbr-stars {
	flex: 0 0 auto;
	margin: 0;
	color: var(--rbr-star);
	font-size: clamp(15px, 1.7vw, 17px);
	letter-spacing: 1px;
	white-space: nowrap;
}

.rbr-star-muted {
	color: #d9dde0;
}

.rbr-review-text {
	flex: 1 1 auto;
	margin: 18px 0 0;
	color: var(--rbr-text);
	font-size: clamp(14px, 1.55vw, 16px);
	line-height: 1.55;
	overflow-wrap: anywhere;
	word-break: break-word;
}

.rbr-review-text.is-collapsed {
	display: -webkit-box;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 5;
	line-clamp: 5;
}

.rbr-read-more {
	align-self: flex-start;
	margin-top: 10px;
	padding: 8px 0;
	min-height: 44px;
	border: 0;
	background: transparent;
	color: var(--rbr-accent);
	cursor: pointer;
	font: inherit;
	font-size: 13px;
	font-weight: 800;
}

.rbr-read-more[hidden] {
	display: none;
}

.rbr-google-link {
	display: none;
	align-items: center;
	gap: 7px;
	width: fit-content;
	margin-top: 20px;
	color: #4285f4;
	font-size: 13px;
	font-weight: 800;
	text-decoration: none;
}

.rbr-google-mark {
	display: inline-grid;
	width: 25px;
	height: 25px;
	place-items: center;
	border-radius: 50%;
	background: #fff;
	color: #4285f4;
	font: 800 16px/1 Arial, sans-serif;
	box-shadow: 0 4px 12px rgba(0, 0, 0, .15);
}

.rbr-slider-controls {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	margin-top: clamp(12px, 2vw, 20px);
	padding: 0 8px;
}

.rbr-arrow {
	display: none !important;
}

.rbr-dots {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 6px;
	max-width: min(420px, 100%);
}

.rbr-dot {
	width: 8px;
	height: 8px;
	padding: 0;
	margin: 6px 4px;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, .42);
	cursor: pointer;
	transition: width .25s ease, background .25s ease;
	touch-action: manipulation;
}

.rbr-dot.is-active {
	width: 24px;
	border-radius: 999px;
	background: #fff;
}

.rbr-empty-state {
	width: min(720px, 100%);
	margin: 0 auto;
	padding: 50px 26px;
	border-radius: 14px;
	background: #fff;
	text-align: center;
	box-shadow: 0 15px 34px rgba(0, 43, 52, .2);
}

.rbr-empty-state h3 {
	margin: 0 0 8px;
	color: var(--rbr-heading);
}

.rbr-empty-state p {
	margin: 0;
	color: var(--rbr-text);
}

.rbr-review-modal[hidden] {
	display: none;
}

.rbr-review-modal {
	position: fixed;
	z-index: 999999;
	inset: 0;
	display: grid;
	place-items: center;
	padding: 24px;
}

.rbr-review-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(10, 30, 35, .72);
	backdrop-filter: blur(4px);
}

.rbr-review-modal__dialog {
	position: relative;
	z-index: 1;
	width: min(680px, 100%);
	max-height: min(80vh, 720px);
	overflow-y: auto;
	padding: 34px;
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 28px 80px rgba(0, 0, 0, .35);
}

.rbr-review-modal__close {
	position: absolute;
	top: 12px;
	right: 14px;
	width: 38px;
	height: 38px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #eef6f7;
	color: #24434a;
	cursor: pointer;
	font-size: 28px;
	line-height: 36px;
}

.rbr-review-modal__header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 24px;
	padding-right: 36px;
}

.rbr-review-modal__header h3 {
	margin: 0 0 7px;
	color: var(--rbr-text);
	font-size: 22px;
}

.rbr-review-modal__header .rbr-stars {
	font-size: 19px;
}

.rbr-review-modal__text {
	margin-top: 24px;
	color: var(--rbr-text);
	font-size: 17px;
	line-height: 1.7;
	white-space: pre-line;
}

body.rbr-modal-open {
	overflow: hidden;
}

/*
 * Elementor integration: keep reviews block centered inside the section.
 */
.elementor-section:has(.rbr-reviews-shell) {
	overflow: visible !important;
}

.elementor-section:has(.rbr-reviews-shell) > .elementor-container,
.elementor-section:has(.rbr-reviews-shell) .elementor-widget-wrap,
.elementor-section:has(.rbr-reviews-shell) .elementor-widget-container {
	overflow: visible !important;
	max-width: 100% !important;
}

.elementor-section:has(.rbr-reviews-shell) .rbr-reviews-shell {
	background: transparent !important;
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 auto !important;
	left: auto !important;
}

/* Design 2: avatar-led profile layout. */
.rbr-design-modern {
	--rbr-bg: #0a3d49;
}

.rbr-design-modern .rbr-review-card {
	border-radius: 18px;
	box-shadow: 0 18px 42px rgba(0, 0, 0, .28);
}

.rbr-design-modern .rbr-review-card__top {
	display: grid;
	grid-template-columns: 44px minmax(0, 1fr);
	column-gap: 12px;
	row-gap: 5px;
}

.rbr-design-modern .rbr-avatar {
	grid-row: 1 / 3;
	display: grid;
	width: 44px;
	height: 44px;
	place-items: center;
	overflow: hidden;
	border-radius: 50%;
	background: #e5f4f6;
	color: #047e93;
	font-weight: 800;
}

.rbr-design-modern .rbr-reviewer,
.rbr-design-modern .rbr-stars {
	grid-column: 2;
}

.rbr-design-modern .rbr-stars {
	font-size: 15px;
}

.rbr-design-modern .rbr-arrow {
	border-color: rgba(255, 255, 255, .3);
	background: rgba(255, 255, 255, .08);
	backdrop-filter: blur(8px);
}

/* Design 3: stacked name and rating layout. */
.rbr-design-clean {
	--rbr-bg: #f2f7f8;
}

.rbr-design-clean .rbr-review-card {
	border: 1px solid #e0ecee;
	border-radius: 14px;
	box-shadow: 0 12px 32px rgba(20, 61, 68, .1);
}

.rbr-design-clean .rbr-review-card__top {
	flex-direction: column;
	gap: 10px;
	padding-bottom: 15px;
	border-bottom: 1px solid #e4eef0;
}

.rbr-design-clean .rbr-review-text {
	margin-top: 16px;
}

.rbr-design-clean .rbr-arrow {
	border-color: #a7cbd1;
	background: #fff;
	color: #047e93;
	box-shadow: 0 5px 16px rgba(4, 126, 147, .12);
}

.rbr-design-clean .rbr-dot {
	background: #a9cbd0;
}

.rbr-design-clean .rbr-dot.is-active {
	background: #047e93;
}

/* Design 4: minimal bordered cards. */
.rbr-design-compact {
	--rbr-bg: #fff;
	padding-top: 30px;
	padding-bottom: 28px;
}

.rbr-design-compact .rbr-review-card {
	height: 320px;
	min-height: 320px;
	border: 1px solid #a9c3c8;
	border-radius: 0;
	box-shadow: none;
}

.rbr-design-compact .rbr-review-card__top {
	padding-bottom: 12px;
	border-bottom: 2px solid #047e93;
}

.rbr-design-compact .rbr-review-text {
	margin-top: 14px;
	font-size: 15px;
	line-height: 1.48;
}

.rbr-design-compact .rbr-arrow {
	width: 38px;
	height: 38px;
	border-color: #047e93;
	background: transparent;
	color: #047e93;
}

.rbr-design-compact .rbr-dot {
	background: #b5c8cc;
}

.rbr-design-compact .rbr-dot.is-active {
	background: #047e93;
}

/* Design 5: review-first editorial quote with reviewer footer. */
.rbr-design-editorial {
	--rbr-bg: #f4efe7;
}

.rbr-design-editorial .rbr-review-card {
	position: relative;
	border-radius: 2px;
	background: #fffdf9;
	box-shadow: 0 8px 24px rgba(74, 60, 42, .12);
}

.rbr-design-editorial .rbr-review-card::before {
	position: absolute;
	top: 12px;
	right: 20px;
	color: #d7c4a7;
	content: "“";
	font: 700 52px/1 Georgia, serif;
}

.rbr-design-editorial .rbr-review-text {
	order: 1;
	flex: 1 1 auto;
	margin: 0 0 12px;
	padding-right: 14px;
	color: #544b41;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 17px;
	line-height: 1.58;
}

.rbr-design-editorial .rbr-read-more {
	order: 2;
	margin: 0 0 12px;
}

.rbr-design-editorial .rbr-review-card__top {
	order: 3;
	margin-top: auto;
	padding-top: 14px;
	border-top: 1px solid #e5d9c8;
}

.rbr-design-editorial .rbr-arrow {
	border-color: #8d775a;
	background: transparent;
	color: #6f5a3e;
}

.rbr-design-editorial .rbr-dot {
	background: #c7b69e;
}

.rbr-design-editorial .rbr-dot.is-active {
	background: #6f5a3e;
}

/* Design 6: centered profile card layout. */
.rbr-design-profile {
	--rbr-bg: #eaf5f6;
}

.rbr-design-profile .rbr-review-card {
	align-items: center;
	border: 1px solid #c8e1e5;
	border-radius: 22px;
	text-align: center;
	box-shadow: 0 14px 30px rgba(4, 79, 92, .11);
}

.rbr-design-profile .rbr-review-card__top {
	flex-direction: column;
	align-items: center;
	gap: 8px;
}

.rbr-design-profile .rbr-avatar {
	display: grid;
	width: 46px;
	height: 46px;
	place-items: center;
	overflow: hidden;
	border: 3px solid #d8eef1;
	border-radius: 50%;
	background: #047e93;
	color: #fff;
	font-weight: 800;
}

.rbr-design-profile .rbr-reviewer {
	text-align: center;
}

.rbr-design-profile .rbr-review-text {
	margin-top: 16px;
	text-align: center;
}

.rbr-design-profile .rbr-arrow {
	border-color: #80b8c1;
	background: #fff;
	color: #047e93;
}

.rbr-design-profile .rbr-dot {
	background: #9bc4ca;
}

.rbr-design-profile .rbr-dot.is-active {
	background: #047e93;
}

/* Design 7: strong top-accent card. */
.rbr-design-accent .rbr-review-card {
	border: 1px solid #d9eaed;
	border-top: 7px solid #047e93;
	border-radius: 10px;
	box-shadow: 0 10px 26px rgba(4, 90, 105, .11);
}

.rbr-design-accent .rbr-review-card__top {
	align-items: center;
}

.rbr-design-accent .rbr-stars {
	padding: 5px 8px;
	border-radius: 999px;
	background: #fff8d8;
}

.rbr-design-accent .rbr-arrow {
	border-color: #72aeb8;
	background: #fff;
	color: #047e93;
}

.rbr-design-accent .rbr-dot {
	background: #9fc6cc;
}

.rbr-design-accent .rbr-dot.is-active {
	background: #047e93;
}

/* Design 8: dark translucent glass cards. */
.rbr-design-dark .rbr-review-card {
	border: 1px solid rgba(255, 255, 255, .2);
	border-radius: 18px;
	background: rgba(5, 24, 30, .7);
	box-shadow: 0 16px 38px rgba(0, 0, 0, .24);
	backdrop-filter: blur(10px);
}

.rbr-design-dark .rbr-reviewer h3,
.rbr-design-dark .rbr-review-date,
.rbr-design-dark .rbr-review-text {
	color: #fff;
}

.rbr-design-dark .rbr-review-text {
	opacity: .88;
}

.rbr-design-dark .rbr-read-more {
	color: #72deee;
}

/* Design 9: speech bubble with reviewer footer. */
.rbr-design-speech .rbr-review-card {
	position: relative;
	margin-bottom: 12px;
	border-radius: 24px;
	box-shadow: 0 12px 28px rgba(20, 61, 68, .13);
}

.rbr-design-speech .rbr-review-card::after {
	position: absolute;
	bottom: -14px;
	left: 28px;
	border-width: 15px 15px 0 0;
	border-style: solid;
	border-color: #fff transparent transparent;
	content: "";
}

.rbr-design-speech .rbr-review-text {
	order: 1;
	margin: 0 0 12px;
}

.rbr-design-speech .rbr-read-more {
	order: 2;
	margin: 0 0 12px;
}

.rbr-design-speech .rbr-review-card__top {
	order: 3;
	margin-top: auto;
	padding-top: 14px;
	border-top: 1px dashed #c8dce0;
}

.rbr-design-speech .rbr-arrow {
	border-color: #73abb5;
	background: #fff;
	color: #047e93;
}

.rbr-design-speech .rbr-dot {
	background: #9fc1c7;
}

.rbr-design-speech .rbr-dot.is-active {
	background: #047e93;
}

/* Design 10: magazine-inspired split card. */
.rbr-design-magazine .rbr-review-card {
	border: 0;
	border-left: 8px solid #9a6a37;
	border-radius: 0;
	background: #fffdf8;
	box-shadow: 0 8px 22px rgba(76, 58, 39, .1);
}

.rbr-design-magazine .rbr-review-card__top {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	padding-bottom: 15px;
	border-bottom: 1px solid #dfd3c3;
}

.rbr-design-magazine .rbr-reviewer h3 {
	color: #402f22;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 18px;
}

.rbr-design-magazine .rbr-stars {
	font-size: 14px;
}

.rbr-design-magazine .rbr-review-text {
	color: #5e5147;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 16px;
}

.rbr-design-magazine .rbr-arrow {
	border-color: #8f7252;
	background: transparent;
	color: #6d4e2f;
}

.rbr-design-magazine .rbr-dot {
	background: #c2ad94;
}

.rbr-design-magazine .rbr-dot.is-active {
	background: #6d4e2f;
}

/* Design 11: playful paper / polaroid cards. */
.rbr-design-polaroid .rbr-slider-viewport {
	padding-top: 10px;
	padding-bottom: 20px;
}

.rbr-design-polaroid .rbr-review-card {
	border: 10px solid #fff;
	border-bottom-width: 24px;
	border-radius: 2px;
	background: #fffefb;
	box-shadow: 0 10px 24px rgba(77, 60, 39, .18);
	transform: rotate(-.35deg);
}

.rbr-design-polaroid .rbr-review-card:nth-child(even) {
	transform: rotate(.35deg);
}

.rbr-design-polaroid .rbr-reviewer h3 {
	color: #443b32;
	font-family: "Comic Sans MS", "Segoe Print", cursive;
}

.rbr-design-polaroid .rbr-review-text {
	color: #5e554c;
}

.rbr-design-polaroid .rbr-arrow {
	border-color: #8d785f;
	background: #fff;
	color: #6f5940;
}

.rbr-design-polaroid .rbr-dot {
	background: #baa58c;
}

.rbr-design-polaroid .rbr-dot.is-active {
	background: #6f5940;
}

/* Design 12: profile card with a strong vertical ribbon. */
.rbr-design-ribbon .rbr-review-card {
	position: relative;
	overflow: hidden;
	padding-left: 34px;
	border: 1px solid #d4e4ec;
	border-radius: 14px;
	box-shadow: 0 11px 28px rgba(42, 78, 99, .12);
}

.rbr-design-ribbon .rbr-review-card::before {
	position: absolute;
	inset: 0 auto 0 0;
	width: 12px;
	background: linear-gradient(180deg, #047e93, #3db7c8);
	content: "";
}

.rbr-design-ribbon .rbr-review-card__top {
	display: grid;
	grid-template-columns: 42px minmax(0, 1fr);
	column-gap: 12px;
	row-gap: 5px;
}

.rbr-design-ribbon .rbr-avatar {
	grid-row: 1 / 3;
	display: grid;
	width: 42px;
	height: 42px;
	place-items: center;
	overflow: hidden;
	border-radius: 10px;
	background: #dff2f5;
	color: #047e93;
	font-weight: 800;
}

.rbr-design-ribbon .rbr-reviewer,
.rbr-design-ribbon .rbr-stars {
	grid-column: 2;
}

.rbr-design-ribbon .rbr-stars {
	font-size: 15px;
}

.rbr-design-ribbon .rbr-arrow {
	border-color: #79aebd;
	background: #fff;
	color: #047e93;
}

.rbr-design-ribbon .rbr-dot {
	background: #9dbfca;
}

.rbr-design-ribbon .rbr-dot.is-active {
	background: #047e93;
}

@media (max-width: 1099px) {
	.rbr-reviews-shell {
		--rbr-visible: 2;
	}

	.rbr-review-text.is-collapsed {
		-webkit-line-clamp: 5;
		line-clamp: 5;
	}
}

@media (max-width: 767px) {
	.rbr-reviews-shell {
		--rbr-visible: 1;
		--rbr-gap: 14px;
		padding: 8px 0 4px;
	}

	.rbr-slider {
		padding: 0 4px;
	}

	.rbr-slider-viewport {
		padding: 2px 0 10px;
	}

	.rbr-review-card {
		min-height: 300px;
		padding: 22px 20px 18px;
	}

	.rbr-review-card__top {
		flex-wrap: nowrap;
		gap: 10px;
	}

	.rbr-reviewer {
		flex: 1 1 auto;
	}

	.rbr-review-text.is-collapsed {
		-webkit-line-clamp: 6;
		line-clamp: 6;
	}

	.rbr-review-modal__header {
		flex-direction: column;
	}

	.rbr-review-modal {
		padding: 12px;
	}

	.rbr-review-modal__dialog {
		width: min(100%, 680px);
		max-height: min(88vh, 720px);
		overflow: auto;
		padding: 24px 18px;
		-webkit-overflow-scrolling: touch;
	}
}

@media (max-width: 420px) {
	.rbr-review-card {
		min-height: 280px;
		padding: 18px 16px 16px;
	}

	.rbr-reviewer h3 {
		font-size: 14px;
	}

	.rbr-stars {
		font-size: 14px;
		letter-spacing: 0;
	}

	.rbr-review-text {
		font-size: 14px;
		margin-top: 14px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.rbr-slider-track,
	.rbr-arrow,
	.rbr-dot {
		transition: none;
	}
}
