.hero{
  min-height: calc(100vh - 65px);
}
.hero__wrapper{
  background-color: var(--light-gray-2);
  border-radius: 11px;
  /* min-height: max-content; */
  min-height: calc(100vh - 150px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.hero__header{
  padding: 65px 15px 0;
  text-align: center;
  max-width: 720px;
  margin: 0 auto 30px;
 
}
.hero__img{
  min-height: 100px;
  border-top: 50px solid var(--black);
  border-radius: 19px 19px 0 0;
  margin-left: 15px;
  margin-right: 15px;
  position: relative;
  object-fit: cover;
  height: 250px;
}
.hero__img::before{
  content: '';
  position: absolute;
  height: 11px;
  width: 53px;
  background-image: url(../img/dots.svg);
  left: 20px;
  top: -30px;
}
.hero__img img{
  
  width: 100%;
  height: 100%;
}

@media screen and (min-width: 768px){
  .hero__header{
    padding-top: 100px;
    margin-bottom: 60px;
  }
}
@media screen and (min-width: 1200px){
  .hero__img{
    max-width: 1020px;
    margin: 0 auto;
  }
}

/* CASES */
.cases{
  padding: 50px 0;
}
.cases__header h2{
  text-align: center;
}
.cases__header{
  margin-bottom: 36px;
}
.cases__item{
  background-color: var(--light-gray-2);
  border-radius: 11px;
  padding: 24px;
  position: relative;
  margin-bottom: 16px;
}
.cases__arrow{
  /* content: ''; */
  display: block;
  width: 30px;
  height: 30px;
  /* background-image: url(../img/link.svg); */
  position: absolute;
  bottom: 24px;
  right: 24px;
}
/* .cases__item::before{
  content: '';
  width: 30px;
  height: 30px;
  background-image: url(../img/link.svg);
  position: absolute;
  bottom: 24px;
  right: 24px;
} */
.cases__link{
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
}
.cases__title{
  margin-bottom: 16px;
  transition: color .3s ease-in-out;
}
.cases__item:hover .cases__title{
  color: var(--blue);
}
.cases__item:hover .cases__arrow path{
  stroke: var(--blue);
}
.cases-tags__item{
  display: inline-block;
}
.cases-tags__list{
  margin-bottom: 8px;
}
.cases__duration{
  color: var(--black);
}
@media screen and (min-width: 768px){
  .cases{
    padding-top: 120px;
    padding-bottom: 100px;
  }
  .cases__header{
    margin-bottom: 76px;
  }
  .cases__header h2{
    font-size: 40px;
  }
  .cases__item{
    padding: 36px;
    height: 180px;
    box-sizing: border-box;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  .cases__arrow{
    bottom: unset;
    top: 36px;
    right: 36px;
  }
  .cases__title{
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 24px;
    max-width: 480px;
  }
  .cases__row{
    display: flex;
    justify-content: space-between;
  }
}
@media screen and (min-width: 1200px){
  .cases__item{
    padding: 40px 60px 48px 48px;
    /* padding-right: 60px; */
  }
  .cases__arrow{
    top: 48px;
    right: 60px;
  }
  .cases__title{
    font-size: 26px;
    font-weight: 600;
  }
}