/* Responsive Images CSS for Paris Meditation Blog
 * Created: May 29, 2025
 * 
 * This CSS file provides responsive image styling for the Paris meditation blog posts.
 * It ensures images are dynamically sized within paragraph margins and look good
 * across all device sizes.
 */

/* Base responsive image styling */
.blog-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 2rem auto;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Image caption styling */
.image-caption {
    font-size: 0.9rem;
    text-align: center;
    color: #666;
    margin-top: 0.5rem;
    margin-bottom: 2rem;
    font-style: italic;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}

/* Medium-sized images (for less important visuals) */
.blog-image-medium {
    max-width: 85%;
}

/* Small-sized images (for supporting visuals) */
.blog-image-small {
    max-width: 70%;
}

/* Left-aligned images with text wrap */
.blog-image-left {
    float: left;
    margin: 0.5rem 1.5rem 1rem 0;
    max-width: 45%;
}

/* Right-aligned images with text wrap */
.blog-image-right {
    float: right;
    margin: 0.5rem 0 1rem 1.5rem;
    max-width: 45%;
}

/* Clear floats after image sections */
.clearfix::after {
    content: "";
    clear: both;
    display: table;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    .blog-image-left, .blog-image-right {
        float: none;
        margin: 1.5rem auto;
        max-width: 100%;
    }
    
    .blog-image-medium, .blog-image-small {
        max-width: 100%;
    }
}

/* Optional border styling for images that need emphasis */
.blog-image-bordered {
    border: 1px solid #ddd;
    padding: 4px;
}

/* Full-width images for panoramic views */
.blog-image-full {
    max-width: 100%;
    margin-left: -1rem;
    margin-right: -1rem;
    border-radius: 0;
}

/* Image hover effect for interactive feel */
.blog-image:hover {
    transform: scale(1.01);
    transition: transform 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
