/* Conteúdo dos artigos do blog (usado no site e na pré-visualização do painel) */
.post-body{ font-family:"Inter","Segoe UI",Arial,sans-serif; font-size:17px; line-height:1.8; color:#2a2a2a; }
.post-body > :first-child{ margin-top:0; }
.post-body p{ margin:0 0 1.15em; }
.post-body h2, .post-body h3, .post-body h4{ font-family:"Libre Baskerville",Georgia,serif; font-weight:700; color:#1a1a1a; line-height:1.3; margin:1.7em 0 .6em; }
.post-body h2{ font-size:1.5em; }
.post-body h3{ font-size:1.22em; }
.post-body h4{ font-size:1.05em; }
.post-body a{ color:#9A7216; text-decoration:underline; text-underline-offset:3px; }
.post-body a:hover{ color:#BE8E24; }
.post-body strong{ font-weight:700; color:#1a1a1a; }
.post-body ul, .post-body ol{ margin:0 0 1.2em; padding-left:1.4em; }
.post-body ul{ list-style:disc; }
.post-body ol{ list-style:decimal; }
.post-body li{ margin-bottom:.4em; }
.post-body li::marker{ color:#BE8E24; }
.post-body blockquote{ margin:1.5em 0; padding:.4em 0 .4em 1.3em; border-left:3px solid #BE8E24; font-family:"Libre Baskerville",Georgia,serif; font-style:italic; color:#3d3d3d; }
.post-body blockquote p:last-child{ margin-bottom:0; }
.post-body hr{ border:0; height:1px; background:#d6d6d3; margin:2.2em 0; }
.post-body code{ background:#efeee9; padding:.1em .4em; border-radius:4px; font-size:.9em; }
.post-body img{ max-width:100%; height:auto; border-radius:10px; display:inline-block; }
.post-body figure{ margin:1.8em 0; }
.post-body figure img{ display:block; width:100%; }
.post-body figure.md-img-media{ max-width:60%; margin-left:auto; margin-right:auto; }
.post-body figure.md-img-pequena{ max-width:36%; margin-left:auto; margin-right:auto; }
.post-body figcaption{ font-size:.82em; color:#5b5b5b; text-align:center; margin-top:.6em; }

/* estilos do editor */
.md-serifa{ font-family:"Libre Baskerville",Georgia,serif; }
.md-sans{ font-family:"Inter","Segoe UI",Arial,sans-serif; }
.md-grande{ font-size:1.3em; line-height:1.5; }
.md-pequeno{ font-size:.85em; }
.md-dourado{ color:#9A7216; }
.md-cinza{ color:#6b6b6b; }
.md-marca{ background:linear-gradient(transparent 55%, rgba(231,200,119,.65) 55%); padding:0 .1em; }
.md-centro{ text-align:center; }
.md-direita{ text-align:right; }
.md-destaque{ background:#fbf6ea; border:1px solid #ecdcb2; border-left:4px solid #BE8E24; border-radius:10px; padding:1.1em 1.4em; margin:1.6em 0; }
.md-destaque > :last-child{ margin-bottom:0; }

@media (max-width:620px){
  .post-body{ font-size:16px; }
  .post-body figure.md-img-media, .post-body figure.md-img-pequena{ max-width:100%; }
}

/* ---------- páginas públicas do blog */
.post-card .capa{ margin:-30px -28px 22px; aspect-ratio:1200/630; overflow:hidden; border-radius:var(--r-lg) var(--r-lg) 0 0; }
.post-card .capa img{ width:100%; height:100%; object-fit:cover; transition:transform .4s var(--ease); }
.post-card:hover .capa img{ transform:scale(1.03); }
.post-card.com-capa{ border-top:0; }
.post-card .meta{ font-size:11.5px; letter-spacing:.14em; text-transform:uppercase; color:var(--gold-deep); font-weight:700; margin-bottom:10px; }
.post-card h2 a:hover{ color:var(--gold-deep); }
.blog-vazio{ max-width:var(--max); margin:0 auto; text-align:center; color:var(--muted); padding:40px 0; }
.paginacao{ max-width:var(--max); margin:36px auto 0; display:flex; justify-content:center; gap:8px; flex-wrap:wrap; }
.paginacao a, .paginacao span{ min-width:42px; height:42px; padding:0 14px; display:inline-flex; align-items:center; justify-content:center; border-radius:999px; border:1px solid var(--cream-line); background:var(--card); font-weight:600; font-size:14px; }
.paginacao a:hover{ border-color:var(--gold); color:var(--gold-deep); }
.paginacao .on{ background:var(--black); color:var(--gold-pale); border-color:var(--black); }
.blog-cats{ max-width:var(--max); margin:0 auto 26px; display:flex; gap:8px; flex-wrap:wrap; }
.blog-cats a{ padding:7px 16px; border-radius:999px; border:1px solid var(--cream-line); background:var(--card); font-size:13px; font-weight:600; }
.blog-cats a.on, .blog-cats a:hover{ border-color:var(--gold); color:var(--gold-deep); }
.blog-cats a.on{ background:var(--gold-soft); }

.artigo-head{ background:var(--black); padding:clamp(48px,6vw,80px) var(--pad) clamp(40px,5vw,64px); }
.artigo-head .in{ max-width:780px; margin:0 auto; }
.artigo-head .meta{ color:var(--gold-pale); font-size:12px; letter-spacing:.16em; text-transform:uppercase; font-weight:600; margin-bottom:14px; }
.artigo-head .meta a:hover{ color:#fff; }
.artigo-head h1{ color:#fff; font-size:clamp(28px,3.6vw,42px); font-weight:400; margin:0 0 16px; }
.artigo-head p{ color:var(--on-dark-soft); font-size:17px; margin:0; }
.artigo-wrap{ padding:clamp(36px,5vw,64px) var(--pad); background:var(--cream); }
.artigo{ max-width:780px; margin:0 auto; }
.artigo-capa{ margin:0 0 36px; border-radius:var(--r-xl); overflow:hidden; box-shadow:var(--sh-card); }
.artigo-capa{ aspect-ratio:1200/630; }
.artigo-capa img{ width:100%; height:100%; object-fit:cover; object-position:50% 30%; }
.artigo-fim{ max-width:780px; margin:48px auto 0; padding-top:28px; border-top:1px solid var(--cream-line); display:flex; justify-content:space-between; gap:16px; flex-wrap:wrap; align-items:center; }
.artigo-cta{ max-width:780px; margin:40px auto 0; background:var(--black); color:var(--on-dark-soft); border-radius:var(--r-xl); padding:30px 32px; display:flex; gap:20px; align-items:center; justify-content:space-between; flex-wrap:wrap; }
.artigo-cta h3{ color:#fff; margin:0 0 4px; font-size:20px; }
.artigo-cta p{ margin:0; font-size:15px; }
.relacionados{ background:var(--cream-dim); padding:clamp(44px,5vw,70px) var(--pad); }
.relacionados h2{ max-width:var(--max); margin:0 auto 24px; font-size:24px; }

/* ---------- formatos do editor visual */
.post-body .ql-align-center{ text-align:center; }
.post-body .ql-align-right{ text-align:right; }
.post-body .ql-align-justify{ text-align:justify; }
.post-body .ql-font-serif{ font-family:"Libre Baskerville",Georgia,serif; }
.post-body .ql-font-sans{ font-family:"Inter","Segoe UI",Arial,sans-serif; }
.post-body .ql-size-small{ font-size:.8em; }
.post-body .ql-size-large{ font-size:1.35em; line-height:1.5; }
.post-body .ql-size-huge{ font-size:1.9em; line-height:1.3; }
.post-body .ql-indent-1{ padding-left:2em; } .post-body .ql-indent-2{ padding-left:4em; } .post-body .ql-indent-3{ padding-left:6em; }
.post-body .ql-indent-4{ padding-left:8em; } .post-body .ql-indent-5{ padding-left:10em; } .post-body .ql-indent-6{ padding-left:12em; }
.post-body li.ql-indent-1{ margin-left:1.5em; padding-left:0; } .post-body li.ql-indent-2{ margin-left:3em; padding-left:0; }
.post-body img[width="33%"]{ width:33%; } .post-body img[width="50%"]{ width:50%; } .post-body img[width="60%"]{ width:60%; }
.post-body p > img:only-child{ margin:.6em auto; }
.post-body p.ql-align-center > img{ margin-left:auto; margin-right:auto; }
.post-body aside.wm-destaque{ background:#fbf6ea; border:1px solid #ecdcb2; border-left:4px solid #BE8E24; padding:.35em 1.4em; margin:0; border-radius:0; }
.post-body :not(aside.wm-destaque) + aside.wm-destaque, .post-body aside.wm-destaque:first-child{ border-top-left-radius:10px; border-top-right-radius:10px; padding-top:1.1em; margin-top:1.6em; }
.post-body aside.wm-destaque:has(+ :not(aside.wm-destaque)), .post-body aside.wm-destaque:last-child{ border-bottom-left-radius:10px; border-bottom-right-radius:10px; padding-bottom:1.1em; margin-bottom:1.6em; }
.post-body aside.wm-destaque + aside.wm-destaque{ border-top:0; }
.post-body aside.wm-destaque:has(+ aside.wm-destaque){ border-bottom:0; }
@media (max-width:620px){ .post-body img[width]{ width:100%; } }
