/* WordPress-only additions. Everything else comes from base.css and journal.css (shared with Shopify). */

/* Spam trap on signup forms */
.flam-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Admin bar: keep the sticky header below it */
.admin-bar .section-header:has(.is-sticky) { top: var(--wp-admin--admin-bar--height, 32px); }
@media (max-width: 600px) { .admin-bar .section-header:has(.is-sticky) { top: 0; } }
/* Images and embeds from the block editor inside stories and pages */
.jn-prose .wp-block-image, .rte .wp-block-image { margin-inline: 0; }
.jn-prose .wp-block-image img, .rte .wp-block-image img { height: auto; }
.jn-prose .alignwide, .jn-prose .alignfull { margin-inline: 0; max-width: 100%; }
.jn-prose .wp-block-embed iframe, .rte .wp-block-embed iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: var(--radius-sm); }
.jn-prose .wp-block-quote cite, .rte .wp-block-quote cite { font-style: normal; }
.wp-element-caption { margin-top: .5rem; font-size: .875rem; color: var(--jn-label); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Pages without a photo show a drawing in the hero frame */
.hero__frame > .ta { width: 100%; height: 100%; }
