/* AgroNegev 2.7.17. Based on 2.7.15; no video or global spacing changes.
   Scoped to the SEED facilities, Innovation project captions and Impact titles.
   Image choices remain native Elementor settings, including the new hackathon photo. */

/* SEED: only facility-card descriptions disappear, not the section introduction. */
body.agro-aio-active .elementor #community-center .agro-case-grid .agro-case .agro-case-copy,
body.agro-aio-active .elementor #community-center .agro-case-grid .agro-case .agx-card-copy,
body.agro-aio-active .elementor #community-center .agro-case-grid .agro-case .elementor-widget-text-editor,
body.agro-aio-active .elementor [data-agro2717-seed] [data-agro2717-seed-description] {
  display:none !important;
}

/* Support both legacy and 2.7.15-released title widgets, including native inline markup. */
body.agro-aio-active .elementor #community-center .agro-case-grid .agro-case .elementor-widget-heading .elementor-heading-title,
body.agro-aio-active .elementor #community-center .agro-case-grid .agro-case .elementor-widget-heading .elementor-heading-title *,
body.agro-aio-active .elementor [data-agro2717-seed] [data-agro2717-seed-title] .elementor-heading-title,
body.agro-aio-active .elementor [data-agro2717-seed] [data-agro2717-seed-title] .elementor-heading-title * {
  color:#fff !important;
  -webkit-text-fill-color:#fff !important;
  font-weight:700 !important;
}

/* Only the partner rail immediately associated with SEED, never site-wide logos. */
body.agro-aio-active .elementor #community-center .agro-community-center-logos,
body.agro-aio-active .elementor [data-agro2717-seed] .agro-community-center-logos {
  display:none !important;
}
@media (min-width:1025px) {
  body.agro-aio-active .elementor #community-center.agro2714-seed-editable .agro-shell > .e-con-inner,
  body.agro-aio-active .elementor #community-center.agro-community-center-upgraded .agro-shell > .e-con-inner {
    grid-template-areas:"copy cards" !important;
  }
}

/* Equal caption slots per visual row, without changing any card's background,
   width, height, grid or text. Sizes are based on actual rendered text height. */
body.agro-aio-active .elementor #innovation-projects [data-agro2717-caption-root],
body.agro-aio-active .elementor [data-agro2717-projects] [data-agro2717-caption-root] {
  display:flex !important;
  flex-direction:column !important;
  justify-content:flex-end !important;
  align-items:stretch !important;
  gap:10px !important;
  row-gap:10px !important;
  min-width:0 !important;
}
body.agro-aio-active .elementor #innovation-projects [data-agro2717-project-title],
body.agro-aio-active .elementor [data-agro2717-projects] [data-agro2717-project-title] {
  position:relative !important;
  inset:auto !important;
  transform:none !important;
  order:1 !important;
  flex:0 0 auto !important;
  width:100% !important;
  margin:0 !important;
  padding:0 !important;
  min-height:var(--agro2717-title-height,0px) !important;
  display:block !important;
}
body.agro-aio-active .elementor #innovation-projects [data-agro2717-project-copy],
body.agro-aio-active .elementor [data-agro2717-projects] [data-agro2717-project-copy] {
  position:relative !important;
  inset:auto !important;
  transform:none !important;
  order:2 !important;
  flex:0 0 auto !important;
  width:100% !important;
  margin:0 !important;
  padding:0 !important;
  min-height:var(--agro2717-copy-height,0px) !important;
}
body.agro-aio-active .elementor #innovation-projects [data-agro2717-project-title] > .elementor-widget-container,
body.agro-aio-active .elementor #innovation-projects [data-agro2717-project-title] .elementor-heading-title,
body.agro-aio-active .elementor #innovation-projects [data-agro2717-project-copy] > .elementor-widget-container,
body.agro-aio-active .elementor #innovation-projects [data-agro2717-project-copy] p,
body.agro-aio-active .elementor [data-agro2717-projects] [data-agro2717-project-title] > .elementor-widget-container,
body.agro-aio-active .elementor [data-agro2717-projects] [data-agro2717-project-title] .elementor-heading-title,
body.agro-aio-active .elementor [data-agro2717-projects] [data-agro2717-project-copy] > .elementor-widget-container,
body.agro-aio-active .elementor [data-agro2717-projects] [data-agro2717-project-copy] p {
  margin:0 !important;
  padding:0 !important;
}
body.agro-aio-active .elementor #innovation-projects [data-agro2717-project-copy] p + p,
body.agro-aio-active .elementor [data-agro2717-projects] [data-agro2717-project-copy] p + p {
  margin-top:6px !important;
}

/* Innovation impact: title color only. Descriptions, icons and other headings untouched. */
body.agro-aio-active .elementor #innovation-impact .agro-case-grid .agro-case .elementor-widget-heading .elementor-heading-title,
body.agro-aio-active .elementor #innovation-impact .agro-case-grid .agro-case .elementor-widget-heading .elementor-heading-title *,
body.agro-aio-active .elementor [data-agro2717-impact] [data-agro2717-impact-title] .elementor-heading-title,
body.agro-aio-active .elementor [data-agro2717-impact] [data-agro2717-impact-title] .elementor-heading-title * {
  color:#386800 !important;
  -webkit-text-fill-color:#386800 !important;
}
