/* ----------------------------------------
   Elementor Hero
---------------------------------------- */
.hero-heading-big .elementor-heading-title {
    font-size: clamp(2em, 6vw, 3em);
    text-wrap: balance;
}

.hero-heading-bigXL .elementor-heading-title {
    font-size: clamp(2em, 6vw, 4em);
    text-wrap: balance;
}

@media (max-width: 768px) {
    .hero-solutions-image {
        height: clamp(200px, 50vh, 400px);
    }
}

@media (min-width: 1025px) {
    .hero-solutions-image {
        height: clamp(300px, calc(20vw + 25vh), 664px);
    }
}

/* ----------------------------------------
   Elementor Eyebrow Gradient
---------------------------------------- */
.eyebrow-gradient::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, #68D2FF, #BCDC2B);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    border-radius: inherit;
    padding: max(1px, 0.0625rem);
    z-index: 0;
}

.eyebrow-gradient .elementor-heading-title>span+span {
    display: none;
}

/* ----------------------------------------
   Elementor Hero: .logoSlider
---------------------------------------- */
.logoSlider .swiper-slide-image {
    height: 48px;
    color: #fff;
}

.logoSlider.logoSlider-small .swiper-slide-image {
    height: 32px;
}

.logoSlider img {
    object-fit: contain;
}

.logoSlider:not(.no-Logofade) img {
    filter: invert(100%) brightness(200%) saturate(0%);
    mix-blend-mode: screen;
    opacity: .25;
    transition: opacity 0.5s ease;
}

.logoSlider img:hover {
    opacity: 1;
}

.logoSlider:not(.no-Logofade)::before {
    content: "";
    z-index: 2;
    background-image: linear-gradient(90deg, var(--e-global-color-2c5ae78), #fff0);
    min-width: 144px;
    max-width: 25%;
    height: 100%;
    position: absolute;
    inset: 0% auto 0% 0%;
}

.logoSlider:not(.no-Logofade)::after {
    content: "";
    z-index: 2;
    background-image: linear-gradient(270deg, var(--e-global-color-2c5ae78), #fff0);
    min-width: 144px;
    max-width: 25%;
    height: 100%;
    position: absolute;
    inset: 0% 0% 0% auto;
}


/* ----------------------------------------
   Elementor: Carousel xl foto/video
---------------------------------------- */
.carousel-photo-xl .swiper-slide>div {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    box-sizing: border-box;

    min-height: 520px;
    padding: 128px 16px;
}

/* Subtiele blur onderaan */
.carousel-photo-xl .swiper-slide>div::before {
    content: "";
    position: absolute;
    inset: auto 0 0 0;

    height: 45%;
    min-height: 260px;

    z-index: 1;
    pointer-events: none;

    background: rgba(3, 20, 17, 0.02);

    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);

    -webkit-mask-image: linear-gradient(to top,
            #000 0%,
            rgba(0, 0, 0, 0.95) 20%,
            rgba(0, 0, 0, 0.65) 45%,
            rgba(0, 0, 0, 0.25) 72%,
            transparent 100%);

    mask-image: linear-gradient(to top,
            #000 0%,
            rgba(0, 0, 0, 0.95) 20%,
            rgba(0, 0, 0, 0.65) 45%,
            rgba(0, 0, 0, 0.25) 72%,
            transparent 100%);
}

/* Donkergroen verloop voor leesbaarheid */
.carousel-photo-xl .swiper-slide>div::after {
    content: "";
    position: absolute;
    inset: 0;

    z-index: 2;
    pointer-events: none;

    background: linear-gradient(180deg,
            rgba(3, 20, 17, 0.04) 0%,
            rgba(3, 20, 17, 0.12) 25%,
            rgba(3, 20, 17, 0.38) 50%,
            rgba(3, 20, 17, 0.65) 75%,
            rgba(3, 20, 17, 0.82) 100%);

    /* Oude maskering en hoogte resetten */
    height: auto;
    -webkit-mask-image: none;
    mask-image: none;
}

@media (min-width: 769px) {
    .carousel-photo-xl .swiper-slide>div {
        min-height: 560px;
        padding: 80px 64px;
    }

    .carousel-photo-xl .swiper-slide>div::before {
        height: 42%;
    }

    .carousel-photo-xl .elementor-swiper-button-next {
        right: max(24px,
                calc((100vw - 1376px) / 2)) !important;

        left: auto !important;
    }

    .carousel-photo-xl .elementor-swiper-button-prev {
        right: calc(max(24px,
                    calc((100vw - 1376px) / 2)) + 16px) !important;

        left: auto !important;
    }
}

@media (min-width: 1025px) {
    .carousel-photo-xl .swiper-slide>div {
        min-height: clamp(560px, 44vw, 760px);
    }
}

@media (min-width: 1920px) {
    .carousel-photo-xl .swiper-slide>div {
        min-height: clamp(760px,
                calc(760px + (100vw - 1920px) * 0.21875),
                900px);
    }
}


/* ----------------------------------------
   Elementor: Customer Stories Loop Carousel
---------------------------------------- */
.customer-stories-carousel-wrapper .swiper {
    overflow: visible;
}

/* Safari text autoscaling fix */
.customer-stories-carousel-wrapper,
.customer-stories-carousel-wrapper * {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

.customer-stories-carousel-wrapper .swiper-slide {
    opacity: 1;
    transform: scale(1);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.customer-stories-carousel-wrapper .swiper-slide-prev,
.customer-stories-carousel-wrapper .swiper-slide-next {
    opacity: 0.5;
    transform: scale(0.94);
}

.customer-stories-carousel-wrapper .swiper-slide-active {
    opacity: 1;
    transform: scale(1);
}

.elementor-editor-active .customer-stories-carousel-wrapper .swiper-pagination {
    display: none;
}

.customer-stories-carousel:has(.elementor-widget-video) .reference-featured-image {
    display: none !important;
}

.elementor .elementor-element.customer-stories-carousel-wrapper.e-widget-swiper {
    margin-top: 110px;
}

.elementor-editor-active .elementor .elementor-element.customer-stories-carousel-wrapper {
    margin-top: 0;
}

.customer-stories-carousel.elementor-widget-loop-carousel .swiper-pagination {
    opacity: 0 !important;
    visibility: hidden !important;
}

.customer-stories-carousel.elementor-widget-loop-carousel.pagination-ready .swiper-pagination {
    opacity: 1 !important;
    visibility: visible !important;
    transition: opacity .18s ease;
}

.customer-stories-carousel-wrapper .elementor-element.customer-stories-carousel {
    border: 1px solid rgba(255, 255, 255, 0.02);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.customer-stories-carousel-wrapper .elementor-element.customer-stories-carousel--quote {
    border-left: 1px solid #68D2FF;
}

.customer-stories-carousel-wrapper .elementor-element.customer-stories-carousel--quote>h3 {
    padding-left: 16px;
    color: #B7F36A;
    background-image: linear-gradient(87.54deg, #68D2FF -6.8%, #BCDC2B 84.14%);
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.customer-stories-carousel-wrapper .elementor-element.customer-stories-carousel--quote>h3::before {
    content: "";
    height: 50px;
}

.customer-stories-carousel-wrapper .swiper-pagination {
    inset: auto;
    transform: none;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0;
    padding: 0;
    margin: 0;
    width: 100% !important;
    flex-wrap: nowrap;
}

.customer-stories-carousel-wrapper .swiper-pagination.swiper-pagination-bullets {
    margin-top: -110px;
}

.customer-stories-carousel-wrapper .swiper-pagination::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: rgba(17, 24, 39, 0.16);
}

.customer-stories-carousel-wrapper .swiper-pagination-bullet.logo-bullet {
    opacity: 1 !important;
    background: transparent !important;
    flex: 1 1 0;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 14px 16px 18px;
    border-radius: 0px;
    border-bottom: 2px solid var(--e-global-color-0652222);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
}

.customer-stories-carousel-wrapper .swiper-pagination-bullet.logo-bullet img {
    max-width: 140px;
    max-height: 28px;
    width: auto;
    height: auto;
    object-fit: contain;
    opacity: 0.35;
    filter: brightness(0) invert(1);
    transition: opacity .2s ease, filter .2s ease, transform .2s ease;
}

.customer-stories-carousel-wrapper .swiper-pagination-bullet-active.logo-bullet {
    border-color: #fff;
    background: #fff;
}

.customer-stories-carousel-wrapper .swiper-pagination-bullet-active.logo-bullet img {
    opacity: 1;
    transform: translateY(-1px);
}

@media (hover:hover) {
    .customer-stories-carousel-wrapper .swiper-pagination-bullet.logo-bullet:hover img {
        opacity: 0.6;
    }

    .customer-stories-carousel-wrapper .swiper-pagination-bullet.logo-bullet.swiper-pagination-bullet-active:hover img {
        opacity: 1;
    }
}

.customer-stories-carousel-wrapper .swiper-pagination-bullet.logo-bullet:focus {
    outline: none;
}

.customer-stories-carousel-wrapper .swiper-pagination-bullet.logo-bullet:focus-visible {
    border-color: #fff;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.18);
}

@media (max-width: 600px) {
    .customer-stories-carousel-wrapper .swiper-pagination-bullet.logo-bullet {
        padding: 10px 10px 14px;
        border-radius: 0px;
    }

    .customer-stories-carousel-wrapper .swiper-pagination-bullet.logo-bullet img {
        max-width: 92px;
        max-height: 22px;
    }
}

/* ----------------------------------------
   Text Widget Custom
---------------------------------------- */
.text.elementor-widget-text-editor ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
    list-style: none;
    padding-left: 0;
}

.text.elementor-widget-text-editor p:first-child {
    margin-top: 0;
}

.text.elementor-widget-text-editor p:last-child {
    margin-bottom: 0;
}

.text.elementor-widget-text-editor h4 {
    font-size: 1em;
    font-weight: 500;
    line-height: 1.25rem;
    letter-spacing: 0px;
    margin-bottom: 16px
}

.text.elementor-widget-text-editor h4:first-child {
    margin-top: 0;
}

@media (min-width: 769px) {
    .text.elementor-widget-text-editor h4 {
        font-size: 1.125em;
        line-height: 1.375rem;
        ;
    }
}

@media (min-width: 1025px) {
    .text.elementor-widget.elementor-widget-text-editor h4 {
        font-size: 1.25em;
        line-height: 1.5rem;
        ;
    }
}

.section-heading.elementor-widget-text-editor h2 {
    font-size: 1.75rem;
    line-height: 110%;
    font-weight: 700;
    letter-spacing: -0.56px;
    margin: 0 auto;
    max-width: 25ch;
    margin-bottom: 20px;
    text-wrap: balance;
}

.section-heading.section-heading-left-align.elementor-widget-text-editor h2 {
    margin-left: 0;
}

@media (min-width: 769px) {
    .section-heading.elementor-widget-text-editor h2 {
        font-size: 3rem;
        letter-spacing: -0.96px;
        margin-bottom: 24px;
    }
}

.section-heading.section--light.elementor-widget-text-editor p {
    color: var(--e-global-color-38be540);
}

.section-heading.section--dark.elementor-widget-text-editor p {
    color: var(--e-global-color-4bdcffb);
}

.section-heading.elementor-widget-text-editor:not(:has(p)) :is(h1, h2, h3, h4, h5, h6) {
    margin-bottom: 0;
}

.text.elementor-widget-text-editor ul:only-child {
    margin: 0;
}

.text.elementor-widget-text-editor>ul:last-child {
    margin-bottom: 0;
}

/* ----------------------------------------
   Icon box Widget Custom
---------------------------------------- */
.elementor-element .elementor-element.feature-icon-box .elementor-icon-box-content .elementor-icon-box-title {
    margin-block-start: 1.25rem;
    margin-block-end: 16px;
}

.feature-icon-box {
    position: relative;
}

.feature-icon-box .elementor-icon-box-title a::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
}

.feature-icon-box:has(a[href]) {
    cursor: pointer;
    transition: all 0.25s ease;
}

.feature-icon-box:has(a[href]):hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.elementor-element .elementor-element.feature-icon-box .elementor-icon-box-content .elementor-icon-box-title * {
    font-size: 1rem;
    letter-spacing: 0px;
    font-weight: 500;
    line-height: 125%;
}

@media (min-width: 769px) {
    .elementor-element .elementor-element.feature-icon-box .elementor-icon-box-content .elementor-icon-box-title * {
        font-size: 1.125rem;
    }

    .elementor-element .elementor-element.feature-icon-box .elementor-icon-box-content .elementor-icon-box-title {
        margin-top: 1.375rem;
    }
}


@media (min-width: 1025px) {
    .elementor-element .elementor-element.feature-icon-box .elementor-icon-box-content .elementor-icon-box-title * {
        font-size: 1.25rem;
        line-height: 120%;
    }

    .elementor-element .elementor-element.feature-icon-box .elementor-icon-box-content .elementor-icon-box-title {
        margin-top: 1.5rem;
    }
}

/* ----------------------------------------
   Inline links
---------------------------------------- */
.inline-arrow-btn a {
    background-color: transparent;
}

.inline-arrow-btn .elementor-button-icon svg {
    width: 1.5em
}

.inline-arrow-btn .elementor-button span {
    display: flex;
    align-items: center;
}

.text.elementor-widget-text-editor a {
    color: var(--e-global-color-22755e3);
    text-decoration: underline;
    text-underline-offset: 0.18em;
    text-decoration-thickness: 1px;
    transition: color .15s ease, text-decoration-thickness .15s ease;
}

.text.elementor-widget-text-editor a:hover {
    text-decoration-thickness: 2px;
}

.text.text--on-dark.elementor-widget-text-editor a {
    color: var(--e-global-color-secondary);
}

.screenshot>* {
    aspect-ratio: 3 / 2;
}

/* ----------------------------------------
   Additional Image Styling
---------------------------------------- */
.screenshot {
    position: relative;
    overflow: hidden;
}

.screenshot::before,
.video::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;

    border: 2px solid rgba(255, 255, 255, 0.6);

    mask-image: linear-gradient(135deg,
            rgba(255, 255, 255, 1),
            rgba(255, 255, 255, 0.3));
}

/* ----------------------------------------
   Tabs Styling
---------------------------------------- */

.tabs-featured.tabs-featured-dark .e-n-tabs-heading {
    width: -moz-fit-content;
    width: fit-content;
    margin: 0 auto;
}

.content-tabs .e-n-tabs-heading > button
{
cursor: pointer;
}

.content-tabs .e-n-tabs-content > div[role="tabpanel"]
{
    padding:
        clamp(48px, 5.2vw, 80px)
        clamp(24px, 3.2vw, 48px)
        clamp(32px, 3.2vw, 48px);
}

@media (min-width: 1025px) {
	 .content-tabs .e-n-tabs-heading
    {
        padding: 8px;
        border-radius: 624.9375rem;
        width: -moz-fit-content;
        width: fit-content;
        margin: 0 auto -28px;
        z-index: 1;
    }
	
    .content-tabs.light .e-n-tabs-heading
    {
        border: 1px solid var(--e-global-color-a9a8d12);
        background: var(--e-global-color-2c5ae78);
    }
}

/* ----------------------------------------
   Explore Cards
---------------------------------------- */

.exploreCard {
    --exploreCard-title-gap: 12px;
    --fade-top: 0;
    --fade-bottom: 0;
}

.exploreCard.exploreCardBIG.exploreCard--mobile {
    --mobile-height: 200px;
}

.elementor-element.exploreCard {
    display: flex;
    justify-content: flex-end;
    position: relative;
    text-decoration: none;
    overflow-anchor: none;
    overflow: hidden;
    min-height: 328px;
}

@media (max-width: 768px) {
    .elementor-element.exploreCard {
        min-height: 280px;
    }
}

.exploreCard .exploreCard-inner {
    background: rgba(42 42 45 / 0.45);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    width: fit-content;
    max-width: 100%;
    align-items: flex-start !important;
}

.exploreCard .exploreCard-title {
    margin-bottom: var(--exploreCard-title-gap, 0px);
    transition: margin-bottom 0.25s ease;
}

.exploreCard .exploreCard-content-outer {
    display: block !important;
    height: 0;
    opacity: 0;
    overflow: hidden;
    transition:
        height 0.40s cubic-bezier(0.23, 1, 0.32, 1),
        opacity 0.35s ease;
}

.exploreCard .exploreCard-content-inner {
    display: block !important;
    max-height: 100%;
    overflow-y: hidden;
    padding: 0;
    -webkit-overflow-scrolling: touch;
}

.exploreCard .exploreCard-content-inner p {
    margin: 0;
}

.exploreCard .exploreCard-content-inner::-webkit-scrollbar {
    width: 6px;
}

.exploreCard .exploreCard-content-inner::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.25);
    border-radius: 3px;
}

@media (max-width: 1024px) {
    .exploreCard.exploreCard--mobile .exploreCard-content-outer {
        height: auto !important;
        opacity: 1 !important;
        overflow: visible;
        transition: none !important;
    }

    .exploreCard.exploreCard--mobile .exploreCard-content-inner {
        max-height: var(--mobile-height, 80px) !important;
        overflow-y: auto !important;
    }

    .exploreCard.exploreCard--mobile .exploreCard-title {
        margin-bottom: var(--exploreCard-title-gap, 12px) !important;
    }
}

.exploreCard--hasScroll .exploreCard-content-inner {
    -webkit-mask-image: linear-gradient(to bottom,
            rgba(0, 0, 0, var(--fade-top)) 0%,
            rgba(0, 0, 0, 1) 20%,
            rgba(0, 0, 0, 1) 80%,
            rgba(0, 0, 0, var(--fade-bottom)) 100%);

    mask-image: linear-gradient(to bottom,
            rgba(0, 0, 0, var(--fade-top)) 0%,
            rgba(0, 0, 0, 1) 20%,
            rgba(0, 0, 0, 1) 80%,
            rgba(0, 0, 0, var(--fade-bottom)) 100%);
}

.exploreCard:not(.exploreCard--hasScroll) .exploreCard-content-inner {
    -webkit-mask-image: none;
    mask-image: none;
}

.explore-cards-carousel .swiper {
    height: 100% !important;
    overflow: visible;
}

.explore-cards-carousel .swiper-slide {
    height: auto;
}

.explore-cards-carousel .swiper-slide>.elementor-element {
    height: clamp(380px, calc(300px + 20.8vw), 600px);
}

.explore-cards-carousel .swiper .elementor-icon-wrapper {
    display: flex;
}

.elementor-element.explore-cards-carousel .swiper~.elementor-swiper-button svg {
    width: 1.5rem;
    height: 1.5rem;
}

.elementor-element.explore-cards-carousel .swiper~.elementor-swiper-button.elementor-swiper-button-prev svg {
    transform: rotateY(180deg);
    transform-origin: center;
}

.elementor-element.explore-cards-carousel .swiper~.swiper-pagination {
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    padding: 0 12px;
    background-color: var(--e-global-color-3fae99f);
    border-radius: 99px;
}

.elementor-element.explore-cards-carousel .swiper~.swiper-pagination .swiper-pagination-bullet {
    transform-origin: center;
    transition: width 0.6s cubic-bezier(0.25, 1, 0.5, 1), transform 0.3s ease;
    border-radius: 99px;
    opacity: 1;
}

.elementor-element.explore-cards-carousel .swiper~.swiper-pagination.swiper-pagination-horizontal .swiper-pagination-bullet {
    margin: 0 8px;
}

.elementor-element.explore-cards-carousel .swiper~.swiper-pagination .swiper-pagination-bullet-active {
    width: 32px;
    background: var(--e-global-color-accent);
}

@media (min-width: 1025px) {
    .elementor-element.explore-cards-carousel .swiper~.swiper-pagination {
        display: none;
    }
}

@media (max-width: 1024px) {
    .elementor-element.explore-cards-carousel .swiper~.elementor-swiper-button {
        display: none;
    }
}

/* =========================
   Elementor Styling
   ========================= */
.explore-HR-stories .cardBlur {
    position: absolute;
    overflow: hidden;
    z-index: 0;
    width: 100%;
    height: 80%;
    inset: auto 0 0;

    -webkit-backdrop-filter: blur(80px);
    backdrop-filter: blur(80px);
    background: rgb(42 42 45 / 48%);

    -webkit-mask-image: linear-gradient(
        to bottom,
        rgb(0 0 0 / 0%) 0%,
        rgb(0 0 0 / 4%) 12%,
        rgb(0 0 0 / 16%) 25%,
        rgb(0 0 0 / 38%) 40%,
        rgb(0 0 0 / 65%) 55%,
        rgb(0 0 0 / 86%) 70%,
        #000 85%,
        #000 100%
    );

    mask-image: linear-gradient(
        to bottom,
        rgb(0 0 0 / 0%) 0%,
        rgb(0 0 0 / 4%) 12%,
        rgb(0 0 0 / 16%) 25%,
        rgb(0 0 0 / 38%) 40%,
        rgb(0 0 0 / 65%) 55%,
        rgb(0 0 0 / 86%) 70%,
        #000 85%,
        #000 100%
    );
}

.explore-HR-stories.storyCard {
    aspect-ratio: 7 / 9;
	width: 100%;
}

.explore-HR-stories.storyCard.storyCard-loop {
  aspect-ratio: 10 / 7;
  width: 100%;
}

/* Mobiel: beide hetzelfde formaat */
@media (max-width: 768px) {
    .explore-HR-stories.storyCard,
    .explore-HR-stories.storyCard.storyCard-loop {
        aspect-ratio: 10 / 7;
        height: auto;
        min-height: 300px;
    }
}

.explore-HR-stories .post-terms-pill .elementor-heading-title > span + span {
  display: none;
}


/* =========================
   ACF Shortcodes
   ========================= */
.elementor-element .AcfRelatedCards {
    display: grid;
    grid-template-columns: repeat(var(--arc-cols, 3), 1fr);
    gap: clamp(16px, 2vw, 32px);
}

.elementor-element .AcfRelatedCards_Item {
    position: relative;
    display: block;
    text-decoration: none;
    border-radius: 16px;
    overflow: hidden;
    background: var(--e-global-color-3fae99f);
    transition: transform .2s ease, border-color .2s ease, background .2s ease;
    min-height: 220px;
}

.elementor-element .AcfRelatedCards_Media {
    aspect-ratio: 3 / 2;
    width: 100%;
    height: 100%;
}

.elementor-element .AcfRelatedCards_Image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .6s cubic-bezier(.165, .84, .44, 1),
        filter .6s cubic-bezier(.165, .84, .44, 1);
    transform: scale(1) translateZ(0);
    backface-visibility: hidden;
}

.elementor-element .AcfRelatedCards_Item:hover .AcfRelatedCards_Image {
    transform: scale(1.05) translateZ(0);
    filter: brightness(1.1) saturate(1.1);
}

.elementor-element .AcfRelatedCards_Item .cardBlur {
    position: absolute;
    left: 0;
    top: 0;
    overflow: hidden;
    z-index: 1;
    height: 50%;
    -webkit-backdrop-filter: blur(80px);
    backdrop-filter: blur(80px);
    width: 100%;
    height: 50%;
    background: rgba(42 42 45 / 0.4);
    inset: auto 0% 0%;
    -webkit-mask: linear-gradient(#0000 0%, #000 50%);
    mask: linear-gradient(#0000 0%, #000 50%);
}

.elementor-element .AcfRelatedCards_Body {
    position: absolute;
    left: 0;
    bottom: 0;
    padding: 16px 18px 18px;
    z-index: 10;
}

.elementor-element .AcfRelatedCards_Title {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.25;
    color: rgba(255, 255, 255, 0.95);
}

.elementor-element .AcfRelatedCards_Excerpt {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.75);
}

@media (max-width: 1024px) {
    .elementor-element .AcfRelatedCards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .elementor-element .AcfRelatedCards {
        grid-template-columns: 1fr;
    }
}

/* =========================
   Carousel Aspect Ratios
   ========================= */
.carousel--standard .swiper-slide>.elementor-element {
    aspect-ratio: 3 / 2;
}

.carousel--story {
    aspect-ratio: 4 / 3;
}

.carousel--feature .swiper-slide>.elementor-element {
    aspect-ratio: 16 / 9;
}

/* tablet */
@media (max-width: 1024px) {
    .carousel--feature .swiper-slide>.elementor-element {
        aspect-ratio: 3 / 2;
    }
}

@media (max-width: 768px) {
    .carousel--story {
        aspect-ratio: 4 / 5;
    }

    .carousel--feature .swiper-slide>.elementor-element {
        aspect-ratio: 4 / 3;
    }
}

/* =========================
    Pills
   ========================= */

:root {
    --pill-bg: rgba(154, 178, 175, .08);
    --pill-border: rgba(154, 178, 175, .20);
    --pill-color: #D7E1DF;

    --pill-hover-bg: #F7F8F7;
    --pill-hover-border: #F7F8F7;
    --pill-hover-color: #0E211D;

    --pill-active-bg: #E6EBEA;
}

/* Lists en wrappers */
.pill-list,
.pill-list>ul {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 8px;
}

.pill-list>ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.pill-list>ul>li {
    display: inline-flex;
    margin: 0 !important;
}

/* Alle visuele pills */
:where(.pill,
    .tooltip-pill,
    .pill-list > ul > li > a,
    .pill-list > ul > li > span) {
    display: inline-flex;
    align-items: center;

    width: auto;
    max-width: 100%;
    min-height: 32px;
    padding: 6px 12px 4px;
    box-sizing: border-box;

    border: 1px solid var(--pill-border);
    border-radius: 999px;
    background: var(--pill-bg);
    color: var(--pill-color);

    font-size: .875rem;
    font-weight: 500;
    line-height: 1.2;
    text-decoration: none;

    transition:
        color .2s ease,
        background-color .2s ease,
        border-color .2s ease,
        transform .2s ease;
}

/* Elementor-tekst volgt de linkkleur */
.pill-list>ul>li>a>span {
    color: inherit !important;
}

/* Klikbare pills */
a.pill,
a.pill:visited,
button.pill,
.pill-list>ul>li>a,
.pill-list>ul>li>a:visited {
    color: var(--pill-color) !important;
}

/* Elementor-heading binnen een .pill volgt de linkkleur */
a.pill .elementor-heading-title {
    color: inherit !important;
}

/* Hover en toetsenbordfocus */
a.pill:hover,
a.pill:focus-visible,
button.pill:hover,
button.pill:focus-visible,
.pill-list>ul>li>a:hover,
.pill-list>ul>li>a:focus-visible {
    color: var(--pill-hover-color) !important;
    background: var(--pill-hover-bg) !important;
    border-color: var(--pill-hover-border) !important;
    transform: translateY(-1px);
}

/* Active */
a.pill:active,
button.pill:active,
.pill-list>ul>li>a:active {
    color: var(--pill-hover-color) !important;
    background: var(--pill-active-bg) !important;
    border-color: var(--pill-active-bg) !important;
    transform: translateY(0);
}

/* Product Portfolio card context */
.product-portfolio-card:is(:hover, :focus-within):where(.pill,
    .pill-list > ul > li > a,
    .pill-list > ul > li > span) {
    background: rgba(255, 255, 255, .09);
    border-color: rgba(255, 255, 255, .16);
}

.product-portfolio-card .pill-list {
    position: relative;
    z-index: 2;
    pointer-events: none;
}

.product-portfolio-card .pill-list>ul,
.product-portfolio-card .pill-list>ul>li {
    pointer-events: none;
}

.product-portfolio-card .pill-list>ul>li>a {
    position: relative;
    z-index: 3;

    width: auto;
    pointer-events: auto;
}

.product-portfolio-card .pill-list>ul>li>a,
.product-portfolio-card .pill-list>ul>li>a:visited {
    color: var(--pill-color) !important;
}

.product-portfolio-card .pill-list>ul>li>a>.elementor-icon-list-text {
    min-height: 0;
    padding: 0 !important;

    color: inherit !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0;
}

.product-portfolio-card .pill-list>ul>li>a:hover,
.product-portfolio-card .pill-list>ul>li>a:focus-visible {
    color: var(--pill-hover-color) !important;
    background: var(--pill-hover-bg) !important;
    border-color: var(--pill-hover-border) !important;
    transform: translateY(-1px);
}

.product-portfolio-card .pill-list>ul>li>a:hover>.elementor-icon-list-text,
.product-portfolio-card .pill-list>ul>li>a:focus-visible>.elementor-icon-list-text {
    color: var(--pill-hover-color) !important;
}

.product-portfolio-card .pill-list>ul>li>a:active {
    color: var(--pill-hover-color) !important;
    background: var(--pill-active-bg) !important;
    border-color: var(--pill-active-bg) !important;
    transform: translateY(0);
}

/* Tooltip pill */
.tooltip-pill {
    cursor: help;
}

.tooltip-pill:is(:hover, :focus-visible) {
    color: #FFF;
    background: rgba(255, 255, 255, .12);
    border-color: rgba(255, 255, 255, .30);
}

.site-tooltip {
    position: fixed;
    z-index: 999999;
    max-width: 260px;
    padding: 12px 14px;
    border-radius: 12px;

    color: rgba(255, 255, 255, .88);
    background: rgba(34, 46, 46, .92);
    border: 1px solid rgba(255, 255, 255, .08);
    box-shadow: 0 10px 22px rgba(0, 0, 0, .16);

    backdrop-filter: blur(10px) saturate(120%);
    -webkit-backdrop-filter: blur(10px) saturate(120%);

    font-size: 12.5px;
    line-height: 1.45;

    opacity: 0;
    transform: translateY(4px);
    pointer-events: none;
    transition: opacity .16s ease, transform .16s ease;
}

.site-tooltip.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.site-tooltip--light {
    color: #1D1D1D;
    background: #FFF;
    border-color: rgba(0, 0, 0, .08);
}

/* ----------------------------------------
   Reveal Card
---------------------------------------- */

.elementor-element.revealCard {
    --revealCard-height: 300px;
    --revealCard-mobile-height: 280px;

    --revealCard-radius: 18px;
    --revealCard-panel-radius: 14px;

    --revealCard-card-padding: clamp(12px, 1.5vw, 18px);
    --revealCard-panel-padding: clamp(16px, 2vw, 22px);

    --revealCard-bg: rgba(45, 48, 50, 0.72);
    --revealCard-open-bg: rgba(45, 48, 50, 0.82);
    --revealCard-border: rgba(255, 255, 255, 0.10);
    --revealCard-blur: 18px;

    --revealCard-title: #ffffff;
    --revealCard-text: rgba(255, 255, 255, 0.78);

    --revealCard-panel-max-height: 65%;
    --revealCard-description-lines: 3;

    --revealCard-transition: 0.4s cubic-bezier(0.23, 1, 0.32, 1);

    position: relative;
    display: flex;
    align-items: flex-end;

    width: 100%;
    height: 100% !important;
    min-height: var(--revealCard-height) !important;

    padding: var(--revealCard-card-padding);
    overflow: hidden;
    isolation: isolate;

    border-radius: var(--revealCard-radius);
    background-size: cover;
    background-position: center;
    text-decoration: none;
    color: inherit;
}

/* Optional per-grid overrides */
.branchesGrid .elementor-element.revealCard {
    --revealCard-height: 300px;
    --revealCard-mobile-height: 280px;
    --revealCard-description-lines: 3;
}

/* Image readability overlay */
.elementor-element.revealCard::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.46),
            rgba(0, 0, 0, 0.04) 62%);
}

/* Panel */
.elementor-element.revealCard .revealCard_panel {
    width: 100%;
    max-height: var(--revealCard-panel-max-height);
    overflow: hidden;

    padding: var(--revealCard-panel-padding);
    border-radius: var(--revealCard-panel-radius);

    background: var(--revealCard-bg);
    border: 1px solid var(--revealCard-border);
    backdrop-filter: blur(var(--revealCard-blur));
    -webkit-backdrop-filter: blur(var(--revealCard-blur));

    transition: background-color 0.3s ease;
}

/* Elementor cleanup */
.elementor-element.revealCard .revealCard_panel>.e-con-inner {
    gap: 0;
}

.elementor-element.revealCard .elementor-widget,
.elementor-element.revealCard .elementor-shortcode {
    margin: 0;
}

/* Title */
.elementor-element.revealCard .revealCard_title {
    margin: 0;
    color: var(--revealCard-title);
    font-size: clamp(1rem, 0.9rem + 0.25vw, 1.18rem);
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: -0.01em;
}

/* Description */
.elementor-element.revealCard .revealCard_description {
    margin: 8px 0 0;
    color: var(--revealCard-text);
    font-size: clamp(0.9rem, 0.85rem + 0.15vw, 1rem);
    line-height: 1.45;
    font-weight: 400;

    display: -webkit-box;
    -webkit-line-clamp: var(--revealCard-description-lines);
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Collapsible description widget */
.elementor-element.revealCard .revealCard_panel>.e-con-inner>.elementor-widget:nth-child(2) {
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    overflow: hidden;

    transition:
        grid-template-rows var(--revealCard-transition),
        opacity 0.25s ease;
}

/* Required for smooth collapse */
.elementor-element.revealCard .revealCard_panel>.e-con-inner>.elementor-widget:nth-child(2) .elementor-shortcode {
    min-height: 0;
    overflow: hidden;
}

/* Desktop hover + keyboard focus */
@media (hover: hover) and (pointer: fine) {

    .elementor-element.revealCard:hover .revealCard_panel,
    .elementor-element.revealCard:focus-visible .revealCard_panel,
    .elementor-element.revealCard:focus-within .revealCard_panel {
        background: var(--revealCard-open-bg);
    }

    .elementor-element.revealCard:hover .revealCard_panel>.e-con-inner>.elementor-widget:nth-child(2),
    .elementor-element.revealCard:focus-visible .revealCard_panel>.e-con-inner>.elementor-widget:nth-child(2),
    .elementor-element.revealCard:focus-within .revealCard_panel>.e-con-inner>.elementor-widget:nth-child(2) {
        grid-template-rows: 1fr;
        opacity: 1;
    }
}

/* Mobile / touch: always open */
@media (hover: none),
(pointer: coarse),
(max-width: 767px) {
    .elementor-element.revealCard {
        min-height: var(--revealCard-mobile-height) !important;
    }

    .elementor-element.revealCard .revealCard_panel {
        background: var(--revealCard-open-bg);
    }

    .elementor-element.revealCard .revealCard_panel>.e-con-inner>.elementor-widget:nth-child(2) {
        grid-template-rows: 1fr;
        opacity: 1;
    }
}

/* Keyboard focus */
.elementor-element.revealCard:focus-visible {
    outline: 3px solid rgba(199, 255, 0, 0.9);
    outline-offset: 4px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {

    .elementor-element.revealCard .revealCard_panel,
    .elementor-element.revealCard .revealCard_panel>.e-con-inner>.elementor-widget:nth-child(2) {
        transition: none;
    }
}

/* ----------------------------------------
   Pills Terms Elementor Inline styling
---------------------------------------- */
.post-terms-pill .elementor-heading-title>span {
    display: inline-block;
    white-space: normal;
    overflow-wrap: break-word;
    word-break: break-word;
    font-size: .625rem;
    line-height: 1;
    font-weight: 500;
    padding: 4px 8px;
    background: rgba(1 23 20 / 0.4);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255 255 255 / 0.08);
    border-radius: 50px;
    color: rgba(255, 255, 255, 0.85);
    box-shadow:
        0 0 0 1px rgba(53, 72, 91, .14),
        0 3px 2px rgba(0, 0, 0, .04),
        0 7px 5px rgba(0, 0, 0, .02),
        0 13px 10px rgba(0, 0, 0, .02),
        0 22px 17px rgba(0, 0, 0, .02) !important;
}

.post-terms-pill .elementor-heading-title {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 0.5rem;
}

/* ----------------------------------------
   Grid reveal styling
---------------------------------------- */

.grid-reveal {
    --gr-css-ready: 1;
    --gr-duration: 420ms;
    --gr-button-inset: 24px;
}

.grid-reveal[data-gr-ready="true"] {
    position: relative !important;
}

/* No JavaScript / inactive breakpoint / too few rows: no non-working button. */
.grid-reveal__toggle {
    display: none !important;
}

/* Attribute is added only to the actual cardgrid, never to its intro/parent. */
[data-gr-clip] {
    box-sizing: border-box !important;
    height: var(--gr-height) !important;
    min-height: 0 !important;
    max-height: none !important;
    grid-template-rows: var(--gr-tracks) !important;
    overflow: hidden !important;
    overflow: clip !important;
}

[data-gr-clip="collapsed"] {
    transition: none !important;
    -webkit-mask-image: linear-gradient(to bottom, #000 0, #000 var(--gr-fade-start), transparent var(--gr-height));
    mask-image: linear-gradient(to bottom, #000 0, #000 var(--gr-fade-start), transparent var(--gr-height));
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
}

[data-gr-clip="opening"] {
    transition: height var(--gr-duration, 420ms) cubic-bezier(.22, 1, .36, 1) !important;
    -webkit-mask-image: none;
    mask-image: none;
}

/* A sibling button: not part of the card grid, so never included in its mask. */
.grid-reveal__toggle[data-gr-show="true"] {
    display: block !important;
    position: absolute !important;
    top: var(--gr-button-y) !important;
    left: var(--gr-button-x) !important;
    right: auto !important;
    bottom: auto !important;
    width: max-content !important;
    max-width: var(--gr-button-width) !important;
    margin: 0 !important;
    transform: translate(-50%, -100%) !important;
    z-index: 20;
    pointer-events: auto;
}

.grid-reveal__toggle :is(a, button):focus-visible,
.grid-reveal__toggle:is(a, button):focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 4px;
}

.elementor-editor-active .grid-reveal__toggle {
    display: block !important;
    position: relative !important;
    grid-column: 1 / -1;
    transform: none !important;
}

@media (prefers-reduced-motion: reduce) {
    [data-gr-clip="opening"] {
        transition: none !important;
    }
}

/* =========================================================
   CARD RAIL
========================================================= */

.card-rail {
  --card-rail-gap: 16px;
  --card-rail-card-width: 292px;
  --card-rail-mobile-peek: 40px;
  --card-rail-mobile-max: 340px;
  --card-rail-progress-height: 2px;

  --card-rail-progress-track: #E8ECEB;
  --card-rail-progress-thumb: #839892;

  min-width: 0;
}

.card-rail--light {
  --card-rail-progress-track: #E8ECEB;
  --card-rail-progress-thumb: #839892;
}

.card-rail--dark {
  --card-rail-progress-track: rgba(215, 225, 223, .12);
  --card-rail-progress-thumb: rgba(215, 225, 223, .8);
}

.card-rail > .e-con-inner,
.card-rail .card-rail__track,
.card-rail .card-rail__card {
  min-width: 0;
}

.card-rail .card-rail__card {
  box-sizing: border-box;
}

/* Horizontale rij op desktop en tablet */
.card-rail--scroll .card-rail__track {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  justify-content: flex-start !important;

  width: 100%;
  max-width: 100%;
  min-width: 0;

  gap: var(--card-rail-gap) !important;
  padding-bottom: 12px;

  overflow-x: auto;
  overflow-y: hidden;

  scroll-snap-type: x mandatory;
  scroll-padding-inline: 0;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;

  scrollbar-width: none;
}

.card-rail--scroll
.card-rail__track > .card-rail__card {
  flex: 0 0 var(--card-rail-card-width) !important;
  width: var(--card-rail-card-width) !important;
  max-width: none !important;

  scroll-snap-align: start;
}

.card-rail .card-rail__track::-webkit-scrollbar {
  display: none;
}

/* Scrollindicator */
.card-rail .card-rail__progress {
  position: relative;

  display: block;
  flex: 0 0 auto;
  align-self: stretch;

  width: 100%;
  max-width: 100%;
  min-width: 0;
  height: var(--card-rail-progress-height);
  margin-top: 4px;

  overflow: hidden;
  border-radius: 999px;

  background: var(--card-rail-progress-track);
}

.card-rail .card-rail__progress[hidden],
.card-rail .card-rail__progress.is-hidden {
  display: none !important;
}

.card-rail .card-rail__thumb {
  position: absolute;
  inset: 0 auto 0 0;

  display: block;
  width: 24px;
  height: 100%;

  border-radius: inherit;
  background: var(--card-rail-progress-thumb);

  transform: translate3d(0, 0, 0);
}


/* Optionele navigatieknoppen */
.card-rail
:is(.card-rail__prev, .card-rail__next)
:is(.elementor-button, button),
.card-rail
:is(a, button):is(.card-rail__prev, .card-rail__next) {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 40px;
  height: 40px;
  min-width: 40px;
  padding: 0;

  border: 0;
  border-radius: 50%;
  box-shadow: none;
  cursor: pointer;
}

.card-rail
:is(.card-rail__prev, .card-rail__next)
:is(.elementor-button, button) svg {
	fill: none !important;
}

.card-rail
:is(.card-rail__prev, .card-rail__next).is-disabled {
  opacity: .35;
}

/* Mobiel: one rail */
@media (max-width: 768px) {
  .card-rail .card-rail__track {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    justify-content: flex-start !important;

    width: 100%;
    max-width: 100%;
    min-width: 0;

    gap: var(--card-rail-gap) !important;
    padding-bottom: 12px;

    overflow-x: auto;
    overflow-y: hidden;

    scroll-snap-type: x mandatory;
    scroll-padding-inline: 0;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;

    scrollbar-width: none;
  }

  .card-rail
  .card-rail__track > .card-rail__card {
    flex: 0 0 calc(
      100% - var(--card-rail-mobile-peek)
    ) !important;

    width: calc(
      100% - var(--card-rail-mobile-peek)
    ) !important;

    max-width: var(--card-rail-mobile-max) !important;

    scroll-snap-align: start;
  }
}

/* Minder beweging */
@media (prefers-reduced-motion: reduce) {

  .card-rail
  :is(.card-rail__prev, .card-rail__next)
  :is(.elementor-button, button),
  .card-rail
  :is(a, button):is(.card-rail__prev, .card-rail__next) {
    transition: none;
  }
}

/* =========================================================
   CIRCLE ARROW CTA — JOB CARDS EN LINK CARDS
========================================================= */

.circle-arrow-cta {
  position: relative;
  display: block;
  width: 36px;
  height: 36px;
  max-width: 100%;
  overflow: hidden;
  border-radius: 999px;

  background-color: var(--e-global-color-accent, #FF8C24);
  color: var(--e-global-color-2c5ae78, #011714);

  transition:
    width 280ms cubic-bezier(.22, 1, .36, 1),
    height 280ms cubic-bezier(.22, 1, .36, 1);
}

.circle-arrow-cta-label {
  position: absolute;
  top: 50%;
  right: 42px;

  display: block;
  width: max-content;
  max-width: var(--circle-arrow-cta-label-max, none);

  white-space: nowrap;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.01em;

  opacity: 0;
  transform: translate(6px, -50%);

  transition:
    opacity 160ms ease,
    transform 280ms cubic-bezier(.22, 1, .36, 1);
}

.circle-arrow-cta-icon {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);

  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
}

.circle-arrow-cta-icon svg {
  display: block;
  width: 18px;
  height: 18px;
}

/* Lange teksten blijven binnen de beschikbare ruimte. */

:is(.link-card, .job-card) .circle-arrow-cta-label {
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.4;
  text-align: left;
}

/* Link Cards: tekst meteen zichtbaar op mobiel/touch. */

.link-card .circle-arrow-cta {
  width: var(--circle-arrow-cta-expanded-width, 168px);
  height: var(--circle-arrow-cta-expanded-height, 36px);
}

.link-card .circle-arrow-cta-label {
  opacity: 1;
  transform: translate(0, -50%);
}

/* Jobs: gemeten breedte en bijbehorende headerruimte. */

@media (hover: hover) and (pointer: fine) {
  .job-card .job-card-header {
    padding-right: calc(
      var(--circle-arrow-cta-expanded-width, 168px) + 12px
    );

    min-height: max(
      36px,
      var(--circle-arrow-cta-expanded-height, 36px)
    );
  }

  .job-card:is(:hover, :focus-within) .circle-arrow-cta {
    width: var(--circle-arrow-cta-expanded-width, 168px);
    height: var(--circle-arrow-cta-expanded-height, 36px);
  }

  .job-card:is(:hover, :focus-within) .circle-arrow-cta-label {
    opacity: 1;
    transform: translate(0, -50%);
  }
}

/* Link Cards: uitschuiven bij desktop hover/focus. */

@media (hover: hover) and (pointer: fine) and (min-width: 768px) {
  .link-card .circle-arrow-cta {
    width: 36px;
    height: 36px;
  }

  .link-card .circle-arrow-cta-label {
    opacity: 0;
    transform: translate(6px, -50%);
  }

  .link-card:is(:hover, :focus-within) .circle-arrow-cta {
    width: var(--circle-arrow-cta-expanded-width, 168px);
    height: var(--circle-arrow-cta-expanded-height, 36px);
  }

  .link-card:is(:hover, :focus-within) .circle-arrow-cta-label {
    opacity: 1;
    transform: translate(0, -50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .circle-arrow-cta,
  .circle-arrow-cta-label {
    transition: none;
  }
}