/* Scoped refinements of the established native Divi service-hero family. */
body #page-container {
  --annotation-hero-gap: 48px;
  --annotation-hero-art-width: 92%;
  --annotation-hero-art-lift: -12px;
  --annotation-hero-tight-gap: 20px;
  --annotation-hero-phone-gap: 20px;
}
@media (min-width: 981px) {
  body #page-container .ioc-hb-hero:is(.ioc-hb--website-redesign,.ioc-hb--website-audits,.ioc-hb--cloudflare-website-protection) .ioc-hb-grid,
  body.page-id-122186 #page-container .ioc-og-hero--getting .ioc-og-grid {
    gap: var(--annotation-hero-gap) !important;
    align-items: center !important;
  }
  body #page-container .ioc-hb-hero:is(.ioc-hb--website-redesign,.ioc-hb--website-audits) .ioc-hb-image {
    width: var(--annotation-hero-art-width) !important;
    max-width: var(--annotation-hero-art-width) !important;
    transform: translateY(var(--annotation-hero-art-lift)) !important;
  }
  body.page-id-122079 #page-container .ioc-suite-hero .ioc-suite-hero-grid {
    grid-template-columns: minmax(min(45%, 22.25rem), .84fr) minmax(0, 1.16fr) !important;
    gap: clamp(var(--annotation-hero-tight-gap), 2vw, 32px) !important;
  }
  body.page-id-122079 #page-container .ioc-suite-hero .ioc-suite-hero-image {
    /* Extend into the artwork's transparent edges within the media column. */
    width: 108% !important;
    max-width: 108% !important;
    margin-inline: -6% 0 !important;
    transform: none !important;
  }
  body #page-container .ioc-hb--wordpress-managed-hosting-service .ioc-hb-grid {
    gap: var(--annotation-hero-tight-gap) !important;
  }
  body.page-id-122176 #page-container .ioc-builder-journey-grid {
    column-gap: var(--annotation-hero-gap) !important;
    align-items: center !important;
  }
}
body #page-container .ioc-hb-hero:is(.ioc-hb--about,.ioc-hb--sales-funnel-design,.ioc-hb--web-development) {
  --hb-ratio: 3 / 2;
}
body #page-container .ioc-hb--web-development .ioc-hb-image img {
  height: auto !important;
  object-fit: contain !important;
}
@media (max-width: 980px) {
  body.page-id-122079 #page-container .ioc-suite-hero .ioc-suite-hero-grid {
    gap: var(--annotation-hero-phone-gap) !important;
  }
  body.page-id-122079 #page-container .ioc-suite-hero .ioc-suite-hero-image {
    width: min(100%, 42rem) !important;
    max-width: 100% !important;
    margin-inline: auto !important;
    transform: none !important;
  }
  body.page-id-122176 #page-container .ioc-builder-journey-grid {
    gap: var(--annotation-hero-phone-gap) !important;
  }
}

/* Web Development: tighten the split around the original process artwork. */
@media (min-width: 981px) {
  body.page-id-122082 #page-container .ioc-hb--web-development .ioc-hb-grid {
    gap: var(--annotation-hero-tight-gap) !important;
  }

  body.page-id-122082 #page-container .ioc-hb--web-development .ioc-hb-image {
    flex-shrink: 0;
    /* Scale into the transparent side margins on wider screens. */
    width: clamp(112%, calc(112% + 22vw - 264px), 125%) !important;
    max-width: none !important;
  }
}
