.blog-container {
    max-width: 1600px !important;
    width: 100%;
    margin: 0 auto;
    padding: 20px 0px;
}

/* Filter Styles */
.blog-filters {
    padding: 20px;
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
}

.filter-form {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    align-items: flex-end;
}

.filter-group {
    display: flex;
    flex-direction: column;
    min-width: 200px;
}

.filter-group label {
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
}

.filter-group select {
    padding: 8px 0px;
    border: 0px;
    border-radius: 0px;
    font-size: 14px;
    border-bottom: 2px solid var(--navy);
    font-weight: 800;
    color: var(--navy);
}
.filter-group select:focus,
.filter-group select:focus-visible{
    outline: none;
}
.filter-submit {
    background: #fff;
    color: var(--navy);
    border: 2px solid var(--navy);
    padding: 7px 13px;
    border-radius: 0px;
    cursor: pointer;
    font-size: 16px;
    height: fit-content;
    font-weight: 700;
}


/* Posts Grid */
.blog-posts-grid {
    display: grid;
    /* grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); */
    grid-template-columns: auto auto auto;
    gap: 0px;
    margin-bottom: 40px;
}


.post-featured-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.post-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;    
    transition: 0.3s;
}

.blog-post-item:hover .post-thumbnail {
    transform: scale(1.05);
    transition: 0.3s;
}

.no-image-placeholder {
    width: 100%;
    height: 100%;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 14px;
}

.post-content {
    padding: 20px;
}

.post-title {
    margin: 0 0 10px 0;
    font-size: 18px;
    line-height: 1.4;
   
}

.post-title a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 24px;
}


.post-title a:focus,
.post-title a:focus-visible{
    outline: none;
}
.post-details {
    display: flex;
    justify-content: space-between;
    gap: 8px;
}

.post-date {
    color: #fff;
    font-size: 17px;
    padding-left: 23px;
    position: relative;
    font-weight: 400;
}
.post-date::before{
    content: '';
    width: 20px;
    height: 20px;
    background-image: url('/wp-admin/images/white-calendar.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    left: 0px;
}

.post-categories {
    font-size: 18px;
    font-weight: 400;
    color: #fff;
}

.category-label {
    color: #fff;
}

.post-categories a {
    color: #fff;
    text-decoration: none;
}

.post-categories a:hover {
    text-decoration: underline;
}

.post-excerpt {
    color: #fff;
    line-height: 1.4;
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 400;
}

.more-link {
    display: inline-block;
    color: white;    
    text-decoration: none;
    font-size: 18px;
    font-weight: 400;
}

.more-link:hover {
    background: #005a87;
    color: white;
}

/* No Posts Found */
.no-posts-found {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
    background: #f8f9fa;
    border-radius: 8px;
}

/* Pagination */
.blog-pagination {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    gap: 10px;
    font-weight: 500;
    padding: 30px 0px;
}

.blog-pagination .page-numbers {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 5px;
    color: var(--navy);
    padding: 0px 4px;
    text-decoration: none;
}
.blog-pagination .page-numbers.current{
    border: 2px solid var(--navy);
}
.blog-pagination .page-numbers.prev{
    margin-right: 30px;
}
.blog-pagination .page-numbers.next{
    margin-left: 30px;
}

.blog-pagination .page-numbers li {
    margin: 0;
}
.blog-container.other-news .blog-post-item{
    max-width: 40%;
}
.blog-posts-grid .blog-post-item:first-child{
    background-color: var(--orange);
}
.blog-posts-grid .blog-post-item:nth-child(2){
    background-color: var(--darkNavy);
}
.blog-posts-grid .blog-post-item:nth-child(3){
    background-color: var(--magenta);
}

.blog-container.other-news{
  padding-bottom: 0px;
}
.blog-container.other-news .blog-posts-grid{
    margin-bottom: 0px;
}
/* Responsive Design */
@media screen and (max-width: 1000px){
    .post-details{
        flex-wrap: wrap;
    }
    .post-details .post-more-button{
        flex-basis: 100%;
    }
}
@media screen and (max-width: 800px){
    /* Posts Grid */
    .blog-posts-grid {
        display: grid;
        /* grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); */
        grid-template-columns: auto;
        gap: 0px;
        margin-bottom: 40px;
    }
}
@media (max-width: 768px) {    

    .post-excerpt{
        line-height: 1.2;
    }
    .blog-container.other-news .blog-post-item{
        max-width: unset;
    }
}

@media (max-width: 480px) {
    
    .post-content {
        padding: 15px;
    }
    
    .post-title {
        font-size: 16px;
    }
}


