/* --- 1. GLOBAL: SIGNATURE ROUNDED CORNERS --- */
.post-thumbnail img, 
.wp-block-post-featured-image img {
    border-radius: 20px !important;
    overflow: hidden;
}

/* --- 2. HOME & LANDING PAGE: CLEAN LOOK --- */
.home .wp-block-post-featured-image {
    box-shadow: none !important;
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
}

/* --- 3. SINGLE POSTS (REFLECTIONS): IMAGE SIZE --- */
.single-post .wp-block-post-featured-image img {
    max-width: 700px !important;
    height: auto !important;
    margin: 0 auto 30px auto !important;
    display: block !important;
}

/* --- 4. BLOG PAGE: DESKTOP LAYOUT --- */
.blog .wp-block-query, 
.archive .wp-block-query {
    max-width: 900px !important;
    margin: 50px auto !important;
    padding: 0 20px !important;
}

.blog .wp-block-post, 
.archive .wp-block-post {
    text-align: center !important;
    margin-bottom: 40px !important;
}

/* --- 5. TEXT & TITLES: ALIGNMENT & STYLE --- */
.entry-title, h2.entry-title {
    text-transform: none !important;
    font-weight: 600 !important;
    font-size: 1.2rem !important;
    margin-bottom: 5px !important;
}

.entry-meta, .posted-on {
    font-size: 0.8rem !important;
    text-transform: uppercase;
    color: #888 !important;
}

/* --- 6. VIDEO: SIGNATURE ROUNDED CORNERS --- */
.wp-block-embed-youtube iframe, 
.wp-block-embed-youtube {
    border-radius: 20px !important;
    overflow: hidden !important;
}

/* --- 7. UNIFIED STYLE: LOWERCASE BLOG... --- */
.blog .page-title, 
.blog .wp-block-query-title,
.archive .wp-block-query-title,
.category-blog .wp-block-query-title {
    text-transform: lowercase !important;
}

/* --- 8. DESKTOP BLOG TITLE FIX --- */
@media screen and (min-width: 769px) {
    .blog .page-title, 
    .blog .wp-block-query-title,
    .archive .wp-block-query-title {
        text-align: center !important;
        display: block !important;
        width: 100% !important;
        font-size: 3.5rem !important;
        margin: 40px auto !important;
    }

    /* Force dots on desktop */
    .blog .page-title::after, 
    .blog .wp-block-query-title::after,
    .archive .wp-block-query-title::after,
    .category-blog .wp-block-query-title::after {
        content: "..." !important;
        display: inline-block !important;
    }
}

/* --- 9. THE FINAL MOBILE MASTER FIX (782px and below) --- */
@media only screen and (max-width: 782px) {
    
    .home.blog .wp-site-blocks > * {
        padding-left: 15px !important;
        padding-right: 15px !important;
        box-sizing: border-box !important;
    }

    .home.blog ul.wp-block-post-template {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        padding: 0 !important;
    }

    .home.blog .wp-block-post-featured-image {
        width: 92% !important;
        max-width: 92% !important;
        margin: 0 auto 15px auto !important;
    }

    .home.blog .wp-block-post-featured-image img {
        height: 230px !important;
        object-fit: cover !important;
        border-radius: 20px !important;
    }

    .home.blog .wp-block-post {
        width: 100% !important;
        margin-bottom: -20px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }

    /* Force dots on mobile */
    .wp-block-query-title { 
        font-size: 3.5rem !important; 
        text-align: center !important; 
        margin: 15px auto 0px auto !important; 
        display: block !important;
    }
    
    .wp-block-query-title::after,
    .blog .page-title::after,
    .archive .wp-block-query-title::after,
    .category-blog .wp-block-query-title::after { 
        content: "..." !important; 
        display: inline-block !important;
    }

    .wp-block-post-excerpt__more-link { line-height: 1 !important; margin-bottom: 0 !important; }
}