/* ========== RECOMMEND ITEMS ========== */
.recommend-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-self: center;
    margin: 15px 0px;
    position: relative;
}

.recommend-item a {
    align-items: center;
    justify-self: center;
    text-decoration: none;
}

.recommend-item img {
    width: 100%;
    object-fit: contain;
    border-radius: 14px;
}

.recommend-item-info {
    display: flex;
    flex-direction: column;
    padding: 10px;
    flex-wrap: wrap;
    position: relative;
}

.recommend-item-info h3 {
    color: #7c3aed;
    font-size: 1rem;
    margin: 0px 10px;
    font-weight: 800;
}

.recommend-item-info p {
    display: flex;
    color: #64748b;
    font-size: 0.8rem;
    margin: 10px 10px;
    font-weight: 600;
}

.recommend-item-btn a {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.recommend-item-btn {
    display: flex;
    width: 100%;
    height: 25px;
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    border-radius: 10px;
    right: 0px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    box-shadow: 0 3px 12px rgba(124, 58, 237, 0.2);
}

.recommend-item-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.35);
    background: linear-gradient(135deg, #7c3aed, #6d28d9);
}

.recommend-item-btn img {
    width: 28px;
    height: 16px;
}

/* ========== RECOMMEND CONTENT GRID (2-col) ========== */
.uidcn-recommend-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 10px;
    padding: 15px;
    background: #ffffff;
    border-radius: 0 0 18px 18px;
    border: 1.5px solid #e8eaef;
    border-top: none;
}

.uidcn-recommend-content img {
    width: 100%;
}

/* ========== HOT RECOMMEND (3-col top section) ========== */
.uidcn-recommend-content-hot {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin: 10px 20px;
    padding: 12px;
    background: #ffffff;
    border-radius: 18px;
    border: 1.5px solid #e8eaef;
    box-shadow: 0 2px 16px rgba(99, 102, 241, 0.06);
    position: relative;
    overflow: hidden;
}

.uidcn-recommend-content-hot::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #7c3aed, #06b6d4, #f59e0b, #0d9488);
}

.uidcn-recommend-content-hot img {
    width: 100%;
}
