/* === Hide static testimonial cards, show live Google reviews === */
body.page-id-38 .test-card {
  display: none !important;
}

/* === Trustindex widget: match original card design === */
/* Base selector: body.page-id-38 .ti-widget.ti-goog for specificity */

/* Widget wrapper: transparent, no borders */
body.page-id-38 .ti-widget {
  background: transparent !important;
  font-family: inherit !important;
}
body.page-id-38 .ti-widget .ti-widget-container {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* Reviews container: grid layout */
body.page-id-38 .ti-widget.ti-goog .ti-reviews-container {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)) !important;
  gap: 1.5rem !important;
}

/* Review card outer: transparent so .ti-inner is the visual card */
body.page-id-38 .ti-widget.ti-goog .ti-review-item {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
}

/* .ti-inner IS the visual card — match original .test-card */
body.page-id-38 .ti-widget.ti-goog .ti-review-item > .ti-inner {
  background-color: #fafaf8 !important;
  background-image: none !important;
  border: 1px solid rgba(0,0,0,.04) !important;
  border-radius: 14px !important;
  padding: 1.8rem !important;
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  transition: all .4s !important;
}
body.page-id-38 .ti-widget.ti-goog .ti-review-item > .ti-inner:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,.05) !important;
  transform: translateY(-3px) !important;
}

/* Stars: move to top */
body.page-id-38 .ti-widget.ti-goog .ti-review-item .ti-stars {
  order: 1 !important;
  margin-bottom: .6rem !important;
  letter-spacing: 2px !important;
}
body.page-id-38 .ti-widget.ti-goog .ti-stars .ti-star {
  color: #cfa93e !important;
  font-size: .8rem !important;
}

/* Review text: middle, with left accent line, 4-line clamp */
body.page-id-38 .ti-widget.ti-goog .ti-review-item .ti-review-text-container {
  order: 2 !important;
  flex: 1 !important;
  margin-bottom: 1rem !important;
  border-left: 5px solid rgba(0,0,0,.05) !important;
  padding-left: 1.25rem !important;
}
body.page-id-38 .ti-widget.ti-goog .ti-review-content {
  color: #4a4a4a !important;
  font-size: .84rem !important;
  line-height: 1.7 !important;
  font-style: italic !important;
  overflow: hidden !important;
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 4 !important;
}
body.page-id-38 .ti-widget.ti-goog .ti-review-content::before {
  content: '\201C' !important;
}
body.page-id-38 .ti-widget.ti-goog .ti-review-content::after {
  content: '\201D' !important;
}
body.page-id-38 .ti-widget.ti-goog .ti-read-more {
  display: none !important;
}

/* Profile header: move to bottom */
body.page-id-38 .ti-widget.ti-goog .ti-review-item .ti-review-header {
  order: 3 !important;
  display: flex !important;
  align-items: center !important;
  gap: 0.6rem !important;
  margin-top: auto !important;
}

/* Profile avatar */
body.page-id-38 .ti-widget.ti-goog .ti-profile-img {
  width: 32px !important;
  height: 32px !important;
  flex-shrink: 0 !important;
}
body.page-id-38 .ti-widget.ti-goog .ti-profile-img img {
  width: 32px !important;
  height: 32px !important;
  border-radius: 50% !important;
}

/* Name */
body.page-id-38 .ti-widget.ti-goog .ti-name {
  color: #141419 !important;
  font-weight: 700 !important;
  font-size: .75rem !important;
  font-style: normal !important;
}
body.page-id-38 .ti-widget.ti-goog .ti-name a {
  color: #141419 !important;
  text-decoration: none !important;
}

/* Date - style like the role subtitle */
body.page-id-38 .ti-widget.ti-goog .ti-date {
  color: #8a8a8a !important;
  font-size: .65rem !important;
}

/* Hide Google icon, footer, controls */
body.page-id-38 .ti-widget.ti-goog .ti-platform-icon {
  display: none !important;
}
body.page-id-38 .ti-widget.ti-goog .ti-footer {
  display: none !important;
}
body.page-id-38 .ti-widget.ti-goog .ti-controls {
  display: none !important;
}

/* Links */
body.page-id-38 .ti-widget.ti-goog a {
  color: #cfa93e !important;
}

/* Verified badge: hide */
body.page-id-38 .ti-widget.ti-goog .ti-verified-review {
  display: none !important;
}

/* Limit to 3 visible review cards */
body.page-id-38 .ti-widget.ti-goog .ti-review-item:nth-child(n+4) {
  display: none !important
/* === PRICING PAGE (page-id-567) — Astra overrides === */
body.page-id-567 { background: #141419 !important; }
/* Hide the custom nav — use the real Astra header instead */
body.page-id-567 .pricing-nav { display: none !important; }
body.page-id-567 .site-content .ast-container,
body.page-id-567 .site-content {
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}
body.page-id-567 .entry-content {
  margin: 0 !important;
  padding: 0 !important;
}
body.page-id-567 .ast-single-post .entry-content > * {
  max-width: 100% !important;
}
body.page-id-567 .ast-separate-container .ast-article-single,
body.page-id-567 .ast-separate-container .ast-article-post {
  background: transparent !important;
  padding: 0 !important;
}
body.page-id-567 .ast-separate-container .site-main > .ast-row {
  background: transparent !important;
}
body.page-id-567 #page > .site-content {
  padding-top: 0 !important;
}
body.page-id-567 .entry-header {
  display: none !important;
}
body.page-id-567 {
  font-family: 'Inter', -apple-system, sans-serif !important;
  color: #fff !important;
  line-height: 1.6 !important;
  overflow-x: hidden !important;
}
/* Hide Astra footer on pricing page */
body.page-id-567 .site-footer,
body.page-id-567 .ast-small-footer,
body.page-id-567 .site-below-footer-wrap,
body.page-id-567 .ast-footer-overlay,
body.page-id-567 footer.site-footer {
  display: none !important;
}
