/* 标签云模块样式 tag-cloud.css */
/* 标签内容页内部包裹层，仅本模块生效，替代全局container */
.tag-page-wrap {
    max-width: 1500px;
    width: 100%;
    margin: 40px auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.tag-cloud-card {
    background: linear-gradient(90deg, #f7faff, #f0f7ff);
    border-radius: 16px;
    padding: 42px 36px;
    width: 100%;
    box-sizing: border-box;
}
.tag-cloud-main-title {
    font-size: 28px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 14px;
}
.tag-blue-line {
    width: 80px;
    height: 4px;
    background-color: #3b82f6;
    border-radius: 2px;
    margin-bottom: 36px;
}
.tag-divider-dash {
    width: 100%;
    border-bottom: 1px dashed #d0d9eb;
    margin: 0 0 30px;
}
.tag-wrap-row {
    height: auto; /* 高度自动撑开，不固定 */
    overflow: visible; /* 内容完全展示，无滚动、无截断 */
    display: flex;
    flex-wrap: wrap; /* 标签自动换行，不会横向溢出 */
    gap: 12px;
}
.tag-item {
    display: inline-flex;
    align-items: center;
    padding: 0 26px;
    line-height: 36px;
    border: 1px solid #e2e8f0;
    border-radius: 9999px;
    background: #ffffff;
    color: #334155;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.22s ease;
}
.tag-item:hover {
    background: #3b82f6;
    color: #ffffff;
    border-color: #3b82f6;
}
.tag-bottom-desc {
    margin-top: 36px;
    padding-top: 26px;
    border-top: 1px dashed #d0d9eb;
    font-size: 16px;
    color: #64748b;
}
/* 外层卡片容器，和标签云卡片同款浅蓝底色、圆角 */
/* 标签页专属外层容器：只在标签页内部限制宽度，不影响全站 */
.tag-page-inner {
    max-width: 1500px;
    width: 100%;
    margin: 40px auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* 防止主题全屏 flex 布局把标签页撑满 */
.tag-page-inner .tag-card-box {
    background: #f8faff;
    border-radius: 16px;
    padding: 32px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}
/* 页面大标题，和标签云「标签云」字号统一 */
.page-main-title {
    font-size: 28px;
    margin: 0 0 10px;
    color: #111;
}
/* 蓝色下划线 */
.blue-line {
    width: 80px;
    height: 4px;
    background: #3b82f6;
    border-radius: 2px;
    margin-bottom: 30px;
}
/* 当前标签行 */
.current-tag-row {
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.tag-tip-text {
    font-size: 16px;
    color: #444;
}
/* 高亮当前标签按钮，复用你原有.tag-item样式 */
.active-tag {
    background: #3b82f6;
    color: #fff !important;
    border-color: #3b82f6;
}
/* 单条版本白色区块 */
.version-item-block {
    background: #ffffff;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 16px;
    border: 1px solid transparent;
    transition: all 0.22s ease;
}
/* hover 蓝色边框+柔和阴影 */
.version-item-block:hover {
    border-color: #3b82f6;
    box-shadow: 0 4px 18px rgba(59,130,246,0.16);
}
/* 版本标题，控制不大 */
.version-item-title {
    font-size: 18px;
    margin: 0 0 10px;
}
.version-item-title a {
    color: #111;
    text-decoration: none;
    transition: color 0.22s ease;
}
/* 标题悬浮变主题蓝色 */
.version-item-title a:hover {
    color: #3b82f6;
}
/* 发布/浏览小字 */
.version-meta-line {
    font-size: 13px;
    color: #94a3b8;
    margin-bottom: 10px;
}
/* 简介文字尺寸统一 */
.version-desc-text {
    font-size: 14px;
    color: #64748b;
    line-height: 1.7;
}
/* 空提示文字 */
.empty-tip {
    padding: 40px 0;
    text-align: center;
    font-size: 16px;
    color: #666;
}
/* 分页区域居中 */
.page-pagination {
    margin-top: 40px;
    text-align: center;
}
.page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid #e2e8f0;
    border-radius: 50%;
    margin: 0 4px;
    color: #334155;
    text-decoration: none;
    font-size: 14px;
}
.page-active {
    background: #3b82f6;
    border-color: #3b82f6;
    color: #fff;
}
/* 标题+返回按钮一行布局 */
.tag-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
    width: 100%;
    box-sizing: border-box;
}
.tag-title-wrap {
    flex: 1;
    min-width: 0;
}
/* 返回标签云按钮样式，和tag-item统一视觉 */
.back-tag-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    padding: 0 24px;
    line-height: 36px;
    border: 1px solid #3b82f6;
    border-radius: 9999px;
    background: #ffffff;
    color: #3b82f6;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.22s ease;
    white-space: nowrap;
}
.back-tag-btn:hover {
    background: #3b82f6;
    color: #fff;
}
/* 只针对标签页内部，不影响其他页面 */
.tag-page-inner {
    max-width: 1500px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
    display: block;
    flex-shrink: 0;
}