/* .statistics--homepage {
    margin: 66px 0;
} */

.statistics__col {
    padding: 37px 10px 40px;
    border: 1px solid #D0D0D0;
    border-radius: 12px;
    position: relative;
    text-align: center;
    background: var(--color-white);
    overflow: visible;
}

.statistics__col::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translate(-50%, 0);
    bottom: -1px;
    width: 71px;
    height: 1px;
    background: linear-gradient(90deg, rgba(191, 50, 46, 0) 0%, rgba(191, 50, 46, 1) 50%, rgba(191, 50, 46, 0) 100%);
    transition: width 0.6s ease-out;
}

.statistics__col::before {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-secondary);
    box-shadow: 0 0 4px 0 var(--color-white);
    opacity: 1;
}

.statistics__col.is-animating::before {
    animation: dotRunAroundStatsBorder 10.5s ease-in-out 1;
}

@keyframes dotRunAroundStatsBorder {
    0% {
        opacity: 1;
        offset-distance: var(--offset-start);
    }
    63.64% {
        opacity: 1;
        offset-distance: calc(var(--offset-start) + 100%);
    }
    100% {
        opacity: 1;
        offset-distance: calc(var(--offset-start) + 100%);
    }
}

.statistics__col:nth-child(2)::after {
    top: -1px;
    bottom: unset;
}

.statistics__col:nth-child(2)::before {
    top: -5px;
    bottom: auto;
}

.statistics__col h3 {
    font-size: 80px;
    color: var(--color-black);
    line-height: 1em;
    margin: 0;
}

.statistics__col h3 sup {
    font-size: 76px;
    top: 0;
}

.statistics__col h3 sup {
    font-size: 76px;
}

.statistics__col p {
    font-size: 22px;
    color: var(--color-black);
    line-height: 1.3em;
    margin: 0;
}

.statistics__col .break-word {
    display: inline-block;
}

.statistics__row {
    padding: 0 8px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.statistics {
    position: relative;
    z-index: 1;
}

.statistics__headlines {
    margin-bottom: 35px;
}

.statistics__col h3 span {
    color: var(--color-black);
}

.bg-blue .statistics__col {
    background: none;
}


.bg-blue .statistics__col h3 span,
.bg-blue .statistics__col h3 sup,
.bg-blue .statistics__col p  {
    color: var(--color-white);
}

.bg-blue .statistics__col:after {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 50%, rgba(255, 255, 255, 0) 100%);
}

.bg-blue .statistics__col:before {
    background: var(--color-white);
}

.bg-light-grey .statistics__col {
    background: var(--color-light-grey);
}

.statistics__wrapper {
    max-width: 1182px;
    margin: 0 auto;
}

.statistics__flex {
    align-items: center;
}

.statistics__bg {
    position: absolute;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    transform: none;
    max-width: inherit;
    height: 100%;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: -1;
}

.statistics__bg-dark  {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    left: 0;
    bottom: 0;
    z-index: -1;
}

.statistics__bg svg {
    min-height: 100px;
    width: 100%;
}

@media(min-width: 768px) {
    .statistics__col {
        width: calc(50% - 15px);
        min-height: 216px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .statistics__row {
        padding: 0;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 33px 30px;
        justify-content: center;
    }

    .statistics__col p {
        min-height: 57px;
        display: block;
    }

    .statistics__flex .statistics__row {
        gap: 0;
        row-gap: 39px;
    }

    .statistics__flex .statistics__col {
        width: 100%;
        display: flex;
        align-items: center;
        flex-direction: row;
        column-gap: 27px;
        padding-left: 57px;
        padding-right: 80px;
        min-height: 197px;
    }

    .statistics__flex .statistics__col h3 {
        font-size: 90px;
    }

    .statistics__flex .statistics__col p {
        font-size: 22px;
        text-align: left;
    }
}

@media(min-width: 1200px) {
    .statistics__row {
        gap: 34px;
    }

    .statistics__col {
        width: calc(33% - 19px);
        min-height: 269px;
        padding: 37px 30px;
    }

    .statistics__col::after {
        width: 0;
    }

    .statistics__col.is-animating::after {
        width: 71px;
    }

    .statistics__col::before {
        left: auto;
        transform: none;
        offset-path: inset(0 round 12px);
        offset-anchor: 50% 50%;
        --offset-start: 62.7%;
        offset-distance: var(--offset-start);
        offset-rotate: 0deg;
        opacity: 0;
    }

    .statistics__col:nth-child(2)::before {
        --offset-start: 13.7%;
    }

    .statistics__col.is-animating::before {
        opacity: 1;
    }

    .statistics-cards-vertical .statistics__col::before {
        --offset-start: 67.5%;
    }

    .statistics-cards-vertical .statistics__col:nth-child(2)::before {
        --offset-start: 67.5%;
    }

    .statistics__col h3 {
        font-size: 105px;
        margin: 0 0 7px;
    }

    .statistics__col h3:has(.count-large) {
        font-size: 90px;
    }

    .statistics__col p {
        min-height: unset;
    }

    .statistics__col:has(sup) h3 {
        font-size: 119px;
        line-height: 1em;
    }

    .statistics__col:before {
        width: 10px;
        height: 10px;
    }

    .statistics__col:nth-child(2):before {
        width: 10px;
        height: 10px;
    }

    .statistics__headlines {
        margin: 0 auto 50px;
        max-width: 1183px;
    }

    .statistics__bg svg {
        max-height: 460px;
        max-width: 1242px;
    }
}

@media ( min-width: 1440px ) {

    .statistics__col:nth-child(2)::before {
        --offset-start: 15%;
    }

    .statistics__col::before {
        --offset-start: 64.3%;
    }
}

@media(min-width: 1600px) {
    .statistics__row {
        max-width: 1335px;
        margin: 0 auto;
    }

    .statistics__bg svg {
        max-width: 1110px;
    }
}

/* Blinking border animation (record button indicator) */
.border-animation-blinking .statistics__col.is-animating::before {
    animation: dotBlinkStats 2s ease-in-out infinite !important;
}

@keyframes dotBlinkStats {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(191, 50, 46, 0.6), 0 0 4px 0 var(--color-white);
    }
    50% {
        box-shadow: 0 0 0 6px rgba(191, 50, 46, 0), 0 0 4px 0 var(--color-white);
    }
}

.bg-blue.border-animation-blinking .statistics__col.is-animating::before {
    animation: dotBlinkStatsWhite 2s ease-in-out infinite !important;
}

@keyframes dotBlinkStatsWhite {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.6), 0 0 4px 0 var(--color-white);
    }
    50% {
        box-shadow: 0 0 0 6px rgba(255, 255, 255, 0), 0 0 4px 0 var(--color-white);
    }
}

@media ( min-width: 2560px ) {
    .statistics__bg svg {
        max-width: 1500px;
        max-height: 500px;
    }
}