/* ═══ Matéria do blog — funções de leitura (16/11/2026) ═══════════════════════
   Carregado no <head> do modelo api/.templates/article.html e de cada matéria, depois do padrao-marca.css
   (que segue com a base da matéria: capa, título, coluna de 720 px, cartão de orçamento).
   O que este arquivo cuida:
     1. capa no miolo do site (1184 px, alinhada ao rodapé e à listagem)
     2. cabeçalho de leitura: tema acima do título, linha de autor (selo da marca, data, leitura) e compartilhar
     3. sumário "Nesta matéria": trilho fixo ao lado da coluna (≥ 1200 px) ou caixa recolhível antes do texto
     4. blocos do texto: citação (com etiqueta), listas, imagens, h4 e h3 sob h2
     5. assinatura no fim do texto, com compartilhar
     6. "Mais em <tema>": cartões no desenho da listagem do blog
   Sumário, botões de compartilhar e "Mais em" são montados pelo blog-materia.js; sem JS a página segue legível.
   Margem lateral da matéria: 24 px (≥ 769) · 22 px (≤ 768). */

/* ── 1. CAPA NO MIOLO DO SITE ─────────────────────────────────────────────── */
/* antes 1040 px; agora a mesma largura do rodapé e da listagem (1184), para o sumário caber
   entre a coluna de leitura e a borda da capa, sem empurrar a coluna */
html:root body.single-post #content > .elementor-element-2c457c7 > .e-con-inner{max-width:1232px !important}
/* na largura cheia a faixa fica um pouco mais deitada (8:3): mesma altura de antes (~444 px), o título não desce */
@media (min-width:1200px){
  html:root body.single-post .elementor-widget-theme-post-featured-image img{aspect-ratio:8 / 3 !important}
}

/* ── 2. CABEÇALHO DE LEITURA ──────────────────────────────────────────────── */
/* tema: etiqueta de seção do site (fio dourado + itálico em caixa alta), com link para a listagem filtrada */
html:root body.single-post .acpost-tema{display:flex;align-items:center;gap:16px;margin:0 0 14px;padding:0;font:italic 500 14px/1.3 'Crimson Pro',Georgia,serif;letter-spacing:.22em;text-transform:uppercase}
html:root body.single-post .acpost-tema::before{content:'';flex:none;width:52px;height:2px;border-radius:2px;background:linear-gradient(90deg,#e7c785,#cfa048)}
html:root body.single-post .acpost-tema .acpost-tema-link{display:inline-flex;align-items:center;min-height:44px;margin:-13px 0;border-radius:4px;color:#7d6626 !important;-webkit-text-fill-color:#7d6626 !important;text-decoration:underline !important;text-decoration-color:transparent !important;text-decoration-thickness:1px;text-underline-offset:5px;transition:color .32s cubic-bezier(.25,.46,.45,.94),text-decoration-color .32s cubic-bezier(.25,.46,.45,.94)}
@media (hover:hover){
  html:root body.single-post .acpost-tema .acpost-tema-link:hover{color:#0a4323 !important;-webkit-text-fill-color:#0a4323 !important;text-decoration-color:rgba(207,160,72,.7) !important}
}

/* linha de autor: selo da marca + nome, data e tempo de leitura; botões de compartilhar à direita */
html:root body.single-post .acpost-meta{display:flex;flex-wrap:wrap;align-items:center;gap:14px 16px;min-height:0;margin:22px 0 0;padding:0 0 24px;border-bottom:1px solid rgba(207,160,72,.35);font:400 15px/1.4 'Outfit',Arial,sans-serif;letter-spacing:0;text-transform:none;color:rgba(10,67,35,.72)}
/* selo: o ícone oficial do site (/apple-touch-icon.png, logo branca sobre o verde #0a4323), sem recolorir nem recortar
   o desenho — só ampliado por igual dentro do círculo. As letras "AC" do HTML ficam só como reserva, invisíveis. */
html:root body.single-post .acpost-selo{flex:none;display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;overflow:hidden;border-radius:50%;background:#0a4323 url(/apple-touch-icon.png) 50% 50% / 150% auto no-repeat;box-shadow:inset 0 0 0 1px rgba(231,199,133,.5),0 2px 8px rgba(22,63,38,.12);font-size:0;line-height:0;color:transparent;-webkit-text-fill-color:transparent;user-select:none}
html:root body.single-post .acpost-meta-txt{flex:1 1 220px;min-width:0;display:flex;flex-direction:column;gap:3px;margin:0;padding:0}
html:root body.single-post .acpost-autor{font:600 15px/1.35 'Outfit',Arial,sans-serif;color:#0a4323;-webkit-text-fill-color:#0a4323}
html:root body.single-post .acpost-meta-linha{display:block;font:400 14px/1.4 'Outfit',Arial,sans-serif;color:rgba(10,67,35,.72);-webkit-text-fill-color:rgba(10,67,35,.72)}
html:root body.single-post .acpost-meta-linha .acpost-meta-item{font:inherit;letter-spacing:0;text-transform:none}
/* ponto médio entre a data e o tempo de leitura (o tempo aparece quando o blog-posts.js termina a conta) */
html:root body.single-post .acpost-meta-linha .acpost-data + .acpost-meta-item:not([hidden])::before{content:'·';margin:0 8px;color:rgba(10,67,35,.5);-webkit-text-fill-color:rgba(10,67,35,.5)}
/* até 767 px a coluna é estreita: data e tempo de leitura em linhas próprias, com a linha do tempo já reservada
   (ele é escrito pelo blog-posts.js ao fim da carga; assim nada quebra de linha nem pula quando chega) */
@media (max-width:767px){
  html:root body.single-post .acpost-meta-linha .acpost-data{display:block}
  html:root body.single-post .acpost-meta-linha .acpost-meta-item:not([hidden]){display:block}
  html:root body.single-post .acpost-meta-linha .acpost-data + .acpost-meta-item:not([hidden])::before{content:none}
}
@media (scripting:enabled) and (max-width:767px){
  html:root body.single-post .acpost-meta-linha .acpost-meta-item{display:block !important;min-height:1.4em}
}

/* ── BOTÕES DE COMPARTILHAR (linha de autor e assinatura) ── */
html:root body.single-post .acpost-partilha{position:relative;flex:none;display:flex;align-items:center;gap:8px;margin:0;padding:0}
html:root body.single-post .acpost-partilha:empty{display:none}
/* com JS ligado, o lugar dos botões já nasce reservado (no celular eles ficam numa linha própria): nada pula quando aparecem */
@media (scripting:enabled){
  html:root body.single-post .acpost-partilha:empty{display:block;min-height:44px}
}
html:root body.single-post .acpost-partilha-rot{margin:0 6px 0 0;font:600 12px/1.3 'Outfit',Arial,sans-serif;letter-spacing:.14em;text-transform:uppercase;color:rgba(10,67,35,.72);-webkit-text-fill-color:rgba(10,67,35,.72);white-space:nowrap}
html:root body.single-post .acpost-partilha-btn{appearance:none;-webkit-appearance:none;flex:none;position:relative;display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;min-height:44px;padding:0;margin:0;border:1px solid rgba(207,160,72,.55);border-radius:999px;background:#fff;box-shadow:0 1px 2px rgba(18,52,24,.04);cursor:pointer;text-decoration:none !important;color:#0a4323 !important;-webkit-text-fill-color:#0a4323 !important;transform:none;transition:background-color .32s cubic-bezier(.25,.46,.45,.94),border-color .32s cubic-bezier(.25,.46,.45,.94),color .32s cubic-bezier(.25,.46,.45,.94),transform .28s cubic-bezier(.34,1,.64,1)}
html:root body.single-post .acpost-partilha-btn svg{display:block;width:19px;height:19px;flex:none;pointer-events:none}
html:root body.single-post .acpost-partilha-btn .acpost-ic-cheio{fill:currentColor;stroke:none}
html:root body.single-post .acpost-partilha-btn .acpost-ic-traco{fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
html:root body.single-post .acpost-partilha-btn .acpost-ic-ok{display:none}
html:root body.single-post .acpost-partilha-btn.is-copiado .acpost-ic-ok{display:block}
html:root body.single-post .acpost-partilha-btn.is-copiado .acpost-ic-link{display:none}
html:root body.single-post .acpost-partilha-btn.is-copiado{border-color:#1e5631;background:#e9f5ee}
@media (hover:hover){
  html:root body.single-post .acpost-partilha-btn:hover{background:#0a4323;border-color:#0a4323;color:#e7c785 !important;-webkit-text-fill-color:#e7c785 !important}
}
html:root body.single-post .acpost-partilha-btn:active{transform:scale(.95)}
html:root body.single-post .acpost-partilha-btn:focus{outline:none}
/* foco pelo teclado: o anel claro do site (branco + verde), que já vale para toda a página */
/* aviso "Link copiado": balão que só aparece e some (opacidade), anunciado pelo aria-live */
html:root body.single-post .acpost-partilha-aviso{position:absolute;top:calc(100% + 10px);left:0;z-index:6;margin:0;padding:8px 12px;border-radius:8px;background:#0a4323;box-shadow:0 14px 36px rgba(14,42,28,.3),0 2px 6px rgba(14,42,28,.18);font:500 13px/1.2 'Outfit',Arial,sans-serif;letter-spacing:0;text-transform:none;white-space:nowrap;color:#f5f2eb;-webkit-text-fill-color:#f5f2eb;opacity:0;pointer-events:none;transition:opacity .2s cubic-bezier(.22,1,.36,1)}
html:root body.single-post .acpost-partilha-aviso::before{content:'';position:absolute;top:-5px;left:var(--seta,50%);width:10px;height:10px;margin-left:-5px;background:#0a4323;transform:rotate(45deg);border-radius:2px}
html:root body.single-post .acpost-partilha-aviso.is-visivel{opacity:1}
html:root body.single-post .acpost-partilha-aviso:empty{visibility:hidden}

/* ── 3. SUMÁRIO "NESTA MATÉRIA" ───────────────────────────────────────────── */
html:root body.single-post .acpost-sumario{box-sizing:border-box;margin:0;padding:0}
html:root body.single-post .acpost-sumario-lista,html:root body.single-post .acpost-sumario-sub{list-style:none !important;margin:0 !important;padding:0 !important}
html:root body.single-post .acpost-sumario-item{margin:0 !important;padding:0 !important;list-style:none !important}
html:root body.single-post .acpost-sumario-item::marker{content:''}
html:root body.single-post .acpost-sumario-link{display:flex;align-items:baseline;gap:12px;text-decoration:none !important;font-family:'Outfit',Arial,sans-serif;letter-spacing:0;color:rgba(10,67,35,.72) !important;-webkit-text-fill-color:rgba(10,67,35,.72) !important;transition:color .2s cubic-bezier(.25,.46,.45,.94),border-color .2s cubic-bezier(.25,.46,.45,.94),background-color .2s cubic-bezier(.25,.46,.45,.94)}
html:root body.single-post .acpost-sumario-link[aria-current]{color:#0a4323 !important;-webkit-text-fill-color:#0a4323 !important}
html:root body.single-post .acpost-sumario-link:focus{outline:none}
/* foco: o mesmo anel claro do site, mas por dentro (a caixa do sumário corta o que passa da borda) */
html:root body.single-post .acpost-sumario-link:focus-visible:not(#_){outline:none !important;box-shadow:inset 0 0 0 2px #1e5631,inset 0 0 0 4px #fff !important;border-radius:6px}
@media (hover:hover){
  html:root body.single-post .acpost-sumario-link:hover{color:#0a4323 !important;-webkit-text-fill-color:#0a4323 !important}
}
html:root body.single-post .acpost-sumario-num{flex:none;min-width:22px;font:italic 500 15px/1 'Crimson Pro',Georgia,serif;letter-spacing:.02em;color:#7d6626;-webkit-text-fill-color:#7d6626;font-variant-numeric:lining-nums tabular-nums}
html:root body.single-post .acpost-sumario-txt{min-width:0;text-wrap:pretty}
/* o alvo do clique para fora do topo: título com respiro (a barra de progresso fica a 3 px) */
html:root body.single-post .elementor-widget-theme-post-content .elementor-widget-container > :is(h2,h3){scroll-margin-top:32px}
html:root body.single-post .elementor-widget-theme-post-content .elementor-widget-container > :is(h2,h3)[tabindex="-1"]:focus{outline:none}

/* computador largo: trilho ao lado da coluna, da altura do texto, com a lista fixa (sticky) dentro dele.
   Posição absoluta: a coluna de 720 px não se move. A borda direita do trilho encosta na borda da capa
   (largura = metade da sobra entre a capa e a coluna, menos o respiro de 40 px). --ac-vw vem do JS (largura útil, sem a barra de rolagem). */
@media (min-width:1200px){
  html:root body.single-post .elementor-widget-theme-post-content{position:relative !important}
  html:root body.single-post .acpost-sumario{position:absolute;top:0;bottom:0;left:calc(100% + 40px);z-index:2;width:calc((min(1184px, var(--ac-vw, 100vw) - 48px) - 720px) / 2 - 40px)}
  /* a caixa acaba a 200 px do pé da tela: 44 px acima do botão "voltar ao topo" (que começa a 156 px do pé) */
  html:root body.single-post .acpost-sumario-caixa{position:sticky;top:40px;max-height:calc(100vh - 240px);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;padding:0 4px 4px 0}
  /* sumário maior que a caixa: a borda que ainda tem itens esmaece (o JS marca .rola-cima / .rola-baixo),
     em vez de cortar a última linha ao meio */
  html:root body.single-post .acpost-sumario-caixa.rola-cima{--esm-c:28px}
  html:root body.single-post .acpost-sumario-caixa.rola-baixo{--esm-b:28px}
  html:root body.single-post .acpost-sumario-caixa:is(.rola-cima,.rola-baixo){-webkit-mask-image:linear-gradient(180deg,transparent 0,#000 var(--esm-c,0px),#000 calc(100% - var(--esm-b,0px)),transparent 100%);mask-image:linear-gradient(180deg,transparent 0,#000 var(--esm-c,0px),#000 calc(100% - var(--esm-b,0px)),transparent 100%)}
  html:root body.single-post .acpost-sumario-abre{display:none !important}
  html:root body.single-post .acpost-sumario-tit{display:block;margin:0 0 11px;padding:10px 0 0;font:italic 500 13px/1.3 'Crimson Pro',Georgia,serif;letter-spacing:.22em;text-transform:uppercase;color:#7d6626;-webkit-text-fill-color:#7d6626}
  html:root body.single-post .acpost-sumario-lista{display:block !important;border-left:1px solid rgba(207,160,72,.35) !important}
  html:root body.single-post .acpost-sumario-num{display:none}
  html:root body.single-post .acpost-sumario-link{margin-left:-1px;padding:7px 0 7px 16px;border-left:2px solid transparent;font-size:14px;line-height:1.45}
  html:root body.single-post .acpost-sumario-link[aria-current]{border-left-color:#cfa048}
  html:root body.single-post .acpost-sumario-sub .acpost-sumario-link{padding-left:30px;font-size:13.5px}
}
/* toque com a tela larga (tablet deitado): cada item com 44 px de alvo */
@media (min-width:1200px) and (pointer:coarse){
  html:root body.single-post .acpost-sumario-link{min-height:44px;align-items:center;padding-top:6px;padding-bottom:6px}
}

/* abaixo de 1200 px (tablet e celular): caixa recolhível logo antes do texto */
@media (max-width:1199px){
  html:root body.single-post .acpost-sumario{margin:0 0 32px}
  html:root body.single-post .acpost-sumario-caixa{background:#fff;border:1px solid rgba(207,160,72,.2);border-radius:16px;box-shadow:0 2px 14px rgba(18,52,24,.05);overflow:hidden}
  html:root body.single-post .acpost-sumario-tit{display:none}
  html:root body.single-post .acpost-sumario-abre{appearance:none;-webkit-appearance:none;box-sizing:border-box;display:flex;align-items:center;gap:12px;width:100%;height:56px;min-height:56px;margin:0;padding:0 18px 0 20px;border:0;border-radius:0;background:transparent;box-shadow:none;cursor:pointer;text-align:left;text-transform:none;letter-spacing:0;color:#0a4323;-webkit-text-fill-color:#0a4323;transition:background-color .2s cubic-bezier(.25,.46,.45,.94)}
  html:root body.single-post .acpost-sumario-abre:focus{outline:none;background:transparent}
  html:root body.single-post .acpost-sumario-abre:focus-visible:not(#_){outline:none !important;box-shadow:inset 0 0 0 3px #1e5631,inset 0 0 0 5px #fff !important;border-radius:16px}
  html:root body.single-post .acpost-sumario.is-aberto .acpost-sumario-abre:focus-visible:not(#_){border-radius:16px 16px 0 0}
  html:root body.single-post .acpost-sumario-abre-txt{flex:1 1 auto;min-width:0;font:700 19px/1.2 'Crimson Pro',Georgia,serif;color:#0a4323;-webkit-text-fill-color:#0a4323}
  html:root body.single-post .acpost-sumario-conta{flex:none;font:400 13px/1.2 'Outfit',Arial,sans-serif;color:rgba(10,67,35,.72);-webkit-text-fill-color:rgba(10,67,35,.72)}
  html:root body.single-post .acpost-sumario-seta{flex:none;width:20px;height:20px;fill:none;stroke:#7d6626;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
  html:root body.single-post .acpost-sumario.is-aberto .acpost-sumario-seta{transform:rotate(180deg)}
  html:root body.single-post .acpost-sumario:not(.is-aberto) .acpost-sumario-lista{display:none !important}
  html:root body.single-post .acpost-sumario-lista{padding:6px 0 8px !important;border-top:1px solid rgba(207,160,72,.2)}
  html:root body.single-post .acpost-sumario.is-aberto .acpost-sumario-lista{animation:acpostSurge .32s cubic-bezier(.22,1,.36,1) both}
  html:root body.single-post .acpost-sumario-link{min-height:44px;padding:10px 20px;font-size:16px;line-height:1.45;align-items:baseline}
  html:root body.single-post .acpost-sumario-sub .acpost-sumario-link{padding-left:54px;font-size:15px}
}
@media (max-width:1199px) and (hover:hover){
  html:root body.single-post .acpost-sumario-abre:hover{background:#faf8f3}
  html:root body.single-post .acpost-sumario-link:hover{background:#faf8f3}
}
@keyframes acpostSurge{from{opacity:0}to{opacity:1}}
/* a caixa entra pelo JS logo antes do texto: com 3 títulos ou mais, o lugar dela (58 px + respiro) já nasce reservado,
   e o texto não desce quando ela chega. O JS marca .acpost-sumario-pronto; se ele não rodar, a reserva some em 5 s. */
@media (scripting:enabled) and (max-width:1199px){
  html:root body.single-post .elementor-widget-theme-post-content:not(.acpost-sumario-pronto):has(> .elementor-widget-container > :is(h2,h3) ~ :is(h2,h3) ~ :is(h2,h3))::before{content:'';display:block;height:58px;margin:0 0 32px;animation:acpostReservaSome 0s linear 5s forwards}
}
@media (scripting:enabled) and (max-width:768px){
  html:root body.single-post .elementor-widget-theme-post-content:not(.acpost-sumario-pronto):has(> .elementor-widget-container > :is(h2,h3) ~ :is(h2,h3) ~ :is(h2,h3))::before{margin-bottom:28px}
}
@keyframes acpostReservaSome{to{height:0;margin:0}}
@media (max-width:768px){
  html:root body.single-post .acpost-sumario{margin-bottom:28px}
  html:root body.single-post .acpost-sumario-abre{padding:0 16px 0 18px}
  html:root body.single-post .acpost-sumario-link{padding:10px 18px}
  html:root body.single-post .acpost-sumario-sub .acpost-sumario-link{padding-left:52px}
}

/* ── 4. BLOCOS DO TEXTO ───────────────────────────────────────────────────── */
/* citação ("Citação" do editor): bloco de destaque — superfície creme, fio dourado, texto em Crimson */
html:root body.single-post .elementor-widget-theme-post-content .elementor-widget-container blockquote{position:relative;box-sizing:border-box;margin:1.8em 0 !important;padding:24px 28px 24px 32px !important;border:1px solid rgba(207,160,72,.24) !important;border-radius:16px !important;background:#efeadf !important;box-shadow:none !important;quotes:none;font:400 21px/1.5 'Crimson Pro',Georgia,serif !important;font-style:normal !important;letter-spacing:0 !important;color:#0a4323 !important;-webkit-text-fill-color:#0a4323 !important;text-align:left !important}
html:root body.single-post .elementor-widget-theme-post-content .elementor-widget-container blockquote::before{content:'' !important;position:absolute;left:-1px;top:22px;bottom:22px;width:3px;border-radius:0 3px 3px 0;background:linear-gradient(180deg,#e7c785,#cfa048);display:block !important}
html:root body.single-post .elementor-widget-theme-post-content .elementor-widget-container blockquote::after{display:none !important}
html:root body.single-post .elementor-widget-theme-post-content .elementor-widget-container blockquote :is(p,li){font-family:'Crimson Pro',Georgia,serif !important;font-size:21px !important;line-height:1.5 !important;color:#0a4323 !important;-webkit-text-fill-color:#0a4323 !important}
html:root body.single-post .elementor-widget-theme-post-content .elementor-widget-container blockquote p{margin:0 0 .6em !important}
html:root body.single-post .elementor-widget-theme-post-content .elementor-widget-container blockquote > :last-child{margin-bottom:0 !important}
html:root body.single-post .elementor-widget-theme-post-content .elementor-widget-container blockquote strong{font-weight:700 !important}
html:root body.single-post .elementor-widget-theme-post-content .elementor-widget-container blockquote :is(ul,ol){margin:.2em 0 .6em !important}
html:root body.single-post .elementor-widget-theme-post-content .elementor-widget-container blockquote li{margin:0 0 .3em !important}
/* etiqueta do bloco: trecho curto em negrito no começo da citação ("Em resumo") */
html:root body.single-post .elementor-widget-theme-post-content .elementor-widget-container blockquote .acpost-bloco-tag{display:block;margin:0 0 10px;font:italic 500 14px/1.3 'Crimson Pro',Georgia,serif !important;letter-spacing:.22em;text-transform:uppercase;color:#7d6626 !important;-webkit-text-fill-color:#7d6626 !important}

/* listas: a de marcadores já tem o ponto dourado do site (desenhado no ::before); a numerada ganha números em Crimson */
html:root body.single-post .elementor-widget-theme-post-content .elementor-widget-container ol > li{padding-left:.25em !important}
html:root body.single-post .elementor-widget-theme-post-content .elementor-widget-container ol > li::marker{font-family:'Crimson Pro',Georgia,serif;font-weight:700;color:#7d6626}
html:root body.single-post .elementor-widget-theme-post-content .elementor-widget-container li > :is(ul,ol){margin:.5em 0 0 !important}
html:root body.single-post .elementor-widget-theme-post-content .elementor-widget-container li > p{margin:0 0 .4em !important}

/* imagens: na largura da coluna, com o raio e a borda dos cartões */
html:root body.single-post .elementor-widget-theme-post-content .elementor-widget-container figure{display:block;width:100% !important;max-width:100% !important;margin:2em 0 !important;padding:0 !important}
html:root body.single-post .elementor-widget-theme-post-content .elementor-widget-container :is(figure img,p > img){display:block;width:100% !important;max-width:100% !important;height:auto !important;margin:0 auto !important;border-radius:16px !important;border:1px solid rgba(207,160,72,.2) !important;background:#ece7db}
/* foto em pé (marcada pelo blog-materia.js) não vira um paredão: altura limitada, centrada na coluna */
html:root body.single-post .elementor-widget-theme-post-content .elementor-widget-container :is(figure img,p > img).acpost-img-empe{width:auto !important;max-height:min(78vh,720px)}
html:root body.single-post .elementor-widget-theme-post-content .elementor-widget-container p:has(> img:only-child){margin:2em 0 !important}

/* h4 dentro do texto: um degrau abaixo, sem o fio; h3 abaixo de h2 (quando a matéria usa os dois) também desce um degrau */
/* h2 no mesmo desenho dos títulos que o blog já usa (só o fio à esquerda; folhas antigas punham também um traço embaixo) */
html:root body.single-post .elementor-widget-theme-post-content .elementor-widget-container h2{padding-bottom:2px !important;border-bottom:0 !important}
html:root body.single-post .elementor-widget-theme-post-content .elementor-widget-container h4{margin:1.6em 0 .45em !important;padding:0 !important;border-left:0 !important;font-size:20px !important;line-height:1.3 !important;color:#1e5631 !important;-webkit-text-fill-color:#1e5631 !important}
html:root body.single-post .elementor-widget-theme-post-content .elementor-widget-container:has(> h2) > h3{margin-top:1.6em !important;padding-left:0 !important;border-left:0 !important;font-size:22px !important}
html:root body.single-post .elementor-widget-theme-post-content .elementor-widget-container p.acpost-p-vazio{display:none !important}

/* ── 5. ASSINATURA NO FIM DO TEXTO ────────────────────────────────────────── */
html:root body.single-post #content > .acpost-assina{box-sizing:border-box;width:calc(100% - 48px) !important;max-width:720px !important;margin:40px auto 0 !important;display:grid;grid-template-columns:44px minmax(0,1fr);align-items:center;column-gap:16px;row-gap:18px;padding:26px 0 0;border-top:1px solid rgba(207,160,72,.35)}
html:root body.single-post .acpost-assina .acpost-selo{grid-column:1;grid-row:1}
html:root body.single-post .acpost-assina-txt{grid-column:2;grid-row:1;margin:0;font:400 15.5px/1.6 'Outfit',Arial,sans-serif;letter-spacing:0;color:rgba(10,67,35,.8);-webkit-text-fill-color:rgba(10,67,35,.8);text-wrap:pretty}
html:root body.single-post .acpost-assina-txt strong{font-weight:600;color:#0a4323;-webkit-text-fill-color:#0a4323}
/* o "·" com o mesmo respiro da linha de autor do topo (8 px de cada lado); a data nunca se parte */
html:root body.single-post .acpost-assina-txt .acpost-sep{margin:0 4px;color:rgba(10,67,35,.45);-webkit-text-fill-color:rgba(10,67,35,.45)}
html:root body.single-post .acpost-assina-txt .acpost-data{white-space:nowrap}
html:root body.single-post .acpost-assina-txt .acpost-tema-link{border-radius:4px;color:#7d6626 !important;-webkit-text-fill-color:#7d6626 !important;text-decoration:underline !important;text-decoration-color:rgba(207,160,72,.6) !important;text-decoration-thickness:1px;text-underline-offset:3px;transition:color .32s cubic-bezier(.25,.46,.45,.94)}
@media (hover:hover){
  html:root body.single-post .acpost-assina-txt .acpost-tema-link:hover{color:#0a4323 !important;-webkit-text-fill-color:#0a4323 !important}
}
html:root body.single-post .acpost-assina .acpost-partilha{grid-column:2;grid-row:2;flex-wrap:wrap}
html:root body.single-post .acpost-assina .acpost-partilha:empty{display:none}
@media (scripting:enabled){
  html:root body.single-post .acpost-assina .acpost-partilha:empty{display:block}
}
/* o cartão de orçamento vem logo depois da assinatura */
html:root body.single-post #content > .acpost-assina + .acpost-cta{margin-top:44px !important}

/* ── 6. "MAIS EM <TEMA>" ──────────────────────────────────────────────────── */
/* mesma largura da capa (miolo de 1184 px); cartões no desenho dos cartões da listagem do blog */
html:root body.single-post #content > .acpost-rel{box-sizing:border-box;width:calc(100% - 48px);max-width:1184px;margin:88px auto 0;padding:0;opacity:0;transition:opacity .5s cubic-bezier(.22,1,.36,1)}
html:root body.single-post #content > .acpost-rel.is-pronto{opacity:1}
html:root body.single-post .acpost-rel-tag{display:flex;align-items:center;gap:16px;margin:0 0 12px;font:italic 500 14px/1.3 'Crimson Pro',Georgia,serif;letter-spacing:.22em;text-transform:uppercase;color:#7d6626;-webkit-text-fill-color:#7d6626}
html:root body.single-post .acpost-rel-tag::before{content:'';flex:none;width:52px;height:2px;border-radius:2px;background:linear-gradient(90deg,#e7c785,#cfa048)}
html:root body.single-post .acpost-rel-tit{margin:0 !important;padding:0 !important;border:0 !important;font:700 clamp(28px,2.6vw,36px)/1.12 'Crimson Pro',Georgia,serif !important;letter-spacing:-.01em !important;color:#0a4323 !important;-webkit-text-fill-color:#0a4323 !important;text-wrap:balance}
html:root body.single-post .acpost-rel-tit::before,html:root body.single-post .acpost-rel-tit::after{display:none !important}
html:root body.single-post .acpost-rel-tit em{font-style:italic;font-weight:700;color:#a48334;-webkit-text-fill-color:#a48334}
/* o nome do tema não se parte ("Produção" / "& Tecnologia"): desce inteiro para a linha de baixo */
html:root body.single-post .acpost-rel-tit em,html:root body.single-post .acpost-assina-txt .acpost-tema-link{display:inline-block}
html:root body.single-post .acpost-rel-grade{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;margin:30px 0 0 !important;padding:0 !important;list-style:none !important}
html:root body.single-post .acpost-rel-grade > li{margin:0 !important;padding:0 !important;list-style:none !important;min-width:0}
html:root body.single-post .acpost-rel-grade > li::marker{content:''}
html:root body.single-post .acpost-rel-card{position:relative;box-sizing:border-box;height:100%;display:flex;flex-direction:column;margin:0;background:#fff;border:1px solid rgba(207,160,72,.2);border-radius:16px;overflow:hidden;box-shadow:0 2px 14px rgba(18,52,24,.05);transform:none;transition:transform .42s cubic-bezier(.22,1,.36,1),box-shadow .42s cubic-bezier(.25,.46,.45,.94),border-color .42s cubic-bezier(.25,.46,.45,.94)}
html:root body.single-post .acpost-rel-capa{position:relative;flex:none;aspect-ratio:3/2;margin:0;overflow:hidden;background:#ece7db}
html:root body.single-post .acpost-rel-capa img{position:absolute;inset:0;display:block;width:100%;height:100%;max-width:none;margin:0;object-fit:cover;border-radius:0;transform:none;transition:transform .9s cubic-bezier(.25,.46,.45,.94)}
html:root body.single-post .acpost-rel-capa[data-rotulo]::after{content:attr(data-rotulo);position:absolute;left:14px;top:14px;z-index:2;display:inline-flex;align-items:center;height:28px;padding:0 13px;border-radius:999px;line-height:1;background:rgba(9,40,24,.86);border:1px solid rgba(231,199,133,.45);font:600 12px/1 'Outfit',Arial,sans-serif;letter-spacing:.1em;text-transform:uppercase;color:#f0e6c8;pointer-events:none}
html:root body.single-post .acpost-rel-txt{flex:1 1 auto;display:flex;flex-direction:column;padding:24px 26px 26px}
html:root body.single-post .acpost-rel-txt::before{content:'';display:block;flex:none;width:36px;height:2px;margin:0 0 14px;border-radius:2px;background:#cfa048;transition:width .5s cubic-bezier(.22,1,.36,1)}
html:root body.single-post .acpost-rel-card-tit{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;margin:0 0 10px !important;padding:0 !important;border:0 !important;font:700 21px/1.22 'Crimson Pro',Georgia,serif !important;letter-spacing:-.005em !important;text-wrap:balance}
html:root body.single-post .acpost-rel-card-tit::before,html:root body.single-post .acpost-rel-card-tit::after{display:none !important}
html:root body.single-post .acpost-rel-card-tit a{color:#0a4323 !important;-webkit-text-fill-color:#0a4323 !important;text-decoration:none !important;transition:color .3s cubic-bezier(.25,.46,.45,.94)}
html:root body.single-post .acpost-rel-card-tit a::after{content:'';position:absolute;inset:0;z-index:3;border-radius:16px}
html:root body.single-post .acpost-rel-card-tit a:focus{outline:none}
/* foco: o anel contorna o cartão por dentro (como na listagem), não as linhas do título */
html:root body.single-post .acpost-rel-card-tit a:focus-visible:not(#_){outline:none !important;box-shadow:none !important}
html:root body.single-post .acpost-rel-card-tit a:focus-visible::after{box-shadow:inset 0 0 0 3px #1e5631,inset 0 0 0 5px #fff}
html:root body.single-post .acpost-rel-resumo{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;margin:0;font:400 15px/1.6 'Outfit',Arial,sans-serif;color:rgba(10,67,35,.78);-webkit-text-fill-color:rgba(10,67,35,.78)}
html:root body.single-post .acpost-rel-pe{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:8px 16px;margin:auto 0 0;padding:18px 0 0}
html:root body.single-post .acpost-rel-mais{display:inline-block;padding:0 0 5px;border-bottom:1.5px solid rgba(207,160,72,.6);font:600 13px/1 'Outfit',Arial,sans-serif;letter-spacing:.12em;text-transform:uppercase;color:#7d6626;-webkit-text-fill-color:#7d6626;transition:border-color .3s cubic-bezier(.25,.46,.45,.94),transform .4s cubic-bezier(.22,1,.36,1)}
html:root body.single-post .acpost-rel-data{font:italic 500 15.5px/1.2 'Crimson Pro',Georgia,serif;color:#7d6626;-webkit-text-fill-color:#7d6626;white-space:nowrap}
@media (hover:hover){
  html:root body.single-post .acpost-rel-card:hover{transform:translateY(-4px);border-color:#cfa048;box-shadow:0 16px 38px rgba(18,52,24,.13),0 2px 6px rgba(18,52,24,.05)}
  html:root body.single-post .acpost-rel-card:hover .acpost-rel-capa img{transform:scale(1.04)}
  html:root body.single-post .acpost-rel-card:hover .acpost-rel-txt::before{width:68px}
  html:root body.single-post .acpost-rel-card:hover .acpost-rel-card-tit a{color:#7d6626 !important;-webkit-text-fill-color:#7d6626 !important}
  html:root body.single-post .acpost-rel-card:hover .acpost-rel-mais{border-bottom-color:#7d6626;transform:translateX(4px)}
}
html:root body.single-post .acpost-rel-card:active{transform:translateY(-1px) scale(.99)}

/* tablet: duas colunas; o terceiro cartão ocupa a linha inteira, deitado (capa ao lado do texto) */
@media (max-width:1099px){
  html:root body.single-post .acpost-rel-grade{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
  html:root body.single-post .acpost-rel-grade > li:nth-child(odd):last-child{grid-column:1 / -1}
  html:root body.single-post .acpost-rel-capa{aspect-ratio:16/9}
}
@media (min-width:700px) and (max-width:1099px){
  html:root body.single-post .acpost-rel-grade > li:nth-child(odd):last-child .acpost-rel-card{flex-direction:row;align-items:stretch}
  html:root body.single-post .acpost-rel-grade > li:nth-child(odd):last-child .acpost-rel-capa{flex:0 0 42%;max-width:42%;aspect-ratio:auto;min-height:240px}
  /* respiro direito de 26 px, o mesmo dos cartões de cima: a data termina na mesma borda */
  html:root body.single-post .acpost-rel-grade > li:nth-child(odd):last-child .acpost-rel-txt{justify-content:center;padding:28px 26px 28px 32px}
  html:root body.single-post .acpost-rel-grade > li:nth-child(odd):last-child .acpost-rel-pe{margin-top:0;padding-top:20px}
}
/* celular: uma coluna */
@media (max-width:699px){
  html:root body.single-post .acpost-rel-grade{grid-template-columns:minmax(0,1fr);gap:20px}
  html:root body.single-post .acpost-rel-capa{aspect-ratio:3/2}
  html:root body.single-post .acpost-rel-txt{padding:22px 22px 24px}
  html:root body.single-post .acpost-rel-card-tit{font-size:22px !important;-webkit-line-clamp:4}
  html:root body.single-post .acpost-rel-capa[data-rotulo]::after{left:12px;top:12px}
}

@media (prefers-reduced-motion:reduce){
  html:root body.single-post :is(.acpost-partilha-btn,.acpost-partilha-aviso,.acpost-sumario-link,.acpost-rel,.acpost-rel-card,.acpost-rel-capa img,.acpost-rel-mais,.acpost-rel-txt::before){transition:none !important}
  html:root body.single-post .acpost-sumario.is-aberto .acpost-sumario-lista{animation:none}
  html:root body.single-post .acpost-rel-card:hover,html:root body.single-post .acpost-rel-card:active{transform:none}
  html:root body.single-post .acpost-rel-card:hover .acpost-rel-capa img{transform:none}
}

/* ── RESPONSIVO DO CABEÇALHO E DA ASSINATURA ──────────────────────────────── */
@media (max-width:768px){
  html:root body.single-post #content > .acpost-rel{width:calc(100% - 44px);margin-top:72px}
  html:root body.single-post #content > .acpost-assina{width:calc(100% - 44px) !important;margin-top:36px !important}
  /* até 768 px a coluna de leitura tem a largura toda menos 44 px (em 768, 724 px): cartão de orçamento, assinatura e
     "Ver todas" acompanham a coluna (antes ficavam presos em 720 px e saíam 2 px para dentro de cada lado) */
  html:root body.single-post #content > :is(.acpost-cta,.acpost-voltar,.acpost-assina){max-width:none !important}
  html:root body.single-post .acpost-tema{gap:12px;margin-bottom:12px;font-size:13px;letter-spacing:.18em}
  html:root body.single-post .acpost-tema::before{width:36px}
  html:root body.single-post .acpost-meta{margin-top:18px;padding-bottom:22px}
  html:root body.single-post .elementor-widget-theme-post-content .elementor-widget-container blockquote{padding:20px 20px 20px 24px !important}
  html:root body.single-post .elementor-widget-theme-post-content .elementor-widget-container blockquote :is(p,li),html:root body.single-post .elementor-widget-theme-post-content .elementor-widget-container blockquote{font-size:19px !important}
  html:root body.single-post .elementor-widget-theme-post-content .elementor-widget-container blockquote .acpost-bloco-tag{font-size:13px !important;letter-spacing:.18em}
  html:root body.single-post .elementor-widget-theme-post-content .elementor-widget-container h4{font-size:19px !important}
  html:root body.single-post .elementor-widget-theme-post-content .elementor-widget-container:has(> h2) > h3{font-size:20px !important}
}
/* celular: os botões de compartilhar descem para uma linha própria, alinhados ao selo */
@media (max-width:599px){
  html:root body.single-post .acpost-meta .acpost-partilha{flex-basis:100%}
  html:root body.single-post #content > .acpost-assina{column-gap:14px;row-gap:16px}
  html:root body.single-post .acpost-assina .acpost-partilha{grid-column:1 / -1;flex-wrap:nowrap}
  /* assinatura como a linha de autor do topo: nome, data e tema em linhas próprias (antes a data se partia
     em "2 de outubro / de 2026" e o "·" ficava solto na ponta da linha) */
  html:root body.single-post .acpost-assina-txt{line-height:1.5}
  html:root body.single-post .acpost-assina-txt .acpost-sep{display:none}
  html:root body.single-post .acpost-assina-txt .acpost-data{display:block}
  html:root body.single-post .acpost-assina-txt .acpost-tema-link{display:table}
}
/* 320–374 px: "Compartilhe" sobe para uma linha própria e os quatro botões cabem na coluna (antes a página rolava de lado) */
@media (max-width:374px){
  html:root body.single-post .acpost-assina .acpost-partilha{flex-wrap:wrap}
  html:root body.single-post .acpost-assina .acpost-partilha-rot{flex-basis:100%;margin:0 0 2px}
}
