@import url("/wp-content/themes/THE%20THEME/assets/css/next-company-premium-color-map.css?ver=1.1.3");

.drev-rating-badge,
.drev-card-rating-badge,
.drev-reviews-section,
.drev-reviews-section * { box-sizing: border-box; }

.drev-rating-badge {
  appearance: none;
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0 0 9px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #102F2A;
  font: inherit;
  cursor: pointer;
  text-align: left;
}
.drev-rating-badge:hover .drev-review-count,
.drev-rating-badge:focus-visible .drev-review-count { text-decoration: underline; }
.drev-rating-badge:focus-visible,
.drev-histogram-row:focus-visible,
.drev-load-more:focus-visible,
.drev-photo-thumb:focus-visible,
.drev-card-photo:focus-visible,
.drev-lightbox-close:focus-visible,
.drev-clear-filter:focus-visible,
.drev-read-more:focus-visible,
.drev-sort select:focus-visible { outline: 3px solid rgba(240,120,16,.28); outline-offset: 2px; }

.drev-stars { display: inline-flex; gap: 1px; line-height: 1; }
.drev-star { color: #d6dbe3; font-size: 15px; }
.drev-star.is-filled { color: #15614F; }
.drev-stars-large .drev-star { font-size: 21px; }
.drev-rating-number { color: #102F2A; font-weight: 800; }
.drev-review-count { color: #667287; font-weight: 500; }

.drev-card-rating-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  width: max-content;
  max-width: 100%;
  margin: 4px 0 7px;
  color: #102F2A;
  font-size: 12px;
  line-height: 1.25;
}
.drev-card-rating-badge .drev-star { font-size: 12px; }
.drev-card-rating-number { font-weight: 750; }
.drev-card-rating-count { color: #7a8494; }

.drev-reviews-section {
  width: 100%;
  padding: 44px 0 46px;
  background: #f8f9fb;
  color: #172033;
  scroll-margin-top: 88px;
}
.drev-shell { width: min(1180px, calc(100% - 36px)); margin: 0 auto; }
.drev-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 22px;
}
.drev-kicker { margin-bottom: 5px; color: #15614F; font-size: 11px; font-weight: 900; letter-spacing: .14em; }
.drev-heading h2 { margin: 0; color: #102F2A; font-size: clamp(27px, 3.2vw, 40px); line-height: 1.04; letter-spacing: -.03em; }
.drev-heading-rating { display: inline-flex; align-items: center; gap: 7px; color: #657084; font-size: 13px; white-space: nowrap; }
.drev-heading-rating strong { color: #172033; font-size: 15px; }

.drev-summary-card {
  display: grid;
  grid-template-columns: minmax(160px, .48fr) minmax(300px, 1.52fr);
  align-items: center;
  gap: 28px;
  padding: 20px 22px;
  border: 1px solid #e1e5eb;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 4px 18px rgba(7,32,73,.035);
}
.drev-overall-compact { padding-right: 24px; border-right: 1px solid #edf0f4; }
.drev-overall-number { color: #102F2A; font-size: 47px; font-weight: 900; line-height: .94; letter-spacing: -.05em; margin-bottom: 9px; }
.drev-based-on { margin-top: 8px; color: #697487; font-size: 13px; }
.drev-histogram { display: grid; gap: 3px; }
.drev-histogram-row {
  appearance: none;
  width: 100%;
  display: grid;
  grid-template-columns: 42px 1fr 48px;
  gap: 10px;
  align-items: center;
  padding: 5px 7px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #102F2A;
  cursor: pointer;
  font: inherit;
}
.drev-histogram-row:hover,
.drev-histogram-row.is-active { background: #fff5ec; }
.drev-histogram-label { font-size: 12px; font-weight: 750; }
.drev-histogram-label span { color: #15614F; }
.drev-histogram-track { height: 7px; overflow: hidden; border-radius: 99px; background: #e8ebef; }
.drev-histogram-fill { display: block; height: 100%; border-radius: inherit; background: #15614F; }
.drev-histogram-count { color: #778195; font-size: 12px; font-weight: 650; text-align: right; }

.drev-photos-block,
.drev-reviews-block { margin-top: 26px; }
.drev-subheading { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 12px; }
.drev-subheading h3 { margin: 0; color: #102F2A; font-size: 20px; line-height: 1.2; }
.drev-subheading > span { color: #7a8494; font-size: 12px; }
.drev-photo-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(158px, 188px);
  gap: 9px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
  padding: 1px 1px 7px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.drev-photo-rail::-webkit-scrollbar { display: none; }
.drev-photo-thumb,
.drev-card-photo { appearance: none; border: 0; padding: 0; background: #e8ebef; cursor: zoom-in; overflow: hidden; }
.drev-photo-thumb { aspect-ratio: 1 / 1; border-radius: 11px; scroll-snap-align: start; }
.drev-photo-thumb img,
.drev-card-photo img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform 180ms ease; }
.drev-photo-thumb:hover img,
.drev-card-photo:hover img { transform: scale(1.025); }

.drev-review-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 13px;
  color: #566276;
  font-size: 13px;
}
.drev-review-toolbar strong { color: #172033; }
.drev-toolbar-controls { display: flex; align-items: center; gap: 10px; }
.drev-photo-filter { display: inline-flex; align-items: center; gap: 6px; color: #596579; cursor: pointer; }
.drev-photo-filter input { accent-color: #15614F; }
.drev-sort select {
  min-height: 34px;
  padding: 6px 30px 6px 10px;
  border: 1px solid #d9dee6;
  border-radius: 8px;
  background: #fff;
  color: #102F2A;
  font: inherit;
}
.drev-clear-filter { appearance: none; margin-left: 7px; padding: 0; border: 0; background: transparent; color: #102F2A; font: inherit; font-size: 12px; cursor: pointer; text-decoration: underline; }
.drev-clear-filter.is-hidden { display: none; }

.drev-review-list {
  column-count: 3;
  column-gap: 16px;
  transition: opacity 140ms ease;
}
.drev-reviews-section.is-loading-reviews .drev-review-list { opacity: .48; pointer-events: none; }
.drev-review-card {
  display: inline-block;
  width: 100%;
  margin: 0 0 16px;
  padding: 16px;
  break-inside: avoid;
  border: 1px solid #e1e5eb;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 16px rgba(7,32,73,.035);
  vertical-align: top;
}
.drev-card-topline { display: flex; align-items: center; min-height: 17px; margin-bottom: 8px; }
.drev-review-card h4 { margin: 0 0 7px; color: #102F2A; font-size: 16px; line-height: 1.3; letter-spacing: -.01em; }
.drev-review-body { margin: 0; color: #4c586b; font-size: 14px; line-height: 1.55; }
.drev-review-body-wrap.is-collapsible:not(.is-expanded) .drev-review-body { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 6; overflow: hidden; }
.drev-read-more { appearance: none; margin-top: 6px; padding: 0; border: 0; background: transparent; color: #1b4e86; font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }
.drev-card-media { margin-top: 12px; }
.drev-card-photo-primary { display: block; width: 100%; aspect-ratio: 4 / 3; border-radius: 10px; }
.drev-card-photo-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-top: 6px; }
.drev-card-photo-thumb { width: 100%; aspect-ratio: 1 / 1; border-radius: 8px; }
.drev-review-meta { display: grid; gap: 3px; margin-top: 12px; color: #7a8494; font-size: 12px; line-height: 1.35; }
.drev-reviewer-line { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; }
.drev-review-author { color: #102F2A; font-weight: 800; }
.drev-verified-inline { display: inline-flex; align-items: center; gap: 3px; color: #3e7d62; font-size: 11px; font-weight: 650; }
.drev-review-variant { color: #7a8494; }
.drev-review-source-note {
  margin-top: 3px;
  font-family: "DOP Roboto Condensed", Arial, sans-serif;
  font-style: normal;
  font-weight: 400;
  color: rgb(121, 131, 148);
  font-size: 12px;
  line-height: 18px;
}

.drev-load-more-wrap { display: grid; place-items: center; gap: 7px; margin-top: 10px; }
.drev-load-more {
  appearance: none;
  min-width: 180px;
  padding: 10px 18px;
  border: 1px solid #cfd6df;
  border-radius: 9px;
  background: #fff;
  color: #102F2A;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}
.drev-load-more:hover:not(:disabled) { border-color: #15614F; }
.drev-load-more:disabled { display: none; }
.drev-load-status { min-height: 16px; color: #8a93a2; font-size: 11px; }
.drev-no-filter-results { margin: 0 0 16px; padding: 20px; border: 1px dashed #ccd4df; border-radius: 11px; background: #fff; color: #657084; text-align: center; }

.drev-lightbox[hidden] { display: none !important; }
.drev-lightbox { position: fixed; z-index: 999999; inset: 0; display: grid; place-items: center; padding: 22px; }
.drev-lightbox-backdrop { position: absolute; inset: 0; background: rgba(2,11,26,.86); backdrop-filter: blur(4px); }
.drev-lightbox-dialog { position: relative; z-index: 1; width: min(1000px,94vw); max-height: 90vh; display: flex; flex-direction: column; overflow: hidden; border-radius: 14px; background: #fff; box-shadow: 0 30px 90px rgba(0,0,0,.35); }
.drev-lightbox-dialog img { display: block; max-width: 100%; max-height: 78vh; margin: auto; object-fit: contain; background: #102F2A; }
.drev-lightbox-close { position: absolute; z-index: 2; top: 10px; right: 10px; width: 38px; height: 38px; border: 0; border-radius: 99px; background: rgba(7,32,73,.9); color: #fff; font-size: 25px; cursor: pointer; }
.drev-lightbox-caption { min-height: 18px; padding: 12px 16px; color: #4b5668; font-size: 12px; }
html.drev-lightbox-open, html.drev-lightbox-open body { overflow: hidden; }

@media (max-width: 1080px) { .drev-review-list { column-count: 2; } }
@media (max-width: 720px) {
  .drev-reviews-section { padding: 32px 0 34px; }
  .drev-shell { width: min(100% - 24px, 1180px); }
  .drev-heading { align-items: flex-start; flex-direction: column; gap: 8px; margin-bottom: 18px; }
  .drev-heading-rating { white-space: normal; }
  .drev-summary-card { grid-template-columns: 1fr; gap: 15px; padding: 16px; }
  .drev-overall-compact { padding: 0 0 14px; border-right: 0; border-bottom: 1px solid #edf0f4; }
  .drev-overall-number { font-size: 42px; }
  .drev-photos-block, .drev-reviews-block { margin-top: 22px; }
  .drev-photo-rail { grid-auto-columns: minmax(150px, 45vw); }
  .drev-review-toolbar { align-items: flex-start; flex-direction: column; gap: 9px; }
  .drev-toolbar-controls { width: 100%; justify-content: space-between; }
  .drev-review-list { column-count: 1; }
  .drev-review-card { margin-bottom: 12px; padding: 14px; }
  .drev-card-photo-primary { aspect-ratio: 4 / 3; }
}
@media (max-width: 390px) {
  .drev-shell { width: calc(100% - 20px); }
  .drev-photo-rail { grid-auto-columns: 72vw; }
  .drev-toolbar-controls { align-items: flex-start; flex-direction: column; }
  .drev-sort, .drev-sort select { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .drev-photo-thumb img, .drev-card-photo img, .drev-review-list { transition: none; } }
