.breadcrumbs-wrapper{
    display: none;
}

.breadcrumbs-wrapper .breadcrumbs {
    max-width: var(--container-size);
    display: flex;
    padding: var(--size-12) 0;
    align-items: center;
    gap: 10px;
    background-color: transparent;
    margin: 0 auto;
}

.section .breadcrumbs-wrapper .breadcrumbs {
    margin: 0;
}

.breadcrumbs-wrapper .breadcrumbs ol {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    white-space: nowrap;
    overflow-x: auto;
}

/* Style list items */
.breadcrumbs-wrapper .breadcrumbs li {
    display: inline-flex;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style-type: none;
    font-family: var(--font-name-body);
    font-size: var(--scale-paragraph-small);
    line-height: var(--paragraph-small-line-height);
    font-weight: 400;
    font-style: normal;
}

/* Remove the default numbering */
.breadcrumbs-wrapper.breadcrumbs ol {
    counter-reset: none;
}

.breadcrumbs-wrapper .breadcrumbs li::before {
    content: none;
}

/* Add separator between items */
.breadcrumbs-wrapper .breadcrumbs li:not(:last-child)::after {
    content: "/";
    margin: 0 var(--size-4);
    color: var(--color-gray-body);
}

/* Style links */
.breadcrumbs-wrapper .breadcrumbs a, .breadcrumbs-wrapper .breadcrumbs a:hover {
    color: var(--color-blue-brand);
    text-decoration: none;
    padding: 0 var(--size-4);
}

.breadcrumbs-wrapper .breadcrumbs a:hover {
    text-decoration: underline;
}

/* Style current page (non-clickable) */
.breadcrumbs-wrapper .breadcrumbs ol li[aria-current="page"] {
    color: var(--color-blue-brand);
    font-weight: var(--font-weight-bold);
    padding-left: var(--size-4);
}

main>.section-bg-charcoal>div.breadcrumbs-wrapper {
    background-color: var(--bg-page);
}

/* Dark mode */
.section[data-text-color='section-text-light'] .breadcrumbs-wrapper .breadcrumbs{
    background-color: transparent;
}

.section[data-text-color='section-text-light'] .breadcrumbs-wrapper .breadcrumbs li a,
.section[data-text-color='section-text-light'] .breadcrumbs-wrapper .breadcrumbs li a:hover {
    color: var(--color-gray-cool);
}

/* after pseudo element */
.section[data-text-color='section-text-light'] .breadcrumbs-wrapper .breadcrumbs li:not(:last-child)::after {
    color: var(--color-gray-cool);
}

.section[data-text-color='section-text-light'] .breadcrumbs-wrapper .breadcrumbs ol li[aria-current="page"] {
    color: var(--color-gray-cool);
}

@media (width >=600px){
    .breadcrumbs-wrapper{
        display: block;
    }
}
