/* 基础工具类 */
.bd-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

figure {
    padding: 0;
    margin: 0;
}

.bd-search-box {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bd-container {
    max-width: 100%;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 基础样式 */
/* body {
    font-family: "Helvetica Neue", Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f6f7;
} */


.bd-highlight {
    color: #ea4335;
    font-weight: 500;
    padding: 0 2px;
    border-radius: 2px;
}

/* 头部样式 */
.bd-header {
    padding-top: 20px;
    background-color: #fff;
}

.bd-search-container {
    display: flex;
    max-width: 675px;
    width: 100%;
    position: relative;
}

.bd-search-input {
    flex: 1;
    height: 46px;
}

.bd-search-input input {
    box-sizing: border-box;
    width: 100%;
    height: 46px;
    border-radius: 0;
    font-size: 24px;
    border: 2px solid #09254a;
    border-right: 0;
    border-bottom-left-radius: 8px !important;
    border-top-left-radius: 8px !important;
    padding-left: 10px;
    outline: none;
    color: #555;
    /* 移除默认outline */
}

/* 修复focus时的边框颜色问题 */
.bd-search-input input:focus {
    border-color: #E6E8E8;
    background-color: #ffffe5 !important;
    box-shadow: 0 0 0 2px rgba(230, 232, 232, 0.5);
    /* 添加阴影模拟边框效果 */
}

.el-icon-search {
    margin-right: 10px;
}

.bd-search-button {
    cursor: pointer;
    width: 108px;
    height: 46px;
    background-color: #082648;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    border-radius: 0;
    font-size: 18px;
    border: none;
    border-radius: 0 8px 8px 0;
}

.bd-search-suggestions {
    max-width: 675px;
    position: absolute;
    top: 50px;
    left: 0;
    background-color: #fff;
    width: 100%;
    text-align: left;
    z-index: 444;
    border-radius: 10px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}

.bd-suggestion-item {
    border-radius: 3px;
    color: #212121;
    font-size: 16px;
    list-style: none;
    overflow: hidden;
    padding: 10px 20px;
    text-align: left;
    text-overflow: ellipsis;
    transition: all .2s ease;
    white-space: nowrap;
    display: flex;
    justify-content: space-between;
}

.bd-suggestion-item a {
    text-decoration: none;
}

.bd-suggestion-item:hover {
    background-color: hsla(0, 0%, 48%, .1);
    cursor: pointer;
}

/* 热词推荐样式 */
/* .bd-trending-section {
    padding: 10px 0;
} */

.bd-trending-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.bd-trending-words-recommendation {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    max-width: 675px;
    margin: 0 auto;
    text-align: left;
    color: #42413f;
    padding: 10px 0 20px;
    font-size: 16px;
    cursor: pointer;
}

.bd-trending-words-recommendation li {
    margin-right: 15px;
    margin-bottom: 10px;
}

.bd-trending-words-recommendation li a {
    color: #333;
    text-decoration: none;
    font-size: 24px;
    border-radius: 6px;
    padding: 5px 10px 5px 2px;
    text-decoration: underline !important;
}

.bd-trending-words-recommendation li a:hover {
    color: #082648;
}


/* .bd-result-count,
.bd-result-time {
    font-weight: bold;
} */

/* 搜索结果样式 */
.bd-results-container {
    margin-top: 20px;
}

.bd-result-item {
    margin-bottom: 15px;
    padding: 10px 0;
    border-radius: 5px;
    transition: background-color 0.2s;
    text-align: left;
}
.bd-result-item img{
    width: 300px!important;
}

 .bd-result-item video{
    width: 300px!important;
    height: 170px;
 }
.bd-result-item:hover {
    background-color: #f9f9f9;
}
.bd-result-info {
    margin-bottom: 5px;
    color: #70757a;
    font-size: 14px;
}

.bd-result-title {
    margin-bottom: 5px;
    font-size: 24px;
    font-weight: bold;
}

.bd-result-title a {
    color: #1a0dab;
    text-decoration: none;
}

.bd-result-title a:hover {
    color: #21252b;
    text-decoration: underline;
}

.bd-result-content {
    font-size: 24px;
    color: #545454;
    line-height: 1.5;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* 空状态样式 */
.bd-empty {
    text-align: left;
    padding: 50px 0;
    color: #4d5156;
    margin: 30px 0;
}

.bd-empty-content {
    max-width: 400px;
    margin: 0 auto;
}

.bd-empty-image {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    background-color: #e5e5e5;
    border-radius: 50%;
}

.bd-empty-text {
    font-size: 18px;
    color: #666;
    margin: 0 0 10px;
}

.bd-text-muted {
    color: #777;
}

/* 分页样式 */
.bd-pagination {
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 30px 0;
    flex-wrap: wrap;
}

.bd-pagination div {
    width: 30px;
    height: 30px;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
    display: flex;
    line-height: 30px;
    margin: 0 5px;
    padding: 0 5px;
    cursor: pointer;
    border-radius: 4px 4px 0 0;
    color: #666;
    position: relative;
}

.bd-pagination div:hover:not(.bd-active) {
    background-color: #eee;
    color: #c10026;
}

.bd-pagination .bd-active {
    color: #f094a9;
    cursor: default;
    background-color: transparent;
}

.bd-pagination .el-icon-d-arrow-left,
.bd-pagination .el-icon-d-arrow-right {
    font-weight: bold;
}

.bd-loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.bd-loading-content {
    text-align: center;
}

.bd-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 10px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* 主导航样式 */
.bd-main-nav {
    padding: 15px 0;
}

.bd-main-nav-container {
    display: flex;
    justify-content: center;
}

.bd-tabAcitve {
    font-weight: bold;
}

.bd-nav-container {
    width: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    padding: 0 15px;
}

.bd-nav-title {
    font-size: 14px;
    color: #333;
    margin-bottom: 4px;
}

.bd-nav-divider {
    width: 110%;
    height: 1px;
    background-color: #969696;
}

.bd-no-divider {
    width: 120%;
    height: 1px;
    background-color: transparent;
}

.bd-nav-count {
    font-size: 12px;
    color: #aaa;
    margin-bottom: 4px;
}

/* 内容区域样式 */
.bd-coxper,
.bd-content-area {
    max-width: 870px;
    margin: 0 auto;
}

.bd-search-results {
    padding: 0;
}

/* 统计和下拉 */
.bd-statistics-select {
    max-width: 870px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 16px 0;
}

.bd-result-stats {
    color: #777;
    font-size: 16px;
    flex-shrink: 0;
}

.bd-filter {
    flex-shrink: 0;
    display: flex;
    gap: 10px;
}

/* 自定义下拉框样式 */
.bd-custom-select-container {
    position: relative;
    min-width: 110px;
}

.bd-select-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
    cursor: pointer;
    transition: all 0.2s;
    min-height: 32px;
}

.bd-select-header:hover {
    border-color: #adadad;
    background: #e6e6e6;
}

.bd-select-header:focus-within {
    border-color: #409eff;
    box-shadow: 0 0 0 2px rgba(64, 158, 255, 0.1);
}

.bd-select-value {
    font-size: 16px;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 无选中项时的默认文本样式 */
.bd-select-value:empty::before,
.bd-select-value[data-placeholder]::before {
    content: attr(data-placeholder);
    color: #c0c4cc;
}

.bd-select-icon {
    color: #333;
    transition: transform 0.3s;
    font-weight: bold;
}

.bd-select-options {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 2px;
    border: 1px solid #ebeef5;
    border-radius: 4px;
    background-color: #fff;
    box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
    z-index: 100;
    max-height: 200px;
    width: 160px;
    overflow-y: auto;
}

.bd-option {
    padding: 10px;
    font-size: 16px;
    color: #606266;
    cursor: pointer;
    transition: background-color 0.2s;
}

.bd-option:hover {
    background-color: #f5f7fa;
}

.bd-option.selected {
    background-color: #e4e7ed;
    color: #409eff;
}

.bd-hidden {
    display: none;
}

/* 响应式调整 */
/* @media (max-width: 768px) {
    .bd-statistics-select {
        flex-direction: column;
        align-items: flex-start;
    }

    .bd-result-stats {
        margin-bottom: 10px;
    }

    .bd-filter {
        width: 100%;
        flex-wrap: wrap;
    }

    .bd-custom-select-container {
        min-width: 100%;
        margin-bottom: 10px;
    }
} */