/* 搜索框区域 */
.home-search {
    width: 100%;
    padding: 15px;
}

.search-form {
    width: 100%;
    max-width: 840px;
    margin: 0 auto;
}

.search-input-group {
    display: flex;
    width: 560px;
    gap: 0;
}

/* 搜索框样式 */
.search-input {
    width: 490px;
    height: 40px !important;
    padding: 0 15px;
    border: 2px solid #4a90e2;
    border-radius: 4px 0 0 4px;
    font-size: 16px;
    outline: none;
}

/* 搜索按钮样式 */
.search-btn {
    width: 70px;
    height: 40px !important;
    border: 2px solid #4a90e2;
    background: #4a90e2;
    color: #fff;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-btn i {
    font-size: 13px;
    color: #666;
}

.search-btn:hover {
    background: #e9ecef;
    color: #333;
    border-color: #ced4da;
}

.search-btn:hover i {
    color: #333;
}

/* 移动端响应式样式 */
@media screen and (max-width: 992px) {
    .home-search {
        width: 100%;
        background: #fff;
        padding: 10px 15px;
    }

    .search-input-group {
        display: flex;
    }

    .search-item {
        display: block;
        padding: 10px;
        border: none;
        border-bottom: 1px solid #eee;
        margin-bottom: 10px;
        box-shadow: none;
    }

    .search-item-title {
        font-size: 16px;
        margin-bottom: 8px;
    }

    .search-item-content {
        display: block;
        font-size: 14px;
        color: #666;
        line-height: 1.6;
        margin-top: 5px;
    }

    .search-item-left {
        display: none;
    }

    .search-item-right {
        width: 100%;
    }
}

@media screen and (max-width: 576px) {
    .search-input,
    .search-btn {
        height: 28px;
    }
    
    .search-btn {
        width: 70px;
        font-size: 13px;
    }
}

/* 搜索结果列表样式 */
.search-item {
    display: flex;
    padding: 15px; /* 减小内边距 */
    border: 1px solid #eee;
    border-radius: 8px;
    margin-bottom: 15px; /* 减小底部间距 */
    transition: all 0.3s ease;
    background: #fff;
}

.search-item-left {
    flex: 0 0 200px;
    margin-right: 20px;
}

.search-item-left img {
    width: 100%;
    height: 90px; /* 与其他列表页保持一致 */
    object-fit: cover;
    border-radius: 4px;
}

.search-item-right {
    flex: 1;
    text-align: left;
}

.search-item-title {
    font-size: 18px;
    color: #333;
    margin: 0 0 10px 0;
    font-weight: 500;
    text-align: left;
}

.search-item-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.search-item:hover {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
} 