.highlights-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.highlights-grid {
    column-count: 3;
    column-gap: 2rem;
    margin-top: 2rem;
}

.highlight-card {
    background: var(--color-bg-secondary, #f9f9f9);
    padding: var(--spacing-3);
    transition: transform 0.2s;
    margin-bottom: 2rem;
    display: inline-block;
    width: 100%;
}

.highlight-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
}

.highlight-author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--color-text-secondary, #666);
}

.highlight-date {
    font-size: 0.85rem;
    color: var(--color-text-muted, #999);
}

.highlight-content {
    font-size: 1.1rem;
    line-height: 1.3;
    color: var(--color-text-primary, #333);
}

.highlight-mark {
    background: var(--color-accent-300);
    padding: 0.1em 0.2em;
    font-weight: 500;
}
.context-text {
    margin-bottom: 0.5rem;
    font-style: normal;
}

.highlight-footer {
    margin-top: 1rem;
    padding-top: 1rem;
}

.article-reference {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--color-link, #0066cc);
    text-decoration: none;
    transition: color 0.2s;
}

.article-reference:hover {
    color: var(--color-link-hover, #004499);
    text-decoration: underline;
}

.no-highlights {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--color-text-secondary, #666);
    font-size: 1.1rem;
}

.error-message {
    background: #fee;
    border: 1px solid #fcc;
    padding: 1rem;
    margin: 1rem 0;
    color: #c00;
}
.highlights-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: var(--color-bg-secondary, #f9f9f9);
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .highlight-card {
        margin-bottom: 1.5rem;
    }
}

@media (min-width: 769px) and (max-width: 1200px) {
    .highlights-grid {
        column-count: 2;
    }
}
