/* News aggregator — public list (modo lista limpio) */

.news-list {
    max-width: 880px; margin: 0 auto; padding: 20px 0 0;
    display: flex; flex-direction: column; gap: 0;
}

.news-row {
    display: flex; align-items: flex-start; gap: 18px;
    padding: 18px 4px;
    text-decoration: none; color: inherit;
    border-bottom: 1px solid #eef2f7;
    transition: background .15s ease;
}
.news-row:first-child { padding-top: 8px; }
.news-row:last-child { border-bottom: 0; }
.news-row:hover { background: #fafbff; text-decoration: none; }

.news-icon {
    flex: 0 0 44px; width: 44px; height: 44px; border-radius: 10px;
    background: #f1f5f9; display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}
.news-icon img { width: 28px; height: 28px; object-fit: contain; border-radius: 4px; }

.news-row-body { flex: 1; min-width: 0; }
.news-row-source {
    font-size: .76rem; color: var(--pd-primary, #6366f1); font-weight: 700;
    text-transform: uppercase; letter-spacing: .04em; margin-bottom: 4px;
    display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.news-row-source .news-row-time { color: #94a3b8; font-weight: 500; text-transform: none; letter-spacing: 0; }
.news-row-source .news-row-time::before { content: "·"; margin-right: 8px; color: #cbd5e1; }

.news-row h3 {
    margin: 0 0 6px; font-size: 1.05rem; line-height: 1.4; color: #0f172a; font-weight: 700;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.news-row p {
    color: #64748b; font-size: .9rem; line-height: 1.5; margin: 0;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

.news-row-ext {
    flex: 0 0 auto; align-self: center;
    color: #94a3b8; font-size: 1rem; transition: all .15s;
    width: 36px; height: 36px; display:flex; align-items:center; justify-content:center;
    border-radius: 50%;
}
.news-row:hover .news-row-ext { background: var(--pd-primary,#6366f1); color: #fff; transform: translateX(3px); }

.news-empty { text-align: center; padding: 80px 20px; color: #94a3b8; }
.news-empty i { font-size: 54px; color: #cbd5e1; margin-bottom: 18px; display: block; }
.news-empty h4 { color: #64748b; margin: 0 0 6px; }

.news-pager {
    display: flex; justify-content: center; gap: 6px;
    padding: 24px 0 60px; flex-wrap: wrap;
}
.news-pager a, .news-pager span {
    padding: 8px 13px; border-radius: 8px; background: #fff;
    border: 1px solid #e5e7eb; color: #475569; font-weight: 600;
    text-decoration: none; transition: all .15s;
}
.news-pager a:hover { background: var(--pd-primary,#6366f1); color: #fff; border-color: transparent; text-decoration: none; }
.news-pager a.active { background: var(--pd-primary,#6366f1); color: #fff; border-color: transparent; }
.news-pager span { background: transparent; border: none; }

@media (max-width: 640px) {
    .news-row { gap: 12px; padding: 14px 4px; }
    .news-icon { flex: 0 0 36px; width: 36px; height: 36px; border-radius: 8px; }
    .news-icon img { width: 22px; height: 22px; }
    .news-row h3 { font-size: .98rem; }
    .news-row p { font-size: .85rem; -webkit-line-clamp: 2; }
    .news-row-ext { width: 28px; height: 28px; font-size: .85rem; }
}
