:root {
    --bg-color: #3e5033;
    /* Dark earthy green/dirt base */
    --content-bg: #e6f0d1;
    /* Light grassy paper color */
    --text-color: #2c3e23;
    /* Dark green-black text */
    --text-muted: #5a7050;
    /* Muted mossy green */
    --accent-color: #925828;
    /* Earthy brown accent */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    background-image: url('assets/grass_bg.png');
    /* Texture on body now */
    background-repeat: repeat;
    color: var(--text-color);
    font-family: 'MedievalSharp', cursive;
    /* Changed to match the vibe slightly better, or keep Inter if preferred legibility */
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header container - Ensure canvas is behind or properly positioned */
#header-container {
    position: relative;
    z-index: 10;
}

/* The Cave Mouth Transition */
.cave-mouth {
    position: relative;
    height: 200px;
    /* Adjusted height for the image */
    margin-top: -100px;
    /* Overlap with header */
    z-index: 15;
    background-image: url('assets/rock_border_transparent.png');
    /* Updated transparent image asset */
    background-repeat: repeat-x;
    background-size: auto 100%;
    /* Maintain aspect ratio, fill height */
    background-position: bottom center;
    /* Remove previous CSS clip-path/shapes */
    background-color: transparent;
    clip-path: none;
    pointer-events: none;
    /* Let clicks pass through transparent parts if needed */
}

/* Remove the CSS grass blades since the image has them */
.cave-mouth::after {
    display: none;
}

.content {
    position: relative;
    max-width: 2250px;
    margin: 0 auto 10rem;
    padding: 5rem 7.5rem 10rem;

    /* Content Background - Semi-transparent to show body texture */
    background-image: none;
    background-color: rgba(230, 240, 210, 0.90);

    box-shadow: 0 25px 100px rgba(0, 0, 0, 0.5);
    z-index: 5;
    min-height: 50vh;
    border-top: none;
    clip-path: none;
}

/* Add a semi-transparent overlay for text readability */
/* We can remove this overlay now since the .content background-color handles it */
.content::before {
    display: none;
}

.post {
    margin-bottom: 7.5rem;
    padding-bottom: 5rem;
    border-bottom: 5px dashed #bbccaa;
}

.post h2 {
    font-family: 'MedievalSharp', cursive;
    /* Consistent fantasy font */
    font-size: 5.5rem;
    margin-bottom: 1.25rem;
    color: var(--accent-color);
    text-shadow: 2px 2px 0px rgba(255, 255, 255, 0.5);
}

.post .meta {
    font-family: 'Inter', sans-serif;
    font-size: 2.125rem;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--text-muted);
    margin-bottom: 3.75rem;
}

.post p {
    font-family: 'Inter', sans-serif;
    font-size: 2.75rem;
    color: var(--text-color);
}

footer {
    text-align: center;
    padding: 3rem 2rem;
    color: #8fa080;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    border-top: none;
    background-color: var(--bg-color);
    /* Match body bg */
}