/* 新增的样式 */
.query-container {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 20px;
    margin-bottom: 25px;
}

.filter-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 15px;
}

.filter-label {
    color: #666;
    font-weight: bold;
    min-width: 100px;
    margin-right: 10px;
}

.filter-option {
    margin: 5px;
    padding: 6px 12px;
    border-radius: 4px;
    background: #f5f5f5;
    transition: all 0.3s;
    cursor: pointer;
}

.filter-option:hover {
    background: #e6f7ff;
    color: #1890ff;
}

.filter-option.active {
    background: #1890ff;
    color: white;
}

.filter-option.active a {
    color: white;
}

.filter-option a {
    color: inherit;
    text-decoration: none;
}

.tech-card {
    border: none;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.3s;
    margin-bottom: 25px;
    height: 100%;
}

.tech-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.tech-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.tech-card .card-body {
    padding: 20px;
}

.tech-card .card-title {
    font-weight: 600;
    color: #1890ff;
    margin-bottom: 12px;
    height: 50px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.tech-card .card-text {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
    height: 63px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.tech-meta {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #777;
}

.tech-tag {
    background-color: #e6f7ff;
    color: #1890ff;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    margin-right: 8px;
    margin-bottom: 8px;
    display: inline-block;
}

.pagination-container {
    margin-top: 30px;
}

@media (max-width: 768px) {
    .filter-group {
        flex-direction: column;
        align-items: flex-start;
    }

    .filter-label {
        margin-bottom: 8px;
        min-width: auto;
    }

    .search-form-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .search-form-container input {
        max-width: 100%;
        width: 100%;
    }

    .tech-card img {
        height: 150px;
    }
}
search-section {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    padding: 16px 20px;
    margin-bottom: 20px;
}

.search-form {
    width: 100%;
}

.search-input-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-input {
    flex: 1;
    padding: 10px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 24px;
    font-size: 14px;
    transition: all 0.2s ease;
    min-width: 200px;
}

.search-input:focus {
    outline: none;
    border-color: #1a73e8;
    box-shadow: 0 0 0 2px rgba(26, 115, 232, 0.2);
}

.search-button {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: #1a73e8;
    color: #fff;
    border: none;
    border-radius: 24px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.search-button:hover {
    background: #1765cc;
}

.reset-button {
    padding: 10px 16px;
    background: transparent;
    color: #666;
    border: 1px solid #e0e0e0;
    border-radius: 24px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.reset-button:hover {
    background: #f5f5f5;
}
