/* Notice Page Styles */

/* Header dark variant for inner pages */
.header-dark {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    z-index: 100;
}

.header-dark .nav-item {
    color: #333;
    font-size: 15px;
}

.header-dark .nav-item.active {
    color: #DB4442;
}

.header-dark .nav-item:hover {
    color: #DB4442;
}

.header-dark .nav-item.active::after {
    background: #DB4442;
}

.header-dark .logo-img {
    height: 50px;
    width: auto;
}

.header-dark .header-inner {
    height: 70px;
    padding: 0 100px;
    padding-right: 200px;
}

/* Page Banner */
.page-banner {
    position: relative;
    width: 100%;
    height: auto;
    display: block;
    margin-top: 70px;
}

.page-banner img {
    width: 100%;
    height: auto;
    display: block;
}

.page-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background: rgba(0,0,0,0.45); */
}

.page-banner-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.page-banner-title {
    font-size: 42px;
    color: #fff;
    font-weight: bold;
}

/* Notice Page Section */
.notice-page-section {
    padding: 40px 0 80px;
    background: #fff;
}

/* Tabs */
.notice-tabs {
    display: flex;
    gap: 50px;
    border-bottom: 1px solid #eee;
    margin-bottom: 0;
}

.notice-tab {
    font-size: 16px;
    color: #666;
    padding: 15px 0;
    text-decoration: none;
    position: relative;
}

.notice-tab.active {
    color: #DB4442;
    font-weight: bold;
}

.notice-tab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: #DB4442;
}

/* Notice List */
.notice-list {
    margin-top: 0;
}

.notice-list-item {
    display: flex;
    align-items: center;
    padding: 18px 0;
    border-bottom: 1px solid #f0f0f0;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.notice-list-item:hover {
    background: #fafafa;
}

.notice-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #333;
    flex-shrink: 0;
}

.notice-list-title {
    flex: 1;
    font-size: 14px;
    color: #333;
    line-height: 1.6;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.notice-list-item:hover .notice-list-title {
    color: #DB4442;
}

.notice-list-date {
    font-size: 13px;
    color: #999;
    white-space: nowrap;
    flex-shrink: 0;
}

/* News Page Items */
.news-list-page {
    margin-top: 0;
}

.news-page-item {
    display: flex;
    gap: 24px;
    padding: 24px 0;
    border-bottom: 1px solid #f0f0f0;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.news-page-item:hover {
    background: #fafafa;
}

.news-page-thumb {
    width: 180px;
    height: 120px;
    flex-shrink: 0;
    border-radius: 4px;
    overflow: hidden;
}

.news-page-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-page-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-page-title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.5;
}

.news-page-item:hover .news-page-title {
    color: #DB4442;
}

.news-page-desc {
    font-size: 13px;
    color: #888;
    line-height: 1.8;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-page-date {
    font-size: 12px;
    color: #999;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 30px;
    padding: 20px 0;
}

.pagination .page-btn,
.pagination .page-num {
    display: inline-block;
    padding: 6px 12px;
    font-size: 14px;
    color: #333;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
}

.pagination .page-num.active {
    background: #DB4442;
    color: #fff;
    border-color: #DB4442;
}

.pagination .page-btn:hover,
.pagination .page-num:hover {
    border-color: #DB4442;
    color: #DB4442;
}

.pagination .page-num.active:hover {
    color: #fff;
}

.pagination .page-btn.disabled {
    color: #ccc;
    border-color: #e0e0e0;
    cursor: not-allowed;
    pointer-events: none;
}

.pagination .page-ellipsis {
    padding: 6px 8px;
    font-size: 14px;
    color: #999;
}

/* Mobile responsive for notice page */
@media (max-width: 768px) {
    .header-dark {
        position: relative;
        min-width: unset;
    }

    .header-dark .header-inner {
        height: 55px;
        padding: 0 16px;
    }

    .header-dark .logo-img {
        height: 28px;
    }

    .header-dark .nav-item {
        color: #333;
        font-size: 16px;
    }

    .header-dark .nav-item.active {
        color: #DB4442;
    }

    .page-banner {
        height: auto;
        margin-top: 0;
    }

    .page-banner-title {
        font-size: 28px;
    }

    .notice-page-section {
        padding: 10px 0 40px;
    }

    .notice-tabs {
        gap: 30px;
    }

    .notice-tab {
        font-size: 14px;
        padding: 12px 0;
    }

    .notice-list-item {
        padding: 14px 0;
        flex-wrap: wrap;
    }

    .notice-list-title {
        font-size: 13px;
        white-space: normal;
        flex-basis: calc(100% - 18px);
    }

    .notice-list-date {
        font-size: 11px;
        margin-left: 18px;
    }

    .news-page-item {
        gap: 12px;
        padding: 16px 0;
    }

    .news-page-thumb {
        width: 100px;
        height: 70px;
    }

    .news-page-title {
        font-size: 14px;
        margin-bottom: 6px;
    }

    .news-page-desc {
        font-size: 12px;
        -webkit-line-clamp: 2;
    }

    .news-page-date {
        font-size: 11px;
    }

    .pagination {
        gap: 4px;
        margin-top: 20px;
        padding: 15px 0;
        flex-wrap: nowrap;
        overflow-x: auto;
    }

    .pagination .page-btn,
    .pagination .page-num {
        padding: 4px 8px;
        font-size: 12px;
    }

    .pagination .page-ellipsis {
        padding: 4px 6px;
        font-size: 12px;
    }
}
