.footer-modules-bg:after {
    content: "";
    position: absolute;
    background: #555f66;
    height: 100%;
    width: 100%;
    z-index: -1;
    top: 0;
    left: 0;
}

.footer-modules-bg-wave {
    position: relative;
    overflow: hidden;
    top: 0;
    left: 0;
}

.footer-modules-bg-wave .wave {
    background: url(/_data/styly/sapien/footer_bg_wave2.png) repeat-x top;
    width: 100%;
    height: 500px;
    position: absolute;
    opacity: 0.3;
}

.footer-modules-bg-wave .wave:nth-child(1) {
    left: 0;
    bottom: calc(402px * 0 - 50px);
    background-position-x: calc(470px * 0);
}

.footer-modules-bg-wave .wave:nth-child(2) {
    left: 0;
    bottom: calc(402px * 1 - 50px);
    background-position-x: calc(470px * 1);
}

.footer-modules-bg-wave .wave:nth-child(3) {
    left: 0;
    bottom: calc(402px * 2 - 50px);
    background-position-x: calc(470px * 2);
}

.footer-modules-bg-wave .wave:nth-child(4) {
    left: 0;
    bottom: calc(402px * 3 - 50px);
    background-position-x: calc(470px * 3);
}

.footer-modules-black-bg:after {
    content: "";
    position: absolute;
    background: var(--g-color-black);
    height: 100%;
    width: 100%;
    z-index: -1;
    top: 0;
    left: 0;
}

.footer-map-image {
    height: 50vw;
    overflow: hidden;
    max-height: 66vh;
}

@media (min-width: 992px) {
    .footer-map-image {
        height: 400px;
    }
}

@media (min-width: 1920px) {
    .footer-map-image {
        height: 550px;
    }
}

#master-footer-vokno #img-div {
    column-gap: 50px;
}

#master-footer-vokno #img-div a img {
    max-width: 100%;
    height: auto;
}


#success-counter {

    & {
        background-color: var(--g-color-1);
        margin-top: -40px;
        padding: 30px var(--min-x-padding);
    }

    @media (min-width: 768px) {
        & {
            width: 50%;
            right: 0;
            position: absolute;
            min-width: 700px;
            margin-top: 0;
            transform: translateY(-50%);
            padding: 30px 0;
        }
    }

    .success-item {
        gap: clamp(12px, calc(18 / 1920 * 100vw), 18px);
        padding-right: 2px;
        flex-wrap: nowrap;
        display: flex;
        align-items: center;
        width: 100%;
        justify-content: flex-start;
    }


    @media (min-width: 576px) {
        .success-item {
            width: 45%;
        }

        .success-item.item-1,
        .success-item.item-3 {
            justify-content: flex-end;
        }

        .success-item.item-2,
        .success-item.item-4 {
            justify-content: flex-start;
        }
    }

    @media (min-width: 768px) {
        .success-item {
            width: unset;
            justify-content: center;
        }
    }

    .text-item {
        font-size: 21px;
        color: white;
        display: flex;
        gap: 6px;
    }

    @media (min-width: 576px) {
        .text-item {
            font-size: 21px;
        }
    }
    @media (min-width: 768px) {
        .text-item {
            font-size: clamp(16px, calc(21 / 1920 * 100vw), 21px);
        }
    }


    div, span {
        white-space: nowrap;
    }

    #success-items-container {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 15px; /* Spacing between logos and separator */
        flex-wrap: wrap;
    }

    @media (min-width: 768px) {
        #success-items-container {
            gap: clamp(13px, calc(18 / 1920 * 100vw), 18px);
            padding-right: 2px;
            flex-wrap: nowrap;
            justify-content: flex-end;
        }
    }


    .success-item-seperator {
        background-color: white;
        height: 1px;
        width: 15px;
        display: none;
        margin-top: 2px;
    }

    @media (min-width: 576px) {
        .success-item.item-1 .success-item-seperator,
        .success-item.item-3 .success-item-seperator {
            display: block;
        }
    }

    @media (min-width: 768px) {
        .success-item-seperator {
            display: block;
            width: clamp(38px, calc(55 / 1920 * 100vw), 55px);
        }
    }
    @media (min-width: 768px) {
        .success-item-seperator:last-child {
            width: clamp(28px, calc(40 / 1920 * 100vw), 40px);
        }
    }
    @media (min-width: 1300px) {
        .success-item-seperator {
            margin-top: 2px;
        }
    }

    .js_counter_wrapper {
        position: relative;
        display: inline-block;
    }

    .js_counter_target {
        visibility: hidden;
        white-space: nowrap;
        font-variant-numeric: tabular-nums;
    }

    .js_counter {
        position: absolute;
        top: 0;
        right: 0;
        font-variant-numeric: tabular-nums;
    }

    .ico-container {
        width: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-right: 8px;
    }
    @media (min-width: 576px) {
        .ico-container {
            display: none;
        }
    }

}
