.annotation {
  padding: 3rem 0 2.5rem;
}

.annotation .section-title {
  margin-bottom: 2.5rem;
}

.annotation__text {
  font-size: 1.6rem;
  font-family: 'Roboto', sans-serif;
  line-height: 1.56;
  color: #000;
  margin-bottom: 4rem;
}

.annotation__list {
  list-style: none;
}

.annotation__item {
  margin-bottom: 6rem;
  color: #000;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}

.annotation__item:last-child {
  margin-bottom: 0;
}

.annotation__item-title {
  margin-bottom: 1rem;
  font-family: 'Roboto', sans-serif;
  font-size: 1.8rem;
  font-weight: bold;
}

.annotation__item-text {
  font-family: 'Roboto', sans-serif;
  font-size: 1.6rem;
  line-height: 1.56;
  margin-bottom: 2rem;
}

.annotation picture {
  width: 100%;
  -webkit-box-ordinal-group: 0;
  -ms-flex-order: -1;
  order: -1;
  margin-bottom: 3rem;
}

.annotation__item-img {
  width: 100%;
}

.annotation__item-btn {
  display: none;
}

.annotation--grow .annotation__item:last-child {
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
}

.annotation--grow .annotation__item:last-child picture {
  width: auto;
  -o-object-fit: cover;
  object-fit: cover;
}

.annotation--grow .annotation__item:last-child .annotation__item-img {
  width: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

@media only screen and (min-width: 480px) {
  .annotation {
    background-color: #f5f5f7;
  }

  .annotation .section-title {
    text-align: left;
  }

  .annotation__list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
  }

  .annotation__item {
    width: 48%;
  }

  .annotation--white {
    background-color: transparent;
  }
}

@media only screen and (min-width: 968px) {
  .annotation__item {
    position: relative;
    color: #fff;
  }

  .annotation__item--shadow {
    position: relative;
  }

  .annotation__item--shadow::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 0;
  }

  .annotation__item--active .annotation__item-text-wrapper {
    height: 100%;
  }

  .annotation__item--active .annotation__item-btn::after {
    -webkit-transform: rotate(225deg) translateY(-50%);
    -ms-transform: rotate(225deg) translateY(-50%);
    transform: rotate(225deg) translateY(-50%);
  }

  .annotation__item-text-wrapper {
    overflow: hidden;
    position: absolute;
    bottom: 0;
    height: 17rem;
    padding-top: 9rem;
    margin: 4.5rem 2rem;
    -webkit-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
  }

  .annotation picture {
    margin-bottom: 0;
  }

  .annotation__item-btn {
    display: inline-block;
    font-family: 'Roboto', sans-serif;
    font-size: 1.4rem;
    line-height: 1.56;
    color: #fff;
    position: absolute;
    left: 2rem;
    bottom: 1.2rem;
    background: none;
    border: none;
    padding-right: 2.5rem;
    cursor: pointer;
  }

  .annotation__item-btn:hover,
  .annotation__item-btn:focus {
    outline: none;
  }

  .annotation__item-btn::after {
    position: absolute;
    content: "";
    right: 0;
    top: 1.1rem;
    width: .6rem;
    height: .6rem;
    border: .2rem solid transparent;
    border-left-color: #fff;
    border-top-color: #fff;
    -webkit-transform-origin: top;
    -ms-transform-origin: top;
    transform-origin: top;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    cursor: pointer;
  }

  .annotation__item-title {
    font-weight: 500;
  }

  .annotation__item-text {
    font-size: 1.6rem;
    line-height: 1.56;
  }

  .annotation__item {
    width: 32%;
    margin-bottom: 2rem;
  }

  .annotation__item .annotation__item-text-wrapper,
  .annotation__item .annotation__item-btn {
    z-index: 2;
  }

  .annotation__item picture::after {
    position: absolute;
    content: "";
    left: 0;
    right: 0;
    top: 0;
    bottom: .3rem;
    background: transparent;
    z-index: 1;
    -webkit-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
  }

  .annotation__item:nth-last-child(-n+3) {
    margin-bottom: 0;
  }

  .annotation__item--active picture::after {
    background-color: rgba(0, 0, 0, 0.5);
  }

  .annotation--grow .annotation__item:nth-last-child(-n+3) {
    margin-bottom: 2rem;
  }
}

@media only screen and (min-width: 1280px) {
  .annotation {
    padding-bottom: 4rem;
  }

  .annotation .section-title {
    text-align: center;
  }
}