.clf{
  display: flex;
  align-items: start;
  flex-direction: column;
  gap: 24px;
}

/* FILTER BAR */
.clf__filters{
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
  align-items: end;
}

.clf__block{
  width: 100%;
  min-width: 220px;
  flex: 1 1 220px;
  align-content: end;
}

.clf__title{
  font-weight: 600;
  margin-bottom: 8px;
}

.clf__options{
  display: grid;
  gap: 8px;
  max-height: 220px;
  overflow: auto;
  padding-right: 6px;
}

.clf__opt{
  display: flex;
  gap: 10px;
  align-items: center;
  cursor: pointer;
}

.clf__muted{ opacity: .7; font-size: 14px; }

.clf__select{
  width: 100%;
  padding: 10px 12px;
  border: 1px solid rgba(0,0,0,.12);
  background: #fff;
}

.clf__btn{
  width: 100%;
  padding: 12px 12px;
  border: 1px solid rgba(0,0,0,.12);
  background: #fff;
  cursor: pointer;
}

.clf__results{
  width: 100%;
  min-height: 200px;
}

.clf__status{
  margin-bottom: 12px;
  opacity: .8;
}

/* GRID: 4 per row */
.clf__grid{
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  width: 100%;
  justify-content: flex-start;
  align-items: stretch;
}

.clf-card{
  flex: 0 0 calc((100% - (14px * 3)) / 4);
  max-width: calc((100% - (14px * 3)) / 4);
  box-sizing: border-box;

  border: 1px solid rgba(0,0,0,.08);
  overflow: hidden;
  background: #fff;
  transition: transform .22s ease, box-shadow .22s ease;
}

/* 3 per row */
@media (max-width: 1200px){
  .clf-card{
    flex-basis: calc((100% - (14px * 2)) / 3);
    max-width: calc((100% - (14px * 2)) / 3);
  }
}

/* 2 per row */
@media (max-width: 900px){
  .clf-card{
    flex-basis: calc((100% - 14px) / 2);
    max-width: calc((100% - 14px) / 2);
  }
}

/* 1 per row */
@media (max-width: 600px){
  .clf-card{
    flex-basis: 100%;
    max-width: 100%;
  }
}

.clf-card__link{
  text-decoration: none;
  display: grid;
  grid-template-rows: auto 1fr;
  color: inherit;
  height: 100%;
}

.clf-card__media{
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #fff;
  display: block;
}

.clf-card__img{
  width: 100% !important;
  height: 100% !important;
  display: block;
  object-fit: contain;
  object-position: center;
  padding: 0 !important;
}

.clf-card__img--placeholder{
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,.04);
}

.clf-card__body{
  background: rgba(0,0,0,.03);
  min-height: 230px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: background-color .22s ease, color .22s ease;
}

.clf-card__title{
  margin: 0;
  font-size:1rem !important;
  line-height: 1.2;
  font-weight: 700;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color .22s ease;
}

.clf-card__subtitle{
  margin-top: -6px;
  font-size: 14px;
  opacity: .8;
  transition: color .22s ease, opacity .22s ease;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.clf-card__specs{
  font-size: 14px;
  opacity: .9;
  transition: color .22s ease, opacity .22s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.clf-card__rule{
  height: 1px;
  background: rgba(0,0,0,.18);
  width: 120px;
  transition: background-color .22s ease, width .22s ease;
}

.clf-card__text{
  font-size: 16px;
  line-height: 1.5;
  opacity: .9;
  transition: color .22s ease, opacity .22s ease;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* CTA */
.clf-card__cta{
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
}

.clf-card__ctaText{
  transition: color .22s ease;
}

.clf-card__arrow{
  position: relative;
  display: inline-block;
  width: 22px;
  height: 12px;
  transition: width .22s ease;
}
.clf-card__arrow::before{
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: 2px;
  background: currentColor;
  transform: translateY(-50%);
  transition: transform .22s ease;
}
.clf-card__arrow::after{
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-top: 2px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}

/* Hover */
.clf-card:hover .clf-card__body,
.clf-card:focus-within .clf-card__body{
  background: #1c1c1c;
  color: #fff;
}
.clf-card:hover .clf-card__title,
.clf-card:focus-within .clf-card__title{
  color: rgba(255,255,255,.92);
}
.clf-card:hover .clf-card__subtitle,
.clf-card:hover .clf-card__specs,
.clf-card:hover .clf-card__text,
.clf-card:focus-within .clf-card__subtitle,
.clf-card:focus-within .clf-card__specs,
.clf-card:focus-within .clf-card__text{
  opacity: .92;
}
.clf-card:hover .clf-card__rule,
.clf-card:focus-within .clf-card__rule{
  background: rgba(255,255,255,.25);
  width: 150px;
}
.clf-card:hover .clf-card__ctaText,
.clf-card:focus-within .clf-card__ctaText{
  color: #f2a43a;
}
.clf-card:hover .clf-card__arrow,
.clf-card:focus-within .clf-card__arrow{
  width: 34px;
}
.clf-card:hover .clf-card__arrow::before,
.clf-card:focus-within .clf-card__arrow::before{
  transform: translateY(-50%) translateX(2px);
}
.clf-card:hover,
.clf-card:focus-within{
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0,0,0,.12);
}

/* Slider styling */
.clf__slider{
  margin-top: 10px;
	width: 215px;
  height: 6px;
  border-radius: 999px;
  background: rgba(0,0,0,.12);
  position: relative;
}
.ui-slider-range{
  background: rgba(0,0,0,.35);
  height: 6px;
  border-radius: 999px;
  position: absolute;
}
.ui-slider-handle{
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(0,0,0,.25);
  top: -6px;
  position: absolute;
  cursor: pointer;
}

.clf__moreWrap{
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 50px;
}

.clf__btn--more{
  width: auto;
  min-width: 180px;
--bde-button-custom-border-color: var(--bde-headings-color);
    --bde-button-custom-border-color-hover: var(--bde-headings-color);
    --bde-button-custom-background-color: #FFF0;
    --bde-button-custom-background-color-hover: #FFF0;
    --bde-button-custom-text-color: #242321 var(--bde-headings-color);
    --bde-button-custom-text-color-hover: var(--bde-headings-color);
    border-radius: 0px;
    border-width: 1px;
    color: var(--bde-headings-color);
    font-family: "Lexend", sans-serif;
    font-size: 18px;
    padding-top: 18px;
    padding-right: 40px;
    padding-bottom: 18px;
    padding-left: 40px;
}

/* Tablet */
@media (max-width: 900px){
  .clf-card__body{
    min-height: 210px;
    padding: 16px;
    gap: 8px;
  }

  .clf-card__title{
    font-size: 0.95rem !important;
  }

  .clf-card__subtitle,
  .clf-card__specs{
    font-size: 13px;
  }

  .clf-card__text{
    font-size: 15px;
    line-height: 1.4;
    -webkit-line-clamp: 2;
  }
}

/* Mobil */
@media (max-width: 600px){
  .clf-card__body{
    min-height: auto;
    padding: 14px;
    gap: 8px;
  }

  .clf-card__title{
    font-size: 0.95rem !important;
    -webkit-line-clamp: 3;
  }

  .clf-card__subtitle{
    font-size: 13px;
    -webkit-line-clamp: 3;
  }

  .clf-card__specs{
    font-size: 13px;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
  }

  .clf-card__text{
    font-size: 14px;
    line-height: 1.4;
    -webkit-line-clamp: 2;
  }

  .clf-card__rule{
    width: 90px;
  }

  .clf-card__cta{
    font-size: 13px;
  }
}