/* Vaarmarkt Vaarnieuws Hoofdartikel v1.0.0 */

.vm-vnh {
    width: 100%;
    max-width: 100%;
}

.vm-vnh,
.vm-vnh * {
    box-sizing: border-box;
}

.vm-vnh__link {
    display: block;
    color: inherit !important;
    text-decoration: none !important;
}

.vm-vnh__media {
    position: relative;
    width: 100%;
    min-height: 430px;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 8px;
    background: #dfe7ed;
    box-shadow:
        0 1px 2px rgba(31, 41, 51, .04),
        0 4px 12px rgba(31, 41, 51, .06);
}

.vm-vnh__image,
.vm-vnh__placeholder {
    display: block;
    width: 100%;
    height: 100%;
}

.vm-vnh__image {
    max-width: none !important;
    object-fit: cover;
    object-position: center center;
    transition: transform .25s ease;
}

.vm-vnh__placeholder {
    background: linear-gradient(135deg, #dce8f2, #eef4f8);
}

.vm-vnh__shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            rgba(2, 62, 111, 0) 38%,
            rgba(2, 45, 78, .25) 62%,
            rgba(2, 45, 78, .82) 100%
        );
}

.vm-vnh__badge {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    padding: 5px 11px;
    border: 1px solid rgba(198, 219, 237, .75);
    border-radius: 999px;
    background: rgba(255,255,255,.94);
    color: #004e8e;
    font-family: Inter, Arial, sans-serif;
    font-size: 11px;
    line-height: 1.1;
    font-weight: 700;
    text-transform: uppercase;
    backdrop-filter: blur(3px);
}

.vm-vnh__copy {
    position: absolute;
    left: 20px;
    right: 76px;
    bottom: 20px;
    z-index: 2;
    color: #fff;
}

.vm-vnh__date {
    display: block;
    margin-bottom: 6px;
    color: rgba(255,255,255,.94);
    font-family: Inter, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.3;
    font-weight: 500;
}

.vm-vnh__title {
    max-width: 92%;
    margin: 0;
    color: #fff !important;
    font-family: Manrope, Inter, Arial, sans-serif;
    font-size: 30px;
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -.025em;
}

.vm-vnh__arrow {
    position: absolute;
    right: 18px;
    bottom: 18px;
    z-index: 2;
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    color: #fff;
}

.vm-vnh__arrow svg {
    display: block;
    width: 28px;
    height: 28px;
}

@media (hover: hover) and (pointer: fine) {
    .vm-vnh__link:hover .vm-vnh__image {
        transform: scale(1.015);
    }
}

@media (max-width: 767px) {
    .vm-vnh__media {
        min-height: 0;
        aspect-ratio: 16 / 10;
        border-radius: 8px;
    }

    .vm-vnh__date {
        display: none;
    }

    .vm-vnh__copy {
        left: 14px;
        right: 56px;
        bottom: 14px;
    }

    .vm-vnh__title {
        max-width: 100%;
        font-size: 24px;
        line-height: 1.08;
    }

    .vm-vnh__badge {
        top: 14px;
        left: 14px;
    }

    .vm-vnh__arrow {
        right: 12px;
        bottom: 12px;
        width: 40px;
        height: 40px;
    }

    .vm-vnh__arrow svg {
        width: 24px;
        height: 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .vm-vnh__image {
        transition: none;
    }
}

.vm-vnh--empty {
    padding: 12px 0;
    color: #8a2d2d;
    font-family: Inter, Arial, sans-serif;
    font-size: 14px;
}


/* =========================================================
   v1.0.1 - grotere hoofdtitel
   30pt ≈ 40px op scherm
   ========================================================= */

@media (min-width: 768px) {
    .vm-vnh__title {
        font-size: 40px !important;
        line-height: 1.08 !important;
    }
}

@media (max-width: 767px) {
    .vm-vnh__title {
        font-size: 30px !important;
        line-height: 1.08 !important;
    }
}
