/* wgf-forever-page - page header, lead, jump tiles and aside lists for every page built by
   forever_page.document (Forever guides, database pages, change pages). Loaded by forever_page.py.
   The head window's h1 used to sit inside the 42px metal title band at 38px, which pushed the text
   off the band. The head window now carries a real page header instead of a band. */

/* ---- page header (the head window's h1) ---- */
.wgf-dbj .wgf-dbj-head > h1.wgf-window__title {
  display: block; min-height: 0; margin: 0; padding: 0 28px 16px;
  border: 0; background: linear-gradient(180deg, rgba(255, 209, 0, .07), rgba(255, 209, 0, 0) 85%);
  text-align: left; line-height: 1.12; font-size: var(--wh-h1, 38px);
  text-wrap: balance; overflow-wrap: anywhere;
  position: relative;
}
.wgf-dbj .wgf-dbj-head > h1.wgf-window__title::before {
  content: "WoW Forever"; display: block; height: 36px; margin: 0 0 22px; padding-left: 2px;
  /* the window frame paints a 36px metal band across the top; the label sits centred inside it */
  font: 700 11px/36px var(--wh-font, "Open Sans", Arial, sans-serif); font-variant: normal;
  letter-spacing: .14em; text-transform: uppercase; color: var(--wh-muted, #9a9a9a);
}
.wgf-dbj .wgf-dbj-head > h1.wgf-window__title::after {
  content: ""; display: block; width: 72px; height: 3px; margin: 14px 0 0;
  background: var(--wgf-gold, #ffd100); border-radius: 2px;
}
.wgf-dbj .wgf-dbj-head > h1.wgf-window__title + .wgf-window__body { padding-top: 6px; }

/* ---- lead: the short answer reads as a callout ---- */
.wgf-dbj .wgf-dbj-head .wgf-window__body > .wgf-seo-lead {
  margin: 0 0 14px; padding: 14px 18px; max-width: none;
  border-left: 3px solid var(--wgf-gold, #ffd100); border-radius: 0 4px 4px 0;
  background: rgba(255, 255, 255, .04);
  font-size: 16px; line-height: 1.6; color: var(--wh-text, #ddd);
}
.wgf-dbj .wgf-dbj-head .wgf-window__body > .wgf-seo-lead strong:first-child { color: var(--wgf-gold, #ffd100); }
.wgf-dbj .wgf-dbj-head .wgf-window__body > .wgf-db-window__desc {
  margin: 0 0 16px; font-size: 13px; line-height: 1.6; color: var(--wh-muted, #9a9a9a); max-width: none;
}

/* ---- jump list: numbered tiles instead of a bullet list ---- */
.wgf-dbj .fnp-jump {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px;
  list-style: none; margin: 4px 0 6px; padding: 0; max-width: none; counter-reset: fpj;
}
.wgf-dbj .fnp-jump > li { margin: 0; padding: 0; counter-increment: fpj; min-width: 0; }
.wgf-dbj .fnp-jump > li > a {
  display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 6px 12px;
  border: 1px solid var(--wh-border, #2e2e2e); border-radius: 4px; background: var(--wh-bar, #181818);
  font: 600 14px/1.25 var(--wh-font, "Open Sans", Arial, sans-serif);
  color: var(--wh-heading, #fff); text-decoration: none;
}
.wgf-dbj .fnp-jump > li > a::before {
  content: counter(fpj); flex: 0 0 24px; height: 24px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255, 209, 0, .14); color: var(--wgf-gold, #ffd100); font-size: 12px; font-weight: 700;
}
.wgf-dbj .fnp-jump > li > a:hover { border-color: var(--wgf-gold, #ffd100); background: #202020; }

/* ---- section windows: left-aligned headings with an anchor rule, not centred band text ---- */
.wgf-dbj .wgf-dbj-entry:not(.wgf-dbj-head) > h2.wgf-window__title {
  justify-content: flex-start; text-align: left; font-size: 17px;
}

/* ---- aside: link rows instead of a serif bullet list ---- */
.wgf-seo-aside .wgf-vhome-list { list-style: none; margin: 0; padding: 0; }
.wgf-seo-aside .wgf-vhome-list > li { margin: 0; padding: 0; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.wgf-seo-aside .wgf-vhome-list > li:last-child { border-bottom: 0; }
.wgf-seo-aside .wgf-vhome-list > li > a {
  display: block; padding: 7px 4px; font: 400 14px/1.35 var(--wh-font, "Open Sans", Arial, sans-serif);
  color: var(--wh-link, #ffd100); text-decoration: none;
}
.wgf-seo-aside .wgf-vhome-list > li > a:hover { background: rgba(255, 255, 255, .05); text-decoration: underline; }

@media (max-width: 640px) {
  .wgf-dbj .wgf-dbj-head > h1.wgf-window__title { padding: 0 16px 12px; font-size: 26px; }
  .wgf-dbj .wgf-dbj-head > h1.wgf-window__title::before { margin-bottom: 14px; }
  .wgf-dbj .wgf-dbj-head .wgf-window__body > .wgf-seo-lead { padding: 12px 14px; font-size: 15px; }
  .wgf-dbj .fnp-jump { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
