/* ==========================================================================
   Display  (/solutions/display/)

   The second By Industry page, copying Power Devices (PD10): the product
   pages' nine-section shape, with the TCAD page's flow as "Where Silvaco
   fits". NO NEW COMPONENTS: everything comes from product-family.css.

   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  the market        neutral-2-100  §7  evaluate       neutral-2-000
     §3  where Silvaco fits white         §8  FAQ            white
     §4  technologies      neutral-2-100  §9  related        neutral-2-100
     §5  applications      white
   ========================================================================== */

/* --------------------------------------------------------------------------
   Section anchors - 96px clears the sticky header
   -------------------------------------------------------------------------- */
#the-market,#where-silvaco-fits,#technologies,
#applications,#resources{scroll-margin-top:96px}

/* two market paragraphs: space the second from the first */
.pf-def__answer + .pf-def__answer{margin-top:16px}

/* NINE flow nodes (input + eight products): three across from 1024 rather
   than the shared four, so the chain closes 3 + 3 + 3 */
@media (min-width:1024px){
  .pf-flow__chain{grid-template-columns:repeat(3,minmax(0,1fr))}
}

/* FIVE technology groups in the shared three-across grid: Panel-level
   verification spans two columns from 640, so the grid closes 2 + 2 + wide
   at two columns and 3 + 1 + wide at three, as on Gateway */
@media (min-width:640px){
  .dsp-cap--wide{grid-column:span 2}
}

/* EIGHT Related tiles: two across at 640, four from 1024, so they close
   evenly rather than in the shared five-across */
@media (min-width:640px){
  .pf-related__list{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (min-width:1024px){
  .pf-related__list{grid-template-columns:repeat(4,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. */
@media (max-width:639.98px){
  .page-banner__ctas .ps-btn--large,.section-headings__ctas .ps-btn--large,.pf-res__more .ps-btn{max-width:100%}
  .page-banner__ctas .ps-btn--large .ps-btn__text,.section-headings__ctas .ps-btn--large .ps-btn__text,.pf-res__more .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-cap,.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-flow,.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)}

/* --------------------------------------------------------------------------
   The Display round (2026-09-28)
   -------------------------------------------------------------------------- */
/* FIVE resource cards once the Japan Display card is held (DISPLAY-31): the
   last card spans both columns at two across, and the second row's two cards
   share the width at three across, so the grid closes 2 + 2 + wide and 3 + 2.
   Keyed on the count, so switching the card back on restores the 3 + 3. */
@media (min-width:640px) and (max-width:1023.98px){
  .pf-res__grid:not(:has(> li:nth-child(6))) > li:last-child:nth-child(odd){grid-column:1 / -1}
}
@media (min-width:1024px){
  .pf-res__grid:not(:has(> li:nth-child(6))){grid-template-columns:repeat(6,minmax(0,1fr))}
  .pf-res__grid:not(:has(> li:nth-child(6))) > li{grid-column:span 2}
  .pf-res__grid:not(:has(> li:nth-child(6))) > li:nth-child(n+4){grid-column:span 3}
}
/* an unlinked list item (DISPLAY-45's Examples item, WAIT-03): the card
   without the link colour or hover */
.pf-res__doc.dsp-doc--plain .pf-res__doc-name{color:var(--ps-color-neutral-3-500)}
.pf-res__doc.dsp-doc--plain:hover{border-color:var(--ps-color-neutral-2-300)}
