/* ==========================================================================
   VarMan XMA  (/products/design/analog-custom-ic/varman-xma/)

   The ninth and last Analog and Custom IC product page, the same nine-section
   shape as the other eight. NO NEW COMPONENTS; the column counts below are
   page-local.

   Band rhythm is the homepage's: 48 / 64 / 80. Bands alternate white and
   --ps-color-neutral-2-100; --ps-color-neutral-2-000 is reserved for the
   conversion band. No two adjacent bands share a tint.

     §1  banner        white          §6  proof          neutral-2-100
     §2  what it does  neutral-2-100  §7  evaluate       neutral-2-000
     §3  capabilities  white          §8  FAQ            white
     §4  works with    neutral-2-100  §9  related        neutral-2-100
     §5  applications  white
   ========================================================================== */

/* --------------------------------------------------------------------------
   Section anchors - 96px clears the sticky header
   -------------------------------------------------------------------------- */
#what-it-does,#capabilities,#works-with,
#applications,#resources{scroll-margin-top:96px}

@media (min-width:1024px){
  /* FOUR capability groups, so 2 x 2 rather than three and an orphan, as on
     Jivaro Pro; two Works with cards, two across; and FOUR resource cards,
     so two across rather than three and an orphan */
  .pf-cap__grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .pf-support__grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .pf-res__grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* Related has TWO tiles, the doc's VarMan and the family page: two
   across from 640 at every wider width, rather than the shared three and
   five */
@media (min-width:640px){
  .pf-related__list{grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* phones: "Talk to our Technical Experts" is wider than a 375px column at the
   large button size; let it wrap, as the rounds' pages do. TODO(dev): this
   rule has near-identical copies in most product sheets - a candidate for
   product-family.css or page-banner.css. */
@media (max-width:639.98px){
  .page-banner__ctas .ps-btn--large{max-width:100%}
  .page-banner__ctas .ps-btn--large .ps-btn__text{white-space:normal;min-width:0}
}
/* the closing band's button sits beside two text links, so it can be narrower
   than its label at tablet widths; let it wrap at every width, as the
   2026-09-28 audit did for SmartView and SmartDRC/LVS */
.section-headings__ctas .ps-btn--large{max-width:100%}
.section-headings__ctas .ps-btn--large .ps-btn__text{white-space:normal;min-width:0}

/* --------------------------------------------------------------------------
   §8 FAQ - sits on white, below the conversion band
   -------------------------------------------------------------------------- */
.faq{background:var(--sv-white)}

/* --------------------------------------------------------------------------
   Band run for this page
   -------------------------------------------------------------------------- */
.pf-def,.pf-support,.pf-res,.pf-related{
  background:var(--ps-color-neutral-2-100);
  border-block:1px solid var(--ps-color-neutral-2-300);
}
/* stated explicitly rather than left transparent: an inherited body colour
   looks right today and breaks silently the moment anything above it moves */
.pf-cap,.pf-applist{background:var(--sv-white)}
/* the conversion band takes the tint the site reserves for it site-wide */
.section-headings__wrapper--cta{background:var(--ps-color-neutral-2-000)}
