/* Blog Pagination Styles */
.results-info {
    text-align: center;
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 4px;
    color: #666;
    font-size: 0.875rem;
}

.blog-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.pagination-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 2.5rem;
    padding: 0.5rem 0.75rem;
    background: #fff;
    border: 1px solid #ddd;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-weight: 500;
    line-height: 1;
}

.pagination-link:hover {
    background: #f5f5f5;
    border-color: #ccc;
    color: #333;
    text-decoration: none;
}

.pagination-link.active {
    background: #E70491;
    border-color: #E70491;
    color: #fff;
}

.pagination-link.active:hover {
    background: #c40378;
    border-color: #c40378;
    color: #fff;
}

.pagination-numbers {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.pagination-dots {
    padding: 0 0.5rem;
    color: #999;
    font-weight: bold;
}

.prev-page,
.next-page {
    font-weight: 600;
    padding: 0.5rem 1rem;
}

.prev-page:hover,
.next-page:hover {
    background: #E70491;
    border-color: #E70491;
    color: #fff;
}

/* Loading state */
.post-container--loading {
    opacity: 0.5;
    pointer-events: none;
    position: relative;
}

.post-container--loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2rem;
    height: 2rem;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #E70491;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    transform: translate(-50%, -50%);
    z-index: 10;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Responsive design */
@media (max-width: 768px) {
    .blog-pagination {
        gap: 0.25rem;
    }
    
    .pagination-link {
        min-width: 2rem;
        height: 2rem;
        padding: 0.25rem 0.5rem;
        font-size: 0.875rem;
    }
    
    .prev-page,
    .next-page {
        padding: 0.25rem 0.75rem;
    }
    
    /* Hide some page numbers on mobile */
    .pagination-numbers .pagination-link:not(.active):nth-child(n+6) {
        display: none;
    }
}

@media (max-width: 480px) {
    .blog-pagination {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .pagination-numbers {
        order: 1;
    }
    
    .prev-page {
        order: 0;
    }
    
    .next-page {
        order: 2;
    }
}

.post-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 20px;
    
} 

.archive-blogs-filter label {
    cursor: pointer;
}

.post-thumbnail {
    overflow: hidden;
    border-radius: 5px;
}

.post-thumbnail img {
    transform: scale(1);
    border-radius: 5px;
    height: 158px;
    object-fit: cover;
    width: 100%;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition:    all .3s ease-in-out;
    -o-transition:      all .3s ease-in-out;
    -ms-transition:     all .3s ease-in-out;
    transition:         all .3s ease-in-out;
}

.post-item:hover img {
    transform: scale(1.1);
}

.post-item {
    display: block;
}

.post-title  {
    margin-bottom: 10px;
    margin-top: 10px;
    font-size: 16px;
    font-weight: bold;
    color: #001B2F !important;
}

.post-excerpt {
    font-size: 14px;
    color: #808d97;
}

.read-more {
    color: #E70491;
    font-size: 14px;
    font-weight: bold;
}

.read-more svg {
    margin-left: 5px;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition:    all .3s ease-in-out;
    -o-transition:      all .3s ease-in-out;
    -ms-transition:     all .3s ease-in-out;
    transition:         all .3s ease-in-out;
}

.post-item:hover .read-more svg {
    margin-left: 10px;
}

.post-container--post {
    opacity: 1;
}

.post-container--loading {
    opacity: 0.8;
}
@media only screen and (max-width: 600px){

    .post-container {
        grid-template-columns: 1fr;
    }

}