/**
 * Component: Breadcrumbs
 * Works in RTL + LTR. The page builds the row with flex, so the order of the crumbs
 * follows the page direction automatically; only the separator arrow has to be flipped.
 */

/* Placed as a normal row inside the page (not overlaying the next component) */
.tama-bc-section {
    width: 100%;
    display: block;
}

.tama-bc-section .mybreadcrumbs {
    padding-block: 12px;
}

.tama-bc-section #breadcrumbs,
.tama-bc-default #breadcrumbs {
    margin-bottom: 0;
    text-align: start;
}

/* RTL: the separator arrow points to the "next" crumb, which is on the left */
[dir="rtl"] .tama-bc-section .arrowBread svg,
[dir="rtl"] .tama-bc-default .arrowBread svg {
    transform: scaleX(-1);
}

/* Long trails scroll sideways on small screens instead of breaking the layout */
@media screen and (max-width: 768px) {
    .tama-bc-section .mybreadcrumbs {
        padding-block: 10px;
        max-width: 100%;
        overflow-x: auto;
    }
}
