/* --- Article Card --- */
.article-card {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-lg);
    background: var(--bg-1);
    border: 1px solid var(--border);
    border-left: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
    position: relative;
    box-shadow: var(--card-shadow);
}

.article-card:hover {
    background: var(--bg-2);
    border-color: var(--border-hover);
}

.article-card.read {
    opacity: 0.5;
}

.article-card.read:hover {
    opacity: 0.75;
}

.article-card.watchlist-match {
    box-shadow: 0 0 0 1px var(--alert), 0 0 12px rgba(255, 68, 68, 0.15);
}

.article-card.watchlist-match.priority-critical {
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 0 1px var(--alert), 0 0 8px rgba(255, 68, 68, 0.1); }
    50% { box-shadow: 0 0 0 1px var(--alert), 0 0 16px rgba(255, 68, 68, 0.25); }
}

.article-card__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-sm);
}

.article-card__source {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--card-accent, var(--text-secondary));
}

.article-card__source i {
    font-size: 14px;
}

.article-card__time {
    font-size: 11px;
    color: var(--text-tertiary);
    white-space: nowrap;
}

.article-card__title {
    font-family: var(--font-headline);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-primary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-card__description {
    font-size: 13px;
    line-height: 1.5;
    color: var(--text-secondary);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-card__thumbnail {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-xs);
}

.article-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-sm);
}

.article-card__topics {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
    flex: 1;
    overflow: hidden;
}

.topic-badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: var(--radius-pill);
    font-size: 11px;
    font-weight: 500;
    background: var(--bg-2);
    color: var(--text-secondary);
    border: 1px solid var(--border);
    white-space: nowrap;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.topic-badge:hover {
    color: var(--text-primary);
    border-color: var(--accent);
    background: var(--bg-3);
}

.article-card__actions {
    display: flex;
    gap: var(--space-xs);
    flex-shrink: 0;
}

.article-card__action {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: var(--radius-sm);
    color: var(--text-tertiary);
    transition: all var(--transition-fast);
}

.article-card__action:hover {
    color: var(--text-primary);
    background: var(--bg-2);
}

.article-card__action.bookmarked {
    color: var(--warning);
}

.article-card__link {
    color: var(--text-tertiary);
    font-size: 14px;
}

.article-card__link:hover {
    color: var(--accent);
}

/* --- Skeleton Card --- */
.skeleton-card {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-lg);
    background: var(--bg-1);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
}

.skeleton-line {
    height: 12px;
    background: linear-gradient(90deg, var(--shimmer-base) 25%, var(--shimmer-highlight) 50%, var(--shimmer-base) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s ease-in-out infinite;
    border-radius: var(--radius-sm);
}

.skeleton-line--title {
    height: 18px;
    width: 85%;
}

.skeleton-line--title-short {
    height: 18px;
    width: 60%;
}

.skeleton-line--text {
    width: 100%;
}

.skeleton-line--text-short {
    width: 75%;
}

.skeleton-line--source {
    width: 120px;
    height: 10px;
}

.skeleton-line--time {
    width: 40px;
    height: 10px;
}

.skeleton-line--badge {
    width: 60px;
    height: 16px;
    border-radius: var(--radius-pill);
}

.skeleton-header {
    display: flex;
    justify-content: space-between;
}

.skeleton-badges {
    display: flex;
    gap: var(--space-xs);
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
