/* Shared styles for Post Slider, Post Grid and Featured Posts. */

.post-card{
  height: 100%;
  overflow: hidden;
}
.post-cards-shadow .post-card{
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}
.post-cards-border .post-card{
  border: 1px solid #dee2e6;
}
.post-card-image{
  display: block;
  width: 100%;
  object-fit: cover;
}
.post-card-body{
  padding: 22px;
}
.post-card h3 a{
  color: inherit;
}
.post-card-link{
  font-weight: 700;
}

/* Post Slider */
.post-slider{
  position: relative;
}
.post-slider .swiper-slide{
  height: auto;
}
.post-slider .swiper-pagination{
  position: static;
  margin-top: 20px;
}
.post-slider .swiper-button-prev{
  left: -40px;
}
.post-slider .swiper-button-next{
  right: -40px;
}

/* Featured Posts: band under the cards */
.featured-posts-band{
  margin-top: 20px;
  padding: 60px 8%;
  background-color: #212529;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}
.featured-posts-band h3,
.featured-posts-band p{
  color: #ffffff;
}

/*// Medium devices (tablets, less than 992px)*/
@media (max-width: 991.98px) {
  .post-slider .swiper-button-prev,
  .post-slider .swiper-button-next{
    display: none;
  }
}
