/*
 * WordPress-only additions to assets/site.css (the compiled Next.js styles).
 * Keep this small: anything that exists in the Next.js site belongs there.
 */

/* About intro: paragraphs come from the page editor, so space them here. */
.gl-intro > p + p { margin-top: 1.5rem; }

/* Keep the sticky header below the WordPress toolbar when signed in. */
body.admin-bar > header.sticky { top: 32px; }
@media (max-width: 782px) {
  body.admin-bar > header.sticky { top: 46px; }
}

/* Images placed in the editor's text. */
.prose-gl img { height: auto; max-width: 100%; }
.prose-gl .aligncenter { display: block; margin-left: auto; margin-right: auto; }
.prose-gl .alignleft { float: left; margin: 0.5rem 1.5rem 1rem 0; }
.prose-gl .alignright { float: right; margin: 0.5rem 0 1rem 1.5rem; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
