/* 排序选项 */
.sort-options {
    font-size: 16px;
    color: #999;
    display: flex;
}

.sort-option {
    display: block;
    cursor: pointer;
    padding: 0 5px;
    transition: color 0.3s;
    height: 32px;
    line-height: 32px;
    background-color: #FFFFFF;
}

.sort-option:first-child {
    border-radius: 6px 0 0 6px;
}

.sort-option:last-child {
    border-radius: 0 6px 6px 0;
}

.sort-option.active,
.sort-option:hover {
    color: #FFFFFF;
    background-color: #B98751;
}

.sort-divider {
    margin: 0 10px;
    color: #ddd;
}

/* 列表布局 */
.sharing-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

/* 项目样式 */
.sharing-item {
    width: calc(50% - 10px);
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

/* 心得卡片 */
.reflection-card {
    width: calc(50% - 10px);
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.reflection-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: #B98751;
}

.reflection-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.reflection-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0 0 10px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.reflection-link:hover .reflection-title {
    color: #734C22;
}

.reflection-content {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0 0 15px 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 67px;
}

.reflection-images {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 15px;
}

.reflection-img-link {
    display: block;
    width: 178px;
    height: 178px;
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    background: #f5f5f5;
    flex-shrink: 0;
}

.reflection-img-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.reflection-img-link:hover img {
    transform: scale(1.1);
}

.reflection-no-images {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border-radius: 4px;
    margin-bottom: 15px;
    color: #999;
    font-size: 14px;
}

.reflection-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #999;
}

.reflection-stats {
    display: flex;
    gap: 20px;
}

.reflection-views,
.reflection-likes {
    display: flex;
    align-items: center;
    gap: 5px;
}

.reflection-views svg,
.reflection-likes svg {
    width: 16px;
    height: 16px;
}
