.news-card-skeleton {
  position: relative;
  width: 100%;
}
.news-card-skeleton__wrapper {
  display: block;
  width: 100%;
  background: #fff;
  border-radius: 1rem;
  border: 1px solid rgba(90, 105, 112, 0.08);
  overflow: hidden;
}
.news-card-skeleton__thumbnail {
  width: 100%;
  height: 14.375rem;
}
.news-card-skeleton__content {
  display: flex;
}
.news-card-skeleton__content-left {
  flex-shrink: 0;
}
.news-card-skeleton__publish-date {
  width: 6.1875rem;
  height: 8rem;
  border-radius: 0;
}
.news-card-skeleton__content-right {
  flex: 1 0 0;
  padding: 0.5rem 1rem;
}
.news-card-skeleton__category {
  width: 40%;
  height: 0.75rem;
  border-radius: 0.25rem;
  margin-bottom: 0.5rem;
}
.news-card-skeleton__title {
  width: 100%;
  height: 1rem;
  border-radius: 0.25rem;
  margin-bottom: 0.375rem;
}
.news-card-skeleton__title--short {
  width: 65%;
  margin-bottom: 0.5rem;
}
.news-card-skeleton__excerpt {
  width: 100%;
  height: 0.625rem;
  border-radius: 0.25rem;
  margin-bottom: 0.3125rem;
}
.news-card-skeleton__excerpt--short {
  width: 80%;
  margin-bottom: 0;
}

.skeleton-shimmer {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: skeletonShimmer 1.5s ease-in-out infinite;
}

@keyframes skeletonShimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

@media screen and (max-width: 639.98px) {
  .news-card-skeleton__wrapper {
    border-radius: 0.75rem;
  }
  .news-card-skeleton__thumbnail {
    height: 10.477rem;
  }
  .news-card-skeleton__publish-date {
    width: 4.5rem;
    height: 5.625rem;
  }
  .news-card-skeleton__content-right {
    padding: 0.375rem 0.5rem 0;
  }
  .news-card-skeleton__category {
    margin-bottom: 0.3125rem;
  }
}
