/* 平台公告 / 发版记录 列表页样式
   页面布局（.max / .search / .main-left / .main-right / 分页）复用 consultation_list.css，
   这里只定义这两个页面自身的标题、列表与时间轴样式，配色与首页对应板块保持一致。 */

/* ===== 页面标题（与首页 notice-head 同一套视觉） ===== */
.content-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.content-title {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin: 0 0 8px;
}

.content-subtitle {
    font-size: 14px;
    color: var(--text-gray);
    margin: 0;
}

.notice-more {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    transition: gap 0.25s ease;
}

.notice-more:hover {
    text-decoration: none;
    gap: 10px;
}

/* ===== 分类筛选 ===== */
.content-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.content-filter-item {
    padding: 6px 16px;
    border: 1px solid #dbe3ec;
    border-radius: 20px;
    background: #fff;
    color: var(--text-gray);
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.content-filter-item:hover {
    color: var(--primary-blue);
    border-color: var(--primary-blue);
    background: #f2f7ff;
    text-decoration: none;
}

.content-filter-item.is-active {
    color: #fff;
    background: var(--primary-blue);
    border-color: var(--primary-blue);
}

/* ===== 公告列表 ===== */
.content-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.content-item {
    background: #fff;
    border: 1px solid #eef1f6;
    border-radius: 12px;
    padding: 20px 24px;
    margin-bottom: 16px;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.content-item:hover {
    border-color: #90caf9;
    box-shadow: 0 8px 24px rgba(30, 136, 229, 0.1);
}

.content-item.is-pinned {
    border-left: 3px solid var(--primary-blue);
}

.content-item-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.notice-date {
    font-size: 13px;
    color: #90a4ae;
}

.notice-tag {
    flex-shrink: 0;
    font-size: 12px;
    padding: 1px 8px;
    border-radius: 20px;
}

/* .tag-upgrade {
    background: #e3f2fd;
    color: #1565c0;
}

.tag-notice {
    background: #fff8e1;
    color: #ef6c00;
}

.tag-maintain {
    background: #ede7f6;
    color: #5e35b1;
}

.tag-security {
    background: #fce4ec;
    color: #c2185b;
}
 */
.tag-activity {
    background: #e8f5e9;
    color: #2e7d32;
}

/* 置顶标记（深色卡片上为半透明白底，列表页这里用浅色底） */
.notice-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 20px;
    background: #e3f2fd;
    color: var(--primary-blue);
}

.content-item-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    line-height: 1.5;
    margin: 0 0 10px;
}
.content-item-title a,
.content-item-summary a {
    color: inherit;
    text-decoration: none;
}

.notice-detail-page {
    min-height: 70vh;
    padding: 50px 20px;
    background: #f5f8fc;
}

.notice-detail {
    max-width: 1200px;
    margin: 0 auto;
    padding: 36px 44px;
    background: #fff;
    border: 1px solid #e8edf3;
    border-radius: 8px;
}

.notice-detail-back { display: inline-flex; gap: 6px; margin-bottom: 26px; color: var(--primary-blue); text-decoration: none; }
.notice-detail h1 { margin: 12px 0; color: #263238; font-size: 30px; line-height: 1.45; }
.notice-detail-stats { margin-bottom: 24px; color: #90a4ae; font-size: 13px; }
.notice-detail-summary { margin-bottom: 28px; padding: 16px 18px; color: #546e7a; line-height: 1.8; background: #f7f9fc; border-left: 3px solid var(--primary-blue); }

@media (max-width: 768px) {
    .notice-detail-page { padding: 84px 12px 36px; }
    .notice-detail { padding: 24px 18px; }
    .notice-detail h1 { font-size: 24px; }
}

.content-item-summary {
    font-size: 14px;
    line-height: 1.9;
    color: var(--text-gray);
    margin: 0 0 12px;
}

.content-item-foot {
    font-size: 13px;
    color: #90a4ae;
}

.content-empty {
    padding: 40px 0;
    text-align: center;
    color: #90a4ae;
    font-size: 14px;
}

/* ===== 发版记录时间轴 ===== */
.release-timeline {
    position: relative;
    padding-left: 30px;
    margin-bottom: 8px;
}

.release-timeline::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 14px;
    bottom: 14px;
    width: 2px;
    background: linear-gradient(to bottom, #64b5f6, rgba(100, 181, 246, 0.15));
}

.release-item {
    position: relative;
    background: #fff;
    border: 1px solid #eef1f6;
    border-radius: 12px;
    padding: 20px 24px;
    margin-bottom: 18px;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.release-item:last-child {
    margin-bottom: 0;
}

.release-item::before {
    content: '';
    position: absolute;
    left: -30px;
    top: 26px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--primary-blue);
}

.release-item.is-latest::before {
    background: var(--primary-blue);
    box-shadow: 0 0 0 4px rgba(30, 136, 229, 0.15);
}

.release-item:hover {
    border-color: #90caf9;
    box-shadow: 0 8px 24px rgba(30, 136, 229, 0.1);
}

.release-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.release-version {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    background: var(--primary-blue);
    border-radius: 6px;
    padding: 2px 10px;
}

.release-date {
    font-size: 13px;
    color: #90a4ae;
}

.release-item-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0 0 12px;
}

.release-changelog {
    list-style: none;
    margin: 0;
    padding: 0;
}

.release-changelog li {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.9;
}

.release-changelog .tag {
    flex-shrink: 0;
    margin-bottom: 6px;
    font-size: 12px;
    padding: 1px 8px;
    border-radius: 4px;
}
.release-changelog .txt{
    line-height: 1.5;
    padding: 2px 0;
}
.tag-new {
    background: #e8f5e9;
    color: #2e7d32;
}

.tag-opt {
    background: #e3f2fd;
    color: #1565c0;
}

.tag-fix {
    background: #fff8e1;
    color: #ef6c00;
}

/* ===== 侧栏「快速入口」卡片 =====
   取值与资讯列表页（/news/page/1）侧栏 .nl-side-card / .nl-side-title /
   .nl-side-links 保持一致：白卡 + 18px 圆角 + 标题左侧渐变竖条 + 悬浮淡蓝条目 */
.content-side-card {
    padding: 22px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid #e6edf6;
    box-shadow: 0 8px 22px rgba(15, 42, 74, 0.05);
}

.content-side-title {
    position: relative;
    margin: 0 0 16px;
    padding-left: 12px;
    font-size: 15px;
    font-weight: 700;
    color: #1b2a41;
}

.content-side-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 14px;
    border-radius: 2px;
    background: linear-gradient(180deg, #1e88e5, #64b5f6);
}

.content-side-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 6px;
}

.content-side-links a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 10px;
    border-radius: 10px;
    font-size: 14px;
    color: #546e7a;
    text-decoration: none;
    transition: background-color 0.22s ease, color 0.22s ease;
}

.content-side-links a i {
    color: var(--primary-blue);
}

.content-side-links a:hover {
    background: rgba(30, 136, 229, 0.10);
    color: var(--primary-blue);
    text-decoration: none;
}

/* 滚动时侧栏跟随，与资讯列表页的 .nl-side 一致 */
.right-text {
    padding-top: 24px;
    position: sticky;
    top: 84px;
}

/* ===== 响应式 ===== */
@media (max-width: 768px) {
    .content-title {
        font-size: 22px;
    }

    .content-item {
        padding: 16px;
    }

    .release-timeline {
        padding-left: 20px;
    }

    .release-timeline::before {
        left: 5px;
    }

    .release-item {
        padding: 16px;
    }

    .release-item::before {
        left: -20px;
        width: 10px;
        height: 10px;
        border-width: 2px;
    }

    /* 窄屏取消侧栏吸顶，避免滚动时贴顶遮挡内容（与资讯列表页 .nl-side 的处理一致） */
    .right-text {
        position: static;
        padding-top: 12px;
    }
}

