/* 引入自定义字体 */
@font-face {
    /* 自定义字体名称，后续可以用此名称引用该字体 */
    font-family: 'Source Han Sans CN';
    /* 字体文件的路径，根据实际情况修改 */
    src: url('/fonts/SourceHanSansCN-Regular.otf') format('opentype');
    /* 可选属性：指定字体样式，默认为normal */
    font-style: normal;
    /* 可选属性：指定字体粗细，默认为normal */
    font-weight: normal;
}

/* 面包屑导航样式 */
/* 面包屑导航整体背景和内边距 */
.breadcrumb-custom {
    background-color: #faf7f0;
    padding: 10px 0;
    margin-bottom: 30px;
    
}
.fixed-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background: #ffffff;
  z-index: 1000;
  border-bottom: 1px solid #dee2e6; 
}
.fixed-header-en {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 59px;
  background: #ffffff;
  z-index: 1000;
  border-bottom: 1px solid #dee2e6; 
}
/* 面包屑导航内容容器 */
.container-custom {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 15px; /* 添加内边距，避免内容紧贴屏幕边缘 */
}

/* 面包屑导航项列表 */
.breadcrumb {
    display: flex;
    flex-wrap: nowrap; /* 禁止换行 */
    padding: 0;
    margin: 0;
    list-style: none;
}

/* 单个面包屑导航项 */
.breadcrumb-item {
    white-space: nowrap; /* 禁止文字换行 */
}

/* 面包屑导航项分隔符 */
.breadcrumb-item + .breadcrumb-item::before {
    content: "/"; /* 使用 / 作为分隔符 */
    padding: 0 8px;
    color: #6c757d;
}

/* 面包屑导航中超链接样式 */
.breadcrumb-item a {
    text-decoration: none; /* 去掉下划线 */
    color: inherit; /* 继承父元素颜色 */
}

/* 导航栏样式 */
/* 自定义导航栏容器 */
.navbar-custom {
    max-width: 1320px;
    margin: 0 auto;
    position: fixed;
    background-color: white;
    border-bottom: 1px solid #dee2e6; 
}

/* 导航栏下拉菜单悬停显示 */
.navbar-nav .dropdown:hover .dropdown-menu {
    display: block;
}

/* 语言切换器样式 */
.language-switcher {
    border-left: 1px solid #eee;
    padding-left: 1.5rem;
    margin-left: 1rem;
}

/* 导航栏链接样式 */
.nav-link {
    padding: 0.5rem 1.2rem !important;
    color: #333 !important;
    font-family: 'Source Han Sans CN',Arial, sans-serif;
    font-weight: 500;
}

/* 手机端样式调整 */
@media (max-width: 1024px) {
    /* 面包屑导航允许换行并调小字体 */
    .breadcrumb {
        flex-wrap: wrap;
        font-size: 14px;
    }

    /* 单个面包屑导航项允许文字换行 */
    .breadcrumb-item {
        white-space: normal;
    }
    .navbar-custom {
    background-color: white;
    z-index: 30;
}
}
@media (min - width:768px) and (max - width:991px)
{
    /* 面包屑导航允许换行并调小字体 */
    .breadcrumb {
        flex-wrap: wrap;
        font-size: 14px;
    }

    /* 单个面包屑导航项允许文字换行 */
    .breadcrumb-item {
        white-space: normal;
    }
    .navbar-custom {
    background-color: white;
    z-index: 30;
}
}