/* JS Google Reviews ([jsr_reviews]) */
.jsr,.jsr-badge,.jsr-dialog{--jsr-navy:#14287b;--jsr-text:#333;--jsr-muted:#6b7280;--jsr-yellow:#fef22e;--jsr-line:#e5e7eb;font-family:inherit;color:var(--jsr-text);box-sizing:border-box}
.jsr *,.jsr-badge *,.jsr-dialog *{box-sizing:border-box}
/* Page builders (Oxygen div blocks are flex columns with align-items:flex-start) size the
   wrapper to its content, and a row of cards is very wide. A minmax(0,1fr) grid gives the
   block no minimum width, so it always takes the space it is given and scrolls inside. */
.ct-shortcode:has(>.jsr){align-self:stretch;width:100%;min-width:0}
.jsr{display:grid;grid-template-columns:minmax(0,1fr);width:100%;max-width:1200px;min-width:0;margin:0 auto}
.jsr-wrap,.jsr-track{min-width:0}

.jsr-g{width:20px;height:20px;flex:none}
.jsr-g--lg{width:34px;height:34px}

/* Stars: grey row with a yellow row clipped to the rating */
.jsr-stars{position:relative;display:inline-block;width:90px;height:18px;flex:none;vertical-align:middle;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='%23d1d5db' d='M10 1.5l2.6 5.3 5.9.9-4.3 4.1 1 5.8L10 14.9l-5.2 2.7 1-5.8L1.5 7.7l5.9-.9z'/%3E%3C/svg%3E") 0 0/18px 18px repeat-x}
.jsr-stars>span{position:absolute;inset:0 auto 0 0;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='%23fbbc04' d='M10 1.5l2.6 5.3 5.9.9-4.3 4.1 1 5.8L10 14.9l-5.2 2.7 1-5.8L1.5 7.7l5.9-.9z'/%3E%3C/svg%3E") 0 0/18px 18px repeat-x}

/* Header */
.jsr-head{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:20px}
.jsr-head-body{display:flex;flex-direction:column;gap:2px;min-width:0;margin-right:auto}
.jsr-head-title{font-weight:600;font-size:18px;line-height:1.3;color:var(--jsr-navy)}
.jsr-head-line,.jsr-badge-line{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.jsr-score{font-weight:700;font-size:18px;line-height:1}
.jsr-count{font-size:14px;color:var(--jsr-muted)}
.jsr-btn{display:inline-block;background:var(--jsr-yellow);color:#000;font-weight:700;font-size:14px;line-height:1;text-transform:uppercase;text-decoration:none;padding:13px 18px;border-radius:4px}
.jsr-btn:hover,.jsr-btn:focus-visible{background:#f2e400;color:#000;text-decoration:none}
.jsr--dark .jsr-head-title,.jsr--dark .jsr-score{color:#fff}
.jsr--dark .jsr-count{color:rgba(255,255,255,.8)}

/* Carousel */
.jsr-wrap{position:relative}
.jsr-track{display:flex;gap:16px;margin:0;padding:4px 2px 8px;list-style:none;overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;scrollbar-width:none;overscroll-behavior-x:contain}
.jsr-track::-webkit-scrollbar{display:none}
.jsr-track:focus-visible{outline:2px solid var(--jsr-yellow);outline-offset:2px}
.jsr-card{flex:0 0 calc((100% - 32px)/3);min-width:0;scroll-snap-align:start;display:flex;flex-direction:column;gap:10px;margin:0;padding:20px;background:#fff;border-radius:8px;box-shadow:0 1px 4px rgba(0,0,0,.1);text-align:left}
.jsr-card-top{display:flex;align-items:center;gap:10px}
.jsr-avatar{width:40px;height:40px;border-radius:50%;flex:none;object-fit:cover}
.jsr-avatar--letter{display:flex;align-items:center;justify-content:center;background:var(--jsr-navy);color:#fff;font-weight:600;font-size:17px}
.jsr-who{display:flex;flex-direction:column;min-width:0;margin-right:auto}
.jsr-name{max-width:100%;font-weight:600;font-size:15px;line-height:1.3;color:var(--jsr-text);text-decoration:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
a.jsr-name:hover{text-decoration:underline}
.jsr-date{font-size:13px;color:var(--jsr-muted)}
.jsr-text{font-size:15px;line-height:1.6;overflow-wrap:anywhere;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:5;overflow:hidden}
.jsr-text p{margin:0 0 .6em}
.jsr-text p:last-child{margin:0}
.jsr-card.jsr-open .jsr-text{display:block;-webkit-line-clamp:unset}
.jsr-more{align-self:flex-start;margin-top:auto;padding:0;border:0;background:none;color:var(--jsr-navy);font:inherit;font-size:14px;font-weight:600;cursor:pointer}
.jsr-more:hover{text-decoration:underline}
.jsr-more[hidden]{display:none}

.jsr-arrow{position:absolute;top:50%;z-index:2;width:40px;height:40px;margin-top:-24px;padding:0;border:0;border-radius:50%;background:#fff;box-shadow:0 1px 4px rgba(0,0,0,.2);cursor:pointer}
.jsr-arrow::before{content:"";position:absolute;top:50%;left:50%;width:10px;height:10px;border:solid var(--jsr-navy);border-width:0 2px 2px 0;transform:translate(-65%,-50%) rotate(-45deg)}
/* Arrows sit just inside the edges: parent containers often clip overflow */
.jsr-prev{left:4px}
.jsr-prev::before{transform:translate(-35%,-50%) rotate(135deg)}
.jsr-next{right:4px}
.jsr-arrow[hidden]{display:none}

@media (max-width:991px){
	.jsr-card{flex-basis:calc((100% - 16px)/2)}
}
@media (max-width:640px){
	.jsr-head{gap:10px;margin-bottom:16px}
	.jsr-head-title,.jsr-score{font-size:16px}
	.jsr-g--lg{width:30px;height:30px}
	.jsr-btn{width:100%;text-align:center}
	.jsr-track{gap:12px}
	.jsr-card{flex-basis:85%;padding:16px}
	.jsr-text{font-size:14px}
	.jsr-arrow{display:none}
	.jsr-dialog-inner{padding:16px}
}

/* Badge + dialog */
.jsr-badge{display:inline-flex;align-items:center;gap:12px;padding:12px 16px;border:0;border-top:4px solid #34a853;border-radius:6px;background:#fff;box-shadow:0 1px 4px rgba(0,0,0,.15);font:inherit;text-align:left;cursor:pointer}
.jsr-badge-body{display:flex;flex-direction:column;gap:4px}
.jsr-badge-title{font-weight:600;font-size:15px;color:var(--jsr-navy)}
.jsr-dialog{width:min(640px,calc(100% - 32px));max-height:calc(100% - 48px);padding:0;border:0;border-radius:8px;box-shadow:0 10px 40px rgba(0,0,0,.25)}
.jsr-dialog::backdrop{background:rgba(0,0,0,.55)}
.jsr-dialog-inner{padding:20px}
.jsr-close{width:36px;height:36px;padding:0;border:0;background:none;font-size:28px;line-height:1;color:var(--jsr-muted);cursor:pointer}
.jsr-list{display:flex;flex-direction:column;gap:12px;margin:0 0 20px;padding:0;list-style:none}
.jsr-list .jsr-card{box-shadow:none;border:1px solid var(--jsr-line)}

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