css/* Reset and Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: #faf8f5; /* Premium soft cream backdrop */
    color: #2b2b2b;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    line-height: 1.85;
    padding: 20px;
    text-align: center; /* Centres all default text alignment universally */
}

/* Layout Container */
.story-container {
    max-width: 750px;
    margin: 40px auto;
    background-color: #ffffff;
    padding: 50px 60px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

/* Header Sections */
.story-header {
    margin-bottom: 40px;
}

.header-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: #111111;
    letter-spacing: -0.5px;
    margin-bottom: 15px;
}

.divider {
    height: 3px;
    width: 60px;
    background-color: #d4af37; /* Elegant gold accent divider line */
    margin: 25px auto;
    border-radius: 2px;
}

.header-intro {
    font-size: 1.05rem;
    font-style: italic;
    font-weight: 300;
    color: #555555;
    margin-bottom: 20px;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}

/* Chapter Heading */
.chapter-marker {
    margin: 60px 0 35px 0;
}

.chapter-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #d4af37;
    display: block;
    margin-bottom: 8px;
}

.chapter-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 600;
    color: #111111;
}

/* Paragraph Typography */
.story-content p {
    font-size: 1.1rem;
    font-weight: 300;
    margin-bottom: 28px;
    color: #333333;
    text-align: center; /* Explicitly forces body paragraphs to center */
}

/* Specialized styling for the Race Outcome */
.race-result {
    background-color: #fcf9f2;
    border-top: 1px solid #eadeca;
    border-bottom: 1px solid #eadeca;
    padding: 20px;
    margin: 35px auto;
    max-width: 320px;
    border-radius: 4px;
}

.race-result h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #111111;
}

.race-result p {
    font-size: 1.25rem !important;
    font-weight: 500 !important;
    margin-bottom: 0 !important;
    color: #333333 !important;
}

/* Responsive Breakpoints */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }
    
    .story-container {
        margin: 15px auto;
        padding: 35px 20px;
    }

    .header-title {
        font-size: 2.2rem;
    }

    .chapter-title {
        font-size: 1.6rem;
    }

    .story-content p {
        font-size: 1rem;
    }
}