.noticia_fondo{
    background-image: url('/static/img/textura_noticia.png');
    background-repeat: no-repeat; 
    background-size: cover;
}

.noticia_title{
    color: #E62F27; text-align: center;
}

.noticia_row{
    background-color: transparent
}

.noticia_destacada{
    padding: 0; border-radius: 20px; border: 0; background-color: transparent; box-shadow: 0 4px 12px rgba(0,0,0,0.1); transition: transform 0.3s ease;
}

.noticia_destacada:hover {
    transform: translateY(-5px);
}

.noticia_secundaria{
    box-shadow: 0 4px 12px rgba(0,0,0,0.1); transition: transform 0.3s ease; border-radius: 30px;
}

.noticia_secundaria:hover {
    transform: translateY(-5px);
}

.noticia_secundaria_btn{
    border-color: transparent;
}

.noticia_secundaria_btn_img{
    width: 15px;
}

.noticia_secundaria_span{
    color: #454545ff;
}

.noticia_secundaria_frag{
    text-align: justify; 
}

.noticia_secundaria_ver_mas{
    width: 100px;
}

.noticia_destacada_img{
    width: 100%; border-top-left-radius: 15px; border-left: 26px solid #006233;
}

.noticia_desatacada_date{
    color: #4545458c;
}

.noticia_destacada_color{
    color: #454545ff;
}

.comentarios_modal{
    overflow-y: auto; height: 800px
}

.comentarios_modal_title{
    color: #006233;  text-align: center
}

.comentarios_modal_item{
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.47); transition: transform 0.3s ease; border-radius: 5px;
}

.comentarios_modal_item_date{
    color: #006233;
}

.comentarios_modal_item_name{
    color: #F91E18;
}

.new_comentarios_modal{
    overflow-y: auto; height: 400px
}

.new_comentario_input{
    background-color: white; padding: 10px; font-size: 16px; border: 1px solid #006233; border-radius: 5px;
}

.new_comentario_input_display{
    display: none
}

.new_comentario_btn{
    padding: 12px; background-color: #006233; color: white; border: none; border-radius: 5px; font-size: 16px; cursor: pointer;
}

.new_comentario_form{
    display: grid; gap: 15px;
}

@media (min-width: 1000px) {
      .rownoticia {
        --bs-gutter-x: 1.5rem;
        --bs-gutter-y: 0;
        display: flex;
        flex-wrap: wrap;
        margin-top: calc(-1 * var(--bs-gutter-y));
        margin-right: calc(-.5 * var(--bs-gutter-x));
        margin-left: calc(-.5 * var(--bs-gutter-x))
      }
      .colnoticia {
        flex: 0 0 auto;
        width: 50%
      }
      .imgnoticia{
        height: 100%;
        width: 100%; border-radius: 20px;
      }
      .gruponoticiasecundarias {
        display: flex !important;
      }
      .firstitem {
        flex: 0 0 auto;
        width: 41.66666667%
      }
      .seconditem{
        flex: 1 0 0%;
      }
}
@media (max-width: 1000px) {
      .rownoticia {
        --bs-gutter-x: 1.5rem;
        --bs-gutter-y: 0;
        margin-top: calc(-1 * var(--bs-gutter-y));
        margin-right: calc(-.5 * var(--bs-gutter-x));
        margin-left: calc(-.5 * var(--bs-gutter-x))
      }
      .colnoticia {
        flex: 0 0 auto;
        width: 100%
      }
      .imgnoticia{
        height: 350px;
        width: 100%; border-radius: 20px;
      }
      .gruponoticiasecundarias {
        --bs-gutter-x: 1.5rem;
        --bs-gutter-y: 0;
        display: flex;
        flex-wrap: wrap;
        margin-top: calc(-1 * var(--bs-gutter-y));
        margin-right: calc(-.5 * var(--bs-gutter-x));
        margin-left: calc(-.5 * var(--bs-gutter-x));
      }
      .firstitem {
        }
      .seconditem{
        margin-right: 1rem !important;
        margin-left: 1rem !important

      }
}