

/* Start:/local/templates/vodohodcity/components/bitrix/news.detail/services/style.css?17772964307157*/
/* section header */
.header__main {
  background-size: cover;
  flex: none;
  height: 350px;
  padding: 30px 0;
}

/* section title */
.title {
  padding: 120px 0 50px;
}

.title__title {
  margin-left: 150px;
  max-width: 600px;
  line-height: 100%;
}

.title__desc {
  margin-top: 60px;
  padding: 70px 0 100px 150px;
  background: var(--bgDark);
  align-items: start;
  position: relative;
}

.title__text {
  max-width: 600px;
  width: 100%;
  display: grid;
  gap: 20px;
}

.title__img {
  position: absolute;
  right: 0;
  bottom: 0;
}

/* section list */
.list {
  padding: 50px 0 100px;
}

.list__list {
  display: grid;
  gap: 100px;
}

.list__item {
  padding: 0 90px 0 150px;
  display: grid;
  grid-template-columns: 600px auto;
  gap: 12vw;
  justify-content: space-between;
  align-items: center;
}

.list__desc {
  margin-top: 40px;
  display: grid;
  gap: 20px;
}

.list__img {
  position: relative;
}

.list__img-additional {
  position: absolute;
  bottom: -83px;
  left: -72px;
}

/* section desc */
.desc {
  max-width: 1920px;
  margin: 0 auto;
  padding: 50px 0;
}

.desc__content {
  display: grid;
  grid-template-columns: repeat(2, auto);
  justify-content: space-between;
}

.desc__text {
  margin-left: 150px;
  max-width: 580px;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.desc__desc {
  display: grid;
  gap: 20px;
}

.desc__content-swiper {
  width: 900px;
}

.desc__swiper-withoutText {
  width: 100%;
  max-width: max-content;
  height: 331px;
}

.swiper-slide {
  aspect-ratio: 16 / 9;
}

.desc__swiper-slide {
  & > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

.desc__swiper-navigation {
  width: max-content;
  margin: 27px auto 0;
  display: flex;
  gap: 15px;
}

.swiper-next.hidden,
.swiper-prev.hidden {
  display: none;
}

.swiper-wrapper.hiddenBtn {
  justify-content: center;
}

@media screen and (max-width: 1800px) {
  /* section title */
  .title__title {
    margin-left: 70px;
  }

  .title__desc {
    padding: 40px 0 40px 70px;
    display: flex;
    gap: 40px;
    justify-content: space-between;
  }

  .title__text {
    max-width: 500px;
  }

  .title__img {
    width: 50%;
    position: unset;
    margin: auto 0;
  }

  /* section list */
  .list__list {
    gap: 60px;
  }

  .list__item {
    padding: 0;
    gap: 40px;
  }

  .list__img-additional {
    width: 80px;
    left: -70px;
    bottom: -50px;
  }

  /* section desc */
  .desc__content {
    gap: 40px;
  }

  .desc__text {
    width: 100%;
    margin-left: 20vw;
    max-width: 540px;
  }

  .desc__content-swiper {
    width: 700px;
  }
}

@media screen and (max-width: 1600px) {
  /* section desc */
  .desc__text {
    max-width: 460px;
    margin-left: 10vw;
  }

  .desc__content-swiper {
    width: 600px;
  }
}

@media screen and (max-width: 1200px) {
  /* section header */
  .header__main {
    height: 250px;
  }

  /* section title */
  .title__img {
    width: 46%;
  }

  /* section list */
  .list {
    padding: 50px 0;
  }

  .list__list {
    gap: 60px;
  }

  .list__item {
    grid-template-columns: 400px auto;
    gap: 20px;
  }

  .list__desc {
    margin-top: 20px;
    gap: 10px;
    & > p {
      font-size: 14px;
    }
  }

  .list__img-additional {
    width: 90px;
    left: -80px;
    bottom: -40px;
  }

  /* section desc */
  .desc__text {
    gap: 30px;
  }

  .desc__title {
    font-size: 28px;
  }

  .desc__content {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(2, auto);
  }

  .desc__text {
    margin: 0 auto;
    max-width: 720px;
  }

  .desc__content-swiper {
    width: 100vw;
  }
}

@media screen and (max-width: 1100px) {
  /* section title */
  .title__desc {
    gap: 10px;
    padding: 40px;
    flex-direction: column;
  }

  .title__text {
    max-width: 100%;
  }

  .title__img {
    margin-top: 20px;
    width: 100%;
    height: 320px;

    & > img {
      object-fit: cover;
      width: 100%;
      height: 100%;
    }
  }

  /* section list */
  .list__item {
    grid-template-columns: 300px auto;
  }

  .list__img-additional {
    width: 80px;
    left: -40px;
    bottom: -20px;
  }
}

@media screen and (max-width: 800px) {
  /* section title */
  .title {
    padding: 60px 0 20px;
  }

  .title__desc {
    margin-top: 40px;
  }

  .title__img {
    height: 220px;
  }

  .desc__text {
    max-width: 92vw;
  }

  /* section list */
  .list__img-additional {
    width: 70px;
  }

  /* section desc */
  .desc__title {
    font-size: 24px;
  }

  .desc__swiper-navigation {
    margin-top: 16px;
  }
}

@media screen and (max-width: 640px) {
  /* section title */
  .title {
    padding: 30px 0;
  }

  .title__desc {
    margin-top: 20px;
  }

  .title__img {
    height: 160px;
  }

  /* section list */
  .list {
    padding: 30px 0;
  }
  .list__list {
    gap: 40px;
  }

  .list__item {
    grid-template-rows: repeat(2, auto);
    grid-template-columns: 1fr;
  }

  .list__desc {
    margin-top: 10px;
    gap: 8px;
  }

  .list__img-additional {
    display: none;
  }

  /* section desc */
  .desc__text {
    max-width: 86vw;
  }

  .desc__title {
    font-size: 22px;
  }
}

@media screen and (max-width: 480px) {
  /* section title */
  .title__desc {
    margin-top: 30px;
    padding: 20px;
  }

  .title__img {
    height: 120px;
  }

  /* section list */
  .list__img {
    display: block;
    width: 100%;
    height: 200px;
  }

  .list__img-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
}

@media screen and (max-width: 740px) {
  /* section desc */
  .desc__swiper-withoutText {
    height: 350px;
  }
}

@media screen and (max-width: 560px) {
  .desc__swiper-withoutText {
    height: 250px;
  }
}

/* modal window */

.modal {
  display: none;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.4);
  position: fixed;
  top: 0;
  left: 0;
  justify-content: center;
  align-items: center;
  pointer-events: all;
  z-index: 100;

  &.open-modal {
    display: flex;
  }
}

.modal__block {
  position: relative;
  padding: 20px;
  background: var(--bg);
  border: 2px solid var(--border);
  width: 80%;
  max-width: 600px;
  height: 320px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal__cross {
  cursor: pointer;
  position: absolute;
  top: 30px;
  right: 30px;
  width: 26px;
  height: 26px;
}

.modal__cross-line {
  position: absolute;
  width: 26px;
  height: 3.5px;
  right: 0;
  top: 0;
  background: var(--main);
  border-radius: 5px;
  rotate: 45deg;
  transition: all 0.3s ease;

  &:nth-child(2) {
    rotate: -45deg;
  }
}

.modal__info {
  display: grid;
  gap: 30px;
}

/* End */
/* /local/templates/vodohodcity/components/bitrix/news.detail/services/style.css?17772964307157 */
