/* 全局基础样式 */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    box-sizing: border-box;
    overflow-x: hidden;
    font-family: Arial, sans-serif;
}

/* 搜索模态框样式 */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: flex-start;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    padding-top: 5%;
}

.modal-overlay--after-open {
    opacity: 1;
}

.modal {
    background: white;
    width: 90%;
    max-width: 700px;
    border-radius: 12px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: translateY(-30px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
    position: relative;
}

.modal--after-open {
    transform: translateY(0) scale(1);
}

.modal__close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    background: rgba(241, 245, 249, 0.8);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 10;
}

.modal__close:hover {
    background: #f1f5f9;
    transform: rotate(90deg);
}

.modal__close svg {
    width: 20px;
    height: 20px;
    fill: #64748b;
}

.predicted-search-bar {
    padding: 28px;
    position: relative;
    background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
    border-bottom: 1px solid rgba(226, 232, 240, 0.5);
}

.predicted-search-bar__input {
    width: 100%;
    padding: 16px 56px 16px 56px;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    color: #1e293b;
}

.predicted-search-bar__input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2), 0 1px 3px rgba(0, 0, 0, 0.1);
}

.predicted-search-bar__icon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    fill: #94a3b8;
}

.predicted-search-bar__icon--left {
    left: 44px;
}

.search-button {
    position: absolute;
    right: 64px;
    top: 50%;
    transform: translateY(-50%);
    background: #2563eb;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 200;
}

.search-button:hover {
    background: #1d4ed8;
}

.predicted-search-overlay__contents {
    padding: 16px 0;
    max-height: 60vh;
    overflow-y: auto;
}

.predicted-search-overlay__term-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.search-term-component {
    display: flex;
    align-items: center;
    padding: 14px 28px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.search-term-component:hover {
    background: #f8fafc;
}

.search-term-component__query-icon {
    width: 20px;
    height: 20px;
    fill: #94a3b8;
    margin-right: 16px;
}

.search-term-component__content {
    flex: 1;
    color: #1e293b;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
}

/* 导航栏样式 */
.navbar {
    box-sizing: border-box;
    position: fixed;
    top: 0;
    left: 0;
    height: 90px;
    padding-left: 59px;
    padding-right: 59px;
    width: 100%;
    transition: all 1.0s ease;
    border-bottom: 1px solid rgb(220, 220, 220);
    z-index: 100;
    color: black;
    background-color: white;
}

.navbar.scrolled {
    background-color: white;
}

.navbar.hidden {
    transform: translateY(-100%);
}

.header__logo {
    position: absolute;
    cursor: pointer;
    left: 59px;
    line-height: 80px;
}

.header__links {
    position: absolute;
    line-height: 80px;
    right: 59px;
}

.Header__links__menu {
    cursor: pointer;
    display: inline-block;
}

.search-box {
    display: inline-flex;
    align-items: center;
    padding: 1px 6px;
    margin: 0px 48px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 30px;
    background-color: rgb(246, 246, 246);
    color: rgb(191, 191, 191);
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 206px;
    height: 36px;
}

.search-box:hover {
    background-color: rgb(234, 234, 234);
}

.search-icon {
    width: 20px;
    height: 20px;
    color: rgb(0, 0, 0);
    margin-right: 12px;
}

.search-text {
    font-weight: 500;
    white-space: nowrap;
}

.navbar.scrolled .search-box {
    color: #333;
    background-color: #f5f5f5;
    border-color: #ddd;
}

.header__links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: inline-block;
}

.header__links li {
    display: inline-block;
    font-size: 1rem;
    font-weight: 700;
    margin-left: 40px;
}

.nav_open_str {
    background: none;
    border: none;
    padding: 0;
    color: inherit;
    cursor: pointer;
    font: inherit;
}

/* 菜单样式 */
.menu_box {
    position: fixed;
    top: 0;
    right: -100%;
    padding: 55px 45px 20px 80px;
    width: 355px;
    height: 100vh;
    background: white;
    z-index: 1000;
    display: none;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
    animation: slideInFromRight2 0.8s forwards;
}

.menu_box.active {
    display: block;
    animation: slideInFromRight 0.8s forwards;
}

@keyframes slideInFromRight {
    from {
        right: -100%;
        opacity: 0;
    }
    to {
        right: 0;
        opacity: 1;
    }
}

@keyframes slideInFromRight2 {
    from {
        right: 0;
        opacity: 1;
    }
    to {
        right: -100%;
        opacity: 0;
    }
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: none;
}

.close-btn {
    display: inline-block;
    margin-left: 80%;
    padding-bottom: 40px;
    font-size: 2.6rem;
    cursor: pointer;
    background: none;
    border: none;
    color: #c09a5d;
}

body.no-scroll {
    overflow: hidden;
}

.Menu__main__title {
    margin: 0 0 20px;
    font-size: 1.8rem;
    font-weight: 700;
}

.menu_title_btn {
    border: 0px;
    background-color: white;
    cursor: pointer;
}

.menu_title_btn:hover {
    text-decoration: underline;
}
.Menu__a{
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 1.2;
}
.Menu__a:hover{
    text-decoration: underline;
}


.submenu {
    position: fixed;
    top: 0;
    right: 0;
    padding: 55px 45px 20px 80px;
    width: 355px;
    height: 100vh;
    background: white;
    z-index: 1001;
    display: none;
}

.submenu_title {
    margin: 0 0 20px;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 45px;
}

.Browse_how {
    color: #929292;
    font-weight: bold;
    font-size: 12px;
}

.Browse_type {
    color: #5b5a5a;
    font-weight: bold;
    font-size: 12px;
    margin-left: 12px;
    cursor: pointer;
}

.Browse_type_active {
    color: black;
    border-bottom: 2px solid #c09a5d;
}

.submenu_li {
    margin-top: 20px;
}

.submenu_li:hover {
    text-decoration: underline;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .modal-overlay {
        padding-top: 10%;
    }

    .modal {
        width: 95%;
    }

    .predicted-search-bar {
        padding: 20px;
    }

    .predicted-search-bar__input {
        padding: 14px 48px;
        font-size: 16px;
    }

    .predicted-search-bar__icon--left {
        left: 36px;
    }

    .search-button {
        right: 36px;
    }
}
/* 搜索内容区域 */
.predicted-search-overlay__contents {
    padding: 16px 0;
    max-height: 60vh;
    overflow-y: auto;
}

.predicted-search-overlay__title {
    margin: 0 28px 12px;
    font-size: 14px;
    color: #64748b;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.predicted-search-overlay__term-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* 搜索项 */
.search-term-component {
    display: flex;
    align-items: center;
    padding: 14px 28px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.search-term-component:hover {
    background: #f8fafc;
}

.search-term-component__query-icon {
    width: 20px;
    height: 20px;
    fill: #94a3b8;
    margin-right: 16px;
    flex-shrink: 0;
}

.search-term-component__content {
    flex: 1;
    color: #1e293b;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
}

.search-term-component__content b {
    font-weight: 600;
    color: #2563eb;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .modal-overlay {
        padding-top: 10%;
    }

    .modal {
        width: 95%;
    }

    .predicted-search-bar {
        padding: 20px;
    }

    .predicted-search-bar__input {
        padding: 14px 48px;
        font-size: 16px;
    }

    .predicted-search-bar__icon--left {
        left: 36px;
    }

    .search-button {
        right: 36px;
    }
}

/* 触发按钮样式 */
#openSearchModal {
    margin: 40px auto;
    display: block;
    padding: 12px 24px;
    background: #2563eb;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
    font-family: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

#openSearchModal:hover {
    background: #1d4ed8;
}

#header {
    width: 100%;
    min-height: 80px; /* 或其他合适的高度 */
    overflow: auto; /* 清除浮动影响 */
}
/* 容器样式 */
.aem-GridColumn {
    box-sizing: border-box;
}

.aem-GridColumn--default--12 {
    width: 100%;
    margin: 1.4rem 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

.container--no-space {
    padding: 0;
}

/* 面包屑导航核心样式 */
.Breadcrumb {
    font-size: 14px;
    line-height: 1.5;
    font-family: Arial, sans-serif;
}

.cmp-breadcrumb {
    margin: 0;
    padding: 0;
}

.cmp-breadcrumb__list {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
    list-style: none;
}

.cmp-breadcrumb__item {
    display: flex;
    align-items: center;
}

.cmp-breadcrumb__item-link {
    display: flex;
    align-items: center;
    color: #c09a5d;
    text-decoration: none;
    padding: 4px 0;
}

.cmp-breadcrumb__item-link:hover {
    text-decoration: underline;
}

.cmp-breadcrumb__item-link__icon {
    width: 16px;
    height: 16px;
    margin: 0 4px;
    fill: currentColor;
}

.cmp-breadcrumb__item--active .cmp-breadcrumb__item-link {
    color: #c09a5d;
    cursor: default;
    pointer-events: none;
}

.cmp-breadcrumb__item--active .cmp-breadcrumb__item-link:hover {
    text-decoration: none;
}

/* 使用伪元素作为分隔符 */
.cmp-breadcrumb__item:not(:last-child)::after {
    margin: 0 8px;
    color: #c09a5d;
}

/* 导航容器 - 居中 */
.NavTabs__desk {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
}

/* 导航项间距 */
.NavTabs__desk__item {
    margin: 0 10px;
}

/* 导航按钮基础样式 */
.NavigationTab {
    width: 120px;
    height: 40px;
    border-radius: 20px; /* 椭圆效果 */
    border: none;
    background-color: #f6f6f6;
    color: #333;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 悬停效果 */
.NavigationTab:hover {
    background-color: #e0e0e0;
}

/* 选中状态 */
.NavigationTab.active {
    background-color: #004289;
    color: white;
    font-weight: bold;
}