 
/* ========== 弹性行布局 ========== */
.flex-row {
    display: flex;
    flex-direction: row;
    gap: 20px;
}

/* ========== 主容器 ========== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* ========== 左右列宽 ========== */
.col-lg-9 {
    width: 75%;
    background-color: #fff;
}

.col-lg-3 {
    width: 25%;
    padding: 10px;
    height: 100%;
    background-color: #fff;
}

/* ========== 公告列表主区域 ========== */
.vbnew {
    width: 100%;
    height: 100vh;
}

.vbnew .list-page {
    padding: 20px;
}

.vbnew .flex-row {
    height: 100%;
    width: 100%;
}

/* ==================================================================
   轮播外层容器
   ================================================================== */
.curtext {
    padding: 20px;
    position: relative;
}

/* ==================================================================
   单个公告项（轮播卡片）
   ================================================================== */
.vbnew .neth-tow {
    display: flex;
}

.vbnew .neth-tow .curimg {
    flex: 0 0 325px;
    width: 325px;
    max-width: 100%;
    height: 240px;
    overflow: hidden;
    border-radius: var(--radius, 8px);
    background-color: rgb(204, 204, 204);
}

.vbnew .neth-tow .curimg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==================================================================
   公告文字区域
   ================================================================== */
.text-ajax {
    padding: 20px;
    width: 100%;
    height: 100%;
    flex: 1;
}

.text-ajax h2 {
    color: #000000;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.text-ajax p {
    font-size: 14px;
    color: #999999;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-wrap: break-word;
    word-break: break-word;
    overflow-wrap: anywhere;
    hyphens: auto;
    text-overflow: ellipsis;
    white-space: normal;
    line-height: 30px;
    margin-bottom: 20px;
}

/* ==================================================================
   查看详情按钮
   ================================================================== */
.xy-btn {
    display: inline-block;
    padding: 5px 20px;
    background-color: #0072ff;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    border: none;
    transition: background-color 0.2s ease;
}

.xy-btn:hover {
    background-color: #005fcc;
}

/* ==================================================================
   轮播滑动效果
   ================================================================== */
.carousel-container {
    overflow: hidden;
    border-radius: 8px;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.curtext .neth-tow {
    flex: 0 0 100%;
    margin-right: 0;
}

.curtext .neth-tow.active {
    display: flex;
}

/* ==================================================================
   轮播指示器 —— 进度条式
   ================================================================== */
.curtext .avaciton {
    position: absolute;
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%);
    width: auto;
    padding: 6px 10px;
    background: rgba(0, 0, 0, 0.32);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 20px;
    z-index: 3;
    transition: opacity 0.3s ease;
}

.curtext .avaciton ol {
    display: flex;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.curtext .avaciton ol li {
    position: relative;
    width: 6px;
    height: 6px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    overflow: hidden;
    transition:
        width 0.35s cubic-bezier(0.645, 0.045, 0.355, 1),
        background-color 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.curtext .avaciton ol li:hover {
    background: rgba(255, 255, 255, 0.75);
}

.curtext .avaciton ol li.dd {
    width: 28px;
    background: rgba(255, 255, 255, 0.35);
}

.curtext .avaciton ol li.dd::after {
    content: '';
    position: absolute;
    inset: 0;
    background: #ffffff;
    border-radius: 3px;
    transform: scaleX(0);
    transform-origin: left center;
    animation: curDotProgress 5s linear forwards;
}

.curtext:hover .avaciton ol li.dd::after {
    animation-play-state: paused;
}

@keyframes curDotProgress {
    from { transform: scaleX(0); }
    to   { transform: scaleX(1); }
}

/* ==================================================================
   右侧快速通道样式
   ================================================================== */
.p-bgcui .title-ss {
    display: flex;
    margin-bottom: 12px;
    color: #0072ff;
    align-items: center;
    justify-content: space-between;
}

.p-bgcui h1 {
    font-size: 18px;
}

.p-bgcui .flex-add {
    display: flex;
}

.p-bgcui .flex-add .content {
    padding-left: 15px;
    flex: 1;
}

.p-bgcui .flex-add .content h3 {
    line-height: 34px;
    font-size: 16px;
    color: #000000;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-wrap: break-word;
    word-break: break-word;
    overflow-wrap: anywhere;
    hyphens: auto;
    text-overflow: ellipsis;
    white-space: normal;
}

.p-bgcui .flex-add .content p {
    color: #999999;
}

.p-bgcui .list-graop a {
    margin-bottom: 12px;
    display: block;
}

.p-bgcui .list-graop .flex-top {
    display: flex;
    width: 70px;
    height: 70px;
    text-align: center;
    color: white;
    flex-direction: column;
    background-color: #0072ff;
}

.p-bgcui .list-graop .flex-top .top-dd {
    width: 100%;
    height: 46px;
    background-color: #0000006f;
    line-height: 46px;
    font-size: 20px;
}

.p-bgcui .list-graop .flex-top .bootm-yy {
    height: 24px;
    background-color: #062e5e6f;
    line-height: 24px;
    font-size: 12px;
}

/* ==================================================================
   类型标签 —— AntD Tag 视觉
   ================================================================== */
.type-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 22px;
    padding: 0 8px;
    font-size: 12px;
    font-weight: 400;
    line-height: 1;
    border: 1px solid transparent;
    border-radius: 4px;
    white-space: nowrap;
    vertical-align: middle;
}

.type-badge i {
    font-size: 10px;
}

.type-normal {
    color: rgba(0, 0, 0, 0.65);
    background: #fafafa;
    border-color: #d9d9d9;
}

.type-system {
    color: #1677ff;
    background: #e6f4ff;
    border-color: #91caff;
}

.type-event {
    color: #52c41a;
    background: #f6ffed;
    border-color: #b7eb8f;
}

.type-urgent {
    color: #ff4d4f;
    background: #fff2f0;
    border-color: #ffccc7;
}

/* ==================================================================
   公告列表卡片 —— AntD List 视觉（重构）
   ================================================================== */
.announcement-list {
    margin-top: 20px;
    padding: 24px 28px;
    background: #ffffff;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    box-shadow:
        0 1px 2px 0 rgba(0, 0, 0, 0.03),
        0 1px 6px -1px rgba(0, 0, 0, 0.02),
        0 2px 4px 0 rgba(0, 0, 0, 0.02);
}

/* ---- 列表头 ---- */
.announcement-list > h3 {
    position: relative;
    margin: 0 0 4px !important;
    padding: 0 0 14px 12px !important;
    border-bottom: 1px solid #f0f0f0 !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    color: rgba(0, 0, 0, 0.88) !important;
}

.announcement-list > h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    width: 3px;
    height: 16px;
    border-radius: 2px;
    background: #1677ff;
}

/* ---- 列表项 ---- */
.list-item {
    position: relative;
    padding: 20px 8px 20px 20px;
    margin: 0 -8px;
    border-bottom: 1px solid #f0f0f0;
    border-radius: 6px;
    transition: background-color 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.list-item:last-child {
    border-bottom: 0;
}

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

/* hover 时左侧主色竖条滑入 */
.list-item::before {
    content: '';
    position: absolute;
    left: 4px;
    top: 50%;
    width: 3px;
    height: 0;
    background: #1677ff;
    border-radius: 2px;
    transform: translateY(-50%);
    transition: height 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.list-item:hover::before {
    height: 60%;
}

/* ---- 标题行 ---- */
.list-item h3 {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 8px 0;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    color: rgba(0, 0, 0, 0.88);
}

.list-item h3 a {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    color: inherit;
    text-decoration: none;
    transition: color 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.list-item h3 a:hover {
    color: #1677ff;
}

/* 标题里的置顶标记 */
.list-item h3 .badge-pinned {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    color: #d46b08;
    background: #fff7e6;
    border: 1px solid #ffd591;
    border-radius: 4px;
    font-size: 9px;
    transform: rotate(-8deg);
}

/* ---- 元信息 ---- */
.list-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 8px;
    font-size: 12px;
    color: rgba(0, 0, 0, 0.45);
    font-variant-numeric: tabular-nums;
}

.list-meta span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.list-meta i {
    font-size: 11px;
}

/* 置顶标记用浅橙（覆盖内联的 #c0392b） */
.list-meta span[style*="c0392b"],
.list-meta span.is-pinned {
    color: #d46b08 !important;
}

/* ---- 摘要 ---- */
.list-summary {
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
    color: rgba(0, 0, 0, 0.45);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-wrap: break-word;
    word-break: break-word;
    overflow-wrap: anywhere;
    hyphens: auto;
    text-overflow: ellipsis;
    white-space: normal;
}

/* ---- 空状态 ---- */
.announcement-list > div[style*="text-align:center"],
.announcement-list__empty {
    padding: 48px 0 !important;
    text-align: center;
    color: rgba(0, 0, 0, 0.25) !important;
    font-size: 14px;
}

/* ==================================================================
   分页 —— AntD Pagination 视觉
   ================================================================== */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 24px 0 4px;
    flex-wrap: wrap;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 8px;
    font-size: 14px;
    font-variant-numeric: tabular-nums;
    color: rgba(0, 0, 0, 0.65);
    background: #fff;
    border: 1px solid #d9d9d9;
    border-radius: 6px;
    text-decoration: none;
    cursor: pointer;
    outline: none;
    transition: all 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.pagination a:hover {
    color: #1677ff;
    border-color: #1677ff;
    background: #fff;
}

.pagination .current {
    color: #fff;
    background: #1677ff;
    border-color: #1677ff;
    cursor: default;
    font-weight: 500;
}

/* ==================================================================
   响应式 —— 平板 / 窄屏：≤ 768px
   ================================================================== */
@media (max-width: 768px) {
    .curtext {
        padding: 12px;
    }

    .curtext .neth-tow {
        flex-direction: column;
    }

    .curtext .neth-tow .curimg {
        flex: 0 0 auto;
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 10;
        border-radius: 8px;
    }

    .text-ajax {
        padding: 16px 4px 4px;
        width: 100%;
    }
    .text-ajax h2 {
        font-size: 17px;
        margin-bottom: 8px;
        line-height: 1.4;
    }
    .text-ajax p {
        font-size: 13px;
        line-height: 1.6;
        margin-bottom: 14px;
        -webkit-line-clamp: 2;
    }

    .xy-btn {
        padding: 6px 18px;
        font-size: 13px;
        border-radius: 6px;
    }

    .curtext .avaciton {
        bottom: 12px;
        padding: 5px 8px;
    }
    .curtext .avaciton ol {
        gap: 5px;
    }
    .curtext .avaciton ol li {
        width: 5px;
        height: 5px;
    }
    .curtext .avaciton ol li.dd {
        width: 22px;
    }

    /* 公告列表 */
    .announcement-list {
        padding: 16px 16px 12px;
    }
    .announcement-list > h3 {
        font-size: 16px !important;
    }
    .list-item {
        padding: 16px 4px 16px 14px;
        margin: 0 -4px;
    }
    .list-item::before {
        left: 0;
    }
    .list-item h3 {
        font-size: 15px;
    }
    .list-item h3 a {
        gap: 6px;
    }
    .list-summary {
        font-size: 13px;
        -webkit-line-clamp: 2;
    }
    .list-meta {
        gap: 12px;
    }

    /* 分页 */
    .pagination {
        gap: 6px;
    }
    .pagination a,
    .pagination span {
        min-width: 30px;
        height: 30px;
        padding: 0 6px;
        font-size: 13px;
    }
}

/* ==================================================================
   响应式 —— 手机：≤ 480px
   ================================================================== */
@media (max-width: 480px) {
    .curtext {
        padding: 8px;
    }

    .curtext .neth-tow .curimg {
        aspect-ratio: 16 / 11;
    }

    .text-ajax {
        padding: 12px 2px 2px;
    }
    .text-ajax h2 {
        font-size: 16px;
        margin-bottom: 6px;
    }
    .text-ajax p {
        font-size: 13px;
        margin-bottom: 12px;
        -webkit-line-clamp: 2;
    }

    .xy-btn {
        padding: 5px 14px;
        font-size: 12px;
    }

    .curtext .avaciton {
        bottom: 8px;
        padding: 4px 7px;
    }
    .curtext .avaciton ol li {
        width: 4px;
        height: 4px;
    }
    .curtext .avaciton ol li.dd {
        width: 18px;
    }

    /* 公告列表 */
    .announcement-list {
        padding: 12px 12px 8px;
        border-radius: 10px;
    }
    .announcement-list > h3 {
        font-size: 15px !important;
        padding-bottom: 10px !important;
    }
    .list-item {
        padding: 14px 2px 14px 12px;
        margin: 0 -2px;
    }
    .list-item h3 {
        font-size: 14px;
        gap: 6px;
    }
    .list-item h3 .badge-pinned {
        width: 16px;
        height: 16px;
        font-size: 8px;
    }
    .list-summary {
        font-size: 12.5px;
        line-height: 1.6;
    }
    .list-meta {
        gap: 10px;
        font-size: 11px;
    }

    .pagination {
        gap: 4px;
    }
    .pagination a,
    .pagination span {
        min-width: 28px;
        height: 28px;
        padding: 0 5px;
        font-size: 12px;
    }
}

/* ==================================================================
   无障碍：用户开启"减少动效"时关闭过渡
   ================================================================== */
@media (prefers-reduced-motion: reduce) {
    .carousel-track {
        transition: none !important;
    }
    .curtext .avaciton ol li.dd::after {
        animation: none;
        transform: scaleX(1);
    }
    .list-item,
    .list-item::before,
    .list-item h3 a,
    .pagination a,
    .pagination span {
        transition: none;
    }
}/* ==================================================================
   轮播图上的公告类型标注（overlay）
   ================================================================== */
.neth-tow .curimg {
    position: relative;   /* 作为 overlay 的定位父级 */
}

/* overlay 变体：绝对定位于图片左上角，浮在图片上 */
.type-badge--overlay {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    /* 半透明白底 + 毛玻璃，让它在任何颜色的封面上都清晰可读 */
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    /* 强化在图片上的可读性：加一层柔和阴影 */
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* 移动端：位置和尺寸微调 */
@media (max-width: 768px) {
    .type-badge--overlay {
        top: 10px;
        left: 10px;
    }
}