/* Base Reset & Universal Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* --- COLOR SCHEMES (Pick One by uncommenting the block) --- */

/* 1. DEFAULT: Monochrome Blue (Current Active Palette) */
:root {
    --primary-color: #1A2A4F; /* Dark Gray / Near Black */
    --accent-color: #2563eb; /* Cobalt Blue for accent/hover */
    --text-color: #1f2937;
    --background-color: #f3f4f6; /* Light Gray Background */
    --card-background: #ffffff;
    --shadow-light: 0 4px 12px rgba(0, 0, 0, 0.05);
    --border-radius: 8px;
}

/*
-- 2. ALTERNATIVE: Ocean Breeze Palette --
:root {
    --primary-color: #1565c0;
    --accent-color: #00bcd4;
    --text-color: #1565c0;
    --background-color: #e3f2fd;
    --card-background: #ffffff;
    --shadow-light: 0 4px 12px rgba(0, 0, 0, 0.05);
    --border-radius: 8px;
}
*/

/*
-- 3. ALTERNATIVE: Warm Earth Palette --
:root {
    --primary-color: #795548;
    --accent-color: #ff9800;
    --text-color: #5d4037;
    --background-color: #fff8e1;
    --card-background: #ffffff;
    --shadow-light: 0 4px 12px rgba(0, 0, 0, 0.05);
    --border-radius: 8px;
}
*/

body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header Styling */
.header {
    background-color: var(--primary-color);
    color: white;
    padding: 2.5rem 1rem;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header h1 {
    font-size: 2.25rem;
    margin-bottom: 0.25rem;
    font-weight: 700;
}

.header p {
    font-size: 1rem;
    opacity: 0.8;
    font-style: italic;
}

/* Main Content: List Container Styling */
.container {
    width: 100%;
    max-width: 768px; /* Narrower width for a focused list view */
    margin: 3rem auto;
    padding: 0 1rem;
    flex-grow: 1;
}

.blog-feed {
    display: flex;
    flex-direction: column;
    gap: 1.5rem; /* Vertical spacing between list entries */
}

/* Blog List Entry Styling (Text-Only Look) */
.blog-post {
    background-color: var(--card-background);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
    padding: 1.5rem;
    display: block;
    text-decoration: none;
    color: inherit;
}

.blog-post:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px); /* Subtle lift */
    cursor: pointer;
}

/* Post Content for List View */
.post-content {
    padding: 0;
}

.post-content h2 {
    font-size: 1.25rem; /* Slightly smaller for cleaner list look */
    color: var(--text-color);
    margin: 0;
    transition: color 0.2s;
}

.blog-post:hover h2 {
      color: var(--accent-color); /* Highlight title on hover */
      text-decoration: underline;
}

/* Hidden elements (meta and paragraph content) */
.post-content p,
.post-meta,
.read-more {
    display: none;
}

/* Footer Styling */
.footer {
    margin-top: auto; /* Push footer to the bottom */
    padding: 1.5rem 1rem;
    background-color: var(--card-background);
    color: var(--primary-color);
    text-align: center;
    font-size: 0.85rem;
    border-top: 1px solid #e5e7eb;
}

