/* =======================================================
   BLOG PAGE STYLES
   Previously duplicated as inline <style> blocks in:
   blog.html, blog-details.html, and all 11 blog post pages
   ======================================================= */

/* Blog post title styling */
.blog-post-title {
    font-size: 4.5rem !important;
    line-height: 1.1 !important;
    margin-top: 0 !important;
    margin-bottom: 30px !important;
    font-weight: 700 !important;
    letter-spacing: -1px !important;
}

/* Responsive blog post title */
@media (max-width: 768px) {
    .blog-post-title {
        font-size: 3.2rem !important;
        line-height: 1.2 !important;
    }
}

@media (max-width: 575px) {
    .blog-post-title {
        font-size: 2.5rem !important;
        line-height: 1.3 !important;
    }
}

/* Adequate spacing between header and blog content
   Reduced to account for global body padding (header offset)
*/
.blog__details-area.space {
    padding-top: 30px !important;
}

@media (max-width: 991px) {
    .blog__details-area.space {
        padding-top: 30px !important;
    }
}

@media (max-width: 575px) {
    .blog__details-area.space {
        padding-top: 15px !important;
    }
}

@media (max-width: 375px) {
    .blog__details-area.space {
        padding-top: 10px !important;
    }
}

.blog__details-wrap {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.blog__details-content {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* Make blog content images full width and square on mobile */
@media (max-width: 768px) {
    .blog__details-content img {
        width: 100vw !important;
        height: 100vw !important;
        max-width: none !important;
        object-fit: cover !important;
        margin-left: calc(-50vw + 50%) !important;
        margin-right: calc(-50vw + 50%) !important;
        border-radius: 0 !important;
    }
}

/* Remove bottom border and padding from blog details bottom section */
.blog__details-bottom {
    border-bottom: none !important;
    padding-bottom: 0 !important;
}

/* Adjust share section alignment */
.blog__details-bottom .post-share {
    justify-content: flex-start !important;
}

/* Mobile responsive adjustments for share section */
@media (max-width: 767.98px) {
    .blog__details-bottom .post-share {
        justify-content: flex-start !important;
        margin-top: 0 !important;
    }
}

/* Squared thumbnail images for sidebar */
.sidebar__post-thumb {
    width: 80px;
    height: 80px;
    flex: 0 0 auto;
    overflow: hidden;
}

.sidebar__post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
