.hrf-expandable-quote {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 6;
}

.hrf-expandable-quote.is-expanded {
  display: block;
  overflow: visible;
  -webkit-line-clamp: unset;
}

.hrf-quote-toggle {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #01408D;
  font: 700 15px/1.2 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  cursor: pointer;
}

.hrf-quote-toggle-label {
  line-height: 1.2;
}

.hrf-quote-toggle::after {
  content: "";
  box-sizing: border-box;
  width: 0.5em;
  height: 0.5em;
  margin-top: 0.14em;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform .2s ease, margin-top .2s ease;
}

.hrf-quote-toggle:hover,
.hrf-quote-toggle:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hrf-quote-toggle:focus-visible {
  outline: 2px solid #01408D;
  outline-offset: 4px;
  border-radius: 3px;
}

.hrf-quote-toggle[aria-expanded="true"]::after {
  margin-top: -0.12em;
  transform: rotate(225deg);
}

@media (max-width: 767px) {
  .hrf-expandable-quote {
    -webkit-line-clamp: 5;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hrf-quote-toggle::after {
    transition: none;
  }
}
