/* ========================================
   LAYOUT FIXES (Responsive & Alignment)
   ======================================== */

/* 1. TESTIMONIAL HEIGHT EQUALIZATION */
/* Make all testimonial slides equal height */
.ed-testimonial-slider .swiper-slide {
    height: auto !important;
    display: flex !important;
    /* Ensure flex behavior */
}

/* Make the box stretch to fill the slide height */
.ed-testimonial-box-items {
    height: 100% !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
}

/* Ensure content spacing is nice */
.ed-testimonial-box-items h4 {
    flex-grow: 1;
    /* Makes the text area flexible to push client info down */
    margin-bottom: 20px;
}

/* 2. WHY CHOOSE US TAG FIX (Responsive) */
/* Prevent the tag from being cut off on mobile */
.section-title h6 {
    line-height: 1.6 !important;
    /* Increase line height to prevent clipping */
    display: inline-block !important;
    /* Ensure box model works */
    margin-top: 5px !important;
    /* Add slight top margin to clear container edges */
    white-space: normal !important;
    /* Allow wrapping if absolutely needed, though arguably shouldn't */
}

/* Specific fix for the section title area to ensure no internal clipping */
.ed-choose-us-content .section-title {
    overflow: visible !important;
    padding-top: 5px !important;
    /* Safety padding */
}

@media (max-width: 767px) {
    .section-title h6 {
        margin-top: 10px !important;
        padding: 12px 24px !important;
        /* Ensure enough touch target/visual space */
        line-height: normal !important;
    }
}