/* 基本样式 */
body {
    font-family: Arial, sans-serif;
    line-height: 1.5;
    margin: 0;
    padding: 0;
    color: #333;
    background-color: #f9f9f9;
}
nav,main{display:block;}

/* 页面容器 */
#containerContent {
    display: flex;
    justify-content: center;
    width: 1200px;
    margin: 0 auto;
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

/* 左侧导航栏 */
#sidebar {
    width: 30%;
    padding: 30px 20px;
    box-sizing: border-box;
    border-right: 2px solid #e0e0e0; /* 边框浅灰 */
    background-color: #f7f8fa; /* 柔和的浅灰背景 */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* 整体阴影 */
}

/* 标题样式 */
#sidebar h3 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 22px;
    font-weight: bold;
    color: #004080; /* 深蓝标题 */
    text-transform: capitalize; /* 首字母大写 */
    border-bottom: 2px solid #004080; /* 底部深蓝分隔线 */
    padding-bottom: 8px;
    letter-spacing: 0.5px;
}

/* 导航列表 */
#navList {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* 单个导航项 */
#navList li {
    margin-bottom: 15px;
}

/* 链接样式 */
#navList a {
    color: #004080; /* 深蓝字体 */
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    background: #ffffff; /* 白色卡片背景 */
    display: block;
    padding: 15px 20px;
    border-radius: 8px; /* 卡片圆角 */
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* 轻微卡片阴影 */
}

/* 悬浮效果 */
#navList a:hover {
    background: #004080; /* 悬停深蓝背景 */
    color: #ffffff; /* 字体变为白色 */
    transform: translateY(-4px); /* 卡片轻微上移 */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); /* 阴影增强 */
}

/* 激活状态样式 */
#navList a.active {
    background: #004080; /* 深蓝背景 */
    color: #ffffff; /* 白色字体 */
    font-weight: bold; /* 加粗字体 */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); /* 增强阴影 */
}

/* 主内容区域 */
#contentNotice {
    width: 70%; /* 占容器宽度的70% */
    padding: 20px;
    overflow-y: auto;
    box-sizing: border-box;
}

/* 当前位置导航 */
#locationNav {
    display: flex;
    font-size: 14px;
    margin-bottom: 20px;
    justify-content: space-between;
    padding-right: 10px;
}

#locationTable {
    border-spacing: 0;
    font-size: 14px;
    color: #666;
    white-space: nowrap;
}

#locationTable td {
    padding: 0 5px;
}

.btLinkLoccc {
    color: #2384C5;
    text-decoration: none;
    padding: 2px 5px;
    border-radius: 4px;
    transition: background-color 0.3s, color 0.3s;
}

.btLinkLoccc:hover {
    background-color: transparent;
    color: #004080;
    text-decoration: underline;
}

#currentNotice {
    color: #333;
    font-weight: bold;
}

/* 公告列表样式 */
#announcementList {
    list-style: none;
    padding: 0;
    margin: 0;
}

#announcementList li {
    background: #fff;
    margin: 20px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#announcementList li:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* 公告内容样式 */
#announcementList a {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: flex-start;
    padding: 10px;
    transition: background-color 0.3s ease;
}

#announcementList a:hover {
    background-color: #f0f4ff;
}

.dateNoticeDate {
    text-align: center;
    min-width: 80px;
    margin-right: 15px;
    color: #666;
}

.dateNoticeDate span {
    display: block;
    font-size: 24px;
    font-weight: bold;
    color: #2384C5;
}

.dateNoticeDate p {
    margin: 0;
    font-size: 14px;
}

.liTtNotice {
    flex: 1;
}

.liTtNotice h4 {
    font-size: 18px;
    margin: 0 0 10px;
    color: #333;
}

.liTtNotice p {
    font-size: 14px;
    margin: 0;
    color: #666;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.liTtNotice i {
    font-style: normal;
    color: #2384C5;
    font-size: 14px;
    margin-top: 10px;
    display: block;
}
/* 父容器 */
#m10 h4 {
    position: relative; /* 为子元素提供定位参考 */
    display: inline-block;
    text-align: left;
}

/* 烟花特效：悬浮一侧 */
.fireworksAnniversary {
    position: absolute;
    top: -20px; /* 垂直位置 */
    left: -20px; /* 靠左侧悬浮 */
    width: 80px; /* 调整大小 */
    height: auto;
    pointer-events: none; /* 防止干扰点击 */
    z-index: 1; /* 低于文字内容的层级 */
}

/* Logo 和文字部分重叠 */
.AnniversaryContent {
    position: relative; /* 允许子元素重叠 */
    display: flex;
    align-items: center; /* 垂直居中 */
}

.logoAnniversary {
    position: relative;
    z-index: 2; /* 高于背景的层级 */
    width: 40px; /* 调整 Logo 大小 */
    height: auto;
    margin-right: -20px; /* 负值让 Logo 侵入文字区域 */
}

.AnniversaryContent a {
    position: relative;
    z-index: 3; /* 确保文字层级最高 */
    font-size: 16px; /* 根据需求调整文字大小 */
    color: #000; /* 文字颜色 */
    text-decoration: none; /* 去掉下划线 */
}