/* AgroNegev All In One v2.7.4 — live Elementor DOM correction layer. */

/* Runtime-marked section/container padding. JS only adds this class when the
   published element actually has oversized vertical padding. */
body.agro-aio-active .agro274-trim-vertical{
  padding-top:26px!important;
  padding-bottom:26px!important;
}
body.agro-aio-active .agro274-trim-vertical > .e-con-inner{
  row-gap:min(22px,var(--row-gap,22px))!important;
}

/* Also cover the common published Elementor top-level containers directly.
   Heroes/header/footer/cards are excluded so their geometry stays intact. */
body.agro-aio-active [data-elementor-type="wp-page"] > .e-con.e-parent:not(.agro-hero):not(.activity-hero):not(.agx-activity-hero),
body.agro-aio-active [data-elementor-type="page"] > .e-con.e-parent:not(.agro-hero):not(.activity-hero):not(.agx-activity-hero),
body.agro-aio-active .elementor > .e-con.e-parent:not(.agro-hero):not(.activity-hero):not(.agx-activity-hero){
  padding-top:min(26px,var(--padding-top,26px))!important;
  padding-bottom:min(26px,var(--padding-bottom,26px))!important;
}

/* Implementation / "Other" — the live page uses an image widget inside this
   card instead of the full-card background structure used by its siblings. */
body.agro-aio-active #implementation-areas .agro274-other-card,
body.agro-aio-active .agro274-other-card{
  position:relative!important;
  min-height:520px!important;
  overflow:hidden!important;
  padding:0!important;
  border-radius:0!important;
  background:#14280e!important;
  isolation:isolate!important;
}
body.agro-aio-active .agro274-other-card .elementor-widget-image,
body.agro-aio-active .agro274-other-card .elementor-widget-image > .elementor-widget-container,
body.agro-aio-active .agro274-other-card figure,
body.agro-aio-active .agro274-other-card picture{
  position:static!important;
  width:auto!important;
  max-width:none!important;
  height:auto!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:none!important;
}
body.agro-aio-active .agro274-other-card img{
  position:absolute!important;
  z-index:0!important;
  inset:0!important;
  display:block!important;
  width:100%!important;
  max-width:none!important;
  height:100%!important;
  min-height:100%!important;
  margin:0!important;
  padding:0!important;
  object-fit:cover!important;
  object-position:center center!important;
  border:0!important;
  border-radius:0!important;
}
body.agro-aio-active .agro274-other-card:after{
  content:""!important;
  position:absolute!important;
  z-index:1!important;
  inset:0!important;
  display:block!important;
  background:linear-gradient(180deg,rgba(10,27,7,.04) 15%,rgba(10,27,7,.22) 48%,rgba(10,27,7,.88) 100%)!important;
  pointer-events:none!important;
}
body.agro-aio-active .agro274-other-card > *:not(.elementor-widget-image),
body.agro-aio-active .agro274-other-card .elementor-widget-heading,
body.agro-aio-active .agro274-other-card .elementor-widget-text-editor{
  position:relative!important;
  z-index:2!important;
}
body.agro-aio-active .agro274-other-card .elementor-heading-title,
body.agro-aio-active .agro274-other-card .elementor-widget-text-editor,
body.agro-aio-active .agro274-other-card .elementor-widget-text-editor *{
  color:#fff!important;
  text-shadow:0 2px 14px rgba(0,0,0,.38)!important;
}

/* Innovation impact icons — visibly larger than 2.7.3. */
body.agro-aio-active #innovation-impact .agro-case-grid .agro-case:after{
  width:88px!important;
  height:88px!important;
  top:18px!important;
  right:18px!important;
  border-radius:22px!important;
  background-size:80px 80px!important;
  background-position:center!important;
}

@media(max-width:1024px){
  body.agro-aio-active .agro274-trim-vertical{
    padding-top:22px!important;
    padding-bottom:22px!important;
  }
  body.agro-aio-active .agro274-other-card{min-height:440px!important}
  body.agro-aio-active #innovation-impact .agro-case-grid .agro-case:after{
    width:76px!important;height:76px!important;background-size:70px 70px!important;
  }
}
@media(max-width:760px){
  body.agro-aio-active .agro274-trim-vertical{
    padding-top:16px!important;
    padding-bottom:16px!important;
  }
  body.agro-aio-active [data-elementor-type="wp-page"] > .e-con.e-parent:not(.agro-hero):not(.activity-hero):not(.agx-activity-hero),
  body.agro-aio-active [data-elementor-type="page"] > .e-con.e-parent:not(.agro-hero):not(.activity-hero):not(.agx-activity-hero),
  body.agro-aio-active .elementor > .e-con.e-parent:not(.agro-hero):not(.activity-hero):not(.agx-activity-hero){
    padding-top:16px!important;
    padding-bottom:16px!important;
  }
  body.agro-aio-active .agro274-other-card{min-height:390px!important}
  body.agro-aio-active #innovation-impact .agro-case-grid .agro-case:after{
    width:66px!important;height:66px!important;top:14px!important;right:14px!important;background-size:60px 60px!important;
  }
}
