/* Research ASCII visuals: one decorative ASCII illustration per research team (see assets/js/research-ascii.js).
   The script inserts <div class="rx" aria-hidden="true"><canvas></canvas></div> at the top of each team card.
   Layout only: the art is drawn in the canvas. The block keeps its box while empty, so nothing shifts on load. */
.rx{
  position:relative;display:block;width:100%;max-width:720px;
  aspect-ratio:2 / 1;margin:0 0 clamp(10px,1.6vw,18px);
  overflow:hidden;pointer-events:auto;contain:layout paint;
  -webkit-user-select:none;user-select:none;
}
.rx canvas{position:absolute;inset:0;display:block;width:100%;height:100%}
/* wider, shorter strip once the card has room; the fan and the globe need a little more height than the line art */
@media (min-width:640px){
  .rx{aspect-ratio:5 / 2}
  .rx[data-art="healthcare"]{aspect-ratio:3 / 1}
}
@media (min-width:1024px){
  .rx[data-art="healthcare"]{aspect-ratio:7 / 2}
}
@media print{.rx{display:none}}

/* Home page: the same art on the three question cards (#questions .q). Narrow: above the headline, card-wide.
   Wide: beside the card, in the free space on its open side (placed and sized by the script), so the headline measure is untouched. */
.rx--home{max-width:420px;aspect-ratio:2 / 1;margin:0 0 clamp(14px,2.4vw,22px)}
.q:nth-child(2) .rx--home{margin-left:auto}
@media (max-width:700px){.q:nth-child(2) .rx--home{margin-left:0}}
.rx--home.rx--side{position:absolute;top:50%;transform:translateY(-50%);max-width:none;aspect-ratio:auto;margin:0;left:calc(100% + 48px)}
.rx--home.rx--side.rx--l{left:auto;right:calc(100% + 48px)}
