/* css/blog-post.css — styles for individual static blog post pages */

/* ── Page layout ─────────────────────────────────────────────────────────── */

.blog-post-body {
    background-color: #fcfbf9;
    color: #2b2b2b;
}

.blog-post-main {
    max-width: 760px;
    margin: 120px auto 80px auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

/* ── Breadcrumb ──────────────────────────────────────────────────────────── */

.post-breadcrumb {
    margin-bottom: 40px;
}

.post-breadcrumb a {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: #666;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: color 0.2s;
}

.post-breadcrumb a:hover {
    color: #1a1a1a;
}

/* ── Hero image ──────────────────────────────────────────────────────────── */

.blog-post-article .post-image {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    border-radius: 2px;
    margin-bottom: 40px;
    display: block;
}

/* ── Post header ─────────────────────────────────────────────────────────── */

.blog-post-header {
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding-bottom: 32px;
}

.blog-post-header .post-meta {
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
}

.pinned-badge {
    background: #1a1a1a;
    color: #fcfbf9;
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 2px;
    letter-spacing: 1px;
}

.blog-post-header .post-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 400;
    line-height: 1.15;
    color: #1a1a1a;
    margin-bottom: 14px;
    font-variant-ligatures: common-ligatures;
}

.blog-post-header .post-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    color: #555;
    line-height: 1.5;
    margin-bottom: 20px;
    font-weight: 300;
}

.post-author-line {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: #777;
}

.post-author-line a {
    color: #1a1a1a;
    text-decoration: none;
    border-bottom: 1px solid rgba(0,0,0,0.2);
    transition: border-color 0.2s;
}

.post-author-line a:hover {
    border-color: #1a1a1a;
}

/* ── Article body ─────────────────────────────────────────────────────────── */

.blog-post-article .post-content {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.35rem;
    line-height: 1.75;
    color: #2b2b2b;
}

.blog-post-article .post-content p {
    margin-bottom: 1.6em;
}

/* Drop cap on first paragraph */
.blog-post-article .post-content p:first-of-type::first-letter {
    font-family: 'Playfair Display', serif;
    font-size: 5.2rem;
    float: left;
    margin-top: -0.02em;
    margin-right: 0.06em;
    line-height: 0.82;
    font-weight: 400;
    font-style: italic;
    color: #1a1a1a;
}

.blog-post-article .post-content h2,
.blog-post-article .post-content h3 {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 2em 0 0.75em;
    color: #1a1a1a;
}

.blog-post-article .post-content blockquote {
    border-left: 3px solid #c8b89a;
    margin: 2em 0;
    padding: 0.5em 1.5em;
    color: #555;
    font-style: italic;
}

/* ── Post footer nav ─────────────────────────────────────────────────────── */

.post-footer-nav {
    margin-top: 60px;
    padding-top: 32px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.post-nav-link {
    font-family: 'Inter', sans-serif;
    font-size: 0.88rem;
    color: #1a1a1a;
    text-decoration: none;
    letter-spacing: 0.5px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.25);
    padding-bottom: 2px;
    transition: opacity 0.2s;
}

.post-nav-link:hover {
    opacity: 0.6;
}

/* ── Responsive ──────────────────────────────────────────────────────────── */

@media (max-width: 600px) {
    .blog-post-main {
        margin-top: 90px;
        padding: 0 18px;
    }

    .blog-post-header .post-title {
        font-size: 2rem;
    }

    .blog-post-article .post-content {
        font-size: 1.2rem;
    }

    .blog-post-article .post-content p:first-of-type::first-letter {
        font-size: 4rem;
    }
}
