/* ============================
   BMXC Related Bikes Module
   Fully scoped (bmxc-rel-*)
   ============================ */

.bmxc-rel-wrap{
  margin: 34px 0 0;
}

.bmxc-rel-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
  flex-wrap:wrap;
  margin-bottom: 12px;
}

/* Prev/Next pills (left) */
.bmxc-rel-nav{
  display:flex;
  gap: 8px;
  align-items:center;
}

.bmxc-rel-pill{
  border:1px solid transparent;
  background: rgba(0,0,0,.06);
  color: rgba(0,0,0,.65);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 12px;
  cursor: pointer;
  user-select: none;
}

.bmxc-rel-pill:hover{
  background: rgba(0,0,0,.08);
}

.bmxc-rel-pill.is-disabled,
.bmxc-rel-pill:disabled{
  opacity: .45;
  cursor: default;
}

.bmxc-rel-sub{
  font-size: 15px;

}

/* Cards grid */
.bmxc-rel-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

@media (max-width: 900px){
  .bmxc-rel-grid{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 620px){
  .bmxc-rel-grid{ grid-template-columns: 1fr; }
}

/* Card */
.bmxc-rel-card{
  display:block;
  background: #ffffff;
  border: 0;
  border-radius: 14px;
  overflow:hidden;
  text-decoration:none;
  box-shadow: 0 10px 30px rgba(0,0,0,.10); /* matches dashboard */
  transition: transform .12s ease, background .12s ease;
}

.bmxc-rel-card:hover{
  transform: translateY(-2px);
  background: rgba(0,0,0,.03);
}

/* Image (all BMXC heroes are 975x500) */
.bmxc-rel-img{
  width: 100%;
  aspect-ratio: 975 / 500;
  object-fit: cover;
  display:block;
}

.bmxc-rel-img--ph{
  background: rgba(0,0,0,.06);
}

/* Title */
.bmxc-rel-pad{
  padding: 10px 12px 12px;
}

.bmxc-rel-t{
  font-size: 15px;
  font-weight: 700;
  color: #07a1f2;
  line-height: 1.25;
}

.bmxc-rel-m{
  font-size: 12.5px;
  color: rgba(0,0,0,.55);
  line-height: 1.35;
  margin-top: 2px;
}

.bmxc-rel-title{
  margin: 0 0 8px 0;
  font-weight: 700;
}