.blog-banner {
    margin-top: 103px;
    background-color: #1c1c1c;
    min-height: 55vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

body.admin-bar .blog-banner {
    margin-top: calc(103px - 32px);
}

.blog-banner .inner {
    width: 100%;
    max-width: 1450px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.blog-banner .flechitas {
    position: absolute;
    top: 0;
    right: 0;
}
.blog-banner h1 {
    color: #F9F7F1;
    font-family: 'Lexend';
    font-weight: 500;
    font-size: 90px;
    text-align: center;
    line-height: 120%;
    z-index: 1;
}
body {
    background-color: #1c1c1c;
}

.blog-home-content {
    background-color: #F9F7F1;
    padding: 80px 0;
}

.blog-home-content > .inner {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
}

.blog-home-content .filter-row, .blog-home-content .content-row {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.blog-home-content .filter-row > div:nth-child(1), .blog-home-content .content-row > div:nth-child(1) {
    flex-grow: 1;
}

.blog-home-content .filter-row > div:nth-child(2), .blog-home-content .content-row > aside {
    flex-basis: 300px;
    flex-grow: 0;
    flex-shrink: 0;
}

.blog-home-content .content-row {
    margin-top: 60px;
}

.blog-categories-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 8px;
    align-items: center;
}

.blog-categories-buttons button {
    display: inline-flex;
    border: 1px solid #1c1c1c;
    border-radius: 30px;
    align-items: center;
    padding: 2px 15px;
    cursor: pointer;
    font-weight: 300;
    font-size: 20px;
    transition-duration: .3s;
    background-color: unset;
}

.blog-categories-buttons button:hover {
    background-color: #35ABE1;
    border-color: #35ABE1;
    color: #f9f7f1;
}

input#blog-search {
    border-radius: 16px;
    border: 1px solid #1c1c1c;
    padding-right: 41px;
    background-color: #fff;
}

.search-box {
    position: relative;
}

.search-box button {
    position: absolute;
    right: 0;
    background-color: unset;
    top: 0;
    bottom: 0;
    padding: 0 10px;
    cursor: pointer;
}

.sidebar-latest-posts h2, h2.blog-grid-title {
    font-family: 'Lexend', sans-serif;
    font-weight: 300;
    font-size: 22px;
    margin-bottom: 30px;
}

.sidebar-latest-posts ul {
    display: flex;
    flex-direction: column;
    list-style: none;
    padding: 0;
    gap: 36px;
}

.sidebar-latest-posts ul li a {
    display: flex;
    gap: 25px;
    align-items: center;
}

.sidebar-latest-posts ul li a .latest-thumb img {
    width: 70px;
    height: 70px;
    object-fit: cover;
}

.sidebar-latest-posts ul li a .latest-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.sidebar-latest-posts ul li a .post-category {
    color: #585858;
    font-size: 14px;
}

.sidebar-latest-posts ul li a .post-title {
    color: #1c1c1c;
    font-size: 19px;
    line-height: 100%;
    font-weight: 300;
}

.sidebar-latest-posts ul li::after {content: "";position: absolute;bottom: -18px;left: 0;right: 0;height: 1px;background-color: #ADABAB;}

.sidebar-latest-posts ul li {
    position: relative;
}
.blog-spinner{padding:40px 0;text-align:center;font-weight:700;}
.js-posts-grid{transition:opacity .2s ease;}

.blog-categories-buttons button.active {
    background-color: #1c1c1c!important;
    color: #f9f7f1;
    border-color: #1c1c1c!important;
}

.post-item .txt {
    padding: 20px 25px 0;
}

.post-item p.date {
    color: #585858;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 18px;
    margin-bottom: 5px;
}

.post-item h3 {
    font-family: 'Lexend', sans-serif;
    font-weight: 400;
    font-size: 28px;
    margin-bottom: 5px;
    line-height: 125%;
}

.post-item .post-extract {
    font-size: 21px;
    font-weight: 300;
    line-height: 120%;
}

.post-extract p{
    overflow: hidden;
    display: -webkit-box;      /* soporte Safari/Chrome */
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;     /* ← 3 líneas */
            line-clamp: 3;     /* spec */
}

.post-item {
    width: 385px;
    margin-bottom: 32px;
    box-shadow: 0 4px 4px 0 #0000003b;
    box-shadow: 0px 1px 4px 0px #0c0c0d2b;
    background-color: #fff;
}
.pagination {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 40px;
    margin-bottom: 10px;
    margin-right: -330px;
}
.pagination .pages > a {
    padding: 5px;
    font-size: 18px;
    line-height: 100%;
}

.pagination .pages > a.active {
    color: #4788f1;
}

h2.blog-grid-title {
    font-weight: 400;
}
.pagination > .btn {
    flex-grow: 1;
    display: flex;
    align-items: center;
}

.pagination .pages {
    display: flex;
    gap: 5px;
}

.pagination > .btn:has(.next) {
    justify-content: flex-end;
}

.pagination .btn img {
    width: 13px;
}

.pagination > .btn a {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}
@media(max-width:575px){
    .post-item{width:100%;}             /* 1 columna */
}

.post-item .author {
    color: #4788F1;
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    margin-bottom: 20px;
}

span.latest-thumb {
    flex-shrink: 0;
}

@media (max-width: 1024px) {
    .blog-banner .flechitas {
        width: 100px;
    }
    
    .blog-banner h1 {
        font-size: 55px;
    }
    
    .blog-banner {
        min-height: 35vw;
        margin-top: 103px!important;
    }
    html {
        margin-top: 0!important;
    }
}

@media (max-width: 767px) {
    .blog-banner .flechitas {
        width: 80px;
    }
    
    .blog-banner h1 {
        font-size: 30px;
    }
    .blog-home-content .filter-row, .blog-home-content .content-row {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .blog-home-content .filter-row > div:nth-child(2),
    .blog-home-content .content-row > aside,
    .blog-home-content .filter-row > div:nth-child(1),
    .blog-home-content .content-row > div:nth-child(1) {
        flex-basis: fit-content;
        width: 100%;
    }
    .pagination {
        margin-right: 0;
    }
    
    .posts-grid {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    
    .blog-home-content .content-row {
        margin-top: 30px;
    }
    
    .post-item p.date {
        font-size: 16px;
    }
    
    .post-item h3 {
        font-size: 25px;
    }
    
    .post-extract p {
        font-size: 18px;
    }
}