/* Article reading: preserve the portrait spread and use available text space. */
@media (min-width:681px) {
body.book-reader-page:is(.theme-junior,.theme-teens) .book-spread[data-fullbleed-frame="spread"] > .book-spread__copy { padding:clamp(14px,2vh,24px) !important; }
body.book-reader-page:is(.theme-junior,.theme-teens) .book-spread__copy > .book-inline-tools { flex-wrap:wrap !important; overflow:visible; gap:4px; margin:0 0 12px !important; }
body.book-reader-page:is(.theme-junior,.theme-teens) .book-inline-tools > button { min-height:30px; padding:5px 6px; font-size:10px; }
body.book-reader-page:is(.theme-junior,.theme-teens) .book-spread__story { width:100%; }
body.book-reader-page:is(.theme-junior,.theme-teens) .book-spread__story > header h2 { font-size:clamp(19px,2.8vh,27px) !important; line-height:1.2 !important; margin:0 0 12px !important; text-align:left !important; }
body.book-reader-page:is(.theme-junior,.theme-teens) .book-spread__paragraphs { margin-top:0 !important; gap:8px !important; }
body.book-reader-page:is(.theme-junior,.theme-teens) .book-spread__story .book-paragraph__english { font-size:calc(clamp(18px,2.65vh,23px) * var(--book-font-scale,1)) !important; line-height:1.48 !important; text-align:left !important; margin:0 !important; }
body.book-reader-page.theme-teens .book-spread__story .book-paragraph__english { font-size:calc(clamp(18px,2.5vh,21px) * var(--book-font-scale,1)) !important; }
}

@media (min-width:681px) {
body.book-reader-page:is(.theme-junior,.theme-teens) .book-spread__story { min-height:0 !important; flex:0 0 auto !important; }
body.book-reader-page:is(.theme-junior,.theme-teens) .book-spread__story > header { margin:0 !important; padding:0 !important; }
body.book-reader-page:is(.theme-junior,.theme-teens) .book-spread__story .book-paragraph { margin:0 0 10px !important; padding:0 !important; min-height:0 !important; }
body.book-reader-page:is(.theme-junior,.theme-teens) .book-spread__keywords { margin-top:10px !important; padding-top:0 !important; }
body.book-reader-page:is(.theme-junior,.theme-teens) .reader-paged-story::after { display:none !important; }
body.book-reader-page:is(.theme-junior,.theme-teens) .reader-paged-story { margin-block:0 !important; }
body.book-reader-page:is(.theme-junior,.theme-teens) .reader-text-columns { display:block !important; column-fill:auto; column-gap:20px; overflow:hidden !important; margin:0 !important; padding:0 !important; scroll-behavior:auto !important; }
body.book-reader-page:is(.theme-junior,.theme-teens) .reader-text-columns .book-paragraph { break-inside:auto !important; }
body.book-reader-page:is(.theme-junior,.theme-teens) .reader-text-columns p { orphans:2; widows:2; }
.reader-text-pagination { display:flex; align-items:center; justify-content:space-between; gap:6px; margin-top:10px; min-height:32px; font:12px/1.3 Arial,sans-serif; }
.reader-text-pagination[hidden] { display:none !important; }
.reader-text-pagination button { min-height:32px; padding:5px 8px; border:1px solid #b7d9d5; border-radius:6px; background:#fff; color:#176d68; cursor:pointer; font:inherit; }
.reader-text-pagination button:disabled { opacity:.4; cursor:default; }
}

@media (min-width:681px) {
body.book-reader-page:is(.theme-junior,.theme-teens) .reader-text-flow .book-spread__paragraphs { display:block !important; }
body.book-reader-page:is(.theme-junior,.theme-teens) .reader-text-flow header h2 { font-size:clamp(19px,2.8vh,27px) !important; line-height:1.2 !important; margin:0 0 12px !important; text-align:left !important; }
body.book-reader-page:is(.theme-junior,.theme-teens) .reader-text-flow header { break-inside:avoid; }
}

@media (min-width:681px) { body.book-reader-page .reader-landscape-article > [data-fullbleed-visual] { align-self:center !important; } }
