/* ============================================================
   Bonus — 首页样式 · 「绯红爪印」主题
   ============================================================ */

/* ===== 首页推荐项 ===== */
.recommend-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-self: center;
    margin: 15px 0px;
    position: relative;
    border-radius: var(--radius-lg);
    background: var(--paper);
    border: 1px solid var(--line);
    overflow: hidden;
    transition: transform 0.32s cubic-bezier(0.34, 1.4, 0.64, 1), box-shadow 0.32s ease, border-color 0.32s ease;
    box-shadow: var(--shadow-sm);
}

.recommend-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--line-strong);
}

.recommend-item a {
    align-items: center;
    justify-self: center;
    text-decoration: none;
    width: 100%;
}

.recommend-item img {
    width: 100%;
    object-fit: contain;
    border-radius: 13px;
}

/* ===== 推荐项信息 ===== */
.recommend-item-info {
    display: flex;
    flex-direction: column;
    padding: 12px;
    flex-wrap: wrap;
    position: relative;
}

.recommend-item-info h3 {
    color: var(--brand-600);
    font-size: 0.95rem;
    margin: 0px 10px;
    font-weight: 700;
}

.recommend-item-info p {
    display: flex;
    color: var(--ink-mute);
    font-size: 0.78rem;
    margin: 8px 10px;
    line-height: 1.5;
}

/* ===== 推荐项按钮 ===== */
.recommend-item-btn a {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
}

.recommend-item-btn {
    display: flex;
    width: 100%;
    height: 32px;
    background: linear-gradient(135deg, var(--brand-400), var(--brand-600));
    border-radius: 10px;
    right: 0px;
    box-shadow: 0 4px 12px rgba(210, 31, 49, 0.28);
    transition: all 0.3s ease;
}

.recommend-item-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(210, 31, 49, 0.4);
}

.recommend-item-btn img {
    width: 28px;
    height: 16px;
    filter: brightness(0) invert(1);
}

/* ===== 推荐内容网格 ===== */
.rajosd-recommend-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin: 14px 12px;
}

.rajosd-recommend-content img {
    width: 100%;
}

/* ===== 热门推荐网格 ===== */
.rajosd-recommend-content-hot {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin: 14px 20px 4px;
}

.rajosd-recommend-content-hot img {
    width: 100%;
}
