/* =====================================================
   STARK BLOG MASTER STYLES
===================================================== */

:root {
    --stark-green: #14532D;
    --stark-gold: #F2D202;
    --stark-white: #FFFFFF;
    --stark-light: #F9F9F8;
    --stark-text-muted: #666666;
    --stark-border: rgba(20, 83, 45, 0.1);
    --stark-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

/* =====================================================
   1. UNIFIED STARK FILTERS (GRAYSCALE TO COLOR)
===================================================== */

/* Initial State: Respectful Grayscale */
.main-frame, 
.sub-frame, 
.image-frame-main img, 
.post-inset-image img {
    filter: grayscale(100%) brightness(0.9);
    transition: filter 0.8s cubic-bezier(0.165, 0.84, 0.44, 1), 
                transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Hover State: Bring the images to life */
.blog-flex-container:hover .main-frame,
.blog-flex-container:hover .sub-frame,
.image-frame-main:hover img,
.post-inset-image:hover img {
    filter: grayscale(0%) brightness(1);
}

/* =====================================================
   2. BLOG FEATURED ROW STRUCTURE (YOUR LAYOUT)
==================================================== */

.blog-flex-container {
    display: flex;
    align-items: center;
    gap: 60px;
    padding: 80px 0;
}

.image-stack {
    position: relative;
    padding-bottom: 40px;
}

.main-frame {
    width: 100%;
    border-radius: 24px;
    box-shadow: var(--stark-shadow);
}

.sub-frame {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 60%;
    border: 8px solid var(--stark-white);
    border-radius: 16px;
    box-shadow: var(--stark-shadow);
    z-index: 2;
}

/* =====================================================
   3. POST DETAIL PAGE STYLES (EDITORIAL)
===================================================== */

.stark-post-detail { 
    padding-bottom: 100px; 
    background-color: var(--stark-white);
}

/* Hero Section */
.post-hero { 
    padding: 180px 0 60px; 
    text-align: center; 
}

.post-hero h1 {
    font-size: clamp(36px, 6vw, 64px);
    color: var(--stark-green);
    margin: 20px 0;
}

.post-meta { 
    font-size: 13px; 
    text-transform: uppercase; 
    letter-spacing: 1px; 
    color: var(--stark-text-muted); 
}

.meta-divider { margin: 0 15px; color: var(--stark-gold); }

/* Main Image */
.image-frame-main img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 32px;
    box-shadow: var(--stark-shadow);
}

.image-caption {
    text-align: center;
    font-size: 14px;
    font-style: italic;
    margin-top: 15px;
    color: var(--stark-text-muted);
}

/* Body Typography */
.narrow-content { 
    max-width: 800px; 
    margin: 0 auto; 
}

.post-body-content p {
    font-size: 19px;
    line-height: 1.8;
    margin-bottom: 25px;
    color: var(--stark-green);
}

.drop-cap {
    float: left;
    font-family: 'Playfair Display', serif;
    font-size: 90px;
    line-height: 1;
    margin-right: 15px;
    color: var(--stark-gold);
    font-weight: 700;
}

blockquote {
    margin: 60px 0;
    padding: 40px;
    background: var(--stark-light);
    border-left: 5px solid var(--stark-gold);
    border-radius: 0 24px 24px 0;
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    font-style: italic;
    color: var(--stark-green);
}

/* Wide Inset Image */
.post-inset-image {
    margin: 60px -120px; 
    text-align: center;
}

.post-inset-image img {
    /* Reduced width from 100% */
    width: 75%; 
    /* Keeps it centered */
    display: block;
    margin-left: auto;
    margin-right: auto;
    
    border-radius: 24px;
    box-shadow: var(--stark-shadow);
    
    /* Optional: ensures it doesn't get too small on mobile */
    min-width: 300px; 
}
/* Share & Navigation */
.footer-split {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--stark-border);
    padding-top: 40px;
    margin-top: 60px;
}

.share-icons { 
    display: flex; 
    gap: 15px; 
    color: var(--stark-gold); 
    font-size: 20px; 
    margin-top: 10px; 
}

/* =====================================================
   4. RESPONSIVE QUERIES
===================================================== */

@media (max-width: 1100px) {
    .post-inset-image { margin: 40px 0; }
}

@media (max-width: 768px) {
    .blog-flex-container { 
        flex-direction: column; 
        padding: 40px 20px;
    }
    
    .sub-frame { 
        display: none; 
    }

    .footer-split { 
        flex-direction: column; 
        gap: 30px; 
        text-align: center; 
    }

    .post-hero {
        padding: 140px 20px 40px;
    }
}