/* 通知公告列表样式 */
.notice-list {
    overflow: hidden;
}

.notice-list dl {
    margin: 0;
    margin-left: -2.5%;
}

.notice-list dd {
    float: left;
    width: 47.5%;
    margin-left: 2.5%;
    margin-bottom: 15px;
}

.notice-list dd a {
    display: flex;
    align-items: stretch;
    text-decoration: none;
    transition: all 0.3s;
}

.notice-list .notice-date {
    flex-shrink: 0;
    width: 80px;
    text-align: center;
    background-color: #f5f5f5;
    padding: 10px 5px;
    margin-right: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.notice-list .notice-day {
    font-size: 36px;
    font-weight: bold;
    color: #0e458a;
    line-height: 1;
    display: block;
}

.notice-list .notice-year-month {
    font-size: 12px;
    color: #0e458b;
    margin-top: 5px;
    display: block;
}

.notice-list .notice-box {
    flex: 1;
    background-color: #f5f5f5;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    transition: background-color 0.3s;
}

.notice-list dd a:hover .notice-box {
    background-color: #e8e8e8;
}

.notice-list .notice-excerpt {
    font-size: 16px;
    color: #333;
    line-height: 1.6;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    word-break: break-all;
    width: 100%;
}

.notice-list dd a:hover .notice-excerpt {
    color: #0d4589;
}

/* 响应式设计 */
@media (max-width: 991px) {
    .notice-list dd {
        width: 100%;
        margin-left: 0;
    }
}
