/* =============================================
   BLOG ARTICLE SHARED STYLES
   ============================================= */

.article-wrapper {
    max-width: 780px;
    margin: 0 auto;
    padding: 1.5rem 1.5rem 4rem;
    position: relative;
    z-index: 1;
}

.article-nav {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.article-nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.article-nav a:hover {
    color: var(--primary);
}

.article-header {
    margin-bottom: 2.5rem;
}

.article-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary);
    background: rgba(139, 92, 246, 0.15);
    padding: 0.25rem 0.65rem;
    border-radius: 20px;
    margin-bottom: 1rem;
}

.article-header h1 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.25;
    margin-bottom: 0.75rem;
}

.article-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}

.article-intro {
    font-size: 1.05rem;
    color: #cbd5e1;
    line-height: 1.75;
    border-left: 3px solid var(--primary);
    padding-left: 1.25rem;
}

article section {
    margin: 2.25rem 0;
}

article h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

article h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: #c4b5fd;
    margin: 1.5rem 0 0.5rem;
}

article p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 0.75rem;
}

article strong {
    color: var(--text-main);
}

article ul,
article ol {
    padding-left: 1.5rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.9;
    margin: 0.75rem 0;
}

article li {
    margin-bottom: 0.25rem;
}

.code-block {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(139, 92, 246, 0.25);
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    font-size: 0.875rem;
    color: #e2e8f0;
    line-height: 1.7;
    margin: 1rem 0;
    font-family: 'Inter', monospace;
}

.cta-box {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(236, 72, 153, 0.1));
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 16px;
    padding: 2rem;
    margin: 3rem 0 0;
    text-align: center;
}

.cta-box h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.6rem;
}

.cta-box p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    text-decoration: none;
    padding: 0.75rem 1.75rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: opacity 0.2s, transform 0.2s;
}

.cta-button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
    margin: 1rem 0;
    color: var(--text-muted);
}

th {
    background: rgba(139, 92, 246, 0.15);
    color: var(--text-main);
    font-weight: 600;
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

td {
    padding: 0.65rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}