* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: white;
    padding: 20px;
}


.list-container, .all_center {
    padding: 0;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

.announcement-list {
    display: flex;
    flex-direction: column;
}

.announcement-item:hover .announcement-title {
    color: #216bb6;
    transform: scale(1.01);
}

.announcement-item {
    display: flex;
    gap: 16px;
    padding: 28px 0;
    border-bottom: 1px dashed #e0e0e0;
    align-items: center;
    transition: background-color 0.3s;

}

.announcement-item:last-child {
    border-bottom: none;
}

.announcement-item:hover {
    cursor: pointer;
}

/* 主内容区域 - 包含状态徽章和内容 */
.announcement-main {
    display: flex;
    gap: 16px;
    flex: 1;
    align-items: center;
}

/* Status Badge */
.status-badge {
    position: relative;
    width: 72px;
    height: 72px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    flex-shrink: 0;
}

.status-badge img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.status-badge-text {
    position: absolute;
    bottom: 2px;
    font-size: 14px;
    color: #1890ff;
    white-space: nowrap;
}

.status-badge.ended .status-badge-text {
    color: #999;
}

/* 中间内容 */
.announcement-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.announcement-top {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    flex-wrap: wrap;
}

.announcement-title {
    flex: 1;
    min-width: 0;
    color: #333;
    font-size: 18px;
    line-height: 1.5;
    word-wrap: break-word;
    transition: color 0.3s, transform 0.3s;
    transform-origin: left;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
    text-overflow: ellipsis;
}

.announcement-title a {
    color: inherit;
    text-decoration: none;
}

/* 时间信息 */
.announcement-time {
    font-size: 15px;
    color: #999;
    line-height: 1.5;
}

/* 右侧操作 */
.announcement-action {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.action-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 16px;
    border: 1px solid #C8E2FA;
    border-radius: 4px;
    background: #EDF7FF;
    text-decoration: none;
    color: #333;
    font-size: 16px;
    transition: all 0.3s;
}

.action-link:hover {
    border-color: #216bb6;
    color: #216bb6;
    background: #f0f5ff;
}

.action-link img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .container {
        padding: 12px;
    }

    .announcement-item {
        gap: 12px;
        padding: 12px;
    }

    .announcement-main {
        gap: 12px;
    }


    .announcement-content {
        gap: 0;
    }

    .status-badge {
        width: 52px;
        height: 52px;
    }

    .status-badge-text {
        font-size: 11px;
    }

    .announcement-title a {
        font-size: 16px;
    }

    .announcement-time {
        font-size: 14px;
    }

    .action-link {
        padding: 6px 10px;
        font-size: 13px;
    }

    .action-link img {
        width: 14px;
        height: 14px;
    }

    /* 480px 的特定样式 */
    @media (max-width: 480px) {
        .announcement-item {
            gap: 8px;
            padding: 8px;
            flex-direction: column;
        }

        .announcement-main {
            gap: 8px;
        }

        .status-badge-text {
            font-size: 10px;
        }

        .announcement-time {
            font-size: 11px;
        }

        .announcement-top {
            flex-direction: column;
        }

        .announcement-action {
            width: 100%;
        }

        .action-link {
            padding: 6px 10px;
            font-size: 12px;
            width: 100%;
            justify-content: center;
        }
    }
}