/* Wordhealer Press Book Showcase v1.1.0 */
.whp-book-grid{display:grid;grid-template-columns:repeat(var(--whp-columns,3),minmax(0,1fr));gap:30px;margin:1.8rem 0;align-items:stretch}
.whp-book-grid.whp-columns-1{--whp-columns:1}.whp-book-grid.whp-columns-2{--whp-columns:2}.whp-book-grid.whp-columns-3{--whp-columns:3}.whp-book-grid.whp-columns-4{--whp-columns:4}
.whp-book-card{display:flex;flex-direction:column;min-width:0;height:100%;overflow:hidden;background:#fff;border:1px solid rgba(35,75,59,.12);border-radius:var(--whp-card-radius,12px);box-shadow:0 8px 24px rgba(24,42,32,.07);transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease}
.whp-book-card:hover{transform:translateY(-3px);box-shadow:0 14px 32px rgba(24,42,32,.12);border-color:rgba(35,75,59,.22)}
.whp-book-cover-link{display:block;text-decoration:none!important}.whp-book-cover{width:100%;aspect-ratio:3/4;display:flex;justify-content:center;align-items:center;overflow:hidden;background:#f6f2e9;padding:18px;box-sizing:border-box}
.whp-book-cover-image{display:block;width:100%;height:100%;object-fit:contain;object-position:center;box-shadow:0 5px 14px rgba(0,0,0,.13);transition:transform .28s ease,box-shadow .28s ease}
.whp-book-card:hover .whp-book-cover-image{transform:scale(1.018);box-shadow:0 8px 19px rgba(0,0,0,.16)}
.whp-cover-placeholder{width:78%;min-height:70%;padding:18px;box-sizing:border-box;background:#234b3b;color:#fff;border:3px solid #b49a58;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:12px;font-family:Georgia,serif}
.whp-cover-placeholder span{font-size:1.25rem;line-height:1.3}.whp-cover-placeholder small{font:12px/1.4 Arial,sans-serif;opacity:.85}
.whp-book-card-content{display:flex;flex-direction:column;align-items:stretch;flex:1;padding:23px 21px 21px}
.whp-book-category{color:var(--whp-green,#234b3b);font-size:.78rem;font-weight:700;letter-spacing:.085em;line-height:1.45;text-transform:uppercase;margin:0 0 9px}
.whp-book-title{margin:0 0 8px!important;font-family:Georgia,'Times New Roman',serif;font-size:clamp(1.3rem,1.55vw,1.5rem);line-height:1.3;letter-spacing:-.01em}
.whp-book-title a{color:#26372e;text-decoration:none}.whp-book-title a:hover{color:var(--whp-green,#234b3b);text-decoration:underline}
.whp-book-subtitle{margin:0 0 12px!important;color:#68675f;font-family:Georgia,'Times New Roman',serif;font-size:1rem;font-style:italic;line-height:1.55}
.whp-book-author{margin:0 0 10px!important;color:#62675f;font-size:.94rem}.whp-book-description{margin:0 0 21px!important;color:#414740;font-size:1rem;line-height:1.72}
.whp-book-buttons{display:flex;flex-direction:column;gap:10px;margin-top:auto;padding-top:2px}
.whp-book-button{display:flex;align-items:center;justify-content:center;min-height:48px;padding:12px 15px;box-sizing:border-box;border:1px solid var(--whp-green,#234b3b);border-radius:7px;background:var(--whp-green,#234b3b);color:#fff!important;text-align:center;text-decoration:none!important;font-family:Arial,Helvetica,sans-serif;font-size:1rem;font-weight:700;line-height:1.4;overflow-wrap:anywhere;box-shadow:0 2px 5px rgba(23,54,40,.08);transition:transform .16s ease,background .16s ease,color .16s ease,border-color .16s ease,box-shadow .16s ease}
.whp-book-button:hover{transform:translateY(-1px);background:#173628;border-color:#173628;color:#fff!important;box-shadow:0 5px 12px rgba(23,54,40,.16)}
.whp-book-button:focus-visible{outline:3px solid var(--whp-gold,#b49a58);outline-offset:3px}
.whp-book-button.whp-button-secondary{background:var(--whp-gold,#b49a58);border-color:var(--whp-gold,#b49a58);color:#17251d!important}.whp-book-button.whp-button-secondary:hover{background:#9f8444;border-color:#9f8444;color:#fff!important}
.whp-book-button.whp-button-outline{background:transparent;color:var(--whp-green,#234b3b)!important}.whp-book-button.whp-button-outline:hover{background:var(--whp-green,#234b3b);color:#fff!important}
.whp-book-button.whp-button-details{background:#f4f1e8;border-color:#ded7c5;color:#294437!important}.whp-book-button.whp-button-details:hover{background:#e8e2d3;border-color:#cfc4a9;color:#173628!important}
.whp-book-grid.whp-button-width-auto .whp-book-buttons{align-items:flex-start}.whp-book-grid.whp-button-width-auto .whp-book-button{width:auto;max-width:100%}
.whp-no-books{padding:22px;background:#fff;border:1px solid #e6dfd1;border-radius:10px;color:#414740;font-size:1rem}
.whp-single-book-wrap{max-width:1200px;margin:0 auto;padding:clamp(28px,4.5vw,58px) clamp(18px,3vw,30px)}
.whp-single-book{animation:whpBookFadeUp .55s ease-out both}.whp-single-book-layout{display:grid;grid-template-columns:minmax(260px,.78fr) minmax(0,1.22fr);gap:clamp(30px,5vw,66px);align-items:start}
.whp-single-cover{background:linear-gradient(145deg,#fbf8f1 0%,#f0eadd 100%);padding:clamp(18px,2.5vw,28px);border:1px solid rgba(180,154,88,.17);border-radius:var(--whp-card-radius,12px);text-align:center;box-shadow:0 12px 30px rgba(35,75,59,.07)}
.whp-single-cover-image{display:block;width:100%;max-width:440px;max-height:680px;height:auto;margin:0 auto;object-fit:contain;border-radius:2px;box-shadow:0 10px 24px rgba(0,0,0,.15);transition:transform .28s ease,box-shadow .28s ease}
.whp-single-cover:hover .whp-single-cover-image{transform:scale(1.012);box-shadow:0 14px 30px rgba(0,0,0,.18)}
.whp-single-info{min-width:0;padding-top:clamp(0px,1vw,12px)}.whp-single-info .whp-book-category{margin-bottom:12px}
.whp-single-title{margin:0 0 14px!important;font-family:Georgia,'Times New Roman',serif;font-size:clamp(2.1rem,3.2vw,2.65rem)!important;line-height:1.15!important;letter-spacing:-.025em;color:var(--whp-green,#234b3b)}
.whp-single-subtitle{margin:0 0 15px!important;font-family:Georgia,'Times New Roman',serif;font-size:clamp(1.12rem,1.6vw,1.3rem);font-style:italic;line-height:1.55;color:#68675f}
.whp-single-author{color:#5d645d;font-size:.96rem;margin:0 0 22px!important}.whp-single-summary{font-size:1.08rem;line-height:1.8;color:#3c443e;margin:0 0 23px!important}
.whp-single-buttons{display:flex;flex-direction:column;align-items:stretch;gap:11px;max-width:460px;margin-top:24px}
.whp-single-description{max-width:860px;margin:clamp(38px,5vw,64px) auto 0;padding-top:clamp(26px,3.5vw,42px);border-top:1px solid #e6dfd1;font-size:1.05rem;line-height:1.85;color:#333b35}
.whp-single-description h2,.whp-single-description h3{color:var(--whp-green,#234b3b);font-family:Georgia,'Times New Roman',serif;line-height:1.3;margin-top:1.8em;margin-bottom:.65em}
.whp-single-description h2{font-size:clamp(1.55rem,2.4vw,1.9rem)}.whp-single-description h3{font-size:clamp(1.3rem,2vw,1.55rem)}
.whp-single-description p{margin:0 0 1.25em}.whp-single-description li{margin-bottom:.55em;padding-left:.15em}.whp-single-description strong{color:#293d31}
.whp-single-description blockquote{margin:1.5em 0;padding:1em 1.25em;border-left:4px solid var(--whp-gold,#b49a58);background:#f1eee5;color:#3c443e;border-radius:0 8px 8px 0}
@keyframes whpBookFadeUp{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:900px){.whp-book-grid{gap:22px}.whp-book-grid.whp-columns-3,.whp-book-grid.whp-columns-4{grid-template-columns:repeat(2,minmax(0,1fr))}.whp-single-book-layout{grid-template-columns:minmax(220px,.75fr) minmax(0,1.25fr);gap:28px}.whp-single-title{font-size:2rem!important}}
@media(max-width:650px){.whp-book-grid,.whp-book-grid.whp-columns-2,.whp-book-grid.whp-columns-3,.whp-book-grid.whp-columns-4{grid-template-columns:repeat(1,minmax(0,1fr));gap:22px}.whp-book-card{max-width:430px;width:100%;margin-inline:auto}.whp-book-cover{aspect-ratio:3/4;padding:18px}.whp-book-card-content{padding:21px}.whp-single-book-wrap{padding:26px 16px 40px}.whp-single-book-layout{grid-template-columns:1fr;gap:28px}.whp-single-cover{max-width:430px;width:100%;margin-inline:auto;box-sizing:border-box}.whp-single-cover-image{max-height:620px}.whp-single-info{padding-top:0}.whp-single-title{font-size:30px!important}.whp-single-subtitle{font-size:18px}.whp-single-summary{font-size:17px}.whp-single-description{margin-top:36px;padding-top:26px;font-size:17px;line-height:1.78}}
@media(prefers-reduced-motion:reduce){.whp-single-book{animation:none}.whp-book-card,.whp-book-cover-image,.whp-single-cover-image,.whp-book-button{transition:none!important}.whp-book-card:hover,.whp-book-button:hover,.whp-book-card:hover .whp-book-cover-image,.whp-single-cover:hover .whp-single-cover-image{transform:none}}

/* Shared full-width banner shown above the title on individual book pages. */
.whp-single-book-wrap{padding-top:0}
.whp-book-page-banner{width:100vw;max-width:none;margin:0 calc(50% - 50vw) clamp(30px,4vw,52px);overflow:hidden;line-height:0;background:#f6f2e9}
.whp-book-page-banner img{display:block;width:100%;height:auto;max-height:none;object-fit:cover;object-position:center;margin:0}
@media(max-width:650px){.whp-book-page-banner{margin-bottom:26px}}


/* Global banner on individual book pages: break out of the theme's content container. */
.whp-single-book-wrap .whp-book-page-banner {
    position: relative;
    width: 100vw;
    max-width: none;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    margin-top: 0;
    margin-bottom: 2rem;
    overflow: hidden;
    line-height: 0;
}
.whp-single-book-wrap .whp-book-page-banner img {
    display: block;
    width: 100%;
    max-width: none;
    height: auto;
    margin: 0;
    object-fit: cover;
}
