/* ============================
   BMXC Brand Year List
   /css/bmxc-yearlist.css
   Fully scoped (bmxc-yl-*)
   ============================ */

#bmxc-yearlist{ width:100%; }

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

/* Section spacing */
.bmxc-yl-section{
  margin: 0 0 34px 0; /* gap between sections */
}

.bmxc-yl-h4{
  margin: 0 0 12px 0; /* space after heading */
  font-size: 15px;  /* h4 size */
  font-weight: 700;
  color: #121212;
}

/* Grid: 2 columns desktop, 1 column mobile */
.bmxc-yl-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 28px; /* bigger gap between columns */
  row-gap: 2px;     /* tight vertical rhythm (matches your specs gap) */
}

@media (max-width: 720px){
  .bmxc-yl-grid{
    grid-template-columns: 1fr;
    column-gap: 0;
  }
}

/* Card */
.bmxc-yl-card{
  display: flex;
  align-items: center;
  width: 100%;
  text-decoration: none !important;
  background: #ffffff;
  border: 0;
  padding: 4px 4px 4px 8px;          /* 2px around thumb */
  gap: 10px;
  transition: background .12s ease;
}

.bmxc-yl-card:hover{
  background: rgba(0,0,0,.04); /* slightly darker grey */
}

/* 975x500 ratio thumb (height 50px) */
.bmxc-yl-thumbWrap{
  height: 50px;
  aspect-ratio: 975 / 500;
  flex: 0 0 auto;
  display: block;
  overflow: hidden;
  background: rgba(0,0,0,.03);
}

.bmxc-yl-thumb{
  width: 100%;
  height: 100%;
  object-fit: cover; /* crop to ratio */
  display: block;
}

/* Left text */
.bmxc-yl-title{
  font-size: 12pt !important;
  font-weight: bold;
  line-height: 1.2;
  color: #07a1f2;
  flex: 1 1 auto;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Right side: count + arrow */
.bmxc-yl-right{
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.bmxc-yl-count{
  font-size: 12pt;
  font-weight: bold;
  line-height: 1;
  color: #07a1f2;
  min-width: 42px;
  text-align: right;
}

.bmxc-yl-arrow{
  width: 18px;
  height: 18px;
  display: block;
}