/* 页面标题样式 */
.page-title {
    background: var(--light-gray);
    padding: 40px 0;
    margin-bottom: 60px;
    position: relative;
}

.page-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--gradient-primary);
}

.page-title h1 {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 36px;
    text-align: center;
    margin: 0;
    letter-spacing: 2px;
    font-weight: 800;
}

/* 公示列表样式 */
.announcement-list {
    padding: 40px 0 80px;
    background: var(--light-gray);
}

/* 列表头部 */
.list-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 20px;
    padding: 20px 25px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 15px;
    margin-bottom: 20px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

/* 公示项目样式 */
.announcement-items {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.announcement-item {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 20px;
    padding: 25px;
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s ease;
    align-items: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.announcement-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(6, 182, 212, 0.2);
}

/* 标题样式 */
.item-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
}

.item-title i {
    color: var(--primary-color);
    font-size: 18px;
}

.item-title a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s;
    flex: 1;
}

.item-title a:hover {
    color: var(--primary-color);
}

/* 新标签样式 */
.new-tag {
    background: #ff3b30;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

/* 类型样式 */
.item-type {
    color: var(--primary-color);
    font-weight: 500;
}

/* 日期样式 */
.item-date {
    color: #666;
}

/* 状态标签样式 */
.status-tag {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 14px;
    font-weight: 500;
}

.status-tag.ongoing {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
}

.status-tag.completed {
    background: rgba(108, 117, 125, 0.1);
    color: #6c757d;
}

/* 分页样式 */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.pagination a,
.pagination span {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ddd;
    border-radius: 8px;
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
}

.pagination a:hover,
.pagination a.active {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
}

/* 响应式调整 */
@media screen and (max-width: 992px) {

    .list-header,
    .announcement-item {
        grid-template-columns: 2fr 1fr 1fr;
    }

    .header-status,
    .item-status {
        display: none;
    }
}

@media screen and (max-width: 768px) {
    .list-header {
        display: none;
    }

    .announcement-item {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .item-type,
    .item-date {
        font-size: 14px;
    }

    .item-title {
        font-size: 15px;
    }
}