/**
 * notices.css
 * 通知公告页面级特定样式
 */

/* ---------------------------------
   Banner 区域 (继承/覆盖全局变量样式)
--------------------------------- */
.subpage-banner {
    position: relative;
    width: 100%;
    height: 276px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.subpage-banner-container {
    width: 1300px;
    margin: 0 auto;
    padding-left: 0;
    margin-top: -20px; /* 根据设计稿向上偏移视觉重心 */
}

.subpage-banner-title {
    font-family: 'Source Han Sans CN', sans-serif;
    font-weight: 700;
    font-size: 50px;
    color: #FFFFFF;
    letter-spacing: 5px;
    margin: 0;
    margin-bottom: 24px;
}

.subpage-banner-subtitle {
    font-family: 'Source Han Sans CN', sans-serif;
    font-size: 20px;
    color: #FFFFFF;
    margin: 0;
}

/* ---------------------------------
   通用大页面容器区域
--------------------------------- */
.bg-gray {
    background-color: #F3F3F3;
}

.subpage-container {
    width: 100%;
    background-color: #F3F3F3;
    padding: 32px 0;
}

.subpage-card {
    width: 1300px;
    margin: 0 auto;
    background-color: #FFFFFF;
    border-radius: 8px;
    box-shadow: 0px 2px 12.25px rgba(4, 44, 101, 0.1);
    padding: 16px 24px 24px 24px;
    box-sizing: border-box;
}

/* ---------------------------------
   小标题与搜索组合区
--------------------------------- */
.subpage-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 12px;
    margin-bottom: 16px;
}

.subpage-card-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.subpage-title-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
}

.subpage-card-title h2 {
    font-family: 'Source Han Sans CN', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #333333;
    margin: 0;
}

.subpage-card-search {
    display: flex;
    align-items: center;
    width: 248px;
    height: 34px;
    border-radius: 44px;
    border: 1px solid rgba(153, 153, 153, 0.2);
    padding: 0 12px;
    box-sizing: border-box;
    background-color: #FFFFFF;
}

.subpage-search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 13px;
    color: #333333;
    background: transparent;
}
.subpage-search-input::placeholder {
    color: #BAC4CE;
}

.subpage-search-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ---------------------------------
   列表内容区
--------------------------------- */
.subpage-list-container {
    display: flex;
    flex-direction: column;
    height: 560px;
}

.subpage-list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 56px;
    border-bottom: 1px solid rgba(153, 153, 153, 0.2);
    cursor: pointer;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

/* 悬浮样式 */
.subpage-list-item:hover {
    border-bottom-color: #FE9900;
}
.subpage-list-item:hover .subpage-list-title {
    color: #FE9900;
}
.subpage-list-item:hover .subpage-list-date {
    color: #FE9900;
}


.subpage-list-item-left {
    display: flex;
    align-items: center;
    flex: 1;
    overflow: hidden;
}

.subpage-list-icon {
    position: relative;
    width: 15px;
    height: 15px;
    margin-right: 10px;
    background-image: url('../images/list_icon.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    flex-shrink: 0;
}

.subpage-list-title {
    font-size: 14px;
    color: #333333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.2s;
}

.subpage-list-item-right {
    margin-left: 20px;
    flex-shrink: 0;
}

.subpage-list-date {
    font-size: 14px;
    color: #999999;
    transition: color 0.2s;
}

.empty-data {
    text-align: center;
    padding: 60px 0;
    color: #999;
    font-size: 14px;
}

/* ---------------------------------
   底部分页器组件
--------------------------------- */
.subpage-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 24px;
}

.pagination-pagesize {
    display: inline-flex;
    align-items: center;
    height: 34px;
    padding: 0 14px;
    font-size: 14px;
    color: #666666;
    border: 2px solid #ECEDF2;
    background: #FFFFFF;
    border-radius: 4px;
    cursor: pointer;
    margin-right: 16px;
}

.pagination-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background: #FFFFFF;
    border: 2px solid #ECEDF2;
    border-radius: 4px;
    cursor: pointer;
}

.pagination-btn.disabled {
    cursor: not-allowed;
    opacity: 0.3;
}

.pagination-btn svg {
    display: block;
}

.pagination-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 8px;
    background: #FFFFFF;
    border: 2px solid #ECEDF2;
    color: #666666;
    font-size: 14px;
    border-radius: 4px;
    cursor: pointer;
    box-sizing: border-box;
}

.pagination-num.active {
    border-color: #FE9900;
    color: #FE9900;
    font-weight: bold;
}

.pagination-ellipsis {
    color: #666666;
    padding: 0 5px;
}

.pagination-goto {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #666666;
    margin-left: 10px;
}

.goto-input {
    width: 40px;
    height: 34px;
    border: 2px solid #ECEDF2;
    border-radius: 4px;
    text-align: center;
    font-size: 14px;
    color: #333333;
    outline: none;
}
.goto-input:focus {
    border-color: #FE9900;
}
