/* Expresso Rio v12 Stable — camada final não conflitante */
:root{--er-focus:#231F20;--er-whatsapp:#1f9d55;--er-whatsapp-dark:#147a40}
html{scroll-behavior:smooth}
.er-skip-link:focus,.screen-reader-text:focus{clip:auto!important;clip-path:none!important;width:auto!important;height:auto!important;overflow:visible!important;white-space:normal!important;z-index:100000;left:16px;top:16px;background:#fff;color:#111;padding:10px 14px;border:2px solid var(--er-focus);border-radius:4px;text-decoration:none}
:where(a,button,input,textarea,select):focus-visible{outline:2px solid var(--er-focus);outline-offset:3px}
.er-ad:empty,.advertisement-block:empty,.custom_ads_opera:empty{display:none!important}
.post-image,.post-image-link img{object-fit:cover;background:#eee}
.er-floating-actions{position:fixed;right:18px;bottom:18px;z-index:9990;display:flex;flex-direction:column;gap:10px;align-items:flex-end;pointer-events:none}.er-float-btn{width:48px;height:48px;border-radius:999px;border:1px solid rgba(35,31,32,.14);display:inline-flex;align-items:center;justify-content:center;background:#231F20;color:#fff;box-shadow:0 10px 28px rgba(0,0,0,.18);cursor:pointer;text-decoration:none;pointer-events:auto;transition:transform .18s ease,opacity .18s ease,visibility .18s ease,background-color .18s ease}.er-float-btn svg{width:21px;height:21px;fill:currentColor;display:block}.er-float-btn:hover,.er-float-btn:focus-visible{transform:translateY(-2px);background:#3a3435;color:#fff}.er-back-to-top{opacity:0;visibility:hidden;transform:translateY(8px)}.er-back-to-top.is-visible{opacity:1;visibility:visible;transform:translateY(0)}.er-whatsapp-float{background:var(--er-whatsapp);border-color:var(--er-whatsapp)}.er-whatsapp-float:hover,.er-whatsapp-float:focus-visible{background:var(--er-whatsapp-dark);border-color:var(--er-whatsapp-dark)}
@media(max-width:760px){.er-floating-actions{right:14px;bottom:16px;gap:8px}.er-float-btn{width:44px;height:44px}.er-float-btn svg{width:19px;height:19px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}

/* v13.1 — botão voltar ao topo acima do WhatsApp, sem sobreposição */
.er-floating-actions{right:20px!important;bottom:24px!important;gap:12px!important;z-index:9999!important;align-items:flex-end!important}
.er-floating-actions .er-back-to-top{order:1;background:#334056!important;border-color:#334056!important;box-shadow:0 14px 35px rgba(51,64,86,.28)!important}
.er-floating-actions .er-whatsapp-float{order:2}
.er-floating-actions .er-back-to-top:hover,.er-floating-actions .er-back-to-top:focus-visible{background:#083B9A!important;border-color:#083B9A!important}
@media(max-width:760px){.er-floating-actions{right:14px!important;bottom:18px!important;gap:10px!important}.er-floating-actions .er-back-to-top{margin-bottom:0!important}}


/* v13.2 — botão topo sempre acima do WhatsApp, sem sobreposição */
.er-floating-actions{display:flex!important;flex-direction:column!important;gap:12px!important}
.er-floating-actions .er-back-to-top{order:1!important;background:#334056!important;border-color:#334056!important}
.er-floating-actions .er-whatsapp-float{order:2!important}
@media(max-width:760px){.er-floating-actions{gap:10px!important}}


/* V13.5 — suavização global sem alterar o cabeçalho */
html{scroll-padding-top:88px;}
body{background:#fff;}
.er-container{max-width:1400px;}
.post-card,.er-card,.sidebar-widget,.widget{
  min-width:0;
}
.post-card a,.er-card a{
  text-underline-offset:3px;
}
.post-card img,.er-card img{
  transition:transform .22s ease,filter .22s ease;
}
.post-card a:hover img,.er-card a:hover img{
  transform:scale(1.015);
}
button,[type="button"],[type="submit"],.button,.wp-element-button{
  transition:background-color .18s ease,color .18s ease,border-color .18s ease,transform .18s ease;
}
button:hover,[type="button"]:hover,[type="submit"]:hover,.button:hover,.wp-element-button:hover{
  transform:translateY(-1px);
}
img{content-visibility:auto;}
@media(max-width:760px){
  html{scroll-padding-top:72px;}
}

/* v15 LTS — busca leve sem CSS legado */
.er-search-panel{position:absolute;right:0;top:calc(100% + 8px);background:#fff;width:420px;max-width:90vw;border:1px solid rgba(17,17,17,.10);box-shadow:0 16px 38px rgba(0,0,0,.12);padding:14px;display:none;z-index:10000;border-radius:12px}.er-search-panel.is-open{display:block}.er-search-result{display:flex;gap:10px;align-items:center;padding:9px 0;border-bottom:1px solid rgba(17,17,17,.08);color:#111;text-decoration:none}.er-search-result:last-child{border-bottom:0}.er-search-result img{width:64px;height:44px;object-fit:cover;border-radius:6px}@media(max-width:900px){.er-search-panel{left:0;right:auto;width:100%}}
