/* Newspaper-style layout */
.newspaper-container {
    max-width: 1200px;
    margin: 0 auto;
    font-family: 'Georgia', serif;
    line-height: 1.6;
    color: #333;
}

.newspaper-header {
    border-bottom: 2px solid #000;
    padding: 20px 0;
    margin-bottom: 30px;
}

.header-menu {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.header-menu a {
    color: #000;
    text-decoration: none;
    font-weight: bold;
    padding: 8px 12px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.header-menu a:hover {
    background-color: #f0f0f0;
}

.header-title {
    text-align: center;
    margin-top: 10px;
}

.header-title h1 {
    font-size: 2.5em;
    margin: 0;
    color: #000;
    letter-spacing: 1px;
}

.header-title p {
    font-size: 1.1em;
    margin: 5px 0 0 0;
    color: #666;
    font-style: italic;
}

.newspaper-main {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
}

#content {
    flex: 3;
    padding: 0;
}

#sidebar {
    flex: 1;
    background: #f8f8f8;
    padding: 20px;
    border-left: 1px solid #ddd;
}

.sidebar-widget {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.sidebar-widget h2 {
    font-size: 1.4em;
    margin: 0 0 15px 0;
    padding-bottom: 8px;
    border-bottom: 1px solid #ccc;
    color: #000;
}

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

.sidebar-widget li {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px dashed #eee;
}

.sidebar-widget li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.sidebar-widget a {
    text-decoration: none;
    color: #000;
    display: block;
    transition: color 0.3s;
}

.sidebar-widget a:hover {
    color: #00abff;
}

.post-preview {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.post-preview-item{
    border-bottom: 1px solid #ccc;
}

.post-title {
    margin: 0 0 15px 0;
    padding-bottom: 0;
}

.post-title h2 {
    font-size: 1.8em;
    margin: 0;
    line-height: 1.3;
}

.post-meta {
    font-size: 0.9em;
    color: #666;
    margin: 5px 0 5px 0;
    font-family: 'Times New Roman', serif;
    font-style: italic;
}

.post-content {
    font-size: 1.1em;
    line-height: 1.8;
    text-align: justify;
}

.post-content p {
    margin: 15px 0;
}

.post-content h3, 
.post-content h4, 
.post-content h5 {
    margin: 20px 0 10px 0;
}

.post-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 15px auto;
    border: 1px solid #ddd;
    padding: 5px;
}

.post-content blockquote {
    border-left: 3px solid #333;
    margin: 20px 0;
    padding: 10px 20px;
    background: #f9f9f9;
    font-style: italic;
}

.post-tag-bar {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #ccc;
}

.post-tag {
    background-color: #00abff;
    color: white;
    padding: 5px 12px;
    margin-right: 8px;
    border-radius: 15px;
    font-size: 0.9em;
    text-decoration: none;
    transition: background-color 0.3s;
}

.post-tag:hover {
    background-color: #0077cc;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 40px 0;
    padding: 20px 0;
    border-top: 1px solid #eee;
}

.pagination a,
.pagination span {
    padding: 10px 15px;
    text-decoration: none;
    color: #000;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: all 0.3s;
}

.pagination a:hover {
    background-color: #f0f0f0;
    color: #00abff;
}

.pagination .current {
    background-color: #00abff;
    color: white;
    border-color: #00abff;
}

.newspaper-footer {
    border-top: 2px solid #000;
    padding: 20px 0;
    text-align: center;
    font-size: 0.9em;
    color: #666;
    margin-top: 30px;
}

/* Responsive design */
@media screen and (max-width: 768px) {
    .newspaper-container {
        padding: 10px;
        font-size: 0.9em;
    }
    
    .newspaper-main {
        flex-direction: column;
    }
    
    #sidebar {
        border-left: none;
        border-top: 1px solid #ddd;
    }
    
    .header-title h1 {
        font-size: 2em;
    }
    
    .post-title h2 {
        font-size: 1.5em;
    }
    
    .header-menu {
        gap: 10px;
    }
    
    .header-menu a {
        font-size: 0.9em;
        padding: 6px 10px;
    }
}