/* MyPattern 0.5.331.62: single centered WordPress article column. */
body.hp-crochet-reader-page { --hp-crochet-toolbar-height:47px; margin:0; padding:0; background:#fff; color:#151515; }
.hp-crochet-toolbar { position:sticky; top:var(--wp-admin--admin-bar--height,0px); z-index:8; height:47px; display:grid; place-items:center; background:#292929; }
.hp-crochet-close { display:grid; place-items:center; width:29px; height:29px; background:#fff; color:#252525; border-radius:50%; box-shadow:0 2px 10px #0002; }
.hp-crochet-layout { display:block; width:min(100%,780px); margin:0 auto; padding:0 10px; box-sizing:border-box; }
.hp-crochet-article,.hp-crochet-document { width:100%; min-width:0; margin:0 auto; }
.hp-crochet-title,.hp-crochet-body,.hp-crochet-article .page-links { margin-inline:clamp(12px,2.4vw,24px); overflow-wrap:anywhere; }
.hp-crochet-title { font-size:clamp(1.45rem,3vw,2rem); line-height:1.3; margin-block:22px 18px; }
.hp-crochet-cover img { display:block; width:100%; height:auto; }
.hp-crochet-body { line-height:1.65; padding-bottom:32px; }
.hp-crochet-body :is(img,video,iframe) { max-width:100%; height:auto; }
.hp-crochet-body figure { max-width:100%; margin-inline:0; }
.hp-crochet-body :is(ul,ol) { padding-inline-start:1.6em; }
.hp-crochet-body .wp-block-table { overflow-x:auto; }
.hp-crochet-body .hp-crochet-repeated-header { display:none; }
.hp-crochet-body :is(figure,p):has(>.hp-crochet-repeated-header:only-child) { margin-block:0; }
/* The original v59 fixed bottom sheet, blur, close button and history stay in charge. */
body .hp-crochet-sheet .hp-pattern-reader__dialog { background:#fff!important; overflow-y:auto!important; }
body .hp-crochet-sheet .hp-crochet-layout { padding:0 10px!important; }
body .hp-crochet-sheet .hp-crochet-article { max-width:780px; box-sizing:border-box; }
body .hp-crochet-sheet .hp-crochet-loading { padding:32px 24px; text-align:center; }
body .hp-crochet-sheet .hp-crochet-loading[hidden] { display:none!important; }
@media(max-width:639px) { .hp-crochet-layout { padding:0; } .hp-crochet-title,.hp-crochet-body { margin-inline:16px; } }
/* Keep the underlying Current-layout article at its previous scroll position. */
html:has(>body.hp-current-layout.hp-pattern-reader-open>.hp-crochet-sheet) { overflow:hidden!important; }
body.hp-current-layout.hp-pattern-reader-open>.hp-crochet-sheet { overscroll-behavior:contain; }
/* One centered reading column on desktop and tablet; no author/description sidebar. */
body.single-hp_pattern .hp-crochet-sheet .hp-pattern-reader__dialog { display:block!important; }
body.single-hp_pattern .hp-crochet-sheet .hp-crochet-layout { max-width:780px; margin-inline:auto!important; }
