/* Reviews Widget: drop-in carousel. Change the look with the --rw-* variables. */
.rw { --rw-accent: #2F5A4F; --rw-star: #F5A623; --rw-text: #1f2933; --rw-muted: #4A5361; --rw-bg: #fff; --rw-card: #fff; --rw-line: #E2E7E3; --rw-radius: 14px; --rw-font: inherit;
  font-family: var(--rw-font); color: var(--rw-text); background: var(--rw-bg); max-width: 1200px; margin: 0 auto; padding: 8px 0; }
.rw *, .rw *::before, .rw *::after { box-sizing: border-box; }
.rw__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin-bottom: 24px; }
.rw__summary { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.rw__biz { font-weight: 700; font-size: 1.15rem; line-height: 1.3; }
.rw__line { display: flex; align-items: center; gap: 8px; }
.rw__gword { font-weight: 600; color: #4285F4; }
.rw__g { position: absolute; top: 14px; right: 14px; width: 18px; height: 18px; }
.rw__g svg { width: 100%; height: 100%; }
.rw__card { position: relative; }
.rw__score { font-size: 1.4rem; font-weight: 700; line-height: 1; }
.rw__stars { color: var(--rw-star); letter-spacing: 2px; font-size: 1.15rem; line-height: 1; white-space: nowrap; }
.rw__count { color: var(--rw-muted); font-size: 1rem; }
.rw__badge { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 1rem; }
.rw__badge svg { width: 24px; height: 24px; }
.rw__cta { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 20px; border-radius: 8px; background: var(--rw-accent); color: #fff; font-weight: 600; text-decoration: none; }
.rw__cta:hover { filter: brightness(1.1); }
.rw__stage { position: relative; }
.rw__track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 6px 2px 14px; margin: 0; list-style: none; scrollbar-width: none; }
.rw__track::-webkit-scrollbar { display: none; }
.rw__card { flex: 0 0 calc((100% - 40px) / 3); scroll-snap-align: start; background: var(--rw-card); border: 1px solid var(--rw-line); border-radius: var(--rw-radius); padding: 24px; display: flex; flex-direction: column; gap: 12px; box-shadow: 0 1px 3px rgba(16,26,53,.06); }
.rw__who { display: flex; align-items: center; gap: 12px; }
.rw__avatar { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; background: var(--rw-accent); overflow: hidden; }
.rw__avatar img { width: 100%; height: 100%; object-fit: cover; }
.rw__name { font-weight: 600; line-height: 1.25; }
.rw__meta { color: var(--rw-muted); font-size: .9rem; line-height: 1.25; }
.rw__text { margin: 0; line-height: 1.65; display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.rw__card.is-open .rw__text { display: block; -webkit-line-clamp: none; }
.rw__more { align-self: flex-start; background: none; border: 0; padding: 4px 0; font: inherit; font-weight: 600; color: var(--rw-accent); cursor: pointer; }
.rw__nav { position: absolute; top: 50%; transform: translateY(-60%); width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--rw-line); background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.15); cursor: pointer; display: grid; place-items: center; z-index: 2; }
.rw__nav[disabled] { opacity: 0; pointer-events: none; }
.rw__nav--prev { left: -14px; } .rw__nav--next { right: -14px; }
.rw__nav svg { width: 18px; height: 18px; }
.rw__dots { display: flex; justify-content: center; gap: 8px; margin-top: 8px; }
.rw__dot { width: 10px; height: 10px; padding: 0; border-radius: 50%; border: 0; background: var(--rw-line); cursor: pointer; }
.rw__dot[aria-current="true"] { background: var(--rw-accent); }
.rw :focus-visible { outline: 3px solid var(--rw-accent); outline-offset: 2px; }
@media (max-width: 900px) { .rw__card { flex-basis: calc((100% - 20px) / 2); } }
@media (max-width: 600px) { .rw__card { flex-basis: 88%; } .rw__nav { display: none; } }
@media (prefers-reduced-motion: reduce) { .rw__track { scroll-behavior: auto; } }

/* Side layout (default): summary panel on the left like Elfsight. data-layout="top" puts it above. */
.rw--side { display: grid; grid-template-columns: 230px minmax(0, 1fr); grid-template-areas: "head stage" "head dots"; column-gap: 20px; align-items: start; }
.rw--side .rw__head { grid-area: head; flex-direction: column; align-items: flex-start; justify-content: flex-start; margin: 0; padding-top: 6px; }
.rw--side .rw__stage { grid-area: stage; min-width: 0; }
.rw--side .rw__dots { grid-area: dots; }
.rw--side .rw__card { flex-basis: calc((100% - 20px) / 2); }
.rw--side .rw__nav--prev { left: -10px; } .rw--side .rw__nav--next { right: -10px; }
@media (max-width: 1000px) { .rw--side .rw__card { flex-basis: 100%; } }
/* Phone: cards first, summary panel underneath */
@media (max-width: 760px) { .rw--side { display: flex; flex-direction: column; } .rw--side .rw__stage { order: 1; min-width: 0; width: 100%; } .rw--side .rw__dots { order: 2; } .rw--side .rw__head { order: 3; margin: 20px 0 0; } .rw--side .rw__card { flex-basis: 88%; } }

/* Summary shown outside the carousel (data-summary-target) */
.rw--summary { padding: 0; margin: 0; max-width: none; background: transparent; }
.rw--summary .rw__head { margin: 0; }
