/* ==========================================================================
   Ajustes do WordPress sobre o CSS do site (css/style.css vem do site estático)
   ========================================================================== */

/* blocos de largura total fora do Painel: mesma margem lateral do painel */
#swup > .photo, #swup > .feature, #swup > .testimonials { margin-left: var(--bleed); margin-right: var(--bleed); }

/* texto corrido dos posts (blocos do núcleo) com o estilo do site */
.article .body > * + * { margin-top: 1.3em; }
.article .body h2, .article .body h3 { font-family: var(--f-display); font-variation-settings: "opsz" 24; font-weight: var(--w-medium); text-transform: uppercase; color: var(--vinho); line-height: 1.1; }
.article .body h2 { font-size: var(--t-card); margin-top: 1.6em; }
.article .body h3 { font-size: max(18px, calc(24 * var(--u))); margin-top: 1.4em; }
.article .body ul, .article .body ol { padding-left: 1.2em; }
.article .body figure { margin: 1.6em 0; }
.article .body img { width: 100%; height: auto; display: block; }
.article .body figcaption { font-size: var(--t-small); margin-top: .5em; }
.article .body blockquote { margin: 1.6em 0; padding-left: 1em; border-left: max(2px, calc(4 * var(--u))) solid var(--laranja); font-size: max(18px, calc(27 * var(--u))); line-height: 1.26; }
.article .body .wp-block-embed iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; }
.article .body hr { border: 0; border-top: max(1px, calc(2 * var(--u))) solid var(--vinho); }

/* contatos e livro: parágrafos vindos do editor de texto */
.contacts p + p, .book-txt p + p { margin-top: 1em; }

/* paginação das listagens */
.pager .page-numbers { color: var(--vinho); font-family: var(--f-display); font-variation-settings: "opsz" 24; font-size: var(--t-card); text-decoration: none; min-width: 44px; min-height: 44px; display: grid; place-items: center; }
.pager .page-numbers.current { color: var(--vermelho); }

/* barra do WordPress (usuário logado): header e rolagem descem junto */
.admin-bar .site-header { top: 32px; }
.admin-bar #smooth-wrapper { top: 32px !important; }
@media (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
  .admin-bar #smooth-wrapper { top: 46px !important; }
  #wpadminbar { position: fixed !important; }
}
.pub .langs:empty { min-width: 2.6em; }
.article .meta .more { display: inline-flex; align-items: center; gap: .4em; white-space: nowrap; }
/* post sem imagem: bloco verde com o símbolo (mantém o formato do artigo) */
.hero-art--vazio { background: var(--verde); display: grid; place-items: center; }
.hero-art--vazio .hero-art__simbolo { width: 34% !important; height: auto !important; object-fit: contain !important; filter: brightness(0) invert(1); opacity: .9; }
