.isap-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.isap-filter-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin: 1rem 0 2rem 0;
}

.isap-filter-button {
    padding: 0.5rem 1rem;
    background-color: #2281c5;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 1rem;
}

.isap-filter-button:hover {
    background-color: #ff6a00;
}

.isap-filter-button.selected {
    background-color: #ff6a00;
}

.isap-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.isap-post-item {
    display: flex;
    flex-direction: column;
    background-color: #f7f8fa;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.2s ease;
}

.isap-post-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.isap-post-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.isap-post-item-content {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.isap-post-item h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.05rem;
    line-height: 1.3;
}

.isap-post-item h3 a {
    text-decoration: none;
    color: #1a1a1a;
}

.isap-post-item h3 a:hover {
    color: #2281c5;
}

.isap-post-item p {
    flex: 1;
    font-size: 0.88rem;
    line-height: 1.6;
    color: #444;
    margin: 0 0 0.75rem 0;
}

.isap-readmore {
    display: inline-block;
    margin-top: auto;
    color: #2281c5;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}

.isap-readmore:hover {
    color: #ff6a00;
}

.isap-no-results {
    text-align: center;
    font-style: italic;
}

.isap-pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.isap-page-button {
    padding: 0.4rem 0.8rem;
    background-color: #2281c5;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.isap-page-button:hover {
    background-color: #ff6a00;
}

.isap-page-button.active {
    background-color: #ff6a00;
}

@media (max-width: 900px) {
    .isap-posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .isap-post-item img {
        height: 160px;
    }
}

@media (max-width: 600px) {
    .isap-posts-grid {
        grid-template-columns: 1fr;
    }

    .isap-post-item img {
        height: 200px;
    }
}
