/* V6.44: compact two-book shelf and portrait sample gallery. */
.publications-home--featured{padding:64px 0}
.publications-home--featured .publications-head{margin-bottom:26px}
.ccm-book-shelf{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:stretch}
.ccm-book-card{display:grid;grid-template-columns:minmax(0,.82fr) minmax(0,1fr);background:var(--paper);border:1px solid var(--line);min-width:0;overflow:hidden}
.ccm-book-visual{position:relative;display:grid;place-items:center;min-height:290px;isolation:isolate;overflow:hidden;background:var(--navy);padding:24px}
.ccm-book-visual img{display:block;position:absolute;object-fit:contain;max-width:100%;height:auto;transition:transform .28s ease;filter:drop-shadow(0 6px 12px rgba(0,0,0,.24))}
.ccm-book-visual .ccm-book-cover{position:relative;z-index:3;width:100%;max-height:230px;object-fit:contain}
.ccm-book-visual .ccm-book-sample{width:63%;max-height:188px;left:19%;top:50%;transform:translateY(-50%) translateX(-8%) rotate(-12deg);z-index:1;opacity:.92}
.ccm-book-visual .ccm-book-sample--right{transform:translateY(-50%) translateX(10%) rotate(12deg);z-index:2}
.ccm-book-visual--portrait .ccm-book-cover{max-width:154px;max-height:230px}
.ccm-book-visual--portrait .ccm-book-sample{width:52%;left:24%;max-height:192px}
@media (hover:hover) and (pointer:fine){
 .ccm-book-visual:hover .ccm-book-cover{transform:translateY(-5px)}
 .ccm-book-visual:hover .ccm-book-sample{transform:translateY(-50%) translateX(-24%) rotate(-17deg)}
 .ccm-book-visual:hover .ccm-book-sample--right{transform:translateY(-50%) translateX(24%) rotate(17deg)}
}
.ccm-book-visual:focus-visible{outline:3px solid var(--gold);outline-offset:-4px}
.ccm-book-visual:focus-visible .ccm-book-sample{transform:translateY(-50%) translateX(-24%) rotate(-17deg)}
.ccm-book-visual:focus-visible .ccm-book-sample--right{transform:translateY(-50%) translateX(24%) rotate(17deg)}
.ccm-book-copy{padding:24px 23px;display:flex;flex-direction:column;align-items:flex-start;min-width:0}
.ccm-book-copy .publication-eyebrow{margin-bottom:12px;line-height:1.4}
.ccm-book-copy h3{font-size:clamp(1.4rem,2.1vw,2rem);line-height:1.06;letter-spacing:-.035em;color:var(--navy);margin:0 0 9px;overflow-wrap:anywhere}
.ccm-book-copy .ccm-book-subtitle{font-size:.87rem;font-weight:650;color:var(--navy);margin:0 0 9px;line-height:1.35}
.ccm-book-copy .publication-author{font-size:.82rem;margin:0 0 12px}
.ccm-book-copy .ccm-book-desc{font-size:.88rem;line-height:1.55;color:#575757;margin:0 0 18px}
.ccm-book-actions{margin-top:auto;display:flex;flex-wrap:wrap;gap:12px 15px;align-items:center}
.ccm-book-actions .btn{min-height:42px;padding:8px 12px;font-size:.81rem;line-height:1.35}
.ccm-book-actions .text-link{font-size:.81rem;line-height:1.4}
.ccm-book-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:30px;align-items:start}
.ccm-book-gallery figure{margin:0;min-width:0}
.ccm-book-gallery a{display:block;background:var(--paper);border:1px solid var(--line);padding:5px}
.ccm-book-gallery img{width:100%;height:auto;display:block}
.ccm-book-gallery figcaption{font-size:.9rem;font-weight:650;color:var(--navy);padding:12px 0 0}
.ccm-book-back{display:inline-block;margin-bottom:20px;color:#dddddd;font-weight:700;font-size:.9rem;text-decoration:underline;text-underline-offset:4px}
.ccm-book-detail-note{font-size:.9rem;color:#cdcdcd;margin:16px 0 0}
.ccm-book-detail-subtitle{font-size:clamp(1.2rem,2.1vw,1.8rem);line-height:1.3;margin:0 0 16px;font-weight:650;color:#fff}
.ccm-book-detail-cover{max-height:460px;width:auto;max-width:100%;object-fit:contain}
.ccm-book-back-band .btn{white-space:normal}
@media(max-width:1050px){.ccm-book-shelf{grid-template-columns:1fr}.ccm-book-card{grid-template-columns:minmax(0,.65fr) minmax(0,1fr)}.ccm-book-visual{min-height:260px}.ccm-book-visual .ccm-book-cover{max-width:220px}.ccm-book-visual--portrait .ccm-book-cover{max-width:154px}.ccm-book-visual .ccm-book-sample{max-width:160px;left:50%;transform:translate(-65%,-50%) rotate(-12deg)}.ccm-book-visual .ccm-book-sample--right{transform:translate(-35%,-50%) rotate(12deg)}.ccm-book-visual:focus-visible .ccm-book-sample,.ccm-book-visual:hover .ccm-book-sample{transform:translate(-85%,-50%) rotate(-17deg)}.ccm-book-visual:focus-visible .ccm-book-sample--right,.ccm-book-visual:hover .ccm-book-sample--right{transform:translate(-15%,-50%) rotate(17deg)}}
@media(max-width:560px){.publications-home--featured{padding:48px 0}.ccm-book-card{grid-template-columns:1fr}.ccm-book-copy{padding:22px}.ccm-book-visual{min-height:235px;padding:20px}.ccm-book-visual .ccm-book-cover{max-height:195px}.ccm-book-visual--portrait .ccm-book-cover{max-width:136px}.ccm-book-gallery{grid-template-columns:1fr;gap:25px}.ccm-book-detail-cover{max-height:340px}.ccm-book-actions .btn{min-height:44px}}
@media(prefers-reduced-motion:reduce){.ccm-book-visual img{transition:none!important}.ccm-book-visual:hover .ccm-book-cover{transform:none}}
/* Keep the landscape book's sample spreads visible behind its wider cover. */
.ccm-book-visual:not(.ccm-book-visual--portrait) .ccm-book-cover{width:85%;max-width:225px}
.ccm-book-visual:not(.ccm-book-visual--portrait) .ccm-book-sample{width:72%;max-width:210px;left:50%;transform:translate(-61%,-58%) rotate(-12deg)}
.ccm-book-visual:not(.ccm-book-visual--portrait) .ccm-book-sample--right{transform:translate(-39%,-42%) rotate(12deg)}
@media (hover:hover) and (pointer:fine){.ccm-book-visual:not(.ccm-book-visual--portrait):hover .ccm-book-sample{transform:translate(-74%,-62%) rotate(-17deg)}.ccm-book-visual:not(.ccm-book-visual--portrait):hover .ccm-book-sample--right{transform:translate(-26%,-38%) rotate(17deg)}}
.ccm-book-visual:not(.ccm-book-visual--portrait):focus-visible .ccm-book-sample{transform:translate(-74%,-62%) rotate(-17deg)}
.ccm-book-visual:not(.ccm-book-visual--portrait):focus-visible .ccm-book-sample--right{transform:translate(-26%,-38%) rotate(17deg)}

