/* /css/bmxc-yearlist.css
   BMXC Year List grouped by category
   - 2 columns desktop, 1 column mobile
   - Flat rows (no radius, no shadow)
   - 50px image height, uncropped width
   - 15px title
   - Larger gutter between columns
*/

.bmxc-yl-wrap{
  margin: 16px 0 0;
}

/* Section block */
.bmxc-yl-section{
  margin: 0 0 32px 0;
  
}

.bmxc-yl-h4{
  margin: 0 0 8px 0;
  font-size: 15px;
  font-weight: 700;
  color: #121212;
}

/* Grid: default 1 col */
.bmxc-yl-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px; /* vertical gap matches specs */
}

/* Desktop: 2 cols with wider gutter */
@media (min-width: 900px){
  .bmxc-yl-grid{
    grid-template-columns: 1fr 1fr;
    column-gap: 28px; /* wider gap between columns */
    row-gap: 2px;
  }
}

/* Row */
.bmxc-yl-card{
  display: grid;
  grid-template-columns: auto 1fr 22px;
  align-items: center;
  gap: 12px;

  padding: 2px 10px;
  background: #ffffff;
  border: 0;
  border-radius: 0;
  box-shadow: none;

  text-decoration: none;
  color: inherit;
  transition: background .12s ease;
}

.bmxc-yl-card:hover{
  background: #eeeeee;
}

/* Thumbnail wrapper */
.bmxc-yl-thumbWrap{
  height: 54px;           /* 50px image + 2px padding top/btm */
  padding: 2px 0;
  display: flex;
  align-items: center;
}

.bmxc-yl-thumb{
  height: 50px;
  width: auto;
  display: block;
  object-fit: contain; /* no cropping */
  background: rgba(0,0,0,.06);
}

/* Title */
.bmxc-yl-title{
  font-size: 15px;
  line-height: 1.15;
  font-weight: 700;
  color: #07a1f2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Arrow */
.bmxc-yl-arrow{
  width: 18px;
  height: 18px;
  justify-self: end;
  opacity: .85;
}

/* Empty state */
.bmxc-yl-empty{
  padding: 10px 0;
  color: rgba(0,0,0,.55);
}