/* Terminal/RFC/Man Page Aesthetic - Improved */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Courier New', Courier, monospace;
    font-size: 14px;
    line-height: 1.6;
    color: #000;
    background-color: #fff;
    max-width: 80ch;
    margin: 0 auto;
    padding: 2em 1em;
}

/* Headers - RFC/Man page style */
h1 {
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    margin: 2em 0 1em 0;
    letter-spacing: 0.05em;
}

h2 {
    font-size: 14px;
    font-weight: bold;
    margin: 1.5em 0 0.75em 0;
    text-transform: uppercase;
}

h3 {
    font-size: 14px;
    font-weight: bold;
    margin: 1.25em 0 0.5em 0;
}

/* Links - classic blue underlined */
a {
    color: #0000EE;
    text-decoration: underline;
}

a:visited {
    color: #551A8B;
}

a:hover {
    color: #0000EE;
}

/* Paragraphs */
p {
    margin: 0.75em 0;
    text-align: justify;
}

/* Lists */
ul,
ol {
    margin: 0.75em 0 0.75em 2em;
}

li {
    margin: 0.35em 0;
}

/* Code blocks - properly semantic */
pre {
    background-color: #f5f5f5;
    border-left: 3px solid #000;
    padding: 1em;
    margin: 1em 0;
    overflow-x: auto;
    font-family: 'Courier New', Courier, monospace;
    font-size: 13px;
    line-height: 1.4;
}

code {
    font-family: 'Courier New', Courier, monospace;
    font-size: 13px;
}

/* Inline code */
p code,
li code {
    background-color: #f5f5f5;
    padding: 0.15em 0.4em;
}

/* Navigation */
nav {
    margin-bottom: 2em;
    padding-bottom: 1em;
}

nav a {
    margin-right: 0.5em;
    font-weight: normal;
}

/* Post listing */
.post-list {
    margin: 2em 0;
}

.post-item {
    margin: 2em 0;
    padding-bottom: 1.5em;
}

.post-date {
    font-weight: bold;
    margin-bottom: 0.35em;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.post-title {
    text-decoration: underline;
    font-weight: bold;
    font-size: 15px;
}

/* Header block - RFC style */
.header-block {
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
    padding: 1.5em 0;
    margin-bottom: 2em;
    text-align: center;
}

.site-title {
    font-size: 20px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    margin-bottom: 0.5em;
}

/* Footer */
footer {
    margin-top: 4em;
    padding-top: 1em;
    font-size: 12px;
    border-top: 1px solid #000;
}

footer p {
    margin: 0.5em 0;
}

/* Blockquotes */
blockquote {
    border-left: 3px solid #000;
    padding-left: 1em;
    margin: 1em 0;
    font-style: italic;
}

/* Tables */
table {
    border-collapse: collapse;
    margin: 1em 0;
    width: 100%;
}

th,
td {
    border: 1px solid #000;
    padding: 0.5em;
    text-align: left;
}

th {
    font-weight: bold;
    background-color: #f5f5f5;
}

/* Meta info */
.meta {
    font-size: 12px;
    color: #333;
    margin: 0.5em 0;
}

/* Horizontal divider - improved with === style */
.divider {
    text-align: center;
    margin: 3em 0;
    font-weight: bold;
    letter-spacing: 0.1em;
}

.divider::before {
    content: "* * *";
    display: block;
    overflow: hidden;
}

/* Alternative simple divider */
hr {
    border: none;
    border-top: 1px solid #000;
    margin: 2em 0;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    body {
        padding: 1em 0.75em;
        font-size: 13px;
    }

    .site-title {
        font-size: 18px;
        letter-spacing: 0.2em;
    }

    nav a {
        margin-right: 1em;
        font-size: 13px;
    }
}
