.post-card.post-card_dark.card .image {
  height: 500px;
}

.post-card.post-card_dark.card:after {
  content: ' ';
  position: absolute;

  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgb(0, 0, 0);
  background: linear-gradient(0deg, rgb(0, 0, 0) 0%, rgba(0, 0, 0, 0) 100%);
  z-index: 100;
}
.post-card.post-card_dark .card-body {
  bottom: 0;
  position: absolute;
  z-index: 200;
}

.post-card_dark .card-body {
  width: 100%;
  padding: var(--bs-card-img-overlay-padding);
  right: 0;
}

.post-card.post-card_dark .card-body .card-title {
  color: #fff;
  font-weight: 700;
}

.post-card.post-card_light .post-card__title {
  font-weight: 600;
  font-size: 1.1rem;
  line-height: 1.2rem;
  padding-top: 15px;
}

.post-card_zoom {
  overflow: hidden;
}
.image__wrapper {
  overflow: hidden;
}
.post-card_zoom img.image {
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
}
.post-card_zoom:hover img.image {
  -webkit-transform: scale(1.15);
  -moz-transform: scale(1.15);
  -ms-transform: scale(1.15);
  -o-transform: scale(1.15);
  transform: scale(1.15);
}

.grid {
  /* background: #eee;

  /* MD */

  /* SM */
  /*max-width: 750px;*/
}

/* clearfix */
.grid:after {
  content: '';
  display: block;
  clear: both;
}

/* ---- grid-item ---- */

.grid-item {
  float: left;
  background: #d26;
  margin-bottom: 20px;
  background-size: cover;
  overflow: hidden;
  width: 100%;
  height: 309px;
}

.grid-item .image {
  background-size: cover;
  transition: all 0.5s;
  width: 100%;
  background-position: center;
  height: 100%;
}
.grid-item:hover .image {
  transform: scale(1.2);
}

/* Bootstrap MD*/
@media (min-width: 768px) {
  .grid-item--1 {
    width: 309px;
    height: 309px;
  }
  .grid-item--2 {
    width: 638px;
    height: 309px;
  }
  .grid-item--3 {
    width: 638px;
    height: 638px;
  }
}

.catname {
  font-size: 1.4rem;
  font-weight: 800;
  color: white;
  text-decoration: none;
  position: absolute;
  left: 20px;
  bottom: 20px;
}

/* Bootstrap SM*/
/*
.grid-item--1 { width: 180px; height: 180px; }
.grid-item--2 { width: 370px; height: 180px; }
.grid-item--3 { width: 370px; height: 370px; }
*/
