/* ==========================================
   Global
========================================== */

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

body {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    background: #f5f5f5;
    color: #333;
}

a {
    color: #0d6efd;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ==========================================
   Layout
========================================== */



.site-header {
    background: #1f2937;
    color: #fff;
}

.header-inner {
    max-width: 1400px;
    margin: auto;
    padding: 25px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    margin: 0;
}

.logo h1 a {
    color: white;
    text-decoration: none;
}

.logo p {
    margin-top: 5px;
    color: #d1d5db;
}

nav a {
    color: white;
    text-decoration: none;
    margin-left: 20px;
    font-weight: bold;
}

nav a:hover {
    text-decoration: underline;
}


/* Header */

.site-header {
    background: #1f2937;
    color: #fff;
    margin-bottom: 30px;
}

.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 30px 20px;
}

.site-header h1 {
    margin: 0;
    font-size: 2rem;
}

.site-header h1 a {
    color: #fff;
    text-decoration: none;
}

.site-header p {
    margin-top: 10px;
    color: #d1d5db;
}

.wrapper {
    display: flex;
    gap: 25px;
    max-width: 1400px;
    margin: 30px auto;
    padding: 0 20px;
    align-items: flex-start;
}

.content {
    flex: 0 0 85%;
}

.sidebar {
    flex: 0 0 15%;
}

/* ==========================================
   Blog Posts
========================================== */

.post {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 25px;
    padding: 25px;
    box-shadow: 0 2px 5px rgba(0,0,0,.05);
}

.post h1,
.post h2 {
    margin-bottom: 15px;
    line-height: 1.3;
}

.post h1 {
    font-size: 2rem;
}

.post h2 {
    font-size: 1.6rem;
}

.post img {
    margin: 20px 0;
    border-radius: 6px;
}

.post p {
    margin-bottom: 15px;
}

/* ==========================================
   Sidebar
========================================== */

.sidebar {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,.05);
}

.sidebar h3 {
    margin-bottom: 15px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}

.sidebar p {
    margin-bottom: 10px;
}

.sidebar a {
    display: block;
    color: #333;
}

.sidebar a:hover {
    color: #0d6efd;
}

/* ==========================================
   Header (optional)
========================================== */

header {
    background: #222;
    color: white;
    padding: 20px;
}

header h1 {
    max-width: 1400px;
    margin: auto;
}

/* ==========================================
   Footer (optional)
========================================== */

footer {
    margin-top: 40px;
    padding: 25px;
    text-align: center;
    background: #222;
    color: #fff;
}

/* ==========================================
   Responsive
========================================== */

@media (max-width: 900px) {

    .wrapper {
        flex-direction: column;
    }

    .content,
    .sidebar {
        flex: 0 0 100%;
        width: 100%;
    }

}