/*
Theme Name: WordHealer Press Child
Theme URI: https://wordhealerpress.com/
Description: An accessible, elegant publishing-house storefront for WordHealer Press. Requires Blocksy and the companion WordHealer Press Library plugin.
Author: WordHealer Press
Template: blocksy
Version: 1.4.0
Requires at least: 6.7
Requires PHP: 7.4
Text Domain: wordhealer-press-child
License: GPL-2.0-or-later
*/

/* WordHealer Press — Scoped storefront design system. */
:root {
  --whp-ink: #203932;
  --whp-muted: #65716b;
  --whp-sage: #627a68;
  --whp-sage-dark: #294b3c;
  --whp-gold: #b28d54;
  --whp-cream: #fbf8f2;
  --whp-paper: #fffefb;
  --whp-sand: #eee6d8;
  --whp-line: #e6e6db;
  --whp-shadow: 0 18px 55px rgba(30, 52, 39, .09);
}

.whp-home, .whp-pages { color: var(--whp-ink); background: var(--whp-cream); font-family: "Segoe UI", Arial, sans-serif; }
.whp-home *, .whp-pages * { box-sizing: border-box; }
.whp-home p, .whp-pages p { font-size: 1.045rem; line-height: 1.8; color: #55645b; }
.whp-home :is(h1,h2,h3), .whp-pages :is(h1,h2,h3) { color: var(--whp-ink); letter-spacing: -.035em; }
.whp-home h1, .whp-home h2, .whp-pages h1, .whp-pages h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 500; }
.whp-home :is(a,button):focus-visible, .whp-pages :is(a,button):focus-visible { outline: 3px solid #b08b4d; outline-offset: 4px; }
.whp-wrap { max-width: 1180px; margin-inline: auto; padding-inline: 28px; }
.whp-eyebrow { color: var(--whp-sage-dark) !important; font-size: .79rem !important; font-weight: 750; text-transform: uppercase; letter-spacing: .17em; }
.whp-section { padding-block: 78px; }
.whp-section-head { display:flex; align-items: end; justify-content: space-between; gap:24px; margin-bottom: 35px; }
.whp-section-head h2, .whp-section h2 { font-size: clamp(2.1rem, 4.1vw, 3.2rem); line-height: 1.15; margin: 7px 0 0; }
.whp-section-head > p { max-width: 410px; margin: 0; }
.whp-link { color:var(--whp-sage-dark); font-weight:700; text-decoration: none; border-bottom: 1px solid var(--whp-gold); padding-bottom:3px; }
.whp-link:hover { color:var(--whp-gold); }
.whp-button { display:inline-flex; align-items:center; justify-content:center; min-height:50px; padding:13px 22px; background:var(--whp-sage-dark); color:#fff !important; border-radius:6px; font-weight:700; text-decoration:none !important; line-height:1.35; box-shadow:none; transition: transform .15s ease, background .15s ease; }
.whp-button:hover { background: #193d31; color: #fff; transform:translateY(-1px); }
.whp-button--outline { color:var(--whp-sage-dark) !important; background: transparent; border:1.5px solid var(--whp-sage-dark); }
.whp-button--outline:hover { background: #e5ede4; color:var(--whp-sage-dark) !important; }
.whp-button--light { background:#fff; color:var(--whp-sage-dark) !important; }
.whp-button--light:hover { background:#f2eadf; color:var(--whp-sage-dark); }

/* Hero */
.whp-hero { position:relative; background: radial-gradient(circle at 80% 32%, #e8eee3 0%, transparent 35%), linear-gradient(112deg,#fcf9f2 10%,#f4f0e8 100%); overflow: hidden; }
.whp-hero .whp-wrap { min-height:620px; display:grid; grid-template-columns: 1.02fr .98fr; align-items:center; gap:52px; padding-block:74px 80px; }
.whp-hero h1 { font-size: clamp(3.1rem, 5.9vw, 5.4rem); line-height: 1.055; margin:20px 0 24px; max-width: 660px; }
.whp-hero h1 em { color:var(--whp-sage); font-weight:400; }
.whp-hero-copy { max-width: 535px; }
.whp-hero-copy > p:not(.whp-eyebrow) { font-size: 1.17rem; line-height:1.75; }
.whp-hero-actions { display:flex; flex-wrap:wrap; gap:12px; margin-top:30px; }
.whp-hero-art { position:relative; height:455px; isolation:isolate; display:flex; justify-content:center; align-items:center; }
.whp-hero-halo { position:absolute; width:390px; height:390px; border-radius:50%; background:#e9dec9; opacity:.8; top:28px; right:12px; z-index:-1; }
.whp-hero-book { box-shadow: 22px 26px 36px rgba(19,38,25,.25), inset 9px 0 10px rgba(255,255,255,.13); border-radius:2px 8px 8px 2px; position:absolute; text-align:center; padding:34px 25px; display:flex; flex-direction:column; justify-content:space-between; border-left:9px solid rgba(255,255,255,.24); }
.whp-hero-book--front { width:259px; height:373px; background:linear-gradient(150deg,#354f49,#17392f); transform: rotate(7deg); right:96px; top:40px; z-index:3; color:#f8f1e2; }
.whp-hero-book--front::after { content:"✦"; display:block; font-size:74px; color:#c4aa71; font-weight:400; line-height:1; }
.whp-hero-book--behind { width:225px; height:329px; background:linear-gradient(150deg,#b88f62,#8d6545); transform:rotate(-15deg); left:26px; top:74px; z-index:2; color:#fff8e9; }
.whp-hero-book--behind::after { content:"❧"; display:block; font-size:100px; line-height:1; color:#fff2d7; opacity:.75; }
.whp-book-cover-top { font-family: Georgia,serif; font-size: .86rem; text-transform:uppercase; letter-spacing:.23em; opacity:.85; }
.whp-book-cover-main { font-family: Georgia,serif; font-weight:400; font-size:34px; line-height:1.2; }
.whp-hero-book--behind .whp-book-cover-main { font-size:28px; }
.whp-book-cover-bottom { font-size: .69rem; letter-spacing:.18em; text-transform:uppercase; }
.whp-hero-stamp { position:absolute; right:4px; bottom:17px; z-index:4; border:1px solid var(--whp-gold); background:var(--whp-paper); padding:16px 19px; color: var(--whp-sage-dark); border-radius:50%; width:118px; height:118px; display:grid; place-items:center; text-align:center; font-family:Georgia,serif; font-size:16px; line-height:1.15; transform:rotate(9deg); box-shadow:var(--whp-shadow); }

/* Trust line */
.whp-trust { border-top:1px solid #eee7da; border-bottom:1px solid #eee7da; background:var(--whp-paper); }
.whp-trust .whp-wrap { display:flex; gap:18px 40px; justify-content:space-between; padding-block:20px; flex-wrap:wrap; }
.whp-trust span { display:flex; align-items:center; gap:10px; color:#57665d; font-size:.93rem; font-weight:650; }
.whp-trust b { color:var(--whp-gold); font-size:17px; }

/* Genre cards */
.whp-genres { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:17px; }
.whp-genre { display:flex; min-height:175px; position:relative; align-items:flex-end; gap:15px; padding:26px 26px 23px; background:#fffefb; border:1px solid var(--whp-line); border-radius:9px; text-decoration:none !important; overflow:hidden; transition: transform .2s ease, box-shadow .2s ease; }
.whp-genre:hover { transform:translateY(-4px); box-shadow:var(--whp-shadow); }
.whp-genre--one { background:#edf0e9; }
.whp-genre--two { background:#f5e8db; }
.whp-genre--three { background:#f6ecde; }
.whp-genre--four { background:#edf1f0; }
.whp-genre--five { background:#f4e9e8; }
.whp-genre--six { background:#f2eedd; }
.whp-genre-icon { width:56px; height:56px; display:grid; place-items:center; flex:0 0 auto; border:1px solid #b3bba9; border-radius:50%; color:var(--whp-sage-dark); font-size:30px; background:rgba(255,255,255,.32); }
.whp-genre h3 { font-family: Georgia,serif; font-size:1.4rem; margin:0 0 3px; line-height:1.22; }
.whp-genre p { margin:0; font-size:.85rem; line-height:1.4; }
.whp-genre-arrow { margin-left:auto; align-self:center; font-size:23px; color:var(--whp-sage-dark); }

/* Catalog cards */
.whp-books-background { background: #f2eee6; }
.whp-book-grid { display:grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap:22px; }
.whp-card { overflow:hidden; border-radius:9px; background:var(--whp-paper); border:1px solid #e8e4db; box-shadow: 0 6px 30px rgba(27,44,30,.045); display:flex; flex-direction:column; min-width:0; }
.whp-card-cover-link { display:block; background:#e9e6df; overflow:hidden; text-decoration:none !important; }
.whp-card-cover { aspect-ratio: .77; overflow:hidden; width:100%; position:relative; display:flex; align-items:center; justify-content:center; }
.whp-card-cover img { width:100%; height:100%; display:block; object-fit:cover; transition:transform .3s ease; }
.whp-card:hover .whp-card-cover img { transform:scale(1.035); }
.whp-card-cover--placeholder { padding:25px; text-align:center; background:linear-gradient(130deg,#344d45,#6a7e6f); color:#fff9ed; display:flex; flex-direction:column; justify-content:space-between; }
.whp-card:nth-child(4n+2) .whp-card-cover--placeholder { background:linear-gradient(130deg,#94674d,#cfa77d); }
.whp-card:nth-child(4n+3) .whp-card-cover--placeholder { background:linear-gradient(130deg,#596879,#a5b7c3); }
.whp-card:nth-child(4n+4) .whp-card-cover--placeholder { background:linear-gradient(130deg,#7a6a57,#c8b99e); }
.whp-card-cover--placeholder .whp-placeholder-top { text-transform:uppercase; font-size:.6rem; letter-spacing:.24em; opacity:.9; }
.whp-card-cover--placeholder strong { font-family:Georgia,serif; font-size:clamp(1.05rem,2vw,1.7rem); font-weight:400; line-height:1.23; color:inherit; }
.whp-card-cover--placeholder .whp-placeholder-mark { font-size:43px; line-height:1; color:#ead6ac; }
.whp-card-body { padding:20px 19px 23px; display:flex; flex-direction:column; flex:1; }
.whp-badge { display:inline-flex; align-self:start; color:#536d57; background:#e9eee7; border-radius:20px; padding:5px 10px; font-size:.72rem; text-transform:uppercase; letter-spacing:.07em; font-weight:750; margin-bottom:11px; }
.whp-card h3 { font-family:Georgia,serif; font-size:1.37rem; line-height:1.26; letter-spacing:-.025em; margin:0 0 7px; }
.whp-card h3 a { color:var(--whp-ink); text-decoration:none; }
.whp-card h3 a:hover { color:var(--whp-sage); }
.whp-card .whp-card-subtitle { font-size:.88rem; line-height:1.5; margin:0 0 14px; }
.whp-card .whp-link { align-self:start; margin-top:auto; font-size:.89rem; }
.whp-empty { border:1px dashed #c5d1c3; border-radius:8px; padding:35px; background:var(--whp-paper); text-align:center; }
.whp-empty p { margin:0 auto; max-width:620px; }
.whp-pagination { display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:10px; margin-top:30px; }
.whp-pagination a, .whp-pagination span { min-width:40px; padding:7px 13px; border:1px solid #cad4c8; text-decoration:none; border-radius:5px; color:var(--whp-sage-dark); text-align:center; }
.whp-pagination .current { background:var(--whp-sage-dark); color:white; border-color:var(--whp-sage-dark); }

/* Values and about */
.whp-values { background:#233e33; color:#fff8ea; padding-block:73px; }
.whp-values-inner { display:grid; grid-template-columns:.9fr 1.1fr; align-items:center; gap:70px; }
.whp-values .whp-eyebrow { color:#debd86 !important; }
.whp-values h2 { color:#fffdf6; font-size:clamp(2rem,4vw,3.15rem); line-height:1.2; margin:12px 0; }
.whp-values p { color:#d9e1d8; margin:0; }
.whp-values-quote { font-family:Georgia,serif; font-size: clamp(1.7rem,3vw,2.35rem); line-height:1.42; border-left:2px solid #c4a173; padding-left:30px; color:#fff7ea; }
.whp-story { padding-block:85px; }
.whp-story-inner { display:grid; grid-template-columns:.72fr 1.28fr; gap:75px; align-items:center; }
.whp-story-decor { position:relative; background:#e8eee6; min-height:325px; display:grid; place-items:center; border-radius:10px; overflow:hidden; }
.whp-story-decor::before { content:"W"; font-family:Georgia,serif; font-size:235px; font-weight:400; color:#a1b3a2; opacity:.6; }
.whp-story-decor::after { content:"PRESS  •  STORIES  •  IDEAS"; position:absolute; bottom:35px; font-size:.77rem; letter-spacing:.18em; color:#405747; }
.whp-story h2 { margin-bottom:18px; }
.whp-story p { max-width:640px; }
.whp-story .whp-link { display:inline-block; margin-top:10px; }
.whp-last-cta { padding-block:57px; background:#e8e1d4; text-align:center; }
.whp-last-cta h2 { margin:0 0 12px; font-size:clamp(2rem,3.6vw,2.7rem); }
.whp-last-cta p { margin:0 auto 23px; max-width:600px; }

/* Archive and book details */
.whp-page-heading { padding:63px 0 37px; }
.whp-page-heading h1 { font-size: clamp(2.6rem,5vw,4.2rem); line-height:1.12; margin:10px 0 16px; }
.whp-page-heading p { max-width:720px; margin:0; }
.whp-archive-content { padding-bottom:85px; }
.whp-single { display:grid; grid-template-columns: minmax(230px,.73fr) minmax(0,1.27fr); gap:clamp(30px,6vw,85px); align-items:start; padding-block:80px; }
.whp-single-cover { max-width:430px; box-shadow:var(--whp-shadow); border-radius:4px; overflow:hidden; }
.whp-single-cover .whp-card-cover { aspect-ratio:.72; }
.whp-single-cover .whp-card-cover--placeholder strong { font-size:2.7rem; }
.whp-single-cover img { width:100%; height:auto; display:block; }
.whp-single-copy h1 { font-size:clamp(2.4rem,4.4vw,4.3rem); line-height:1.15; margin:14px 0 9px; }
.whp-single-subtitle { font-family:Georgia,serif; font-style:italic; font-size:1.3rem !important; margin:0 0 14px; }
.whp-single-meta { display:flex; gap:9px; flex-wrap:wrap; margin:24px 0 29px; }
.whp-single-meta span { font-size:.8rem; font-weight:750; padding:7px 11px; background:#eef0e7; border-radius:5px; }
.whp-single-description { margin-bottom:25px; }
.whp-single-description p { margin-bottom:1.1em; }
.whp-single-purchase { display:flex; flex-wrap:wrap; gap:12px; }
.whp-single-footnote { font-size:.81rem !important; margin-top:13px; }
.whp-back { margin-top:30px; display:inline-block; }

@media (max-width: 1020px) {
  .whp-hero .whp-wrap { grid-template-columns:1.12fr .88fr; gap:18px; min-height:560px; }
  .whp-hero h1 { font-size: clamp(2.75rem,5.2vw,4.4rem); }
  .whp-hero-art { transform:scale(.82); transform-origin:center center; }
  .whp-book-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 760px) {
  .whp-wrap { padding-inline:20px; }
  .whp-section { padding-block:60px; }
  .whp-section-head { display:block; }
  .whp-section-head > p { margin-top:18px; }
  .whp-hero .whp-wrap { grid-template-columns:1fr; gap:12px; min-height:unset; padding-block:65px 25px; }
  .whp-hero h1 { font-size:clamp(2.7rem,9vw,4.6rem); }
  .whp-hero-art { margin:0 auto; width:100%; max-width:440px; height:375px; transform:scale(.75); transform-origin:top center; }
  .whp-hero-actions .whp-button { flex:1 1 175px; }
  .whp-genres { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .whp-book-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .whp-values-inner, .whp-story-inner, .whp-single { grid-template-columns:1fr; gap:29px; }
  .whp-story-decor { min-height:210px; }
  .whp-story-decor::before { font-size:160px; }
  .whp-single-cover { max-width:360px; }
  .whp-single { padding-block:55px; }
}
@media (max-width: 480px) {
  .whp-hero h1 { font-size:clamp(2.6rem,12vw,3.5rem); }
  .whp-hero-art { transform:scale(.61); height:300px; }
  .whp-trust .whp-wrap { display:grid; gap:10px; }
  .whp-genres { grid-template-columns:1fr; }
  .whp-genre { min-height:140px; }
  .whp-book-grid { grid-template-columns:1fr; gap:22px; max-width:350px; margin-inline:auto; }
  .whp-card-body { padding:15px 12px 18px; }
  .whp-card h3 { font-size:1.09rem; }
  .whp-card-cover--placeholder { padding:14px; }
  .whp-card-cover--placeholder strong { font-size:1.04rem; }
  .whp-card-cover--placeholder .whp-placeholder-mark { font-size:25px; }
  .whp-values-quote { padding-left:18px; }
}
@media (prefers-reduced-motion:reduce) {
  .whp-home *, .whp-pages * { scroll-behavior:auto !important; transition:none !important; animation:none !important; }
}


/* V1.1 — original real-book artwork, displayed without cropping the cover text. */
.whp-card-cover-link { background: #edeae2; }
.whp-card-cover--real { background: linear-gradient(155deg,#ebe9e0,#f9f6ee); padding: 15px 12px; }
.whp-card-cover--real img { width:100%; height:100%; object-fit:contain; object-position:center; box-shadow:0 5px 13px rgba(24,35,28,.14); border-radius: 2px; }
.whp-card:hover .whp-card-cover--real img { transform: translateY(-3px); }
.whp-hero-book--real { padding:0; background:transparent; border-left: 0; overflow:hidden; border-radius:2px 6px 6px 2px; }
.whp-hero-book--real img { display:block; width:100%; height:100%; object-fit:fill; }
.whp-hero-book--real::after { content:none; }
.whp-hero-book--front.whp-hero-book--real { width:246px; height:367px; right:78px; top:44px; transform:rotate(8deg) perspective(800px) rotateY(-5deg); }
.whp-hero-book--behind.whp-hero-book--real { width:221px; height:333px; left:26px; top:76px; transform:rotate(-14deg) perspective(800px) rotateY(8deg); }
.whp-story-decor--covers { padding:22px; background:linear-gradient(140deg,#e1e8df,#f5ece0); align-items:center; display:flex; flex-direction:column; justify-content:center; gap:12px; }
.whp-story-decor--covers::before,.whp-story-decor--covers::after { content:none; }
.whp-story-decor--covers .whp-mini-stack { display:flex; align-items:center; justify-content:center; min-height:225px; padding:10px 10px 2px; }
.whp-story-decor--covers img { display:block; height:175px; width:auto; box-shadow: 5px 12px 22px rgba(36,47,36,.16); border-radius:2px; object-fit:contain; }
.whp-story-decor--covers img:nth-child(1) { transform:rotate(-10deg) translateX(13px); }
.whp-story-decor--covers img:nth-child(2) { transform:rotate(6deg) translateX(-8px); }
.whp-story-decor--covers .whp-mini-caption { color:#325343; font-size:.72rem; text-transform:uppercase; letter-spacing:.18em; font-weight:750; }
/* Restrict reader-facing iconography and motion for comfort. */
.whp-genre:focus-visible, .whp-card-cover-link:focus-visible { outline: 3px solid #b08b4d; outline-offset: 2px; }
@media(max-width:760px) {
  .whp-hero-book--front.whp-hero-book--real { right:65px; }
  .whp-hero-book--behind.whp-hero-book--real { left:20px; }
}
@media(max-width:480px) {
  .whp-card-cover--real { padding: 15px; }
  .whp-hero-art { left:50%; margin-left:-225px; width:450px; max-width:none; }
  .whp-hero-book--front.whp-hero-book--real { right:80px; }
  .whp-hero-book--behind.whp-hero-book--real { left:27px; }
}


/* =============== VERSION 1.2: editorial category art & story =============== */
.whp-home, .whp-pages {font-size:16px;}
.whp-home .whp-genre, .whp-pages .whp-genre { min-height: 210px; display:grid; grid-template-columns: minmax(0,1.15fr) minmax(135px,.85fr); gap:0; align-items:stretch; padding:0; border-radius:14px; isolation:isolate; }
.whp-genres { grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
.whp-genre-content { z-index:1; display:flex; flex-direction:column; justify-content:center; align-items:flex-start; padding:28px 0 27px 28px; }
.whp-genre-kicker { font-size:.62rem; letter-spacing:.14em; color:#687b6b; font-weight:750; margin-bottom:11px; }
.whp-genre .whp-genre-title { font-family:Georgia,'Times New Roman',serif; font-size:clamp(1.34rem,2.1vw,1.8rem); color:#203932; font-weight:500; line-height:1.15; margin-bottom:10px; }
.whp-genre .whp-genre-description { font-size:.85rem; line-height:1.5; color:#52625a; max-width:235px; }
.whp-genre-more { font-weight:750; font-size:.82rem; margin-top:20px; border-bottom:1px solid #af9867; color:#285440; white-space:nowrap; }
.whp-genre-art { display:flex; align-items:stretch; justify-content:center; overflow:hidden; position:relative; pointer-events:none; }
.whp-genre-art img { width:115%; max-width:none; height:100%; display:block; object-fit:cover; object-position:center; mix-blend-mode:multiply; }
.whp-genre--one { background:#edf1e7; }.whp-genre--two { background:#f6e9dc; }.whp-genre--three {background:#edf1ed;}
.whp-genre--four {background:#eaf0ef;}.whp-genre--five {background:#f3e8e7;}.whp-genre--six {background:#f1eedf;}
.whp-genre:hover .whp-genre-art img { transform:scale(1.04); transition:transform .3s ease; }
.whp-genre:focus-visible { outline: 3px solid #a98e5a; outline-offset:3px; }
.whp-story-decor--illustrated { background:#e8eee6; min-height:318px; padding:0; }
.whp-story-decor--illustrated::before,.whp-story-decor--illustrated::after { content:none; }
.whp-story-decor--illustrated img { width:100%; height:auto; display:block; max-height:390px; object-fit:cover; }
.whp-story-inner { grid-template-columns: minmax(0,1fr) minmax(0,1.02fr); gap:58px; }
.whp-story h2 {font-size:clamp(2.15rem,3.2vw,3.2rem); line-height:1.16;}
/* =============== individual book pages =============== */
.whp-book-breadcrumb { padding-top:35px; display:flex; flex-wrap:wrap; gap:14px; align-items:center; color:#6c7d71; font-size:.86rem; }
.whp-book-breadcrumb a { color:#365b4a; text-decoration:none; border-bottom:1px solid #b99d6c; font-weight:700; }
.whp-single--v12 { padding-block:45px 98px; grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr); gap:clamp(35px,6.8vw,100px); }
.whp-single--v12 .whp-single-cover { max-width:none; box-shadow:none; border-radius:0; overflow:visible; }
.whp-single-cover-frame {background:radial-gradient(circle at 50% 35%,#e0e5dc,#f0ede5 75%);border:1px solid #e7e3d7; padding:30px; border-radius:12px;}
.whp-single-cover-frame .whp-card-cover { aspect-ratio:auto; background:none; padding:0; display:flex; align-items:center; justify-content:center; overflow:visible; min-height:400px; }
.whp-single-cover-frame img { width:auto; height:auto; max-width:100%; max-height:540px; object-fit:contain; border-radius:3px; box-shadow: 16px 24px 33px rgba(30,48,36,.16); }
.whp-cover-note { font-size:.8rem !important; text-align:center; margin:14px auto !important; letter-spacing:.04em; }
.whp-single--v12 .whp-single-copy h1 { margin:10px 0 13px; font-size:clamp(2.65rem,4.6vw,4.7rem); }
.whp-single--v12 .whp-single-subtitle { font-size:1.24rem !important; color:#607869; line-height:1.6; font-style:normal; }
.whp-single--v12 .whp-single-description { border-top:1px solid #e3e3da; padding-top:24px; margin:24px 0; }
.whp-book-specs { padding:6px 0 14px; }
.whp-book-specs h2 { font-size:1.55rem; margin-bottom:15px; }
.whp-book-specs dl { margin:0; display:grid; }
.whp-book-specs dl div { display:grid; grid-template-columns:minmax(115px,.36fr) 1fr; gap:16px; padding:10px 0; border-bottom:1px solid #e4e6de; }
.whp-book-specs dt { color:#65756b; font-size:.88rem; font-weight:700; }
.whp-book-specs dd { color:#2b4138; margin:0; font-size:.96rem; }
.whp-book-buybox { background:#ecf0e9; border-left:3px solid #b59c69; padding:21px 24px 24px; border-radius:0 9px 9px 0; margin-top:19px; }
.whp-buybox-label { font-size:.75rem !important; letter-spacing:.15em; font-weight:750; color:#365b49 !important; margin:0 0 10px !important; }
.whp-book-buybox p:last-child { margin-bottom:0; }
/* =============== publisher story page =============== */
.whp-about-hero { display:grid; grid-template-columns:1.05fr .95fr; align-items:center; gap:65px; padding-block:80px 90px; }
.whp-about-hero h1 { font-size:clamp(3rem,5.2vw,5.15rem); line-height:1.12; margin:20px 0 20px; }
.whp-about-hero h1 em {font-weight:400; color:#657f6c;}
.whp-about-hero .whp-story-decor { min-height:310px; }
.whp-about-lead { font-size:1.12rem !important; margin-bottom:27px; }
.whp-about-principles { background:#eeeae0; padding-block:76px; }
.whp-about-principles h2 {font-size:clamp(2.2rem,4vw,3.25rem);max-width:670px;line-height:1.17;margin:8px 0 31px;}
.whp-principles-grid {display:grid;grid-template-columns:repeat(3,1fr);gap:19px;}
.whp-principles-grid>div {background:#fffdf8;padding:30px;border:1px solid #e2ddd1;border-radius:10px;}
.whp-principles-grid span {color:#bb975d;font-size:1.5rem;}
.whp-principles-grid h3 {font-family:Georgia,serif;font-size:1.65rem;font-weight:500;margin:15px 0 7px;}
.whp-principles-grid p {font-size:.95rem; margin:0;}
.whp-about-footer {text-align:center;padding-block:68px 84px;}
.whp-about-footer h2 {font-size:clamp(2rem,4vw,3rem);margin:0 0 10px;}
.whp-about-footer p {margin:0 0 22px;}
@media(max-width: 1050px) {
 .whp-home .whp-genres,.whp-pages .whp-genres{gap:16px;}
 .whp-home .whp-genre,.whp-pages .whp-genre{grid-template-columns:1fr 148px;}
 .whp-genre-content{padding:21px 0 21px 22px;}
}
@media(max-width: 760px) {
 .whp-home .whp-genres,.whp-pages .whp-genres{grid-template-columns:1fr;}
 .whp-home .whp-genre,.whp-pages .whp-genre{grid-template-columns:1fr 42%;min-height:183px;}
 .whp-genre .whp-genre-title{font-size:1.43rem;}
 .whp-genre-art img{width:122%;}
 .whp-story-inner,.whp-about-hero,.whp-single--v12{grid-template-columns:1fr;}
 .whp-about-hero{gap:22px;padding-block:55px;}
 .whp-about-hero h1{font-size:clamp(2.7rem,9vw,4rem);}
 .whp-about-hero .whp-story-decor{min-height:unset;}
 .whp-principles-grid{grid-template-columns:1fr;}
 .whp-single--v12{padding-block:30px 65px;}
 .whp-single-cover-frame{padding:20px;}
 .whp-single-cover-frame .whp-card-cover{min-height:0;}
 .whp-single-cover-frame img{max-height:460px;}
}
@media(max-width: 480px) {
 .whp-home .whp-genre,.whp-pages .whp-genre{min-height:173px;grid-template-columns:minmax(0,1fr) 39%;}
 .whp-genre-content{padding:18px 0 18px 20px;}
 .whp-genre-kicker{font-size:.53rem;}
 .whp-genre .whp-genre-title{font-size:1.25rem;}
 .whp-genre .whp-genre-description{font-size:.77rem;}
 .whp-genre-more{font-size:.72rem;margin-top:11px;}
 .whp-book-specs dl div{grid-template-columns: 1fr;gap:3px;}
 .whp-book-buybox{padding:20px;}
}


/* V1.3: modest Blocksy header/footer styling. Header layout remains controlled
   by Appearance → Customize → Header, so user settings are never overwritten. */
body:has(.whp-home) #header,
body:has(.whp-pages) #header { color: #203932; }
body:has(.whp-home) #header [data-row="middle"],
body:has(.whp-pages) #header [data-row="middle"] { border-bottom: 1px solid rgba(53,76,62,.10); }
body:has(.whp-home) #header .menu > li > a,
body:has(.whp-pages) #header .menu > li > a { font-weight:650; }
body:has(.whp-home) #footer,
body:has(.whp-pages) #footer { border-top: 1px solid rgba(53,76,62,.10); }
/* Ensure long subtitles and titles never overflow on narrow devices. */
.whp-card h3, .whp-card-subtitle, .whp-single-copy h1,
.whp-genre-title { overflow-wrap:anywhere; }

/* =========================================================
   WordHealer Press Child V1.4 — Optional Standard Page Template
   Only pages that SELECT this template receive these styles.
   ========================================================= */
.whp-standard-page {
  background: #FAF7F1;
  color: #465750;
  padding: clamp(36px, 5vw, 64px) 24px clamp(56px, 7vw, 90px);
  min-height: 55vh;
  font-family: Arial, Helvetica, sans-serif;
}
.whp-standard-inner { width: min(100%, 880px); margin-inline: auto; }
.whp-standard-page .whp-standard-header { margin: 0 0 25px; }
.whp-standard-page h1,
.whp-standard-page .whp-standard-content :is(h2,h3,h4,h5,h6) {
  color: #233E33;
  font-family: Georgia, 'Times New Roman', serif;
  letter-spacing: -.02em;
  line-height: 1.28;
  font-weight: 600;
}
.whp-standard-page h1 { font-size: clamp(2rem,3.4vw,2.7rem); margin: 0; }
.whp-standard-page .whp-standard-content h2 {font-size: clamp(1.55rem,2.9vw,2.1rem); margin: 1.65em 0 .6em; }
.whp-standard-page .whp-standard-content h3 {font-size: clamp(1.25rem,2.3vw,1.7rem); margin: 1.4em 0 .6em; }
.whp-standard-page .whp-standard-content :is(p,li,dt,dd) {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 17px;
  line-height: 1.85;
  color: #465750;
}
.whp-standard-page .whp-standard-content p { margin: 0 0 1.3em; }
.whp-standard-page .whp-standard-content ul,
.whp-standard-page .whp-standard-content ol { padding-left: 1.6em; margin: 0 0 1.35em; }
.whp-standard-page .whp-standard-content li { margin-bottom: .4em; }
.whp-standard-page .whp-standard-content a {color:#27513E; text-decoration:underline; text-decoration-color:#C7A66D; text-underline-offset:4px; font-weight:600; }
.whp-standard-page .whp-standard-content a:hover {color:#A27D42;}
.whp-standard-page .whp-standard-content :is(a,button):focus-visible {outline:3px solid #b08b4d; outline-offset:3px;}
.whp-standard-page .whp-standard-content :is(img,iframe) { max-width:100%; }
@media (max-width: 768px) {
  .whp-standard-page {padding-inline: 20px;}
  .whp-standard-page .whp-standard-content :is(p,li,dt,dd) {font-size:16px; line-height:1.75;}
}
/* Additional storefront buttons share V1.4 responsive and accessible styles. */
.whp-single-purchase .whp-extra-purchase-button { max-width:100%; white-space:normal; text-align:center; }
