@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,600;1,400&family=Outfit:wght@400;600;800&display=swap');

:root {
    --bg-color: #f8fafc;
    --text-main: #334155;
    --text-heading: #0f172a;
    --accent: #2563eb;
    --card-bg: #ffffff;
}

body {
    font-family: 'Lora', Georgia, serif; /* Elegant reading font */
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.8;
    margin: 0;
    padding: 30px 20px;
    display: flex;
    justify-content: center;
    min-height: 100vh;
}

.article-container {
    background: var(--card-bg);
    max-width: 850px;
    width: 100%;
    padding: 60px 80px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04), 0 2px 10px rgba(0, 0, 0, 0.02);
    box-sizing: border-box;
    margin: 0 auto;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-heading);
    font-family: 'Outfit', sans-serif; /* Modern, clean headings */
    font-weight: 800;
    line-height: 1.3;
    margin-top: 2.5em;
    margin-bottom: 1em;
}

h1 {
    font-size: 2.5rem;
    text-align: center;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 25px;
    margin-top: 0;
    margin-bottom: 40px;
}

h2 { font-size: 1.8rem; }
h3 { font-size: 1.5rem; }

p, li, td, th {
    font-family: 'Lora', Georgia, serif;
    font-size: 1.15rem;
    line-height: 1.85;
    color: var(--text-main);
}

p {
    margin-bottom: 1.5em;
    text-align: left; /* Justify is bad for web flow, left align is modern and readable */
}

a {
    color: var(--accent);
    text-decoration: none;
    border-bottom: 1px dotted var(--accent);
    transition: all 0.2s ease;
}

a:hover {
    color: #1d4ed8;
    border-bottom-style: solid;
}

/* Beautiful blockquotes for those academic citations */
blockquote {
    border-left: 4px solid var(--accent);
    margin: 2em 0;
    padding: 0.5em 0 0.5em 2em;
    background: #f1f5f9;
    font-style: italic;
    border-radius: 0 8px 8px 0;
}

/* Responsive Images */
img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 2em auto;
    display: block;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

/* Nice tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 2em 0;
}

th, td {
    border: 1px solid #e2e8f0;
    padding: 12px;
    text-align: left;
}

th {
    background-color: #f8fafc;
    font-family: 'Outfit', sans-serif;
}

/* Overriding any leftover Word styles just in case */
.WordSection1, div[class^="WordSection"] {
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    body {
        padding: 15px 10px;
    }

    .article-container {
        padding: 30px 20px;
        border-radius: 12px;
    }

    h1 {
        font-size: 1.8rem;
        padding-bottom: 15px;
    }

    p, li, td, th {
        font-size: 1.05rem;
    }
}
