/**
 * VitalNadi Theme — Phase 2 components stylesheet
 * Loaded after main style.css so it can override safely.
 *
 * Contents:
 *   1. Legal pages (privacy, terms, disclaimer, etc.)
 *   2. Feature page (FAQ, jumplinks, status badges)
 *   3. About page (story blocks, compare table, roadmap)
 *   4. Contact page FAQ
 *   5. Category / content hub landing
 *   6. Breadcrumbs
 *   7. Search form + no-results
 *   8. Single post (author box, share buttons, post-card improvements)
 *   9. Sitemap page
 *  10. Elementor compatibility
 *  11. Sidebar widgets
 *  12. Status badges
 */

/* =====================================================================
   1. Legal pages
   ===================================================================== */
.vn-legal-page { padding-top: 0; }
.vn-legal-header {
  background: linear-gradient(135deg, rgba(13,148,136,0.06), rgba(5,150,105,0.03));
  padding: 4rem 1rem 3rem;
  text-align: center;
  border-bottom: 1px solid var(--vn-border);
}
.vn-legal-header h1 {
  font-size: clamp(1.875rem, 4vw, 2.75rem);
  font-weight: 800;
  margin: 0.5rem 0;
}
.vn-legal-date {
  font-size: 0.8125rem;
  color: var(--vn-text-faint);
  margin: 0;
}
.vn-legal-intro {
  margin-top: 1rem;
  font-size: 1.0625rem;
  color: var(--vn-text-muted);
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}
.vn-legal-toc {
  background: var(--vn-bg-muted);
  border: 1px solid var(--vn-border);
  border-radius: var(--vn-radius-lg);
  padding: 1.5rem 2rem;
  margin: 2rem 0;
}
.vn-legal-toc h2 {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--vn-text-muted);
  margin: 0 0 0.75rem;
  font-weight: 700;
}
.vn-legal-toc ol {
  margin: 0;
  padding-left: 1.25rem;
  columns: 2;
  column-gap: 2rem;
}
.vn-legal-toc li {
  margin: 0.25rem 0;
  break-inside: avoid;
}
.vn-legal-toc a {
  color: var(--vn-primary);
  text-decoration: none;
  font-size: 0.875rem;
}
.vn-legal-toc a:hover { text-decoration: underline; }
.vn-legal-body { padding: 2rem 0; }
.vn-legal-section { margin-bottom: 2.5rem; scroll-margin-top: 5rem; }
.vn-legal-section h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--vn-primary);
  display: inline-block;
}
.vn-legal-section-body { font-size: 0.9375rem; line-height: 1.7; color: var(--vn-text); }
.vn-legal-section-body p { margin: 0 0 1rem; }
.vn-legal-section-body a { color: var(--vn-primary); }
.vn-legal-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}
.vn-legal-list li {
  padding: 0.5rem 0 0.5rem 1.5rem;
  position: relative;
  font-size: 0.9375rem;
  line-height: 1.6;
}
.vn-legal-list li::before {
  content: "›";
  position: absolute;
  left: 0;
  color: var(--vn-primary);
  font-weight: 700;
}
.vn-legal-list li strong { color: var(--vn-text); }
.vn-legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  margin: 1rem 0;
  overflow-x: auto;
  display: block;
}
.vn-legal-table thead { background: var(--vn-bg-muted); }
.vn-legal-table th, .vn-legal-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border: 1px solid var(--vn-border);
}
.vn-legal-table th { font-weight: 700; }
.vn-legal-table tbody tr:nth-child(even) { background: rgba(0,0,0,0.02); }
.vn-legal-footer-note {
  margin-top: 3rem;
  padding: 1.5rem;
  background: rgba(13,148,136,0.05);
  border-left: 4px solid var(--vn-primary);
  border-radius: var(--vn-radius);
  font-size: 0.9375rem;
}

/* =====================================================================
   2. Feature page extras
   ===================================================================== */
.vn-feature-jumplinks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}
.vn-feature-jumplinks a {
  display: inline-block;
  padding: 0.4rem 0.875rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--vn-primary);
  background: rgba(13,148,136,0.08);
  border-radius: 9999px;
  text-decoration: none;
  transition: background 0.15s;
}
.vn-feature-jumplinks a:hover {
  background: rgba(13,148,136,0.18);
}
.vn-status-badge {
  display: inline-block;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.125rem 0.375rem;
  border-radius: 4px;
  margin-left: 0.375rem;
  vertical-align: middle;
}
.vn-status-released { background: rgba(5,150,105,0.15); color: #047857; }
.vn-status-beta { background: rgba(217,119,6,0.15); color: #b45309; }
.vn-status-planned { background: rgba(124,58,237,0.15); color: #6d28d9; }

.vn-screenshot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.vn-screenshot-card {
  margin: 0;
}
.vn-screenshot-frame {
  border-radius: var(--vn-radius-lg);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--vn-border);
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: transform 0.2s, box-shadow 0.2s;
}
.vn-screenshot-frame:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.vn-screenshot-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.vn-screenshot-card figcaption {
  text-align: center;
  margin-top: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--vn-text-muted);
}

/* FAQ list (shared by features, contact) */
.vn-faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.vn-faq-item {
  border: 1px solid var(--vn-border);
  border-radius: var(--vn-radius-lg);
  background: var(--vn-bg);
  overflow: hidden;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.vn-faq-item[open] {
  border-color: var(--vn-primary);
  box-shadow: 0 2px 8px rgba(13,148,136,0.08);
}
.vn-faq-item summary {
  padding: 1rem 1.25rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 3rem;
  font-size: 0.9375rem;
  color: var(--vn-text);
}
.vn-faq-item summary::-webkit-details-marker { display: none; }
.vn-faq-item summary::after {
  content: "+";
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--vn-primary);
  transition: transform 0.2s;
}
.vn-faq-item[open] summary::after {
  content: "−";
}
.vn-faq-answer {
  padding: 0 1.25rem 1.25rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--vn-text-muted);
}
.vn-faq-answer p { margin: 0; }

/* =====================================================================
   3. About page extras
   ===================================================================== */
.vn-story-block {
  max-width: 42rem;
}
.vn-story-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--vn-primary);
  background: rgba(13,148,136,0.08);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  margin-bottom: 1rem;
}
.vn-story-block h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  line-height: 1.25;
  margin: 0 0 1rem;
}
.vn-story-block p {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--vn-text);
  margin: 0 0 1.25rem;
}

.vn-privacy-pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}
.vn-privacy-pillar {
  padding: 1.25rem;
  background: var(--vn-bg);
  border: 1px solid var(--vn-border);
  border-radius: var(--vn-radius-lg);
  text-align: center;
}
.vn-privacy-pillar .emoji { font-size: 1.5rem; }
.vn-privacy-pillar strong {
  display: block;
  margin: 0.5rem 0 0.25rem;
  font-size: 0.9375rem;
}
.vn-privacy-pillar p {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--vn-text-muted);
}

.vn-compare-table-wrap { overflow-x: auto; margin: 1.5rem 0; }
.vn-compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  min-width: 600px;
}
.vn-compare-table th, .vn-compare-table td {
  padding: 0.75rem 1rem;
  text-align: center;
  border: 1px solid var(--vn-border);
}
.vn-compare-table th { background: var(--vn-bg-muted); font-weight: 700; }
.vn-compare-table th:first-child, .vn-compare-table td:first-child {
  text-align: left;
  font-weight: 600;
}
.vn-compare-table tbody tr:nth-child(even) { background: rgba(0,0,0,0.02); }
.vn-compare-table th:nth-child(2) { color: var(--vn-primary); }
.vn-check { color: #059669; font-weight: 700; }
.vn-x { color: #dc2626; font-weight: 700; }
.vn-partial { color: #d97706; font-weight: 700; }

.vn-roadmap {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1.5rem;
}
.vn-roadmap-item {
  padding: 1.25rem 1.5rem;
  border-left: 4px solid var(--vn-primary);
  background: var(--vn-bg);
  border-radius: 0 var(--vn-radius-lg) var(--vn-radius-lg) 0;
}
.vn-roadmap-item.vn-roadmap-now { border-left-color: #059669; }
.vn-roadmap-item.vn-roadmap-next { border-left-color: #0d9488; }
.vn-roadmap-item.vn-roadmap-soon { border-left-color: #d97706; }
.vn-roadmap-item.vn-roadmap-later { border-left-color: #7c3aed; }
.vn-roadmap-tag {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.625rem;
  border-radius: 4px;
  background: rgba(0,0,0,0.06);
  margin-bottom: 0.5rem;
}
.vn-roadmap-now .vn-roadmap-tag { background: rgba(5,150,105,0.15); color: #047857; }
.vn-roadmap-next .vn-roadmap-tag { background: rgba(13,148,136,0.15); color: #0f766e; }
.vn-roadmap-soon .vn-roadmap-tag { background: rgba(217,119,6,0.15); color: #b45309; }
.vn-roadmap-later .vn-roadmap-tag { background: rgba(124,58,237,0.15); color: #6d28d9; }
.vn-roadmap-item h3 {
  margin: 0 0 0.5rem;
  font-size: 1.0625rem;
  font-weight: 700;
}
.vn-roadmap-item p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--vn-text-muted);
  line-height: 1.6;
}

/* =====================================================================
   4. Category landing / content hub
   ===================================================================== */
.vn-featured-post {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  background: var(--vn-bg);
  border: 1px solid var(--vn-border);
  border-radius: var(--vn-radius-xl);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.vn-featured-post-image a { display: block; }
.vn-featured-post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 280px;
}
.vn-featured-post-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.vn-featured-label {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--vn-primary);
  color: #fff;
  padding: 0.25rem 0.625rem;
  border-radius: 4px;
  margin-bottom: 0.75rem;
}
.vn-featured-post-content h2 {
  margin: 0 0 0.75rem;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.25;
}
.vn-featured-post-content h2 a { color: var(--vn-text); text-decoration: none; }
.vn-featured-post-content h2 a:hover { color: var(--vn-primary); }
.vn-featured-excerpt {
  font-size: 0.9375rem;
  color: var(--vn-text-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}
.vn-featured-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.8125rem;
  color: var(--vn-text-faint);
  margin-bottom: 1.25rem;
}
.vn-cat-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}
.vn-cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.875rem;
  background: var(--vn-bg);
  border: 1px solid var(--vn-border);
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--vn-text);
  transition: all 0.15s;
}
.vn-cat-pill:hover {
  background: var(--vn-primary);
  color: #fff;
  border-color: var(--vn-primary);
}
.vn-cat-pill-count {
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 0.125rem 0.375rem;
  background: rgba(0,0,0,0.08);
  border-radius: 9999px;
}
.vn-cat-pill:hover .vn-cat-pill-count { background: rgba(255,255,255,0.25); }

@media (max-width: 768px) {
  .vn-featured-post { grid-template-columns: 1fr; }
  .vn-featured-post-image img { min-height: 220px; }
  .vn-featured-post-content { padding: 1.5rem; }
}

/* =====================================================================
   5. Breadcrumbs
   ===================================================================== */
.vn-breadcrumbs {
  font-size: 0.8125rem;
  color: var(--vn-text-muted);
  padding: 0.75rem 0;
}
.vn-breadcrumbs a {
  color: var(--vn-text-muted);
  text-decoration: none;
}
.vn-breadcrumbs a:hover { color: var(--vn-primary); }
.vn-breadcrumbs .sep {
  margin: 0 0.5rem;
  color: var(--vn-text-faint);
}
.vn-breadcrumbs .current {
  color: var(--vn-text);
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 280px;
  display: inline-block;
  vertical-align: bottom;
}
.vn-breadcrumbs-single {
  background: var(--vn-bg-muted);
  border-bottom: 1px solid var(--vn-border);
  margin-bottom: 2rem;
}
.vn-breadcrumbs-single .section-inner { padding: 0.75rem 1rem; }

/* =====================================================================
   6. Search form + no-results
   ===================================================================== */
.vn-search-form { width: 100%; }
.vn-search-input-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--vn-bg);
  border: 1.5px solid var(--vn-border);
  border-radius: var(--vn-radius-lg);
  padding: 0.5rem 0.5rem 0.5rem 1rem;
  transition: border-color 0.15s;
}
.vn-search-input-wrap:focus-within {
  border-color: var(--vn-primary);
  box-shadow: 0 0 0 3px rgba(13,148,136,0.1);
}
.vn-search-input-wrap svg { color: var(--vn-text-muted); flex-shrink: 0; }
.vn-search-field {
  flex: 1;
  border: 0;
  background: transparent;
  outline: none;
  font-size: 1rem;
  color: var(--vn-text);
  padding: 0.5rem 0;
  min-width: 0;
}
.vn-search-submit {
  background: var(--vn-primary);
  color: #fff;
  border: 0;
  border-radius: var(--vn-radius);
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
  white-space: nowrap;
}
.vn-search-submit:hover { background: var(--vn-primary-dark); }

.vn-search-refine {
  margin-bottom: 2rem;
  max-width: 540px;
}
.vn-blog-search {
  margin-bottom: 2rem;
  max-width: 540px;
}

.vn-no-results {
  text-align: center;
  padding: 3rem 1rem;
}
.vn-no-results-icon {
  color: var(--vn-text-faint);
  margin-bottom: 1rem;
}
.vn-no-results h2 {
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 0 0.5rem;
}
.vn-no-results p {
  color: var(--vn-text-muted);
  max-width: 36rem;
  margin: 0 auto 2rem;
}
.vn-search-suggestions h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 1rem;
}

/* =====================================================================
   7. Single post: author box + share buttons
   ===================================================================== */
.author-box {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 1.5rem;
  padding: 1.5rem;
  margin-top: 3rem;
  background: var(--vn-bg-muted);
  border-radius: var(--vn-radius-xl);
  border: 1px solid var(--vn-border);
}
.author-avatar img {
  border-radius: 50%;
  display: block;
}
.author-label {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--vn-text-muted);
}
.author-name {
  margin: 0.25rem 0 0.5rem;
  font-size: 1.125rem;
  font-weight: 700;
}
.author-name a { color: var(--vn-text); text-decoration: none; }
.author-name a:hover { color: var(--vn-primary); }
.author-bio {
  font-size: 0.875rem;
  color: var(--vn-text-muted);
  line-height: 1.6;
  margin: 0 0 0.75rem;
}
.author-bio p { margin: 0; }
.author-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.8125rem;
}
.author-posts-count {
  color: var(--vn-text-muted);
  font-weight: 600;
}
.author-view-all {
  color: var(--vn-primary);
  text-decoration: none;
  font-weight: 600;
}
.author-view-all:hover { text-decoration: underline; }

@media (max-width: 600px) {
  .author-box { grid-template-columns: 1fr; text-align: center; }
  .author-avatar img { margin: 0 auto; }
  .author-meta { justify-content: center; }
}

.post-share {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--vn-border);
}
.post-share > strong {
  display: block;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--vn-text-muted);
  margin-bottom: 0.75rem;
}
.post-share-buttons {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 0.875rem;
  background: var(--vn-bg-muted);
  border: 1px solid var(--vn-border);
  border-radius: var(--vn-radius);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--vn-text);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s;
}
.share-btn:hover {
  background: var(--vn-primary);
  color: #fff;
  border-color: var(--vn-primary);
}
.share-btn svg { flex-shrink: 0; }
.share-twitter:hover { background: #000; border-color: #000; }
.share-facebook:hover { background: #1877f2; border-color: #1877f2; }
.share-whatsapp:hover { background: #25d366; border-color: #25d366; }
.share-linkedin:hover { background: #0a66c2; border-color: #0a66c2; }
.share-email:hover { background: #6b7280; border-color: #6b7280; }

/* Post card improvements */
.post-card-thumb-placeholder {
  background: linear-gradient(135deg, var(--vn-bg-muted), var(--vn-bg));
  display: flex;
  align-items: center;
  justify-content: center;
}
.post-card-thumb-emoji { font-size: 2.5rem; }
.post-card-meta {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  font-size: 0.75rem;
  color: var(--vn-text-faint);
  flex-wrap: wrap;
}
.post-card-author {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}
.post-card-author img { border-radius: 50%; }
.post-card-readtime::before {
  content: "·";
  margin-right: 0.375rem;
}

/* =====================================================================
   8. Sitemap page
   ===================================================================== */
.vn-sitemap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
}
.vn-sitemap-col h2 {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--vn-primary);
  margin: 0 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--vn-bg-muted);
}
.vn-sitemap-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.vn-sitemap-list li {
  padding: 0.375rem 0;
  font-size: 0.875rem;
}
.vn-sitemap-list ul {
  list-style: none;
  padding-left: 1rem;
  margin: 0.25rem 0 0.5rem;
}
.vn-sitemap-list ul li {
  font-size: 0.8125rem;
  color: var(--vn-text-muted);
}
.vn-sitemap-list a {
  color: var(--vn-text);
  text-decoration: none;
}
.vn-sitemap-list a:hover { color: var(--vn-primary); }
.vn-sitemap-count {
  font-size: 0.75rem;
  color: var(--vn-text-faint);
  margin-left: 0.25rem;
}
.vn-sitemap-date {
  display: block;
  font-size: 0.6875rem;
  color: var(--vn-text-faint);
  margin-top: 0.125rem;
}
.vn-sitemap-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
}
.vn-sitemap-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.625rem;
  background: var(--vn-bg-muted);
  border-radius: 9999px;
  color: var(--vn-text-muted);
  text-decoration: none;
}
.vn-sitemap-tag:hover {
  background: var(--vn-primary);
  color: #fff;
}
.vn-sitemap-footer {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--vn-border);
  text-align: center;
  font-size: 0.875rem;
  color: var(--vn-text-muted);
}
.vn-sitemap-footer p { margin: 0.5rem 0; }
.vn-sitemap-footer a { color: var(--vn-primary); word-break: break-all; }

/* =====================================================================
   9. Elementor templates
   ===================================================================== */
.vn-full-width-template,
.vn-canvas-template {
  width: 100%;
}
.vn-full-width-content,
.vn-canvas-content {
  max-width: 100%;
}
.vn-page-header {
  background: linear-gradient(135deg, rgba(13,148,136,0.06), rgba(5,150,105,0.03));
}

/* =====================================================================
   10. Sidebar widgets
   ===================================================================== */
.sidebar .widget {
  margin-bottom: 2rem;
}
.sidebar .widget-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--vn-text-muted);
  margin: 0 0 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--vn-border);
}
.sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sidebar ul li {
  padding: 0.375rem 0;
  font-size: 0.875rem;
  border-bottom: 1px dashed var(--vn-border);
}
.sidebar ul li:last-child { border-bottom: 0; }
.sidebar ul li a { color: var(--vn-text); text-decoration: none; }
.sidebar ul li a:hover { color: var(--vn-primary); }
.sidebar .post-date, .sidebar .cat-count {
  display: block;
  font-size: 0.75rem;
  color: var(--vn-text-faint);
}

/* =====================================================================
   11. Section helpers
   ===================================================================== */
.section-tight { padding-top: 0; padding-bottom: 0; }
.section-muted { background: var(--vn-bg-muted); }
.section-gradient {
  background: linear-gradient(135deg, rgba(13,148,136,0.06), rgba(5,150,105,0.03));
}
.section-primary {
  background: linear-gradient(135deg, var(--vn-primary), var(--vn-primary-dark));
  color: #fff;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Print styles for legal pages */
@media print {
  .site-nav, .site-footer, .vn-legal-toc, .vn-breadcrumbs, .vn-legal-footer-note { display: none !important; }
  .vn-legal-page { padding: 0 !important; }
  .vn-legal-header { background: none !important; padding: 1rem 0 !important; }
  .vn-legal-section { page-break-inside: avoid; }
  body { font-size: 11pt; line-height: 1.5; }
}

/* =====================================================================
   12. Feature Ecosystem (homepage)
   VitalNadi logo at center + 8 surrounding feature pillars
   connected by SVG lines. Premium startup-style diagram.
   ===================================================================== */
.vn-ecosystem-section { background: linear-gradient(180deg, transparent, rgba(13, 148, 136, 0.04), transparent); }

.vn-ecosystem-wrap {
  position: relative;
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  aspect-ratio: 1 / 1;
}

/* The SVG lines sit behind the nodes */
.vn-ecosystem-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}
.vn-ecosystem-svg line {
  stroke: rgba(13, 148, 136, 0.25);
  stroke-width: 1.5;
  stroke-dasharray: 4 4;
}
html.dark .vn-ecosystem-svg line { stroke: rgba(45, 212, 191, 0.25); }

/* Center logo */
.vn-ecosystem-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  width: 168px;
  height: 168px;
  border-radius: var(--vn-radius-full);
  background: linear-gradient(135deg, var(--vn-primary), var(--vn-accent-dark));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: #fff;
  box-shadow:
    0 0 0 8px rgba(13, 148, 136, 0.08),
    0 0 0 16px rgba(13, 148, 136, 0.04),
    0 25px 50px rgba(13, 148, 136, 0.25);
  text-align: center;
  padding: 1rem;
}
.vn-ecosystem-center .vn-ecosystem-logo {
  width: 56px;
  height: 56px;
  border-radius: var(--vn-radius-lg);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.vn-ecosystem-center .vn-ecosystem-logo img { width: 100%; height: 100%; object-fit: cover; }
.vn-ecosystem-center strong { font-size: 1rem; font-weight: 800; line-height: 1.1; letter-spacing: -0.01em; }
.vn-ecosystem-center span { font-size: 0.6875rem; opacity: 0.85; line-height: 1.2; }

/* Surrounding feature nodes — positioned via inline style on each node */
.vn-ecosystem-node {
  position: absolute;
  z-index: 2;
  width: 124px;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.375rem;
  padding: 0.625rem 0.5rem;
  background: var(--vn-bg-card);
  border: 1px solid var(--vn-border);
  border-radius: var(--vn-radius-lg);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.vn-ecosystem-node:hover {
  transform: translate(-50%, -50%) translateY(-3px);
  box-shadow: 0 12px 28px rgba(13, 148, 136, 0.18);
}
html.dark .vn-ecosystem-node {
  background: var(--vn-bg-card);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.vn-ecosystem-node .vn-ecosystem-node-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--vn-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
}
.vn-ecosystem-node .vn-ecosystem-node-icon.teal   { background: rgba(13, 148, 136, 0.12);  color: var(--vn-primary); }
.vn-ecosystem-node .vn-ecosystem-node-icon.blue   { background: rgba(59, 130, 246, 0.12);  color: #2563eb; }
.vn-ecosystem-node .vn-ecosystem-node-icon.violet { background: rgba(139, 92, 246, 0.12);  color: #8b5cf6; }
.vn-ecosystem-node .vn-ecosystem-node-icon.amber  { background: rgba(217, 119, 6, 0.12);   color: #d97706; }
.vn-ecosystem-node .vn-ecosystem-node-icon.rose   { background: rgba(244, 63, 94, 0.12);   color: #e11d48; }
.vn-ecosystem-node .vn-ecosystem-node-icon.emerald{ background: rgba(16, 185, 129, 0.12);  color: #059669; }
.vn-ecosystem-node .vn-ecosystem-node-icon.indigo { background: rgba(79, 70, 229, 0.12);   color: #4f46e5; }
.vn-ecosystem-node .vn-ecosystem-node-icon.cyan   { background: rgba(6, 182, 212, 0.12);   color: #0891b2; }
html.dark .vn-ecosystem-node .vn-ecosystem-node-icon.teal   { color: #2dd4bf; }
html.dark .vn-ecosystem-node .vn-ecosystem-node-icon.blue   { color: #60a5fa; }
html.dark .vn-ecosystem-node .vn-ecosystem-node-icon.violet { color: #a78bfa; }
html.dark .vn-ecosystem-node .vn-ecosystem-node-icon.amber  { color: #fbbf24; }
html.dark .vn-ecosystem-node .vn-ecosystem-node-icon.rose   { color: #fb7185; }
html.dark .vn-ecosystem-node .vn-ecosystem-node-icon.emerald{ color: #34d399; }
html.dark .vn-ecosystem-node .vn-ecosystem-node-icon.indigo { color: #818cf8; }
html.dark .vn-ecosystem-node .vn-ecosystem-node-icon.cyan   { color: #22d3ee; }

.vn-ecosystem-node strong {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--vn-text);
  line-height: 1.2;
  text-align: center;
}
.vn-ecosystem-node small {
  font-size: 0.625rem;
  color: var(--vn-text-muted);
  line-height: 1.2;
  text-align: center;
}

/* Mobile-only fallback grid (hidden on desktop, shown on mobile) */
.vn-ecosystem-grid { display: none; }

/* Mobile: switch to vertical stack (no diagram, just a clean list with central logo at top) */
@media (max-width: 768px) {
  .vn-ecosystem-wrap {
    aspect-ratio: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem 0;
  }
  .vn-ecosystem-svg { display: none; }
  .vn-ecosystem-center {
    position: static;
    transform: none;
    width: 140px;
    height: 140px;
  }
  .vn-ecosystem-center .vn-ecosystem-logo { width: 48px; height: 48px; }
  .vn-ecosystem-center strong { font-size: 0.875rem; }
  .vn-ecosystem-center span { font-size: 0.625rem; }

  .vn-ecosystem-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    width: 100%;
    max-width: 360px;
  }
  .vn-ecosystem-node {
    position: static;
    transform: none;
    width: 100%;
    flex-direction: row;
    gap: 0.5rem;
    padding: 0.625rem 0.75rem;
    text-align: left;
    align-items: center;
  }
  .vn-ecosystem-node strong { text-align: left; font-size: 0.8125rem; }
  .vn-ecosystem-node small { text-align: left; }
  .vn-ecosystem-node .vn-ecosystem-node-icon { width: 32px; height: 32px; flex-shrink: 0; }
}
@media (max-width: 380px) {
  .vn-ecosystem-grid { grid-template-columns: 1fr; }
}

/* =====================================================================
   13. App Store-style alternating showcase blocks (homepage)
   Each showcase = large screenshot + checkmark feature list + CTA.
   Alternates left/right on desktop, stacks on mobile.
   ===================================================================== */
.vn-showcase-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 6rem;
}
.vn-showcase-row:last-child { margin-bottom: 0; }
.vn-showcase-row.vn-showcase-reverse .vn-showcase-text { order: 2; }
.vn-showcase-row.vn-showcase-reverse .vn-showcase-image { order: 1; }

.vn-showcase-text { max-width: 32rem; }
.vn-showcase-text .vn-showcase-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.875rem;
  background: rgba(13, 148, 136, 0.08);
  color: var(--vn-primary);
  border-radius: var(--vn-radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.vn-showcase-text .vn-showcase-eyebrow.blue   { background: rgba(59, 130, 246, 0.08); color: #2563eb; }
.vn-showcase-text .vn-showcase-eyebrow.violet { background: rgba(139, 92, 246, 0.08); color: #8b5cf6; }
.vn-showcase-text .vn-showcase-eyebrow.amber  { background: rgba(217, 119, 6, 0.08); color: #d97706; }
html.dark .vn-showcase-text .vn-showcase-eyebrow { color: #2dd4bf; }
html.dark .vn-showcase-text .vn-showcase-eyebrow.blue   { color: #60a5fa; }
html.dark .vn-showcase-text .vn-showcase-eyebrow.violet { color: #a78bfa; }
html.dark .vn-showcase-text .vn-showcase-eyebrow.amber  { color: #fbbf24; }

.vn-showcase-text h3 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 1rem 0;
  color: var(--vn-text);
}
.vn-showcase-text > p.vn-showcase-lede {
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--vn-text-muted);
  margin: 0 0 1.5rem 0;
}

.vn-showcase-features {
  list-style: none;
  margin: 0 0 1.75rem 0;
  padding: 0;
  display: grid;
  gap: 0.625rem;
}
.vn-showcase-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.9375rem;
  color: var(--vn-text);
  line-height: 1.5;
}
.vn-showcase-features li svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--vn-primary);
  background: rgba(13, 148, 136, 0.1);
  border-radius: var(--vn-radius-full);
  padding: 2px;
}
html.dark .vn-showcase-features li svg { color: #2dd4bf; background: rgba(45, 212, 191, 0.15); }

.vn-showcase-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--vn-primary);
  text-decoration: none;
  padding: 0.625rem 1.25rem;
  border: 1.5px solid rgba(13, 148, 136, 0.3);
  border-radius: var(--vn-radius-full);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.vn-showcase-cta:hover {
  background: rgba(13, 148, 136, 0.06);
  border-color: var(--vn-primary);
  transform: translateX(3px);
}
html.dark .vn-showcase-cta { color: #2dd4bf; border-color: rgba(45, 212, 191, 0.35); }
html.dark .vn-showcase-cta:hover { background: rgba(45, 212, 191, 0.08); border-color: #2dd4bf; }

/* Image side: phone-frame mockup with the actual screenshot inside */
.vn-showcase-image {
  position: relative;
  display: flex;
  justify-content: center;
}
.vn-showcase-phone {
  position: relative;
  width: 100%;
  max-width: 360px;
  aspect-ratio: 9 / 19.5;
  background: #1a1a1a;
  border-radius: 2.5rem;
  padding: 0.625rem;
  box-shadow:
    0 30px 60px -15px rgba(0, 0, 0, 0.25),
    0 0 0 1px rgba(0, 0, 0, 0.08),
    inset 0 0 0 2px rgba(255, 255, 255, 0.06);
}
.vn-showcase-phone::before {
  content: "";
  position: absolute;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 22px;
  background: #1a1a1a;
  border-radius: 0 0 14px 14px;
  z-index: 3;
}
.vn-showcase-phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 2rem;
  background: #f9fafb;
}

/* Decorative floating badge near phone */
.vn-showcase-image .vn-showcase-float {
  position: absolute;
  z-index: 4;
  background: var(--vn-bg-card);
  border: 1px solid var(--vn-border);
  border-radius: var(--vn-radius-lg);
  padding: 0.625rem 0.875rem;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--vn-text);
}
html.dark .vn-showcase-image .vn-showcase-float {
  background: var(--vn-bg-card);
  border-color: rgba(255, 255, 255, 0.08);
}
.vn-showcase-image .vn-showcase-float.teal   { color: var(--vn-primary); }
.vn-showcase-image .vn-showcase-float.blue   { color: #2563eb; }
.vn-showcase-image .vn-showcase-float.amber  { color: #d97706; }
.vn-showcase-image .vn-showcase-float.violet { color: #8b5cf6; }
.vn-showcase-image .vn-showcase-float .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}
.vn-showcase-image.vn-float-tr .vn-showcase-float { top: 1.5rem; right: -1rem; }
.vn-showcase-image.vn-float-bl .vn-showcase-float { bottom: 2rem; left: -1rem; }

/* Mobile: stack image on top, text below */
@media (max-width: 900px) {
  .vn-showcase-row {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-bottom: 4rem;
  }
  .vn-showcase-row.vn-showcase-reverse .vn-showcase-text { order: 2; }
  .vn-showcase-row.vn-showcase-reverse .vn-showcase-image { order: 1; }
  .vn-showcase-text { max-width: none; }
  .vn-showcase-phone { max-width: 280px; }
  .vn-showcase-image.vn-float-tr .vn-showcase-float { right: 0; }
  .vn-showcase-image.vn-float-bl .vn-showcase-float { left: 0; }
}

/* =====================================================================
   14. Magazine-style Blog Layout (Kicker-inspired)
   A clean editorial layout: hero featured post + 2-col sidebar posts,
   then section blocks with category headers and 4-column post grids.
   ===================================================================== */

/* Reset blog-layout to use container widths */
.blog-layout {
  max-width: var(--vn-container);
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
  gap: 2.5rem;
}
@media (min-width: 1024px) {
  .blog-layout { grid-template-columns: minmax(0, 1fr) 320px; padding: 2.5rem 2rem 5rem; }
}

/* Magazine header — page title row */
.vn-mag-header {
  margin-bottom: 2rem;
  border-bottom: 2px solid var(--vn-text);
  padding-bottom: 1rem;
}
.vn-mag-header h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin: 0 0 0.25rem 0;
  color: var(--vn-text);
}
.vn-mag-header .vn-mag-tagline {
  font-size: 0.9375rem;
  color: var(--vn-text-muted);
  margin: 0;
}
html.dark .vn-mag-header { border-bottom-color: #fff; }

/* Category pills row */
.vn-cat-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--vn-border);
}
.vn-cat-pills a {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.875rem;
  border-radius: var(--vn-radius-full);
  background: var(--vn-bg-muted);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--vn-text);
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}
.vn-cat-pills a:hover {
  background: var(--vn-primary);
  color: #fff;
}
.vn-cat-pills a .vn-cat-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}
html.dark .vn-cat-pills a { background: rgba(255,255,255,0.06); }

/* Featured post hero — large card on left, 2 small cards on right */
.vn-featured-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: 3rem;
}
@media (min-width: 768px) {
  .vn-featured-grid { grid-template-columns: 1.5fr 1fr; gap: 1.5rem; }
}

.vn-featured-main {
  position: relative;
  border-radius: var(--vn-radius-xl);
  overflow: hidden;
  background: var(--vn-bg-card);
  border: 1px solid var(--vn-border);
  aspect-ratio: 16 / 11;
  display: block;
  text-decoration: none;
  color: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.vn-featured-main:hover { transform: translateY(-3px); box-shadow: 0 20px 40px rgba(0,0,0,0.15); }
.vn-featured-main img,
.vn-featured-main .vn-featured-placeholder {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.vn-featured-main .vn-featured-placeholder {
  background: linear-gradient(135deg, var(--vn-primary), var(--vn-accent-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}
.vn-featured-main::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,0.85) 100%);
  pointer-events: none;
}
.vn-featured-main .vn-featured-content {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 1.5rem;
}
.vn-featured-main .vn-featured-badge {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.625rem;
  border-radius: var(--vn-radius-full);
  background: var(--vn-primary);
  color: #fff;
  margin-bottom: 0.625rem;
}
.vn-featured-main h2 {
  font-size: clamp(1.25rem, 2.5vw, 1.625rem);
  font-weight: 800;
  line-height: 1.25;
  color: #fff;
  margin: 0 0 0.5rem 0;
  letter-spacing: -0.01em;
}
.vn-featured-main .vn-featured-meta {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.85);
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
}

/* Side featured posts (2 stacked cards) */
.vn-featured-side {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 1.25rem;
}
.vn-featured-side-card {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 0.875rem;
  padding: 0.75rem;
  background: var(--vn-bg-card);
  border: 1px solid var(--vn-border);
  border-radius: var(--vn-radius-lg);
  text-decoration: none;
  color: var(--vn-text);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  align-items: center;
}
.vn-featured-side-card:hover { transform: translateX(3px); box-shadow: 0 8px 20px rgba(0,0,0,0.06); }
.vn-featured-side-card .vn-side-thumb {
  width: 120px;
  height: 90px;
  border-radius: var(--vn-radius);
  overflow: hidden;
  background: var(--vn-bg-muted);
  flex-shrink: 0;
}
.vn-featured-side-card .vn-side-thumb img,
.vn-featured-side-card .vn-side-thumb-emoji {
  width: 100%; height: 100%;
  object-fit: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}
.vn-featured-side-card .vn-side-body { min-width: 0; }
.vn-featured-side-card .vn-side-cat {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.25rem;
}
.vn-featured-side-card h3 {
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 0.375rem 0;
  color: var(--vn-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.vn-featured-side-card .vn-side-meta {
  font-size: 0.6875rem;
  color: var(--vn-text-faint);
}

/* Section header (e.g., "Latest Posts" / "Heart Health") */
.vn-mag-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.625rem;
  border-bottom: 2px solid var(--vn-text);
}
.vn-mag-section-head h2 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 800;
  margin: 0;
  color: var(--vn-text);
  letter-spacing: -0.01em;
}
.vn-mag-section-head .vn-mag-section-sub {
  font-size: 0.8125rem;
  color: var(--vn-text-muted);
  font-weight: 500;
  white-space: nowrap;
}
html.dark .vn-mag-section-head { border-bottom-color: #fff; }

/* Magazine post card — 4-column grid */
.vn-mag-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 3rem;
}
@media (min-width: 540px) { .vn-mag-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .vn-mag-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1200px) { .vn-mag-grid { grid-template-columns: repeat(4, 1fr); } }

.vn-mag-card {
  display: flex;
  flex-direction: column;
  background: var(--vn-bg-card);
  border-radius: var(--vn-radius-lg);
  overflow: hidden;
  border: 1px solid var(--vn-border);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-decoration: none;
  color: var(--vn-text);
}
.vn-mag-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(0,0,0,0.08); }
.vn-mag-card-thumb {
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: var(--vn-bg-muted);
}
.vn-mag-card-thumb img,
.vn-mag-card-thumb .vn-mag-card-emoji {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.vn-mag-card:hover .vn-mag-card-thumb img { transform: scale(1.05); }
.vn-mag-card-thumb .vn-mag-card-emoji {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  background: linear-gradient(135deg, var(--vn-bg-muted), var(--vn-bg));
}
.vn-mag-card-badge {
  position: absolute;
  top: 0.625rem;
  left: 0.625rem;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.1875rem 0.5rem;
  border-radius: var(--vn-radius-full);
  color: #fff;
  background: var(--vn-primary);
}
.vn-mag-card-body { padding: 0.875rem 1rem 1rem; display: flex; flex-direction: column; flex: 1; }
.vn-mag-card-body h3 {
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 0.5rem 0;
  color: var(--vn-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  letter-spacing: -0.005em;
}
.vn-mag-card-body h3 a { color: inherit; text-decoration: none; }
.vn-mag-card-body h3 a:hover { color: var(--vn-primary); }
.vn-mag-card-excerpt {
  font-size: 0.8125rem;
  color: var(--vn-text-muted);
  line-height: 1.5;
  margin: 0 0 0.75rem 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.vn-mag-card-meta {
  font-size: 0.6875rem;
  color: var(--vn-text-faint);
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
  margin-top: auto;
}
.vn-mag-card-meta .vn-mag-card-author { font-weight: 600; color: var(--vn-text-muted); }

/* Newsletter strip (between sections) */
.vn-newsletter-strip {
  margin: 2rem 0 3rem;
  padding: 1.75rem 2rem;
  border-radius: var(--vn-radius-xl);
  background: linear-gradient(135deg, var(--vn-primary), var(--vn-accent-dark));
  color: #fff;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: center;
}
@media (min-width: 768px) {
  .vn-newsletter-strip { grid-template-columns: 1.5fr 1fr; }
}
.vn-newsletter-strip h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0 0 0.375rem 0;
  color: #fff;
}
.vn-newsletter-strip p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.85);
  margin: 0;
  line-height: 1.5;
}
.vn-newsletter-form {
  display: flex;
  gap: 0.5rem;
  background: rgba(255,255,255,0.15);
  border-radius: var(--vn-radius-full);
  padding: 0.25rem;
}
.vn-newsletter-form input[type="email"] {
  flex: 1;
  border: 0;
  background: transparent;
  padding: 0.625rem 1rem;
  font-size: 0.875rem;
  color: #fff;
  min-width: 0;
}
.vn-newsletter-form input[type="email"]::placeholder { color: rgba(255,255,255,0.7); }
.vn-newsletter-form input[type="email"]:focus { outline: 2px solid rgba(255,255,255,0.4); border-radius: var(--vn-radius-full); }
.vn-newsletter-form button {
  border: 0;
  background: #fff;
  color: var(--vn-primary);
  font-weight: 700;
  font-size: 0.875rem;
  padding: 0.5rem 1.25rem;
  border-radius: var(--vn-radius-full);
  cursor: pointer;
  transition: transform 0.2s ease;
}
.vn-newsletter-form button:hover { transform: scale(1.03); }

/* Pagination polish */
.vn-pagination {
  margin-top: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--vn-border);
  display: flex;
  justify-content: center;
}
.vn-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 0.75rem;
  border-radius: var(--vn-radius);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--vn-text);
  text-decoration: none;
  border: 1px solid var(--vn-border);
  background: var(--vn-bg-card);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.vn-pagination .page-numbers:hover { border-color: var(--vn-primary); color: var(--vn-primary); }
.vn-pagination .page-numbers.current { background: var(--vn-primary); color: #fff; border-color: var(--vn-primary); }
.vn-pagination .page-numbers.prev, .vn-pagination .page-numbers.next { gap: 0.375rem; }

/* Sidebar polish — Kicker-style widget cards */
.sidebar .widget {
  background: var(--vn-bg-card);
  border: 1px solid var(--vn-border);
  border-radius: var(--vn-radius-lg);
  padding: 1.125rem;
  margin-bottom: 1rem;
  font-size: 0.8125rem;
}
/* Aggressively target ALL widget headings — including default WP widgets
   (Recent Posts, Recent Comments, Archives, Categories, Meta) that use
   h2/h3 with various classes. Forces consistent small-caps styling. */
.sidebar .widget-title,
.sidebar .widget h2,
.sidebar .widget h3,
.sidebar .widget .widgettitle,
.sidebar .widget .widget-title-top {
  font-size: 0.6875rem !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  color: var(--vn-text) !important;
  margin: 0 0 0.75rem 0 !important;
  padding-bottom: 0.5rem !important;
  border-bottom: 2px solid var(--vn-text) !important;
  line-height: 1.2 !important;
}
html.dark .sidebar .widget-title,
html.dark .sidebar .widget h2,
html.dark .sidebar .widget h3,
html.dark .sidebar .widget .widgettitle { border-bottom-color: rgba(255,255,255,0.6) !important; }

.sidebar ul { list-style: none; padding: 0; margin: 0; }
.sidebar ul li {
  padding: 0.4375rem 0;
  border-bottom: 1px solid var(--vn-border);
  font-size: 0.8125rem;
  line-height: 1.4;
  color: var(--vn-text-muted);
}
.sidebar ul li:last-child { border-bottom: 0; }
.sidebar ul li a { color: var(--vn-text); text-decoration: none; font-weight: 500; }
.sidebar ul li a:hover { color: var(--vn-primary); }
.sidebar .post-date, .sidebar .cat-count,
.sidebar ul li .post-date,
.sidebar ul li .comment-author-link,
.sidebar ul li .children {
  display: block;
  font-size: 0.6875rem;
  color: var(--vn-text-faint);
  margin-top: 0.125rem;
  font-weight: 400;
}
/* Search form in sidebar */
.sidebar .search-form,
.sidebar .widget_search form {
  display: flex;
  gap: 0.375rem;
  margin-top: 0.25rem;
}
.sidebar .search-field,
.sidebar .widget_search input[type="search"],
.sidebar .widget_search input[type="text"] {
  flex: 1;
  min-width: 0;
  padding: 0.4375rem 0.625rem;
  border: 1px solid var(--vn-border);
  border-radius: var(--vn-radius);
  font-size: 0.75rem;
  background: var(--vn-bg);
  color: var(--vn-text);
}
.sidebar .search-submit,
.sidebar .widget_search button,
.sidebar .widget_search input[type="submit"] {
  padding: 0.4375rem 0.75rem;
  background: var(--vn-primary);
  color: #fff;
  border: none;
  border-radius: var(--vn-radius);
  font-size: 0.6875rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}
/* Tag cloud in sidebar */
.sidebar .tagcloud,
.sidebar .widget_tag_cloud .tagcloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3125rem;
}
.sidebar .tagcloud a,
.sidebar .widget_tag_cloud .tagcloud a {
  font-size: 0.6875rem !important;
  padding: 0.1875rem 0.5rem;
  background: var(--vn-bg-muted);
  border-radius: var(--vn-radius-full);
  text-decoration: none;
  color: var(--vn-text);
}
.sidebar .tagcloud a:hover { background: var(--vn-primary); color: #fff; }
/* Calendar widget */
.sidebar .widget_calendar #wp-calendar { font-size: 0.6875rem; }
.sidebar .widget_calendar caption { font-size: 0.75rem; font-weight: 700; margin-bottom: 0.5rem; }
/* Meta widget links */
.sidebar .widget_meta ul li a,
.sidebar .widget_recent_comments ul li a,
.sidebar .widget_rss ul li a { font-size: 0.8125rem; }
html.dark .sidebar .widget { background: rgba(255,255,255,0.02); border-color: rgba(255,255,255,0.06); }

/* =====================================================================
   15. Features page v2 — Dashboard-card style with pill buttons
   Each category is one large card with header + grid of pill-shaped
   feature buttons inside. Cleaner than the old alternating-bg sections.
   ===================================================================== */
.vn-feat-v2-hero {
  padding: 3rem 1.25rem 2rem;
  text-align: center;
  background: linear-gradient(180deg, rgba(13,148,136,0.04), transparent);
  border-bottom: 1px solid var(--vn-border);
}
.vn-feat-v2-hero h1 {
  font-size: clamp(1.875rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem 0;
  color: var(--vn-text);
}
.vn-feat-v2-hero h1 .accent { color: var(--vn-primary); }
.vn-feat-v2-hero p {
  font-size: 1rem;
  color: var(--vn-text-muted);
  max-width: 42rem;
  margin: 0 auto 1.5rem;
  line-height: 1.6;
}
.vn-feat-v2-stats {
  display: inline-flex;
  gap: 2rem;
  padding: 0.875rem 1.75rem;
  background: var(--vn-bg-card);
  border: 1px solid var(--vn-border);
  border-radius: var(--vn-radius-full);
  font-size: 0.875rem;
  color: var(--vn-text-muted);
  flex-wrap: wrap;
  justify-content: center;
}
.vn-feat-v2-stats strong { color: var(--vn-text); font-weight: 800; }

.vn-feat-v2-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin: 2.5rem 0;
}
@media (min-width: 768px) {
  .vn-feat-v2-grid { grid-template-columns: repeat(2, 1fr); }
}

.vn-feat-v2-card {
  background: var(--vn-bg-card);
  border: 1px solid var(--vn-border);
  border-radius: var(--vn-radius-xl);
  padding: 1.75rem;
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}
.vn-feat-v2-card:hover {
  box-shadow: 0 16px 40px rgba(0,0,0,0.06);
  transform: translateY(-2px);
  border-color: rgba(13,148,136,0.3);
}
html.dark .vn-feat-v2-card {
  background: rgba(255,255,255,0.02);
  border-color: rgba(255,255,255,0.06);
}

.vn-feat-v2-card-head {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--vn-border);
}
.vn-feat-v2-card-head .vn-feat-v2-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--vn-radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.vn-feat-v2-card-head .vn-feat-v2-icon.teal    { background: rgba(13,148,136,0.12);  color: var(--vn-primary); }
.vn-feat-v2-card-head .vn-feat-v2-icon.blue    { background: rgba(59,130,246,0.12);  color: #2563eb; }
.vn-feat-v2-card-head .vn-feat-v2-icon.violet  { background: rgba(139,92,246,0.12);  color: #8b5cf6; }
.vn-feat-v2-card-head .vn-feat-v2-icon.amber   { background: rgba(217,119,6,0.12);   color: #d97706; }
.vn-feat-v2-card-head .vn-feat-v2-icon.emerald { background: rgba(5,150,105,0.12);   color: #059669; }
.vn-feat-v2-card-head .vn-feat-v2-icon.rose    { background: rgba(225,29,72,0.12);   color: #e11d48; }
html.dark .vn-feat-v2-card-head .vn-feat-v2-icon.teal    { color: #2dd4bf; }
html.dark .vn-feat-v2-card-head .vn-feat-v2-icon.blue    { color: #60a5fa; }
html.dark .vn-feat-v2-card-head .vn-feat-v2-icon.violet  { color: #a78bfa; }
html.dark .vn-feat-v2-card-head .vn-feat-v2-icon.amber   { color: #fbbf24; }
html.dark .vn-feat-v2-card-head .vn-feat-v2-icon.emerald { color: #34d399; }
html.dark .vn-feat-v2-card-head .vn-feat-v2-icon.rose    { color: #fb7185; }

.vn-feat-v2-card-head h2 {
  font-size: 1.1875rem;
  font-weight: 800;
  margin: 0 0 0.25rem 0;
  letter-spacing: -0.01em;
  color: var(--vn-text);
}
.vn-feat-v2-card-head p {
  font-size: 0.8125rem;
  color: var(--vn-text-muted);
  margin: 0;
  line-height: 1.5;
}

/* Pill buttons grid inside each card */
.vn-feat-v2-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.vn-feat-v2-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 0.875rem;
  background: var(--vn-bg-muted);
  border: 1px solid var(--vn-border);
  border-radius: var(--vn-radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--vn-text);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.vn-feat-v2-pill:hover {
  background: var(--vn-primary);
  border-color: var(--vn-primary);
  color: #fff;
}
.vn-feat-v2-pill .emoji { font-size: 1rem; line-height: 1; }
.vn-feat-v2-pill .vn-status-badge {
  font-size: 0.5625rem;
  padding: 0.0625rem 0.375rem;
  border-radius: var(--vn-radius-full);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 800;
  margin-left: 0.25rem;
}
.vn-feat-v2-pill .vn-status-beta    { background: rgba(217,119,6,0.15); color: #d97706; }
.vn-feat-v2-pill .vn-status-planned { background: rgba(107,114,128,0.15); color: #6b7280; }
html.dark .vn-feat-v2-pill { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.08); }


/* =====================================================================
   Section 14 — Blog v3 (Clean 2-column with horizontal cards)
   Replaces the magazine-style layout with a cleaner list design
   matching the user-shared blog design reference.
   ===================================================================== */

/* Blog header — compact, not oversized */
.vn-blog-header {
  margin-bottom: 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 2px solid var(--vn-text);
}
.vn-blog-header-badge {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--vn-primary);
  background: rgba(13, 148, 136, 0.08);
  padding: 0.25rem 0.625rem;
  border-radius: var(--vn-radius-full);
  margin-bottom: 0.625rem;
}
.vn-blog-header h1 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 0.375rem 0;
  color: var(--vn-text);
  line-height: 1.2;
}
.vn-blog-tagline {
  font-size: 0.9375rem;
  color: var(--vn-text-muted);
  margin: 0;
  line-height: 1.5;
}
html.dark .vn-blog-header { border-bottom-color: rgba(255,255,255,0.2); }
html.dark .vn-blog-header-badge { background: rgba(45, 212, 191, 0.12); color: #2dd4bf; }

/* Category pills — refined */
.vn-cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.75rem;
  background: var(--vn-bg-card);
  border: 1px solid var(--vn-border);
  border-radius: var(--vn-radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--vn-text);
  text-decoration: none;
  transition: all 0.2s ease;
}
.vn-cat-pill:hover {
  border-color: var(--vn-primary);
  color: var(--vn-primary);
  transform: translateY(-1px);
}
.vn-cat-pill.active {
  background: var(--vn-primary);
  border-color: var(--vn-primary);
  color: #fff;
}
.vn-cat-pill.active .vn-cat-dot { background: #fff !important; }
.vn-cat-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
html.dark .vn-cat-pill { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.1); }

/* Featured post — large horizontal card */
.vn-blog-featured {
  margin-bottom: 2rem;
  border-radius: var(--vn-radius-xl);
  overflow: hidden;
  background: var(--vn-bg-card);
  border: 1px solid var(--vn-border);
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}
.vn-blog-featured-link {
  display: grid;
  grid-template-columns: 1fr;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.vn-blog-featured:hover .vn-blog-featured-link {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}
.vn-blog-featured-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--vn-bg-muted);
}
.vn-blog-featured-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.vn-blog-featured-emoji {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}
.vn-blog-featured-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #fff;
  padding: 0.25rem 0.625rem;
  border-radius: var(--vn-radius-full);
  backdrop-filter: blur(8px);
}
.vn-blog-featured-body {
  padding: 1.5rem;
}
.vn-blog-featured-kicker {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--vn-primary);
  margin-bottom: 0.5rem;
}
.vn-blog-featured-body h2 {
  font-size: clamp(1.25rem, 2vw, 1.625rem);
  font-weight: 800;
  letter-spacing: -0.015em;
  margin: 0 0 0.625rem 0;
  color: var(--vn-text);
  line-height: 1.3;
}
.vn-blog-featured-excerpt {
  font-size: 0.9375rem;
  color: var(--vn-text-muted);
  line-height: 1.6;
  margin: 0 0 0.875rem 0;
}
@media (min-width: 768px) {
  .vn-blog-featured-link {
    grid-template-columns: 1.1fr 1fr;
  }
  .vn-blog-featured-thumb {
    aspect-ratio: auto;
    min-height: 240px;
  }
  .vn-blog-featured-body {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}
html.dark .vn-blog-featured { background: rgba(255,255,255,0.02); border-color: rgba(255,255,255,0.06); }

/* List section heading */
.vn-blog-list-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding-bottom: 0.625rem;
  border-bottom: 1px solid var(--vn-border);
}
.vn-blog-list-head h2 {
  font-size: 1.125rem;
  font-weight: 800;
  margin: 0;
  letter-spacing: -0.01em;
  color: var(--vn-text);
}
.vn-blog-list-sub {
  font-size: 0.75rem;
  color: var(--vn-text-muted);
  font-weight: 600;
}
html.dark .vn-blog-list-head { border-bottom-color: rgba(255,255,255,0.08); }

/* Horizontal blog cards — the core of the new design */
.vn-blog-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.vn-blog-card {
  background: var(--vn-bg-card);
  border: 1px solid var(--vn-border);
  border-radius: var(--vn-radius-lg);
  overflow: hidden;
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}
.vn-blog-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  transform: translateY(-2px);
  border-color: rgba(13, 148, 136, 0.25);
}
.vn-blog-card-link {
  display: grid;
  grid-template-columns: 1fr 120px;
  text-decoration: none;
  color: inherit;
}
.vn-blog-card-body {
  padding: 1rem 1.125rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}
.vn-blog-card-cat {
  display: inline-block;
  font-size: 0.625rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.375rem;
}
.vn-blog-card-body h3 {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 0.5rem 0;
  color: var(--vn-text);
  letter-spacing: -0.005em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.vn-blog-card:hover h3 { color: var(--vn-primary); }
.vn-blog-card-excerpt {
  font-size: 0.8125rem;
  color: var(--vn-text-muted);
  line-height: 1.5;
  margin: 0 0 0.5rem 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.vn-blog-card-meta {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.6875rem;
  color: var(--vn-text-muted);
  flex-wrap: wrap;
}
.vn-blog-card-meta .sep { opacity: 0.5; }
.vn-blog-card-author { font-weight: 600; color: var(--vn-text); }
.vn-blog-card-thumb {
  background: var(--vn-bg-muted);
  overflow: hidden;
  position: relative;
}
.vn-blog-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.vn-blog-card:hover .vn-blog-card-thumb img { transform: scale(1.05); }
.vn-blog-card-emoji {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}

/* Mobile: stack card vertically (thumb on top) */
@media (max-width: 540px) {
  .vn-blog-card-link {
    grid-template-columns: 1fr;
  }
  .vn-blog-card-thumb {
    aspect-ratio: 16 / 9;
  }
  .vn-blog-card-body {
    padding: 0.875rem 1rem;
  }
}

/* Desktop: bigger thumb for visual balance */
@media (min-width: 768px) {
  .vn-blog-card-link {
    grid-template-columns: 1fr 160px;
  }
  .vn-blog-card-thumb {
    min-height: 130px;
  }
  .vn-blog-card-body {
    padding: 1.125rem 1.25rem;
  }
  .vn-blog-card-body h3 {
    font-size: 1.0625rem;
  }
}

html.dark .vn-blog-card { background: rgba(255,255,255,0.02); border-color: rgba(255,255,255,0.06); }
html.dark .vn-blog-card-thumb { background: rgba(255,255,255,0.04); }

/* In-feed AdSense ads inside blog list */
.vn-blog-infeed-ad {
  list-style: none;
  margin: 0;
  padding: 0;
}
.vn-blog-infeed-ad .vn-ad-slot {
  min-height: 120px;
  margin: 0;
  background: var(--vn-bg-muted);
  border: 1px dashed var(--vn-border);
  border-radius: var(--vn-radius-lg);
  padding: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
html.dark .vn-blog-infeed-ad .vn-ad-slot { background: rgba(255,255,255,0.02); border-color: rgba(255,255,255,0.08); }

/* After-content / after-list ad slots — spaced properly */
.vn-ad-slot.vn-ad-after-content,
.vn-ad-slot.vn-ad-blog-after-list,
.vn-ad-slot.vn-ad-archive-after-list {
  margin: 2rem auto;
  max-width: 100%;
  min-height: 100px;
}
.vn-ad-slot.vn-ad-blog-after-featured {
  margin: 1.5rem 0;
  min-height: 100px;
}


/* =====================================================================
   Section 15 — Features page v3 (richer design matching homepage)
   ===================================================================== */

/* Hero with visual badge */
.vn-feat-v3-hero {
  padding: 3rem 1.25rem 2.5rem;
  text-align: center;
  background: linear-gradient(180deg, rgba(13,148,136,0.06), transparent 70%);
  border-bottom: 1px solid var(--vn-border);
  position: relative;
  overflow: hidden;
}
.vn-feat-v3-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(13,148,136,0.08) 0%, transparent 60%);
  pointer-events: none;
}
.vn-feat-v3-hero > * { position: relative; z-index: 1; }
.vn-feat-v3-hero h1 {
  font-size: clamp(1.625rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0.75rem 0 0.75rem 0;
  color: var(--vn-text);
  line-height: 1.2;
}
.vn-feat-v3-hero h1 .accent { color: var(--vn-primary); }
.vn-feat-v3-hero p {
  font-size: 1rem;
  color: var(--vn-text-muted);
  max-width: 44rem;
  margin: 0 auto 1.5rem;
  line-height: 1.65;
}
.vn-feat-v3-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  padding: 1rem 1.5rem;
  background: var(--vn-bg-card);
  border: 1px solid var(--vn-border);
  border-radius: var(--vn-radius-xl);
  max-width: 36rem;
  margin: 0 auto;
}
.vn-feat-v3-stat {
  text-align: center;
}
.vn-feat-v3-stat strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--vn-primary);
  line-height: 1;
  margin-bottom: 0.25rem;
}
.vn-feat-v3-stat span {
  font-size: 0.6875rem;
  color: var(--vn-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}
html.dark .vn-feat-v3-stats { background: rgba(255,255,255,0.02); border-color: rgba(255,255,255,0.06); }

/* Feature category cards — refined v3 */
.vn-feat-v3-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 768px) {
  .vn-feat-v3-grid { grid-template-columns: repeat(2, 1fr); }
}
.vn-feat-v3-card {
  background: var(--vn-bg-card);
  border: 1px solid var(--vn-border);
  border-radius: var(--vn-radius-xl);
  padding: 1.5rem;
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
  position: relative;
  overflow: hidden;
}
.vn-feat-v3-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--card-accent, var(--vn-primary));
  opacity: 0;
  transition: opacity 0.25s ease;
}
.vn-feat-v3-card:hover {
  box-shadow: 0 16px 40px rgba(0,0,0,0.06);
  transform: translateY(-3px);
}
.vn-feat-v3-card:hover::before { opacity: 1; }
html.dark .vn-feat-v3-card { background: rgba(255,255,255,0.02); border-color: rgba(255,255,255,0.06); }

.vn-feat-v3-card-head {
  display: flex;
  gap: 0.875rem;
  align-items: flex-start;
  margin-bottom: 1rem;
  padding-bottom: 0.875rem;
  border-bottom: 1px solid var(--vn-border);
}
.vn-feat-v3-card-head .vn-feat-v3-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--vn-radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.vn-feat-v3-icon.teal    { background: rgba(13,148,136,0.12);  color: var(--vn-primary); }
.vn-feat-v3-icon.blue    { background: rgba(59,130,246,0.12);  color: #2563eb; }
.vn-feat-v3-icon.violet  { background: rgba(139,92,246,0.12);  color: #8b5cf6; }
.vn-feat-v3-icon.amber   { background: rgba(217,119,6,0.12);   color: #d97706; }
.vn-feat-v3-icon.emerald { background: rgba(5,150,105,0.12);   color: #059669; }
.vn-feat-v3-icon.rose    { background: rgba(225,29,72,0.12);   color: #e11d48; }
html.dark .vn-feat-v3-icon.teal    { color: #2dd4bf; }
html.dark .vn-feat-v3-icon.blue    { color: #60a5fa; }
html.dark .vn-feat-v3-icon.violet  { color: #a78bfa; }
html.dark .vn-feat-v3-icon.amber   { color: #fbbf24; }
html.dark .vn-feat-v3-icon.emerald { color: #34d399; }
html.dark .vn-feat-v3-icon.rose    { color: #fb7185; }

.vn-feat-v3-card-head h2 {
  font-size: 1.0625rem;
  font-weight: 800;
  margin: 0 0 0.1875rem 0;
  letter-spacing: -0.01em;
  color: var(--vn-text);
  line-height: 1.3;
}
.vn-feat-v3-card-head p {
  font-size: 0.8125rem;
  color: var(--vn-text-muted);
  margin: 0;
  line-height: 1.5;
}

.vn-feat-v3-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4375rem;
}
.vn-feat-v3-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3125rem;
  padding: 0.4375rem 0.75rem;
  background: var(--vn-bg-muted);
  border: 1px solid var(--vn-border);
  border-radius: var(--vn-radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--vn-text);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.vn-feat-v3-pill:hover {
  background: var(--vn-primary);
  border-color: var(--vn-primary);
  color: #fff;
}
.vn-feat-v3-pill .emoji { font-size: 0.9375rem; line-height: 1; }
.vn-feat-v3-pill .vn-status-badge {
  font-size: 0.5625rem;
  padding: 0.0625rem 0.375rem;
  border-radius: var(--vn-radius-full);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 800;
  margin-left: 0.1875rem;
}
.vn-feat-v3-pill .vn-status-beta    { background: rgba(217,119,6,0.15); color: #d97706; }
.vn-feat-v3-pill .vn-status-planned { background: rgba(107,114,128,0.15); color: #6b7280; }
html.dark .vn-feat-v3-pill { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.08); }

/* Highlight strip — "Why VitalNadi" value props */
.vn-feat-v3-highlights {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 0 auto;
}
@media (min-width: 540px) { .vn-feat-v3-highlights { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .vn-feat-v3-highlights { grid-template-columns: repeat(4, 1fr); } }
.vn-feat-v3-highlight {
  text-align: center;
  padding: 1.25rem 1rem;
  background: var(--vn-bg-card);
  border: 1px solid var(--vn-border);
  border-radius: var(--vn-radius-lg);
}
.vn-feat-v3-highlight .vn-feat-v3-hl-icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 0.625rem;
  border-radius: 50%;
  background: rgba(13,148,136,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}
.vn-feat-v3-highlight h3 {
  font-size: 0.875rem;
  font-weight: 800;
  margin: 0 0 0.25rem 0;
  color: var(--vn-text);
}
.vn-feat-v3-highlight p {
  font-size: 0.75rem;
  color: var(--vn-text-muted);
  margin: 0;
  line-height: 1.45;
}
html.dark .vn-feat-v3-highlight { background: rgba(255,255,255,0.02); border-color: rgba(255,255,255,0.06); }
html.dark .vn-feat-v3-highlight .vn-feat-v3-hl-icon { background: rgba(45,212,191,0.12); }

/* Screenshot grid — refined */
.vn-feat-v3-shots {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (min-width: 768px) { .vn-feat-v3-shots { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .vn-feat-v3-shots { grid-template-columns: repeat(6, 1fr); } }
.vn-feat-v3-shot {
  text-align: center;
}
.vn-feat-v3-shot-frame {
  background: var(--vn-bg-muted);
  border: 1px solid var(--vn-border);
  border-radius: var(--vn-radius-lg);
  padding: 0.5rem;
  aspect-ratio: 9 / 19;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.vn-feat-v3-shot:hover .vn-feat-v3-shot-frame {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.08);
}
.vn-feat-v3-shot-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--vn-radius-md);
  display: block;
}
.vn-feat-v3-shot figcaption {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--vn-text-muted);
  margin-top: 0.5rem;
}
html.dark .vn-feat-v3-shot-frame { background: rgba(255,255,255,0.03); border-color: rgba(255,255,255,0.08); }

/* FAQ refinement */
.vn-feat-v3-faq {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.vn-feat-v3-faq details {
  background: var(--vn-bg-card);
  border: 1px solid var(--vn-border);
  border-radius: var(--vn-radius-lg);
  padding: 1rem 1.125rem;
  transition: border-color 0.2s ease;
}
.vn-feat-v3-faq details[open] { border-color: var(--vn-primary); }
.vn-feat-v3-faq summary {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--vn-text);
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 1.5rem;
}
.vn-feat-v3-faq summary::-webkit-details-marker { display: none; }
.vn-feat-v3-faq summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--vn-primary);
  transition: transform 0.2s ease;
}
.vn-feat-v3-faq details[open] summary::after {
  content: '−';
}
.vn-feat-v3-faq-answer {
  margin-top: 0.625rem;
  padding-top: 0.625rem;
  border-top: 1px solid var(--vn-border);
}
.vn-feat-v3-faq-answer p {
  font-size: 0.875rem;
  color: var(--vn-text-muted);
  line-height: 1.65;
  margin: 0;
}
html.dark .vn-feat-v3-faq details { background: rgba(255,255,255,0.02); border-color: rgba(255,255,255,0.06); }


/* =====================================================================
   Section 16 — Font size fixes (user reported "fonts look bigger weird")
   Reduces overly-large clamp() max values for better visual balance.
   ===================================================================== */

/* Magazine header — was clamp(2rem, 4vw, 2.75rem), too big for a blog title */
.vn-mag-header h1 {
  font-size: clamp(1.5rem, 2.5vw, 1.875rem);
  font-weight: 800;
}

/* Featured main h2 — was clamp(1.25rem, 2.5vw, 1.625rem), slightly reduce */
.vn-featured-main h2 {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
}

/* Mag section head h2 — was clamp(1.25rem, 2vw, 1.5rem), reduce */
.vn-mag-section-head h2 {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
}

/* Showcase section h2 — was clamp(1.875rem, 3.5vw, 2.5rem), reduce */
.vn-showcase-text h2 {
  font-size: clamp(1.375rem, 2.5vw, 1.75rem) !important;
}

/* Ecosystem section h2 — was clamp(1.75rem, 3vw, 2.5rem), reduce */
.vn-ecosystem-section h2 {
  font-size: clamp(1.375rem, 2.5vw, 1.75rem) !important;
}

