/* Custom CSS para imagem destacada ocupar todo o container */

/* Remove limitações do container principal */
/* .single-post .section-post-header {
    max-width: 100% !important;
    width: 100% !important;
} */

/* Remove padding e limitações do section_wrapper */
/* .single-post .section-post-header .section_wrapper {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
} */

/* Remove a limitação de largura máxima na imagem destacada */
/* .section-post-header .single-photo-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
} */

/* Força o image_frame a ocupar toda a largura */
/* .section-post-header .single-photo-wrapper .image_frame {
    max-width: 100% !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    display: block !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
} */

/* Garante que a imagem dentro do wrapper ocupe toda a largura */
/* .single-photo-wrapper .image_wrapper {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
} */

/* Garante que a tag IMG ocupe toda a largura */
/* .section-post-header .single-photo-wrapper .image_frame img,
.single-photo-wrapper .image_wrapper img {
    max-width: 1024px !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    margin: 0 auto !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
} */

/* Remove qualquer limitação da coluna */
/* .section-post-header .column.single-photo-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
} */

/* Garante que posts sem share também ocupem toda a largura */
/* .no-share .section-post-header .single-photo-wrapper.image .image_frame,
.share-simple .single-photo-wrapper .image_frame,
.no-share-mobile .section-post-header .single-photo-wrapper .image_frame {
    max-width: 100% !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
} */

/* Remove margem de qualquer elemento de compartilhamento que possa interferir */
/* .section-post-header .single-photo-wrapper .share-wrapper {
    max-width: 100% !important;
} */

/* Força o container da imagem em posts específicos */
/* .post.single .section-post-header .image_frame,
.postid .section-post-header .image_frame {
    max-width: 100% !important;
    width: 100% !important;
} */

/* Ajuste de alinhamento do Highlight (Blog Teaser) */
.blog-teaser li:last-child {
    margin-top: 2.65% !important;
}

.blog-teaser li:last-child .photo-wrapper {
    margin-bottom: 0 !important;
}

/* Estilo da data de edição do artigo */
.article-edited-date {
    text-align: center !important;
    color: #4a4a4a !important;
    font-size: 14px !important;
    margin-top: 8px !important;
    margin-bottom: 0 !important;
    padding: 0 !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;
}

/* Ajuste do title_wrapper para acomodar a data */
.single-post .title_wrapper {
    margin-bottom: 0 !important;
}

/* Padronização de alinhamento e espaçamento para cards do blog-teaser */
.blog-teaser li {
    margin: 0 !important;
    padding: 0 !important;
}

.blog-teaser li .photo-wrapper {
    position: relative !important;
    overflow: hidden !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Garantir que todas as imagens mantenham proporção e preencham o container */
.blog-teaser li .photo-wrapper img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
    object-fit: cover !important;
}

/* Padronizar altura mínima para manter alinhamento */
.blog-teaser li:first-child .photo-wrapper {
    min-height: 300px !important;
}

.blog-teaser li:not(:first-child) .photo-wrapper {
    min-height: 200px !important;
}

/* Garantir que desc-wrapper tenha posição consistente */
.blog-teaser li .desc-wrapper {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
}

/* Padronizar padding interno do texto */
.blog-teaser li .desc-wrapper .desc {
    padding: 20px !important;
}

/* Espaçamento consistente entre cards */
.blog-teaser li:nth-child(2) {
    margin-bottom: 0 !important;
}

.blog-teaser li:nth-child(3) {
    margin-top: 0 !important;
}

/* Force left alignment for text (override justify) */
.single-post .post-wrapper-content,
.single-post .post-wrapper-content p,
.single-post .post-wrapper-content div,
.single-post .section_wrapper .the_content_wrapper {
    text-align: left !important;
}

/* Add spacing and center images */
.single-post .post-wrapper-content img,
.single-post .post-wrapper-content figure {
    margin-top: 40px !important;
    margin-bottom: 40px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    display: block !important;
    height: auto !important;
    padding: 4px !important;
}

/* Center videos Global */
.post-wrapper-content iframe,
.post-wrapper-content video,
.post-wrapper-content .wp-block-embed,
.entry-content iframe,
.entry-content video,
.entry-content .wp-block-embed,
iframe[src*="youtube"],
iframe[src*="vimeo"] {
    margin-top: 40px !important;
    margin-bottom: 40px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    display: block !important;
    padding: 4px !important;
}

/* Center Post Title Global */
.title_wrapper,
.title_wrapper .entry-title {
    text-align: center !important;
    width: 100% !important;
}

/* Exclude Main Banner from centering */
.mainbanner .title_wrapper,
.mainbanner .entry-title {
    text-align: left !important;
    width: auto !important;
}