/* 知识论坛 - 扩展样式 */

.content-list {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid #eee;
    background: #f8f9fa;
}

.list-header h2 {
    font-size: 1.3rem;
    color: #333;
}

.list-header .count {
    color: #666;
    font-size: 0.9rem;
}

.content-item {
    padding: 25px;
    border-bottom: 1px solid #eee;
    transition: background 0.2s;
    position: relative;
}

.content-item:last-child {
    border-bottom: none;
}

.content-item:hover {
    background: #fafafa;
}

.content-title {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    position: relative;
}

.content-title a {
    color: #333;
    text-decoration: none;
    font-size: 1.2rem;
    transition: color 0.2s;
}

.content-title a:hover {
    color: #667eea;
}

.content-meta {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #888;
    font-size: 0.9rem;
}

.meta-item .label {
    color: #aaa;
    display: inline-flex;
    align-items: center;
}

.meta-icon {
    width: 0.95em;
    height: 0.95em;
    margin-right: 4px;
    flex-shrink: 0;
}

.meta-item .value {
    color: #555;
}

.title-price {
    color: #e74c3c;
    font-weight: bold;
    font-size: 1.1rem;
    margin-left: auto;
    white-space: nowrap;
}

/* 公布内容的红/黑印章标记（落在卡片正中间） */
.mark-seal {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-12deg);
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 3px solid currentColor;
    outline: 1px solid currentColor;
    outline-offset: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: bold;
    line-height: 1;
    font-family: "STKaiti", "KaiTi", "楷体", "SimSun", serif;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
    pointer-events: none;
    user-select: none;
    z-index: 2;
}

.mark-seal-red {
    color: #e0392b;
}

.mark-seal-black {
    color: #1f1f1f;
}

.empty-state {
    text-align: center;
    padding: 60px;
    color: #666;
}

.edit-link {
    font-size: 0.85rem;
    color: #667eea;
    text-decoration: none;
    margin-left: 12px;
    padding: 3px 10px;
    border: 1px solid #667eea;
    border-radius: 4px;
    vertical-align: middle;
}

.edit-link:hover {
    background: #667eea;
    color: white;
}

@media (max-width: 768px) {
    .content-meta {
        gap: 15px;
    }
    
    .header .container {
        flex-direction: column;
        gap: 15px;
    }
    
    .header nav a {
        margin: 0 10px;
    }
}
