/* Article specific styles */
.article-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 12px;
}

.article-header {
    text-align: center;
    margin-bottom: 3rem;
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 2rem;
}

.article-header h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: #2c3e50;
}

.article-subtitle {
    font-size: 1.2rem;
    color: #6c757d;
    margin-bottom: 1.5rem;
}

.article-meta {
    font-size: 0.9rem;
    color: #6c757d;
}

.article-meta span {
    margin: 0 1rem;
}

.article-body .lead {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #495057;
    margin-bottom: 2rem;
    border-left: 4px solid #667eea;
    padding-left: 1.5rem;
}

.article-body h2 {
    font-size: 2rem;
    margin: 3rem 0 1.5rem;
    color: #2c3e50;
    border-bottom: 2px solid #667eea;
    padding-bottom: 0.5rem;
}

.article-body h3 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
    color: #34495e;
}

.article-body h4 {
    font-size: 1.2rem;
    margin: 1.5rem 0 0.5rem;
    color: #34495e;
}

.article-body p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.article-body ul,
.article-body ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.article-body li {
    margin-bottom: 0.75rem;
}

.infobox {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
    border-left: 4px solid #667eea;
}

.infobox h3 {
    margin-top: 0;
    color: #2c3e50;
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

@media (max-width: 768px) {
    .comparison-grid {
        grid-template-columns: 1fr;
    }
    
    .article-header h1 {
        font-size: 2.2rem;
    }
}

/* Data tables used in spectrum / models / genetics pages */
.data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.9rem;
}
.data-table th, .data-table td {
    border: 1px solid #d9e2ec;
    padding: 0.55rem 0.6rem;
    text-align: left;
    vertical-align: top;
}
.data-table thead th {
    background: #eef2f7;
    font-weight: 600;
}
.data-table tbody tr:nth-child(even) {
    background: #fafbfc;
}
.data-table caption { 
    text-align: left; 
    font-size: 0.85rem; 
    color: #6c757d; 
    margin-bottom: 0.4rem; 
}
@media (max-width: 640px) {
    .data-table { font-size: 0.72rem; }
    .data-table th, .data-table td { padding: 0.4rem 0.45rem; }
}
