/* ==============================================
   GLOBAL MLM SOFTWARE — BLOG POST PAGE STYLES
   blog-post.css | v1.0
   Namespace: .post-* (no conflicts with other CSS)
   ============================================== */

:root {
  --post-primary:       #0d9488;
  --post-primary-dark:  #0f766e;
  --post-primary-light: #5eead4;
  --post-accent:        #f59e0b;
  --post-dark:          #0b1120;
  --post-white:         #ffffff;
  --post-gray-50:       #f8fafc;
  --post-gray-100:      #f1f5f9;
  --post-gray-200:      #e2e8f0;
  --post-gray-300:      #cbd5e1;
  --post-gray-400:      #94a3b8;
  --post-gray-500:      #64748b;
  --post-gray-600:      #475569;
  --post-gray-700:      #334155;
  --post-gray-800:      #1e293b;
  --post-gray-900:      #0f172a;
  --post-gradient:      linear-gradient(135deg, #0d9488 0%, #0891b2 60%, #0e7490 100%);
  --post-radius-sm:     6px;
  --post-radius-md:     10px;
  --post-radius-lg:     16px;
  --post-radius-full:   9999px;
  --post-shadow-sm:     0 1px 3px rgba(0,0,0,0.08);
  --post-shadow-md:     0 4px 16px rgba(0,0,0,0.10);
  --post-shadow-lg:     0 16px 40px rgba(0,0,0,0.13);
  --post-transition:    0.22s cubic-bezier(0.4,0,0.2,1);
  --post-header-offset: 72px;
  --post-content-max:   780px;
}

/* Sticky footer: body flex column so footer always sits at bottom */
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden;
}
body > main,
body > .post-main,
body > .page-content {
  flex: 1 0 auto;
}
body > .blog-footer,
body > footer {
  flex-shrink: 0;
}

/* SR ONLY */
.sr-only { position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important; }

/* ===========================
   POST HERO
   =========================== */
.post-hero {
  position: relative;
  background: var(--post-gray-900);
  padding: 4.5rem 1.5rem 3.5rem;
  overflow: hidden;
}

.post-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.post-hero-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.15;
}

.post-hero-shape-1 { width:700px;height:700px;top:-200px;right:-150px; }
.post-hero-shape-2 { width:350px;height:350px;bottom:-80px;left:-60px; }

.post-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(13,148,136,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13,148,136,0.06) 1px, transparent 1px);
  background-size: 40px 40px;
}

.post-hero-container {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

/* Breadcrumb */
.post-breadcrumb { margin-bottom: 1.5rem; }
.post-breadcrumb ol { display:flex;align-items:center;gap:0.4rem;list-style:none;margin:0;padding:0;flex-wrap:wrap; }
.post-breadcrumb li { display:flex;align-items:center;gap:0.4rem;font-size:0.8rem;color:var(--post-gray-400); }
.post-breadcrumb a { color:var(--post-primary-light);text-decoration:none;transition:color var(--post-transition); }
.post-breadcrumb a:hover { color:#fff; }
.post-breadcrumb .fa-chevron-right { font-size:0.55rem;color:var(--post-gray-600); }

/* Category badge */
.post-hero-cat {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(13,148,136,0.2);
  border: 1px solid rgba(94,234,212,0.25);
  color: var(--post-primary-light);
  padding: 0.3rem 0.9rem;
  border-radius: var(--post-radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

/* H1 */
.post-hero-title {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-size: clamp(1.6rem, 3.5vw, 2.7rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.18;
  margin: 0 0 1.25rem;
  letter-spacing: -0.025em;
}

.post-hero-grad {
  background: linear-gradient(135deg, #5eead4, #38bdf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Meta bar */
.post-hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
  font-size: 0.8125rem;
  color: var(--post-gray-400);
}

.post-hero-meta span {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.post-hero-meta i { color: var(--post-primary-light); }

/* Excerpt */
.post-hero-excerpt {
  font-size: 1.0625rem;
  color: var(--post-gray-300);
  line-height: 1.75;
  max-width: 720px;
  margin: 0 0 2rem;
}

.post-hero-excerpt strong { color: #fff; }

/* Hero tags */
.post-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.post-hero-tag {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--post-gray-300);
  padding: 0.25rem 0.75rem;
  border-radius: var(--post-radius-full);
  font-size: 0.75rem;
  font-weight: 500;
}

/* ===========================
   POST LAYOUT (Article + Sidebar)
   =========================== */
.post-layout {
  background: var(--post-gray-50);
  padding: 3rem 1.5rem 4rem;
}

.post-layout-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2.5rem;
  align-items: start;
}

/* ===========================
   ARTICLE BODY
   =========================== */
.post-article {
  background: #fff;
  border-radius: var(--post-radius-lg);
  border: 1px solid var(--post-gray-200);
  overflow: hidden;
  box-shadow: var(--post-shadow-sm);
}

/* Cover image area */
.post-cover {
  width: 100%;
  aspect-ratio: 21/9;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.post-cover-icon { font-size: 5rem; color: rgba(255,255,255,0.3); }

/* Article content */
.post-content {
  padding: 2.5rem;
  max-width: var(--post-content-max);
  margin: 0 auto;
}

/* Heading hierarchy within article */
.post-content h2 {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--post-gray-900);
  margin: 2.5rem 0 1rem;
  padding-top: 0.25rem;
  border-left: 4px solid var(--post-primary);
  padding-left: 0.875rem;
  line-height: 1.3;
}

.post-content h3 {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-size: 1.1875rem;
  font-weight: 700;
  color: var(--post-gray-800);
  margin: 2rem 0 0.75rem;
  line-height: 1.35;
}

.post-content h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--post-gray-700);
  margin: 1.5rem 0 0.5rem;
}

.post-content p {
  font-size: 0.9375rem;
  color: var(--post-gray-600);
  line-height: 1.8;
  margin: 0 0 1.25rem;
}

.post-content p strong { color: var(--post-gray-800); }

.post-content a {
  color: var(--post-primary);
  text-decoration: underline;
  text-decoration-color: rgba(13,148,136,0.3);
  text-underline-offset: 2px;
  transition: color var(--post-transition);
}

.post-content a:hover { color: var(--post-primary-dark); }

/* Lists */
.post-content ul,
.post-content ol {
  margin: 0 0 1.25rem 1.5rem;
  color: var(--post-gray-600);
  font-size: 0.9375rem;
  line-height: 1.8;
}

.post-content li { margin-bottom: 0.4rem; }
.post-content li strong { color: var(--post-gray-800); }

/* Highlight / callout blocks */
.post-highlight {
  background: linear-gradient(135deg, rgba(13,148,136,0.06), rgba(8,145,178,0.06));
  border: 1px solid rgba(13,148,136,0.2);
  border-left: 4px solid var(--post-primary);
  border-radius: var(--post-radius-md);
  padding: 1.25rem 1.5rem;
  margin: 1.75rem 0;
}

.post-highlight p { margin: 0; font-size: 0.9375rem; }
.post-highlight strong { color: var(--post-primary-dark); }

/* Tip box */
.post-tip {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-left: 4px solid var(--post-accent);
  border-radius: var(--post-radius-md);
  padding: 1.25rem 1.5rem;
  margin: 1.75rem 0;
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.post-tip-icon { font-size: 1.1rem; color: var(--post-accent); flex-shrink: 0; margin-top: 0.1rem; }
.post-tip p { margin: 0; font-size: 0.9rem; color: #92400e; }
.post-tip p strong { color: #78350f; }

/* Feature grid inside post */
.post-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 1.5rem 0;
}

.post-feature-card {
  background: var(--post-gray-50);
  border: 1px solid var(--post-gray-200);
  border-radius: var(--post-radius-md);
  padding: 1.25rem;
  transition: box-shadow var(--post-transition);
}

.post-feature-card:hover { box-shadow: var(--post-shadow-md); }

.post-feature-icon {
  width: 38px;
  height: 38px;
  background: rgba(13,148,136,0.1);
  border-radius: var(--post-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--post-primary);
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.post-feature-card h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--post-gray-800);
  margin: 0 0 0.4rem;
}

.post-feature-card p {
  font-size: 0.8125rem;
  color: var(--post-gray-500);
  margin: 0;
  line-height: 1.55;
}

/* Stats row */
.post-stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  background: var(--post-gray-900);
  border-radius: var(--post-radius-lg);
  padding: 1.75rem;
  margin: 2rem 0;
}

.post-stat {
  text-align: center;
}

.post-stat-num {
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--post-primary-light);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.post-stat-label {
  font-size: 0.75rem;
  color: var(--post-gray-400);
  line-height: 1.4;
}

/* Step list */
.post-steps {
  list-style: none;
  margin: 1.5rem 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.post-step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.post-step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--post-gradient);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.875rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.post-step-body h4 { font-size: 0.9375rem; font-weight: 700; color: var(--post-gray-800); margin: 0 0 0.3rem; }
.post-step-body p  { font-size: 0.875rem; color: var(--post-gray-500); margin: 0; line-height: 1.6; }

/* Comparison table */
.post-table-wrap { overflow-x: auto; margin: 1.75rem 0; border-radius: var(--post-radius-md); border: 1px solid var(--post-gray-200); }

.post-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.post-table th {
  background: var(--post-gray-900);
  color: #fff;
  padding: 0.875rem 1rem;
  text-align: left;
  font-weight: 600;
  font-size: 0.8125rem;
  white-space: nowrap;
}

.post-table td {
  padding: 0.75rem 1rem;
  color: var(--post-gray-600);
  border-bottom: 1px solid var(--post-gray-100);
}

.post-table tr:last-child td { border-bottom: none; }
.post-table tr:nth-child(even) td { background: var(--post-gray-50); }
.post-table td strong { color: var(--post-gray-800); }
.post-table .check { color: var(--post-primary); font-weight: 700; }
.post-table .cross  { color: #ef4444; }

/* In-article CTA banner */
.post-cta-banner {
  background: linear-gradient(135deg, var(--post-dark), #0d2137);
  border: 1px solid rgba(13,148,136,0.25);
  border-radius: var(--post-radius-lg);
  padding: 2rem;
  margin: 2.5rem 0;
  text-align: center;
}

.post-cta-banner h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 0.6rem;
}

.post-cta-banner p { font-size: 0.875rem; color: var(--post-gray-300); margin: 0 0 1.25rem; }

.post-cta-btns { display:flex;gap:0.75rem;justify-content:center;flex-wrap:wrap; }

.post-cta-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--post-primary);
  color: #fff;
  text-decoration: none;
  padding: 0.7rem 1.5rem;
  border-radius: var(--post-radius-full);
  font-size: 0.875rem;
  font-weight: 700;
  transition: all var(--post-transition);
}

.post-cta-btn-primary:hover {
  background: var(--post-primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(13,148,136,0.4);
  color: #fff;
  text-decoration: none;
}

.post-cta-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  text-decoration: none;
  padding: 0.7rem 1.5rem;
  border-radius: var(--post-radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  transition: all var(--post-transition);
}

.post-cta-btn-secondary:hover {
  background: rgba(255,255,255,0.15);
  color: #fff;
  text-decoration: none;
}

/* FAQ accordion inside post */
.post-faq { margin: 1.5rem 0; }

.post-faq-item {
  border: 1px solid var(--post-gray-200);
  border-radius: var(--post-radius-md);
  margin-bottom: 0.5rem;
  overflow: hidden;
}

.post-faq-q {
  width: 100%;
  background: var(--post-gray-50);
  border: none;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--post-gray-800);
  cursor: pointer;
  text-align: left;
  font-family: 'Inter', sans-serif;
  transition: background var(--post-transition);
}

.post-faq-q:hover { background: var(--post-gray-100); }
.post-faq-q i { font-size: 0.75rem; color: var(--post-primary); flex-shrink:0; transition: transform var(--post-transition); }
.post-faq-item.open .post-faq-q i { transform: rotate(180deg); }

.post-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.2s ease;
  padding: 0 1.25rem;
  font-size: 0.875rem;
  color: var(--post-gray-600);
  line-height: 1.75;
}

.post-faq-item.open .post-faq-a {
  max-height: 400px;
  padding: 1rem 1.25rem;
}

/* Author box */
.post-author-box {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  background: var(--post-gray-50);
  border: 1px solid var(--post-gray-200);
  border-radius: var(--post-radius-lg);
  padding: 1.5rem;
  margin: 2.5rem 0 0;
}

.post-author-avatar {
  width: 56px;
  height: 56px;
  background: var(--post-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.post-author-name { font-size: 0.9375rem; font-weight: 700; color: var(--post-gray-800); margin: 0 0 0.2rem; }
.post-author-role { font-size: 0.8rem; color: var(--post-primary); margin: 0 0 0.4rem; }
.post-author-bio  { font-size: 0.8125rem; color: var(--post-gray-500); margin: 0; line-height: 1.55; }

/* Related posts */
.post-related {
  padding: 2.5rem;
  background: var(--post-gray-50);
  border-top: 1px solid var(--post-gray-200);
}

.post-related-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--post-gray-800);
  margin: 0 0 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.post-related-title i { color: var(--post-primary); }

.post-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.post-related-card {
  background: #fff;
  border: 1px solid var(--post-gray-200);
  border-radius: var(--post-radius-md);
  padding: 1.25rem;
  text-decoration: none;
  transition: all var(--post-transition);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.post-related-card:hover {
  border-color: var(--post-primary-light);
  box-shadow: var(--post-shadow-md);
  transform: translateY(-2px);
}

.post-related-icon { font-size: 1.25rem; }
.post-related-card h4 { font-size: 0.85rem; font-weight: 700; color: var(--post-gray-800); margin: 0; line-height: 1.4; }
.post-related-card span { font-size: 0.75rem; color: var(--post-primary); font-weight: 600; display:flex;align-items:center;gap:0.3rem;margin-top:auto; }

/* ===========================
   SIDEBAR (same as blog.css but post-prefixed)
   =========================== */
.post-sidebar {
  position: sticky;
  top: calc(var(--post-header-offset) + 1.5rem);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-height: calc(100vh - var(--post-header-offset) - 3rem);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--post-gray-200) transparent;
}

.post-sidebar::-webkit-scrollbar { width: 4px; }
.post-sidebar::-webkit-scrollbar-thumb { background: var(--post-gray-200); border-radius: 4px; }

.post-widget {
  background: #fff;
  border-radius: var(--post-radius-lg);
  padding: 1.5rem;
  border: 1px solid var(--post-gray-200);
  box-shadow: var(--post-shadow-sm);
}

.post-widget-title {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--post-gray-800);
  margin: 0 0 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.post-widget-title i { color: var(--post-primary); }

/* TOC widget */
.post-toc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.post-toc-list li a {
  display: block;
  padding: 0.4rem 0.6rem;
  border-radius: var(--post-radius-sm);
  font-size: 0.8125rem;
  color: var(--post-gray-600);
  text-decoration: none;
  transition: all var(--post-transition);
  border-left: 2px solid transparent;
}

.post-toc-list li a:hover,
.post-toc-list li a.active {
  color: var(--post-primary);
  background: rgba(13,148,136,0.06);
  border-left-color: var(--post-primary);
}

/* Demo widget */
.post-widget-demo {
  background: linear-gradient(135deg, #0f172a, #0d2137);
  border-color: rgba(13,148,136,0.2);
  text-align: center;
}

.post-widget-demo .post-widget-title { color: #fff; justify-content: center; }
.post-widget-demo-icon { font-size: 1.75rem; color: var(--post-primary-light); margin-bottom: 0.6rem; }
.post-widget-demo p { color: var(--post-gray-300); font-size: 0.8375rem; line-height: 1.6; margin: 0 0 1rem; }
.post-widget-demo p strong { color: #fff; }

.post-widget-demo-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--post-primary);
  color: #fff;
  text-decoration: none;
  border-radius: var(--post-radius-full);
  padding: 0.65rem 1.25rem;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.875rem;
  transition: all var(--post-transition);
}

.post-widget-demo-btn:hover { background: var(--post-primary-dark); transform: translateY(-1px); color: #fff; text-decoration: none; }

.post-widget-trust { display:flex;justify-content:center;gap:0.75rem;font-size:0.73rem;color:var(--post-gray-400);flex-wrap:wrap; }
.post-widget-trust i { color: var(--post-primary-light); }

/* Popular list */
.post-popular-list { list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:0.4rem; }

.post-popular-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  text-decoration: none;
  padding: 0.5rem 0.6rem;
  border-radius: var(--post-radius-md);
  transition: background var(--post-transition);
}

.post-popular-item:hover { background: var(--post-gray-50); }
.post-popular-num { font-size: 1rem; font-weight: 800; color: var(--post-gray-200); font-family: 'Plus Jakarta Sans', sans-serif; flex-shrink: 0; min-width: 26px; }
.post-popular-text { font-size: 0.8rem; color: var(--post-gray-600); line-height: 1.4; font-weight: 500; transition: color var(--post-transition); }
.post-popular-item:hover .post-popular-text { color: var(--post-primary); }

/* Share widget */
.post-share-btns { display:flex;gap:0.5rem;flex-wrap:wrap; }

.post-share-btn {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  border-radius: var(--post-radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--post-transition);
  border: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
}

.post-share-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,0.15); text-decoration: none; }

.post-share-btn-twitter  { background: #1d9bf0; color: #fff; }
.post-share-btn-linkedin { background: #0a66c2; color: #fff; }
.post-share-btn-whatsapp { background: #25d366; color: #fff; }
.post-share-btn-copy     { background: var(--post-gray-100); color: var(--post-gray-700); }

/* ===========================
   DEMO SECTION
   =========================== */
.post-demo-section {
  background: linear-gradient(135deg, #0b1120 0%, #0d2137 50%, #0f766e 100%);
  padding: 5rem 1.5rem;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.post-demo-section::before {
  content:'';
  position:absolute;inset:0;
  background-image: linear-gradient(rgba(13,148,136,0.07) 1px,transparent 1px),linear-gradient(90deg,rgba(13,148,136,0.07) 1px,transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.post-demo-container { position:relative;z-index:1;max-width:720px;margin:0 auto; }

.post-demo-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(13,148,136,0.2);
  border: 1px solid rgba(94,234,212,0.25);
  color: var(--post-primary-light);
  padding: 0.35rem 1rem;
  border-radius: var(--post-radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.post-demo-title {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-size: clamp(1.5rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: #fff;
  margin: 0 0 1rem;
  line-height: 1.2;
}

.post-demo-grad { background: linear-gradient(135deg, #5eead4, #38bdf8); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text; }

.post-demo-desc { font-size:1rem;color:var(--post-gray-300);line-height:1.75;margin:0 0 2rem; }
.post-demo-desc strong { color:#fff; }

.post-demo-actions { display:flex;align-items:center;justify-content:center;gap:1rem;flex-wrap:wrap;margin-bottom:2rem; }

.post-demo-btn-call { display:flex;align-items:center;gap:0.5rem;padding:0.85rem 1.75rem;border-radius:var(--post-radius-full);font-size:0.9375rem;font-weight:700;text-decoration:none;background:var(--post-primary);color:#fff;box-shadow:0 4px 24px rgba(13,148,136,0.4);transition:all var(--post-transition); }
.post-demo-btn-call:hover { background:var(--post-primary-dark);transform:translateY(-2px);color:#fff;text-decoration:none; }

.post-demo-btn-wa { display:flex;align-items:center;gap:0.5rem;padding:0.85rem 1.75rem;border-radius:var(--post-radius-full);font-size:0.9375rem;font-weight:700;text-decoration:none;background:#25d366;color:#fff;box-shadow:0 4px 24px rgba(37,211,102,0.3);transition:all var(--post-transition); }
.post-demo-btn-wa:hover { background:#128c7e;transform:translateY(-2px);color:#fff;text-decoration:none; }

.post-demo-trust { display:flex;align-items:center;justify-content:center;gap:1.5rem;flex-wrap:wrap;font-size:0.8125rem;color:var(--post-gray-400); }
.post-demo-trust i { color:var(--post-primary-light);margin-right:0.25rem; }

/* ===========================
   FOOTER (reuse blog-footer classes)
   =========================== */

/* ===========================
   SCROLL TOP + PROGRESS BAR
   =========================== */
.post-progress-bar { position:fixed;top:0;left:0;height:3px;background:var(--post-gradient);z-index:9999;width:0%;transition:width 0.1s linear; }
.post-scroll-top { position:fixed;bottom:2rem;right:2rem;width:44px;height:44px;background:var(--post-primary);color:#fff;border:none;border-radius:var(--post-radius-full);cursor:pointer;display:flex;align-items:center;justify-content:center;font-size:0.875rem;box-shadow:var(--post-shadow-lg);transition:all var(--post-transition);opacity:0;pointer-events:none;z-index:900; }
.post-scroll-top.visible { opacity:1;pointer-events:auto; }
.post-scroll-top:hover { background:var(--post-primary-dark);transform:translateY(-2px); }

/* ===========================
   LAYOUT SECTION WRAPPERS
   (aliases used by mlm-software-development-guide.html)
   =========================== */
.post-layout-section {
  background: var(--post-gray-50);
  padding: 3rem 1.5rem 4rem;
}

/* Two-column grid: TOC aside (280px) + article (1fr) */
.post-layout-section > .post-layout-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2.5rem;
  align-items: start;
}

/* Left sticky TOC column */
.post-toc-col {
  position: sticky;
  top: calc(var(--post-header-offset) + 1.5rem);
  max-height: calc(100vh - var(--post-header-offset) - 3rem);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--post-gray-200) transparent;
}

.post-toc-col::-webkit-scrollbar { width: 4px; }
.post-toc-col::-webkit-scrollbar-thumb { background: var(--post-gray-200); border-radius: 4px; }

.post-toc-widget {
  background: #fff;
  border: 1px solid var(--post-gray-200);
  border-radius: var(--post-radius-lg);
  padding: 1.5rem;
  box-shadow: var(--post-shadow-sm);
}

.post-toc-title {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--post-gray-800);
  margin: 0 0 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.post-toc-title i { color: var(--post-primary); }

.post-toc-share {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--post-gray-100);
}

.post-toc-share-label {
  display: block;
  font-size: 0.75rem;
  color: var(--post-gray-500);
  margin-bottom: 0.6rem;
  font-weight: 600;
}

.post-toc-share-btns {
  display: flex;
  gap: 0.4rem;
}

.post-share-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 0.8rem;
  transition: all var(--post-transition);
  color: #fff;
}

.post-share-btn:hover { transform: translateY(-2px); text-decoration: none; }
.post-share-linkedin  { background: #0a66c2; }
.post-share-twitter   { background: #1d9bf0; }
.post-share-facebook  { background: #1877f2; }
.post-share-whatsapp  { background: #25d366; }

/* Right article column */
.post-article-col {
  background: #fff;
  border-radius: var(--post-radius-lg);
  border: 1px solid var(--post-gray-200);
  overflow: hidden;
  box-shadow: var(--post-shadow-sm);
  padding: 2.5rem;
}

/* Inline code within article */
.post-article-col code,
.post-section code,
.post-highlight-content code {
  font-family: 'Fira Code', 'Courier New', monospace;
  font-size: 0.8125rem;
  background: rgba(13,148,136,0.08);
  color: var(--post-primary-dark);
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  border: 1px solid rgba(13,148,136,0.15);
}

/* Post sections */
.post-section {
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--post-gray-100);
}

.post-section:last-child { border-bottom: none; }

/* Headings used inside article col */
.post-h2 {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--post-gray-900);
  margin: 0 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--post-primary);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  line-height: 1.3;
}

.post-h2-icon { color: var(--post-primary); font-size: 1.1rem; flex-shrink: 0; }

.post-h3 {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-size: 1.1875rem;
  font-weight: 700;
  color: var(--post-gray-800);
  margin: 1.75rem 0 0.75rem;
  line-height: 1.35;
}

/* Lead paragraph */
.post-lead {
  font-size: 1.0625rem;
  color: var(--post-gray-700);
  line-height: 1.8;
  margin: 0 0 1.25rem;
}

/* Custom list */
.post-list {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.post-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9375rem;
  color: var(--post-gray-600);
  line-height: 1.7;
}

.post-li-icon { color: var(--post-primary); font-size: 0.9rem; margin-top: 0.25rem; flex-shrink: 0; }

/* Ordered list inside article */
.post-ordered-list {
  margin: 0 0 1.25rem 1.5rem;
  color: var(--post-gray-600);
  font-size: 0.9375rem;
  line-height: 1.8;
}

.post-ordered-list li { margin-bottom: 0.6rem; }
.post-ordered-list li strong { color: var(--post-gray-800); }

/* Highlight boxes */
.post-highlight-box {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  border-radius: var(--post-radius-md);
  padding: 1.25rem 1.5rem;
  margin: 1.75rem 0;
  border-left: 4px solid;
}

.post-highlight-blue  { background: rgba(59,130,246,0.06); border-left-color: #3b82f6; }
.post-highlight-green { background: rgba(13,148,136,0.06); border-left-color: var(--post-primary); }
.post-highlight-orange{ background: rgba(245,158,11,0.06); border-left-color: var(--post-accent); }
.post-highlight-red   { background: rgba(239,68,68,0.06);  border-left-color: #ef4444; }

.post-highlight-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.post-highlight-blue   .post-highlight-icon { color: #3b82f6; }
.post-highlight-green  .post-highlight-icon { color: var(--post-primary); }
.post-highlight-orange .post-highlight-icon { color: var(--post-accent); }
.post-highlight-red    .post-highlight-icon { color: #ef4444; }

.post-highlight-content { font-size: 0.9375rem; color: var(--post-gray-600); line-height: 1.75; }
.post-highlight-content strong { color: var(--post-gray-800); }

/* Inline CTA strip */
.post-inline-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: linear-gradient(135deg, #0f172a, #1e3a5f);
  border: 1px solid rgba(99,179,237,0.2);
  border-radius: var(--post-radius-lg);
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.post-inline-cta-content {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  flex: 1;
}

.post-inline-cta-icon { font-size: 1.5rem; color: var(--post-primary-light); flex-shrink: 0; }

.post-inline-cta-content strong {
  display: block;
  color: #fff;
  font-size: 0.9375rem;
  margin-bottom: 0.25rem;
}

.post-inline-cta-content p {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--post-gray-400);
}

.post-inline-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--post-primary);
  color: #fff;
  text-decoration: none;
  padding: 0.6rem 1.25rem;
  border-radius: var(--post-radius-full);
  font-size: 0.875rem;
  font-weight: 700;
  white-space: nowrap;
  transition: all var(--post-transition);
  flex-shrink: 0;
}

.post-inline-cta-btn:hover { background: var(--post-primary-dark); transform: translateY(-1px); color: #fff; text-decoration: none; }

/* Cards grid (platform types) */
.post-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin: 1.5rem 0;
}

.post-card {
  background: var(--post-gray-50);
  border: 1px solid var(--post-gray-200);
  border-radius: var(--post-radius-lg);
  padding: 1.5rem;
  transition: all var(--post-transition);
}

.post-card:hover { border-color: var(--post-primary-light); box-shadow: var(--post-shadow-md); transform: translateY(-2px); }

.post-card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--post-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 0.875rem;
}

.post-card-icon-blue   { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.post-card-icon-purple { background: linear-gradient(135deg, #8b5cf6, #6d28d9); }
.post-card-icon-green  { background: linear-gradient(135deg, #10b981, #059669); }
.post-card-icon-orange { background: linear-gradient(135deg, #f59e0b, #d97706); }

.post-card-h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--post-gray-800);
  margin: 0 0 0.5rem;
}

.post-card-desc {
  font-size: 0.8375rem;
  color: var(--post-gray-500);
  line-height: 1.65;
  margin: 0 0 0.875rem;
}

.post-card-specs {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.post-card-specs span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.775rem;
  color: var(--post-gray-500);
  font-weight: 500;
}

.post-card-specs i { color: var(--post-primary); }

/* Architecture diagram */
.post-arch-diagram {
  background: var(--post-gray-900);
  border-radius: var(--post-radius-lg);
  padding: 1.5rem;
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.post-arch-layer {
  border-radius: var(--post-radius-md);
  padding: 1rem;
  margin-bottom: 0;
}

.post-arch-layer-1 { background: rgba(59,130,246,0.12); border: 1px solid rgba(59,130,246,0.25); }
.post-arch-layer-2 { background: rgba(13,148,136,0.12); border: 1px solid rgba(13,148,136,0.25); }
.post-arch-layer-3 { background: rgba(245,158,11,0.12); border: 1px solid rgba(245,158,11,0.25); }

.post-arch-layer-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
  opacity: 0.7;
}

.post-arch-layer-items {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.post-arch-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255,255,255,0.07);
  border-radius: var(--post-radius-sm);
  padding: 0.35rem 0.75rem;
  font-size: 0.775rem;
  color: var(--post-gray-300);
}

.post-arch-item i { color: var(--post-primary-light); font-size: 0.75rem; }

.post-arch-arrow {
  text-align: center;
  font-size: 0.75rem;
  color: var(--post-gray-500);
  padding: 0.5rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

/* Code block */
.post-code-block {
  background: #0d1117;
  border-radius: var(--post-radius-lg);
  overflow: hidden;
  margin: 1.75rem 0;
  border: 1px solid rgba(255,255,255,0.08);
}

.post-code-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 1rem;
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.post-code-lang {
  font-size: 0.75rem;
  color: var(--post-gray-400);
  font-weight: 600;
  font-family: 'Inter', monospace;
}

.post-code-copy {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--post-gray-400);
  padding: 0.25rem 0.65rem;
  border-radius: var(--post-radius-sm);
  font-size: 0.75rem;
  cursor: pointer;
  transition: all var(--post-transition);
  font-family: 'Inter', sans-serif;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.post-code-copy:hover { background: rgba(255,255,255,0.15); color: #fff; }

.post-code-content {
  padding: 1.25rem;
  margin: 0;
  overflow-x: auto;
  font-size: 0.8rem;
  line-height: 1.7;
}

.post-code-content code {
  font-family: 'Fira Code', 'Courier New', monospace;
  color: #e2e8f0;
  white-space: pre;
}

/* Modules grid */
.post-modules-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin: 1.5rem 0;
}

.post-module-card {
  background: var(--post-gray-50);
  border: 1px solid var(--post-gray-200);
  border-radius: var(--post-radius-lg);
  padding: 1.5rem;
  position: relative;
  transition: all var(--post-transition);
}

.post-module-card:hover { border-color: var(--post-primary-light); box-shadow: var(--post-shadow-md); }

.post-module-num {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--post-gray-200);
  font-family: 'Plus Jakarta Sans', sans-serif;
  line-height: 1;
}

.post-module-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--post-primary), var(--post-primary-dark));
  border-radius: var(--post-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 0.875rem;
}

.post-module-h3 {
  font-size: 0.9875rem;
  font-weight: 700;
  color: var(--post-gray-800);
  margin: 0 0 0.5rem;
  line-height: 1.4;
}

.post-module-card > p {
  font-size: 0.8125rem;
  color: var(--post-gray-500);
  line-height: 1.65;
  margin: 0 0 0.875rem;
}

.post-module-specs {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.post-module-specs li {
  font-size: 0.775rem;
  color: var(--post-gray-500);
  padding-left: 1rem;
  position: relative;
  line-height: 1.5;
}

.post-module-specs li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--post-primary);
  font-size: 0.7rem;
}

/* Hero variants */
.post-hero-development .post-hero-shape-1 { background: radial-gradient(circle, #0d9488, transparent); }
.post-hero-development .post-hero-shape-2 { background: radial-gradient(circle, #0891b2, transparent); }

/* Hero author block */
.post-hero-author {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin-bottom: 1.5rem;
}

.post-author-avatar {
  width: 42px;
  height: 42px;
  background: var(--post-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.post-author-info { display: flex; flex-direction: column; gap: 0.15rem; }
.post-author-name { font-size: 0.875rem; font-weight: 700; color: #fff; }
.post-author-role { font-size: 0.75rem; color: var(--post-gray-400); }

/* Hero intro para */
.post-hero-intro {
  font-size: 1rem;
  color: var(--post-gray-300);
  line-height: 1.75;
  max-width: 760px;
  margin: 0 0 1.5rem;
}

.post-hero-intro strong { color: #fff; }

/* Hero category style */
.post-hero-cat { /* already defined in the hero section above */ }
.post-hero-date, .post-hero-read, .post-hero-words { display: flex; align-items: center; gap: 0.35rem; font-size: 0.8125rem; }

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 1024px) {
  .post-layout-section > .post-layout-container { grid-template-columns: 1fr; }
  .post-toc-col { position: static; max-height: none; overflow-y: visible; }
  .post-sidebar { position:static;max-height:none;overflow-y:visible; }
  .post-related-grid { grid-template-columns: 1fr 1fr; }
  .post-stats-bar { grid-template-columns: repeat(2,1fr); }
  .post-modules-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .post-hero { padding: 3.5rem 1rem 2.5rem; }
  .post-content { padding: 1.5rem; }
  .post-article-col { padding: 1.25rem; border-radius: var(--post-radius-md); }
  .post-feature-grid { grid-template-columns: 1fr; }
  .post-related-grid { grid-template-columns: 1fr; }
  .post-stats-bar { grid-template-columns: 1fr 1fr; }
  .post-demo-actions { flex-direction: column; align-items: stretch; }
  .post-demo-btn-call, .post-demo-btn-wa { justify-content: center; }
  .post-cta-btns { flex-direction:column;align-items:center; }
  .post-author-box { flex-direction:column;text-align:center; }
  .post-cards-grid { grid-template-columns: 1fr; }
  .post-arch-layer-items { gap: 0.4rem; }
  .post-inline-cta { flex-direction: column; }
}

@media (max-width: 480px) {
  .post-stats-bar { grid-template-columns: 1fr; }
  .post-hero-title { font-size: 1.4rem; }
}

/* ===========================
   FAQ SECTION
   =========================== */
.post-faq-section {
  background: var(--post-gray-50);
  border: 1px solid var(--post-gray-200);
  border-radius: var(--post-radius-lg);
  padding: 2rem;
  margin-bottom: 2.5rem;
}

.post-faq-section .post-h2 {
  margin-bottom: 0.5rem;
}

/* ===========================
   FAQ — details/summary style
   (post-faq-list / post-faq-item / post-faq-question / post-faq-answer)
   =========================== */
.post-faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 1.5rem 0 0;
}

.post-faq-item {
  border: 1px solid var(--post-gray-200);
  border-radius: var(--post-radius-md);
  overflow: hidden;
  transition: border-color var(--post-transition), box-shadow var(--post-transition);
  background: #fff;
}

.post-faq-item[open] {
  border-color: var(--post-primary);
  box-shadow: 0 0 0 3px rgba(13,148,136,0.08);
}

.post-faq-question {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 1.1rem 1.25rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--post-gray-800);
  cursor: pointer;
  background: var(--post-gray-50);
  transition: background var(--post-transition), color var(--post-transition);
  user-select: none;
  font-family: 'Inter', sans-serif;
}

.post-faq-question::-webkit-details-marker { display: none; }
.post-faq-question::marker { display: none; }

.post-faq-item[open] .post-faq-question {
  background: rgba(13,148,136,0.06);
  color: var(--post-primary-dark);
}

.post-faq-question:hover { background: var(--post-gray-100); color: var(--post-primary); }

.post-faq-chevron {
  font-size: 0.75rem;
  color: var(--post-primary);
  flex-shrink: 0;
  transition: transform var(--post-transition);
}

.post-faq-item[open] .post-faq-chevron { transform: rotate(90deg); }

.post-faq-answer {
  padding: 1rem 1.25rem 1.25rem;
  border-top: 1px solid var(--post-gray-100);
  background: #fff;
}

.post-faq-answer p {
  font-size: 0.9rem;
  color: var(--post-gray-600);
  line-height: 1.8;
  margin: 0;
}

.post-faq-answer p strong { color: var(--post-gray-800); }

/* ===========================
   CONCLUSION BOX
   =========================== */
.post-conclusion { margin-top: 0; }

.post-conclusion-box {
  background: linear-gradient(135deg, #0b1120 0%, #0d2137 60%, #134e4a 100%);
  border-radius: var(--post-radius-lg);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}

.post-conclusion-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(13,148,136,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13,148,136,0.07) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.post-conclusion-h2 {
  position: relative;
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-size: clamp(1.15rem, 2.5vw, 1.5rem);
  font-weight: 800;
  color: #fff;
  margin: 0 0 1rem;
  line-height: 1.3;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.post-conclusion-h2 i { color: var(--post-primary-light); flex-shrink: 0; margin-top: 0.15rem; }

.post-conclusion-box > p {
  position: relative;
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.8;
  margin: 0 0 1rem;
}

.post-conclusion-box > p strong { color: #fff; }

.post-conclusion-actions {
  position: relative;
  display: flex;
  gap: 0.875rem;
  flex-wrap: wrap;
  margin-top: 1.75rem;
}

.post-conclusion-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--post-primary);
  color: #fff;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border-radius: var(--post-radius-full);
  font-size: 0.9rem;
  font-weight: 700;
  transition: all var(--post-transition);
  box-shadow: 0 4px 16px rgba(13,148,136,0.35);
}

.post-conclusion-btn-primary:hover {
  background: var(--post-primary-dark);
  transform: translateY(-2px);
  color: #fff;
  text-decoration: none;
}

.post-conclusion-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border-radius: var(--post-radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  transition: all var(--post-transition);
}

.post-conclusion-btn-secondary:hover {
  background: rgba(255,255,255,0.15);
  color: #fff;
  text-decoration: none;
}

/* ===========================
   POST NAVIGATION (prev/next)
   =========================== */
.post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 2rem 0 0;
  border-top: 1px solid var(--post-gray-100);
  padding-top: 1.5rem;
}

.post-nav-prev,
.post-nav-next {
  background: var(--post-gray-50);
  border: 1px solid var(--post-gray-200);
  border-radius: var(--post-radius-md);
  transition: all var(--post-transition);
}

.post-nav-prev:hover,
.post-nav-next:hover { border-color: var(--post-primary-light); box-shadow: var(--post-shadow-sm); }

.post-nav-prev a,
.post-nav-next a {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.1rem 1.25rem;
  text-decoration: none;
}

.post-nav-next a { text-align: right; }

.post-nav-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--post-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.post-nav-next .post-nav-label { justify-content: flex-end; }

.post-nav-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--post-gray-700);
  line-height: 1.4;
}

/* ===========================
   RELATED POSTS (updated for new HTML structure)
   =========================== */
.post-related {
  margin-top: 2rem;
  padding: 2rem;
  background: var(--post-gray-50);
  border: 1px solid var(--post-gray-200);
  border-radius: var(--post-radius-lg);
}

.post-related-title {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--post-gray-800);
  margin: 0 0 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.post-related-title i { color: var(--post-primary); }

.post-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.post-related-card {
  background: #fff;
  border: 1px solid var(--post-gray-200);
  border-radius: var(--post-radius-md);
  overflow: hidden;
  transition: all var(--post-transition);
}

.post-related-card:hover {
  border-color: var(--post-primary-light);
  box-shadow: var(--post-shadow-md);
  transform: translateY(-2px);
}

.post-related-link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  height: 100%;
}

.post-related-link:hover { text-decoration: none; }

.post-related-img {
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: rgba(255,255,255,0.7);
}

.post-related-img-mlm      { background: linear-gradient(135deg, #0f766e, #0891b2); }
.post-related-img-network  { background: linear-gradient(135deg, #1d4ed8, #7c3aed); }
.post-related-img-direct   { background: linear-gradient(135deg, #b45309, #d97706); }

.post-related-body {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1;
}

.post-related-cat {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--post-primary);
}

.post-related-body h3 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--post-gray-800);
  line-height: 1.4;
  margin: 0;
}

.post-related-read {
  font-size: 0.75rem;
  color: var(--post-gray-400);
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: auto;
}

/* ===========================
   DEMO CTA SECTION (blog-demo-*)
   =========================== */
.blog-demo-section {
  background: linear-gradient(135deg, #0b1120 0%, #0d2137 50%, #0f766e 100%);
  padding: 5rem 1.5rem;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.blog-demo-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(13,148,136,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13,148,136,0.07) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.blog-demo-container {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
}

.blog-demo-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(13,148,136,0.2);
  border: 1px solid rgba(94,234,212,0.25);
  color: var(--post-primary-light);
  padding: 0.35rem 1.1rem;
  border-radius: var(--post-radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1.5rem;
}

.blog-demo-title {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-size: clamp(1.5rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: #fff;
  margin: 0 0 1rem;
  line-height: 1.2;
}

.blog-demo-grad {
  background: linear-gradient(135deg, #5eead4, #38bdf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.blog-demo-desc {
  font-size: 1rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.8;
  margin: 0 0 2rem;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

.blog-demo-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
}

.blog-demo-btn-call {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--post-primary);
  color: #fff;
  text-decoration: none;
  padding: 0.875rem 2rem;
  border-radius: var(--post-radius-full);
  font-size: 0.9375rem;
  font-weight: 700;
  transition: all var(--post-transition);
  box-shadow: 0 4px 24px rgba(13,148,136,0.4);
}

.blog-demo-btn-call:hover {
  background: var(--post-primary-dark);
  transform: translateY(-2px);
  color: #fff;
  text-decoration: none;
}

.blog-demo-btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #25d366;
  color: #fff;
  text-decoration: none;
  padding: 0.875rem 2rem;
  border-radius: var(--post-radius-full);
  font-size: 0.9375rem;
  font-weight: 700;
  transition: all var(--post-transition);
  box-shadow: 0 4px 24px rgba(37,211,102,0.3);
}

.blog-demo-btn-wa:hover {
  background: #128c7e;
  transform: translateY(-2px);
  color: #fff;
  text-decoration: none;
}

.blog-demo-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.5);
}

.blog-demo-trust i { color: var(--post-primary-light); margin-right: 0.2rem; }

/* ===========================
   FOOTER (blog-footer-*)
   =========================== */
.blog-footer {
  background: #0b1120;
  color: var(--post-gray-400);
  font-size: 0.875rem;
}

.blog-footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 1.5rem 2.5rem;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 2.5rem;
  align-items: start;
}

/* Brand column */
.blog-footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.blog-footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.blog-footer-logo:hover { text-decoration: none; }

.blog-footer-logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--post-primary), #0891b2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.blog-footer-logo-main {
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
}

.blog-footer-logo-sub {
  display: block;
  font-size: 0.7rem;
  color: var(--post-gray-500);
  font-weight: 500;
}

.blog-footer-tagline {
  font-size: 0.8125rem;
  color: var(--post-gray-500);
  line-height: 1.7;
  margin: 0;
}

.blog-footer-socials {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.blog-footer-socials a {
  width: 34px;
  height: 34px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--post-gray-400);
  font-size: 0.85rem;
  text-decoration: none;
  transition: all var(--post-transition);
}

.blog-footer-socials a:hover {
  background: var(--post-primary);
  border-color: var(--post-primary);
  color: #fff;
  text-decoration: none;
}

/* Nav columns */
.blog-footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.blog-footer-col h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin: 0 0 1rem;
}

.blog-footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.blog-footer-col ul li a {
  color: var(--post-gray-500);
  text-decoration: none;
  font-size: 0.8125rem;
  transition: color var(--post-transition);
}

.blog-footer-col ul li a:hover { color: var(--post-primary-light); text-decoration: none; }

/* Contact list (no links for some items) */
.blog-footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--post-gray-500);
  line-height: 1.5;
}

.blog-footer-contact li i {
  color: var(--post-primary);
  font-size: 0.8rem;
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.blog-footer-contact li a {
  color: var(--post-gray-500);
  text-decoration: none;
  transition: color var(--post-transition);
}

.blog-footer-contact li a:hover { color: var(--post-primary-light); }

/* Bottom bar */
.blog-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
}

.blog-footer-bottom-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.blog-footer-bottom-inner p {
  font-size: 0.8125rem;
  color: var(--post-gray-600);
  margin: 0;
}

.blog-footer-bottom-links {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.blog-footer-bottom-links a {
  font-size: 0.8125rem;
  color: var(--post-gray-600);
  text-decoration: none;
  transition: color var(--post-transition);
}

.blog-footer-bottom-links a:hover { color: var(--post-primary-light); text-decoration: none; }

/* ===========================
   RESPONSIVE — new sections
   =========================== */
@media (max-width: 1100px) {
  .blog-footer-container { grid-template-columns: 220px 1fr; gap: 2rem; }
  .blog-footer-cols { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}

@media (max-width: 1024px) {
  .blog-footer-container { grid-template-columns: 1fr; gap: 2rem; }
  .blog-footer-cols { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .post-nav { grid-template-columns: 1fr; }
  .post-nav-next a { text-align: left; }
  .post-nav-next .post-nav-label { justify-content: flex-start; }
  .post-related-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .blog-footer-container { padding: 2.5rem 1rem 2rem; }
  .blog-footer-cols { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
  .blog-demo-actions { flex-direction: column; align-items: stretch; }
  .blog-demo-btn-call, .blog-demo-btn-wa { justify-content: center; }
  .blog-demo-trust { gap: 1rem; flex-direction: column; align-items: center; }
  .post-conclusion-actions { flex-direction: column; align-items: stretch; }
  .post-conclusion-btn-primary, .post-conclusion-btn-secondary { justify-content: center; }
  .post-related-grid { grid-template-columns: 1fr; }
  .blog-footer-bottom-inner { flex-direction: column; text-align: center; }
  .post-trust-bar { gap: 0.75rem; }
  .post-trust-item { font-size: 0.8rem; }
}

@media (max-width: 480px) {
  .blog-footer-cols { grid-template-columns: 1fr; gap: 1.25rem; }
  .blog-demo-section { padding: 3.5rem 1rem; }
  .post-conclusion-box { padding: 1.75rem 1.25rem; }
  .blog-footer-container { padding: 2rem 1rem 1.5rem; }
}

/* ===========================
   TRUST BAR
   =========================== */
.post-trust-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  background: linear-gradient(135deg, rgba(13,148,136,0.06), rgba(8,145,178,0.06));
  border: 1px solid rgba(13,148,136,0.15);
  border-radius: var(--post-radius-lg);
  padding: 1.25rem 1.5rem;
  margin: 2rem 0 0;
  justify-content: center;
}

.post-trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8375rem;
  font-weight: 600;
  color: var(--post-gray-700);
  white-space: nowrap;
}

.post-trust-item i {
  color: var(--post-primary);
  font-size: 0.875rem;
}

/* ===========================
   API ENDPOINTS BLOCK
   =========================== */
.post-api-endpoints {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin: 1.5rem 0;
}

.post-api-group {
  background: var(--post-gray-50);
  border: 1px solid var(--post-gray-200);
  border-radius: var(--post-radius-md);
  overflow: hidden;
}

.post-api-group-header {
  background: var(--post-gray-900);
  color: #fff;
  padding: 0.65rem 1rem;
  font-size: 0.8125rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.post-api-group-header i { color: var(--post-primary-light); }

.post-api-endpoint {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 1rem;
  border-bottom: 1px solid var(--post-gray-100);
  font-size: 0.78rem;
  flex-wrap: wrap;
}

.post-api-endpoint:last-child { border-bottom: none; }

.post-api-endpoint code {
  font-family: 'Fira Code', 'Courier New', monospace;
  font-size: 0.75rem;
  color: var(--post-gray-700);
  background: rgba(0,0,0,0.04);
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.post-api-method {
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  flex-shrink: 0;
  font-family: 'Inter', monospace;
  letter-spacing: 0.03em;
}

.post-method-get    { background: #dcfce7; color: #166534; }
.post-method-post   { background: #dbeafe; color: #1e40af; }
.post-method-patch  { background: #fef9c3; color: #854d0e; }
.post-method-put    { background: #ffedd5; color: #9a3412; }
.post-method-delete { background: #fee2e2; color: #991b1b; }

.post-api-desc {
  font-size: 0.72rem;
  color: var(--post-gray-400);
  flex-shrink: 0;
  margin-left: auto;
}

/* ===========================
   COMPARISON TABLE (coloured td)
   =========================== */
.post-comparison-table-wrap {
  overflow-x: auto;
  margin: 1.5rem 0;
  border-radius: var(--post-radius-md);
  border: 1px solid var(--post-gray-200);
}

.post-td-good { color: #166534; background: #f0fdf4; }
.post-td-good i { color: #16a34a; }
.post-td-bad  { color: #991b1b; background: #fef2f2; }
.post-td-bad  i { color: #dc2626; }
.post-td-ok   { color: #854d0e; background: #fefce8; }
.post-td-ok   i { color: #ca8a04; }

/* ===========================
   SECURITY GRID
   =========================== */
.post-security-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin: 1.5rem 0;
}

.post-security-card {
  background: var(--post-gray-50);
  border: 1px solid var(--post-gray-200);
  border-radius: var(--post-radius-md);
  padding: 1.5rem;
  transition: all var(--post-transition);
}

.post-security-card:hover { border-color: var(--post-primary-light); box-shadow: var(--post-shadow-sm); }

.post-security-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--post-primary), var(--post-primary-dark));
  border-radius: var(--post-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 0.875rem;
}

.post-security-card h3 {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--post-gray-800);
  margin: 0 0 0.75rem;
}

.post-security-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.post-security-card li {
  font-size: 0.8125rem;
  color: var(--post-gray-600);
  padding-left: 1rem;
  position: relative;
  line-height: 1.5;
}

.post-security-card li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--post-primary);
  font-size: 0.65rem;
  top: 0.15rem;
}

/* ===========================
   TIMELINE
   =========================== */
.post-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 1.5rem 0;
  position: relative;
  padding-left: 2.5rem;
}

.post-timeline::before {
  content: '';
  position: absolute;
  left: 19px;
  top: 20px;
  bottom: 20px;
  width: 2px;
  background: var(--post-gray-200);
}

.post-timeline-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
  position: relative;
}

.post-timeline-item:last-child { margin-bottom: 0; }

.post-timeline-marker {
  position: absolute;
  left: -2.5rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.875rem;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
  z-index: 1;
  box-shadow: 0 0 0 4px #fff;
}

.post-tl-blue   { background: #3b82f6; }
.post-tl-purple { background: #8b5cf6; }
.post-tl-green  { background: #10b981; }
.post-tl-orange { background: #f59e0b; }
.post-tl-red    { background: #ef4444; }
.post-tl-teal   { background: var(--post-primary); }

.post-timeline-content {
  background: var(--post-gray-50);
  border: 1px solid var(--post-gray-200);
  border-radius: var(--post-radius-md);
  padding: 1rem 1.25rem;
  flex: 1;
  transition: all var(--post-transition);
}

.post-timeline-content:hover { border-color: var(--post-primary-light); box-shadow: var(--post-shadow-sm); }

.post-timeline-content h4 {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--post-gray-800);
  margin: 0 0 0.4rem;
}

.post-timeline-content p {
  font-size: 0.8375rem;
  color: var(--post-gray-500);
  margin: 0;
  line-height: 1.65;
}

/* ===========================
   CRITERIA GRID (evaluation)
   =========================== */
.post-criteria-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 1.5rem 0;
}

.post-criterion {
  background: var(--post-gray-50);
  border: 1px solid var(--post-gray-200);
  border-radius: var(--post-radius-md);
  padding: 1.25rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: all var(--post-transition);
}

.post-criterion:hover { border-color: var(--post-primary-light); box-shadow: var(--post-shadow-sm); }

.post-criterion-num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--post-gray-200);
  line-height: 1;
  flex-shrink: 0;
  min-width: 2.5rem;
}

.post-criterion-content h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--post-gray-800);
  margin: 0 0 0.35rem;
}

.post-criterion-content p {
  font-size: 0.8125rem;
  color: var(--post-gray-500);
  margin: 0;
  line-height: 1.6;
}

/* ===========================
   RESPONSIVE — extra components
   =========================== */
@media (max-width: 1024px) {
  .post-api-endpoints { grid-template-columns: 1fr; }
  .post-security-grid { grid-template-columns: 1fr; }
  .post-criteria-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .post-api-endpoints { grid-template-columns: 1fr; }
  .post-api-desc { display: none; }
  .post-timeline { padding-left: 2rem; }
  .post-timeline-marker { left: -2rem; width: 32px; height: 32px; font-size: 0.75rem; }
}
