/* 通知公告页面样式 */

/* 页面基础样式 */
.notice-page {
    background: #f5f8fa;
}

/* 顶部横幅 */
.notice-hero-banner {
    height: 400px;
    background: url('../../assets/img/banner-bg.jpg') no-repeat center center;
    background-size: cover;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notice-hero-banner .hero-overlay {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 0 40px;
    max-width: 1200px;
    padding: 60px 80px;
    border-radius: 20px;
}


/* 主内容区域 */
.notice-page-content {
    padding: 40px 0;
    background: white;
}

.notice-container {
    max-width: 1520px;
    margin: 0 auto;
    padding: 0 40px;
}

/* 通知公告列表容器 */
.notice-list-container {
    margin-bottom: 60px;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    row-gap: 20px;
}

.loading {
    text-align: center;
    padding: 100px 0;
    font-size: 18px;
    color: #666;
}

/* 通知公告卡片 - 采用与news.html相同的leader-item样式 */
.notice-list-card {
    margin-bottom: 0;
}

.notice-item {
    display: flex;
    width: 100%;
    height: 100px;
    padding: 10px;
    align-items: center;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    overflow: hidden;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.notice-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* 通知图标 */
.notice-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    line-height: 24px;
    color: #fff;
    background: url('../../assets/img/jtgk/ldbz-item-bg.png') no-repeat right center;
    background-size: auto 100%;
    font-weight: bold;
    padding: 20px 24px;
    flex-shrink: 0;
}

/* 通知信息 */
.notice-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding: 0 20px;
    flex: 1;
}

.notice-title {
    flex: 1;
    font-size: 16px;
    color: #333;
    font-weight: 400;
    line-height: 1.5;
}

.notice-date {
    flex-shrink: 0;
    font-size: 14px;
    color: #999;
    margin-left: 20px;
}

/* 分页样式 - 与news.css保持一致 */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 50px;
    padding: 20px 0;
}

.pagination-left {
    display: flex;
    align-items: center;
}

.pagination-info {
    color: #666;
    font-size: 14px;
    margin-right: 20px;
}

.pagination-center {
    display: flex;
    align-items: center;
}

.pagination-item, 
.pagination-prev, 
.pagination-next {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    margin: 0 5px;
    padding: 0 5px;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 14px;
}

.pagination-ellipsis {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    margin: 0 5px;
    color: #999;
    font-size: 14px;
}

.pagination-item.active {
    background-color: rgba(28, 142, 199, 1);
    color: white;
    border-color: rgba(28, 142, 199, 1);
}

.pagination-item:hover,
.pagination-prev:hover,
.pagination-next:hover {
    color: rgba(28, 142, 199, 1);
    border-color: rgba(28, 142, 199, 1);
}

.pagination-right {
    display: flex;
    align-items: center;
}

.pagination-goto {
    display: flex;
    align-items: center;
    margin-right: 10px;
}

.goto-text {
    color: #666;
    font-size: 14px;
    margin: 0 5px;
}

.pagination-goto input {
    width: 40px;
    height: 32px;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 0 5px;
    text-align: center;
    font-size: 14px;
}

.pagination-goto-btn {
    background-color: rgba(28, 142, 199, 1);
    color: white;
    border: none;
    border-radius: 4px;
    padding: 0 15px;
    height: 32px;
    cursor: pointer;
    transition: background-color 0.3s;
    font-size: 14px;
}

.pagination-goto-btn:hover {
    background-color: rgba(22, 120, 170, 1);
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .notice-container {
        max-width: 1200px;
        padding: 0 30px;
    }

    .notice-hero-banner .hero-overlay {
        padding: 50px 60px;
    }
}

@media (max-width: 768px) {
    .notice-hero-banner {
        height: 300px;
    }

    .notice-hero-banner .hero-overlay {
        padding: 40px 30px;
    }

    .notice-hero-banner .hero-title {
        font-size: 32px;
        margin-bottom: 20px;
    }

    .notice-hero-banner .hero-subtitle {
        font-size: 16px;
        line-height: 1.6;
    }

    .notice-page-content {
        padding: 40px 0;
    }

    .notice-container {
        padding: 0 20px;
    }

    .notice-item {
        height: auto;
        min-height: 60px;
        flex-direction: column;
        align-items: flex-start;
        padding: 10px;
    }

    .notice-icon {
        width: 70px;
        height: 60px;
        font-size: 14px;
        padding: 15px 18px;
        margin-bottom: 10px;
    }

    .notice-info {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        padding: 0 10px 10px;
        gap: 10px;
    }

    .notice-title {
        font-size: 15px;
        width: 100%;
    }

    .notice-date {
        font-size: 13px;
        width: 100%;
        margin-left: 0;
    }

    .pagination {
        flex-wrap: wrap;
        gap: 10px;
    }

    .pagination-info {
        margin-bottom: 10px;
    }
}

@media (max-width: 480px) {
    .notice-hero-banner {
        height: 250px;
    }

    .notice-hero-banner .hero-overlay {
        padding: 30px 20px;
    }

    .notice-hero-banner .hero-title {
        font-size: 24px;
        margin-bottom: 15px;
    }

    .notice-hero-banner .hero-subtitle {
        font-size: 14px;
        line-height: 1.5;
    }

    .notice-page-content {
        padding: 30px 0;
    }

    .notice-container {
        padding: 0 15px;
    }

    .notice-list-container {
        margin-bottom: 40px;
        row-gap: 15px;
    }

    .notice-item {
        padding: 8px;
    }

    .notice-icon {
        width: 60px;
        height: 50px;
        font-size: 12px;
        padding: 12px 15px;
    }

    .notice-title {
        font-size: 14px;
        line-height: 1.4;
    }

    .notice-date {
        font-size: 12px;
    }
}
