/* Article Modal Styles */
.article-modal {
    display: block;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    animation: fadeIn 0.3s ease;
}

.article-modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 2rem;
    border-radius: 10px;
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    animation: slideIn 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.close-article {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 15px;
    transition: color 0.3s ease;
}

.close-article:hover {
    color: #0066cc;
}

.article-content h1 {
    color: #1f2937;
    margin-bottom: 1rem;
}

.article-content h3 {
    color: #0066cc;
    margin: 2rem 0 1rem 0;
    font-size: 1.5rem;
}

.article-content h4 {
    color: #374151;
    margin: 1.5rem 0 1rem 0;
    font-size: 1.25rem;
}

.article-content p {
    margin-bottom: 1.25rem;
    line-height: 1.7;
    color: #374151;
}

.article-content ul,
.article-content ol {
    margin: 1rem 0;
    padding-left: 2rem;
}

.article-content li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.article-meta {
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@media (max-width: 768px) {
    .article-modal-content {
        margin: 10% auto;
        width: 95%;
        padding: 1.5rem;
    }
}
