.related-articles {
  margin: 3rem 0 1rem;
}

.related-articles-heading {
  margin-bottom: 1.25rem;
}

.related-articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (width <= 700px) {
  .related-articles-grid {
    grid-template-columns: 1fr;
  }
}

.related-articles-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--light-color, #eaeaea);
  border-radius: 10px;
  background: var(--background-color, #fff);
  color: inherit;
  text-decoration: none;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.related-articles-card:hover {
  box-shadow: 0 8px 24px rgb(0 0 0 / 10%);
  transform: translateY(-2px);
}

.related-articles-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.related-articles-body {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 1rem 1.1rem 1.25rem;
}

.related-articles-category {
  font-size: var(--body-font-size-xs, 0.75rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--link-color, #035fe6);
}

.related-articles-title {
  font-family: var(--heading-font-family, var(--body-font-family, sans-serif));
  font-size: var(--body-font-size-m, 1.1rem);
  font-weight: 600;
  line-height: 1.3;
}

.related-articles-skeleton {
  min-height: 230px;
  border: none;
  background: linear-gradient(90deg, #f0f0f0 25%, #e6e6e6 37%, #f0f0f0 63%);
  background-size: 400% 100%;
  animation: related-articles-shimmer 1.4s ease infinite;
}

@keyframes related-articles-shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: 0 0; }
}
