/*** ---------- Algemeen ---------- ***/
.wpb-block {
    &.text-light { --clr-sep: #fff;
        .wpb-text { color: var(--clr-contrast-text, rgb(255, 255, 255));
            h1, h2, h3, h4, h5, h6, strong, b { color: var(--clr-contrast, #fff); }
            a:not(.btn) { color: var(--clr-contrast, #fff); }
        }
        .wpb-label {
            span {color: var(--clr-contrast-text, #fff); }
            i {--clr: var(--clr-contrast-text, #fff);}
        }
        .wpb-block__header {
            .wpb-quote { color: #fff; --clr-sep: var(--clr-contrast, #fff);
                blockquote { background: linear-gradient(90deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.2) 51.44%, rgba(255, 255, 255, 0.2) 94.23%); border: 1px solid rgba(255, 255, 255, 0.2); }
                .wpb-author__avatar::after { background: var(--clr-contrast, #fff); }
            }
        }
    }
    &.text-dark { --clr-sep: var(--clr-primary);
        .wpb-text { color: var(--clr-text);
            h1, h2, h3, h4, h5, h6, strong, b, a:not(.btn) { color: var(--clr-text); }
        }
        .wpb-label { 
            span {color: var(--clr-primary);} 
            i {--clr: var(--clr-primary);}
        }
    }

    .wpb-block__header { margin-bottom: clamp(2.4rem, 4vw, 4rem); display: flex; gap: clamp(2rem, 3vw, 4rem); justify-content: space-between; flex-direction: column;
        &.header--center {align-items: center; text-align: center; margin-left: auto; margin-right: auto;
            .wpb-text { align-items: center; max-width: 80rem;}
        }
        &.header--right  {align-items: flex-end; text-align: right;
            .wpb-text { align-items: flex-end;}
        }

        .wpb-text { display: flex; flex-direction: column; width: 100%; max-width: 66rem;}
        .wpb-quote {max-width: 42rem;
            blockquote { background: var(--clr-light); border-radius: var(--br); padding: 1.6rem; position: relative; max-width: 37rem; font-style: italic; font-size: 1.6rem; line-height: 1.4; font-weight: 600; }
            .wpb-quote__author { justify-content: flex-end;}
            .wpb-author__avatar { margin-top: -2rem;
                img {--size: 5.6rem;}
                &::after { content: ''; position: absolute; top: 0; left: 0; width: 0.6rem; height: 2rem; border-top-left-radius: var(--br); border-bottom-right-radius: var(--br); background: var(--clr-primary);}
            }
        }
    }
    .wpb-block__footer { margin-top: clamp(2.4rem, 4vw, 4rem);
        .btn-group {justify-content: center;}
    }

    @media (min-width: 992px) {margin: 0 1.6rem;
        .wpb-block__header:has(.wpb-quote,.btn-group) {flex-direction: row; column-gap: clamp(3.2rem, 5vw, 6.4rem); }
    }
}


/*** ---------- Block: Hero ---------- ***/
.wpb-hero { --p: 2.8rem; padding-top: calc(var(--p) + var(--header-height)); color: var(--clr-contrast-text, rgb(255, 255, 255));
    .wpb-hero__body { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(2.4rem, 4vw, 6.4rem);
        .wpb-hero__content {z-index: 1; width: 100%; padding: 0 1.8rem; }
        .wpb-hero__image {z-index: 1; position: relative;
            &::before { content: ''; display: block; width: 100%; padding-top: 50%; }
            img { position: absolute; top: 0; right: 0; bottom: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
        }
    }

    &.wpb-hero--home { background: var(--clr-hero-bg, var(--clr-light));
        .wpb-hero__body {
            .wpb-hero__content {
                .wpb-review-score { font-weight: 700; }
            }
        }
        &::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; opacity: .6;
            background:
                linear-gradient(250.01deg, rgba(var(--clr-primary-rgb), 0) 22.01%, rgba(var(--clr-primary-rgb), 0.1) 45.34%, rgba(var(--clr-primary-rgb), 0.2) 92.88%),
                radial-gradient(6.8% 11.24% at 100% 16.84%, rgba(var(--clr-primary-rgb), 0.2) 0%, rgba(var(--clr-primary-rgb), 0) 100%),
                radial-gradient(24.78% 40.95% at 64.69% 97.98%, rgba(var(--clr-primary-rgb), 0.2) 0%, rgba(var(--clr-primary-rgb), 0) 100%);

        }
    }

    &.wpb-hero--subpage {
        .wpb-hero__body { z-index: 1; position: relative;
            .wpb-hero__content .wpb-review-score { --bg-clr: transparent; --p: 0; --fs: 1.4rem;
                .wpb-icon { opacity: .6;
                    &::after { background-color: var(--clr-contrast-text,  #fff); }
                }
            }
            .wpb-hero__image { min-height: 40dvh; }
        }

        &.varient__single {
            .wpb-hero__body {
                .wpb-hero__image { min-height: auto; }
            }
        }

        &.varient__team {
            .wpb-hero__body {
                .wpb-hero__content {display: flex; flex-direction: column; justify-content: center; height: 100%;}
                .wpb-hero__image {min-height: 40dvh;
                    img {object-position: center top;}
                }
            }
        }
        &.varient__archive {
            .wpb-hero__body {
                .wpb-hero__content {order: 1; display: flex; flex-direction: column; justify-content: space-between; padding-top: 0; padding-bottom: 0; gap: 2rem;}
                .wpb-hero__image {order: 0; max-height: 20dvh; }
            }
        }
    }
    &.wpb-hero--contact {position: relative;
        .wpb-hero__grid { display: grid; grid-template-columns: 1fr; gap: 3.2rem; align-items: start; }
        .wpb-hero__col { display: flex; flex-direction: column; gap: 3.2rem; min-width: 0; }

        .wpb-contact__info { display: grid; grid-template-columns: 1fr; gap: 1.6rem;
            .contact-card--address { grid-column: 1 / -1; }
        }

        .contact-card {--p: clamp(2.4rem, 3.2vw, 4rem); display: inline-flex; align-items: center; gap: 3.2rem; padding: var(--p); border-radius: var(--br); border: 1px solid rgba(46, 45, 44, 0.2); text-decoration: none; color: inherit; transition: border-color var(--ts-35) ease;
            > i { font-size: clamp(2.4rem, 3.2vw, 4rem); color: var(--clr-primary); }
            .card-value {font-weight: 600; }
            .btn.btn--link { display: inline-flex; align-items: center; gap: .6rem; margin-left: auto; color: var(--clr-primary); margin-top: auto; line-height: 1.8; font-weight: 600; }

            &:hover { border-color: var(--clr-primary); }
        }

        .wpb-card--contact-form {--p: clamp(2.4rem, 3.2vw, 4rem); border: 1px solid var(--clr-border); border-radius: 1.6rem; background-color: #fff;
            .wpb-card__body { padding: var(--p); }
            .wpb-contact-form__header { margin-bottom: 2.4rem;
                h2 { margin-bottom: .8rem; }
                p { margin: 0; opacity: .8; }
            }
        }

        @media (min-width: 768px) {
            .wpb-contact__info { grid-template-columns: repeat(2, minmax(0, 1fr)); }
        }

        @media (min-width: 992px) {
            .wpb-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 4.8rem; }
        }
    }
}

@media (min-width: 576px) {
    .wpb-hero.wpb-hero--subpage .wpb-hero__body .wpb-hero__content { max-width: var(--container-width--sm); margin-inline: auto; }
}

@media (min-width: 768px) {
    .wpb-hero.wpb-hero--subpage .wpb-hero__body .wpb-hero__content { max-width: var(--container-width--md); }
}

@media (min-width: 992px) {
    .wpb-hero {
        &.wpb-hero--subpage { padding-top: var(--header-height); --mask-size: 167%;
            .wpb-hero__body { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
                .wpb-hero__content { max-width: 100%; padding-left: calc((100vw - (var(--container-width--lg) - 3.6rem)) / 2); padding-right: 0; padding-block: 4.8rem; }
                .wpb-hero__image::before { display: none; }
            }
        }

        &.wpb-hero--subpage {
            .wpb-hero__body {
                .wpb-hero__image { min-height: 60dvh; }
            }
            &.varient__team,
            &.varient__single {
                .wpb-hero__body {
                    .wpb-hero__content { padding-block: 12rem; }
                }
            }
            &.varient__archive {
                .wpb-hero__body {
                    .wpb-hero__content {order: 0;}
                    .wpb-hero__image {order: 1; min-height: 40dvh; max-height: auto;}
                }
            }
        }
    }
}

@media (min-width: 1200px) {
    .wpb-hero {
        &.wpb-hero--subpage {
            .wpb-hero__body { gap: 7.8rem;
                .wpb-hero__content { padding-left: calc((100vw - (var(--container-width--xl) - 3.6rem)) / 2); }
            }
        }

        &.wpb-hero--subpage {
            &.varient__team,
            &.varient__single {
                .wpb-hero__body { grid-template-columns: minmax(0, 1fr) minmax(0, calc(54rem + (100vw - (var(--container-width--xl) - 3.6rem)) / 2)); --gap: 6.4rem; }
            }
        }
    }
}

@media (min-width: 1400px) {
    .wpb-hero {
        &.wpb-hero--subpage {
            .wpb-hero__body .wpb-hero__content { padding-left: calc((100vw - (var(--container-width--xxl) - 3.6rem)) / 2); }
        }
        &.wpb-hero--subpage {
            &.varient__team,
            &.varient__single {
                .wpb-hero__body { grid-template-columns: minmax(0, 1fr) minmax(0, calc(54rem + (100vw - (var(--container-width--xxl) - 3.6rem)) / 2)); --gap: 6.4rem; }
            }
        }
    }
}

@media (min-width: 1600px) {
    .wpb-hero {
        &.wpb-hero--subpage {
            .wpb-hero__body .wpb-hero__content { padding-left: calc((100vw - (var(--container-width--xxxl) - 3.6rem)) / 2); }
        }
        &.wpb-hero--subpage {
            &.varient__team,
            &.varient__single {
                .wpb-hero__body { grid-template-columns: minmax(0, 1fr) minmax(0, calc(54rem + (100vw - (var(--container-width--xxxl) - 3.6rem)) / 2)); --gap: 6.4rem; }
            }
        }
    }
}


/*** ---------- Block: Logo Slider ---------- ***/
.wpb-block--logo-slider {margin-left: 0; margin-right: 0;
    &:not(.wpb-bg-clr--transparent) {margin: 0 1.6rem;}
    &.wpb-bg-clr--primary {--clr-bg: var(--clr-primary);
        .swiper--logos {
            .swiper-slide {
                img { filter: invert(1); opacity: .4;}
            }
        }
    }

    .swiper--logos { --logo-gap: clamp(5rem, 6vw, 9rem); --logos-visible: 3 position: relative; overflow: visible;
        .wpb-block:has(&) { overflow: hidden; }
        .swiper-wrapper { display: flex; width: max-content; will-change: transform; animation: logo-marquee var(--marquee-duration, 40s) linear infinite; }
        .swiper-slide { --max-w: clamp(10rem, 10vw, 13rem); --max-h: clamp(4rem, 6vw, 5rem); width: auto; flex-shrink: 0; margin-right: var(--logo-gap); display: flex; justify-content: center; margin-top: auto; margin-bottom: auto;
            img { max-width: var(--max-w); max-height: var(--max-h); height: auto; filter: grayscale(1); opacity: .3;}
        }
    }

    @media (min-width: 768px) {
        .swiper--logos { --logos-visible: 4; }
    }
    @media (min-width: 1200px) {
        .swiper--logos { --logos-visible: 5; }
    }

}

@keyframes logo-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .swiper--logos .swiper-wrapper { animation: none; } }


/*** ---------- Block: Grid ---------- ***/
.wpb-block--grid {
    .wpb-block__body {position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.6rem;
        .wpb-column {--p: 1.2rem; position: relative; padding: var(--p); border-radius: var(--br); overflow: hidden;
            .wpb-text {--mt: 0.6em; z-index: 1; position: relative; padding: var(--p); color: var(--clr-contrast-text, rgb(255, 255, 255));
                .wpb-label {position: relative; font-style: italic; padding-left: 1rem; opacity: .75;
                    &::before { content: ''; position: absolute; top: 50%; left: 0; width: 0.4rem; height: 0.4rem; background-color: var(--clr-contrast-text); opacity: .6; border-radius: 50%; transform: translateY(-50%); }
                }
                .badge-group {
                    & + :is(h1, h2, h3) { --mt: 1em; }
                }
                h1, h2, h3 { --fs: clamp(1.6rem, 2vw, 2rem); color: inherit; line-height: 1.4; text-wrap: wrap;}
            }
            .wpb-column__link { position: absolute; inset: 0; z-index: 2; }
            .btn-group { position: relative; z-index: 3;
                .btn { width: 100%; }
            }
            &:has(.wpb-column__link):hover {
                .btn-group .btn { color: var(--hover-clr)!important; background-color: var(--hover-bg-clr)!important; border: var(--hover-border)!important; box-shadow: var(--hover-box-shadow)!important;
                    i { --clr: var(--hover-clr); color: var(--hover-clr); }
                    i.fa-arrow-up-right { transform: translate(0.2rem, -0.2rem); }
                    i.fa-arrow-left { transform: translate(-0.2rem, 0rem); }
                    i.fa-arrow-right { transform: translate(0.2rem, 0rem); }
                }
            }

            &.wpb-column--1 {
                .column-wrapper{ height: 100%; display: flex; flex-direction: column; justify-content: space-between; gap: 1.2rem;
                    .wpb-text {
                        i.fa-light.fa-comments {font-size: clamp(3.2rem, 3.2vw, 4rem);}
                    }
                }
            }
            &.wpb-column--2 {background-color: var(--clr-light);}
            &.wpb-column--3 {min-height: 48rem; height: 100%; display: flex; flex-direction: column; justify-content: space-between; gap: 1.2rem;
                .wpb-image { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: -1;
                    img { width: 100%; height: 100%; object-fit: cover; }
                    &::after { content: ''; position: absolute; top: 0; right: 0; width: 100%; height: 70%; background: linear-gradient(to bottom, var(--clr-light) 25%, transparent); }
                }
            }
            &.wpb-column--4 {background-color: var(--clr-light);}
            &.wpb-column--5 {--p: 0;
                .card-container {height: 100%;}
            }
        }
    }

    @media (max-width: 575.98px) {
        .wpb-block__body {
            .wpb-column {
                &.wpb-column--4 {--clr-contrast-text: #fff; --min-h: 24rem; background: transparent;
                    .text-wrapper {background: var(--clr-dark); color: #fff; margin-top: 1.6rem; border-radius: var(--br); padding: var(--p); min-height: var(--min-h); display: flex; flex-direction: column; justify-content: space-between; gap: 1.2rem;
                        .wpb-text { color: inherit;}
                    }
                }
            }
        }
    }
    @media (min-width: 576px) {
        .wpb-block__body { grid-template-columns: repeat(2, 1fr);
            .wpb-column { min-height: 32rem !important;
                &.wpb-column--4 {order: 5; grid-column: span 2; display: grid; grid-template-columns:minmax(40%, auto) 1fr;
                    .text-wrapper {height: 100%; display: flex; flex-direction: column; justify-content: space-between; gap: 1.2rem;  }
                    .image-wrapper { height: 100%; width: 100%;
                        .wpb-image { position: relative; height: 100%; width: 100%;
                            img {position: absolute; top: calc(var(--p) * -1); left: calc(var(--p) * -1); width: 100%; height: calc(100% + var(--p) * 2); object-fit: cover; border-radius: 0; }
                            &::after { content: ''; position: absolute; top: calc(var(--p) * -1); right: 0; width: 40%; height: calc(100% + var(--p) * 2); background: linear-gradient(to left, var(--clr-light) 10%, transparent); }
                        }
                    }
                }
            }
        }
    }
    @media (min-width: 768px) {
        .wpb-block__body { grid-template-columns: repeat(2, 1fr); }
    }
    @media (min-width: 992px) {
        .wpb-block__body { grid-template-columns: repeat(3, 1fr);
            .wpb-column {
                &.wpb-column--1 {order: 1; }
                &.wpb-column--2 {order: 2; }
                &.wpb-column--3 {order: 3; }
                &.wpb-column--4 {order: 4; }
                &.wpb-column--5 {order: 5; }
            }
        }
    }
    @media (min-width: 1200px) {
        .wpb-block__body { grid-template-columns: 1fr 1fr minmax(15%, auto) 1fr;
            .wpb-column {
                &.wpb-column--1 {order: 1; }
                &.wpb-column--2 {order: 4; }
                &.wpb-column--3 {order: 2; grid-row: span 2; }
                &.wpb-column--4 {order: 3; grid-column: span 2; }
                &.wpb-column--5 {order: 5; grid-column: span 2; }
            }
        }
    }
    @media (min-width: 1400px) {
        .wpb-block__body {grid-template-columns: repeat(4, 1fr);
            .wpb-column {
                &.wpb-column--4 {display: grid; grid-template-columns: 1fr 1fr; }
            }
        }
    }
}


/*** ---------- Block: Cases ---------- ***/
.wpb-block--cases {overflow: hidden;
    .wpb-block__body {
        .swiper.swiper--cases {overflow: visible; 
            .card-container {height: 100%;
                .wpb-card {min-height: 32rem; height: 100%;}
            }
            .swiper-pagination {position: relative; top: 1.6rem; bottom: 0;}
        }
    }

    @media (min-width: 992px) {
        .wpb-block__body {--gc: 2; max-height: 130rem; overflow-x: visible; overflow-y: hidden;
            &::after {
                content: ''; z-index: 1; position: absolute; bottom: 0; left: 0; width: 100%; height: 16rem; pointer-events: none; background: linear-gradient(to top, var(--bg-clr, transparent) 40%, transparent);
            }

            .swiper-wrapper { display: grid; grid-template-columns: repeat(var(--gc), minmax(0, 1fr)); gap: 1.6rem; transform: none !important; }
            .swiper-slide { width: auto !important; margin-right: 0 !important; min-height: 38rem;
                &.slide__1 {grid-column: span 2; }
                &.slide__4 {grid-column: span 2; }
                &.slide__7 {grid-column: span 2; }
            }
            .swiper-pagination,
            .swiper-scrollbar,
            .swiper-buttons {display: none; }
        }
        .wpb-block__footer {margin-top: 0; position: relative; z-index: 1;}
    }
    @media (min-width: 1220px) {
        .wpb-block__body {--gc: 3; max-height: 90rem;
            .swiper-slide {
                &.slide__1 {grid-column: span 2;}
                &.slide__4 {grid-column: span 2;}
                &.slide__7 {grid-column: span 1;}
            }
        }
    }
}


/*** ---------- Block: Carousel ---------- ***/
.wpb-block--carousel {
    .wpb-image { position: relative; 
        img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
        &::after { content: ''; display: block; width: 100%; padding-top: 75%; }
    }
}

/*** ---------- Block: Featured ---------- ***/
.wpb-block--featured {
    .wpb-block__body {--gap: 1.6rem; display: flex; flex-wrap: wrap; gap: var(--gap); justify-content: center;
        .card-container {flex-basis: calc(50% - (var(--gap) / 1.5)); flex-grow: 1; min-width: 26rem; }
    }
    @media (min-width: 768px) {
        .wpb-block__body { --gc: 2; 
            .card-container {max-width: 50%;}
        }
    }
    
    @media (min-width: 992px) {
        .wpb-block__body { --gc: 3; }
    }
    
    @media (min-width: 1200px) {
        .wpb-block__body { 
            .card-container {flex-basis: calc(33% - (var(--gap) / 1.5)); max-width: 50%;}
        }
    }
}


/*** ---------- Block: Blurb ---------- ***/
.wpb-block--featured-case { 
    .wpb-author {padding: 0 !important; background: transparent !important;}
}


/*** ---------- Block: Solutions ---------- ***/
.wpb-block--solutions {

}


/*** ---------- Block: Content ---------- ***/
.wpb-block--content {
    .wpb-block__body {
        .wpb-quote { --size: 6.8rem; display: grid; align-items: center; grid-template-columns: var(--size) 1fr; gap: 1.8rem; overflow: hidden;
            .wpb-author__avatar img { border-radius: var(--br); }
            .wpb-author__content {display:flex; flex-direction: column; justify-content: space-between; gap: 0.4rem; height: fit-content; line-height: 1.4;
                blockquote {border-left: none; padding: 0; margin: 0; position: relative; font-weight: 700;
                    p { margin: 0; }
                }
            }
        }

        .wpb-cta {--size: 5.6rem; display: flex; gap: 1rem;
            &:has(.btn--primary) {--clr: var(--clr-primary-20);}
            .wpb-author__avatar { height: fit-content;
                &::after { content: ''; position: absolute; bottom: 0; right: 0; width: 0.6rem; height: 2rem; border-top-left-radius: var(--br); border-bottom-right-radius: var(--br); background: var(--clr, --clr-primary);}
            }
            .wpb-author__meta { height: 3.6rem; }
            .btn {margin-left: -1.6rem;}
        }
    }
}


/*** ---------- Block: Blurb ---------- ***/
.wpb-block--blurb { position: relative; isolation: isolate;
    .container { position: relative; z-index: 1; padding-bottom: clamp(12rem, 24vw, 38rem); }
    .wpb-block__body { align-items: stretch;
        .card-container { height: 100%; }
    }
    &.wpb-block--blurb-full-text .card-excerpt { --excerpt-line-clamp: none; display: block; overflow: visible; }

    .wpb-block__background { --h: clamp(28rem, 34vw, 56rem); position: absolute; inset: auto 0 0 0; z-index: 0; height: var(--h); pointer-events: none;
        img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; border-radius: 0; -webkit-mask-image: linear-gradient(to bottom, transparent, black 35%); mask-image: linear-gradient(to bottom, transparent, black 35%); }
    }
}


/*** ---------- Block: steps ---------- ***/
.wpb-block--steps { --media-h: clamp(40rem, 48vw, 80rem); --edge: clamp(4rem, 4vw, 8rem); overflow: hidden;
    .wpb-block__header { flex-direction: row; align-items: flex-end; }

    .wpb-block__body { position: relative; display: flex; flex-direction: column; align-items: flex-end; justify-content: flex-end; min-height: var(--media-h);  border-top-left-radius: var(--br-xl); border-top-right-radius: var(--br-xl); border-bottom-left-radius: var(--br); border-bottom-right-radius: var(--br); overflow: hidden; 
        .wpb-steps__nav {position: absolute; top: 3.2rem; right: 3.2rem; display: flex; gap: .8rem; flex-shrink: 0;
            .swiper-button-prev,
            .swiper-button-next { --min-height: 4.4rem; --p: 0; position: static; width: 4.4rem; height: 4.4rem; margin: 0; flex-shrink: 0;
                &.swiper-button-disabled { opacity: .35; pointer-events: none; }
            }
        }
        .wpb-steps__media { position: absolute; inset: 0; z-index: 0; background: linear-gradient(to top, var(--clr-primary-120) 0%, var(--clr-primary) 60%);
            .wpb-steps__image { position: absolute; inset: 0; opacity: 0; transition: opacity var(--ts-50) var(--ts-function);
                &.is-active { opacity: 1; }
                img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; -webkit-mask-image: linear-gradient(to bottom, #000 50%, transparent 70%); mask-image: linear-gradient(to bottom, #000 50%, transparent 70%); }
            }
        }
        .swiper--steps { position: relative; z-index: 1; width: 100%; overflow: hidden; padding: var(--edge); padding-bottom: clamp(3.6rem, 5vw, 5.6rem);
            --swiper-theme-color: #fff;
    
            .swiper-wrapper { align-items: stretch; }
            .swiper-slide { height: auto; }
    
            .wpb-step { display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 1rem; height: 100%; color: #fff; transition: opacity var(--ts-35) var(--ts-function);
                .badge { display: none; }
                .wpb-step__title { --fs: clamp(1.8rem, 2vw, 2.2rem); color: #fff; line-height: 1.2; }
                .wpb-step__text { line-height: 1.6; color: rgba(255, 255, 255, 0.85); }
            }
            .swiper-slide:not(.is-active) .wpb-step { opacity: 0.6; }
            .swiper-slide.is-active .wpb-step .badge { display: inline-block; }
    
        }
        .swiper-scrollbar { margin: var(--edge); margin-top: 0; width: calc(100% - (var(--edge) * 2)); height: 0.4rem; background: rgba(255, 255, 255, 0.25); border-radius: 2rem; overflow: hidden;
            .swiper-scrollbar__bar { display: block; height: 100%; width: 0; background: #fff; border-radius: inherit; transition: transform var(--ts-35) var(--ts-function), width var(--ts-35) var(--ts-function); }
        }
    }
}


/*** ---------- Block: Text Shortcode ---------- ***/
.wpb-block--cta { padding-bottom: calc(var(--pb) * 2.5);
    .wpb-block__content {max-width: 72rem;
        .wpb-text {background-color: var(--clr-light); padding: clamp(2.4rem, 3.2vw, 4rem); border-radius: var(--br); font-weight: 600;
            .wpb-text__footer {display: flex; align-items: center; gap: 1.2rem; justify-content: space-between; flex-wrap: wrap;
                .wpb-text__author { --size: 5.1rem; display: flex; align-items: center; gap: 1.2rem;
                }
            }
        }
    }
    .wpb-block__background { 
        .wpb-image {
            img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 0;}
        }
    }

    @media (max-width: 767.98px) {
        .wpb-block__content {
            .btn-group {width: 100%;}
        }
    }
}


/*** ---------- Block: Text Shortcode ---------- ***/
.wpb-block--text-gravityform .container { column-gap: 2rem; row-gap: 2rem; }

@media (min-width: 992px) {
    .wpb-block--text-gravityform .container { column-gap: 3.2rem; }
}

@media (min-width: 1200px) {
    .wpb-block--text-gravityform .container { column-gap: 9.8rem; }
}

/*** ---------- Block: Youtube embed ---------- ***/
.wpb-block--text-video {
    .container { column-gap: 2rem; row-gap: 2rem; }
    .wpb-ratio {
        iframe, img { border-radius: .5rem; }
        .youtube-play { border: none; position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 5; cursor: pointer; transition: opacity var(--ts-35) ease;
            img { object-fit: cover; width: 100%; height: 100%; }
            .play-icon { position: absolute; top: calc(50% - 3.2rem); left: calc(50% - 3.2rem); display: grid; place-items: center; z-index: 2; background-color: var(--clr-primary); border-radius: 50%; width: 6.4rem; height: 6.4rem; transition: .25s ease; 
                i { color: rgb(255,255,255); }
            }
        }
        &:hover .youtube-play .play-icon { transform: scale(1.065); }
    }
}

@media (min-width: 992px) {
    .wpb-block--text-video {
        .container { column-gap: 3.2rem; }
    }
}

@media (min-width: 1200px) {
    .wpb-block--text-video .container { column-gap: 6.4rem; }
}

@media (min-width: 1400px) {
    .wpb-block--text-video .container { column-gap: 9.8rem; }
}


/*** ---------- Block: Team ---------- ***/
.wpb-block--team {
    .wpb-block__body { display: flex; flex-direction: column; gap: clamp(2rem, 3vw, 3.2rem); }

    .wpb-team__row {--gc: 2; --mx: 38rem; display: grid; grid-template-columns: repeat(var(--gc), minmax(0, 1fr)); gap: clamp(1.6rem, 2.4vw, 3.2rem); 
        &.row__1 {--gc: 1;}
        &.row__2 {--gc: 1;}
        &.row__3 {--gc: 1;}
        &.row__4 {--gc: 2; --mx: 42rem;}
    }
    @media (min-width: 992px)  {
        .wpb-team__row {--gc: 2;
            &.row__1 {--gc: 1;}
            &.row__2 {--gc: 2;}
            &.row__3 {--gc: 3;}
            &.row__4 {--gc: 4;}
        }
    }
}