/* Article Content Styles */
.article-content {
    line-height: 1.8;
}

.article-content p {
    margin-bottom: 1.5rem;
}

.article-content h1 {
    font-size: 2.25rem;
    font-weight: 800;
    margin-top: 3rem;
    margin-bottom: 1.25rem;
    color: #0f172a;
    line-height: 1.2;
}

.article-content h2 {
    font-size: 1.875rem;
    font-weight: 700;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: #1e293b;
    line-height: 1.3;
}

.article-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    color: #334155;
    line-height: 1.4;
}

.article-content h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    color: #475569;
}

.article-content ul,
.article-content ol {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.article-content ul {
    list-style-type: disc;
}

.article-content ol {
    list-style-type: decimal;
}

.article-content li {
    margin-bottom: 0.5rem;
    padding-left: 0.5rem;
}

.article-content a {
    color: #0d9488;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.article-content a:hover {
    color: #0f766e;
    text-decoration: underline;
}

.article-content strong,
.article-content b {
    font-weight: 700;
    color: #1e293b;
}

.article-content em,
.article-content i {
    font-style: italic;
}

.article-content blockquote {
    border-left: 4px solid #3b82f6;
    padding-left: 1.5rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: #475569;
    background: #f1f5f9;
    padding: 1rem 1.5rem;
    border-radius: 0 0.5rem 0.5rem 0;
}

.article-content code {
    background: #f1f5f9;
    padding: 0.2rem 0.4rem;
    border-radius: 0.25rem;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    color: #dc2626;
}

.article-content pre {
    background: #1e293b;
    color: #e2e8f0;
    padding: 1.5rem;
    border-radius: 0.5rem;
    overflow-x: auto;
    margin: 1.5rem 0;
}

.article-content pre code {
    background: transparent;
    padding: 0;
    color: inherit;
    font-size: 0.875rem;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
    margin: 1.5rem 0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.95rem;
    line-height: 1.5;
    border: 1px solid #e2e8f0;
    display: table !important;
    /* Force table display */
}

.article-content table thead {
    display: table-header-group;
}

.article-content table tbody {
    display: table-row-group;
}

.article-content table tr {
    display: table-row;
}

.article-content table th,
.article-content table td {
    border: 1px solid #cbd5e1;
    /* Darker border for visibility */
    padding: 0.75rem 1rem;
    text-align: left;
    vertical-align: top;
    display: table-cell;
}

.article-content table th {
    background-color: #f1f5f9;
    font-weight: 700;
    color: #1e293b;
    border-bottom: 2px solid #cbd5e1;
}

.article-content table tr:nth-child(even) {
    background-color: #f8fafc;
}

.article-content table tr:hover {
    background-color: #f1f5f9;
}

/* Responsive Table Wrapper */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.article-content hr {
    border: none;
    border-top: 2px solid #e2e8f0;
    margin: 2rem 0;
}