/* === FIX DEFINITIVO: Centrado + Sin espacios verticales ===
   - Horizontal: centrado, con ancho natural
   - Vertical: cero espacio extra, solo el que tú pongas
   - Compatible con Elementor Free + Astra
   =================================== */

/* 1. Contenedor principal: centrado y con ancho máximo */
.xelementor-section .xelementor-container,
.xentry-content .xelementor-container {
  max-width: 1140px !important;
  width: 100% !important;
  margin: 0 auto !important;
  padding-left: 20px !important;
  padding-right: 20px !important;
}

/* 2. Secciones: sin gap vertical, pero con control */
.elementor-section > .elementor-container,
.elementor-inner-section > .elementor-container {
  gap: 0 !important;
  row-gap: 0 !important;
  column-gap: 20px !important;
}

/* 3. Márgenes de widgets: eliminar todos los verticales */
.xelementor-widget,
.xelementor-element,
.xelementor-element * {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* 4. Texto: eliminar espacios internos */
.elementor-widget-text-editor,
.elementor-widget-text-editor p,
.elementor-widget-text-editor ul,
.elementor-widget-text-editor ol,
.elementor-widget-text-editor li {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.5 !important;
}

/* 5. Posts widget: control total */
.elementor-widget-posts {
  margin: 0 !important;
  padding: 0 !important;
}
.elementor-widget-posts .elementor-post {
  margin-bottom: 15px !important;
  padding-bottom: 0 !important;
}
.elementor-widget-posts .elementor-post:last-child {
  margin-bottom: 0 !important;
}

/* 6. Coordinadores (shortcode o HTML) */
[class*="coordinadores"] {
  margin: 0 !important;
  padding: 0 !important;
}

/* 7. Asegurar que no haya espacios en columnas */
.elementor-column,
.elementor-inner-column {
  margin: 0 !important;
  padding: 0 !important;
}

/* 8. Secciones: sin espaciado automático */
.elementor-section {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 15px !important;
  padding-bottom: 15px !important;
}

/* 9. Eliminar gap en todos los contenedores Flex */
[class*="elementor-"] {
  gap: 0 !important;
  row-gap: 0 !important;
}

/* 10. Para secciones stretched (ancho completo) */
.xelementor-section.elementor-section-stretched .xelementor-container {
  max-width: 1140px !important;
  margin: 0 auto !important;
  padding-left: 20px !important;
  padding-right: 20px !important;
}

.elementor-element{
    margin: 0px 5px 0px 5px  !important;
    padding: 0px 5px 0px 5px !important;
}
