/* Blog listing + rubrics. */
.blog-col {
  margin-bottom: 15px;
}

.blog-post {
  box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.15), 0px 0px 0px 1px rgba(0, 0, 0, 0.04);
  border-bottom-right-radius: 10px;
  border-bottom-left-radius: 10px;
  display: flex;
  flex-direction: column;
}

.blog-post-image {
  text-align: center;
  margin-bottom: 15px;
}

.blog-post-image img {
  width: 100%;
}

.blog-post-title {
  text-align: left;
  margin-bottom: 15px;
  padding-left: 10px;
  padding-right: 10px;
}

.blog-post-title a {
  font-weight: 600;
  font-size: 18px;
  line-height: 22px;
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 66px;
}

.blog-post-title a:hover {
  text-decoration: none;
  color: var(--main-red-color);
}

.blog-post-description {
  font-size: 16px;
  line-height: 19px;
  letter-spacing: 0.02em;
  margin-bottom: 15px;
  padding-left: 10px;
  padding-right: 10px;
}

.blog-post-more {
  margin-top: 15px;
  text-align: center;
}

.blog-post-more .btn {
  width: 100%;
  max-width: 100%;
}

.blog-categories {
  display: flex;
  flex-wrap: wrap;
  background: #ffffff;
  box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.15), 0px 0px 0px 1px rgba(0, 0, 0, 0.04);
  border-radius: 10px;
  padding: 15px;
  padding-bottom: 5px;
  margin-bottom: 30px;
}

.blog-categories--title {
  color: var(--main-red-color);
  font-weight: 700;
  margin-right: 30px;
}

.blog-categories--item {
  color: var(--main-black-color);
  font-weight: 600;
  text-decoration: none;
  margin-bottom: 10px;
}

.blog-categories--item + .blog-categories--item {
  margin-left: 30px;
}

.blog-categories--item:hover,
.blog-categories--item.active {
  color: var(--main-red-color);
}

@media screen and (min-width: 576px) {
  .blog-col {
    margin-bottom: 30px;
  }

  .blog-post {
    background: #ffffff;
    border: 1px solid #d8d8d8;
    border-radius: 10px;
    padding: 10px;
    height: 100%;
    box-sizing: border-box;
  }

  .blog-post-title {
    padding-left: 0;
    padding-right: 0;
  }

  .blog-post-title a {
    width: 100%;
    -webkit-line-clamp: 3;
    height: 44px;
  }

  .blog-post-description {
    padding-left: 0;
    padding-right: 0;
  }

  .blog-post-more {
    margin-top: auto;
  }
}

@media screen and (min-width: 992px) {
  .blog-post-more .btn {
    max-width: 160px;
  }
}
