.plpp-widget {
  background: var(--plpp-bg, #fff);
  color: var(--plpp-text, #111827);
  border: 1px solid var(--plpp-border, #e5e7eb);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 10px 30px rgba(17, 24, 39, .08);
  margin: 22px 0;
}

.plpp-title {
  color: var(--plpp-text, #111827);
  margin: 0 0 14px;
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.2;
}

.plpp-items {
  display: grid;
  gap: 12px;
}

.plpp-item {
  display: grid;
  grid-template-columns: auto 76px 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--plpp-border, #e5e7eb);
  border-radius: 14px;
  background: rgba(255,255,255,.62);
}

.plpp-layout-list .plpp-item,
.plpp-layout-compact .plpp-item {
  grid-template-columns: auto 1fr;
}

.plpp-layout-list .plpp-thumb,
.plpp-layout-compact .plpp-thumb {
  display: none;
}

.plpp-rank {
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--plpp-accent, #f59e0b);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  line-height: 1;
}

.plpp-thumb {
  display: block;
  width: 76px;
  height: 76px;
  overflow: hidden;
  border-radius: 12px;
  background: #f3f4f6;
}

.plpp-thumb-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.plpp-content {
  min-width: 0;
}

.plpp-post-title {
  color: var(--plpp-text, #111827);
  display: block;
  font-weight: 800;
  line-height: 1.25;
  text-decoration: none;
}

.plpp-post-title:hover {
  color: var(--plpp-accent, #f59e0b);
}

.plpp-views,
.plpp-single-views {
  display: inline-block;
  color: var(--plpp-accent, #f59e0b);
  font-size: .86rem;
  font-weight: 700;
  margin-top: 6px;
}

.plpp-excerpt {
  margin: 8px 0 0;
  font-size: .92rem;
  line-height: 1.45;
  opacity: .82;
}

.plpp-layout-compact .plpp-item {
  padding: 9px 10px;
}

.plpp-layout-compact .plpp-rank {
  width: 26px;
  height: 26px;
  font-size: .78rem;
}

@media (max-width: 640px) {
  .plpp-item {
    grid-template-columns: auto 64px 1fr;
    gap: 10px;
    padding: 10px;
  }

  .plpp-thumb {
    width: 64px;
    height: 64px;
  }
}
