/* ── Dev Diary ─────────────────────────────────────────────────────────── */

.dd-section-wrap {
  margin: 2.5rem 0 0;
}

.dd-section-wrap .section-title {
  margin-bottom: 1rem;
}

.dd-read-more {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: #00d4aa;
  text-decoration: none;
  letter-spacing: 0.04em;
}
.dd-read-more:hover { text-decoration: underline; }

.dd-view-all {
  display: inline-block;
  margin-top: 1.1rem;
  margin-bottom: 2.5rem;
  font-size: 0.82rem;
  color: #68d391;
  text-decoration: none;
  letter-spacing: 0.04em;
}
.dd-view-all:hover { text-decoration: underline; }

/* ── Entry card ────────────────────────────────────────────────────────── */

.dd-entry {
  background: #1a1f2e;
  border: 1px solid #2d3748;
  border-radius: 10px;
  padding: 1.4rem 1.6rem 1.2rem;
  margin-bottom: 1.1rem;
}

.dd-entry-header {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 0.55rem;
}

.dd-num {
  font-family: "Courier New", monospace;
  font-size: 0.72rem;
  color: #00d4aa;
  letter-spacing: 0.08em;
}

.dd-views {
  margin-left: auto;
  font-size: 0.7rem;
  color: #4a5568;
  letter-spacing: 0.03em;
}

.dd-date {
  font-size: 0.72rem;
  color: #4a5568;
  letter-spacing: 0.04em;
}

.dd-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #e2e8f0;
  margin: 0 0 0.65rem;
}

.dd-intro {
  font-size: 0.88rem;
  color: #a0aec0;
  line-height: 1.65;
  margin: 0 0 0.85rem;
}

/* ── Sections (shipped / wip / horizon) ───────────────────────────────── */

.dd-sections {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.dd-block-title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}
.dd-block--shipped  .dd-block-title { color: #68d391; }
.dd-block--wip      .dd-block-title { color: #63b3ed; }
.dd-block--horizon  .dd-block-title { color: #f6ad55; }

.dd-bullets {
  list-style: none;
  margin: 0;
  padding: 0;
}
.dd-bullets li {
  font-size: 0.83rem;
  color: #718096;
  padding: 0.15rem 0 0.15rem 0.9rem;
  position: relative;
  line-height: 1.5;
}
.dd-bullets li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: #4a5568;
}

.dd-anchor {
  margin-left: 0.5rem;
  font-size: 0.75rem;
  color: #4a5568;
  text-decoration: none;
  opacity: 0;
  transition: opacity 0.15s;
}
.dd-title:hover .dd-anchor { opacity: 1; }

.dd-sign {
  margin-top: 1rem;
  font-size: 0.78rem;
  color: #4a5568;
  font-style: italic;
}

.dd-empty {
  color: #4a5568;
  font-size: 0.84rem;
  padding: 0.5rem 0;
}

/* ── Archive page ──────────────────────────────────────────────────────── */

.dd-archive-header {
  margin-bottom: 2rem;
}

.dd-back {
  display: inline-block;
  font-size: 0.8rem;
  color: #68d391;
  text-decoration: none;
  margin-bottom: 1rem;
  letter-spacing: 0.04em;
}
.dd-back:hover { text-decoration: underline; }

/* ── Rendered markdown body ────────────────────────────────────────────── */

.dd-md-body { color: #a0aec0; font-size: 0.88rem; line-height: 1.7; }
.dd-md-body h1 { display: none; } /* title already in header */
.dd-md-body h2 { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #68d391; margin: 1.1rem 0 0.35rem; }
.dd-md-body h3 { font-size: 0.82rem; font-weight: 600; color: #e2e8f0; margin: 0.9rem 0 0.3rem; }
.dd-md-body p  { margin: 0 0 0.65rem; }
.dd-md-body ul, .dd-md-body ol { padding-left: 1.1rem; margin: 0 0 0.65rem; }
.dd-md-body li { margin-bottom: 0.2rem; }
.dd-md-body strong { color: #e2e8f0; }
.dd-md-body em { color: #718096; }
.dd-md-body code { font-family: "Courier New", monospace; font-size: 0.82em; background: #0f1117; padding: 1px 5px; border-radius: 3px; }
.dd-md-body hr { border: none; border-top: 1px solid #2d3748; margin: 1rem 0; }
.dd-md-body a { color: #63b3ed; text-decoration: none; }
.dd-md-body a:hover { text-decoration: underline; }

@media (max-width: 600px) {
  .dd-entry { padding: 1rem 1.1rem; }
}
