.c-accordion {
    $height-collapsed = 24px;

    &--bordered {
        border: solid 1px $color--gray-2;
        border-radius: 4px;

        .c-accordion {
            &__item {
                height: 44px;
                padding: 10px 20px;
                margin: 0;
                border-bottom: solid 1px $color--gray-2;

                &:last-child {
                    border-bottom: none;
                }
            }
        }
    }

    &__item {
        margin-bottom: 10px;
        height: $height-collapsed;
        overflow: hidden;
        transition: .4s ease-out;

        &.is-open {
            .c-accordion__arrow {
                transform: rotate(180deg);
            }
        }
    }

    &__header {
        flexbox();
        align-items: center;
        width: 100%;
        height: $height-collapsed;
        padding: 5px 0;
        color: $color--main;
        line-height: 1;

        &:hover {
            text-decoration: underline;
        }
    }

    &__title {
        min-width: 1px;
        text-ellipsis();
    }

    &__arrow {
        margin-right: 5px;
        transition: .4s ease-out;
    }

    &__content {
        padding-top: 10px;
        padding-bottom: @padding-top;
    }
}