/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans SC", sans-serif;
    line-height: 1.8;
    color: #2c3e50;
    background: #f5f7fa;
}

.container {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: #fff;
    border-bottom: 1px solid #e8ecf1;
    padding: 18px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 1.4em;
    font-weight: 700;
    color: #1a73e8;
    text-decoration: none;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 24px;
}

nav a {
    text-decoration: none;
    color: #555;
    font-size: 0.95em;
    transition: color 0.2s;
}

nav a:hover, nav a.active {
    color: #1a73e8;
}

/* Hero */
.hero {
    text-align: center;
    padding: 60px 0 40px;
}

.hero h2 {
    font-size: 2em;
    margin-bottom: 12px;
    color: #1a1a2e;
}

.hero p {
    color: #666;
    font-size: 1.1em;
}

/* Post Cards */
.posts {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-bottom: 40px;
}

.post-card {
    background: #fff;
    border-radius: 8px;
    padding: 28px 32px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    transition: box-shadow 0.2s;
}

.post-card:hover {
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}

.post-meta {
    font-size: 0.85em;
    color: #999;
    margin-bottom: 8px;
}

.post-card h3 {
    font-size: 1.25em;
    margin-bottom: 10px;
}

.post-card h3 a {
    color: #1a1a2e;
    text-decoration: none;
}

.post-card h3 a:hover {
    color: #1a73e8;
}

.post-card p {
    color: #666;
    font-size: 0.95em;
    margin-bottom: 12px;
}

.read-more {
    font-size: 0.9em;
    color: #1a73e8;
    text-decoration: none;
    font-weight: 500;
}

.read-more:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    background: #fff;
    border-top: 1px solid #e8ecf1;
    padding: 24px 0;
    text-align: center;
    font-size: 0.85em;
    color: #aaa;
}

/* Page Content */
.page-content {
    background: #fff;
    border-radius: 8px;
    padding: 40px;
    margin: 30px 0;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    min-height: 300px;
}

.page-content h2 {
    font-size: 1.6em;
    margin-bottom: 20px;
    color: #1a1a2e;
}

.page-content p {
    color: #555;
    margin-bottom: 16px;
}

.page-content ul {
    padding-left: 20px;
    color: #555;
}

.page-content li {
    margin-bottom: 8px;
}

/* Archives */
.archive-list {
    list-style: none;
    padding: 0;
}

.archive-list li {
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.archive-list a {
    color: #2c3e50;
    text-decoration: none;
}

.archive-list a:hover {
    color: #1a73e8;
}

.archive-date {
    color: #999;
    font-size: 0.85em;
}
