:root {
    --primary-color: #4a5d4e;
    --background-light: #f9f9f9;
    --text-main: #333333;
    --text-muted: #666666;
    --white: #ffffff;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--background-light);
    margin: 0;
    padding: 0;
}

header {
    background-color: #e8ece9; /* Soft floral/sage tone */
    padding: 60px 20px;
    text-align: center;
    border-bottom: 1px solid #d1d9d3;
}

header h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin: 0 0 10px 0;
}

header p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin: 0;
}

.container {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
}

.obituary-section {
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    margin-bottom: 40px;
}

.obituary-section h2 {
    color: var(--primary-color);
    border-bottom: 2px solid #e8ece9;
    padding-bottom: 10px;
    margin-top: 0;
}

.obituary-text p {
    margin-bottom: 20px;
    text-align: justify;
}

section h2 {
    color: var(--primary-color);
}

.events-section {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

.event-card {
    background: var(--white);
    flex: 1;
    min-width: 250px;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    border-top: 4px solid var(--primary-color);
}

.event-card h3 {
    margin-top: 0;
    color: var(--primary-color);
}

.event-card p {
    margin: 5px 0;
    font-size: 0.95rem;
}

footer {
    text-align: center;
    padding: 30px 20px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }
    .obituary-section {
        padding: 25px;
    }
}