@import '~@style/_config/app-bootstrap-bulma'

$breadcrumb-item-color = $color-brand
$breadcrumb-item-active-color = #93979c
$breadcrumb-dark-item-color = #d3d3d3
$breadcrumb-dark-item-style-color = $color-white

.breadcrumb
    display none
    margin-bottom 40px
    +tablet()
        display block

    &__item
        position relative
        display inline-block
        margin-right 10px
        padding-bottom 32px
        max-width 300px
        color $breadcrumb-item-color
        font-size 13px
        letter-spacing 2.5px
        line-height 1.2
        border-bottom 2px solid transparent
        text-transform uppercase
        transition border-bottom-color .15s
        vertical-align top

        &:first-child
            border-bottom-color $breadcrumb-item-active-color

        & + .breadcrumb__item
            margin-left 18px
            &:before
                position absolute
                left -18px
                top 0
                content '/'

        &:hover
            border-bottom-color $breadcrumb-item-color

        &:hover, &:focus
            color $breadcrumb-item-color

        &:last-child
            color $breadcrumb-item-active-color
            border-bottom-color transparent
            &:hover
                border-bottom-color transparent

    &_dark &__item
        &:first-child
            border-bottom-color $breadcrumb-dark-item-style-color

        &:hover
            border-bottom-color $breadcrumb-item-color

        &:hover, &:focus
            color $breadcrumb-item-color

        &:last-child
            color $breadcrumb-dark-item-color
            border-bottom-color transparent
            &:hover
                border-bottom-color transparent