.donation-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
    justify-content: center;
}

.donation-filters button {
    border: 1px solid #af4b2f;
    background: #fff;
    color: #af4b2f;
    padding: 6px 14px;
    cursor: pointer;
    font-size: 14px;
}

.donation-filters button.active {
    background: #af4b2f;
    color: #fff;
}

.donation-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

@media (max-width: 1000px){
    .donation-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 567px){
    .donation-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.donation-card img {
    width: 100%;
    aspect-ratio: 1 / 1;   /* makes it square */
    object-fit: cover;    /* fills square */
    object-position: center; /* center crop */
    display: block;
}


.donation-card h3 {
    font-size: 15px;
    margin: 10px 0;
}

.donation-card form {
    border-top: 1px solid #ddd;
    padding-top: 10px;
}

.donation-card input {
    width: 100%;
    padding: 6px;
    margin-bottom: 8px;
}

.donation-card button {
    background: transparent;
    border: none;
    color: #af4b2f;
    font-weight: 600;
    cursor: pointer;
    padding: 0 !important;
}
.donation-card button:hover {
    background: transparent;
    border: none;
    color: #af4b2f;
    font-weight: 600;
    cursor: pointer;
    padding: 0 !important;
}
.donation-img {
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.donation-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.donation-title {
    font-size: 15px;
    margin: 10px 0;
}

.donate-btn {
    background: none;
    border: none;
    color: #c75b12;
    font-weight: 600;
    cursor: pointer;
}

