.sylables{
	font-family: Code2000;
}

.synopsis {
	font-size: 85%;
}

.translation{
	font-size: 80%;
	margin-left: 10%;
}
/* Titulature of the 1963 volume: three groups, generous space before the imprint. */
.trediakovsky-title { display:flex; flex-direction:column; justify-content:space-between; gap:2em; min-height:min(42em,85svh); padding-block:1em; margin-inline:auto; max-width:42em; }
.trediakovsky-title p { text-indent:0; }
.trediakovsky-title .bp-title-author-big { font-size:clamp(1.3em,4.5vw,2.8em); }
.trediakovsky-title .bp-title-bp-2ed { font-size:clamp(1.3em,4vw,2.2em); }
.trediakovsky-title .bp-ed2-title-book-title { font-size:clamp(1.5em,5vw,2.6em); margin-block:1.5em 0; }
.trediakovsky-title .bp-publisher-2ed { font-size:1em; }
.trediakovsky-title img { max-width:100%; height:auto; }

/* Examples are labels, not fourth-level sections of the treatise. */
.trediakovsky-example-label { font-size:110%; text-align:center; text-indent:0; font-weight:normal; margin:2em 0 1em; }
.trediakovsky-poem-section { font-size:120%; font-weight:normal; letter-spacing:.03em; word-spacing:.1em; }
@media (max-width:479px) {
 .flex-poem:has(.line1l) { padding-inline-start:1.2em; max-inline-size:100%; box-sizing:border-box; }
}

/* Dates are printed flush left with their verse in this edition (e.g. pp. 77, 112, 153). */
.date { text-align:left; }

/* A flex item containing a metric table must shrink before its own scroller can work. */
.flex-poem:has(.table-responsive) { min-inline-size:0; max-inline-size:100%; }

@media (max-height:650px) {
 .trediakovsky-title { gap:.75em; padding-block:.5em; }
 .trediakovsky-title p { margin-block:.35em; }
 .trediakovsky-title .bp-ed2-title-book-title { font-size:clamp(1.5em,4vw,2.2em); margin-block:.65em 0; }
}

/* Publisher-mark leaf: source PDF 2, above centre, following the approved Sumarokov treatment. */
.trediakovsky-publisher-mark { block-size:min(75svh,39rem); display:grid; grid-template-rows:3fr auto 7fr; }
.trediakovsky-publisher-mark > img.illustration { grid-row:2; margin:0 auto; }

/* Equal spacing between the frontispiece and its printed page dividers. */
#frontispiece { margin-block:4em; }

/* Counter the half-padding shift of full-width rules inside poems with hanging lines. */
@media (max-width:479px) {
 .flex-poetry--continuous .flex-poem:has(.line1l) :is(.page,.page-straight) { margin-inline:calc(50% - 50cqi - .6em); }
}
