/* ============================================
   Alex's Blog - Personal Blog Theme
   A clean, readable design for personal blogging
   ============================================ */

/* CSS Variables */
:root {
    --font-heading: 'Merriweather', Georgia, serif;
    --font-body: 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;

    --color-bg: #fafafa;
    --color-surface: #ffffff;
    --color-text: #333333;
    --color-text-muted: #666666;
    --color-text-light: #999999;
    --color-primary: #2c5282;
    --color-primary-hover: #1a365d;
    --color-accent: #ed8936;
    --color-border: #e2e8f0;

    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);

    --container-width: 720px;
    --spacing: 1.5rem;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-bg);
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--color-primary-hover);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    margin-top: 0;
}

p {
    margin-top: 0;
    margin-bottom: 1.25rem;
}

ul {
    padding-left: 1.5rem;
}

/* Container */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing);
}

/* Header */
.site-header {
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    padding: 1.25rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text);
}

.logo:hover {
    color: var(--color-primary);
}

.main-nav {
    display: flex;
    gap: 2rem;
}

.main-nav a {
    color: var(--color-text-muted);
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--color-primary);
}

.main-nav a.active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--color-primary);
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 4rem 0 3rem;
    border-bottom: 1px solid var(--color-border);
    margin-bottom: 3rem;
}

.hero h1 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
    color: var(--color-text);
}

.hero p {
    font-size: 1.15rem;
    color: var(--color-text-muted);
    margin: 0;
}

/* Posts */
.posts {
    padding-bottom: 2rem;
}

.post-card {
    background: var(--color-surface);
    padding: 2rem;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.post-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.post-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
}

.post-meta .date {
    color: var(--color-text-light);
}

.post-meta .category {
    color: var(--color-accent);
    font-weight: 600;
}

.post-card h2 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.post-card h2 a {
    color: var(--color-text);
}

.post-card h2 a:hover {
    color: var(--color-primary);
}

.post-card p {
    color: var(--color-text-muted);
    margin-bottom: 1rem;
}

.read-more {
    font-weight: 600;
    font-size: 0.95rem;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0 3rem;
    border-top: 1px solid var(--color-border);
    margin-top: 1rem;
}

.pagination a {
    font-weight: 600;
}

.pagination a.disabled {
    color: var(--color-text-light);
    pointer-events: none;
}

.page-info {
    color: var(--color-text-light);
    font-size: 0.9rem;
}

/* About Page */
.about-page {
    padding: 3rem 0;
}

.about-page h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.about-intro {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    margin-bottom: 3rem;
}

.avatar-placeholder {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    border-radius: 50%;
    flex-shrink: 0;
}

.intro-text .lead {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--color-text);
}

.about-section {
    margin-bottom: 2.5rem;
}

.about-section h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-text);
}

.topic-list {
    list-style: none;
    padding: 0;
}

.topic-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--color-border);
}

.topic-list li:last-child {
    border-bottom: none;
}

/* Archive Page */
.archive-page {
    padding: 3rem 0;
}

.archive-page h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.archive-intro {
    color: var(--color-text-muted);
    margin-bottom: 3rem;
}

.archive-year {
    margin-bottom: 3rem;
}

.archive-year h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--color-primary);
    display: inline-block;
}

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

.archive-list li {
    display: flex;
    gap: 1.5rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--color-border);
    align-items: baseline;
}

.archive-list .date {
    color: var(--color-text-light);
    font-size: 0.9rem;
    min-width: 60px;
}

.archive-list a {
    font-weight: 500;
}

/* Footer */
.site-footer {
    background: var(--color-surface);
    border-top: 1px solid var(--color-border);
    padding: 2rem 0;
    margin-top: 2rem;
}

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

.site-footer p {
    margin: 0;
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.social-links a:hover {
    color: var(--color-primary);
}

/* Responsive */
@media (max-width: 768px) {
    .site-header .container {
        flex-direction: column;
        gap: 1rem;
    }

    .main-nav {
        gap: 1.5rem;
    }

    .hero h1 {
        font-size: 1.75rem;
    }

    .about-intro {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .site-footer .container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

</CodeContent><parameter name="Complexity">4