/* AIQ theme: each template's own CSS, verbatim from the <style> in the head of Menam's page (html\aiq\site\<page>.html),
   collected here so it loads with tpl.css. The class names are unique to their template, so one file serves them all.
   Two rules the design writes for one page only are scoped by the body class WordPress gives that page. */

/* genesis.html */
.how-f{height:max(min(52svh,480px),400px)}
@media (max-width:899px){.how-f{height:auto}}

/* why-aiq.html (About Us) */
.vpp{height:max(min(56svh,520px),420px)}

/* products.html (Our Models) */
.dn{display:grid;gap:.6rem}.dsol{display:grid;gap:.5rem;justify-self:end;text-align:right}
@media (max-width:899px){.dsol{justify-self:start;text-align:left}}

/* domain.html (and Menam's three other domain pages, identical) */
/* 21 Oct (design pack d8fcee0): the Solutions frames became a list beside one picture (the viewer); their rules are gone */
/* the six models: two columns of names on desktop, one on a phone */
@media (min-width:900px){.mlist2{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);column-gap:2rem}}
.mlist2 > li > .row{grid-template-columns:1fr!important;padding:1.1rem 0}
.dsol2{display:grid;gap:.4rem;margin-top:1.5rem}

/* product.html and chainx.html */
.feats{height:max(min(60svh,560px),460px)}
.gal{--wh:clamp(150px,14vw,240px)}
/* corners only: with no shared lines between sections, the sections sit a little closer */
@media (min-width:900px){:where(.single-product) main > .sec{padding-block:3rem}} /* :where keeps the design's specificity */

/* case-study.html */
.imp-f{height:max(min(60svh,560px),460px)}

/* careers.html */
.team-f{height:max(min(58svh,540px),440px)}

/* newsroom.html */
.nst{text-decoration:none;color:inherit}
.nst .h-m,.nst .h-s{max-width:24em}
.nst:hover .tlink,.nst:focus-visible .tlink{text-decoration-thickness:2px}
.nst:focus-visible{outline:1.5px solid var(--graphite);outline-offset:-6px}
@media (min-width:900px){.lat{grid-template-rows:auto minmax(clamp(200px,20vw,320px),1fr) auto}}

/* partners.html */
.plist .plogo{height:28px;width:auto;max-width:150px;object-fit:contain;object-position:left center}

/* legal.html */
@media (min-width:900px){.toc .rows{position:sticky;top:calc(var(--nav-h) + 3rem)}}

/* search.html */
.sgroup{display:grid;gap:1.25rem;margin-top:2.5rem}

/* 404.html and thank-you.html (the solo window fills the screen; other heroes without a picture keep their height) */
:where(.error404,.aiq-system) .sys .comp{min-height:calc(100svh - var(--nav-h) - clamp(2rem,3vw,3.5rem))}
