/**
 * 文本分类详情页样式
 * 文本分类详情页的特定样式
 *
 * @package GoodBase
 * @since 1.0.0
 */

/* 文本分类详情页特定样式 - 紫色主题 */

/* 标题图标颜色 */
.category-detail-text .category-title i {
    color: #ff6600 !important;
}

/* 统计图标背景 */
.category-detail-text .stat-icon {
    background: linear-gradient(135deg, #ff6600 0%, ff6600 100%) !important;
    color: #ffffff !important;
}

/* 子分类图标 */
.category-detail-text .child-category-icon {
    background: linear-gradient(135deg, #ff6600 0%, ff6600 100%) !important;
    color: #ffffff !important;
}

/* 查看全部按钮 */
.category-detail-text .btn-view-all {
    background: linear-gradient(135deg, #ff6600 0%, ff6600 100%) !important;
    color: #ffffff !important;
}

.category-detail-text .btn-view-all:hover {
    background: linear-gradient(135deg, ff6600 0%, ff6600 100%) !important;
}

/* 标签链接悬停颜色 */
.category-detail-text .tag-link:hover {
    background: #ff6600 !important;
    color: #ffffff !important;
    border-color: #ff6600 !important;
}

/* ============================================
   文本类型侧边栏样式 - 无封面图
   ============================================ */

/* 文本列表项样式 */
.sidebar-text-type .text-post-item {
    border-bottom: 1px solid #f3f4f6 !important;
    padding: 10px 0 !important;
}

.sidebar-text-type .text-post-item:last-child {
    border-bottom: none !important;
}

.sidebar-text-type .text-post-item .post-link {
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    text-decoration: none !important;
    transition: background-color 0.2s ease !important;
    padding: 6px 8px !important;
    border-radius: 6px !important;
    margin: -6px -8px !important;
}

.sidebar-text-type .text-post-item .post-link:hover {
    background-color: #f9fafb !important;
}

/* 文本内容区域 */
.sidebar-text-type .text-post-info {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
}

/* 标题区域 */
.sidebar-text-type .text-post-header {
    display: flex !important;
    align-items: flex-start !important;
    gap: 6px !important;
    flex-wrap: wrap !important;
}

.sidebar-text-type .text-post-header .post-title-small {
    flex: 1 !important;
    min-width: 0 !important;
    margin: 0 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.5 !important;
    color: #1f2937 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    transition: color 0.2s ease !important;
}

.sidebar-text-type .text-post-item .post-link:hover .post-title-small {
    color: #ff6b35 !important;
}

/* 标签徽章 */
.sidebar-text-type .text-post-header .post-tag-badge {
    flex-shrink: 0 !important;
    padding: 2px 6px !important;
    border-radius: 3px !important;
    font-size: 10px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    color: #ffffff !important;
    white-space: nowrap !important;
}

.sidebar-text-type .text-post-header .post-tag-badge.post-tag-hot {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%) !important;
}

.sidebar-text-type .text-post-header .post-tag-badge.post-tag-exclusive {
    background: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%) !important;
}

.sidebar-text-type .text-post-header .post-tag-badge.post-tag-recommended {
    background: linear-gradient(135deg, #feca57 0%, #ff9ff3 100%) !important;
}

.sidebar-text-type .text-post-header .post-tag-badge.post-tag-premium {
    background: linear-gradient(135deg, #ff6b35 0%, #e55a00 100%) !important;
}

/* 元数据区域 */
.sidebar-text-type .text-post-info .post-meta-small {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    font-size: 11px !important;
    color: #6b7280 !important;
}

.sidebar-text-type .text-post-info .post-meta-small span {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
}

.sidebar-text-type .text-post-info .post-meta-small i {
    font-size: 10px !important;
    color: #9ca3af !important;
}

