/* General Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}

.container {
    width: 80%;
    margin: auto;
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
}

/* Header */
header {
    background: #2c3e50;
    color: #ffffff;
    padding-top: 30px;
    min-height: 70px;
    border-bottom: #e8491d 3px solid;
}

header h1 {
    margin: 0;
    flex: 1;
}

header nav {
    flex: 1;
    text-align: right;
}

header ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

header li {
    display: inline;
    margin-left: 20px;
}

header a {
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 14px;
}

/* Main Content & Sidebar */
main {
    margin-top: 20px;
}

.content {
    flex: 3;
    background: #fff;
    padding: 20px;
    margin-right: 20px;
}

.sidebar {
    flex: 1;
    background: #fff;
    padding: 20px;
    height: fit-content;
}

/* Post Items */
.post-item {
    border-bottom: 1px solid #ddd;
    padding: 10px 0;
}

.post-item h3 a {
    color: #e8491d;
    text-decoration: none;
}

.post-item p {
    font-size: 0.8em;
    color: #666;
}

/* Widgets */
.widget h4 {
    border-bottom: 2px solid #2c3e50;
    padding-bottom: 5px;
}

.widget ul {
    padding: 0;
    list-style: none;
}

.widget li {
    padding: 5px 0;
    border-bottom: 1px dashed #ccc;
}

/* Footer */
footer {
    background: #2c3e50;
    color: #fff;
    text-align: center;
    padding: 20px;
    margin-top: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        width: 95%;
        flex-direction: column;
    }
    .content {
        margin-right: 0;
    }
}