.ai-img-radius {
    border-radius: 10px;
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: #2d3a4b;
    font-weight: 700;
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
    padding-left: 16px;
}

.decorated-title::before {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    top: 50%;
    width: 6px;
    height: 70%;
    background: linear-gradient(180deg, #ffb347 0%, #ffcc33 100%);
    border-radius: 3px;
    transform: translateY(-50%);
}

.hot-title {
    color: #d7263d;
}

.recommend-section {
    margin: 40px 0;
}

.recommend-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, 260px);
    gap: 24px;
    justify-content: space-between;
}

/* 在最后一行不足以填满时，添加空元素占位，保持左对齐效果 */
.recommend-list::after {
    content: "";
    width: 260px;
}

.recommend-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    overflow: hidden;
    width: 260px;
    transition: transform 0.3s cubic-bezier(.4,0,.2,1), box-shadow 0.3s;
    opacity: 0;
    transform: translateY(30px);
}

    .recommend-card.show {
        opacity: 1;
        transform: translateY(0);
    }

    .recommend-card:hover {
        transform: translateY(-8px) scale(1.03);
        box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    }

.recommend-img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.recommend-info {
    padding: 16px;
    display: flex;
    flex-direction: column;
    height: 200px; /* 根据实际内容调整高度 */
}

.recommend-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 8px;
    line-height: 1.3;
    flex-shrink: 0;
}

.recommend-desc {
    font-size: 0.98rem;
    color: #666;
    line-height: 1.5;
    margin-bottom: 0;
    margin-top: 0;
    /* 多行省略号 */
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1 1 auto;
}

.recommend-user {
    display: flex;
    align-items: center;
    margin-top: 12px;
    color: #4a90e2;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 1px;
    flex-shrink: 0;
    gap: 6px;
    background: #f4f8fb;
    border-radius: 16px;
    padding: 4px 12px 4px 6px;
    box-shadow: 0 1px 4px rgba(74,144,226,0.07);
    width: fit-content;
}

    .recommend-user i {
        margin-right: 6px;
        font-size: 1.1em;
    }

.recommend-user-alt {
    display: flex;
    align-items: center;
    margin-top: 14px;
    gap: 6px;
    font-size: 1rem;
    color: #6b7a90;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.user-avatar {
    background: #e3eefd;
    border-radius: 50%;
    padding: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-avatar i {
    font-size: 1.15em;
    color: #4a90e2;
}

.user-avatar-alt {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e3eefd 60%, #f7fafc 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 4px rgba(74,144,226,0.08);
}

.user-avatar-alt i {
    font-size: 1.25em;
    color: #4a90e2;
}

.user-label {
    color: #888;
    font-size: 0.98em;
    margin-left: 2px;
}

.user-label-alt {
    color: #b0b8c9;
    font-size: 0.97em;
    margin-left: 2px;
}

.user-name {
    color: #2d3a4b;
    font-weight: 600;
    margin-left: 2px;
}

.user-name-alt {
    color: #2d3a4b;
    font-weight: 600;
    margin-left: 2px;
    font-size: 1.05em;
}