.tc-testimonials-view {
  width: 100%;
}

.tc-testimonials-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  width: 100%;
}

.tc-testimonial-card {
  background: #fff;
  color: #062a4c;
  display: flex;
  flex-direction: column;
  min-height: 336px;
  padding: 48px 34px 40px;
  text-align: left;
  width: 100%;
}

.tc-testimonial-stars {
  color: #f5b22e;
  display: flex;
  font-size: 22px;
  gap: 4px;
  line-height: 1;
  margin-bottom: 24px;
}

.tc-testimonial-copy,
.tc-testimonial-name {
  color: #062a4c;
  font-family: "Manrope", sans-serif;
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.4;
}

.tc-testimonial-copy {
  margin: 0 0 28px;
}

.tc-testimonials-view--ready .tc-testimonial-card--has-toggle:not(.is-expanded) .tc-testimonial-copy {
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 7;
  display: -webkit-box;
  overflow: hidden;
}

.tc-testimonial-toggle {
  align-self: flex-start;
  background: transparent;
  border: 0;
  color: #0c4f7c;
  cursor: pointer;
  display: none;
  font-family: "Manrope", sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
  margin: -8px 0 28px;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-transform: uppercase;
}

.tc-testimonials-view--ready .tc-testimonial-toggle {
  display: inline-flex;
}

.tc-testimonial-full-link {
  align-self: flex-start;
  background: transparent;
  border: 0;
  color: #0c4f7c;
  display: inline-flex;
  font-family: "Manrope", sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.2;
  margin: 12px 0 0;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-transform: uppercase;
}

.tc-testimonial-toggle:hover,
.tc-testimonial-toggle:focus,
.tc-testimonial-full-link:hover,
.tc-testimonial-full-link:focus {
  color: #062a4c;
}

.tc-testimonial-toggle:focus-visible,
.tc-testimonial-full-link:focus-visible {
  outline: 2px solid #f5b22e;
  outline-offset: 4px;
}

.tc-testimonial-name {
  margin: auto 0 0;
  text-transform: uppercase;
}

@media only screen and (max-width: 48em) {
  .tc-testimonials-grid {
    grid-template-columns: 1fr;
  }

  .tc-testimonial-card {
    min-height: 0;
    padding: 34px 26px 32px;
  }

  .tc-testimonial-copy,
  .tc-testimonial-name {
    font-size: 18px;
  }
}
