/* M4M Article Body System CSS */
:root {
    --m4m-black: #0A0A0A;
    --m4m-gold: #B8A16C;
    --m4m-ink: #111111;
    --m4m-orange: #E8622A;
    --m4m-cream: #F0EAE0;
    --m4m-white: #FFFFFF;
    --m4m-soft-text: #555555;
    
    --m4m-font-display: 'Barlow Condensed', sans-serif;
    --m4m-font-body: 'Lora', serif;
    --m4m-font-ui: 'Barlow', sans-serif;
}

/* 1. LARGURA E ESPAÇAMENTO BASE */
.m4m-article-body {
    max-width: 680px;
    margin: 0 auto;
    padding: 0 20px;
    color: var(--m4m-ink);
    font-family: var(--m4m-font-body);
    font-size: 20px;
    line-height: 1.8;
    font-weight: 400;
}

.m4m-article-body p {
    margin-bottom: 24px;
}

/* 2. HEADINGS (H2, H3) */
.m4m-article-body h2 {
    font-family: var(--m4m-font-display);
    font-size: 42px;
    font-weight: 700;
    letter-spacing: -1px;
    color: var(--m4m-black);
    margin-top: 56px;
    margin-bottom: 24px;
    line-height: 1.2;
}

.m4m-article-body h3 {
    font-family: var(--m4m-font-ui);
    font-size: 24px;
    font-weight: 600;
    color: var(--m4m-black);
    margin-top: 40px;
    margin-bottom: 16px;
    line-height: 1.3;
}

/* 3. QUOTES */
.m4m-article-body blockquote,
.m4m-article-body q {
    font-family: var(--m4m-font-body);
    font-size: 32px;
    font-style: italic;
    color: var(--m4m-soft-text);
    margin: 48px 0;
    padding: 0 0 0 32px;
    border-left: 4px solid var(--m4m-gold);
    line-height: 1.4;
}

/* 4. IMAGENS */
.m4m-article-body figure {
    margin: 48px 0;
}

.m4m-article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
}

.m4m-article-body figcaption {
    font-family: var(--m4m-font-ui);
    font-size: 14px;
    color: var(--m4m-soft-text);
    text-align: center;
    margin-top: 12px;
}

/* FULL WIDTH IMAGES (Opcional, quebra o container) */
.m4m-article-body figure.alignfull {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    border-radius: 0;
}
.m4m-article-body figure.alignfull img {
    border-radius: 0;
}

/* 5. CAIXAS (BOXES) */
.m4m-article-body .m4m-box {
    background: var(--m4m-cream);
    padding: 40px;
    border-radius: 8px;
    margin: 48px 0;
    border-left: 4px solid var(--m4m-gold);
}

.m4m-article-body .m4m-box h3 {
    margin-top: 0;
}

/* 6. CTA INLINE */
.m4m-article-body .m4m-cta-inline {
    background: var(--m4m-black);
    color: var(--m4m-white);
    padding: 48px;
    border-radius: 8px;
    text-align: center;
    margin: 56px 0;
}

.m4m-article-body .m4m-cta-inline h3 {
    color: var(--m4m-white);
    margin-top: 0;
    font-family: var(--m4m-font-display);
    font-size: 36px;
    letter-spacing: -0.5px;
}

.m4m-article-body .m4m-cta-inline p {
    color: var(--m4m-cream);
    opacity: 0.9;
}

.m4m-article-body .m4m-btn {
    display: inline-block;
    background: var(--m4m-orange);
    color: var(--m4m-white);
    font-family: var(--m4m-font-ui);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 16px 32px;
    text-decoration: none;
    border-radius: 4px;
    margin-top: 24px;
    transition: opacity 0.2s ease;
}

.m4m-article-body .m4m-btn:hover {
    opacity: 0.9;
}

/* 7. SEPARADORES */
.m4m-article-body hr,
.m4m-article-body .m4m-separator {
    border: 0;
    height: 1px;
    background: var(--m4m-gold);
    opacity: 0.3;
    margin: 56px auto;
    width: 60%;
}

/* 8. LISTAS */
.m4m-article-body ul,
.m4m-article-body ol {
    margin: 0 0 32px 0;
    padding-left: 24px;
}

.m4m-article-body li {
    margin-bottom: 12px;
    line-height: 1.8;
}

.m4m-article-body ul li::marker {
    color: var(--m4m-gold);
}

/* 9. FAQ */
.m4m-article-body .m4m-faq {
    margin: 56px 0;
}

.m4m-article-body .m4m-faq details {
    border-bottom: 1px solid rgba(0,0,0,0.1);
    padding: 24px 0;
}

.m4m-article-body .m4m-faq summary {
    font-family: var(--m4m-font-ui);
    font-weight: 600;
    font-size: 20px;
    cursor: pointer;
    color: var(--m4m-black);
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.m4m-article-body .m4m-faq summary::-webkit-details-marker {
    display: none;
}

.m4m-article-body .m4m-faq summary::after {
    content: '+';
    color: var(--m4m-gold);
    font-size: 24px;
}

.m4m-article-body .m4m-faq details[open] summary::after {
    content: '−';
}

.m4m-article-body .m4m-faq p {
    margin-top: 16px;
    margin-bottom: 0;
    color: var(--m4m-soft-text);
}

/* 10. RELATED POSTS */
.m4m-article-body .m4m-related-posts {
    border-top: 2px solid var(--m4m-gold);
    padding-top: 40px;
    margin-top: 80px;
}

.m4m-article-body .m4m-related-posts h3 {
    font-family: var(--m4m-font-ui);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--m4m-gold);
    margin-top: 0;
    margin-bottom: 24px;
}

.m4m-article-body .m4m-related-posts a {
    color: var(--m4m-black);
    text-decoration: none;
    font-family: var(--m4m-font-ui);
    font-weight: 600;
    font-size: 20px;
    display: block;
    margin-bottom: 16px;
    transition: color 0.2s ease;
}

.m4m-article-body .m4m-related-posts a:hover {
    color: var(--m4m-orange);
}
