:root{
  --main-color: #125542;
  --sec-color: #800909;
}

/* layout */
.bth-post-carousel__wrap { position: relative; }
.bth-post-carousel__track { /* slick target */ }

/* Ruimte tussen slides */
.bth-post-carousel__wrap .slick-slide {
  padding: 0 12px; /* 12px links en rechts */
  box-sizing: border-box;
}
@media (max-width:768px){
  .bth-post-carousel__wrap .slick-slide {
    padding: 0 30px; 
  }
}

/* Compenseer padding door de track iets te verschuiven */
.bth-post-carousel__wrap .slick-list {
  margin: 0 -12px;
}

/* card */
.bth-post-card {
  position: relative;
  background:transparent;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.bth-post-card__media img{
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.bth-post-card__cat {
  display: inline-block;
  font-size: 12px;
  letter-spacing: .15em;
  font-weight: 700;
  color: #8a7;
  text-transform: uppercase;
  background-color: #fff;
  padding: 11px 30px 11px 30px;
  margin: -40px 0 0 0;
  position: absolute;
  z-index: 10;
}

.card-inner{
  background-color: #fff;
  padding: 20px 30px;
}
.bth-post-card__title   { font-size: 18px; line-height: 1.3; margin:0; padding-bottom: 10px;}
.bth-post-card__title a { text-decoration: none; color: var(--main-color);}
.bth-post-card__excerpt { font-size: 16px; color: var(--main-color); }
.bth-post-card__more    { font-weight: 500; padding-top: 20px;}
.bth-post-card__more a  { font-size: 16px; text-decoration: none; color:var(--sec-color); }


/* editor preview grid (geen slick) */
.bth-post-carousel__grid-preview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 24px;
}
@media (max-width: 1024px) {
  .bth-post-carousel__grid-preview { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 640px) {
  .bth-post-carousel__grid-preview { grid-template-columns: 1fr; }
}

/* Custom arrows for post carousel */
.bth-post-carousel__wrap .slick-prev,
.bth-post-carousel__wrap .slick-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  background: #6E2C50;
  color: #fff;
  border: 0;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0.5;
}
.bth-post-carousel__wrap .slick-prev:hover,
.bth-post-carousel__wrap .slick-next:hover {
  opacity: 1;
}


.bth-post-carousel__wrap .slick-prev { left: -50px; }
.bth-post-carousel__wrap .slick-next { right: -50px; }

@media (max-width:768px){
  .bth-post-carousel__wrap .slick-prev { left: 0px; }
  .bth-post-carousel__wrap .slick-next { right: 0px; }
}

.bth-post-carousel__wrap .slick-prev span,
.bth-post-carousel__wrap .slick-next span {
  font-size: 24px;
  line-height: 1;
}


/* dots */
.bth-post-carousel__wrap ul.slick-dots{
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.bth-post-carousel__wrap .slick-dots li button {
  font-size: 0;
  line-height: 0;
  border: 0;
  background-color: #fff;
  padding: 1px 15px;
}

.bth-post-carousel__wrap .slick-dots li.slick-active button{
  background-color: var(--main-color);
}

.bth-post-carousel__wrap .slick-dots li button:before {
  font-family: initial; /* reset font */
  content: ''; /* geen tekst */
}