/**
 * Academy Article Styles
 * Individual article page styling
 */

/* ===================================================================
   ARTICLE HEADER - Academy Style Hero
   =================================================================== */

/* Article pages use academy-hero class for consistency */
.article .academy-hero {
    padding: 50px 0 40px;
}

.article .academy-hero__title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    hyphens: none;
    -webkit-hyphens: none;
    -ms-hyphens: none;
    word-break: normal;
}

/* ===================================================================
   ARTICLE CONTENT
   =================================================================== */

.article-content {
    padding: 60px 0;
    background: #ffffff;
}

.article-body {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.125rem;
    line-height: 1.8;
    color: #334155;
    hyphens: none;
    -webkit-hyphens: none;
    -ms-hyphens: none;
    word-break: normal;
}

.article-lead {
    font-size: 1.25rem;
    line-height: 1.7;
    color: #475569;
    margin-bottom: 32px;
    font-weight: 500;
    hyphens: none;
    -webkit-hyphens: none;
    -ms-hyphens: none;
    word-break: normal;
}

.article-body h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1e293b;
    margin-top: 48px;
    margin-bottom: 24px;
    line-height: 1.3;
    hyphens: none;
    -webkit-hyphens: none;
    -ms-hyphens: none;
    word-break: normal;
}

.article-body h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    margin-top: 40px;
    margin-bottom: 20px;
    line-height: 1.4;
    hyphens: none;
    -webkit-hyphens: none;
    -ms-hyphens: none;
    word-break: normal;
}

.article-body p {
    margin-bottom: 24px;
    hyphens: none;
    -webkit-hyphens: none;
    -ms-hyphens: none;
    word-break: normal;
}

.article-body strong {
    color: #1e293b;
    font-weight: 600;
}

.article-body a {
    color: #0ea5e9;
    text-decoration: underline;
    transition: color 0.2s;
}

.article-body a:hover {
    color: #0284c7;
}

/* Lists */
.article-list {
    margin: 24px 0 32px 0;
    padding-left: 24px;
    color: #475569;
}

.article-list li {
    margin-bottom: 12px;
    line-height: 1.7;
}

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

.article-list--check li {
    position: relative;
    padding-left: 32px;
}

.article-list--check li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: 700;
    font-size: 1.25rem;
}

/* CTA Section */
.article-cta {
    background: linear-gradient(135deg, #0ea5e9 0%, #1e293b 100%);
    border-radius: 12px;
    padding: 48px;
    margin: 48px 0;
    text-align: center;
    color: white;
}

.article-cta h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: white;
    margin-top: 0;
}

.article-cta p {
    font-size: 1.125rem;
    margin-bottom: 32px;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Button Styles */
.article-cta .btn,
.article-back .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 32px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 2px solid transparent;
    cursor: pointer;
    white-space: nowrap;
}

.btn--lg {
    padding: 16px 40px;
    font-size: 1.125rem;
}

.article-cta .btn--primary {
    background: white;
    color: #0ea5e9;
    border-color: white;
}

.article-cta .btn--primary:hover {
    background: #f1f5f9;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15);
}

.article-back .btn--secondary {
    background: #f1f5f9;
    color: #334155;
    border-color: #e2e8f0;
}

.article-back .btn--secondary:hover {
    background: #e2e8f0;
    transform: translateY(-1px);
}

/* Back to Category */
.article-back {
    max-width: 800px;
    margin: 48px auto 0;
    padding-top: 32px;
    border-top: 1px solid #e2e8f0;
}

/* ===================================================================
   PROMPT BOX - Template Display
   =================================================================== */

.article-prompt-box {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-left: 4px solid #8b5cf6;
    padding: 24px 28px;
    margin: 24px 0;
    border-radius: 8px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.95rem;
    line-height: 1.7;
    color: #1e293b;
}

.article-prompt-box p {
    margin: 0;
    hyphens: none;
    -webkit-hyphens: none;
    -ms-hyphens: none;
}

.article-prompt-box strong {
    color: #8b5cf6;
    font-weight: 600;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ===================================================================
   RESPONSIVE
   =================================================================== */

@media (max-width: 768px) {
    .article-header {
        padding: 24px 0 20px;
    }
    
    .article-title {
        font-size: 1.75rem;
        margin-bottom: 16px;
    }
    
    .article-meta {
        flex-wrap: wrap;
        gap: 16px;
    }
    
    .article-content {
        padding: 40px 0;
    }
    
    .article-body {
        font-size: 1rem;
        padding: 0 20px;
    }
    
    .article-lead {
        font-size: 1.125rem;
        margin-bottom: 24px;
    }
    
    .article-body h2 {
        font-size: 1.5rem;
        margin-top: 32px;
        margin-bottom: 20px;
    }
    
    .article-body h3 {
        font-size: 1.25rem;
        margin-top: 28px;
        margin-bottom: 16px;
    }
    
    .article-cta {
        padding: 32px 24px;
        margin: 32px 0;
    }
    
    .article-cta h3 {
        font-size: 1.5rem;
    }
    
    .article-cta p {
        font-size: 1rem;
        margin-bottom: 24px;
    }
}
