@import 'variables.css';

.page-heading {
    padding: var(--spacing-lg) 0;
    background-color: var(--bg-color);
}

.page-heading__breadcrumbs {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0 0 var(--spacing-md) 0;
    padding: 0;
    gap: var(--spacing-xs);
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.page-heading__breadcrumbs::-webkit-scrollbar {
    display: none;
}

.page-heading__breadcrumb-item {
    display: flex;
    align-items: center;
    color: #6C757D;
    font-size: 14px;
    flex-shrink: 0;
}

.page-heading__breadcrumb-item:not(:last-child)::after {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-left: var(--spacing-xs);
    background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 12L10 8L6 4' stroke='%236C757D' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

.page-heading__breadcrumb-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
}

.page-heading__breadcrumb-link:hover {
    color: var(--primary-color);
}

.page-heading__home-icon {
    width: 16px;
    height: 16px;
}

.page-heading__breadcrumb-current {
    color: var(--text-color);
}

.page-heading__title {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
    color: var(--text-color);
    margin: 0;
    line-height: 1.2;
}

/* Responsive */
@media (max-width: 768px) {
    .page-heading {
        padding: var(--spacing-md) 0;
    }
    
    .page-heading__title {
        font-size: var(--font-size-lg);
    }
}

@media (max-width: 576px) {
    .page-heading__breadcrumb-item {
        font-size: 12px;
    }
}
