/* Flexible Content layout: reviews_shortcode — template-parts/flexible/sections/reviews_shortcode.php */
.reviews-shortcode {
  padding: 48px 0;
  background-color: var(--fs-color-gray-light);
}

.reviews-shortcode .ti-widget-container {
  flex-direction: column;
  align-items: flex-start;
}

.reviews-shortcode .ti-widget.ti-goog .ti-widget-container {
  align-items: flex-start;
}

.reviews-shortcode__title {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  margin-bottom: 24px;
  line-height: 112%;
  color: var(--fs-color-navy);
}

/* ==== Trustindex widget (real markup, layout-category="slider") — scoped to .reviews-shortcode only ==== */

.reviews-shortcode .ti-footer.ti-footer-grid {
  margin-bottom: 32px;
}

.reviews-shortcode .ti-widget.ti-goog .ti-widget-container:not(.ti-col-1) .ti-footer {
  flex: 0 0 auto !important;
  max-width: 100% !important;
}

.reviews-shortcode .ti-widget.ti-goog .ti-fade-container:nth-child(1) {
  width: 100%;
  display: flex;
  flex-direction: row;
  gap: 16px !important;
  align-items: center;
  flex-wrap: wrap;
}

.reviews-shortcode .ti-widget.ti-goog .ti-rating-text strong.ti-rating {
  margin-bottom: 0;
}

.reviews-shortcode .ti-fade-container {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.reviews-shortcode .ti-widget.ti-goog .ti-widget-container:not(.ti-col-1) .ti-reviews-container {
  flex: 0 0 auto !important;
  max-width: 100% !important;
}

.reviews-shortcode .ti-large-logo {
  order: -1;
}

.reviews-shortcode .ti-large-logo img {
  width: 24px !important;
  height: auto !important;
}

.reviews-shortcode .ti-stars.star-lg img.ti-star {
  width: 16px;
  height: 16px;
}

.reviews-shortcode .ti-rating-text {
  font-size: 14px;
  color: var(--fs-color-navy);
}

.reviews-shortcode .ti-rating.ti-rating-large {
  font-size: 14px;
  font-weight: 700;
  text-transform: none;
}

.reviews-shortcode .ti-controls-line .dot {
  background-color: var(--fs-color-blue) !important;
}

@media (max-width: 500px) {
  .reviews-shortcode .ti-widget.ti-goog .ti-verified-by-row,
  .reviews-shortcode .ti-widget.ti-goog .ti-controls-line {
    display: none !important;
  }

  .ti-widget.ti-goog .ti-controls .ti-next,
  .ti-widget.ti-goog .ti-controls .ti-prev {
    display: block !important;
    background-color: var(--fs-color-navy) !important;
    width: 48px !important;
    height: 48px !important;
    border-radius: 50% !important;
  }

  .ti-widget.ti-goog .ti-controls .ti-next:before,
  .ti-widget.ti-goog .ti-controls .ti-prev:before {
    border-color: var(--fs-color-white-soft) !important;
  }

  .ti-widget.ti-goog .ti-controls {
    display: block !important;
    top: unset !important;
    bottom: -24px;
    max-width: 35% !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
  }
}

.reviews-shortcode .ti-review-item {
  border: 1px solid rgba(var(--fs-color-blue-rgb), 0.15);
  border-radius: 16px;
  padding: 0;
}

.reviews-shortcode .ti-review-item .ti-inner {
  padding: 24px;
}

.reviews-shortcode .ti-review-content {
  margin-top: 8px;
  font-size: 14px;
  line-height: 140%;
  color: var(--fs-color-navy);
}

.reviews-shortcode .ti-name {
  font-weight: 700;
  color: var(--fs-color-navy);
}

.reviews-shortcode .ti-read-more {
  color: var(--fs-color-blue);
}

.reviews-shortcode .ti-next,
.reviews-shortcode .ti-prev {
  border-color: rgba(var(--fs-color-blue-rgb), 0.3);
}