.testimonial-overlap {
  /* Match the purple background height exactly */
  background: linear-gradient(to bottom, #ffffff 40%, #eeeffc 40%);
  padding: 0 20px;
  /* Ensure nothing is hidden */
  overflow: visible !important; 
  max-width: 1200px;
  margin: 0 auto;
}

.custom-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.flex-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

/* 1. Fix Image Cropping */
.image-column {
  flex: 1;
  display: flex;
  align-items: flex-end; /* Grounds image to bottom of flex */
}

.headshot {
  max-width: 100%;
  height: auto;
  display: block;
  /* This ensures the head stays above the purple line */
  margin-top: -80px; 
  z-index: 2;
}

/* 2. Match the Quote Box Style */
.content-column {
  flex: 1.2;
  padding: 80px 0 60px 0;
}

.quote-box {
  background: #ffffff;
  padding: 30px 40px;
  border-left: 4px solid #3b82f6; /* The blue accent line */
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
  margin-bottom: 25px;
}

.quote-content p {
  font-size: 18px;
  line-height: 1.6;
  color: #334155;
  margin: 0;
  font-weight: 400;
}

/* 3. Typography for Attribution */
.attribution {
  font-size: 22px;
  color: #1e293b;
  padding-left: 40px; /* Aligns with the text inside the box */
}

.author-name {
  font-weight: 800;
}

.author-role {
  font-weight: 600;
}

/* Responsive Fixes */
@media (max-width: 991px) {
  .testimonial-overlap {
    background: #eeeffc;
    padding-top: 100px;
  }
  .flex-wrapper {
    flex-direction: column;
    text-align: left;
  }
  .headshot {
    margin-top: -120px;
    max-width: 350px;
  }
  .attribution {
    padding-left: 0;
  }
  .content-column {
    padding: 0;
  }
  .flex-wrapper {
    gap: 0;
}