/* Orival product listing (Industrial / Irrigation water filters).
   Loaded after orival-home.css (design tokens, buttons, page header, footer, navbar).
   Everything stays under #hp. */

/* ---------- scroll reveal (same as the Company page; no flipping) ---------- */
#hp.js [data-reveal]{opacity:0;transition:opacity .7s ease,transform .8s cubic-bezier(.2,.7,.2,1)}
#hp.js [data-reveal="up"]{transform:translateY(28px)}
#hp.js [data-reveal].in{opacity:1;transform:none}

#hp .pr-section{padding-top:var(--sp-2xl)}

/* ---------- toolbar: Industrial/Irrigation + Units (same links as before) ---------- */
#hp .pr-bar{display:flex;justify-content:space-between;align-items:center;gap:var(--sp-l);flex-wrap:wrap;margin-bottom:var(--sp-xl)}
#hp .pr-units{display:flex;align-items:center;gap:var(--sp-m)}
#hp .pr-units .label-m{color:var(--g500)}
/* phones (Inbar, 18 Nov): on the product list pages the units are one switch, on = U.S., without the "Units" title */
#hp .pr-switch{display:none}
@media (max-width:767px){
#hp .pr-units.pr-has-switch .label-m,#hp .pr-units.pr-has-switch .btn-group{display:none}
#hp .pr-bar .pr-switch{display:inline-flex;align-items:center;gap:10px;margin:0;padding:6px 0;border:0;background:none;font:600 14px/20px var(--font);color:var(--g500);cursor:pointer}
#hp .pr-switch-t{position:relative;flex:none;width:48px;height:28px;border-radius:var(--r-pill);background:var(--g300);transition:background-color .2s}
#hp .pr-switch-t i{position:absolute;top:3px;left:3px;width:22px;height:22px;border-radius:50%;background:var(--white);box-shadow:var(--e1);transition:transform .2s}
#hp .pr-switch[aria-checked="true"] .pr-switch-t{background:var(--red)}
#hp .pr-switch[aria-checked="true"] .pr-switch-t i{transform:translateX(20px)}
#hp .pr-switch[aria-checked="true"] .pr-switch-l:last-child,#hp .pr-switch[aria-checked="false"] .pr-switch-l:first-child{color:var(--g900)}
#hp .pr-switch:focus-visible{outline:2px solid var(--red);outline-offset:4px;border-radius:var(--r-s)}
}
#hp .pr-bar .btn-group,#hp .md-units .btn-group{display:inline-flex;float:none;vertical-align:middle}
#hp .pr-bar .btn-group>a,#hp .pr-bar .btn-group>.btn,#hp .md-units .btn-group>a,#hp .md-units .btn-group>.btn{float:none;display:inline-flex;align-items:center;justify-content:center;margin:0;padding:10px 22px;border:1px solid var(--g300);border-radius:0;background:var(--white);color:var(--g900);font-family:var(--font);font-size:14px;line-height:20px;font-weight:600;text-shadow:none;box-shadow:none;white-space:nowrap;transition:background-color .18s,color .18s,border-color .18s}
#hp .pr-bar .btn-group>a+a,#hp .md-units .btn-group>a+a{margin-left:-1px}
#hp .pr-bar .btn-group>a:first-child,#hp .md-units .btn-group>a:first-child{border-radius:var(--r-s) 0 0 var(--r-s)}
#hp .pr-bar .btn-group>a:last-child,#hp .md-units .btn-group>a:last-child{border-radius:0 var(--r-s) var(--r-s) 0}
#hp .pr-bar .btn-group>a:hover,#hp .md-units .btn-group>a:hover{background:var(--g100);color:var(--red);border-color:var(--g500);position:relative;z-index:1}
#hp .pr-bar .btn-group>a.active,#hp .pr-bar .btn-group>a.active:hover,#hp .md-units .btn-group>a.active,#hp .md-units .btn-group>a.active:hover{background:var(--black);border-color:var(--black);color:var(--white);position:relative;z-index:2}

/* ---------- tiles: two columns as before; order inside a tile: header, picture, data, button ---------- */
#hp .pr-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--gutter);align-items:stretch}
#hp .pr-grid>li{display:flex;min-width:0}
#hp .pr-tile{display:flex;flex-direction:column;width:100%;border-radius:var(--r-m);overflow:hidden;background:var(--white);border:var(--b-subtle);box-shadow:var(--e1);transition:box-shadow .25s,transform .25s}
#hp .pr-tile:hover{box-shadow:var(--e2);transform:translateY(-4px)}
#hp .pr-head{display:flex;align-items:center;justify-content:space-between;gap:var(--sp-m);padding:var(--sp-m) var(--sp-l)}
#hp .pr-head h2{margin:0}
#hp .pr-tile h2 a{color:var(--g900)}
#hp .pr-tile h2 a:hover{color:var(--red)}
#hp .pr-img{display:flex;align-items:center;justify-content:center;height:220px;padding:var(--sp-l);background:var(--g100);border-block:var(--b-subtle);transition:background-color .2s}
#hp .pr-img:hover{background:var(--g200)}
#hp .pr-img img{display:block;width:auto;max-width:240px;height:auto;max-height:150px;object-fit:contain}
#hp .pr-body{display:flex;flex-direction:column;flex:1;gap:var(--sp-m);padding:var(--sp-l)}
#hp .pr-desc{flex:1}
#hp .pr-desc>div{margin:0;padding:0;border:0;background:none;box-shadow:none}
#hp .pr-desc dl{display:grid;grid-template-columns:136px minmax(0,1fr);gap:8px var(--sp-m);margin:0;padding:0;font-size:14px;line-height:21px}
#hp .pr-desc dt{float:none;clear:none;width:auto;margin:0;padding:0;text-align:left;font-size:11px;line-height:21px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--g500);white-space:normal;overflow:visible}
#hp .pr-desc dd{margin:0;padding:0;text-align:left;font-weight:600;color:var(--g900)}
#hp .pr-desc .nowrap{white-space:nowrap}

/* ---------- aligned rows: the tiles of one row share the same header / picture / data / button lines ----------
   (subgrid: every tile spans 8 rows of the list grid: header with button, picture, up to 6 data rows) */
@supports (grid-template-rows:subgrid){
@media (min-width:1101px){
  #hp .pr-grid{row-gap:0}
  #hp .pr-grid>li{padding-bottom:var(--sp-l);display:grid;grid-row:span 9;grid-template-rows:subgrid;grid-template-columns:136px minmax(0,1fr);column-gap:0;margin-bottom:var(--gutter);border-radius:var(--r-m);overflow:hidden;background:var(--white);border:var(--b-subtle);box-shadow:var(--e1);transition:box-shadow .25s,transform .25s,opacity .7s ease}
  #hp .pr-grid>li:hover{box-shadow:var(--e2)}
  #hp .pr-tile,#hp .pr-body,#hp .pr-desc,#hp .pr-desc>div,#hp .pr-desc dl{display:contents}
  #hp .pr-tile{box-shadow:none;border:0;transform:none}
  #hp .pr-head{grid-column:1/-1;grid-row:1}
  #hp .pr-img{grid-column:1/-1;grid-row:2;height:220px;min-height:0}
  #hp .pr-desc dt{grid-column:1;padding:4px 0 4px var(--sp-l)}
  #hp .pr-desc dd{grid-column:2;padding:4px var(--sp-l) 4px var(--sp-m)}
  #hp .pr-desc dt:first-of-type,#hp .pr-desc dd:first-of-type{padding-top:var(--sp-l)}
  #hp .pr-desc .pr-note{grid-column:1/-1;padding:var(--sp-s) var(--sp-l) 0}
}
}

@media (max-width:1100px){#hp .pr-grid{grid-template-columns:1fr}}
/* half-page widths: one column, picture beside header + data */
@media (min-width:641px) and (max-width:1100px){
  #hp .pr-tile{display:grid;grid-template-columns:minmax(200px,38%) minmax(0,1fr);grid-template-rows:auto 1fr;grid-template-areas:"img head" "img body"}
  #hp .pr-head{grid-area:head}
  #hp .pr-img{grid-area:img;height:auto;min-height:260px;border-block:0;border-right:var(--b-subtle)}
  #hp .pr-img img{max-width:100%;max-height:170px}
  #hp .pr-body{grid-area:body;padding-top:0}
}
@media (max-width:640px){
  #hp .pr-bar{flex-direction:column;align-items:flex-start}
  #hp .pr-img{height:200px}
  #hp .pr-img img{max-height:140px}
  #hp .pr-desc dl{grid-template-columns:108px minmax(0,1fr)}
  #hp .pr-desc dt{letter-spacing:.04em}
}
@media (prefers-reduced-motion:reduce){#hp.js [data-reveal]{transition:none!important;transform:none!important;opacity:1!important}}
/* placeholder tile (no product page yet) */
#hp .pr-off{opacity:.35;cursor:default;pointer-events:none}
#hp div.pr-img:hover{background:var(--g100)}

/* ---------- feature strip under the hero ---------- */
#hp .pr-feats{padding:var(--sp-xl) 0 0}
#hp .pr-feat-list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--gutter)}
#hp .pr-feat{display:flex;align-items:center;gap:var(--sp-m);padding:var(--sp-l);background:var(--g100);border-radius:var(--r-m);border:var(--b-subtle)}
#hp .pr-feat-ico{flex:none;width:56px;height:56px;border-radius:50%;background:var(--red);color:#fff;display:flex;align-items:center;justify-content:center;box-shadow:0 6px 16px rgba(196,2,3,.28)}
#hp .pr-feat-ico svg{width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
#hp .pr-feat-t{margin:0 0 4px;font-size:16px;line-height:22px;font-weight:700;color:var(--g900)}
#hp .pr-feat-d{margin:0;font-size:14px;line-height:21px;color:var(--g700)}
@media (max-width:900px){#hp .pr-feat-list{grid-template-columns:1fr}}

/* ---------- OR series page (/industrial/products/or): three layout tiles, water flow on hover ---------- */
@media (min-width:1101px){#hp.pr-or .pr-grid-or{grid-template-columns:repeat(3,minmax(0,1fr))}}
#hp.pr-or .pr-pic{position:relative;display:flex;max-width:100%;max-height:100%}
#hp.pr-or .pr-pic img{display:block;width:auto;height:auto;max-width:100%;max-height:250px}
#hp.pr-or .pr-img{height:300px}
#hp.pr-or .pr-bullets{list-style:none;margin:0;padding:0;display:grid;align-content:start;gap:10px;font-size:14px;line-height:21px;color:var(--g700)}
#hp.pr-or .pr-bullets li{position:relative;padding-left:20px}
#hp.pr-or .pr-bullets li::before{content:"";position:absolute;left:0;top:8px;width:6px;height:6px;border-radius:50%;background:var(--red)}
#hp.pr-or .pr-bullets li:first-child{font-weight:700;color:var(--g900)}
@supports (grid-template-rows:subgrid){
@media (min-width:1101px){
  #hp .pr-grid.pr-grid-or>li{grid-row:span 3;grid-template-columns:minmax(0,1fr)}
  #hp.pr-or .pr-img{height:300px}
  #hp.pr-or .pr-bullets{grid-column:1/-1;grid-row:3;padding:var(--sp-l) var(--sp-l) 0}
}
}
@media (min-width:641px) and (max-width:1100px){#hp.pr-or .pr-img{height:auto;min-height:260px}#hp.pr-or .pr-pic img{max-height:190px}}
@media (max-width:640px){#hp.pr-or .pr-img{height:230px}#hp.pr-or .pr-pic img{max-height:190px}}

/* water: a half-transparent stream fills the pipes along the route, then keeps flowing (6 s, repeats while the mouse is over) */
#hp .pr-flow{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none}
#hp .pr-flow use{fill:none;stroke-linecap:round;stroke-linejoin:round}
#hp .pr-flow-g{opacity:0}
#hp .pr-flow-reveal{stroke:#fff;stroke-dasharray:100;stroke-dashoffset:100}
/* dirty water (brown, with suspended solids) turns clean while it passes through the filter */
#hp .pr-fd-rim{stroke:#4a2d12;stroke-opacity:.5}
#hp .pr-fd-body{stroke:#8d5a28;stroke-opacity:.6}
#hp .pr-fd-core{stroke:#c9a068;stroke-opacity:.5}
#hp .pr-fd-str{stroke:#e9d0a3;stroke-opacity:.5;stroke-dasharray:6 9}
#hp .pr-fd-sol1{stroke:#2e1b09;stroke-opacity:.95;stroke-dasharray:.01 3.7}
#hp .pr-fd-sol2{stroke:#5b3818;stroke-opacity:.95;stroke-dasharray:.01 5.9}
#hp .pr-fd-sol3{stroke:#3d2410;stroke-opacity:.9;stroke-dasharray:.01 8.3}
#hp .pr-fc-rim{stroke:#0b5cb0;stroke-opacity:.5}
#hp .pr-fc-body{stroke:#2f9bf0;stroke-opacity:.5}
#hp .pr-fc-core{stroke:#a6e0ff;stroke-opacity:.55}
#hp .pr-fc-s1{stroke:#fff;stroke-opacity:.7;stroke-dasharray:7 8}
#hp .pr-fc-s2{stroke:#d6f0ff;stroke-opacity:.8;stroke-dasharray:2.5 4.5}
#hp .pr-fc-s3{stroke:#fff;stroke-opacity:.28;stroke-dasharray:11 13}
#hp .pr-fc-bub{stroke:#fff;stroke-opacity:.9;stroke-dasharray:.01 5.5}
#hp .pr-flow use[class^="pr-fd-sol"],#hp .pr-flow use[class^="pr-fc-bub"]{stroke-linecap:round}
#hp .pr-img:hover .pr-flow-g,#hp .pr-img:focus-visible .pr-flow-g{animation:prWater 6s linear infinite}
#hp .pr-img:hover .pr-flow-reveal,#hp .pr-img:focus-visible .pr-flow-reveal{animation:prFill 6s cubic-bezier(.35,.1,.55,.9) infinite}
#hp .pr-img:hover .pr-fd-str,#hp .pr-img:hover .pr-fc-s1,#hp .pr-img:focus-visible .pr-fd-str,#hp .pr-img:focus-visible .pr-fc-s1{animation:prS1 1.1s linear infinite}
#hp .pr-img:hover .pr-fc-s2,#hp .pr-img:focus-visible .pr-fc-s2{animation:prS2 .7s linear infinite}
#hp .pr-img:hover .pr-fc-s3,#hp .pr-img:focus-visible .pr-fc-s3{animation:prS3 2s linear infinite}
#hp .pr-img:hover .pr-fc-bub,#hp .pr-img:focus-visible .pr-fc-bub{animation:prBub .8s linear infinite}
#hp .pr-img:hover .pr-fd-sol1,#hp .pr-img:focus-visible .pr-fd-sol1{animation:prSol1 .9s linear infinite}
#hp .pr-img:hover .pr-fd-sol2,#hp .pr-img:focus-visible .pr-fd-sol2{animation:prSol2 1.3s linear infinite}
#hp .pr-img:hover .pr-fd-sol3,#hp .pr-img:focus-visible .pr-fd-sol3{animation:prSol3 1.7s linear infinite}
@keyframes prWater{0%{opacity:0}6%{opacity:1}90%{opacity:1}100%{opacity:0}}
@keyframes prFill{0%{stroke-dashoffset:100}58%{stroke-dashoffset:-6}100%{stroke-dashoffset:-6}}
@keyframes prS1{to{stroke-dashoffset:-15}}
@keyframes prS2{to{stroke-dashoffset:-7}}
@keyframes prS3{to{stroke-dashoffset:-24}}
@keyframes prBub{to{stroke-dashoffset:-5.51}}
@keyframes prSol1{to{stroke-dashoffset:-3.71}}
@keyframes prSol2{to{stroke-dashoffset:-5.91}}
@keyframes prSol3{to{stroke-dashoffset:-8.31}}
/* touch screens have no hover, and on phones and tablets (Inbar, 18 Nov): the water runs by itself, on repeat */
@media (hover:none),(max-width:1023px){
  #hp .pr-flow-g{animation:prWater 6s linear infinite}
  #hp .pr-flow-reveal{animation:prFill 6s cubic-bezier(.35,.1,.55,.9) infinite}
  #hp .pr-fd-str,#hp .pr-fc-s1{animation:prS1 1.1s linear infinite}#hp .pr-fc-s2{animation:prS2 .7s linear infinite}
  #hp .pr-fc-s3{animation:prS3 2s linear infinite}#hp .pr-fc-bub{animation:prBub .8s linear infinite}
  #hp .pr-fd-sol1{animation:prSol1 .9s linear infinite}#hp .pr-fd-sol2{animation:prSol2 1.3s linear infinite}#hp .pr-fd-sol3{animation:prSol3 1.7s linear infinite}
}
/* the water streams are explanatory animations (started by hovering the picture): they also run when the visitor system asks for reduced motion */
}
/* Details button at the end of the OR tiles */
#hp.pr-or .pr-foot{margin-top:var(--sp-m);display:flex;justify-content:center}
@supports (grid-template-rows:subgrid){
@media (min-width:1101px){
  #hp.pr-or .pr-grid.pr-grid-or>li{grid-row:span 4}
  #hp.pr-or .pr-foot{grid-column:1/-1;grid-row:4;margin:0;padding:var(--sp-l) var(--sp-l) 0;display:flex;justify-content:center}
}
}

/* ====================================================================
   Model page of a series (/{type}/products/{series}, ?sub=I|P|B and /how-it-works)
   Template .productPage in products.soy
   ==================================================================== */
#hp .pg-crumbs{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:var(--sp-m);font-size:14px;line-height:20px;font-weight:600}
#hp .pg-crumbs a{color:rgba(255,255,255,.88)}
#hp .pg-crumbs a:hover{color:var(--white);text-decoration:underline}
#hp .pg-crumbs span{color:rgba(255,255,255,.6)}

/* intro text: under the hero, on every tab */
#hp .md-intro{padding:var(--sp-2xl) 0 0}
#hp .md-lead{max-width:none;margin:0;color:var(--g700)}

/* series name + data fields */
#hp .md-specs{padding-top:var(--sp-xl)}
#hp .md-specs-card{padding:var(--sp-l) var(--sp-xl);background:var(--g100);border:var(--b-subtle);border-radius:var(--r-m)}
#hp .md-specs-card h2{margin:0}
#hp .md-specs dl{display:grid;grid-auto-flow:column;grid-template-rows:auto auto;grid-auto-columns:minmax(0,1fr);gap:6px var(--sp-xl);margin:var(--sp-m) 0 0;padding:0}
#hp .md-specs dt{float:none;clear:none;width:auto;margin:0;padding:0;text-align:left;font-size:11px;line-height:18px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--g500);white-space:normal;overflow:visible}
#hp .md-specs dd{text-wrap:balance;margin:0;padding:0;font-size:15px;line-height:22px;font-weight:600;color:var(--g900)}
#hp .md-specs dd .nowrap{white-space:nowrap}
#hp .md-specs dd a.btn,#hp .md-specs dd a{display:inline-flex;align-items:center;gap:6px;padding:6px 14px;border:2px solid var(--black);border-radius:var(--r-s);background:transparent;color:var(--black);font-size:13px;line-height:18px;font-weight:600;text-decoration:none;white-space:nowrap;transition:background-color .18s,color .18s}
#hp .md-specs dd a:hover{background:var(--black);color:var(--white)}
#hp .md-specs dd a i{display:none}
@media (max-width:1000px){
  #hp .md-specs dl{grid-auto-flow:row;grid-template-rows:none;grid-template-columns:136px minmax(0,1fr);gap:10px var(--sp-m)}
}

/* toolbar + table */
#hp .md-main{padding-top:var(--sp-2xl)}
#hp .md-right{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:var(--sp-l)}
#hp .md-table{position:relative}
#hp .md-units{position:absolute;top:0;right:0;z-index:2;display:flex;align-items:center;gap:var(--sp-s);height:48px}
#hp .md-content{overflow-x:auto;background:transparent;border:0;border-radius:0;box-shadow:none}
#hp .md-content table.table-group{width:100%;margin:0;border:0;border-collapse:separate;border-spacing:0;background:transparent;font-size:14px;line-height:21px;color:var(--g900)}
#hp .md-content table.table-group th,#hp .md-content table.table-group td{border:0;border-top:1px solid var(--g200);padding:12px 14px;vertical-align:middle;background:transparent}
#hp .md-content table.table-group>tbody>tr:nth-of-type(odd),#hp .md-content table.table-group>tbody>tr:nth-of-type(even){background:transparent}
#hp .md-content table.table-group>thead>tr:first-child>td,#hp .md-content table.table-group>thead>tr:first-child>th{border-top:0}
#hp .md-content table.table-group td.table-heading{padding:0 0 16px;height:48px;vertical-align:middle;border-top:0}
#hp .md-content table.table-group .table-heading h3{margin:0;font-size:clamp(20px,1.8vw,24px);line-height:1.33;font-weight:700;color:var(--g900)}
#hp .md-content table.table-group th{font-size:11px;line-height:18px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--g500);white-space:nowrap;text-align:left}
#hp .md-content table.table-group th.top{text-align:center;color:var(--g500);border-bottom:2px solid var(--g300);font-weight:700}
#hp .md-content table.table-group th.leaf,#hp .md-content table.table-group th.leaf.top{text-align:left;color:var(--g900);border-bottom:1px solid var(--g200)}
#hp .md-content table.table-group th.text-center,#hp .md-content table.table-group td.text-center{text-align:center}
#hp .md-content table.table-group th.text-right,#hp .md-content table.table-group td.text-right{text-align:right}
#hp .md-content table.table-group th.horizontal-spacer,#hp .md-content table.table-group td.horizontal-spacer{width:12px;padding:0;border-top-color:transparent}
#hp .md-content table.table-group td.vertical-spacer{border-top:0;padding:0}
#hp .md-content table.table-group>tbody>tr>td:first-child,#hp .md-content table.table-group>thead>tr>th:first-child{padding-left:12px}
#hp .md-content table.table-group>tbody>tr>td:last-child,#hp .md-content table.table-group>thead>tr>th:last-child{padding-right:12px}
#hp .md-content table.table-group>tbody>tr{transition:background-color .15s}
#hp .md-content table.table-group.table-hover>tbody>tr:hover{background:var(--g100)}
#hp .md-content table.table-group td strong{font-weight:700}
#hp .md-content table.table-group .nowrap{white-space:nowrap}
/* download / layout buttons inside the table keep their links, only the look changes */
#hp .md-content .btn,#hp .md-content a.btn{display:inline-flex;align-items:center;gap:5px;padding:4px 12px;border:1px solid var(--g300);border-radius:var(--r-s);background:var(--white);color:var(--g900);font-size:12px;line-height:18px;font-weight:600;box-shadow:none;text-shadow:none;transition:background-color .15s,color .15s,border-color .15s}
#hp .md-content .btn:hover,#hp .md-content .btn:focus,#hp .md-content .open>.btn{background:var(--black);border-color:var(--black);color:var(--white)}
#hp .md-content .btn-group{display:inline-flex;gap:6px;float:none}
/* the pdf / dwg buttons of the Models tables on phones (Inbar, 29 Nov, iPhone: icon and text ran out of the
   button): the button keeps its icon and text on one line, the icon at its own 16 px */
#hp .md-content .btn{flex:none;white-space:nowrap;height:auto}
#hp .md-content .btn img{flex:none;width:16px;height:16px;max-width:none}
/* only the Models tables keep each cell on one line; the Customization Options table wraps its long text
   (Inbar, 30 Nov: this rule had reached it and gave the ORD tab a sideways scroll bar) */
#hp .md-content table.table-group td{white-space:nowrap}
/* the Installation Layout list opens inside its cell on phones and tablets: the table scrolls sideways, and
   a list floating over it was cut off at the table's edge */
@media (max-width:1023px){#hp .md-content .btn-group.open{flex-direction:column;align-items:center}#hp .md-content .btn-group.open>.dropdown-menu{position:static;float:none;display:block;margin:6px 0 0;box-shadow:none}}
#hp .md-content .btn-group>.btn{float:none;margin:0}
#hp .md-content .dropdown-menu{border:var(--b-default);border-radius:var(--r-s);box-shadow:var(--e2);padding:6px 0;font-size:13px}
#hp .md-content .dropdown-menu>li>a{padding:6px 16px;color:var(--g900)}
#hp .md-content .dropdown-menu>li>a:hover{background:var(--g100);color:var(--red)}
/* phone layout of the table (list instead of columns) */
#hp .md-content .table-group-mobile{margin:0}
#hp .md-content .table-group-mobile .panel-heading{background:transparent;border:0;padding:var(--sp-m) var(--sp-m) 0}
#hp .md-content .table-group-mobile .panel-heading h3{margin:0;font-size:20px;font-weight:700}
#hp .md-content .list-group{margin:0}
#hp .md-content .list-group-item{border:0;border-top:1px solid var(--g200);padding:14px var(--sp-m);background:transparent;font-size:14px}
/* How It Works tab */
#hp #how-it-works{padding:var(--sp-xl);color:var(--g700);font-size:16px;line-height:1.65}
#hp #how-it-works img{display:block;max-width:100%;height:auto;margin:0 auto var(--sp-l)}
#hp #how-it-works h1,#hp #how-it-works h2,#hp #how-it-works h3,#hp #how-it-works h4{color:var(--g900);font-weight:700;margin:var(--sp-l) 0 var(--sp-s)}
#hp #how-it-works p{margin:0 0 var(--sp-m)}
#hp #how-it-works ol,#hp #how-it-works ul{padding-left:1.3em;margin:0 0 var(--sp-m)}

/* call to action between the table and the case studies */
#hp .md-cta{padding-top:48px;padding-bottom:0}
#hp .md-cta-band{display:flex;align-items:center;justify-content:space-between;gap:var(--sp-l);flex-wrap:wrap;padding:var(--sp-xl) var(--sp-2xl);border-radius:var(--r-m);color:var(--white);background:linear-gradient(100deg,#8e0102 0%,#b30203 55%,#d92b28 100%);box-shadow:var(--e2)}
#hp .md-cta-band .hp-h3{margin:0;color:var(--white)}
#hp .md-cta-btn{display:inline-flex;align-items:center;gap:var(--sp-s);padding:14px 26px;border-radius:var(--r-s);background:var(--white);color:var(--red);font-weight:700;font-size:16px;line-height:24px;text-decoration:none;transition:background-color .18s,color .18s,transform .18s}
#hp .md-cta-btn:hover{background:var(--black);color:var(--white);transform:translateY(-2px)}
#hp .md-cta-btn .icon{width:20px;height:20px}
@media (max-width:767px){#hp .md-cta-band{padding:var(--sp-l)}}

/* case studies carousel (same cards as the home page) */
#hp .md-cases{padding-top:var(--sp-3xl)}
#hp .md-cases-head{margin-bottom:var(--sp-xl)}
#hp .md-cases .card-media img{object-position:center}
#hp .md-teaser{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;margin:0}
#hp .md-content table.table-group td strong{white-space:nowrap}

#hp #how-it-works{background:var(--white);border:var(--b-subtle);border-radius:var(--r-m);box-shadow:var(--e1)}
#hp #how-it-works>div:first-child{background:var(--g100);border-radius:var(--r-s);padding:var(--sp-m);margin-bottom:var(--sp-l)}
#hp #how-it-works strong{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;padding:0 6px;border-radius:11px;background:var(--red);color:var(--white);font-size:12px;line-height:22px;font-weight:700}

/* round 3: intro + ID side by side, thinner CTA, How It Works animation */
#hp .md-top{padding-top:var(--sp-2xl)}
#hp .md-main{padding-bottom:0}
#hp .md-top-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:var(--sp-l);align-items:center}
#hp .md-top .md-lead{margin:0;max-width:none}
#hp .md-top .md-specs-card{padding:var(--sp-l) var(--sp-l)}
#hp .md-cta-band{padding:var(--sp-m) var(--sp-xl)}
#hp .md-cta-band .hp-h3{font-size:clamp(17px,1.5vw,20px);line-height:1.4}
#hp .md-cta-btn{padding:10px 22px;font-size:15px;line-height:22px}

/* round 4: ID card as label/value list, units under the table title, more air */
#hp .md-top .md-specs-card{text-align:left;padding:var(--sp-xl)}
#hp .md-top .md-specs-card h2{margin-bottom:var(--sp-s);font-size:clamp(24px,2vw,30px)}
#hp .md-top .md-specs dl{display:grid;grid-auto-flow:row;grid-template-rows:none;grid-auto-columns:auto;grid-template-columns:max-content minmax(0,1fr);gap:20px var(--sp-2xl);margin:var(--sp-l) 0 0;align-items:center}
#hp .md-top .md-specs dt{text-align:left;font-size:13px;letter-spacing:.1em}
#hp .md-top .md-specs dd{text-align:left;font-size:15px;line-height:22px;font-weight:600}
#hp .md-top .md-specs dd a.btn,#hp .md-top .md-specs dd a{font-size:15px;line-height:22px;font-weight:600;padding:8px 20px}
@media (min-width:1001px){#hp .md-top-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:var(--sp-3xl);align-items:start}#hp .md-top .md-lead{padding-top:var(--sp-s)}}
#hp .md-top{padding-top:var(--sp-3xl)}
#hp .md-main{padding-top:var(--sp-3xl)}
#hp .pr-bar{margin-bottom:var(--sp-2xl)}
#hp .md-content table.table-group td.table-heading{height:auto;padding:0 0 76px}
#hp .md-units{top:52px;right:auto;left:0;height:auto}
#hp .md-content table.table-group th,#hp .md-content table.table-group td{padding-top:16px;padding-bottom:16px}
#hp .md-cta{padding-top:var(--sp-3xl)}
#hp .md-cases{padding-top:var(--sp-4xl)}
@media (max-width:1000px){#hp .md-top .md-specs dl{grid-template-columns:132px minmax(0,1fr);gap:14px var(--sp-m)}}

/* round 6: narrower ID card (1.5 cm), title level with the intro text */
@media (min-width:1001px){#hp .md-top-grid{grid-template-columns:minmax(0,1fr) calc(50% - 57px)}}
#hp .md-top .md-lead{padding-top:30px}
#hp .md-top-grid{align-items:start}

/* round 8 (ORZ feedback): Units switch back on the right, level with the table title;
   Models / How It Works shown as real tabs; no grey panel behind the How It Works picture */
#hp .md-content table.table-group td.table-heading{height:48px;padding:0 0 16px;vertical-align:middle}
#hp .md-units{top:0;right:0;left:auto;height:48px}
@media (max-width:640px){#hp .md-units{position:static;height:auto;margin-bottom:var(--sp-m)}#hp .md-content table.table-group td.table-heading{height:auto}}
#hp .md-tabs{flex:1 1 100%;border-bottom:1px solid var(--g300)}
#hp .md-tabs .btn-group{display:flex;gap:var(--sp-l)}
#hp .md-tabs .btn-group>a,#hp .md-tabs .btn-group>.btn{position:relative;margin:0 0 -1px;padding:14px 4px;border:0;border-bottom:3px solid transparent;border-radius:0;background:transparent;color:var(--g500);font-size:17px;line-height:24px;font-weight:600;box-shadow:none;text-shadow:none;background-image:none} /* no shading from the old button styles: the applications tabs look like the product tabs (Inbar, 25 Nov) */
/* the red "pointing at it" colour only with a mouse: on a touch screen a light touch left a tab red although
   it did not open (Inbar, 29 Nov) */
@media (hover:hover){#hp .md-tabs .btn-group>a:hover{background:transparent;color:var(--red);border-color:transparent transparent var(--g300);border-bottom-color:var(--g300)}}
/* a tab that was only touched or tapped keeps no mark: the old button styles gave it a grey box and red text
   (focus / touch), so on a phone the last tab touched looked chosen (Inbar, 1 Dec, iPhone). Only the open tab is
   marked (red line); the keyboard still gets a red ring */
#hp .md-tabs .btn-group>a:focus,#hp .md-tabs .btn-group>a:active{background:transparent;color:var(--g500);border-bottom-color:transparent;outline:none}
@media (hover:none),(pointer:coarse){#hp .md-tabs .btn-group>a:hover{background:transparent;color:var(--g500);border-bottom-color:transparent}}
#hp .md-tabs .btn-group>a:focus-visible{outline:2px solid var(--red);outline-offset:-2px}
#hp .md-tabs .btn-group>a.active,#hp .md-tabs .btn-group>a.active:hover,#hp .md-tabs .btn-group>a.active:focus,#hp .md-tabs .btn-group>a.active:active{background:transparent;color:var(--g900);border-bottom-color:var(--red)}
#hp #how-it-works>div:first-child{background:transparent;padding:0;border-radius:0}
#hp .md-tabs .btn-group>a:first-child,#hp .md-tabs .btn-group>a:last-child{border-radius:0}
#hp .md-tabs .btn-group>a+a{margin-left:0}

/* round 9: Units level with the table title, room under the CTA band, paper-plane icon */
#hp .md-units{height:32px}
#hp .md-cta{padding-bottom:var(--sp-3xl)}
#hp .md-cta-btn .icon{color:var(--red);stroke:var(--red)}
#hp .md-cta-btn:hover .icon{color:var(--white);stroke:var(--white)}

/* ORZ: "Installations" carousel shows the full caption */
#hp .md-cases.is-installs .md-teaser{display:block;-webkit-line-clamp:unset;overflow:visible}

/* round 10: intro text keeps paragraph breaks (blank line in description_text) */
.md-lead{white-space:pre-line}

/* round 11: narrow tables (series with few columns, e.g. ORC) – cap width so columns don't drift apart */
#hp .md-content table.table-group:not(:has(thead tr:last-child th:nth-child(6))){max-width:720px}
@media (max-width:900px){#hp .md-content table.table-group:not(:has(thead tr:last-child th:nth-child(6))){max-width:none}}

/* round 12: ORS story under the models table (text + three icon cards instead of bullets) */
#hp .md-story{padding-top:var(--sp-2xl)}
#hp .st-story{color:var(--g700);font-size:clamp(17px,1.5vw,20px);line-height:1.6}
#hp .st-story .hp-h3{margin:var(--sp-xl) 0 var(--sp-s);color:var(--g900)}
#hp .st-story .hp-h3:first-child{margin-top:0}
#hp .st-story>p{margin:0 0 var(--sp-m);max-width:none}
#hp .st-card p{margin:0;font-size:inherit;line-height:inherit}
#hp .st-cards{list-style:none;margin:var(--sp-l) 0 var(--sp-m);padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:var(--sp-l)}
#hp .st-card{background:var(--g100);border:var(--b-subtle);border-radius:var(--r-m);padding:var(--sp-l);display:flex;flex-direction:column;gap:var(--sp-m)}
#hp .st-card-h{display:flex;align-items:center;gap:var(--sp-m)}
#hp .st-ico{flex:none;width:72px;height:72px;border-radius:36px 0 0 36px;background:var(--red);color:var(--white);display:inline-flex;align-items:center;justify-content:center}
#hp .st-ico svg{width:44px!important;height:44px!important;stroke-width:1.4}
#hp .st-card-t{margin:0;font-size:20px;line-height:1.33;font-weight:700;color:var(--g900)}
@media (max-width:900px){#hp .st-cards{grid-template-columns:1fr}}
#hp .md-lead-col .hp-h3{margin:0 0 var(--sp-m);color:var(--g900)}
#hp .md-top .md-lead-col{padding-top:30px}
#hp .md-top .md-lead-col .md-lead{padding-top:0}

/* round 13: Custom Systems page (story above the tabs, one tab per system) */
#hp .cs-sys{padding-top:0}
#hp .cs-desc{max-width:none;margin:0 0 var(--sp-xl);color:var(--g700)}
#hp .cs-h{margin:0 0 var(--sp-m);color:var(--g900)}
#hp .cs-chips{list-style:none;margin:0 0 var(--sp-2xl);padding:0;display:flex;flex-wrap:wrap;gap:var(--sp-s)}
#hp .cs-chips .chip{font-size:14px;padding:8px 16px}

/* round 14: Talk to a Specialist button, picture/installation carousel, Highlights below it */
#hp .cs-cars{margin:0 0 var(--sp-2xl)}
#hp .cs-cars .md-cases-head{margin-bottom:var(--sp-l)}
#hp .cs-cars .cs-h{margin:0}
#hp .cs-cars .track{margin-left:0;margin-right:0}
#hp .st-ico svg.vb-fill{stroke-width:6}
#hp .st-ico svg.vb-line{stroke-width:22}
#hp .cs-talk{margin:var(--sp-l) 0 0}
#hp .cs-cars .md-teaser{display:block;-webkit-line-clamp:unset;overflow:visible}
#hp .cs-cars .card-media img{object-position:center}
#hp .cs-cars .card.ap-pic{cursor:pointer} /* opens the picture viewer (Inbar, 30 Nov) */
#hp .cs-hl{margin-top:0}

/* round 15: ORH page (introduction in two paragraphs, brochure highlights with the brochure icons) */
#hp:has(.orh-story) .md-lead{white-space:pre-line}
#hp .st-cards.st-cards-2{grid-template-columns:repeat(2,minmax(0,1fr))}
@media (max-width:767px){#hp .st-cards.st-cards-2{grid-template-columns:1fr}}
#hp .st-cards.st-cards-4{grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--sp-m)}
/* the small cards (ORH, ORD) are only for the 4- and 2-column layouts; on phones they are the same cards as ORS (Inbar, 18 Nov) */
@media (min-width:768px){
#hp .st-cards-sm .st-card{padding:var(--sp-m);gap:var(--sp-s);font-size:15px;line-height:22px}
#hp .st-cards-sm .st-card-t{font-size:17px;line-height:24px}
#hp .st-cards-sm .st-ico{width:48px;height:48px;border-radius:24px 0 0 24px}
#hp .st-cards-sm .st-ico img{width:30px;height:30px}
}
@media (max-width:1023px){#hp .st-cards.st-cards-4{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:600px){#hp .st-cards.st-cards-4{grid-template-columns:1fr}}
#hp .st-ico img{width:44px;height:44px;display:block}
#hp .orh-fig{display:block;width:100%;max-width:860px;margin:0 auto}
#hp .orh-fig svg{display:block;width:100%;height:auto;overflow:visible}
#hp .orh-lead{stroke:var(--g900);stroke-width:2}
#hp .orh-dot{fill:var(--red);stroke:var(--white);stroke-width:2}
#hp .orh-badge{fill:var(--red);stroke:var(--white);stroke-width:2}
#hp .orh-num{fill:var(--white);font-size:22px;font-weight:700;text-anchor:middle;font-family:inherit}
#hp .orh-lbl{fill:var(--g900);font-size:25px;font-weight:600;font-family:inherit}
/* ORD page (round 16) */
#hp .ord-note{margin:var(--sp-m) 0 var(--sp-m);font-size:14px;line-height:20px;color:var(--g500)}
#hp .ord-sizing-h{margin:var(--sp-l) 0 var(--sp-s);font-size:16px;line-height:24px;font-weight:700;color:var(--red)}
#hp .ord-sizing{margin:0 0 var(--sp-l);max-width:none}
#hp .ord-story>p{margin:0 0 var(--sp-m);max-width:none}
#hp .ord-hd-h{margin:var(--sp-xl) 0 var(--sp-s)}
#hp .ord-fig{display:block;width:100%;max-width:980px;margin:0 auto}
#hp .ord-fig svg{display:block;width:100%;height:auto;overflow:visible}
#hp .ord-fig .orh-lbl{font-size:23px}
@media (min-width:1200px){#hp .ord-fig .orh-lbl{font-size:19px}}
#hp .md-flow{padding-top:30px;display:flex;flex-direction:column}
#hp .md-flow .md-flow-lead{order:1}
#hp .md-flow .md-specs-card{order:2}
#hp .md-flow>:not(.md-flow-lead):not(.md-specs-card){order:3}
#hp .md-flow .hp-h3{margin:0 0 var(--sp-m);color:var(--g900)}
#hp .md-flow .ord-more-h{margin-top:var(--sp-l)}
#hp .md-flow .md-flow-lead .md-lead{margin:0}
#hp .md-flow .md-lead{margin:0 0 var(--sp-m);padding-top:0;max-width:none}
#hp .md-flow .md-specs-card{margin:var(--sp-l) 0}
#hp .md-flow::after{content:"";display:block;clear:both}
@media (min-width:1001px){#hp .md-flow{display:block}#hp .ord-story>p,#hp .md-flow .md-lead,#hp .md-flow .hp-h3{max-width:none}#hp .md-flow .md-specs-card{float:right;width:calc(50% - 57px);margin:0 0 var(--sp-l) var(--sp-3xl)}}

/* applications listing: tabs, search and a uniform grid of cards */
#hp .ap .pr-bar{margin-bottom:var(--sp-xl)}
#hp .ap-tabs{margin-bottom:var(--sp-xl)}
#hp .ap-panel[hidden]{display:none}
#hp .ap-tools{display:flex;align-items:center;justify-content:space-between;gap:var(--sp-m);flex-wrap:wrap;margin-bottom:var(--sp-l)}
#hp .ap-search{position:relative;display:none;flex:0 1 420px;margin:0}
#hp.js .ap-search{display:block}
#hp .ap-search svg{position:absolute;left:16px;top:50%;width:20px;height:20px;transform:translateY(-50%);fill:none;stroke:var(--g500);stroke-width:2;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
#hp .ap-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
#hp .ap-q{display:block;width:100%;height:48px;padding:0 16px 0 46px;border:var(--b-default);border-radius:var(--r-pill);background:var(--white);color:var(--g900);font:500 16px/24px var(--font);box-shadow:none;transition:border-color .2s,box-shadow .2s}
#hp .ap-q::placeholder{color:var(--g500)}
#hp .ap-q:focus{outline:0;border-color:var(--red);box-shadow:0 0 0 3px var(--soft-red)}
#hp .ap-count{margin:0;color:var(--g500);display:none}
#hp.js .ap-count{display:block}
#hp .ap-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--sp-m);margin:0;padding:0;list-style:none}
#hp .ap-grid>li[hidden]{display:none}
#hp .ap-card{display:flex;align-items:center;gap:var(--sp-m);height:88px;padding:0 var(--sp-m) 0 var(--sp-m);border:var(--b-subtle);border-radius:var(--r-m);background:var(--white);box-shadow:var(--e1);color:var(--g900);text-decoration:none;transition:box-shadow .25s,transform .25s,border-color .25s}
#hp .ap-card:hover,#hp .ap-card:focus-visible{border-color:var(--red);box-shadow:var(--e2);transform:translateY(-3px);color:var(--g900);text-decoration:none}
#hp .ap-ico{flex:0 0 44px;display:flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:var(--r-s);background:var(--g100);transition:background-color .25s}
#hp .ap-ico svg{width:24px;height:24px;fill:none;stroke:var(--red);stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
#hp .ap-card:hover .ap-ico{background:var(--soft-red)}
#hp .ap-name{flex:1 1 auto;min-width:0;font-size:16px;line-height:22px;font-weight:600;overflow-wrap:anywhere}
#hp .ap-go{flex:0 0 20px;display:flex;opacity:0;transform:translateX(-6px);transition:opacity .25s,transform .25s}
#hp .ap-go svg{width:20px;height:20px;fill:none;stroke:var(--red);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
#hp .ap-card:hover .ap-go,#hp .ap-card:focus-visible .ap-go{opacity:1;transform:none}
#hp .ap-none{margin:var(--sp-xl) 0 0;padding:var(--sp-xl);border:1px dashed var(--g300);border-radius:var(--r-m);text-align:center;color:var(--g500);font-weight:600}
#hp .ap-none[hidden]{display:none}
/* matches from the other tabs when this tab has none (Inbar, 30 Nov) */
#hp .ap-more{margin-top:var(--sp-xl)}
#hp .ap-more[hidden]{display:none}
#hp .ap-more-t{margin:0 0 var(--sp-m);font-weight:600;color:var(--g700)}
@media (max-width:1100px){#hp .ap-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:820px){#hp .ap-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#hp .md-tabs.ap-tabs .btn-group{gap:var(--sp-m);overflow-x:auto}#hp .ap-tabs .btn-group>a{white-space:nowrap}}
/* phones (Inbar, 18 Nov): the three tabs are stacked, the open one marked in red on the left */
@media (max-width:767px){#hp .md-tabs.ap-tabs{border-bottom:0}#hp .md-tabs.ap-tabs .btn-group{flex-direction:column;gap:0;overflow:visible;border-top:1px solid var(--g200)}#hp .md-tabs.ap-tabs .btn-group>a{white-space:normal;margin:0;padding:12px 16px;border-bottom:1px solid var(--g200);border-left:3px solid transparent;text-align:left}#hp .md-tabs.ap-tabs .btn-group>a:hover{border-bottom-color:var(--g200)}#hp .md-tabs.ap-tabs .btn-group>a.active,#hp .md-tabs.ap-tabs .btn-group>a.active:hover{border-bottom-color:var(--g200);border-left-color:var(--red);background:var(--g100)}}
@media (max-width:540px){#hp .ap-grid{grid-template-columns:1fr}#hp .ap-search{flex:1 1 100%}}
@media (prefers-reduced-motion:reduce){#hp .ap-card,#hp .ap-go{transition:none}#hp .ap-card:hover{transform:none}}

/* application pages: intro text, text blocks, pictures */
#hp .ap-lead{padding-top:var(--sp-3xl)}
#hp .ap-text{max-width:none;white-space:normal}
#hp .ap-text p{margin:0 0 var(--sp-m)}
#hp .ap-text p:last-child{margin-bottom:0}
#hp .ap-text a,#hp .st-card p a{color:var(--red);font-weight:600}
#hp .ap-text h2,#hp .ap-text h3,#hp .ap-text h4{margin:var(--sp-xl) 0 var(--sp-s);color:var(--g900);font-weight:700}
#hp .ap-text ul{margin:0 0 var(--sp-m);padding-left:1.2em}
#hp .ap-story-s{padding-top:var(--sp-2xl)}
#hp .ap-more{margin-top:var(--sp-s)}
#hp .ap-figs{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,420px));gap:var(--sp-l);margin-top:var(--sp-xl)}
#hp .ap-fig{margin:0;border:var(--b-subtle);border-radius:var(--r-m);overflow:hidden;background:var(--white);box-shadow:var(--e1)}
#hp .ap-fig img{display:block;width:100%;height:auto}
#hp .ap-fig figcaption{padding:var(--sp-m);font-size:15px;line-height:22px;color:var(--g700)}

/* application page: key applications as a bullet list (icons are the bullets) */
#hp .ap-heading{margin:0 0 var(--sp-m)}
#hp .st-cards.ap-list{grid-template-columns:1fr;gap:0;max-width:none}
#hp .ap-item{background:none;border:0;border-radius:0;padding:var(--sp-l) 0;flex-direction:row;align-items:flex-start;gap:var(--sp-l);border-top:1px solid var(--g300)}
#hp .ap-item:first-child{border-top:0;padding-top:var(--sp-s)}
#hp .ap-item .st-ico{margin-top:4px}
#hp .ap-item-b{flex:1;min-width:0;display:flex;flex-direction:column;gap:var(--sp-s)}
@media (max-width:600px){#hp .ap-item{gap:var(--sp-m)}#hp .ap-item .st-ico{width:56px;height:56px;border-radius:28px 0 0 28px}#hp .ap-item .st-ico svg{width:34px!important;height:34px!important}}

/* application page: photo next to the intro */
#hp .ap-lead-grid.has-img{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,440px);gap:var(--sp-xl);align-items:start}
#hp .ap-lead-fig{margin:0}
#hp .ap-lead-fig img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;border-radius:var(--r-m)}
#hp .ap-lead-fig figcaption{margin-top:var(--sp-s);font-size:14px;line-height:20px;color:var(--g500)}
@media (max-width:900px){#hp .ap-lead-grid.has-img{grid-template-columns:1fr}}
/* application page: spacing by the 8pt scale (heading 8 / paragraph / next section 32) */
#hp .ap-lead{padding-top:var(--sp-2xl);padding-bottom:0}
#hp .ap-lead .md-lead{padding-top:0}
#hp .ap-heading{margin:0 0 var(--sp-s)}
#hp .ap-story-s{padding-top:var(--sp-xl)}
#hp .ap-lead-grid.has-img{grid-template-columns:minmax(0,1fr) minmax(0,380px);gap:var(--sp-2xl)}
#hp .ap-lead-fig img{aspect-ratio:3/2}
@media (max-width:900px){#hp .ap-lead-grid.has-img{grid-template-columns:1fr;gap:var(--sp-l)}}

/* list page cards: icon, name, short text, product badges (the whole card is the link of the name) */
#hp .ap-grid{gap:var(--sp-l) var(--sp-m);align-items:stretch}
#hp .ap-card{position:relative;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:var(--sp-s);height:100%;padding:var(--sp-m)}
#hp .ap-top{display:flex;align-items:center;gap:var(--sp-m)}
#hp .ap-name{color:var(--g900);text-decoration:none}
#hp .ap-name::after{content:"";position:absolute;inset:0;border-radius:var(--r-m)}
#hp .ap-card:hover{border-color:var(--red);box-shadow:var(--e2);transform:translateY(-3px)}
#hp .ap-teaser{margin:0;font-size:14px;line-height:20px;color:var(--g700);display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
#hp .ap-badges{list-style:none;margin:auto 0 0;padding:var(--sp-s) 0 0;display:flex;flex-wrap:wrap;gap:var(--sp-s)}
#hp .ap-badge{position:relative;z-index:1;display:inline-block;padding:2px 12px;border:1px solid var(--g300);border-radius:999px;background:var(--g100);color:var(--g900);font-size:12px;line-height:20px;font-weight:700;letter-spacing:.04em;text-decoration:none;transition:background-color .2s,border-color .2s,color .2s}
#hp .ap-badge:hover,#hp .ap-badge:focus-visible{background:var(--red);border-color:var(--red);color:var(--white);text-decoration:none}
@media (max-width:540px){#hp .ap-card{height:auto}}

/* list page, bigger cards: 3 in a row, icon in the red shape (as the bullets of the application pages) */
#hp .ap-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--sp-l)}
#hp .ap-card{padding:var(--sp-l);gap:var(--sp-m);border-radius:var(--r-m)}
#hp .ap-top{gap:var(--sp-m)}
#hp .ap-top .st-ico{flex:none}
#hp .ap-name{font-size:20px;line-height:1.33;font-weight:700}
#hp .ap-teaser{font-size:16px;line-height:24px;-webkit-line-clamp:4}
#hp .ap-badge{font-size:13px;padding:4px 14px}
#hp .ap-card:hover .st-ico{background:var(--red-dark,#a00102)}
@media (max-width:1000px){#hp .ap-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:640px){#hp .ap-grid{grid-template-columns:1fr}}

/* list page cards: calm icon shape; on hover the red shape runs to the right border and the name turns white.
   A small red arrow in the low right corner is always visible (also on touch screens). */
#hp .ap-card{overflow:hidden}
#hp .ap-top{position:relative;margin:0;height:72px;gap:var(--sp-s);background:none}
#hp .ap-top::before{content:"";position:absolute;left:0;top:0;height:72px;width:72px;background:var(--red);border-radius:36px 0 0 36px;transition:width .35s cubic-bezier(.2,.7,.2,1)}
#hp .ap-top .st-ico{position:relative;z-index:1;flex:none;width:72px;height:72px}
#hp .ap-name{position:relative;z-index:1;flex:1 1 auto;color:var(--g900);font-size:19px;line-height:24px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;transition:color .25s}
#hp .ap-top::after{content:"";position:absolute;left:0;top:0;height:72px;width:72px;border-radius:36px 0 0 36px;background:linear-gradient(100deg,#8e0102 0%,#b30203 55%,#d92b28 100%);opacity:0;transition:width .35s cubic-bezier(.2,.7,.2,1),opacity .35s}
#hp .ap-top .st-ico{transition:background-color .35s}
@media (hover:hover){
  #hp .ap-card:hover .ap-top::before,#hp .ap-card:focus-within .ap-top::before,#hp .ap-card:hover .ap-top::after,#hp .ap-card:focus-within .ap-top::after{width:calc(100% + var(--sp-l))}
  #hp .ap-card:hover .ap-top::after,#hp .ap-card:focus-within .ap-top::after{opacity:1}
  #hp .ap-card:hover .st-ico,#hp .ap-card:focus-within .st-ico{background:transparent}
  #hp .ap-card:hover .ap-name,#hp .ap-card:focus-within .ap-name{color:var(--white)}
}
#hp .ap-teaser{-webkit-line-clamp:3}
#hp .ap-foot{display:flex;align-items:center;justify-content:space-between;gap:var(--sp-s);margin-top:auto;padding-top:var(--sp-s)}
#hp .ap-foot .ap-badges{margin:0;padding:0}
#hp .ap-foot .ap-go{display:flex;flex:none;margin-left:auto;opacity:1;transform:none;transition:transform .25s}
#hp .ap-foot .ap-go svg{width:24px;height:24px;stroke:var(--red)}
#hp .ap-card:hover .ap-foot .ap-go{transform:translateX(4px)}
@media (prefers-reduced-motion:reduce){#hp .ap-top::before,#hp .ap-top::after,#hp .ap-top .st-ico,#hp .ap-foot .ap-go,#hp .ap-name{transition:none}}

/* application pages: product names in the texts are links to the product page, bold red */
#hp .ap-text a[href*="/products/"],#hp .ap-item-b a[href*="/products/"]{color:var(--red);font-weight:700;text-decoration:none}
#hp .ap-text a[href*="/products/"]:hover,#hp .ap-item-b a[href*="/products/"]:hover{text-decoration:underline}
#hp .ap-text li{margin-bottom:var(--sp-xs,8px)}
#hp .ap-text ul.ap-bullets{list-style:disc}
#hp .ap-text p.ap-cta{margin:var(--sp-l,24px) 0 0}
#hp .ap-text a.ap-btn{display:inline-flex;align-items:center;padding:14px 26px;border-radius:var(--r-s);background:var(--red);color:var(--white);font-weight:700;font-size:16px;line-height:24px;text-decoration:none;transition:background-color .18s,transform .18s}
#hp .ap-text a.ap-btn:hover{background:var(--black);color:var(--white);text-decoration:none;transform:translateY(-2px)}
#hp .ap-text p.ap-cta{margin-bottom:var(--sp-m,16px)}

/* application pages: bullet lists inside the key application items (Food) */
#hp .ap-item-b ul.ap-bullets{list-style:disc;margin:0;padding-left:var(--sp-l);display:flex;flex-direction:column;gap:var(--sp-s)}
#hp .ap-item-b p{margin:0}
/* key application item: the words in brackets at the end of the title, on their own line, not bold */
#hp .ap-item-sub{display:block;font-weight:400}
/* phones (Inbar, 18 Nov): the key applications are closed cards (icon, title, sub line); a tap opens the text */
@media (max-width:767px){
#hp.js .ap-list.st-cards{gap:var(--sp-m)}
#hp.js .ap-list .ap-item.ap-fold,#hp.js .ap-list .ap-item.ap-fold:first-child{position:relative;align-items:center;padding:var(--sp-m) 44px var(--sp-m) var(--sp-m);border:var(--b-subtle);border-radius:var(--r-m);background:var(--white);box-shadow:var(--e1);cursor:pointer;-webkit-tap-highlight-color:transparent}
#hp.js .ap-list .ap-item.ap-fold .ap-item-b>p{display:none}
#hp.js .ap-list .ap-item.ap-fold.open{align-items:flex-start}
#hp.js .ap-list .ap-item.ap-fold.open .ap-item-b>p{display:block;margin-top:var(--sp-s)}
#hp.js .ap-list .ap-item.ap-fold::after{content:"";position:absolute;right:18px;top:50%;width:10px;height:10px;margin-top:-7px;border-right:2px solid var(--g700);border-bottom:2px solid var(--g700);transform:rotate(45deg);transition:transform .2s}
#hp.js .ap-list .ap-item.ap-fold.open::after{top:calc(var(--sp-m) + 20px);transform:rotate(225deg)}
#hp.js .ap-list .ap-item.ap-fold:focus-visible{outline:2px solid var(--red);outline-offset:4px}
}
/* a list of titles only (Other Industrial): two columns, each title centered beside its icon */
#hp .st-cards.ap-list.ap-short{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:var(--gutter);max-width:none}
#hp .ap-short .ap-item{align-items:center;padding:var(--sp-m) 0}
#hp .ap-short .ap-item:nth-child(2){border-top:0;padding-top:var(--sp-s)}
#hp .ap-short .ap-item .st-ico{margin-top:0}
@media (max-width:767px){#hp .st-cards.ap-list.ap-short{grid-template-columns:1fr}#hp .ap-short .ap-item:nth-child(2){border-top:1px solid var(--g300);padding-top:var(--sp-m)}}
/* advantage cards of an application page (Other Industrial, Inbar 18 Nov): the product page cards,
   two per row, text at the size of the intro, the red icon shape of the key application cards, and
   on hover the red band that sweeps around the border of the case study cards */
#hp .pr-feat-list.ap-feats{margin:var(--sp-l) 0 var(--sp-xl);grid-template-columns:repeat(2,minmax(0,1fr))}
@media (max-width:767px){#hp .pr-feat-list.ap-feats{grid-template-columns:1fr}}
#hp .ap-feats .pr-feat{position:relative;align-items:flex-start;gap:var(--sp-l);transition:opacity .7s ease,transform .8s cubic-bezier(.2,.7,.2,1),box-shadow .2s}
#hp .ap-feats .pr-feat:hover{box-shadow:0 8px 24px rgba(10,10,10,.10)}
#hp .ap-feats .pr-feat-ico{width:72px;height:72px;border-radius:36px 0 0 36px;box-shadow:none;margin-top:4px}
#hp .ap-feats .pr-feat-ico svg{width:44px;height:44px;stroke-width:1.4}
#hp .ap-feats .pr-feat-t{margin:0 0 var(--sp-s);font-size:clamp(17px,1.5vw,20px);line-height:1.4}
#hp .ap-feats .pr-feat-d{font-size:clamp(17px,1.5vw,20px);line-height:1.6}
#hp .ap-feats .pr-feat::before{content:"";position:absolute;inset:-1px;border-radius:inherit;padding:2px;pointer-events:none;background:linear-gradient(135deg,var(--g200) 0%,var(--g200) 34%,var(--red) 44%,var(--red) 56%,var(--g200) 66%,var(--g200) 100%);background-size:300% 300%;background-position:100% 100%;-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask:linear-gradient(#000 0 0) content-box exclude,linear-gradient(#000 0 0);mask-composite:exclude;opacity:0;transition:opacity .15s}
#hp .ap-feats .pr-feat:hover::before{opacity:1;animation:ap-sweep 1.8s ease-in-out 1 both}
@keyframes ap-sweep{from{background-position:100% 100%}to{background-position:0 0}}
@media (prefers-reduced-motion:reduce){#hp .ap-feats .pr-feat:hover::before{animation:none;opacity:0}}
@media (max-width:600px){#hp .ap-feats .pr-feat{gap:var(--sp-m)}#hp .ap-feats .pr-feat-ico{width:56px;height:56px;border-radius:28px 0 0 28px}#hp .ap-feats .pr-feat-ico svg{width:34px;height:34px}}

/* ---------- team round (Nov 2026) ---------- */
/* whole tile clickable: the title link stretches over the tile */
#hp .pr-tile{position:relative}
#hp .pr-tile h2 a::after{content:"";position:absolute;inset:0;z-index:1}
#hp .pr-tile .pr-img,#hp .pr-tile .pr-body a.btn{position:relative;z-index:2}
#hp .pr-note,#hp .md-specs-note{margin:var(--sp-s) 0 0;font-size:13px;line-height:20px;font-weight:400;color:var(--red)}
/* ID box: small illustration to the left of the title, everything else full width */
#hp .md-specs-card{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:var(--sp-m);align-items:center}
#hp .md-specs-card>*{grid-column:1/-1}
#hp .md-specs-card h2{grid-column:1;grid-row:1}
#hp .md-specs-card .md-specs-img{grid-column:2;grid-row:1;justify-self:end;display:block;width:auto;height:72px;max-width:64px;object-fit:contain}
#hp .md-specs-card .md-specs-note{margin-top:var(--sp-m)}
/* ID box without the small illustration (Inbar, 24 Nov): the title takes the whole width, the box only as tall as its content */
#hp .md-specs-card{grid-template-columns:minmax(0,1fr)}
#hp .md-specs-card h2{grid-column:1/-1}
#hp .md-specs-card .md-specs-img{display:none}
/* "Temperature" in full on desktop and tablet, the short form on phones (Inbar, 24 Nov) */
#hp .t-short{display:none}
@media (max-width:767px){#hp .t-full{display:none}#hp .t-short{display:inline}}
/* How It Works: highlighted phrases = design-system light red, black, not bold */
#hp #how-it-works strong.hw-term{display:inline;min-width:0;height:auto;padding:1px 6px;border-radius:var(--r-s);background:var(--soft-red,#F3C0C0);color:var(--black);font-size:inherit;line-height:inherit;font-weight:400}
#hp .pr-grid>li{position:relative}
/* whole application card clickable: the name link stretches over the card, badge links stay on top */
#hp .ap-name::after{content:"";position:absolute;inset:0;z-index:1;border-radius:var(--r-m)}
#hp .ap-badges{position:relative;z-index:2}

/* ID box labels: sentence case (not all caps), fixed label column so long labels wrap to two lines */
#hp .md-top .md-specs dl{grid-template-columns:140px minmax(0,1fr);gap:16px var(--sp-xl);align-items:center}
#hp .md-specs dt{text-transform:none;letter-spacing:0;font-size:14px;line-height:20px;font-weight:600;color:var(--g500)}
#hp .md-top .md-specs dt{font-size:14px;letter-spacing:0}

/* ---------- Customization Options tab: one text size (16px, as in How It Works) except titles ---------- */
#hp #customization-options{padding:0;color:var(--g700);font-size:16px;line-height:1.65}
#hp #customization-options>p{max-width:none;margin:0 0 var(--sp-m);font-size:inherit;line-height:inherit;color:inherit}
/* the ORD bedding note keeps the note look and its 16 px space under the table (Inbar, 30 Nov: the rule above won over .ord-note) */
#hp #customization-options>p.ord-note{margin:var(--sp-m) 0;font-size:14px;line-height:20px;color:var(--g500)}
#hp #customization-options h2{font-size:clamp(20px,1.8vw,26px);line-height:1.25;font-weight:700;color:var(--g900);margin:var(--sp-xl) 0 var(--sp-m)}
#hp #customization-options .co-screens+h2{margin-top:calc(var(--sp-xl) + 8px)}
#hp .co-screens{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:var(--gutter)}
#hp .co-screens:has(.co-screen:only-child){grid-template-columns:minmax(240px,360px)}
#hp .co-screen{display:flex;flex-direction:column;gap:var(--sp-m);padding:var(--sp-l);background:var(--g100);border:var(--b-subtle);border-radius:var(--r-m)}
#hp .co-screen h3{margin:0;font-size:18px;line-height:26px;font-weight:700;color:var(--g900)}
#hp .co-mesh{height:150px;border-radius:var(--r-s);overflow:hidden;border:var(--b-subtle);background:var(--g200)}
#hp .co-mesh img{display:block;width:100%;height:100%;object-fit:cover}
#hp .co-screen dl{display:grid;grid-template-columns:140px minmax(0,1fr);gap:16px var(--sp-xl);align-items:center;margin:0}
#hp .co-screen dt{float:none;width:auto;margin:0;text-align:left;font-size:inherit;line-height:inherit;font-weight:600;color:var(--g500)}
#hp .co-screen dd{margin:0;font-size:inherit;line-height:inherit;font-weight:600;color:var(--g900)}
/* specifications table: bordered, red header row, row dividers, no stripes */
#hp .co-specs{width:100%;border-collapse:separate;border-spacing:0;border:1px solid var(--g300,#c8c8c8);border-radius:var(--r-m);overflow:hidden;margin:0;background:var(--white)}
#hp .co-specs thead th{background:var(--red);color:var(--white);font-size:inherit;line-height:inherit;font-weight:700;text-align:left;padding:var(--sp-m) var(--sp-l);border:0}
#hp .co-specs tbody th,#hp .co-specs tbody td{font-size:inherit;line-height:inherit;padding:var(--sp-m) var(--sp-l);border:0;border-top:1px solid var(--g200,#e5e5e5);vertical-align:top;text-align:left}
#hp .co-specs tbody tr:first-child th,#hp .co-specs tbody tr:first-child td{border-top:0}
#hp .co-specs tbody th{width:30%;font-weight:700;color:var(--g900);background:var(--g100)}
#hp .co-specs tbody td{font-weight:400;color:var(--g700)}
/* Standard / Optional columns (Inbar, 24 Nov) */
#hp .co-specs tbody th{width:26%}
#hp .co-specs td.co-std{width:30%}
#hp .co-specs td a{color:var(--red);font-weight:600;text-decoration:underline;text-underline-offset:3px}
#hp .co-specs td.co-none{color:var(--g500)}
@media (max-width:767px){
  #hp .co-specs thead{display:none}
  #hp .co-specs,#hp .co-specs tbody,#hp .co-specs tr,#hp .co-specs th,#hp .co-specs td{display:block;width:auto}
  #hp .co-specs tbody th,#hp .co-specs tbody td,#hp .co-specs td.co-std{width:auto;box-sizing:border-box}
  #hp .co-specs tbody tr{border-top:1px solid var(--g200,#e5e5e5)}
  #hp .co-specs tbody tr:first-child{border-top:0}
  #hp .co-specs tbody th,#hp .co-specs tbody td{border-top:0;padding:var(--sp-s) var(--sp-m)}
  #hp .co-specs tbody th{padding-top:var(--sp-m)}
  #hp .co-specs tbody td:last-child{padding-bottom:var(--sp-m)}
  #hp .co-specs td::before{content:attr(data-label) ": ";font-weight:700;color:var(--g900)}
}
/* closing notes: regular text, icon as bullet, whole note links to Contact; the marker sweeps left to right, then leaves the key words highlighted */
#hp .co-notes{display:grid;gap:var(--sp-m);margin-top:var(--sp-l)}
#hp .co-note-link{display:flex;align-items:center;gap:var(--sp-m);max-width:none;color:var(--g700);text-decoration:none;font-size:inherit;line-height:inherit}
#hp .co-note-link .co-ic{flex:none;color:var(--red)}
#hp .co-hl{background:linear-gradient(var(--soft-red,#F3C0C0),var(--soft-red,#F3C0C0)) no-repeat left center/0% 100%;-webkit-box-decoration-break:clone;box-decoration-break:clone;padding:2px 0}
#hp .co-key{border-radius:2px;text-decoration:none;font-weight:600;color:var(--g900)}
#hp .co-note-link:hover .co-key,#hp .co-note-link:focus-visible .co-key{text-decoration:underline;text-underline-offset:3px}
#hp .co-notes.is-run .co-hl{animation:co-mark 2.6s ease-in-out both}
#hp .co-notes.is-run .co-key{animation:co-key 2.6s step-end both}
#hp .co-notes.is-run .co-note-link:nth-child(2) .co-hl,#hp .co-notes.is-run .co-note-link:nth-child(2) .co-key{animation-delay:2.6s}
@keyframes co-mark{0%{background-position:left center;background-size:0% 100%}45%{background-position:left center;background-size:100% 100%}55%{background-position:right center;background-size:100% 100%}100%{background-position:right center;background-size:0% 100%}}
@keyframes co-key{0%{background:transparent}45%{background:var(--soft-red,#F3C0C0)}100%{background:var(--soft-red,#F3C0C0)}}
@media (prefers-reduced-motion:reduce){#hp .co-notes.is-run .co-hl{animation:none}#hp .co-key{background:var(--soft-red,#F3C0C0)}#hp .co-notes.is-run .co-key{animation:none}}
/* tabs consistent: How It Works has no grey frame either (as Models and Customization Options) */
#hp #how-it-works{background:none;border:0;box-shadow:none;padding:0}
/* ---------- product pages on phones and tablets (Inbar, 18 Nov 2026) ---------- */
@media (max-width:1023px){
  /* tabs and tables are swiped sideways; a soft shadow at an edge shows there is more */
  #hp .md-tabs{min-width:0}
  /* sideways only: the tab line never moves up and down while it is swiped (Inbar, 1 Dec, iPhone) */
  #hp .md-tabs:not(.ap-tabs) .btn-group{overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;scrollbar-width:none;scroll-snap-type:x proximity}
  #hp .md-tabs:not(.ap-tabs) .btn-group>a{margin-bottom:0}
  #hp .md-tabs:not(.ap-tabs) .btn-group::-webkit-scrollbar{display:none}
  #hp .md-tabs:not(.ap-tabs) .btn-group>a{flex:none;white-space:nowrap;scroll-snap-align:start}
  #hp .md-content{-webkit-overflow-scrolling:touch;background:linear-gradient(90deg,#fff 30%,rgba(255,255,255,0)) left/40px 100% no-repeat local,linear-gradient(270deg,#fff 30%,rgba(255,255,255,0)) right/40px 100% no-repeat local,radial-gradient(farthest-side at 0 50%,rgba(10,10,10,.16),rgba(10,10,10,0)) left/14px 100% no-repeat scroll,radial-gradient(farthest-side at 100% 50%,rgba(10,10,10,.16),rgba(10,10,10,0)) right/14px 100% no-repeat scroll}
}
@media (max-width:767px){
  /* ID box: the texts wrap inside the box, and each label is level with the first line of its text */
  #hp .md-specs dl,#hp .md-top .md-specs dl{align-items:start}
  #hp .md-specs dt,#hp .md-top .md-specs dt{padding-top:1px}
  #hp .md-specs dd{min-width:0;overflow-wrap:anywhere}
  /* brochure: only the PDF button, centred in the box */
  #hp .md-specs dt:has(+ dd a[href$=".pdf"]){display:none}
  #hp .md-specs dd:has(a[href$=".pdf"]){grid-column:1/-1;display:flex;justify-content:center;margin-top:var(--sp-s)}
}
/* pictures inside the text of an application page (e.g. the Cooling Towers schematics, 22 Nov) */
#hp .ap-text img{display:block;width:100%;max-width:720px;height:auto;margin:var(--sp-l) 0 var(--sp-s)}
#hp .ap-text p:has(> img){margin:0}
#hp .ap-text p:has(> img) + p em{display:block;font-size:14px;line-height:20px;color:var(--g500);margin-bottom:var(--sp-l)}
/* app-cards:start (Inbar, 22 Nov 2026; the mockups copy this block, docs/mockups/build/app_cards.py) */
/* application pages, installations carousel: every card the same height on every page; title up to 2 lines,
   text up to 3 lines; the whole card opens the rest (picture with its full caption, or the case study) */
#hp .ap-installs .card{cursor:pointer}
#hp .ap-installs .card-body .hp-h4{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:2lh}
#hp .md-cases.is-installs.ap-installs .md-teaser{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;min-height:3lh}
/* the picture viewer */
#hp dialog.pv{border:0;padding:0;border-radius:var(--r-m);width:fit-content;max-width:min(1100px,92vw);max-height:92vh;overflow:hidden;background:var(--white);box-shadow:var(--e2)}
/* the scroll bar (long captions) scrolls inside the rounded window, so every corner stays rounded (Inbar, 25 Nov) */
#hp .pv-body{max-height:92vh;overflow:auto}
#hp dialog.pv::backdrop{background:rgba(0,0,0,.72)}
/* the grey frame is exactly 36 px on the left, right and top of the picture, whatever its size (Inbar, 24 Nov) */
#hp .pv-pic{background:var(--g100);padding:36px 36px 0;display:flex;justify-content:center}
#hp .pv-pic img{display:block;width:auto;height:auto;max-width:min(1028px,calc(92vw - 72px));max-height:calc(72vh - 36px)}
#hp .pv-text{padding:var(--sp-l) var(--sp-xl) var(--sp-xl);contain:inline-size} /* the caption wraps to the picture's width */
#hp .pv-text .hp-h4{margin:0}
#hp .pv-text p{margin:var(--sp-s) 0 0;color:var(--g700)}
#hp .pv-close{position:absolute;top:12px;right:12px;width:44px;height:44px;border-radius:var(--r-pill);border:var(--b-default);background:var(--white);color:var(--g900);font-size:26px;line-height:1;cursor:pointer;display:grid;place-items:center}
#hp .pv-close:hover{background:var(--black);color:var(--white)}
/* one picture beside the intro: the text continues under the picture (Inbar, 22 Nov) */
#hp .ap-lead-grid.has-img{display:flow-root}
#hp .ap-lead-grid.has-img .ap-lead-fig{float:right;width:min(380px,40%);margin:0 0 var(--sp-l) var(--sp-2xl)}
@media (max-width:900px){#hp .ap-lead-grid.has-img{display:flex;flex-direction:column;gap:var(--sp-l)}#hp .ap-lead-grid.has-img .ap-lead-fig{float:none;width:auto;margin:0;order:2}}
/* app-cards:end */
/* product page carousel (Inbar, 29 Nov): case studies and installations; an installation card keeps
   an empty date line so every card is the same height */
#hp .md-cases.ap-installs .card-body .meta{min-height:20px}

/* ---------- products pages: tiles grouped by product type, each under a sub-heading with a divider
   line between groups (Inbar, 25 Nov 2026; layout only) ---------- */
#hp .pr-group-t{margin:0 0 var(--sp-l)}
#hp .pr-group+.pr-group{margin-top:var(--sp-2xl);padding-top:var(--sp-2xl);border-top:var(--b-default)}
@media (max-width:767px){#hp .pr-group+.pr-group{margin-top:var(--sp-xl);padding-top:var(--sp-xl)}}
/* Text runs the full width of the page content, to the edge of the cards and boxes, on every page (Inbar, 27 Nov): no narrower text column */
/* product tabs on phones (Inbar, 29 Nov: on an iPhone "Customization Options" was cut off and could not
   be swiped): below 640px the bar is a column, so the tabs line took its text width instead of the
   screen's; it now takes the screen's width, and on narrow phones the three tabs fit, wrapping a long
   label onto a second line rather than hiding it */
#hp .pr-bar>.md-tabs{align-self:stretch;max-width:100%}
/* phones: every tab bar keeps its labels whole and is swiped sideways, the product tabs like the Complete Custom
   Systems tabs (Inbar, 30 Nov: same swipe and same text size) */

