/* =========================
   Blog Post Page Styles
   ========================= */

.page-hero {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.8)), var(--bg-image) center/cover no-repeat;
    background-attachment: fixed;
    padding: 120px 0 60px;
    color: white;
    text-align: center;
    border-radius: 28px;
    margin-bottom: 60px;
    position: relative;
    overflow: hidden;
}

.page-hero-content {
    z-index: 2;
    position: relative;
}

.page-hero .eyebrow {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 10px;
    font-weight: 700;
}

.page-hero h1 {
    font-family: var(--font-heading);
    font-size: 56px;
    margin: 0 0 20px;
}

.page-hero .sub {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
}

.blog-post {
    max-width: 840px;
    margin: 0 auto;
    padding: 40px;
}

.blog-header {
    text-align: center;
    margin-bottom: 60px;
}

.meta {
    display: block;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    font-weight: 700;
    margin-bottom: 20px;
}

.post-title {
    font-family: var(--font-heading);
    font-size: 54px;
    line-height: 1.1;
    margin: 0 0 24px;
    color: var(--ink);
}

.lead {
    font-size: 22px;
    line-height: 1.6;
    color: var(--muted);
    max-width: 680px;
    margin: 0 auto;
}

.featured-image-container {
    width: 100%;
    margin-bottom: 48px;
}

.featured-image {
    padding-top: 56.25%;
    /* 16:9 Aspect Ratio */
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    box-shadow: var(--shadow);
}

.featured-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.content-body {
    font-size: 19px;
    line-height: 1.8;
    color: rgba(16, 20, 18, 0.85);
}

.content-body p {
    margin-bottom: 32px;
}

.content-body h2 {
    font-family: var(--font-heading);
    font-size: 32px;
    margin: 60px 0 24px;
    color: var(--ink);
}

blockquote {
    border-left: 4px solid var(--accent);
    padding-left: 24px;
    margin: 40px 0;
    font-family: var(--font-heading);
    font-size: 28px;
    line-height: 1.4;
    color: var(--primary);
    font-style: italic;
    background: var(--soft);
    padding: 32px;
    border-radius: 0 16px 16px 0;
}

.share-section {
    margin-top: 80px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.share-label {
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--muted);
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ink);
    transition: all 0.2s ease;
    text-decoration: none;
}

.social-link:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-2px);
}

.related-posts {
    background: #f0f2f0;
    padding: 80px 0;
    margin-top: 0;
}

.related-posts h3 {
    font-family: var(--font-heading);
    font-size: 32px;
    margin: 0 0 40px;
    text-align: center;
}

.related-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    padding: 0 24px;
}

.related-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.related-card:hover {
    transform: translateY(-5px);
}

/* Responsive Media Queries */
@media (max-width: 980px) {
    .blog-post {
        padding: 20px;
    }

    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .page-hero {
        padding: 100px 20px 60px;
    }

    .page-hero h1 {
        font-size: 32px;
    }

    .post-title {
        font-size: 32px;
    }

    .lead {
        font-size: 18px;
    }

    .content-body {
        font-size: 17px;
    }

    .featured-image {
        border-radius: 16px;
    }

    blockquote {
        font-size: 22px;
        padding: 24px;
    }

    .share-section {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }

    .related-posts {
        padding: 40px 0;
    }

    .related-grid {
        grid-template-columns: 1fr;
        padding: 0 20px;
    }
}