body {
    font-family: Georgia, serif;
    max-width: 900px;
    margin: 40px auto;
    line-height: 1.7;
    color: #222;
    background-color: #fafafa;
}

h1 {
    text-align: center;
    margin-bottom: 10px;
    font-size: 2.5em;
}

.tagline {
    text-align: center;
    color: #666;
    font-style: italic;
    margin-bottom: 30px;
    font-size: 1.1em;
}

h2, h3 {
    margin-top: 35px;
    color: #333;
}

h2 {
    border-bottom: 2px solid #ddd;
    padding-bottom: 10px;
    font-size: 1.8em;
}

figure {
    text-align: center;
}

img {
    display: block;
    margin: 25px auto;
    max-width: 100%;
}

p {
    margin: 14px 0;
}

ul {
    margin-left: 20px;
}

pre {
    background: #f4f4f4;
    padding: 12px;
    overflow-x: auto;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px 20px;
    border-radius: 10px;
    margin-bottom: 30px;
    text-align: center;
}

.hero h1 {
    color: white;
    margin-bottom: 10px;
}

.hero .tagline {
    color: rgba(255, 255, 255, 0.9);
}

/* Bio Section */
.bio {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.bio-content {
    flex: 2;
}

.bio-content p {
    font-size: 1.1em;
    line-height: 1.8;
}

.social-links {
    flex: 1;
    min-width: 200px;
}

.social-links h3 {
    margin-top: 0;
    color: #333;
}

.social-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.social-list li {
    margin-bottom: 10px;
}

.social-list a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.social-list a:hover {
    color: #764ba2;
    text-decoration: underline;
}

/* Categories Navigation */
.categories {
    margin-bottom: 40px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.category-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.category-card h3 {
    margin-top: 0;
    color: #333;
    font-size: 1.3em;
}

.category-card p {
    color: #666;
    margin-bottom: 15px;
}

.category-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.category-link:hover {
    color: #764ba2;
    text-decoration: underline;
}

/* Post Lists */
.post-list {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

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

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

.post-list a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    flex-grow: 1;
    transition: color 0.3s ease;
}

.post-list a:hover {
    color: #667eea;
}

.post-date {
    color: #666;
    font-size: 0.9em;
    font-style: italic;
    white-space: nowrap;
    margin-left: 15px;
}

/* Footer */
footer {
    margin-top: 50px;
    text-align: center;
    color: #666;
}

footer a {
    color: #667eea;
    text-decoration: none;
    margin: 0 10px;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .bio {
        flex-direction: column;
        gap: 20px;
    }

    .category-grid {
        grid-template-columns: 1fr;
    }

    .post-list li {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .post-date {
        margin-left: 0;
        align-self: flex-end;
    }

    h1 {
        font-size: 2em;
    }

    h2 {
        font-size: 1.5em;
    }
}