/* "Read next" block, written into every post by seo_enhance.py.

   Both post templates share the same palette, but only one of them defines it
   as CSS variables, so every colour here carries the literal fallback. */

.read-next {
  max-width: 720px;
  margin: 4rem auto 3rem;
  padding: 1.75rem 1.75rem 1.5rem;
  border: 1px solid var(--border, #2a2d3a);
  border-radius: 10px;
  background: var(--surface, #111520);
}

.read-next h2 {
  margin: 0 0 1.1rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold, #c8a96e);
}

.read-next ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.read-next li + li {
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border, #2a2d3a);
}

.read-next a {
  color: var(--text, #f0ede6);
  text-decoration: none;
  font-size: 1.02rem;
  line-height: 1.5;
  display: block;
  transition: color 0.18s ease;
}

.read-next a:hover,
.read-next a:focus-visible {
  color: var(--gold, #c8a96e);
}

@media (max-width: 720px) {
  .read-next {
    margin: 3rem 1.1rem 2.5rem;
    padding: 1.4rem;
  }
}
