/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family:  "SimSun", Arial, sans-serif;
}
body {
    color: #333;
    background: #f5f5f5;
    line-height: 1.6;
}
a {
    text-decoration: none;
    color: #333;
    transition: all 0.3s;
}
a:hover {
    color: #c9a769;
}
img {
    border: 0;
    max-width: 100%;
    height: auto;
}
ul, ol {
    list-style: none;
}
.fixed {
    width: 1200px;
    margin: 0 auto;
}
.wd {
    width: 100%;
}

/* Header Styles */
.header {
    /*background: #1a2b58;*/
    /*这里的背景色是body主体的颜色*/
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: relative;
    z-index: 100;
}
.headTop {
    height: 90px;
    line-height: 90px;
    /*background: #1a2b58;*/
    /*这里的背景色是顶部logo的主体的颜色*/
    color: #fff;
}
.headTop .fixed {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.logo {
    margin-top: 10px;
}
.logo img {
    height: 60px;
}
.headRig {
    margin-top: -10px;
}

.lang {
    color: #fff;
}
.lang a {
    color: #fff;
    margin: 0 5px;
}
.lang a:hover {
    color: #c9a769;
}
.lang span {
    color: #555;
    margin: 0 5px;
}

/* 导航栏样式优化 */
.nav {
    /*background: #0f1c3d;*/
    /*导航背景色修改为渐变色*/
    background:     -webkit-linear-gradient(top,#cd3733,#ff0500);  /*红色渐变*/
    width:100%;
    height: 50px;
    line-height: 50px;
    position: relative;
    
}
.pcfixed {
     /*一级导航条居中显示*/
     display: flex;
    justify-content: center;
}
#nav {
    display: flex;
    justify-content: space-between;
    
}
#nav > li {
    position: relative;
    text-align: center;
    flex: 1;
   width:200px;
   /*一级导航栏目名称占据宽度*/
    
}
#nav > li > a {
    color: #fff;
    
    display: block;
    font-size: 16px;
    font-weight: bold;
    padding: 0 10px;
}
#nav > li:hover > a {
    color: #c9a769;
    background: rgba(255,255,255,0.1);
}
#nav > li i {
    display: none;
}

/* 二级菜单样式优化 */
.hover-content {
    position: relative;
}
.hover-content:hover .dropdown-menu {
    display: block;
}
.dropdown-menu {
    display: none;
    position: absolute;
    top: 50px;
    left: 0;
    width: 100%;
    /*background:#f8d3d2 ;*/
    background:     -webkit-linear-gradient(top,#f3b5b4,#d0615f);  /*红色渐变*/
    /*二级菜单的背景色*/
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 10;
}
.dropdown-menu ul {
    padding: 1px 0;
}
.dropdown-item a {
    display: block;
    padding: 2px 15px;
    color: #fff;
    text-align: left;
}
.dropdown-item a:hover {
    color: #c9a769;
    background: #f5f5f5;
}

/* 移动端导航样式 */
.mobileIconCon {
    display: none;
    height: 50px;
    line-height: 50px;
    background: #1a2b58;
    color: #fff;
    padding: 0 15px;
    position: relative;
}
.menuBtn {
    color: #fff;
    font-size: 16px;
    cursor: pointer;
}
#mobileNavTit {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.sideNavCon {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
}
.sideNavCon .bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
}
.sideNavScroll {
    position: absolute;
    top: 0;
    left: 0;
    width: 80%;
    max-width: 300px;
    height: 100%;
    background: #fff;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: all 0.3s;
}
.sideNavCon.on  .sideNavScroll {
    transform: translateX(0);
}
.sideNavBox {
    padding: 20px 0;
}
.closeSideNavCon {
    text-align: right;
    padding: 0 15px 15px;
}
.closeSideNavCon a {
    display: inline-block;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    font-size: 20px;
    color: #666;
}
.sideNav li {
    border-bottom: 1px solid #eee;
}
.sideNav li a {
    display: block;
    padding: 12px 15px;
    color: #333;
    position: relative;
}
.sideNav li i {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
}

/* 移动端导航栏样式 */
.mobileNavBtn {
    display: none;
    background: #0f1c3d;
    color: #fff;
    text-align: center;
    padding: 10px 0;
    cursor: pointer;
    position: relative;
}
.mobileNavBtn i {
    margin-right: 5px;
}
.mobileNav {
    display: none;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.mobileNav ul {
    padding: 10px 0;
}
.mobileNav li {
    border-bottom: 1px solid #eee;
}
.mobileNav li a {
    display: block;
    padding: 10px 15px;
}
.mobileNav .dropdown-menu {
    position: static;
    box-shadow: none;
    border-left: 2px solid #c9a769;
    margin-left: 15px;
}

/* Banner */
.banner {
    width: 100%;
    overflow: hidden;
    position: relative;
}
.owl-carousel .item img {
    width: 100%;
    display: block;
}

/* Main Content */
.indexMain {
    padding: 30px 0;
    background: #fff;
    width: 1200px;
    margin: 0 auto;
}
.newsBox {
    display: flex;
    flex-direction: row;
    margin-bottom: 30px;
    justify-content: center; /* 新增：居中显示 */
}
/* 为.newsBox添加内边距 */
.one.newsBox {
    padding: 3px;
}
.newsBoxLeft {
    width: 780px; /* 设置固定宽度 */
    margin-right: 20px;
}
.newsBoxRight {
    width: 390px; /* 设置固定宽度 */
    padding-right:10px;
}

.newsBoxRight .indexNews {
    
     margin-top:11px;
    
}

/* 大屏幕下的布局 */
@media (min-width: 993px) {
    .newsBoxLeft {
        display: flex;
        flex-wrap: wrap;
        padding-left:10px;
        padding-right: 5px;
    }
    
    .newsBoxLeft .bd {
        width: 100%;
        padding-right:5px;
    }
    
    .newsBoxLeft .slideBox {
        
        width: 380px;
    }
    
    .newsBoxLeft .indexNews {
        width: 50%;
        padding-left: 30px;
    }
    
    .indexTitle {
        width: 100%;
    }
}

.indexTitle {
    height: 40px;
    line-height: 40px;
    border-bottom: 2px solid #c9a769;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    padding-right:30px;
}
.indexTitle b {
    font-size: 18px;
    color: #1a2b58;
    font-weight: bold;
}
.indexTitle a {
    color: #999;
    font-size: 14px;
}
.slideBox {
    position: relative;
    margin-bottom: 15px;
}
.slideBox .bd {
    overflow: hidden;
}
.slideBox .bd ul {
    display: flex;
    width: 100%;
}
.slideBox .bd li {
    position: relative;
    width: 100%;
    flex-shrink: 0;
}
.slideBox .pic {
    height: 240px;
    overflow: hidden;
}
.slideBox .pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.slideBox .tit {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 10px;
    background: rgba(0,0,0,0.5);
    color: #fff;
    font-size: 16px;
}
.slideBox .bg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.1);
    transition: all 0.3s;
}
.slideBox li:hover .bg {
    background: rgba(0,0,0,0.3);
}

.indexNews li {
    height: 36px;
    line-height: 36px;
    border-bottom: 1px dashed #eee;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.indexNews li b {
    color: #c9a769;
    margin-right: 10px;
}
.indexNews li a:hover {
    color: #c9a769;
}

.slideNotice {
    position: relative;
    height: 280px;
    overflow: hidden;
}
.slideNotice .bd ul {
    position: relative;
}

.indexAd {
    margin-bottom: 20px;
}

/* 电脑端下的布局 */
@media (min-width: 769px) {
    .indexAd .owl-carousel {
        display: flex;
        flex-wrap: nowrap;
    }
    
    .indexAd .item {
        flex: 0 0 calc(33.333% - 10px);
        max-width: calc(33.333% - 10px);
    }
}

.indexAd .item {
    margin-right: 10px;
}
.indexAd .item img {
    border-radius: 4px;
}

/* 修改：调整.video-box内部布局为垂直，并设置间距 */
.video-box {
    position: relative;
    /*background: #000;*/
    overflow: hidden;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    margin-left: 10px; /* 左侧边距10px */
    gap: 20px; /* 内部元素间距20px */
    padding: 10px; /* 可选：添加内边距使内容不紧贴边缘 */
}

.video-box img {
    width: 134px;
    height: auto;
    object-fit: cover;
}

.video-box video {
    width: 360px;
    height: 240px;
    object-fit: cover;
}

.mask {
    /*display: none;*/
    /*position: fixed;*/
    /*top: 0;*/
    /*left: 0;*/
    /*width: 100%;*/
    /*height: 100%;*/
    /*background: rgba(0,0,0,0.8);*/
    /*z-index: 1000;*/
}
.video-box.on  {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    z-index: 1001;
}

/* 调整.fjyxvideo的边距 */
.fjyxvideo {
    margin-left: 10px; /* 左侧边距10px */
}

/* 设置.fjyxvideo和.video-box之间的边距 */
/*.fjyxvideo + .video-box,*/
/*.video-box + .fjyxvideo {*/
/*    margin-top: 15px;*/
/*}*/
    /* 垂直间距15px */


.link {
    display: flex;
    align-items: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}
.linkText {
    color: #666;
    margin-right: 15px;
}
.fLink a {
    color: #666;
    margin-right: 15px;
}
.fLink a:hover {
    color: #c9a769;
}

/* Footer */
.footer {
    /*background: #1a2b58;*/
    background:     -webkit-linear-gradient(top,#cd3733,#ff0500);  /*红色渐变*/
    color: #fff;
    padding: 30px 0;
}
.footLink {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}
.footLink a {
    color: #fff;
    margin: 0 15px;
}
.footLink a:hover {
    color: #c9a769;
}
.copy {
    text-align: center;
    color: #aaa;
    font-size: 14px;
}
.copy p {
    margin-bottom: 5px;
}
.copy a {
    color: #aaa;
}
.copy a:hover {
    color: #c9a769;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .fixed {
        width: 100%;
        padding: 0 15px;
    }
    .indexMain {
        width: 100%;
        padding: 30px 15px;
    }
    .newsBoxLeft {
        width: 65%; /* 调整比例以适应小屏幕 */
    }
    .newsBoxRight {
        width: 35%; /* 调整比例以适应小屏幕 */
    }
}
@media (max-width: 992px) {
    .newsBox {
        flex-direction: column;
    }
    .newsBoxLeft {
        width: 100%;
        margin-right: 0;
        margin-bottom: 20px;
    }
    .newsBoxRight {
        width: 100%;
    }
    /* 在移动设备上，让.indexTitle和.bd恢复垂直布局 */
    .newsBoxLeft .indexTitle,
    .newsBoxLeft .bd {
        width: 100%;
        padding: 0;
    }
    /* 调整.indexNews的宽度 */
    .newsBoxLeft .indexNews {
        width: 100%;
        padding: 0;
    }
}
@media (max-width: 768px) {
    .nav {
        display: none;
    }
    .mobileIconCon {
        display: block;
    }
    .mobileNavBtn {
        display: block;
    }
    .headTop {
        height: 100px;
    }
    .logo {
        margin-top: 10px;
    }
    .logo img {
        height: 50px;
    }
    .headRig {
        margin-top: -15px;
    }
    .slideBox .pic {
        height: 180px;
    }
    .video-box {
        height: auto;
    }
}
@media (max-width: 576px) {
    .indexTitle {
        font-size: 14px;
    }
    .indexNews li {
        font-size: 14px;
    }
    .footLink {
        flex-wrap: wrap;
    }
    .footLink a {
        margin: 5px 10px;
    }
}

/* 调整.three-columns-layout的布局 */
.three-columns-layout {
    display: block;
}

/* 电脑端布局 */
@media (min-width: 769px) {
    .three-columns-layout {
        display: flex;
        flex-direction: row;
    }
    
    .three-columns-layout .twonewsBox {
        width: 780px;
        margin-right: 10px;
        padding: 0 10px;
    }
    
    .three-columns-layout .fjyxvideo {
        width: 390px;
        margin-right: 10px;
        padding: 0 10px;
    }
    
    /* 在电脑端下，如果.fjyxvideo和.video-box在同一行，使用margin-right */
    .three-columns-layout .fjyxvideo + .video-box,
    .three-columns-layout .video-box + .fjyxvideo {
        margin-top: 0;
        margin-left: 15px;
    }
}


/*newsBox33的样式*/
/* 新闻容器样式 */
.newsBox33 {
    /* 居中显示 */
    margin: 0 auto;
    /* 最大宽度1200px，小于1200px时自适应 */
    max-width: 1200px;
    /* 内边距 */
    padding: 0 15px;
    /* 弹性布局 */
    display: flex;
    /* 允许换行 */
    flex-wrap: wrap;
    /* 水平间距 */
    gap: 10px;
    /* 宽度100% */
    width: 100%;
    box-sizing: border-box;
}

/* 三个新闻区块样式 */
.newsDiv33 {
    /* 电脑端各占1/3宽度，减去间距 */
    flex: 1;
    min-width: calc(33.333% - 10px);
    /* 背景色 */
    background-color: #fff;
    /* 内边距 */
    /*padding: 15px;*/
    /* 边框阴影 */
    /*box-shadow: 0 2px 5px rgba(0,0,0,0.1);*/
    /* 圆角 */
    /*border-radius: 4px;*/
    box-sizing: border-box;
}

/* 标题样式 */
.indexTitle33 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e5e7eb;
}

.indexTitle33 b {
    font-size: 18px;
    color: #1e3a8a;
}

.indexTitle33 a {
    color: #6b7280;
    text-decoration: none;
    font-size: 14px;
}

.indexTitle33 a:hover {
    color: #3b82f6;
}

/* 新闻列表样式 */
.indexNews33 {
    list-style: none;
    padding: 0;
    margin: 0;
}

.indexNews33 li {
    margin-bottom: 10px;
    /*padding: 8px 0; */
    /* 改为上下相等的内边距，确保顶部和底部间距一致 */
    border-bottom: 1px dashed #e5e7eb;
    display: flex; /* 使用flex布局实现垂直居中 */
    align-items: center; /* 垂直居中对齐子元素 */
}

.indexNews33 li:last-child {
    border-bottom: none;
}

.indexNews33 li b {
    display: inline-flex; /* 使用flex确保自身内容居中 */
    align-items: center; /* 垂直居中 */
    width: 60px;
    color: #c9a769;
    font-weight: normal;
    height: 100%; /* 占满父元素高度 */
}

.indexNews33 li a {
    color: #374151;
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-flex; /* 使用flex确保自身内容居中 */
    align-items: center; /* 垂直居中 */
    width: calc(100% - 65px);
    height: 100%; /* 占满父元素高度 */
}

.indexNews33 li a:hover {
    color: #c9a769;
    text-decoration: underline;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .newsDiv33 {
        /* 移动端占满宽度 */
        min-width: 100%;
        margin-bottom: 15px;
    }
    
    .indexTitle33 b {
        font-size: 16px;
    }
    
    .indexNews33 li {
        font-size: 14px;
    }
}

/* 平板设备适配 */
@media (min-width: 769px) and (max-width: 1024px) {
    .newsDiv33 {
        /* 平板端每行显示2个 */
        min-width: calc(50% - 10px);
    }
    
    /* 第三个元素换行并居中 */
    .newsDiv33:nth-child(3) {
        margin-left: auto;
        margin-right: auto;
        min-width: calc(50% - 10px);
    }
}



