/* breadcrumbs.css - Universal Breadcrumb Styles */

/* Breadcrumb Navigation */
.breadcrumb-section {
    padding: var(--spacing-md) 0;
    background-color: var(--color-brand-background-light);
    border-bottom: 1px solid var(--color-brand-background);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 0.9em;
    color: var(--color-text-dark);
    flex-wrap: wrap;
}

.breadcrumb-link {
    color: var(--color-brand-primary);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.breadcrumb-link:hover {
    color: var(--color-brand-secondary);
    text-decoration: underline;
}

.breadcrumb-separator {
    color: #A0AEC0;
    font-weight: bold;
    user-select: none;
    margin: 0 2px; /* Add small spacing around arrow */
}

/* Alternative arrow options - uncomment the one you prefer */
/* 
.breadcrumb-separator::before {
    content: "→";     // Right arrow (default)
    // content: "➔";  // Bold right arrow
    // content: "▶";  // Right triangle
    // content: "〉"; // Right angle bracket
    // content: "⟩";  // Mathematical right angle bracket
}
*/

.breadcrumb-current {
    color: var(--color-text-dark);
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
    .breadcrumb-section {
        padding: var(--spacing-sm) 0;
    }
    
    .breadcrumb {
        font-size: 0.8em;
        gap: var(--spacing-xs);
    }
    
    /* Allow breadcrumbs to wrap on mobile */
    .breadcrumb-link,
    .breadcrumb-current {
        word-break: break-word;
    }
}

@media (max-width: 480px) {
    .breadcrumb {
        font-size: 0.75em;
    }
    
    /* Truncate very long breadcrumb items on small screens */
    .breadcrumb-link,
    .breadcrumb-current {
        max-width: 120px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    
    /* Don't truncate the current page */
    .breadcrumb-current {
        max-width: none;
        white-space: normal;
    }
}