/**
 * Theme Name:     Economic News
 * Author:         Genesis Digital
 * Template:       hello-elementor
 * Text Domain:	   economic-news
 * Description:    Tema filho do Hello Theme
 */

span.ads-text {
    font-size: 12px;
    background: #eee;
    width: 100%;
    display: block;
    text-align: center;
    padding: 10px;
    color: #aaa;
}

.adopt-c-ljQBSt button#adopt-reject-all-button{
	display:none !important;
}

.elementor-posts .elementor-post__badge {
    margin-top: calc(64% - 42px) !important;
}

.code-block-homefeed--mais-noticias,
.code-block-homefeed--mais-noticias > div,
.code-block-pagina-ultimas-noticias--mais-noticias,
.code-block-pagina-ultimas-noticias--mais-noticias > div,
.code-block-post--noticias-relacionadas, /* Nova classe */
.code-block-post--noticias-relacionadas > div { /* Nova classe */
    height: auto !important;
    max-height: 100% !important;
    min-height: auto !important;
}

@media all and (max-width: 991px) {
    .code-block-homefeed--mais-noticias,
    .code-block-homefeed--mais-noticias > div,
    .code-block-homefeed--mais-noticias > div > div,
    .code-block-pagina-ultimas-noticias,
    .code-block-pagina-ultimas-noticias > div,
    .code-block-pagina-ultimas-noticias > div > div,
    .code-block-pagina-ultimas-noticias--mais-noticias,
    .code-block-pagina-ultimas-noticias--mais-noticias > div,
    .code-block-pagina-ultimas-noticias--mais-noticias > div > div,
    .code-block-post--noticias-relacionadas, /* Nova classe */
    .code-block-post--noticias-relacionadas > div, /* Nova classe */
    .code-block-post--noticias-relacionadas > div > div { /* Nova classe */
        width: 100% !important;
        max-width: 100% !important;
    }
	
.search-results .post-with-badges .elementor-posts .elementor-post__badge, .archive .post-with-badges .elementor-posts .elementor-post__badge {
    margin-top: calc(50% - 42px) !important;
}
}

ul.wp-block-list {
    padding: 20px;
}

@media (max-width: 767px) {
	figure.wp-block-image.size-large {
    width: 100% !important;
}
    .home .post-with-badges .elementor-posts .elementor-post__badge, .search-results .post-with-badges .elementor-posts .elementor-post__badge {
        margin-top: calc(0.5 * 100% - 42px) !important;
    }
}

ul.wp-block-yoast-seo-related-links {
    padding: 15px 20px;
    border-radius: 8px;
    border: 1px solid #ccc;
}
.wp-block-yoast-seo-related-links li:first-child {
    list-style: none !important;
    padding: 0px !important;
    margin: 0px !important;
    font-weight: 700;
    font-size: 1.40rem;
    padding-bottom: 10px !important;
}

.wp-block-yoast-seo-related-links li {
    line-height: 2.25rem;
		margin-left: 25px;
}

ul.wp-block-yoast-seo-related-links.yoast-seo-related-links {
    margin: 20px 0px;
}

.elementor .elementor-widget-theme-post-content a,
.elementor .related-posts-widget a {
	text-decoration: underline !important;
}

.elementor .elementor-widget-theme-post-content a.elementor-button-link {
	text-decoration: none !important;
}
.code-block-w-600px-h-80px{
	width:100% !important;
}

/* Oculta o bloco do Yoast "Leia também" dentro dos resultados de busca 
body.search .wp-block-yoast-seo-related-links,
body.search .yoast-seo-related-links {
    display: none !important;
}
*/