.noticia_content_index {
    padding: 1rem;
}

.blog_title {
    text-align: center;
    margin-bottom: 20px;
}


.blog_content_grid {
    display: grid;
    grid-template-columns: repeat(4, 250px);
    justify-content: center;
    gap: 20px;

    
}


.blog_card {
    min-height: 150px;

    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 0 10px -2px var(--primaria);

    text-align: center;
    transition: all .3s ease;

    
}

.blog_card p {
    text-align: justify;
    font-size: .8rem;
    opacity: .8;
}

.blog_card .img_content {
    flex: 1;
    height: 70px;

    display: flex;
    justify-content: center;
    align-items: center;

}

.blog_card:hover {
    transform: scale(1.05);
}

.blog_card .img_content img {
    width: 200px;
    height: 100px;
    border-radius: 16px;
    overflow: hidden;
}

.blog_content_main {
    padding: 20px;
    gap: 30px;
}


.news_img_content {
    height: 500px;
}

.news_img_content img {
    max-width: 100%;
    height: 100%;
}

.grid_s {
    justify-content: start;
    grid-template-columns: repeat(5, 1fr);
    overflow: auto;
}


.content_img_overlay {
    position: absolute;
    top: 0;
    left: 0;

    background-color: #000000dc;

    width: 100%;
    height: 100%;

    display: none;
    justify-content: center;
    align-items: center;
    cursor: pointer;

}

.content_infos p {
    text-align: justify;
}

.content_img_overlay.ative {
    display: flex;
    padding: 1rem;
}

.centent_img_box {
    width: 100%;
    max-width: 1000px;
    height: 85%;
    position: relative;

    justify-content: center;
    align-items: center;


}


.centent_img_box .btn_close {
    position: absolute;
    right: 10px;
    top: 10px;
    z-index: 99;
}

.centent_img_box .content_img {
   width: 100%;
}

.centent_img_box .content_img  img {
    position: absolute;
    display: none;
}

.centent_img_box .content_img  img.ative {
    display: flex;
}



.content_img_overlay img {
    width: 100%;
    height: 100%;
    border-radius: 16px;

    max-width: 100px;
}

.blog_card_img {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;

    width: 100%;
    max-width: 400px;
    max-height: 300px;
}

.blog_card_img img {
    max-width: 100%;
    min-height: 100%;
}

@media (max-width: 700px) {
    .blog_content_grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .blog_card {
        max-width: 180px;
    }
    .grid_s  {
        grid-template-columns: repeat(2, 1fr);
    }

    .centent_img_box .content_img  {
        max-height: 200px;
    }
    .content_img_overlay .centent_img_box {
        max-height: 200px;
    }
    .news_img_content {
        max-height: 300px;
    }

    
}


