/* Approved site illustration release: proportional Odoo media and page-specific pilot fit. */
.odooHeroMedia img,
.odooMediaBlock img {
  height: auto;
}

/* WP-admin replaceable Home/About section illustrations. */
.sectionIllustration {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 420px);
  aspect-ratio: 1;
  margin: 0 auto;
}

.sectionIllustration img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.coreMiniSplit .sectionIllustrationLight {
  max-width: 360px;
}

.implementationPanel .sectionIllustrationDark {
  max-width: 420px;
}

.sectionIllustrationSemantic {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.page-template-template-odoo-pricing-main .odooHeroMedia img {
  width: 100%;
  max-width: 420px;
  height: auto;
  min-height: 0;
  max-height: none;
  object-fit: contain;
}

.page-template-template-industry-real-estate .industryHeroMedia img {
  width: 100%;
  max-width: 520px;
  height: auto;
}

@media (max-width: 767px) {
  .coreMiniSplit .sectionIllustrationLight {
    max-width: 300px;
  }

  .implementationPanel .sectionIllustrationDark {
    max-width: 318px;
  }

  .page-template-template-discuss-project .heroSection {
    padding-bottom: 40px;
  }

  .page-template-template-discuss-project .heroVisual,
  .page-template-template-discuss-project .visualFrame {
    display: flex;
    justify-content: center;
  }

  .page-template-template-discuss-project .visualFrame img {
    width: 100%;
    max-width: 260px;
    height: auto;
    margin: 0 auto;
  }
}

@media (max-width: 340px) {
  .coreMiniSplit .sectionIllustrationLight {
    max-width: 285px;
  }

  .implementationPanel .sectionIllustrationDark {
    max-width: 255px;
  }

  .page-template-template-discuss-project .visualFrame img {
    max-width: 220px;
  }
}
