/* Native slide width, spacing and movement remain Divi-owned. No fixed height. */
.et_pb_group_carousel[data-drb-review-carousel] > .et_pb_group_carousel_container > .et_pb_group_carousel_track { align-items:flex-start; }
/* Divi's generic slide-count rule also matches nested Groups. Restore intrinsic
   flex sizing inside a Review Card. The native shorthand also disables shrink,
   which otherwise squeezes a sibling profile image to zero in narrow cards. */
.et_pb_group_carousel[data-drb-review-carousel] .drb-review-card .et_pb_group { flex-basis:auto; flex-shrink:1; }
.drb-carousel-rotation { align-self:center; cursor:pointer; padding:8px 14px; border:1px solid currentColor; border-radius:4px; background:#fff; color:#172033; font:inherit; }
.drb-carousel-rotation:focus-visible, [data-drb-review-carousel] > .et_pb_group_carousel_arrow:focus-visible, [data-drb-review-carousel] .et_pb_group_carousel_dot:focus-visible { outline:3px solid #1769aa; outline-offset:4px; }
.et-vb-wireframe [data-drb-review-carousel] .et_pb_group_carousel_clone { display:none; }
[data-drb-profile-nav] > .et_pb_group_carousel_dots { display:none!important; }
/* Position the original native arrow nodes; all their decoration stays Divi-owned. */
.et_pb_group_carousel[data-drb-profile-nav] > .et_pb_group_carousel_arrow {
  top:var(--drb-nav-y)!important; bottom:auto!important; right:auto!important;
  transform:translate(-50%,-50%)!important; z-index:25;
}
.et_pb_group_carousel[data-drb-profile-nav] > .et_pb_group_carousel_arrow_prev { left:calc(50% - var(--drb-nav-arrow-offset))!important; }
.et_pb_group_carousel[data-drb-profile-nav] > .et_pb_group_carousel_arrow_next { left:calc(50% + var(--drb-nav-arrow-offset))!important; }
.drb-profile-navigation { display:flex; align-items:center; justify-content:center; width:100%; min-width:0; padding:8px 0; margin-top:var(--drb-nav-space,32px); }
.drb-profile-strip { position:relative; flex:none; max-width:100%; min-width:0; direction:ltr; }
/* Width equals the visible photo border box. Targets may extend vertically to
   44px, never horizontally into a neighbor. There are no hidden fixed slots. */
.drb-profile-button { position:absolute; top:50%; transform:translate(-50%,-50%); width:var(--drb-photo-size); height:max(44px,var(--drb-photo-size)); display:grid; place-items:center; padding:0; margin:0; border:0; background:transparent; cursor:pointer; transition:left .2s ease,width .2s ease,height .2s ease; }
.drb-profile-button[hidden] { display:none; }
.drb-profile-face { position:relative; display:grid; place-items:center; width:var(--drb-photo-size); height:var(--drb-photo-size); border:var(--drb-thumb-border,2px) solid transparent; border-radius:var(--drb-thumb-radius,100%); background:#e2e8f0; color:#334155; font:600 16px/1 sans-serif; overflow:hidden; box-sizing:border-box; transition:width .2s ease,height .2s ease,box-shadow .2s ease; }
.drb-profile-face img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.drb-profile-button[aria-current="true"] .drb-profile-face { border-color:var(--drb-thumb-border-color,#1769aa); box-shadow:var(--drb-thumb-shadow,0 3px 9px #0003); }
.drb-profile-button:focus-visible,.drb-read-more:focus-visible { outline:3px solid #1769aa; outline-offset:2px; }
@media(prefers-reduced-motion:reduce) { .drb-profile-button,.drb-profile-face { transition:none; } }.drb-review-collapsed { display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:var(--drb-review-lines,3); overflow:hidden; }
/* Chromium's legacy multi-block clamp includes paragraph block spacing after
   the truncation line in its clipping box, allowing the next line to paint.
   The collapsed excerpt uses continuous line boxes (paragraph breaks remain);
   expanded content immediately regains all native paragraph spacing. Let the
   browser count actual lines, including responsive fonts and inline formatting. */
.et_pb_text .et_pb_text_inner.drb-review-collapsed p { margin-block:0!important; padding-block:0!important; }
.drb-read-more { display:block; width:100%; box-sizing:border-box; margin:12px auto 0; min-height:44px; padding:6px 12px 0; border:0; background:transparent; text-decoration:underline; font:inherit; color:inherit; text-align:center; cursor:pointer; }
/* The native Text layout gap is between its content and our added button.
   Only an explicit button margin owns this pair. Unset keeps legacy spacing;
   review paragraphs, module margins, and typography remain untouched. */
.et_pb_text[data-drb-read-more-spacing] { row-gap:0!important; }
.drb-read-more[hidden] { display:none; }
@media(prefers-reduced-motion:reduce) {
  [data-drb-review-carousel] > .et_pb_group_carousel_container > .et_pb_group_carousel_track { transition-duration:0ms!important; }
}
.drb-review-dialog { box-sizing:border-box;position:fixed;inset:0;margin:auto;border:0;width:min(var(--drb-popup-width,760px),calc(100vw - 32px));max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);overflow:auto;overscroll-behavior:contain;box-shadow:0 16px 60px #0005; }
.drb-review-dialog::backdrop { background:var(--drb-popup-backdrop,rgba(0,0,0,.65)); }
.drb-popup-close {position:absolute;top:8px;right:8px;display:grid;place-items:center;box-sizing:border-box;width:44px;height:44px;min-height:44px;margin:0;padding:10px;cursor:pointer;border:1px solid currentColor;border-radius:50%;background:transparent;color:inherit;font:inherit;z-index:1;}
.drb-popup-close:focus-visible { outline:3px solid #2563eb;outline-offset:2px; }
.drb-popup-photo { width:64px;height:64px;object-fit:cover;border-radius:50%; }
.drb-popup-content > * { margin-bottom:16px; }
.drb-popup-media .drb-media { max-height:65vh; }
.drb-popup-body { overflow:visible; }

.drb-popup-close svg {display:block;width:var(--drb-popup-close-size,24px);height:var(--drb-popup-close-size,24px);}
/* Reserve inline space for the cross, never a separate row above the review. */
.drb-popup-content > :first-child {margin-top:0;margin-inline-end:52px;}

/* Contents wrappers preserve the legacy stacked flow, including native heading
   typography. Only the optional beside layout creates a new profile row. */
.drb-popup-profile,.drb-popup-identity {display:contents;}
.drb-popup-profile > .drb-popup-photo {width:var(--drb-popup-photo-size,64px);height:var(--drb-popup-photo-size,64px);max-width:100%;border-radius:var(--drb-popup-photo-radius,50%);margin-bottom:var(--drb-popup-photo-spacing,16px);}
.drb-popup-identity > * {margin-bottom:16px;}
.drb-popup-identity > :first-child {margin-top:0;}
.drb-popup-identity[data-name-company-gap] > .drb-popup-name {margin-bottom:var(--drb-popup-name-company-gap);padding-bottom:0;}
.drb-popup-identity[data-name-company-gap] > .drb-popup-company {margin-top:0;}
.drb-popup-profile > :first-child {margin-top:0;margin-inline-end:var(--drb-popup-close-space,52px);}
/* Inline photos participate in text alignment. A one-sided cross gutter shifts
   a centered photo left by half that margin. Keep its margin symmetric and
   limit large photos symmetrically so the independent close target stays clear. */
.drb-popup-profile[data-layout="stacked"] > .drb-popup-photo {margin-inline:0;max-width:calc(100% - 2 * var(--drb-popup-close-space,52px));height:auto;aspect-ratio:1;}
.drb-popup-profile .drb-popup-identity > :last-child {margin-bottom:var(--drb-popup-profile-gap,16px);}
.drb-popup-profile[data-explicit-gap] .drb-popup-identity > :last-child {padding-bottom:0;}
.drb-popup-profile[data-explicit-gap] > .drb-popup-photo:last-child {margin-bottom:var(--drb-popup-profile-gap);}
.drb-popup-profile[data-layout="beside"] {display:flex;align-items:center;gap:var(--drb-popup-photo-spacing,16px);margin-bottom:var(--drb-popup-profile-gap,16px);margin-inline-end:var(--drb-popup-close-space,52px);}
.drb-popup-profile[data-layout="beside"] > .drb-popup-photo {display:block;flex:0 1 auto;object-fit:cover;margin:0;}
.drb-popup-profile[data-layout="beside"] .drb-popup-identity {display:block;min-width:0;overflow-wrap:anywhere;flex:1;margin-inline-end:0;}
.drb-popup-profile[data-layout="beside"] .drb-popup-identity > :last-child {margin-bottom:0;}
.drb-popup-body[data-paragraph-spacing] p {margin-top:0;margin-bottom:var(--drb-popup-paragraph-gap);padding-bottom:0;}
.drb-popup-body[data-paragraph-spacing] p:last-child {margin-bottom:0;}
.drb-review-dialog[data-builder-preview] {z-index:100;}
.drb-review-dialog[data-builder-preview] .drb-media-play:disabled {cursor:default;}
/* Opt-in real card enlargement. Slide flex-basis and track translation remain
   native. The wrapper and its Review Card share the enlarged paint bounds. */
.et_pb_group_carousel[data-drb-active-card-size] > .et_pb_group_carousel_container > .et_pb_group_carousel_track { align-items:center;min-height:var(--drb-active-card-reserve); }
.et_pb_group_carousel[data-drb-active-card-size] > .et_pb_group_carousel_container > .et_pb_group_carousel_track > .et_pb_group_carousel_slide_active { z-index:10; }
.et_pb_group_carousel[data-drb-active-card-size] > .et_pb_group_carousel_container > .et_pb_group_carousel_track > .et_pb_group_carousel_slide_active > .et_pb_group { width:calc(100% + var(--drb-active-card-width));max-width:none;margin-inline:calc(var(--drb-active-card-width) / -2);margin-block:0;transform:none!important; }
.et_pb_group_carousel[data-drb-active-card-size] > .et_pb_group_carousel_container > .et_pb_group_carousel_track > .et_pb_group_carousel_slide_active > .et_pb_group > .drb-review-card { --drb-fixed-card-height:calc(var(--drb-card-base-height) + var(--drb-active-card-height));width:100%;max-width:none; }
.et_pb_group_carousel[data-drb-active-card-size] > .et_pb_group_carousel_container { overflow:clip; }

/* With one visible slide only, retain the native shadow at the viewport edge. */
.et_pb_group_carousel.et_pb_group_carousel_slides_1[data-drb-active-card-size] > .et_pb_group_carousel_container { overflow-clip-margin:var(--drb-active-card-clearance,0px); }

.drb-review-card[data-drb-fixed-card] { height:max(var(--drb-fixed-card-height,400px),var(--drb-fixed-minimum,0px));max-height:none;display:flex;flex-direction:column; }
.drb-review-card[data-drb-fixed-card] .et_pb_module.drb-fixed-text-path { display:flex;flex-direction:column;flex:1 1 auto;min-height:0; }
.drb-review-card[data-drb-fixed-card] .drb-fixed-text-path > .et_pb_module:not(.drb-fixed-text-path) { flex-shrink:0; }
.drb-review-card[data-drb-fixed-card] .drb-fixed-text-path > .et_pb_text_inner { flex:0 1 auto;min-height:0; }
.drb-review-card[data-drb-fixed-card] .drb-fixed-text-path > .drb-read-more { flex:none;margin-top:auto; }
.drb-review-card[data-drb-fixed-card] > .drb_review_media { flex:1 1 auto;min-height:0;max-height:100%;width:100%; }
.drb-review-card[data-drb-fixed-card][data-drb-fixed-body] > .drb_review_media { flex:0 0 45%; }
.drb-review-card[data-drb-fixed-card] > .drb_review_media .drb-media { height:100%;max-height:100%;aspect-ratio:auto; }
.drb-review-card[data-drb-fixed-card].drb-fixed-oversized { height:auto;min-height:var(--drb-fixed-card-height,400px); }
.drb-review-card[data-drb-fixed-card]:has(.drb-read-more[aria-expanded="true"]) {height:auto;min-height:var(--drb-fixed-card-height,400px);}
.drb-review-card[data-drb-fixed-card] .drb_review_media > [data-drb-media-builder] { height:100%;width:100%;min-height:0; }
.drb-review-card[data-drb-fixed-card] > .drb_review_media:has(.drb-media-placeholder) { flex:0 0 52px;height:52px; }
.drb-marquee .drb-review-card[data-drb-fixed-card] > .drb_review_media:has(.drb-media-placeholder) { position:absolute;inset:0 0 auto;height:0;z-index:2; }
.drb-marquee .drb-review-card[data-drb-fixed-card] > .drb_review_media:has(.drb-media-placeholder) .drb-media-placeholder { position:absolute;inset:0 0 auto;height:52px;box-sizing:border-box; }
/* A marquee's configured card height is the collapsed outer border box. The
   shared minimum remains available to carousels and inline-expanded cards. */
.drb-marquee[data-height-mode="fixed"] .drb-review-card[data-drb-fixed-card]:not(:has(.drb-read-more[aria-expanded="true"])) { position:relative;box-sizing:border-box;height:var(--drb-fixed-card-height,400px);min-height:0;max-height:var(--drb-fixed-card-height,400px); }
