/* Page typography of the Five Books of Moses, from the original design, scoped to the website reader (.tb-pages). */
.tb-pages .page{--paper:#f7f4ed;--ink:#1c1b18;--book:var(--bookc,#dfa23a);--gray:#6d6a63;container-type:inline-size;position:relative;aspect-ratio:2/3;background:var(--paper);color:var(--ink);overflow:hidden;min-width:0}
.tb-pages .page.empty{background:transparent;box-shadow:none}
.tb-pages .reader.double .page.empty{visibility:hidden}
.tb-pages .verso{background-image:linear-gradient(90deg,transparent 88%,rgba(0,0,0,.07))}
.tb-pages .recto{background-image:linear-gradient(90deg,rgba(0,0,0,.09),transparent 12%)}
.tb-pages .bleed{background:#ddd}
.tb-pages .bleed svg{position:absolute;inset:0;display:block;width:100%;height:100%}
.tb-pages .rh{position:absolute;top:6.5cqw;font:600 1.6cqw 'Schibsted Grotesk',sans-serif;letter-spacing:.2em;text-transform:uppercase;color:var(--gray)}
.tb-pages .verso .rh{left:13cqw}
.tb-pages .recto .rh{right:13cqw}
.tb-pages .folio{position:absolute;bottom:6cqw;font:500 2cqw 'EB Garamond',Georgia,serif;color:var(--gray)}
.tb-pages .verso .folio{left:13cqw}
.tb-pages .recto .folio{right:13cqw}
.tb-pages .text{position:absolute;top:13cqw;bottom:11cqw;font-family:'EB Garamond',Georgia,serif;font-size:2.35cqw;line-height:1.36;hyphens:auto;-webkit-hyphens:auto;text-align:justify;overflow:hidden}
.tb-pages .verso .text{left:13cqw;right:9cqw}
.tb-pages .recto .text{left:9cqw;right:13cqw}
.tb-pages .opener .text{top:50cqw}
.tb-pages .text p{margin:0;text-indent:1.3em;position:relative}
.tb-pages .text p.nh,.tb-pages .text p.day,.tb-pages .text p.cont{text-indent:0}
.tb-pages .text p.day{margin-top:.55em;min-height:14.4cqw}
.tb-pages .text > p:first-child{margin-top:0}
.tb-pages .text sup{font:600 .58em 'Schibsted Grotesk',sans-serif;color:var(--supc,#a87618);vertical-align:.55em;line-height:0;margin-right:.18em}
.tb-pages .dn{float:left;font-family:'Instrument Serif',Georgia,serif;font-size:3.05em;line-height:.82;color:var(--book);margin:.06em .12em 0 -.02em}
.tb-pages .sc{font-variant:small-caps;letter-spacing:.05em;font-size:1.04em}
.tb-pages .sh{font-family:'Instrument Serif',Georgia,serif;font-weight:400;font-size:1.75em;line-height:1.1;margin:1em 0 .35em;text-align:left;hyphens:manual}
.tb-pages .text > .sh:first-child{margin-top:0}
.tb-pages .mark{position:absolute;top:.2em;display:grid;justify-items:center;gap:.6cqw;width:11cqw;text-indent:0;text-align:center;line-height:1}
.tb-pages .verso .mark{left:-12.5cqw}
.tb-pages .recto .mark{right:-12.5cqw}
.tb-pages .mark svg{width:7cqw;height:7cqw;display:block}
.tb-pages .mark i{font:normal 2.3cqw/1 'Instrument Serif',Georgia,serif;color:var(--ink)}
.tb-pages .anc{display:inline}
.tb-pages .page > .gm{position:absolute;top:0;width:11cqw}
.tb-pages .verso > .gm{left:.5cqw;right:auto}
.tb-pages .recto > .gm{right:.5cqw;left:auto}
.tb-pages .gm svg{width:5.6cqw;height:5.6cqw}
.tb-pages .gm.prime svg{width:7cqw;height:7cqw}
.tb-pages .gm i{font-size:1.9cqw;line-height:1.05}
.tb-pages .gm.prime i{font-size:2.3cqw}
.tb-pages .gm em{font:italic 1.75cqw/1.15 'Instrument Serif',Georgia,serif;color:var(--ink)}
.tb-pages .mark b{font:600 1.1cqw/1.25 'Schibsted Grotesk',sans-serif;letter-spacing:.12em;text-transform:uppercase;color:var(--ink)}
.tb-pages .ch-label{position:absolute;top:13cqw;left:0;right:0;text-align:center;font:600 1.7cqw 'Schibsted Grotesk',sans-serif;letter-spacing:.2em;text-transform:uppercase;color:var(--gray)}
.tb-pages .ch-num{position:absolute;top:14cqw;left:0;right:0;text-align:center;font-family:'Instrument Serif',Georgia,serif;font-size:30cqw;line-height:1;color:var(--book)}
.tb-pages .verso .ch-label,.tb-pages .verso .ch-num{padding-left:4cqw}
.tb-pages .recto .ch-label,.tb-pages .recto .ch-num{padding-right:4cqw}
.tb-pages .fm{font-family:'EB Garamond',Georgia,serif}
.tb-pages .half{display:grid;place-items:center}
.tb-pages .ht{font-family:'Instrument Serif',Georgia,serif;font-size:6cqw;margin-top:-30cqw}
.tb-pages .title-page{display:flex;flex-direction:column;align-items:center;text-align:center}
.tb-pages .tp-top{margin-top:44cqw;font:600 1.9cqw 'Schibsted Grotesk',sans-serif;letter-spacing:.24em;text-transform:uppercase}
.tb-pages .tp-name{font-family:'Instrument Serif',Georgia,serif;font-size:19cqw;line-height:1;margin-top:5cqw;letter-spacing:-.02em}
.tb-pages .tp-heb{font-family:'Frank Ruhl Libre',serif;font-size:7cqw;margin-top:3cqw}
.tb-pages .tp-rule{width:16cqw;height:.5cqw;background:var(--book);margin-top:8cqw}
.tb-pages .tp-sub{font-style:italic;font-size:3.6cqw;margin-top:6cqw}
.tb-pages .tp-foot{position:absolute;bottom:12cqw;font:600 1.6cqw 'Schibsted Grotesk',sans-serif;letter-spacing:.2em;text-transform:uppercase;color:var(--gray)}
.tb-pages .cp{position:absolute;left:13cqw;right:13cqw;bottom:14cqw;font-size:2.15cqw;line-height:1.45;color:#3d3b36}
.tb-pages .cp p{margin:0 0 1.1em}
.tb-pages .ct-title,.tb-pages .nt-title{position:absolute;top:16cqw;left:13cqw;font-family:'Instrument Serif',Georgia,serif;font-size:8cqw;line-height:1}
.tb-pages .recto .ct-title,.tb-pages .recto .nt-title{left:9cqw}
.tb-pages .ct{position:absolute;top:29cqw;left:13cqw;right:9cqw;display:grid;gap:.6cqw}
.tb-pages .recto .ct{left:9cqw;right:13cqw}
.tb-pages .ct2{top:14cqw}
.tb-pages .ct-row{display:grid;grid-template-columns:1fr auto 5.5cqw;gap:2.4cqw;align-items:baseline;font-size:2.15cqw;line-height:1.2}
.tb-pages .ct-row em{font:500 1.6cqw 'Schibsted Grotesk',sans-serif;font-style:normal;color:var(--gray);letter-spacing:.06em}
.tb-pages .ct-row b{font-weight:500;text-align:right;font-variant-numeric:tabular-nums}
.tb-pages .ct-ill{margin-top:2.4cqw}
.tb-pages .dense .ct{gap:.25cqw}
.tb-pages .dense .ct-row{font-size:1.9cqw;line-height:1.16}
.tb-pages .dense .ct-row em{font-size:1.45cqw}
.tb-pages .dense .ct-ill{margin-top:1.6cqw}
.tb-pages .ct-ill span{font:600 1.6cqw 'Schibsted Grotesk',sans-serif;letter-spacing:.2em;text-transform:uppercase;color:var(--gray)}
.tb-pages .nt{position:absolute;top:28cqw;left:13cqw;right:9cqw}
.tb-pages .recto .nt{left:9cqw;right:13cqw}
.tb-pages .nt p{margin:0 0 .9em;font-size:2.45cqw;line-height:1.42;text-align:justify;hyphens:auto}
.tb-pages .lg{position:absolute;left:13cqw;right:9cqw;bottom:14cqw}
.tb-pages .recto .lg{left:9cqw;right:13cqw}
.tb-pages .lg-title{font:600 1.6cqw 'Schibsted Grotesk',sans-serif;letter-spacing:.2em;text-transform:uppercase;color:var(--gray);margin-bottom:2.6cqw;padding-top:2.6cqw;border-top:1px solid rgba(0,0,0,.15)}
.tb-pages .lg-grid{display:grid;grid-template-columns:1fr 1fr;gap:3cqw 4cqw}
.tb-pages .lg-row{display:grid;grid-template-columns:6cqw 1fr;gap:2.2cqw;align-items:start}
.tb-pages .lg-row svg{width:6cqw;height:6cqw;display:block}
.tb-pages .lg-row b{display:block;font-family:'Instrument Serif',Georgia,serif;font-weight:400;font-size:2.6cqw;line-height:1.1}
.tb-pages .lg-row span{display:block;font-size:1.95cqw;line-height:1.35;color:#3d3b36;margin-top:.5cqw}
.tb-pages .ov-title{position:absolute;top:22cqw;left:13cqw;font-family:'Instrument Serif',Georgia,serif;font-size:9cqw;line-height:1}
.tb-pages .ov-meta{position:absolute;top:33cqw;left:13cqw;font:500 2cqw 'Schibsted Grotesk',sans-serif;color:var(--gray)}
.tb-pages .ov-list{position:absolute;top:44cqw;left:13cqw;right:9cqw;display:grid;gap:3.4cqw}
.tb-pages .ov-row{display:grid;grid-template-columns:1fr auto;gap:.8cqw 3cqw;align-items:baseline}
.tb-pages .ov-row span{font-size:3.3cqw}
.tb-pages .ov-row em{font:500 2cqw 'Schibsted Grotesk',sans-serif;font-style:normal;color:var(--gray);font-variant-numeric:tabular-nums}
.tb-pages .ov-bar{grid-column:1/-1;height:.7cqw;background:rgba(0,0,0,.08);position:relative}
.tb-pages .ov-bar i{position:absolute;top:0;bottom:0;background:var(--book)}
.tb-pages .col{position:absolute;left:13cqw;right:13cqw;top:52cqw;text-align:center;font-size:2.4cqw;line-height:1.5;color:#3d3b36}
.tb-pages .col svg{width:6cqw;height:6cqw;margin-bottom:4cqw}
.tb-pages .col p{margin:0 0 1em}
.tb-pages .ct-book{margin-top:1.8cqw}
.tb-pages .ct-book:first-child{margin-top:0}
.tb-pages .ct-book span{font-family:'Instrument Serif',Georgia,serif;font-size:3.1cqw}
.tb-pages .contents .ct{gap:.35cqw}
.tb-pages .lgp .lg{top:30cqw;bottom:auto}
.tb-pages .lg-note{margin:4cqw 0 0;font-size:2.2cqw;line-height:1.42;color:#3d3b36;text-align:justify;hyphens:auto;padding-top:3cqw;border-top:1px solid rgba(0,0,0,.15)}
.tb-pages .text{overflow:visible}
