/* RESET & BASICS */
* { box-sizing: border-box; }

body {
    font-family: 'Courier New', Courier, monospace; /* The "Raw" look */
    background-color: #ffffff;
    color: #000000;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

/* THE ORANGE HEADER (Kept as requested) */
.hn-header {
    background-color: #343330;
    padding: 15px 20px;
    border-bottom: 3px solid #000; /* Hard border */
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
}

.hn-header h1 {
    font-size: 1.2rem;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.hn-header a {
    color: #fff;
    text-decoration: none;
    font-weight: 900;
}

.hn-header a:hover {
    text-decoration: underline;
}

/* MAIN LAYOUT */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    border-left: 2px solid #000; /* Vertical visual guide */
    border-right: 2px solid #000;
    min-height: 100vh;
}

/* POST STYLING */
.post {
	margin-top: 40px;
    margin-bottom: 30px;
    border-bottom: 4px solid #000; /* Thick separator */
    padding-bottom: 40px;
}

.post-title {
    font-family: Arial, Helvetica, sans-serif; /* Contrast font for headers */
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 10px;
    color: #000;
}

.post-meta {
    font-size: 0.8rem;
    color: #000;
    background: #eee;
    display: inline-block;
    padding: 2px 8px;
    border: 1px solid #000;
    margin-bottom: 25px;
    text-transform: uppercase;
}

/* RICH TEXT CONTENT OVERRIDES */
/* Since you are using rich text, we need to make sure the HTML looks good */
.post-content {
    font-size: 1.1rem;
}
.post-content h1, .post-content h2 { margin-top: 30px; }
.post-content blockquote {
    border-left: 5px solid #ff6600;
    margin: 20px 0;
    padding-left: 15px;
    font-style: italic;
    background: #f9f9f9;
}
.post-content img {
    max-width: 100%;
    border: 2px solid #000;
    margin: 20px 0;
}

/* PAGINATION BUTTONS */
.pagination {
    padding: 20px 0;
    border-top: 1px solid #000;
    display: flex;
    justify-content: space-between;
}

.pagination a {
    background: #000;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
}

.pagination a:hover {
    background: #ff6600;
    color: #000;
}

/* ... existing styles ... */

/* CODE BLOCK STYLING */
pre {
    background: #f0f0f0;         /* Light grey background */
    border: 2px solid #000;      /* Hard black border */
    padding: 15px;
    overflow-x: auto;            /* Scroll horizontally if code is long */
    margin: 25px 0;
    box-shadow: 4px 4px 0px #000; /* Hard shadow for depth */
}

/* Inline code (like `this`) */
code {
    font-family: 'Courier New', Courier, monospace;
    background: #e0e0e0;
    padding: 2px 5px;
    font-size: 0.9em;
}

/* Reset inline style for code inside blocks so it doesn't look double-boxed */
pre code {
    background: transparent;
    padding: 0;
    color: #000;
    font-weight: bold;
}

/* Style the Clock */
.header-clock {
    font-family: 'Courier New', Courier, monospace;
    font-weight: bold;
    font-size: 1rem;
    color: #fff;
}

/* Ensure title doesn't cramp the clock on mobile */
.hn-header h1 {
    font-size: 1.2rem;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: -1px;
    flex: 1; /* Helps with spacing */
}

/* Ensure link doesn't cramp the clock */
.hn-header a[href="create.php"] {
    flex: 1;
    text-align: right;
}

/* Keep the clock strictly centered */
#utc-clock {
    flex: 2;
    text-align: center;
}
