/* Public review photo gallery: compact, consistent across one to three photos. */
.dp-evidence-gallery{max-width:100%;min-width:0;margin:5px 0 12px}
.dp-evidence-gallery-label{font-size:11px;line-height:1.4;font-weight:700;color:#6b6879;margin-bottom:7px}
.dp-evidence-photos{display:flex;flex-wrap:nowrap;align-items:flex-start;gap:8px;max-width:100%;min-width:0;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;padding:1px 2px 5px;box-sizing:border-box}
.dp-evidence-photo{display:block;width:126px;height:100px;flex:0 0 126px;min-width:0;padding:0;border:1px solid rgba(26,26,46,.16);border-radius:9px;background:#f7f6f2;overflow:hidden;cursor:zoom-in;box-shadow:0 1px 3px rgba(18,19,30,.05)}
.dp-evidence-photo img{display:block;width:100%;height:100%;object-fit:cover}
.dp-evidence-photo:hover{border-color:#c69a37}
.dp-evidence-photo:focus-visible{outline:3px solid #b87d10;outline-offset:2px}
.dp-photo-lightbox{position:fixed;inset:0;z-index:9000;background:rgba(12,13,20,.94);display:flex;justify-content:center;align-items:center;padding:60px 54px 30px}
.dp-photo-lightbox img{max-width:100%;max-height:83vh;object-fit:contain;border-radius:7px}
.dp-photo-lightbox button{border:0;cursor:pointer;z-index:1}
.dp-photo-close{position:absolute;top:16px;right:18px;background:#fff;border-radius:8px;padding:9px 16px;color:#1a1a2e;font-weight:700}
.dp-photo-prev,.dp-photo-next{position:absolute;top:50%;transform:translateY(-50%);height:44px;width:40px;border-radius:9px;color:#1a1a2e;background:rgba(255,255,255,.95);font-size:29px;line-height:1}
.dp-photo-prev{left:8px}
.dp-photo-next{right:8px}
.dp-photo-counter{position:absolute;bottom:12px;left:50%;transform:translateX(-50%);color:#fff;font-size:13px;font-weight:700;letter-spacing:.03em}
.dp-photo-lightbox button:focus-visible{outline:3px solid #e8a020;outline-offset:2px}

/* Dealer portal retains its more discreet sizing beneath the reply text. */
.dp-dealer-review-photos:empty{display:none}
.dp-dealer-review-photos .dp-evidence-gallery{margin:9px 0 2px}
.dp-dealer-review-photos .dp-evidence-gallery-label{font-size:10px;margin-bottom:5px}
.dp-dealer-review-photos .dp-evidence-photos{gap:7px}
.dp-dealer-review-photos .dp-evidence-photo{width:72px;height:64px;flex-basis:72px;border-radius:7px;border-color:rgba(26,26,46,.18)}
@media(max-width:560px){
  .dp-evidence-photo{width:92px;height:76px;flex-basis:92px;border-radius:8px}
  .dp-evidence-gallery{margin:5px 0 10px}
  .dp-evidence-photos{gap:7px}
  .dp-photo-lightbox{padding:60px 48px 30px}
  .dp-photo-prev,.dp-photo-next{width:33px;height:42px}
  .dp-photo-prev{left:5px}
  .dp-photo-next{right:5px}
  .dp-dealer-review-photos .dp-evidence-photo{width:62px;height:58px;flex-basis:62px}
}

/* Empty approved-photo slots never reserve height on public pages. */
.dp-live-review-photos:empty,.rrev [data-dp-review-photo-id]:empty{display:none}
.dp-live-review-photos,.review-card>.dp-evidence-gallery{min-width:0;max-width:100%}

/* Customer review with approved photos. Preserve the original reviewer heading,
   display photo and text side by side, and never impose a fixed card height. */
.dp-photo-review-card.rrev,
.dp-photo-review-card.review-card{
  display:block!important;
  position:relative;
  box-sizing:border-box;
  height:auto!important;
  min-height:0!important;
  padding:0!important;
  overflow:hidden;
  border:1.5px solid #e8a020!important;
  border-radius:16px!important;
  background:#fff!important;
  box-shadow:0 5px 20px rgba(26,26,46,.055);
}
.dp-photo-review-card > .rrh,
.dp-photo-review-card > .review-header{
  padding:16px 22px 0!important;
  margin:0 0 3px!important;
  min-height:0!important;
}
.dp-photo-review-card > .rrl,
.dp-photo-review-card > .rev-author{
  padding:0 22px!important;
  margin:0 0 5px!important;
}
.dp-photo-review-card > .rrl{font-size:12px!important;color:#656779!important}
.dp-photo-review-card > .rev-author{font-style:normal!important;color:#626578!important}
.dp-photo-review-card > .dp-photo-review-columns{
  display:grid;
  grid-template-columns:minmax(0,29%) minmax(0,1fr);
  gap:24px;
  align-items:start;
  min-width:0;
  margin:10px 22px 18px;
  padding-top:16px;
  border-top:1px solid #e7c77f;
}
.dp-photo-review-card .dp-photo-review-media{
  border-right:1px solid #e7c77f;
  min-width:0;max-width:100%;padding-right:20px;
}
.dp-photo-review-card .dp-photo-review-comment{min-width:0;max-width:100%;align-self:start}
.dp-photo-review-card .dp-photo-review-comment > .rrt,
.dp-photo-review-card .dp-photo-review-comment > .rev-body{
  margin:0!important;
  padding:0!important;
  min-height:0!important;
  height:auto!important;
  font-family:'DM Sans',sans-serif!important;
  font-size:15px!important;
  line-height:1.62!important;
  font-weight:400!important;
  color:#1a1a2e!important;
  overflow-wrap:break-word;
  white-space:pre-line;
}
.dp-photo-review-card .dp-evidence-gallery{margin:0!important;max-width:100%}
.dp-photo-review-card .dp-evidence-gallery-label{
  display:block;
  margin:0 0 12px!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  color:#1a1a2e;
  font-size:14px!important;
  font-weight:700;
  line-height:1.4;
  text-align:center;
  width:100%;
}
.dp-photo-review-card .dp-evidence-photos{
  display:grid!important;
  grid-template-columns:minmax(0,1fr);
  gap:9px!important;
  width:100%;max-width:100%;
  overflow:visible!important;
  padding:0!important;
}
.dp-photo-review-card .dp-evidence-photo{
  display:block;
  width:100%!important;
  min-width:0;
  height:auto!important;
  flex:none!important;
  aspect-ratio:1.22/1;
  border-radius:10px!important;
  padding:0;
  box-shadow:0 3px 8px rgba(26,26,46,.08);
}
.dp-photo-review-card > .drep,
.dp-photo-review-card > .reply,
.dp-photo-review-card > .dp-case-state,
.dp-photo-review-card > div[style*="Resolution rating"]{
  margin:10px 22px 18px!important;
}
.dp-photo-review-card > div[style*="background:"],
.dp-photo-review-card > .rev-author + .dp-case-state{margin-left:22px!important;margin-right:22px!important}
.dp-photo-review-card > :last-child{margin-bottom:18px}
.dp-photo-review-card > .dp-photo-review-columns:last-child{margin-bottom:22px}
/* Keep desktop reviews compact when more than three approved photos are shown. */
.dp-photo-review-card .dp-evidence-gallery:is(.dp-evidence-gallery-count-4,.dp-evidence-gallery-count-5,.dp-evidence-gallery-count-6,.dp-evidence-gallery-count-7,.dp-evidence-gallery-count-8,.dp-evidence-gallery-count-9) .dp-evidence-photos{
  grid-template-columns:repeat(3,minmax(0,1fr));gap:7px!important;
}
@media(max-width:740px){
  .dp-photo-review-card > .rrh,
  .dp-photo-review-card > .review-header{padding:12px 16px 0!important}
  .dp-photo-review-card > .rrl,
  .dp-photo-review-card > .rev-author{padding:0 16px!important}
  .dp-photo-review-card > .dp-photo-review-columns{
    display:grid;grid-template-columns:minmax(0,1fr);
    gap:14px;margin:12px 16px 18px;
  }
  /* Mobile: the written review comes before the photo strip. */
  .dp-photo-review-card .dp-photo-review-comment{grid-row:1}
  .dp-photo-review-card .dp-photo-review-media{
    grid-row:2;width:100%;min-width:0;
    padding:14px 0 0;border-right:0;border-bottom:0;border-top:1px solid #e7c77f;
  }
  .dp-photo-review-card .dp-evidence-gallery{
    width:100%;max-width:360px!important;margin:0!important;
  }
  .dp-photo-review-card .dp-evidence-photos{
    display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));
    width:100%;max-width:360px;gap:8px!important;overflow:visible!important;
  }
  .dp-photo-review-card .dp-evidence-photo{
    grid-column:auto;aspect-ratio:1.22/1;max-width:100%;
  }
  .dp-photo-review-card .dp-evidence-gallery-label{margin-bottom:8px!important;max-width:100%}
  .dp-photo-review-card .dp-photo-review-comment > .rrt,
  .dp-photo-review-card .dp-photo-review-comment > .rev-body{font-size:14px!important;line-height:1.57!important}
  .dp-photo-review-card > .drep,.dp-photo-review-card > .reply{margin:8px 16px 16px!important}
}


/* DealerPulse public editorial review layout — approved 17 November 2026. */
/* Public reviews only. Never change the compact dealer-portal gallery. */
.rrev.dp-review-editorial,
.review-card.dp-review-editorial,
.dp-photo-review-card.rrev.dp-review-editorial,
.dp-photo-review-card.review-card.dp-review-editorial{
  display:block!important;position:relative;border:0!important;
  border-bottom:1px solid #d9dce3!important;border-radius:0!important;
  box-shadow:none!important;background:#fff!important;
  margin:0 0 18px!important;padding:18px 0 24px!important;
  min-height:0!important;height:auto!important;overflow:visible!important;
}
.dp-review-editorial > .rrh,
.dp-review-editorial > .review-header,
.dp-photo-review-card.dp-review-editorial > .rrh,
.dp-photo-review-card.dp-review-editorial > .review-header{
  display:grid!important;grid-template-columns:minmax(0,1fr) max-content;
  gap:12px!important;align-items:start!important;
  padding:0!important;margin:0 0 12px!important;min-height:0!important;
}
.dp-review-editorial .dp-review-identity{min-width:0;display:flex;flex-direction:column;gap:4px;}
.dp-review-editorial .dp-review-name{
  color:#1a1a2e;font-family:'DM Sans',sans-serif;font-size:clamp(16px,2.8vw,21px);
  line-height:1.2;font-weight:800;overflow-wrap:anywhere;
}
.dp-review-editorial .dp-review-date{font-size:12px;line-height:1.4;color:#717184;font-weight:400;}
.dp-review-editorial .dp-review-rating{display:flex;align-items:flex-start;justify-content:flex-end;min-width:0;}
.dp-review-editorial .dp-review-scoreline{display:flex;align-items:flex-start;gap:9px;}
.dp-review-editorial .dp-review-stars-box{display:flex;align-items:center;flex-direction:column;gap:3px;min-width:0;}
.dp-review-editorial .dp-review-stars{display:inline-flex;white-space:nowrap;gap:0;font-family:Arial,sans-serif;font-size:clamp(14px,2.2vw,20px);line-height:1.15;letter-spacing:-1px;}
.dp-review-editorial .dp-review-stars .dp-star-filled{color:#e8a020;}
.dp-review-editorial .dp-review-stars .dp-star-empty{color:#d8dbe0;}
.dp-review-editorial .dp-review-score{font-family:'DM Sans',sans-serif;font-size:clamp(16px,2.7vw,22px);font-weight:800;line-height:1.15;color:#1a1a2e;white-space:nowrap;}
.dp-review-editorial .dp-review-rating-label{font-size:11px;font-style:italic;line-height:1.2;color:#79798b;text-align:center;font-weight:400;white-space:nowrap;}
.dp-review-editorial > .rrl,
.dp-review-editorial > .dp-review-meta{
  display:flex;align-items:center;gap:12px;flex-wrap:wrap;min-width:0;
  padding:0 0 13px!important;margin:0 0 14px!important;
  border-bottom:1px solid #dfe1e7;
  font-family:'DM Sans',sans-serif;font-size:12px!important;
  font-style:normal;line-height:1.45;color:#1a1a2e!important;
}
.dp-review-editorial .dp-review-type{font-weight:400;white-space:nowrap;color:#3e4151;}
.dp-review-editorial .dp-review-vehicle{font-weight:700;overflow-wrap:anywhere;}
.dp-review-editorial .dp-review-vehicle:before{content:"";display:inline-block;height:16px;border-left:1px solid #d4d5de;vertical-align:middle;margin-right:12px;}
.dp-review-editorial > .rev-author{display:none!important;}
.dp-review-editorial > .rrt,
.dp-review-editorial > .rev-body,
.dp-review-editorial .dp-photo-review-comment > .rrt,
.dp-review-editorial .dp-photo-review-comment > .rev-body{
  display:block;margin:0!important;padding:0!important;
  font-family:'DM Sans',sans-serif!important;font-size:15px!important;
  font-style:normal!important;line-height:1.63!important;font-weight:400!important;
  color:#1a1a2e!important;white-space:pre-line;overflow-wrap:break-word;
}
.dp-photo-review-card.dp-review-editorial > .dp-photo-review-columns{
  display:flex!important;flex-direction:column!important;gap:18px!important;
  margin:0!important;padding:0!important;border:0!important;min-width:0;
}
.dp-review-editorial .dp-photo-review-comment{order:1;min-width:0;width:100%;}
.dp-review-editorial .dp-photo-review-media{
  order:2;width:100%;padding:0!important;margin:0!important;
  border:0!important;display:flex!important;justify-content:center;min-width:0;
}
.dp-review-editorial .dp-evidence-gallery{
  width:100%!important;max-width:460px!important;min-width:0;
  margin:0 auto!important;padding:0!important;position:relative;
}
.dp-review-editorial .dp-evidence-gallery-label{
  position:absolute!important;width:1px!important;height:1px!important;
  padding:0!important;margin:-1px!important;overflow:hidden!important;
  clip:rect(0 0 0 0)!important;white-space:nowrap!important;border:0!important;
}
.dp-review-editorial .dp-evidence-photos{
  width:100%!important;max-width:100%!important;min-width:0!important;
  display:flex!important;flex-wrap:wrap!important;justify-content:center!important;
  overflow:visible!important;padding:0!important;gap:9px!important;
}
.dp-review-editorial .dp-evidence-gallery-count-1 .dp-evidence-photo{
  display:block!important;flex:none!important;aspect-ratio:auto!important;
  width:100%!important;height:auto!important;min-width:0!important;
  border:0!important;border-radius:12px!important;overflow:hidden!important;
  box-shadow:0 2px 9px rgba(18,19,30,.08)!important;
}
.dp-review-editorial .dp-evidence-gallery-count-1 .dp-evidence-photo img{
  display:block;width:100%;height:auto!important;max-height:520px;
  object-fit:contain!important;
}
.dp-review-editorial .dp-evidence-gallery:not(.dp-evidence-gallery-count-1) .dp-evidence-photos{
  display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
}
.dp-review-editorial .dp-evidence-gallery:not(.dp-evidence-gallery-count-1) .dp-evidence-photo{
  display:block!important;width:100%!important;height:auto!important;min-width:0!important;
  aspect-ratio:1.22!important;border-radius:9px!important;box-shadow:none!important;
}
.dp-review-editorial .dp-evidence-gallery:not(.dp-evidence-gallery-count-1) .dp-evidence-photo img{
  width:100%!important;height:100%!important;object-fit:cover!important;
}
.dp-review-editorial > .drep,
.dp-review-editorial > .reply,
.dp-review-editorial > .dp-case-state,
.dp-photo-review-card.dp-review-editorial > .drep,
.dp-photo-review-card.dp-review-editorial > .reply,
.dp-photo-review-card.dp-review-editorial > .dp-case-state{
  margin:12px 0 0!important;
}
@media(max-width:740px){
  .dp-review-editorial > .rrh,
  .dp-review-editorial > .review-header,
  .dp-photo-review-card.dp-review-editorial > .rrh,
  .dp-photo-review-card.dp-review-editorial > .review-header{
    grid-template-columns:minmax(0,1fr) max-content;gap:8px!important;
    padding:0!important;margin:0 0 11px!important;
  }
  .dp-review-editorial .dp-review-name{font-size:16px;}
  .dp-review-editorial .dp-review-stars{font-size:15px;letter-spacing:-1px;}
  .dp-review-editorial .dp-review-score{font-size:16px;}
  .dp-review-editorial .dp-review-rating-label{font-size:10px;}
  .dp-review-editorial > .rrl,
  .dp-review-editorial > .dp-review-meta{font-size:11px!important;gap:8px;}
  .dp-review-editorial .dp-review-vehicle:before{margin-right:8px;}
  .dp-review-editorial > .rrt,
  .dp-review-editorial > .rev-body,
  .dp-review-editorial .dp-photo-review-comment > .rrt,
  .dp-review-editorial .dp-photo-review-comment > .rev-body{
    font-size:14px!important;line-height:1.6!important;
  }
  .dp-photo-review-card.dp-review-editorial > .dp-photo-review-columns{
    display:flex!important;flex-direction:column!important;gap:15px!important;margin:0!important;
  }
  .dp-review-editorial .dp-photo-review-comment{order:1!important;}
  .dp-review-editorial .dp-photo-review-media{
    order:2!important;border:0!important;padding:0!important;
  }
  .dp-review-editorial .dp-evidence-gallery{max-width:440px!important;}
}


/* DealerPulse public review correction: plain gold stars and compact inline photos — 17 Nov 2026. */
/* Dedicated star classes prevent inherited site-wide .on/.off circular badges.
   Keep this reset on the public review stars, not form rating controls. */
.dp-review-editorial .dp-review-stars{
  display:inline-flex!important;
  align-items:center!important;
  gap:2px!important;
  width:auto!important;
  height:auto!important;
  padding:0!important;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  line-height:1!important;
}
.dp-review-editorial .dp-review-stars > span{
  display:inline-block!important;
  position:static!important;
  float:none!important;
  flex:none!important;
  width:auto!important;
  height:auto!important;
  min-width:0!important;
  min-height:0!important;
  aspect-ratio:auto!important;
  padding:0!important;
  margin:0!important;
  background:transparent!important;
  background-image:none!important;
  border:0!important;
  outline:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  font-weight:400!important;
  font-family:Arial,sans-serif!important;
  line-height:1!important;
  transform:none!important;
  text-shadow:none!important;
}
.dp-review-editorial .dp-review-stars .dp-star-filled{color:#e8a020!important;}
.dp-review-editorial .dp-review-stars .dp-star-empty{color:#d8dbe0!important;}

/* Desktop: all approved image thumbnails sit inline after the comment,
   left-to-right, with no enlarged single-photo hero. */
.dp-photo-review-card.dp-review-editorial .dp-photo-review-media{
  display:flex!important;
  justify-content:flex-start!important;
  align-items:flex-start!important;
}
.dp-photo-review-card.dp-review-editorial .dp-evidence-gallery{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  margin:0!important;
}
.dp-photo-review-card.dp-review-editorial .dp-evidence-photos,
.dp-photo-review-card.dp-review-editorial .dp-evidence-gallery:not(.dp-evidence-gallery-count-1) .dp-evidence-photos{
  display:flex!important;
  flex-direction:row!important;
  flex-wrap:wrap!important;
  justify-content:flex-start!important;
  align-items:flex-start!important;
  gap:10px!important;
  width:100%!important;
  max-width:100%!important;
  overflow:visible!important;
}
.dp-photo-review-card.dp-review-editorial .dp-evidence-photo,
.dp-photo-review-card.dp-review-editorial .dp-evidence-gallery-count-1 .dp-evidence-photo,
.dp-photo-review-card.dp-review-editorial .dp-evidence-gallery:not(.dp-evidence-gallery-count-1) .dp-evidence-photo{
  box-sizing:border-box!important;
  display:block!important;
  flex:0 0 192px!important;
  width:192px!important;
  min-width:0!important;
  max-width:192px!important;
  height:150px!important;
  min-height:0!important;
  max-height:150px!important;
  aspect-ratio:auto!important;
  padding:0!important;
  margin:0!important;
  border:1px solid #e2e3e7!important;
  border-radius:9px!important;
  overflow:hidden!important;
  background:#f7f7f7!important;
  box-shadow:none!important;
}
.dp-photo-review-card.dp-review-editorial .dp-evidence-photo img,
.dp-photo-review-card.dp-review-editorial .dp-evidence-gallery-count-1 .dp-evidence-photo img,
.dp-photo-review-card.dp-review-editorial .dp-evidence-gallery:not(.dp-evidence-gallery-count-1) .dp-evidence-photo img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  min-height:0!important;
  max-height:none!important;
  object-position:center center!important;
  object-fit:contain!important;
  background:transparent!important;
}
.dp-photo-review-card.dp-review-editorial .dp-evidence-gallery:not(.dp-evidence-gallery-count-1) .dp-evidence-photo img{
  object-fit:cover!important;
}
@media(max-width:740px){
  /* Keep a single image small and centred on phones. Multiple images stay
     inline in a three-per-row strip, never a vertical pile or giant photo. */
  .dp-photo-review-card.dp-review-editorial .dp-photo-review-media{
    justify-content:center!important;
  }
  .dp-photo-review-card.dp-review-editorial .dp-evidence-gallery{
    width:100%!important;
    max-width:100%!important;
    margin:0 auto!important;
  }
  .dp-photo-review-card.dp-review-editorial .dp-evidence-photos,
  .dp-photo-review-card.dp-review-editorial .dp-evidence-gallery:not(.dp-evidence-gallery-count-1) .dp-evidence-photos{
    justify-content:center!important;
    display:flex!important;
    flex-wrap:wrap!important;
    gap:8px!important;
  }
  .dp-photo-review-card.dp-review-editorial .dp-evidence-gallery-count-1 .dp-evidence-photo{
    flex:0 0 min(200px,100%)!important;
    width:min(200px,100%)!important;
    max-width:200px!important;
    height:154px!important;
    max-height:154px!important;
  }
  .dp-photo-review-card.dp-review-editorial .dp-evidence-gallery:not(.dp-evidence-gallery-count-1) .dp-evidence-photo{
    flex:0 0 calc((100% - 16px)/3)!important;
    width:calc((100% - 16px)/3)!important;
    max-width:108px!important;
    height:84px!important;
    max-height:84px!important;
  }
}


/* Static dealer photo first-paint fallback: compact inline before public JS hydration. */
/* Generated dealer pages can contain approved inline thumbnail images in initial HTML.
   Apply the same compact geometry BEFORE deferred JavaScript reformats the review. */
.reviews-section .review-card.dp-photo-review-card:not(.dp-review-editorial) > .dp-photo-review-columns{
  display:flex!important;flex-direction:column!important;gap:15px!important;
  width:100%!important;min-width:0!important;max-width:100%!important;
  margin:12px 0 16px!important;padding:0!important;border:0!important;
}
.reviews-section .review-card.dp-photo-review-card:not(.dp-review-editorial) .dp-photo-review-comment{
  order:1!important;width:100%!important;min-width:0!important;
}
.reviews-section .review-card.dp-photo-review-card:not(.dp-review-editorial) .dp-photo-review-media{
  order:2!important;display:flex!important;justify-content:flex-start!important;
  align-items:flex-start!important;width:100%!important;min-width:0!important;
  padding:0!important;margin:0!important;border:0!important;
}
.reviews-section .review-card.dp-photo-review-card:not(.dp-review-editorial) .dp-evidence-gallery{
  display:block!important;width:100%!important;max-width:100%!important;
  min-width:0!important;margin:0!important;padding:0!important;
}
.reviews-section .review-card.dp-photo-review-card:not(.dp-review-editorial) .dp-evidence-gallery-label{
  position:absolute!important;width:1px!important;height:1px!important;
  padding:0!important;margin:-1px!important;overflow:hidden!important;
  clip:rect(0 0 0 0)!important;white-space:nowrap!important;border:0!important;
}
.reviews-section .review-card.dp-photo-review-card:not(.dp-review-editorial) .dp-evidence-photos{
  display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;
  justify-content:flex-start!important;align-items:flex-start!important;
  gap:10px!important;width:100%!important;max-width:100%!important;
  overflow:visible!important;padding:0!important;
}
.reviews-section .review-card.dp-photo-review-card:not(.dp-review-editorial) .dp-evidence-photo{
  display:block!important;box-sizing:border-box!important;
  flex:0 0 192px!important;width:192px!important;max-width:192px!important;
  height:150px!important;max-height:150px!important;
  aspect-ratio:auto!important;min-width:0!important;
  margin:0!important;padding:0!important;
  border:1px solid #e2e3e7!important;border-radius:9px!important;
  overflow:hidden!important;box-shadow:none!important;
}
.reviews-section .review-card.dp-photo-review-card:not(.dp-review-editorial) .dp-evidence-photo img{
  display:block!important;width:100%!important;height:100%!important;
  max-height:100%!important;object-fit:contain!important;
}
@media(max-width:740px){
  .reviews-section .review-card.dp-photo-review-card:not(.dp-review-editorial) .dp-photo-review-media{
    justify-content:center!important;
  }
  .reviews-section .review-card.dp-photo-review-card:not(.dp-review-editorial) .dp-evidence-photos{
    justify-content:center!important;gap:8px!important;
  }
  .reviews-section .review-card.dp-photo-review-card:not(.dp-review-editorial) .dp-evidence-gallery-count-1 .dp-evidence-photo{
    flex:0 0 min(200px,100%)!important;
    width:min(200px,100%)!important;max-width:200px!important;
    height:154px!important;max-height:154px!important;
  }
  .reviews-section .review-card.dp-photo-review-card:not(.dp-review-editorial) .dp-evidence-gallery:not(.dp-evidence-gallery-count-1) .dp-evidence-photo{
    flex:0 0 calc((100% - 16px)/3)!important;
    width:calc((100% - 16px)/3)!important;max-width:108px!important;
    height:84px!important;max-height:84px!important;
  }
}


/* iOS Safari mobile photo width fix — guard against unresolved min() flex basis. */
/* With nested percentage-sized flex containers, iOS Safari can resolve
   flex-basis:min(200px,100%) to almost zero. It leaves a ~2px vertical border
   and 154px empty thumbnail where a customer image should appear.
   Keep a definite flex-basis; max-width preserves narrow-screen containment. */
@media(max-width:740px){
  .dp-photo-review-card.dp-review-editorial .dp-evidence-gallery-count-1 .dp-evidence-photo,
  .reviews-section .review-card.dp-photo-review-card:not(.dp-review-editorial) .dp-evidence-gallery-count-1 .dp-evidence-photo{
    flex-grow:0!important;
    flex-shrink:0!important;
    flex-basis:200px!important;
    width:200px!important;
    min-width:180px!important;
    max-width:100%!important;
    height:154px!important;
    max-height:154px!important;
    box-sizing:border-box!important;
    display:block!important;
    background:#f7f7f7!important;
  }
  .dp-photo-review-card.dp-review-editorial .dp-evidence-gallery-count-1 .dp-evidence-photos,
  .reviews-section .review-card.dp-photo-review-card:not(.dp-review-editorial) .dp-evidence-gallery-count-1 .dp-evidence-photos{
    display:flex!important;
    flex-direction:row!important;
    align-items:flex-start!important;
    justify-content:center!important;
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
  }
  /* Multiple photos use definite sizes too, rather than an unresolved
     percentage flex-basis. They still wrap in natural left-to-right order. */
  .dp-photo-review-card.dp-review-editorial .dp-evidence-gallery:not(.dp-evidence-gallery-count-1) .dp-evidence-photo,
  .reviews-section .review-card.dp-photo-review-card:not(.dp-review-editorial) .dp-evidence-gallery:not(.dp-evidence-gallery-count-1) .dp-evidence-photo{
    flex:0 0 88px!important;
    width:88px!important;
    min-width:0!important;
    max-width:88px!important;
    height:84px!important;
    max-height:84px!important;
  }
}
@media(max-width:370px){
  .dp-photo-review-card.dp-review-editorial .dp-evidence-gallery:not(.dp-evidence-gallery-count-1) .dp-evidence-photo,
  .reviews-section .review-card.dp-photo-review-card:not(.dp-review-editorial) .dp-evidence-gallery:not(.dp-evidence-gallery-count-1) .dp-evidence-photo{
    flex-basis:76px!important;
    width:76px!important;
    max-width:76px!important;
  }
}


/* Mobile evidence gallery: exactly three thumbnails per row, no fourth item
   squeezed into the row at wider iPhone sizes. */
@media(max-width:740px){
  .dp-photo-review-card.dp-review-editorial .dp-evidence-gallery:not(.dp-evidence-gallery-count-1) .dp-evidence-photos,
  .reviews-section .review-card.dp-photo-review-card:not(.dp-review-editorial) .dp-evidence-gallery:not(.dp-evidence-gallery-count-1) .dp-evidence-photos{
    display:grid!important;
    grid-template-columns:repeat(3,88px)!important;
    justify-content:center!important;
    align-items:start!important;
    gap:8px!important;
    width:100%!important;
    max-width:100%!important;
    overflow:visible!important;
  }
}
@media(max-width:370px){
  .dp-photo-review-card.dp-review-editorial .dp-evidence-gallery:not(.dp-evidence-gallery-count-1) .dp-evidence-photos,
  .reviews-section .review-card.dp-photo-review-card:not(.dp-review-editorial) .dp-evidence-gallery:not(.dp-evidence-gallery-count-1) .dp-evidence-photos{
    grid-template-columns:repeat(3,76px)!important;
  }
}


/* Static review visual alignment — 17 November 2026. */
/* Static SEO dealer pages only: shared inner edge for title, reviewer,
   purchase metadata, copy, dividers and inline customer photos. */
.reviews-section > h2{
  padding-inline:24px;
}
.reviews-section .review-card.dp-review-editorial,
.reviews-section .review-card.dp-photo-review-card:not(.dp-review-editorial){
  box-sizing:border-box!important;
  padding:22px 24px 26px!important;
  border:1px solid #e3e5ec!important;
  border-radius:13px!important;
  background:#fff!important;
  box-shadow:0 3px 14px rgba(26,26,46,.04)!important;
  margin:0 0 18px!important;
  overflow:visible!important;
}
.reviews-section .review-card.dp-review-editorial > .review-header,
.reviews-section .review-card.dp-photo-review-card:not(.dp-review-editorial) > .review-header{
  padding:0!important;
  margin:0 0 14px!important;
}
.reviews-section .review-card.dp-review-editorial > .dp-review-meta{
  margin:0 0 15px!important;
  padding:0 0 13px!important;
  border-bottom:1px solid #e0e2e7!important;
}
.reviews-section .review-card.dp-photo-review-card:not(.dp-review-editorial) > .rev-author{
  padding:0!important;
}
.reviews-section .review-card.dp-photo-review-card:not(.dp-review-editorial) > .dp-photo-review-columns,
.reviews-section .review-card.dp-review-editorial > .dp-photo-review-columns{
  margin:0!important;
  padding:0!important;
  width:100%!important;
  min-width:0!important;
  border:0!important;
}
.reviews-section .review-card.dp-review-editorial > .dp-photo-review-columns .dp-photo-review-comment,
.reviews-section .review-card.dp-photo-review-card:not(.dp-review-editorial) > .dp-photo-review-columns .dp-photo-review-comment{
  padding:0!important;
  margin:0!important;
  width:100%!important;
  min-width:0!important;
}
.reviews-section .review-card.dp-review-editorial > .dp-photo-review-columns .dp-photo-review-media,
.reviews-section .review-card.dp-photo-review-card:not(.dp-review-editorial) > .dp-photo-review-columns .dp-photo-review-media{
  margin:0!important;
  padding:0!important;
  border:0!important;
  width:100%!important;
  min-width:0!important;
}
/* Keep a compact thumbnail with consistent edges. The full, uncropped
   approved customer photograph remains available on click. */
@media(min-width:741px){
  .reviews-section .review-card.dp-review-editorial .dp-evidence-photo,
  .reviews-section .review-card.dp-photo-review-card:not(.dp-review-editorial) .dp-evidence-photo{
    background:#fff!important;
    border:1px solid #e0e2e8!important;
    box-shadow:none!important;
    border-radius:9px!important;
  }
  .reviews-section .review-card.dp-review-editorial .dp-evidence-photo img,
  .reviews-section .review-card.dp-photo-review-card:not(.dp-review-editorial) .dp-evidence-photo img{
    object-fit:cover!important;
    object-position:center 42%!important;
  }
}
@media(max-width:740px){
  .reviews-section > h2{padding-inline:16px;}
  .reviews-section .review-card.dp-review-editorial,
  .reviews-section .review-card.dp-photo-review-card:not(.dp-review-editorial){
    padding:16px!important;
    border-radius:12px!important;
    margin-bottom:14px!important;
  }
  .reviews-section .review-card.dp-review-editorial > .review-header,
  .reviews-section .review-card.dp-photo-review-card:not(.dp-review-editorial) > .review-header{
    padding:0!important;
  }
}

/* Approved review comment typography — 1 December 2026.
   Tighten only the comment itself; keep the original words, deliberate line
   breaks, reviewer header, vehicle metadata, rating, gallery and replies. */
.rrev.dp-review-editorial > .rrt,
.dp-photo-review-card.rrev.dp-review-editorial .dp-photo-review-comment > .rrt,
.reviews-section .review-card.dp-review-editorial .dp-photo-review-comment > .rev-body,
.reviews-section .review-card .rev-body{
  font-size:15px!important;
  line-height:1.43!important;
  letter-spacing:normal!important;
  word-spacing:normal!important;
  text-align:left!important;
  white-space:pre-line!important;
  overflow-wrap:break-word;
  text-wrap:pretty;
}
@media(max-width:740px){
  .rrev.dp-review-editorial > .rrt,
.dp-photo-review-card.rrev.dp-review-editorial .dp-photo-review-comment > .rrt,
.reviews-section .review-card.dp-review-editorial .dp-photo-review-comment > .rev-body,
  .reviews-section .review-card .rev-body{
    font-size:14px!important;
    line-height:1.45!important;
  }
}
