@charset "utf-8";
/* CSS Document */

.section-title {
    /*padding-left: 18px;*/
    margin: 16px 0 6px;
    font-weight: 500;
    font-size: 15px;
    color: #3d404b;
    /*background: url("/images/nav/square.svg") no-repeat 0 2px;*/
}

.card-group-box {
    position: relative;
    min-height: 102px;
    padding: 14px 20px 0 20px;
    margin-bottom: 24px;
    border-radius: 5px;
    /*box-shadow: 0 2px 15px 0 #f7f7f7;*/
    /*background-color: #f3f3f3;*/
    background: linear-gradient(270.00deg,rgb(235,247,255),rgb(248,242,255)100%);
}

.item {
    display: flex;
    align-items: center;
    flex-direction: column;
    text-align: center;
    margin-right: 36px;
    color: #333;
}

.item a.item1 {
    color: inherit;
    text-decoration: none;
}

.item a.item1:hover img{
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.item img {
    width: 52px;
    height: 52px;
    margin-bottom: 6px;
    box-shadow: 0 3px 12px 0 #f7f7f7;
}

.item p {
    margin-bottom: 0;
    font-size: 13px;
    font-weight: 400;
    text-align: center;
    color: #3d3d3d;
}

@media (max-width: 1199px) {
    .item p {
        margin-bottom: 16px;
    }
}

.subsection-title {
    position: absolute;
    top:14px;
    right: 16px;
    font-size: 12px;
    font-weight: 500;
    color: #333;
}

/* 搜索导航栏样式 */
.search-nav-container {
    display: flex;
    justify-content: center;
}

/* 搜索表单容器 */
.search-form-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    max-width: 660px;
    margin: 0 auto;
}

/* 搜索框容器 */
.search-box {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid #dfe1e5;
    border-radius: 24px;
    padding: 0 14px;
    height: 44px;
    box-shadow: 0 2px 5px 1px rgba(64,60,67,.16);
    transition: box-shadow 0.3s ease;
    flex: 1;
    position: relative;
}

.search-box:hover {
    box-shadow: 0 2px 8px 1px rgba(64,60,67,.24);
}

.search-box:focus-within {
    box-shadow: 0 2px 8px 1px rgba(64,60,67,.24);
    outline: none;
}

/* 搜索图标 */
.search-box > svg {
    margin-right: 14px;
    fill: #9aa0a6;
    flex-shrink: 0;
}

/* 搜索输入框 */
.search-input {
    border: none;
    outline: none;
    background: transparent;
    font-size: 16px;
    flex: 1;
    color: #202124;
    min-width: 0;
}

.search-input::placeholder {
    color: #9aa0a6;
}

.search-input:-webkit-autofill,
.search-input:-webkit-autofill:hover,
.search-input:-webkit-autofill:focus,
.search-input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px white inset !important;
    -webkit-text-fill-color: #202124 !important;
    background-color: transparent !important;
}

/* 搜索引擎选择器 */
.search-engine-selector {
    position: relative;
    margin-left: 8px;
}

.search-engine-btn {
    background: none;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
    white-space: nowrap;
}

.search-engine-btn:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.engine-name {
    font-size: 14px;
    color: #5f6368;
}

.dropdown-arrow {
    font-size: 12px;
    color: #5f6368;
    transition: transform 0.2s ease;
}

.search-engine-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    border: 1px solid #dadce0;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    min-width: 120px;
    display: none;
}

.search-engine-dropdown.show {
    display: block;
}

.engine-option {
    padding: 8px 12px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.engine-option:hover {
    background-color: #f8f9fa;
}

.engine-option span {
    font-size: 14px;
    color: #202124;
}

/* 外部搜索按钮 */
.search-btn-external {
    background: #f8f9fa;
    border: 1px solid #dadce0;
    color: #333;
    padding: 0;
    margin: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px 20px;
    border-radius: 4px;
    transition: all 0.2s ease;
    flex-shrink: 0;
    font-size: 16px;
}

.search-btn-external:hover {
    background-color: #f1f3f4;
    border-color: #c4c7c5;
    box-shadow: 0 1px 1px rgba(0,0,0,.1);
}

.search-btn-external svg {
    fill: #5f6368;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .search-form-wrapper {
        flex-direction: column;
        gap: 12px;
    }
    
    .search-box {
        width: 100%;
        height: 40px;
    }
    
    .search-engine-btn {
        padding: 6px 10px;
    }
    
    .engine-name {
        font-size: 13px;
    }
    
    .search-input {
        font-size: 14px;
    }
    
    .search-box > svg {
        margin-right: 12px;
    }
    
    .search-btn-external {
        width: 100%;
        height: 40px;
    }
}
