/* Book of Heroes forum archive. Builds on boh-help.css: the same parchment column and leather header. */

.forum { padding: 0 8px; }
.forum h2 {
  margin: .5em 0 .75em;
  font-size: 22px;
  font-weight: normal;
  line-height: 1.3;
  color: var(--heading);
  border-bottom: 1px solid var(--heading);
}
.crumbs { margin: .75em 0 0; font-size: 14px; }
.intro { font-family: Georgia, "Times New Roman", serif; }

/* Board and topic lists: one bordered row each, like the help guide's rows. */
.boards, .topics { margin: 0; padding: 0; list-style: none; }
.boards > li, .topics > li {
  margin: 0 0 .5em;
  padding: .5em .75em;
  border: 1px solid var(--leather);
  border-radius: 5px;
  background-image: linear-gradient(rgba(153,102,51,.1), rgba(153,102,51,0));
}
.boards > li > a, .topics > li > a { font-size: 18px; }
.boards .group { border: 0; background: none; padding: .5em 0 0; }
.boards .group > span { display: block; margin: 0 0 .5em; font-size: 18px; color: var(--heading); }
.boards .group .boards { margin-left: 1em; }
.desc { font: 14px/1.4 Georgia, "Times New Roman", serif; }
.stats { margin-top: .15em; font-size: 13px; opacity: .85; }
.badge { font-size: 12px; padding: 0 .4em; border: 1px solid var(--note-link); border-radius: 3px; color: var(--note-link); }
.jump { font-size: 13px; white-space: nowrap; }
.jump a { padding: 0 .2em; }

.pages { margin: .75em 0; text-align: center; font-size: 14px; }
.pages a, .pages .here { display: inline-block; min-width: 2em; margin: 0 .1em; padding: 0 .3em; border-radius: 4px; }
.pages a { border: 1px solid var(--link); }
.pages .here { border: 1px solid var(--ink); color: var(--heading); }
.pages .gap { padding: 0 .2em; }

/* Posts. */
.post {
  margin: 0 0 1em;
  border: 1px solid var(--leather);
  border-radius: 5px;
  background: rgba(255,255,255,.22);
}
.post .meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .25em .6em;
  padding: .35em .75em;
  border-bottom: 1px solid rgba(153,102,51,.4);
  background-image: linear-gradient(rgba(153,102,51,.14), rgba(153,102,51,0));
}
.post .author { margin: 0; font-size: 17px; font-weight: normal; color: var(--heading); scroll-margin-top: 60px; }
.forum h2 .pageno { font-size: 15px; color: var(--ink); }

/* Pagefind's search button, under the header on every archive page, and its panel in parchment colours. */
:root {
  --pf-text: #4a3218;
  --pf-text-secondary: #754E26;
  --pf-text-muted: #8a6a45;
  --pf-background: #f6eedb;
  --pf-border: rgba(153,102,51,.45);
  --pf-border-focus: #963;
  --pf-hover: rgba(153,102,51,.12);
  --pf-mark: #900;
  --pf-skeleton: #eadfc4;
  --pf-skeleton-shine: #f3ead4;
  --pf-outline-focus: #005F9D;
  --pf-font: Georgia, "Times New Roman", serif;
  --pf-result-title-font-size: 16px;
  --pf-result-excerpt-font-size: 14px;
  --pf-modal-backdrop: rgba(43,29,18,.6);
}
.search { display: flex; justify-content: flex-end; margin: .6em 0 0; }
.post .rank { font-size: 12px; padding: 0 .4em; border: 1px solid var(--leather); border-radius: 3px; }
.post .when { margin-left: auto; font-size: 13px; color: var(--ink); opacity: .85; }
.post .content {
  padding: .75em;
  font: 16px/1.5 Georgia, "Times New Roman", serif;
  color: #4a3218;
  overflow-wrap: anywhere;
}
.content b { color: inherit; }
.content .u { text-decoration: underline; }
.content ul, .content ol { margin: .25em 0 .5em; padding-left: 1.5em; }
.content li { margin: .15em 0; }
.content ol li { list-style: decimal; }
.content ol[type="a"] li { list-style: lower-alpha; }
.content blockquote {
  margin: .4em 0 .6em;
  padding: .4em .75em;
  border-left: 3px solid var(--leather);
  background: rgba(153,102,51,.09);
  border-radius: 0 4px 4px 0;
}
.content blockquote cite { display: block; font-style: normal; font-size: 13px; color: var(--leather); }
.content pre { margin: .5em 0; padding: .5em; overflow-x: auto; background: rgba(0,0,0,.06); font-size: 13px; }
.content img.smiley { vertical-align: middle; }
.content figure { margin: .5em 0; }
.content figure img { border: 1px solid rgba(153,102,51,.5); border-radius: 4px; }
.content figcaption { font-size: 13px; opacity: .85; }
.content .attachments { margin-top: 1em; padding-top: .5em; border-top: 1px dotted var(--leather); }
.content .attachments > p { margin: 0; font-size: 13px; color: var(--leather); }
.outside-image { font-size: 14px; }
.content .gone { margin: .5em 0; font-size: 13px; font-style: italic; opacity: .8; }
.outside-image::before { content: "\1F5BC\FE0E  "; }

/* The one poll. */
.poll { margin: 0 0 1em; padding: .5em .75em; border: 1px solid var(--leather); border-radius: 5px; }
.poll p { margin: 0 0 .5em; color: var(--heading); }
.poll ul { margin: 0; padding: 0; list-style: none; }
.poll li { display: grid; grid-template-columns: 9em 1fr 5em; align-items: center; gap: .5em; margin: .25em 0; font-size: 14px; }
.poll .bar { display: block; height: .8em; background: var(--leather); border-radius: 2px; }
.poll .votes { text-align: right; }
.poll .total { margin: .5em 0 0; font-size: 13px; color: var(--ink); }
