.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%/1, max(300px, 100%/5)), 1fr));    
    gap: 2rem;
    margin: 30px auto;
    padding: 0 20px;
    font-family: 'Open Sans', sans-serif;
}

.card {
    background: white;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%; /* Make all cards same height */
}

.card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.card-image {
    position: relative;
    overflow: hidden;
    height: 400px;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.card-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
}

.card-content h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 1rem 0;
    line-height: 1.3;
    color: #1b1b1b;
}

.card-content p {
    line-height: 1.6;
    margin: 0 0 1.5rem 0;
    flex-grow: 1;
    font-size: 1rem;
    color: #333;
}

.card-content a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: white;
    color: #1b1b1b;
    text-decoration: none;
    padding: 0.75rem 2rem;
    border-radius: 4px;
    border: 1px solid #d1d5db;
    font-weight: 500;
    font-size: 0.9rem;
    align-self: flex-end;
    margin-top: auto; /* Push to bottom */
    transition: all 0.2s ease;
}

.card-content a:hover {
    background: #f9fafb;
    border-color: #9ca3af;
}

.card-title {
    font-size: 44px;
}