.blog-cards {
  padding-top: 2rem;
  padding-bottom: 2rem;
  background-color: white;
}

.blog-cards__header {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
  margin-bottom: 2rem;
  text-align: center;
}

.blog-cards__header h2 {
  color: #507A58;
  font-size: 32px;
  letter-spacing: -0.5px;
}

@media (min-width: 600px) {
  .blog-cards__header h2 {
    font-size: 40px;
  }
}

.blog-cards__container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
}

.blog-cards__container.flickity-enabled {
  display: block;
}

.blog-cards__section {
  width: 100%;
}

@media (min-width: 600px) {
  .blog-cards__section {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
  }
}

.blog-cards-item {
  padding-bottom: 2rem;
  width: 100%;
  height: 350px;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 600px) {
  .blog-cards-item {
    width: 30%;
    height: 420px;
  }
}

.blog-cards__section--first .blog-cards-item:first-of-type {
  width: 100%;
  height: 300px;
}

.blog-cards__section--second .blog-cards-item:last-of-type {
  width: 100%;
  height: 300px;
}

.blog-cards-item__link {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
}

.blog-cards-item__header {
  position: absolute;
  z-index: 3;
  left: 0;
  bottom: 0;
  padding: 1rem;
}

.blog-cards-item__header h3 {
  color: white;
  font-size: 28px;
  margin-bottom: 1rem;
}

.blog-cards-item__header button {
  background-color: white;
  color: #454545;
  border-radius: 20px;
  padding: .85rem 1rem;
}

.blog-cards-item__tint {
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 2;
  background: linear-gradient(rgba(60, 60, 60, 0) 0%, rgba(128, 128, 128, 0.7) 100%);
  border-radius: 20px;
}

.blog-cards-item__image {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
}

.blog-cards-item__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}
