/**
 * Trustindex Google – ciemna sekcja „Co mówią klientki”.
 * Wtyczka ładuje CSS po motywie i używa !important – trzeba wyższej specyficzności.
 */

.main-home .reviews-google .ti-widget.ti-goog {
  max-width: 100%;
  margin-top: 8px;
}

.main-home .reviews-google .ti-widget.ti-goog .ti-widget-container {
  background: transparent !important;
  box-shadow: none !important;
}

/* Ocena zbiorcza – jasny tekst na zieleni */
.main-home .reviews-google .ti-widget.ti-goog .ti-footer,
.main-home .reviews-google .ti-widget.ti-goog .ti-footer .ti-fade-container,
.main-home .reviews-google .ti-widget.ti-goog .ti-rating-text,
.main-home .reviews-google .ti-widget.ti-goog .ti-rating-text span,
.main-home .reviews-google .ti-widget.ti-goog .ti-rating-text strong,
.main-home .reviews-google .ti-widget.ti-goog .ti-rating,
.main-home .reviews-google .ti-widget.ti-goog .ti-footer-filter-text {
  color: var(--color-bg-elevated) !important;
}

.main-home .reviews-google .ti-widget.ti-goog .ti-footer {
  background: transparent !important;
  box-shadow: none !important;
}

.main-home .reviews-google .ti-widget.ti-goog .ti-rating.ti-rating-large {
  font-family: var(--font-family-primary);
  font-weight: 500;
  letter-spacing: 0.04em;
}

.main-home .reviews-google .ti-widget.ti-goog .ti-rating-text .nowrap {
  opacity: 0.85;
  font-size: 14px;
}

/* Karty – jak dawne ciemne karty w sekcji */
.main-home .reviews-google .ti-widget.ti-goog .ti-review-item > .ti-inner,
.main-home .reviews-google .ti-widget.ti-goog .ti-load-more-reviews-container .ti-load-more-reviews-button {
  background: var(--color-bg-dark-soft) !important;
  background-color: var(--color-bg-dark-soft) !important;
  background-image: none !important;
  color: var(--color-text-on-dark-light) !important;
  border-style: solid !important;
  border-color: var(--color-border-on-dark-soft) !important;
  border-width: 1px !important;
  border-radius: var(--radius-card) !important;
  box-shadow: none !important;
  padding: 28px !important;
  min-height: 220px;
}

.main-home .reviews-google .ti-widget.ti-goog .ti-name,
.main-home .reviews-google .ti-widget.ti-goog .ti-review-content,
.main-home .reviews-google .ti-widget.ti-goog .ti-review-text-container,
.main-home .reviews-google .ti-widget.ti-goog .ti-review-text-container p,
.main-home .reviews-google .ti-widget.ti-goog .ti-review-text-container span,
.main-home .reviews-google .ti-widget.ti-goog .ti-review-item > .ti-inner * {
  color: var(--color-text-on-dark-light) !important;
}

.main-home .reviews-google .ti-widget.ti-goog .ti-name {
  font-weight: 600;
}

.main-home .reviews-google .ti-widget.ti-goog .ti-date {
  color: var(--color-text-on-dark-sage) !important;
}

.main-home .reviews-google .ti-widget.ti-goog .ti-read-more,
.main-home .reviews-google .ti-widget.ti-goog .ti-read-more span {
  color: var(--color-accent-soft) !important;
  opacity: 1 !important;
}

.main-home .reviews-google .ti-widget.ti-goog .ti-review-content {
  font-family: var(--font-family-primary);
  font-size: 18px !important;
  line-height: 1.35 !important;
}

/* Strzałki */
.main-home .reviews-google .ti-widget.ti-goog .ti-controls .ti-next,
.main-home .reviews-google .ti-widget.ti-goog .ti-controls .ti-prev {
  background: transparent !important;
  background-color: transparent !important;
  border: 1px solid var(--color-border-on-dark-button) !important;
  color: var(--color-bg-elevated) !important;
  box-shadow: none !important;
}

.main-home .reviews-google .ti-widget.ti-goog .ti-controls .ti-next:before,
.main-home .reviews-google .ti-widget.ti-goog .ti-controls .ti-prev:before {
  border-color: var(--color-bg-elevated) !important;
}

.main-home .reviews-google .ti-widget.ti-goog .ti-controls .ti-next:hover,
.main-home .reviews-google .ti-widget.ti-goog .ti-controls .ti-prev:hover,
.main-home .reviews-google .ti-widget.ti-goog .ti-controls .ti-next:focus,
.main-home .reviews-google .ti-widget.ti-goog .ti-controls .ti-prev:focus {
  background: var(--color-bg-elevated) !important;
  background-color: var(--color-bg-elevated) !important;
  color: var(--color-primary) !important;
  border-color: var(--color-bg-elevated) !important;
  outline-color: var(--color-bg-elevated) !important;
  box-shadow: none !important;
}

.main-home .reviews-google .ti-widget.ti-goog .ti-controls .ti-next:hover:before,
.main-home .reviews-google .ti-widget.ti-goog .ti-controls .ti-prev:hover:before,
.main-home .reviews-google .ti-widget.ti-goog .ti-controls .ti-next:focus:before,
.main-home .reviews-google .ti-widget.ti-goog .ti-controls .ti-prev:focus:before {
  border-color: var(--color-primary) !important;
}

/* Logo Google – lekki „pill” jak wcześniej */
.main-home .reviews-google .ti-widget.ti-goog .ti-large-logo {
  margin-top: 12px;
  display: inline-flex;
  background: var(--color-bg-elevated);
  border-radius: var(--radius-pill, 999px);
  padding: 8px 14px;
}

.main-home .reviews-google .ti-widget.ti-goog .ti-large-logo img {
  display: block;
  max-height: 22px;
  width: auto;
}
