/* Services carousel and cards. */

.bk-services-section,
.bk-services-slider{
  position:relative;
  width:100%;
  max-width:100%;
}

.bk-services-viewport{
  width:100%!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  -webkit-overflow-scrolling:touch!important;
  scroll-behavior:smooth!important;
  scroll-snap-type:x mandatory!important;
  overscroll-behavior-x:contain!important;
  scrollbar-width:none!important;
}

.bk-services-viewport::-webkit-scrollbar{
  display:none!important;
}

.bk-services-track{
  display:flex!important;
  align-items:stretch!important;
  flex-wrap:nowrap!important;
  gap:24px!important;
  transform:none!important;
  will-change:auto!important;
}

.bk-service-slide{
  display:flex!important;
  flex:0 0 calc((100% - 48px) / 3)!important;
  width:calc((100% - 48px) / 3)!important;
  min-width:0!important;
  max-width:calc((100% - 48px) / 3)!important;
  height:auto!important;
  scroll-snap-align:start!important;
}

.bk-service-card{
  display:flex!important;
  flex-direction:column!important;
  width:100%!important;
  height:100%!important;
  color:inherit;
  text-decoration:none!important;
}

.bk-service-thumb{
  display:block!important;
  flex-shrink:0!important;
  width:100%;
  height:175px;
  overflow:hidden;
  border-radius:var(--bk-radius-sm);
  background:#f1f1f1;
}

.bk-service-thumb img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  transition:.35s;
}

.bk-service-card:hover .bk-service-thumb img{
  transform:scale(1.04);
}

.bk-service-body{
  display:flex!important;
  flex:1 1 auto!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  height:100%!important;
  padding-top:18px;
}

.bk-service-title{
  width:100%!important;
  margin:0 0 10px;
  color:#222;
  font-size:20px;
  line-height:1.35;
  font-weight:700;
  text-transform:none;
}

.bk-service-title-link{
  color:inherit!important;
  text-decoration:none!important;
}

.bk-service-title-link:hover{
  color:var(--bk-red)!important;
}

.bk-service-excerpt{
  display:block!important;
  width:100%!important;
  flex:1 1 auto!important;
  margin-bottom:14px!important;
  color:#000;
  font-size:15px;
  line-height:1.7;
}

.bk-service-btn{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  align-self:flex-start!important;
  width:auto!important;
  margin-top:auto!important;
  padding:10px 18px!important;
  background:var(--primary-color,var(--bk-red))!important;
  color:var(--bk-white)!important;
  border:0!important;
  border-radius:999px!important;
  font-size:13px!important;
  line-height:1.2!important;
  font-weight:800!important;
  text-transform:uppercase!important;
  letter-spacing:0!important;
  text-decoration:none!important;
  white-space:nowrap!important;
  transition:.25s!important;
}

.bk-service-card:hover .bk-service-btn{
  transform:translateY(-2px)!important;
  filter:brightness(.95)!important;
}

.bk-services-arrow{
  position:absolute;
  top:88px;
  z-index:5;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:42px;
  height:42px;
  margin:0;
  padding:0;
  border:0;
  border-radius:999px;
  background:var(--bk-white);
  color:#111;
  font-size:34px;
  line-height:1;
  box-shadow:0 8px 24px rgba(0,0,0,.18);
  cursor:pointer;
  transition:.25s;
}

.bk-services-arrow:hover{
  box-shadow:0 10px 28px rgba(0,0,0,.24);
}

.bk-services-arrow.is-prev{left:-21px}
.bk-services-arrow.is-next{right:-21px}

.bk-services-arrow.is-disabled,
.bk-services-arrow:disabled{
  opacity:.35;
  cursor:not-allowed;
}

.bk-services-section.is-single-page .bk-services-arrow{
  display:none;
}

.bk-services-dots{
  display:none;
}

.bk-services-dot{
  width:8px;
  height:8px;
  margin:0 4px;
  padding:0;
  border:0;
  border-radius:999px;
  background:#cfd6dc;
  cursor:pointer;
  transition:all .25s ease;
}

.bk-services-dot.is-active{
  width:24px;
  background:var(--bk-red,#e60000);
}

@media (max-width:1199px){
  .bk-services-track{
    gap:22px!important;
  }

  .bk-service-thumb{
    height:180px;
  }
}

@media (max-width:849px){
  .bk-services-track{
    gap:18px!important;
  }

  .bk-service-slide{
    flex-basis:calc((100% - 18px) / 2)!important;
    width:calc((100% - 18px) / 2)!important;
    max-width:calc((100% - 18px) / 2)!important;
  }

  .bk-services-arrow{
    top:90px;
    width:38px!important;
    height:38px!important;
    min-width:38px!important;
    font-size:30px!important;
  }

  .bk-services-arrow.is-prev{
    left:-10px!important;
  }

  .bk-services-arrow.is-next{
    right:-10px!important;
  }

  .bk-service-thumb{
    height:180px;
  }

  .bk-service-title{
    min-height:44px!important;
    font-size:18px;
  }

  .bk-service-excerpt{
    min-height:72px!important;
    font-size:14px;
  }
}

@media (max-width:549px){
  .bk-service-slide{
    flex-basis:82%!important;
    width:82%!important;
    max-width:82%!important;
  }

  .bk-service-thumb{
    height:165px;
  }

  .bk-service-body{
    padding-top:14px;
  }

  .bk-service-title{
    min-height:40px!important;
    margin-bottom:8px;
    font-size:17px;
  }

  .bk-service-excerpt{
    min-height:64px!important;
    margin-bottom:12px!important;
    font-size:14px;
    line-height:1.6;
  }

  .bk-service-btn{
    padding:8px 12px!important;
    font-size:11px!important;
  }
}
