/* =========================================================
   HOJESC - CSS PERSONALIZADO
   ========================================================= */


/* ---------------------------------------------------------
   WP SHOW POSTS
   --------------------------------------------------------- */

/* Estilo para as categorias */
.wp-show-posts-inner .wp-show-posts-meta {
    display: block;
    font-size: 14px;
    color: #555;
    margin-bottom: 5px;
    order: -1;
}

/* Links das categorias */
.wp-show-posts-inner .wp-show-posts-meta a {
    color: #0073aa;
    text-decoration: none;
}

.wp-show-posts-inner .wp-show-posts-meta a:hover {
    color: #005177;
    text-decoration: underline;
}

/* Imagens */
.wp-show-posts img {
    border-radius: 15px;
    overflow: hidden;
}


/* ---------------------------------------------------------
   POSTS INTERNOS
   --------------------------------------------------------- */

/* H1 */
.single-post h1.entry-title {
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    font-size: 35px;
    line-height: 41px;
}

/* H2 */
.single-post .entry-content h2 {
    font-family: 'Open Sans', sans-serif;
    color: #000000;
    font-weight: 700;
    font-size: 24px;
    line-height: 28px;
}


/* ---------------------------------------------------------
   H1 MOBILE
   --------------------------------------------------------- */

@media (max-width: 767px) {

    .single-post h1.entry-title {
        font-family: 'Open Sans', sans-serif;
        font-weight: 700;
        font-size: 35px;
        line-height: 41px;
    }

}


/* ---------------------------------------------------------
   H1 TABLET
   --------------------------------------------------------- */

@media (min-width: 768px) and (max-width: 1024px) {

    .single-post h1.entry-title {
        font-family: 'Open Sans', sans-serif;
        font-weight: 700;
        font-size: 35px;
        line-height: 41px;
    }

}


/* ---------------------------------------------------------
   LINKS
   --------------------------------------------------------- */

a,
a:link,
a:visited,
a:hover,
a:active {
    text-decoration: none;
    color: inherit;
}


/* ---------------------------------------------------------
   COLUNISTAS
   --------------------------------------------------------- */

.colunistas-subcats {
    font-family: 'Barlow', sans-serif;
    font-size: 15px;
    color: #ff6600;
}


/* ---------------------------------------------------------
   BARRA DE DATA
   --------------------------------------------------------- */

.neve-date-bar {
    position: sticky;
    top: 0;
    width: 100%;
    box-sizing: border-box;
    background: #ffffff;
    color: #000000;
    font-family: 'Barlow', sans-serif;
    font-size: 13px;
    text-align: right;
    padding: 4px 15px;
    border-bottom: 1px solid #e5e5e5;
    z-index: 9999;
}


/* =========================================================
   GRID DE CATEGORIAS
   ========================================================= */

.grid-cat-wrap {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* DESKTOP - 3 COLUNAS */
.grid-cat {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 18px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    align-items: start;
}

/* Cada notícia */
.grid-item {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

/* Caixa da imagem */
.grid-thumbbox {
    display: block;
    width: 100% !important;
    max-width: 100%;
    aspect-ratio: 265 / 174;
    height: auto !important;
    overflow: hidden;
    border-radius: 10px;
    box-sizing: border-box;
}

/* Imagem */
.grid-thumbbox img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-width: 100%;
    object-fit: cover;
    border-radius: 10px;
}

/* Chapéu */
.grid-chapeu {
    margin: 8px 0 4px 0;
    font-family: 'Barlow', Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 18px;
    font-weight: 700;
    color: rgb(44, 44, 44);
}

/* Título */
.grid-title {
    margin: 0 0 4px 0;
    font-family: 'Barlow', Arial, Helvetica, sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 19px;
    line-height: 23px;
    color: rgb(44, 44, 44);
}

.grid-title a,
.grid-title a:visited,
.grid-title a:hover,
.grid-title a:focus {
    color: rgb(44, 44, 44);
    text-decoration: none;
}


/* =========================================================
   MOBILE - SITEORIGIN
   ========================================================= */

@media (max-width: 768px) {

    /* Cada linha do SiteOrigin passa para uma coluna */
    .panel-grid {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .panel-grid .panel-grid-cell {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        float: none !important;
        box-sizing: border-box !important;
    }

    .panel-grid .so-panel {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Evita estouro lateral */
    .siteorigin-panels-stretch,
    .siteorigin-panels-stretch .panel-grid-cell {
        max-width: 100% !important;
        box-sizing: border-box !important;
    }


    /* GRID: UMA NOTÍCIA ABAIXO DA OUTRA */
    .grid-cat-wrap {
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden;
    }

    .grid-cat {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        width: 100% !important;
        max-width: 100% !important;
        gap: 20px !important;
    }

    .grid-item {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    .grid-thumbbox {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        aspect-ratio: 265 / 174;
    }

    .grid-thumbbox img {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        height: 100% !important;
        object-fit: cover;
    }


    /* WP SHOW POSTS */
    .wp-show-posts .wp-show-posts-inner {
        display: block !important;
        width: 100% !important;
    }

    .wp-show-posts article.wp-show-posts-single,
    .wp-show-posts .wp-show-posts-entry {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 0 16px !important;
    }

    .wp-show-posts .wp-show-posts-image img {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
    }


    /* Neve */
    .nv-content-wrap .columns,
    .nv-content-wrap [class*="col-"] {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }

}