.fspf-wrapper{
    color: #fff;
    margin-top: 90px;
}

/* Filters */
.fspf-filters {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.fspf-filter-label {
    font-weight: 700;
    font-size: 16px;
    margin-right: 8px;
}

/* Custom Dropdown */
.fspf-dropdown {
    position: relative;
    min-width: 288px;
    user-select: none;
}

.fspf-dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    border: 1px solid #ccc;
    border-radius: 3px;
    background-color: #fff;
    color: #333;
    font-size: 15px;
    cursor: pointer;
    gap: 12px;
}

.fspf-dropdown-label {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #293219;;
    font-size: 18px;
    font-style: italic;
}

.fspf-dropdown.has-selection .fspf-dropdown-label {
    font-weight: 600;
    color: #293219;
    font-style: normal;
}

.fspf-dropdown-icon {
    flex-shrink: 0;
    font-size: 13px;
    line-height: 1;
    color: #333;
}

.fspf-icon-clear {
    cursor: pointer;
    display: flex;
    align-items: center;
}

.fspf-icon-clear:hover {
    opacity: 0.6;
}

.fspf-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 100;
    background: #fff;
    border: 1px solid #ccc;
    border-top: none;
    border-radius: 0 0 4px 4px;
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: none;
    overflow-y: visible;
}

.fspf-dropdown.open .fspf-dropdown-toggle {
    border-radius: 3px 3px 0 0;
}

.fspf-icon-arrow svg {
    display: block;
    transition: transform 0.2s ease;
}

.fspf-dropdown.open .fspf-icon-arrow svg {
    transform: rotate(180deg);
}

.fspf-dropdown.open .fspf-dropdown-menu {
    display: block;
}

.fspf-dropdown-menu li {
    padding-top: 13px;
    padding-left: 16px;
    padding-bottom: 13px;
    padding-right: 5px;
    font-size: 18px;
    cursor: pointer;
    color: #293219;
    border-bottom: 1px solid #eee;
}

.fspf-dropdown-menu li:last-child {
    border-bottom: none;
}

.fspf-dropdown-menu li:hover {
    background: #A0B57E;
    
    font-weight: 600;
}

.fspf-dropdown-menu li.selected {
    background: #f0f0f0;
    font-weight: 600;
}

/* Grid */
.fspf-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
    min-height: 100px;
    transition: opacity 0.3s ease;
}

/* Loading */
.fspf-grid.fspf-loading {
    pointer-events: none;
}

.fspf-grid.fspf-loading > * {
    opacity: 0.3;
    transition: opacity 0.3s ease;
    
}

.fspf-grid.fspf-loading::after {
    content: '';
    position: absolute;
    top: 200px;
    left: 50%;
    transform: translateX(-50%);
    content: '';
    position: absolute;
    top: 200px;
    left: 50%;
    transform: translateX(-50%);
    width: 64px;
    height: 64px;
    padding: 8px;
    z-index: 999;
    background: url(https://bowerinsights.au/wp-content/uploads/favicon-128.png) no-repeat center / contain;
    animation: fspf-pulse 1s ease-in-out infinite;
    background-color: #293219;
    border-radius: 50%;
    background-size: 42px 42px;
    border:1px solid #a0b57e;
    
}

@keyframes fspf-pulse {
    0%, 100% { opacity: 0.8; transform: translateX(-50%) scale(0.9); }
    50% { opacity: 1; transform: translateX(-50%) scale(1.1); }
}

/* Card */
.fspf-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.fspf-card-link:hover .fspf-card-title {
    opacity: 0.8;
}

.fspf-card-image {
    width: 100%;
    padding-bottom: 75%;
    background-size: cover;
    background-position: center;
    margin-bottom: 14px;
    min-height: 350px;
    background-size: cover;
}

.fspf-no-image {
    background-color: rgba(255, 255, 255, 0.1);
}

.fspf-card-title {
    color: #a0b57e;
    font-size: 24px;
    line-height: 1.17;
    font-weight: 500;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin-top: 15px;
    text-align: left;
}

.fspf-read-more {
    font-size: 16px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    color: #D3D3D3;
}

.fspf-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color:#9DC1DF ;
}

.fspf-arrow-icon {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fspf-no-results {
    grid-column: 1 / -1;
    text-align: center;
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 1024px) {
    .fspf-grid {
        grid-template-columns: repeat(3, 1fr);
    }

}

@media (max-width: 768px) {
    .fspf-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .fspf-filters {
        flex-direction: column;
        align-items: flex-start;
    }

}

@media (max-width: 480px) {
    .fspf-grid {
        grid-template-columns: 1fr;
    }



    .fspf-dropdown {
        width: 100%;
    }
}
