.article-header {
      background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
      padding: 60px 0;
      color: #fff;
    }
    .article-meta {
      font-size: 0.85rem;
      color: #94a3b8;
    }
    .article-content {
      font-family: 'Inter', sans-serif;
      color: #334155;
      font-size: 1.05rem;
      line-height: 1.85;
    }
    .article-content h2, .article-content h3 {
      font-family: 'Outfit', sans-serif;
      color: #0f172a;
      font-weight: 700;
      margin-top: 2rem;
      margin-bottom: 1rem;
    }
    .article-content h2 { font-size: 1.6rem; border-bottom: 1px solid #e2e8f0; padding-bottom: 8px; }
    .article-content h3 { font-size: 1.3rem; }
    .article-content blockquote {
      border-left: 4px solid #4f46e5;
      padding: 16px 24px;
      background: #f8fafc;
      font-style: italic;
      color: #475569;
      border-radius: 0 8px 8px 0;
      margin: 24px 0;
    }
    .article-content img {
      max-width: 100%;
      height: auto;
      border-radius: 12px;
      margin: 24px 0;
    }
    .sidebar-widget {
      background: #fff;
      border: 1px solid #e2e8f0;
      border-radius: 16px;
      padding: 24px;
      margin-bottom: 24px;
    }
    .sidebar-widget-title {
      font-family: 'Outfit', sans-serif;
      font-size: 1.1rem;
      font-weight: 700;
      color: #0f172a;
      margin-bottom: 16px;
      padding-bottom: 8px;
      border-bottom: 1px solid #f1f5f9;
    }
    .sidebar-post-item {
      display: flex;
      gap: 12px;
      align-items: center;
      text-decoration: none;
      color: inherit;
      margin-bottom: 14px;
    }
    .sidebar-post-item:last-child { margin-bottom: 0; }
    .sidebar-post-img {
      width: 60px;
      height: 60px;
      border-radius: 8px;
      object-fit: cover;
      flex-shrink: 0;
      background: #f1f5f9;
    }
    .sidebar-post-title {
      font-size: 0.85rem;
      font-weight: 600;
      color: #334155;
      line-height: 1.4;
      transition: color 0.15s;
    }
    .sidebar-post-item:hover .sidebar-post-title {
      color: #4f46e5;
    }
    .sidebar-post-date {
      font-size: 0.72rem;
      color: #94a3b8;
      margin-top: 2px;
    }
    .author-card {
      background: #f8fafc;
      border: 1px solid #e2e8f0;
      border-radius: 16px;
      padding: 28px;
      margin-top: 40px;
      display: flex;
      gap: 20px;
      align-items: center;
    }
    @media (max-width: 576px) {
      .author-card { flex-direction: column; text-align: center; }
    }
    .author-card-avatar {
      width: 72px;
      height: 72px;
      border-radius: 50%;
      object-fit: cover;
      border: 3px solid #fff;
      box-shadow: 0 4px 10px rgba(0,0,0,0.06);
    }
    
    .article-header h1 {
      color: #fff !important;
    }

/* Promo widget styling replicating the screenshot colors and styles */
.promo-widget {
    background: #f0f7ff !important;
    border: 2.5px solid #bfdbfe !important;
    border-radius: 20px !important;
    box-shadow: 0 10px 25px -5px rgba(37,99,235,0.05) !important;
}
.sidebar-promo-tag {
    background: #2563eb !important;
    color: #fff !important;
    font-size: 0.7rem !important;
    font-weight: 700 !important;
    padding: 4px 12px !important;
    border-radius: 50px !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
}
.sidebar-promo-title {
    font-family: 'Outfit', sans-serif !important;
    color: #0f172a !important;
    font-weight: 800 !important;
    font-size: 1.35rem !important;
}
.sidebar-promo-desc {
    font-size: 0.85rem !important;
    color: #475569 !important;
    line-height: 1.5 !important;
}
.sidebar-promo-features .spf-item {
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    color: #334155 !important;
}
.sidebar-promo-features .spf-item i {
    color: #2563eb !important;
}
.btn-promo-action {
    background: #2563eb !important;
    border-color: #2563eb !important;
    font-weight: 700 !important;
    font-size: 0.88rem !important;
    padding: 10px !important;
    border-radius: 8px !important;
}
.btn-promo-action:hover {
    background: #1d4ed8 !important;
    border-color: #1d4ed8 !important;
}


/* Code Blocks and API Tables */
.article-content pre {
    background: #0f172a !important;
    color: #cbd5e1 !important;
    padding: 16px 20px !important;
    border-radius: 10px !important;
    font-size: 0.9rem !important;
    overflow-x: auto !important;
    border: 1px solid #1e293b !important;
    margin: 18px 0 !important;
}
.article-content pre code {
    font-family: 'Courier New', Courier, monospace !important;
    font-weight: 700 !important;
    color: #e2e8f0 !important; /* light color inside dark pre */
    background: transparent !important;
    padding: 0 !important;
}
.article-content code {
    font-family: 'Courier New', Courier, monospace !important;
    font-weight: 700 !important;
    color: #1e293b !important; /* dark color by default for inline code */
}
.article-content p > code, 
.article-content li > code, 
.article-content td > code {
    background: #f1f5f9 !important;
    color: #ef4444 !important; /* red color for parameters/inline code */
    padding: 2px 6px !important;
    border-radius: 4px !important;
    font-size: 0.9em !important;
}
.article-content .accordion-button code {
    color: #2563eb !important; /* primary blue color for method names */
    background: #eff6ff !important;
    padding: 2px 6px !important;
    border-radius: 4px !important;
    font-size: 0.95em !important;
}
.api-endpoint-badge {
    background: #10b981 !important;
    color: #fff !important;
    font-weight: 700 !important;
    padding: 6px 14px !important;
    border-radius: 6px !important;
    font-size: 0.85rem !important;
    display: inline-block !important;
    letter-spacing: 0.5px !important;
}
.api-param-table {
    width: 100% !important;
    margin: 20px 0 !important;
    border-collapse: collapse !important;
}
.api-param-table th, .api-param-table td {
    padding: 12px !important;
    border-bottom: 1px solid #cbd5e1 !important;
    font-size: 0.9rem !important;
    text-align: left !important;
}
.api-param-table th {
    background: #f8fafc !important;
    color: #0f172a !important;
    font-weight: 700 !important;
}
.api-param-table td code {
    color: #ef4444 !important;
    background: #fef2f2 !important;
    padding: 2px 6px !important;
    border-radius: 4px !important;
}
.article-content .accordion-button:not(.collapsed) {
    background-color: rgba(37, 99, 235, 0.05) !important;
    color: #2563eb !important;
}
