/* Reset */
* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.7;
    color: #333;
    max-width: 720px;
    margin: 0 auto;
    padding: 20px;
    background: #fff;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0 20px 0;
    border-bottom: 1px solid #0056b3;
    margin-bottom: 40px;
}

/* Identity */
.identity {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.identity img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.identity h1 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #000;
    margin: 0;
}

/* Navigation */
nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

nav a {
    text-decoration: none;
    color: #0056b3;
    font-weight: 500;
    font-size: 1rem;
}

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

/* RSS Icon */
.rss-icon {
    width: 16px;
    height: 16px;
    fill: #ee802f;
    display: block;
}

/* GLOBAL HEADINGS (Home & Blog Index) */
h1 { 
    font-size: 2rem; 
    margin-bottom: 1rem; 
    color: #0056b3; 
    letter-spacing: -0.5px; 
}

/* SPECIFIC BLOG POST TITLE (Inside the article) */
/* This fixes the "too big and bold" issue */
article h1 {
    font-size: 1.6rem; /* Smaller than the main 2rem */
    font-weight: 500;  /* Lighter (Normal bold is 700) */
    margin-bottom: 1.5rem;
}

h2 { font-size: 1.5rem; margin-top: 2rem; margin-bottom: 1rem; color: #333; }
p { margin-bottom: 1.5rem; font-size: 1.1rem; color: #444; }
a { color: #0056b3; text-decoration: none; }
a:hover { text-decoration: underline; }

/* Blog List */
.post-item { 
    margin-bottom: 25px; 
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    border-bottom: 1px solid #eee; 
    padding-bottom: 25px;
}

.post-title { 
    font-size: 1.3rem; 
    font-weight: 600; 
    color: #0056b3; 
}

.post-meta { font-size: 0.85rem; color: #888; white-space: nowrap; margin-left: 15px;}

/* Footer */
footer { 
    margin-top: 60px; 
    padding-top: 20px; 
    border-top: 1px solid #eee; 
    text-align: center; 
    color: #999; 
    font-size: 0.9rem; 
}