/* agent-testimonials – moved from main.css/custom.css */
.agent-testimonial_component{grid-column-gap:2rem;grid-row-gap:2rem;grid-template-rows:auto;grid-template-columns:1fr 1fr 1fr;grid-auto-columns:1fr;align-items:stretch;display:grid}
.agent-testimonial_content{flex-direction:column;justify-content:space-between;align-items:flex-start;width:100%;padding:2rem;display:flex;box-shadow:0 40px 60px #0000001a}
.agent-testimonial_client{text-align:left;align-items:center;display:flex}
@media screen and (max-width:991px){
.agent-testimonial_component{grid-template-columns:1fr 1fr}
}
@media screen and (max-width:767px){
.agent-testimonial_component{grid-template-columns:1fr}
.agent-testimonial_content{padding:1.5rem}
.agent-testimonial_client{flex-direction:column;align-items:flex-start;width:100%}
}

/* Сторінка маклера: довгий відгук обрізаний до 6 рядків, решта — за кнопкою «Zobrazit více» */
.agent-testimonial_text:not(.is-expanded) {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 6;
  line-clamp: 6;
  overflow: hidden;
}
.agent-testimonial_toggle {
  width: fit-content;
  margin-top: 1rem;
}
.agent-testimonial_toggle:hover {
  border-color: var(--color--midnight-blue);
  background-color: transparent;
  color: var(--color--midnight-blue);
}
.agent-testimonial_toggle[hidden] {
  display: none;
}
