.archive-container {
    max-width: 1050px;
    margin: 0 auto;
    padding: 50px 20px;
}

/* ===== BREADCRUMB ===== */
.archive-breadcrumb {
    font-size: 14px;
    margin-bottom: 25px;
    color: var(--muted);
}

.archive-breadcrumb a {
    text-decoration: none;
    color: var(--muted);
    transition: color 0.2s;
}

.archive-breadcrumb a:hover { color: var(--accent); }
.archive-breadcrumb .sep { margin: 0 8px; opacity: 0.5; }
.archive-breadcrumb .current { color: var(--primary); font-weight: 500; }

/* ===== HEADER ===== */
.page-title {
    font-size: 32px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 10px;
}

.header-line {
    width: 60px;
    height: 3px;
    background: var(--accent);
}

/* ===== ACTION BAR (SEARCH) ===== */
.action-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border);
    padding-bottom: 20px;
    flex-wrap: wrap;
    gap: 20px;
}

.section-subtitle {
    font-size: 22px;
    margin: 0;
}

/* ===== SEARCH BAR CONTAINER ===== */
.search-bar-container {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #fff;
    padding: 8px 15px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
    width: 100%;
}
.search-main {
    display: flex;
    align-items: center;
    flex-grow: 1;
    gap: 10px;
}

.search-main i {
    color: #94a3b8;
    font-size: 16px;
}

.search-main input {
    border: none;
    outline: none;
    width: 100%;
    font-size: 15px;
    color: var(--primary);
    background: transparent;
}

/* ===== CUSTOM SELECT STYLE ===== */
.filter-group {
    display: flex;
    align-items: center;
    gap: 10px;
    border-left: 2px solid #f1f5f9;
    padding-left: 15px;
}

.filter-label {
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    white-space: nowrap;
}

.custom-select-wrapper {
    position: relative;
    min-width: 160px;
}

.custom-select-wrapper select {
    width: 100%;
    padding: 8px 35px 8px 12px;
    font-size: 14px;
    font-weight: 500;
    color: var(--primary);
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    cursor: pointer;
    appearance: none;
    transition: all 0.2s ease;
}

.custom-select-wrapper select:hover {
    border-color: var(--accent);
    background-color: #fff;
}

.custom-select-wrapper select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.custom-select-wrapper::after {
    content: '\F282';
    font-family: "bootstrap-icons";
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    color: #64748b;
    pointer-events: none;
    transition: transform 0.2s ease;
}

.custom-select-wrapper:hover::after {
    color: var(--accent);
}


/* ===== FUND CARDS ===== */
.funds-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.fund-card {
    display: flex;
    align-items: center;
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px 25px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.fund-card:hover {
    border-color: var(--accent);
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.fund-badge {
    background: #f1f5f9;
    color: var(--primary);
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 14px;
    min-width: 80px;
    text-align: center;
    margin-right: 25px;
    border: 1px solid var(--border);
}

.fund-body {
    flex-grow: 1;
}

.fund-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 8px 0;
    color: var(--primary);
    line-height: 1.4;
}

.fund-meta {
    display: flex;
    gap: 25px;
    color: var(--muted);
    font-size: 14px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.meta-item i {
    color: var(--accent);
    font-size: 16px;
}

.fund-arrow {
    color: var(--border);
    font-size: 20px;
    transition: color 0.3s, transform 0.3s;
}

.fund-card:hover .fund-arrow {
    color: var(--accent);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .action-bar {
        flex-direction: column;
        align-items: flex-start;
    }

    .search-group {
        width: 100%;
        flex-direction: column;
    }

    .search-input-wrapper input {
        width: 100%;
    }

    .fund-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
    }

    .fund-badge {
        margin-bottom: 15px;
    }

    .fund-meta {
        flex-direction: column;
        gap: 10px;
    }

    .fund-arrow {
        display: none;
    }

    .search-bar-container {
        flex-direction: column;
        align-items: stretch;
        padding: 15px;
    }

    .filter-group {
        border-left: none;
        border-top: 1px solid #f1f5f9;
        padding-left: 0;
        padding-top: 12px;
        justify-content: space-between;
    }
}