/* Customer Google reviews block — scoped under .yc-customer-google-reviews */

.yc-customer-google-reviews {
  background: #f8fafc;
  padding: 3rem 1.25rem;
  font-family: inherit;
}

.yc-customer-google-reviews__inner {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 0.5rem;
  box-sizing: border-box;
}

.yc-customer-google-reviews__title {
  text-align: center;
  font-size: 1.75rem;
  font-weight: 700;
  color: #111;
  margin: 0 0 2rem;
  line-height: 1.2;
}

.yc-customer-google-reviews__grid {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 2rem;
  width: 100%;
  max-width: 100%;
}

.yc-customer-google-reviews__summary {
  flex: 0 0 280px;
  max-width: 100%;
  text-align: left;
}

.yc-customer-google-reviews__summary-row {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 1rem;
}

.yc-customer-google-reviews__summary-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.yc-customer-google-reviews__logo-wrap {
  flex-shrink: 0;
  margin: 0;
  line-height: 0;
}

.yc-customer-google-reviews__logo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: contain;
  background: #fff;
  display: block;
  box-sizing: border-box;
  padding: 4px;
}

.yc-customer-google-reviews__biz-name {
  font-weight: 700;
  color: #111;
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
}

.yc-customer-google-reviews__stars {
  line-height: 1;
  letter-spacing: 0.05em;
  margin-bottom: 0.35rem;
}

.yc-customer-google-reviews__stars .yc-cgr-star {
  color: #444;
  font-size: 1.1rem;
  vertical-align: middle;
}

.yc-customer-google-reviews__stars .yc-cgr-star--on {
  color: #ffb400;
}

.yc-customer-google-reviews__stars--summary .yc-cgr-star {
  font-size: 1.25rem;
}

.yc-customer-google-reviews__count {
  margin: 0 0 1.25rem;
  font-size: 0.9rem;
  color: #64748b;
}

.yc-customer-google-reviews__cta {
  display: inline-block;
  background: #111;
  color: #fff !important;
  text-decoration: none !important;
  padding: 0.65rem 1.25rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: opacity 0.2s ease;
}

.yc-customer-google-reviews__cta:hover,
.yc-customer-google-reviews__cta:focus {
  opacity: 0.88;
  color: #fff !important;
}

.yc-customer-google-reviews__carousel-wrap {
  flex: 1 1 0;
  min-width: 0;
  position: relative;
  padding: 0 2.5rem;
  box-sizing: border-box;
  overflow: visible;
}

.yc-customer-google-reviews__empty {
  color: #64748b;
  margin: 0;
  padding: 1rem 0;
}

.yc-customer-google-reviews__slide {
  padding: 0 0.65rem;
  box-sizing: border-box;
  height: 100%;
}

.yc-customer-google-reviews__card {
  background: #1a1a1a;
  border-radius: 12px;
  padding: 1.25rem 1.35rem 1.1rem;
  height: 100%;
  min-height: 100%;
  box-sizing: border-box;
  color: #fff;
  display: flex;
  flex-direction: column;
  text-align: left;
}

.yc-customer-google-reviews__card-head {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 0.65rem;
}

.yc-customer-google-reviews__avatar {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  background: #333;
  display: flex;
  align-items: center;
  justify-content: center;
}

.yc-customer-google-reviews__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.yc-customer-google-reviews__avatar-initial {
  font-weight: 700;
  font-size: 1.1rem;
  color: #ffb400;
}

.yc-customer-google-reviews__meta {
  flex: 1;
  min-width: 0;
}

.yc-customer-google-reviews__author {
  margin: 0;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.25;
  color: #fff;
}

.yc-customer-google-reviews__when {
  margin: 0.15rem 0 0;
  font-size: 0.78rem;
  color: #94a3b8;
}

.yc-customer-google-reviews__g-badge {
  flex-shrink: 0;
  line-height: 0;
}

.yc-customer-google-reviews__rating-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.5rem;
}

.yc-customer-google-reviews__rating-row .yc-cgr-star {
  font-size: 0.95rem;
}

.yc-customer-google-reviews__verified {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.yc-customer-google-reviews__text-wrap {
  font-size: 0.88rem;
  line-height: 1.45;
  color: #e2e8f0;
  text-align: left;
}

.yc-customer-google-reviews__text {
  margin: 0;
  text-align: left;
}

.yc-customer-google-reviews .read-more-comment .read-more-text,
.yc-customer-google-reviews .read-more-comment .read-less {
  color: #94a3b8;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Equal-height slides */
.yc-customer-google-reviews__slider .slick-track {
  display: flex !important;
  align-items: stretch;
}

.yc-customer-google-reviews__slider .slick-slide {
  height: auto;
}

.yc-customer-google-reviews__slider .slick-slide > div {
  height: 100%;
}

.yc-customer-google-reviews__slider.slick-initialized {
  margin: 0 -0.5rem;
}

/* Slick arrows: icon-only buttons (no visible "Previous"/"Next" text) */
.yc-customer-google-reviews__slider button.slick-arrow.yc-cgr-slick-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 40px;
  height: 40px;
  padding: 0;
  margin: 0;
  border: none;
  border-radius: 50%;
  background-color: #111;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size: 18px 18px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  font-size: 0;
  line-height: 0;
  color: transparent;
  text-indent: -9999px;
  overflow: hidden;
}

.yc-customer-google-reviews__slider button.slick-arrow.yc-cgr-slick-btn:before {
  display: none !important;
  content: none !important;
  opacity: 0 !important;
}

/* Desktop / tablet: arrows straddle card edge (half in gutter, half over card padding) */
@media (min-width: 769px) {
  .yc-customer-google-reviews__slider .slick-list {
    margin: 0;
  }

  .yc-customer-google-reviews__slider button.slick-prev.yc-cgr-slick-btn {
    /* Align with .yc-customer-google-reviews__slide horizontal padding (0.65rem) */
    left: 0.65rem;
    top: 50%;
    transform: translate(-50%, -50%);
    background-image: url("../images/video-left-arrow.svg");
  }

  .yc-customer-google-reviews__slider button.slick-next.yc-cgr-slick-btn {
    right: 0.65rem;
    top: 50%;
    transform: translate(50%, -50%);
    background-image: url("../images/video-right-arrow.svg");
  }
}

.yc-customer-google-reviews__slider button.slick-arrow.yc-cgr-slick-btn:hover {
  opacity: 0.9;
}

@media (max-width: 991px) {
  .yc-customer-google-reviews__grid {
    flex-direction: column;
  }

  .yc-customer-google-reviews__summary {
    flex-basis: auto;
    align-self: stretch;
    width: 100%;
    max-width: none;
    text-align: left;
  }

  .yc-customer-google-reviews__summary-row {
    justify-content: flex-start;
    align-items: flex-start;
    flex-wrap: nowrap;
  }

  .yc-customer-google-reviews__summary-body {
    text-align: left;
    flex: 1 1 auto;
    min-width: 0;
  }

  .yc-customer-google-reviews__summary--with-logo .yc-customer-google-reviews__summary-body {
    text-align: left;
  }

  .yc-customer-google-reviews__carousel-wrap {
    padding: 0 2.5rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .yc-customer-google-reviews__slider.slick-initialized {
    margin-left: 0;
    margin-right: 0;
  }
}

@media (max-width: 767px) {
  .yc-customer-google-reviews {
    padding: 2rem 0.75rem;
  }

  .yc-customer-google-reviews__inner {
    padding: 0;
  }

  .yc-customer-google-reviews__grid {
    gap: 1.5rem;
  }

  /* Arrows hidden on mobile — autoplay only (see custom.js Slick responsive) */
  .yc-customer-google-reviews__carousel-wrap {
    padding: 0;
    margin: 0;
  }

  .yc-customer-google-reviews__slide {
    padding: 0 0.25rem;
  }

  .yc-customer-google-reviews__card {
    padding: 1.15rem 1rem 1rem;
  }

  .yc-customer-google-reviews .slick-list {
    margin: 0 !important;
    padding: 0 !important;
  }

  .yc-customer-google-reviews__slider .slick-arrow.yc-cgr-slick-btn {
    display: none !important;
  }
}
