/* TinyMCE Content Styling - Image Classes */

/* Image size classes */
.img-small {
    max-width: 300px;
    height: auto;
}

.img-medium {
    max-width: 600px;
    height: auto;
}

.img-large {
    max-width: 100%;
    height: auto;
}

/* Image alignment classes */
.img-left {
    float: left;
    margin: 0 20px 20px 0;
    max-width: 50%;
}

.img-right {
    float: right;
    margin: 0 0 20px 20px;
    max-width: 50%;
}

.img-center {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Clear floats after images */
.img-left + *,
.img-right + * {
    clear: both;
}

/* Responsive images */
img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

/* Table styling from TinyMCE */
table {
    border-collapse: collapse;
    width: 100%;
    margin: 20px 0;
}

table td, table th {
    border: 1px solid #ddd;
    padding: 8px 12px;
}

table th {
    background-color: #f3f4f6;
    font-weight: 600;
    text-align: left;
}

table tr:nth-child(even) {
    background-color: #f9fafb;
}

table tr:hover {
    background-color: #f3f4f6;
}

/* Content styling */
.content-area h2 {
    font-size: 1.8em;
    margin-top: 30px;
    margin-bottom: 15px;
    color: #111827;
}

.content-area h3 {
    font-size: 1.4em;
    margin-top: 25px;
    margin-bottom: 12px;
    color: #374151;
}

.content-area p {
    margin-bottom: 15px;
    line-height: 1.7;
}

.content-area ul, .content-area ol {
    margin: 15px 0 15px 30px;
}

.content-area li {
    margin-bottom: 8px;
}

.content-area a {
    color: #3f51b5;
    text-decoration: underline;
}

.content-area a:hover {
    color: #303f9f;
}
