.home-intro {
  max-width: 760px;
  margin: 1.5rem auto 2rem;
  line-height: 1.7;
}

.home-intro a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Home feed ---------- */
:root {
  --gold: #e2b714;
  --gold-soft: rgba(226, 183, 20, 0.05);
  --line: rgba(127, 127, 127, 0.25);
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --gold: #a87c00;
    --gold-soft: rgba(168, 124, 0, 0.08);
  }
}
[data-theme="light"] {
  --gold: #a87c00;
  --gold-soft: rgba(168, 124, 0, 0.08);
}

.feed {
  max-width: 760px;
  margin-left: auto !important;
  margin-right: auto !important;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 2rem 0;
  text-align: left;
}

.feed a { text-decoration: none; }

.feed-badge {
  display: inline-block;
  padding: 0.05rem 0.5rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--gold);
  border: 1px solid var(--gold);
  white-space: nowrap;
}
.feed-badge-note {
  color: inherit;
  border-color: var(--line);
  font-weight: 500;
  opacity: 0.75;
}

/* Blog posts: the stars of the feed */
.feed-post {
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  background: var(--gold-soft);
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.feed-post:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}
.feed-cover {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}
.feed-body { padding: 1rem 1.25rem 1.1rem; }

.feed-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  opacity: 0.8;
}
.feed-title {
  margin: 0.5rem 0 0.4rem;
  font-size: 1.35rem;
  line-height: 1.3;
}
.feed-title a:hover { color: var(--gold); }
.feed-summary {
  margin: 0 0 0.6rem;
  line-height: 1.6;
  opacity: 0.9;
}
.feed-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  font-size: 0.85rem;
}
.feed-tags a { opacity: 0.7; }
.feed-tags a:hover { opacity: 1; color: var(--gold); }

/* ILT notes: quiet one-liners */
.feed-note {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  padding: 0.45rem 0.25rem;
  border-bottom: 1px dashed var(--line);
}
.feed-note-title {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.feed-note-title:hover { text-decoration: underline; }
.feed-note time {
  font-size: 0.8rem;
  opacity: 0.6;
  white-space: nowrap;
}

.feed-sentinel {
  min-height: 1px;
  margin: 0 auto 2rem;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.6;
}

@media (max-width: 600px) {
  .feed, .home-intro { padding: 0 12px; }
  .feed-cover { height: 160px; }
  .feed-body { padding: 0.85rem 1rem; }
  .feed-title { font-size: 1.15rem; }
}
