
/* Headings styles */
.article-content h1, .article-content h2, .article-content h3,
.article-content h4, .article-content h5, .article-content h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-top: 1rem;
    margin-bottom: 0.8rem;
}


.article-content h1 { font-size: 2rem; color: #1a1a1a; }
.article-content h2 { font-size: 1.75rem; color: #2a2a2a; }
.article-content h3 { font-size: 1.5rem; color: #3a3a3a; }
.article-content h4 { font-size: 1.25rem; color: #4a4a4a; }
.article-content h5 { font-size: 1.1rem; color: #5a5a5a; }
.article-content h6 { font-size: 1rem; color: #6a6a6a; }

/* Paragraph styles */
.article-content p {
    margin-bottom: 1rem;
    text-align: justify;
}

/* List styles */
.article-content ul, .article-content ol {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.article-content ul li, .article-content ol li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.article-content ul { list-style: disc; }
.article-content ul ul { list-style: circle; }
.article-content ul ul ul { list-style: square; }
.article-content ol { list-style: decimal; }

/* Blockquote styles */
.article-content blockquote {
    border-right: 4px solid #666;
    padding: 1rem;
    margin: 1.5rem 0;
    background-color: #f9f9f9;
    font-style: italic;
    color: #555;
}

/* Link styles */
.article-content a {
    color: #007bff;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease, color 0.3s ease;
}

.article-content a:hover {
    border-bottom-color: #007bff;
    color: #0056b3;
}

/* Code block styles */
.article-content code {
    font-family: 'Courier New', monospace;
    background-color: #f8f9fa;
    padding: 0.2rem 0.4rem;
    border-radius: 0.25rem;
}

.article-content pre {
    background-color: #f8f9fa;
    padding: 1rem;
    border-radius: 0.5rem;
    overflow-x: auto;
    font-size: 0.9rem;
}

/* Table styles */
.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

.article-content th, .article-content td {
    border: 1px solid #ddd;
    padding: 0.75rem;
    text-align: right;
}

.article-content th {
    background-color: #f1f1f1;
    font-weight: bold;
}

/* Image styles */
.article-content img {
    max-width: 100%;
    height: auto;
    margin: 1rem 0;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Horizontal rule */
.article-content hr {
    border: none;
    border-top: 1px solid #ddd;
    margin: 2rem 0;
}

/* Selection styles */
.article-content ::selection {
    background-color: #007bff;
    color: #fff;
}

/* Responsive text sizing */
@media (max-width: 768px) {
    .article-content h1 { font-size: 1.75rem; }
    .article-content h2 { font-size: 1.5rem; }
    .article-content h3 { font-size: 1.25rem; }
    .article-content h4 { font-size: 1.1rem; }
    .article-content h5 { font-size: 1rem; }
    .article-content h6 { font-size: 0.9rem; }
    .article-content p, .article-content li { font-size: 1rem; }
}

/* Print styles */
@media print {
    .article-content a {
        color: black;
        text-decoration: none;
        border-bottom: none;
    }
}
