.detail_hero-layout {
    position: relative;
    background-color: var(--avoord-light-blue);
    border-radius: var(--border-radius-md) var(--border-radius-md) 0 0;
    padding-block: max(9rem, calc(10.75 * var(--su))) 0;
    margin-bottom: max(1.5rem, calc(2.5 * var(--su)));
    overflow: hidden;
}

.detail_hero-layout .detail_hero-inner {
    position: relative;
    z-index: 2;
    row-gap: max(2rem, calc(3 * var(--su)));
}

.detail_hero-layout .detail_hero-content {
    display: flex;
    flex-direction: column;
    padding-inline: calc(3.5 * var(--su));
}

.detail_hero-layout .detail_hero-content .pk-heading > h1 {
    font-size: var(--scaling-h1-sm);
    line-height: 1.05;
    letter-spacing: -0.96px;
    margin-bottom: max(1.5rem, calc(2 * var(--su)));
}

.detail_hero-layout .detail_hero-content .pk-text > * {
    font-size: var(--desktop-body-xl);
}

.detail_hero-layout .detail_hero-media {
    position: relative;
}

.detail_hero-layout .detail_hero-image-wrap {
    border-radius: var(--border-radius-md);
    overflow: hidden;
    aspect-ratio: 16 / 9;
}

.detail_hero-layout .detail_hero-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail_hero-layout .detail_hero-shape {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    width: 100%;
    line-height: 0;
    z-index: 1;
    pointer-events: none;
}

.detail_hero-layout .detail_hero-shape svg {
    display: block;
    width: 100%;
    height: auto;
}

.detail_hero-layout .detail_hero-shape path {
    fill: var(--avoord-white);
}

/* Werken-bij (site 2) only: full-bleed block + wave, same as jobs_hero_image */
.site-2 .detail_hero-layout {
    --hero-bleed-top: max(.75rem, calc(.75 * var(--su)));
    z-index: 1;
    background-color: transparent;
    border-radius: 0;
    overflow: visible;
}

.site-2 .detail_hero-layout::before {
    content: "";
    position: absolute;
    top: calc(-1 * var(--hero-bleed-top));
    bottom: 40%;
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
    z-index: -1;
    background-color: var(--avoord-very-light-blue);
    pointer-events: none;
}

.site-2 .detail_hero-layout .detail_hero-shape {
    top: 60%;
    bottom: auto;
    left: 50%;
    right: auto;
    width: 100vw;
    transform: translateX(-50%);
    margin-top: -1px;
}

.site-2 .detail_hero-layout .detail_hero-shape path {
    fill: var(--avoord-very-light-blue);
}

@media screen and (max-width: 992px) {
    .detail_hero-layout {
        margin-top: 1rem;
        padding-block: max(2.5rem, calc(9.5 * var(--su))) max(3.25rem, calc(3.25 * var(--su)));
    }

    .site-2 .detail_hero-layout {
        --hero-bleed-top: var(--pk-header-height);
        margin-top: 0;
    }
}

@media screen and (max-width: 767px) {
    .detail_hero-layout .detail_hero-image-wrap {
        aspect-ratio: 4 / 3;
    }

    .detail_hero-layout .detail_hero-content {
        padding-inline: 0;
    }

}