/* Illustrations + spacing for BIM Application Suite (EN/NL/FR)
   Reference spacing: .highlight-bim / avia-section-default = 50px */

/* -------------------------------------------------------------------------- */
/* Unify whitespace before "Connect your BIM Application…"                     */
/* -------------------------------------------------------------------------- */

.ill-selector.avia-section .template-page.content,
.ill-women.avia-section .template-page.content {
  padding-top: 50px !important;
  padding-bottom: 50px !important;
}

/* Extra 80px invisible HR only in the Selector section — remove it */
.ill-women .hr.hr-invisible,
.ill-women .hr-invisible {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Drop leftover SVG-era column bottom gap */
.ill-selector .flex_column {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

.ill-women .flex_column {
  margin-bottom: 0 !important;
}

/* -------------------------------------------------------------------------- */
/* Opaque JPG illustrations (content:url does not scale rasters)               */
/* -------------------------------------------------------------------------- */

.ill-selector .container,
.ill-women .container {
  position: relative !important;
}

.ill-selector .container::before,
.ill-women .container::before {
  content: "" !important;
  position: absolute !important;
  display: block !important;
  box-sizing: border-box !important;
  width: 50% !important;
  max-width: 550px !important;
  aspect-ratio: 16 / 9 !important;
  height: auto !important;
  transform: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
  background-size: contain !important;
  pointer-events: none !important;
  z-index: 1 !important;
  top: 50px !important; /* match unified section padding */
}

.ill-selector .container::before {
  right: 0 !important;
  left: auto !important;
  background-image: url("images/bim-object-research.jpg?v=20261203m") !important;
}

.ill-women .container::before {
  left: 0 !important;
  right: auto !important;
  background-image: url("images/info-pane-selector-interface-witas.jpg?v=20261203m") !important;
}

.ill-selector .flex_column.av_one_half.first,
.ill-women .flex_column.av_one_half:not(.first) {
  position: relative;
  z-index: 2;
}

@media screen and (max-width: 989px) {
  /* Hero CTAs sit on the diagonal and overflow into the next section */
  .ill-suitebim {
    position: relative !important;
    z-index: 5 !important;
  }

  .ill-suitebim .bimbuttons,
  .ill-suitebim .avia-buttonrow-wrap {
    position: relative !important;
    z-index: 6 !important;
  }

  .ill-selector.avia-section .template-page.content,
  .ill-women.avia-section .template-page.content {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
  }

  .ill-selector .container,
  .ill-women .container {
    padding-top: 0 !important;
    padding-bottom: 200px !important; /* room for illustration under copy */
  }

  .ill-selector .container::before,
  .ill-women .container::before {
    top: auto !important;
    bottom: 16px !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    width: 90% !important;
    max-width: 360px !important;
    z-index: 0 !important;
  }
}
