/* Devlog layout. Uses the portal tokens from portal.css. */

.devlog-hero .hero-content { max-width: 46rem; }

.devlog-layout {
  display: grid;
  gap: 3rem;
  grid-template-columns: minmax(0, 1fr);
  margin: 0 auto;
  max-width: 72rem;
  padding: 4rem 1.5rem 6rem;
}

@media (min-width: 60rem) {
  .devlog-layout { grid-template-columns: minmax(0, 1fr) 16rem; }
}

.devlog-card {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1.75rem 0;
}

.devlog-card h2 { margin: 0.25rem 0 0.5rem; }
.devlog-card h2 a { color: inherit; text-decoration: none; }
.devlog-card h2 a:hover { text-decoration: underline; }

.devlog-card .division,
.devlog-meta { color: rgba(255, 255, 255, 0.6); font-size: 0.85rem; letter-spacing: 0.04em; text-transform: uppercase; }

.tag-list { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; margin: 0.75rem 0; padding: 0; }
.tag-list li { border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 999px; font-size: 0.75rem; padding: 0.15rem 0.6rem; }

.devlog-entry h2 { font-size: clamp(1.9rem, 4vw, 3rem); margin: 0.5rem 0 0.75rem; }
.devlog-entry .prose { margin-top: 2rem; }
.devlog-entry .prose h2 { font-size: 1.4rem; margin-top: 2.5rem; }
.devlog-entry .prose pre { overflow-x: auto; padding: 1rem; background: rgba(0, 0, 0, 0.35); border-radius: 0.5rem; }
.devlog-entry .prose code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.devlog-entry .prose a { color: #ff8a4c; }

.devlog-aside h3 { font-size: 0.9rem; letter-spacing: 0.08em; text-transform: uppercase; }
.devlog-aside ul { list-style: none; margin: 0; padding: 0; }
.devlog-aside a { color: inherit; text-decoration: none; }
.devlog-aside a:hover { text-decoration: underline; }
