body {
    margin: 0;
    padding: 0;

    background: #ffffff;
    color: #000000;

    font-family: Georgia, serif;
    font-size: 16px;
    line-height: 1.5;
}

#container {
    width: 820px;
    margin: 0 auto;
    padding: 20px;
}

header h1 {
    margin: 0;
    font-size: 34px;
    font-weight: normal;
}

header h1 a {
    text-decoration: none;
    color: #000;
}

.subtitle {
    margin-top: 4px;
    color: #555;
    font-size: 14px;
}

nav {
    margin-top: 20px;
    margin-bottom: 40px;

    padding: 10px 0;

    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
}

nav a {
    margin-right: 20px;
    color: #003399;
    text-decoration: none;
}

nav a:hover {
    text-decoration: underline;
}

/* KEY CHANGE: SIDEBAR LEFT, CONTENT RIGHT */
#content-layout {
    display: flex;
    flex-direction: row;
    gap: 50px;
}

/* LEFT SIDEBAR */
aside {
    width: 250px;
}

/* RIGHT CONTENT */
main {
    flex: 1;
}

/* POST STYLE (UNCHANGED — THIS IS YOUR OLD LOOK) */
.post-preview {
    margin-bottom: 50px;
}

.post-preview h2 {
    margin-bottom: 4px;
    font-size: 28px;
    font-weight: normal;
}

.post-preview h2 a {
    color: #003399;
    text-decoration: none;
}

.post-preview h2 a:hover {
    text-decoration: underline;
}

.meta {
    margin-bottom: 15px;
    color: #666;
    font-size: 14px;
}

/* SIDEBAR STYLING */
.sidebar-section {
    margin-bottom: 35px;
}

.sidebar-section h3 {
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: normal;

    border-bottom: 1px solid #ccc;
}

.sidebar-section ul {
    padding-left: 18px;
    margin: 0;
}

.sidebar-section li {
    margin-bottom: 8px;
}

.sidebar-section a {
    color: #003399;
    text-decoration: none;
}

.sidebar-section a:hover {
    text-decoration: underline;
}

.sidebar-section.featured-sites {
    padding: 14px 16px;

    border: 1px solid #ccc;
    background: #f9f9f9;
}

.sidebar-section.featured-sites h3 {
    margin-top: 0;
    border-bottom-color: #bbb;
}

/* BLOG PAGE H1 — fix stretched appearance */
.blog-post h1 {
    font-size: 30px;
    font-weight: normal;
    font-stretch: normal;
    letter-spacing: normal;
    line-height: 1.3;
    margin-bottom: 8px;
}

/* ============================================
   RETRO EXTRAS — drop in what you need
   ============================================ */


/* --- BLINKING TEXT --- */
/* Usage: <span class="blink">NEW!</span> */

.blink {
    animation: blink 1s step-start infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0; }
}


/* --- "NEW!" BADGE --- */
/* Usage: <span class="badge-new">NEW</span> */

.badge-new {
    display: inline-block;
    margin-left: 6px;
    padding: 1px 5px;
    background: #cc0000;
    color: #fff;
    font-size: 11px;
    font-family: Arial, sans-serif;
    font-weight: bold;
    vertical-align: middle;
}


/* --- RETRO BLOCKQUOTE --- */
/* Usage: <blockquote class="retro-quote"> */

.retro-quote {
    margin: 24px 0;
    padding: 12px 16px;
    border-left: 4px solid #000;
    background: #f0f0f0;
    font-style: italic;
    color: #333;
}

.retro-quote cite {
    display: block;
    margin-top: 8px;
    font-style: normal;
    font-size: 13px;
    color: #666;
}

.retro-quote cite::before {
    content: "— ";
}

/* --- THICK DIVIDER --- */
/* Usage: <hr class="divider-retro"> */

.divider-retro {
    border: none;
    border-top: 3px double #000;
    margin: 30px 0;
}


/* --- NOTICE / CALLOUT BOX --- */
/* Usage: <div class="notice">...</div> */
/* Variants: notice-warn, notice-tip */

.notice {
    margin: 24px 0;
    padding: 12px 16px;
    border: 1px solid #000;
    background: #ffffcc;
    font-size: 14px;
}

.notice-warn {
    background: #ffdddd;
    border-color: #cc0000;
}

.notice-tip {
    position: relative;
    margin: 24px 0;
    padding: 10px 14px 10px 42px;
    border: 1px solid #003399;
    border-left: 4px solid #003399;
    background: #ddeeff;
    font-size: 14px;
    color: #001a66;
}
 
.notice-tip::before {
    content: "ℹ";
    position: absolute;
    left: 13px;
    top: 10px;
    font-size: 16px;
    font-weight: bold;
    color: #003399;
    line-height: 1;
}
 
.notice-tip strong {
    display: block;
    margin-bottom: 2px;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: #0033
}

.notice::before {
    font-weight: bold;
    margin-right: 6px;
    content: "※";
}


/* --- RETRO TABLE --- */
/* Usage: <table class="retro-table"> */

.retro-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.retro-table th,
.retro-table td {
    padding: 6px 10px;
    border: 1px solid #999;
    text-align: left;
}

.retro-table th {
    background: #cccccc;
    font-weight: bold;
}

.retro-table tr:nth-child(even) td {
    background: #f4f4f4;
}

/* --- MARQUEE FALLBACK STYLE --- */

.marquee-bar {
    padding: 6px 0;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    font-size: 13px;
    color: #444;
    overflow: hidden;
}