#tpe-search-section {
  text-align: center;
  padding: 4rem 1rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}
#tpe-search-section .tpe-heading {
  font-size: clamp(1.5rem, 6vw, 2rem);
  font-weight: 700;
  margin-bottom: 1rem;
  color: #222;
}
@media (min-width: 800px) {
  #tpe-search-section .tpe-heading {
    font-size: 2.5rem;
  }
}
#tpe-search-section .tpe-subheading {
  font-size: 1.5rem;
  font-weight: 900;
}
@media (min-width: 800px) {
  #tpe-search-section .tpe-subheading {
    font-size: 2rem;
  }
}
#tpe-search-section .ais-SearchBox {
  display: flex;
  justify-content: center;
}
#tpe-search-section .ais-SearchBox-form {
  width: 100%;
  max-width: 500px;
}
#tpe-search-section .ais-SearchBox-input {
  width: 100%;
  font-size: 1rem;
  padding: 1rem 1.25rem;
  border: 2px solid #ccc;
  border-radius: 0.5rem;
  outline: none;
  transition: border-color 0.3s ease;
}
#tpe-search-section .ais-SearchBox-input:focus {
  border-color: #00b67a;
}
@media (min-width: 800px) {
  #tpe-search-section .ais-SearchBox-input {
    font-size: 1.25rem;
  }
}
#tpe-search-section .ais-SearchBox-submit, #tpe-search-section .ais-SearchBox-reset {
  display: none !important;
}

.tpe-demo-hint {
  font-size: clamp(0.8rem, 2vw, 0.9rem);
  color: #666;
  opacity: 0;
  transition: opacity 0.3s ease;
  position: relative;
  text-align: center;
  margin: 2px auto 0;
  font-weight: 300;
}
.tpe-demo-hint.visible {
  opacity: 1;
  pointer-events: none;
}
.tpe-demo-hint strong {
  font-weight: 500;
}

.tpe-metrics {
  margin: 1rem auto 2rem;
  max-width: 1200px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
}

/* Base (desktop-first): keep what you already like */
.tpe-metric {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0.75rem 0.75rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(4px);
  flex: 1 1 160px;
  max-width: 180px;
  min-width: 150px;
  cursor: pointer;
  transition: transform 200ms ease, box-shadow 200ms ease, outline-color 200ms ease;
}
@media (min-width: 1200px) {
  .tpe-metric {
    max-width: 170px;
    min-width: 150px;
  }
}

.tpe-metric__dial {
  position: relative;
  width: 108px;
  height: 108px;
  margin-bottom: 0.55rem;
}
@media (min-width: 1000px) {
  .tpe-metric__dial {
    width: 112px;
    height: 112px;
  }
}

.tpe-metric__svg {
  width: 100%;
  height: 100%;
  display: block;
  transform: rotate(-90deg);
}

.tpe-metric__track,
.tpe-metric__progress {
  fill: none;
  r: 54;
  cx: 70;
  cy: 70;
  stroke-linecap: round;
  stroke-width: 9;
}

.tpe-metric__track {
  stroke: #cfd5da;
  opacity: 0.9;
}

.tpe-metric__progress {
  stroke: #00b67a;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.12));
  stroke-dasharray: var(--circumference);
  stroke-dashoffset: var(--circumference);
  animation: tpeDialFill 3s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes tpeDialFill {
  to {
    stroke-dashoffset: var(--offset);
  }
}
.tpe-metric__value {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.85rem;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #0b2a4a;
}

.tpe-metric__text {
  min-width: 0;
}

.tpe-metric__label {
  font-weight: 700;
  color: #0b2a4a;
  font-size: 0.95rem;
  line-height: 1.2;
}

.tpe-metric__note {
  margin-top: 0.25rem;
  color: #2c3e50;
  opacity: 0.9;
  font-size: 0.85rem;
  line-height: 1.25;
}

.tpe-metrics__disclaimer {
  margin: 0.25rem auto 0;
  max-width: 1100px;
  font-size: 0.85rem;
  line-height: 1.35;
  color: rgba(11, 42, 74, 0.8);
}

/* ===========================
   Active / Highlighted state
   =========================== */
.tpe-metric.is-demo-active {
  box-shadow: 0 8px 16px rgba(0, 182, 122, 0.12), 0 1px 3px rgba(0, 0, 0, 0.06);
  outline: 2px solid rgba(0, 182, 122, 0.3);
  transform: translateY(-1px);
}

.tpe-metric.is-demo-active .tpe-metric__value {
  color: #00b67a;
}

.tpe-metric.is-demo-active .tpe-metric__dial::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 999px;
  background: radial-gradient(closest-side, rgba(0, 182, 122, 0.14), rgba(0, 182, 122, 0.07) 58%, rgba(0, 182, 122, 0) 74%);
  filter: blur(4px);
  opacity: 0.55;
  animation: tpeDialGlow 1.8s ease-in-out infinite;
  pointer-events: none;
}

.tpe-metric.is-demo-active .tpe-metric__progress {
  filter: drop-shadow(0 0 6px rgba(0, 182, 122, 0.35)) drop-shadow(0 0 10px rgba(0, 182, 122, 0.16));
  animation: tpeDialFill 4s cubic-bezier(0.22, 1, 0.36, 1) forwards, tpeRingPulse 1.8s ease-in-out infinite;
}

@keyframes tpeDialGlow {
  0% {
    transform: scale(0.995);
    opacity: 0.4;
  }
  50% {
    transform: scale(1.03);
    opacity: 0.65;
  }
  100% {
    transform: scale(0.995);
    opacity: 0.4;
  }
}
@keyframes tpeRingPulse {
  0% {
    opacity: 0.9;
  }
  50% {
    opacity: 0.72;
  }
  100% {
    opacity: 0.9;
  }
}
.tpe-metric:focus-visible {
  outline: 3px solid rgba(0, 182, 122, 0.45);
  outline-offset: 2px;
}

/* ===========================
   Small screens: force max 2 rows (3 per row)
   =========================== */
/*
  Goal: never exceed 2 rows.
  We do this by making each card ~1/3 width (minus gap), and shrinking dial/text.
  Breakpoints are conservative; adjust if your container has unusual padding.
*/
@media (max-width: 720px) {
  .tpe-metrics {
    gap: 0.7rem;
  }
  .tpe-metric {
    flex: 0 0 calc((100% - 1.4rem) / 3);
    max-width: calc((100% - 1.4rem) / 3);
    min-width: 0;
    padding: 0.6rem 0.55rem;
  }
  .tpe-metric__dial {
    width: 92px;
    height: 92px;
    margin-bottom: 0.45rem;
  }
  .tpe-metric__value {
    font-size: 1.55rem;
  }
  .tpe-metric__label {
    font-size: 0.82rem;
    line-height: 1.15;
  }
  .tpe-metric__note {
    font-size: 0.78rem;
  }
}
/* Very small screens: shrink a touch more so it still stays 3-up */
@media (max-width: 420px) {
  .tpe-metrics {
    gap: 0.6rem;
  }
  .tpe-metric {
    flex: 0 0 calc((100% - 1.2rem) / 3);
    max-width: calc((100% - 1.2rem) / 3);
    padding: 0.55rem 0.45rem;
    border-radius: 12px;
  }
  .tpe-metric__dial {
    width: 82px;
    height: 82px;
    margin-bottom: 0.4rem;
  }
  .tpe-metric__value {
    font-size: 1.4rem;
  }
  .tpe-metric__label {
    font-size: 0.78rem;
  }
}
.tpe-trustpilot-summary {
  text-align: center;
  margin: 0 auto 3rem;
  font-size: clamp(0.875rem, 2.5vw, 1.1rem);
  max-width: 800px;
  padding: 0 1rem;
}
.tpe-trustpilot-summary .tpe-stars-line {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  font-weight: 300;
}
.tpe-trustpilot-summary .tpe-stars-line .tpe-rating-label {
  color: #444;
}
.tpe-trustpilot-summary .tpe-stars-line .tpe-rating-grade {
  font-weight: 600;
  color: #111;
}
.tpe-trustpilot-summary .tpe-stars-line .tpe-stars {
  display: flex;
}
.tpe-trustpilot-summary .tpe-stars-line .tpe-stars img {
  height: 1.25rem;
  display: block;
}
.tpe-trustpilot-summary .tpe-stars-line .tpe-score {
  color: #444;
}
.tpe-trustpilot-summary .tpe-stars-line .tpe-score a {
  color: #444;
}
.tpe-trustpilot-summary .tpe-stars-line .tpe-logo {
  height: 22px;
  margin-left: 0.5rem;
}
.tpe-trustpilot-summary .tpe-customer-count {
  margin-top: 0.5rem;
  font-weight: 600;
  color: #2c2c2c;
  text-align: center;
}
.tpe-trustpilot-summary .tpe-customer-count {
  min-height: 1.5em;
  transition: opacity 0.2s ease;
}

.ais-Hits-list {
  list-style-type: none;
  padding: 0;
  column-count: 1;
}
@media (min-width: 800px) {
  .ais-Hits-list {
    column-count: 2;
    column-gap: 12px;
  }
}
@media (min-width: 1200px) {
  .ais-Hits-list {
    column-count: 3;
    column-gap: 24px;
  }
}
@media (min-width: 1600px) {
  .ais-Hits-list {
    column-count: 4;
  }
}
@media (min-width: 2000px) {
  .ais-Hits-list {
    column-count: 5;
  }
}

.ais-Hits-item {
  break-inside: avoid;
  margin-bottom: 12px;
}
@media (min-width: 1200px) {
  .ais-Hits-item {
    margin-bottom: 24px;
  }
}

.tpe-review {
  background: #fff;
  border-radius: 6px;
  padding: 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: clamp(0.85rem, 2.5vw, 0.9rem);
}
.tpe-review em {
  font-style: normal;
  font-weight: bold;
  display: block;
  margin-top: 4px;
  margin-bottom: 4px;
  color: #111;
}
.tpe-review p {
  line-height: 1.5;
  margin: 0 0 8px;
  color: #222;
}
.tpe-review small {
  font-size: 13px;
  color: #777;
}
.tpe-review.stars-5 .tpe-stars {
  background-image: url("../img/tp-5.svg");
}
.tpe-review.stars-4 .tpe-stars {
  background-image: url("../img/tp-4.svg");
}
.tpe-review.stars-3 .tpe-stars {
  background-image: url("../img/tp-3.svg");
}
.tpe-review.stars-2 .tpe-stars {
  background-image: url("../img/tp-2.svg");
}
.tpe-review.stars-1 .tpe-stars {
  background-image: url("../img/tp-1.svg");
}

.tpe-review-stars {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.tpe-review-stars .tpe-stars {
  width: 120px;
  height: 24px;
  background-size: contain;
  background-repeat: no-repeat;
}
.tpe-review-stars .tpe-verified {
  display: flex;
  align-items: center;
  font-size: 16px;
  color: #6c6c85;
}
.tpe-review-stars .tpe-verified img {
  width: 18px;
  height: 18px;
  margin-right: 4px;
  display: block;
}

.tpe-collapsible .tpe-hidden-text,
.tpe-collapsible .tpe-hidden-extra {
  display: none;
}
.tpe-collapsible .tpe-ellipsis {
  display: inline;
}
.tpe-collapsible.expanded .tpe-hidden-text {
  display: inline;
}
.tpe-collapsible.expanded .tpe-hidden-extra {
  display: block;
}
.tpe-collapsible.expanded .tpe-ellipsis {
  display: none;
}

.tpe-read-more {
  display: block;
  text-align: center;
  margin: 8px 0 -12px;
  color: #00b67a;
  font-weight: bold;
  cursor: pointer;
  outline: none;
  text-decoration: none;
}
.tpe-read-more:focus {
  border: none;
}

.tpe-reply {
  border-left: 2px solid #e5e5dd;
  padding-left: 16px;
  margin-top: 18px;
}
.tpe-reply .tpe-reply-heading {
  font-weight: bold;
}

.tpe-review-meta,
.tpe-reply-meta {
  margin-bottom: 10px;
}

#tpe-review-wrapper {
  overflow: hidden;
  position: relative;
  transition: height 0.4s ease;
}
#tpe-review-wrapper.tpe-expanded #tpe-fade-out {
  display: none;
}

#tpe-fade-out {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 80px;
  width: 100%;
  background: linear-gradient(to bottom, transparent, #fcfcf8);
  pointer-events: none;
}

.tpe-toggle-btn {
  display: block;
  margin: 20px auto;
  padding: 8px 16px;
  font-weight: bold;
  background-color: #00b67a;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
.tpe-toggle-btn:hover {
  background-color: #00945f;
}

.ais-Pagination-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}
.ais-Pagination-list .ais-Pagination-item {
  margin: 0;
}
.ais-Pagination-list .ais-Pagination-item.ais-Pagination-item--selected a {
  background-color: #00b67a;
  color: #fff;
  border-color: #00b67a;
}
.ais-Pagination-list .ais-Pagination-item.ais-Pagination-item--disabled a {
  opacity: 0.4;
  pointer-events: none;
}
.ais-Pagination-list .ais-Pagination-item .ais-Pagination-link {
  display: inline-block;
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: #fff;
  color: #333;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.2s ease;
}
.ais-Pagination-list .ais-Pagination-item .ais-Pagination-link:hover {
  border-color: #00b67a;
  color: #00b67a;
}

/*# sourceMappingURL=style.css.map */
