/* Charger après le thème Homebrewery V3 et balises.style.css. */
.phb-tome .page:not(:has(.frontCover)) .footnote {
  right: 70px;
  left: 70px;
  width: auto;
  font-size: 9px;
  white-space: nowrap;
}
.phb-tome .page:has(.insideCover) h1 { margin-top: 0.7cm; }
.phb-tome .page:has(.insideCover) h2 { font-size: 32px; line-height: 1.13; }
.phb-tome .page:has(.backCover) .backCover { background-image: none !important; }
.phb-tome .page:has(.backCover) .columnWrapper { width: auto; }
.phb-tome .page:has(.backCover) .backCoverText {
  position: absolute;
  top: 1.25cm;
  right: 1.3cm;
  left: 1.3cm;
  z-index: 0;
  width: auto;
  text-align: center;
}
.phb-tome .page:has(.backCover) h1 {
  font-size: 1.05cm;
  line-height: 1.05cm;
  white-space: nowrap;
}
.phb-tome .page:has(.backCover) p {
  max-width: 13cm;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}
.phb-tome .page th, .phb-tome .page td { overflow-wrap: anywhere; }
.phb-tome .page blockquote { break-inside: avoid; }
.phb-tome .page .citationLead {
  display: block;
  break-inside: avoid;
  margin-top: 0.235cm;
}
.phb-tome .page .citationLead > h4 { margin-top: 0; }
.phb-tome .page .note p { text-indent: 0; }
.phb-tome .page:has(#archétypes-et-rôles-à-la-table) p:has(> strong:first-child) {
  text-indent: 0;
}
/* Gardes de chapitre : image dans le flux, 12px sous le trait du titre. */
.phb-tome .page:has(.chapterOpening) {
  --chapter-image-gap: 12px;
  padding-bottom: 0;
}
.phb-tome .page .chapterOpening { display: none; }
.phb-tome .page:has(.chapterOpening) .columnWrapper {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.phb-tome .page:has(.chapterOpening) :is(h1, h2, hr) { flex-shrink: 0; }
.phb-tome .page:has(.chapterOpening) hr { margin: 0 auto; }
.phb-tome .page:has(.chapterOpening) .columnWrapper > p:has(> img) {
  flex: 1;
  min-height: 0;
  margin: var(--chapter-image-gap) -1.9cm 0;
  padding: 0;
  line-height: 0;
}
.phb-tome .page:has(.chapterOpening) p > img {
  display: block;
  position: static;
  width: 100%;
  height: 100%;
  object-position: center top;
}
.phb-tome .page:has(.chapterOpening) .columnWrapper > p:not(:has(img)),
.phb-tome .page:has(.chapterOpening) .columnSplit { display: none; }
