.wr-post-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--wp--custom--color--black);
  height: 100%;
}

.wr-post-card__image-wrapper {
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.wr-post-card__image {
  width: 100%;
  height: 293px;
  object-fit: cover;
  transition: transform 0.2s ease-in-out;
}

.wr-post-card:hover .wr-post-card__image,
.wr-post-card:focus .wr-post-card__image,
.wr-post-card:active .wr-post-card__image {
  transform: scale(1.1);
}

a.wr-post-card:hover,
a.wr-post-card:focus,
a.wr-post-card:active {
  color: var(--wp--custom--color--black);
}

.wr-post-card__icon {
  width: 24px;
  height: 24px;
  transform: rotate(-45deg);
  transition: transform 0.2s ease;
}

.wr-post-card:hover .wr-post-card__icon,
.wr-post-card:focus .wr-post-card__icon,
.wr-post-card:active .wr-post-card__icon {
  transform: rotate(0);
}

.wr-post-card__content {
  padding: 40px 30px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  background-color: var(--wp--custom--color--zircon);
  position: relative;
  flex-grow: 1;
}

.wr-post-card__content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.wr-post-card__content .wr-post-card__heading {
  margin: unset;
}

.wr-post-card__content .wr-post-card__date {
  color: var(--wp--custom--color--gray);
  font-weight: 400;
  margin: unset;
  font-size: 18px;
}

.wr-post-card__icon-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--wp--custom--color--green);
  font-size: 16px;
  line-height: 1;
}

.wr-post-card__category {
  font-size: 17px;
  position: absolute;
  top: 0;
  left: 0;
  padding: 5px 20px;
  /* Category ID 31 (Press Release) = Default color */
  background-color: var(--wp--custom--color--green);
  color: var(--wp--custom--color--white);
  transform: translateY(-50%) translateX(-7px);
  z-index: 10;
}

/* Customer Stories */
.wr-post-card__category[data-category-name="Customer Story"] {
  background-color: var(--wp--custom--color--turquoise);
}

/* News Articles */
.wr-post-card__category[data-category-name="News Article"] {
  background-color: var(--wp--custom--color--lime);
  color: var(--wp--custom--color--black);
}

/* News Articles */
.wr-post-card__category[data-category-name="Product"] {
  background-color: var(--wp--custom--color--dark-green);
}

.wr-post-card__content .wr-post-card__excerpt {
  margin: unset;
}

@media screen and (max-width: 1024px) {
  .wr-post-card__content .wr-post-card__heading {
    font-size: 25px;
  }

  .wr-post-card__content .wr-post-card__date {
    font-size: 19px;
  }
}

@media screen and (min-width: 1025px) and (max-width: 1536px) {
  .wr-post-card__content .wr-post-card__heading {
    font-size: 26px;
  }
}

@media screen and (min-width: 1536px) {
  .wr-post-card__content .wr-post-card__heading {
    font-size: 28px;
  }
}

@media screen and (max-width: 767px) {
  .wr-post-card {
    filter: drop-shadow(0px 0px 4px rgba(0, 0, 0, 0.1));
  }  
}
