/* Web Revival Aesthetic */

body {
    background-color: #f4ece4; /* Soft paper color */
    color: #332b25;
    font-family: "Courier New", Courier, monospace;
    max-width: 700px;
    margin: 40px auto;
    padding: 20px;
    line-height: 1.6;
}

header {
    border-bottom: 2px solid #332b25;
    margin-bottom: 20px;
    padding-bottom: 10px;
}

h1 {
    margin: 0;
    font-size: 1.8rem;
}

nav a {
    color: #8b5e3c;
    text-decoration: none;
    font-weight: bold;
}

nav a:hover {
    background-color: #332b25;
    color: #f4ece4;
}

.update-box {
    background-color: #e6dfd6;
    border: 1px dashed #332b25;
    padding: 15px;
    margin-bottom: 30px;
}

.archive-nav {
    background-color: #e6dfd6;
    border: 1px dashed #332b25;
    padding: 15px;
    margin-bottom: 30px;
}

footer {
    margin-top: 50px;
    text-align: center;
}

.buttons img {
    image-rendering: pixelated;
    margin: 5px;
}

/* 1. Ensure the container is a vertical column */
.cat-group {
    display: flex;
    flex-direction: column; 
    margin-bottom: 40px;
}

/* 2. Force the link to be a block that clears everything around it */
.post-link { 
    display: block !important; 
    clear: both;
    width: 100%;
    padding: 15px 0;
    text-decoration: none;
    color: #ccc;
    border-bottom: 1px solid #333;
}

/* 3. Keep the title and date on one line, or stack them? 
   If you want them on one line but the LINKS stacked, use this: */
.post-link {
    display: flex;
    justify-content: space-between; /* Title left, Date right */
    align-items: center;
}

/* Mobile friendly-ish */
@media (max-width: 600px) {
    body { margin: 10px; }
}