.ffp-filter-container {
    background: #fff;
    padding: 20px;
    margin-bottom: 30px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
}

.ffp-filter-group {
    margin-bottom: 20px;
}

.ffp-filter-group:last-child {
    margin-bottom: 0;
}

.ffp-filter-label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.ffp-filter-select,
.ffp-filter-checkboxes,
.ffp-filter-buttons {
    width: 100%;
}

.ffp-filter-select {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    background: #fff;
}

.ffp-checkbox-label {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    cursor: pointer;
}

.ffp-checkbox-label input {
    margin-right: 8px;
    transform: scale(1.2);
}

.ffp-filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ffp-filter-button {
    padding: 8px 16px;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
}

.ffp-filter-button:hover {
    background: #f5f5f5;
}

.ffp-filter-button.active {
    background: #0073aa;
    color: #fff;
    border-color: #0073aa;
}

.ffp-count {
    font-size: 12px;
    color: #666;
}

.ffp-reset-filters {
    margin-top: 15px;
    padding: 10px 20px;
    background: #f44336;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.2s;
}

.ffp-reset-filters:hover {
    background: #d32f2f;
}

.ffp-results-container {
    min-height: 400px;
}

.ffp-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.ffp-post-item {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}

.ffp-post-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.ffp-post-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.ffp-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ffp-post-content {
    padding: 20px;
}

.ffp-post-title {
    margin: 0 0 10px;
    font-size: 18px;
}

.ffp-post-title a {
    color: #333;
    text-decoration: none;
}

.ffp-post-title a:hover {
    color: #0073aa;
}

.ffp-post-excerpt {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.ffp-no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: #666;
    font-size: 18px;
}

.ffp-pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.ffp-pagination button,
.ffp-pagination a {
    padding: 8px 16px;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    color: #333;
    transition: all 0.2s;
}

.ffp-pagination button:hover,
.ffp-pagination a:hover {
    background: #f5f5f5;
}

.ffp-pagination button.active,
.ffp-pagination a.active {
    background: #0073aa;
    color: #fff;
    border-color: #0073aa;
}

.ffp-pagination button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.ffp-loading {
    text-align: center;
    padding: 40px;
    color: #666;
}

.ffp-loading::after {
    content: '';
    display: inline-block;
    width: 30px;
    height: 30px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #0073aa;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 10px;
    vertical-align: middle;
}

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

.ffp-fade-animation {
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ffp-slide-animation {
    animation: slideIn 0.3s ease-in;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.ffp-media-folder-grid {
    display: grid;
    gap: 15px;
}

.ffp-media-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.ffp-media-link {
    display: block;
    text-decoration: none;
}

.ffp-media-link img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.3s;
}

.ffp-media-link:hover img {
    transform: scale(1.05);
}

.ffp-media-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 10px;
    font-size: 14px;
    text-align: center;
}
