@font-face {
    font-family: 'Newsreader';
    src: url('/fonts/Newsreader.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

body {
    font-family: 'Newsreader', serif;
    background-color: #f0f0f0;
    color: #333;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    font-size: 1.3rem;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

header {
    text-align: center;
    margin-bottom: 2rem;
}

h1 {
    font-size: 3.4rem;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}


.post-content {
    margin-top: 2rem;
}

.post-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 1rem auto;
    border-radius: 1.2rem;
    will-change: transform;
    content-visibility: auto;
}

@media (max-width: 600px) {
    h1 {
        font-size: 2rem;
    }
}

.back-button {
    position: fixed;
    top: 2rem;
    right: 2rem;
    text-decoration: none;
    color: #666;
    font-size: 1.8rem;
    transition: color 0.2s ease;
}

.back-button:hover {
    color: #333;
}

@media (max-width: 600px) {
    .back-button {
        top: 1rem;
        right: 1rem;
        font-size: 1.6rem;
    }
}

.post-date {
    font-style: italic;
    color: #666;
    font-size: 0.9em;
    margin-bottom: 2em;
    border-bottom: 1px solid #ddd;
    padding-bottom: 1em;
}

/* Add these styles for blog links */
.blog-list a {
    color: #6b90b5;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.blog-list a:visited {
    color: #6b90b5;
}

.blog-list a:hover {
    opacity: 0.7;
}

/* Style for featured posts */
.featured-post {
    font-style: italic;
}
