/**
 * Content Display Styles
 * Ensures proper display of content elements including images
 */

/* Fix for images in content */
.entry-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 1em 0;
}

/* General content formatting */
.entry-content {
    line-height: 1.6;
    margin-bottom: 2rem;
}

.entry-content p {
    margin-bottom: 1.2rem;
}

/* Fix for embedded content */
.entry-content iframe,
.entry-content embed,
.entry-content object {
    max-width: 100%;
}

/* Responsive table styles */
.entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    overflow-x: auto;
    display: block;
}

/* Better typography for content */
.entry-content h1, 
.entry-content h2, 
.entry-content h3,
.entry-content h4, 
.entry-content h5, 
.entry-content h6 {
    margin: 1.5rem 0 1rem;
}

/* Improve link styling in content */
.entry-content a {
    text-decoration: underline;
    color: inherit;
}

.entry-content a:hover {
    opacity: 0.8;
}

/* Caption styling for images */
.entry-content .wp-caption {
    max-width: 100%;
    margin-bottom: 1rem;
}

.entry-content .wp-caption img {
    margin-bottom: 0.25rem;
}

.entry-content .wp-caption-text {
    font-size: 0.9rem;
    font-style: italic;
    color: #666;
}

/* Alignment classes */
.entry-content .alignleft {
    float: left;
    margin: 0 1rem 1rem 0;
}

.entry-content .alignright {
    float: right;
    margin: 0 0 1rem 1rem;
}

.entry-content .aligncenter {
    display: block;
    margin: 1rem auto;
}

/* Clear floats after aligned images */
.entry-content::after {
    content: "";
    display: table;
    clear: both;
} 