/* Shared styles for all blog posts */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.7;
    color: #1e293b;
    background: #ffffff;
}

/* Header Navigation */
.site-nav {
    background: linear-gradient(135deg, #0f766e 0%, #14b8a6 100%);
    padding: 1rem 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.site-nav a {
    color: white;
    text-decoration: none;
    font-weight: 600;
}

.site-nav a:hover {
    text-decoration: underline;
}

/* Article Container */
.article-container {
    max-width: 900px;
    margin: 3rem auto;
    padding: 0 2rem;
}

/* Legacy Notice */
.legacy-notice {
    background: #fef3c7;
    border-left: 4px solid #f59e0b;
    padding: 1rem 1.5rem;
    margin-bottom: 2rem;
    border-radius: 0.5rem;
}

.legacy-notice p {
    color: #92400e;
    font-size: 0.9rem;
    margin: 0.5rem 0;
}

.legacy-notice strong {
    color: #78350f;
}

/* Article Header */
.article-header {
    border-bottom: 3px solid #14b8a6;
    padding-bottom: 1.5rem;
    margin-bottom: 2rem;
}

.article-header h1 {
    font-size: 2.5rem;
    color: #0f766e;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.article-meta {
    color: #64748b;
    font-size: 0.95rem;
}

.article-meta span {
    margin-right: 1.5rem;
}

/* Article Content */
.article-content {
    font-size: 1.1rem;
    line-height: 1.8;
}

.article-content h2 {
    color: #0f766e;
    font-size: 1.8rem;
    margin: 2.5rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e2e8f0;
}

.article-content h3 {
    color: #0d9488;
    font-size: 1.4rem;
    margin: 2rem 0 1rem;
}

.article-content p {
    margin-bottom: 1.5rem;
    color: #334155;
}

.article-content ul, .article-content ol {
    margin: 1.5rem 0 1.5rem 2rem;
}

.article-content li {
    margin-bottom: 0.75rem;
    color: #334155;
}

.article-content strong {
    color: #0f766e;
    font-weight: 600;
}

.article-content a {
    color: #14b8a6;
    text-decoration: none;
    font-weight: 600;
}

.article-content a:hover {
    text-decoration: underline;
}

/* Info Boxes */
.info-box {
    background: #f0fdfa;
    border-left: 4px solid #14b8a6;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0.5rem;
}

.info-box h4 {
    color: #0f766e;
    margin-bottom: 0.75rem;
}

.warning-box {
    background: #fef3c7;
    border-left: 4px solid #f59e0b;
}

/* Tools Grid */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.tool-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    padding: 1.5rem;
    transition: box-shadow 0.3s, border-color 0.3s;
}

.tool-card:hover {
    border-color: #14b8a6;
    box-shadow: 0 4px 12px rgba(20, 184, 166, 0.15);
}

.tool-card h4 {
    color: #0f766e;
    margin-bottom: 0.75rem;
    font-size: 1.15rem;
}

.tool-card p {
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #0f766e 0%, #14b8a6 100%);
    color: white;
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    margin: 3rem 0;
}

.cta-section h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.cta-button {
    display: inline-block;
    background: white;
    color: #0f766e;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 700;
    margin-top: 1rem;
    transition: transform 0.2s;
}

.cta-button:hover {
    transform: translateY(-2px);
}

/* Related Articles */
.related-articles {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 1rem;
    margin-top: 3rem;
}

.related-articles h3 {
    color: #0f766e;
    margin-bottom: 1.5rem;
}

.related-articles ul {
    list-style: none;
    margin: 0;
}

.related-articles li {
    margin-bottom: 0.75rem;
}

.related-articles a {
    color: #0d9488;
    text-decoration: none;
    font-weight: 600;
}

.related-articles a:hover {
    color: #0f766e;
}

/* Footer */
.article-footer {
    border-top: 2px solid #e2e8f0;
    margin-top: 4rem;
    padding-top: 2rem;
    text-align: center;
    color: #64748b;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .article-header h1 {
        font-size: 2rem;
    }
    
    .article-content {
        font-size: 1rem;
    }
    
    .article-container {
        padding: 0 1rem;
    }
}