* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Courier New', monospace;
    background-color: #F2F3F4;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 40px;
}

.main-content {
    display: flex;
    gap: 60px;
}

.posts-section {
    flex: 1;
    padding: 0;
}

.sidebar {
    flex: 0 0 300px;
    padding: 0;
}

.post {
    margin-bottom: 60px;
    padding: 0 0 40px 0;
    border-bottom: 1px solid #e0e0e0;
}

.post:last-child {
    border-bottom: none;
}

.post h1, .post h2 {
    margin-bottom: 15px;
    font-size: 1.8em;
    font-weight: normal;
}

.post-meta {
    color: #666;
    font-size: 0.9em;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.post-content, .post-excerpt {
    margin-bottom: 20px;
    color: #444;
}

.post-tags {
    margin-top: 25px;
}

.tag {
    display: inline-block;
    background-color: #333;
    color: white;
    padding: 4px 10px;
    margin: 2px 4px 2px 0;
    text-decoration: none;
    font-size: 0.8em;
    border-radius: 2px;
    transition: background-color 0.2s;
}

.tag:hover {
    background-color: #555;
}

.tag.active {
    background-color: #666;
}

.widget {
    padding: 0 0 30px 0;
    margin-bottom: 30px;
    border-bottom: 1px solid #e0e0e0;
}

.widget:last-child {
    border-bottom: none;
}

.widget h3 {
    margin-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 8px;
    font-weight: normal;
    font-size: 1.1em;
}

.pagination {
    text-align: center;
    margin-top: 40px;
}

.pagination button {
    font-family: 'Courier New', monospace;
    background-color: transparent;
    border: 1px solid #333;
    padding: 12px 24px;
    margin: 0 10px;
    cursor: pointer;
    transition: all 0.2s;
}

.pagination button:hover:not(:disabled) {
    background-color: #333;
    color: white;
}

.pagination button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

header {
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 50px;
    padding-bottom: 30px;
}

header h1 {
    font-size: 2.5em;
    margin-bottom: 15px;
    font-weight: normal;
}

nav a {
    color: #333;
    text-decoration: none;
    margin-right: 20px;
    border: 1px solid #333;
    padding: 8px 16px;
    transition: all 0.2s;
}

nav a:hover {
    background-color: #333;
    color: #fafafa;
}

/* Content styling classes to replace inline styles */
.content-image {
    max-width: 100%;
    height: auto;
    margin: 20px 0;
    display: block;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.header-image {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
    display: block;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.content-link {
    color: #333;
    text-decoration: underline;
}

.back-link {
    color: #333;
    text-decoration: underline;
}

.read-more-link {
    color: #333;
    text-decoration: underline;
    margin-top: 10px;
    display: inline-block;
}

.content-list {
    margin: 15px 0;
    padding-left: 30px;
}

.content-code-block {
    background: #f0f0f0;
    padding: 15px;
    margin: 15px 0;
    overflow-x: auto;
    font-family: 'Courier New', monospace;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.content-code-inline {
    background: #f0f0f0;
    padding: 2px 6px;
    font-family: 'Courier New', monospace;
    border-radius: 2px;
}

.archive-link {
    color: #333;
    text-decoration: none;
}

.archive-link.active {
    font-weight: bold;
}

.clear-filter-link {
    color: #333;
    text-decoration: underline;
}

/* Embed containers */
.embed-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    margin: 20px 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.embed-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 8px;
}

/* Spotify embeds are typically shorter */
.spotify-embed {
    padding-bottom: 152px; /* Fixed height for Spotify */
    height: 152px;
}

.spotify-embed .embed-iframe {
    position: static;
    height: 152px;
}

/* Mobile responsive design */
@media (max-width: 768px) {
    .container {
        padding: 15px 20px;
    }
    
    .main-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .sidebar {
        flex: none;
        width: 100%;
        order: 2;
    }
    
    .posts-section {
        order: 1;
    }
    
    header h1 {
        font-size: 2em;
    }
    
    nav {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }
    
    nav a {
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .post {
        margin-bottom: 40px;
    }
    
    .pagination button {
        padding: 10px 16px;
        margin: 0 5px;
    }
    
    .embed-container {
        margin: 15px 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 10px 15px;
    }
    
    header h1 {
        font-size: 1.8em;
    }
    
    .post h1, .post h2 {
        font-size: 1.5em;
    }
    
    .pagination button {
        display: block;
        width: 100%;
        margin: 5px 0;
    }
    
    .pagination {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    #page-info {
        order: -1;
        margin-bottom: 10px;
    }
}