/* Wantalin Existing Site Update v12 */
.apl-page-hero--home-v9 {
  background-image: var(--wantalin-home-banner) !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  height: clamp(440px, 33.333vw, 724px) !important;
  min-height: 0 !important;
}
@media (min-width: 782px) {
  .apl-page-hero--home-v9::before { background: none !important; }
  .apl-page-hero--home-v9 .apl-hero-copy-v9 {
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
    height: 1px !important;
    overflow: hidden !important;
    padding: 0 !important;
    position: absolute !important;
    white-space: nowrap !important;
    width: 1px !important;
  }
}
@media (max-width: 781px) {
  .apl-page-hero--home-v9 {
    background-image: var(--wantalin-home-banner-mobile) !important;
    background-position: 60% center !important;
    background-size: cover !important;
    height: auto !important;
    min-height: 470px !important;
  }
  .apl-page-hero--home-v9::before {
    background: linear-gradient(90deg, rgba(2,10,16,.90), rgba(2,10,16,.54)) !important;
  }
}

/* Text-only quality standard section after removing the unwanted image. */
.apl-factory-feature--textonly .wp-block-columns { display: block !important; }
.apl-factory-feature--textonly .wp-block-column {
  flex-basis: 100% !important;
  margin: 0 !important;
  max-width: 980px !important;
  width: 100% !important;
}

/* Three refreshed workflow images. */
.apl-production-section .apl-gallery3 .wp-block-image img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  width: 100%;
}

/* Remove the visible white strip before the footer. */
.wp-block-post-content > .apl-referral-section:last-child,
.apl-referral-section { margin-bottom: 0 !important; }
.wp-site-blocks > .wp-block-post-content + .wp-block-template-part,
.wp-site-blocks > .wp-block-post-content + footer,
.wp-site-blocks > main + footer,
.wp-site-blocks > footer.wp-block-template-part,
.apl-referral-section + .wp-block-template-part,
.apl-referral-section + footer,
.apl-referral-section + .apl-footer-v7 {
  margin-block-start: 0 !important;
  margin-top: 0 !important;
}
