/* link-card.css — Styles for link-preview cards.
 * Loaded on every page (not just the editor) because saved posts contain
 * .link-card markup that needs to render correctly on viewer pages too.
 */
.link-card {
    display: block;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    max-width: 100%;
}
.link-card-inner {
    display: flex;
    flex-direction: row;
    text-decoration: none;
    color: inherit;
    min-height: 100px;
}
.link-card-image {
    flex: 0 0 140px;
    min-height: 100px;
    background-color: #f0f0f0;
}
.link-card-text {
    flex: 1;
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}
.link-card-title {
    font-weight: 600;
    font-size: 14px;
    line-height: 1.3;
    color: #222;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.link-card-description {
    font-size: 13px;
    line-height: 1.4;
    color: #555;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.link-card-site {
    font-size: 11px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
@media (max-width: 480px) {
    .link-card-image { flex: 0 0 90px; }
    .link-card-title { font-size: 13px; }
    .link-card-description { display: none; }
}
