/* SkeptiQ štýly */
body {
    background-color: #f8f9fa;
}

.card {
    transition: transform 0.2s;
    margin-bottom: 1rem;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.source-badge {
    font-size: 0.8rem;
    padding: 0.25rem 0.5rem;
    border-radius: 20px;
}

.source-mainstream {
    background-color: #28a745;
    color: white;
}

.source-alternativa {
    background-color: #ffc107;
    color: #212529;
}

.similarity-score {
    font-size: 0.85rem;
    color: #6c757d;
}

.article-snippet {
    font-size: 0.9rem;
    color: #495057;
    margin-top: 0.5rem;
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rss-item {
    cursor: pointer;
    transition: all 0.2s;
}

.rss-item:hover {
    background-color: #e9ecef;
    border-left: 4px solid #007bff;
}

/* Štýly pre obrázky v kartách */
.card-img-top {
    height: 160px;
    object-fit: cover;
    border-top-left-radius: calc(0.25rem - 1px);
    border-top-right-radius: calc(0.25rem - 1px);
}

/* Placeholder keď nie je obrázok */
.card .no-image {
    height: 160px;
    background: linear-gradient(135deg, #f5f7fa 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
}

/* Efekt pri hover na kartu */
.rss-item {
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    overflow: hidden;
}

.rss-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.rss-item:hover .card-img-top {
    transform: scale(1.02);
    transition: transform 0.3s;
}