/* Compare page. The hero, tiles (.resource-tile), form section and partner section reuse existing styles; this file
   adds the five-tile grid and the "At a Glance" table. */

/* Five comparison tiles per row, the homepage tile design; the whole tile is the link. */
.pmx-compare-page .resources-grid{grid-template-columns:repeat(5,minmax(0,1fr))}
.pmx-compare-page .resources-grid .resource-tile{min-height:320px}
.pmx-compare-page .cmp-card:focus-visible{outline:2px solid var(--blue-l);outline-offset:-2px}
@media (max-width:1100px){
.pmx-compare-page .resources-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.pmx-compare-page .resources-grid .resource-tile:nth-child(3){border-right:0}
.pmx-compare-page .resources-grid .resource-tile:nth-child(n+4){border-top:1px solid rgba(136,194,225,.24)}
}
@media (max-width:760px){
.pmx-compare-page .resources-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.pmx-compare-page .resources-grid .resource-tile:nth-child(3){border-right:1px solid rgba(136,194,225,.24)}
.pmx-compare-page .resources-grid .resource-tile:nth-child(2n){border-right:0}
.pmx-compare-page .resources-grid .resource-tile:nth-child(n+3){border-top:1px solid rgba(136,194,225,.24)}
}
@media (max-width:560px){
.pmx-compare-page .resources-grid{grid-template-columns:1fr}
.pmx-compare-page .resources-grid .resource-tile{border-right:0;min-height:0}
.pmx-compare-page .resources-grid .resource-tile:nth-child(n+2){border-top:1px solid rgba(136,194,225,.24)}
}

/* At a Glance: heading and "Explore All Mixers" link on one row. */
.cmp-head{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:12px 24px;margin-bottom:36px}
#main .cmp-head .sec-head{flex:1 1 320px;min-width:0;margin-bottom:0}
.cmp-head .link{flex:none;margin-bottom:6px}

/* At a Glance table: a contained scroll area on small screens with the Feature column pinned. */
.cmp-scroll{overflow-x:auto;border:1px solid var(--hair-l);background:#fff;-webkit-overflow-scrolling:touch}
.cmp-scroll:focus-visible{outline:2px solid var(--pmx-blue);outline-offset:2px}
.cmp-table{width:100%;min-width:780px;border-collapse:separate;border-spacing:0;font-size:15.5px;line-height:1.5;color:var(--graphite)}
.cmp-table th,.cmp-table td{padding:18px 22px;border-right:1px solid var(--hair-l);border-bottom:1px solid var(--hair-l);text-align:left;vertical-align:top}
.cmp-table tr>:last-child{border-right:0}
.cmp-table tbody tr:last-child>*{border-bottom:0}
.cmp-table thead th{background:var(--navy-900);border-color:rgba(255,255,255,.16);border-bottom:2px solid var(--accent-red);font-weight:400;color:#fff}
.cmp-table thead th:first-child,.cmp-table tbody th{position:sticky;left:0;z-index:1;min-width:150px;font:500 12px/1.4 var(--narrow);letter-spacing:.1em;text-transform:uppercase;color:var(--pmx-blue)}
.cmp-table thead th:first-child{z-index:2}
.cmp-table tbody th{background:#fff}
.cmp-link{display:inline-flex;align-items:center;gap:8px;color:var(--graphite);font:400 clamp(17px,1.4vw,20px)/1.25 var(--sans);letter-spacing:-.015em;text-decoration:none;transition:color .2s}
.cmp-link .icon{flex:none;width:14px;height:14px;transition:transform .2s}
.cmp-link:hover,.cmp-link:focus-visible{color:var(--pmx-blue)}
.cmp-link:hover .icon{transform:translateX(3px)}
.cmp-link:focus-visible{outline:2px solid var(--pmx-blue);outline-offset:3px}
@media (max-width:640px){
.cmp-table th,.cmp-table td{padding:14px 16px}
.cmp-table thead th:first-child,.cmp-table tbody th{min-width:118px}
}

/* Side-by-side comparisons heading: same layout as the homepage Resources & Insights heading (supporting text starts level with the heading, not the eyebrow). */
.pmx-compare-page .resources-heading{align-items:start}
.pmx-compare-page .resources-heading__aside{margin-top:calc(1.3*12px + 20px)}
@media(max-width:650px){.pmx-compare-page .resources-heading__aside{margin-top:0}}

/* Hero: same photo treatment and hero height as the ATEX Mixers page (photo rules shared in industry.css). */
.pmx-compare-page .hero .hero__grid--editorial{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.15fr);align-items:center;gap:clamp(18px,3vw,48px);min-height:clamp(380px,36vw,520px)}
@media (max-width:1050px){.pmx-compare-page .hero .hero__grid--editorial{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;min-height:490px}}
@media (max-width:760px){.pmx-compare-page .hero .hero__grid--editorial{grid-template-columns:minmax(0,1fr);min-height:0;gap:0}}

/* Compare Mixer Types: homepage Specialty Systems background (shared rules in quantumx-shared.css). */
.pmx-compare-page #glance{position:relative;isolation:isolate}

/* Header row: dark navy with white text; optional mixer image above each name (one shared size for all four). */
.cmp-table thead th:first-child{color:#fff;vertical-align:middle}
.cmp-table thead .cmp-link{color:#fff}
.cmp-table thead .cmp-link:hover,.cmp-table thead .cmp-link:focus-visible{color:var(--blue-l)}
.cmp-table thead .cmp-link:focus-visible{outline-color:var(--blue-l)}
.cmp-table thead th.cmp-th--img{text-align:center;vertical-align:top}
.cmp-th--img .cmp-link{justify-content:center}
.cmp-thumb{display:flex;align-items:center;justify-content:center;height:clamp(96px,10vw,140px);margin:0 auto 14px}
.cmp-thumb img{display:block;width:100%;height:100%;max-width:240px;object-fit:contain;object-position:center}
@media (max-width:640px){.cmp-thumb{height:96px}}
