body {
    font-family: 'Inter', sans-serif;
}

.nex-title {
    font-family: 'Space Grotesk', sans-serif;
}

.article-page-main {
    padding-top: 8.5rem;
    padding-bottom: 5rem;
}

.article-content {
    max-width: 860px;
    margin: 0 auto;
    line-height: 1.85;
}

/* Prevent global header styles from affecting in-article semantic headers */
.article-content > header {
    position: static !important;
    inset: auto !important;
    width: auto !important;
    max-width: none !important;
    z-index: auto !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    padding: 0 !important;
    margin: 0 0 2rem 0 !important;
}

.article-content h1 {
    color: #e2e8f0;
    -webkit-text-fill-color: #e2e8f0;
    background: none;
    -webkit-background-clip: border-box;
    background-clip: border-box;
    line-height: 1.2;
    white-space: normal;
    word-break: break-word;
    font-size: clamp(2rem, 4.6vw, 3.2rem);
}

.article-content h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #00d4ff;
}

.article-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: #00d4ff;
}

.article-content p {
    margin-bottom: 1.5rem;
    color: #cbd5e1;
}

.article-content .lead {
    font-size: 1.15rem;
    line-height: 1.9;
}

.article-content ul,
.article-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
    color: #cbd5e1;
}

.article-content li {
    margin-bottom: 0.5rem;
    line-height: 1.8;
}

.article-content a {
    color: #00d4ff;
    text-decoration: underline;
}

.article-content a:hover {
    color: #06b6d4;
}

.article-meta {
    color: #94a3b8;
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: rgba(15, 23, 42, 0.6);
    border-radius: 8px;
    overflow: hidden;
}

.comparison-table th {
    background: rgba(0, 212, 255, 0.2);
    color: #00d4ff;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
}

.comparison-table td {
    padding: 1rem;
    border-top: 1px solid rgba(0, 212, 255, 0.1);
    color: #cbd5e1;
}

.comparison-table tr:hover {
    background: rgba(0, 212, 255, 0.05);
}

.case-study,
.checklist-item,
.warning-box,
.stat-box {
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 4px;
}

.case-study {
    background: rgba(0, 212, 255, 0.1);
    border-left: 3px solid #00d4ff;
}

.case-study h4 {
    color: #00d4ff;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.checklist-item {
    background: rgba(0, 212, 255, 0.1);
    border-left: 3px solid #00d4ff;
}

.warning-box {
    background: rgba(239, 68, 68, 0.1);
    border-left: 3px solid #ef4444;
}

.stat-box {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 8px;
}

@media (max-width: 768px) {
    .article-page-main {
        padding-top: 7rem;
    }
}
