/* Energy Bartar About Us — v0.9.48
 * Physical CTA alignment and wrapper-independent two-button layout.
 */

/* Desktop: the action group belongs at the physical left edge of its column,
 * not centred inside it. */
.elementor .ebna-cta-buttons > .elementor-element-populated,
.elementor .ebna-cta-buttons > .elementor-widget-wrap,
.elementor .ebna-cta-buttons > .elementor-column-wrap > .elementor-widget-wrap{
  width:100%!important;
  max-width:360px!important;
  margin-left:0!important;
  margin-right:auto!important;
  padding:0!important;
}

.elementor .ebna-cta-buttons .eb47-cta-row{
  width:100%!important;
  max-width:360px!important;
  margin-left:0!important;
  margin-right:auto!important;
  padding:0!important;
}

/* Current native Inner Section. */
.elementor .ebna-cta-buttons .eb47-cta-row > .elementor-container{
  width:100%!important;
  max-width:none!important;
  display:flex!important;
  flex-flow:row nowrap!important;
  align-items:stretch!important;
  justify-content:flex-start!important;
  gap:10px!important;
  direction:rtl;
}

.elementor .ebna-cta-buttons .eb47-cta-row > .elementor-container > .eb47-cta-cell{
  flex:0 0 calc(50% - 5px)!important;
  width:calc(50% - 5px)!important;
  max-width:calc(50% - 5px)!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  direction:rtl;
}

/* Fallback for a document that Elementor has flattened back to two direct
 * Button widgets. :has() selects their real common wrapper instead of guessing
 * which wrapper name this Elementor build emits. */
.elementor .ebna-cta-buttons :is(.elementor-widget-wrap,.elementor-element-populated,.e-con-inner):has(> .ebna-btn-primary):has(> .ebna-btn-secondary){
  width:100%!important;
  max-width:360px!important;
  margin-left:0!important;
  margin-right:auto!important;
  padding:0!important;
  display:flex!important;
  flex-flow:row nowrap!important;
  align-items:stretch!important;
  justify-content:flex-start!important;
  gap:10px!important;
  direction:rtl;
}

.elementor .ebna-cta-buttons :is(.elementor-widget-wrap,.elementor-element-populated,.e-con-inner):has(> .ebna-btn-primary):has(> .ebna-btn-secondary) > .elementor-widget-button{
  flex:0 0 calc(50% - 5px)!important;
  width:calc(50% - 5px)!important;
  max-width:calc(50% - 5px)!important;
  min-width:0!important;
  margin:0!important;
}

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

.elementor .ebna-cta-buttons .elementor-button{
  min-height:50px!important;
  padding:12px 10px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
  white-space:normal!important;
}

@media (max-width:767px){
  .elementor .elementor-element.ebna-section.ebna-cta{
    padding:22px 14px!important;
  }
  .elementor .ebna-cta > .elementor-container{gap:8px!important}
  .elementor .ebna-cta-buttons{margin-top:4px!important}
  .elementor .ebna-cta-buttons > .elementor-element-populated,
  .elementor .ebna-cta-buttons > .elementor-widget-wrap,
  .elementor .ebna-cta-buttons > .elementor-column-wrap > .elementor-widget-wrap,
  .elementor .ebna-cta-buttons .eb47-cta-row,
  .elementor .ebna-cta-buttons :is(.elementor-widget-wrap,.elementor-element-populated,.e-con-inner):has(> .ebna-btn-primary):has(> .ebna-btn-secondary){
    width:100%!important;
    max-width:330px!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }
  .elementor .ebna-cta-buttons .eb47-cta-row > .elementor-container,
  .elementor .ebna-cta-buttons :is(.elementor-widget-wrap,.elementor-element-populated,.e-con-inner):has(> .ebna-btn-primary):has(> .ebna-btn-secondary){
    display:flex!important;
    flex-flow:row nowrap!important;
    gap:8px!important;
  }
  .elementor .ebna-cta-buttons .eb47-cta-row > .elementor-container > .eb47-cta-cell,
  .elementor .ebna-cta-buttons :is(.elementor-widget-wrap,.elementor-element-populated,.e-con-inner):has(> .ebna-btn-primary):has(> .ebna-btn-secondary) > .elementor-widget-button{
    flex:0 0 calc(50% - 4px)!important;
    width:calc(50% - 4px)!important;
    max-width:calc(50% - 4px)!important;
  }
  .elementor .ebna-cta-buttons .elementor-button{
    min-height:48px!important;
    padding:10px 7px!important;
    font-size:14px!important;
    line-height:1.45!important;
  }
}

@media (max-width:360px){
  .elementor .ebna-cta-buttons .eb47-cta-row > .elementor-container,
  .elementor .ebna-cta-buttons :is(.elementor-widget-wrap,.elementor-element-populated,.e-con-inner):has(> .ebna-btn-primary):has(> .ebna-btn-secondary){
    display:flex!important;
    flex-flow:row nowrap!important;
    gap:7px!important;
  }
  .elementor .ebna-cta-buttons .eb47-cta-row > .elementor-container > .eb47-cta-cell,
  .elementor .ebna-cta-buttons :is(.elementor-widget-wrap,.elementor-element-populated,.e-con-inner):has(> .ebna-btn-primary):has(> .ebna-btn-secondary) > .elementor-widget-button{
    flex-basis:calc(50% - 3.5px)!important;
    width:calc(50% - 3.5px)!important;
    max-width:calc(50% - 3.5px)!important;
  }
}
