/* Page Banner Styles */
.page-banner {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    height: 130px;
    text-align: right;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    padding: 0 2rem;
}

/* Background image styling */
.page-banner.has-bg-image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 130px;
    display: flex;
    align-items: center;
    overflow: hidden;
    border-bottom: 3px solid #C41E32;
}


/* Add overlay for better text readability when image is present */
.page-banner.has-bg-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}


/* Ensure content is above overlay */
.page-banner.has-bg-image .container {
    position: relative;
    z-index: 2;
}

/* Adjust text color when background image is present */
.page-banner.has-bg-image .page-banner-title {
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-banner .container {
    width: 100%;
    margin: 0 auto;
    padding: 0 ;
}

.page-banner-content {
    text-align: right;
    width: 100%;
    position: relative;
}

[dir="ltr"] .page-banner-content {
    text-align: left;
}

.page-banner-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.2;
    padding: 0;
    letter-spacing: 1px;
    position: relative;
}



[dir="ltr"] .page-banner-title {
    text-align: left;
}


/* Breadcrumb Styles */
.breadcrumb {
    margin: 0;
    padding: 0;
}

.breadcrumb-link {
    color: var(--primary-color, #d81d1d);
    text-decoration: none;
    padding: 0;
    border-radius: 0.375rem;
    transition: all 0.2s ease;
}

.breadcrumb-link:hover {
    color: var(--primary-color, #d81d1d);
    text-decoration: none;
    border: none;
    border-radius: 0.375rem;
}

.breadcrumb-text {
    color: var(--gray-600, #6b7280);
    font-weight: 500;
    padding: 0;
}

.breadcrumb-current {
    color: var(--gray-900, #111827);
    font-weight: 600;
    padding: 0;
}

.breadcrumb-item--current .breadcrumb-text {
    color: var(--gray-900, #111827);
    font-weight: 600;
    border-radius: 0.375rem;
    padding: 0;
}

/* Breadcrumb alignment within page banner */
.page-banner .breadcrumb {
    text-align: right;
}

[dir="ltr"] .page-banner .breadcrumb {
    text-align: left;
}

.page-banner .breadcrumb-list {
    justify-content: flex-start;
}

/* Breadcrumb text color when background image is present */
.page-banner.has-bg-image .breadcrumb-link,
.page-banner.has-bg-image .breadcrumb-text,
.page-banner.has-bg-image .breadcrumb-current {
    color: #ffffff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
    font-weight: 500;
}

.page-banner.has-bg-image .breadcrumb-link:hover {
    color: #ff6b6b;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-banner {
        height: 130px;
        margin-bottom: 1.5rem;
        padding: 0rem;
    }
    
    .page-banner.has-bg-image {
        height: 130px;
    }

    .page-banner-title {
        font-size: 1.4rem;
        margin-bottom: 10px;
    }
    
    .page-banner .container {
        padding: 0 15px;
    }
    
    .breadcrumb-text,
    .breadcrumb-current {
        padding: 0;
    }
    
    .breadcrumb-item--current .breadcrumb-text {
        padding: 0;
    }
    
    .breadcrumb-link,
    .breadcrumb-text {
        padding: 0;
    }
    
    .breadcrumb-item--current .breadcrumb-text {
        padding: 0;
    }
    
    .breadcrumb {
        padding: 0;
        border-radius: 0.75rem;
    }
}

/* Additional breadcrumb styling for better appearance */
.breadcrumb-container {
    /* backdrop-filter: blur(15px); */
    /* border-radius: 1rem; */
    padding: 0;
    /* border: 1px solid rgba(229, 231, 235, 0.6); */
    /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); */
}

@media (max-width: 480px) {
    .breadcrumb {
        padding: 0;
        border-radius: 0.75rem;
    }
}

/* LTR specific breadcrumb styling */
[dir="ltr"] .breadcrumb-link {
    text-align: left;
}