/* Base styles for text-heavy pages */
body {
    background-color: #f8f9fa;
    color: #343a40;
    font-family: 'Georgia', serif;
    line-height: 1.8;
}

.text-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 40px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.08);
}

h1, h2, h3, h4 {
    font-family: 'Helvetica Neue', sans-serif;
    color: #212529;
    margin-bottom: 20px;
    font-weight: 600;
}

h1 {
    font-size: 2.8em;
    text-align: center;
    border-bottom: 2px solid #dee2e6;
    padding-bottom: 20px;
    margin-bottom: 40px;
}

h2 {
    font-size: 2.2em;
    margin-top: 50px;
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 10px;
}

h4 {
    font-size: 1.2em;
    font-weight: bold;
}

p {
    margin-bottom: 20px;
}

a {
    color: #1E64C8;
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: #1E64C8;
    text-decoration: underline;
}

figure {
    margin: 40px 0;
    text-align: center;
}

figure img {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

figcaption {
    margin-top: 15px;
    font-style: italic;
    color: #6c757d;
    font-size: 0.9em;
}

ul {
    padding-left: 25px;
    margin-bottom: 20px;
}

ul li {
    margin-bottom: 10px;
}

.footnotes-section {
    margin-top: 60px;
    padding-top: 20px;
    border-top: 2px solid #dee2e6;
}

.footnotes {
    font-size: 0.9em;
    color: #6c757d;
}

.footnotes a {
    font-weight: bold;
}