#faq-tabbed {

    .list {
        display: grid;
        gap: 10px;

        .item {
            box-sizing: border-box;    
            padding: 20px;
            align-items: center;
            cursor: pointer;
            color: var(--color-lightn);
            position: relative;
            transition: all 0.3s;

            .wrap {
                display: grid;
                grid-template-columns: 1fr auto;
            }

            &:hover .question p {
                transform: translate(1em, 0px);
            }

            .question {
                display: flex;
                align-items: center;
                justify-content: space-between;               
                font-weight: 500;
                font-size: 24px;

                span {
                    opacity: 0.5;
                    display: block;
                    transition: opacity .2s, transform .65s cubic-bezier(.65,.05,0,1);
                }               
            }

            .answer {
                display: none;
                transition: max-height 0.3s ease, padding 0.3s ease;

                border-top: 1px dotted rgba(255, 255, 255, 0.1);
                padding-top: 15px;
                margin-top: 15px;
            }

            &.open {
                .answer {
                    display: block;
                }

                .question {
                    color: var(--color-primary);

                    span {
                        transform: rotate(-225deg);
                        opacity: 1;
                    }
                }
            }
        }
    }

    .wrap {
        display: grid;
        grid-template-columns: 1fr 2fr;
        gap: 40px;
        margin-top: 50px;

        @media screen and (max-width: 980px) {
            grid-template-columns: 1fr;
        } 
    }

    .tabby {
        box-shadow: var(--shadow-1);
        background-color: var(--background-color-1);
        border-radius: 10px;
        width: 100%;
        padding: 0;
        height: fit-content;
        position: sticky;
        top: 0;
        border: none;
        outline: none;

        .tab {
            cursor: pointer;
            border: none;
            font-size: 18px;
            color: var(--color-light);
            height: 90px;
            border-radius: 10px;
            padding: 15px 20px;
            width: 100%;
            display: flex;
            margin: 0;
            align-items: center;
            transition: 0.3s;
            justify-content: center;

            &.active {
                position: relative;
            }

            &.active,
            &:hover {
                box-shadow: var(--shadow-1);
                color: var(--color-primary);
                background-color: #212428;
            }
        }
    }

    .list {
        .content {
            display: none;

            &.active {
                display: block;
            }
        }
    }
}