#articles-banner {
  background-image: url("../images/articles/banner-bg.jpg");
  background-position: center;
  background-size: cover;
}
#articles-banner .wrapper {
  min-height: 385px;
  padding-top: 95px;
  padding-bottom: 100px;
}
#articles-banner .wrapper h1 {
  font-family: "Yaseva Regular", sans-serif;
  font-weight: normal;
  font-size: 70px;
  text-shadow: 0px 0px 70px rgba(0, 0, 0, 0.5);
  color: #fff;
  line-height: 1;
  margin-bottom: 35px;
  text-align: center;
}
#articles-banner .wrapper p {
  color: #fff;
  line-height: 1.4;
  font-size: 16px;
  text-align: center;
  padding: 0 250px;
}

#articles-list .wrapper {
  padding-bottom: 80px;
}
#articles-list .wrapper ul.articles-list {
  width: 100%;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  flex-wrap: wrap;
  margin-right: -5px;
  width: -webkit-calc(100% + 5px);
  width: calc(100% + 5px);
  margin-top: -55px;
}
#articles-list .wrapper ul.articles-list li {
  margin-right: 5px;
  margin-bottom: 5px;
  width: -webkit-calc(100% / 3 - 5px);
  width: calc(100% / 3 - 5px);
}
#articles-list .wrapper ul.articles-list li a {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  flex-direction: column;
  padding: 10px;
}
#articles-list .wrapper ul.articles-list li a img {
  width: 100%;
  height: 210px;
  -o-object-fit: cover;
     object-fit: cover;
}
#articles-list .wrapper ul.articles-list li a time {
  font-size: 16px;
  color: #a0b8e2;
  margin: 10px 0;
}
#articles-list .wrapper ul.articles-list li a p {
  color: #1e3a6a;
  font-size: 16px;
  line-height: 1.2;
}
#articles-list .wrapper ul.articles-list li a:hover {
  background: #f0f1f6;
}

@media screen and (max-width: 1024px) {
  #articles-banner .wrapper h1 {
    font-size: 50px;
  }
  #articles-banner .wrapper p {
    padding: 0;
  }

  #articles-list .wrapper ul.articles-list li {
    width: -webkit-calc(100% / 2 - 5px);
    width: calc(100% / 2 - 5px);
  }
}
@media screen and (max-width: 760px) {
  nav .pagination .page-item span,
nav .pagination .page-item a {
    font-size: 13px;
    width: 30px;
    height: 30px;
  }

  #articles-banner .wrapper {
    min-height: 330px;
    padding-top: 100px;
  }
  #articles-banner .wrapper h1 {
    font-size: 30px;
    margin-bottom: 10px;
  }
  #articles-banner .wrapper p {
    padding: 0;
    font-size: 13px;
  }

  #articles-list .wrapper ul.articles-list li {
    width: 100%;
    margin: 0;
    margin-bottom: 10px;
  }
}