/* Vacature Geldigheid v2.1.0 */

/* ============================================================
   SINGLE VACATURE — geldigheidsmelding
   ============================================================ */

body.vg-niet-actief .elementor,
body.vg-niet-actief [data-elementor-type] {
    display: none !important;
}

.vg-melding {
    display: block !important;
    width: 100%;
    max-width: 800px;
    margin: 2rem auto;
    padding: 1.25rem 1.5rem;
    border-radius: 6px;
    font-size: 1rem;
    line-height: 1.6;
    box-sizing: border-box;
}

.vg-melding p:last-child {
    margin-bottom: 0;
}

.vg-melding--verlopen {
    background-color: #fff4f4;
    border-left: 4px solid #c0392b;
    color: #5a1a1a;
}

.vg-melding--nog-niet-actief {
    background-color: #f0f6ff;
    border-left: 4px solid #2980b9;
    color: #1a2e4a;
}

/* ============================================================
   VACATURE OVERZICHT — [actieve_vacatures] shortcode
   ============================================================ */

.vg-overzicht {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 0 auto;
    padding: 0;
    list-style: none;
}

@media (max-width: 900px) {
    .vg-overzicht {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .vg-overzicht {
        grid-template-columns: 1fr;
    }
}

/* Card */
.vg-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e5e5e5;
    overflow: hidden;
    transition: box-shadow 0.2s ease;
}

.vg-card:hover {
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.10);
}

/* Afbeelding */
.vg-card__afbeelding {
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.vg-card__afbeelding .vg-card__img,
.vg-card__afbeelding img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.vg-card:hover .vg-card__afbeelding img {
    transform: scale(1.03);
}

/* Body */
.vg-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1.5rem;
    gap: 0.75rem;
}

/* Titel */
.vg-card__titel {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    line-height: 1.3;
    color: #1a1a1a;
}

.vg-card__titel a {
    color: inherit;
    text-decoration: none;
}

.vg-card__titel a:hover {
    color: #1a1a1a;
}

/* Tekst */
.vg-card__tekst {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #444;
    flex: 1;
}

/* Knop — geel/zwart passend bij Perfect Hair huisstijl */
.vg-card__knop {
    display: inline-block;
    align-self: flex-start;
    margin-top: 0.5rem;
    padding: 0.6rem 1.4rem;
    background-color: #f5c900;
    color: #1a1a1a;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.vg-card__knop:hover {
    background-color: #e0b800;
    color: #1a1a1a;
    text-decoration: none;
}

