/* Shared blog styles (index + post pages) */

.blog-container {
    width: 70%;
    max-width: 1100px;
    margin: 80px auto;
    padding: 0 20px;
}

.divider {
    width: 100%;
    height: 3px;
    background: #000;
}

.bottom-divider {
    margin-bottom: 40px;
}

.blog-title {
    font-family: Inter, sans-serif;
    font-weight: 500;
    font-size: 48px;
    line-height: 130%;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    margin: 0;
    padding: 20px 0 16px;
}

/* ===== Post page ===== */

.post-intro {
    font-size: 1.3em;
    line-height: 1.35;
    font-style: italic;
    font-weight: 400;
    color: #888;
    margin: 0 0 0.6em;
}

.post-byline {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 1.5em;
}

.byline-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.byline-meta {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.byline-author {
    color: #222;
    font-weight: 600;
    font-size: 0.98em;
}

.byline-date {
    color: #888;
    font-size: 0.9em;
}

.post-content {
    font-size: 1.125em;
    line-height: 1.75;
    color: #222;
}

.post-content p {
    margin: 0 0 1.4em;
}

.post-content h2,
.content-heading {
    font-family: Inter, sans-serif;
    font-weight: 600;
    font-size: 1.6em;
    line-height: 1.3;
    margin: 2em 0 0.6em;
}

.post-content h3 {
    font-family: Inter, sans-serif;
    font-weight: 600;
    font-size: 1.3em;
    line-height: 1.3;
    margin: 1.6em 0 0.5em;
}

.post-content ul,
.post-content ol {
    margin: 0 0 1.4em;
    padding-left: 1.4em;
}

.post-content li {
    margin-bottom: 0.5em;
}

.post-content strong {
    font-weight: 700;
}

.post-content em {
    font-style: italic;
}

.post-content a {
    color: var(--primary-green);
    text-decoration: underline;
}

.post-content img,
.content-image img,
.blog-feed-image img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 2em auto;
    border-radius: 8px;
}

.blog-feed-image img {
    margin: 0 auto;
}

/* ===== Index page ===== */

.blog-intro {
    font-size: 1.2em;
    line-height: 1.6;
    color: #555;
    margin-bottom: 1em;
}

.blog-feed-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.blog-feed-readmore {
    display: block;
    margin: 0 0 1.2em;
    color: var(--primary-green);
    font-weight: 600;
    text-decoration: none;
}

.blog-feed-readmore:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .blog-container {
        width: auto;
        margin: 60px auto;
    }

    .blog-title {
        font-size: 32px;
    }

    .post-intro {
        font-size: 1.2em;
    }

    .post-content {
        font-size: 1.05em;
    }
}
