/* LinkedIn articles public grid */

.li-articles-page .section-header {
    text-align: center;
}

.li-article-card {
    overflow: hidden;
    border: 1px solid rgba(10, 102, 194, 0.18);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    background: rgba(255, 255, 255, 0.02);
}

.li-article-card-link:hover .li-article-card,
.li-article-card-link:focus-visible .li-article-card {
    transform: translateY(-4px);
    border-color: rgba(10, 102, 194, 0.45);
    box-shadow: 0 12px 36px rgba(10, 102, 194, 0.18);
}

.li-article-cover {
    height: 150px;
    background-position: center;
    background-size: cover;
    background-color: #0a66c2;
}

.li-article-cover--fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0a66c2 0%, #004182 55%, #071a33 100%);
    color: rgba(255, 255, 255, 0.85);
    font-size: 2.75rem;
}

.li-article-badge {
    background: rgba(10, 102, 194, 0.18);
    color: #5b9bd5;
    font-size: 0.68rem;
    font-weight: 700;
}

.li-article-title {
    font-weight: 750;
    color: var(--text-primary, #f1f5f9);
    margin-bottom: 0.5rem;
    line-height: 1.35;
}

.li-article-excerpt {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 0.85rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.li-article-cta {
    font-size: 0.8rem;
    font-weight: 700;
    color: #5b9bd5;
}
