/* ========== 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: 12px;
}

.recommend-item-info {
    display: flex;
    flex-direction: column;
    padding: 10px;
    flex-wrap: wrap;
    position: relative;
}

.recommend-item-info h3 {
    color: var(--c-primary);
    font-size: 1rem;
    margin: 0px 10px;
    font-weight: 800;
}

.recommend-item-info p {
    display: flex;
    color: var(--c-muted);
    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: var(--grad-brand);
    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(37, 99, 235, 0.22);
}

.recommend-item-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
    filter: brightness(1.06);
}

.recommend-item-btn img {
    width: 28px;
    height: 16px;
}

/* ========== RECOMMEND CONTENT GRID (2-col card) ========== */
.piedjr-recommend-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 0 12px;
    padding: 12px;
    background: var(--c-surface);
    border-radius: 16px;
    border: 1.5px solid var(--c-border);
    box-shadow: var(--shadow-card);
}

.piedjr-recommend-content img {
    width: 100%;
}

/* ========== HOT RECOMMEND (3-col top section) ========== */
.piedjr-recommend-content-hot {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin: 12px;
    padding: 12px;
    background: var(--c-surface);
    border-radius: var(--radius-card);
    border: 1.5px solid var(--c-border);
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
}

.piedjr-recommend-content-hot::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--grad-brand);
}

.piedjr-recommend-content-hot img {
    width: 100%;
}
