/* WordPress-only additions. Everything else is the static build's CSS, unchanged. */

/* Logged in, the sticky header sits under the admin bar (fixed from 601px up). */
@media (min-width: 601px) {
  .admin-bar .site-header { inset-block-start: var(--wp-admin--admin-bar--height, 32px); }
}
@media (min-width: 601px) and (max-width: 54.99rem) {
  .js .admin-bar .site-nav { inset-block-start: calc(var(--header-h) + var(--wp-admin--admin-bar--height, 46px)); }
}

/* Content written in the editor (journal posts, stray pages): images and captions stay in the column. */
.prose img { max-inline-size: 100%; block-size: auto; }
.prose figure { margin-block: 1.5rem; }
.prose figcaption { margin-block-start: 0.5rem; font-size: var(--fs-small); color: var(--ink-2); }

/* Fallback template (index.php): search results and any page without a coded template. */
.fallback__list { display: grid; gap: 1.5rem; padding: 0; list-style: none; }
.fallback__list a { font-size: var(--fs-lead); }
