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

html {
    font-size: 16px;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 1.7;
    color: #333;
    background-color: #e8e8e8;
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAAIklEQVQIW2NkYGD4z8DAwMgABXAGNgGwSgYYR1WAAQYdGABZtAEBlW5fRAAAAABJRU5ErkJggg==');
}

a {
    color: #4a90e2;
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: #357abd;
    text-decoration: underline;
}

.wrapper {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Site Structure */
#page {
    min-height: 100vh;
}

.site-wrapper {
    background-color: #fff;
    max-width: 1000px;
    margin: 30px auto;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

/* Header */
.site-header {
    background-color: #fff;
    padding: 20px 0 0;
}

.site-title {
    font-size: 52px;
    font-weight: normal;
    margin: 0 0 15px 0;
    color: #5a7a4d;
    text-align: left;
    letter-spacing: 2px;
}

.site-title a {
    color: #5a7a4d;
    text-decoration: none;
}

.site-title a:hover {
    text-decoration: none;
}

.header-image {
    margin-top: 10px;
}

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

/* Navigation */
.main-navigation {
    background-color: #d4d4d4;
    border-top: 1px solid #bbb;
    border-bottom: 1px solid #bbb;
    margin-bottom: 30px;
}

.nav-menu {
    list-style: none;
    display: flex;
    padding: 0;
    margin: 0;
}

.nav-menu li {
    padding: 0;
}

.nav-menu a {
    color: #555;
    font-size: 13px;
    font-weight: bold;
    text-decoration: none;
    padding: 12px 20px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s;
}

.nav-menu a:hover,
.nav-menu .current-menu-item a {
    background-color: #bbb;
    color: #333;
    text-decoration: none;
}

/* Main Content Layout */
#main {
    padding: 0 0 40px;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
}

/* Content Area */
.site-content {
    padding: 0 20px;
}

/* Article */
article {
    margin-bottom: 40px;
}

.entry-header {
    margin-bottom: 25px;
}

.entry-title {
    font-size: 28px;
    font-weight: normal;
    color: #333;
    margin: 0 0 15px 0;
}

.entry-content {
    font-size: 14px;
    line-height: 1.8;
}

.entry-content p {
    margin: 0 0 18px 0;
    text-align: justify;
}

/* Sidebar */
.sidebar {
    background-color: #f9f9f9;
    padding: 20px;
    border-left: 1px solid #e0e0e0;
}

.widget {
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid #e0e0e0;
}

.widget:last-child {
    border-bottom: none;
}

.widget-title {
    font-size: 15px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #5a7a4d;
}

.widget-content {
    font-size: 13px;
    line-height: 1.7;
}

.widget-content p {
    margin-bottom: 12px;
}

.widget-content p:last-child {
    margin-bottom: 0;
}

/* Footer */
.site-footer {
    background-color: #f5f5f5;
    padding: 20px 0;
    border-top: 1px solid #ddd;
    text-align: center;
}

.site-info {
    font-size: 12px;
    color: #777;
}

/* Responsive */
@media screen and (max-width: 992px) {
    .site-wrapper {
        margin: 20px;
    }
    
    #main {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .sidebar {
        border-left: none;
        border-top: 1px solid #e0e0e0;
    }
}

@media screen and (max-width: 768px) {
    .site-wrapper {
        margin: 10px;
    }
    
    .site-title {
        font-size: 36px;
    }
    
    .nav-menu {
        flex-direction: column;
    }
    
    .entry-title {
        font-size: 24px;
    }
    
    .site-content {
        padding: 0 10px;
    }
}