
/* ===== the knowledge rail is the industries rail (hubrail.py) ===== */
html body #hub .rl-bar{display:flex;gap:14px;flex:0 0 auto;}
html body #hub .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 #hub .rl-btn svg{width:26px;height:26px;}
html body #hub .rl-next svg{transform:scaleX(-1);}
html body #hub .rl-btn:hover{background:var(--aqua);color:#0b0f2e;}
html body #hub .rl-btn[disabled]{opacity:.3;cursor:default;background:rgba(255,255,255,.07);color:#fff;}
html body #hub .rl{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 2 * 28px) / 3);
  gap:28px;overflow-x:auto;overflow-y:hidden;overflow-y:clip;scroll-behavior:smooth;overscroll-behavior-x:contain;
  scroll-snap-type:none;scrollbar-width:none;outline:none;}
html body #hub .rl::-webkit-scrollbar{display:none;}
html body #hub .rl-card{scroll-snap-align:start;display:flex;flex-direction:column;color:#fff;}
html body #hub .rl-ph{position:relative;display:block;overflow:hidden;border-radius:26px;
  aspect-ratio:4/3;background:#12173d;}
html body #hub .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 #hub .rl-card:hover .rl-ph i{transform:scale(1.07);}
html body #hub .rl-tag{position:absolute;top:18px;left:18px;}
html body #hub .rl-cat{margin-top:24px;font-size:14px;color:rgba(255,255,255,.55);letter-spacing:.2px;}
html body #hub .rl-card h3{margin-top:14px;font-size:24px;font-weight:600;letter-spacing:-.4px;color:#fff;}
html body #hub .rl-card p{margin:10px 0 0;font-size:17px;line-height:1.5;color:rgba(255,255,255,.78);}
html body #hub .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 #hub .rl-arw svg{width:100%;height:100%;}
html body #hub .rl-card:hover .rl-arw{transform:translate(5px,-5px);}
@media (hover:none){
html body #hub .rl{scroll-snap-type:x proximity;}
}
@media (max-width:640px){
html body #hub .op .rl{grid-auto-columns:82%;gap:18px;}
html body #hub .rl-btn{width:48px;height:48px;}
}
@media (max-width:1080px){
html body #hub .rl{grid-auto-columns:calc((100% - 28px) / 2);}
}

/* THE CHIP IS THE SITE'S EYEBROW. Matt's one tweak: "the 'eyebrow'
   inside each image needs to be the standard eyebrow styling."

   AND IT HAS TO BE WRITTEN OUT, which surprised me. The chip is a
   .pill, and eyebrows.py is the module that makes every .pill on the
   site the aqua eyebrow, so the first version left it to do its job and
   it correctly did not: its selector asks for a label followed by the
   heading it introduces, or one inside a named wrapper, precisely so
   that a chip sitting on a card's photograph is NOT caught. That rule
   is right and this is the case it was written to miss. 184 hub card
   chips depend on it missing them.

   So the declarations are LIFTED from eyebrows.py rather than retyped,
   values and fallbacks together, and this file does not get an opinion
   about what the eyebrow looks like. The industries rail keeps its
   solid aqua chip: those pages are the reference Matt pointed at and
   changing them was not the ask. */
html body #hub .rl-tag{position:absolute;top:18px;left:18px;
  background:var(--aqua,#00eecc) !important;
  color:#0b0f2e !important;
  border-radius:999px !important;
  padding:7px 14px 5px !important;
  font-size:11px !important;
  font-weight:700 !important;
  letter-spacing:1.6px !important;
  text-transform:uppercase !important;
  line-height:1.25 !important;
}
/* AND THE SECTION STOPS SCOPING THE OLD CARD. whtiers lifts home's
   whole stylesheet onto this page under #hub, which is an id and beats
   anything written with classes; that is what made the first attempt a
   mix of two cards. The rules it scopes are all keyed on .hubc and
   .hub-track, and neither is on the page any more, so they match
   nothing. Nothing to override, which is the point. */
