.cp-card {
  position: relative;
}

.bbw-posts.category-picks {
  --cp-pill-1: #F1B341;
  /* 1st column/card */
  --cp-pill-2: #CC6092;
  /* 2nd */
  --cp-pill-3: #64579A;
  /* 3rd */
  --cp-pill-4: #6DBB7C;
  /* 4th if you ever use 4 cols */
  --cp-pill-5: #B06BE0;
  /* 5th */
  --cp-pill-6: #F07F3C;
  /* 6th */
}

.bbw-posts.category-picks .cp-card:nth-child(1) .bbw-pill {
  background-color: var(--cp-pill-1) !important;
}

.bbw-posts.category-picks .cp-card:nth-child(2) .bbw-pill {
  background-color: var(--cp-pill-2) !important;
}

.bbw-posts.category-picks .cp-card:nth-child(3) .bbw-pill {
  background-color: var(--cp-pill-3) !important;
}

.bbw-posts.category-picks .cp-card:nth-child(4) .bbw-pill {
  background-color: var(--cp-pill-4) !important;
}

.bbw-posts.category-picks .cp-card:nth-child(5) .bbw-pill {
  background-color: var(--cp-pill-5) !important;
}

.bbw-posts.category-picks .cp-card:nth-child(6) .bbw-pill {
  background-color: var(--cp-pill-6) !important;
}

.bbw-thumb-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform .35s ease;
}

.bbw-thumb:hover .bbw-thumb-bg {
  transform: scale(1.04);
}

/* pill badge (clickable) */
.category-picks .bbw-pill {
  height: max-content;
  display: inline-block;
  padding: 8px 14px;
  margin-left: 10px;
  line-height: 1;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
}

.bbw-pill:hover {
  color: #fff;
}

.category-picks .thumb-cat {
  display: flex;
  align-items: center;
}

.category-picks .bbw-thumb img {
      height: 80px;
    width: 125px;
    object-fit: cover;
}

.bbw-posts.category-picks {
  display: grid;
  gap: 40px;
  grid-template-columns: repeat(var(--cp-cols, 3), minmax(0, 1fr));
}

/* title */
.bbw-title {
  margin-top: 5px;
  font-size: 14px;
  color: #000000;
  line-height: 1 !important;
}

.bbw-title a {
  color: inherit;
  text-decoration: none;
  font-size: 14px !important;
  color: #000;
  font-weight: 500;
}

/* responsive */

@media (max-width: 1024px) {
  .bbw-title a {
    font-size: 12px;
        line-height: 17px;
  }
}

@media (max-width: 768px) {
  .category-picks .thumb-cat {
    flex-direction: column;
    align-items: flex-start;
  }

  .category-picks .bbw-pill {
    margin-left: 0;
  }

  .category-picks .bbw-pill {
    font-size: 12px;
    padding: 5px 3px;
  }

  .bbw-title a {
    font-size: 12px;
  }

  .category-picks .bbw-thumb img {
    height: 60px;
    object-fit: contain;
  }
}




@media (max-width: 1024px) {
  .bbw-posts.category-picks {
    --cp-cols: 2;
  }
}

@media (max-width: 640px) {
  .bbw-posts.category-picks {
    --cp-cols: 1;
  }
}