/*
Theme Name: Annex Contabilidade
Theme URI: https://annexcontabilidade.com.br
Description: Tema do site da Annex Contabilidade (Garanhuns - PE), com o blog integrado aos posts do WordPress.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: annex-contabilidade
*/

/* Barra de administração do WordPress não deve cobrir o header fixo */
.admin-bar header.fixed { top: 32px; }
@media (max-width: 782px) {
    .admin-bar header.fixed { top: 46px; }
}

/* Post sem imagem destacada: afasta o título do header fixo no desktop */
.annex-no-hero { padding-top: 5rem; }
@media (max-width: 767px) {
    .annex-no-hero { padding-top: 0; }
}

/* Conteúdo dos posts (editor do WordPress) */
.entry-content { color: #374151; }
.entry-content > * + * { margin-top: 1.25rem; }
.entry-content p { margin: 0 0 1.25rem; }
.entry-content h2 { font-size: 1.75rem; font-weight: 700; line-height: 1.3; color: #111827; margin: 2.25rem 0 1rem; }
.entry-content h3 { font-size: 1.4rem; font-weight: 700; line-height: 1.35; color: #111827; margin: 2rem 0 .75rem; }
.entry-content h4 { font-size: 1.15rem; font-weight: 600; color: #111827; margin: 1.5rem 0 .5rem; }
.entry-content a { color: #2563eb; text-decoration: underline; }
.entry-content a:hover { color: #1d4ed8; }
.entry-content ul { list-style: disc; padding-left: 1.5rem; margin: 0 0 1.25rem; }
.entry-content ol { list-style: decimal; padding-left: 1.5rem; margin: 0 0 1.25rem; }
.entry-content li { margin-bottom: .4rem; }
.entry-content blockquote { border-left: 4px solid #2563eb; padding: .25rem 0 .25rem 1.25rem; color: #4b5563; font-style: italic; margin: 1.5rem 0; }
.entry-content img,
.entry-content video { max-width: 100%; height: auto; border-radius: .75rem; }
.entry-content figure { margin: 1.5rem 0; }
.entry-content figcaption { font-size: .875rem; color: #6b7280; margin-top: .5rem; text-align: center; }
.entry-content table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: 1rem; }
.entry-content th,
.entry-content td { border: 1px solid #e5e7eb; padding: .6rem .8rem; text-align: left; }
.entry-content th { background: #f3f4f6; font-weight: 600; }
.entry-content .alignleft { float: left; margin: 0 1.5rem 1rem 0; }
.entry-content .alignright { float: right; margin: 0 0 1rem 1.5rem; }
.entry-content .aligncenter { display: block; margin-left: auto; margin-right: auto; }

/* Paginação do blog */
.annex-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    padding: .5rem .9rem;
    border: 1px solid #e5e7eb;
    border-radius: .5rem;
    background: #fff;
    color: #374151;
    font-weight: 500;
    text-decoration: none;
    transition: background-color .2s, color .2s;
}
.annex-pagination a.page-numbers:hover { background: #f3f4f6; }
.annex-pagination .page-numbers.current { background: #2563eb; border-color: #2563eb; color: #fff; }
.annex-pagination .page-numbers.dots { border-color: transparent; background: transparent; }
