.bs-google-reviews {
  background: #f0f0f0;
  padding: 50px 0 40px;
  color: #1f1f1f;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.bs-google-reviews::before {
  content: attr(data-bg-word);
  position: absolute;
  left: 50%;
  top: 93px;
  transform: translateX(-50%);
  font-size: 255px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  background: linear-gradient(
    180deg,
    rgba(33, 33, 33, 0.14) 8%,
    rgba(33, 33, 33, 0.03) 50%,
    transparent 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

.bs-google-reviews__container {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 16px;
  position: relative;
  z-index: 2;
}

.bs-google-reviews__header {
  margin-bottom: 71px;
}

.bs-google-reviews__title {
  font-size: 28px;
  font-weight: 500;
  line-height: 1.1;
  text-transform: uppercase;
  color: #1f1f1f !important;
}

.bs-google-reviews__title span {
  color: #fcba1d;
}

.bs-google-reviews__header-layout {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.bs-google-reviews__company-line {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bs-google-reviews__company-name {
  font-size: 18px;
  line-height: 1.3;
  font-weight: 400;
  color: #212121;
}

.bs-google-reviews__summary {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  font-size: 14px;
  margin-top: 10px;
}

.bs-google-reviews__summary-layout {
  margin-top: 0;
  flex-direction: row;
  align-items: center;
  min-width: 220px;
}

.bs-google-reviews__summary-rating-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.bs-google-reviews__summary-rating {
  font-weight: 600;
  font-size: 28px;
  color: #212121;
}

.bs-google-reviews__summary-stars {
  display: inline-flex;
  gap: 2px;
}

.bs-google-reviews__summary-count {
  color: #666;
  font-size: 14px;
  line-height: 1.4;
}

.bs-google-reviews__summary-link {
  color: #1f1f1f;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.bs-google-reviews__summary-link-label {
  font-size: 12px;
  color: #666;
  text-transform: lowercase;
}

.bs-google-reviews__summary-link-brand {
  font-size: 13px;
  font-weight: 600;
  color: #1f1f1f;
}

.bs-google-reviews.reviews-block .owl-reviews .owl-nav .owl-prev,
.bs-google-reviews.reviews-block .owl-reviews .owl-nav .owl-next {
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(7.5px);
  -webkit-backdrop-filter: blur(7.5px);
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  min-height: 32px !important;
  max-width: 32px !important;
  max-height: 32px !important;
  padding: 0 !important;
}

.bs-google-reviews.reviews-block .owl-reviews .owl-nav .owl-prev {
  left: -52px;
}

.bs-google-reviews.reviews-block .owl-reviews .owl-nav .owl-next {
  right: -52px;
}

.bs-google-reviews.reviews-block .owl-reviews .owl-nav .owl-prev svg,
.bs-google-reviews.reviews-block .owl-reviews .owl-nav .owl-next svg {
  stroke: #212121;
  width: 12px;
  height: 12px;
}

/* Keep nav size identical on desktop/laptop/tablet/mobile */
@media (max-width: 1599px), (max-width: 1199px), (max-width: 991px), (max-width: 767px) {
  .bs-google-reviews.reviews-block .owl-reviews .owl-nav .owl-prev,
  .bs-google-reviews.reviews-block .owl-reviews .owl-nav .owl-next {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    min-height: 32px !important;
    max-width: 32px !important;
    max-height: 32px !important;
  }
}

@media (min-width: 769px) and (max-width: 1200px) {
  .bs-google-reviews.reviews-block .owl-reviews .owl-nav .owl-prev {
    left: -56px;
  }

  .bs-google-reviews.reviews-block .owl-reviews .owl-nav .owl-next {
    right: -56px;
  }
}

@media (max-width: 768px) {
  .bs-google-reviews.reviews-block .owl-reviews .owl-nav .owl-prev {
    left: -42px;
  }

  .bs-google-reviews.reviews-block .owl-reviews .owl-nav .owl-next {
    right: -42px;
  }
}

.bs-google-reviews__item {
  border-radius: 20px;
  height: 400px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(7.5px);
  -webkit-backdrop-filter: blur(7.5px);
  padding: 32px 37px 22px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.bs-google-reviews__item .review-author {
  margin-top: 0 !important;
  margin-bottom: 10px !important;
}

.bs-google-reviews__item .review-author > .col-3 {
  flex: 0 0 42px;
  max-width: 42px;
  width: 42px;
  padding-right: 42px;
}

.bs-google-reviews__item .review-author > .col-9 {
  flex: 1 1 auto;
  max-width: calc(100% - 42px);
}

.bs-google-reviews__item .video_review_item_raiting .review_rating {
  gap: 2px;
}

.bs-google-reviews__avatar {
  width: 42px;
  height: 42px;
  min-width: 42px;
  min-height: 42px;
  max-width: 42px;
  max-height: 42px;
  flex: 0 0 42px;
  border-radius: 50%;
  object-fit: cover;
  background: #ececec;
  display: block;
}

.bs-google-reviews__avatar--fallback {
  font-weight: 700;
  color: #212121;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.bs-google-reviews__author-name {
  font-size: 18px !important;
  font-weight: 400 !important;
  line-height: 1.2;
}

.bs-google-reviews__date {
  color: #7a7a7a !important;
  font-size: 12px !important;
}

.bs-google-reviews__star {
  color: #d0d0d0;
  font-size: 13px;
  line-height: 1;
}

.bs-google-reviews__star--filled {
  color: #ffb400;
}

.bs-google-reviews__item .review-content {
  margin-bottom: 8px !important;
  font-size: 14px;
  line-height: 1.45;
  flex: 1 1 auto;
  min-height: 0;
  max-height: none;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding-right: 10px;
  --bs-google-reviews-scrollbar-thumb-max-height: 60px;
}

@supports not selector(::-webkit-scrollbar) {
  .bs-google-reviews__item .review-content {
    scrollbar-width: thin;
    scrollbar-color: #212121 transparent;
  }
}

.bs-google-reviews__item .review-content::-webkit-scrollbar {
  width: 4px;
}

.bs-google-reviews__item .review-content::-webkit-scrollbar-button {
  display: none;
  height: 0;
}

.bs-google-reviews__item .review-content::-webkit-scrollbar-track {
  background: transparent;
}

.bs-google-reviews__item .review-content::-webkit-scrollbar-thumb {
  background: #212121;
  border-radius: 3px;
  max-height: var(--bs-google-reviews-scrollbar-thumb-max-height);
}

.bs-google-reviews__item .review-content::-webkit-scrollbar-thumb:hover,
.bs-google-reviews__item .review-content::-webkit-scrollbar-thumb:active {
  background: #212121;
}

.bs-google-reviews__item .review-content::-webkit-scrollbar-corner {
  background: transparent;
}

.bs-google-reviews__photos {
  margin-top: 8px;
}

.bs-google-reviews__photo-link {
  display: inline-flex;
  width: 72px;
  height: 72px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.bs-google-reviews__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bs-google-reviews .more {
  border: 0;
  background: transparent;
  color: #212121;
  padding: 0;
  font-size: 13px;
  text-decoration: underline;
}

.bs-google-reviews__notice {
  padding: 10px 12px;
  background: #fff3cd;
  color: #664d03;
  border: 1px solid #ffecb5;
  border-radius: 6px;
  margin: 10px 0;
}

@media (max-width: 767px) {
  .bs-google-reviews {
    padding: 36px 0;
  }

  .bs-google-reviews__title {
    font-size: 22px;
  }

  .bs-google-reviews::before {
    font-size: 72px;
    top: 76px;
  }

  .bs-google-reviews__header-layout {
    flex-direction: column;
  }

  .bs-google-reviews__header {
    margin-bottom: 50px;
    gap: 0;
  }

  .bs-google-reviews__company-name {
    font-size: 16px;
  }

  .bs-google-reviews__summary-rating {
    font-size: 20px;
  }

  .bs-google-reviews__item {
    border-radius: 16px;
    padding: 14px 16px 10px;
  }
}

@media (max-width: 1599px) {
  .bs-google-reviews {
    padding: 50px 0 84px;
  }

  .bs-google-reviews::before {
    font-size: 200px;
    top: 86px;
  }

  .bs-google-reviews__container {
    max-width: 1125px;
  }

  .bs-google-reviews__item {
    padding: 26px 27px 26px;
  }
}

@media (max-width: 1199px) {
  .bs-google-reviews {
    padding: 42px 0 48px;
  }

  .bs-google-reviews::before {
    font-size: 145px;
    top: 110px;
  }

  .bs-google-reviews__container {
    max-width: 900px;
  }

  .bs-google-reviews__item {
    padding: 22px 10px 13px 20px;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .bs-google-reviews::before {
    font-size: 104px;
    top: 100px;
  }
}
