
/* ===== the index cards are the open card (opencards.py) ===== */
html body .oc .rl-bar{display:flex;gap:14px;flex:0 0 auto;}
html body .oc .rl-btn{width:60px;height:60px;border-radius:50%;border:0;cursor:pointer;
  display:grid;place-items:center;background:rgba(255,255,255,.07);color:#fff;
  transition:background .25s,color .25s,opacity .25s;}
html body .oc .rl-btn svg{width:26px;height:26px;}
html body .oc .rl-next svg{transform:scaleX(-1);}
html body .oc .rl-btn:hover{background:var(--aqua);color:#0b0f2e;}
html body .oc .rl-btn[disabled]{opacity:.3;cursor:default;background:rgba(255,255,255,.07);color:#fff;}
html body .oc .rl-card{scroll-snap-align:start;display:flex;flex-direction:column;color:#fff;}
html body .oc .rl-ph{position:relative;display:block;overflow:hidden;border-radius:26px;
  aspect-ratio:4/3;background:#12173d;}
html body .oc .rl-ph i{position:absolute;inset:0;background-size:cover;background-position:center;
  transition:transform 1.2s cubic-bezier(.22,1,.36,1);}
html body .oc .rl-card:hover .rl-ph i{transform:scale(1.07);}
html body .oc .rl-cat{margin-top:24px;font-size:14px;color:rgba(255,255,255,.55);letter-spacing:.2px;}
html body .oc .rl-card h3{margin-top:14px;font-size:24px;font-weight:600;letter-spacing:-.4px;color:#fff;}
html body .oc .rl-card p{margin:10px 0 0;font-size:17px;line-height:1.5;color:rgba(255,255,255,.78);}
html body .oc .rl-arw{display:block;width:40px;height:40px;margin-top:32px;color:var(--aqua);
  transition:transform .3s cubic-bezier(.22,1,.36,1);}
html body .oc .rl-arw svg{width:100%;height:100%;}
html body .oc .rl-card:hover .rl-arw{transform:translate(5px,-5px);}
@media (max-width:640px){
html body .oc .rl-btn{width:48px;height:48px;}
}
/* THE CARDS SIT IN A GRID, NOT A TRACK. The lifted rules describe the
   card; the block they sit in is the page's own grid and keeps its
   gutter. Two numbers are re-stated: 24px of top margin was drawn for
   a rail where the card is the whole column, and the body copy is one
   step down because three cards across a grid are narrower than three
   across a rail. */
html body .oc .rl-card h3{margin-top:18px;text-transform:none;
  font-weight:600;letter-spacing:-.4px;}
html body .oc .rl-card p{font-size:16px;}
/* AND THE TITLE IS NOT SHOUTED. Measured on the first build of the
   wire processing block: the three read CABLE ASSEMBLIES, WIRING
   HARNESSES, CONTROL PANELS in caps at 900 weight, because these pages
   carry a heading rule that uppercases an h3 inside a card and the
   lifted .rl-card h3 rule sets a size and a weight but says nothing
   about case. */
