/* Fix for symmetrical layout in Design High-Fi section */

/* Ensure all grid cells have equal width and consistent spacing */
.efi-ft-01-grid-15 {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
  gap: 40px !important;
  align-items: start !important;
}

/* Make all cells equal height */
.efi-ft-01-cell-15 {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
}

/* Standardize image wrapper sizing */
.efi-ft-01-image-wrapper-15 {
  width: 100% !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  margin-bottom: 24px !important;
  min-height: 400px !important;
  background-color: transparent !important;
}

/* Make all images consistent size */
.efi-ft-01-image-wrapper-15 img {
  width: 100% !important;
  max-width: 450px !important;
  height: auto !important;
  object-fit: contain !important;
  display: block !important;
  margin: 0 auto !important;
}

/* Ensure text wrappers have consistent styling */
.efi-ft-01-feature-wrapper-15,
.efi-ft-01-feature-wrapper-16 {
  padding: 0 20px !important;
  flex: 1 !important;
}

/* Standardize heading sizes */
.efi-h4-57,
.efi-h4-58 {
  font-size: 24px !important;
  line-height: 1.3 !important;
  margin-bottom: 16px !important;
}

/* Standardize paragraph text */
.efi-paragraph-81,
.efi-paragraph-82 {
  font-size: 16px !important;
  line-height: 1.6 !important;
  margin: 0 !important;
}

/* Mobile responsiveness */
@media screen and (max-width: 991px) {
  .efi-ft-01-grid-15 {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }
  
  .efi-ft-01-image-wrapper-15 {
    min-height: 300px !important;
  }
  
  .efi-ft-01-image-wrapper-15 img {
    max-width: 350px !important;
  }
}

@media screen and (max-width: 767px) {
  .efi-ft-01-image-wrapper-15 {
    min-height: 250px !important;
  }
  
  .efi-ft-01-image-wrapper-15 img {
    max-width: 280px !important;
  }
  
  .efi-ft-01-feature-wrapper-15,
  .efi-ft-01-feature-wrapper-16 {
    padding: 0 10px !important;
  }
}
