/* Breadcrumb Lexio — condiviso */
.fs-bc {
    background: #fff;
    border-bottom: 1px solid #e3ebf6;
}

.fs-bc__wrap {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 16px 24px;
}

.fs-bc__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.fs-bc__item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    max-width: 100%;
    color: #64748B;
    font-family: var(--font-body, "DM Sans", sans-serif);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;
}

.fs-bc__item:not(:last-child)::after {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-left: 2px;
    border-right: 1.5px solid #cbd5e1;
    border-top: 1.5px solid #cbd5e1;
    transform: rotate(45deg);
    flex: none;
}

.fs-bc__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    max-width: 260px;
    padding: 6px 10px;
    border-radius: 10px;
    color: #1A6AFF;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.fs-bc__link i {
    font-size: 12px;
    flex: none;
}

.fs-bc__link:hover,
.fs-bc__link:focus-visible {
    background: rgba(26, 106, 255, 0.08);
    color: #0f53d6;
}

.fs-bc__current {
    display: inline-block;
    max-width: min(420px, 70vw);
    padding: 6px 10px;
    border-radius: 10px;
    background: #f4f7fb;
    color: #122033;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 767.98px) {
    .fs-bc--course .fs-bc__item:last-child,
    .fs-bc--course .fs-bc__item:first-child {
        display: none;
    }

    .fs-bc--course .fs-bc__list {
        flex-wrap: nowrap;
    }

    .fs-bc--course .fs-bc__item:not(:last-child)::after {
        display: none;
    }

    .fs-bc--course .fs-bc__link {
        max-width: none;
    }

    .fs-bc__wrap {
        padding: 12px 20px;
    }

    .fs-bc__link {
        max-width: 140px;
        padding: 5px 8px;
    }

    .fs-bc__current {
        max-width: min(220px, 55vw);
        padding: 5px 8px;
    }
}
