

/* Start:/local/templates/prom_s1/components/bitrix/system.pagenavigation/.default/style.css?17647787512556*/
.ns-bitrix.c-system-pagenavigation.c-system-pagenavigation-default {
  display: block;
  margin: 10px 0;
}
.ns-bitrix.c-system-pagenavigation.c-system-pagenavigation-default .system-pagenavigation-items {
  display: block;
  position: relative;
  text-align: center;
  overflow: hidden;
  font-size: 0;
}
.ns-bitrix.c-system-pagenavigation.c-system-pagenavigation-default .system-pagenavigation-items-wrapper {
  display: inline-block;
  vertical-align: top;
  margin: -4px;
}
.ns-bitrix.c-system-pagenavigation.c-system-pagenavigation-default .system-pagenavigation-item {
  display: inline-block;
  vertical-align: middle;
  padding: 4px;
}
.ns-bitrix.c-system-pagenavigation.c-system-pagenavigation-default .system-pagenavigation-item.system-pagenavigation-item-active .system-pagenavigation-item-wrapper {
  background-color: #0065ff;
  border-color: #0065ff;
  color: #fff;
}
.ns-bitrix.c-system-pagenavigation.c-system-pagenavigation-default .system-pagenavigation-item.system-pagenavigation-item-disabled .system-pagenavigation-item-wrapper {
  display: none;
}
.ns-bitrix.c-system-pagenavigation.c-system-pagenavigation-default .system-pagenavigation-item.system-pagenavigation-item-all .system-pagenavigation-item-wrapper {
  width: auto;
  text-align: left;
}
.ns-bitrix.c-system-pagenavigation.c-system-pagenavigation-default .system-pagenavigation-item-wrapper {
  display: block;
  background-color: transparent;
  font-size: 14px;
  font-style: normal;
  font-weight: bold;
  line-height: 1.42857143;
  text-align: center;
  padding: 6px;
  border-radius: 4px;
  width: 32px;
  height: 32px;
  overflow: hidden;
  text-decoration: none;
  cursor: pointer;
  color: #2d2d2d;
  -webkit-transition-duration: 350ms;
  -moz-transition-duration: 350ms;
  -ms-transition-duration: 350ms;
  -o-transition-duration: 350ms;
  transition-duration: 350ms;
  -webkit-transition-property: color, background-color, border-color;
  -moz-transition-property: color, background-color, border-color;
  -ms-transition-property: color, background-color, border-color;
  -o-transition-property: color, background-color, border-color;
  transition-property: color, background-color, border-color;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.ns-bitrix.c-system-pagenavigation.c-system-pagenavigation-default .system-pagenavigation-item-wrapper:hover {
  background-color: #f7f7f7;
  border-color: #f7f7f7;
}

/*# sourceMappingURL=style.css.map */

/* End */


/* Start:/local/templates/prom_s1/components/bitrix/news.list/photo.list/style.css?17943194966810*/

/* ========================================
   ФОТОГАЛЕРЕЯ
======================================== */

.photo-gallery {
    width: 100%;
}

/* Сетка фотографий */
.photo-gallery__items {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

/* Элемент галереи */
.photo-gallery__item {
    min-width: 0;
    overflow: hidden;
    border-radius: 5px;
}

/* Кнопка открытия фотографии */
.photo-gallery__trigger {
    display: block;
    width: 100%;
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
    overflow: hidden;
}

/* Превью */
.photo-gallery__trigger img {
    display: block;
    width: 100%;
    height: 260px;
    object-fit: cover;
    object-position: center;
    transition: transform .3s ease;
}

.photo-gallery__trigger:hover img {
    transform: scale(1.04);
}


/* ========================================
   МОДАЛЬНОЕ ОКНО
======================================== */

.photo-gallery__modal {
    position: fixed;
    inset: 0;
    z-index: 10000;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100%;
    padding: 60px 80px;

    background: rgba(0, 0, 0, .94);
    box-sizing: border-box;
}

.photo-gallery__modal[hidden] {
    display: none;
}

/* Контейнер модального окна */
.photo-gallery__modal-content {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100%;
    max-width: 1600px;
    min-width: 0;

    margin: 0 auto;
}


/* ========================================
   SLICK SLIDER
======================================== */

.photo-gallery__slider {
    width: 100%;
    height: 100%;
    min-width: 0;
}

/* Область слайдера */
.photo-gallery__slider .slick-list,
.photo-gallery__slider .slick-track {
    height: 100%;
}

.photo-gallery__slider .slick-slide {
    height: 100%;
}

/* Внутренняя обёртка Slick */
.photo-gallery__slider .slick-slide > div {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100%;
}

/* Отдельный слайд */
.photo-gallery__slide {
    display: flex !important;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100%;
    padding: 0;

    box-sizing: border-box;
}

/* Фотография в слайдере */
.photo-gallery__slide img {
    display: block;

    width: auto;
    height: auto;

    max-width: 100%;
    max-height: 100%;

    object-fit: contain;
    object-position: center;

    margin: 0 auto;
}


/* ========================================
   КНОПКИ УПРАВЛЕНИЯ
======================================== */

/* Общие стили */
.photo-gallery__prev,
.photo-gallery__next,
.photo-gallery__close {
    position: absolute;
    z-index: 5;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;
    border: none;
    border-radius: 2px;

    background-color: #ffffffad;
    cursor: pointer;

    transition: background-color .2s ease;
}

/* Наведение */
.photo-gallery__prev:hover,
.photo-gallery__next:hover,
.photo-gallery__close:hover {
    background-color: #ffbf00;
}


/* Стрелки */
.photo-gallery__prev,
.photo-gallery__next {
    top: 50%;
    width: 40px;
    height: 40px;

    transform: translateY(-50%);
}


.photo-gallery__prev {
    left: 0;
}


.photo-gallery__next {
    right: 0;
}

/* SVG стрелок */
.photo-gallery__prev svg,
.photo-gallery__next svg {
    display: block;
    width: 30px;
    height: 30px;
    flex-shrink: 0;

    transform: rotate(180deg);
}


.photo-gallery__prev svg {
    transform: rotate(180deg);
}

.photo-gallery__next svg {
    transform: none;
}

/* Цвет стрелок */
.photo-gallery__prev svg path,
.photo-gallery__next svg path {
    stroke: #808080;
    stroke-width: 1.8;
    transition: stroke .2s ease;
}

/* Стрелки при наведении */
.photo-gallery__prev:hover svg path,
.photo-gallery__next:hover svg path {
    stroke: #fff;
}



/* ========================================
   КНОПКА ЗАКРЫТИЯ
======================================== */

.photo-gallery__close {
    top: 20px;
    right: 20px;

    width: 30px;
    height: 30px;
}


/* Крестик */
.photo-gallery__close::before,
.photo-gallery__close::after {
    content: '';

    position: absolute;

    width: 16px;
    height: 2px;

    background-color: #808080;
    transition: background-color .2s ease;
}

.photo-gallery__close::before {
    transform: rotate(45deg);
}

.photo-gallery__close::after {
    transform: rotate(-45deg);
}


/* Крестик при наведении */
.photo-gallery__close:hover::before,
.photo-gallery__close:hover::after {
    background-color: #fff;
}





/* ========================================
   АДАПТИВНОСТЬ
======================================== */

/* Планшеты */
@media (max-width: 1024px) {

    .photo-gallery__items {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .photo-gallery__modal {
        padding: 60px 65px;
    }
    .photo-gallery__prev,
    .photo-gallery__next {
        width: 40px;
        height: 40px;
    }

}

/* Мобильные устройства */
@media (max-width: 600px) {

    /* Обычная галерея */
    .photo-gallery__items {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .photo-gallery__trigger img {
        height: 240px;
    }

    /* Модальное окно */
    .photo-gallery__modal {
        padding: 60px 45px 30px;
    }

    .photo-gallery__modal-content {
        width: 100%;
        height: 100%;
    }

    /* Фотографии */
    .photo-gallery__slide img {
        max-width: 100%;
        max-height: 100%;
    }

    /* Стрелки */
    .photo-gallery__prev,
    .photo-gallery__next {
        width: 32px;
        height: 32px;
    }

    .photo-gallery__prev {
        left: -38px;
    }

    .photo-gallery__next {
        right: -38px;
    }

    /* SVG */
    .photo-gallery__prev svg,
    .photo-gallery__next svg {
        width: 20px;
        height: 20px;
    }

    /* Закрытие */
    .photo-gallery__close {
        top: 12px;
        right: 12px;
    }

}

/* End */
/* /local/templates/prom_s1/components/bitrix/system.pagenavigation/.default/style.css?17647787512556 */
/* /local/templates/prom_s1/components/bitrix/news.list/photo.list/style.css?17943194966810 */
