.testimonial-grid-block {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin:0 auto;
  padding-bottom:36px;
  background: #cdcdcd;
}

.testimonial-row {
  display: flex;
  align-items: stretch;
  width: 1200px;
  margin: 0 auto;
}

.testimonial-row:last-child {
  border-bottom: none;
}

.testimonial-image {
  flex: 1;
  min-height: 100%;
  overflow: hidden;
}

.testimonial-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.testimonial-quote {
  flex: 1;
  padding: 2rem;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.testimonial-quote .quote-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  opacity: 0.5;
}

.testimonial-quote blockquote {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.6;
}

.testimonial-footer {
  margin-top: 1.5rem;
  font-style: italic;
}

.testimonial-person {
  font-weight: bold;
}

.testimonial-company {
  font-size: 0.95rem;
  opacity: 0.85;
}

/* Layout Variants (optional if you want spacing tweaks) */
.layout-image-left .testimonial-image {
  order: 0;
}

.layout-image-right .testimonial-image {
  order: 1;
}

.layout-center-quote .testimonial-image:first-child {
  order: 0;
}

.layout-center-quote .testimonial-quote {
  order: 1;
}

.layout-center-quote .testimonial-image:last-child {
  order: 2;
}

/* Responsive */
@media (max-width: 1390px) {
  .testimonial-row {
    flex-direction: column; /* stack vertically */
    width: 100% !important;
    max-width: 100%;
    margin: 0 auto;
  }

  .testimonial-quote {
    order: 0 !important; /* always first */
    width: 100% !important;
  }

  .testimonial-image {
    order: 1 !important; /* always second */
    width: 100% !important;
  }

  .testimonial-image img {
    width: 100%;
    height: auto;
    display: block;
  }
}

