
#description-nav-wrapper {
    padding-top: 80px;
    padding-bottom: 20px;
}

@media (min-width: 992px) {
    #description-nav-wrapper {
        padding-top: 115px;
        padding-bottom: 80px;
    }
}
#description-nav {
    & {
        display: flex;
        gap: clamp(10px, calc(16 / 1920 * 100vw), 16px);
        padding: 20px 0;
        flex-direction: column;
    }

    @media (min-width: 992px) {
        & {
            padding: clamp(20px, calc(48 / 1920 * 100vw), 48px) clamp(6px, calc(12 / 1920 * 100vw), 12px);
            flex-direction: row;
        }
    }

    .nav-tab {


        & {
            background: white;
            position: relative;
            width: 100%;
            max-width: 400px;
        }

        @media (min-width: 992px) {
            & {
                width: 20%;
                max-width: unset
            }
        }

        &:after {
            content: "";
            position: absolute;
            background: var(--g-color-dark-blue-on-white);
            height: 2px;
            width: calc(100% - 15px);
            right: 9px;
            top: calc(100% + 4px);
        }

        &:first-child:before {
            content: "";
            position: absolute;
            background: var(--g-color-dark-blue-on-white);
            height: 2px;
            width: calc(100% - 15px);
            left: 6px;
            top: -6px;
        }

        @media (min-width: 992px) {
            &:after {
                height: calc(100% - 15px);
                width: 2px;
                right: -8px;
                top: 0;
            }

            &:first-child:before {
                height: calc(100% - 15px);
                width: 2px;
                left: -8px;
                top: 0;
            }
        }

        .ico {
            text-align: center;
            width: 75px;
        }

        @media(min-width: 992px){
            .ico {
                width: unset;
            }
        }
        svg {
            height: clamp(44px, calc(100 / 1920 * 100vw), 100px);

            & .stroke {
                stroke: var(--g-color-ligh-blue);
                transition: stroke 0.3s ease-in-out;
            }

            & .fill {
                fill: var(--g-color-ligh-blue);
                transition: fill 0.3s ease-in-out;
            }
        }

        .title {
            padding: 0 0 7px;
            font-size: 20px;
            color: var(--g-color-dark-blue-on-white);
            transition: color 0.3s ease-in-out;
            margin: 0;
        }

        @media (min-width: 992px) {
            .title {
                padding: clamp(1px, calc(38 / 1920 * 100vw), 38px) 0 clamp(1px, calc(28 / 1920 * 100vw), 28px);
                font-size: clamp(15px, calc(27 / 1920 * 100vw), 27px);


            }
        }


        .read-more-ico {
            color: var(--g-color-ligh-blue);
            display: flex;
            justify-content: space-between;
            transition: color 0.3s ease-in-out;
        }

        .read-more-ico img {
            width: clamp(18px, calc(34 / 1920 * 100vw), 34px);
            position: relative;
            right: 0;
            transition: right 0.3s ease-in-out;
        }


        .inner-part {
            display: flex;
            flex-direction: row;
            position: relative;
            transition: background-color 0.3s ease-in-out;
            padding: 14px 5px;
            align-items: center;
        }

        @media (min-width: 992px) {
            .inner-part {
                flex-direction: column;
                padding: clamp(35px, calc(40 / 1920 * 100vw), 40px) clamp(1px, calc(18 / 1920 * 100vw), 18px);
                align-items: normal;
            }
        }

        & .inner-part:after {
            content: "";
            width: 0;
            height: 0;
            border-left: 36px solid var(--g-color-dark-blue-on-white);
            border-right: 20px solid transparent;
            border-top: 20px solid transparent;
            position: absolute;
            bottom: calc(50% - 18px);
            left: calc(100% - 18px);
            opacity: 0;
            transition: opacity 0.3s ease-in-out;
            border-bottom: 20px solid transparent;
        }
        @media (min-width: 576px) {
            & .inner-part:after {
                left: 100%;
            }
        }

        @media (min-width: 992px) {
            & .inner-part:after {
                border-left: 20px solid transparent;
                border-top: 36px solid var(--g-color-dark-blue-on-white);
                border-bottom: none;
                bottom: -36px;
                left: calc(50% - 18px);

            }
        }

        .title-wrapper {
            padding-left: 22px;
            padding-right: 30px;
            flex: 1;
        }

        @media (min-width: 992px) {
            .title-wrapper {
                padding-left: 0;
                padding-right: 0;

            }
        }

        &.active {
            & .inner-part {
                background: var(--g-color-dark-blue-on-white);
            }

            .title {
                color: white;
            }

            & .inner-part:after {
                opacity: 1;
            }

            .read-more-ico {
                color: white;
            }
        }
    }

    .nav-tab:not(.active):hover {
        svg {
            & .stroke {
                stroke: var(--g-color-dark-blue-on-white);
            }

            & .fill {
                fill: var(--g-color-dark-blue-on-white);
            }
        }

        .title {
            color: var(--g-color-ligh-blue);
        }

        .read-more-ico img {
            right: -10px;
        }
    }
}

.bg-screw {
    position: absolute;
    width: 100%;
    height: 118px;

    &:before {
        content: "";
        position: absolute;
        top: -24px;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: url("/_data/styly/img/svg/screw_bg.svg");
        background-repeat: no-repeat;
        background-position: right;
        background-position-x: calc(100% + 112px);
    }
}

