.ghi-funding-section {
    padding: 20px;
    background: #f9f9f9;
}

.ghi-container {
    max-width: 1200px;
    margin: 0 auto;
}

.ghi-section-title {
    font-size: 32px;
    margin-bottom: 30px;
    color: #333;
    text-align: center;
}

.ghi-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 30px;
}

.ghi-results-area {
    display: flex;
    flex-direction: column;
}

.ghi-posts-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.ghi-card {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
}

.ghi-card-badges {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.ghi-badge {
    display: inline-block;
    background: #007cba;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
}

.ghi-card-title {
    font-size: 18px;
    margin: 0 0 10px 0;
    color: #333;
}

.ghi-card-excerpt {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    flex-grow: 1;
}

.ghi-card-meta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 15px;
    font-size: 13px;
}

.ghi-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
}

.ghi-meta-item i {
    color: #007cba;
    width: 16px;
}

.ghi-btn-apply {
    display: inline-block;
    background: #007cba;
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    text-align: center;
    font-weight: bold;
    transition: background 0.3s;
}

.ghi-btn-apply:hover {
    background: #005a87;
}

.ghi-btn-load-more {
    background: #45808E;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: background 0.3s;
    align-self: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.ghi-btn-load-more:hover {
    background: #3b6e79;
}

.ghi-btn-load-more.loading {
    pointer-events: none;
}

.ghi-btn-load-more.loading .ghi-spinner-small {
    border: 2px solid #f3f3f3;
    border-top: 2px solid white;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    animation: ghi-spin 1s linear infinite;
}

.ghi-sidebar {
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 20px;
    height: fit-content;
}

.ghi-filters-panel {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.ghi-filters-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.ghi-filters-header h3 {
    margin: 0;
    font-size: 18px;
}

.ghi-btn-clear {
    background: #f0f0f0;
    border: 1px solid #ddd;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    transition: background 0.3s;
}

.ghi-btn-clear:hover {
    background: #e0e0e0;
}

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

.ghi-filter-label {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
    font-size: 14px;
    color: #333;
}

.ghi-filter-label input[type="checkbox"] {
    margin-right: 8px;
}

.ghi-checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ghi-checkbox-group label {
    display: flex;
    align-items: center;
    font-size: 13px;
    cursor: pointer;
}

.ghi-checkbox-group input[type="checkbox"] {
    margin-right: 8px;
}

.ghi-scrollable {
    max-height: 200px;
    overflow-y: auto;
}

.ghi-select,
.ghi-input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 13px;
    box-sizing: border-box;
}

.ghi-select:focus,
.ghi-input:focus {
    outline: none;
    border-color: #007cba;
    box-shadow: 0 0 0 2px rgba(0, 124, 186, 0.1);
}

.ghi-results-header {
    margin-bottom: 20px;
}

.ghi-results-count {
    margin: 0;
    font-size: 14px;
    color: #666;
}

.ghi-no-results,
.ghi-error {
    text-align: center;
    padding: 40px 20px;
    background: white;
    border-radius: 8px;
    color: #666;
}

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

.ghi-spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #45808E;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: ghi-spin 1s linear infinite;
    margin: 0 auto 15px;
}

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

@media (max-width: 768px) {
    .ghi-content-wrapper {
        grid-template-columns: 1fr;
    }

    .ghi-posts-grid {
        grid-template-columns: 1fr;
    }
}
