/* Flexbox mobile fixes: Stack items vertically */
@media (max-width: 767px) {
    .elementor-element-cf639f66w,
    .elementor-element-jwk14pmjt,
    .elementor-element-oz47os8q2,
    .elementor-element-ef7p7pgnr {
        flex-direction: column !important;
        flex-wrap: wrap !important;
    }

    /* Grid mobile fixes: 1 column */
    .elementor-element-ixqrjmvc1,
    .elementor-element-laq3iv763,
    .elementor-element-8gns08wud,
    .elementor-element-lzv8rsvg7,
    .elementor-element-3ltisaecp,
    .elementor-element-jarnwqeu1 {
        grid-template-columns: 1fr !important;
    }
}

/* Grid tablet fixes: 2 columns */
@media (min-width: 768px) and (max-width: 1024px) {
    .elementor-element-ixqrjmvc1,
    .elementor-element-8gns08wud,
    .elementor-element-3ltisaecp,
    .elementor-element-jarnwqeu1 {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .elementor-element-laq3iv763,
    .elementor-element-lzv8rsvg7 {
        grid-template-columns: 1fr !important; /* Keep these as 1 column on tablet as well if they are complex */
    }
}
