.vdh-editorial {
    color: var(--vdh-blue);
    line-height: 1.65;
}

.vdh-editorial :is(.row-type-page-intro, .row-type-news, .row-type-reference, .row-type-logos, .row-type-content, .row-type-images, .row-type-link) > .container {
    width: 100%;
    max-width: none;
    padding-inline: var(--vdh-edge);
}

.vdh-editorial .row-type-page-intro h1,
.vdh-editorial .content h2 {
    font-size: clamp(1.75rem, 2.43vw, 2.1875rem);
    line-height: 1.25;
    letter-spacing: -.035em;
}

.vdh-editorial .row-type-page-intro h1 { font-weight: 500; }
.vdh-editorial .content h3 { font-size: 1.25rem; }
.vdh-editorial .content :is(p, li) { font-size: 1rem; }
.vdh-editorial .content img { max-width: 100%; height: auto; }
.vdh-editorial .row-type-content .ratio > img { object-fit: cover; }
.vdh-editorial .row-type-reference .card { border-radius: .6rem; }
.vdh-editorial .row-type-reference .card h3 { font-size: 1.25rem; }
.vdh-editorial .vdh-list-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}
.vdh-list-grid > .mix { min-width: 0; }
.vdh-list-grid .vdh-editorial-card { aspect-ratio: 1; }
.vdh-company-cell .vdh-editorial-card { height: 100%; }
.vdh-editorial-card {
    position: relative;
    width: 100%;
    overflow: hidden;
    border: 0;
    border-radius: .6rem;
    isolation: isolate;
}
.vdh-editorial-card > :is(img, svg) { position: absolute; inset: 0; width: 100%; height: 100%; }
.vdh-editorial-card > img { object-fit: cover; }
.vdh-editorial-card .card-img-overlay { padding: 1.5rem; z-index: 1; }
.vdh-editorial-card .badge-group { display: flex; flex-wrap: wrap; gap: .25rem; }
.vdh-editorial-card h3 { font-size: 1.25rem; overflow-wrap: anywhere; transition: transform .2s ease; }
.vdh-editorial-card.card-vacancy::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 30%, rgba(0, 0, 0, .8));
    pointer-events: none;
}
.vdh-editorial-card .card-footer {
    position: absolute;
    inset: auto 0 0;
    min-height: 2.75rem;
    padding: .6rem 1.5rem;
    border: 0;
    pointer-events: none;
    transform: translateY(100%);
    transition: transform .2s ease;
}
.vdh-editorial-card:is(:hover, :focus-within) h3 { transform: translateY(-2.75rem); }
.vdh-editorial-card:is(:hover, :focus-within) .card-footer { transform: translateY(0); }
.vdh-editorial-card:focus-within { outline: .2rem solid var(--vdh-sky); outline-offset: .2rem; }
.vdh-actueel .row-type-news { padding-block: var(--vdh-space) !important; }

.vdh-company-news { margin-bottom: clamp(3rem, 6vw, 6rem); }
.vdh-company-track {
    --cell-gap: 1.5rem;
    --cell-width: calc((100cqw - 2 * var(--cell-gap)) / 3);
    --cell-height: var(--cell-width);
    container-type: inline-size;
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
    gap: var(--cell-gap);
    padding-inline: var(--vdh-edge);
    scroll-padding-inline: var(--vdh-edge);
    scroll-snap-type: x mandatory;
}
.vdh-company-track::-webkit-scrollbar { display: none; }
.vdh-company-cell {
    flex: 0 0 var(--cell-width);
    width: var(--cell-width);
    height: var(--cell-height);
    scroll-snap-align: start;
}
.vdh-company-cell.is-wide { flex-basis: calc(2 * var(--cell-width) + var(--cell-gap)); width: calc(2 * var(--cell-width) + var(--cell-gap)); }
.vdh-company-news .vdh-company-arrows:not([hidden]) { display: flex; justify-content: end; }
.vdh-company-arrows button:disabled { opacity: .35; }
.vdh-company-vacancies { padding-bottom: var(--vdh-space); }
.vdh-company-vacancies .vdh-service-statement { margin-bottom: clamp(2rem, 5vw, 4rem); }

.vdh-editorial .vdh-contact-hero { position: relative; isolation: isolate; padding-block: 5rem; min-height: 45rem; align-items: center; }
.vdh-editorial .vdh-contact-hero .vdh-contact-arc {
    position: absolute;
    bottom: -11rem;
    left: -5rem;
    right: auto;
    z-index: -1;
    width: clamp(16rem, 29vw, 25rem);
    height: auto;
    pointer-events: none;
}
.vdh-contact-hero-inner, .vdh-contact-content { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 5vw, 5rem); }
.vdh-contact-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; color: white; padding-top: 2rem; }
.vdh-contact-details h2 { font-size: 1.125rem; margin-bottom: .9rem; }
.vdh-contact-details a { color: inherit; overflow-wrap: anywhere; }
.vdh-contact-details a:hover { text-decoration: underline; }
.vdh-contact-details :is(address, p, dl) { margin-bottom: 0; }
.vdh-contact-details dd { margin-bottom: .35rem; }
.vdh-contact-content h2 span { font-weight: 400; }
.vdh-team-member-photo { aspect-ratio: 1; overflow: hidden; border-radius: 50%; background: var(--vdh-sky); }
.vdh-team-member-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.vdh-contact-form label { display: block; font-size: .875rem; margin-bottom: .5rem; }
.vdh-contact-form .wpcf7-form .form-control { border-radius: .6rem; background-color: #f3f3f3; border-color: #f3f3f3; color: var(--vdh-blue); padding: .9rem 1.1rem; }
.vdh-contact-form .wpcf7-form .form-control:focus { border-color: var(--vdh-blue); }
.vdh-contact-form .wpcf7-form .form-control.wpcf7-not-valid { border-color: #bb2828; }
.vdh-contact-form .wpcf7-form .wpcf7-not-valid-tip { display: block; font-size: .875rem; margin-top: .25rem; }
.vdh-contact-form .wpcf7-submit {
    display: block;
    margin-left: auto;
    border-radius: 50rem;
    border-color: var(--vdh-blue);
    background: var(--vdh-blue);
    color: white;
}
.vdh-contact-form .wpcf7-submit:hover { background: white; color: var(--vdh-blue); }

@media (max-width: 991.98px) {
    .vdh-editorial .vdh-list-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .vdh-company-track { --cell-width: calc((100cqw - var(--cell-gap)) / 2); }
}

@media (max-width: 767.98px) {
    .vdh-editorial .vdh-list-grid { grid-template-columns: minmax(0, 1fr); }
    .vdh-list-grid .vdh-editorial-card { aspect-ratio: 4 / 3; }
    .vdh-company-track { --cell-width: 100cqw; --cell-height: calc(var(--cell-width) * .75); }
    .vdh-company-cell.is-wide { flex-basis: var(--cell-width); width: var(--cell-width); }
    .vdh-editorial .vdh-contact-hero { min-height: 0; padding-block: 3rem 6rem; }
    .vdh-editorial .vdh-contact-hero .vdh-contact-arc { bottom: -12rem; }
    .vdh-contact-hero-inner, .vdh-contact-content { grid-template-columns: minmax(0, 1fr); }
    .vdh-contact-details { padding-top: 0; gap: 1.5rem 1rem; }
}

@media (prefers-reduced-motion: reduce) {
    .vdh-editorial-card :is(h3, .card-footer) { transition: none; }
    .vdh-contact-arc path { stroke-dashoffset: 0 !important; transition: none; }
}

.vdh-editorial .vdh-list-hero h1 { font-weight: 400; }
.vdh-list-hero h1 .text-secondary {
    display: inline-block;
    margin-bottom: .75rem;
    font-size: 1.25rem;
    line-height: 1.5;
    letter-spacing: normal;
}
.vdh-list-hero .breadcrumbs { margin-top: .75rem; }
.vdh-list-hero > svg { pointer-events: none; }
.vdh-actueel .news-tabs .btn:focus { box-shadow: none; }
.vdh-actueel .news-tabs .btn:focus-visible,
.vdh-actueel .mixitup-page-list .mixitup-control:focus-visible {
    outline: 2px solid var(--vdh-blue);
    outline-offset: 3px;
}
.vdh-actueel .mixitup-page-list .mixitup-control {
    border-width: 1px;
    font-weight: 600;
}
.vdh-actueel .mixitup-page-list .mixitup-control[data-page]:not([data-page="prev"], [data-page="next"]) {
    background-image: linear-gradient(var(--vdh-blue), var(--vdh-blue));
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: 100% 0%;
    background-origin: border-box;
    transition: background-size .25s ease, color .25s ease;
}
.vdh-actueel .mixitup-page-list .mixitup-control[data-page]:not([data-page="prev"], [data-page="next"]):is(:hover, .mixitup-control-active) {
    background: linear-gradient(var(--vdh-blue), var(--vdh-blue)) center bottom / 100% 100% no-repeat border-box;
    border-color: var(--vdh-blue);
}

.vdh-contact-details h2 { margin-bottom: 1.125rem; }
.vdh-contact-details :is(address, p, dl) { line-height: 1.9; }
.vdh-contact-details dd { margin-bottom: .65rem; }
.vdh-contact-team { display: flex; align-items: center; margin-top: 2rem; }
.vdh-contact-team .vdh-team-member-photo {
    flex: 0 1 clamp(2.75rem, 9vw, 5.5rem);
    min-width: 0;
}
.vdh-contact-team .vdh-team-member-photo + .vdh-team-member-photo { margin-inline-start: -4%; }
@media (min-width: 768px) {
    .vdh-editorial .vdh-contact-hero { min-height: 48rem; padding-block: 9rem 6rem; }
    .vdh-contact-details { gap: clamp(2rem, 4vw, 4rem); }
}

.vdh-contact-hours dt { font-weight: 600; }
.vdh-contact-details .vdh-contact-hours dd { margin: .25rem 0 .45rem; }

.vdh-vacancy-badges, .vdh-detail-badges {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
    margin-bottom: 1.5rem;
}
.vdh-vacancy-layout {
    display: grid;
    grid-template-columns: minmax(0, 48rem) minmax(16rem, 25rem);
    justify-content: space-between;
    align-items: start;
    gap: clamp(2rem, 6vw, 7rem);
    padding-block: clamp(3rem, 6vw, 6rem);
}
.vdh-vacancy-article { min-width: 0; }
.vdh-vacancy-company, .vdh-vacancy-image { margin: 0 0 2rem; }
.vdh-vacancy-company h2 { margin-bottom: .65rem; }
.vdh-vacancy-image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: .6rem;
}
.vdh-vacancy-cta {
    position: sticky;
    top: var(--vdh-sticky-top);
    padding: clamp(1.5rem, 3vw, 3rem);
    border-radius: .6rem;
    background: #eef2f6;
    text-align: center;
}
.vdh-vacancy .vdh-vacancy-cta h2 {
    font-size: clamp(1.35rem, 2vw, 1.75rem);
    margin-bottom: 1.25rem;
}
.vdh-vacancy-contact {
    display: grid;
    justify-items: center;
    gap: .4rem;
    margin: 1.5rem 0 0;
    overflow-wrap: anywhere;
}
.vdh-vacancy-contact a { text-decoration: underline; }

.vdh-application-modal .modal-dialog { max-width: 54rem; }
.vdh-application-modal .modal-content {
    color: var(--vdh-blue);
    padding: clamp(1rem, 4vw, 3rem);
    border-radius: .6rem;
}
.vdh-application-modal .modal-header { border-bottom: 0; align-items: flex-start; }
.vdh-application-modal .modal-title { font-weight: 600; }
.vdh-application-modal .modal-body { padding-bottom: 1.5rem; }
.vdh-application-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem clamp(1.25rem, 4vw, 3rem);
}
/* CF7 can wrap adjacent labels in one paragraph and insert line breaks. */
.vdh-application-fields > p:has(> label) { display: contents; }
.vdh-application-fields > br,
.vdh-application-fields > p:has(> label) > br { display: none; }
.vdh-application-fields p { margin: 0; }
.vdh-application-fields label { display: block; font-weight: 600; }
.vdh-application-fields .wpcf7-form-control-wrap { display: block; margin-top: .4rem; }
.vdh-application-fields input {
    display: block;
    width: 100%;
    color: inherit;
    font-weight: 400;
}
.vdh-application-fields input:not([type="file"]) {
    padding: .6rem 0;
    border: 0;
    border-top: 1px solid var(--vdh-sky);
    border-radius: 0;
    background: transparent;
}
.vdh-application-submit { margin-top: 2rem; text-align: center; }

@media (max-width: 767.98px) {
    .vdh-vacancy-layout, .vdh-application-fields { grid-template-columns: minmax(0, 1fr); }
    .vdh-vacancy-cta { position: static; }
}

:is(.vdh-vacancy-layout, .vdh-news-detail-layout) {
    --vdh-sticky-top: calc(3rem + var(--wp-admin--admin-bar--height, 0px));
}
.vdh-news-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 48rem);
    align-items: start;
    gap: clamp(2rem, 5vw, 6rem);
    padding-block: clamp(3rem, 6vw, 6rem);
}
.vdh-news-detail-layout .content { min-width: 0; }
.vdh-news-detail-layout .content > :first-child { margin-top: 0; }
.vdh-news-detail-image { margin: 0; }
.vdh-news-detail-image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: .6rem;
}
@media (min-width: 768px) {
    .vdh-news-detail-layout.has-featured-image {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }
    .vdh-news-detail-image {
        position: sticky;
        top: var(--vdh-sticky-top);
    }
    .vdh-news-detail-image img {
        max-height: max(12rem, calc(100vh - var(--vdh-sticky-top) - 2rem));
        object-fit: contain;
        object-position: left top;
    }
}
.single-post .vdh-footer-grid { padding-top: clamp(3rem, 6vw, 6rem); }

@media (max-width: 767.98px) {
    .vdh-editorial .vdh-contact-hero { padding-bottom: 4rem; }
    .vdh-contact-details {
        gap: 1.15rem .85rem;
        font-size: .875rem;
        line-height: 1.5;
    }
    .vdh-services .vdh-contact-details h2 {
        font-size: .95rem;
        margin-bottom: .5rem;
    }
    .vdh-contact-details :is(address, p, dl) { line-height: 1.55; }
    .vdh-contact-details dd { margin-bottom: .35rem; overflow-wrap: anywhere; }
    .vdh-editorial .vdh-contact-hero .vdh-contact-arc {
        left: -3rem;
        bottom: -5.5rem;
        width: 12rem;
        opacity: .55;
    }
    .vdh-contact-form .wpcf7-submit { margin-inline: 0 auto; }

    .vdh-actueel .mixitup-page-list:empty { display: none !important; }
}
