/* 
* Content Styles 
* Shared between Frontend and WordPress Classic Editor (TinyMCE)
*/

.article-text {
    font-family: 'Merriweather', serif;
    font-size: 1.125rem;
    /* ~18px */
    line-height: 1.8;
    color: #2c3e50;
    max-width: 100%;
}

.article-text h1,
.article-text h2,
.article-text h3,
.article-text h4,
.article-text h5,
.article-text h6 {
    font-family: 'Inter', sans-serif;
    color: #333;
    font-weight: 700;
    margin-top: 2em;
    margin-bottom: 0.75em;
    line-height: 1.3;
}

.article-text h1 {
    font-size: 2.25rem;
}

.article-text h2 {
    font-size: 1.75rem;
}

.article-text h3 {
    font-size: 1.5rem;
}

.article-text h4 {
    font-size: 1.25rem;
}

.article-text h5 {
    font-size: 1.1rem;
}

.article-text h6 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.article-text p {
    margin-bottom: 1.5em;
}

.article-text ul,
.article-text ol {
    margin-bottom: 1.5em;
    padding-left: 2em;
}

.article-text li {
    margin-bottom: 0.5em;
}

.article-text a {
    color: #D35400;
    /* Primary Color */
    text-decoration: underline;
    text-decoration-skip-ink: auto;
}

.article-text a:hover {
    color: #A04000;
    text-decoration: none;
}

.article-text blockquote {
    font-style: italic;
    border-left: 4px solid #D35400;
    padding-left: 1.5em;
    margin: 2em 0;
    color: #555;
    background: #fdfdfd;
    padding: 20px;
    border-radius: 0 4px 4px 0;
}

.article-text img {
    max-width: 100%;
    height: auto;
}

.article-text figure {
    margin: 0 0 2em 0;
}

.article-text figcaption {
    font-size: 0.85rem;
    color: #7f8c8d;
    text-align: center;
    margin-top: 0.5em;
    font-style: italic;
}

/* Tables */
.article-text table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2em;
    font-size: 0.95rem;
}

.article-text th,
.article-text td {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
    text-align: left;
}

.article-text th {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    background-color: #f9f9f9;
}

/* Editor Specific Overrides (Optional, if needed) */
body.mce-content-body {
    background: #fff;
    padding: 20px;
    max-width: 800px;
    /* Mimic frontend container width */
    margin: 0 auto;
}