/* Breadcrumbs Component */
.st-breadcrumbs {
    padding: 20px 0; /* Increased padding */
    margin-bottom: 0;
    min-height: auto;
    background: transparent;
    position: relative;
    z-index: 10;
    font-family: var(--font-primary);
    direction: rtl;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.st-breadcrumb-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
}

.st-breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px; /* Proper gap */
    list-style: none;
    padding: 0;
    margin: 0;
    background: transparent;
    border-radius: 0;
    border: none;
    box-shadow: none;
    width: 100%;
}

/* Remove any default theme separators */
.st-breadcrumb-item::before,
.st-breadcrumb-item::after {
    content: none !important;
    display: none !important;
}

.st-breadcrumb-item {
    display: flex;
    align-items: center;
    font-size: 0.9rem; /* Slightly bigger for readability */
    color: #000000;
    font-weight: 500;
    line-height: 1.5;
}

.st-breadcrumb-item a {
    color: #000000; /* All Black */
    text-decoration: none;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px;
    border-radius: 4px;
    background: transparent;
}

.st-breadcrumb-item a:hover {
    color: var(--brand-primary-bright, #5CB5E5);
    background: rgba(92, 181, 229, 0.05);
}

/* Specific styling for the first item (Home) */
.st-breadcrumb-item:first-child a {
    padding-right: 0;
    background: transparent;
}

/* Separator */
.st-breadcrumb-separator {
    margin: 0 6px; /* Increased separator space */
    color: #cbd5e1;
    font-weight: 400;
    font-size: 0.85rem;
    user-select: none;
}

/* Active Item */
.st-breadcrumb-item.is-active,
.st-breadcrumb-item.is-active span,
.st-breadcrumb-item[aria-current="page"],
.st-breadcrumb-item[aria-current="page"] span {
    color: var(--brand-primary-bright, #5CB5E5) !important; /* Force Brand Blue */
    font-weight: 700;
    padding: 0 4px;
    background: transparent;
    cursor: default;
    box-shadow: none;
    border-radius: 0;
}

/* Home Icon styling */
.st-breadcrumb-home-icon {
    width: 15px;
    height: 15px;
    margin-top: -2px;
    stroke: currentColor;
    opacity: 0.8;
}


/* Responsive */
@media (max-width: 768px) {
    .st-breadcrumb-list {
        width: 100%;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 5px;
        -webkit-overflow-scrolling: touch;
        /* Hide scrollbar */
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .st-breadcrumb-list::-webkit-scrollbar {
        display: none;
    }

    .st-breadcrumb-item {
        font-size: 0.85rem;
        flex-shrink: 0;
    }
    
    .st-breadcrumb-item a, 
    .st-breadcrumb-item.is-active {
        padding: 5px 8px;
    }
}
