/*公告管理样式*/
.list-section {
    padding: 40px 20px;
    background-image: url("../img/index/announcements.png");

}
.list-section .container{
    width: 80%;
    margin: 0 auto;
    padding: 20px;

}
.main-content {
    display: flex;
    gap: 20px;
}

.announcements-section {
    flex: 1;
}

.sidebar {
    width: 300px;
    padding-top: 10%; /* 新增：将侧边栏内容整体下移 */
}

.announcement-title {
    text-align: center;
    margin-bottom: 20px;
}

.announcement-title h2 {
    color: #00a2e8;
    font-size: 28px;
    margin: 0;
}

.announcement-title p {
    font-size: 18px;
    margin: 5px 0 0 0;
}

.btn-group {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.btn {
    flex: 1;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 4px;
    color: #fff;
    text-align: center;
}

.btn-publish {
    background-color: #f7941d;
}

.btn-more {
    background-color: #0096e6;
}

.notice-item {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 4px;
    padding: 15px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.notice-item .date {
    font-size: 14px;
    color: #999;
    margin-right: 15px;
    min-width: 60px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.day {
    font-size: 24px;
    color: #333;
    font-weight: bold;
}

.month-year {
    font-size: 12px;
}

.notice-content {
    flex: 1;
}

.notice-item h3 {
    font-size: 16px;
    margin: 0 0 5px 0;
}

.notice-item p {
    font-size: 14px;
    color: #666;
    margin: 0;
    line-height: 1.6;
}

.detail-btn {
    float: right;
    color: #0096e6;
    text-decoration: none;
    font-size: 14px;
    margin-top: 5px;
}
