//* --- 全局基础样式 --- */
html, body {
    width: 100%;
    margin: 0;
    padding: 0;
}
.body1 {
    padding-top: 140px; /* 为PC端固定头部留空 */
}
.content1 img {
    max-width: 100%;   
    height: auto;     
}
/* --- 移动端基础样式与响应式控制 --- */
.bg-red {
    background-color: #c00a00 !important;
    padding: 5px 10px;
    position: relative;
    z-index: 1030; /* 低于菜单，避免遮挡 */
}
.d-flex { display: flex; }
.align-items-center { align-items: center; }
.justify-content-between { justify-content: space-between; }
.d-md-none { display: none !important; }

/* 汉堡按钮（带×动画） */
.navbar-toggler {
    margin-left: auto;
    background-color: #fff;
    border: 1px solid #ddd;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    z-index:1060 !important; /* 确保在菜单之上 */
}
.icon-bar {
    display: block;
    width: 22px;
    height: 2px;
    background-color: #333 !important;
    margin: 4px 0;
    transition: all 0.3s ease;
}

/* --- 【核心】下拉菜单基础样式 (默认隐藏) --- */
#main-menu {
    display: none !important; /* 默认隐藏 */
    position: fixed !important; /* 固定定位 */
    top: 80px !important; /* 距离顶部的距离 */
    right: 10px !important; /* 靠右对齐 */
    left: auto !important; /* 取消左对齐 */
    width: calc(50% - 10px) !important; /* 半屏宽度 */
    background-color: #c00a00 !important; /* 红底 */
    z-index: 9999 !important;
    border-radius: 8px !important; /* 圆角 */
    padding: 0 !important; /* 去掉内边距 */
    margin: 0 !important;
    list-style: none !important;
    max-height: calc(100vh - 80px) !important; /* 最大高度 */
   
}
#main-menu.show { display: block !important; } /* 展开时显示 */

/* --- 菜单列表和项样式 --- */
 .nav {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important; /* 去掉内边距 */
}
 .nav .nav-item {
    text-align: center !important;
    /*border-bottom: 1px solid white !important;  白线间隔 */
    width: 100% !important;
    padding: 12px 0 !important; /* 增加上下间距 */
}
 .nav .nav-item:last-child {
    border-bottom: none !important; /* 去掉最后一根线 */
}
#main-menu .nav .nav-link {
    display: block !important;
    text-decoration: none !important;
    font-family: "Microsoft YaHei", sans-serif !important;
    
}

/* --- PC端头部与菜单（背景图） --- */
.header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    background: url(../images/top.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}
.pc-top {
    display: flex;
    align-items: center;
    width: 85%;
    margin: 0 auto;}
.content { height: 120px; }
.hd-lks {
    width: 70%;
    display: flex;
    align-items: bottom;
    white-space: nowrap;
    padding-right: 20px;
    justify-content: flex-end;
}
.hd-lks a {
    text-decoration: none;
    color: #f0f8ff;
    display: inline-flex;
    align-items: center;
    margin: 0 5px;
}
.hd-lks img {
    margin-right: 5px;
    vertical-align: middle;
    transform: translateY(-2px);
}
.divider { margin: 0 10px; color: #f0f8ff; }

.list-one {
    height: 60px;
    width: 100%;
    /*background: inherit;*/
    background-size: cover;
    background-position: center;
}
.list-one-one {
    width: 85%;min-width: 1620px;
    margin: 0 auto;
    height: 100%;
}
.list-one-one .nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    height: 100%;
}
.list-one-one .nav .nav-item {
    flex: 1;
    min-width: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 100%;
}
.list-one-one .nav .nav-link {
    color: white !important;
    text-decoration: none !important;
    font-size: 22px !important;
    font-family: '黑体' !important;
    padding: 0 10px;
    white-space: nowrap;
}
.list-one-one .nav .nav-link:hover { color: #ffd700 !important; }
.list-one-one .nav .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 0 !important;
    background-color: white;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    list-style: none !important;
    padding: 0 !important;
    min-width: 180px;
    z-index: 1060 !important;
}
.list-one-one .nav .dropdown-item {
    display: block !important;
    padding: 12px 16px !important;
    color: #333 !important;
    text-decoration: none !important;
    font-size: 18px !important;
    text-align: center;
}
.list-one-one .nav .dropdown-item:hover {
    background-color: #f8f9fa !important;
    color: #d9534f !important;
}

/* --- 【整合】响应式规则 (移动端) --- */
@media (max-width: 767px) {
    .d-md-none { display: flex !important; }
    .body1 { padding-top: 40px !important; }
    
     /* 【新增】重置头部容器宽度，让头部充满屏幕 */
    .pc-top, .list-one-one {
        width: 100% !important;  /* 宽度占满屏幕 */
        margin: 0 !important;    /* 取消左右自动居中（去掉空白） */
        padding: 0 10px !important; /* 可选：加左右内边距，避免内容贴屏幕边缘 */
    }
    /* --- 【核心】移动端菜单最终样式 --- */
    .nav-link {
        color: white !important; /* 白字 */
        font-size: 20px !important;
    }
     #main-menu {
        background-color: #c00a00 !important; }
  
  /* --- 【核心】隐藏移动端子菜单 --- */
    #main-menu .nav .dropdown-menu {
        display: none !important;
    }
}

/* --- 【整合】响应式规则 (PC端) --- */
@media (min-width: 768px) {
    #main-menu {
        display: flex !important; /* 默认显示 */
        position: static !important; /* 取消固定定位 */
        background-color: transparent !important; /* 透明背景 */
        box-shadow: none !important; /* 无阴影 */
        width: auto !important; /* 宽度自适应 */
        padding: 0 !important;
        max-height: none !important; /* 无高度限制 */
        overflow-y: visible !important; /* 无滚动 */
    }
}

/*------------------------------------------*/


    /*列表页与详情页的公用部分*/
    h5 {  margin: 0;        padding: 0;}

    /* 顶部导航栏容器 */
    .top-bar { width: 80%; display: flex; justify-content: space-between;   align-items: center;   padding: 10px 25px;     border-bottom: 1px solid #000;   flex-wrap: wrap;margin: 0 auto;min-width: 1536px;}

    /* 栏目名称样式 */
    .top-bar .bt {   font-size: 18px;  font-weight: bold;  color: #333;}

    /* 当前位置样式 */
    .top-bar .crumb { font-size: 14px;  color: #666;  /* 如果需要，可以添加一些左边距来与标题分隔 */ margin-left: 20px;}


.text,.cont-list{position: relative;left: 150px;width: 80%; margin-top:20px;min-width: 1536px;}
.cont-list a{ font-size:20px;}
   
   
   
         