/* WordPress-specific additions to the design's CSS (assets/css/site.css, built from the Next.js site).
   Keep design changes in the Next.js site's CSS and rebuild; only WordPress needs go here. */

/* Elements the scripts open and close start with the hidden attribute; some design rules set display. */
[hidden] { display: none !important; }

/* The sticky header sits under the WordPress admin bar when you're signed in. */
.admin-bar .header { top: 32px; }
@media screen and (max-width: 782px) { .admin-bar .header { top: 46px; } }
@media screen and (max-width: 600px) { #wpadminbar { position: fixed; } }

/* Screen-reader text (WordPress core class). */
.screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal !important; }
.screen-reader-text:focus { background: #fff; clip: auto !important; clip-path: none; color: #243918; display: block; height: auto; left: 5px; padding: 12px 20px; top: 5px; width: auto; z-index: 100000; }

/* Post content written in the WordPress editor (articles and plain pages). */
.alignleft { float: left; margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text, figcaption { font-size: 13px; color: #373f43d1; }
.article-body img, .legal-body img { max-width: 100%; height: auto; }

/* Pages without their own template (cart, checkout, plain pages) use the legal-page layout. */
.a1-plain .legal-body > *:first-child { margin-top: 0; }
