/*
 * Theme Name:  Newsreader Child
 * Theme URI:   https://newsreader.codesupply.co/
 * Description: Newsreader Child Theme
 * Author:      Code Supply Co.
 * Author URI:  https://codesupply.co/
 * Template:    newsreader
 * Version:     1.0.0
 * Text Domain:          newsreader
*/

/* Copy any classes from parent theme here. They will override the parent's version. */

/*---------------------------------------------------------------*/
/*-----------------------Desabilita Banners----------------------*/
.cs-banner {
    display: none !important;
}
figure.wp-block-image.size-full {
    display: none !important;
}
/*-----------------------Desabilita Subscribe----------------------*/
.cs-subscribe-elementor {
	display: none !important;
}
section.cs-subscribe-entry {
    display: none !important;
}
/*---------------------------------------------------------------*/

.cs-subscribe__form-group button {
    min-width: 150px;
    min-height: 55px;
}
h3, .h3 {
    font-family: var(--cs-font-post-content-family), sans-serif !important;
    font-weight: var(--cs-font-post-content-weight) !important;
    font-size: var(--cs-font-post-content-size) !important;
    letter-spacing: var(--cs-font-post-content-letter-spacing) !important;
    line-height: var(--cs-font-post-content-line-height) !important;
    color: var(--cs-color-primary) !important;
}

.image-credits {
    /*font-size: small;*/
	text-transform: uppercase !important;
	color: var(--cs-color-contrast-600);
    font-family: var(--cs-font-secondary-family), sans-serif;
    font-size: var(--cs-font-secondary-size);
    font-weight: var(--cs-font-secondary-weight);
    font-style: var(--cs-font-secondary-style);
    letter-spacing: var(--cs-font-secondary-letter-spacing);
    line-height: var(--cs-font-secondary-line-height);
}
ol, ul, dl {
    margin-top: 15px !important;
    margin-bottom: 1rem;
}
.notarodape{
	font-size: small;
	background: var(--cs-layout-background);
	padding: 5%;
	margin-top: 5rem !important;
}

.cs-header__logo img{
	margin: 10px !important;
}
/*
 * ---------------------------------------------------------------------------------------------------
 * Página INICIAL 
 * ---------------------------------------------------------------------------------------------------
*/
.cs-header-bottombar__nav-buttons {
	display: none !important;
}

/* Posts Colunistas*/
span.pp-post-term {
    font-family: var(--cs-font-category-family), sans-serif !important;
    font-size: var(--cs-font-category-size) !important;
    line-height: var(--cs-font-category-line-height) !important;
    font-weight: var(--cs-font-category-weight) !important;
    font-style: var(--cs-font-category-style) !important;
    letter-spacing: var(--cs-font-category-letter-spacing) !important;
    text-transform: var(--cs-font-category-text-transform) !important;
    display: flex  !important;
    align-items: center !important;
    color: var(--cs-color-category, var(--cs-color-accent)) !important;
}
div#espaco-colunistas {
    height: 125px;
    margin-top: 20px;
}

h2.pp-post-title {
    margin-top: 0;
    margin-bottom: 0;
    font-family: var(--cs-font-entry-title-family), sans-serif;
    line-height: var(--cs-font-entry-title-line-height);
    font-weight: var(--cs-font-entry-title-weight);
    letter-spacing: var(--cs-font-entry-title-letter-spacing);
    font-size: var(--cs-entry-title-font-size, 1.125rem);
    color: var(--cs-color-title, var(--cs-color-primary));
}
span.pp-meta-text a{
    transition: 0.25s;
    display: inline;
    padding-bottom: 0.02em;
    background: linear-gradient(to right, currentColor 0%, currentColor 98%);
    background-size: 100% 1px;
    background-repeat: no-repeat;
    background-position: var(--cs-underline-bg-position);
    color: var(--cs-color-meta-links, var(--cs-color-primary));
    transition: 0.25s;
    text-decoration: none;
	font-family: var(--cs-font-post-meta-family), sans-serif;
    font-size: var(--cs-font-post-meta-size);
    line-height: var(--cs-font-post-meta-line-height);
    font-weight: var(--cs-font-post-meta-weight);
    font-style: var(--cs-font-post-meta-style);
    letter-spacing: var(--cs-font-post-meta-letter-spacing);
    text-transform: var(--cs-font-post-meta-text-transform);
}

/*
 * ---------------------------------------------------------------------------------------------------
 * Página ARCHIVE/ARQUIVO/ CATEGORIAS 
 * ---------------------------------------------------------------------------------------------------
*/

.cs-page__archive-count {
    display: none !important;
}
/*
 * ---------------------------------------------------------------------------------------------------
 * Página Autores
 * ---------------------------------------------------------------------------------------------------
*/

/* Oculta ícones sociais sem href */
span.elementor-grid-item.elementor-social-icon:not([href]) {
    display: none !important;
}

/* Alternativa para ícones com href vazio */
span.elementor-grid-item.elementor-social-icon[href=""] {
    display: none !important;
}

/* 2. Esconde o grid-item que CONTÉM uma âncora vazia ou sem href */
span.elementor-grid-item:has(> .elementor-social-icon[href=""]),
span.elementor-grid-item:has(> .elementor-social-icon:not([href])) {
    display:none !important;
}

.cs-posts-area__main .cs-entry .cs-overlay-background img:first-child {
         display: block !important;
    }
.elementor-author-box__text{
	height: 180px;
}
.IMG-MOST .cs-posts__horizontal .cs-entry__outer-medium .cs-entry__thumbnail {
        max-width: 100% !important;
        height: 130px !important;
        width: 580px !important;
    }
div#texto-bio {
    gap: 15px;
}
.AVISO-IA-AUTOR{
	font-size: 0.9em !important;
}

/*
 * ---------------------------------------------------------------------------------------------------
 * Página POST
 * ---------------------------------------------------------------------------------------------------
*/

/* RESUMO */
.resumo-container {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin: 20px 0;
    padding: 25px;
}

.resumo-container summary {
    padding: 15px 20px;
    cursor: pointer;
    /*background-color: #fff;*/
    border-radius: 8px;
    font-weight: bold;
    font-size: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.resumo-container summary:hover {
    /*background-color: #f5f5f5;*/
	background-color: #e6e6e6;
}

.resumo-container summary::after {
    content: "▼";
    font-size: 14px;
    transition: transform 0.3s ease;
}

.resumo-container[open] summary::after {
    transform: rotate(180deg);
}

.resumo-conteudo {
    padding: 20px;
    border-top: 1px solid #ddd;
}

.resumo-item {
    margin-bottom: 15px;
    line-height: 1.5;
}

.resumo-item:last-child {
    margin-bottom: 0;
}
