/* Simple Black and White Blog Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #000;
    background-color: #fff;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid #000;
}

header h1 {
    color: #000;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
}

button {
    background: #fff;
    color: #000;
    border: 2px solid #000;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 1rem;
}

button:hover {
    background: #000;
    color: #fff;
}

button.active {
    background: #000;
    color: #fff;
}

.posts, .text-files, .videos {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.post, .text-file, .video {
    border: 2px solid #000;
    padding: 20px;
    background: #fff;
}

.post h2, .text-file h2, .video h2 {
    color: #000;
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.post .meta, .text-file .meta, .video .meta {
    color: #000;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.post .excerpt, .text-file .excerpt, .video .excerpt {
    color: #000;
    margin-bottom: 15px;
}

.post .content, .text-file .content, .video .content {
    display: none;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #000;
}

.post .read-more, .text-file .read-more, .video .read-more {
    color: #000;
    text-decoration: underline;
    font-weight: bold;
    cursor: pointer;
}

.post .read-more:hover, .text-file .read-more:hover, .video .read-more:hover {
    color: #666;
}

.post-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    margin-bottom: 15px;
    border: 1px solid #000;
}

pre {
    white-space: pre-wrap;
    word-wrap: break-word;
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.text-file-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.text-file-item {
    padding: 10px;
    border: 1px solid #000;
    background: #fff;
    cursor: pointer;
}

.text-file-item:hover {
    background: #f0f0f0;
}

.video-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.video-item {
    border: 2px solid #000;
    padding: 15px;
    background: #fff;
}

.video-item iframe {
    width: 100%;
    max-width: 600px;
}

/* Mobile responsive */
@media (max-width: 600px) {
    body {
        padding: 10px;
    }
    
    header h1 {
        font-size: 2rem;
    }
    
    .buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .post, .text-file, .video {
        padding: 15px;
    }
}