/* bonus-blackmere-files.css */
:root{
  --bm-red:#8a2d2b;
  --bm-red-bright:#bc5149;
  --bm-ivory:#ede5d8;
  --bm-muted:#b9afa3;
  --bm-line:rgba(173,73,65,.42);
  --bm-cold:#8ca5ad;
}
body.blackmere-bonus-page{
  --shell:1180px;
  background:#030506;
  color:var(--bm-ivory);
}
.blackmere-bonus-page .site-header{background:linear-gradient(180deg,rgba(2,4,5,.98),rgba(2,4,5,.78) 78%,transparent)}
.blackmere-bonus-page .primary-nav>a.current{color:#d27a70}
.blackmere-bonus-page .primary-nav>a.current::after{content:"";position:absolute;left:0;right:0;bottom:6px;height:1px;background:#b64b43;box-shadow:0 0 7px rgba(182,75,67,.42)}
.bm-archive-hero{
  position:relative;
  min-height:540px;
  display:grid;
  align-items:center;
  overflow:hidden;
  border-bottom:1px solid rgba(173,73,65,.34);
  background:#030506;
}
.bm-archive-hero-art{
  position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;
  filter:saturate(.72) contrast(1.08) brightness(.58);
  transform:scale(1.01);
}
.bm-archive-hero::before{
  content:"";position:absolute;inset:0;z-index:1;
  background:
    radial-gradient(circle at 80% 44%,rgba(116,143,151,.13),transparent 24%),
    linear-gradient(90deg,rgba(1,3,4,.97) 0%,rgba(1,3,4,.89) 40%,rgba(1,3,4,.42) 69%,rgba(1,3,4,.56) 100%),
    linear-gradient(180deg,rgba(0,0,0,.15),rgba(0,0,0,.15) 60%,rgba(0,0,0,.92));
}
.bm-archive-hero::after{
  content:"";position:absolute;inset:0;z-index:1;opacity:.13;
  background-image:linear-gradient(rgba(255,255,255,.022) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.016) 1px,transparent 1px);
  background-size:80px 80px;
  mask-image:linear-gradient(180deg,transparent,#000 15%,#000 87%,transparent);
}
.bm-archive-hero-inner{position:relative;z-index:2;padding-top:124px;padding-bottom:72px}
.bm-breadcrumb{display:flex;align-items:center;gap:10px;margin-bottom:24px;color:#a89f94;font:700 9px/1.3 Arial,sans-serif;letter-spacing:.13em;text-transform:uppercase}
.bm-breadcrumb a{color:#d08378}.bm-breadcrumb a:hover,.bm-breadcrumb a:focus{text-decoration:underline}
.bm-kicker,.bm-section-kicker{margin:0 0 11px;color:#d26d63;font:700 10px/1.25 Arial,sans-serif;letter-spacing:.27em;text-transform:uppercase}
.bm-archive-hero h1{max-width:900px;margin:0;line-height:.92;font-weight:400;text-transform:uppercase;text-shadow:0 8px 28px rgba(0,0,0,.88)}
.bm-title-line{display:block;white-space:nowrap}
.bm-title-line--main{color:#f0e8dc;font-size:clamp(42px,5.5vw,72px);letter-spacing:.025em}
.bm-title-line--archive{margin-top:6px;color:#c85e55;font-size:clamp(60px,7.7vw,98px);letter-spacing:.018em}
.bm-hero-lead{max-width:700px;margin:23px 0 0;color:#d6cdc2;font-size:clamp(17px,1.7vw,22px);line-height:1.5;font-style:italic;text-shadow:0 4px 20px rgba(0,0,0,.9)}
.bm-hero-actions{display:flex;flex-wrap:wrap;gap:14px;margin-top:30px}
.bm-primary-button,.bm-secondary-button{
  display:inline-flex;align-items:center;justify-content:space-between;gap:24px;min-height:50px;padding:15px 18px;
  border:1px solid #b94b43;font:700 10px/1.2 Arial,sans-serif;letter-spacing:.08em;text-transform:uppercase;
  transition:transform .2s ease,background .2s ease,color .2s ease,border-color .2s ease;
}
.bm-primary-button{min-width:220px;background:#d7786e;color:#070505}
.bm-secondary-button{min-width:310px;background:rgba(3,5,6,.76);color:#d6766d}
.bm-secondary-button span{color:#a99e91;font-size:9px;letter-spacing:.04em}
.bm-primary-button:hover,.bm-primary-button:focus,.bm-secondary-button:hover,.bm-secondary-button:focus{transform:translateY(-2px)}
.bm-secondary-button:hover,.bm-secondary-button:focus{background:#d7786e;color:#070505}.bm-secondary-button:hover span,.bm-secondary-button:focus span{color:#44201d}
.bm-archive-overview{padding:88px 0;background:radial-gradient(circle at 15% 10%,rgba(120,146,154,.07),transparent 28%),#071014;border-bottom:1px solid rgba(173,73,65,.17)}
.bm-overview-grid{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:76px;align-items:start}
.bm-overview-grid h2,.bm-downloads-heading h2,.bm-complete-pack h2{margin:0;color:#f0e8dd;font-size:clamp(40px,5vw,64px);line-height:1.04;font-weight:400}
.bm-overview-copy{padding-left:36px;border-left:1px solid var(--bm-line)}
.bm-overview-copy>p{margin:0;color:#c6bdb2;font-size:17px;line-height:1.74}
.bm-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:30px 0 0}
.bm-stats div{padding-top:18px;border-top:1px solid rgba(173,73,65,.34)}
.bm-stats dt{color:#d36d64;font-size:29px;line-height:1}.bm-stats dd{margin:8px 0 0;color:#9f968b;font:700 9px/1.35 Arial,sans-serif;letter-spacing:.08em;text-transform:uppercase}
.bm-downloads{position:relative;padding:94px 0 108px;overflow:hidden;background:radial-gradient(circle at 88% 20%,rgba(116,143,151,.1),transparent 27%),radial-gradient(circle at 10% 76%,rgba(150,46,42,.1),transparent 24%),#020506}
.bm-downloads::before{content:"";position:absolute;inset:0;opacity:.09;background-image:linear-gradient(rgba(255,255,255,.02) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.016) 1px,transparent 1px);background-size:82px 82px;mask-image:linear-gradient(180deg,transparent,#000 8%,#000 92%,transparent)}
.bm-downloads>.shell{position:relative;z-index:1}
.bm-downloads-heading{max-width:780px;margin:0 auto 46px;text-align:center}.bm-downloads-heading>p:last-child{max-width:670px;margin:18px auto 0;color:#aaa196;font-size:16px;line-height:1.65}
.bm-material-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.bm-material-card{display:grid;grid-template-rows:255px minmax(0,1fr);overflow:hidden;border:1px solid var(--bm-line);background:linear-gradient(145deg,rgba(12,17,19,.98),rgba(4,7,8,.99));box-shadow:0 22px 55px rgba(0,0,0,.4),inset 0 0 0 1px rgba(255,255,255,.015)}
.bm-material-visual{position:relative;overflow:hidden;background:#030506}.bm-material-visual::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.02),rgba(3,7,8,.9))}
.bm-material-visual img{width:100%;height:100%;object-fit:cover;transition:transform .4s ease,filter .4s ease}.bm-material-visual--portrait img{object-position:center 22%}.bm-material-card:hover .bm-material-visual img{transform:scale(1.025);filter:brightness(1.05)}
.bm-material-content{display:flex;flex-direction:column;padding:30px 30px 32px}.bm-material-type{color:#d36d64;font:700 9px/1.35 Arial,sans-serif;letter-spacing:.18em;text-transform:uppercase}
.bm-material-content h3{margin:12px 0 13px;color:#f1e9de;font-size:clamp(30px,3vw,43px);line-height:1.02;font-weight:400}.bm-material-content>p{margin:0;color:#b9b0a5;font-size:15px;line-height:1.64}
.bm-file-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:auto;padding-top:23px;border-top:1px solid rgba(173,73,65,.24)}
.bm-file-actions a{display:flex;flex-direction:column;gap:5px;padding:12px 13px;border:1px solid rgba(173,73,65,.54);color:#d87970;background:rgba(0,0,0,.21);font:700 10px/1.2 Arial,sans-serif;letter-spacing:.06em;text-transform:uppercase;transition:background .2s ease,color .2s ease,border-color .2s ease}.bm-file-actions a span{color:#8f877d;font-size:9px;letter-spacing:.03em}.bm-file-actions a:hover,.bm-file-actions a:focus{background:#b94b43;color:#060404;border-color:#b94b43}.bm-file-actions a:hover span,.bm-file-actions a:focus span{color:#45221f}
.bm-complete-pack{padding:84px 0;border-top:1px solid rgba(173,73,65,.16);border-bottom:1px solid rgba(173,73,65,.22);background:linear-gradient(90deg,rgba(2,5,6,.95),rgba(2,5,6,.76)),url('../images/bonus/blackmere-case-archive-hero.webp') center/cover no-repeat}
.bm-complete-pack-inner{display:grid;grid-template-columns:minmax(0,1fr) 370px;gap:60px;align-items:center}.bm-complete-pack p:not(.bm-section-kicker){max-width:680px;margin:16px 0 0;color:#c3b9af;font-size:17px;line-height:1.65}
.bm-complete-button{display:flex;flex-direction:column;gap:7px;padding:20px 22px;border:1px solid #b94b43;background:#b94b43;color:#070404;text-transform:uppercase;transition:transform .2s ease,background .2s ease}.bm-complete-button span{font:700 12px/1.2 Arial,sans-serif;letter-spacing:.07em}.bm-complete-button small{font:700 9px/1.3 Arial,sans-serif;letter-spacing:.04em;color:#45211e}.bm-complete-button:hover,.bm-complete-button:focus{transform:translateY(-2px);background:#d87369}
.bm-use-note{padding:48px 0 58px;background:#070b0d}.bm-use-note-inner{display:grid;grid-template-columns:220px minmax(0,1fr) auto;gap:30px;align-items:center}.bm-use-note h2{margin:0;color:#eee6dc;font-size:26px;font-weight:400}.bm-use-note p{margin:0;color:#a99f95;font-size:14px;line-height:1.65}.bm-use-note a{color:#d7786e;font:700 10px/1.3 Arial,sans-serif;letter-spacing:.07em;text-transform:uppercase;white-space:nowrap}.bm-use-note a:hover,.bm-use-note a:focus{text-decoration:underline}
@media(max-width:860px){
  .blackmere-bonus-page .site-header{background:#040708}.bm-archive-hero{min-height:520px}.bm-archive-hero-inner{padding-top:108px;padding-bottom:62px}.bm-title-line--main{white-space:normal;font-size:44px}.bm-title-line--archive{white-space:normal;font-size:66px}.bm-overview-grid{grid-template-columns:1fr;gap:30px}.bm-overview-copy{padding:26px 0 0;border-left:0;border-top:1px solid var(--bm-line)}.bm-material-grid{grid-template-columns:1fr}.bm-complete-pack-inner{grid-template-columns:1fr;gap:32px}.bm-complete-button{max-width:430px}.bm-use-note-inner{grid-template-columns:1fr;gap:14px}
}
@media(max-width:620px){
  .bm-archive-hero{min-height:auto}.bm-archive-hero-art{object-position:63% center}.bm-archive-hero-inner{padding-top:92px;padding-bottom:60px}.bm-breadcrumb{margin-bottom:20px}.bm-archive-hero h1{line-height:.98}.bm-title-line--main{font-size:34px}.bm-title-line--archive{margin-top:5px;font-size:50px}.bm-hero-lead{font-size:17px}.bm-hero-actions{flex-direction:column;align-items:stretch}.bm-primary-button,.bm-secondary-button{width:100%;min-width:0}.bm-archive-overview,.bm-downloads,.bm-complete-pack{padding-top:68px;padding-bottom:72px}.bm-overview-grid h2,.bm-downloads-heading h2,.bm-complete-pack h2{font-size:38px}.bm-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.bm-material-card{grid-template-rows:220px auto}.bm-material-content{padding:27px 22px 30px}.bm-file-actions{grid-template-columns:1fr}.bm-use-note{padding-top:40px;padding-bottom:44px}
}
@media(prefers-reduced-motion:reduce){.bm-primary-button,.bm-secondary-button,.bm-material-visual img,.bm-file-actions a,.bm-complete-button{transition:none}.bm-archive-hero-art{transform:none}}

/* qa-hotfix-v2.11.13.css */
/* Wonders Workshop v2.11.13 — cache-safe QA hotfixes */

/* Goodreads/KDP verification separator on Contact. */
.contact-email-note .contact-verification-note{
  margin-top:16px;
  padding-top:16px;
  border-top:1px solid rgba(201,154,61,.16);
}

/* Journal spacing formerly supplied by inline styles. */
.journal-more .journal-more-browse{
  margin-top:18px;
  margin-bottom:0;
}

/* Blackmere complete-pack CTA: WCAG AA text contrast on the coral background. */
.blackmere-bonus-page .bm-complete-button{
  background:#b94b43;
  color:#fff7f2;
}
.blackmere-bonus-page .bm-complete-button small{
  color:#fff7f2;
}
.blackmere-bonus-page .bm-complete-button:hover,
.blackmere-bonus-page .bm-complete-button:focus{
  background:#d87369;
  color:#070404;
}
.blackmere-bonus-page .bm-complete-button:hover small,
.blackmere-bonus-page .bm-complete-button:focus small{
  color:#24100e;
}

/* release-hardening-v2.10.69.css */
/* v2.10.60 — release hardening, accessibility, stable media rendering */
html{scroll-padding-top:92px}
img{max-width:100%}
img.seo-cover-image{background:#030303}
:focus-visible{outline:3px solid #e6bd69!important;outline-offset:4px!important}
.site-footer .template-credit,.template-credit{font-size:12px!important;line-height:1.55!important;color:#a49d91!important}
.site-footer a:not(.social-facebook):not(.social-tiktok):not(.social-pinterest):not(.social-youtube){padding-block:3px}
.cookie-detail-card{display:block!important;margin-top:18px}
.cookie-detail-card span{display:block;margin-bottom:8px;color:#d6ad5b;font-weight:700;overflow-wrap:anywhere}
.cookie-detail-card p{margin:4px 0!important}
@media (pointer:coarse){
  .site-footer a:not(.social-facebook):not(.social-tiktok):not(.social-pinterest):not(.social-youtube){display:flex;align-items:center;min-height:40px}
}

.site-footer .copyright,.copyright{font-size:11px!important;line-height:1.55!important;color:#a49d91!important}

/* v2.10.63 — full-site media and collection layout repair */
/* Preserve each page's own object-fit rules. The previous global !important
   caused cover letterboxing, giant empty bands and unreadable previews. */
img.seo-cover-image{background:#030303}

/* Collection hero covers: keep the blending veil behind the actual book. */
.pale-sequence-page .hero-visual::after,
.blackmere-files-page .hero-visual::after{z-index:2;opacity:.38}
.pale-sequence-page .hero-cover,
.blackmere-files-page .hero-cover{overflow:visible}
.pale-sequence-page .hero-cover img,
.blackmere-files-page .hero-cover img{display:block;width:100%;height:auto;aspect-ratio:auto;object-fit:contain}

/* Collection book covers: use the natural cover ratio and never create
   oversized empty rectangles around the artwork. */
.pale-sequence-page .cover-frame img,
.blackmere-files-page .cover-frame img{display:block;width:100%;height:auto;aspect-ratio:auto;object-fit:contain}
.heart-of-steam-page .cover-frame{aspect-ratio:5/8}
.heart-of-steam-page .cover-frame img{object-fit:cover;object-position:center}
.orbital-command-academy-page .book-cover img{object-fit:cover;object-position:center top}
.orbital-command-academy-page .book-card:nth-child(2) .book-cover img,
.orbital-command-academy-page .book-card:nth-child(3) .book-cover img{object-fit:contain}

/* Heart of Steam centerpiece: show the whole mechanical heart rather than a
   narrow bright slice disappearing into the black background. */
.heart-of-steam-page .mechanical-heart{overflow:visible}
.heart-of-steam-page .mechanical-heart img{width:88%;height:auto;aspect-ratio:auto;object-fit:contain;border-radius:50%;background:radial-gradient(circle,rgba(8,17,22,.22),rgba(2,5,7,.92));box-shadow:0 0 0 1px rgba(229,185,94,.24),0 24px 65px rgba(0,0,0,.52);}

/* Thirteenth Seal collection: contain large editorial art within readable
   columns and keep covers/maps at their natural ratio. */
.thirteenth-seal-academy-page .map-frame{width:min(100%,620px);justify-self:center}
.thirteenth-seal-academy-page .map-frame img,
.thirteenth-seal-academy-page .book-stage img{height:auto;object-fit:contain}
.thirteenth-seal-academy-page .fox-panel img{object-position:center top}

/* Bonus archives — document previews must be readable in full. Portrait PDFs
   get a taller stage; landscape material gets a lower wide stage. */
.hos-bonus-page .hos-material-card,
.oca-bonus-page .oca-material-card,
.blackmere-bonus-page .bm-material-card,
.pale-bonus-page .pale-material-card,
.tsa-bonus-page .tsa-material-card,
.tbc-vault-page .tbc-material-card{grid-template-rows:auto minmax(0,1fr)}

.hos-bonus-page .hos-material-visual,
.oca-bonus-page .oca-material-visual,
.blackmere-bonus-page .bm-material-visual,
.pale-bonus-page .pale-material-visual,
.tsa-bonus-page .tsa-material-visual,
.tbc-vault-page .tbc-material-visual{height:320px;display:grid;place-items:center;padding:12px;background:radial-gradient(circle at 50% 40%,rgba(255,255,255,.035),transparent 62%),#030506}

.hos-bonus-page .hos-material-visual--portrait,
.oca-bonus-page .oca-material-visual--portrait,
.blackmere-bonus-page .bm-material-visual--portrait,
.pale-bonus-page .pale-material-visual--portrait,
.tsa-bonus-page .tsa-material-visual--portrait,
.tbc-vault-page .tbc-material-card:not(.tbc-material-card--wide) .tbc-material-visual{height:460px}

.tsa-bonus-page .tsa-material-visual--wide{height:300px}

.hos-bonus-page .hos-material-visual img,
.oca-bonus-page .oca-material-visual img,
.blackmere-bonus-page .bm-material-visual img,
.pale-bonus-page .pale-material-visual img,
.tsa-bonus-page .tsa-material-visual img,
.tbc-vault-page .tbc-material-visual img{display:block;width:100%;height:100%;object-fit:contain!important;object-position:center!important;transform:none}

.hos-bonus-page .hos-material-visual::after,
.oca-bonus-page .oca-material-visual::after,
.blackmere-bonus-page .bm-material-visual::after,
.pale-bonus-page .pale-material-visual::after,
.tsa-bonus-page .tsa-material-visual::after,
.tbc-vault-page .tbc-material-visual::after{background:linear-gradient(180deg,transparent 72%,rgba(3,5,6,.48));pointer-events:none}

.hos-bonus-page .hos-material-card--wide,
.oca-bonus-page .oca-material-card--wide,
.pale-bonus-page .pale-material-card--wide,
.tbc-vault-page .tbc-material-card--wide{grid-template-rows:none}
.hos-bonus-page .hos-material-card--wide .hos-material-visual,
.oca-bonus-page .oca-material-card--wide .oca-material-visual,
.pale-bonus-page .pale-material-card--wide .pale-material-visual,
.tbc-vault-page .tbc-material-card--wide .tbc-material-visual{height:auto;min-height:360px}

/* Avoid headings or buttons forcing horizontal overflow on smaller screens. */
.primary-nav a,.hero-copy,.book-copy,.material-content{min-width:0}
h1,h2,h3,p,a{overflow-wrap:break-word}

@media(max-width:900px){
  .pale-sequence-page .hero-cover,
  .blackmere-files-page .hero-cover{width:min(350px,82vw)}
  .heart-of-steam-page .mechanical-heart img{width:92%}
  .thirteenth-seal-academy-page .map-frame{width:min(100%,560px)}
  .hos-bonus-page .hos-material-visual--portrait,
  .oca-bonus-page .oca-material-visual--portrait,
  .blackmere-bonus-page .bm-material-visual--portrait,
  .pale-bonus-page .pale-material-visual--portrait,
  .tsa-bonus-page .tsa-material-visual--portrait,
  .tbc-vault-page .tbc-material-card:not(.tbc-material-card--wide) .tbc-material-visual{height:430px}
}

@media(max-width:620px){
  .pale-sequence-page .cover-frame,
  .blackmere-files-page .cover-frame{max-width:360px;margin-inline:auto}
  .heart-of-steam-page .mechanical-heart img{width:96%}
  .hos-bonus-page .hos-material-visual,
  .oca-bonus-page .oca-material-visual,
  .blackmere-bonus-page .bm-material-visual,
  .pale-bonus-page .pale-material-visual,
  .tsa-bonus-page .tsa-material-visual,
  .tbc-vault-page .tbc-material-visual{height:250px;padding:9px}
  .hos-bonus-page .hos-material-visual--portrait,
  .oca-bonus-page .oca-material-visual--portrait,
  .blackmere-bonus-page .bm-material-visual--portrait,
  .pale-bonus-page .pale-material-visual--portrait,
  .tsa-bonus-page .tsa-material-visual--portrait,
  .tbc-vault-page .tbc-material-card:not(.tbc-material-card--wide) .tbc-material-visual{height:390px}
  .tsa-bonus-page .tsa-material-visual--wide{height:230px}
  .hos-bonus-page .hos-material-card--wide,
  .oca-bonus-page .oca-material-card--wide,
  .pale-bonus-page .pale-material-card--wide,
  .tbc-vault-page .tbc-material-card--wide{grid-template-rows:auto minmax(0,1fr)}
  .hos-bonus-page .hos-material-card--wide .hos-material-visual,
  .oca-bonus-page .oca-material-card--wide .oca-material-visual,
  .pale-bonus-page .pale-material-card--wide .pale-material-visual,
  .tbc-vault-page .tbc-material-card--wide .tbc-material-visual{height:250px;min-height:0}
}

/* v2.10.64 — Thirteenth Seal Fox section proportion repair */
@media (min-width:981px){
  .thirteenth-seal-academy-page .fox-grid{
    grid-template-columns:minmax(320px,440px) minmax(0,1fr);
    align-items:center;
  }
  .thirteenth-seal-academy-page .fox-panel{
    width:100%;
    aspect-ratio:4/5;
    max-height:620px;
    align-self:center;
  }
  .thirteenth-seal-academy-page .fox-panel img{
    display:block;
    width:100%;
    height:100%;
    aspect-ratio:auto;
    object-fit:cover;
    object-position:center center;
  }
  .thirteenth-seal-academy-page .fox-copy{
    align-self:center;
  }
}
@media (max-width:980px){
  .thirteenth-seal-academy-page .fox-panel{
    width:min(100%,620px);
    aspect-ratio:4/5;
  }
  .thirteenth-seal-academy-page .fox-panel img{
    display:block;
    width:100%;
    height:100%;
    aspect-ratio:auto;
    object-fit:cover;
    object-position:center center;
  }
}

/* v2.10.65 — News page editorial image alignment */
/* Keep the Saintless Bride artwork at its existing scale, give the portrait
   enough vertical room, and lift it slightly so the complete title remains
   readable without clipping the bride's head. */
@media (min-width:761px){
  .news-page .news-card-media--portrait{
    height:520px;
    align-items:start;
  }
  .news-page .news-card-media--portrait img{
    display:block;
    width:100%;
    height:auto;
    max-height:none;
    object-fit:initial;
    object-position:center top;
    transform:translateY(-30px);
  }
}
@media (min-width:471px) and (max-width:760px){
  .news-page .news-card-media--portrait{
    height:500px;
    align-items:start;
  }
  .news-page .news-card-media--portrait img{
    display:block;
    width:100%;
    height:auto;
    max-height:none;
    object-fit:initial;
    object-position:center top;
    transform:translateY(-22px);
  }
}
@media (max-width:470px){
  .news-page .news-card-media--portrait{
    height:430px;
    align-items:start;
  }
  .news-page .news-card-media--portrait img{
    display:block;
    width:100%;
    height:auto;
    max-height:none;
    object-fit:initial;
    object-position:center top;
    transform:translateY(-18px);
  }
}

/* Use the first archive card's 12:7 landscape canvas as the common visual
   standard. Portrait and extra-wide sources stay undistorted and receive
   controlled black letterboxing inside an identical image area. */
.news-page .news-archive-image img{
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:12/7;
  object-fit:contain;
  object-position:center;
  background:#000;
  transform:none;
}


/* v2.10.67 — compact, top-aligned footer for collection and standalone-book detail pages. */
.editorial-detail-page .site-footer{
  padding:38px 0 18px!important;
  min-height:0!important;
}
.editorial-detail-page .site-footer .footer-grid{
  grid-template-columns:minmax(140px,1.15fr) repeat(4,minmax(0,1fr))!important;
  gap:30px!important;
  align-items:start!important;
}
.editorial-detail-page .site-footer .footer-brand{
  align-self:start!important;
  justify-content:flex-start!important;
  transform:none!important;
}
.editorial-detail-page .site-footer .footer-brand img{
  width:auto!important;
  height:96px!important;
  max-width:130px!important;
  margin:0!important;
  object-fit:contain!important;
}
.editorial-detail-page .site-footer h2{
  margin:0 0 10px!important;
}
.editorial-detail-page .site-footer a:not(.social-facebook):not(.social-tiktok):not(.social-pinterest):not(.social-youtube){
  margin:5px 0!important;
  padding:0!important;
  line-height:1.35!important;
}
.editorial-detail-page .site-footer .follow{
  align-self:start!important;
}
.editorial-detail-page .site-footer .copyright{
  margin:26px 0 0!important;
}
.editorial-detail-page .site-footer .template-credit{
  display:none!important;
}
@media(max-width:980px){
  .editorial-detail-page .site-footer .footer-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:28px 40px!important;
  }
  .editorial-detail-page .site-footer .footer-brand{
    grid-column:1/-1!important;
  }
}
@media(max-width:620px){
  .editorial-detail-page .site-footer{
    padding:34px 0 18px!important;
  }
  .editorial-detail-page .site-footer .footer-grid{
    grid-template-columns:1fr!important;
    gap:24px!important;
    text-align:center!important;
  }
  .editorial-detail-page .site-footer .footer-brand{
    grid-column:auto!important;
    justify-content:center!important;
  }
  .editorial-detail-page .site-footer .footer-brand img{
    margin:0 auto!important;
  }
  .editorial-detail-page .site-footer .socials{
    justify-content:center!important;
  }
}

/* v2.10.69 — Pale Sequence cover alignment
   Keep all six cover frames identical in height while preserving the full artwork. */
.pale-sequence-page .books-grid .cover-frame{
  aspect-ratio:5/8;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
}
.pale-sequence-page .books-grid .cover-frame img.seo-cover-image{
  display:block;
  width:100%;
  height:100%;
  max-height:none;
  aspect-ratio:auto;
  object-fit:contain;
  object-position:center;
}


/* v2.11.10 — FOOTER-ONLY REPAIR
   Scope deliberately limited to the global footer:
   - keep all five desktop columns inside the viewport;
   - keep the social controls visible and optically consistent;
   - give the copyright line enough bottom breathing room;
   - preserve responsive stacking without touching page content. */
.site-footer{
  min-height:0!important;
  padding-bottom:28px!important;
  overflow:visible!important;
}
.site-footer .footer-grid{
  grid-template-columns:150px repeat(4,minmax(0,1fr))!important;
  column-gap:clamp(18px,2.2vw,34px)!important;
  row-gap:24px!important;
  align-items:start!important;
}
.site-footer .footer-grid>*{
  min-width:0!important;
}
.site-footer .footer-brand{
  align-self:start!important;
  transform:none!important;
}
.site-footer .follow{
  min-width:0!important;
}
.site-footer .socials{
  display:flex!important;
  align-items:center!important;
  flex-wrap:wrap!important;
  gap:10px!important;
}
.site-footer .socials a{
  box-sizing:border-box!important;
  flex:0 0 36px!important;
  width:36px!important;
  height:36px!important;
  margin:0!important;
  padding:0!important;
  display:grid!important;
  place-items:center!important;
  line-height:1!important;
}
.site-footer .socials svg{
  display:block!important;
  width:17px!important;
  height:17px!important;
  fill:currentColor!important;
  transform:none!important;
}
.site-footer .social-facebook svg{
  width:17px!important;
  height:17px!important;
}
.site-footer .social-tiktok svg{
  width:17px!important;
  height:17px!important;
}
.site-footer .social-pinterest svg{
  width:18px!important;
  height:18px!important;
}
.site-footer .social-youtube svg{
  width:18px!important;
  height:18px!important;
}
.site-footer .copyright{
  margin:30px 0 0!important;
  padding:0 12px 6px!important;
  line-height:1.45!important;
  overflow:visible!important;
}

/* Detail pages already had a compact footer; only inherit the safety fixes. */
.editorial-detail-page .site-footer{
  padding-bottom:28px!important;
}
.editorial-detail-page .site-footer .copyright{
  margin:30px 0 0!important;
  padding-bottom:6px!important;
}

@media(max-width:980px){
  .site-footer .footer-grid,
  .editorial-detail-page .site-footer .footer-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:26px 40px!important;
  }
  .site-footer .footer-brand,
  .editorial-detail-page .site-footer .footer-brand{
    grid-column:1/-1!important;
    justify-content:flex-start!important;
  }
}
@media(max-width:620px){
  .site-footer,
  .editorial-detail-page .site-footer{
    padding-bottom:30px!important;
  }
  .site-footer .footer-grid,
  .editorial-detail-page .site-footer .footer-grid{
    grid-template-columns:1fr!important;
    gap:22px!important;
    text-align:center!important;
  }
  .site-footer .footer-brand,
  .editorial-detail-page .site-footer .footer-brand{
    grid-column:auto!important;
    justify-content:center!important;
  }
  .site-footer .footer-brand img,
  .editorial-detail-page .site-footer .footer-brand img{
    margin-left:auto!important;
    margin-right:auto!important;
  }
  .site-footer .socials,
  .editorial-detail-page .site-footer .socials{
    justify-content:center!important;
  }
}
