/* Readable review cards on phones; retain the original desktop grid. */
@media (max-width: 767px) {
  .ti-widget.ti-goog .ti-reviews-container-wrapper {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 16px !important;
    margin: 0 !important;
    width: 100% !important;
    transform: none !important;
  }
  .ti-widget.ti-goog .ti-review-item {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  .ti-widget.ti-goog .ti-review-item .ti-inner {
    padding: 22px !important;
    border-radius: 16px !important;
    height: auto !important;
  }
  .ti-widget.ti-goog .ti-profile-details { min-width: 0 !important; }
  .ti-widget.ti-goog .ti-name {
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    font-size: 15px !important;
    line-height: 1.4 !important;
  }
  .ti-widget.ti-goog .ti-date { font-size: 12px !important; }
  .ti-widget.ti-goog .ti-review-content {
    font-size: 15px !important;
    line-height: 1.7 !important;
    height: 102px !important;
    display: -webkit-box !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4 !important;
    overflow: hidden !important;
  }
  .ti-widget.ti-goog .ti-inner:has(.ti-read-more[aria-expanded="true"]) .ti-review-content {
    height: auto !important;
    display: block !important;
    -webkit-line-clamp: unset !important;
    overflow: visible !important;
  }
  .ti-widget.ti-goog .ti-read-more {
    display: inline-flex !important;
    align-items: center;
    min-height: 44px;
    margin-top: 8px !important;
    font-size: 14px !important;
    color: #283b6a !important;
    font-weight: 600 !important;
    text-decoration: underline;
    text-underline-offset: 3px;
  }
  .ti-widget.ti-goog .ti-read-more:focus-visible {
    outline: 2px solid #008f87;
    outline-offset: 3px;
  }
}
@media (max-width: 767px) {
  .ti-widget.ti-goog .ti-inner:has(.ti-read-more[aria-expanded="false"]) .ti-review-content {
    height: auto !important;
    max-height: 102px !important;
  }
  .ti-widget.ti-goog .ti-inner:not(:has(.ti-read-more)) .ti-review-content {
    height: auto !important;
  }
  .ti-widget.ti-goog .ti-read-more span {
    color: #283b6a !important;
    font-weight: 600 !important;
  }
}
