:root {
    --primary-font: 'Merriweather', serif;
    --heading-font: 'Montserrat', sans-serif;
    --background-color: #f4f4f0; /* Off-white, paper-like */
    --text-color: #333333; /* Dark grey for text */
    --somber-accent: #5a5a5a; /* Muted grey for accents */
    --heading-color: #403030; /* Dark, earthy brown for headings */
    --border-color: #d0c0b0; /* Light, earthy brown for borders */
    --section-bg-color: #ffffff; /* White for content sections */
    --quote-bg-color: #e9e4e0; /* Slightly darker off-white for quotes */
}

body {
    font-family: var(--primary-font);
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--background-color);
    margin: 0;
    padding: 0;
    font-size: 16px; /* Base font size */
}

header {
    background-color: var(--heading-color);
    color: var(--background-color);
    padding: 2em 1em;
    text-align: center;
    border-bottom: 5px solid var(--somber-accent);
}

header h1 {
    font-family: var(--heading-font);
    font-size: 2.5em; /* Responsive font size */
    margin: 0 0 0.2em 0;
    font-weight: 700;
}

header .subtitle {
    font-family: var(--heading-font);
    font-size: 1.2em;
    font-weight: 400;
    margin: 0;
    color: #e0e0e0;
}

main {
    max-width: 900px;
    margin: 2em auto;
    padding: 0 1em;
}

section {
    background-color: var(--section-bg-color);
    margin-bottom: 2.5em;
    padding: 2em;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border: 1px solid var(--border-color);
}

h2 {
    font-family: var(--heading-font);
    color: var(--heading-color);
    font-size: 1.8em; /* Responsive font size */
    margin-top: 0;
    margin-bottom: 0.8em;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 0.3em;
    font-weight: 600;
}

p {
    margin-bottom: 1em;
}

.main-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    display: block;
    margin: 0 auto 1.5em auto;
    border-radius: 6px;
    border: 3px solid var(--border-color);
}

#timeline ul {
    list-style-type: none;
    padding-left: 0;
}

#timeline li {
    padding-left: 1.5em;
    margin-bottom: 1.2em;
    position: relative;
    border-left: 3px solid var(--somber-accent);
    padding-bottom: 0.5em; /* Space below text before next item */
}

#timeline li::before {
    content: '➔'; /* Arrow or other symbol */
    position: absolute;
    left: -0.1em; /* Adjust to align with line */
    top: -0.1em;
    color: var(--heading-color);
    font-size: 1.2em;
    font-weight: bold;
    background-color: var(--section-bg-color); /* Match section background */
    padding-right: 0.3em; /* Space between arrow and line */
}

#timeline strong {
    font-weight: 700;
    color: var(--heading-color);
}

.content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.icon-image {
    max-width: 80px;
    height: auto;
    display: block;
    margin: 1em auto;
    opacity: 0.7;
}

#resistance-impact ul {
    padding-left: 20px;
    margin-top: 0.5em;
}

#resistance-impact li {
    margin-bottom: 0.5em;
}

.quote-container {
    display: flex;
    flex-direction: column;
    gap: 1.5em;
}

blockquote {
    background-color: var(--quote-bg-color);
    border-left: 5px solid var(--somber-accent);
    padding: 1em 1.5em;
    margin: 0;
    border-radius: 4px;
    font-style: italic;
}

blockquote p {
    margin-bottom: 0.5em;
}

blockquote footer {
    font-style: normal;
    font-size: 0.9em;
    text-align: right;
    color: var(--heading-color);
    font-weight: 600;
}

.creative-content {
    text-align: left;
}

.creative-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    display: block;
    margin: 0 auto 1.5em auto;
    border-radius: 6px;
    border: 3px solid var(--border-color);
}


footer {
    text-align: center;
    padding: 1.5em 1em;
    background-color: var(--text-color);
    color: var(--background-color);
    font-size: 0.9em;
    margin-top: 3em;
}

/* Responsive adjustments */
@media (min-width: 768px) {
    .content-wrapper {
        /* Consider two columns for certain sections if design allows */
        /* For now, keeping single column focus for simplicity and somber tone */
    }

    #intro .content-wrapper, #resistance-impact .content-wrapper {
        /* Example for potential side-by-side layout later */
        /* display: grid; grid-template-columns: 1fr 2fr; gap: 2em; align-items: center; */
    }
     .creative-content {
        display: flex;
        align-items: flex-start; /* Align items to the top */
        gap: 1.5em; /* Space between image and text */
    }

    .creative-image {
        flex: 0 0 300px; /* Image takes fixed width, doesn't grow or shrink */
        margin: 0; /* Reset auto margins */
    }

    .creative-content p {
        flex: 1; /* Text takes remaining space */
        margin-top: 0; /* Align text with top of image if needed */
    }
}

@media (max-width: 600px) {
    header h1 {
        font-size: 2em;
    }
    header .subtitle {
        font-size: 1em;
    }
    h2 {
        font-size: 1.5em;
    }
    body {
        font-size: 15px;
    }
    section {
        padding: 1.5em;
    }
    .creative-content {
        flex-direction: column; /* Stack image and text on smaller screens */
    }
    .creative-image {
        margin: 0 auto 1.5em auto; /* Center image when stacked */
        max-width: 100%;
    }
}

