.widget-list-item.gallery-hero-widget {
  padding: 0 !important;
  margin-bottom: 0;
}
.widget-list-item.gallery-hero-widget:after {
  display: none;
}
.gallery-hero {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100vh;
  height: 100svh;
  min-height: 480px;
  background: #1d2b33;
  color: #fff;
}
.gallery-hero .gallery-hero__slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
}
.gallery-hero .swiper-wrapper {
  height: 100%;
}
.gallery-hero .gallery-hero__slide {
  position: relative;
  height: 100%;
  overflow: hidden;
  background: #1d2b33;
}
.gallery-hero .gallery-hero__slide:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.32) 0%, rgba(0, 0, 0, 0.1) 35%, rgba(0, 0, 0, 0.1) 60%, rgba(0, 0, 0, 0.34) 100%);
}
.gallery-hero picture {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.gallery-hero .gallery-hero__media {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  margin: 0;
  object-fit: cover;
  background: transparent;
}
.gallery-hero .yt-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.gallery-hero .yt-video iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  max-width: none;
  transform: translate(-50%, -50%);
}
.gallery-hero .gallery-hero__logo {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  width: 100%;
  max-width: 420px;
  padding: 0 24px;
  box-sizing: border-box;
  transform: translate(-50%, -50%);
  text-align: center;
  pointer-events: none;
}
.gallery-hero .gallery-hero__logo img {
  display: inline-block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 200px;
}
.gallery-hero .gallery-hero__author {
  position: absolute;
  left: 40px;
  bottom: 96px;
  z-index: 2;
  max-width: calc(50% - 120px);
  margin: 0;
  padding: 0;
  font-size: 13px;
  line-height: 18px;
  font-weight: normal;
  color: rgba(255, 255, 255, 0.88);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}
.gallery-hero .gallery-hero__pagination.swiper-pagination {
  position: absolute;
  top: auto;
  left: 0;
  right: 0;
  bottom: 96px;
  z-index: 3;
  width: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  line-height: 0;
  transform: none;
}
.gallery-hero .gallery-hero__pagination.swiper-pagination .swiper-pagination-bullet {
  flex: none;
  box-sizing: border-box;
  margin: 0;
  opacity: 1;
  border: 2px solid #fff;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  transition: width 0.3s ease, background-color 0.3s ease;
}
.gallery-hero .gallery-hero__pagination.swiper-pagination .swiper-pagination-bullet-active {
  background: #fff;
}
@media screen and (max-width: 767px) {
  .gallery-hero {
    min-height: 420px;
  }
  .gallery-hero .gallery-hero__logo {
    max-width: 280px;
  }
  .gallery-hero .gallery-hero__logo img {
    max-height: 140px;
  }
  .gallery-hero .gallery-hero__author {
    left: 20px;
    right: 20px;
    bottom: 104px;
    max-width: none;
  }
  .gallery-hero .gallery-hero__pagination.swiper-pagination {
    bottom: 64px;
  }
}
.gallery-hero .gallery-hero__pagination.swiper-pagination {
  bottom: 100px;
}
.gallery-hero .gallery-hero__pagination.swiper-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  border-width: 1.5px;
}
.gallery-hero .gallery-hero__pagination.swiper-pagination .swiper-pagination-bullet-active {
  width: 28px;
}
.gallery-hero .gallery-hero__wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: 2;
  height: 84px;
  line-height: 0;
  pointer-events: none;
}
.gallery-hero .gallery-hero__wave svg {
  display: block;
  width: 100%;
  height: 100%;
}
.gallery-hero .gallery-hero__wave-band {
  fill: #B3DEEA;
}
.gallery-hero .gallery-hero__wave-fill {
  fill: #fff;
}
@media screen and (max-width: 767px) {
  .gallery-hero .gallery-hero__pagination.swiper-pagination {
    bottom: 68px;
  }
  .gallery-hero .gallery-hero__wave {
    height: 56px;
  }
}
