.wnvbp-page {
  --wnvbp-bg: #fffaf7;
  --wnvbp-text: #1f1f1f;
  --wnvbp-muted: #5f6368;
  --wnvbp-border: #ececec;
  --wnvbp-accent: #d32f2f;
}

.wnvbp-container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.wnvbp-head {
  padding: 42px 0 20px;
  background: linear-gradient(180deg, #fff3ee, #fffaf7 72%);
}

.wnvbp-title {
  margin: 0;
  color: var(--wnvbp-text);
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.2;
}

.wnvbp-subtitle {
  margin: 10px 0 0;
  color: var(--wnvbp-muted);
}

.wnvbp-listing {
  background: var(--wnvbp-bg);
  padding: 24px 0 56px;
}

.wnvbp-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 24px;
  align-items: start;
}

.wnvbp-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.wnvbp-card {
  display: flex;
  margin: 0;
  border: 1px solid var(--wnvbp-border);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

body.ast-separate-container .wnvbp-page .ast-article-post.wnvbp-card,
body.ast-separate-container .wnvbp-page .ast-article-single.wnvbp-card {
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid var(--wnvbp-border) !important;
}

.wnvbp-thumb-link {
  display: block;
  flex: 0 0 240px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.wnvbp-thumb-fallback {
  height: 100%;
  background: linear-gradient(135deg, #ffe1d6, #ffd0bf);
  color: #8c2f0f;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  letter-spacing: 0.03em;
}

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

.wnvbp-card-body {
  flex: 1;
  padding: 12px;
}

.wnvbp-meta {
  margin: 0;
  color: var(--wnvbp-muted);
  font-size: 13px;
}

.wnvbp-card-title {
  margin: 8px 0;
  font-size: 1.08rem;
  line-height: 1.35;
}

.wnvbp-card-title a {
  color: var(--wnvbp-text);
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.wnvbp-card-title a:hover {
  color: var(--wnvbp-accent);
}

.wnvbp-excerpt {
  margin: 0;
  color: var(--wnvbp-muted);
  line-height: 1.7;
  font-size: 0.95rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.wnvbp-readmore {
  display: inline-block;
  margin-top: 14px;
  color: var(--wnvbp-accent);
  text-decoration: none;
  font-weight: 700;
}

.wnvbp-readmore:hover {
  text-decoration: underline;
}

.wnvbp-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.wnvbp-page-item .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  border-radius: 8px;
  border: 1px solid var(--wnvbp-border);
  background: #fff;
  color: #242424;
  text-decoration: none;
  font-weight: 600;
  padding: 0 12px;
}

.wnvbp-page-item .page-numbers.current {
  background: var(--wnvbp-accent);
  border-color: var(--wnvbp-accent);
  color: #fff;
}

.wnvbp-empty {
  margin: 10px 0 0;
  color: var(--wnvbp-muted);
}

.wnvbp-sidebar {
  position: sticky;
  top: 24px;
}

.wnvbp-widget {
  border: 1px solid var(--wnvbp-border);
  border-radius: 14px;
  background: #fff;
  padding: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.wnvbp-widget + .wnvbp-widget {
  margin-top: 14px;
}

.wnvbp-widget-title {
  margin: 0 0 10px;
  font-size: 1.05rem;
}

.wnvbp-categories {
  list-style: none;
  margin: 0;
  padding: 0;
}

.wnvbp-categories li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid #f2f2f2;
}

.wnvbp-categories li:last-child {
  border-bottom: 0;
}

.wnvbp-categories a {
  text-decoration: none;
  color: var(--wnvbp-text);
}

.wnvbp-categories a:hover {
  color: var(--wnvbp-accent);
}

.wnvbp-count {
  color: var(--wnvbp-muted);
  font-size: 13px;
}

.wnvbp-profile-text {
  margin: 0;
  color: var(--wnvbp-muted);
  line-height: 1.7;
}

.wnvbp-widget ul {
  margin: 0;
  padding-left: 18px;
}

.wnvbp-widget a {
  color: var(--wnvbp-text);
}

.wnvbp-widget a:hover {
  color: var(--wnvbp-accent);
}

@media (max-width: 1080px) {
  .wnvbp-layout {
    grid-template-columns: 1fr;
  }

  .wnvbp-sidebar {
    position: static;
  }
}

@media (max-width: 980px) {
  .wnvbp-card {
    flex-direction: column;
  }

  .wnvbp-thumb-link {
    flex-basis: auto;
    width: 100%;
  }
}

@media (max-width: 640px) {
  .wnvbp-card-body {
    padding: 10px 10px 12px;
  }
}
