/* 公告容器样式 */
.announcement-item {
    display: flex;
    align-items: flex-start;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    padding: 15px;
    border: 1px solid #eaeaea;
}

.announcement-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* 日期徽章样式 */
.date-badge {
    width: 60px;
    height: 60px;
    background-color: #0d6efd;
    color: white;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-right: 15px;
    font-weight: bold;
    text-align: center;
}

/* 日期数字样式 */
.day {
    font-size: 1.5rem;
    margin-bottom: 2px;
}

/* 月份样式 */
.month {
    font-size: 0.7rem;
    opacity: 0.9;
}

/* 内容区域样式 */
.content {
    flex: 1;
    padding: 0;
}

/* 标题样式 */
.announcement-item h5 {
    margin: 0 0 10px 0;
    font-size: 1rem;
    line-height: 1.4;
    color: #333;
}

/* 标题链接样式 */
.announcement-item h5 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.announcement-item h5 a:hover {
    color: #ffffff;
}

/* 摘要样式 */
.excerpt {
    margin: 0;
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
    min-height: 40px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .announcement-item {
        flex-direction: column;
        padding: 10px;
    }
    
    .date-badge {
        width: 50px;
        height: 50px;
        margin-bottom: 10px;
    }
    
    .day {
        font-size: 1.2rem;
    }
    
    .month {
        font-size: 0.6rem;
    }
    
    .content {
        margin-top: 10px;
    }
}

@media (min-width: 768px) and (max-width: 992px) {
    .announcement-item {
        flex-direction: row;
    }
}

/* 不同主题选项 */

/* 蓝色主题（默认） */
.date-badge.blue-theme {
    background-color: #ffffff;
}

/* 红色主题 */
.date-badge.red-theme {
    background-color: #dc3545;
}

/* 绿色主题 */
.date-badge.green-theme {
    background-color: #28a745;
}

/* 橙色主题 */
.date-badge.orange-theme {
    background-color: #fd7e14;
}

/* 紫色主题 */
.date-badge.purple-theme {
    background-color: #6f42c1;
}
/* 轻微阴影 */
.announcement-card {
    height: 200px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}

/* 标准阴影 */
.announcement-card {
    height: 200px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* 明显阴影 */
.announcement-card {
    height: 200px;
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

/* 复合阴影（更立体） */
.announcement-card {
    height: 200px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08), 0 4px 12px rgba(0,0,0,0.1);
}