/* WordPress content and interaction defaults. */
body.nx-theme-ready #an1-primary-nav > ul { flex-wrap: wrap; }
/* Keep real menu links and long footer text inside the existing layout. */
body.nx-theme-ready header nav[id$="-primary-nav"] { min-width: 0; max-width: 100%; flex-shrink: 1; }
body.nx-theme-ready header nav[id$="-primary-nav"] > ul { min-width: 0; max-width: 100%; flex-wrap: wrap; }
body.nx-theme-ready .site-footer :is(div, ul, li), body.nx-theme-ready footer[class*="footer"] :is(div, ul, li) { min-width: 0; }
body.nx-theme-ready footer :is(a, p, span) { overflow-wrap: anywhere; }
:where(.entry-content, .article-content, .paper-body, .an1-content, .comment-content) { overflow-wrap: anywhere; }
:where(.entry-content, .article-content, .paper-body, .an1-content)::after { content: ""; display: table; clear: both; }
.alignleft { float: left; margin: .5em 1.5em 1em 0; }
.alignright { float: right; margin: .5em 0 1em 1.5em; }
.aligncenter { display: block; margin-inline: auto; }
:where(.entry-content, .article-content, .paper-body, .an1-content) > .alignleft { margin-left: 0; margin-right: 1.5em; width: auto; max-width: min(50%, 760px); }
:where(.entry-content, .article-content, .paper-body, .an1-content) > .alignright { margin-right: 0; margin-left: 1.5em; width: auto; max-width: min(50%, 760px); }
.wp-caption { max-width: 100%; }
.wp-caption-text, .gallery-caption { margin-block: .5em 1.5em; font-size: .875em; line-height: 1.6; text-align: center; }
:where(.entry-content, .article-content, .paper-body, .an1-content) pre { max-width: 100%; overflow: auto; padding: 1em; background: rgb(128 128 128 / .1); }
:where(.entry-content, .article-content, .paper-body, .an1-content) table { border-collapse: collapse; max-width: 100%; }
:where(.entry-content, .article-content, .paper-body, .an1-content) :is(td, th) { padding: .6em; border: 1px solid rgb(128 128 128 / .35); overflow-wrap: anywhere; }
:where(.entry-content, .article-content, .paper-body, .an1-content) :is(iframe, video, embed, object) { max-width: 100%; }
:where(.entry-content, .article-content, .paper-body, .an1-content) .wp-block-table { overflow-x: auto; }
:where(.entry-content, .article-content, .paper-body, .an1-content) blockquote { margin-block: 1.5em; padding-inline-start: 1.2em; border-inline-start: 3px solid currentColor; }
:where(.entry-content, .article-content, .paper-body, .an1-content) a { text-decoration: underline; text-underline-offset: .18em; }
:where(a, button, input, select, textarea, summary):focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
:where(main) { scroll-margin-top: 10rem; }
:where(.comments-area, .comment-respond) { margin-block: 2rem; max-width: 100%; overflow-wrap: anywhere; }
:where(.comments-area) .comment-list { margin: 0; padding-inline-start: 0; list-style: none; }
:where(.comments-area) .children { padding-inline-start: min(4vw, 1.5rem); list-style: none; }
:where(.comments-area) .comment-body { padding-block: 1.2rem; border-bottom: 1px solid rgb(128 128 128 / .3); }
:where(.comments-area) .bypostauthor > .comment-body { border-inline-start: 3px solid currentColor; padding-inline-start: 1rem; }
:where(.comments-area) .avatar { float: inline-start; margin-inline-end: .75rem; border-radius: 50%; }
:where(.comments-area, .comment-respond) :is(input:not([type=checkbox]):not([type=radio]), textarea) { display: block; width: 100%; max-width: 100%; padding: .75rem; border: 1px solid #808080; border-radius: 4px; font: inherit; color: inherit; background: transparent; box-sizing: border-box; }
:where(.comments-area, .comment-respond) input[type=submit] { width: auto; cursor: pointer; min-height: 44px; }
:where(.comments-area, .comment-respond) label { display: inline-block; margin-bottom: .35rem; }
:where(.comments-area) .reply a { display: inline-flex; align-items: center; min-height: 44px; }
:where(.post-navigation) .nav-links { display: flex; flex-wrap: wrap; gap: 1rem; overflow-wrap: anywhere; }
:where(.post-navigation) :is(.nav-previous, .nav-next) { flex: 1 1 15rem; min-width: 0; }
.nx-search-form { display: flex; flex-wrap: wrap; gap: .6rem; max-width: 100%; }
.nx-search-form input[type=search] { flex: 1 1 12rem; min-width: 0; max-width: 100%; padding: .8rem; font: inherit; color: #17202a; background: #fff; border: 1px solid #808080; }
.nx-search-form button { min-height: 44px; padding: .8rem 1.1rem; font: inherit; color: #fff; background: #17202a; border: 0; cursor: pointer; }
.nx-standard-shell { width: min(1120px, calc(100% - 2rem)); margin: 3rem auto; }
.nx-standard-shell h1 { overflow-wrap: anywhere; }
.nx-standard-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); gap: 2rem; }
.nx-standard-card { min-width: 0; padding-block: 1rem; border-bottom: 1px solid rgb(128 128 128 / .35); }
.nx-standard-card img { display: block; width: 100%; height: auto; }
.nx-standard-card h2 { font-size: clamp(1.35rem, 3vw, 1.9rem); line-height: 1.25; }
.nx-standard-card a { color: inherit; }
.nx-empty-state { padding: clamp(1rem, 3vw, 2rem); border: 1px solid rgb(128 128 128 / .35); }
body.nx-theme-ready .nx-skip-link { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
body.nx-theme-ready .nx-skip-link:focus { position: fixed; z-index: 100000; top: 1rem; left: 1rem; width: auto; height: auto; padding: .8rem 1rem; background: #fff; color: #111; clip: auto; clip-path: none; }
@media (max-width: 600px) {
    :where(.entry-content, .article-content, .paper-body, .an1-content) > :is(.alignleft, .alignright) { float: none; max-width: 100%; margin-inline: auto; }
    .nx-standard-shell { margin-block: 1.5rem; }
}
@media (prefers-reduced-motion: reduce) { html:focus-within { scroll-behavior: auto; } }
