/* 公告模块 */
.notice-section .notice-list {
    padding: 10px 12px;
    background: #fff;
}

.notice-item {
    display: flex;
    align-items: center;
    padding: 8px 0;
    color: #333;
    border-bottom: 1px dashed #eee;
    transition: color 0.2s;
}

.notice-item:last-child {
    border-bottom: 0;
}

.notice-item:hover {
    color: #e74c3c;
}

.notice-dot {
    color: #e74c3c;
    margin-right: 8px;
    font-size: 18px;
    line-height: 1;
}

.notice-title {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 14px;
}

.notice-empty {
    padding: 15px 0;
    text-align: center;
    color: #999;
    font-size: 13px;
}

/* 公告详情页 */
.z-content {
    background: #f5f5f5;
    min-height: 100vh;
}

.z-nma-content {
    display: flex;
    gap: 20px;
    padding: 20px 0;
}

.z-left {
    flex: 1;
    min-width: 0;
}

.z-right {
    width: 340px;
    flex-shrink: 0;
}

.z-article-content {
    background: #fff;
    border-radius: 4px;
    padding: 30px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.z-task-detail-title {
    text-align: center;
}

.z-task-detail-title h1 {
    font-size: 26px;
    line-height: 1.5;
    color: #333;
    margin-bottom: 20px;
    font-weight: 600;
}

.z-title-other {
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 1px dashed #eee;
    margin-bottom: 25px;
}

.z-title-other p {
    color: #999;
    font-size: 13px;
    margin: 0;
}

.z-title-other p span {
    margin-right: 20px;
}

.z-title-other p span:last-child {
    margin-right: 0;
}

.z-article-neirong {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

.z-article-neirong p {
    margin-bottom: 15px;
}

.notice-prev-next {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 30px;
    padding: 20px;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.notice-prev,
.notice-next,
.notice-prev-next .disabled {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 15px 20px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    transition: all 0.3s;
    text-decoration: none;
    color: inherit;
}

.notice-prev:hover,
.notice-next:hover {
    border-color: #e74c3c;
    background: #fdf2f1;
    box-shadow: 0 2px 8px rgba(231,76,60,0.1);
}

.notice-prev .pn-label,
.notice-next .pn-label {
    font-size: 13px;
    color: #e74c3c;
    margin-bottom: 8px;
    font-weight: 600;
}

.notice-prev .pn-title,
.notice-next .pn-title {
    font-size: 15px;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.5;
}

.notice-prev:hover .pn-title,
.notice-next:hover .pn-title {
    color: #e74c3c;
}

.notice-prev {
    align-items: flex-start;
}

.notice-next {
    text-align: right;
    align-items: flex-end;
}

.notice-prev-next .disabled {
    color: #ccc;
    cursor: not-allowed;
    opacity: 0.5;
}

.notice-prev-next .disabled .pn-label {
    color: #bbb;
}

.notice-prev-next .disabled .pn-title {
    color: #bbb;
}

@media (max-width: 768px) {
    .notice-prev-next {
        flex-direction: column;
        gap: 10px;
    }
    .notice-prev,
    .notice-next {
        text-align: left;
        align-items: flex-start;
    }
}

/* 详情页右侧布局 */
.z-article-content-right {
    width: 340px;
    flex-shrink: 0;
}

.notice-cta {
    margin-bottom: 15px;
}

.notice-cta a {
    display: block;
    width: 100%;
    padding: 12px 0;
    text-align: center;
    background: #E3423B;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.2s;
}

.notice-cta a:hover {
    background: #c2352e;
}

.net-mking-article {
    background: #fff;
    border-radius: 4px;
    padding: 15px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.z-list-title {
    padding-bottom: 12px;
    border-bottom: 1px solid #eee;
    margin-bottom: 12px;
}

.z-list-title h2 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    line-height: 1.4;
    margin: 0;
}

.notice-side-rank {
    list-style: none;
    padding: 0;
    margin: 0;
}

.notice-side-rank li {
    display: flex;
    align-items: flex-start;
    padding: 8px 0;
    border-bottom: 1px dashed #f0f0f0;
}

.notice-side-rank li:last-child {
    border-bottom: 0;
}

.notice-side-rank li .num {
    width: 20px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    background: #f0f0f0;
    color: #666;
    font-size: 12px;
    border-radius: 3px;
    margin: 0 10px 0 0;
    flex-shrink: 0;
}

.notice-side-rank li .num span {
    display: block;
}

.notice-side-rank li:nth-child(1) .num,
.notice-side-rank li:nth-child(2) .num,
.notice-side-rank li:nth-child(3) .num {
    background: #E3423B;
    color: #fff;
}

.notice-side-rank li .li-content {
    flex: 1;
    min-width: 0;
    margin: 0;
    line-height: 20px;
}

.notice-side-rank li .li-content a {
    color: #eb0759;
    font-size: 14px;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-decoration: none;
}

.notice-side-rank li .li-content a:hover {
    text-decoration: underline;
}

.notice-side-rank li.active .li-content a {
    font-weight: 600;
}

/* 响应式 */
@media (max-width: 900px) {
    .z-nma-content {
        flex-direction: column;
    }
    .z-article-content-right {
        width: 100%;
    }
}

/* 公告列表页 */
.notice-page-list {
    background: #fff;
    border-radius: 4px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.notice-page-item {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px dashed #eee;
}

.notice-page-item:last-child {
    border-bottom: 0;
}

.notice-page-item .np-date {
    width: 90px;
    text-align: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.notice-page-item .np-date .day {
    font-size: 28px;
    font-weight: 700;
    color: #e74c3c;
    line-height: 1;
    display: block;
}

.notice-page-item .np-date .ym {
    font-size: 12px;
    color: #999;
    margin-top: 3px;
    display: block;
}

.notice-page-item .np-title {
    flex: 1;
    font-size: 15px;
    color: #333;
}

.notice-page-item .np-title:hover {
    color: #e74c3c;
}

.notice-page-item .np-views {
    font-size: 13px;
    color: #999;
    flex-shrink: 0;
    margin-left: 15px;
}

.notice-page-empty {
    padding: 40px 0;
    text-align: center;
    color: #999;
}

.z-footer {
    background: #333;
    color: #fff;
    padding: 30px 0;
    margin-top: 40px;
}

.z-footer .footer-links {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.z-footer .footer-links a {
    color: #ccc;
}

.z-footer .footer-links a:hover {
    color: #fff;
}

/* 首页推荐文章三列分类 */
.article-cols {
    display: flex;
    gap: 20px;
    margin-top: 15px;
}

.article-col {
    flex: 1;
    background: #fff;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.article-col-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
}

.col-title {
    font-size: 16px;
    font-weight: 600;
    color: #eb0759;
    margin: 0;
}

.col-more {
    color: #999;
    font-size: 13px;
    text-decoration: none;
}

.col-more:hover {
    color: #eb0759;
}

.article-col-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.article-col-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 9px 0;
    border-bottom: 1px dashed #f0f0f0;
}

.article-col-list li:last-child {
    border-bottom: 0;
}

.article-col-list li a {
    color: #eb0759;
    font-size: 14px;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-right: 10px;
    text-decoration: none;
}

.article-col-list li a:hover {
    text-decoration: underline;
}

.article-col-list li span {
    color: #999;
    font-size: 12px;
    flex-shrink: 0;
}

@media (max-width: 900px) {
    .article-cols {
        flex-direction: column;
    }
}


/* 首页滚动横幅 */
.home-marquee-bar {
    display: flex !important;
    align-items: center !important;
    background: #7b5cff !important;
    border-radius: 10px !important;
    padding: 14px 20px !important;
    margin: 15px 0 !important;
    color: #fff !important;
    box-shadow: 0 4px 18px rgba(123, 92, 255, 0.4) !important;
    overflow: hidden !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    min-height: 48px !important;
}



.marquee-icon {
    font-size: 18px;
    margin-right: 12px;
    flex-shrink: 0;
}

.marquee-wrap {
    flex: 1;
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}

.marquee-track {
    display: flex;
    align-items: center;
    white-space: nowrap;
    will-change: transform;
}

.marquee-track:hover {
    animation-play-state: paused !important;
}

.marquee-item {
    display: inline-flex !important;
    align-items: center !important;
    padding: 0 25px !important;
    font-size: 14px !important;
    text-decoration: none !important;
    color: #fff !important;
    transition: opacity 0.2s !important;
}


.marquee-item:hover {
    opacity: 0.85;
}

.marquee-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.8);
    margin-right: 8px;
}

@media (max-width: 768px) {
    .home-marquee-bar {
        padding: 8px 12px;
        margin: 10px 0;
    }
    .marquee-item {
        padding: 0 15px;
        font-size: 13px;
    }
}


