/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    overflow-y: auto;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-content {
    background-color: var(--bg-white);
    margin: 40px auto;
    max-width: 800px;
    width: 90%;
    border-radius: 20px;
    padding: 48px;
    position: relative;
    box-shadow: var(--shadow-lg);
    animation: slideUp 0.4s ease;
    max-height: 90vh;
    overflow-y: auto;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 36px;
    font-weight: bold;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.3s ease;
    line-height: 1;
}

.close-modal:hover {
    color: var(--text-dark);
}

.article-category-tag {
    display: inline-block;
    background: var(--gradient-primary);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.article-full-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 32px;
    color: var(--text-dark);
    line-height: 1.3;
    letter-spacing: -0.5px;
}

#articleContent h2 {
    font-size: 24px;
    font-weight: 700;
    margin-top: 32px;
    margin-bottom: 16px;
    color: var(--text-dark);
    letter-spacing: -0.5px;
}

#articleContent h3 {
    font-size: 20px;
    font-weight: 600;
    margin-top: 24px;
    margin-bottom: 12px;
    color: var(--text-dark);
}

#articleContent p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 16px;
}

#articleContent ul {
    margin-left: 24px;
    margin-bottom: 20px;
}

#articleContent li {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 8px;
}

#articleContent strong {
    color: var(--text-dark);
    font-weight: 600;
}

/* Responsive Modal */
@media (max-width: 768px) {
    .modal-content {
        margin: 20px auto;
        padding: 32px 24px;
        width: 95%;
    }
    
    .article-full-title {
        font-size: 24px;
    }
    
    #articleContent h2 {
        font-size: 20px;
    }
    
    #articleContent h3 {
        font-size: 18px;
    }
    
    #articleContent p,
    #articleContent li {
        font-size: 15px;
    }
}
