/* Single-book template only; text stays editable and flows at natural height. */
.srbs-bookshelf.srbs-book-page .srbs-book-back {font-size:13px;line-height:1.7;margin:0 0 30px;}
.srbs-bookshelf.srbs-book-page .srbs-book-back a {color:var(--srbs-green);text-decoration:underline;text-underline-offset:4px;}
.srbs-bookshelf.srbs-book-page .srbs-book-hero {display:grid;grid-template-columns:minmax(150px,240px) minmax(0,1fr);align-items:start;gap:clamp(24px,4vw,42px);padding:32px;background:var(--srbs-soft);border:1px solid #d9e0d0;border-radius:14px;margin-bottom:40px;}
.srbs-bookshelf.srbs-book-page .srbs-book-hero > .srbs-cover {width:100%;max-width:240px;justify-self:center;margin:0;}
.srbs-bookshelf.srbs-book-page .srbs-book-details {min-width:0;}
.srbs-bookshelf.srbs-book-page .srbs-book-subtitle {font-size:clamp(28px,3.6vw,42px);line-height:1.2;overflow-wrap:break-word;}
.srbs-bookshelf.srbs-book-page .srbs-book-byline {font-size:14px;color:#47564d;margin-bottom:10px;}
.srbs-bookshelf.srbs-book-page .srbs-book-series-label {font-size:13px;font-weight:650;color:var(--srbs-green);margin-bottom:20px;}
.srbs-bookshelf.srbs-book-page .srbs-lead {font-size:17px;line-height:1.8;}
.srbs-bookshelf.srbs-book-page .srbs-actions {flex-wrap:wrap;gap:10px;margin-top:24px;}
.srbs-bookshelf.srbs-book-page .wp-block-button__link {max-width:100%;white-space:normal;overflow-wrap:anywhere;}
.srbs-bookshelf.srbs-book-page .srbs-book-secondary .wp-block-button__link {background:transparent;color:var(--srbs-green);}
.srbs-bookshelf.srbs-book-page .srbs-book-secondary .wp-block-button__link:hover {background:var(--srbs-green);color:white;}
.srbs-bookshelf.srbs-book-page .wp-block-button__link:not([href]) {background:#f1ede5;color:#47564d;border-style:dashed;cursor:default;}
.srbs-bookshelf.srbs-book-page .srbs-book-description {max-width:760px;margin:0 auto 32px;}
.srbs-bookshelf.srbs-book-page .srbs-book-blurb p {font-size:17px;line-height:1.85;margin-bottom:18px;}
.srbs-bookshelf.srbs-book-page .srbs-book-order {max-width:760px;margin:0 auto 38px;border-left:3px solid #99b6b1;padding:4px 0 4px 22px;}
.srbs-bookshelf.srbs-book-page .srbs-book-order h3 {font:650 16px/1.5 system-ui,-apple-system,"Segoe UI",sans-serif;letter-spacing:0;margin-bottom:9px;}
.srbs-bookshelf.srbs-book-page .srbs-book-order p {font-size:14px;line-height:1.8;color:#47564d;margin:0;}
.srbs-bookshelf.srbs-book-page .srbs-book-sample {padding:34px clamp(18px,3vw,36px);background:#fffdf9;border:1px solid var(--srbs-line);border-radius:12px;}
.srbs-bookshelf.srbs-book-page .srbs-book-sample > h2 {max-width:680px;margin:0 auto 28px;padding-bottom:20px;border-bottom:1px solid var(--srbs-line);font-size:28px;}
.srbs-bookshelf.srbs-book-page .srbs-book-extract-body {max-width:680px;margin:0 auto;overflow-wrap:break-word;}
.srbs-bookshelf.srbs-book-page .srbs-book-extract-body h3 {font-size:clamp(24px,3vw,30px);line-height:1.4;margin-bottom:24px;}
.srbs-bookshelf.srbs-book-page .srbs-book-extract-body p,
.srbs-bookshelf.srbs-book-page .srbs-book-extract-body li,
.srbs-bookshelf.srbs-book-page .srbs-book-extract-body blockquote {font-family:Georgia,"Times New Roman",serif;font-size:clamp(18px,1.6vw,20px);line-height:1.85;color:#293b35;letter-spacing:normal;}
.srbs-bookshelf.srbs-book-page .srbs-book-extract-body p {margin:0 0 1em;}
.srbs-bookshelf.srbs-book-page .srbs-book-extract-body p:last-child {margin-bottom:0;}
.srbs-bookshelf.srbs-book-page .srbs-book-extract-body a {color:var(--srbs-green);text-decoration:underline;}
.srbs-bookshelf.srbs-book-page .srbs-book-extract-body .wp-block-separator {max-width:100px;margin:28px auto;border:0;border-top:1px solid #82978b;}
.srbs-bookshelf.srbs-book-page :is(.srbs-book-sample,.srbs-book-hero) {scroll-margin-top:110px;}
.srbs-bookshelf.srbs-book-page .srbs-book-end {text-align:center;padding-top:36px;}
.srbs-bookshelf.srbs-book-page .srbs-book-end h2 {font-size:30px;}
.srbs-bookshelf.srbs-book-page .srbs-book-end .srbs-actions {justify-content:center;margin:0 0 22px;}
.srbs-bookshelf.srbs-book-page .srbs-book-end .srbs-book-back {margin-bottom:0;}
.editor-styles-wrapper .srbs-bookshelf.srbs-book-page .srbs-book-hero:has(> .block-editor-inner-blocks) {display:block;}
.editor-styles-wrapper .srbs-bookshelf.srbs-book-page .srbs-book-hero > .block-editor-inner-blocks > .block-editor-block-list__layout {display:grid;grid-template-columns:minmax(150px,240px) minmax(0,1fr);align-items:start;gap:36px;}
.editor-styles-wrapper .srbs-bookshelf.srbs-book-page .srbs-book-sample > .block-editor-inner-blocks > .block-editor-block-list__layout > h2 {max-width:680px;margin:0 auto 28px;}
@media(max-width:780px) {
 .srbs-bookshelf.srbs-book-page .srbs-book-hero,
 .editor-styles-wrapper .srbs-bookshelf.srbs-book-page .srbs-book-hero > .block-editor-inner-blocks > .block-editor-block-list__layout {grid-template-columns:minmax(120px,170px) minmax(0,1fr);gap:25px;}
 .srbs-bookshelf.srbs-book-page .srbs-book-hero {padding:25px;}
}
@media(max-width:600px) {
 .srbs-bookshelf.srbs-book-page .srbs-book-hero,
 .editor-styles-wrapper .srbs-bookshelf.srbs-book-page .srbs-book-hero > .block-editor-inner-blocks > .block-editor-block-list__layout {grid-template-columns:1fr;gap:26px;}
 .srbs-bookshelf.srbs-book-page .srbs-book-hero > .srbs-cover {max-width:180px;}
 .srbs-bookshelf.srbs-book-page .srbs-book-hero {padding:24px 19px;}
 .srbs-bookshelf.srbs-book-page .srbs-book-sample {padding:26px 16px;}
}
@media print {
 .srbs-bookshelf.srbs-book-page .srbs-actions {display:none;}
 .srbs-bookshelf.srbs-book-page .srbs-book-sample {padding:0;border:0;background:white;}
}
