.balcony-widget-popular__wrapper {
  display: grid;
  align-items: stretch;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 70px;
}
.balcony-widget-popular__title {
  font-weight: 700;
  font-size: 18px;
  line-height: 150%;
}
.balcony-widget-popular__subtitle {
  font-weight: 500;
  font-size: 20px;
  line-height: 140%;
}
.balcony-widget-popular__title-block {
  display: flex;
  gap: 30px;
  align-items: center;
}
.balcony-widget-popular__description {
  font-weight: 500;
  font-size: 14px;
  line-height: 160%;
}
.balcony-widget-popular__icon {
  width: 70px;
  height: 70px;
  border-radius: 50px;
  background: linear-gradient(90deg, #ef4343 -0.19%, #ff6262 99.95%);
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-weight: 700;
  font-size: 24px;
  line-height: 150%;
}

.gallery-type-1__wrapper {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}
.gallery-type-1__item {
  cursor: pointer;
  position: relative;
  min-height: 204px;
  background: #ccc;
  overflow: hidden;
  border-radius: 8px;
}
.gallery-type-1__item:nth-child(1) {
  grid-row: span 2/span 2;
}
.gallery-type-1__item:hover .gallery-type-1__img::before {
  content: " ";
  background: linear-gradient(180deg, rgba(58, 173, 129, 0) 0%, #3aad81 100%);
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.gallery-type-1__item:hover .gallery-type-1__title {
  display: block;
}
.gallery-type-1__title {
  width: 208px;
  font-weight: 600;
  font-size: 16px;
  line-height: 150%;
  color: #fff;
  position: absolute;
  z-index: 2;
  left: 30px;
  bottom: 30px;
  display: none;
}
.gallery-type-1__img {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.balcony-widget-popular-gallery__swiper-button-block {
  width: 70px;
  position: relative;
}

#gallerySlider .swiper-button-next {
  right: 0;
}
#gallerySlider .swiper-button-prev {
  left: -70px;
}
@media (max-width: 1200px) {
  .balcony-widget-popular__wrapper {
    gap: 60px;
  }
}
@media (max-width: 1024px) {
  .balcony-widget-popular__wrapper {
    gap: 32px;
  }
}
@media (max-width: 768px) {
  .balcony-widget-popular__wrapper {
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 30px;
  }
  .balcony-widget-popular__title {
    font-size: 1rem;
    max-width: 180px;
  }
  .balcony-widget-popular__title-block {
    gap: 16px;
  }
  .balcony-widget-popular__description {
    font-size: 0.75rem;
  }
  .balcony-widget-popular__icon {
    font-size: 1.125rem;
    width: 50px;
    height: 50px;
  }
}
@media (max-width: 576px) {
  .balcony-widget-popular__wrapper {
    margin-top: 32px !important;
    grid-template-columns: 1fr;
  }
  .balcony-widget-popular__title {
    max-width: none;
  }
  .balcony-widget-popular__subtitle {
    font-size: 0.875rem;
  }
}
