.solution-library-page-header {
    padding: 20px 0 24px;
}

.solution-library-title {
    font-size: 26px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 8px;
    line-height: 1.3;
}

.solution-library-desc {
    font-size: 15px;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}

.solution-library-container {
    min-height: 600px;
    padding: 24px 0 60px;
    background: #f8fafc;
}

.solution-library-layout {
    display: flex;
    gap: 32px;
    align-items: flex-start;
}

.solution-library-sidebar {
    width: 240px;
    flex-shrink: 0;
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    position: sticky;
    top: 20px;
}

.sidebar-title {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 16px;
}

.category-tree {
    list-style: none;
    margin: 0;
    padding: 0;
}

.category-tree li {
    margin-bottom: 4px;
}

.category-tree .cat-level1 {
    display: block;
    padding: 10px 12px;
    color: #475569;
    font-size: 14px;
    cursor: pointer;
    border-radius: 8px;
    transition: background .2s, color .2s;
}

.category-tree .cat-level1:hover,
.category-tree .cat-level1.active {
    background: rgba(65, 158, 255, 0.1);
    color: var(--color);
}

.category-tree .cat-children {
    list-style: none;
    margin: 4px 0 4px 16px;
    padding: 0;
}

.category-tree .cat-level2 {
    display: block;
    padding: 6px 12px;
    color: #64748b;
    font-size: 13px;
    cursor: pointer;
    border-radius: 6px;
}

.category-tree .cat-level2:hover,
.category-tree .cat-level2.active {
    color: var(--color);
    background: rgba(65, 158, 255, 0.08);
}

.sidebar-sort {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
}

.sidebar-sort label {
    font-size: 13px;
    color: #64748b;
    margin-right: 8px;
}

.sidebar-sort select {
    padding: 6px 10px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-size: 13px;
    color: #1e293b;
}

.solution-library-main {
    flex: 1;
    min-width: 0;
}

.search-bar {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.search-bar input {
    flex: 1;
    height: 44px;
    padding: 0 16px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 15px;
}

.search-bar .search-btn {
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 8px;
    background: var(--color);
    color: #fff;
    cursor: pointer;
}

.solution-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.solution-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: box-shadow .25s, transform .25s;
    cursor: pointer;
    border: 1px solid #e5e7eb;
}

.solution-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.solution-card-cover {
    width: 100%;
    height: 160px;
    background: linear-gradient(135deg, #e0f2fe 0%, #f0f9ff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.solution-card-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.solution-card-body {
    padding: 20px;
}

.solution-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}

.solution-card-tag {
    font-size: 12px;
    color: var(--color);
    background: rgba(65, 158, 255, 0.1);
    padding: 4px 8px;
    border-radius: 4px;
}

.solution-card-title {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.solution-card-excerpt {
    font-size: 14px;
    color: #64748b;
    line-height: 1.5;
    margin: 0 0 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.solution-card-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 12px;
    color: #94a3b8;
}

.solution-library-pagination {
    margin-top: 32px;
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.solution-library-pagination .page-btn {
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    background: #fff;
    color: #64748b;
    cursor: pointer;
    font-size: 14px;
}

.solution-library-pagination .page-btn:hover:not(.disabled) {
    border-color: var(--color);
    color: var(--color);
}

.solution-library-pagination .page-btn.active {
    background: var(--color);
    border-color: var(--color);
    color: #fff;
}

.solution-library-pagination .page-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.no-results-wrap {
    text-align: center;
    padding: 60px 20px;
    color: #64748b;
}

@media (max-width: 1024px) {
    .solution-library-layout {
        flex-direction: column;
    }
    .solution-library-sidebar {
        width: 100%;
        position: static;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 16px;
    }
    .sidebar-title { margin-bottom: 0; }
    .category-tree { flex: 1; min-width: 200px; }
    .sidebar-sort { margin-top: 0; padding-top: 0; border: none; }
}

@media (max-width: 768px) {
    .solution-cards {
        grid-template-columns: 1fr;
    }
}
