.blog-filter-header {
    margin-bottom: 42px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.blog-filter-header .view-all-lnk {
    color: #223C6A;
    transition: all 0.3s;
    font-size: 18px;
    font-weight: 500;
    text-decoration: none;
}
.blog-filter-header .view-all-lnk:hover svg {
    transform: translateX(3px);
}
.blog-filter-header .view-all-lnk svg {
    margin: 0 0 0 5px;
    transition: all 0.3s;
}

.category-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: inline-flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    width: 100%;
    margin: 0 0 30px;
}

.category-menu .filter-btn {
    cursor: pointer;
    border-radius: 12px;
    background: #E9E9E9;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 400;
    font-family: "Roboto", sans-serif;
    color: #1C1C1C;
    min-height: 49px;
    padding: 0 20px;
    display: inline-flex;
    align-items: center;
}

.category-menu .filter-btn:hover {
    background: #ccc;
    color: #1C1C1C;
}

.category-menu .filter-btn.active {
    background: #1C1C1C;
    color: #fff;
}

.blog-posts-container .posts-wrapper{
    position: relative;
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(3, minmax(250px, 1fr));
    min-height: 300px;
}
.blog-posts-container .loader-holder {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.blog-post-item {
    background: #fff;
    padding: 16px;
    border-radius: 16px;
    transition: transform 0.3s ease;
    border: 1px solid #E9E9E9;
    max-width: 412px;
}
.blog-post-item-top {
    display: flex;
    align-items: center;
}
.blog-post-item-top .read-time {
    color: #636363;
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 0 10px;
}
.blog-post-item .post-thumbnail {
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
    margin: 0 0 20px;
}
.blog-post-item .post-thumbnail img{
    display: block;
    min-height: 280px;
    width: 100%;
    max-height: 280px;
    object-fit: cover;
    transition: all 0.5s;
}
.blog-post-item:hover .post-thumbnail img {
    transform: scale(1.04);
}
.blog-post-item h3 a,
.blog-post-item h3 {
    font-family: "Open Sans", sans-serif;
    font-size: 24px;
    line-height: 140%;
    font-weight: 600;
    color: #000;
    text-decoration: none;
}
.blog-post-item h3 {
    margin: 15px 0;
}
.blog-post-item .post-excerpt {
    margin: 10px 0 20px;
    font-size: 16px;
    font-weight: 400;
    line-height: 120%;
    color: #636363;
}
.blog-post-item .post-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.blog-post-item .post-meta .post-date {
    color: #636363;
    font-size: 16px;
}
.blog-post-item  .post-tag {
    background: #EFF7FF;
    border-radius: 24px;
    padding: 6px 15px;
    min-height: 33px;
    display: inline-flex;
    align-items: center;
    color: #223C6A;
    font-size: 14px;
    font-weight: 600;
}
.blog-post-item .post-meta .author-avatar {
    display: flex;
    align-items: center;
}
.blog-post-item .post-meta .author-avatar img {
    border-radius: 24px;
    margin: 0 10px 0 0;
}
.blog-post-item .post-meta .author-avatar .author-name {
    color: #636363;
    font-size: 16px;
}
.loader-holder {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 100px 0;
    position: absolute;
    width: 100%;
}

.spinner {
    width: 50px;
    height:50px;
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-left-color: #000;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.blog-grid-block .loader {
    width: 50px;
    height: 50px;
    border: 3px solid #ccc;
    border-top: 3px solid #223C6A;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 100px auto;
    position: absolute;
    left: 48%;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

.blog-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    flex-wrap: wrap;
}
.pagination-controls {
    gap: 8px;
    display: flex;
    align-items: center;
}
.blog-pagination .dots {
    cursor: not-allowed!important;
}
.blog-pagination .dots,
.blog-pagination .page-btn {
    width: 50px;
    height: 50px;
    cursor: pointer;
    color: rgba(28, 28, 28, 1);
    font-size: 14px;
    font-weight: 400;
    align-items: center;
    display: inline-flex;
    border: 1px solid rgba(34, 60, 106, 0.24);
    background: none;
    text-align: center;
    border-radius: 12px;
    outline: none;
    justify-content: center;
    transition: all 0.3s;
}
.blog-pagination .page-btn:hover,
.page-btn.active {
    background: rgba(34, 60, 106, 1);
    color: white;
}
.blog-pagination .page-btn.prev-btn:hover svg path,
.blog-pagination .page-btn.next-btn:hover svg path{
    fill: #fff;
}
@media (max-width: 460px) {
.pagination-controls {
    gap: 3px;
}
.blog-pagination .dots, .blog-pagination .page-btn {
    width: 35px;
    height: 35px;
    font-size: 12px;
    border-radius: 8px;
}
}