/**
 * Custom styles for feed aggregation and enhancements
 */

.feed-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.feed-item {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 15px;
  background: var(--code-bg);
  transition: all 0.3s ease;
}

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

.feed-item h3 {
  margin: 0 0 10px 0;
  font-size: 1.2em;
}

.feed-item h3 a {
  text-decoration: none;
  color: var(--accent);
}

.feed-item h3 a:hover {
  text-decoration: underline;
}

.feed-date {
  margin: 5px 0;
  font-size: 0.9em;
  color: var(--secondary);
}

.feed-item p {
  margin: 10px 0;
  line-height: 1.6;
}

.feed-item a {
  display: inline-block;
  margin-top: 10px;
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}

.feed-item a:hover {
  text-decoration: underline;
}

/* Dark mode support */
:root {
  --border: #e5e7eb;
  --code-bg: #f3f4f6;
  --accent: #3b82f6;
  --secondary: #6b7280;
}

@media (prefers-color-scheme: dark) {
  :root {
    --border: #374151;
    --code-bg: #1f2937;
    --accent: #60a5fa;
    --secondary: #9ca3af;
  }
}

/* Loading animation */
.loading {
  display: inline-block;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

