.blog-container {
    max-width: 1200px;
    margin: auto;
    padding: 40px 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.blog-title {
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: #1a202c;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.blog-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.blog-thumb {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.blog-content {
    padding: 20px;
}

.blog-post-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0 0 12px;
    color: #2d3748;
}

.blog-excerpt {
    color: #4a5568;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 12px;
}

.blog-date {
    font-size: 0.85rem;
    color: #a0aec0;
}

.nv-pagination {
    text-align: center;
    margin-top: 40px;
}

.nv-pagination .page-numbers {
    display: inline-block;
    padding: 10px 15px;
    margin: 0 5px;
    background: #edf2f7;
    color: #2d3748;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.2s;
}

.nv-pagination .current,
.nv-pagination .page-numbers:hover {
    background: #2d3748;
    color: white;
}

/* Basic prose styles */
.nv-prose { font-size: 1.0625rem; line-height: 1.75; }
.nv-prose p { margin: 1em 0; }
.nv-prose h2 { margin-top: 2rem; margin-bottom: .75rem; font-size: 1.5rem; font-weight: 700; }
.nv-prose h3 { margin-top: 1.5rem; margin-bottom: .5rem; font-size: 1.25rem; font-weight: 600; }
.nv-prose ul, .nv-prose ol { margin: 1rem 0; padding-left: 1.25rem; }
.nv-prose blockquote { border-left: 4px solid #e5e7eb; padding-left: 1rem; color: #374151; margin: 1rem 0; }
.nv-prose pre { background:#0b1020; color:#e5e7eb; padding:1rem; border-radius:.75rem; overflow:auto; }
.nv-prose code { background:rgba(55,65,81,.08); padding:.1rem .35rem; border-radius:.35rem; }
.nv-prose a { color:#4f46e5; text-decoration: underline; text-underline-offset: 2px; }
@layer components {
  .nv-prose table {
    @apply w-full text-sm border border-gray-200 rounded-lg overflow-hidden;
  }
  .nv-prose thead {
    @apply bg-gray-50;
  }
  .nv-prose th, .nv-prose td {
    @apply px-4 py-2 align-top;
  }
  .nv-prose tbody > tr {
    @apply border-t;
  }

  .nv-prose ul {
    @apply list-disc pl-6 space-y-1;
  }
  .nv-prose ol {
    @apply list-decimal pl-6 space-y-1;
  }

  .nv-prose blockquote {
    @apply border-l-4 border-indigo-500 pl-4 italic text-gray-700 bg-indigo-50/40 rounded;
  }

  .nv-prose pre {
    @apply bg-gray-900 text-gray-100 p-4 rounded-xl overflow-x-auto text-sm;
  }
  .nv-prose code:not(pre code) {
    @apply bg-gray-100 rounded px-1 py-0.5 text-[0.95em];
  }

  .nv-prose .note {
    @apply my-4 rounded-xl border p-4 bg-gray-50;
  }
}
