/* stylelint-disable max-line-length */
/* stylelint-disable max-line-length */
/* stylelint-disable */
.posts__grid {
  max-width: 900px;
  margin: 0 auto;
}
.posts__item {
  margin-bottom: 40px;
  position: relative;
}
.posts__item-info {
  width: 100%;
}
.posts__item-info h2 {
  line-height: 32px;
  color: var(--color-white);
  margin-bottom: 10px;
  transition: 0.4s;
  transition-timing-function: ease-in-out;
}
@media (min-width: 64rem) {
  .posts__item-info h2 {
    margin-bottom: 15px;
    text-align: left;
  }
}
.posts__item-info p {
  line-height: 22px;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (min-width: 64rem) {
  .posts__item-info p {
    max-height: 110px;
    text-align: left;
  }
}
.posts__item-info span {
  border: 2px solid var(--color-slate);
  border-radius: 25px;
  padding: 18px 51px 18px 24px;
  color: var(--color-silver);
  font-size: 12px;
  text-transform: uppercase;
  display: inline-block;
  margin: 10px auto 0;
  position: relative;
  transition: 0.4s;
  transition-timing-function: ease-in-out;
}
.posts__item-info span::after {
  content: "";
  width: 19px;
  height: 15px;
  -webkit-mask: url("../../../resources/img/arrow-right.svg") no-repeat center;
  mask: url("../../../resources/img/arrow-right.svg") no-repeat center;
  background-color: var(--color-silver);
  position: absolute;
  right: 23px;
  top: calc(50% - 7.5px);
  display: block;
  transition: 0.4s;
  transition-timing-function: ease-in-out;
}
@media (min-width: 64rem) {
  .posts__item-info span {
    margin-top: 44px;
  }
}
@media (min-width: 48rem) {
  .posts__item-info {
    position: relative;
    display: block;
    background-color: var(--color-charcoal);
    max-width: 600px;
    margin: -300px auto 0;
    padding: 40px;
    border-radius: 25px;
    z-index: 2;
  }
}
@media (min-width: 64rem) {
  .posts__item-info {
    margin: -300px auto 0;
    padding: 75px;
    text-align: center;
  }
}
@media (min-width: 48rem) {
  .posts__item {
    padding-bottom: 0;
    margin-bottom: 150px;
  }
  .posts__item img {
    width: 100%;
    max-height: 500px;
    -o-object-fit: cover;
       object-fit: cover;
  }
  .posts__item:hover .posts__item-info {
    box-shadow: 0 0 25px 0 rgba(101, 255, 220, 0.0509803922);
  }
  .posts__item:hover .posts__item-info h2 {
    color: var(--color-turquiose);
  }
  .posts__item:hover .posts__item-info span {
    border-color: var(--color-turquiose);
    color: var(--color-turquiose);
  }
  .posts__item:hover .posts__item-info span::after {
    background-color: var(--color-turquiose);
  }
}
.posts.all-loaded .load-more__btn-wrap, .posts.nothing-found .load-more__btn-wrap {
  display: none;
}

@media (min-width: 64rem) {
  .archive .subscribe-form {
    margin-top: 125px;
  }
}
