/* FaceToshi - Tarjetas de vista previa de enlaces */
.lp-card {
    display: block;
    margin-top: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color, #e4e6eb);
    border-radius: 12px;
    background: var(--card-bg, #fff);
    color: inherit;
    text-decoration: none;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

a.lp-card:hover {
    color: inherit;
    text-decoration: none;
    border-color: #c7cdd4;
    box-shadow: 0 4px 14px rgba(15, 23, 42, .08);
}

.lp-card__media {
    width: 100%;
    aspect-ratio: 1.91 / 1;
    overflow: hidden;
    background: #f0f2f5;
}

.lp-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lp-card__body {
    padding: 12px 14px 14px;
}

.lp-card__site {
    margin-bottom: 4px;
    color: #65676b;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .35px;
    text-transform: uppercase;
}

.lp-card__title {
    display: -webkit-box;
    overflow: hidden;
    color: var(--text-color, #1c1e21);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.lp-card__desc {
    display: -webkit-box;
    overflow: hidden;
    margin-top: 4px;
    color: #65676b;
    font-size: .88rem;
    line-height: 1.4;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

/* Editor */
.lp-editor {
    margin-top: 10px;
}

.lp-editor__loading,
.lp-editor__error {
    border-radius: 9px;
    padding: 8px 11px;
    font-size: .82rem;
    font-weight: 600;
}

.lp-editor__loading {
    background: #f0f2f5;
    color: #65676b;
}

.lp-editor__error {
    background: #fdecea;
    color: #b02a37;
}

.lp-editor-card {
    position: relative;
    margin-top: 0;
}

.lp-editor-card .lp-card__body {
    padding-right: 40px;
}

.lp-editor__remove {
    position: absolute;
    right: 8px;
    bottom: 8px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, .62);
    color: #fff;
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
}

.lp-editor__remove:hover {
    background: rgba(0, 0, 0, .82);
}

.lp-editor.is-loading .lp-editor__loading {
    display: block;
}

.lp-editor [hidden] {
    display: none !important;
}

@media (max-width: 575.98px) {
    .lp-card__media {
        aspect-ratio: 1.6 / 1;
    }

    .lp-card__body {
        padding: 10px 12px 12px;
    }

    .lp-card__title {
        font-size: .95rem;
    }

    .lp-card__desc {
        font-size: .84rem;
        -webkit-line-clamp: 3;
    }
}
