/*
Theme Name: MyNews
*/

html {
    margin: 0 !important;
}

.overflow-hidden {
    overflow: hidden;
}
.max-height-200 {
    max-height: 270px !important;
    height: 270px !important;
}

.max-height-210 {
    max-height: 270px !important;
    height: 210px !important;
}


.max-height-400 {
    max-height: 400px;
}

.author-img.rounded-circle img {
    width: 89px;
    height: 89px;
    border-radius: 100px;

}

.chapeu-relative,
.overflow-hidden,
span.chapeu:has( > div ){
    position: relative;
}

h4.chapeu {
    background: #2452ee;
    color: #fff;
    padding: 2px 20px;
    border-radius: 100px;
    text-transform: uppercase;
    display: inline-block;
    font-size: 20px;
    margin: 0 0 20px 0 !important;
}

span.chapeu {
    position: absolute;
    left: 10px;
    z-index: 9;
    bottom: 10px;
    background: #2452ee;
    color: #fff;
    padding: 2px 20px;
    border-radius: 100px;
    text-transform: uppercase;
}


span.chapeu.top {
    top:10px;
    bottom: inherit;
}

.icon-category {
    height: 30px;
    width: 30px;
    margin: -40px 4px 4px 0px;
    display: inline-block;
    position: relative;
    top: 20px;
}

.content-left iframe {
    width: 100%;
    height: 550px;
}

.theme-dark .news-ticker .ticker-item a {
    color: #fff;
}
.theme-dark .news-ticker {
    background: #101828;
    border-bottom: 1px solid #3a3939;
}

/* filter black */

.theme-dark  img[src*="molde_balao"] {
    filter: invert(1);
}


/* Header dourado com gradiente */
.bg-gold-header {
    background: linear-gradient(90deg, #b78b3c 0%, #cfb86a 50%, #b78b3c 100%) !important;
}

/* Imagem do header */
.header-gold-img {
    height: 40px !important;
    object-fit: contain !important;
}



/* =========================================
   BLOCO AUTOMÁTICO PARA NOTÍCIAS RELACIONADAS
   ========================================= */

#post-content blockquote{
    position: relative;
    margin: 1.5rem 0;
    padding: 1.2rem 1.2rem 1.2rem 1.4rem;
    border: 1px solid rgba(0,0,0,.08);
    border-left: 6px solid #0b57d0; /* azul MyNews */
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(11,87,208,.08), rgba(11,87,208,.03));
    box-shadow: 0 12px 28px rgba(0,0,0,.08);
    transition: all .25s ease;
}

/* Título automático */
#post-content blockquote::before{
    content: "Leia também";
    display: block;
    font-size: .85rem;
    font-weight: 800;
    letter-spacing: .4px;
    text-transform: uppercase;
    color: #0b57d0;
    margin-bottom: .6rem;
}

/* Texto interno */
#post-content blockquote p{
    margin: .5rem 0;
    font-style: normal;
    line-height: 1.5;
}

/* Links mais fortes */
#post-content blockquote a{
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid rgba(11,87,208,.35);
    transition: .2s;
}

#post-content blockquote a:hover{
    border-bottom-color: #0b57d0;
}

/* Efeito hover editorial */
#post-content blockquote:hover{
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(0,0,0,.12);
}

/* Mobile */
@media (max-width: 576px){
    #post-content blockquote{
        padding: 1rem;
        border-radius: 12px;
    }
}
