/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #222; /* Easier on the eyes */
    background-color: #f4f7f6;
}

/* Header & Navigation */
header {
    background: #ffffff; /* Teal for a healthy feel */
    color: #0056b3;
    text-align: center;
    padding: 2rem 0;
}

nav {
    background: #0056b3;
    text-align: center;
    padding: 10px 0;
    position: sticky;
    top: 0;
}

nav a {
    color: #fff;
    text-decoration: none;
    margin: 0 15px;
    font-weight: bold;
}

/* Layout Container */
.container {
    display: flex;
    max-width: 1100px;
    margin: 20px auto;
    padding: 0 20px;
    gap: 30px;
}

/* Blog Post Cards */
.blog-list {
    flex: 3;
}

.post-card {
    background: #fff;
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.post-card img {
    width: 100%;
    height: auto;
}

.post-content {
    padding: 20px;
}

.category {
    color: #28a745;
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: bold;
}

.read-more {
    display: inline-block;
    margin-top: 10px;
    color: #28a745;
    text-decoration: none;
    font-weight: bold;
}

/* Sidebar */
.sidebar {
    flex: 1;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    height: fit-content;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    background: #0056b3;
    color: #fff;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }
}
