.home__intro {
  hyphens: auto;
  text-align: justify;
}
.home__intro img {
  border-radius: 0.25em;
  max-width: 100%;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
@media screen and (min-width: 640px) {
  .home__intro img {
    float: right;
    margin-left: 1em;
    margin-bottom: 1em;
  }
}
@media screen and (min-width: 640px) {
  .home__intro p.first {
    margin-top: 0;
  }
}

.home__first-line {
  position: relative;
  display: grid;
  width: 100%;
}
@media screen and (min-width: 1px) and (max-width: 639px) {
  .home__first-line {
    margin-bottom: 4em;
  }
}
@media screen and (min-width: 1px) {
  .home__first-line {
    grid-template-areas: "title" "content" "image";
  }
}
@media screen and (min-width: 640px) {
  .home__first-line {
    grid-template-columns: auto 1px;
    grid-template-areas: "title title" "content image";
  }
}
.home__first-line .first-line__title {
  grid-area: title;
}
@media screen and (min-width: 1px) and (max-width: 639px) {
  .home__first-line .first-line__title h1 {
    margin-bottom: 0.25em;
  }
}
.home__first-line .first-line__content {
  grid-area: content;
  position: relative;
  margin-bottom: 7em;
}
@media screen and (min-width: 1px) and (max-width: 639px) {
  .home__first-line .first-line__content {
    text-align: justify;
    hyphens: auto;
    padding-left: 1em;
    padding-right: 1em;
    padding-top: 1.5em;
  }
}
@media screen and (min-width: 640px) and (max-width: 1199px) {
  .home__first-line .first-line__content span.first-line__content--title {
    display: block;
  }
}
.home__first-line .first-line__content p.first {
  margin-top: 2em;
}
@media screen and (min-width: 1px) and (max-width: 639px) {
  .home__first-line .first-line__content p.first {
    line-height: 1.3;
    text-align: left;
  }
}
@media screen and (min-width: 640px) {
  .home__first-line .first-line__content p.first {
    margin-top: 1em;
  }
}
.home__first-line .first-line__content u {
  display: inline-block;
  padding-top: 0.5em;
}
@media screen and (min-width: 640px) {
  .home__first-line .first-line__content {
    padding-left: 2em;
    padding-top: 1em;
    padding-bottom: 1em;
  }
}
@media screen and (min-width: 640px) and (max-width: 1199px) {
  .home__first-line .first-line__content {
    padding-right: 10%;
  }
}
.home__first-line .first-line__content .background-layout {
  position: absolute;
  z-index: -1;
  left: 0;
  top: 40px;
  width: 100%;
  height: 100%;
  border-radius: 0.35em;
  background-color: #ffcc80;
}
@media screen and (min-width: 640px) {
  .home__first-line .first-line__content .background-layout {
    top: 0;
  }
}
.home__first-line .first-line__image {
  grid-area: image;
  position: relative;
  z-index: -1;
}
@media screen and (min-width: 1px) and (max-width: 639px) {
  .home__first-line .first-line__image {
    text-align: right;
  }
  .home__first-line .first-line__image img {
    margin-top: -100%;
    margin-right: 1em;
  }
}
@media screen and (min-width: 640px) {
  .home__first-line .first-line__image img {
    position: absolute;
    right: 1.2em;
    bottom: 25%;
  }
}
@media screen and (min-width: 1200px) {
  .home__first-line .first-line__image img {
    right: 50px;
    bottom: 15%;
  }
}

.first-line__content-bullets {
  display: grid;
  grid-template-columns: 60%;
}
@media screen and (min-width: 640px) {
  .first-line__content-bullets {
    grid-template-columns: repeat(2, 33%);
    grid-column-gap: 10px;
    margin-bottom: 1em;
  }
}
@media screen and (min-width: 1200px) {
  .first-line__content-bullets {
    grid-template-columns: max-content max-content;
    grid-column-gap: 20px;
  }
}
.first-line__content-bullets > div {
  padding: 0.35em 0;
}
.first-line__content-bullets div a {
  display: grid;
  grid-template-columns: max-content auto;
  align-items: center;
  grid-column-gap: 5px;
  text-align: left;
}
.first-line__content-bullets div a div {
  line-height: 0.85;
}
.first-line__content-bullets div a div i {
  line-height: 1;
}

/* СЛАЙДЕР СТОРИ-ТЕЛЛИНГ */
/* ПЕРЕМЕННЫЕ */
/* СТИЛИ */
.home__intro-story .intro-story__slider {
  min-height: 410px;
}

.home__intro-story .carousel-item {
  hyphens: auto;
  font-size: 0.97em;
  background-color: #ffcc80;
  background-repeat: no-repeat;
  border-radius: 0.35em;
  padding: 0.75em 1em;
}
@media screen and (max-width: 1199px) {
  .home__intro-story .carousel-item {
    text-align: justify;
  }
}
@media screen and (min-width: 640px) {
  .home__intro-story .carousel-item {
    font-size: 1.1em;
    padding: 0.75em 1.25em;
  }
}
.home__intro-story .carousel-item[data-index-number="1"] {
  background-image: url("/images/background/home__intro-story/arrow-right.png"), url("/images/background/home__intro-story/index-number__fingers--1.png");
  background-size: 80%, 10%;
  background-position: right -40px bottom -50px, left 20px bottom 20px;
}
.home__intro-story .card-panel {
  background: none;
  text-align: center;
}
.home__intro-story .card-panel a {
  display: inline-block;
  margin-top: 1em;
}
@media screen and (min-width: 1px) and (max-width: 639px) {
  .home__intro-story .card-panel a span {
    display: none;
  }
}
.home__intro-story .carousel-item[data-index-number="2"] {
  background-image: url("/images/background/home__intro-story/arrow-right.png"), url("/images/background/home__intro-story/index-number__fingers--2.png");
  background-size: 80%, 10%;
  background-position: right -40px bottom -50px, left 20px bottom 20px;
}
.home__intro-story .card-panel {
  background: none;
  text-align: center;
}
.home__intro-story .card-panel a {
  display: inline-block;
  margin-top: 1em;
}
@media screen and (min-width: 1px) and (max-width: 639px) {
  .home__intro-story .card-panel a span {
    display: none;
  }
}
.home__intro-story .carousel-item[data-index-number="3"] {
  background-image: url("/images/background/home__intro-story/arrow-right.png"), url("/images/background/home__intro-story/index-number__fingers--3.png");
  background-size: 80%, 10%;
  background-position: right -40px bottom -50px, left 20px bottom 20px;
}
.home__intro-story .card-panel {
  background: none;
  text-align: center;
}
.home__intro-story .card-panel a {
  display: inline-block;
  margin-top: 1em;
}
@media screen and (min-width: 1px) and (max-width: 639px) {
  .home__intro-story .card-panel a span {
    display: none;
  }
}
.home__intro-story .carousel-item[data-index-number="4"] {
  background-image: url("/images/background/home__intro-story/arrow-right.png"), url("/images/background/home__intro-story/index-number__fingers--4.png");
  background-size: 80%, 10%;
  background-position: right -40px bottom -50px, left 20px bottom 20px;
}
.home__intro-story .card-panel {
  background: none;
  text-align: center;
}
.home__intro-story .card-panel a {
  display: inline-block;
  margin-top: 1em;
}
@media screen and (min-width: 1px) and (max-width: 639px) {
  .home__intro-story .card-panel a span {
    display: none;
  }
}
.home__intro-story .carousel-item[data-index-number="5"] {
  background-image: url("/images/background/home__intro-story/last-slide.png"), url("/images/background/home__intro-story/index-number__fingers--5.png");
  background-size: 70%, 10%;
  background-position: left -30px bottom -10px, left 20px bottom 20px;
  background-color: #ab47bc;
  color: White;
}
.home__intro-story .card-panel {
  background: none;
  text-align: center;
}
.home__intro-story .card-panel a {
  display: inline-block;
  margin-top: 1em;
}
@media screen and (min-width: 1px) and (max-width: 639px) {
  .home__intro-story .card-panel a span {
    display: none;
  }
}
.home__intro-story .intro-story__buttons {
  text-align: right;
}
@media screen and (min-width: 1px) and (max-width: 639px) {
  .home__intro-story .intro-story__buttons {
    padding-right: 2em;
  }
}
@media screen and (min-width: 640px) {
  .home__intro-story .intro-story__buttons {
    text-align: center;
  }
}