/* journal.css */
.journal-page{background:#020609;color:#eee7dd}.journal-page .site-header{background:linear-gradient(#020609,rgba(2,6,9,.92));border-bottom:1px solid rgba(201,154,61,.22)}.wj-home-shell{width:calc(100% - 52px);max-width:1410px;margin:auto}.wj-eyebrow,.wj-box-title,.wj-card-cat{color:var(--gold2);font:11px Arial,sans-serif;text-transform:uppercase;letter-spacing:.08em}.wj-home-hero{position:relative;min-height:610px;overflow:hidden;border-bottom:1px solid rgba(201,154,61,.25)}.wj-home-bg{position:absolute;top:60px;right:0;width:72%;height:545px;object-fit:cover}.wj-home-shade{position:absolute;inset:0;background:linear-gradient(90deg,#020609 0,#020609 28%,rgba(2,6,9,.88) 40%,rgba(2,6,9,.18) 72%),linear-gradient(0deg,#020609,transparent 28%)}.wj-home-hero .wj-home-shell{position:relative;padding-top:135px;z-index:2}.wj-home-copy{width:430px}.wj-home-copy h1{font-size:70px;line-height:.94;text-transform:uppercase;letter-spacing:.03em;font-weight:400;margin:8px 0 18px}.wj-tag{font-size:19px;line-height:1.4;color:var(--gold2);text-transform:uppercase;letter-spacing:.04em}.wj-intro{font:14px/1.55 Arial,sans-serif;color:#d1cbc2}.wj-feature{position:absolute;top:430px;left:0;right:270px;min-height:150px;display:grid;grid-template-columns:1fr 240px;align-items:center;gap:25px;padding:20px 25px;border:1px solid rgba(201,154,61,.4);background:rgba(1,6,9,.94)}.wj-feature h2{font-size:29px;font-weight:400;line-height:1.06;margin:4px 0 8px}.wj-feature p{font:12px/1.45 Arial,sans-serif;color:#c9c2b8;max-width:760px}.wj-button{display:flex;justify-content:space-between;align-items:center;padding:13px 18px;border:1px solid var(--gold);background:linear-gradient(90deg,#d6a64b,#e1ba6b);color:#0c0905;font:700 11px Arial,sans-serif;text-transform:uppercase;letter-spacing:.05em}.wj-home-grid{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:28px;padding-top:30px}.wj-sec-title{font-size:17px;text-transform:uppercase;font-weight:400;letter-spacing:.02em;margin:0 0 12px}.wj-sec-head{display:flex;justify-content:space-between;align-items:end;margin-top:28px}.wj-sec-head>a,.wj-more{font:11px Arial,sans-serif;text-transform:uppercase;color:var(--gold2)}.wj-cat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.wj-cat-card{border:1px solid rgba(201,154,61,.4);background:#050a0d}.wj-cat-card img{width:100%;aspect-ratio:1.45;object-fit:cover}.wj-cat-card div{padding:13px}.wj-cat-card h3{font-size:14px;color:var(--gold2);text-transform:uppercase;margin:0 0 8px}.wj-cat-card p{font:11px/1.5 Arial,sans-serif;color:#c9c1b6;min-height:50px}.wj-cat-card span{font:10px Arial,sans-serif;text-transform:uppercase;text-decoration:underline;color:var(--gold2)}.wj-card-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.wj-card{border:1px solid rgba(201,154,61,.38);background:#05090c;overflow:hidden}.wj-card-img{display:block;aspect-ratio:1.48;overflow:hidden}.wj-card-img img{width:100%;height:100%;object-fit:cover}.wj-card>div{padding:12px}.wj-card-cat{font-size:8px}.wj-card h3{font-size:16px;line-height:1.12;font-weight:400;margin:6px 0 8px}.wj-card>div>p:not(.wj-card-cat){font:10px/1.45 Arial,sans-serif;color:#c6beb4;margin:0 0 10px}.wj-card small{font:8px Arial,sans-serif;color:#8e877e;text-transform:uppercase}.wj-side{display:flex;flex-direction:column;gap:18px}.wj-box{border:1px solid rgba(201,154,61,.38);background:#03080b;padding:17px}.wj-box h2{font-size:20px;font-weight:400}.wj-box>p:not(.wj-box-title){font:11px/1.45 Arial,sans-serif;color:#bdb5aa}.wj-pick{display:grid;grid-template-columns:27px 72px 1fr;align-items:center;gap:9px;padding:8px 0;border-top:1px solid rgba(201,154,61,.25);font-size:12px;line-height:1.22}.wj-pick b{color:var(--gold2);font-weight:400}.wj-pick img{width:72px;height:46px;object-fit:cover}.wj-more{display:block;text-align:right;margin-top:10px}.wj-topic-link{display:flex;gap:10px;padding:12px 0;border-top:1px solid rgba(201,154,61,.25);font-size:13px}.wj-topic-link:first-letter{color:var(--gold2)}.wj-rss{display:block;border-top:1px solid rgba(201,154,61,.25);padding-top:15px;color:var(--gold2);font:12px Arial,sans-serif}.wj-rss-band{padding:14px 0}.wj-rss-band .wj-home-shell{display:grid;grid-template-columns:1fr 250px 310px;gap:24px;align-items:center;border:1px solid rgba(201,154,61,.38);padding:15px 22px}.wj-rss-band .wj-home-shell>div{display:flex;gap:13px;align-items:center}.wj-rss-band span{font-size:28px;color:var(--gold2)}.wj-rss-band p{font:11px/1.4 Arial,sans-serif;color:#c6beb4;margin:0}.wj-rss-band b{color:var(--gold2);font-weight:400;text-transform:uppercase}.wj-rss-band strong{color:var(--gold2);font-weight:400;text-transform:none}
.wj-shell{width:calc(100% - 52px);max-width:1180px;margin:auto}.wj-article-head{padding:145px 0 30px;border-bottom:1px solid rgba(201,154,61,.18)}.wj-breadcrumb{display:flex;gap:8px;flex-wrap:wrap;font:10px Arial,sans-serif;color:#9a9288;margin-bottom:24px}.wj-breadcrumb a{color:#c4aa72}.wj-article-head h1{font-size:52px;line-height:1.05;font-weight:400;max-width:950px;margin:8px 0 13px}.wj-deck{max-width:850px;font:16px/1.55 Arial,sans-serif;color:#d0c8bd}.wj-meta{display:flex;gap:9px;flex-wrap:wrap;font:10px Arial,sans-serif;text-transform:uppercase;color:#978f85}.wj-hero-img{margin:30px 0 28px;border:1px solid rgba(201,154,61,.38)}.wj-hero-img img{width:100%;max-height:600px;object-fit:cover}.wj-article-grid{display:grid;grid-template-columns:minmax(0,790px) 300px;gap:45px}.wj-body{font-size:17px;line-height:1.83;color:#dbd3c8}.wj-body>p:first-of-type{font-size:19px;color:#f0e8dd}.wj-body h2{font-size:31px;color:#dfb45f;font-weight:400;line-height:1.18;margin:43px 0 14px}.wj-body p{margin:0 0 19px}.wj-body li{margin-bottom:9px}.wj-body a{color:#e1b65e;text-decoration:underline}.wj-figure{border:1px solid rgba(201,154,61,.32);padding:9px;margin:26px 0;background:#05090c}.wj-figure img{width:100%}.wj-figure figcaption{font:10px/1.45 Arial,sans-serif;color:#9e968c;padding:7px 3px}.wj-sources{margin-top:52px;padding-top:24px;border-top:1px solid rgba(201,154,61,.3)}.wj-sources ul{font:12px/1.55 Arial,sans-serif;color:#aaa198}.wj-sticky{position:sticky;top:20px;display:flex;flex-direction:column;gap:18px}.wj-box>a[href^="#"]{display:block;padding:7px 0;border-top:1px solid rgba(201,154,61,.17);font:10px/1.35 Arial,sans-serif;color:#d1c9be}.wj-related{display:grid;grid-template-columns:74px 1fr;gap:9px;align-items:center;padding:8px 0;border-top:1px solid rgba(201,154,61,.2);font-size:12px;line-height:1.2}.wj-related img{width:74px;height:54px;object-fit:cover}.wj-related small{display:block;color:var(--gold2);font:8px Arial,sans-serif;text-transform:uppercase;margin-bottom:4px}.wj-bottom-nav{display:flex;justify-content:space-between;margin:50px 0 65px;padding-top:20px;border-top:1px solid rgba(201,154,61,.3);font-size:11px;text-transform:uppercase;color:var(--gold2)}.wj-list-head{padding:145px 0 50px;border-bottom:1px solid rgba(201,154,61,.22)}.wj-list-head h1{font-size:50px;font-weight:400}.wj-list-head>div>p:last-child{font:14px/1.5 Arial,sans-serif;color:#c7bfb4;max-width:760px}.wj-list-section{padding:36px 0 70px}.wj-list-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.wj-list-grid .wj-card-img{aspect-ratio:1.7}
@media(max-width:1050px){.wj-home-grid{grid-template-columns:1fr}.wj-side{display:grid;grid-template-columns:repeat(3,1fr)}.wj-feature{right:0}.wj-article-grid{grid-template-columns:1fr}.wj-sticky{position:static;display:grid;grid-template-columns:repeat(2,1fr)}.wj-list-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:820px){.wj-home-hero{min-height:790px}.wj-home-bg{top:245px;width:100%;height:430px}.wj-home-shade{background:linear-gradient(180deg,#020609 0,#020609 29%,rgba(2,6,9,.48) 55%,#020609 88%)}.wj-home-hero .wj-home-shell{padding-top:48px}.wj-home-copy{width:auto}.wj-home-copy h1{font-size:52px}.wj-feature{top:600px;grid-template-columns:1fr;right:0}.wj-cat-grid,.wj-card-grid{grid-template-columns:repeat(2,1fr)}.wj-side{grid-template-columns:1fr}.wj-rss-band .wj-home-shell{grid-template-columns:1fr}.wj-article-head,.wj-list-head{padding-top:55px}.wj-article-head h1{font-size:40px}.wj-sticky{grid-template-columns:1fr}}
@media(max-width:560px){.wj-home-shell,.wj-shell{width:calc(100% - 24px)}.wj-home-hero{min-height:855px}.wj-home-copy h1{font-size:45px}.wj-tag{font-size:16px}.wj-feature{top:605px;min-height:220px;padding:17px}.wj-feature h2{font-size:24px}.wj-cat-grid,.wj-card-grid,.wj-list-grid{grid-template-columns:1fr}.wj-cat-card p{min-height:0}.wj-article-head h1{font-size:34px}.wj-body{font-size:16px}.wj-body h2{font-size:27px}.wj-bottom-nav{flex-direction:column;gap:14px}}


/* v2.12.5 Journal card CTA + sidebar alignment */
.wj-card{display:flex;flex-direction:column}
.wj-card>div{display:flex;flex:1;flex-direction:column;padding:12px}
.wj-card a{text-decoration:none}
.wj-card small{display:block;margin-top:auto;padding-top:4px}
.wj-card-cta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  width:100%;
  min-height:36px;
  margin-top:12px;
  padding:9px 12px;
  border:1px solid rgba(201,154,61,.55);
  background:rgba(201,154,61,.055);
  color:var(--gold2);
  font:700 9px/1 Arial,sans-serif;
  letter-spacing:.07em;
  text-transform:uppercase;
  box-sizing:border-box;
}
.wj-card-cta span{font:400 14px/1 Arial,sans-serif;color:var(--gold2)}
.wj-card-cta:hover,.wj-card-cta:focus-visible{
  background:rgba(201,154,61,.13);
  border-color:var(--gold2);
  color:#f0c66d;
}
@media(min-width:1051px){
  .wj-home-hero{min-height:690px}
  .wj-feature{top:490px;right:358px;z-index:3}
  .wj-button{position:relative;z-index:4}
  /* Align the Editor's Picks box with the top of the Explore the Journal cards. */
  .wj-home-grid>.wj-side{margin-top:29px;position:relative;z-index:2}
}
@media(max-width:1050px){
  .wj-home-grid>.wj-side{margin-top:0}
}

/* 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;
  }
}

/* v2.14.3 — Journal homepage layout repair */
/* Keep the four topic cards compact and prevent image intrinsic dimensions
   from stretching the cards into tall vertical strips. */
.wj-cat-card > a{
  display:flex;
  flex-direction:column;
  height:100%;
}
.wj-cat-card img{
  display:block;
  width:100%;
  height:190px;
  aspect-ratio:auto;
  object-fit:cover;
  flex:0 0 auto;
}
.wj-cat-card > a > div{
  display:flex;
  flex:1;
  flex-direction:column;
}
.wj-cat-card > a > div > span{
  margin-top:auto;
  padding-top:8px;
}

/* The accessibility link stays hidden unless reached by keyboard. */
.skip-link{
  top:12px;
  transform:translateY(-180%);
  opacity:0;
  pointer-events:none;
}
.skip-link:focus{transform:translateY(-180%);opacity:0;pointer-events:none}
.skip-link:focus-visible{
  transform:translateY(0);
  opacity:1;
  pointer-events:auto;
}

@media(max-width:1050px){
  .wj-cat-card img{height:210px}
}
@media(max-width:820px){
  .wj-cat-card img{height:220px}
}
@media(max-width:560px){
  .wj-cat-card img{height:auto;aspect-ratio:1.55}
}

/* v2.14.4 — clear all-articles route */
.wj-all-articles-link{min-width:190px;gap:18px;justify-content:space-between;padding:10px 14px;margin-bottom:10px}
@media(max-width:560px){.wj-sec-head{align-items:flex-start;gap:12px;flex-direction:column}.wj-all-articles-link{width:100%;min-width:0;margin:0 0 12px}}


/* v2.14.5 — journal all-articles CTA contrast and interaction */
.wj-sec-head > a.wj-button.wj-all-articles-link,
.wj-sec-head > a.wj-button.wj-all-articles-link:link,
.wj-sec-head > a.wj-button.wj-all-articles-link:visited{
  color:#0b0905!important;
  text-decoration:none!important;
  background:linear-gradient(90deg,#d6a64b 0%,#edc971 100%)!important;
  border-color:#e7bd63!important;
  opacity:1!important;
}
.wj-sec-head > a.wj-button.wj-all-articles-link:hover,
.wj-sec-head > a.wj-button.wj-all-articles-link:focus-visible{
  color:#000!important;
  background:#f1d17f!important;
  border-color:#f1d17f!important;
  outline:2px solid #f1d17f;
  outline-offset:3px;
}
