/* =========================================
   WR Link Preview – stijlen
   WestlandReport brand: #E8620A / #0D1B2A
   ========================================= */

.wr-linkpreview-card {
    margin: 1.5em 0;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 8px rgba(0,0,0,.07);
    background: #fff;
    transition: box-shadow .2s ease;
    max-width: 680px;
}
.wr-linkpreview-card:hover {
    box-shadow: 0 4px 16px rgba(232,98,10,.15);
    border-color: #E8620A;
}

.wr-lp-link {
    display: flex;
    flex-direction: row;
    text-decoration: none;
    color: inherit;
}

.wr-lp-image {
    flex: 0 0 200px;
    width: 200px;
    min-height: 130px;
    overflow: hidden;
    background: #f0f0f0;
}
.wr-lp-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.wr-lp-content {
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    min-width: 0;
}

.wr-lp-source {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: #888;
    font-family: 'Oswald', sans-serif;
}
.wr-lp-favicon {
    border-radius: 2px;
}

.wr-lp-title {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    color: #0D1B2A !important;
    font-family: 'Oswald', sans-serif;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.wr-lp-desc {
    margin: 0 !important;
    font-size: 13px !important;
    color: #555 !important;
    line-height: 1.5 !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.wr-lp-domain {
    font-size: 11px;
    color: #E8620A;
    font-weight: 600;
    margin-top: auto;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

/* Mobiel */
@media (max-width: 500px) {
    .wr-lp-link {
        flex-direction: column;
    }
    .wr-lp-image {
        width: 100%;
        flex: none;
        height: 160px;
    }
}

/* ── Editor specifiek ── */
.wr-lp-editor-wrap {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.wr-lp-input-row {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    align-items: center;
}

.wr-lp-input-row input[type="url"] {
    flex: 1;
    padding: 8px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 13px;
    outline: none;
}
.wr-lp-input-row input[type="url"]:focus {
    border-color: #E8620A;
    box-shadow: 0 0 0 2px rgba(232,98,10,.2);
}

.wr-lp-btn-fetch {
    background: #E8620A;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    transition: background .15s;
}
.wr-lp-btn-fetch:hover {
    background: #c95208;
}
.wr-lp-btn-fetch:disabled {
    background: #ccc;
    cursor: wait;
}

.wr-lp-status {
    font-size: 12px;
    color: #c0392b;
    margin-bottom: 8px;
}
.wr-lp-status.ok {
    color: #27ae60;
}

.wr-lp-placeholder {
    border: 2px dashed #ddd;
    border-radius: 8px;
    padding: 32px;
    text-align: center;
    color: #aaa;
    font-size: 13px;
}
.wr-lp-placeholder span {
    display: block;
    font-size: 32px;
    margin-bottom: 8px;
}
