.templateBlock {
    padding: 0;
}
.mobLine {
  display: none;
}
@media (max-width: 600px) {
  .results-block__modal-photos {
    --modal-case-gold-pad: 0;
  }
  .results-block__modal-story-title {
    margin: 0 !important;
  }
  .results-block__modal-story-block {
    padding: 10px 0 6px;
  }
  .more .simple-title h2 span:nth-child(3) {
    margin-top: 0 !important;
  }
.footer {
    padding-bottom: 1rem !important;
}
.mobLine {
  display: block;
}
}
/* .peoples__slider .peoples__item-img {
    overflow: hidden;
}

.peoples__slider .peoples__item-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}
.popup,
.popup *,
.people,
.people *,
.people__img,
.people__img *,
.people-popup,
.people-popup *,
.peoplePopup,
.peoplePopup *,
.fancybox-container *,
.fancybox-slide *,
.fancybox-content *,
.basicLightbox,
.basicLightbox * {
    box-sizing: border-box;
}

.popup img,
.people img,
.people-popup img,
.peoplePopup img,
.fancybox-image,
.basicLightbox img {
    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    max-width: 90vw !important;
    max-height: 90vh !important;
    object-fit: contain !important;
}
.popup,
.people-popup,
.peoplePopup,
.fancybox-container,
.basicLightbox {
    z-index: 999999 !important;
    pointer-events: auto !important;
}

.popup *,
.people-popup *,
.peoplePopup *,
.fancybox-container *,
.basicLightbox * {
    pointer-events: auto !important;
}

.peoples_popup .peoples__item-img {
    width: auto !important;
    height: auto !important;
    max-width: 90vw !important;
    max-height: 90vh !important;
    overflow: visible !important;
}

.peoples_popup .peoples__item-img > div {
    width: auto !important;
    height: auto !important;
}

.peoples_popup .peoples__item-img img {

    height: auto !important;
    max-width: 90vw !important;
    max-height: calc(90vh - 3rem - 2rem) !important;
    object-fit: contain !important;
} */

/* .peoples_popup {
    position: fixed !important;
    inset: 0 !important;
    z-index: 999999 !important;
}

.peoples_popup .popup__bg,
.peoples_popup::before {
    position: fixed !important;
    inset: 0 !important;
}

.peoples_popup .peoples__slider {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    margin: 0 !important;
    overflow: hidden !important;
}

.peoples_popup .swiper-container {
    width: 100vw !important;
    height: 100vh !important;
    overflow: hidden !important;
}

.peoples_popup .swiper-wrapper {
    height: 100vh !important;
    align-items: center !important;
}

.peoples_popup .swiper-slide {
    width: 100vw !important;
    height: 100vh !important;
    margin-right: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.peoples_popup .peoples__item {
    width: auto !important;
    max-width: 90vw !important;
    height: auto !important;
    max-height: 90vh !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
}

.peoples_popup .peoples__item-img,
.peoples_popup .peoples__item-img > div,
.peoples_popup .peoples__item-img picture {
    width: auto !important;
    height: auto !important;
    max-width: 90vw !important;
    max-height: 80vh !important;
    overflow: visible !important;
    position: static !important;
}

.peoples_popup .peoples__item-img img {
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-width: 90vw !important;
    max-height: 78vh !important;
    object-fit: contain !important;
    position: static !important;
    transform: none !important;
}

.peoples_popup .peoples__item-name {
    margin: 1.5rem 0 0 !important;
    text-align: center !important;
    color: #fff !important;
}

.peoples_popup .peoples__btn {
    z-index: 1000000 !important;
}

.peoples_popup .peoples__btn_prev {
    left: 4rem !important;
}

.peoples_popup .peoples__btn_next {
    right: 4rem !important;
}

.peoples_popup .popup__close,
.peoples_popup .close,
.peoples_popup__close {
    z-index: 1000001 !important;
}

@media (max-width: 580px) {
    .peoples_popup .swiper-slide {
        width: 100vw !important;
        height: 100vh !important;
    }

    .peoples_popup .peoples__item {
        max-width: 94vw !important;
    }

    .peoples_popup .peoples__item-img,
    .peoples_popup .peoples__item-img > div,
    .peoples_popup .peoples__item-img picture {
        max-width: 94vw !important;
        max-height: 72vh !important;
    }

    .peoples_popup .peoples__item-img img {
        max-width: 94vw !important;
        max-height: 70vh !important;
    }

    .peoples_popup .peoples__btn_prev {
        left: 1.5rem !important;
    }

    .peoples_popup .peoples__btn_next {
        right: 1.5rem !important;
    }
} */
/* PEOPLE POPUP — clean reset */

.peoples_popup {
    position: fixed !important;
    inset: 0 !important;
    z-index: 999999 !important;
    width: 100% !important;
    height: 100vh !important;
    overflow: hidden !important;
}

.peoples_popup .peoples__slider {
    width: 100% !important;
    height: 100% !important;
    overflow: hidden !important;
}

.peoples_popup .swiper-container {
    width: 100% !important;
    height: 100% !important;
    overflow: hidden !important;
}

.peoples_popup .swiper-wrapper {
    height: 100% !important;
}

.peoples_popup .swiper-slide {
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.peoples_popup .peoples__item {
    width: auto !important;
    height: auto !important;
    max-width: 92vw !important;
    max-height: 90vh !important;
    margin: 0 auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
}

.peoples_popup .peoples__item-img {
    width: auto !important;
    height: auto !important;
    max-width: 92vw !important;
    max-height: 82vh !important;
    overflow: visible !important;
}

.peoples_popup .peoples__item-img > div,
.peoples_popup .peoples__item-img picture {
    width: auto !important;
    height: auto !important;
    display: block !important;
}

.peoples_popup .peoples__item-img img {
    display: block !important;
    width: auto !important;
    height: auto !important;
    /* max-width: 92vw !important; */
    max-height: 82vh !important;
    object-fit: contain !important;
}

.peoples_popup .peoples__item-name {
    margin: 1.2rem 0 0 !important;
    text-align: center !important;
    color: #fff !important;
}

.peoples_popup .peoples__btn {
    display: flex !important;
    pointer-events: auto !important;
    z-index: 1000001 !important;
}

.peoples_popup .peoples__btn_prev {
    left: 4rem !important;
}

.peoples_popup .peoples__btn_next {
    right: 4rem !important;
}

.peoples_popup .close,
.peoples_popup .popup__close,
.peoples_popup .peoples_popup__close {
    display: block !important;
    pointer-events: auto !important;
    z-index: 1000002 !important;
}

@media (max-width: 580px) {
    .peoples_popup {
        height: 100dvh !important;
    }

    .peoples_popup .peoples__item {
        max-width: 94vw !important;
        max-height: 86dvh !important;
    }

    .peoples_popup .peoples__item-img,
    .peoples_popup .peoples__item-img img {
        max-width: 94vw !important;
        max-height: 76dvh !important;
    }

    .peoples_popup .peoples__btn_prev {
        left: 1.2rem !important;
    }

    .peoples_popup .peoples__btn_next {
        right: 1.2rem !important;
    }
}

.peoples_popup .swiper-slide {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 100vh !important;
}

.peoples_popup .peoples__item {
    position: static !important;
    top: auto !important;
    transform: none !important;
    margin: 0 !important;
}

.peoples_popup,
.peoples_popup * {
    pointer-events: auto !important;
}

.peoples_popup .popup__close {
    position: fixed !important;
    top: 2.5rem !important;
    right: 2.5rem !important;
    width: 5rem !important;
    height: 5rem !important;
    z-index: 2147483647 !important;
    pointer-events: none !important;
}
@media (min-width: 1330px) and (max-width: 1920px) {
    body {
        overflow-x: hidden;
    }
}


