main {
    max-width: 1200px;
    margin: 0 auto;
    
}

.hero {
    margin-top: 32px;
    margin-bottom: 48px;
    text-align: left;
}

.vacancies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.card {
    display: flex;
    flex-direction: column;
    flex: 0 0 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: visible;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    align-items: stretch;
    min-height: 420px; /* optioneel, voor gelijke hoogte */
}

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

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
    margin-bottom: 12px;
}

.card-content {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 1.5rem;
}

.card-footer {
    margin-top: auto;
    align-self: flex-start;
    padding-top: 1rem;
    display: flex;
}

.vacancy-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.vacancy-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.vacancy-card img {
    margin-top: 0;
    margin-bottom: 12px;
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.vacancy-card h2 {
    font-family: var(--ff-accent);
    font-size: 24px;
    margin-bottom: 16px;
    color: #fff;
    text-align: center;
}

.vacancy-card p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 24px;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
}

.vacancy-card .tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.vacancy-card .tag {
    background: rgba(255, 255, 255, 0.1);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 16px;
    color: #fff;
}

.vacancy-card .vacancy-card-image {
    margin-top: 0;
    padding-top: 0;
}

.card .tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.card .tag {
    background: rgba(255, 255, 255, 0.1);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 16px;
    color: #fff;
}