/* Shared QuantumX styling.

   1) QuantumX heroes using the Industry photo treatment (.fb-hero__photo, from industry.css).
   The visual column keeps the hero card (and the ATEX mark) where the framed image used to sit. */
.qx-hero.fb-hero .qx-hero__visual{align-self:stretch;min-height:clamp(380px,36vw,540px);margin:0 0 0 auto;padding:0;max-width:792px}
.qx-hero.fb-hero .qx-hero__card{right:0;bottom:0}
@media (max-width:900px){
.qx-hero.fb-hero .qx-hero__visual{align-self:auto;min-height:0;width:100%}
}

/* 2) Application Engineering (#design-basis) and the QuantumX overview's Specialty Mixing Systems (#systems):
   the animated blue wave from the homepage Specialty Systems section (home.css #specialty); also used by the Compare page's Compare Mixer Types section (#glance).
   Same values and 12s drift as the homepage. */
[class*="pmx-quantumx"] :is(#design-basis,#systems,#featured,#why),.pmx-compare-page #glance,.pmx-request-a-quote-page #quote,.pmx-contact-page #contact,.pmx-mixer-selection-engine-page #selector{overflow:hidden;background:radial-gradient(ellipse at 80% 25%,rgba(31,118,204,.20),transparent 55%),radial-gradient(ellipse at 10% 84%,rgba(214,39,59,.08),transparent 50%),linear-gradient(135deg,#e5edf5 0%,#cbdce9 49%,#e8f0f6 100%)}
[class*="pmx-quantumx"] :is(#design-basis,#systems,#featured,#why)::after,.pmx-compare-page #glance::after,.pmx-request-a-quote-page #quote::after,.pmx-contact-page #contact::after,.pmx-mixer-selection-engine-page #selector::after{content:"";position:absolute;z-index:-1;pointer-events:none;width:90%;height:460px;right:-28%;top:18%;border:2px solid rgba(35,145,231,.21);border-radius:50%;transform:rotate(-21deg);box-shadow:0 0 38px rgba(40,152,245,.12),0 0 95px rgba(40,152,245,.12),inset 0 0 45px rgba(40,152,245,.09);animation:specialtyLightDrift 12s ease-in-out infinite alternate}
@keyframes specialtyLightDrift{from{transform:translateY(-16px) rotate(-21deg);opacity:.45}to{transform:translateY(28px) rotate(-18deg);opacity:1}}
@media (prefers-reduced-motion:reduce){
[class*="pmx-quantumx"] :is(#design-basis,#systems,#featured,#why)::after,.pmx-compare-page #glance::after,.pmx-request-a-quote-page #quote::after,.pmx-contact-page #contact::after,.pmx-mixer-selection-engine-page #selector::after{animation:none}
}

/* 3) QuantumX overview Technical Resources: eyebrow above the heading on the left, "View All Resources" on the far
   right of the same row with its bottom on the bottom of the heading's last line (grid bottom alignment, so it
   follows any wrapping); the "TECHNICAL RESOURCES" line under the tiles sits at the right edge. Scoped to .qx-res. */
.qx-res .resources-heading{grid-template-columns:minmax(0,1fr) auto;align-items:end}
.qx-res .resources-heading__aside{justify-self:end;max-width:none;text-align:right;margin-top:0;padding-bottom:0}
.qx-res .resources-heading__aside p{margin:0}
.qx-res .resources-bottom{justify-content:flex-end}
@media (max-width:650px){
.qx-res .resources-heading{grid-template-columns:minmax(0,1fr)}
.qx-res .resources-heading__aside{justify-self:start;text-align:left}
}

/* 4) Hero blog card: the whole card is the link (stretched link on the title anchor), with a visible keyboard focus. */
.qx-hero__card a::before{content:"";position:absolute;inset:0}
.qx-hero__card:focus-within{outline:2px solid var(--blue-l);outline-offset:2px}


/* Technical Resources tiles: icon images are 48px, the text glyphs 42px; trim the difference so headings stay level. */
.qx-res .pmx-resource-icon{margin:-3px 0}

/* Sticky-nav "Visit QuantumX Website" button (label + arrow icon): same spacing on every QuantumX page, including pages without their own page stylesheet (Vacuum Mixers). */
.rb-subnav a.rb-subnav__cta:has(> .icon){gap:10px;white-space:nowrap}

/* ATEX Mixers only. Overview: roomier equipment list, right column text flush with its label. */
.pmx-atex-overview .rb-prose .rb-sub+.rb-checks{margin-top:16px;gap:12px}
.pmx-atex-overview .rb-prose .rb-checks+p{margin-top:28px}
.pmx-atex-overview .rb-overview__visual .rb-overview__statement,.pmx-atex-overview .rb-overview__visual .rb-note{padding-left:0;border-left:0;background:none}
.pmx-atex-overview .rb-overview__visual .rb-overview__statement{margin:0 0 28px}
/* ATEX Mixers only. Project Boundary: neutral bordered card (rb-card), red X icons. */
.pmx-atex-boundary .rb-checks li .icon{color:var(--accent-red)}

/* QuantumX standard: two-column sections align the main left heading with the first content in the right column; the eyebrow sits in its own row above both. */
body.permix-qx-hero .fb-sticky{row-gap:0}
body.permix-qx-hero .fb-sticky>.label{grid-column:1/-1;margin-bottom:20px}
@media (max-width:1080px){body.permix-qx-hero .fb-sticky__head{margin-bottom:clamp(32px,5vw,88px)}}
body.permix-qx-hero .fb-sticky>.label~.fb-sticky__head .h-lg{margin-top:0}
@media (min-width:901px){
  body.permix-qx-hero .rb-overview{grid-template-rows:repeat(4,auto) 1fr;row-gap:0}
  body.permix-qx-hero .rb-overview__copy,body.permix-qx-hero .rb-overview__head{display:contents}
  body.permix-qx-hero .rb-overview__head .label{grid-column:1;grid-row:1}
  body.permix-qx-hero .rb-overview__head .h-lg{grid-column:1;grid-row:2}
  body.permix-qx-hero .rb-overview__intro{grid-column:1;grid-row:3}
  body.permix-qx-hero .rb-overview__copy>.rb-prose{grid-column:1;grid-row:4;margin-top:28px}
  body.permix-qx-hero .rb-overview__visual{grid-column:2;grid-row:2/-1}
}
body.permix-qx-hero .rb-overview__visual>:first-child,body.permix-qx-hero .rb-overview__visual>.rb-prose>:first-child{margin-top:0}

/* QuantumX: a paragraph that follows a list keeps the standard 24px gap (the list had no bottom margin, so text ran into it). */
body.permix-qx-hero :is(.rb-checks,.rb-numgrid,.rb-overview__keys)+p:not(.rb-sub){margin-top:24px}

/* QuantumX pages: the homepage tab strip (.tabs) with three tabs instead of four; phones keep the homepage's two-column wrap. */
@media (min-width:641px){.tabs--3{grid-template-columns:repeat(3,1fr)}}
/* Tabbed panels on QuantumX pages: every image sits in the homepage's 4:3 stage, so tabs keep one card size (no layout shift). */
body.permix-qx-hero [data-tabs]~.panel .panel__stage{overflow:hidden}

/* QuantumX: a closing statement group that follows the numbered overview list keeps the standard 24px gap. */
body.permix-qx-hero .rb-overview__keys+.rb-prose{margin-top:24px}
