/* Energy Bartar About Us — v0.9.50
 * Final CTA-only repair. Nothing outside .ebna-cta is targeted here.
 */

/* Restore the Elementor column as a column; v0.9.49 made it a grid, which did
 * not neutralize every legacy wrapper on the installed Elementor build. */
.ebna-cta > .elementor-container{
  align-items:center!important;
}

.ebna-cta .ebna-cta-buttons{
  flex:0 0 36%!important;
  width:36%!important;
  max-width:36%!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  justify-content:center!important;
  align-self:stretch!important;
  direction:rtl!important;
}

.ebna-cta .ebna-cta-buttons > .elementor-column-wrap,
.ebna-cta .ebna-cta-buttons > .elementor-element-populated,
.ebna-cta .ebna-cta-buttons > .elementor-widget-wrap,
.ebna-cta .ebna-cta-buttons > .e-con-inner{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  height:100%!important;
  margin:0!important;
  padding:0!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  justify-content:center!important;
  background:transparent!important;
}

/* Current native Elementor structure: one inner section with two equal cells. */
.ebna-cta .ebna-cta-buttons .eb47-cta-row{
  flex:none!important;
  width:340px!important;
  max-width:100%!important;
  min-width:0!important;
  margin-left:0!important;
  margin-right:auto!important;
  padding:0!important;
  display:block!important;
  background:transparent!important;
}

.ebna-cta .ebna-cta-buttons .eb47-cta-row > .elementor-container{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  grid-auto-flow:row!important;
  gap:10px!important;
  align-items:stretch!important;
  justify-content:stretch!important;
  direction:rtl!important;
}

.ebna-cta .ebna-cta-buttons .eb47-cta-row > .elementor-container > .eb47-cta-cell{
  flex:none!important;
  width:auto!important;
  max-width:none!important;
  min-width:0!important;
  height:54px!important;
  margin:0!important;
  padding:0!important;
  display:flex!important;
  align-items:stretch!important;
}

.ebna-cta .ebna-cta-buttons .eb47-cta-cell > .elementor-column-wrap,
.ebna-cta .ebna-cta-buttons .eb47-cta-cell > .elementor-element-populated,
.ebna-cta .ebna-cta-buttons .eb47-cta-cell > .elementor-widget-wrap{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  height:54px!important;
  margin:0!important;
  padding:0!important;
  display:flex!important;
  align-items:stretch!important;
}

/* Fallback for older saved data containing two direct Button widgets. */
.ebna-cta .ebna-cta-buttons > :is(.elementor-column-wrap,.elementor-element-populated,.elementor-widget-wrap,.e-con-inner):has(> .ebna-btn-primary):has(> .ebna-btn-secondary){
  width:340px!important;
  max-width:100%!important;
  height:auto!important;
  margin-left:0!important;
  margin-right:auto!important;
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:10px!important;
  align-items:stretch!important;
  direction:rtl!important;
}

.ebna-cta .ebna-cta-buttons .elementor-widget-button{
  position:static!important;
  inset:auto!important;
  transform:none!important;
  flex:none!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  height:54px!important;
  min-height:54px!important;
  margin:0!important;
  padding:0!important;
  display:flex!important;
  align-items:stretch!important;
}

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

.ebna-cta .ebna-cta-buttons .elementor-button{
  padding:10px 7px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  border-radius:13px!important;
  font-size:13.5px!important;
  line-height:1.35!important;
  white-space:nowrap!important;
  text-align:center!important;
}

@media (max-width:767px){
  .ebna-cta .ebna-cta-buttons{
    flex:0 0 100%!important;
    width:100%!important;
    max-width:100%!important;
    min-height:48px!important;
    align-items:center!important;
    align-self:auto!important;
    margin-top:4px!important;
  }

  .ebna-cta .ebna-cta-buttons > .elementor-column-wrap,
  .ebna-cta .ebna-cta-buttons > .elementor-element-populated,
  .ebna-cta .ebna-cta-buttons > .elementor-widget-wrap,
  .ebna-cta .ebna-cta-buttons > .e-con-inner{
    align-items:center!important;
  }

  .ebna-cta .ebna-cta-buttons .eb47-cta-row,
  .ebna-cta .ebna-cta-buttons > :is(.elementor-column-wrap,.elementor-element-populated,.elementor-widget-wrap,.e-con-inner):has(> .ebna-btn-primary):has(> .ebna-btn-secondary){
    width:100%!important;
    max-width:320px!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }

  .ebna-cta .ebna-cta-buttons .eb47-cta-row > .elementor-container,
  .ebna-cta .ebna-cta-buttons > :is(.elementor-column-wrap,.elementor-element-populated,.elementor-widget-wrap,.e-con-inner):has(> .ebna-btn-primary):has(> .ebna-btn-secondary){
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;
  }

  .ebna-cta .ebna-cta-buttons .eb47-cta-row > .elementor-container > .eb47-cta-cell,
  .ebna-cta .ebna-cta-buttons .eb47-cta-cell > .elementor-column-wrap,
  .ebna-cta .ebna-cta-buttons .eb47-cta-cell > .elementor-element-populated,
  .ebna-cta .ebna-cta-buttons .eb47-cta-cell > .elementor-widget-wrap,
  .ebna-cta .ebna-cta-buttons .elementor-widget-button,
  .ebna-cta .ebna-cta-buttons .elementor-button-wrapper,
  .ebna-cta .ebna-cta-buttons .elementor-button{
    height:48px!important;
    min-height:48px!important;
  }

  .ebna-cta .ebna-cta-buttons .elementor-button{
    padding:9px 5px!important;
    font-size:13px!important;
  }
}
