/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.14,
* Autoprefixer: v10.4.7
* Browsers: last 4 version
*/

section.fundament-detail {
  padding-bottom: 0;
  padding-top: 7px;
}

main .home.banner-top-padding {
  display: none;
}

.close__wrapper {
  width: 100%;
  position: relative;
}

.fundament-detail .close {
  position: absolute;
  width: 30px;
  height: 30px;
  top: -56px;
  right: 25px;
}

.fundament-detail .close .line {
  position: absolute;
  height: 2px;
  width: 16px;
  background-color: var(--dark-grey-color);
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
}

.fundament-detail .close .line._line1 {
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

.fundament-detail .close .line._line2 {
  -webkit-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

.fundament-detail__title {
  margin-bottom: 40px;
  font: 600 30px var(--title-font);
  line-height: 130%;
  color: var(--text-color);
  text-transform: unset;
  letter-spacing: 0;
}

.fundament-detail__container img {
  width: 100%;
}

.fundament-detail__text {
  font: 400 16px var(--text-font);
  line-height: 150%;
  color: var(--text-color);
  margin: 30px 0 40px;
}

.fundament-detail__text ._bold {
  font-weight: 600;
}

.fundament-detail__text p:last-child {
  margin-bottom: 0;
}

.fundament-detail__text ul {
  margin-top: 30px;
}

.fundament-detail__text ul:not(:last-child) {
  margin-bottom: 40px;
}

.fundament-detail__text li {
  position: relative;
  margin-left: 26px;
}

.fundament-detail__text li:not(:last-of-type) {
  margin-bottom: 20px;
}

.fundament-detail__text li:before {
  content: "";
  position: absolute;
  left: -26px;
  top: 9px;
  width: 6px;
  height: 6px;
  background: var(--dark-grey-color);
  border-radius: 50%;
}

.btn-link_red {
  display: block;
  width: 100%;
  font: 500 12px/16px var(--text-font);
  color: var(--background);
  text-transform: uppercase;
  background-color: var(--main-color);
  text-align: center;
  letter-spacing: 0.08em;
  border: 1px solid var(--main-color);
  border-radius: 4px;
  padding: 9px 30px;
  margin-top: 40px;
}

.btn-link_red:hover {
  background-color: transparent;
  color: var(--main-color);
}

.grey-line {
  display: none;
}

@media (min-width: 768px) {
  section.fundament-detail {
    padding-top: 7px;
  }

  .fundament-detail .close {
    top: -56px;
    right: 35px;
  }

  .fundament-detail__title {
    font-size: 36px;
    margin-bottom: 37px;
  }

  .fundament-detail__text {
    font-size: 16px;
  }

  .fundament-detail__text li:before {
    top: 10px;
  }

  .btn-link_red {
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
  }

}

@media (min-width: 1200px) {
  section.fundament-detail {
    padding-top: 99px;
  }

  .fundament-detail__container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
    -ms-flex-direction: row-reverse;
    flex-direction: row-reverse;
    gap: 10%;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
  }

  .fundament-detail__container img {
    width: 100%;
    max-width: 500px;
  }

  .fundament-detail .close {
    top: -46px;
    right: 140px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--lk-background);
  }

  .fundament-detail .wrapper {
    max-width: 1000px;
  }

  .grey-line {
    display: block;
    height: 1px;
    width: 100%;
    background: var(--line-color);
    margin: 0 0 40px;
  }

  .fundament-detail__title {
    font-size: 36px;
    margin-bottom: 61px;
    text-transform: unset;
  }

  .fundament-detail__text {
    font-size: 16px;
    max-width: 399px;
    margin: 0;
  }

  .btn-link_red {
    width: 343px;
  }
}

@media (max-width: 999px) {
  .close__wrapper {
    margin-top: 50px;
  }
}