/* Energy Bartar About Us — v0.9.45
 * Valid five-section Elementor hierarchy, compact mobile composition and
 * deterministic adjacent CTA buttons. Content remains native Elementor data.
 */

/* Restored inner card rows belong to their owning section and never create a
 * second full-width band. */
.elementor .eb45-valid-inner-grid{
  width:100%;
  height:auto!important;
  min-height:0!important;
  margin:22px 0 0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
}

.elementor .eb45-valid-inner-grid > .elementor-container{
  width:100%;
  max-width:1180px;
  height:auto!important;
  min-height:0!important;
  margin-inline:auto!important;
}

.elementor .eb45-story-grid{
  grid-column:1 / -1!important;
  grid-row:3!important;
}

/* Keep the two CTA actions genuinely adjacent instead of distributing the
 * widgets across the complete left column. */
.elementor .ebna-cta-buttons > .elementor-element-populated,
.elementor .ebna-cta-buttons > .elementor-widget-wrap,
.elementor .ebna-cta-buttons > .e-con-inner{
  width:100%!important;
  max-width:342px!important;
  margin-inline:auto!important;
  padding:0!important;
  display:flex!important;
  flex-flow:row nowrap!important;
  align-items:stretch!important;
  justify-content:center!important;
  gap:10px!important;
}

.elementor .ebna-cta-buttons .elementor-widget-button{
  flex:0 1 calc(50% - 5px)!important;
  width:calc(50% - 5px)!important;
  max-width:166px!important;
  min-width:0!important;
  margin:0!important;
}

.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:48px!important;
  padding:12px 12px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  border-radius:13px!important;
  white-space:nowrap;
}

@media (max-width:1024px){
  .elementor .eb45-valid-inner-grid{margin-top:18px!important}
}

@media (max-width:767px){
  /* One consistent mobile frame. No fixed section or card heights. */
  .elementor .elementor-element.ebna-section{
    height:auto!important;
    min-height:0!important;
  }

  .elementor .elementor-element.ebna-section > .elementor-container{
    width:100%!important;
    max-width:100%!important;
    height:auto!important;
    min-height:0!important;
  }

  /* Hero: tighter copy and a contained brand panel that does not collide with
   * the sticky mobile header while scrolling. */
  .elementor .elementor-element.ebna-section.ebna-hero{padding:25px 12px 28px!important}
  .elementor .ebna-hero > .elementor-container{gap:14px!important}
  .elementor .ebna-hero-copy > .elementor-element-populated,
  .elementor .ebna-hero-copy > .elementor-widget-wrap{padding:0 2px 8px!important}
  .elementor .ebna-hero-title .elementor-heading-title{font-size:32px!important;line-height:1.28!important}
  .elementor .ebna-hero-desc .elementor-heading-title{font-size:15px!important;line-height:1.72!important}
  .elementor .ebna-hero-lead{font-size:13.6px!important;line-height:1.9!important;margin-bottom:11px!important}
  .elementor .ebna-hero .ebna-btn-primary .elementor-button{min-height:44px!important;padding:11px 16px!important;font-size:13px!important}

  .elementor .elementor-element.ebna-hero-card{
    width:calc(100% - 8px)!important;
    max-width:340px!important;
    min-height:0!important;
    margin-inline:auto!important;
    border-radius:32px 54px 32px 54px!important;
  }
  .elementor .ebna-hero-card > .elementor-element-populated,
  .elementor .ebna-hero-card > .elementor-widget-wrap,
  .elementor .ebna-hero-card > .e-con-inner{
    min-height:0!important;
    padding:20px 14px!important;
  }
  .elementor .ebna-hero-media img{width:58px!important;height:58px!important;padding:7px!important;border-radius:17px!important}
  .elementor .ebna-brand-title{margin:4px 0 1px!important}
  .elementor .ebna-brand-title .elementor-heading-title{font-size:20px!important;line-height:1.42!important}
  .elementor .ebna-brand-sub,
  .elementor .ebna-brand-note{font-size:12.8px!important;line-height:1.72!important}
  .elementor .ebna-brand-note::before{width:54px;height:3px;margin:10px auto 7px}

  /* Story and direction cards. */
  .elementor .elementor-element.ebna-section.ebna-story{padding:31px 12px 28px!important}
  .elementor .ebna-story-body{margin-bottom:8px!important;font-size:13.6px!important;line-height:1.9!important}
  .elementor .eb45-story-grid{margin-top:14px!important}
  .elementor .eb42-directions > .elementor-container{gap:9px!important}
  .elementor .eb42-directions > .elementor-container > .elementor-column > .elementor-element-populated,
  .elementor .eb42-directions > .elementor-container > .elementor-column > .elementor-widget-wrap{
    min-height:0!important;
    padding:17px 14px!important;
    grid-template-columns:50px minmax(0,1fr)!important;
    column-gap:11px!important;
    border-radius:20px!important;
  }

  /* Shared mobile heading rhythm. */
  .elementor .ebna-section .ebna-eyebrow .elementor-heading-title{font-size:12px!important;line-height:1.65!important}
  .elementor .ebna-section .ebna-section-title .elementor-heading-title{font-size:25px!important;line-height:1.42!important}
  .elementor .ebna-section .ebna-section-desc{font-size:13.4px!important;line-height:1.82!important}

  /* Values: a compact 2×2 mobile grid instead of four oversized strips. */
  .elementor .elementor-element.ebna-section.ebna-values{padding:27px 12px 24px!important}
  .elementor .eb45-values-grid{margin-top:14px!important}
  .elementor .eb42-values-grid > .elementor-container{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    grid-template-rows:auto!important;
    gap:9px!important;
    align-items:stretch!important;
  }
  .elementor .eb42-values-grid > .elementor-container > .elementor-column{
    width:auto!important;
    max-width:none!important;
    min-width:0!important;
    margin:0!important;
  }
  .elementor .eb42-values-grid > .elementor-container > .elementor-column > .elementor-element-populated,
  .elementor .eb42-values-grid > .elementor-container > .elementor-column > .elementor-widget-wrap{
    min-height:0!important;
    padding:16px 13px!important;
    border-radius:20px!important;
  }
  .elementor .eb42-values-grid .elementor-icon{width:46px!important;height:46px!important;border-radius:14px!important;font-size:19px!important}
  .elementor .eb42-values-grid .elementor-heading-title{font-size:16.5px!important;line-height:1.5!important}
  .elementor .eb42-values-grid .elementor-widget-text-editor{font-size:13px!important;line-height:1.78!important}

  /* Units: keep one clear route per row, but remove the tall empty interiors. */
  .elementor .elementor-element.ebna-section.ebna-units{padding:30px 12px 28px!important}
  .elementor .eb45-units-grid{margin-top:14px!important}
  .elementor .eb42-units-grid > .elementor-container{display:flex!important;flex-direction:column!important;gap:9px!important}
  .elementor .eb42-units-grid > .elementor-container > .elementor-column{
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
  }
  .elementor .eb42-units-grid > .elementor-container > .elementor-column > .elementor-element-populated,
  .elementor .eb42-units-grid > .elementor-container > .elementor-column > .elementor-widget-wrap{
    min-height:0!important;
    padding:18px 16px 16px!important;
    border-radius:21px!important;
  }
  .elementor .eb42-units-grid .elementor-icon{width:48px!important;height:48px!important;border-radius:15px!important;font-size:19px!important}
  .elementor .eb42-units-grid .elementor-heading-title{font-size:18px!important;line-height:1.5!important}
  .elementor .eb42-units-grid .elementor-widget-text-editor{font-size:13.2px!important;line-height:1.8!important}
  .elementor .eb42-units-grid .elementor-widget-button{margin-top:10px!important}
  .elementor .eb42-units-grid .elementor-button{min-height:40px!important;padding:9px 14px!important;font-size:12.8px!important}

  /* CTA: compact copy plus two equal actions next to each other at every
   * supported mobile width. */
  .elementor .elementor-element.ebna-section.ebna-cta{
    width:calc(100% - 24px)!important;
    margin:4px auto 24px!important;
    padding:23px 14px!important;
    border-radius:22px!important;
  }
  .elementor .ebna-cta > .elementor-container{gap:12px!important}
  .elementor .ebna-cta-title .elementor-heading-title{font-size:23px!important;line-height:1.45!important}
  .elementor .ebna-cta-desc{font-size:13.2px!important;line-height:1.8!important}
  .elementor .ebna-cta-buttons > .elementor-element-populated,
  .elementor .ebna-cta-buttons > .elementor-widget-wrap,
  .elementor .ebna-cta-buttons > .e-con-inner{
    max-width:326px!important;
    display:flex!important;
    flex-flow:row nowrap!important;
    gap:8px!important;
  }
  .elementor .ebna-cta-buttons .elementor-widget-button{
    flex:0 1 calc(50% - 4px)!important;
    width:calc(50% - 4px)!important;
    max-width:159px!important;
  }
  .elementor .ebna-cta-buttons .elementor-button{
    min-height:44px!important;
    padding:10px 7px!important;
    font-size:12.5px!important;
    border-radius:12px!important;
  }
}

@media (max-width:360px){
  .elementor .ebna-hero-title .elementor-heading-title{font-size:30px!important}
  .elementor .ebna-section .ebna-section-title .elementor-heading-title{font-size:23px!important}
  .elementor .eb42-values-grid > .elementor-container{gap:7px!important}
  .elementor .eb42-values-grid > .elementor-container > .elementor-column > .elementor-element-populated,
  .elementor .eb42-values-grid > .elementor-container > .elementor-column > .elementor-widget-wrap{padding:14px 11px!important}
  .elementor .ebna-cta-buttons .elementor-button{font-size:12px!important;padding-inline:5px!important}
}
