/* Energy Bartar About Us — v0.9.47
 * Canonical Elementor Canvas contract, readable mobile scale and native CTA row.
 */

/* The old direct-widget wrapper must become a neutral host now that the two
 * original Button widgets live inside a valid inner Section. */
.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:390px!important;
  margin-inline:auto!important;
  padding:0!important;
  display:block!important;
  background:transparent!important;
}

.elementor .eb47-cta-row{
  width:100%!important;
  max-width:390px!important;
  margin:0 auto!important;
  padding:0!important;
  background:transparent!important;
}

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

.elementor .eb47-cta-row > .elementor-container > .eb47-cta-cell{
  width:auto!important;
  max-width:none!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  display:flex!important;
}

.elementor .eb47-cta-cell > .elementor-element-populated,
.elementor .eb47-cta-cell > .elementor-widget-wrap,
.elementor .eb47-cta-cell > .elementor-column-wrap > .elementor-widget-wrap{
  width:100%!important;
  height:100%!important;
  margin:0!important;
  padding:0!important;
  display:flex!important;
}

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

.elementor .eb47-cta-cell .elementor-widget-button{display:flex!important}
.elementor .eb47-cta-cell .elementor-button-wrapper{height:100%!important}
.elementor .eb47-cta-cell .elementor-button{
  min-height:50px!important;
  height:100%!important;
  padding:12px 10px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  border-radius:13px!important;
  white-space:normal!important;
  text-align:center!important;
}

@media (max-width:767px){
  /* A 16px reading baseline prevents Persian body copy becoming visually tiny
   * on high-density mobile screens. */
  .elementor .ebna-hero-desc .elementor-heading-title{font-size:18px!important;line-height:1.72!important}
  .elementor .ebna-hero-lead{font-size:16px!important;line-height:1.92!important}
  .elementor .ebna-brand-sub,
  .elementor .ebna-brand-note{font-size:15.5px!important;line-height:1.88!important}
  .elementor .ebna-story-body{font-size:16px!important;line-height:2!important}
  .elementor .ebna-section .ebna-section-desc{font-size:16px!important;line-height:1.92!important}

  .elementor .eb42-directions .eb42-card-title .elementor-heading-title{font-size:18px!important;line-height:1.55!important}
  .elementor .eb42-directions .eb42-card-text{font-size:15.5px!important;line-height:1.9!important}
  .elementor .eb42-values-grid .eb42-card-title .elementor-heading-title{font-size:18px!important;line-height:1.55!important}
  .elementor .eb42-values-grid .eb42-card-text{font-size:15.5px!important;line-height:1.88!important}
  .elementor .eb42-units-grid .eb42-card-title .elementor-heading-title{font-size:20px!important;line-height:1.55!important}
  .elementor .eb42-units-grid .eb42-card-text{font-size:15.8px!important;line-height:1.9!important}
  .elementor .eb42-units-grid .elementor-button{font-size:14.5px!important;line-height:1.45!important}

  .elementor .ebna-cta-title .elementor-heading-title{font-size:25px!important;line-height:1.5!important}
  .elementor .ebna-cta-desc{font-size:15.5px!important;line-height:1.9!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 .eb47-cta-row{max-width:340px!important}
  .elementor .eb47-cta-row > .elementor-container{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;
  }
  .elementor .eb47-cta-cell .elementor-button{
    min-height:48px!important;
    padding:11px 7px!important;
    font-size:14.2px!important;
    line-height:1.45!important;
  }
}

@media (max-width:360px){
  /* Keep both calls to action adjacent even on the narrowest supported phone. */
  .elementor .eb47-cta-row > .elementor-container{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:7px!important;
  }
  .elementor .eb47-cta-cell .elementor-button{font-size:13.5px!important;padding-inline:5px!important}
  .elementor .eb42-values-grid .eb42-card-title .elementor-heading-title{font-size:17px!important}
  .elementor .eb42-values-grid .eb42-card-text{font-size:15px!important}
}
