.hbb-page{--hbb-accent:#d4af37;background:#171c20;color:#edf1f2;min-height:65vh;padding:clamp(2rem,5vw,5rem) 1rem 4rem;line-height:1.55}.hbb-page *{box-sizing:border-box}.hbb-page a{color:inherit}.hbb-shell{max-width:1180px;margin:auto}.hbb-hero{position:relative;overflow:hidden;background:linear-gradient(120deg,#263037,#1b2329);border:1px solid #45525a;border-radius:16px;padding:clamp(2rem,5vw,4.5rem);margin-bottom:2rem}.hbb-hero:before{content:"";position:absolute;inset:0 auto 0 0;width:6px;background:var(--hbb-accent)}.hbb-kicker{display:block;color:var(--hbb-accent);font-size:.77rem;text-transform:uppercase;letter-spacing:.16em;font-weight:700;margin-bottom:1rem}.hbb-hero h1,.hbb-detail h1{color:#fff;font-size:clamp(2.15rem,5vw,4rem);letter-spacing:-.035em;line-height:1.12;margin:0 0 1rem}.hbb-hero p{font-size:1.1rem;color:#d2d9dc;max-width:660px;margin:0}.hbb-sections{display:grid;grid-template-columns:repeat(auto-fit,minmax(245px,1fr));gap:1rem;margin:2rem 0 3rem}.hbb-sections>a{display:flex;flex-direction:column;min-height:210px;padding:1.5rem;background:#273138;border:1px solid #46535b;border-top:5px solid var(--hbb-tile);border-radius:12px;text-decoration:none!important;transition:transform .18s,border-color .18s,background .18s}.hbb-sections>a:hover,.hbb-sections>a:focus-visible{transform:translateY(-3px);background:#303d44;border-color:var(--hbb-tile)}.hbb-sections__eyebrow{font-size:.7rem;text-transform:uppercase;letter-spacing:.12em;color:#c7d2d7}.hbb-sections strong{font-size:1.32rem;color:white;line-height:1.25;margin:.75rem 0 .5rem}.hbb-sections small{font-size:.9rem;color:#d6dee0;line-height:1.45}.hbb-sections__footer{display:flex;justify-content:space-between;align-items:center;margin-top:auto;padding-top:1.4rem;color:var(--hbb-tile);font-weight:700}.hbb-sections__footer b{font-size:1.3rem}.hbb-section-heading{color:white;font-size:1.8rem;margin:0 0 1.4rem}.hbb-back{margin:0 0 1.2rem}.hbb-back a{color:#c9d4d8!important;text-underline-offset:4px}.hbb-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(215px,1fr));gap:1.25rem}.hbb-card{display:flex;flex-direction:column;background:#283239;border:1px solid #46545c;border-radius:12px;overflow:hidden;min-width:0}.hbb-card__cover{display:flex;align-items:center;justify-content:center;height:255px;padding:1.3rem;background:#20292e}.hbb-card__cover img{width:auto;max-width:100%;height:100%;object-fit:contain;box-shadow:0 8px 22px #0006}.hbb-empty-cover{display:grid;place-items:center;width:135px;height:205px;background:#35444d;color:#d8e2e6;font-size:2rem;letter-spacing:.15em}.hbb-card__body{display:flex;flex-direction:column;flex:1;padding:1.2rem}.hbb-card h3{font-size:1.06rem;line-height:1.35;margin:0 0 .45rem;color:#fff}.hbb-card h3 a{text-decoration:none}.hbb-card h3 a:hover{text-decoration:underline;text-underline-offset:3px}.hbb-author{color:#d0d9dd;font-size:.88rem;margin:.1rem 0 .7rem}.hbb-price{font-size:1.12rem;color:#fff;font-weight:700;margin:auto 0 .8rem}.hbb-card__links{display:flex;align-items:center;flex-wrap:wrap;gap:.55rem;margin-top:auto}.hbb-card__links>a:first-child{font-size:.85rem;color:#e0e9ed;text-underline-offset:3px}.hbb-page .hbb-buy,.hbb-page .hbb-detail__buy{display:inline-flex;align-items:center;justify-content:center;background:var(--hbb-accent);color:#132025!important;border:1px solid transparent;border-radius:5px;font-size:.82rem;font-weight:750;line-height:1.3;text-decoration:none!important;padding:.48rem .7rem;transition:filter .15s,transform .15s}.hbb-page .hbb-buy:hover,.hbb-page .hbb-detail__buy:hover{filter:brightness(1.13);transform:translateY(-1px)}.hbb-pagination{margin:2rem 0}.hbb-pagination ul{display:flex;justify-content:center;flex-wrap:wrap;gap:.5rem;list-style:none;margin:0;padding:0}.hbb-pagination a,.hbb-pagination span{display:block;border:1px solid #75848d;border-radius:5px;padding:.5rem .8rem;background:#29353c;color:#fff!important;text-decoration:none!important;min-width:2.5rem;text-align:center}.hbb-pagination .current{background:var(--hbb-accent);border-color:var(--hbb-accent);color:#132025!important;font-weight:750}.hbb-pagination a:hover{border-color:var(--hbb-accent);background:#394b53;color:#fff!important}.hbb-detail{display:grid;grid-template-columns:minmax(220px,360px) minmax(0,1fr);gap:clamp(1.5rem,5vw,5rem);padding:clamp(1.5rem,4vw,3rem);background:#273138;border:1px solid #48555d;border-top:5px solid var(--hbb-accent);border-radius:14px}.hbb-detail__cover{display:flex;justify-content:center;align-items:flex-start;background:#1d262b;border-radius:9px;padding:clamp(1.5rem,4vw,3rem);align-self:start}.hbb-detail__cover img{width:auto;max-width:100%;height:auto;max-height:540px;object-fit:contain;box-shadow:0 12px 32px #0008}.hbb-detail h1{font-size:clamp(2rem,4vw,3.25rem)}.hbb-detail__author{color:#d2dce0;font-size:1.1rem;margin:.5rem 0 1.2rem}.hbb-detail__sections{display:flex;flex-wrap:wrap;gap:.55rem}.hbb-detail__sections a{border:1px solid var(--hbb-accent);border-radius:99px;color:#fff!important;padding:.35rem .75rem;font-size:.82rem;text-decoration:none!important}.hbb-detail__sections a:hover{background:#3c4c53}.hbb-detail__price{font-size:1.6rem;font-weight:750;color:white;margin:1.5rem 0 .6rem}.hbb-detail__learn a{color:#e3edf0!important;text-decoration:underline;text-underline-offset:4px}.hbb-detail__learn a:hover{color:#fff!important}.hbb-detail__isbn{color:#b9c5c9;font-size:.86rem}.hbb-page .hbb-detail__buy{margin:1rem 0;padding:.65rem 1rem;font-size:.92rem}.hbb-disclosure{color:#c2cdd1;font-size:.78rem;line-height:1.55;margin:2rem 0 0}.hbb-empty{padding:2rem;background:#273138;border-radius:9px;color:#e4ebed}@media(max-width:700px){.hbb-detail{grid-template-columns:1fr}.hbb-detail__cover img{max-height:370px}.hbb-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}.hbb-card__cover{height:210px;padding:.8rem}.hbb-card__body{padding:.9rem}.hbb-card__links{align-items:flex-start;flex-direction:column}}@media(max-width:430px){.hbb-grid{grid-template-columns:1fr 1fr}.hbb-card__cover{height:180px}.hbb-card h3{font-size:.94rem}.hbb-page .hbb-buy{font-size:.75rem}.hbb-hero{padding:1.7rem}.hbb-sections{grid-template-columns:1fr}}
/* Version 1.0.2: bring shop content closer to the site header and footer. */
body.post-type-archive-hbb_book #content,body.tax-hbb_book_section #content,body.single-hbb_book #content{padding-top:0!important;padding-bottom:0!important;margin-top:0!important;margin-bottom:0!important}
.hbb-page{padding-top:0;padding-bottom:1.2rem}
.hbb-hero{margin-bottom:1.5rem}
.hbb-grid{grid-template-columns:repeat(5,minmax(0,1fr))}
.hbb-search{margin-top:1.7rem;max-width:700px}
.hbb-search label{display:block;color:#f6f8f8;font-size:.95rem;font-weight:700;margin-bottom:.45rem}
.hbb-search__row{display:flex;gap:.55rem}
.hbb-search input{min-width:0;flex:1;background:#fff;color:#172329;border:1px solid #bbc9cd;border-radius:5px;padding:.72rem .85rem;font-size:1rem;line-height:1.25}
.hbb-search input::placeholder{color:#5d696e;opacity:1}
.hbb-search button{cursor:pointer;background:var(--hbb-accent);color:#152026;border:0;border-radius:5px;padding:.65rem 1rem;font-size:.92rem;font-weight:750;line-height:1.25;white-space:nowrap}
.hbb-search button:hover,.hbb-search button:focus-visible{filter:brightness(1.16)}
.hbb-hero__links,.hbb-other-shops__links{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:1.5rem}
.hbb-page .hbb-pill{--hbb-tile:#aab9be;display:inline-flex;align-items:center;border:1px solid var(--hbb-tile);border-radius:5px;color:#fff!important;padding:.4rem .7rem;font-size:.79rem;font-weight:650;line-height:1.3;text-decoration:none!important;transition:background .15s}
.hbb-page .hbb-pill:hover,.hbb-page .hbb-pill:focus-visible{background:#405159}
.hbb-page .hbb-pill--all{--hbb-tile:#aab9be}
.hbb-other-shops{grid-column:1/-1;border-top:1px solid #526068;padding-top:1.4rem}
.hbb-other-shops h2{font-size:1rem;color:#f5f7f7;margin:0}
.hbb-other-shops__links{margin-top:.8rem}
.hbb-detail{row-gap:1.5rem}
.hbb-detail .hbb-disclosure{margin-top:1.1rem}
.hbb-page>.hbb-shell>.hbb-disclosure{margin-top:1.4rem}
@media(max-width:1050px){.hbb-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:800px){.hbb-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){.hbb-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hbb-search__row{flex-direction:column}.hbb-search button{align-self:flex-start}.hbb-hero__links{gap:.4rem}}
/* Horripilations: charcoal, parchment and crimson; preserve portrait covers. */
.hbb-page{background:#111216;color:#e5e0d8;padding:36px 16px 60px;--hbb-accent:#ad2938}
.hbb-page .hbb-shell{max-width:1200px;margin:auto}
.hbb-page .hbb-hero,.hbb-page .hbb-detail,.hbb-page .hbb-card,.hbb-page .hbb-sections>a{background:#1b1c22;border:1px solid #383039;border-radius:14px;box-shadow:0 10px 30px #0003;color:#e5e0d8}
.hbb-page .hbb-hero{border-top:3px solid #ad2938}
.hbb-page h1,.hbb-page h2,.hbb-page h3,.hbb-page strong{color:#f1ebe4}
.hbb-page p,.hbb-page small,.hbb-page .hbb-author{color:#c8c1bb}
.hbb-page .hbb-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}
.hbb-page .hbb-card{overflow:hidden;display:flex;flex-direction:column}
.hbb-page .hbb-card__cover{background:#15151a;padding:20px;height:280px;display:flex;align-items:center;justify-content:center}
.hbb-page .hbb-card__cover img{height:100%;width:100%;object-fit:contain;filter:drop-shadow(0 5px 7px #0008)}
.hbb-page .hbb-card__body{flex:1;display:flex;flex-direction:column}
.hbb-page .hbb-card__links{margin-top:auto}
.hbb-page .hbb-price,.hbb-page .hbb-detail__price{color:#f3e5c3}
.hbb-page input{background:#111216!important;color:#eee!important;border:1px solid #62525b!important}
.hbb-page .hbb-pill,.hbb-page .hbb-detail__sections a{background:#24222a;color:#f0e7df;border:1px solid #66505d}
.hbb-page a:focus-visible,.hbb-page button:focus-visible,.hbb-page input:focus-visible{outline:3px solid #f0c07b;outline-offset:3px}
.hbb-page .hbb-buy,.hbb-page .hbb-detail__buy,.hbb-page button{background:#a52436;color:#fff;border-color:#a52436}
.hbb-page .hbb-disclosure{border-color:#49363d;color:#bfb7b1}
@media(max-width:1000px){.hbb-page .hbb-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.hbb-page .hbb-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){.hbb-page .hbb-grid{grid-template-columns:1fr}.hbb-page .hbb-card__cover{height:320px}}
