/* ===================================
   TRUST STRIP
   Five key-figure tiles opening the cream band under the top tariffs (home/trust-strip.ejs). With
   the Google reviews following, the strip ends in a hairline rule the reviews continue under; on
   hosts without reviews (`.trust-strip--closed`) it closes the band itself.
   =================================== */

.trust-strip {
  background: var(--tp-cream);
  border-top: 1px solid var(--tp-line);
  padding: 52px 0 0;
}
.trust-strip--closed {
  padding-bottom: 52px;
}
.trust-strip__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}
.trust-strip__item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid var(--tp-line);
  border-radius: 14px;
  background: var(--tp-paper);
  color: inherit;
  text-decoration: none;
}
a.trust-strip__item:hover {
  border-color: var(--tp-line-accent);
  box-shadow: var(--tp-shadow);
}
.trust-strip__icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--tp-mint);
  color: var(--tp-accent);
}
.trust-strip__icon svg {
  width: 20px;
  height: 20px;
}
.trust-strip__icon--google {
  background: var(--tp-paper);
  border: 1px solid var(--tp-line);
}
.trust-strip__icon--google svg {
  width: 22px;
  height: 22px;
}
.trust-strip__body {
  display: grid;
  gap: 1px;
  min-width: 0;
}
.trust-strip__figure {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.3px;
  line-height: 1.15;
  overflow-wrap: anywhere;
}
.trust-strip__plus {
  color: var(--tp-accent);
}
.trust-strip__label {
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--tp-ink-2);
}
.trust-strip__stars {
  display: inline-flex;
  gap: 1px;
  margin-left: 4px;
  vertical-align: -1px;
  color: #f4b400;
}
.trust-strip__stars svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
}
.trust-strip__rule {
  border: 0;
  border-top: 1px solid var(--tp-line);
  margin: 28px 0 0;
}

@media (max-width: 980px) {
  .trust-strip__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .trust-strip {
    padding-top: 40px;
  }
  .trust-strip--closed {
    padding-bottom: 40px;
  }
  .trust-strip__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .trust-strip__item {
    padding: 10px 11px;
    gap: 10px;
  }
  .trust-strip__item:first-child,
  .trust-strip__item:last-child {
    grid-column: 1 / -1;
  }
  .trust-strip__icon {
    width: 34px;
    height: 34px;
  }
  .trust-strip__figure {
    font-size: 15.5px;
    overflow-wrap: normal;
  }
  .trust-strip__label {
    font-size: 12px;
  }
  .trust-strip__rule {
    margin-top: 22px;
  }
}
