/* Article View Page CSS */

.article-view-wrapper {
    background: #FFFFFF;
    padding: 100px 0 80px 0;
    min-height: 100vh;
}

.article-view-wrapper .container {
    max-width: 1425px;
    padding: 0 15px;
    margin: 0 auto;
}

/* Article Detail */
.article-detail {
    max-width: 900px;
    margin: 0 auto;
}

/* Article Header */
.article-header {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid #E5E7EB;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.article-date-badge {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: #FFD100;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.article-date-badge .date-day {
    font-size: 24px;
    font-weight: 700;
    color: #000000;
    line-height: 1;
}

.article-date-badge .date-month {
    font-size: 12px;
    font-weight: 600;
    color: #000000;
    margin-top: 2px;
    letter-spacing: 0.5px;
}

.article-date-full {
    font-size: 15px;
    color: #6B7280;
    font-weight: 500;
}

.article-header h1 {
    font-size: 42px;
    font-weight: 700;
    color: #000000;
    line-height: 1.3;
    margin: 0;
}

/* Article Content */
.article-content {
    font-size: 16px;
    line-height: 1.8;
    color: #374151;
    margin-bottom: 50px;
}

.article-content h2 {
    font-size: 32px;
    font-weight: 700;
    color: #000000;
    margin: 40px 0 20px 0;
}

.article-content h3 {
    font-size: 24px;
    font-weight: 700;
    color: #000000;
    margin: 30px 0 15px 0;
}

.article-content h4 {
    font-size: 20px;
    font-weight: 600;
    color: #000000;
    margin: 25px 0 12px 0;
}

.article-content p {
    margin: 0 0 20px 0;
}

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

.article-content li {
    margin-bottom: 10px;
}

.article-content a {
    color: #FFD100;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.article-content a:hover {
    color: #E5BC00;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 30px 0;
}

.article-content blockquote {
    border-left: 4px solid #FFD100;
    background: #FFF8E6;
    padding: 20px 25px;
    margin: 30px 0;
    border-radius: 8px;
    font-style: italic;
}

.article-content code {
    background: #F3F4F6;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 14px;
}

.article-content pre {
    background: #1F2937;
    color: #F3F4F6;
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 20px 0;
}

.article-content pre code {
    background: none;
    padding: 0;
    color: #F3F4F6;
}

/* Article Footer */
.article-footer {
    padding-top: 30px;
    border-top: 2px solid #E5E7EB;
}

.back-to-blog {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: #F3F4F6;
    color: #000000;
    border-radius: 8px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.back-to-blog:hover {
    background: #FFD100;
    transform: translateX(-3px);
}

.back-to-blog i {
    font-size: 14px;
}

/* Related Articles */
.related-articles-section {
    margin-top: 80px;
    padding-top: 60px;
    border-top: 3px solid #E5E7EB;
}

.related-articles-section h2 {
    font-size: 32px;
    font-weight: 700;
    color: #000000;
    margin: 0 0 40px 0;
    text-align: center;
}

.related-articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

/* Related Card */
.related-card {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 25px;
    transition: all 0.3s ease;
}

.related-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-color: #FFD100;
    transform: translateY(-3px);
}

.related-date-badge {
    width: 50px;
    height: 50px;
    background: #FFD100;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.related-date-badge .date-day {
    font-size: 20px;
    font-weight: 700;
    color: #000000;
    line-height: 1;
}

.related-date-badge .date-month {
    font-size: 11px;
    font-weight: 600;
    color: #000000;
    margin-top: 2px;
    letter-spacing: 0.5px;
}

.related-content h3 {
    font-size: 18px;
    font-weight: 700;
    color: #000000;
    margin: 0 0 10px 0;
    line-height: 1.4;
}

.related-content p {
    font-size: 14px;
    color: #666666;
    line-height: 1.6;
    margin: 0 0 15px 0;
}

.related-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #FFD100;
    text-decoration: none;
    transition: all 0.3s ease;
}

.related-link:hover {
    color: #E5BC00;
    gap: 12px;
}

.related-link i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.related-link:hover i {
    transform: translateX(3px);
}

/* Responsive */
@media (max-width: 768px) {
    .article-view-wrapper {
        padding: 80px 0 60px 0;
    }
    
    .article-header h1 {
        font-size: 28px;
    }
    
    .article-content {
        font-size: 15px;
    }
    
    .article-content h2 {
        font-size: 24px;
    }
    
    .article-content h3 {
        font-size: 20px;
    }
    
    .article-content h4 {
        font-size: 18px;
    }
    
    .related-articles-section h2 {
        font-size: 24px;
    }
    
    .related-articles-grid {
        grid-template-columns: 1fr;
    }
}
