.promo {
    display: flex;
    margin-top: 70px;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 55px;
    h1 {
        font-size: 64px;
        line-height: 79px;
        font-family: 'Oswald';
        font-weight: 400;
        padding: 0 7px;
        text-transform: uppercase;
        letter-spacing: 1px;
        span {
            display: block;
            font-size: inherit;
            line-height: inherit;
            font-family: inherit;
            font-weight: inherit;
            color: var(--text-2);
        }
    }
    .right {
        display: flex;
        gap: 10px;
        margin-bottom: 15px;
        button {
            display: flex;
            justify-content: center;
            align-items: center;
            width: 71px;
            height: 55px;
            background: #f7f6f4;
            border: 1px solid var(--bg-2);
            border-radius: 10px;
            &::before {
                content: '\e006';
                font-family: 'icon';
                font-size: 30px;
                color: #979795;
            }
        }
        a {
            display: flex;
            justify-content: center;
            align-items: center;
            width: 126px;
            height: 55px;
            background: #f7f6f4;
            border: 1px solid var(--bg-2);
            border-radius: 10px;
            font-size: 16px;
            line-height: 120%;
            color: #979795;
            &.selected {
                background: var(--bg-2);
                color: #fff;
            }
            &:not(.selected):hover {
                box-shadow: 0 10px 34px rgba(255, 107, 0, 0.35);;
            }
        }
    }
}
.competitions {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 22px;
    margin-bottom: 88px;
    .item {
        border: 1px solid rgba(245, 243, 238, 0.1);
        border-radius: 10px;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        transition: transform 0.35s ease, border-color 0.35s ease;
        position: relative;
        &:hover {
            transform: translateY(-6px);
            border-color: rgba(255, 149, 0, 0.35);
            .img img {
                transform: scale(1.05);
            }
        }
        .img {
            position: relative;
            margin-bottom: 40px;
            aspect-ratio: 57/28;
            img {
                transition: transform 0.5s ease;
            }
            button {
                position: absolute;
                bottom: 24px;
                left: 24px;
                font-size: 14px;
                line-height: 1;
                letter-spacing: 0.83px;
                text-transform: uppercase;
                color: var(--text-3);
                background: var(--bg-2);
                border: 1px solid var(--bg-2);
                transition: 0.3s;
                padding: 16px 24px;
                border-radius: 126px;
                z-index: 3;
                &:hover {
                    background: var(--bg-1);
                    border-color: var(--bg-2);
                    color: var(--text-2);
                }
            }
        }
        span, h3, p, >button {
            margin-left: 34px;
            display: inline-flex;
        }
        span {
            margin-bottom: 22px;
            font-size: 15px;
            line-height: 1;
            letter-spacing: 0.98px;
            text-transform: uppercase;
            color: #8F8C85;
        }
        h3 {
            font-family: 'Oswald';
            font-weight: 600;
            font-size: 24px;
            line-height: 31.21px;
            letter-spacing: 0.24px;
            margin-bottom: 25px;
            color: var(--text-5);
        }
        p {
            margin-bottom: 24px;
            font-size: 17px;
            line-height: 1;
            letter-spacing: 0%;
            color: #8F8C85;
        }
        >button {
            margin-bottom: 50px;
            max-width: 227px;
            justify-content: space-between;
            padding: 6px 50px 6px 5px;
            z-index: 3;
        }
        a {
            position: absolute;
            inset: 0;
            z-index: 2;
        }
    }
}
body.js .competitions .item {
    opacity: 0;
}
body.js .competitions.in .item {
    opacity: 0;
    animation: cascadeCard 0.6s ease forwards;
}
body.js .competitions.show .item {
    opacity: 1;
}
body.js .competitions.in .item:nth-child(1) {
    animation-delay: 0.08s;
}
body.js .competitions.in .item:nth-child(2) {
    animation-delay: 0.22s;
}
body.js .competitions.in .item:nth-child(3) {
    animation-delay: 0.36s;
}
body.js .competitions.in .item:nth-child(4) {
    animation-delay: 0.5s;
}

body.js .competitions.in .item:nth-child(5) {
    animation-delay: 0.64s;
}

body.js .competitions.in .item:nth-child(6) {
    animation-delay: 0.78s;
}

body.js .competitions.in .item:nth-child(7) {
    animation-delay: 0.92s;
}
@keyframes cascadeCard {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@media screen and (max-width: 1759px) {
    .promo {
        margin-top: 40px;
        margin-bottom: 40px;
        h1 {
            font-size: 48px;
            line-height: 50px;
            letter-spacing: 0.79px;
        }
        .right {
            margin-bottom: 10px;
            gap: 8px;
            button {
                width: 55px;
                height: 43px;
                &::before {
                    font-size: 26px;
                }
            }
            a {
                width: 97px;
                height: 43px;
                font-size: 12px;
                &:not(.selected) {
                    color: var(--main-bg);
                }
            }
        }
    }
    .competitions {
        gap: 24px;
        margin-bottom: 60px;
        .item {
            border-radius: 7px;
            .img {
                margin-bottom: 25px;
                aspect-ratio: 2 / 1;
                button {
                    left: 16px;
                    bottom: 16px;
                    font-size: 12px;
                    padding: 10px 15px;
                }
            }
            span, h3, p, >button {
                margin-left: 24px;
            }
            span {
                margin-bottom: 15px;
                font-size: 12px;
            }
            h3 {
                font-size: 16px;
                line-height: 21px;
                letter-spacing: 0.16px;
                margin-bottom: 17px;
                padding-right: 24px;
            }
            p {
                font-size: 12px;
            }
            >button {
                margin-bottom: 34px;
                padding: 4px 32px 4px 3px;
                font-size: 12px;
                max-width: 152px;
                &::before {
                    width: 28px;
                    min-width: 28px;
                    height: 28px;
                    font-size: 10px;
                }
            }
        }
    }
}
@media screen and (max-width: 1279px) {
    .promo {
        margin-top: 135px;
        margin-bottom: 15px;
        flex-direction: column;
        align-items: flex-start;
        h1 {
            padding: 0;
            margin-bottom: 35px;
            font-size: 40px;
            line-height: 40px;
        }
        .right {
            gap: 10px;
            margin-bottom: 0;
            button {
                width: 80px;
                height: 57px;
                &::before {
                    font-size: 35px;
                }
            }
            a {
                width: 143px;
                height: 57px;
                font-size: 16px;
            }
        }
    }
    .competitions {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        margin-bottom: 82px;
        .item {
            span, h3, p, >button {
                margin-left: 20px;
            }
            p {
                margin-bottom: 20px;
            }
            >button {
                margin-bottom: 30px;
            }
        }
    }
}
@media screen and (max-width: 767px) {
    .promo {
        margin-top: 100px;
        h1 {
            font-size: 20px;
            line-height: 20px;
            margin-bottom: 20px;
        }
        .right {
            gap: 6px;
            display: grid;
            grid-template-columns: 40px repeat(auto-fill, minmax(100px, 1fr));
            width: 100%;
            button {
                width: auto;
                height: 35px;
                border-radius: 6px;
                grid-area: 1/1/3/2;
                &::before {
                    font-size: 22px;
                }
            }
            a {
                width: auto;
                height: 35px;
                font-size: 12px;
                border-radius: 6px;
            }
        }
    }
    .competitions {
        gap: 14px;
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        margin-bottom: 50px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .competitions {
        transition: none;
    }
    .competitions .item {
        animation: none !important;
        opacity: 1 !important;
    }
}