:root {
    --color-brand: #059669;
    --color-cta: #FF6B35;
    --text-dark: #111111;
    --text-muted: #666666;
    --border: #cccccc;
    --bg-light: #f8f8f8;
}

.article-hero {
    background-color: var(--color-brand);
    color: #ffffff;
    padding: 80px 20px;
    text-align: center;
}

.article-hero__content {
    max-width: 800px;
    margin: 0 auto;
}

.article-hero__title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
    color: #ffffff;
}

.article-hero__subtitle {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 30px;
    opacity: 0.9;
    color: #ffffff;
}

.btn-cta {
    display: inline-block;
    background-color: var(--color-cta);
    color: #ffffff;
    padding: 14px 28px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-cta:hover {
    background-color: #e05a2b;
}

.article-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
}

.article-body {
    line-height: 1.7;
    font-size: 1.1rem;
}

.article-intro {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 40px;
    line-height: 1.8;
    border-left: 4px solid var(--color-brand);
    padding-left: 20px;
}

.article-section {
    margin-bottom: 50px;
}

.article-section h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-brand);
    margin-bottom: 25px;
    line-height: 1.3;
}

.article-section h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 30px 0 15px;
    line-height: 1.3;
}

.article-section h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 25px 0 10px;
    line-height: 1.3;
}

.article-section p {
    margin-bottom: 20px;
    color: var(--text-dark);
}

.article-section ul, .article-section ol {
    margin-bottom: 20px;
    padding-left: 25px;
}

.article-section li {
    margin-bottom: 10px;
    color: var(--text-dark);
}

.highlight-box {
    background-color: var(--bg-light);
    border-radius: 8px;
    padding: 30px;
    margin: 30px 0;
    border: 1px solid var(--border);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.stat-card {
    background: #ffffff;
    padding: 20px;
    border-radius: 6px;
    text-align: center;
    border: 1px solid var(--border);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-brand);
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.method-steps {
    margin: 30px 0;
}

.step {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    align-items: flex-start;
}

.step-number {
    background-color: var(--color-brand);
    color: #ffffff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h4 {
    margin-top: 5px;
    margin-bottom: 10px;
}

.step-content p {
    margin-bottom: 0;
}

.preparation-checklist {
    background-color: var(--bg-light);
    border-radius: 8px;
    padding: 30px;
    margin: 30px 0;
}

.checklist {
    list-style: none;
    padding-left: 0;
}

.checklist li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 15px;
    line-height: 1.5;
}

.checklist li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    width: 20px;
    height: 20px;
    border: 2px solid var(--color-brand);
    border-radius: 4px;
}

.strategy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.strategy-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 25px;
    text-align: center;
}

.strategy-icon {
    color: var(--color-brand);
    margin-bottom: 15px;
}

.strategy-card h4 {
    color: var(--color-brand);
    margin-bottom: 10px;
}

.strategy-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

.data-table-wrapper {
    overflow-x: auto;
    margin: 30px 0;
    border-radius: 8px;
    border: 1px solid var(--border);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 500px;
}

.data-table th {
    background-color: var(--color-brand);
    color: #ffffff;
    font-weight: 700;
    padding: 15px;
    text-align: left;
}

.data-table td {
    padding: 15px;
    border-bottom: 1px solid var(--border);
    color: var(--text-dark);
}

.data-table tbody tr:nth-child(even) {
    background-color: var(--bg-light);
}

.article-conclusion {
    background-color: var(--bg-light);
    border-radius: 8px;
    padding: 40px;
    margin-top: 50px;
    border: 1px solid var(--border);
}

.article-conclusion h2 {
    color: var(--color-brand);
    margin-bottom: 20px;
}

.article-conclusion p {
    color: var(--text-dark);
}

.cta-box {
    background: #ffffff;
    border: 2px solid var(--color-cta);
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    margin-top: 30px;
}

.cta-box p {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .article-hero {
        padding: 60px 20px;
    }
    
    .article-hero__title {
        font-size: 2rem;
    }
    
    .article-hero__subtitle {
        font-size: 1.1rem;
    }
    
    .article-container {
        padding: 30px 15px;
    }
    
    .article-intro {
        font-size: 1.1rem;
        padding-left: 15px;
    }
    
    .article-section h2 {
        font-size: 1.6rem;
    }
    
    .article-section h3 {
        font-size: 1.3rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .step {
        flex-direction: column;
        gap: 15px;
    }
    
    .strategy-grid {
        grid-template-columns: 1fr;
    }
    
    .highlight-box, .preparation-checklist, .article-conclusion, .cta-box {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .article-hero__title {
        font-size: 1.8rem;
    }
    
    .article-section h2 {
        font-size: 1.4rem;
    }
    
    .article-section h3 {
        font-size: 1.2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .btn-cta {
        padding: 12px 24px;
        font-size: 0.95rem;
    }
}

/* ===== TYPOGRAPHY SPACING FIX (APS_ARTICLE_TYPO_REQUIRED_v2) ===== */
/* Defensive guard against universal * { margin: 0 } reset in global.css. */
/* body-scoped via :where() so specificity stays at 0,0,0,1 — beats * but
   loses to any component rule like .tip-box p / .faq-item p. */
body :where(p)              { margin-bottom: 1.1rem; }
body :where(h2)             { margin-top: 2.5rem; margin-bottom: 1rem; }
body :where(h3)             { margin-top: 1.75rem; margin-bottom: 0.75rem; }
body :where(h4)             { margin-top: 1.25rem; margin-bottom: 0.5rem; }
body :where(ul, ol)         { margin-bottom: 1.1rem; padding-left: 1.5rem; }
body :where(li)             { margin-bottom: 0.4rem; }
body :where(blockquote)     { margin: 1.5rem 0; }
