/*body .wrapper_inner, body .maxwidth-theme {
    max-width: 1232px !important;
}*/

body .container_inner.flexbox--gap-32 {
    gap: 40px;
}

.ist-page__heading {
    margin-bottom: 20px;
    font-weight: 500;
    font-size: 24px;
    line-height: 120%;
    color: #000;
}

.ist-page__heading-brand {
    color: #3b71e7;
}

/* --- Ð‘Ð»Ð¾Ðº 1: Ð¤Ð¾Ñ€Ð¼ÑƒÐ»Ð° Ð¸ Ð˜Ð½Ñ‚Ñ€Ð¾ --- */
.ist-hero {
    margin-bottom: 40px;
}

.ist-hero__title {
    margin-bottom: 30px;
    font-weight: 500;
    font-size: 24px;
    line-height: 120%;
    color: #000;
    max-width: 725px;
}

.ist-hero__title-brand {
    color: #3b71e7;
}

/* ÐšÐ¾Ð½ÑÑ‚Ñ€ÑƒÐºÑ‚Ð¾Ñ€ Ñ„Ð¾Ñ€Ð¼ÑƒÐ»Ñ‹ */
.ist-formula {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 40px;
}

.ist-formula__box {
    background: #ffffff;
    font-weight: 300;
    font-size: 22px;
    line-height: 120%;
    text-align: center;
    color: #000;
    border: 1px solid #3677ec;
    border-radius: 6px;
    padding: 14px 20px;
}

.ist-formula__box--result {
    flex-grow: 1;
    font-weight: 500;
    font-size: 22px;
    line-height: 120%;
    text-transform: uppercase;
    text-align: center;
    color: #3677ec;
}

.ist-formula__sign {
    font-weight: 300;
    font-size: 36px;
    line-height: 120%;
    color: #3677ec;
}

/* Ð¢ÐµÐºÑÑ‚ Ð¸Ð½Ñ‚Ñ€Ð¾ */
.ist-intro {
    margin-top: 30px;
}

.ist-intro__heading {
    margin-bottom: 20px;
    font-weight: 500;
    font-size: 24px;
    line-height: 120%;
    color: #000;
}

.ist-intro__heading-highlight {
    color: #3b71e7;
}

.ist-intro__text {
    font-weight: 200;
    font-size: 14px;
    line-height: 120%;
    color: #000;
    max-width: 714px;
}

/* --- Ð‘Ð»Ð¾Ðº 2: ÐŸÐµÑ€ÐµÐ¸ÑÐ¿Ð¾Ð»ÑŒÐ·ÑƒÐµÐ¼Ð°Ñ ÑÐµÑ‚ÐºÐ° (Grid) --- */
.ist-selection {
    margin-bottom: 40px;
}

.ist-grid {
    display: grid;
    gap: 20px;
}

.ist-grid--2-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ist-card {
    background-color: #ffffff;
    border: 1px solid rgba(54, 119, 236, 0.3);
    border-radius: 20px;
    padding: 30px;
}

.ist-card__title {
    margin-bottom: 16px;
    font-weight: 400;
    font-size: 20px;
    line-height: 110%;
    color: #000;
}

.ist-card__text {
    font-weight: 200;
    font-size: 14px;
    line-height: 120%;
    color: #000;
}

/* --- Ð‘Ð»Ð¾Ðº 3: ÐŸÐµÑ€ÐµÐ¸ÑÐ¿Ð¾Ð»ÑŒÐ·ÑƒÐµÐ¼Ñ‹Ð¹ Ð¢Ð°Ð¹Ð¼Ð»Ð°Ð¹Ð½ Ñ€ÐµÐ·ÑƒÐ»ÑŒÑ‚Ð°Ñ‚Ð¾Ð² --- */
.ist-results {
    margin-bottom: 40px;
}

/* --- Ð‘Ð»Ð¾Ðº 4: ÐžÐ¿Ð¸ÑÐ°Ð½Ð¸Ðµ Ð½Ð¸Ð¶Ð½ÐµÐµ --- */
.ist-description {
    margin-bottom: 40px;
    max-width: 700px;
    font-weight: 200;
    font-size: 14px;
    color: #000;
}

.ist-description p:not(:last-child) {
    margin-bottom: 15px;
}

.ist-description p {
    margin: 0;
}

/* --- Ð‘Ð»Ð¾Ðº 5: Ð¤Ð¸Ð½Ð°Ð»ÑŒÐ½Ñ‹Ð¹ Ð¿Ð¾Ð´Ð²Ð°Ð» Ñ Ð±Ð°Ð½Ð½ÐµÑ€Ð¾Ð¼ --- */
.ist-footer__heading {
    margin-bottom: 20px;
    text-align: left;
    font-weight: 500;
    font-size: 24px;
    line-height: 120%;
    color: #000;
}

/* --- Ð‘Ð»Ð¾Ðº 2: Ð¢Ð°Ð¹Ð¼Ð»Ð°Ð¹Ð½ (ÐŸÐ¾Ñ‡ÐµÐ¼Ñƒ InkTec) --- */
.inktec-features {
    margin-bottom: 50px;
}

.timeline {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Ð¦ÐµÐ½Ñ‚Ñ€Ð°Ð»ÑŒÐ½Ð°Ñ Ð¾ÑÑŒ Ð´Ð»Ñ Ð´ÐµÑÐºÑ‚Ð¾Ð¿Ð° */
.timeline__line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #3677ec;
    transform: translateX(-50%);
    z-index: 1;
}

.timeline__item {
    position: relative;
    display: flex;
    align-items: stretch;
    z-index: 2;
}

/* Ð­Ð»ÐµÐ¼ÐµÐ½Ñ‚Ñ‹ ÑÐ»ÐµÐ²Ð° Ð¸ ÑÐ¿Ñ€Ð°Ð²Ð° */
.timeline__media, .timeline__content {
    width: 42.23%;
    flex: none;
}

.timeline__content {
    padding: 33px 30px;
    background: #ffffff;
    border: 1px solid rgba(54, 119, 236, 0.3);
    border-radius: 20px;
}

.timeline__media {
    overflow: hidden;
    min-height: 291px;
    border: 1px solid rgba(54, 119, 236, 0.3);
    border-radius: 20px;
}

.timeline__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ÐšÑ€ÑƒÐ³Ð¸ Ñ Ð½Ð¾Ð¼ÐµÑ€Ð°Ð¼Ð¸ */
.timeline__badge {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background-color: #3677ec;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    padding: 10px;
    width: 50px;
    height: 50px;
    font-weight: 400;
    font-size: 24px;
    line-height: 120%;
    color: #fff;
    align-self: center;
}

/* Ð§ÐµÑ€ÐµÐ´Ð¾Ð²Ð°Ð½Ð¸Ðµ ÑÑ‚Ñ€Ð¾Ðº */
.timeline__item:not(.timeline__item--reversed) {
    justify-content: space-between;
}

.timeline__item--reversed {
    flex-direction: row-reverse;
    justify-content: space-between;
}

.timeline__title {
    margin-bottom: 16px;
    font-weight: 400;
    font-size: 24px;
    line-height: 110%;
    color: #000;
}

.timeline__text {
    font-weight: 200;
    font-size: 14px;
    line-height: 120%;
    color: #000;
}

.btn.btn-default.timeline__btn {
    font-weight: 600;
    font-size: 14px;
    line-height: 107%;
    text-transform: uppercase;
    color: #fff;
    padding: 15px 40px;
    border-radius: 100px !important;
    margin-top: 20px;
}

.ist-intro__text p:not(:last-child) {
    margin-bottom: 15px;
}

.ist-intro__text p {
    margin: 0;
}

.ist-footer__banner img {
    max-width: 100%;
}

.main-slider__item .left .banner_buttons.banner_head_buttons {
    margin-top: 0;
    margin-bottom: 30px;
}

@media (max-width: 992px) {
    .ist-formula {
        gap: 10px;
        text-align: center;
        flex-wrap: wrap;
        margin-bottom: 30px;
    }

    .ist-formula__box {
        flex-grow: 1;
        flex-basis: auto;
        font-weight: 300;
        font-size: 14px;
        line-height: 120%;
        text-align: center;
        color: #000;
        border-radius: 6px;
        padding: 14px 0px;
        width: calc(50% - 30px);
    }

    .ist-formula__box--result {
        flex-basis: auto;
    }

    .ist-formula__sign {
        align-self: center;
    }

    /*.timeline__line {
        display: none;
    }

    .timeline__item, .timeline__item--reversed {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .timeline__media, .timeline__content {
        width: 100%;
    }

    .timeline__badge {
        display: none;
    }*/
}

@media (max-width: 600px) {
    .ist-grid--2-cols {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .ist-page__heading {
        margin-bottom: 15px;
        font-weight: 500;
        font-size: 16px;
        line-height: 120%;
    }

    .ist-hero__title {
        font-weight: 500;
        font-size: 14px;
        line-height: 120%;
        color: #000;
        margin-bottom: 15px;
    }

    .ist-intro__heading {
        font-weight: 500;
        font-size: 16px;
        line-height: 120%;
        color: #000;
        margin-bottom: 15px;
    }

    .ist-intro__text {
        font-weight: 250;
        font-size: 12px;
        line-height: 120%;
        color: #000;
    }

    .timeline__media {
        height: 154px;
        min-height: unset;
    }

    .ist-formula__box--result {
        flex-basis: 0;
        font-weight: 500;
        font-size: 14px;
        line-height: 120%;
        text-transform: uppercase;
        text-align: center;
        color: #3677ec;
    }

    .ist-hero {
        margin-bottom: 30px;
    }

    .ist-card {
        border-radius: 20px;
        padding: 20px;
    }

    .ist-card__title {
        font-weight: 400;
        font-size: 16px;
        line-height: 110%;
        margin-bottom: 15px;
    }

    .ist-card__text {
        font-weight: 200;
        font-size: 14px;
        line-height: 120%;
        margin-bottom: 0;
    }

    .ist-selection {
        margin-bottom: 30px;
    }

    .ist-results {
        margin-bottom: 30px;
    }

    .timeline {
        gap: 8px;
    }

    .timeline__line {
        display: none;
    }

    .timeline__badge {
        display: none;
    }

    .timeline__item:not(.timeline__item--reversed), .timeline__item {
        flex-direction: column-reverse;
        gap: 8px;
    }

    .timeline__media, .timeline__content {
        width: 100%;
    }

    .timeline__content {
        border-radius: 10px;
        padding: 14px;
    }

    .timeline__title {
        font-weight: 400;
        font-size: 14px;
        margin-bottom: 10px;
    }

    .timeline__text {
        font-weight: 200;
        font-size: 14px;
    }

    .btn.btn-default.timeline__btn {
        border-radius: 100px;
        padding: 10px 20px;
        margin-top: 14px;
        font-weight: 600;
        font-size: 14px;
        line-height: 120%;
    }

    .ist-description {
        margin-bottom: 30px;
        font-weight: 250;
        font-size: 12px;
    }

    .ist-footer__heading {
        font-weight: 500;
        font-size: 16px;
        line-height: 120%;
        margin-bottom: 15px;
    }

}
