.post {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  position: relative;
  text-decoration: none;
}

.post__category {
  text-transform: uppercase;
  margin: 0;
}

.post__meta {
  margin-bottom: var(--spacing-xs);
}

.post__img {
  margin-bottom: var(--spacing-xs);
  display: block;
  width: 100%;
  min-height: 320px;
  background-color: var(--img-bg);
  border-radius: var(--border-radius);
  overflow: hidden;

  > div {
    height: 100%;
  }
}

@media screen and (min-width: 992px) {
  .post__img {
    min-height: 400px;
  }
}

.post__title {
  margin-bottom: var(--spacing-xs);
}

.post__excerpt {
  margin-bottom: var(--spacing-xs);
}

.post__cta {
  margin-top: auto;
}
