/*--------------------------------------------------------------
# Article
--------------------------------------------------------------*/
ul.breadcrumbs {
    @include second-text;
    @include flexbox;
    @include flex-wrap(wrap);
    @include align-items(center);
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: $font__size_small;
    text-transform: uppercase;

    > *:not(:last-child) {
        margin-#{$right}: 3px;
    }

    li {
        margin: 0;
        padding: 0;
        @include flexbox;
        @include align-items(center);

        &::before {
            content: '';
            width: 13px;
            height: 13px;
            display: inline-block;
            background-color: currentColor;
            margin-#{$right}: 3px;
            @include icon-svg-bg(13px, #{$arrow_menu_right});
            @include if-rtl {
                transform: rotate(180deg);
            }
        }

        &:first-child {
            &::before {
                display: none;
            }
        }

        &:last-child {
            .entry-header-article & {
                display: none;
            }
        }

        &:nth-last-child(2){
            .entry-header-article .have-cats & {
                display: none;
            }
        }
    }

    .have-cats & {
        &::after {
            content: '';
            width: 13px;
            height: 13px;
            display: inline-block;
            background-color: currentColor;
            margin-#{$right}: 3px;
            @include icon-svg-bg(13px, #{$arrow_menu_right});
            @include if-rtl {
                transform: rotate(180deg);
            }
        }
    }
}
