.conten_bm{
    display: flex;
    width: 100%;
    flex-direction: row;
    justify-content: center;
    margin-top: 0px;
    padding-top: 20px;
    background: white;
    padding-bottom: 100px;
    position: relative;
    z-index: 200;
}
.sidebar_blog{
    display: flex;
    width: 20%;
    flex-direction: column;
    flex-wrap: wrap;
    text-align: center;
    max-width: 315px;
}

.sidebar_blog .widget{
    display: flex;
    width: 100%;
    flex-direction: column;
    justify-content: center;
    margin-top: 5px;
}
.sidebar_blog .widget h3{
    color: #D31145;
    font-size: 12px;
    text-align: left;
    margin-bottom: 0px;
    font-family: 'Alright Sans Ultra';
}

.sidebar_blog .widget form{
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.sidebar_blog .widget form label{
    width: 100%;
    max-width: 256px;
    height: 100%;
    max-height: 44px;
    margin-bottom: 0px;
}

.sidebar_blog .widget form .search_blog{
    width: 100%;
    max-width: 256px;
    height: 100%;
    max-height: 44px;
    border: 1px solid #C0C0C0;
    margin-bottom: 24px;
}
.sidebar_blog .widget [type=submit], .tax-blog_category [type=submit]{
    top: 1px !important;
    background-color: #fff !important;
    min-width: 36px !important;
    height: 20px;
    padding: 10px;
    right: 2px !important;
    width: 44px;
}

/* @media screen and (min-width: 1366px){
    .page-id-5969 [type=submit]{
        right: 40% !important;
    }
} */

.sidebar_blog .widget .search-form {
    position: relative;
    width: 100%;
    max-width: 256px;
}

.sidebar_blog .widget .search-submit {
    position: absolute;
    top: 0;
    right: 0;
}

.sidebar_blog hr {
    width: 100%;
    max-width: 256px;
    border: 1px solid #C0C0C0;
    margin: 0px;
    margin-bottom: 24px;
    opacity: 0.5;
}

.contenedor_blog #single{
    margin-top: 115px;
    max-width: 300px;
    margin-right: 48px;
}

.categorias_blog_2{
    display: none;
}

.categorias_blog{
    display: flex;
    flex-direction: column;
    text-align: left;
}

.categorias_blog .enlace_b{
    margin-bottom: 24px;
}

.categorias_blog #categorias_h{
    color: #CD123C;
    font-size: 16px;
    text-align: left;
    font-weight: 900;
    font-family: 'Alright Sans Black';
}

.categorias_blog ul{
    margin: 0px !important;
}

.categorias_blog ul li{
    margin-bottom: 17px;
}

.categorias_blog ul li a{
    font-size: 16px;
    font-family: 'Alright Sans Regular';
    color: #000000;
}

.contenido_bm{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 65%;
    height: 100%;
    background: white;
    max-width: 900px;
}

.tarjetas_blog{
    display: flex;
    width: 100%;
    max-width: 845px;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
}

.tarjeta_blog{
    display: flex;
    flex-direction: column;
    width: 50%;
    max-width: 408px;
    height: 100%;
    max-height: 666px;
    padding: 16px 16px;
    /* margin-right: ; */
}

.tarjeta_blog:hover{
    box-shadow: 0px 16px 48px #5454541F;
}

.tarjeta_blog .cont_img_a{
    margin-bottom: 25px;
    height: 100%;
    max-height: 376px;
    overflow: hidden;
}

.tarjeta_blog img{
    width: 100%;
    max-width: 376px;
    height: 100%;
    min-height: 376px;
    object-fit: cover;
}

.tarjeta_blog .fecha_autor{
    display: flex;
    width: 100%;
    max-width: 376px;
    flex-direction: row;
    justify-content: space-between;
    margin-bottom: 16px;
}

.tarjeta_blog .fecha_autor p{
    font-family: 'Alright Sans Regular';
    font-size: 10px;
    color: #000000;
    margin-bottom: 0px;
    opacity: 0.6;
    text-transform: uppercase;
}

.tarjeta_blog .titulo_b{
    font-size: 18px;
    font-family: "Alright Sans";
    font-weight: 600;
    text-transform: none;
    text-align: left;
    margin-bottom: 24px;
    /* height: 39px; */
    /* overflow-y: hidden; */
    line-height: 20px;
}

.tarjeta_blog .texto_card p{
    font-family: 'Alright Sans Regular';
    font-size: 14px;
    overflow-wrap: break-word;
    color: #000000;
    margin-bottom: 40px;
    /* height: 63px; cambio l*/ 
    overflow-y: hidden;
    line-height: 18px;
}

.tarjeta_blog .enlace_blog{
    font-family: 'Alright Sans Black';
    font-size: 12px;
    text-align: left;
    text-decoration: underline;
    color: #CD123C;
    font-weight: 900;
}

#load-more-entries{
    width: 176px;
    height: 42px;
    background: #D31145;
    text-align: center;
    color: white;
    margin: auto;
    margin-top: 20px;
    font-size: 14px;
    font-weight: 900;
    font-family: 'Alright Sans';
    margin-bottom: 60px;
}


/* Estilos para blog */
.page-template-archive-blog .encabezado-p .bg_e{
    position: fixed;
}

.page-template-archive-blog #site-header #main-nav{
    background: transparent linear-gradient(180deg, #00000099 0%, #00000000 100%) 0% 0% no-repeat padding-box;

}

.page-template-archive-blog #site-header #main-nav.fixed {
    /* position: fixed !important; */
    /* top: 25px !important; */
    z-index: 300;
}

.page-template-archive-blog .encabezado-p #titulo_p{
    position: fixed;
}


/* Taxonomy */
.tax-blog_category .conten_bm{
    margin-top: 130px;
}

.contenido_bm .p_r_slider{
    display: none;
}


/* Post destacados */
.post_destacados{
    width: 100%;
    display: flex;
    flex-direction: column;
}

.post_destacados h2{
    font-family: 'Alright Sans Black';
    text-align: left;
    font-size: 16px;
    color: #CD123C;
    margin-bottom: 32px;
    font-weight: 900;
}

.post_destacados .destacado{
    display: flex;
    flex-direction: row;
    margin-bottom: 40px;
}

.post_destacados .destacado img{
    width: 100%;
    max-width: 72px;
    margin-right: 16px;
}

.post_destacados .destacado .destacado_info{
    width: 100%;
    max-width: 152px;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.post_destacados .destacado .destacado_info p{
    font-family: 'Alright Sans Regular';
    font-size: 10px;
    color: #000000;
    opacity: 0.5;
    margin-bottom: 0px;
    text-transform: uppercase;
}

.post_destacados .destacado .destacado_info h5{
    text-transform: none;
    padding: 0 0;
    margin-bottom: 0;
    max-height: 50px;
    overflow-y: hidden;
}

.post_destacados .destacado .destacado_info h5 a{
    font-size: 12px;
    color: #000;    
    font-family: 'Alright Sans';
    font-weight: 600;
}

/* ruta de navegacion */

.contenido_blog .ruta_n_2{
    display: none;
}

.contenedor_blog .sidebar_blog .ruta_n{
    display: flex;
    flex-direction: row;
    width: 100%;
    max-width: 217px;
    margin-bottom: 99px;
    margin-top: 30px;
}


.contenedor_blog .sidebar_blog .ruta_n #r_b, .contenido_blog .ruta_n_2 #r_b{
    font-family: 'Alright Sans Black';
    font-size: 12px;
    color: #CD123C;
    font-weight: 900;
}

.contenedor_blog .sidebar_blog .ruta_n #r_b:hover, .contenido_blog .ruta_n_2 #r_b:hover{
    text-decoration: underline;
}

.contenedor_blog .sidebar_blog .ruta_n img, .contenido_blog .ruta_n_2 img{
    width: 20px;
    height: 20px;
}

.contenedor_blog .sidebar_blog .ruta_n p, .contenido_blog .ruta_n_2 p{
    font-family: 'Alright Sans Regular';
    font-size: 14px;
    color: #000000;
    text-align: left;
    width: 200px;
    text-wrap: nowrap;
    overflow: hidden;
}

.conten_bm .sidebar_blog .ruta_n_3{
    display: flex;
    flex-direction: row;
    width: 217px;
    margin-bottom: 0px;
    margin-top: 0px;
}
.conten_bm .sidebar_blog .ruta_n_3 a{
    font-family: 'Alright Sans Black';
    font-size: 12px;
    color: #CD123C;
    font-weight: 600;
}

.conten_bm .sidebar_blog .ruta_n_3 p{
    font-family: 'Alright Sans Regular';
    font-size: 14px;
    color: #000000;
    text-align: left;
    width: 120px;
    text-wrap: nowrap;
    overflow: hidden;
}

@media screen and (max-width: 1100px){
    .tarjeta_blog .cont_img_a{
        max-height: 325px;
    }
    .tarjeta_blog img{
        min-height: 325px;
    }
}

@media screen and (max-width: 900px){
    .tarjeta_blog .cont_img_a{
        max-height: 260px;
    }
    .tarjeta_blog img{
        min-height: 260px;
    }
}

@media screen and (max-width: 600px){
    .tarjeta_blog .cont_img_a{
        max-height: 238px;
    }
    .tarjeta_blog img{
        min-height: 238px;
    }
}

@media screen and (max-width: 500px){
    .tarjeta_blog .cont_img_a{
        max-height: 205px;
    }
    .tarjeta_blog img{
        min-height: 205px;
    }
}

@media screen and (max-width: 400px){
    .tarjeta_blog .cont_img_a{
        max-height: 160px;
    }
    .tarjeta_blog img{
        min-height: 160px;
    }
}

@media screen and (max-width: 360px){
    .tarjeta_blog .cont_img_a{
        max-height: 142px;
    }
    .tarjeta_blog img{
        min-height: 142px;
    }
}

@media screen and (max-width: 1100px){
    .post_destacados .destacado .destacado_info{
        padding-left: 5px;
    }
    .post_destacados .destacado .destacado_info h5 a{
        font-size: 10px;
    }
}

@media screen and (max-width: 800px){
    .contenido_blog .ruta_n_2{
        display: flex;
        flex-direction: row;
        width: 100%;
        justify-content: start;
        margin-bottom: 20px;
        margin-left: -20%;
    }   

    .contenido_blog{
        margin-top: 125px;
    }
}

@media screen and (max-width: 767px){
    .contenido_blog {
        margin-top: 15px;
        width: 80%;
    }
    .tax-blog_category .conten_bm{
        margin-top: 1px;
    }
}

/* Blog */

@media screen and (max-width: 800px){
    .conten_bm{
        flex-direction: column;
        align-items: center;
    }

    .contenido_bm{
        width: 90%;
    }

    .sidebar_blog{
        width: 90%;
        max-width: 800px;
        align-items: center;
    }
    .sidebar_blog .widget{
        align-items: center;
    }
    .sidebar_blog .widget .search-form {
        max-width: 300px;
    }
    .sidebar_blog .widget form label {
        max-width: 300px;
    }
    .sidebar_blog .widget form .search_blog {
        max-width: 300px;
    }
    .post_destacados{
        display: none;
    }
    .sidebar_blog hr{
        display: none;
    }
    .categorias_blog{
        display: none;
    }
    .categorias_blog_2{
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 16px;
        width: 100%;
        margin-bottom: 20px;
    }
    .categorias_blog_2 .categorias_2{
        display: flex;
        flex-direction: column;
        align-items: start;
        width: 100%;
        max-width: 328px;
        margin-right: 30px;
    }
    .categorias_blog_2 h2{
        color: #CD123C;
        font-size: 12px;
        text-align: center;
        margin-bottom: 0px;
    }
    .categorias_blog_2 #blog-category-select{
        appearance: auto;
        /* font-size: 15px; */
        font-size: 13px;
        padding: 0px !important;
        margin-bottom: 0px !important;
        border: 1px solid #C0C0C0;
        width: 100%;
        height: 44px;
    }
    /* select 2 */
    .categorias_blog_2 .ordenamiento-select{
        flex-direction: column;
        align-items: start;
        width: 100%;
        max-width: 328px;
        padding: 0px;
    }
    .categorias_blog_2 .ordenamiento-select #ordenamiento{
        max-width: 328px;
        border-radius: 0px;
        border: 1px solid #C0C0C0;
        height: 44px;
        font-size: 13px;
        color: #000;
        font-family: 'Alright Sans';
        padding: 0px;
    }
    .categorias_blog_2 .ordenamiento-select label{
        color: #CD123C;
        font-size: 12px;
        margin: 0px;
        margin-bottom: -3px;
        font-family: 'Alright Sans';
    }
    @media screen and (max-width: 500px){
        .categorias_blog_2{
            padding: 9px;
        }
        .categorias_blog_2 .categorias_2{
            margin-right: 20px;
        }
    }

    /* select 2 */
    .conten_bm .sidebar_blog .ruta_n_3{
        margin-bottom: 0px;
        margin-top: -10px;
        margin-left: -75%;
    }
     .contenido_bm .p_r_slider{
        width: 100%;
        display: flex !important;
        flex-direction: column;
        align-items: center;
        height: 350px;
    }
    .contenido_bm .p_r_slider h2{
        font-family: 'Alright Sans Ultra';
        text-align: left;
        font-size: 23px;
        color: #CD123C;
        margin-bottom: 32px;
    }
     .p_r_slider .slide-img .post_info{
        display: flex;
        flex-direction: column;
        width: 100%;
        max-width: 200px;
    }
    
     .p_r_slider .slide-img .post_info .fecha_autor{
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        color: #000;
        text-transform: uppercase;
        opacity: 0.7;
        margin-bottom: 16px;
        margin-top: 5px;
        max-width: 228px;
    }
    
    .p_r_slider .slide-img .post_info .fecha_autor p{
        font-size: 8px;
        margin: 0;
    }
    
    .p_r_slider .slide-img .post_info h5{
        max-width: 228px;
    }
    
    .p_r_slider .slide-img .post_info h5 a{
        font-size: 14px;
        color: #000;
        text-transform: none;
        text-align: left;
        margin-bottom: 0px;
        overflow-wrap: break-word;
        font-family: 'Alright Sans';
        font-weight: 600;
        display: flex;
        height: 56px;
        overflow-y: hidden;
        line-height: 1.3;
}
    
    
    .p_r_slider .slide-img .post_info .link_r{
        font-size: 11px;
        color: #CD123C;
        text-align: left;
        text-decoration: underline;
        margin-bottom: 0px;
        font-weight: 900;    
    }
    
    .p_r_slider .slide-img .r-imagen{
        width: 100%;
        max-width: 200px;
    }

    .p_r_slider .slide-img .r-imagen img{
        max-width: 200px;
    }
    
}

/* slider */
.p_r_slider .wrapperr_b{
    display: flex;
    width: 100%;
    position: relative !important;
}
.p_r_slider .wrapperr_b i{
    top: 42%;
    height: 32px;
    width: 32px;
    cursor: pointer;
    font-size: 1.15rem;
    position: absolute !important;
    text-align: center;
    line-height: 44px;    
    transform: translateY(-50%);
    transition: transform 0.1s linear;
    z-index: 3;
}

.p_r_slider .wrapperr_b i:active{
    transform: translateY(-50%) scale(0.9);
}

.p_r_slider .wrapperr_b i:first-child{
    left: 0px;
    z-index: 10;
    /* display: none; */
}
.p_r_slider .wrapperr_b i:last-child{
    right: 150px !important;
    z-index: 2;
    /* left: 95%; */
    /* transform: translateX(90%); */
}
.p_r_slider .wrapperr_b .carousell_b{
    font-size: 0px;
    overflow: hidden !important;
    scroll-behavior: smooth !important;
    display: flex;
    height: 400px;
    flex-direction: row;
}


.p_r_slider .carousell_b .slide {
    max-width: 180px;
    max-height: 330px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 20px;
    padding: 5px 15px;
    box-shadow: 0px 16px 30px #5454541F;
}

/* .p_r_slider .carousell_b .slide:hover{
    box-shadow: 0px 16px 30px #5454541F;
} */


.p_r_slider .slide .overlay{
    top: -218px;
    bottom: -228px !important;
    left: -1px !important;
    width: 99% !important;
    background: #000;
}

.p_r_slider .slide:last-child .overlay{
    width: 100% !important;
}


/* Estilos para el texto que aparece sobre la imagen */
.p_r_slider .carousell_b .slide .image-text {
    max-width: 300px !important;
    position: absolute;
    bottom: -900%; /* Alinea el texto en la parte inferior de la diapositiva */
    left: 0;
    right: 0;
    color: #000; /* Color del texto */
    padding: 8px; /* Espaciado interior del texto */
    font-size: 14px; /* Tamaño de fuente del texto */
    text-align: center; /* Centra el texto horizontalmente */
    margin: 0 auto !important;
    font-weight: bold;
    font-size: 24px;
    z-index: 2;
    overflow-wrap: break-word !important;
}

.p_r_slider .carousell_b .slide:first-child{
    margin-left: 100px;
}

.p_r_slider .carousell_b .slide:last-child{
    margin-right: 200px !important;
}

.p_r_slider .carousell_b #imgg_b{
    display: inline;
    z-index: 2;
    /* padding: 50px */
}

.p_r_slider .slide .slide-img{
    width: 368.77px;
}


.p_r_slider .carousell_b.dragging{
    cursor: grab !important;
    scroll-behavior: auto !important;
}
.p_r_slider .carousell_b.dragging #imgg_b{
    pointer-events: none !important;
}

/* .carousell_b #imgg_b:first-child{
    margin-left: 100px !important;
} */


.p_r_slider .wrapperr_b .custom_icon_izq {
    background-image: url('../images-blog/flecha-izq.png') !important;
    background-size: cover; 
    background-repeat: no-repeat; 
}

.p_r_slider .wrapperr_b .custom_icon_der {
    background-image: url('../images-blog/flecha-der.png') !important;
    background-size: cover; 
    background-repeat: no-repeat; 
}

@media screen and (max-width: 900px) {
    .p_r_slider .carousell_b #imgg_b{
        width: 100%;
        max-width: 200px
    }
    .p_r_slider .carousell_b .slide .image-text{
        bottom: -1000%;
    }
    .p_r_slider .carousell_b .slide::before{
        padding: 62% 49.3%;
    }

}

@media screen and (max-width: 800px){

    .p_r_slider .wrapperr_b i:last-child{
        right: 7px !important;
    }

    .p_r_slider .carousell_b .slide .image-text{
        bottom: -750%;
        font-size: 18px;
    }
    .p_r_slider .carousell_b .slide::before{
        padding: 62% 49.3%;
    }

    .p_r_slider .carousell_b .slide:first-child {
        margin-left: 40px !important;
    }
    .p_r_slider .carousell_b .slide:last-child {
        margin-right: 66px !important;
    }
}

@media screen and (max-width: 670px){
    .p_r_slider .carousell_b .slide:first-child {
        margin-left: 39px;
    }
    .p_r_slider .wrapperr_b i:first-child {
        left: 7px;
    }
}




@media screen and (max-width: 600px){
    .tarjeta_blog p{
        margin-bottom: 30px;
    }
}

@media screen and (max-width: 500px){
    .tarjeta_blog .titulo_b {
        font-size: 12px;
        margin-bottom: 10px;
        /* height: 35px; cambio l */
    }
    .tarjeta_blog p {
        font-size: 11px;
        margin-bottom: 20px;
    }
    .tarjeta_blog{
        padding: 15px 10px;
    }
    .tarjeta_blog .enlace_blog {
        font-size: 10px;
    }
    #load-more-entries {
        width: 150px;
        height: 35px;
        font-size: 12px;
    }
    .tarjeta_blog .cont_img_a {
        margin-bottom: 10px;
    }
}

@media screen and (max-width: 550px){
    .contenido_bm .p_r_slider .carousell_b #imgg_b {
        width: 100%;
    }
}

@media screen and (max-width: 360px){
    .contenido_bm .p_r_slider .slide-img .post_info h5 {
        max-width: 160px;
        margin-bottom: 0px;
    }
}

/* taxonomi */
@media screen and (max-width: 710px){
    .conten_bm .sidebar_blog .ruta_n_3 {
        margin-left: -63%;
    }
}

@media screen and (max-width: 550px){
    .conten_bm .sidebar_blog .ruta_n_3 {
        margin-left: -53%;
    }
}

@media screen and (max-width: 430px){
    .conten_bm .sidebar_blog .ruta_n_3 {
        margin-left: -40%;
    }
}

/* SELECT */
.ordenamiento-select{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    max-width: 845px;
    padding: 16px 16px;
    justify-content: end;
    align-items: center;
}

.ordenamiento-select label{
    font-family: 'Alright Sans Black';
    font-size: 13px;
    margin-right: 10px;
}

.ordenamiento-select #ordenamiento{
    /* appearance: none !important;
	-webkit-appearance: none !important; */
    display: flex;
    width: 100%;
    max-width: 225px;
    padding: 5px 7px;
    margin-bottom: 0px;
    font-size: 13px;
    appearance: menulist;
    border-radius: 30px;
    border: 2px solid #CD123C;
    color: #CD123C;
    font-family: 'Alright Sans Black';
}

@media screen and (max-width: 800px){
    #ordenamiento_1{
        display: none;
    }
}

@media screen and (max-width: 670px){
    .tarjeta_blog .cont_img_a{
        margin-bottom: 12px;
    }
    .tarjeta_blog .titulo_b{
        margin-bottom: 12px;
    }
    .tarjeta_blog .texto_card p{
        margin-bottom: 12px;
    }
    .tarjeta_blog .fecha_autor{
        margin-bottom: 12px;
    }
    /*  */
    .desktop_title{
        display: none;
    }
    .mobile_title{
        display: block !important; 
    }
}

@media screen and (min-width: 670px){
    .desktop_title{
        display: block !important;
    }
    .mobile_title{
        display: none !important; 
    }
}

@media screen and (max-width: 450px){
    .tarjeta_blog .fecha_autor p {
        font-size: 9px;
    }

}