/* ARTICLE READABILITY ENHANCEMENT - INSPIRED BY TOP NEWS SITES */
/* Modern typography and layout for exceptional content presentation */

/* ============================================ */
/* TYPOGRAPHY FOUNDATION (NYT/BBC/WashPost inspired) */
/* ============================================ */

.article-content {
    font-family: 'Charter', 'Georgia', 'Times New Roman', serif;
    font-size: 20px;
    line-height: 1.6;
    color: #1a1a1a;
    max-width: 680px;
    margin: 0 auto;
    padding: 0 20px;
}

.article-content h1 {
    font-family: 'Nunito', 'Helvetica Neue', Arial, sans-serif;
    font-size: 42px;
    font-weight: 800;
    line-height: 1.2;
    color: #000;
    margin: 0 0 24px 0;
    letter-spacing: -0.02em;
}

.article-content h2 {
    font-family: 'Nunito', 'Helvetica Neue', Arial, sans-serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.3;
    color: #1a1a1a;
    margin: 48px 0 20px 0;
    padding-top: 20px;
    border-top: 3px solid #007bff;
    letter-spacing: -0.01em;
}

.article-content h3 {
    font-family: 'Nunito', 'Helvetica Neue', Arial, sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.4;
    color: #2c3e50;
    margin: 36px 0 16px 0;
    position: relative;
}

.article-content h3::before {
    content: "▶";
    color: #007bff;
    font-size: 16px;
    margin-right: 8px;
}

.article-content h4 {
    font-family: 'Nunito', 'Helvetica Neue', Arial, sans-serif;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4;
    color: #34495e;
    margin: 28px 0 12px 0;
}

/* ============================================ */
/* PARAGRAPH AND TEXT STYLING */
/* ============================================ */

.article-content p {
    margin: 0 0 24px 0;
    font-size: 20px;
    line-height: 1.65;
    color: #2c3e50;
}

.article-content p:first-of-type {
    font-size: 22px;
    line-height: 1.6;
    color: #1a1a1a;
    font-weight: 400;
}

.article-content strong {
    font-weight: 700;
    color: #1a1a1a;
}

.article-content em {
    font-style: italic;
    color: #34495e;
}

/* ============================================ */
/* LISTS AND BULLET POINTS (Medium/Substack style) */
/* ============================================ */

.article-content ul, .article-content ol {
    margin: 24px 0;
    padding-left: 0;
}

.article-content ul li, .article-content ol li {
    margin: 12px 0;
    padding-left: 36px;
    position: relative;
    font-size: 20px;
    line-height: 1.65;
    color: #2c3e50;
}

.article-content ul li::before {
    content: "•";
    color: #007bff;
    font-size: 24px;
    position: absolute;
    left: 12px;
    top: -2px;
}

.article-content ol li::before {
    counter-increment: list-counter;
    content: counter(list-counter) ".";
    color: #007bff;
    font-weight: 700;
    position: absolute;
    left: 0;
    top: 0;
}

.article-content ol {
    counter-reset: list-counter;
}

/* ============================================ */
/* HIGHLIGHT BOXES AND CALLOUTS */
/* ============================================ */

.highlight-box {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-left: 5px solid #007bff;
    margin: 32px 0;
    padding: 24px 28px;
    border-radius: 0 8px 8px 0;
    position: relative;
}

.highlight-box::before {
    content: "💡";
    position: absolute;
    top: 24px;
    left: -12px;
    background: #007bff;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.highlight-box p {
    margin: 0;
    font-size: 18px;
    font-weight: 500;
    color: #2c3e50;
}

/* ROI/Success boxes */
.roi-box {
    background: linear-gradient(135deg, #d1f2eb 0%, #a3e9d0 100%);
    border-left: 5px solid #28a745;
    margin: 32px 0;
    padding: 24px 28px;
    border-radius: 0 8px 8px 0;
}

.roi-box::before {
    content: "📈";
    position: absolute;
    top: 24px;
    left: -12px;
    background: #28a745;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

/* Warning/Important boxes */
.warning-box {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border-left: 5px solid #ffc107;
    margin: 32px 0;
    padding: 24px 28px;
    border-radius: 0 8px 8px 0;
}

.warning-box::before {
    content: "⚠️";
    position: absolute;
    top: 24px;
    left: -12px;
    background: #ffc107;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

/* ============================================ */
/* TOOL CARDS AND COMPARISONS */
/* ============================================ */

.tool-comparison {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin: 32px 0;
}

.tool-card {
    background: #fff;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.tool-card:hover {
    border-color: #007bff;
    box-shadow: 0 8px 25px rgba(0,123,255,0.15);
    transform: translateY(-2px);
}

.tool-card h4 {
    color: #007bff;
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 12px 0;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 8px;
}

.tool-card .pricing {
    background: #f8f9fa;
    padding: 12px 16px;
    border-radius: 6px;
    margin: 16px 0;
    font-weight: 600;
    color: #28a745;
}

.tool-card .feature-list {
    list-style: none;
    padding: 0;
    margin: 16px 0 0 0;
}

.tool-card .feature-list li {
    padding: 6px 0 6px 24px;
    position: relative;
    color: #495057;
    font-size: 16px;
}

.tool-card .feature-list li::before {
    content: "✓";
    color: #28a745;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* ============================================ */
/* STEP-BY-STEP GUIDES */
/* ============================================ */

.step-guide {
    margin: 40px 0;
}

.step {
    background: #fff;
    border-left: 4px solid #007bff;
    margin: 24px 0;
    padding: 24px 28px;
    position: relative;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border-radius: 0 8px 8px 0;
}

.step::before {
    content: counter(step-counter);
    counter-increment: step-counter;
    background: #007bff;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    position: absolute;
    left: -18px;
    top: 24px;
}

.step-guide {
    counter-reset: step-counter;
}

.step h4 {
    margin: 0 0 12px 0;
    color: #1a1a1a;
    font-size: 20px;
}

.step p {
    margin: 0;
    font-size: 18px;
    line-height: 1.6;
}

/* ============================================ */
/* MOBILE RESPONSIVENESS */
/* ============================================ */

@media (max-width: 768px) {
    .article-content {
        font-size: 18px;
        padding: 0 16px;
    }
    
    .article-content h1 {
        font-size: 32px;
        line-height: 1.3;
        margin: 0 0 20px 0;
    }
    
    .article-content h2 {
        font-size: 26px;
        margin: 36px 0 16px 0;
        padding-top: 16px;
    }
    
    .article-content h3 {
        font-size: 22px;
        margin: 28px 0 12px 0;
    }
    
    .article-content p {
        font-size: 18px;
        line-height: 1.7;
        margin: 0 0 20px 0;
    }
    
    .article-content p:first-of-type {
        font-size: 20px;
    }
    
    .tool-comparison {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .tool-card {
        padding: 20px;
    }
    
    .highlight-box, .roi-box, .warning-box {
        padding: 20px 24px;
        margin: 24px 0;
    }
    
    .step {
        padding: 20px 24px;
        margin: 20px 0;
    }
}

@media (max-width: 480px) {
    .article-content {
        font-size: 17px;
        padding: 0 12px;
    }
    
    .article-content h1 {
        font-size: 28px;
    }
    
    .article-content h2 {
        font-size: 24px;
    }
    
    .article-content h3 {
        font-size: 20px;
    }
    
    .article-content ul li, .article-content ol li {
        padding-left: 28px;
        font-size: 17px;
    }
}

/* ============================================ */
/* PRINT STYLES */
/* ============================================ */

@media print {
    .article-content {
        max-width: none;
        font-size: 12pt;
        line-height: 1.5;
        color: #000;
    }
    
    .article-content h1, .article-content h2, .article-content h3, .article-content h4 {
        color: #000;
        page-break-after: avoid;
    }
    
    .tool-card, .highlight-box, .roi-box, .warning-box, .step {
        break-inside: avoid;
        border: 1px solid #ccc;
        box-shadow: none;
    }
}