/* =====================================================
   Flatsome Recently Viewed Posts – style.css
   ===================================================== */

:root {
    --frpv-accent:    #Ad0300;
    --frpv-border:    #e2e2e2;
    --frpv-text-dark: #111;
    --frpv-text-mute: #777;
    --frpv-radius:    4px;
    --frpv-thumb:     60px;
}

.frpv-block {
    margin: 20px 0;
}

.frpv-block__title {
    font-size: 16px;
    font-weight: 700;
    color: var(--frpv-text-dark);
    margin: 0 0 12px;
    padding-bottom: 6px;
    border-bottom: 2px solid var(--frpv-accent);
    display: inline-block;
}

.frpv-widget {
    width: 100%;
}

.frpv-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.frpv-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid var(--frpv-border);
}

.frpv-item:last-child {
    border-bottom: none;
}

.frpv-thumb {
    flex: 0 0 var(--frpv-thumb);
    width: var(--frpv-thumb);
    height: var(--frpv-thumb);
    border-radius: var(--frpv-radius);
    overflow: hidden;
    display: block;
    background: #f1f1f1;
}

.frpv-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.frpv-thumb--empty {
    background: linear-gradient(135deg, #f1f1f1, #e6e6e6);
}

.frpv-title {
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--frpv-text-dark);
    text-decoration: none !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color .15s;
}

.frpv-item:hover .frpv-title {
    color: var(--frpv-accent);
}

.frpv-loading,
.frpv-empty {
    font-size: 13px;
    color: var(--frpv-text-mute);
    padding: 6px 0;
    list-style: none;
}

/* =====================================================
   Responsive: mobile thu nhỏ thumbnail
   ===================================================== */
@media (max-width: 600px) {
    :root {
        --frpv-thumb: 50px;
    }
    .frpv-title {
        font-size: 13px;
    }
}
