.actual-gallery .photo-slot::before {
  display: none;
}

.actual-gallery .photo-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.actual-gallery .photo-slot:hover img {
  transform: scale(1.02);
}

.actual-gallery .photo-slot {
  cursor: zoom-in;
}

.actual-gallery .photo-slot:first-child img {
  object-position: center 67%;
}

.actual-gallery.gallery-four {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(2, minmax(260px, 1fr));
}

.actual-gallery.gallery-four .photo-slot:first-child {
  grid-row: auto;
}

.actual-gallery.gallery-four .photo-slot:first-child img {
  object-position: center;
}

@media (max-width: 480px) {
  .actual-gallery.gallery-four {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }
}

.actual-gallery.gallery-six {
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, minmax(250px, 1fr));
}

.actual-gallery.gallery-six .photo-slot:first-child {
  grid-row: auto;
}

.actual-gallery.gallery-six .photo-slot img {
  object-position: center;
}

@media (max-width: 760px) {
  .actual-gallery.gallery-six {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: none;
  }
}

@media (max-width: 480px) {
  .actual-gallery.gallery-six {
    grid-template-columns: 1fr;
  }
}

.actual-gallery.single-gallery {
  display: block;
  min-height: 0;
}

.actual-gallery.single-gallery .photo-slot {
  min-height: 680px;
}

.actual-gallery.single-gallery .photo-slot img {
  object-position: center 62%;
}

@media (max-width: 760px) {
  .actual-gallery.single-gallery .photo-slot {
    min-height: 480px;
  }
}

.vehicle-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  background: rgba(8, 8, 8, .94);
  padding: 72px 80px 54px;
}

.vehicle-lightbox.is-open { display: grid; }

.vehicle-lightbox__figure {
  margin: 0;
  max-width: min(1120px, 90vw);
  max-height: calc(100vh - 126px);
  display: grid;
  gap: 10px;
  justify-items: center;
}

.vehicle-lightbox__image {
  max-width: 100%;
  max-height: calc(100vh - 160px);
  width: auto;
  height: auto;
  object-fit: contain;
}

.vehicle-lightbox__caption {
  color: #fff;
  font-size: 10px;
  letter-spacing: .08em;
  text-align: center;
}

.vehicle-lightbox__close,
.vehicle-lightbox__prev,
.vehicle-lightbox__next {
  position: absolute;
  border: 0;
  color: #fff;
  background: rgba(255, 255, 255, .12);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background .2s ease;
}

.vehicle-lightbox__close:hover,
.vehicle-lightbox__prev:hover,
.vehicle-lightbox__next:hover { background: var(--red); }

.vehicle-lightbox__close {
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  font-size: 28px;
}

.vehicle-lightbox__prev,
.vehicle-lightbox__next {
  top: 50%;
  width: 48px;
  height: 58px;
  transform: translateY(-50%);
  font-size: 30px;
}

.vehicle-lightbox__prev { left: 18px; }
.vehicle-lightbox__next { right: 18px; }
.vehicle-lightbox[data-count="1"] .vehicle-lightbox__prev,
.vehicle-lightbox[data-count="1"] .vehicle-lightbox__next { display: none; }
body.lightbox-open { overflow: hidden; }

@media (max-width: 600px) {
  .vehicle-lightbox { padding: 68px 18px 70px; }
  .vehicle-lightbox__figure { max-width: 100%; }
  .vehicle-lightbox__prev,
  .vehicle-lightbox__next {
    top: auto;
    bottom: 12px;
    transform: none;
  }
}
