/* announcements/index.css - 新闻公告页：全站新闻风格布局（PC+手机响应式） */

/* ================= wangEditor 投稿编辑器（保持原有样式） ================= */
.submit-toolbar { border:1px solid #DCDFE6; border-bottom:none; border-radius:6px 6px 0 0; background:#FAFBFC; }
.submit-toolbar .w-e-bar { border-bottom:none !important; }
.submit-editor { border:1px solid #DCDFE6; border-radius:0 0 6px 6px; background:#fff; min-height:240px; }
.submit-editor .w-e-text-container { min-height:220px !important; }

/* 投稿按钮 */
.contribute-btn {
    display:inline-flex; align-items:center; gap:6px;
    padding:10px 20px; background:#4CAF50; color:#fff;
    border:none; border-radius:6px; font-size:14px; font-weight:500;
    cursor:pointer; box-shadow:0 2px 6px rgba(76,175,80,0.25);
    transition: all .15s; flex-shrink:0;
}
.contribute-btn:hover { background:#43a047; transform: translateY(-1px); }

/* 投稿弹窗 */
.submit-mask {
    display:none; position:fixed; inset:0; background:rgba(0,0,0,.45);
    z-index:15000; align-items:center; justify-content:center;
}
.submit-mask.active { display:flex; }
.submit-dialog {
    background:#fff; width:640px; max-width:calc(100% - 40px);
    border-radius:10px; max-height:92vh; display:flex; flex-direction:column;
    box-shadow:0 10px 40px rgba(0,0,0,.25);
}
.submit-header {
    padding:16px 22px; border-bottom:1px solid #eee;
    display:flex; align-items:center; justify-content:space-between;
}
.submit-header h3 { margin:0; font-size:16px; color:#303133; }
.submit-close { border:none; background:none; font-size:22px; color:#909399; cursor:pointer; line-height:1; }
.submit-close:hover { color:#1890FF; }
.submit-body { padding:20px 22px; overflow-y:auto; flex:1; }
.submit-row { margin-bottom:16px; }
.submit-row label { display:block; font-size:14px; color:#606266; font-weight:500; margin-bottom:6px; }
.submit-row label .req { color:#F56C6C; margin-right:3px; }
.submit-row input[type=text], .submit-row textarea, .submit-row select {
    width:100%; box-sizing:border-box;
    padding:10px 12px; border:1px solid #DCDFE6; border-radius:5px;
    font-size:14px; font-family:inherit; color:#303133; background:#fff;
}
.submit-row input:focus, .submit-row textarea:focus, .submit-row select:focus {
    outline:none; border-color:#1890FF;
}
.submit-row textarea { resize:vertical; min-height:140px; }
.submit-cat-pill {
    display:inline-block; padding:4px 10px; background:#ECF5FF; color:#1890FF;
    border-radius:14px; font-size:13px; font-weight:500;
}
.submit-footer {
    padding:14px 22px; border-top:1px solid #eee; display:flex;
    justify-content:flex-end; gap:10px; background:#FAFBFC;
    border-bottom-left-radius:10px; border-bottom-right-radius:10px;
}
.btn-default {
    padding:8px 18px; border:1px solid #DCDFE6; background:#fff;
    border-radius:5px; color:#606266; cursor:pointer; font-size:14px;
}
.btn-default:hover { color:#1890FF; border-color:#1890FF; }
.btn-primary {
    padding:8px 18px; border:1px solid #1890FF; background:#1890FF;
    border-radius:5px; color:#fff; cursor:pointer; font-size:14px; font-weight:500;
}
.btn-primary:hover { background:#0f7de5; border-color:#0f7de5; }
.btn-primary:disabled { background:#91d5ff; border-color:#91d5ff; cursor:not-allowed; }
.tip-msg { font-size:12px; color:#909399; margin-top:4px; }

/* ================= ======== 新闻公告页 全站新闻风格 ======== ================= */

/* 容器（PC 居中，手机全宽） */
.news-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 28px 20px 60px;
}

/* ---- Hero 标题区 ---- */
.news-hero {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    padding: 24px 28px;
    margin-bottom: 22px;
    background: linear-gradient(135deg, #FFF5EC 0%, #FFEFD8 100%);
    border: 1px solid rgba(193, 57, 44, 0.12);
    border-radius: 14px;
    position: relative;
    overflow: hidden;
}
.news-hero::after {
    content: "📜";
    position: absolute;
    right: -10px;
    bottom: -20px;
    font-size: 180px;
    opacity: 0.04;
    pointer-events: none;
    line-height: 1;
}
.news-hero-left { flex: 1; min-width: 0; position: relative; z-index: 1; }
.news-hero-title {
    margin: 0 0 8px;
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 1px;
}
.news-hero-desc {
    margin: 0;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 600px;
}

/* ---- 分类Tab条 ---- */
.category-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
    padding: 12px 16px;
    background: #fff;
    border-radius: 10px;
    border: 1px solid var(--border);
    box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}
.cat-tab {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 999px;
    font-size: 14px;
    color: var(--text-secondary);
    background: var(--bg-alt);
    text-decoration: none;
    transition: all .18s;
    border: 1px solid transparent;
    white-space: nowrap;
}
.cat-tab:hover {
    color: var(--primary);
    background: #FFF5EC;
    border-color: rgba(193, 57, 44, 0.2);
}
.cat-tab.active {
    background: var(--primary);
    color: #fff;
    font-weight: 500;
    box-shadow: 0 3px 10px rgba(193, 57, 44, 0.2);
}

/* ================= 主布局：左70% + 右30% ================= */
.news-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 30px;
    align-items: flex-start;
}

/* ================= 左侧：新闻列表 ================= */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.news-item {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 22px 24px;
    transition: all .2s;
    position: relative;
}
.news-item:hover {
    border-color: rgba(193, 57, 44, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}
.news-item:hover::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 4px; height: 100%;
    background: linear-gradient(180deg, var(--primary), #E87A50);
    border-radius: 12px 0 0 12px;
}

.news-meta-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 10px;
}
.news-cat-badge {
    display: inline-block;
    color: var(--primary);
    background: #FFF0E6;
    padding: 2px 10px;
    border-radius: 4px;
    font-weight: 500;
    font-size: 12px;
}
.news-date, .news-view { display: inline-flex; align-items: center; gap: 4px; }
.news-date-icon { font-size: 12px; }
.news-sep { color: #ddd; }

.news-title-link { text-decoration: none; color: inherit; display: block; }
.news-item-title {
    margin: 0 0 12px;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--text-primary);
    transition: color .15s;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-item:hover .news-item-title { color: var(--primary); }

.news-summary {
    margin: 0 0 14px;
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-secondary);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-foot {
    display: flex;
    justify-content: flex-end;
}
.news-readmore {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 500;
    color: var(--primary);
    text-decoration: none;
    padding: 4px 0;
    position: relative;
}
.news-readmore::after {
    content: "";
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 1px;
    background: var(--primary);
    transition: width .2s;
}
.news-readmore:hover::after { width: 100%; }
.news-arrow {
    display: inline-block;
    transition: transform .15s;
}
.news-readmore:hover .news-arrow { transform: translateX(4px); }

/* 空状态 */
.news-empty {
    padding: 72px 20px;
    text-align: center;
    background: #fff;
    border: 1px dashed var(--border);
    border-radius: 12px;
}
.news-empty-icon { font-size: 56px; margin-bottom: 14px; }
.news-empty-text { margin: 0; color: var(--text-light); font-size: 15px; }

/* ================= 图文列表布局（新增） ================= */

/* 类型徽章（区分家族公告/分子动态） */
.news-type-badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-right: 4px;
}
.news-type-announcement {
    background: linear-gradient(135deg, #C1392C, #E87A50);
    color: #fff;
}
.news-type-branch_feed {
    background: linear-gradient(135deg, #4A90E2, #67A9F0);
    color: #fff;
}

.news-author { color: var(--text-light); font-size: 13px; }

/* ---- 单图布局：左图右文 ---- */
.news-item-cover-block {
    display: flex;
    gap: 16px;
    align-items: stretch;
    margin-bottom: 14px;
}
.news-cover-link {
    flex-shrink: 0;
    width: 220px;
    height: 150px;
    display: block;
    overflow: hidden;
    border-radius: 8px;
    background: #f5f5f5;
}
.news-cover-link:hover { opacity: 0.9; }
.news-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .3s;
}
.news-item:hover .news-cover { transform: scale(1.04); }
.news-text-block {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* ---- 多图布局：标题+简介+下方横排缩略图 ---- */
.news-thumb-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 4px 0 14px;
}
.news-thumb-link {
    display: block;
    width: 110px;
    height: 80px;
    overflow: hidden;
    border-radius: 6px;
    background: #f5f5f5;
    flex-shrink: 0;
}
.news-thumb-link:hover { opacity: 0.9; }
.news-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .3s;
}
.news-thumb-link:hover .news-thumb { transform: scale(1.08); }

/* ================= 右侧：边栏 ================= */
.news-side {
    display: flex;
    flex-direction: column;
    gap: 18px;
    position: sticky;
    top: 20px;
}
.side-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px 20px 18px;
}
.side-title {
    margin: 0 0 16px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    padding-left: 12px;
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}
.side-title-line {
    position: absolute;
    left: 0; top: 4px; bottom: 4px;
    width: 3px;
    background: linear-gradient(180deg, var(--primary), #FFB199);
    border-radius: 3px;
}

/* 最新文章排行 */
.side-hot-list { list-style: none; padding: 0; margin: 0; }
.side-hot-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px dashed rgba(0,0,0,0.06);
}
.side-hot-item:last-child { border-bottom: none; }
.side-rank {
    flex-shrink: 0;
    width: 22px; height: 22px;
    border-radius: 4px;
    background: #F2F2F2;
    color: #909399;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
.side-rank.top {
    background: linear-gradient(135deg, var(--primary), #E87A50);
    color: #fff;
}
.side-hot-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.side-hot-title {
    font-size: 14px;
    color: var(--text-primary);
    text-decoration: none;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color .15s;
}
.side-hot-title:hover { color: var(--primary); }
.side-hot-date {
    font-size: 12px;
    color: var(--text-light);
}
.side-hot-empty {
    list-style: none;
    padding: 20px 0;
    text-align: center;
    color: var(--text-light);
    font-size: 13px;
}

/* ================= 侧栏迷你图文列表（最新文章-与主体一致布局） ================= */
.side-news-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.side-news-item {
    padding: 12px 0;
    border-bottom: 1px dashed rgba(0,0,0,0.06);
}
.side-news-item:last-child { border-bottom: none; padding-bottom: 0; }
.side-news-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 12px;
    color: var(--text-light);
}
.side-news-date { font-size: 12px; color: var(--text-light); }

/* 单图：左图右文 */
.side-news-cover-block {
    display: flex;
    gap: 10px;
    align-items: stretch;
}
.side-news-cover-link {
    flex-shrink: 0;
    width: 100px;
    height: 70px;
    display: block;
    overflow: hidden;
    border-radius: 6px;
    background: #f5f5f5;
}
.side-news-cover-link:hover { opacity: 0.9; }
.side-news-cover {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .3s;
}
.side-news-cover-link:hover .side-news-cover { transform: scale(1.06); }
.side-news-text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.side-news-title {
    font-size: 14px;
    color: var(--text-primary);
    text-decoration: none;
    line-height: 1.5;
    font-weight: 500;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color .15s;
    margin: 0;
}
.side-news-item .side-news-title:hover { color: var(--primary); }

.side-news-summary {
    margin: 6px 0 0;
    font-size: 12px;
    line-height: 1.6;
    color: var(--text-light);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 多图：横排缩略图 */
.side-news-thumb-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}
.side-news-thumb-link {
    display: block;
    width: 70px;
    height: 50px;
    overflow: hidden;
    border-radius: 4px;
    background: #f5f5f5;
    flex-shrink: 0;
}
.side-news-thumb-link:hover { opacity: 0.9; }
.side-news-thumb {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .3s;
}
.side-news-thumb-link:hover .side-news-thumb { transform: scale(1.08); }

/* 栏目导航标签 */
.side-cat-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.side-cat-tag {
    display: inline-block;
    padding: 5px 14px;
    background: var(--bg-alt);
    border: 1px solid transparent;
    border-radius: 6px;
    font-size: 13px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all .15s;
}
.side-cat-tag:hover {
    background: #FFF5EC;
    color: var(--primary);
    border-color: rgba(193, 57, 44, 0.2);
}
.side-cat-tag.active {
    background: var(--primary);
    color: #fff;
    font-weight: 500;
}

/* 投稿引导卡片（强调色） */
.side-card-accent {
    background: linear-gradient(135deg, #FFF5EC 0%, #FFEFD8 100%);
    border-color: rgba(193, 57, 44, 0.15);
}
.side-submit-desc {
    margin: 0 0 14px;
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.7;
}
.side-submit-btn {
    display: block;
    width: 100%;
    padding: 10px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all .15s;
    box-shadow: 0 2px 8px rgba(193, 57, 44, 0.15);
}
.side-submit-btn:hover {
    background: #B44027;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(193, 57, 44, 0.25);
}

/* ================= 分页（新闻页扩展样式，覆盖 style.css 基础分页颜色为家族色） ================= */
.news-pagination {
    margin-top: 32px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    justify-content: center;
}
.news-pagination .page-num,
.news-pagination .page-btn {
    background: #fff;
    border: 1px solid var(--border);
    color: var(--text-primary);
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    font-size: 14px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: all .15s;
}
.news-pagination .page-num:hover,
.news-pagination .page-btn:hover {
    color: var(--primary);
    border-color: var(--primary);
    background: #FFF5EC;
}
.news-pagination .page-num.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(193, 57, 44, 0.25);
}
.news-pagination .page-ellipsis {
    color: var(--text-light);
    padding: 0 4px;
}
.news-pagination .page-info {
    margin-left: 8px;
    font-size: 13px;
    color: var(--text-light);
    background: transparent;
    border: none;
}

/* ========================================================= */
/* ================= 响应式：手机端（≤768px） =============== */
/* ========================================================= */
@media (max-width: 768px) {
    .news-container {
        padding: 16px 14px 40px;
    }

    /* Hero 卡片 */
    .news-hero {
        padding: 18px 18px;
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }
    .news-hero-title {
        font-size: 24px;
        letter-spacing: 0.5px;
    }
    .news-hero-desc { font-size: 13px; line-height: 1.6; }
    .news-hero::after { font-size: 120px; right: -30px; bottom: -10px; }
    .contribute-btn {
        width: 100%;
        justify-content: center;
        padding: 12px 16px;
        font-size: 15px;
    }

    /* 分类Tab：横向滚动（手机端单行不换行） */
    .category-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 8px;
        padding: 10px 12px;
        margin-bottom: 20px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }
    .category-tabs::-webkit-scrollbar { display: none; }
    .cat-tab {
        scroll-snap-align: start;
        flex-shrink: 0;
        padding: 7px 16px;
        font-size: 13px;
    }

    /* 布局：单栏（取消左右分栏，侧边在下） */
    .news-layout {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    /* 新闻列表卡片：更紧凑 */
    .news-list { gap: 14px; }
    .news-item {
        padding: 18px 16px;
        border-radius: 10px;
    }
    .news-item:hover { transform: none; }
    .news-item:hover::before { display: none; }

    .news-meta-row {
        gap: 8px;
        font-size: 12px;
        margin-bottom: 8px;
    }
    .news-item-title {
        font-size: 17px;
        line-height: 1.5;
        margin-bottom: 10px;
    }
    .news-summary {
        font-size: 13px;
        line-height: 1.7;
        -webkit-line-clamp: 4;
        margin-bottom: 12px;
    }
    .news-foot { justify-content: flex-start; }
    .news-readmore { font-size: 13px; }

    /* 单图布局：手机端改为上图下文 */
    .news-item-cover-block {
        flex-direction: column;
        gap: 12px;
    }
    .news-cover-link {
        width: 100%;
        height: 180px;
    }
    /* 多图缩略图：手机端更小 */
    .news-thumb-link {
        width: 80px;
        height: 60px;
    }

    /* 侧栏：取消 sticky 跟随 */
    .news-side { position: static; gap: 14px; }
    .side-card { padding: 16px; border-radius: 10px; }
    .side-title { font-size: 15px; margin-bottom: 14px; }
    .side-hot-item { padding: 10px 0; gap: 10px; }
    .side-hot-title { font-size: 13px; }

    /* 侧栏迷你图文：单图改上图下文 */
    .side-news-cover-block { flex-direction: column; gap: 8px; }
    .side-news-cover-link { width: 100%; height: 130px; }
    .side-news-thumb-link { width: 60px; height: 45px; }

    /* 分页：手机端更紧凑，上一页下一页按钮全宽 */
    .news-pagination {
        margin-top: 24px;
        gap: 4px;
    }
    .news-pagination .page-num,
    .news-pagination .page-btn {
        min-width: 32px;
        height: 34px;
        padding: 0 10px;
        font-size: 13px;
        border-radius: 6px;
    }
    .news-pagination .page-prev,
    .news-pagination .page-next {
        flex: 1;
        min-width: 45%;
        background: var(--primary);
        color: #fff;
        border-color: var(--primary);
    }
    .news-pagination .page-prev:hover,
    .news-pagination .page-next:hover {
        background: #B44027;
        color: #fff;
    }
    .news-pagination .page-info {
        width: 100%;
        text-align: center;
        order: 999;
        margin: 6px 0 0;
        padding-top: 8px;
        border-top: 1px dashed var(--border);
    }
}

/* 小屏（≤480px）微调 */
@media (max-width: 480px) {
    .news-hero-title { font-size: 21px; }
    .news-item-title { font-size: 16px; }
    .news-item { padding: 16px 14px; }
}

/* ================= 分支动态列表页补充样式（与 announcements 同布局） ================= */

/* 分类Tab 内的计数徽章 */
.cat-tab .feed-cat-count {
    display: inline-block;
    margin-left: 6px;
    padding: 1px 7px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 10px;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.5;
}
.cat-tab:not(.active) .feed-cat-count {
    background: #f0f0f0;
    color: var(--text-light);
}
.cat-tab:hover .feed-cat-count {
    background: rgba(255, 255, 255, 0.3);
}

/* 分类Tab 条右侧"管理目录"按钮 */
.feed-cat-mgr-btn {
    margin-left: auto;
    flex-shrink: 0;
    padding: 6px 14px !important;
    font-size: 13px;
    border-radius: 6px;
    cursor: pointer;
    background: #fff;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    transition: all .15s;
}
.feed-cat-mgr-btn:hover {
    color: var(--primary);
    border-color: var(--primary);
    background: #FFF5EC;
}

/* 卡片底部"编辑/删除"按钮组 */
.news-card-actions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-right: auto;
}
.feed-act-btn {
    padding: 4px 12px;
    font-size: 12px;
    border-radius: 5px;
    cursor: pointer;
    border: 1px solid transparent;
    background: transparent;
    transition: all .15s;
    line-height: 1.5;
}
.feed-edit-btn {
    color: var(--primary);
    border-color: rgba(193, 57, 44, 0.3);
    background: #FFF5EC;
}
.feed-edit-btn:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}
.feed-del-btn {
    color: #F56C6C;
    border-color: rgba(245, 108, 108, 0.3);
    background: #FEF0F0;
}
.feed-del-btn:hover {
    background: #F56C6C;
    color: #fff;
    border-color: #F56C6C;
}

/* 卡片底部：编辑/删除 与 阅读全文 两端对齐 */
.news-item .news-foot {
    align-items: center;
}

/* 手机端：分类Tab 横向滚动时管理按钮固定在末尾 */
@media (max-width: 768px) {
    .feed-cat-mgr-btn {
        flex-shrink: 0;
        padding: 7px 14px !important;
        font-size: 12px;
    }
    .cat-tab .feed-cat-count {
        font-size: 10px;
        padding: 1px 6px;
    }
    .feed-act-btn { padding: 3px 10px; font-size: 11px; }
    .news-card-actions { gap: 6px; }
}
