/**
 * Smart Post Creator - Frontend Styling
 * Optimized version with only essential styles
 */

/* General post styling */
.spc-generated-post {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
}

.spc-generated-post h2 {
    font-size: 1.8em;
    margin: 1.5em 0 0.8em;
    color: #1a1a1a;
    font-weight: 600;
}

.spc-generated-post h3 {
    font-size: 1.4em;
    margin: 1.2em 0 0.6em;
    color: #333;
    font-weight: 500;
}

/* Image styling - simplified */
.spc-image-figure {
    margin: 2em 0;
    max-width: 100%;
    position: relative;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.spc-image-figure img {
    display: block;
    width: 100%;
    height: auto;
}

/* Image alignment */
@media (min-width: 768px) {
    .spc-img-left {
        float: left;
        margin: 0.5em 1.5em 1em 0;
        max-width: 45%;
    }
    
    .spc-img-right {
        float: right;
        margin: 0.5em 0 1em 1.5em;
        max-width: 45%;
    }
}

@media (max-width: 767px) {
    .spc-img-left, .spc-img-right {
        float: none;
        margin: 1.5em auto;
        max-width: 100%;
    }
}

/* Clear floats */
.spc-clear {
    clear: both;
}
