/* TinyMCE-like content styles for blog rendering */
.content-area {
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
    font-size: 1.05rem;
    color: #222;
    line-height: 1.8;
}

.content-area h1,
.content-area h2,
.content-area h3,
.content-area h4,
.content-area h5,
.content-area h6 {
    font-weight: 700;
    margin: 1.5em 0 0.7em 0;
    color: #0a3d4d;
    line-height: 1.25;
}

.content-area h1 {
    font-size: 2.2em;
}

.content-area h2 {
    font-size: 1.7em;
}

.content-area h3 {
    font-size: 1.3em;
}

.content-area h4 {
    font-size: 1.1em;
}

.content-area h5 {
    font-size: 1em;
}

.content-area h6 {
    font-size: 0.95em;
}

.content-area p {
    margin: 1em 0;
}

.content-area ul,
.content-area ol {
    margin: 1em 0 1em 0;
    padding-left: 2em;
    list-style-position: outside;
}

.content-area ul {
    list-style-type: disc;
}

.content-area ol {
    list-style-type: decimal;
}

.content-area li {
    margin: 0.3em 0;
    padding-left: 0;
    text-indent: 0;
}

.content-area blockquote {
    border-left: 4px solid #0a3d4d;
    background: #f6fafd;
    color: #333;
    margin: 1.5em 0;
    padding: 0.8em 1.2em;
    font-style: italic;
}

.content-area pre {
    background: #f4f4f4;
    border-radius: 6px;
    padding: 1em;
    overflow-x: auto;
    font-size: 0.98em;
}

.content-area code {
    background: #f4f4f4;
    border-radius: 4px;
    padding: 0.2em 0.4em;
    font-size: 0.98em;
}

.content-area img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 1.2em auto;
    border-radius: 8px;
}

.content-area table {
    border-collapse: collapse;
    width: 100%;
    margin: 1.5em 0;
    background: #fff;
}

.content-area th,
.content-area td {
    border: 1px solid #e5e7eb;
    padding: 0.6em 1em;
    text-align: left;
}

.content-area th {
    background: #f6fafd;
    font-weight: 600;
}

.content-area a {
    color: #0a3d4d;
    text-decoration: underline;
    transition: color 0.2s;
}

.content-area a:hover {
    color: #1882a9;
}

.content-area hr {
    border: none;
    border-top: 1px solid #e5e7eb;
    margin: 2em 0;
}