/* BiomedRx network — full-width parallax bands + 5:4 feature-card art.
   SINGLE SOURCE OF TRUTH: edit here, then redeploy this one file per site.
   (Previously inlined on every page, which made each tweak a 71k-page deploy.)

   Band geometry: the source banners are 3:1, so a full-width image renders
   ~33.4vw tall. The band must stay MEANINGFULLY shorter -- that surplus is the
   parallax travel. 28vw shows ~84% of each photo while keeping 53-261px of
   travel, and guarantees image > band at every width so no blank strip appears.
*/
.brx-htm-band,.brx-cmp-band,.brx-mem-band{width:100%;margin:0;line-height:0;overflow:hidden;height:min(380px,28vw)}
.brx-htm-band img,.brx-cmp-band img,.brx-mem-band img{width:100%!important;height:auto!important;max-height:none!important;display:block;will-change:transform}
.brx-mem-band{border-top:1px solid rgba(120,90,50,.28);border-bottom:1px solid rgba(120,90,50,.28)}
.brx-mem-band img{filter:saturate(.92)}

/* 5:4 illustration at the top of each feature card. The files are already 5:4,
   so object-fit never actually crops -- it only guards against a stray source. */
.brx-card-illus{display:block;width:100%;aspect-ratio:5/4;object-fit:cover;border-radius:12px;margin:0 0 16px}

/* .bd-scenes gallery (blackdollar.app / blackamericanparty.com). The class was
   in the markup with NO rule anywhere, so its 20 <figure>s fell back to block
   layout and stacked full-width down the page. Grid, 4 across. Tiles are 5:4 to
   match the source files (1402x1122) so nothing is cropped. */
.bd-scenes{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:22px 0}
.bd-scenes figure{margin:0}
.bd-scenes img{display:block;width:100%;aspect-ratio:5/4;object-fit:cover;border-radius:14px}
@media (max-width:1100px){.bd-scenes{grid-template-columns:repeat(3,1fr)}}
@media (max-width:820px){.bd-scenes{grid-template-columns:repeat(2,1fr)}}
@media (max-width:520px){.bd-scenes{grid-template-columns:repeat(2,1fr);gap:10px}}

@media (prefers-reduced-motion:reduce){.brx-htm-band img,.brx-cmp-band img,.brx-mem-band img{transform:none!important}}
