.tariffs_list {
    overflow: hidden;
}

.tariffs_list_items {
    display: flex;
    gap: 20px
}

.tariffs_list_item_block {
    width: 440px;
    min-width: 375px;
    /*added, было: 340px*/
    box-shadow: none;
    border-radius: 37px;
    transition: box-shadow 0.3s ease;
}

.tariffs_list_item {
    background: #FFFFFF;
    border-radius: 37px;
    position: relative;
    overflow: hidden;
    min-height: 710px;
    /*added, было: 500px*/
    height: 100%;
    border: 1px solid #D6DAF1;
    /*added*/
    border-top: none;
    display: flex;
    flex-direction: column;
}

.tariffs_list_item_block a {
    text-decoration: none;
}

.tariffs_list_item_area {
    position: relative;
    z-index: 2;
    padding: 60px 40px 40px 40px;
}

.tariffs_list_item_img {
    position: absolute;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
    height: 35%;
    /*added*/
}

.tariffs_list_period {
    padding-bottom: 10px;
    color: var(--theme-base-color);
}

.tariffs_list_item_period {
    box-sizing: border-box;
    position: absolute;
    width: 153px;
    height: 30px;
    left: calc(50% - 75px);
    top: 0;
    background: #FFFFFF;
    border-radius: 0px 0px 20px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tariffs_list_item_period::before {
    content: "";
    position: absolute;
    height: 30px;
    width: 10px;
    background: url(/medialibrary/system/border-white-block.png);
    background-size: contain;
    background-repeat: no-repeat;
    top: 0;
    right: -10px;
}

.tariffs_list_item_period::after {
    content: "";
    position: absolute;
    height: 30px;
    width: 15px;
    background: url(/medialibrary/system/border-white-block.png);
    background-size: contain;
    background-repeat: no-repeat;
    top: 0;
    left: -13px;
    transform: scaleX(-1);
}



.tariffs_list_item_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    /*added*/
}

.tariffs_list_item .btn3 {
    height: 40px;
    border-radius: 10px;
}

.tariffs_list_item .btn3:after {

    height: 30px;
    width: 30px;
    right: 6px;
    top: 5px;
    background-size: contain;
}

.tariffs_list_item_name,
.tariffs_list_item_price {
    font-weight: 700;
    line-height: 117%;
    color: var(--theme-base-color);
    text-align: center;
    /*added*/
}

.tariffs_list_item_name {
    font-size: 30px;
}

.tariffs_list_item_price {
    font-size: 22px;
}

.tariffs_list_item_preview_text {
    min-height: 80px;
    font-weight: 400;
    font-size: 16px;
    line-height: 117%;
    color: #5A5C70;
    border-bottom: 1px solid #D6DAF1;
    /*added*/
    text-align: center;
    /*added*/
    /*color: var(--theme-base-color);
    max-width: 200px; */
    /*added*/
}


.tariffs_list_item_char {
    font-weight: 600;
    font-size: 13px;
    /*added, было: 12px*/
    line-height: 117%;
    color: var(--theme-base-color);
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 5px;
    padding: 4px 0;
}

.tariffs_list_item_char_dot{
    width: 5px;
    height: 5px;
    background: var(--theme-base-color);
    display: inline-block;
    border-radius: 50%;
    margin-right: 1px;
}

/*
.tariffs_list_item_char:before {
    content: "";
    background: var(--theme-base-color);
    width: 5px;
    height: 5px;
    border-radius: 5px;
    position: absolute;
    left: 0px;
    top: 7px;
}

*/
.tariffs_list_item_char_name {
    text-align: center;
}

/*added*/
.adns2_container .link_arrow {
    right: 20px;
    top: 20px;
}

/*added*/
.tariffs_list_item .programs__icon {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    padding: 12px;
    position: absolute;
    top: 30%;
    right: 45%;
    z-index: 2;
    box-shadow: 7px 4px 8px #0000001F;
}

/*added*/
.tariffs_list_item .tariffs_list_item_text {
    position: relative;
    z-index: 2;
    margin-top: 150px;
    padding: 20px;
    width: 100%;
}

.tariffs_list_item .tariffs_list_item_prices {
    position: relative;
    z-index: 2;
    margin-top: auto;
    width: 100%;
    padding: 0 20px;
}

.tariffs_list_item_btn {
    height: 42px;
    line-height: 42px;
    padding: 0px 30px;
    background: var(--theme-base-color);
    border-radius: 40px;
    text-decoration: none;
    color: #FFFFFF;
    font-size: 16px;
    text-align: center;
    cursor: pointer;
}

.tariffs_list_item_block:hover {
    box-shadow: 8px 6px 13px #0000001F;
}

@media (max-width: 991px) {
    .tariffs_list_item_block {
        width: 300px;
        min-width: 275px;
    }

    .tariffs_list_items {
        width: max-content;
    }

    .tariffs_list_scroll {
        overflow-x: scroll;
    }

    .tariffs_list_item_area {
        padding: 41px 20px 20px 20px;
    }

    .tariffs_list_item_img {
        height: 25%;
    }

    .tariffs_list_item .programs__icon {
        top: 20%;
    }

    .tariffs_list .container {
        padding-left: 0;
    }
}
