.stats {
    position: relative;
    background: linear-gradient(
        0deg,
        rgb(255 247 221) 0%,
        rgba(235, 244, 255, 1) 100%
    );
    padding: 60px 0;
}

.stats__content {
    padding-bottom: 40px;
}

.stats__content h2 span {
    display: inline-block;
    color: #265eac;
    border-bottom: 3px solid #265eac;
}

.stats__image-info {
    padding-bottom: 116px;
    position: relative;
}

.stats__image img {
    aspect-ratio: 290 / 351 auto;
}

.stats__image-info__col {
    margin-top: -145px;
    position: absolute;
    right: -22px;
    bottom: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.stats__col {
    background: linear-gradient(to right, #5099ff 0%, #4d80c7 100%);
    color: #ffffff;
    margin: 0 0 10px 0;
    padding: 8px 25px 8px 38px;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 10px;
    width: calc(100% - 40px);
}

.stats__total {
    background: #ffc915;
    color: #14245f;
    margin: 0;
    padding: 8px 25px 8px 10%;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 10px;
    -webkit-clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 6% 50%);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 6% 50%);
    width: 100%;
}

.stats__no,
.stats__total__no {
    margin: 0;
    padding: 0;
    font-size: 34px;
    font-weight: 700;
    line-height: 1.23;
}

.stats__text,
.stats__total__text {
    margin: 0;
    padding: 0 0 5px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.23;
}

/* Too small breakpoint support */
@media (max-width: 320px) {
    .stats__col {
        padding: 8px 20px;
        width: calc(100% - 34px);
    }

    .stats__no,
    .stats__total__no {
        font-size: 28px;
    }

    .stats__text,
    .stats__total__text {
        font-size: 14px;
    }
}

@media (min-width: 768px) {
    .stats {
        padding: 80px 0 85px;
    }

    .stats__container {
        position: relative;
        padding-right: 0;
    }

    .stats__wrap {
        display: flex;
        flex-wrap: wrap;
        align-items: stretch;
        justify-content: space-between;
    }

    .stats__content {
        padding-bottom: 80px;
        width: calc(50% - 66px);
    }

    .stats__image-info {
        padding-bottom: 0;
        width: 50%;
        position: static;
    }

    .stats__image {
        margin: 0 auto;
        padding-right: 52px;
    }

    .stats__image-info__col {
        flex-direction: column;
        margin-top: 0;
        right: 0;
        width: 50%;
    }

    .stats__col {
        margin: 0 0 15px 25px;
        padding: 8px 52px 8px 25px;
        width: calc(100% - 25px);
    }

    .stats__total {
        margin-left: -50px;
        padding: 8px 52px 8px 48px;
        width: calc(100% + 110px);
        -webkit-clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 4% 50%);
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 4% 50%);
    }

    .stats__no,
    .stats__total__no {
        font-size: 40px;
    }

    .stats__text,
    .stats__total__text {
        margin: 0;
        padding: 0 0 5px;
        font-size: 16px;
        font-weight: 700;
        line-height: 1.23em;
    }

    .stats__content h2 span {
        border-bottom: 4px solid #265eac;
    }
}

@media (min-width: 1366px) {
    .stats {
        padding: 100px 0;
        overflow: hidden;
    }

    .stats__content {
        padding-bottom: 0;
        width: calc(40% - 80px);
    }

    .stats__image-info {
        padding-bottom: 0;
        width: calc(60%);
    }

    .stats__image {
        margin: 0;
        padding-right: 0;
    }

    .stats__image img {
        aspect-ratio: 480 / 395 auto;
    }

    .stats__image-info__col {
        justify-content: flex-start;
        margin-top: 0;
        width: 60%;
        top: 45px;
        right: 0;
    }

    .stats__col {
        margin: 0 0 15px auto;
        padding: 10px 25px 10px 32px;
        width: 200%;
        -webkit-transform: translateX(408px);
        transform: translateX(408px);
    }

    .stats__total {
        padding: 16px 25px 16px 66px;
        width: 200%;
        -webkit-transform: translateX(270px);
        transform: translateX(270px);
        -webkit-clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 3% 50%);
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 3% 50%);
    }

    .stats__no,
    .stats__total__no {
        font-size: 54px;
    }

    .stats__text,
    .stats__total__text {
        padding: 0 0 14px;
        font-size: 18px;
    }

    .stats__content h2 span {
        border-bottom: 5px solid #265eac;
    }
}
