.sdpp-popular-posts__list {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: sdpp-rank;
}

.sdpp-popular-posts__item {
  counter-increment: sdpp-rank;
  margin: 0;
}

.sdpp-popular-posts__link {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.875rem;
  align-items: center;
  color: inherit;
  text-decoration: none;
}

.sdpp-popular-posts__link::before {
  content: counter(sdpp-rank);
  display: inline-flex;
  width: 2rem;
  height: 2rem;
  align-items: center;
  justify-content: center;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 700;
  opacity: 0.65;
}

.sdpp-popular-posts__thumb img {
  display: block;
  width: 72px;
  height: 72px;
  border-radius: 6px;
  object-fit: cover;
}

.sdpp-popular-posts__content {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 0.25rem;
}

.sdpp-popular-posts__title {
  font-weight: 700;
  line-height: 1.3;
}

.sdpp-popular-posts__views {
  font-size: 0.8125rem;
  opacity: 0.65;
}

.sdpp-popular-posts__link:hover .sdpp-popular-posts__title,
.sdpp-popular-posts__link:focus-visible .sdpp-popular-posts__title {
  text-decoration: underline;
}
