/* Modern Flat Link Card Styles */
.link-card {
    display: flex;
    text-decoration: none;
    border-radius: 12px;
    overflow: hidden;
    background-color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    /* Soft shadow */
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid #eef0f2;
    margin: 20px 0;
    max-width: 100%;
}

.link-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    /* Lift effect */
}

/* Image Section */
.lc-image {
    width: 300px;
    min-width: 150px;
    /* Ensure image doesn't get too small */
    flex-shrink: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Logo Fallback Specifics */
.lc-is-logo {
    background-size: contain;
    /* Ensure logo fits */
    background-color: #fafafa;
    /* Light background for logo */
    width: 150px;
    /* Make logo section a bit narrower if desired, or keep standard */
}

/* Responsive: Stack for mobile */
@media (max-width: 600px) {
    .link-card {
        flex-direction: column;
    }

    .lc-image {
        width: 100%;
        height: 180px;
    }
}

/* Content Section */
.lc-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-grow: 1;
    min-width: 0;
    /* Prevents flex item from overflowing */
}

.lc-title {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.4;

    /* Truncate text */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.lc-description {
    font-size: 14px;
    color: #666;
    margin-bottom: 12px;
    line-height: 1.5;

    /* Truncate text */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.lc-meta {
    font-size: 12px;
    color: #999;
    display: flex;
    align-items: center;
}

.lc-site {
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.lc-no-image {
    background-color: #f0f0f0;
    /* Fallback placeholder color */
    display: flex;
    align-items: center;
    justify-content: center;
}

.lc-no-image::after {
    content: "🔗";
    font-size: 24px;
    opacity: 0.3;
}