/**Layer 128: Content Aggregator*/

.aggregator-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1rem;
    font-family: 'Inter', sans-serif;
    margin: 2rem 0;
    max-width: 400px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.agg-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #f8fafc;
    padding-bottom: 0.75rem;
    margin-bottom: 1rem;
}

.agg-header h4 {
    margin: 0;
    font-size: 0.95rem;
    color: #1e293b;
    font-weight: 700;
}

.agg-badge {
    background: #f0fdf4;
    color: #15803d;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 3px 6px;
    border-radius: 4px;
    border: 1px solid #bbf7d0;
}

.agg-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.agg-item {
    text-decoration: none;
    display: block;
    padding: 0.75rem;
    background: #f8fafc;
    border-radius: 6px;
    transition: all 0.2s;
    border: 1px solid transparent;
}

.agg-item:hover {
    background: #fff;
    border-color: #cbd5e1;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transform: translateX(4px);
}

.agg-source-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
    font-size: 0.75rem;
    color: #64748b;
}

.agg-name {
    font-weight: 600;
    color: #334155;
    flex: 1;
}

.agg-trust {
    color: #059669;
    font-size: 0.7rem;
    background: #ecfdf5;
    padding: 1px 4px;
    border-radius: 3px;
}

.agg-title {
    font-size: 0.9rem;
    color: #1e293b;
    line-height: 1.3;
    font-weight: 500;
}

.external-link-icon {
    font-size: 0.7em;
    color: #94a3b8;
    margin-left: 2px;
}