/* css/funding.css */

.funding-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.funding-card {
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.funding-logo {
    padding: 20px;
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f8f8f8;
}

.funding-logo img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.funding-details {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.grant-title {
    font-weight: 700;
    font-size: 1.1rem;
    color: #111;
    flex-grow: 1;
    margin-bottom: 15px;
}

.grant-info {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.7;
}

/* --- Current and Past Support Logo Wall --- */
.logo-wall-current-past {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 40px;
    padding: 20px 0;
}

.logo-wall-current-past img {
    height: 100px;
    max-width: 300px;
    object-fit: contain;
}
