/**
 * Cohen House Blog Post Styles
 * ARMAGEDDON v5.x - Phase 5
 * 
 * Mobile-first, CWV-optimized
 * Version: 1.0.0
 * Last Updated: 2026-01-12
 */

/* Blog Post Container */
.ch-blog-post {
    background: #fff;
    color: #333;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.7;
}

/* Hero Section */
.ch-blog-hero {
    padding: 60px 20px 40px;
    text-align: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.ch-blog-meta {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
    font-size: 14px;
    color: #666;
}

.ch-badge {
    display: inline-block;
    padding: 6px 14px;
    background: #007bff;
    color: #fff;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ch-read-time {
    color: #666;
}

.ch-blog-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 20px 0;
    color: #1a1a1a;
}

.ch-blog-subtitle {
    font-size: 1.25rem;
    color: #666;
    margin: 15px auto 0;
    max-width: 700px;
}

/* Container */
.ch-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Content */
.ch-blog-content {
    padding: 40px 0;
}

.ch-section {
    margin-bottom: 40px;
}

.ch-section h2 {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1a1a1a;
    line-height: 1.3;
}

.ch-section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.ch-section p {
    margin-bottom: 20px;
    font-size: 1.0625rem;
}

.ch-lead {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.6;
    color: #333;
}

/* Lists */
.ch-section ul,
.ch-section ol {
    margin-bottom: 20px;
    padding-left: 25px;
}

.ch-section li {
    margin-bottom: 10px;
    font-size: 1.0625rem;
}

.ch-section li strong {
    color: #1a1a1a;
}

/* Notice Boxes */
.ch-notice {
    padding: 20px;
    margin: 25px 0;
    border-radius: 6px;
    border-left: 4px solid;
}

.ch-notice p {
    margin: 0;
}

.ch-notice--info {
    background: #e7f3ff;
    border-color: #007bff;
}

.ch-notice--warning {
    background: #fff3cd;
    border-color: #ffc107;
}

.ch-notice a {
    color: #0056b3;
    text-decoration: underline;
}

/* CTA Section */
.ch-cta {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: #fff;
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    margin: 40px 0;
}

.ch-cta--soft {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: #333;
    border: 2px solid #dee2e6;
}

.ch-cta h3 {
    font-size: 1.75rem;
    margin-bottom: 15px;
    color: inherit;
}

.ch-cta p {
    font-size: 1.125rem;
    margin-bottom: 20px;
    color: inherit;
    opacity: 0.9;
}

.ch-btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.ch-btn--primary {
    background: #fff;
    color: #007bff;
}

.ch-btn--primary:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.ch-cta--soft .ch-btn--primary {
    background: #007bff;
    color: #fff;
}

.ch-cta--soft .ch-btn--primary:hover {
    background: #0056b3;
}

/* FAQ Section */
.ch-faq {
    background: #f8f9fa;
    padding: 40px 30px;
    border-radius: 8px;
    margin: 50px 0;
}

.ch-faq h2 {
    text-align: center;
    margin-bottom: 35px;
}

.ch-faq-item {
    background: #fff;
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.ch-faq-question {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #1a1a1a;
}

.ch-faq-answer p {
    margin: 0;
    color: #333;
    line-height: 1.7;
}

/* Related Links */
.ch-related {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    margin-top: 50px;
}

.ch-related h3 {
    margin-bottom: 20px;
}

.ch-related-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ch-related-links li {
    margin-bottom: 12px;
}

.ch-related-links a {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.ch-related-links a:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* Links */
.ch-blog-content a {
    color: #007bff;
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 123, 255, 0.3);
    transition: all 0.2s ease;
}

.ch-blog-content a:hover {
    color: #0056b3;
    border-bottom-color: #0056b3;
}

/* Strong/Bold */
strong {
    font-weight: 600;
    color: #1a1a1a;
}

em {
    font-style: italic;
}

/* Hidden LLM Facts Block */
/* Facts block uses HTML hidden attribute for better accessibility */
.ch-llm-facts[hidden] {
    display: none;
}

/* Responsive */
@media (min-width: 768px) {
    .ch-blog-hero {
        padding: 80px 20px 60px;
    }
    
    .ch-blog-title {
        font-size: 3rem;
    }
    
    .ch-blog-subtitle {
        font-size: 1.375rem;
    }
    
    .ch-section h2 {
        font-size: 2.25rem;
    }
    
    .ch-faq {
        padding: 50px 40px;
    }
}

@media (min-width: 1024px) {
    .ch-container {
        max-width: 768px;
    }
}

/* Print Styles */
@media print {
    .ch-blog-hero {
        background: #fff;
        padding: 20px 0;
    }
    
    .ch-badge,
    .ch-cta,
    .ch-related {
        display: none;
    }
    
    .ch-blog-content a {
        color: #000;
        text-decoration: underline;
    }
}
