.only-mobile {
    display: none;
}

.page .page-header--withImage,
.single .page-header--withImage {
    width: 100%;
    height: 168px;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center 0;
}

.page .page-header--withCTA > div,
.single .page-header--withCTA > div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    width: 100%;
}

.page .page-header--withCTA.page-header--withImage,
.single .page-header--withCTA.page-header--withImage {
    height: 512px;
}

.page .page-header--withCTA .page-header__cta,
.single .page-header--withCTA .page-header__cta {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 555px;
    padding-bottom: 24px;
}

.page .page-header--withCTA .page-header__cta *:not(a),
.single .page-header--withCTA .page-header__cta *:not(a) {
    color: #ffffff;
    margin: 0;
}

.page .page-header--withCTA .page-header__cta a,
.single .page-header--withCTA .page-header__cta a {
    color: var(--dark-blue);
    background: var(--grad2);
    width: fit-content;
}

/* --==Page==-- */

.page .page-content {
    padding-top: 96px;
}

.page .page-content .bg-full-width {
    position: relative;
    background-position: -200vw -200vh !important;
    background-repeat: no-repeat !important;
}

.page .page-content .bg-full-width:after,
.page .page-content .bg-full-width > .wp-block-cover__image-background {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    max-width: 1920px;
    height: 100%;
    height: -webkit-fill-available;
    background: inherit;
    background-position: center;
    z-index: -1;
}

.page .page-content h3 {
    margin-bottom: 24px;
    color: var(--dark-blue);
}

.page .page-content .withDot:before {
    content: "•";
    display: inline-block;
    margin-right: 8px;
    color: var(--light-blue);
    font-size: 26px;
}

.page .page-content .mw-813 {
    max-width: 813px;
}

/* --==Case Study==-- */

.single-case_study .page-content {
    padding: 96px 0 48px 0;
}

.single-case_study .page-content > *:not(picture) {
    max-width: 768px;
    margin: 0 auto;
    padding-right: 16px;
}

.single-case_study .page-content > *:not(picture):not(ul) {
    padding-left: 16px;
}

.single-case_study .page-content h2 {
    margin-bottom: 8px;
    color: var(--dark-blue);
}

.single-case_study .page-content h3 {
    margin-bottom: 24px;
    color: var(--blue-accent);
}

.single-case_study .page-content p {
    font-size: 18px;
    line-height: 32px;
    margin-bottom: 16px;
}

/* --==Elements==-- */

div#wpfront-scroll-top-container {
    transition: 0.4s;
    margin-right: 14px;
    z-index: 11;
}

div#wpfront-scroll-top-container.aboveFooter {
    margin-bottom: 95px;
}

@media screen and (max-width: 1010px) {
    div#wpfront-scroll-top-container {
        margin-right: 0;
    }
}

/* --==Sections==-- */

.section-references {
    padding-top: 96px;
    padding-bottom: 96px;
    flex-wrap: wrap !important;
}

.section-references.wp-block-columns > div.wp-block-column:last-child {
    flex-basis: 680px;
    max-width: 100%;
}

.section-references .swiper {
    display: flex;
    gap: 24px;
}

.section-references .swiper .swiper-wrapper {
    width: calc(100% - 88px);
}

.section-references .swiper .swiper-pagination {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-left: 16px;
    top: 0;
    align-self: center;
    min-height: 80px;
}

.section-references .swiper .swiper-pagination .swiper-pagination-bullet {
    background-color: #e0e0e0;
    width: 8px;
    height: 8px;
    opacity: 1;
}

.section-references
.swiper
.swiper-pagination
.swiper-pagination-bullet-active {
    background-color: var(--light-blue);
}

.section-references .swiper .swiper-wrapper .swiper-slide {
    background: white;
    opacity: 0;
    transition: 0.5s;
    top: 100%;
}

.section-references .swiper .swiper-wrapper .swiper-slide-active {
    opacity: 1;
    top: 0;
}

.section-references .swiper .slide-content {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding: 0 88px 0 0;
    height: auto;
}

.section-references .swiper .slide-content .slide-content-text {
    order: -1;
    font-size: 24px;
    line-height: 1.66;
    font-weight: 300;
    font-style: italic;
    letter-spacing: 0.02em;
    color: var(--dark-blue);
    margin-bottom: 16px;
}

.section-references .swiper .slide-content .slide-content-title {
    font-size: 20px;
    line-height: 1.2;
    margin-bottom: 8px;
}

.section-references .swiper .slide-content .slide-content-subtitle {
    font-size: 14px;
    line-height: 1.15;
}

.section-references .swiper .slide-content .slide-content-title,
.section-references .swiper .slide-content .slide-content-subtitle {
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--grey-text);
}

.flipbox {
    cursor: pointer;
}

.flipbox__inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s;
    transform-style: preserve-3d;
    overflow: hidden;
}

.flipbox:hover .flipbox__inner,
.flipbox:hover .flipbox__inner__back {
    transform: rotateY(180deg);
}

.flipbox:hover .flipbox__inner__back {
    transition-delay: 0.2s;
}

.flipbox:hover .flipbox__inner__front {
    transform: rotateY(90deg);
}

.flipbox__inner__front,
.flipbox__inner__back {
    height: 100%;
}

.flipbox__inner__front {
    background-position: center;
    background-size: cover;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 2;
    transition-delay: 0.2s;
}

.flipbox__inner__back {
    justify-content: flex-end;
    transform: rotateY(90deg);
}

.flipbox .flipbox__inner a {
    display: flex;
    gap: 8px;
}

.flipbox .flipbox__inner a:after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10;
}

.flipbox .flipbox__inner .flipbox__inner__back {
    transform: rotateY(180deg);
}

.section-about-us {
    padding-top: 48px;
    padding-bottom: 48px;
    margin-bottom: 96px;
}

.counter-hours {
    white-space: nowrap;
}

.counter-border {
    border-right: #009ca6 2px solid;
}

.section-offering {
    padding-top: 96px;
    padding-bottom: calc(472px / 2 + 160px);
}

.section-counter {
    border-radius: 10px;
    box-shadow: 0 0 15px 0 var(--light-blue);
    margin-top: calc(-472px / 2);
}

.section-counter > img {
    border-radius: 10px;
}

.social-media-linkedin-link > a > svg:hover path {
    fill: #0a66c2;
    box-shadow: 0 8px 16px rgba(37, 110, 255, 0.32);
}

.social-media-twitter-link > a:hover > svg path {
    fill: #1ea1f2;
    box-shadow: 0 8px 16px rgba(0, 156, 166, 0.32);
}

.section-technology-partners {
    padding-top: 96px;
    padding-bottom: 96px;
}

.technology-partners-text {
    padding-top: 28px;
    padding-bottom: 28px;
}

@media screen and (max-width: 1520px) {
    .page .page-header--withCTA > div,
    .single .page-header--withCTA > div {
        padding-left: 0;
        padding-right: 0;
    }
}

@media screen and (max-width: 1200px) {
    .section-references .swiper {
        flex-direction: column;
    }

    .section-references .swiper .slide-content {
        padding: 0 0 88px 0;
    }

    .section-references .swiper .swiper-pagination {
        flex-direction: row;
        justify-content: center;
        align-items: center;
    }
}

@media screen and (max-width: 781px) {
    .section-about-us {
        margin-bottom: 64px;
        padding: 0;
    }

    .page .page-content {
        padding-top: 64px;
    }

    .counter-border {
        border-right: none;
        border-bottom: #009ca6 2px solid;
    }

    .section-offering {
        padding-top: 64px;
        padding-bottom: calc(907px / 2 + 64px);
    }

    .section-counter {
        margin-top: calc(-907px / 2);
    }

    .section-references {
        padding-top: 64px;
        padding-bottom: 32px;
    }

    .section-technology-partners {
        padding-top: 64px;
        padding-bottom: 64px;
    }

    .technology-partners-text {
        padding-top: 32px;
        padding-bottom: 0;
    }
}

@media screen and (max-width: 650px) {
    .only-mobile {
        display: block;
    }

    .only-desktop {
        display: none;
    }

    .responsive-spacer {
        margin-bottom: 32px;
    }

    .page .page-header--withImage:not(.page-header--withCTA),
    .single .page-header--withImage:not(.page-header--withCTA) {
        background-attachment: initial;
    }

    .page .page-header--withImage,
    .single .page-header--withImage {
        height: 124px;
        background-size: cover;
    }

    .page .page-header--withCTA .page-header__cta,
    .single .page-header--withCTA .page-header__cta {
        gap: 16px;
        height: 100%;
        justify-content: flex-end;
    }

    .page .page-header--withCTA .page-header__cta > h1,
    .single .page-header--withCTA .page-header__cta > h1 {
        font-size: 32px;
        line-height: 40px;
    }

    .page .page-header--withCTA .page-header__cta a,
    .single .page-header--withCTA .page-header__cta a {
        width: 100%;
    }
}
