/* CSS Document */
/* CSS Document */
@font-face {
  font-family: 'SourceHanSansCN-Heavy';
  src: url(../fonts/SourceHanSansCN-Heavy.otf);
}
@font-face {
  font-family: 'SourceHanSansCN-Normal';
  src: url(../fonts/SourceHanSansCN-Normal.otf);
}
@font-face {
  font-family: 'SourceHanSansCN-Medium';
  src: url(../fonts/SourceHanSansCN-Medium.otf);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Microsoft Yahei', Arial, Helvetica, 'PingFang SC', 'PingFang SC-Regular';
    scroll-behavior: smooth; /* 鍏ㄥ眬骞虫粦婊氬姩 */
}

/* 馃敟 鏍稿績锛氳椤甸潰閾烘弧灞忓箷锛宖ooter 姘歌繙璐村簳 */
html, body {
    height: 100%;
}
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-size: 16px;
    line-height: 1.5;
}
main {
    flex: 1;
}

html {
    font-size: 100px;
}
ul,ol {
    list-style: none;
    font-weight: 400;
}

/* 澶撮儴瀵艰埅鏍?鈥斺€?鑳屾櫙鍥炬牱寮?*/
header {
    color: #ffffff;
    border-bottom: 3px solid #fff;
    background-image: url('../images/list_header.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

/* 鍗婇€忔槑閬僵 */
header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.header-wrap {
    max-width: 1800px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* LOGO 鍥剧墖鏍峰紡 */
.logo-img {
    height: 113px;
    width: auto;
    transition: transform 0.3s ease; /* LOGO鍔ㄦ€?*/
}
.logo-img:hover {
    transform: scale(1.05); /* 馃敟 鏂板锛氭偓娴斁澶?*/
}
nav ul {
    display: flex;
    list-style: none;
    gap: 18px;
}
nav ul li {
    margin-left:24px;
    position: relative; /* 关键：给二级菜单定位用 */
}
nav a {
    color: #ffffff;
    text-decoration: none;
    font-size: 18px;
    white-space: nowrap;
    font-weight: 700;
    position: relative;
    transition: all 0.3s ease;
    display: block;
}

/* 二级菜单默认隐藏 */
nav ul li ul {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(0, 80, 150, 0.9);
    min-width: 160px;
    flex-direction: column;
    gap: 0;
    padding: 10px 0;
    border-radius: 4px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 999;
}
/* 悬浮显示二级菜单 */
nav ul li:hover ul {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
/* 二级菜单选项样式 */
nav ul li ul li {
    margin: 0;
    padding: 0;
}
nav ul li ul li a {
    padding: 8px 15px;
    font-size: 16px;
    font-weight: normal;
}
nav ul li ul li a:hover {
    background: rgba(255,255,255,0.1);
    padding-left: 20px;
}
/* 结束：二级导航样式 */
/* 瀵艰埅 - 妗岄潰鐗?*/
nav ul {
    display: flex;
    list-style: none;
    gap: 18px;
}
nav ul li {
    margin-left:24px;
}
nav a {
    color: #ffffff;
    text-decoration: none;
    font-size: 18px;
    white-space: nowrap;
    font-weight: 700;
    position: relative;
    transition: all 0.3s ease;
}

/* 瀵艰埅涓嬪垝绾垮姩鐢?*/
nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: #fff;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}
nav a:hover {
     opacity: 0.8;
}
nav a:hover::after {
    width: 100%; /* 馃敟 鎮诞灞曞紑 */
}

/* 涓讳綋鍐呭鍖?*/
.main-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.page-title {
    font-size: 22px;
    font-weight: bold;
    color: #333333;
    margin-bottom: 25px;
    animation: fadeIn 0.8s ease; /* 馃敟 鏂板锛氭贰鍏ュ姩鐢?*/
}

.content-layout {
    display: flex;
    gap: 25px;
}

/* 宸︿晶渚ц竟鏍?*/
.sidebar {
    width: 220px;
    flex-shrink: 0;
}

.sidebar-menu {
    list-style: none;
    background: #f5f5f5;
    border-radius: 5px;
    overflow: hidden;
}

.sidebar-menu li a {
    display: block;
    padding: 15px 20px;
    text-decoration: none;
    color: #333333;
    font-size: 16px;
    text-align: center;
    border-bottom: 1px solid #e0e0e0;
    transition: all 0.3s ease; /* 馃敟 鏂板鍔ㄧ敾 */
}
.sidebar-menu li a:hover:not(.active) {
    background: #e6f7ff;
    padding-left: 25px; /* 馃敟 鏂板锛氭粦鍏ュ姩鐢?*/
}
.sidebar-menu li a.active {
    background: linear-gradient(135deg, #0052cc 0%, #0099ff 100%);
    color: #ffffff;
    font-weight: bold;
}

/* 鍙充晶鏂囩珷鍒楄〃 鈥斺€?涓ユ牸娌跨敤鍘熼鏍?*/
.article-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.article-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f0f0f0;
    padding: 18px 25px;
    border-radius: 5px;
    transition: all 0.3s ease;
    animation: fadeUp 0.6s ease backwards;
    cursor: pointer;
    width:917px;
}

/* 娌跨敤鍘熷崱鐗囨偓娴晥鏋?*/
.article-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.08);
    background: #f8f9fa;
}

.article-item:nth-child(1) { animation-delay: 0.1s; }
.article-item:nth-child(2) { animation-delay: 0.2s; }
.article-item:nth-child(3) { animation-delay: 0.3s; }
.article-item:nth-child(4) { animation-delay: 0.4s; }
.article-item:nth-child(5) { animation-delay: 0.5s; }

.article-title {
    font-size: 16px;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}
.article-title a{
    text-decoration: none;
    color:black;
}
.article-title a:hover{
    color: #0066cc;
}

.article-item:hover .article-title {
    color: #0066cc;
}

.article-date {
    font-size: 14px;
    color: #666;
    white-space: nowrap;
    margin-left: 20px;
}

.footer .wp .l .list-2 .txt,
.footer .wp .l,
.footer .wp .r {
  flex: 1;
}
.footer {
  height: 1.6rem;
  background: linear-gradient(to bottom,  #0194e0, #0f3691)  50% 0 no-repeat;
  color: #fff;
  font-weight: lighter;
  background-size: cover;
}
.footer a {
  color: #fff;
}
.footer .wp {
  height: 100%;
  display: flex;
}
.footer .wp .l {
  display: flex;
  flex-direction: column;
    flex: 1;
}
.footer .wp .l .list {
  margin-top: 0.77rem;
  font-size: 20px;
  line-height: 1em;
}
.footer .wp .l .list .li {
  display: flex;
  flex-wrap: wrap;
  float: left;
  width: 340px;
}
.footer .wp .l .list .li > li {
  width: 170px;
}
.footer .wp .l .list .li > li:nth-child(n + 2) + li {
  margin-top: 30px;
}
.footer .wp .l .list-2 {
  position: relative;
  margin: 0.34rem auto;
}
.footer .wp .l .txt {
  font-size: 16px;
  line-height: 1em;
  margin-top: 0;
  float: left;
  margin-left: 0.18rem;
}
.footer .wp .l .txt > li + li {
  margin-top: 22px;
}
.footer .wp .l .txt > li span + span {
  margin-left: 26px;
}
.footer .wp .l .txt > li + li {
  margin-top: 0.22rem;
}
.footer .wp .l .txt {
  font-size: 0.16rem;
}
.footer .wp .l .qr .qr-bd h6 {
  margin-top: 0.15rem;
} 
@keyframes fadeUp {
    from { opacity:0; transform:translateY(20px); }
    to { opacity:1; transform:translateY(0); }
}
/* 馃敟 娣″叆鍔ㄧ敾 */
@keyframes fadeIn {
    from { opacity:0; }
    to { opacity:1; }
}
/* ===================== 鍝嶅簲寮忛€傞厤 ===================== */
@media (max-width: 1800px) {
    nav ul li {
/*        margin-left:10px;*/
    }
}
@media (max-width: 1500px) {
    /* 澶撮儴绔栨帓 */
    .header-wrap {
        flex-direction: column;
/*        gap: 20px;*/
        text-align: center;
    }
    nav {
        padding-bottom: 20px;
    }
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px 15px;
    }
}
@media (max-width: 1196px) {
    .article-item{
        width:600px;
    }
}
/* 骞虫澘璁惧 */
@media (max-width: 992px) {
    .content-layout {
        flex-direction: column;
    }
    .sidebar {
        width: 100%;
    }
    /* 澶撮儴绔栨帓 */
    .header-wrap {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px 15px;
    }
     .article-item{
        width:auto;
    }
}

/* 鎵嬫満璁惧 */
@media (max-width: 768px) {
     html {
        font-size: 80px !important;
      }
    
    /* 鏂囩珷鍒楄〃鎵嬫満閫傞厤 */
    .article-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 15px 20px;
    }
    .article-date {
        margin-left: 0;
    }
}
@media (max-width: 590px) {
    /* LOGO 鍥剧墖鏍峰紡 */
    .logo-img {
        height: 90px;
        width: auto;
    }
    
}

/* 灏忓睆鎵嬫満 */
@media (max-width: 480px) {
    .logo-img {
        max-width: 300px;
        height: auto;
    }
    nav a {
        font-size: 14px;
    }
}

