.custom-flex-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

/* Texto */
.custom-flex-block .text-side {
  flex: 1 1 50%;
  min-width: 280px;
}

/* Imagen */
.custom-flex-block .image-side {
  flex: 0 0 auto;
  width: 50%;
  text-align: center;
}

.custom-flex-block .image-side img {
  width: 100%;
  max-width: 500px;
  height: auto;
  object-fit: contain;
  display: block;  
  border-radius: 8px; /* opcional, queda bien */
}

/* MÓVIL */
@media (max-width: 768px) {
  .custom-flex-block {
    flex-direction: column;
    text-align: center;
  }

  .custom-flex-block .text-side,
  .custom-flex-block .image-side {
    width: 100%;
  }

  .custom-flex-block .image-side img {
    max-width: 90vw;
  }
}
