.ova-images-slider.template1 {
  position: relative;
}
.ova-images-slider.template1 .item-images-slider {
  padding: 20px;
}
.ova-images-slider.template1 .item-images-slider:hover img {
  opacity: 1;
}
.ova-images-slider.template1 img {
  margin: 0 auto;
  width: auto;
  opacity: 0.2;
}
.ova-images-slider.template1 .item-images-slider:hover .caption {
  transition: all 0.3s ease;
  bottom: 0;
  visibility: visible;
  opacity: 1;
}
.ova-images-slider.template1 .item-images-slider .caption {
  transition: all 0.3s ease;
  position: absolute;
  bottom: -5px;
  left: 0;
  right: 0;
  width: 100%;
  height: 45px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, #000 100%);
  opacity: 0;
  visibility: hidden;
  z-index: 1;
  font-size: 18px;
  color: #fff;
  font-weight: 500;
  text-align: center;
}
.ova-images-slider.template2 .item-images-slider {
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}
.ova-images-slider.template2 .item-images-slider:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(2, 13, 43, 0.85);
  opacity: 0;
  transition: all 0.3s ease;
  pointer-events: none;
  z-index: 1;
}
.ova-images-slider.template2 .item-images-slider:hover:before {
  opacity: 1;
}
.ova-images-slider.template2 .item-images-slider img {
  width: auto;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
  border-radius: 10px;
}
.ova-images-slider.template2 .item-images-slider .text-wrapper {
  position: absolute;
  bottom: 0;
  left: 50px;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  z-index: 999;
  border-left: 3px solid var(--secondary);
  padding-left: 32px;
}
.ova-images-slider.template2 .item-images-slider .text-wrapper .caption,
.ova-images-slider.template2 .item-images-slider .text-wrapper .title {
  color: white;
  font-style: normal;
  line-height: normal;
}
.ova-images-slider.template2 .item-images-slider .text-wrapper .caption {
  font-size: 16px;
  font-weight: 400;
}
.ova-images-slider.template2 .item-images-slider .text-wrapper .title {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.48px;
  margin-bottom: 10px;
}
.ova-images-slider.template2 .item-images-slider .button {
  position: absolute;
  top: 30px;
  transform: translateY(-200%);
  right: 30px;
  min-width: 60px;
  height: 60px;
  aspect-ratio: 1/1;
  border-radius: 50%;
  background-color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  z-index: 999;
}
.ova-images-slider.template2 .item-images-slider .button i {
  color: #fff;
  leading-trim: both;
  text-edge: cap;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ova-images-slider.template2 .item-images-slider:hover .text-wrapper {
  transform: translateY(-40px);
}
.ova-images-slider.template2 .item-images-slider:hover .button {
  transform: translateY(0);
}
@media (max-width: 1204px) {
  .ova-images-slider.template2 .item-images-slider .text-wrapper {
    left: 20px;
    padding-right: 20px;
  }
  .ova-images-slider.template2 .item-images-slider .button {
    top: 20px;
    right: 20px;
  }
}
.ova-images-slider.owl-carousel .owl-dots {
  text-align: center;
  margin-top: 30px;
}
.ova-images-slider.owl-carousel .owl-dots .owl-dot {
  outline: none;
}
.ova-images-slider.owl-carousel .owl-dots .owl-dot span {
  transition: opacity 0.2s ease;
  display: block;
  width: 6px;
  height: 6px;
  margin: 5px;
  background: var(--primary);
  border-radius: 50%;
  opacity: 0.5;
  -webkit-backface-visibility: visible;
}
.ova-images-slider.owl-carousel .owl-dots .owl-dot.active span {
  width: 12px;
  border-radius: 5px;
  opacity: 1;
}
.ova-images-slider.owl-carousel .owl-nav {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 5px;
  margin-top: 30px;
}
.ova-images-slider.owl-carousel .owl-nav.disabled {
  display: none;
}
.ova-images-slider.owl-carousel .owl-nav:before {
  position: absolute;
  content: "";
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: calc(50% - 70px);
  height: 1px;
  background-color: rgb(208, 215, 222);
}
.ova-images-slider.owl-carousel .owl-nav:after {
  position: absolute;
  content: "";
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: calc(50% - 70px);
  height: 1px;
  background-color: rgb(208, 215, 222);
}
.ova-images-slider.owl-carousel .owl-nav button {
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  width: 28px;
  height: 28px;
  background-color: rgb(22, 32, 61);
}
.ova-images-slider.owl-carousel .owl-nav button i {
  display: inline-flex;
  font-size: 9px;
  color: rgb(118, 120, 124);
}
.ova-images-slider.owl-carousel .owl-nav button:hover {
  background-color: var(--primary);
}
.ova-images-slider.owl-carousel .owl-nav button:hover i {
  color: #fff;
}