@keyframes textTicker{
    100%{
        transform: translateX(calc(-1*var(--distance)));
    }
}
#pk_flex_content .flex_layout.hero_home .flex_layout_wrapper{
    position: relative;
    isolation: isolate;
    height: 100vh;
    background-color: var(--mahogany);
    color: var(--white);
    grid-template-rows: min-content;
    place-content: end;
    padding-block-end: 0;
    overflow: clip;
    /* padding-inline: 0; */
}

.flex_layout.hero_home .image{
    position: absolute;
    /*stomme fix voor subpixel exports van Figma >:(*/
    inset: -1px;
    z-index: -1;
}

.flex_layout.hero_home .image::before,
.flex_layout.hero_home .image::after{
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
}

.flex_layout.hero_home .image::before{
    background-image: linear-gradient(transparent, black);
    opacity: .5;
}

.flex_layout.hero_home .image::after{
    background-image: linear-gradient(transparent, black);
    opacity: .2;
}

.flex_layout.hero_home .image img,
.flex_layout.hero_home .image video{
    position: relative;
    z-index: 0;
    object-fit: cover;
    object-position: center;
    width: 100%; height: 100%;
}

.flex_layout.hero_home .text_ticker{
    grid-column: 1 / -1;
    font-weight: var(--body-semibold);
    font-size: var(--heading-xl);
    line-height: 1.2;
    padding-block: 2rem;

    display: flex;
    flex-wrap: nowrap;
}

.flex_layout.hero_home .ticker_line{
    display: flex;
    flex-direction: row;
    white-space: nowrap;
    flex-wrap: nowrap;
    gap: .44em;
    align-items: center;
    padding-right: .44em;
    /* margin-left: -3rem; */
    /* padding-right: .44em; */
}

.flex_layout.hero_home .ticker_line.animating{
    animation: 25s textTicker linear forwards infinite;
}

.flex_layout.hero_home .text_ticker .separator{
    width: 0.28em;
    aspect-ratio: 1;
    border-radius: 50%;
    background-color: currentColor;
    display: block;
    flex-shrink: 0;
}

.flex_layout.hero_home .content_wrapper{
    border-top: 1px solid rgba(255,255,255,0.5);
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    padding-block: 2rem;
    align-items: center;
}

.flex_layout.hero_home .content_wrapper .scrolldown{
    grid-column: 1 / span 2;

    border: none;
    padding: 0;
    
    width: fit-content;
    background-color: transparent;
    color: var(--white);
    font-size: var(--body-large);
}

.flex_layout.hero_home .scrolldown span{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: .5rem;
}

.flex_layout.hero_home .scrolldown span::after{
    content: '';
    width: .5rem; height: 1.25rem;
    background-color: currentColor;
    mask: url(/wp-content/uploads/2025/08/arrow_down.svg) no-repeat center / contain;
    -webkit-mask: url(/wp-content/uploads/2025/08/arrow_down.svg) no-repeat center / contain;

    transition: transform 300ms ease-in-out;
}

.flex_layout.hero_home .scrolldown:is(:hover, :active, :focus) span::after{
    transform: translateY(.25rem);
}

.flex_layout.hero_home .content_wrapper .content{
    grid-column: 7 / span 5;
}


@media only screen and (max-width: 1024px){
    
    .flex_layout.hero_home .content_wrapper{
        grid-template-columns: repeat(8, minmax(0, 1fr));
    }

    .flex_layout.hero_home .content_wrapper .content,
    .flex_layout.hero_home .content_wrapper .scrolldown{
        grid-column: 1 / -1;
    }

    .flex_layout.hero_home .content_wrapper .content{
        order: 1;
    }

    .flex_layout.hero_home .content_wrapper .scrolldown{
        order: 2;
    }

}
@media only screen and (max-width: 767px){
    
    .flex_layout.hero_home .content_wrapper{
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}