/* Energy Bartar About Us — v0.9.44
 * Final Editor/Frontend parity and compact responsive rhythm.
 * All selectors remain scoped to the native About page elements.
 */

/* The intro and its card row are separate top-level Elementor sections.
 * Remove inherited minimum heights and keep the transition compact. */
.elementor .elementor-element.ebna-section.ebna-values.eb44-editor-synced{
  height:auto!important;
  min-height:0!important;
  padding:44px 28px 26px!important;
}

.elementor .elementor-element.ebna-section.ebna-units.eb44-editor-synced{
  height:auto!important;
  min-height:0!important;
  padding:48px 28px 28px!important;
}

/* Centre every top-level card row. Gap is structural only; card content,
 * colour, border, typography and widths remain native Elementor controls. */
.elementor :where(.eb42-card-section.eb44-editor-synced) > .elementor-container{
  width:100%;
  max-width:1180px;
  height:auto;
  min-height:0;
  margin-right:auto!important;
  margin-left:auto!important;
  justify-content:center;
  column-gap:18px;
  row-gap:18px;
}

.elementor :where(.eb42-card-section.eb44-editor-synced) > .elementor-container > .elementor-column{
  flex-shrink:1;
}

.elementor :where(.eb42-units-grid.eb44-editor-synced) > .elementor-container > .elementor-column{
  margin-top:0!important;
}

/* Equal CTA cells and equal button boxes on both frontend and editor canvas. */
.elementor .ebna-cta-buttons > .elementor-element-populated,
.elementor .ebna-cta-buttons > .elementor-widget-wrap,
.elementor .ebna-cta-buttons > .e-con-inner{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:12px!important;
  width:100%;
}

.elementor .ebna-cta-buttons .elementor-widget-button,
.elementor .ebna-cta-buttons .elementor-button-wrapper,
.elementor .ebna-cta-buttons .elementor-button{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
}

.elementor .ebna-cta-buttons .elementor-button{
  min-height:50px!important;
  padding:13px 18px!important;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:14px!important;
}

@media (max-width:1024px){
  .elementor .elementor-element.ebna-section.ebna-values.eb44-editor-synced{padding:38px 18px 24px!important}
  .elementor .elementor-element.ebna-section.ebna-units.eb44-editor-synced{padding:40px 18px 26px!important}
  .elementor :where(.eb42-card-section.eb44-editor-synced) > .elementor-container{column-gap:14px;row-gap:14px}
}

@media (max-width:767px){
  .elementor .elementor-element.ebna-section.ebna-values.eb44-editor-synced{padding:31px 12px 20px!important}
  .elementor .elementor-element.ebna-section.ebna-units.eb44-editor-synced{padding:32px 12px 21px!important}
  .elementor :where(.eb42-card-section.eb44-editor-synced) > .elementor-container{row-gap:10px}
  .elementor .ebna-cta-buttons > .elementor-element-populated,
  .elementor .ebna-cta-buttons > .elementor-widget-wrap,
  .elementor .ebna-cta-buttons > .e-con-inner{gap:9px!important}
  .elementor .ebna-cta-buttons .elementor-button{min-height:46px!important;padding:11px 10px!important}
}

@media (max-width:390px){
  .elementor .ebna-cta-buttons > .elementor-element-populated,
  .elementor .ebna-cta-buttons > .elementor-widget-wrap,
  .elementor .ebna-cta-buttons > .e-con-inner{grid-template-columns:1fr!important}
}
