/* PB Banner Slider Block */

section.pb-banner-slider {
  position: relative;
  width: 100%;
}

section.pb-banner-slider div.pb-banner-slider-track {
  background: #0d1520;
  height: clamp(250px, 31.25vw, 500px);
  overflow: hidden;
  position: relative;
  width: 100%;
  z-index: 1;
}

section.pb-banner-slider div.pb-banner-slider-track div.pb-banner-slider-slide {
  bottom: 0;
  left: 0;
  opacity: 0;
  position: absolute;
  right: 0;
  top: 0;
  transition: opacity 0.55s ease;
}

section.pb-banner-slider div.pb-banner-slider-track div.pb-banner-slider-slide.is-active {
  opacity: 1;
}

section.pb-banner-slider div.pb-banner-slider-track div.pb-banner-slider-slide img.pb-banner-slider-bg {
  bottom: 0;
  display: block;
  filter: blur(18px) brightness(0.6);
  height: 100%;
  left: 0;
  object-fit: cover;
  position: absolute;
  right: 0;
  top: 0;
  transform: scale(1.1);
  width: 100%;
}


section.pb-banner-slider div.pb-banner-slider-track div.pb-banner-slider-slide img.pb-banner-slider-img {
  bottom: 0;
  display: block;
  height: 100%;
  left: 0;
  object-fit: contain;
  position: absolute;
  right: 0;
  top: 0;
  width: 100%;
}

section.pb-banner-slider div.pb-banner-slider-track div.pb-banner-slider-slide div.pb-banner-slider-caption {
  background: rgba(0, 0, 0, 0.45);
  bottom: 0;
  color: #fff;
  font-size: var(--typography-size-h4);
  font-family: var(--font-head);
  left: 0;
  padding: 10px 16px;
  position: absolute;
  right: 0;
  text-align: center;
  min-height: 80px;
}

/* Prev / Next arrows */

section.pb-banner-slider button.pb-banner-slider-prev,
section.pb-banner-slider button.pb-banner-slider-next {
  align-items: center;
  background: rgba(0, 0, 0, 0.35);
  border: none;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  display: flex;
  height: 44px;
  justify-content: center;
  margin-top: -22px;
  padding: 0;
  position: absolute;
  top: 50%;
  transition: background 0.2s ease;
  width: 44px;
  z-index: 10;
}

section.pb-banner-slider button.pb-banner-slider-prev {
  left: 16px;
}

section.pb-banner-slider button.pb-banner-slider-next {
  right: 16px;
}

section.pb-banner-slider button.pb-banner-slider-prev:hover,
section.pb-banner-slider button.pb-banner-slider-next:hover {
  background: rgba(0, 0, 0, 0.65);
}

/* Dot navigation */

section.pb-banner-slider div.pb-banner-slider-dots {
  bottom: 10px;
  display: flex;
  gap: 0;
  justify-content: center;
  left: 0;
  position: absolute;
  right: 0;
  z-index: 10;
}

section.pb-banner-slider div.pb-banner-slider-dots button.pb-banner-slider-dot {
  background: transparent;
  border: none;
  cursor: pointer;
  height: 22px;
  padding: 0;
  position: relative;
  width: 44px;
}

section.pb-banner-slider div.pb-banner-slider-dots button.pb-banner-slider-dot::before {
  background: rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  content: '';
  height: 8px;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  transition: background 0.2s ease, transform 0.2s ease;
  width: 8px;
}

section.pb-banner-slider div.pb-banner-slider-dots button.pb-banner-slider-dot.is-active::before {
  background: #fff;
  transform: translate(-50%, -50%) scale(1.35);
}

section.pb-banner-slider div.pb-banner-slider-dots button.pb-banner-slider-dot:hover::before {
  background: rgba(255, 255, 255, 0.8);
}

@media (max-width: 767px) {
  section.pb-banner-slider div.pb-banner-slider-track {
    height: clamp(160px, 42vw, 400px);
  }

  section.pb-banner-slider button.pb-banner-slider-prev,
  section.pb-banner-slider button.pb-banner-slider-next {
    height: 36px;
    margin-top: -18px;
    width: 36px;
  }
}
