/* Additions on top of the original stylesheet: states the static site never
   had (drafts, empty sections, 404) plus small readability fixes. */

.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }
.article-body li { padding-left: 4px; }
.article-body figure a { text-decoration: none; }

.empty-state {
  border: 1px dashed var(--line);
  padding: 60px 5vw;
  text-align: center;
  font-size: 14px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #857b6c;
}

.archive-empty {
  border: 1px dashed var(--line);
  padding: 26px 24px;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #857b6c;
}

.preview-banner {
  background: var(--ink);
  color: var(--paper);
  padding: 12px 5vw;
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 700;
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
.preview-banner a { color: var(--orange-soft); border-bottom: 1px solid currentColor; }

.not-found-actions { padding: 0 5vw 120px; }

/* Small floating link back to the admin panel, only for a logged-in editor. */
.editor-bar {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  display: flex;
  gap: 8px;
}
.editor-bar a {
  background: var(--ink);
  color: var(--paper);
  padding: 11px 16px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  border: 1px solid var(--ink);
}
.editor-bar a:hover { background: var(--orange); border-color: var(--orange); }

/* --------------------------------------------------------------------------
   Responsive corrections — headlines that ran past the screen edge on phones,
   and grid children that refused to shrink.
   -------------------------------------------------------------------------- */

@media (max-width: 900px) {
  /* once the columns stack there is no room to spill into, so let them shrink */
  .hero-grid > *,
  .article-layout > *,
  .archive-list > *,
  .section-heading > * { min-width: 0; }

  h1, h2, h3, .author-name, .article-hero h1 { overflow-wrap: break-word; }

  /* the decorative circle sat on top of the text once the columns stacked */
  .hero-orbit { display: none; }
  .hero-side { max-width: 100%; }
}

@media (max-width: 600px) {
  .hero h1 { font-size: clamp(30px, 10.4vw, 55px); }
  .archive-hero h1 { font-size: clamp(30px, 11.4vw, 59px); }
  .author-name { font-size: clamp(32px, 12.8vw, 52px); }
  .article-hero h1 { font-size: clamp(30px, 11.2vw, 47px); }
  .section-heading h2 { font-size: clamp(26px, 10.5vw, 42px); }
  .archive-section-heading h2 { font-size: clamp(22px, 8.8vw, 38px); }
  .footer-brand { font-size: clamp(40px, 15vw, 62px); }
  .subpage-footer strong { font-size: clamp(20px, 6.2vw, 26px); }

  /* 9px micro-labels were below comfortable reading size on a phone */
  .hero-signature span,
  .archive-section-heading small,
  .archive-card-meta,
  .article-byline div > span,
  .article-aside a { font-size: 10.5px; }
}
