@import url('https://fonts.googleapis.com/css2?family=Helvetica:wght@400;600;700&family=Alegreya:wght@400;500;700&display=swap');

/* ================= COLORS ================= */
:root {
    --header: #222222;
    --subheader: #b33a3a;
    --accent: #444444;
    --border: #b33a3a;
    --text: #000000;
    --bg: #ffffff;
}

/* ================= BASE ================= */
body {
    font-family: 'Alegreya', serif;
    margin: 0 auto;
    padding: 20px;
    line-height: 1.6;
    background: var(--bg);
    color: var(--text);
    max-width: 900px;
    box-sizing: border-box;
}

/* ================= LAYOUT ================= */
header {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 12px 0;
    margin-bottom: 20px;
    border-bottom: none;
}

header h1 {
    margin: 0;
    padding: 6px 0;
    font-family: 'Helvetica', sans-serif;
    font-size: 1.8em;
    color: var(--header);
}

.page-number {
    font-family: 'Helvetica', sans-serif;
    font-weight: bold;
    color: #555;
    margin-bottom: 5px;
}
/* ================= HEADINGS ================= */
header h1 {
    margin: 0;
    font-family: 'Helvetica', sans-serif;
    font-size: 1.8em;
    color: var(--header);
}

h2 {
    font-family: 'Helvetica', sans-serif;
    font-size: 1.6em;
    margin: 16px 0 8px 0;
    color: var(--header);
    position: relative;
}

/* Divider before each h2 */
h2::before {
    content: "";
    display: block;
    height: 2px;
    background: var(--subheader);
    margin: 20px 0;
}

/* ================= SUBHEADER ================= */
.subheader {
    font-family: 'Alegreya', serif;
    font-size: 1.2em;
    color: var(--subheader);
    font-weight: 600;
    margin: 0 0 12px 0;
}

/* ================= LINKS ================= */
.link a {
    color: var(--header);
    text-decoration: underline;
}

/* ================= BUTTON ================= */
.btn {
    text-decoration: none;
    background: var(--accent);
    color: #fff;
    padding: 8px 14px;
    margin-top: 10px;
    border-radius: 5px;
    font-size: 0.9em;
}

.btn:hover {
    background: var(--subheader);
}

/* ================= CONTENT ================= */
p {
    margin: 6px 0;
    text-align: justify;
}

.image-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.slide-image {
    max-width: 400px;
    height: auto;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
    .slide-image {
        max-width: 100%;
    }
}
