.ymx-aggregate-posts-widget {
    padding: 0;
}

.ymx-agg-list {
    display: flex;
    flex-direction: column;
}

.ymx-agg-item {
    display: flex;
    gap: 10px;
    padding: 10px 12px;
    text-decoration: none;
    color: inherit;
    border-radius: 4px;
    transition: background 0.2s ease;
}

.ymx-agg-item:hover {
    background: var(--ymx-bg-card-hover);
}

.ymx-agg-thumb {
    flex-shrink: 0;
    width: 72px;
    height: 48px;
    border-radius: 4px;
    overflow: hidden;
}

.ymx-agg-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ymx-agg-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.ymx-agg-title {
    font-size: 13px;
    color: var(--ymx-text-primary);
    line-height: 1.5;
    word-break: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ymx-agg-item:hover .ymx-agg-title {
    color: var(--ymx-accent-secondary);
}

.ymx-agg-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    color: var(--ymx-text-muted);
    margin-top: 6px;
}

.ymx-agg-date,
.ymx-agg-comments {
    flex-shrink: 0;
}

.ymx-agg-empty {
    text-align: center;
    color: var(--ymx-text-muted);
    padding: 20px 0;
    margin: 0;
}

body.ymx-dark-mode .ymx-agg-title {
    color: #cccccc;
}
