﻿
.hot_conference .search-wrap {
    margin: 18px 0 22px;
    width: 100%;
}

.hot_conference .search-container {
    display: flex;
    border-bottom: 2px solid #2B8AE4;
    transition: border-color 0.3s ease;
}

    .hot_conference .search-container:focus-within {
        border-color: #1a6fc7;
    }

.hot_conference .search-input {
    flex: 1;
    height: 38px;
    padding: 0 12px;
    border: none;
    outline: none;
    font-size: 14px;
    color: #333;
    background: transparent;
}

    .hot_conference .search-input::placeholder {
        color: #aaa;
        font-weight: 300;
    }

.hot_conference .search-button {
    width: 38px;
    height: 38px;
    border: none;
    background: none;
    color: #2B8AE4;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

    .hot_conference .search-button:hover {
        color: #1a6fc7;
    }

    .hot_conference .search-button .layui-icon {
        font-size: 18px;
    }

@media(max-width: 768px) {
    .hot_conference .search-wrap {
        margin: 15px 0 20px;
    }
}

.layui-hs-title {
    position: relative;
    padding-right: 300px; /* 为搜索框预留空间 */
}

.title-search-wrap {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 280px;
    z-index: 10;
}

.title-search-container {
    display: flex;
    border-bottom: 2px solid #2B8AE4;
    background: #f8f9fa;
    border-radius: 4px;
}

.title-search-input {
    flex: 1;
    height: 32px;
    padding: 0 12px;
    border: none;
    outline: none;
    font-size: 14px;
    background: transparent;
}

.lay-submit {
    width: 32px;
    height: 32px;
    border: none;
    background: none;
    color: #2B8AE4;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.layui-hs-right .layui-hs-title {
    padding-right: 0 !important; /* 移除右侧padding */
    display: block !important; /* 恢复默认显示 */
}

.layui-hs-right .title-search-wrap {
    display: none !important; /* 隐藏右侧的搜索框 */
}
/* 响应式调整 */
@media(max-width: 920px) {
    .layui-hs-title {
        padding-right: 0;
    }

    .title-search-wrap {
        position: static;
        transform: none;
        width: 100%;
        margin-top: 10px;
    }
}

