/* An article's text (nc-body-content, nc-content), as Wikipedia sets it: "From NetCyc, the free cyclopedia", the
   redirect note, the hatnote in italics, the text in the sans-serif at the Appearance menu's size, h2 in the serif over
   a rule, h3 bold, the references in a smaller size with "^" back to the text, footnote marks in brackets, tables,
   quotations, the image of an article without an infobox, and the categories box at the foot. The classes Markdown
   emits (c-footnote-ref, c-footnotes, c-extract, c-caps, c-equation) are styled here for NetCyc, never with
   ironsalt.world's look. On a narrow screen the short description shows under the title and the lead's first
   paragraph comes before the infobox, as on Wikipedia's mobile site. */

.nc-body-content { font-size: var(--nc-text-size); line-height: var(--nc-line); }
.nc-site-sub { margin-top: 0.5rem; font-size: var(--nc-ui-size); line-height: 1.6; }
.nc-redirected { color: var(--nc-subtle); font-size: var(--nc-ui-size); line-height: 1.6; }
.nc-short-description { display: none; }
.nc-notice { margin: 0.75rem 0; padding: 0.5rem 0.75rem; border: 1px solid var(--nc-notice-border); border-radius: 2px; background: var(--nc-notice); font-size: var(--nc-ui-size); }
.nc-hatnote { margin: 0.75rem 0 0.5rem; padding-left: 1.6em; font-style: italic; }
.nc-hatnote + .nc-content { margin-top: 0; }

.nc-content { margin-top: 1rem; overflow-wrap: break-word; }
.nc-content::after { display: table; clear: both; content: ""; }
.nc-content p { margin: 0.5em 0 1em; }
.nc-content > p:first-child, .nc-content > .nc-infobox + p, .nc-content > .nc-thumb + p { margin-top: 0; }
.nc-content h2, .nc-content h3, .nc-content h4 { color: var(--nc-heading); }
.nc-content h2 { display: flow-root; margin: 1em 0 0.25em; padding-bottom: 0.17em; border-bottom: 1px solid var(--nc-border); font-family: var(--nc-serif); font-size: 1.5em; font-weight: 400; line-height: 1.375; }
.nc-content h3 { margin: 0.9em 0 0.15em; font-size: 1.2em; font-weight: 700; line-height: 1.6; }
.nc-content h4 { margin: 0.8em 0 0.15em; font-size: 1em; font-weight: 700; line-height: 1.6; }
.nc-content ul, .nc-content ol { margin: 0.3em 0 0.5em 1.6em; padding: 0; }
.nc-content ul { list-style: disc; }
.nc-content li { margin-bottom: 0.1em; }
.nc-content li > ul, .nc-content li > ol { margin-top: 0.1em; margin-bottom: 0; }
.nc-content strong, .nc-content b { font-weight: 700; }
.nc-content hr { height: 1px; margin: 0.2em 0; border: 0; background: var(--nc-border); }
.nc-content code { padding: 0.0625em 0.25em; border: 1px solid var(--nc-border-subtle); border-radius: 2px; background: var(--nc-box); font-family: monospace, monospace; font-size: 0.875em; }
.nc-content pre { margin: 0.5em 0 1em; padding: 1em; overflow-x: auto; border: 1px solid var(--nc-border-subtle); background: var(--nc-box); font-size: 0.875em; line-height: 1.3; }
.nc-content pre code { padding: 0; border: 0; background: none; font-size: 1em; }
.nc-content blockquote, .nc-content .c-extract { margin: 1em 0; padding: 0 1.6em; overflow: hidden; }
.nc-content .c-caps { font-variant: normal; letter-spacing: normal; }
.nc-content .c-ornament { display: none; }
.nc-content .c-equation { margin: 0.5em 0 1em 1.6em; overflow-x: auto; }
.p-netcyc__selflink { font-weight: 700; }

.nc-content table:not(.nc-infobox) { margin: 1em 0; border: 1px solid var(--nc-border); border-collapse: collapse; background: var(--nc-box); font-size: 0.875em; line-height: 1.5; }
.nc-content table:not(.nc-infobox) :is(th, td) { padding: 0.2em 0.4em; border: 1px solid var(--nc-border); vertical-align: top; }
.nc-content table:not(.nc-infobox) th { background: var(--nc-hover); text-align: center; }

.c-footnote-ref { font-size: 0.75em; font-style: normal; font-weight: 400; line-height: 1; white-space: nowrap; }
.c-footnote-ref a::before { content: "["; }
.c-footnote-ref a::after { content: "]"; }
.nc-content .c-footnotes { font-size: 0.9em; line-height: 1.5; }
.nc-content .c-footnotes__list { margin: 0.3em 0 0.5em 2em; list-style: decimal; }
.nc-content .c-footnotes__list > li { margin-bottom: 0.1em; padding-left: 0.1em; }
.nc-content .c-footnotes__number { font-size: 0; font-weight: 700; user-select: none; }
.nc-content .c-footnotes__number::before { margin-right: 0.3em; content: "^"; font-size: 0.9rem; }
.nc-content .c-footnotes li:target { background: var(--nc-hover); }

.nc-thumb { float: right; clear: right; width: min(16.5rem, 100%); margin: 0.5em 0 1.3em 1.4em; }
.nc-thumb__image { display: block; width: 100%; }
.nc-thumb__caption { margin-top: 0.375rem; font-size: 0.875em; line-height: 1.4; }

.nc-catlinks { clear: both; margin-top: 1em; padding: 0.3125rem; border: 1px solid var(--nc-border); background: var(--nc-box); font-size: var(--nc-ui-size); line-height: 1.6; }
.nc-catlinks__list { display: inline; margin: 0; padding: 0; list-style: none; }
.nc-catlinks__list li { display: inline-block; margin: 0.125em 0; padding: 0 0.5em; border-left: 1px solid var(--nc-border); line-height: 1.25; }
.nc-catlinks__list li:first-child { padding-left: 0.25em; border-left: 0; }

.nc-title-list { columns: 3 15rem; column-gap: 2rem; }
.nc-marker, .nc-search-note, .nc-not-found { color: var(--nc-subtle); }
.nc-search--page { max-width: 40rem; margin: 0 0 1rem; }

@media (max-width: 40rem) {
  .nc-short-description { display: block; margin-top: 0.25rem; color: var(--nc-subtle); font-size: var(--nc-ui-size); line-height: 1.4; }
  .nc-content { display: flex; flex-direction: column; }
  .nc-content::after { display: none; }
  .nc-content > p:first-of-type { order: -1; margin-top: 0; }
  .nc-content > .nc-infobox + p { margin-top: 0.5em; }
  .nc-content > .nc-thumb { float: none; align-self: center; margin: 0 0 1em; }
}
