/* PREMIUM ARTICLE STYLES */

/* Typography & Layout */
.article-page {
    font-family: 'Georgia', 'Cambria', serif;
    /* Serif for body text looks more "editorial" */
    color: #292929;
    line-height: 1.8;
    font-size: 1.15rem;
    max-width: 740px !important;
    /* Constrained width for readability */
    margin: 0 auto;
    padding-top: 120px;
    /* Space for fixed header */
    padding-bottom: 80px;
}

.article-hero-image {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 40px;
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.1);
}

/* Headings */
.article-page h1 {
    font-family: 'Outfit', sans-serif;
    /* Keep headings modern */
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
    letter-spacing: -0.03em;
}

.article-page h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    margin-top: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
    color: #1a1a1a;
}

.article-page h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

/* Body Text */
.article-page p {
    margin-bottom: 1.5rem;
}

.article-intro p {
    font-size: 1.35rem;
    line-height: 1.6;
    color: #4a4a4a;
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    margin-bottom: 3rem;
}

/* Meta Data */
.article-meta {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: #757575;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid #eee;
    padding-bottom: 2rem;
}

/* Links */
.article-page a {
    color: #2563eb;
    text-decoration: none;
    background-image: linear-gradient(#2563eb, #2563eb);
    background-position: 0% 100%;
    background-repeat: no-repeat;
    background-size: 0% 2px;
    transition: background-size .3s;
}

.article-page a:hover {
    background-size: 100% 2px;
}

/* Lists */
.article-page ul,
.article-page ol {
    margin-bottom: 2rem;
    padding-left: 2rem;
}

.article-page li {
    margin-bottom: 0.8rem;
}

/* Blockquotes */
.article-page blockquote {
    font-style: italic;
    font-size: 1.4rem;
    color: #111;
    border-left: 4px solid #2563eb;
    margin: 2.5rem 0;
    padding: 1rem 2rem;
    background: #f8fafc;
    border-radius: 0 8px 8px 0;
}

/* Tables */
.table-responsive {
    overflow-x: auto;
    margin: 2.5rem 0;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
}

th {
    background: #1e293b !important;
    color: white !important;
    padding: 16px !important;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

td {
    padding: 16px !important;
    border-bottom: 1px solid #e2e8f0 !important;
    color: #334155;
}

tr:last-child td {
    border-bottom: none !important;
}

/* Author Bio */
.author-bio {
    margin-top: 4rem;
    padding: 2rem;
    background: #f8fafc;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 20px;
    border: 1px solid #e2e8f0;
}

/* Table of Contents */
.toc {
    background: #fff !important;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    border-radius: 16px !important;
    padding: 2rem !important;
}

.toc h3 {
    margin-top: 0;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #64748b;
}

.toc ul li {
    margin-bottom: 0.5rem;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
}

.toc ul li a {
    color: #334155;
    background: none;
    border-bottom: 1px solid transparent;
}

.toc ul li a:hover {
    color: #2563eb;
    border-bottom-color: #2563eb;
}

/* Mobile */
@media (max-width: 768px) {
    .article-page h1 {
        font-size: 2.2rem;
    }

    .article-page {
        padding-left: 20px;
        padding-right: 20px;
    }
}