.ZC_OurPremises {
  width: 100%;
  color: #fff;
}

.ZC_OurPremises__top {
  display: grid;
  grid-template-columns: minmax(280px, 32%) 1fr;
  background: #000;
  overflow: hidden;
}

.ZC_OurPremises__info {
  background: #191919;
  padding: 40px 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ZC_OurPremises__infoTitle {
    margin: 0;
}

.ZC_OurPremises__infoItem + .ZC_OurPremises__infoItem {
  margin-top: 28px;
  padding-top: 28px;
  position: relative;
}

.ZC_OurPremises__infoItem + .ZC_OurPremises__infoItem::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 28px;
  height: 1px;
  background: rgba(255,255,255,0.9);
}


.ZC_OurPremises__sliderWrap {
  position: relative;
  overflow: hidden;
  min-width: 0;
}

.ZC_OurPremises__sliderWrap::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    to right,
    rgba(17, 17, 17, 0.75) 0%,
    rgba(17, 17, 17, 0.52) 28%,
    rgba(17, 17, 17, 0.35) 60%,
    rgba(17, 17, 17, 0) 100%
  );
}

.ZC_OurPremises__slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.ZC_OurPremises__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  height: 100%;
}

.ZC_OurPremises__slide.is-active {
  opacity: 1;
  visibility: visible;
  position: relative;
}

.ZC_OurPremises__img {
  display: block;
  width: 100%;
  height: 100% !important;
  object-fit: cover;
}

.ZC_OurPremises__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  font-size: 44px;
  transition: opacity 0.25s ease;
}

.ZC_OurPremises__arrow:hover {
  opacity: 0.75;
}

.ZC_OurPremises__arrow--prev:hover,
.ZC_OurPremises__arrow--prev:focus,
.ZC_OurPremises__arrow--next:hover,
.ZC_OurPremises__arrow--next:focus {
    background-color: transparent;
    outline: none;
    border: 0;
}

.ZC_OurPremises__arrow--prev {
  left: 10px;
}

.ZC_OurPremises__arrow--next {
  right: 10px;
}

.ZC_OurPremises__thumbsWrap {
  margin-top: 18px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.ZC_OurPremises__thumbsWrap::-webkit-scrollbar {
  display: none;
}

.ZC_OurPremises__thumbsTrack {
  display: flex;
  gap: 18px;
  width: max-content;
}

.ZC_OurPremises__thumb {
  display: block;
  width: 220px;
  min-width: 220px;
  flex: 0 0 220px;
  border: 2px solid transparent;
  border-radius: 0 !important;
  background: #000;
  padding: 0;
  overflow: hidden;
  opacity: 0.55;
  cursor: pointer;
  transition: border-color 0.25s ease, opacity 0.25s ease;
}

.ZC_OurPremises__thumb:hover {
    background: #000;
}

.ZC_OurPremises__thumb.is-active {
  border-color: #d4c19c;
  opacity: 1;
}

.ZC_OurPremises__thumbImg {
  display: block;
  width: 100%;
  height: 140px;
  object-fit: cover;
}

@media (max-width: 1024px) {
  .ZC_OurPremises__top {
    grid-template-columns: 1fr;
  }

  .ZC_OurPremises__sliderWrap {
    order: 1;
  }
  
  .ZC_OurPremises__info {
    order: 2;
    text-align: center;
  }

  .ZC_OurPremises__infoItem + .ZC_OurPremises__infoItem::before {
    left: 50%;
    transform: translateX(-50%);
  }

  .ZC_OurPremises__sliderWrap::before, .ZC_OurPremises__thumbsWrap {
    display: none;
  }
}
