

/* Start:/direction-movement/style.css?17712459477619*/
.box-content--top  {
    padding-top: 26px;
    padding-bottom: 30px;
}
.ways-box {
    overflow: hidden;
    border-radius: 20px;
    color: white;
    font-family: Pragmatica Extended, sans-serif;
    display: flex;
    flex-direction: column;
}

.ways-box__top {
    background-position: center;
    display: flex;
    position: relative;
}

.ways-box__top-img {
    width: 61%;
    position: absolute;
    bottom: -6px;
    right: -14px;
    z-index: 1;
    height: auto;
    aspect-ratio: 801 / 348;
}

.ways-box__top-img img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
}

.ways-box__top-block {
    padding-top: 12px;
    padding-right: 110px;
    width: 53%;
    z-index: 2;
    min-height: 364px;
    background-repeat: no-repeat;
    overflow: hidden;
    position: relative;
    background-image: url("/direction-movement/./img/ways-top-bg.png");
    background-size: cover;
    background-position-y: bottom;
    background-position-x: right;
}

.ways-box__top-content {
    padding-left: 68px;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    z-index: 1;
    position: relative;
}

.ways-box__top-content-li {
    max-width: 493px;
}

.ways-box__top-block h3 {
    font-weight: 700;
    font-size: 24px;
    line-height: 120%;
}

.ways-box__mid {
    background-color: #E10B0B;
    padding: 34px 0 30px;
    display: flex;
    justify-content: flex-end;
    z-index: 1;
}

.ways-box__mid-content {
    font-weight: 700;
    font-size: 24px;
    line-height: 120%;
    width: 54%;
    padding-right: 46px;
    display: flex;
    align-items: center;
}

.ways-box__mid-text {
    display: flex;
    align-items: center;
    gap: 17px;
}

.ways-box__mid-title {
    flex-shrink: 0;
    max-width: 283px;
}

.ways-box__mid-title h3 {
    font-weight: 700;
    font-size: 20px;
    line-height: 110.00000000000001%;
    text-transform: uppercase;
}

.ways-box__mid-number {
    font-weight: 700;
    font-size: 68px;
    line-height: 100%;
    text-transform: uppercase;
}

.ways-box__mid-subtitle {
    font-weight: 700;
    font-size: 32px;
    line-height: 100%;
}

.ways-box__bot {
    background-color: #214FE2;
    display: flex;
    align-items: flex-end;
}

.ways-box__bot-block {
    width: 46%;
    position: relative;
    display: flex;
    justify-content: center;
    flex-shrink: 0;
}

.ways-box__bot-block:before {
    content: '';
    display: block;
    position: absolute;
    bottom: 178px;
    width: 741px;
    height: 304px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    background-image: url("/direction-movement/./img/ways-bot-before.png");
    z-index: 2;
}

.ways-box__bot-img {
    width: 342px;
    height: auto;
    aspect-ratio: 1;
    margin-top: -30px;
    z-index: 4;
}

.ways-box__bot-cloud {
    width: calc(100% - 32px);
    height: auto;
    aspect-ratio: 605 / 280;
    margin-top: -30px;
    z-index: 3;
    position: absolute;
    bottom: 0;
    left: 32px;
}

.ways-box__bot-img img {
    width: 100%;
    height: 100%;
    -o-object-fit: contain;
    object-fit: contain;
}

.ways-box__choose {
    padding: 60px 43px 60px 60px;
}

.ways-box__choose h3 {
    font-weight: 700;
    font-size: 22px;
    line-height: 110.00000000000001%;
    text-transform: uppercase;
    margin-bottom: 40px;
    z-index: 2;
    position: relative;
}

.ways-box__icon {
    --icon-w: 33px;
    --icon-h: 101px;
    --icon-t: auto;
    --icon-b: 0;
    --icon-l: 0;
    --icon-r: auto;
    position: absolute;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    width: var(--icon-w);
    height: var(--icon-h);
    top: var(--icon-t);
    bottom: var(--icon-b);
    left: var(--icon-l);
    right: var(--icon-r);
    z-index: 2;
}

.ways-box__icon--1 {
    --icon-b: 150px;
    --icon-l: 43px;
    background-image: url("/local/templates/movement-first/icons/ico-plan-white.svg");
}

.ways-box__icon--2 {
    background-image: url("/local/templates/movement-first/icons/modal-icon--star.svg");
    --icon-w: 37px;
    --icon-h: 36px;
    --icon-b: 364px;
    --icon-l: 272px;
}

.ways-box__icon--3 {
    background-image: url("/local/templates/movement-first/icons/ico-heart.svg");
    --icon-w: 37px;
    --icon-h: 36px;
    --icon-b: 364px;
    --icon-l: 357px;
}

.ways-box__icon--4 {
    --icon-w: 31px;
    --icon-h: 63px;
    --icon-b: 314px;
    --icon-l: auto;
    --icon-r: 103px;
    background-image: url("/local/templates/movement-first/icons/ico-flash.svg");
}

.ways-box__icon--5 {
    --icon-w: 45px;
    --icon-h: 39px;
    --icon-b: 207px;
    --icon-l: auto;
    --icon-r: 30px;
    background-image: url("/local/templates/movement-first/icons/ico-pazle.svg");
}

.ways-box__icon--6 {
    --icon-b: 66px;
    --icon-l: auto;
    --icon-r: -1px;
    background-image: url("/local/templates/movement-first/icons/ico-plan-white.svg");
}

.ways-box__choose-list {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.ways-box__choose-item {
    padding: 8px 12px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    background-color: white;
    color: #214FE2;
    font-size: 16px;
    line-height: 130%;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: fit-content;
    letter-spacing: -1px;
    flex-grow: 1;
}

/* Позиционирование bubble*/
.ways-box {
    & .bubble--1 {
        --bubble-width: 209px;
        --bubble-top: -40px;
        --bubble-left: -30px;
    }

    & .bubble--2 {
        --bubble-width: 79px;
        --bubble-top: 97px;
        --bubble-left: auto;
        --bubble-right: 118px;
    }

    & .bubble--3 {
        --bubble-width: 172px;
        --bubble-top: 111px;
        --bubble-left: auto;
        --bubble-right: 6px;
    }

    & .bubble--7 {
        --bubble-width: 209px;
        --bubble-top: -40px;
        --bubble-left: 63px;
        z-index: 2;
    }

}
@media (max-width: 1400px) {
    .ways-box__mid-text {
        flex-wrap: wrap;
        text-align: center;
        align-items: center;
        justify-content: center;
    }
}
@media (max-width: 1279px) {
    .ways-box__top-block {
        width: 100%;
        height: auto;
        background-image: none;
        background-color: #E10B0B;
        padding: 24px 42px;
        min-height: auto;
        overflow: visible;
    }

    .ways-box__top-content {
        padding: 0;
    }

    .ways-box__top-img {
        display: none;
    }

    .ways-box__mid {
        padding: 24px 42px;
    }

    .ways-box__mid-content {
        width: 100%;
        padding: 0;
        justify-content: center;
        flex-wrap: wrap;
        gap: 17px;
    }

    .ways-box__bot-block:before {
        display: none;
    }

    .ways-box__bot-block {
        display: none;
    }

    .ways-box__bot {
        padding: 24px 42px;
    }

    .ways-box__choose {
        width: 100%;
        padding: 0;
    }
    
    .ways-box__mid-text {
        flex-wrap: wrap;
    }
}

@media (max-width: 767px) {
    .ways-box__top-block {
        padding: 16px 24px;
    }
    .ways-box__mid {
        padding: 16px 24px;
    }
    .ways-box__bot {
        padding: 16px 24px;
    }

    .ways-box__top-block h3 {
        font-size: 20px;
    }

    .ways-box__mid-title h3 {
        font-size: 16px;
    }

    .ways-box__mid-content {
        justify-content: flex-start;
    }

    .ways-box__choose h3 {
        margin-bottom: 16px;
        font-size: 16px;
    }
}
/* End */


/* Start:/local/components/pervye/directions.direction.list/templates/.default/style.css?1771245947260*/
.movements-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 74px;
}
.movements-list .flip {
    width: 100%;
}

@media (max-width: 1279px) {
    .movements-list {
        grid-template-columns: 1fr;
    }
}
/* End */


/* Start:/local/components/pervye/movements.item/templates/.default/style.css?17712459473889*/
.flip {
    position: relative;
    width: 640px;
    height: 268px;
    overflow: hidden;
}
.flip__bg-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
}
.flip__link {
    padding: 16px 24px;
    background-color: white;
    font-family: Pragmatica Extended, sans-serif;
    font-weight: 700;
    font-size: 14px;
    line-height: 110%;
    text-align: center;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    border: 1px solid var(--color-item);
    height: 48px;
    color: var(--color-item);
    display: block;
    text-decoration: none;
    margin-top: auto;
}

@media (hover: hover) {
    .flip:hover .front {
        transform: rotateY(180deg);
    }

    .flip:hover .back {
        opacity: 1;
        transform: rotateY(0deg);
    }

    .back {
        pointer-events: auto;
    }
}


.flip__content {
    padding: 32px;
    z-index: 2;
    height: 100%;
    word-break: break-word;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.flip__tag {
    color: white;
    padding: 5px 8px;
    border-radius: 4px;
    background-color: var(--color-item);
    display: block;
    width: fit-content;
    margin-bottom: 24px;

}

.flip h3 {
    font-family: Pragmatica Extended, sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 120%;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    display: -webkit-box;
    max-height: 89px;
}

.flip__icon {
    position: absolute;
    width: 60px;
    height: 60px;
    background-repeat: no-repeat;
    background-position: 6px -7px;
}

.flip__text {
    max-height: 51px;
    display: -webkit-box;
    -webkit-line-clamp: var(--clamp);
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 12px;
    line-height: 1.4;
}

.front,
.back {
    display: flex;
    transition-timing-function: cubic-bezier(.175, .885, .32, 1.275);
    transition-duration: 2s;
    transition-property: transform, opacity;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    color: white;
    overflow: hidden;
    box-shadow: 0px 4px 4px 0px #0000000D;
}

.front {
    transform: rotateY(0deg);
    background-color: var(--color-item);
}
.front h3 {
    width: calc(100% - 200px);
}
.front__bg {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 375px;
}

.front__bg-icon {
    fill: var(--color-item);
    filter: brightness(1.8);
}

.front__tag {
    margin-bottom: 24px;
    font-family: Pragmatica Extended, sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 120%;
}

.front__bg svg {
    width: 100%;
    height: 100%;
}


.front__icon {
    right: 65px;
    bottom: 57px;
}

.front .flip__link {
    width: 202px;
}


.back {
    position: absolute;
    opacity: 0;
    top: 0px;
    left: 0px;
    transform: rotateY(-180deg);
    border: 1px solid var(--color-item);
    z-index: 1;
}


.back__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-item);
    z-index: 1;
    filter: brightness(1.8);
}

.back__icon {
    right: 24px;
    top: 24px;
}

.back .flip__content {
    padding: 24px 24px 32px;
    color: #505050;
}

.back h3 {
    color: var(--color-item);
    margin-bottom: 12px;
    line-height: 120%;
    -webkit-line-clamp: 2;
    max-height: 62px;
}

@media (max-width: 767px) {
    .front__bg {
        display: none;
    }

    .back {
        pointer-events: none;
    }
    .front h3 {
        width: 100%;
    }

    .front__tag {
        font-size: 14px;
        margin-bottom: 32px;
    }
}

@media (max-width: 520px) {
    .flip__content {
        padding: 16px;
    }

    .movements-slider__wrapper {
        padding: 0;
    }

    .flip h3 {
        -webkit-line-clamp: 4;
        max-height: 120px;
    }
}
/* End */
/* /direction-movement/style.css?17712459477619 */
/* /local/components/pervye/directions.direction.list/templates/.default/style.css?1771245947260 */
/* /local/components/pervye/movements.item/templates/.default/style.css?17712459473889 */
