.acfp-filter {
    text-align: center;
    margin-bottom: 40px;
}

.acfp-category-button {
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    color: #555;
    cursor: pointer;
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    padding: 12px 24px;
    margin: 5px;
    transition: all .25s ease;
}

.acfp-category-button:hover {
    background: #e9ecef;
    color: #111;
}

.acfp-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

.acfp-post-card {
    background: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    overflow: hidden;
    transition: all .25s ease;
    height: 100%;
}

.acfp-post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
}

.acfp-post-thumbnail {
    height: 240px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.acfp-post-content {
    padding: 28px;
}

.acfp-post-title {
    margin: 0 0 25px!important;
    padding: 0;
    font-family: 'Urbanist', Helvetica, Arial, sans-serif;
    font-size: 15px!important;
    font-weight: 700;
    line-height: 1.15;
}

.acfp-post-title a {
    color: #111111;
    text-decoration: none;
}

.acfp-post-title a:hover {
    color: #111111;
}

.acfp-post-date {
    color: #7b7b7b !important;
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 20px;
}

.acfp-post-title,
.acfp-post-title a {
    font-size: 20px !important;
    line-height: 1.3 !important;
    font-weight: 700 !important;
}

.acfp-post-excerpt {
    color: #555555;
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 24px;
}

.acfp-read-more {
    color: #2f9cf4;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    transition: all .2s ease;
}

.acfp-read-more:hover {
    text-decoration: underline;
}

@media (max-width: 980px) {

    .acfp-posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .acfp-post-title {
        font-size: 28px;
    }
}

@media (max-width: 767px) {

    .acfp-posts-grid {
        grid-template-columns: 1fr;
    }

    .acfp-post-thumbnail {
        height: 220px;
    }

    .acfp-post-content {
        padding: 20px;
    }

    .acfp-post-title {
        font-size: 24px;
    }

    .acfp-category-button {
        width: 100%;
    }
}