/* Color Variables */
:root {
    --primary-color: #2c3e50;     /* Main text color */
    --secondary-color: #3498db;   /* Links and accents */
    --background-color: #f9f9f9;  /* Page background */
    --card-bg: #ffffff;           /* Post cards background */
    --border-color: #ecf0f1;      /* Borders and separators */
}

/* Base Styles */
body {
    font-family: 'Arial', sans-serif;
    color: var(--primary-color);
    background: var(--background-color);
    margin: 0;
    line-height: 1.6;
}

header {
    background: var(--card-bg);
    padding: 1rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 1rem;
}

#site-logo {
    height: 40px;
}

/* Posts List */
.posts-list {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.post-card {
    background: var(--card-bg);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 1.5rem;
}

.post-thumbnail {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 4px;
}

/* Single Post Page */
.post-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 2rem;
}

.post-image {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    margin: 1rem 0;
}

.sidebar {
    padding: 1rem;
    background: var(--card-bg);
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .post-card {
        grid-template-columns: 1fr;
    }
    
    .post-container {
        grid-template-columns: 1fr;
    }
    
    .post-thumbnail {
        height: 200px;
    }
}