/* ADMS public content fitment v3.2.4
   Purpose: keep public-page content away from viewport edges.
   Scope: content wrappers only. Headers, footers, navigation, branding,
   typography, page content, and compiled homepage code are unchanged. */

:root{
  --adms-content-max:1440px;
  --adms-content-gutter:clamp(28px,4vw,64px);
}

/* The public pages use .wrap as their shared content boundary. Reassert it
   after all page-specific styles so every page family gets the same safe
   desktop/tablet/mobile side spacing. */
body.adms-public-consistency .wrap{
  box-sizing:border-box!important;
  width:100%!important;
  max-width:var(--adms-content-max)!important;
  margin-left:auto!important;
  margin-right:auto!important;
  padding-left:var(--adms-content-gutter)!important;
  padding-right:var(--adms-content-gutter)!important;
}

/* Request Access uses its own centered form wrapper instead of .wrap. */
body.adms-public-consistency .formwrap{
  box-sizing:border-box!important;
  width:100%!important;
  max-width:calc(640px + (var(--adms-content-gutter) * 2))!important;
  margin-left:auto!important;
  margin-right:auto!important;
  padding-left:var(--adms-content-gutter)!important;
  padding-right:var(--adms-content-gutter)!important;
}

/* Keep full-bleed section backgrounds, while their actual text/cards remain
   inside the contained .wrap boundary. */
body.adms-public-consistency :where(
  .feat-hero,.hero,.industry-hero,.compare-hero,.resources-hero,.sg-hero,
  .cx-hero,.trust-hero,.academy-hero,.academy-detail-hero,.article-hero,
  .support-detail-hero,.template-hero,.template-detail-hero,.tools-hero,
  .directory-hero,.tm-hero,.tm-app-hero,.lp-hero,.lhero
){
  width:100%;
  max-width:100%;
}

/* Prevent card and grid children from forcing the contained wrapper wider. */
body.adms-public-consistency .wrap > *,
body.adms-public-consistency .formwrap > *{
  min-width:0;
  max-width:100%;
}

@media(max-width:760px){
  :root{--adms-content-gutter:22px}
}

@media(max-width:430px){
  :root{--adms-content-gutter:18px}
}
