/* Scoped entirely to .tnbgr; no FlatSome/WooCommerce global CSS overrides. */
.tnbgr{--tnbgr-orange:#ff6726;--tnbgr-text:#20252b;--tnbgr-muted:#65707d;--tnbgr-border:#e8ebef;box-sizing:border-box;color:var(--tnbgr-text);background:#fff;border:1px solid #e8ebef;border-radius:16px;padding:24px 22px 22px;margin:20px 0;font-family:inherit;box-shadow:0 5px 22px rgba(23,31,40,.055);width:100%;max-width:100%}
.tnbgr *, .tnbgr *::before, .tnbgr *::after{box-sizing:border-box}
.tnbgr a{text-decoration:none}
.tnbgr button{font-family:inherit;cursor:pointer}
.tnbgr__heading{text-align:center;margin:0 0 21px}
.tnbgr__heading h2{font-size:clamp(17px,2vw,18px);font-weight:800;line-height:1.3;margin:0 0 6px;color:var(--tnbgr-orange);letter-spacing:.005em}
.tnbgr__heading p{margin:0;color:var(--tnbgr-muted);font-size:11px;line-height:1.5}
.tnbgr__body{display:grid;grid-template-columns:minmax(235px,275px) minmax(0,1fr);gap:18px;align-items:stretch}
.tnbgr-summary{background:linear-gradient(156deg,#fffaf6 0%,#fff1e9 100%);border:1px solid #ffdac5;border-radius:13px;padding:19px 17px 13px;min-width:0;display:flex;flex-direction:column}
.tnbgr-summary__brand{display:flex;flex-wrap:wrap;gap:2px 9px;align-items:center;font-size:12px;color:#5b626e;margin-bottom:13px}
.tnbgr-summary__google{font-size:21px;font-weight:750;letter-spacing:-.8px;color:#4285f4}
.tnbgr-summary__scoreline{display:flex;align-items:center;gap:10px;justify-content:space-between}
.tnbgr-summary__score{font-weight:800;color:var(--tnbgr-orange);font-size:clamp(42px,4vw,54px);line-height:1;white-space:nowrap;font-variant-numeric:tabular-nums}
.tnbgr-summary__score span{font-size:23px;color:var(--tnbgr-text);font-weight:700}
.tnbgr-summary__rating-details{font-size:12px;color:#505965;line-height:1.5;white-space:nowrap}
.tnbgr-stars{position:relative;display:inline-block;line-height:1;letter-spacing:1px;font-size:19px;vertical-align:middle;white-space:nowrap;color:#ccd1d7}
.tnbgr-stars__empty{display:block}
.tnbgr-stars__full{position:absolute;inset:0 auto 0 0;white-space:nowrap;overflow:hidden;color:#ffb400}
.tnbgr-summary__trust{border-top:1px solid #f4d8c7;margin:15px 0 14px;padding:13px 0 0;display:flex;align-items:center;gap:8px;font-size:12px;line-height:1.45}
.tnbgr-summary__trust svg{width:25px;height:25px;color:var(--tnbgr-orange);flex:0 0 auto}
.tnbgr-summary__cta{background:var(--tnbgr-orange);color:#fff!important;border-radius:9px;display:flex;align-items:center;justify-content:center;gap:7px;text-align:center;padding:11px 9px;font-size:12px;font-weight:750;line-height:1.3;margin-top:auto;transition:background .18s ease}
.tnbgr-summary__cta:hover,.tnbgr-summary__cta:focus-visible{background:#dd4e12;color:#fff!important}
.tnbgr-reviews{min-width:0;display:flex;flex-direction:column;justify-content:center}
.tnbgr-reviews__track{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 24px)/3);gap:12px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scroll-behavior:smooth;scrollbar-width:none;overscroll-behavior-x:contain;padding:3px 2px 8px;outline-offset:1px}
.tnbgr-reviews__track::-webkit-scrollbar{display:none}
.tnbgr-card{border:1px solid var(--tnbgr-border);background:#fff;border-radius:13px;box-shadow:0 3px 10px rgba(26,33,40,.07);padding:14px 12px 12px;min-width:0;scroll-snap-align:start;display:flex;flex-direction:column;min-height:223px}
.tnbgr-card__head{display:flex;gap:8px;align-items:center;min-width:0}
.tnbgr-card__avatar{border-radius:50%;width:43px;height:43px;object-fit:cover;flex:0 0 43px;background:#edf0f3;border:1px solid #eceff1}
.tnbgr-card__initial{display:flex;align-items:center;justify-content:center;color:#596674;font-weight:750;font-size:18px}
.tnbgr-card__identity{display:flex;flex-direction:column;gap:2px;min-width:0;line-height:1.25}
.tnbgr-card__name{font-size:12px;font-weight:750;overflow-wrap:anywhere;color:var(--tnbgr-text)}
.tnbgr-card__identity time{font-size:11px;color:var(--tnbgr-muted)}
.tnbgr-card__quote{margin-left:auto;align-self:flex-start;font-size:35px;line-height:1;color:#ffc5a5;font-family:Georgia,serif}
.tnbgr-card__stars{margin:9px 0 7px}
.tnbgr-card__stars .tnbgr-stars{font-size:17px}
.tnbgr-card__copy{font-size:12px;line-height:1.6;color:#323b46;overflow:hidden;display:-webkit-box;-webkit-line-clamp:5;-webkit-box-orient:vertical;overflow-wrap:anywhere}
.tnbgr-card--expanded .tnbgr-card__copy{-webkit-line-clamp:unset;display:block}
.tnbgr-card__more{background:none!important;border:0!important;box-shadow:none!important;padding:0!important;font-weight:700;font-size:11px;color:var(--tnbgr-orange)!important;text-align:left;align-self:flex-start}
.tnbgr-card__without-copy{font-size:12px;color:var(--tnbgr-muted);line-height:1.5;margin:0}
.tnbgr-card__gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;align-items:end;align-content:end;margin-top:auto;padding-top:10px;min-width:0;width:100%;max-width:300px}
.tnbgr-card__photo-link{display:block;min-width:0;max-width:100%;width:100%;aspect-ratio:6/5;border-radius:7px;overflow:hidden;background:#eef0f2}
.tnbgr-card__photo-link img{display:block!important;width:100%!important;height:100%!important;object-fit:cover;transition:transform .2s ease}
.tnbgr-card__photo-link:hover img{transform:scale(1.04)}
.tnbgr-reviews__navigation{display:flex;justify-content:center;gap:12px;align-items:center;margin-top:2px}
.tnbgr-reviews__navigation button{width:28px;height:28px;display:grid;place-items:center;background:#fff;color:#30353c;border:1px solid #e5e9ec;border-radius:50%;box-shadow:0 2px 5px rgba(0,0,0,.045);font-size:24px;line-height:1;padding:0 0 3px}
.tnbgr-reviews__navigation button:hover:not([disabled]){color:var(--tnbgr-orange);border-color:var(--tnbgr-orange)}
.tnbgr-reviews__navigation button:disabled{opacity:.35;cursor:default}
.tnbgr-reviews__pagination{font-size:11px;color:var(--tnbgr-muted);min-width:34px;text-align:center;font-variant-numeric:tabular-nums}
.tnbgr-reviews__empty{border:1px dashed #cfd5de;border-radius:12px;padding:35px 20px;font-size:13px;color:#626b73;line-height:1.5}
.tnbgr-admin-hint{border-left:3px solid #ff6726;background:#fff8f4;padding:15px;margin:10px 0;color:#333}
@media(max-width:1050px){.tnbgr__body{grid-template-columns:235px minmax(0,1fr);gap:12px}.tnbgr-reviews__track{grid-auto-columns:calc((100% - 12px)/2)}}
@media(max-width:680px){.tnbgr{padding:19px 12px 14px;margin:0;border-radius:12px}.tnbgr__heading h2{font-size:17px}.tnbgr__heading p{font-size:11px}.tnbgr__body{display:flex;flex-direction:column;gap:13px}.tnbgr-summary{padding:16px}.tnbgr-summary__score{font-size:46px}.tnbgr-summary__cta{max-width:100%}.tnbgr-reviews__track{grid-auto-columns:minmax(76%,76%);gap:10px;scroll-padding-inline:2px}.tnbgr-card{min-height:218px}.tnbgr-reviews__navigation{margin-top:7px}}
@media(max-width:390px){.tnbgr-reviews__track{grid-auto-columns:88%}.tnbgr-summary__score{font-size:42px}.tnbgr-summary__brand{font-size:11px}}
@media(prefers-reduced-motion:reduce){.tnbgr *{scroll-behavior:auto!important;transition:none!important}}

.tnbgr-reviews__navigation[hidden],.tnbgr-card__gallery[hidden],.tnbgr-card__photo-link[hidden],.tnbgr-card__avatar[hidden]{display:none!important}

/* TNB Reviews image lightbox. Created on demand, outside the shortcode section. */
.tnbgr-card__photo-link--image{cursor:zoom-in}
.tnbgr-card__photo-link--image:focus-visible{outline:3px solid #ff6726;outline-offset:3px}
.tnbgr-card__photo-link--video{position:relative}
.tnbgr-card__video-mark{position:absolute;inset:auto auto 6px 6px;background:rgba(0,0,0,.7);color:#fff;border-radius:5px;font-size:11px;line-height:1;padding:7px 9px;pointer-events:none}
html.tnbgr-lightbox-open{overflow:hidden}
.tnbgr-lightbox,.tnbgr-lightbox *,.tnbgr-lightbox *::before,.tnbgr-lightbox *::after{box-sizing:border-box}
.tnbgr-lightbox{--tnbgr-lightbox-bg:#11161d;position:fixed;inset:0;z-index:2147483000;display:flex;align-items:center;justify-content:center;padding:clamp(10px,3vw,28px);background:rgba(7,12,19,.92);font-family:inherit;color:#fff;overscroll-behavior:contain}
.tnbgr-lightbox[hidden],.tnbgr-lightbox [hidden]{display:none!important}
.tnbgr-lightbox__panel{display:flex;flex-direction:column;width:min(100%,1280px);max-height:100%;min-width:0;min-height:0;gap:9px}
.tnbgr-lightbox__top{display:flex;align-items:center;justify-content:space-between;gap:16px;flex:0 0 auto;min-height:45px}
.tnbgr-lightbox__context{color:#e9edf2;font-size:14px;font-weight:600;line-height:1.45;overflow-wrap:anywhere}
.tnbgr-lightbox button{display:grid;place-items:center;cursor:pointer;margin:0;padding:0;border:1px solid rgba(255,255,255,.25);border-radius:50%;background:rgba(255,255,255,.12);color:#fff;box-shadow:none;transition:background .15s ease,border-color .15s ease;min-width:44px;min-height:44px;line-height:1;font-family:inherit}
.tnbgr-lightbox button:hover,.tnbgr-lightbox button:focus-visible{background:#ff6726;color:#fff;border-color:#ff6726}
.tnbgr-lightbox button:focus-visible{outline:3px solid #fff;outline-offset:2px}
.tnbgr-lightbox__close{font-size:30px;flex:0 0 auto}
.tnbgr-lightbox__stage{position:relative;display:grid;grid-template-columns:48px minmax(0,1fr) 48px;align-items:center;gap:clamp(3px,1.5vw,16px);flex:1 1 auto;min-height:0}
.tnbgr-lightbox__picture{display:flex;align-items:center;justify-content:center;position:relative;min-width:0;min-height:140px;max-height:calc(100dvh - 180px);height:100%;border-radius:12px;background:#17202b;overflow:hidden;touch-action:pan-y}
.tnbgr-lightbox__image{display:block;width:auto;height:auto;max-width:100%;max-height:calc(100dvh - 180px);object-fit:contain;box-shadow:none;border:0;border-radius:0;background:transparent}
.tnbgr-lightbox__picture--loading::before{content:"";position:absolute;left:50%;top:50%;width:32px;height:32px;border:3px solid rgba(255,255,255,.25);border-top-color:#ff6726;border-radius:50%;transform:translate(-50%,-50%);animation:tnbgr-lightbox-spin .8s linear infinite}
.tnbgr-lightbox__picture--loading .tnbgr-lightbox__image{opacity:0}
.tnbgr-lightbox__picture--error .tnbgr-lightbox__image{display:none}
.tnbgr-lightbox__error{font-size:14px;text-align:center;padding:20px;color:#e9edf2}
.tnbgr-lightbox__nav{font-size:30px}
.tnbgr-lightbox__bottom{display:flex;justify-content:space-between;align-items:center;gap:15px;min-height:36px;flex:0 0 auto}
.tnbgr-lightbox__caption{margin:0;color:#e6eaf0;font-size:13px;line-height:1.45;overflow-wrap:anywhere}
.tnbgr-lightbox__counter{font-size:13px;white-space:nowrap;font-variant-numeric:tabular-nums;color:#cdd3dc}
@keyframes tnbgr-lightbox-spin{from{transform:translate(-50%,-50%) rotate(0)}to{transform:translate(-50%,-50%) rotate(360deg)}}
@media(max-width:680px){.tnbgr-lightbox{padding:9px}.tnbgr-lightbox__top{min-height:44px}.tnbgr-lightbox__context{font-size:12px}.tnbgr-lightbox__stage{grid-template-columns:44px minmax(0,1fr) 44px;gap:2px}.tnbgr-lightbox button{min-width:44px;min-height:44px}.tnbgr-lightbox__close{min-width:44px!important;font-size:26px}.tnbgr-lightbox__nav{font-size:24px}.tnbgr-lightbox__image,.tnbgr-lightbox__picture{max-height:calc(100dvh - 150px)}.tnbgr-lightbox__picture{border-radius:8px;min-height:160px}.tnbgr-lightbox__caption,.tnbgr-lightbox__counter{font-size:12px}}
@media(prefers-reduced-motion:reduce){.tnbgr-lightbox button{transition:none}.tnbgr-lightbox__picture--loading::before{animation:none}}

/* v1.1.1: single-photo galleries must not occupy the 48px navigation grid column.
   Double-class specificity beats the mobile three-column rule defined above. */
.tnbgr-lightbox__stage.tnbgr-lightbox__stage--single{grid-template-columns:minmax(0,1fr)}
.tnbgr-lightbox__stage--single .tnbgr-lightbox__picture{grid-column:1;max-width:100%;width:100%}

/* v1.2.0: Pin attribution and disclosure, scoped to this shortcode only. */
.tnbgr-card__featured{align-self:flex-start;display:inline-flex;align-items:center;margin:5px 0 0;border-radius:999px;border:1px solid #ffd6b9;background:#fff4eb;padding:3px 7px;font-size:10px;line-height:1.25;font-weight:650;color:#a54815}


/* v1.3.0 — Unified media thumbnails + responsive reviews presentation.
 * The gallery always has three equal tracks. One photo NEVER stretches full width.
 * All declarations remain scoped to this shortcode and do not alter Flatsome. */
.tnbgr-card__gallery .tnbgr-card__photo-link{align-self:end;box-shadow:none}
.tnbgr-card__gallery img{object-position:center center}
.tnbgr-card__photo-link:focus-visible{outline:2px solid var(--tnbgr-orange);outline-offset:2px}
.tnbgr-card__more:focus-visible,.tnbgr-summary__cta:focus-visible{outline:2px solid var(--tnbgr-orange);outline-offset:3px}
.tnbgr-reviews__track{align-items:stretch}
.tnbgr-reviews__navigation button{min-width:36px;min-height:36px;width:36px;height:36px;padding:0;touch-action:manipulation}

/* More compact summary and readable swipe cards on phones. */
@media(max-width:680px){
  .tnbgr{padding:16px 12px 13px;margin:12px 0;border-radius:14px}
  .tnbgr__heading{margin-bottom:14px}
  .tnbgr__heading h2{font-size:15px;line-height:1.32;margin-bottom:5px}
  .tnbgr__heading p{font-size:11px;line-height:1.45}
  .tnbgr__body{gap:12px}
  .tnbgr-summary{padding:13px 14px 11px;border-radius:12px}
  .tnbgr-summary__brand{margin-bottom:8px;gap:3px 7px;font-size:11px}
  .tnbgr-summary__google{font-size:19px}
  .tnbgr-summary__scoreline{justify-content:flex-start;gap:16px}
  .tnbgr-summary__score{font-size:43px}
  .tnbgr-summary__score span{font-size:19px}
  .tnbgr-summary__rating-details{font-size:11px;line-height:1.35}
  .tnbgr-summary__rating-details .tnbgr-stars{font-size:17px}
  .tnbgr-summary__trust{display:none}
  .tnbgr-summary__cta{min-height:42px;margin-top:11px;padding:9px 13px;font-size:12px}
  .tnbgr-reviews__track{grid-auto-columns:calc(100% - 28px);gap:10px;padding:2px 2px 9px;scroll-padding-inline:2px}
  .tnbgr-card{min-height:294px;padding:13px 12px 12px;border-radius:12px}
  .tnbgr-card__avatar{width:40px;height:40px;flex-basis:40px}
  .tnbgr-card__name{font-size:13px}
  .tnbgr-card__identity time{font-size:11px}
  .tnbgr-card__quote{font-size:28px}
  .tnbgr-card__stars{margin:8px 0 6px}
  .tnbgr-card__copy{font-size:13px;line-height:1.55;-webkit-line-clamp:5}
  .tnbgr-card__without-copy{font-size:12px}
  .tnbgr-card__gallery{gap:6px;padding-top:11px}
  .tnbgr-card__photo-link{aspect-ratio:6/5;border-radius:7px}
  .tnbgr-reviews__navigation{margin-top:4px;gap:17px}
  .tnbgr-reviews__navigation button{width:40px;height:40px;min-width:40px;min-height:40px}
  .tnbgr-reviews__pagination{font-size:12px;min-width:46px}
}
@media(max-width:390px){
  .tnbgr-reviews__track{grid-auto-columns:calc(100% - 24px)}
  .tnbgr-summary__score{font-size:40px}
  .tnbgr-summary__scoreline{gap:12px}
  .tnbgr-card{min-height:286px}
}

/* Shortcode also behaves as a single-column widget inside narrower columns on
   wide desktop screens, not only on narrow mobile viewports. */
@supports (container-type:inline-size){
  .tnbgr{container-name:tnbgr-widget;container-type:inline-size}
  @container tnbgr-widget (max-width:760px){
    .tnbgr__body{display:flex;flex-direction:column;gap:12px}
    .tnbgr-summary{padding:13px 14px 11px}
    .tnbgr-summary__brand{margin-bottom:8px}
    .tnbgr-summary__trust{display:none}
    .tnbgr-summary__cta{margin-top:11px;min-height:42px}
    .tnbgr-reviews__track{grid-auto-columns:calc((100% - 10px)/2);gap:10px}
    .tnbgr-card__copy{font-size:13px;line-height:1.55}
  }
  @container tnbgr-widget (max-width:610px){
    .tnbgr-reviews__track{grid-auto-columns:calc(100% - 28px)}
  }
}

/* v1.5.0 — Classic mid-card arrows; counter stays in heading.
   Arrows float over the review rail without taking a separate vertical row.
   All styling is isolated to .tnbgr and works with Flatsome buttons. */
.tnbgr{padding-bottom:15px}
.tnbgr__heading{margin-bottom:11px}
.tnbgr__heading-meta{position:relative;display:flex;align-items:center;justify-content:center;min-height:23px;min-width:0}
.tnbgr__heading-meta p{margin:0;padding:0;max-width:calc(100% - 110px);text-align:center;line-height:1.45}
.tnbgr .tnbgr-reviews__pagination{position:absolute;right:0;top:50%;transform:translateY(-50%);display:inline-block;min-width:42px;text-align:center;font-size:12px;font-weight:650;line-height:1.35;white-space:nowrap;color:#55606b;font-variant-numeric:tabular-nums}
.tnbgr .tnbgr-reviews__stage{position:relative;min-width:0;width:100%;isolation:isolate}
.tnbgr .tnbgr-reviews__navigation{position:absolute;inset:0;z-index:3;display:block;width:auto;height:auto;margin:0;padding:0;border:0;background:none;box-shadow:none;pointer-events:none}
.tnbgr .tnbgr-reviews__navigation[hidden]{display:none!important}
.tnbgr .tnbgr-reviews__navigation button{position:absolute;top:50%;transform:translateY(-50%);z-index:1;display:grid;place-items:center;flex:none;width:40px;height:40px;min-width:40px;min-height:40px;margin:0!important;padding:0 0 3px!important;background:#fff!important;border:1px solid #dde3e9!important;border-radius:50%;box-shadow:0 2px 10px rgba(15,23,42,.13)!important;color:#293544!important;font-size:26px;font-weight:500;line-height:1;cursor:pointer;touch-action:manipulation;pointer-events:auto;transition:border-color .15s,background .15s,color .15s}
.tnbgr .tnbgr-reviews__prev{left:-17px}
.tnbgr .tnbgr-reviews__next{right:-17px}
.tnbgr .tnbgr-reviews__navigation button:hover:not(:disabled){border-color:#ffb38e!important;color:#d24a14!important;background:#fff7f3!important}
.tnbgr .tnbgr-reviews__navigation button:focus-visible{outline:2px solid var(--tnbgr-orange);outline-offset:3px}
.tnbgr .tnbgr-reviews__navigation button:disabled{opacity:.35;cursor:default;box-shadow:none!important}
.tnbgr-reviews__track{padding-bottom:5px}
/* Keep 1 / N exactly where it appeared in v1.4.0, with a little more
   subtitle width now that the arrows live beside the cards. */
@media(max-width:680px){
  .tnbgr{padding:15px 12px 11px}
  .tnbgr__heading{margin-bottom:10px}
  .tnbgr__heading-meta{justify-content:flex-start;min-height:24px;padding-right:54px}
  .tnbgr__heading-meta p{padding:0;max-width:100%;font-size:11px;line-height:1.35;text-align:center}
  .tnbgr .tnbgr-reviews__pagination{font-size:11px;min-width:40px}
  .tnbgr .tnbgr-reviews__navigation button{width:40px;height:40px;min-width:40px;min-height:40px;font-size:25px}
  .tnbgr .tnbgr-reviews__prev{left:-20px}
  .tnbgr .tnbgr-reviews__next{right:-20px}
  .tnbgr-card{min-height:278px}
}
@media(max-width:390px){
  .tnbgr-card{min-height:270px}
}
/* Narrow UX Builder columns even when device viewport is wide. */
@supports(container-type:inline-size){
  @container tnbgr-widget (max-width:760px){
    .tnbgr__heading{margin-bottom:10px}
    .tnbgr__heading-meta{justify-content:flex-start;min-height:24px;padding-right:54px}
    .tnbgr__heading-meta p{padding:0;max-width:100%;font-size:11px;line-height:1.35;text-align:center}
    .tnbgr .tnbgr-reviews__prev{left:-20px}
    .tnbgr .tnbgr-reviews__next{right:-20px}
  }
}
@media(prefers-reduced-motion:reduce){
  .tnbgr .tnbgr-reviews__navigation button{transition:none}
}


/* v1.6.0 — Reduced vertical footprint without changing carousel navigation,
   the 1/N counter, pinned order, lightbox or content behavior. */
.tnbgr{padding-top:18px;padding-bottom:11px}
.tnbgr__heading{margin-bottom:8px}
.tnbgr__heading h2{margin-bottom:0}
.tnbgr__body{gap:14px}
.tnbgr-summary{padding:14px 14px 10px}
.tnbgr-summary__brand{margin-bottom:9px}
.tnbgr-summary__trust{margin:10px 0 9px;padding-top:9px}
.tnbgr-card{min-height:195px;padding:12px 11px 10px}
.tnbgr-card__avatar{width:39px;height:39px;flex-basis:39px}
.tnbgr-card__stars{margin:7px 0 5px}
.tnbgr-card__gallery{padding-top:0}
.tnbgr-reviews__track{padding-bottom:3px}
@media(max-width:680px){
  .tnbgr{padding:13px 11px 10px}
  .tnbgr__heading{margin-bottom:8px}
  .tnbgr__body{gap:9px}
  .tnbgr-summary{padding:11px 12px 10px}
  .tnbgr-summary__brand{margin-bottom:6px}
  .tnbgr-summary__cta{margin-top:9px;min-height:40px}
  .tnbgr-card{min-height:247px;padding:11px 10px 10px}
  .tnbgr-card__avatar{width:38px;height:38px;flex-basis:38px}
  .tnbgr-card__gallery{padding-top:7px}
}
@media(max-width:390px){
  .tnbgr-card{min-height:239px}
}
@supports(container-type:inline-size){
  @container tnbgr-widget (max-width:610px){
    .tnbgr-card{min-height:247px}
  }
}

/* v1.6.2: Native HTML5 video in the same local popup; no iframe/library.
   Scoped selectors avoid interference with Flatsome video elements. */
.tnbgr-lightbox__video{display:block;max-width:100%;max-height:calc(100dvh - 180px);width:auto;height:auto;min-width:0;object-fit:contain;background:#080d13;border:0;border-radius:8px;box-shadow:none}
.tnbgr-lightbox__picture--video{background:#080d13}
.tnbgr-lightbox__picture--video .tnbgr-lightbox__video{margin:auto}
.tnbgr-lightbox__picture--error .tnbgr-lightbox__video{display:none}
@media(max-width:680px){
 .tnbgr-lightbox__video{max-height:calc(100dvh - 150px);max-width:100%}
 .tnbgr-lightbox__picture--video{min-height:210px}
}

/* v1.6.3 — Compact review cards / mobile UX, applied AFTER the owner's custom CSS.
 * Scoped to TNB reviews only. Original typography/colors above are preserved.
 * A consistent three-slot gallery is used even for one image or one video. */
.tnbgr{padding-top:15px;padding-bottom:12px}
.tnbgr__heading{margin-bottom:9px}
.tnbgr__body{gap:13px}
.tnbgr-summary{padding:12px 13px 11px}
.tnbgr-summary__brand{margin-bottom:7px}
.tnbgr-summary__trust{margin:9px 0 8px;padding-top:9px}
.tnbgr-summary__cta{min-height:36px;padding:9px 8px}
.tnbgr-reviews{justify-content:stretch}
.tnbgr-reviews__track{align-items:stretch;padding-top:2px;padding-bottom:3px}
.tnbgr-card{min-height:229px;padding:10px 11px 10px}
.tnbgr-card__head{gap:7px}
.tnbgr-card__avatar{width:36px;height:36px;flex:0 0 36px}
.tnbgr-card__identity{gap:1px}
.tnbgr-card__quote{font-size:26px}
.tnbgr-card__featured{margin-top:4px;padding:2px 6px}
.tnbgr-card__stars{margin:6px 0 5px}
.tnbgr-card__stars .tnbgr-stars{font-size:16px}
.tnbgr-card__copy{font-size:12px;line-height:1.5;-webkit-line-clamp:3}
/* Progressive enhancement: with JS disabled, never hide the original review text. */
.tnbgr:not(.tnbgr--ready) .tnbgr-card__copy{display:block;-webkit-line-clamp:unset}
.tnbgr .tnbgr-card--expanded .tnbgr-card__copy{display:block;-webkit-line-clamp:unset}
.tnbgr-card__more{font-size:11px;line-height:1.35;margin-top:0!important;padding:2px 0!important}
.tnbgr-card__more[hidden]{display:none!important}
.tnbgr-card__without-copy{font-size:11.5px;line-height:1.45}
/* At most ~64px per image (not full-width for a single attachment). */
.tnbgr-card__gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;width:100%;max-width:202px;padding-top:7px;margin-top:auto}
.tnbgr-card__photo-link{aspect-ratio:6/5;border-radius:7px}
/* Expanded text may grow naturally; the gallery and hover overlay still work. */
.tnbgr .tnbgr-card--expanded{min-height:229px}
@media (max-width:1050px) and (min-width:681px){
  .tnbgr-card{min-height:224px}
}
@media (max-width:680px){
  .tnbgr{padding:12px 11px 10px;margin:0}
  .tnbgr__heading{margin-bottom:9px}
  .tnbgr__body{gap:9px}
  /* Two-column score and CTA under the brand, without losing Google attribution. */
  .tnbgr-summary{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"brand brand" "score cta";align-items:center;gap:6px 8px;padding:10px 11px}
  .tnbgr-summary__brand{grid-area:brand;margin:0;gap:3px 7px}
  .tnbgr-summary__google{font-size:18px}
  .tnbgr-summary__scoreline{grid-area:score;gap:8px;justify-content:flex-start;min-width:0}
  .tnbgr-summary__score{font-size:32px}
  .tnbgr-summary__score span{font-size:16px}
  .tnbgr-summary__rating-details{font-size:10px;line-height:1.35}
  .tnbgr-summary__rating-details .tnbgr-stars{font-size:13px}
  .tnbgr-summary__cta{grid-area:cta;margin:0;min-width:0;min-height:38px;padding:7px 9px;font-size:10px;white-space:nowrap;line-height:1.3}
  .tnbgr-summary__trust{display:none}
  .tnbgr-reviews__track{grid-auto-columns:calc(100% - 24px);gap:9px;padding:2px 2px 3px}
  .tnbgr-card{min-height:229px;padding:10px 11px}
  .tnbgr-card__avatar{width:36px;height:36px;flex-basis:36px}
  .tnbgr-card__name{font-size:12px}
  .tnbgr-card__copy{font-size:12px;line-height:1.5;-webkit-line-clamp:3}
  .tnbgr-card__gallery{max-width:202px;padding-top:7px}
  .tnbgr .tnbgr-reviews__navigation button{width:36px;height:36px;min-width:36px;min-height:36px}
  .tnbgr .tnbgr-reviews__prev{left:-14px}
  .tnbgr .tnbgr-reviews__next{right:-14px}
}
@media (max-width:359px){
  /* Tight phones: two-line CTA to avoid crushing the average rating. */
  .tnbgr-summary{grid-template-columns:minmax(0,1fr) 125px;gap:5px}
  .tnbgr-summary__scoreline{gap:5px}
  .tnbgr-summary__score{font-size:29px}
  .tnbgr-summary__score span{font-size:14px}
  .tnbgr-summary__rating-details .tnbgr-stars{font-size:11px}
  .tnbgr-summary__cta{white-space:normal;min-height:40px;font-size:10px;padding:6px}
  .tnbgr-reviews__track{grid-auto-columns:calc(100% - 18px)}
}
/* Container queries are important for a narrow Flatsome UX Builder column
 * rendered on a wide desktop viewport. */
@supports (container-type:inline-size){
  @container tnbgr-widget (max-width:610px){
    .tnbgr-summary{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"brand brand" "score cta";align-items:center;gap:6px 8px;padding:10px 11px}
    .tnbgr-summary__brand{grid-area:brand;margin:0}
    .tnbgr-summary__scoreline{grid-area:score;gap:8px;justify-content:flex-start}
    .tnbgr-summary__score{font-size:32px}
    .tnbgr-summary__score span{font-size:16px}
    .tnbgr-summary__rating-details{font-size:10px}
    .tnbgr-summary__rating-details .tnbgr-stars{font-size:13px}
    .tnbgr-summary__cta{grid-area:cta;margin:0;min-height:38px;padding:7px 9px;font-size:10px;white-space:nowrap}
    .tnbgr-summary__trust{display:none}
    .tnbgr-reviews__track{grid-auto-columns:calc(100% - 24px)}
    .tnbgr-card{min-height:229px}
    .tnbgr .tnbgr-reviews__prev{left:-14px}
    .tnbgr .tnbgr-reviews__next{right:-14px}
  }
  @container tnbgr-widget (max-width:350px){
    .tnbgr-summary{grid-template-columns:minmax(0,1fr) 125px;gap:5px}
    .tnbgr-summary__score{font-size:29px}
    .tnbgr-summary__score span{font-size:14px}
    .tnbgr-summary__rating-details .tnbgr-stars{font-size:11px}
    .tnbgr-summary__cta{white-space:normal;min-height:40px;padding:6px}
    .tnbgr-reviews__track{grid-auto-columns:calc(100% - 18px)}
  }
}
/* Tablet & narrow Flatsome columns: the Google score stays horizontal too,
 * preventing a tall summary row above the carousel around 680–800px. */
@supports (container-type:inline-size){
  @container tnbgr-widget (min-width:611px) and (max-width:760px){
    .tnbgr-summary{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"brand brand" "score cta";align-items:center;gap:6px 12px;padding:10px 13px}
    .tnbgr-summary__brand{grid-area:brand;margin:0}
    .tnbgr-summary__scoreline{grid-area:score;justify-content:flex-start;gap:12px}
    .tnbgr-summary__score{font-size:36px}
    .tnbgr-summary__score span{font-size:18px}
    .tnbgr-summary__rating-details{font-size:11px}
    .tnbgr-summary__rating-details .tnbgr-stars{font-size:15px}
    .tnbgr-summary__trust{display:none}
    .tnbgr-summary__cta{grid-area:cta;margin:0;min-height:38px;white-space:nowrap;font-size:11px;padding:8px 12px}
  }
}
