#pk_flex_content .flex_layout.hero_afbeelding {
    max-width: unset;
    padding: 0px;
}

#pk_flex_content .flex_layout.hero_afbeelding .rank-math-breadcrumb {
    /*background-color: var(--wp--preset--color--fl-topbar-hover);*/
	background-color: #d3d3d3;
    margin: 0px;
}

#pk_flex_content .flex_layout.hero_afbeelding .rank-math-breadcrumb * {
    color: white;
}

.flex_layout.hero_afbeelding .flex_container {
    position: relative;
    overflow: hidden;
    background-position: center;
    background-size: cover;
}

.flex_layout.hero_afbeelding .flex_hero_inner {
    max-width: var(--site-grid);
    padding: 120px 380px 80px 40px;
    margin: 0px auto;
    position: relative;
    z-index: 2;
    min-height: 600px;
}

.flex_layout.hero_afbeelding .flex_container_inner {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    height: 100%;
    position: relative;
    z-index: 3;
}

.flex_layout.hero_afbeelding .flex_hero_inner > div {
    padding: 50px 40px;
    max-width: 740px;
    background-color: white;
    position: relative;
    z-index: 3;
}

.flex_layout.hero_afbeelding .heading_wrapper {
    word-break: break-word;
    hyphens: auto;
}

#scroll_down {
    position: absolute;
    right: 40px;
    bottom: 80px;
    z-index: 20;
}

.bg-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: opacity 1s ease-in-out;
    z-index: 0;
}

.flex_hero_inner {
    position: relative;
    z-index: 1;
}

.lcp-image {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

/* Banner rechts buiten de content */
.hero_locaties_banner {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    z-index: 30;
    width: 360px;
    display: flex;
    justify-content: flex-end;
    pointer-events: none;
}

.hero_locaties_banner_inner {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-end;
    width: 100%;
    pointer-events: auto;
}

.hero_locaties_label {
    display: inline-block;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px 0 0 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    font-size: 14px;
    font-weight: 700;
    /*transform: translateX(100px);*/
}

.hero_locatie_link {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
    max-width: 340px;
    padding: 18px 22px;
    background: rgba(255, 255, 255, 0.96);
    border-radius: 18px 0 0 18px;
    text-decoration: none;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.14);
    transform: translateX(110px);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    position: relative;
    overflow: hidden;
}

.hero_locatie_link:hover,
.hero_locatie_link:focus-visible {
    transform: translateX(30px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
}

.hero_locatie_opvangsoorten {
    font-size: 13px;
    line-height: 1.3;
    font-weight: 700;
    opacity: 0.75;
}

.hero_locatie_naam {
    font-size: 18px;
    line-height: 1.3;
    font-weight: 700;
}

/* Page transition */
.fl-page-content {
    opacity: 0;
}

.fl-page-content.page-is-loaded {
    animation: pageFadeIn 0.4s ease forwards;
}

@keyframes pageFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Mobiele hero fix */
@media screen and (max-width: 992px) {
    .site-id-3 .flex_layout.hero_afbeelding .bg-slide {
        background-size: cover;
        background-position: top center;
        height: 300px;
        border-radius: 20px 20px 20px 150px;
    }

    .site-id-3 .flex_layout.hero_afbeelding .flex_hero_inner {
        padding-top: 250px;
        padding-bottom: 40px;
    }

    .site-id-3.flex_layout.hero_afbeelding .flex_hero_inner > div {
        margin-top: 0;
        background-color: #ffffff;
    }

    .site-id-3 #scroll_down {
        bottom: 20px;
        right: 20px;
    }
}

@media screen and (max-width: 767px) {
    .flex_layout.hero_afbeelding .flex_hero_inner {
        padding: 40px 20px 40px 20px;
        min-height: auto;
    }

    .flex_layout.hero_afbeelding .flex_hero_inner > div {
        padding: 30px 20px;
        max-width: 100%;
    }

    .hero_locaties_banner {
        position: relative;
        top: auto;
        right: auto;
        transform: none;
        width: 100%;
        padding: 0 20px 20px 20px;
        margin-top: -10px;
    }

    .hero_locaties_banner_inner {
        align-items: stretch;
    }

    .hero_locaties_label {
        transform: none;
        border-radius: 14px;
    }

    .hero_locatie_link {
        max-width: 100%;
        transform: none;
        border-radius: 14px;
    }

    .hero_locatie_link:hover,
    .hero_locatie_link:focus-visible {
        transform: none;
    }

    #scroll_down {
        right: 20px;
        bottom: 20px;
    }
}

.gform-theme--framework .gf_progressbar .percentbar_blue {background-color:var(--wp--preset--color--fl-accent)!important;}
.gform-theme--api, .gform-theme--framework {--gf-ctrl-border-color-focus:#fff!important;--gf-ctrl-outline-color-focus:var(--wp--preset--color--fl-accent)!important;}

.button--locatie-document {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    padding: 14px 22px;
    border-radius: 50px;

    background: #f5f5f5;
    border: 2px solid #759b89;

    color: #759b89 !important;
    font-weight: 600;
    text-decoration: none !important;

    transition: all .25s ease;
}

.button--locatie-document:hover {
    background: #759b89;
    color: #fff !important;
    transform: translateY(-2px);
}

.document-icon {
    font-size: 1.2em;
    line-height: 1;
}

.document-text {
    line-height: 1;
}