/* Visual audit fixes: keep generated media complete, consistent and responsive. */

.metop-creative-factory-parity .metop-cf-hero-visual {
  display: block !important;
  width: 100%;
}

.metop-creative-factory-parity .metop-cf-hero-main,
.metop-creative-factory-parity .metop-cf-hero-main .elementor-widget-container,
.metop-creative-factory-parity .metop-cf-definition-media,
.metop-creative-factory-parity .metop-cf-definition-media .elementor-widget-container,
.metop-creative-factory-parity .metop-cf-workflow-media,
.metop-creative-factory-parity .metop-cf-workflow-media .elementor-widget-container,
.metop-creative-factory-parity .metop-cf-output-media,
.metop-creative-factory-parity .metop-cf-output-media .elementor-widget-container {
  aspect-ratio: 16 / 9 !important;
  height: auto !important;
  min-height: 0 !important;
  overflow: hidden;
  padding: 0 !important;
  width: 100%;
}

.metop-creative-factory-parity .metop-cf-hero-main img,
.metop-creative-factory-parity .metop-cf-definition-media img,
.metop-creative-factory-parity .metop-cf-workflow-media img,
.metop-creative-factory-parity .metop-cf-workflow-card:nth-child(3) .metop-cf-workflow-media img,
.metop-creative-factory-parity .metop-cf-output-media img {
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  padding: 0 !important;
  width: 100% !important;
}

.metop-scan-parity .metop-scan-capability-card .metop-scan-card-image,
.metop-scan-parity .metop-scan-capability-card .metop-scan-card-image .elementor-widget-container {
  aspect-ratio: 16 / 9 !important;
  height: auto !important;
  min-height: 0 !important;
  width: 100%;
}

.metop-scan-parity .metop-scan-capability-card .metop-scan-card-image img {
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  width: 100% !important;
}

.metop-about-profile-image,
.metop-about-profile-image .elementor-widget-container {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  width: 100%;
}

.metop-about-profile-image img {
  aspect-ratio: auto !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  width: 100% !important;
}

.metop-engine-parity .metop-engine-module-card:not(.is-wide) {
  gap: 0 !important;
  grid-template-columns: 1fr !important;
  overflow: hidden;
  padding: 0 !important;
}

.metop-engine-parity .metop-engine-module-card:not(.is-wide) .metop-engine-module-copy {
  order: 2;
  padding: 28px;
}

.metop-engine-parity .metop-engine-module-card:not(.is-wide) .metop-engine-module-media {
  aspect-ratio: 16 / 9;
  min-height: 0 !important;
  order: 1;
  width: 100%;
}

.metop-engine-parity .metop-engine-module-card:not(.is-wide) .metop-engine-module-media,
.metop-engine-parity .metop-engine-module-card:not(.is-wide) .metop-engine-media-image,
.metop-engine-parity .metop-engine-module-card:not(.is-wide) .metop-engine-media-image .elementor-widget-container,
.metop-engine-parity .metop-engine-module-card:not(.is-wide) .metop-engine-media-image img {
  height: 100% !important;
  min-height: 0 !important;
  width: 100% !important;
}

.metop-engine-parity .metop-engine-module-card:not(.is-wide) .metop-engine-media-image img {
  object-fit: cover !important;
  object-position: center !important;
}

@media (max-width: 760px) {
  .metop-creative-factory-parity .metop-cf-hero-main {
    grid-column: auto !important;
  }

  .metop-engine-parity .metop-engine-module-card:not(.is-wide) .metop-engine-module-copy {
    padding: 22px;
  }
}
