/* Auction Group Component Styles */

.budi-auctiongroup {

}

.budi-auctiongroup__list {
   grid-template-columns: repeat(4, 1fr);
   gap: 24px;
}

.budi-auctiongroup__block {
   margin-top: 40px;
}

.budi-auctiongroup__block-title {
   margin-bottom: 24px;
}

.budi-auctiongroup__block-title-icon {
   width: 24px;
   height: 24px;
   font-size: 20px;
}

.budi-auctiongroup__card {
   border: 1px solid var(--neutral-400);
   color: var(--neutral-black);
   position: relative;
   flex-shrink: 0;
   display: flex;
   flex-direction: column;
   width: 100%;
}

.budi-auctiongroup__card.budi-auctiongroup__card--large {
   width: calc(33.33% - 16px);
}

.budi-auctiongroup__tag {
   font-size: 12px;
   line-height: 1.5;
   padding: 2px 8px;
   color: var(--neutral-black);
   background-color: var(--neutral-200);
}

.budi-auctiongroup__card-thumb {
   height: 214px;
    display: flex;
    align-items: center;
    position: relative;
}

.budi-auctiongroup__card.budi-auctiongroup__card--large .budi-auctiongroup__card-thumb {
   height: 344px;
    display: flex;
    align-items: center;
}

/* Vertically center the image-set grid even when taller than wrapper */
.budi-auctiongroup__card-thumb .budi-auctiongroup__card-thumb-img {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 100%;
    height: auto !important;
}

.budi-auctiongroup__card-content {
   padding: 16px;
   display: flex;
   flex-direction: column;
   flex-grow: 1;
}

.budi-auctiongroup__location {
   font-size: 12px;
   line-height: 1.5;
}

.budi-auctiongroup__location-icon {
   width: 12px;
   height: 12px;
}

.budi-auctiongroup__desc p {
   display: -webkit-box;
   -webkit-box-orient: vertical;
   -webkit-line-clamp: 2;
   line-clamp: 2;
   text-overflow: ellipsis;
   overflow: hidden;
   font-size: 14px;
   line-height: 1.15;
   height: 37px;
   min-height: 37px;
}

.budi-auctiongroup__summary p {
   font-size: 14px;
   line-height: 1.5;
   color: var(--neutral-800);
   margin-bottom: 2px;
}

.budi-auctiongroup__btn {
   margin-top: auto;
}

.budi-auctiongroup__card.budi-auctiongroup__card--small {
   background-color: #f6eef2;
   width: 182px;
   flex-direction: row;
}

.budi-auctiongroup__card.budi-auctiongroup__card--small .budi-auctiongroup__card-thumb {
   width: 31px;
   height: 31px;
}

.budi-auctiongroup__card.budi-auctiongroup__card--small .budi-auctiongroup__title {
   font-size: 12px;
   line-height: 1.5;
   color: var(--neutral-black);

   display: -webkit-box;
   -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    text-overflow: ellipsis;
    overflow: hidden;
}

.budi-auctiongroup__object {
   line-height: 1.5;
   color: var(--neutral-black);
}
.budi-auctiongroup__card.budi-auctiongroup__card--small .budi-auctiongroup__object {
   font-size: 12px;
}
.budi-auctiongroup__card.budi-auctiongroup__card--standard .budi-auctiongroup__object {
   font-size: 14px;
   line-height: 1.5;
   background-color: var(--neutral-200);
   padding: 2px 8px;
}
.budi-auctiongroup__card.budi-auctiongroup__card--standard .budi-auctiongroup__date {
   font-size: 12px;
   line-height: 1.5;
}
.budi-auctiongroup__card.budi-auctiongroup__card--standard .budi-auctiongroup__desc {
   color: var(--neutral-800);
}

/* Auction Group Responsive Styles */

@media (max-width: 1399px) {
   .budi-auctiongroup__list {
      grid-template-columns: repeat(3, 1fr);
   }
}

@media (max-width: 1199px) {
   .budi-auctiongroup__list {
      grid-template-columns: repeat(2, 1fr);
   }
}

@media (max-width: 991px) {
   .budi-auctiongroup__card-thumb,
   .budi-auctiongroup__card.budi-auctiongroup__card--large .budi-auctiongroup__card-thumb {
      height: 220px;
   }
   
   .budi-auctiongroup__card.budi-auctiongroup__card--large {
      width: 304px;
   }
} 

@media (max-width: 767px) {
   .budi-auctiongroup__list {
      grid-template-columns: 1fr 1fr;
      gap: 24px 16px;
   }
}

@media (max-width: 575px) {
   .budi-auctiongroup__list {
      grid-template-columns: 1fr;
   }
}

@media (max-width: 1599px) {
   .budi-auctiongroup__card-thumb,
   .budi-auctiongroup__card.budi-auctiongroup__card--large .budi-auctiongroup__card-thumb {
       height: 175px;
   }
}