.news-card-wrapper {
  display: inline-block;
  width: 100%;
  position: relative;
  height: 23rem;
  border-radius: 1rem;
  z-index: 200;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  transition: 0.3s ease-in-out;
}

.news-card-overlay {
  white-space: wrap;
  border-radius: 1rem;
  width: 100%;
  height: 100%;
  position: absolute;
  bottom: 0;
  left: 0;
  display: flex;
  justify-content: flex-end;
  flex-direction: column;
  font-weight: bold;
  color: #606060;
}

.news-card-overlay > div {
  background-color: white;
  width: 100%;
  padding: 1rem;
}

.news-card-title {
  border-bottom: 1px solid #eeeeee;
  padding: 0.5rem 0;
  line-height: 1.5rem;
  font-size: 14px;
}

.news-card-link-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-top: 0.5rem;
}

.news-card-link {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  color: #606060;
}

.news-card-link img {
  width: 1.2rem;
}

.news-card-date {
  color: #669f02;
}

@media screen and (min-width: 787px) {
  .news-card-wrapper {
    width: 48%;
    margin-left: 1%;
    margin-right: 1%;
  }
}

@media screen and (min-width: 1024px) {
  .content-carousel-wrapper .news-card-wrapper {
    width: 48%;
    margin-left: 1%;
    margin-right: 1%;
  }

  .news-card-wrapper {
    width: 23%;
    margin-left: 1%;
    margin-right: 1%;
  }

  .news-card-title {
    font-size: 18px;
  }

  .card-hover {
    transform: scale(1.05);
  }
}
