.posts-filtro-container .filtro-flex-container {
    flex-direction:row !important;
}
.posts-filtro-container .filtro-flex-container .form-group {
    width:auto !important;
}
.posts-listado {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 2rem;
    background: #F7F7F7;
}
.posts-listado .post-item {
    margin-right:0 !important;
    flex: 0 0 calc((100% - 6rem) / 4);
}
.posts-listado .post-item .item-inner {
    background:white;
}
.posts-paginacion {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 10px;
}
.posts-paginacion .button {
    border:1px solid black;
    padding:4px 10px;
    font-size: 0.7rem;
    height:30px;
    width:30px;
    display:flex;
    align-items: center;
    justify-content: center;
}
.posts-paginacion .button.disabled {
    cursor: default;
    background-color:white;
    color: black;
}
.posts-paginacion .button.active {
    background-color:#870A1A;
    color: white;
}
.posts-paginacion .button:not(.disabled):hover {
    cursor:pointer;
    background-color:#870A1A;
    color: white;
}

/*POST DESTACADO*/
.post-destacado-container {
    position: relative;
    background: #081822;
    color:white;
    margin-bottom: 2rem !important;
}
.post-destacado-container .info {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 3rem 3rem;
    width: 45%;
}
.post-destacado-container .info:after {
    content: "";
    width: 10rem;
    height: 100%;
    background: #081822;
    position: absolute;
    left: calc(45% - 1px);
    z-index: 2;
    top: 0;
    clip-path: polygon(0% 100%, 0% 0%, 100% 0%);
    -webkit-clip-path: polygon(0% 100%, 0% 0%, 100% 0%)
}
.post-destacado-container .info .title {
    font-weight: 300;
    font-size: 30px;
    line-height: 36px;
}
.post-destacado-container .info .excerpt {
    font-weight:300;
    font-size:18px;
    line-height:28px;
}
.post-destacado-container .btn-block{
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: #F40826;
    height: 51.6px;
    border-radius:0;
    text-transform: uppercase;
    font-weight:500;
}
.post-destacado-container .btn-block {
    text-align: center;
    width: 30%;
}
.post-destacado-container .btn-block:after {
    content: "";
    width: clamp(18px, 1.5625vw, 30px);
    height: 100%;
    background: #000;
    opacity: 0.27;
    position: absolute;
    right: 0;
    top: 0;
    clip-path: polygon(100% 0, 0% 100%, 100% 100%);
    -webkit-clip-path: polygon(100% 0, 0% 100%, 100% 100%);
}
.post-destacado-container .img {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 1;
    width:55%;
}
.post-destacado-container .img img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

/* Medium devices (vertical tablets) */
@media (max-width: 991px) {

}
@media (min-width: 767px) and (max-width: 1023px) {
    .posts-listado .post-item {
        margin-right: 0 !important;
        flex: 0 0 calc((100% - 2rem) / 2);
    }
}
/* Small devices (landscape phones)  */
@media (max-width: 767px) {

}

/* Small devices (vertical phones) */
@media (max-width: 575px) {
    .posts-filtro-container .filtro-flex-container {
        flex-direction: column;
        flex-wrap: wrap;
    }

    .posts-filtro-container .filtro-flex-container .form-group {
        width: 100% !important;
        flex: 0 0 auto;
    }

    .posts-filtro-container .filtro-flex-container .form-button {
        width: 100%;
        flex: 0 0 auto;
        align-self: stretch;
    }

    .posts-listado {
        flex-direction: column;
        flex-wrap: wrap;
    }
    .posts-listado .post-item {
        width: 100%;
        flex: 0 0 auto;
    }

    .posts-listado .post-item {
        width: 100%;
        flex: 0 0 auto;
        align-self: stretch;
    }

    .post-destacado-container .info {
        width: 100%;
        padding: 1rem;
    }
    .post-destacado-container .info:after {
        width:0;
    }
    .post-destacado-container .img {
        display:none;
    }
}

