/* =============================================================================
   Artigo — ÁREAS DE ANÚNCIO + "ESCRITO POR" (kit 31, 16/09/2026)
   -----------------------------------------------------------------------------
   Só VISUAL. Não muda onde os anúncios entram nem como carregam (caminho crítico
   de receita). Aplica o tratamento do kit aos espaços que já existem:
     - sem caixa tracejada / fundo creme: régua fina em cima e embaixo + respiro;
     - rótulo "Publicidade" pequeno, espaçado, cinza claro;
     - altura mínima já reservada pelo tema é mantida (sem salto de layout).
   E o bloco do autor no layout do kit (avatar 80px, "ESCRITO POR", nome grande).
   Carregada só em artigo, depois das folhas do single. Versão no NOME do arquivo
   (a Cloudflare ignora ?ver).
   ============================================================================= */

/* ---------- 1) anúncios no meio do texto ---------- */
body.single-post .os-singleContent .os-ad-legacy-wrapper.mow_fn_widget_ad_wrapper{
  /* só cima/baixo: no celular os-ads-layout.css põe margens laterais negativas (borda a borda) */
  margin-top:46px !important;
  margin-bottom:46px !important;
  padding-bottom:16px !important;
  border:0 !important;
  border-top:1px solid oklch(0.90 0.005 80) !important;
  border-bottom:1px solid oklch(0.90 0.005 80) !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  text-align:center;
}
body.single-post .os-singleContent .os-ad-legacy-wrapper.mow_fn_widget_ad_wrapper::before{
  content:"Publicidade" !important;
  display:block !important;
  font-family:'Figtree',system-ui,sans-serif !important;
  font-size:9.5px !important;
  font-weight:700 !important;
  line-height:1 !important;
  letter-spacing:.2em !important;
  text-transform:uppercase !important;
  color:oklch(0.68 0.01 60) !important;
  padding:10px 0 0 !important;
  margin:0 0 12px !important;
  text-align:center !important;
  background:none !important;
}
body.single-post .os-singleContent .os-ad-legacy-wrapper .os-ad-legacy-inner{
  background:transparent !important;
  border:0 !important;
}

/* ---------- 2) anúncio do cabeçalho (abaixo do "por Autor") ---------- */
body.single-post .fn__meta .adsingle.adsingle--meta{
  margin-top:18px !important;
  border-top:1px solid oklch(0.90 0.005 80) !important;
  background:transparent !important;
  text-align:center;
}
body.single-post .fn__meta .adsingle.adsingle--meta::before{
  content:"Publicidade";
  display:block;
  font-family:'Figtree',system-ui,sans-serif;
  font-size:9.5px;
  font-weight:700;
  line-height:1;
  letter-spacing:.2em;
  text-transform:uppercase;
  color:oklch(0.68 0.01 60);
  padding:10px 0 0;
  margin:0 0 10px;
  text-align:center;
}

/* ---------- 3) anúncio da lateral ----------
   seletor longo: vence body.single-post .mow_fn_singlepost .widget_mow_ad .mow_fn_widget_ad_wrapper{... !important} do os-single-premium.css */
body.single-post .mow_fn_singlepost .wspage_bar .widget_mow_ad .mow_fn_widget_ad_wrapper:not(.os-ad-legacy-wrapper){
  border:0 !important;
  border-bottom:1px solid oklch(0.90 0.005 80) !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  padding-bottom:14px !important;
}
body.single-post .mow_fn_singlepost .wspage_bar .widget_mow_ad .mow_fn_widget_ad_wrapper:not(.os-ad-legacy-wrapper) .ad_title{
  border:0 !important;
  background:none !important;
  padding:0 !important;
  margin:0 0 10px !important;
  text-align:center;
}
body.single-post .mow_fn_singlepost .wspage_bar .widget_mow_ad .mow_fn_widget_ad_wrapper:not(.os-ad-legacy-wrapper) .ad_title h3{
  font-family:'Figtree',system-ui,sans-serif !important;
  font-size:9.5px !important;
  font-weight:700 !important;
  line-height:1 !important;
  letter-spacing:.2em !important;
  text-transform:uppercase !important;
  color:oklch(0.68 0.01 60) !important;
  margin:0 !important;
  padding:10px 0 0 !important;
  border:0 !important;
  background:none !important;
}
body.single-post .mow_fn_singlepost .wspage_bar .widget_mow_ad .mow_fn_widget_ad_wrapper:not(.os-ad-legacy-wrapper) .ad_title h3::before,
body.single-post .mow_fn_singlepost .wspage_bar .widget_mow_ad .mow_fn_widget_ad_wrapper:not(.os-ad-legacy-wrapper) .ad_title h3::after{
  content:none !important;
}

/* ---------- 4) "Escrito por" (bloco do autor) ---------- */
body.single-post .os-authorBox{
  display:grid !important;
  grid-template-columns:80px minmax(0,1fr);
  gap:18px;
  align-items:start;
  padding:24px !important;
  margin:32px 0 40px !important; /* respiro da caixa "Encontrou algum erro?" acima */
  background:#fff !important;
  border:1px solid oklch(0.90 0.005 80) !important;
  border-radius:4px !important;
  box-shadow:none !important;
}
body.single-post .os-authorBox__media{
  display:block;
  width:80px;
  height:80px;
  border-radius:50%;
  overflow:hidden;
  background:oklch(0.965 0.004 80);
  flex-shrink:0;
}
body.single-post .os-authorBox__media img,
body.single-post .os-authorBox__img{
  width:80px !important;
  height:80px !important;
  border-radius:50% !important;
  object-fit:cover;
  display:block;
  margin:0 !important;
}
body.single-post .os-authorBox__body{min-width:0;}
body.single-post .os-authorBox__kicker{
  display:block;
  font-family:'Outfit',system-ui,sans-serif;
  font-size:11px;
  font-weight:700;
  line-height:1.2;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:oklch(0.52 0.01 60);
  margin:0 0 4px;
}
body.single-post .os-authorBox__name{
  margin:2px 0 0 !important;
  font-family:'Outfit',system-ui,sans-serif !important;
  font-size:18px !important;
  font-weight:700 !important;
  line-height:1.25 !important;
  letter-spacing:-.005em;
}
body.single-post .os-authorBox__name a{color:oklch(0.20 0.01 60) !important;text-decoration:none !important;}
body.single-post .os-authorBox__name a:hover{color:#b53310 !important;}
body.single-post .os-authorBox__bio{
  margin:6px 0 0 !important;
  font-size:14px !important;
  line-height:1.5 !important;
  color:oklch(0.34 0.01 60) !important;
}
body.single-post .os-authorBox__all{
  display:inline-block;
  margin-top:10px;
  font-size:13px;
  font-weight:700;
  color:#b53310 !important;
  text-decoration:none !important;
}
body.single-post .os-authorBox__all:hover{color:#ff532c !important;}

@media (max-width:640px){
  body.single-post .os-authorBox{grid-template-columns:1fr;padding:20px !important;}
  body.single-post .os-authorBox__media,
  body.single-post .os-authorBox__media img,
  body.single-post .os-authorBox__img{width:64px !important;height:64px !important;}
  body.single-post .os-singleContent .os-ad-legacy-wrapper.mow_fn_widget_ad_wrapper{margin-top:34px !important;margin-bottom:34px !important;}
}
