/* Homepage additions are scoped to its editable outer Group. */
.srbs-bookshelf.srbs-home .srbs-home-hero {display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:clamp(26px,4vw,48px);align-items:center;margin-bottom:54px;}
.srbs-bookshelf.srbs-home .srbs-home-intro {min-width:0;}
.srbs-bookshelf.srbs-home .srbs-title {font-size:clamp(36px,4.7vw,56px);line-height:1.09;text-wrap:balance;}
.srbs-bookshelf.srbs-home .srbs-lead {font-size:17px;line-height:1.8;margin-bottom:24px;}
.srbs-bookshelf.srbs-home .srbs-actions {flex-wrap:wrap;gap:10px;}
.srbs-bookshelf.srbs-home .srbs-home-secondary .wp-block-button__link {background:transparent;color:var(--srbs-green);}
.srbs-bookshelf.srbs-home .srbs-home-secondary .wp-block-button__link:hover {background:var(--srbs-green);color:white;}
.srbs-bookshelf.srbs-home .wp-block-button__link {max-width:100%;white-space:normal;overflow-wrap:anywhere;}
.srbs-bookshelf.srbs-home .srbs-home-free {padding:28px;border:1px solid #d9e0d0;border-radius:14px;background:var(--srbs-soft);min-width:0;}
.srbs-bookshelf.srbs-home .srbs-home-free .srbs-feature-covers {margin:22px 0 34px;}
.srbs-bookshelf.srbs-home .srbs-home-free .srbs-feature-covers .srbs-cover {width:calc(50% - 7px);max-width:125px;}
.srbs-bookshelf.srbs-home .srbs-home-free h3 {font-size:28px;margin-bottom:12px;}
.srbs-bookshelf.srbs-home .srbs-home-free p {font-size:14px;line-height:1.75;}
.srbs-bookshelf.srbs-home .srbs-home-free .srbs-eyebrow {font-size:10px;letter-spacing:.09em;}
.srbs-bookshelf.srbs-home p.srbs-home-small {font-size:12px;line-height:1.7;color:#47564d;}
.srbs-bookshelf.srbs-home .srbs-home-free p:last-child {margin-bottom:0;}
.srbs-bookshelf.srbs-home .srbs-home-text-link a,
.srbs-bookshelf.srbs-home .srbs-home-more a {color:var(--srbs-green);text-decoration:underline;text-underline-offset:4px;}
.srbs-bookshelf.srbs-home .srbs-home-text-link a {font-weight:650;}
.srbs-bookshelf.srbs-home .srbs-home-card .srbs-card-top {grid-template-columns:90px minmax(0,1fr);align-items:center;}
.srbs-bookshelf.srbs-home .srbs-home-card .srbs-genre {font-size:10px;letter-spacing:.05em;line-height:1.6;}
.srbs-bookshelf.srbs-home .srbs-home-card h3 {font-size:28px;overflow-wrap:normal;}
.srbs-bookshelf.srbs-home .srbs-home-more {padding:23px 0 0;}
.srbs-bookshelf.srbs-home .srbs-home-more p {font-size:14px;color:#47564d;margin:0;}
.srbs-bookshelf.srbs-home .srbs-home-author {display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:38px;align-items:start;margin-top:42px;padding-top:38px;border-top:1px solid var(--srbs-line);}
.srbs-bookshelf.srbs-home .srbs-home-bio p:not(.srbs-eyebrow),
.srbs-bookshelf.srbs-home .srbs-home-art p {font-size:15px;line-height:1.8;}
.srbs-bookshelf.srbs-home .srbs-home-art {padding:26px;background:#efebe2;border-radius:10px;}
.srbs-bookshelf.srbs-home .srbs-home-art h3 {font-size:27px;}
.srbs-bookshelf.srbs-home .srbs-home-art p:last-child {margin-bottom:0;}
.editor-styles-wrapper .srbs-bookshelf.srbs-home :is(.srbs-home-hero,.srbs-home-author):has(> .block-editor-inner-blocks) {display:block;}
.editor-styles-wrapper .srbs-bookshelf.srbs-home .srbs-home-hero > .block-editor-inner-blocks > .block-editor-block-list__layout {display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:38px;align-items:center;}
.editor-styles-wrapper .srbs-bookshelf.srbs-home .srbs-home-author > .block-editor-inner-blocks > .block-editor-block-list__layout {display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:38px;align-items:start;}
@media(max-width:900px) {
 .srbs-bookshelf.srbs-home .srbs-home-hero,
 .editor-styles-wrapper .srbs-bookshelf.srbs-home .srbs-home-hero > .block-editor-inner-blocks > .block-editor-block-list__layout {grid-template-columns:1fr;gap:30px;}
 .srbs-bookshelf.srbs-home .srbs-home-intro {max-width:700px;}
 .srbs-bookshelf.srbs-home .srbs-home-free {max-width:560px;width:100%;justify-self:center;}
 .srbs-bookshelf.srbs-home .srbs-home-free .srbs-feature-covers .srbs-cover {max-width:145px;}
}
@media(max-width:780px) {
 .srbs-bookshelf.srbs-home .srbs-home-author,
 .editor-styles-wrapper .srbs-bookshelf.srbs-home .srbs-home-author > .block-editor-inner-blocks > .block-editor-block-list__layout {grid-template-columns:1fr;gap:28px;}
 .editor-styles-wrapper .srbs-bookshelf.srbs-home .srbs-home-grid > .block-editor-inner-blocks > .block-editor-block-list__layout {grid-template-columns:1fr;}
}
@media(max-width:400px) {
 .srbs-bookshelf.srbs-home .srbs-title {font-size:34px;}
 .srbs-bookshelf.srbs-home .srbs-home-free {padding:22px 18px;}
 .srbs-bookshelf.srbs-home .srbs-home-card .srbs-card-top,
 .editor-styles-wrapper .srbs-bookshelf.srbs-home .srbs-home-card .srbs-card-top > .block-editor-inner-blocks > .block-editor-block-list__layout {grid-template-columns:70px minmax(0,1fr);gap:15px;}
 .srbs-bookshelf.srbs-home .srbs-home-card h3 {font-size:24px;}
}

/* Version 1.8: standalone collection feature, between the hero and featured series. */
.srbs-bookshelf.srbs-home .srbs-home-standalones {display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:32px;align-items:center;padding:32px;margin:0 0 48px;background:#e8eeea;border:1px solid #d4dfd8;border-radius:14px;}
.srbs-bookshelf.srbs-home .srbs-home-standalone-copy {min-width:0;}
.srbs-bookshelf.srbs-home .srbs-home-standalone-copy h2 {font-size:clamp(28px,3.3vw,38px);}
.srbs-bookshelf.srbs-home .srbs-home-standalone-copy p:not(.srbs-eyebrow):not(.srbs-home-small) {font-size:15px;line-height:1.8;}
.srbs-bookshelf.srbs-home .srbs-home-standalone-covers {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;align-items:center;max-width:420px;width:100%;justify-self:center;}
.srbs-bookshelf.srbs-home .srbs-home-standalone-covers .srbs-cover {min-width:0;width:100%;}
.editor-styles-wrapper .srbs-bookshelf.srbs-home :is(.srbs-home-standalones,.srbs-home-standalone-covers):has(> .block-editor-inner-blocks) {display:block;}
.editor-styles-wrapper .srbs-bookshelf.srbs-home .srbs-home-standalones > .block-editor-inner-blocks > .block-editor-block-list__layout {display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:32px;align-items:center;}
.editor-styles-wrapper .srbs-bookshelf.srbs-home .srbs-home-standalone-covers > .block-editor-inner-blocks > .block-editor-block-list__layout {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;align-items:center;}
@media(max-width:900px) {
 .srbs-bookshelf.srbs-home .srbs-home-standalones,
 .editor-styles-wrapper .srbs-bookshelf.srbs-home .srbs-home-standalones > .block-editor-inner-blocks > .block-editor-block-list__layout {grid-template-columns:1fr;gap:26px;}
}
@media(max-width:400px) {
 .srbs-bookshelf.srbs-home .srbs-home-standalones {padding:22px 18px;}
 .srbs-bookshelf.srbs-home .srbs-home-standalone-covers,
 .editor-styles-wrapper .srbs-bookshelf.srbs-home .srbs-home-standalone-covers > .block-editor-inner-blocks > .block-editor-block-list__layout {gap:8px;}
}
