/* RIVALS section (23.11.2026). Scoped to this section only, own file so the shared CSS hash on other pages stays unchanged. */
@media (max-width: 860px) {
  .bx-g-rivals > .bx-hero-bg { aspect-ratio: 16 / 9; object-fit: cover; object-position: center top; }
  body .pbanner.bx-hero.bx-g-rivals::after { background: linear-gradient(180deg, transparent 0, transparent 44vw, rgba(255,248,238,.85) 52vw, var(--bx-bg) 58vw, var(--bx-bg) 100%) !important; }
  .bx-g-rivals .pb-s { display: block; -webkit-line-clamp: unset; overflow: visible; }
}
.riv-cards .riv-card { display: block; text-decoration: none; color: inherit; }
.riv-cards .riv-card img { display: block; width: 100%; height: 150px; object-fit: cover; border-radius: 14px; background: #f3f5fb; margin-bottom: 8px; }
.riv-ico { border-radius: 12px; background: #eef3fb; vertical-align: middle; flex: 0 0 auto; }
.riv-tool { display: inline-flex; align-items: center; gap: 10px; }
.riv-grid { list-style: none; padding: 0; margin: 10px 0 4px; display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.riv-grid li { background: #fff; border: 1px solid #e6e9f0; border-radius: 12px; padding: 6px 10px; font-size: 14px; }
.riv-slot { margin: 14px 0; }
.riv-slot h3 { margin-bottom: 4px; }
.riv-still { margin: 14px 0; }
.riv-still img { display: block; width: 100%; max-width: 768px; height: auto; border-radius: 14px; }
.riv-still figcaption { font-size: 13px; color: #5b6472; margin-top: 4px; }
.riv-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 12px; align-items: start; }
.riv-gallery .guide-hero, .riv-gallery .riv-still { margin: 0; }
.riv-gallery .guide-hero img { width: 100%; height: auto; }
.data.riv-passes td:last-child, .data.riv-products td:last-child { font-size: 14px; }
.data.riv-codes code { font-size: 15px; font-weight: 700; user-select: all; }
