/*
Theme Name: Exhibit Binder
Description: A theme for a directory of lawyers and law firms made of filed listings, read section by section. The front page opens a binder: a label with the directory's counts, the firm profiles and guides the site owner chose, and index tabs for the largest sections; then every section, the articles in three file folders and the newest filings. A section prints every listing in full, 25 to a screen, every screen reached by numbered links. An article reads beside its folder.
Version: 1.2.0
Requires at least: 6.2
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: exhibit-binder
*/

:root {
	--exb-ground: #dae4e3;
	--exb-sheet: #fffbe5;
	--exb-band: #e0ebe8;
	--exb-manila: #ecdcb4;
	--exb-ink: #141b24;
	--exb-ink-soft: #4b5258;
	--exb-link: #1d43a3;
	--exb-link-hover: #8c2a10;
	--exb-cover: #233140;
	--exb-on-cover: #f2f4f5;
	--exb-cover-link: #cfe0ff;
	--exb-steel: #a3abb2;
	--exb-tag: #f3cc3b;
	--exb-on-tag: #15191c;
	--exb-line: #ccd2d3;
	--exb-line-strong: #66707a;
	--exb-ring: #c2410c;
	--exb-t1: #a87d00;
	--exb-t2: #2f7cc0;
	--exb-t3: #3b8a47;
	--exb-t4: #c2503f;
	--exb-t5: #b4661c;
	--exb-serif: Georgia, "Times New Roman", Times, serif;
	--exb-sans: "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
	--exb-print: Arial, "Helvetica Neue", Helvetica, sans-serif;
	--exb-mono: "Cascadia Mono", Consolas, "Courier New", monospace;
	--exb-hand: "Segoe Print", "Bradley Hand", "Comic Sans MS", cursive;
}

@media (prefers-color-scheme:dark) {
	:root {
		--exb-ground: #101c22;
		--exb-sheet: #1a232b;
		--exb-band: #132026;
		--exb-manila: #3b3324;
		--exb-ink: #e4eef0;
		--exb-ink-soft: #adb5bc;
		--exb-link: #a3bdff;
		--exb-link-hover: #ffb699;
		--exb-cover: #2b3b4d;
		--exb-on-cover: #eef2f5;
		--exb-cover-link: #d6e4ff;
		--exb-steel: #7f8993;
		--exb-tag: #e8c232;
		--exb-on-tag: #121518;
		--exb-line: #2e353b;
		--exb-line-strong: #8b959f;
		--exb-ring: #ff8f57;
		--exb-t1: #d9b02a;
		--exb-t2: #5c9fdc;
		--exb-t3: #5fae6b;
		--exb-t4: #e07a6a;
		--exb-t5: #d48a44;
	}
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 24px; }
body { margin: 0; background: var(--exb-ground); color: var(--exb-ink); font: 1.0625rem/1.6 var(--exb-sans); overflow-wrap: break-word; }
img, video, iframe { max-width: 100%; }
img { height: auto; }
a { color: var(--exb-link); text-underline-offset: 3px; }
a:hover { color: var(--exb-link-hover); }
:focus-visible { outline: 3px solid var(--exb-ring); outline-offset: 2px; }
.exb-band :focus-visible, .exb-base :focus-visible, .exb-binder-board :focus-visible { outline-color: var(--exb-tag); }
h1, h2, h3 { font-family: var(--exb-serif); font-weight: 700; line-height: 1.2; text-wrap: balance; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); border: 0; white-space: nowrap; }
.exb-jumper:focus { position: fixed; top: 8px; left: 8px; z-index: 10; width: auto; height: auto; margin: 0; padding: 10px 14px; clip-path: none; background: var(--exb-sheet); color: var(--exb-link); }
.exb-plane { width: min(100% - 32px, 75rem); margin-inline: auto; }

/* The top band */
.exb-band { background: var(--exb-cover); color: var(--exb-on-cover); }
.exb-band a { color: var(--exb-on-cover); }
.exb-band a:hover { color: var(--exb-cover-link); }
.exb-band-in { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 24px; min-height: 64px; padding-block: 8px; }
.exb-sitename { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font: 700 1.1875rem/1.2 var(--exb-serif); text-decoration: none; }
.exb-clip { width: 28px; height: 28px; flex: none; }
.exb-clip-wire { fill: none; stroke: var(--exb-steel); stroke-width: 2; stroke-linejoin: round; }
.exb-clip-body { fill: var(--exb-on-cover); }
.exb-band-nav ul, .exb-base-nav ul { display: flex; flex-wrap: wrap; gap: 0 20px; margin: 0; padding: 0; list-style: none; }
.exb-band-nav a, .exb-base-nav a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
.exb-band-seek { flex: 1 1 18rem; min-width: 0; max-width: 26rem; margin-left: auto; }

/* The search box */
.exb-query { display: flex; min-width: 0; }
.exb-query-box { flex: 1 1 0; width: 0; min-width: 0; min-height: 44px; padding: 6px 12px; background: var(--exb-sheet); color: var(--exb-ink); border: 2px solid var(--exb-line-strong); border-right: 0; border-radius: 6px 0 0 6px; font: 1rem/1.3 var(--exb-sans); }
.exb-query-box::placeholder { color: var(--exb-ink-soft); opacity: 1; }
.exb-query-box:focus-visible { outline: none; border-color: var(--exb-ring); }
.exb-query-go { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; background: var(--exb-tag); color: var(--exb-on-tag); border: 2px solid var(--exb-line-strong); border-radius: 0 6px 6px 0; font: 700 0.9375rem/1 var(--exb-sans); cursor: pointer; }
.exb-query-go:focus-visible { outline: 3px solid var(--exb-ring); outline-offset: 2px; }
.exb-query-glass { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }

/* The cover of the front page */
.exb-cover { padding-block: 28px 36px; }
.exb-cover-in { display: grid; gap: 24px; align-items: start; }
.exb-cover-h { margin: 0; max-width: 20ch; font-size: clamp(1.875rem, 1.35rem + 2.2vw, 3rem); }
.exb-cover-say { max-width: 38rem; margin: 14px 0 0; font-size: 1.125rem; color: var(--exb-ink-soft); }
.exb-cover-key { display: flex; align-items: center; gap: 14px; max-width: 34rem; margin: 22px 0 0; padding: 12px 14px; background: var(--exb-sheet); border: 1px solid var(--exb-line); border-radius: 6px; font-size: 0.9375rem; line-height: 1.5; }
.exb-cover-key-tag { display: grid; justify-items: center; flex: none; padding: 5px 10px 6px; background: var(--exb-tag); color: var(--exb-on-tag); border-radius: 3px; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25); transform: rotate(-3deg); font: 700 1.25rem/1.1 var(--exb-hand); }
.exb-cover-key-tag span { font: 700 0.625rem/1.2 var(--exb-sans); letter-spacing: 0.14em; text-transform: uppercase; }

/* The open binder */
.exb-binder { margin: 0; min-width: 0; }
.exb-binder-board { position: relative; display: grid; gap: 14px; padding: 18px 16px 18px 48px; background: var(--exb-cover); border-radius: 6px 12px 12px 6px; box-shadow: inset 6px 0 0 rgba(0, 0, 0, 0.18); }
.exb-binder-rings { position: absolute; top: 0; bottom: 0; left: 12px; display: flex; flex-direction: column; justify-content: space-evenly; }
.exb-binder-rings span { display: block; width: 24px; height: 24px; border: 4px solid var(--exb-steel); border-radius: 50%; }
.exb-binder-label { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 0; padding: 8px 12px; background: var(--exb-sheet); border: 2px solid var(--exb-steel); border-radius: 4px; font: 0.8125rem/1.3 var(--exb-sans); }
.exb-binder-label div { display: flex; align-items: baseline; gap: 6px; }
.exb-binder-label dt { color: var(--exb-ink-soft); }
.exb-binder-label dd { margin: 0; font: 700 0.9375rem/1.3 var(--exb-mono); }
.exb-binder-label a { display: inline-flex; align-items: center; justify-content: center; min-width: 32px; min-height: 44px; padding-inline: 4px; }
.exb-binder-tabs { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.exb-binder-tab { display: grid; gap: 2px; align-content: center; min-height: 44px; padding: 8px 10px; background: var(--exb-sheet); color: var(--exb-ink); border-left: 6px solid var(--exb-t1); border-radius: 0 6px 6px 0; font: 0.8125rem/1.25 var(--exb-sans); text-decoration: none; }
.exb-binder-tab:nth-child(5n+2) { border-left-color: var(--exb-t2); }
.exb-binder-tab:nth-child(5n+3) { border-left-color: var(--exb-t3); }
.exb-binder-tab:nth-child(5n+4) { border-left-color: var(--exb-t4); }
.exb-binder-tab:nth-child(5n) { border-left-color: var(--exb-t5); }
.exb-binder-tab-name { font-weight: 700; overflow-wrap: anywhere; text-decoration: underline; text-underline-offset: 3px; }
.exb-binder-tab-n { font-family: var(--exb-mono); color: var(--exb-ink-soft); }
.exb-binder-list { min-width: 0; padding: 14px 18px 10px; background: var(--exb-sheet); color: var(--exb-ink); border-radius: 2px; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.18), 0 6px 18px rgba(0, 0, 0, 0.12); }
.exb-binder-list-h { margin: 0 0 6px; padding-bottom: 8px; border-bottom: 2px solid var(--exb-steel); font: 700 1.0625rem/1.3 var(--exb-sans); }
.exb-binder-list-row { margin: 0; padding: 0; list-style: none; }
.exb-binder-list-row li { border-top: 1px solid var(--exb-line); }
.exb-binder-list-row li:first-child { border-top: 0; }
.exb-binder-list-row a { display: flex; align-items: center; min-height: 44px; padding-block: 8px; font-size: 0.9375rem; line-height: 1.35; overflow-wrap: anywhere; }

/* A filed page printed as a sheet, with its exhibit sticker */
.exb-capture { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; min-width: 0; padding: 14px 18px 16px; background: var(--exb-sheet); color: var(--exb-ink); border-radius: 2px; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.18), 0 6px 18px rgba(0, 0, 0, 0.12); font-family: var(--exb-print); }
.exb-capture-top, .exb-capture-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 16px; margin: 0; font-size: 0.75rem; line-height: 1.35; color: var(--exb-ink-soft); }
.exb-capture-name { min-width: 0; overflow-wrap: anywhere; }
.exb-capture-where { min-width: 0; overflow-wrap: anywhere; }
.exb-capture-text { min-width: 0; font-size: 0.9375rem; line-height: 1.55; }
.exb-capture-text > :first-child { margin-top: 0; }
.exb-capture-text p { margin: 0 0 0.9em; }
.exb-capture-text a { overflow-wrap: anywhere; }
.exb-capture-text hr { height: 0; margin: 1em 0; border: 0; border-top: 1px solid var(--exb-line); }
.exb-sticker { display: grid; justify-items: center; justify-self: end; gap: 0; margin: 0; padding: 6px 12px 7px; background: var(--exb-tag); color: var(--exb-on-tag); border-radius: 3px; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25); transform: rotate(-3deg); line-height: 1.1; text-align: center; }
.exb-sticker-word { font: 700 0.6875rem/1.2 var(--exb-sans); letter-spacing: 0.14em; text-transform: uppercase; }
.exb-sticker-no { font: 700 1.5rem/1.15 var(--exb-hand); }
.exb-sticker-of { font: 600 0.6875rem/1.2 var(--exb-sans); }

/* The articles in their folders */
.exb-shelf { padding-block: 30px 36px; background: var(--exb-band); border-block: 1px solid var(--exb-line); }
.exb-shelf-h, .exb-sections-h, .exb-fresh-h, .exb-others-h { margin: 0; font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem); }
.exb-shelf-say, .exb-sections-say { max-width: 44rem; margin: 8px 0 0; color: var(--exb-ink-soft); }
.exb-shelf-row { display: grid; gap: 22px; margin-top: 20px; }
.exb-folder { position: relative; min-width: 0; padding-top: 2.5rem; }
.exb-folder::before { content: ""; position: absolute; inset: 2.5rem 0 0; background: var(--exb-manila); border-radius: 0 10px 10px 10px; }
.exb-folder > * { position: relative; }
.exb-folder-h { position: absolute; top: 0; left: 0; display: flex; align-items: center; gap: 8px; max-width: 100%; height: 2.5rem; margin: 0; padding: 0 16px; background: var(--exb-manila); border-radius: 10px 10px 0 0; font: 700 0.9375rem/1.2 var(--exb-sans); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.exb-folder-n { padding: 1px 8px; background: var(--exb-sheet); border-radius: 10px; font: 700 0.8125rem/1.4 var(--exb-mono); }
.exb-folder-list { margin: 0; padding: 10px 16px 6px; list-style: none; }
.exb-folder-list li { border-top: 1px solid var(--exb-line-strong); }
.exb-folder-list li:first-child { border-top: 0; }
.exb-folder-go { display: flex; flex-wrap: wrap; align-items: center; gap: 0 6px; min-height: 44px; padding-block: 9px; line-height: 1.35; font-family: var(--exb-serif); }
.exb-folder-a, .exb-folder-b { font-weight: 700; }
.exb-folder-and { color: var(--exb-ink-soft); font-style: italic; }
.exb-folder-what { flex-basis: 100%; font: 0.8125rem/1.3 var(--exb-sans); color: var(--exb-ink-soft); }



/* Every section of the directory */
.exb-sections { padding-block: 32px 36px; }
.exb-sections-list, .exb-others-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.exb-sections-go, .exb-others-go { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding: 8px 12px 8px 14px; background: var(--exb-sheet); border: 1px solid var(--exb-line); border-left: 8px solid var(--exb-t1); border-radius: 0 8px 8px 0; text-decoration: none; }
.exb-sections-list li:nth-child(5n+2) a, .exb-others-list li:nth-child(5n+2) a { border-left-color: var(--exb-t2); }
.exb-sections-list li:nth-child(5n+3) a, .exb-others-list li:nth-child(5n+3) a { border-left-color: var(--exb-t3); }
.exb-sections-list li:nth-child(5n+4) a, .exb-others-list li:nth-child(5n+4) a { border-left-color: var(--exb-t4); }
.exb-sections-list li:nth-child(5n) a, .exb-others-list li:nth-child(5n) a { border-left-color: var(--exb-t5); }
.exb-sections-name, .exb-others-name { min-width: 0; font-weight: 700; line-height: 1.35; text-decoration: underline; text-underline-offset: 3px; }
.exb-sections-n, .exb-others-n { flex: none; padding: 2px 8px; background: var(--exb-tag); color: var(--exb-on-tag); border-radius: 3px; font: 700 0.8125rem/1.3 var(--exb-mono); }

/* A section: its divider band and its listings in full */
.exb-divider { padding-block: 16px 24px; background: var(--exb-band); border-bottom: 1px solid var(--exb-line); box-shadow: inset 0 6px 0 var(--exb-tag); }
.exb-divider-h { margin: 6px 0 0; max-width: 30ch; font-size: clamp(1.75rem, 1.35rem + 1.8vw, 2.75rem); }
.exb-divider-say { max-width: 44rem; margin-top: 12px; color: var(--exb-ink-soft); }
.exb-divider-say p { margin: 0 0 0.6em; }
.exb-reading { padding-block: 22px 40px; }
.exb-entries-full .exb-entry { padding-block: 22px 26px; }
.exb-others { margin-top: 32px; }

/* Lists of posts */
.exb-fresh { padding-block: 34px 40px; }
.exb-entries { margin: 18px 0 0; padding: 0; list-style: none; }
.exb-entry { min-width: 0; padding-block: 14px 16px; border-top: 1px solid var(--exb-line-strong); break-inside: avoid; }
.exb-entry-kind { margin: 0 0 4px; font: 700 0.75rem/1.3 var(--exb-sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--exb-ink-soft); }
.exb-entry-h { margin: 0 0 10px; font: 700 1.25rem/1.35 var(--exb-serif); overflow-wrap: anywhere; }
.exb-entry-at { font: 700 1rem/1.4 var(--exb-mono); color: var(--exb-ink); }
.exb-entry-go { display: inline-flex; align-items: center; min-height: 44px; }
.exb-entry-text { max-width: 44rem; font: 1.0625rem/1.7 var(--exb-serif); }
.exb-entry-text p, .exb-entry-text ul, .exb-entry-text ol { margin-block: 0 1em; }
.exb-entry-text h2 { margin: 1.4em 0 0.5em; font-size: 1.3125rem; }
.exb-entry-text h3 { margin: 1.2em 0 0.4em; font-size: 1.125rem; }
.exb-entry .exb-capture { max-width: 46rem; }
.exb-ladder { display: grid; gap: 6px; margin-top: 12px; }
.exb-ladder-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0; }
.exb-ladder-k { min-width: 7.5rem; font: 700 0.8125rem/1.3 var(--exb-sans); color: var(--exb-ink-soft); }
.exb-ladder-go { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 10px; background: var(--exb-sheet); border: 1px solid var(--exb-line); border-radius: 4px; font: 600 0.875rem/1 var(--exb-mono); text-decoration: none; }
.exb-ladder-here { background: var(--exb-cover); color: var(--exb-on-cover); border-color: var(--exb-cover); }
.exb-entry-say { margin: 4px 0 0; color: var(--exb-ink-soft); font-size: 0.9375rem; line-height: 1.5; }
.exb-entry-when { margin: 6px 0 0; font: 0.8125rem/1.3 var(--exb-mono); color: var(--exb-ink-soft); }
.exb-listing { padding-block: 26px 40px; }
.exb-listing-h { margin: 0 0 8px; font-size: clamp(1.625rem, 1.3rem + 1.4vw, 2.375rem); overflow-wrap: anywhere; }
.exb-listing-say { max-width: 44rem; margin: 6px 0 0; color: var(--exb-ink-soft); }
.exb-listing .exb-query { max-width: 34rem; margin-block: 14px 6px; }
.exb-nothing-yet { margin: 16px 0; font-size: 1.125rem; }
.exb-crumb { margin: 0; font-size: 0.9375rem; }
.exb-crumb a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; overflow-wrap: anywhere; }
.exb-crumb-cut { margin-inline: 4px; color: var(--exb-ink-soft); }
.pagination { margin-top: 22px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 6px; }
.pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 12px; background: var(--exb-sheet); border: 1px solid var(--exb-line-strong); border-radius: 4px; font: 600 0.9375rem/1 var(--exb-mono); text-decoration: none; }
.pagination .page-numbers.current { background: var(--exb-cover); color: var(--exb-on-cover); border-color: var(--exb-cover); }
.pagination .page-numbers.dots { background: none; border: 0; min-width: 24px; padding: 0 2px; }

/* A filed page: its band, its sheet and its rail */
.exb-filehead { padding-block: 16px 22px; background: var(--exb-band); border-bottom: 1px solid var(--exb-line); }
.exb-filehead .exb-head-h { margin: 4px 0 0; font: 700 clamp(1.25rem, 1rem + 1.1vw, 1.75rem)/1.3 var(--exb-mono); overflow-wrap: anywhere; }
.exb-chips { display: flex; flex-wrap: wrap; gap: 6px 8px; margin: 14px 0 0; padding: 0; list-style: none; font: 600 0.8125rem/1.25 var(--exb-sans); }
.exb-chips li { display: inline-flex; align-items: center; min-height: 32px; padding: 4px 12px; background: var(--exb-sheet); border: 1px solid var(--exb-line-strong); border-radius: 4px; overflow-wrap: anywhere; }
.exb-filedin { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 10px 0 0; font-size: 0.9375rem; }
.exb-filedin-k { font-weight: 700; color: var(--exb-ink-soft); }
.exb-filedin-go { display: inline-flex; align-items: center; min-height: 44px; }
.exb-crumb-here { color: var(--exb-ink-soft); }
.exb-filebody, .exb-docbody { display: grid; gap: 28px; padding-block: 28px 36px; }
.exb-filemain { min-width: 0; max-width: 46rem; }
.exb-capture-full { padding: 18px 22px 20px; }
.exb-capture-full .exb-capture-text { font-size: 1.0625rem; line-height: 1.6; }

/* An article: its folder band and its text */
.exb-dochead { padding-block: 16px 24px; background: var(--exb-manila); }
.exb-dochead .exb-head-h { margin: 6px 0 0; max-width: 34ch; font-size: clamp(1.625rem, 1.3rem + 1.6vw, 2.5rem); }
.exb-match { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 6px 0 0; }
.exb-match-a, .exb-match-b { padding: 6px 14px; background: var(--exb-sheet); border: 2px solid var(--exb-ink); border-radius: 4px; font: 700 1.125rem/1.25 var(--exb-serif); }
.exb-match-and { font: italic 1rem/1.2 var(--exb-serif); color: var(--exb-ink-soft); }
.exb-doctext { min-width: 0; max-width: 44rem; font: 1.125rem/1.7 var(--exb-serif); }
.exb-doctext > :first-child { margin-top: 0; }
.exb-doctext p, .exb-doctext ul, .exb-doctext ol { margin-block: 0 1.05em; }
.exb-doctext li { margin-bottom: 0.35em; }
.exb-doctext h2 { margin: 1.7em 0 0.5em; font-size: 1.5rem; }
.exb-doctext h3 { margin: 1.4em 0 0.45em; font-size: 1.25rem; }
.exb-doctext .exb-opening { padding: 4px 0 4px 16px; border-left: 5px solid var(--exb-tag); font-size: 1.25rem; line-height: 1.6; }
.exb-tablebox { max-width: 100%; overflow-x: auto; margin: 0 0 1.2em; }
.exb-tablebox:focus-visible { outline-offset: 4px; }
.exb-doctext table { width: 100%; margin: 0; border-collapse: collapse; font: 0.9688rem/1.5 var(--exb-sans); }
.exb-doctext figure { margin: 0 0 1.2em; }
.exb-doctext figure .exb-tablebox { margin: 0; }
.exb-doctext th { padding: 9px 12px; background: var(--exb-band); color: var(--exb-ink); border-bottom: 2px solid var(--exb-line-strong); text-align: left; vertical-align: bottom; }
.exb-doctext td { padding: 9px 12px; border-bottom: 1px solid var(--exb-line); vertical-align: top; }
.exb-doctext blockquote { margin: 0 0 1em; padding-left: 16px; border-left: 3px solid var(--exb-line-strong); }
.exb-pagesgo { font-weight: 600; }
.exb-endnote { margin-top: 28px; padding: 14px 18px 16px; background: var(--exb-sheet); border: 1px solid var(--exb-line); border-top: 4px solid var(--exb-ink); color: var(--exb-ink-soft); font: 0.9688rem/1.6 var(--exb-sans); }
.exb-endnote .exb-endnote-h { margin: 0 0 6px; font: 700 1rem/1.3 var(--exb-sans); color: var(--exb-ink); }
.exb-endnote p { margin: 0; }

/* The rail */
.exb-flank { display: grid; gap: 14px; align-content: start; min-width: 0; }
.exb-flank-box { min-width: 0; padding: 14px 16px 12px; background: var(--exb-sheet); border: 1px solid var(--exb-line); border-radius: 6px; }
.exb-flank-h { margin: 0 0 6px; font: 700 0.875rem/1.35 var(--exb-sans); letter-spacing: 0.02em; color: var(--exb-ink-soft); }
.exb-flank-host { margin: 0; font: 700 1.0625rem/1.3 var(--exb-mono); overflow-wrap: anywhere; }
.exb-flank-n { margin: 2px 0 8px; font: 0.875rem/1.3 var(--exb-mono); color: var(--exb-ink-soft); }
.exb-flank-pages, .exb-flank-list { margin: 0; padding: 0; list-style: none; }
.exb-flank-pages li, .exb-flank-list li { border-top: 1px solid var(--exb-line); }
.exb-flank-pages li:first-child, .exb-flank-list li:first-child { border-top: 0; }
.exb-flank-list a { display: flex; flex-wrap: wrap; align-items: center; gap: 0 6px; min-height: 44px; padding-block: 8px; line-height: 1.35; }
.exb-flank-page { display: flex; align-items: center; gap: 10px; min-height: 44px; padding-block: 6px; }
.exb-flank-no { flex: none; min-width: 2.75rem; padding: 2px 6px; background: var(--exb-tag); color: var(--exb-on-tag); border-radius: 3px; font: 700 0.8125rem/1.3 var(--exb-mono); text-align: center; }
.exb-flank-path { min-width: 0; font: 0.8125rem/1.35 var(--exb-mono); overflow-wrap: anywhere; }
.exb-flank-here { font-weight: 700; }
.exb-flank-here .exb-flank-path { font-weight: 700; }
.exb-flank-site-name { font-weight: 700; overflow-wrap: anywhere; }

/* Newer and older in the same folder */
.exb-sides { padding-block: 22px 26px; background: var(--exb-band); border-top: 1px solid var(--exb-line); }
.exb-sides-in { display: grid; gap: 10px; }
.exb-sides-go { display: grid; gap: 4px; min-width: 0; min-height: 44px; padding: 12px 16px; background: var(--exb-sheet); border: 1px solid var(--exb-line); border-radius: 6px; text-decoration: none; }
.exb-sides-tag { font: 600 0.8125rem/1.3 var(--exb-sans); color: var(--exb-ink-soft); }
.exb-sides-name { line-height: 1.35; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.exb-remarks { padding-block: 8px 32px; }

/* Pages of the site and the lost address */
.exb-leaf { padding-block: 28px 40px; }
.exb-leaf-in { width: min(100% - 32px, 46rem); margin-inline: auto; padding-block: 28px 40px; }
.exb-leaf .exb-leaf-in { padding-block: 0; }
.exb-leaf-text p { margin-block: 0 1em; }
.exb-gohome { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }

/* Comments */
.exb-replies { max-width: 44rem; margin-top: 8px; }
.exb-replies-h, .comment-reply-title { font-size: 1.3125rem; }
.exb-replies-list { padding-left: 1.2em; }
.comment-form label { display: block; font-weight: 600; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea { width: 100%; min-height: 44px; padding: 6px 10px; background: var(--exb-sheet); color: var(--exb-ink); border: 1px solid var(--exb-line-strong); border-radius: 6px; font: inherit; }
.comment-form .submit { min-height: 44px; padding: 6px 18px; background: var(--exb-cover); color: var(--exb-on-cover); border: 0; border-radius: 6px; font: 700 1rem/1.2 var(--exb-sans); cursor: pointer; }

/* The foot */
.exb-base { padding-block: 24px 28px; background: var(--exb-cover); color: var(--exb-on-cover); }
.exb-base a { color: var(--exb-on-cover); }
.exb-base a:hover { color: var(--exb-cover-link); }
.exb-base-in { display: grid; gap: 14px; }
.exb-base-h { margin: 0 0 8px; font: 700 0.875rem/1.3 var(--exb-sans); letter-spacing: 0.04em; }
.exb-base-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; margin: 0; padding: 0; list-style: none; }
.exb-base-row a { display: flex; align-items: center; min-height: 44px; padding-block: 8px; font-size: 0.875rem; line-height: 1.35; overflow-wrap: anywhere; }
.exb-base-year { margin: 0; font-size: 0.9375rem; }

@media (max-width: 639px) {
	.exb-base-nav ul { display: grid; grid-template-columns: 1fr 1fr; }
	.exb-band-seek { flex-basis: 100%; max-width: none; }
	.exb-capture { padding-inline: 14px; }
}

@media (min-width: 640px) {
	.exb-sides-in { grid-template-columns: 1fr 1fr; }
	.exb-sides-after { grid-column: 2; }
	.exb-sections-list, .exb-others-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.exb-base-row { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
	.exb-shelf-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.exb-capture { grid-template-columns: minmax(0, 1fr) auto; }
	.exb-capture-top, .exb-capture-text, .exb-capture-foot { grid-column: 1; }
	.exb-sticker { grid-column: 2; grid-row: 2; align-self: start; }
	.exb-binder-board { grid-template-columns: minmax(0, 1fr) minmax(10rem, 13rem); align-items: start; }
	.exb-binder-tab { font-size: 0.78rem; }
	.exb-binder-label { grid-column: 1 / -1; }
	.exb-binder-tabs { grid-template-columns: minmax(0, 1fr); margin-right: -26px; }
	.exb-binder-tab { box-shadow: 0 1px 3px rgba(0, 0, 0, 0.22); }
}

@media (min-width: 900px) {
	.exb-cover-in { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); column-gap: 44px; }
}

@media (min-width: 1000px) {
	.exb-sections-list, .exb-others-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.exb-shelf-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.exb-filebody, .exb-docbody { grid-template-columns: minmax(0, 46rem) minmax(17rem, 22rem); justify-content: space-between; column-gap: 48px; }
	.exb-flank { position: sticky; top: 16px; max-height: calc(100vh - 32px); overflow-y: auto; }
}

@media print {
	.exb-band, .exb-base, .exb-flank, .exb-sides, .exb-replies, .pagination, .exb-ladder { display: none; }
	.exb-capture { box-shadow: none; border: 1px solid #999; }
}
