/* --- ARCHIVE & CATEGORY STYLING (UXT PRO) --- */

.archive-section {
    padding: 20px 0 60px;
}

/* 1. ARCHIVE HEADER (Glassmorphism Title Block) */
/* 1. ARCHIVE HEADER (Glassmorphism Title Block) */
.archive-header {
    margin-bottom: 40px;
    padding: 40px;
    text-align: center;
    /* Center align */
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: color-mix(in oklab, var(--panel) 40%, transparent);
    -webkit-backdrop-filter: saturate(120%) blur(20px);
    backdrop-filter: saturate(120%) blur(20px);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.2);

    display: flex;
    flex-direction: column;
    /* align-items: center; Removed to allow breadcrumbs left */

    transform: none !important;
    transition: none !important;
}

.archive-header:hover {
    transform: none !important;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.2) !important;
}

.archive-title {
    font-size: 2.5rem;
    font-weight: 850;
    margin: 15px 0 25px;
    color: var(--text-primary);
    line-height: 1.2;
}

.archive-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.8;
}

/* 2. BREADCRUMBS STYLING (Inside Header) */
.archive-header .breadcrumbs {
    margin-bottom: 10px;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    /* Left align crumbs */
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    /* text-transform: uppercase; Removed */
    letter-spacing: 0.02em;
}

.breadcrumb-link {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
    opacity: 0.7;
}

.breadcrumb-link:hover {
    color: var(--accent);
    opacity: 1;
}

.breadcrumb-separator {
    width: 14px;
    height: 14px;
    opacity: 0.3;
    color: var(--text-secondary);
}

.breadcrumb-current {
    color: var(--text-secondary);
    /* Same color as home icon/text */
    font-weight: 500;
    opacity: 0.7;
    /* Match opacity of links */
}

.breadcrumb-home-icon {
    width: 16px;
    height: 16px;
    stroke-width: 2.5px;
    color: var(--text-secondary);
    /* Ensure icon color */
    opacity: 0.7;
}

/* 3. PAGINATION (Moved to UI Kit) */

/* 4. RESPONSIVE */
@media (max-width: 768px) {
    .archive-header {
        padding: 30px 20px;
    }

    .archive-title {
        font-size: 1.8rem;
    }

    .breadcrumb-list {
        font-size: 0.75rem;
    }

    /* Mobile alignment overrides */
    .archive-header {
        text-align: left !important;
    }
    .archive-description {
        margin: 0 !important;
        text-align: left !important;
    }
}

/* Styling for Archive Header with Background Banner */
.archive-header.glass.has-bg-image {
    --text-primary: #ffffff !important;
    --text-secondary: rgba(255, 255, 255, 0.7) !important;
}

.archive-header.glass.has-bg-image .archive-title {
    color: #ffffff !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.archive-header.glass.has-bg-image .archive-description {
    color: rgba(255, 255, 255, 0.7) !important;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

.archive-header.glass.has-bg-image .breadcrumb-link {
    color: rgba(255, 255, 255, 0.8) !important;
}

.archive-header.glass.has-bg-image .breadcrumb-link:hover {
    color: var(--accent) !important;
}

.archive-header.glass.has-bg-image .breadcrumb-item {
    color: rgba(255, 255, 255, 0.7) !important;
}

.archive-header.glass.has-bg-image .breadcrumb-separator {
    color: rgba(255, 255, 255, 0.5) !important;
    opacity: 0.5 !important;
}

.archive-header.glass.has-bg-image .breadcrumb-current {
    color: rgba(255, 255, 255, 0.9) !important;
    opacity: 0.9 !important;
}

.archive-header.glass.has-bg-image .breadcrumb-home-icon {
    color: rgba(255, 255, 255, 0.8) !important;
    opacity: 0.8 !important;
}