/* ── NEWS CARD ── shared component ───────────────────────── */

.news-card {
    background: #2B2D31;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 0;
    overflow: hidden;
    transition: border-color 0.15s;
}

.news-card:hover { border-color: rgba(88,101,242,0.4); }

.news-card__image {
    width: 100%;
    height: 110px;
    flex-shrink: 0;
    overflow: hidden;
}

.news-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-card__content {
    padding: 12px 14px 14px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: 1;
}

.news-card__category {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #5865F2;
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    text-align: left;
    font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
}

.news-card__title {
    font-size: 13px;
    font-weight: 500;
    color: #F2F3F5;
    line-height: 1.4;
    margin: 0;
}

.news-card__description {
    font-size: 12px;
    color: #B5BAC1;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
}
