/* Apply the approved spacing rules to the existing public page markup. */
@media (max-width: 1599px), (max-height: 900px) {
  #main-content {
    --space-section: clamp(1.75rem, 1.25rem + 2vw, 3rem);
    --space-section-lg: clamp(2.25rem, 1.75rem + 2.25vw, 3.75rem);
  }
}

#main-content :is(.support-needs, .website-explorer, .website-options,
  .quickstart-example, .website-process, .web-close) {
  padding-block: var(--space-section);
}

#main-content .quickstart-example .window-viewport {
  height: min(540px, 62svh);
}

#main-content .ab-hero { margin-top: 1rem; }
#main-content .ab-hero__portrait { width: min(100%, 300px); }

@media (min-width: 1024px) {
  #main-content .contact-layout { margin-block: 1rem; }
  #main-content .contact-panel { padding: 1.5rem; }
}

@media (min-width: 64rem) and (max-height: 900px) {
  #main-content .support-hero .hero-grid {
    min-height: clamp(30rem, calc(100svh - 11rem), 42rem);
  }
  #main-content .support-hero .hero-copy {
    padding-block: clamp(2rem, 6vh, 4rem);
  }
  #main-content #support-title {
    font-size: clamp(2.8rem, 4.3vw, 4.1rem);
    margin-bottom: 1rem;
  }
  #main-content .support-hero .eyebrow { margin-bottom: 1rem; }
  #main-content .support-hero .hero-actions { margin-top: 1.15rem; }
  #main-content .support-hero .campaign-art {
    inset: 0 0 0 auto;
    width: auto;
    height: 100%;
    max-width: 100%;
    aspect-ratio: 1603 / 981;
  }
  #main-content .support-hero .campaign-art img {
    object-fit: contain;
    object-position: right center;
    mask-image: linear-gradient(to right, transparent, #000 16%);
  }
}

@media (max-width: 39.99rem) {
  #main-content :is(.support-needs, .website-explorer, .website-process) {
    padding-block: 2.5rem;
  }
}
@media (max-width: 600px) {
  #main-content .quickstart-example { padding-block: 2.5rem; }
}
