.resources-gallery {
    padding-top: 20px;
    padding-bottom: 40px;
}

.crop-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    align-items: center;
    padding-top: 10px;
    padding-bottom: 20px;
    margin: 0 auto;
}

.crop-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-basis: calc(33.33% - 20px); /* For 3 items per row, considering 30px gap */
    max-width: calc(33.33% - 20px);
}

.crop-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.crop-card a {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.crop-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid #eee;
}

.crop-card h3 {
    font-size: 22px;
    margin: 15px 10px;
    color: #333;
}
