/* More replaces only the right wing; the left links remain in place. */
.site-header{position:relative;z-index:20}
/* A click-to-load trailer stays inside its own lead story. */
.pw-lead-actions{display:flex;flex-wrap:wrap;align-items:center;gap:14px}
html[data-edition] .gazette-story--lead .pw-trailer-start{background:linear-gradient(#247dc4,#124b86 48%,#06264f 55%,#145b9c);color:#fff9e7;cursor:pointer;font-family:Georgia,serif;font-weight:700}
.pw-trailer-start>span{font-size:14px!important}
html:not(.js) .pw-trailer-start{display:none}
.pw-lead-trailer[hidden],.pw-trailer-error[hidden]{display:none!important}
.gazette .gazette-story--lead.pw-trailer-open>:not(.pw-lead-trailer){visibility:hidden}
.pw-lead-trailer{position:absolute;inset:0;z-index:5;background:#090d13;color:#fff6e4;display:block}
.pw-trailer-bar{position:absolute;inset:0 auto auto 16px;width:max-content;max-width:calc(100% - 64px);box-sizing:border-box;margin:0;z-index:2;display:flex;flex-direction:column;align-items:center;text-align:center;justify-content:flex-start;gap:4px;padding:6px 10px;background:#152135cc;font:13px/1.2 Georgia,serif}
.pw-trailer-bar>span{min-width:0;overflow-wrap:anywhere}
.pw-trailer-close{flex:0 0 auto;border:1px solid #d5b36c;border-radius:5px;background:#213b5c;color:#fff6e4;padding:4px 8px;min-height:28px;font:inherit;cursor:pointer}
.pw-trailer-close:focus-visible{outline:2px solid #fff6e4;outline-offset:2px}
.pw-youtube-player{display:block;position:absolute;inset:0;width:100%;height:100%;min-height:200px;background:#000}
.pw-youtube-player iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.pw-youtube-player video{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:contain;background:#000}
.pw-video-feedback{position:absolute;left:0;right:0;bottom:0;margin:0;z-index:2;background:#090d13e6}
.pw-video-playing .pw-video-feedback{display:none}
.pw-video-note{margin:0;padding:5px 10px;font:13px/1.4 Arial,sans-serif;color:#fff6e4}
.pw-video-note a{color:#a6d7ff}
.pw-trailer-error{margin:0;padding:5px 10px;font:13px/1.4 Arial,sans-serif}
.pw-trailer-error a{color:#a6d7ff}
@media(max-width:700px){
 .pw-trailer-bar{font-size:12px;padding:3px 8px}
}
/* Keep the select focus inside its field, without a detached Chrome halo. */
.site-header .header-controls .edition-control select:focus-visible{outline:2px solid #785022;outline-offset:-3px}
:root[data-edition=taverne] .site-header .header-controls .edition-control select:focus-visible{outline-color:#f3d893}
/* Match the full-width header rule on information pages and the Tools view. */
:root[data-edition=bernstein] body.page:not(.home) #inhalt,
:root[data-edition=bernstein] .pw-tools-page #inhalt{position:relative}
:root[data-edition=bernstein] body.page:not(.home) #inhalt::before,
:root[data-edition=bernstein] .pw-tools-page #inhalt::before{content:"";display:block;position:absolute;top:0;left:calc(-1 * var(--cover-paper-inset));right:calc(-1 * var(--cover-paper-inset));border-top:3px double var(--rule);pointer-events:none}
.pw-more-toggle,.pw-more-back{display:flex;align-items:center;justify-content:center;gap:8px;cursor:pointer;font:700 17px/1.15 Georgia,serif}
.site-nav .nav-list>li[hidden],html.js .site-nav:not([data-nav-ready]) .nav-list>li[data-nav-section=more]{display:none!important}
html:not(.js) .pw-menu-more,html:not(.js) .pw-menu-back{display:none!important}

@media(max-width:740px){
 html[data-edition] .site-header .masthead .site-nav[data-nav-ready] .nav-list{width:100%}
 html[data-edition] .site-header .masthead .site-nav[data-nav-ready] .nav-list>li[data-nav-side]{grid-column:1;grid-row:var(--nav-row)}
 html[data-edition] .site-header .masthead .site-nav[data-nav-ready] .nav-list>li[data-nav-side=right]{grid-column:2}
}
.pw-tools-intro{max-width:760px;margin:0 auto 30px;text-align:center}
.pw-tools-intro h1{margin:10px 0 18px}
.pw-tool-card{max-width:950px;margin:0 auto 35px;padding:clamp(18px,4vw,40px);border:1px solid var(--rule);background:#fff5;box-shadow:inset 0 0 0 4px #fff3}
.pw-tool-card h2{margin:8px 0 20px}
.pw-tool-card>.eyebrow,.pw-tool-card>h2{text-align:center}
.pw-tool-download{margin-top:24px;padding-top:20px;border-top:3px double var(--rule);text-align:center}
.pw-tool-download .glass{display:inline-flex;text-decoration:none;font-size:18px}
.pw-tool-download small{display:block;margin-top:12px;line-height:1.5;color:var(--muted)}
@media(prefers-reduced-motion:reduce){.site-nav .nav-list button,.site-nav .nav-list a{transition:none!important}}

/* Tavern: keep both languages and the design choice in one ordered row. */
:root[data-edition=taverne] .site-header .header-controls{flex-direction:row;align-items:center;flex-wrap:nowrap;gap:7px;min-width:0}
:root[data-edition=taverne] .site-header .language-switcher{flex-shrink:0}
:root[data-edition=taverne] .site-header .edition-control{flex-shrink:0}
@media(max-width:580px){
 :root[data-edition=taverne] .site-header .utility-bar{flex-wrap:wrap}
 :root[data-edition=taverne] .site-header .header-controls{width:100%;gap:5px;justify-content:flex-end}
 :root[data-edition=taverne] .site-header .language-switcher{gap:5px}
 :root[data-edition=taverne] .site-header .edition-control select{max-width:140px;font-size:12px;padding:6px 3px}
}

/* Keep touch feedback on the illustrated plaques, with keyboard focus still visible. */
html[data-edition] .site-header .masthead .site-nav .nav-list a,
html[data-edition] .site-header .masthead .site-nav .nav-list button,
html[data-edition] .site-header .masthead .menu-toggle{-webkit-tap-highlight-color:transparent}
html[data-pw-input=pointer][data-edition] .site-header .masthead .site-nav .nav-list a:focus,
html[data-pw-input=pointer][data-edition] .site-header .masthead .site-nav .nav-list button:focus,
html[data-pw-input=pointer][data-edition] .site-header .masthead .menu-toggle:focus{outline:none;box-shadow:none}
html[data-edition] .site-header .masthead .site-nav .nav-list button:focus-visible{outline:2px solid #f3d893;outline-offset:2px}
html[data-pw-input=pointer][data-edition] .site-header .masthead .site-nav .nav-list button:focus-visible{outline:none}
@media(max-width:740px){
 html[data-edition] .site-header .masthead .site-nav .nav-list li>button{width:100%}
}
/* Phone utility strip: centered project line, then languages and design in one row. */
@media(max-width:740px){
 html[data-edition=taverne] .site-header .utility-bar{flex-direction:column;align-items:center;gap:0;padding:3px 0 5px;background:#29190ee8}
 html[data-edition=taverne] .site-header .utility-bar>.project-credit{width:auto;max-width:none;min-height:0;height:24px;margin:0;padding:2px 8px;border:0;border-radius:0;background:none;box-shadow:none;gap:5px}
 html[data-edition=taverne] .site-header .project-credit>span{display:flex;flex-direction:row;align-items:baseline;gap:5px}
 html[data-edition=taverne] .site-header .project-credit strong{font-size:11px;line-height:1.1;white-space:nowrap}
 html[data-edition=taverne] .site-header .project-credit small{font-size:8px;letter-spacing:.05em}
 html[data-edition=taverne] .site-header .project-credit .credit-emblem{width:16px;height:16px;flex-basis:16px}
 html[data-edition=taverne] .site-header .header-controls{width:100%;min-width:0;justify-content:center;height:34px;padding:1px 4px 3px;gap:7px}
 html[data-edition=taverne] .site-header .language-switcher{gap:2px}
 html[data-edition=taverne] .site-header .language-link{font-size:11px;min-height:28px;padding:5px}
 html[data-edition=taverne] .site-header .language-link svg{width:19px;height:13px}
 html[data-edition=taverne] .site-header .edition-control select{width:123px;max-width:123px;min-width:0;min-height:28px;font-size:11px;padding:2px 19px 2px 6px}
}

/* Phones get a compact player; iPad and desktop retain the full lead overlay. */
@media(max-width:700px){
 html:not(.pw-ipad) .gazette .gazette-story--lead.pw-trailer-open{padding:0;min-height:0}
 html:not(.pw-ipad) .gazette .gazette-story--lead.pw-trailer-open>:not(.pw-lead-trailer){display:none}
 html:not(.pw-ipad) .pw-lead-trailer{position:relative;inset:auto;width:100%;aspect-ratio:16/9;min-height:200px}
 html:not(.pw-ipad) .pw-youtube-player{min-height:0}
}

/* Matching utility plaques: the right plaque meets the inside of the wood frame. */
html[data-edition=taverne] .site-header .utility-bar .header-controls{
 height:48px;padding:6px 10px 6px 17px;gap:7px;
 border:1px solid #bd9553;border-right:0;border-radius:24px 0 0 24px;
 background:linear-gradient(225deg,#321c0ee8,#17130dd4);
 box-shadow:inset 0 0 0 2px #e5bc6622,0 2px 8px #0008;
}
html[data-edition=taverne] .site-header .utility-bar .language-link,
html[data-edition=taverne] .site-header .utility-bar .edition-control select{
 box-sizing:border-box;height:34px;min-height:34px;font-size:13px;line-height:1.1;
}
html[data-edition=taverne] .site-header .utility-bar .edition-control select{
 padding:4px 24px 4px 9px;border-radius:7px;
}
@media(min-width:741px){
 html[data-edition=taverne] .site-header .utility-bar{margin:0;left:calc(-1 * var(--cover-paper-inset));right:calc(-1 * var(--cover-paper-inset));padding:0;align-items:flex-start}
}
/* Tablet wings retain readable touch targets and a clear space for the logo. */
@media(min-width:741px) and (max-width:1180px){
 html[data-edition] .site-header .masthead{height:350px;min-height:350px;margin:0}
 html[data-edition] .site-header .masthead .brand{top:52%;left:50%;width:55%;height:260px;transform:translate(-50%,-50%)}
 html[data-edition] .site-header .masthead .brand img{height:260px;max-height:none;object-fit:contain}
 html[data-edition] .site-header .masthead .site-nav .nav-list{left:0;right:0;top:56%;grid-template-columns:24% 1fr 24%;grid-template-rows:repeat(5,46px);gap:7px 0}
 /* Match the desktop bow, scaled to tablet width. */
 html[data-edition] .site-header .masthead .site-nav .nav-list>li:nth-child(n){transform:none}
 html[data-edition] .site-header .masthead .site-nav .nav-list>li:nth-child(1),
 html[data-edition] .site-header .masthead .site-nav .nav-list>li:nth-child(5){transform:translateX(clamp(32px,5vw,58px))}
 html[data-edition] .site-header .masthead .site-nav .nav-list>li:nth-child(2),
 html[data-edition] .site-header .masthead .site-nav .nav-list>li:nth-child(4){transform:translateX(10px)}
 html[data-edition] .site-header .masthead .site-nav:not(.pw-nav-more) .nav-list>li:nth-child(6),
 html[data-edition] .site-header .masthead .site-nav:not(.pw-nav-more) .nav-list>li:nth-child(10){transform:translateX(clamp(-58px,-5vw,-32px))}
 html[data-edition] .site-header .masthead .site-nav:not(.pw-nav-more) .nav-list>li:nth-child(7),
 html[data-edition] .site-header .masthead .site-nav:not(.pw-nav-more) .nav-list>li:nth-child(9){transform:translateX(-10px)}
 html[data-edition] .site-header .masthead .site-nav .nav-list>li:nth-child(n)>a,
 html[data-edition] .site-header .masthead .site-nav .nav-list>li:nth-child(n)>button{width:100%;height:46px;min-height:46px;font-size:13px;padding:5px 16px;gap:4px;justify-content:center;text-align:center}
 html[data-edition] .site-header .masthead .site-nav .nav-list .nav-icon{width:20px;height:20px;flex-basis:20px}
 html[data-edition=taverne] .site-header .utility-bar .project-credit{max-width:none;flex-shrink:0}
 html[data-edition=taverne] .site-header .utility-bar .project-credit strong{font-size:15px}
 html[data-edition=taverne] .site-header .utility-bar .header-controls{gap:5px;padding-left:13px}
 html[data-edition=taverne] .site-header .utility-bar .language-link,
 html[data-edition=taverne] .site-header .utility-bar .edition-control select{font-size:12px}
 html[data-edition=taverne] .pw-issue-seal{display:block;position:relative;height:0;z-index:31;pointer-events:none}
 html[data-edition=taverne] .home:not(.pw-tools-page) .site-header{padding-bottom:28px}
 html[data-edition=taverne] .home .gazette-story--lead{padding-top:45px}
}
@media(max-width:740px){
 html[data-edition=taverne] .site-header .utility-bar{margin-inline:calc(-1 * var(--cover-paper-inset));width:auto}
 html[data-edition=taverne] .site-header .utility-bar>.project-credit{align-self:center;text-align:center;justify-content:center}
 html[data-edition=taverne] .site-header .utility-bar .header-controls{width:100%;height:38px;padding:2px 3px;justify-content:center;align-self:center;gap:5px;border:0;border-radius:0;background:none;box-shadow:none}
 html[data-edition=taverne] .site-header .utility-bar .language-link,
 html[data-edition=taverne] .site-header .utility-bar .edition-control select{height:30px;min-height:30px;font-size:11px}
 html[data-edition=taverne] .site-header .utility-bar .edition-control select{width:123px;max-width:123px;padding:3px 18px 3px 6px}
}

/* Dark timber is the fallback while the preloaded tavern backdrop decodes. */
html[data-edition=taverne] .site-header{background-color:#1a100a}

/* Numbered current-edition ribbons attach to the actual story/image edge. */
.gazette .gazette-ribbon{position:absolute;top:0;margin:0;z-index:4;pointer-events:none;text-shadow:none}
.gazette .gazette-story--lead{--ribbon-left:calc(32px + var(--cover-paper-inset))}
.gazette .gazette-ribbon--lead{left:var(--ribbon-left)}
.gazette .gazette-story--lead .gazette-kicker{position:static;padding-left:52px}
.gazette .gazette-story--lead .gazette-kicker>span{position:absolute;top:0;left:calc(var(--ribbon-left) + 52px);height:64px;max-width:calc(100% - var(--ribbon-left) - 70px);display:flex;align-items:center;z-index:1}
.gazette .gazette-media .gazette-ribbon--story{top:5px;right:19px;width:34px;height:56px;font-size:25px;padding-bottom:10px;background:linear-gradient(90deg,#123857,#246696,#102d49)}
.gazette .gazette-media[data-headline-style=top] .gazette-kicker{padding-right:39px}
@media(max-width:1100px){.gazette .gazette-story--lead{--ribbon-left:calc(28px + var(--cover-paper-inset))}}
@media(max-width:700px){.gazette .gazette-story--lead{--ribbon-left:24px}}
@media(max-width:560px){.gazette .gazette-story--lead{--ribbon-left:18px}}

/* Rules between category columns and across each new row, including partial rows. */
html[data-edition] .pw-category-grid{
 --category-column-gap:22px;--category-row-gap:40px;
 gap:var(--category-row-gap) var(--category-column-gap);
 border-top:0;border-bottom:1px solid var(--rule);padding-block:20px;
}
.pw-category-grid>.story-card{position:relative;min-width:0}
html[data-edition] .archive-grid.pw-category-grid .story-body{margin-inline:8px;padding-inline:0}
.pw-category-grid>.story-card::before,.pw-category-grid>.story-card::after{content:"";position:absolute;pointer-events:none}
.pw-category-grid>.story-card::before{top:0;bottom:0;left:calc(var(--category-column-gap) / -2);border-left:1px solid var(--rule)}
.pw-category-grid>.story-card::after{top:calc(var(--category-row-gap) / -2);left:0;width:calc(100% + var(--category-column-gap));border-top:1px solid var(--rule);display:none}
@media(min-width:801px){
 .pw-category-grid>.story-card:nth-child(3n+1)::before{display:none}
 .pw-category-grid>.story-card:nth-child(3n+4)::after{display:block;width:calc(300% + 2 * var(--category-column-gap))}
}
@media(min-width:581px) and (max-width:800px){
 .pw-category-grid>.story-card:nth-child(2n+1)::before{display:none}
 .pw-category-grid>.story-card:nth-child(2n+3)::after{display:block;width:calc(200% + var(--category-column-gap))}
}
@media(max-width:580px){
 .pw-category-grid>.story-card::before{display:none}
 .pw-category-grid>.story-card:nth-child(n+2)::after{display:block;width:100%}
}
body.category .pagination{margin:28px 0 12px}
body.category .pagination .nav-links{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:10px}
body.category .pagination .page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:8px 14px;border:1px solid var(--rule);color:var(--accent);text-decoration:none}
body.category .pagination .page-numbers.current{background:var(--accent);color:var(--paper)}
body.category .pagination a:hover{background:#ae895426}
body.category .pagination a:focus-visible{outline:2px solid var(--accent);outline-offset:3px}

/* iPad Tavern: the issue seal and lead meet the masthead timber without a spacer. */
@media(min-width:741px) and (max-width:1180px){
 html.pw-ipad[data-edition=taverne] .home:not(.pw-tools-page) .site-header{padding-bottom:0}
}

/* Keep the original full decorative photo mounts in category and newspaper archives. */
html[data-edition] .pw-newspaper-archive-heading{text-align:center}
html[data-edition] .pw-newspaper-archive-heading>.eyebrow{margin:8px 0 0}
html[data-edition] .archive-heading.pw-gossip-heading{margin-bottom:8px}
html[data-edition] .pw-gossip-heading+.archive-description{
 max-width:none;margin:0 auto 20px;padding-inline:12px;text-align:center;
}
html[data-edition] .pw-gossip-heading+.archive-description p{margin:0;line-height:1.45}

/* Desktop Tavern uses the same issue seal, centered across the timber edge. */
@media(min-width:1181px){
 html[data-edition=taverne] .pw-issue-seal{display:block;position:relative;height:0;z-index:31;pointer-events:none}
 html[data-edition=taverne] .home .gazette-story--lead{padding-top:45px}
}

/* Attach both Tavern utility plaques to the outside of the timber surround. */
@media(min-width:741px){
 html[data-edition=taverne] .site-header{--pw-utility-rail:30px}
 html[data-edition=taverne] .site-header .utility-bar{
  left:calc(-1 * var(--pw-utility-rail));
  right:calc(-1 * var(--pw-utility-rail));
 }
}
@media(min-width:741px) and (max-width:1100px){
 html[data-edition=taverne] .site-header{--pw-utility-rail:24px}
}
/* Half the spacing between the archive introduction and its first row. */
html[data-edition] body.category .archive-heading:not(.pw-gossip-heading),
html[data-edition] .archive-header.pw-newspaper-archive-heading{margin-bottom:9px}
html[data-edition] .pw-gossip-heading+.archive-description{margin-bottom:10px}
html[data-edition] .pw-category-grid{padding-top:10px}
@media(max-width:650px){
 html[data-edition] body.category .archive-heading:not(.pw-gossip-heading),
 html[data-edition] .archive-header.pw-newspaper-archive-heading{margin-bottom:7px}
}

/* Join the Tavern divider directly to the Focus lead. */
html[data-edition=taverne] .gazette .gazette-lead-rule{margin-top:0}

/* iPad Tavern: compact wings and logo; crop the backdrop at the timber ledge. */
@media(min-width:741px) and (max-width:1180px){
 html.pw-ipad[data-edition=taverne] .site-header{background-size:max(100%,1050px) auto;background-position:center top}
 html.pw-ipad[data-edition=taverne] .site-header .masthead{height:310px;min-height:310px}
 html.pw-ipad[data-edition=taverne] .site-header .masthead .brand{top:50%}
 html.pw-ipad[data-edition=taverne] .site-header .masthead .site-nav .nav-list{top:50%;transform:translateY(-50%)}
}

/* Tools: two readable download cards, stacked on smaller screens. */
.pw-tools-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-items:stretch;margin:0 auto 35px}
.pw-tools-grid>.pw-tool-card{display:flex;flex-direction:column;min-width:0;max-width:none;width:100%;margin:0;padding:clamp(18px,2vw,32px);box-sizing:border-box}
.pw-tools-grid .pw-tool-card h2{font-size:clamp(28px,2.4vw,42px);line-height:1.15}
.pw-tools-grid .prose{margin-bottom:24px;overflow-wrap:anywhere}
.pw-tools-grid .pw-tool-download{margin-top:auto}
.pw-tools-grid .pw-tool-download .glass{max-width:100%;box-sizing:border-box;white-space:normal;justify-content:center;text-align:center;gap:10px}
@media(max-width:1099px){.pw-tools-grid{grid-template-columns:minmax(0,1fr)}}

/* Tools use the available newspaper width rather than the narrow article measure. */
html[data-edition] .page-story.pw-tools{width:100%;max-width:none;margin-inline:0;box-sizing:border-box}

/* Compact Tools introduction and the author's shared download note. */
html[data-edition] .pw-tools-intro h1{margin-bottom:6px}
html[data-edition] .pw-tools-intro h1+p{margin-top:0}
.pw-tools-note{margin:0 0 26px;padding:20px clamp(18px,2vw,32px);border-block:1px solid var(--rule);background:#fff3}
.pw-tools-note h2{margin:0 0 12px;text-align:center;font-size:clamp(23px,2vw,29px)}
.pw-tools-note p{max-width:1000px;margin:10px auto;font-size:18px;line-height:1.65}
.pw-tools-note p:last-child{margin-bottom:0}
.pw-tools-note a{overflow-wrap:anywhere}

/* Editable introductions shared by category archives and the episodes page. */
html[data-edition] body.category .archive-heading.pw-section-heading,
html[data-edition] .archive-header.pw-section-heading{margin-bottom:8px;text-align:center}
html[data-edition] .pw-section-heading+.archive-description{
 max-width:none;margin:0 auto 10px;padding-inline:12px;text-align:center
}
html[data-edition] .pw-section-heading+.archive-description p{margin:0;line-height:1.45}

/* The right submenu follows the same bow, centred for its current item count. */
html[data-edition] .site-header .masthead .pw-nav-more[data-nav-ready] .nav-list>li[data-nav-section=more]{grid-row:var(--nav-row)}
@media(min-width:741px){
 html[data-edition] .site-header .masthead .pw-nav-more[data-nav-ready] .nav-list{
  --more-outset:14px;--more-depth:86px
 }
 html[data-edition] .site-header .masthead .pw-nav-more[data-nav-ready] .nav-list>li[data-nav-section=more]{
  grid-column:3;transform:translateX(calc(var(--more-outset) - var(--more-depth) * var(--more-curve,0)))
 }
}
@media(min-width:741px) and (max-width:1180px){
 html[data-edition] .site-header .masthead .pw-nav-more[data-nav-ready] .nav-list{
  --more-outset:0px;--more-depth:clamp(32px,5vw,58px)
 }
}

/* Contain the newspaper's outer margins so the body texture paints up to the
   viewport/admin-bar edge without shifting the newspaper or its contents. */
body{display:flow-root}

/* Bring the desktop Focus copy closer to the frame without widening its lines. */
@media(min-width:1181px){
 html[data-edition] .home .gazette .gazette-story--lead{
  --pw-focus-inset:28px;
  --pw-focus-shift:calc(32px + var(--cover-paper-inset) - var(--pw-focus-inset));
  --ribbon-left:var(--pw-focus-inset);
  padding-left:var(--pw-focus-inset);
  padding-right:calc(32px + var(--cover-paper-inset) + var(--pw-focus-shift));
 }
 html[data-edition] .home .gazette-story--lead .gazette-picture img{
  -webkit-mask-image:linear-gradient(90deg,transparent 0%,#0002 calc(17% - var(--pw-focus-shift)),#000b calc(43% - var(--pw-focus-shift)),#000 calc(65% - var(--pw-focus-shift)));
  mask-image:linear-gradient(90deg,transparent 0%,#0002 calc(17% - var(--pw-focus-shift)),#000b calc(43% - var(--pw-focus-shift)),#000 calc(65% - var(--pw-focus-shift)));
 }
}

@media(min-width:1181px){html[data-edition=taverne] .home .gazette .gazette-story--lead{--pw-focus-inset:16px}}

/* Compact the homepage's three illustrated conversation cards. */
.home .pw-news-layout>.pw-fun-column .pw-fun-card h3{min-height:0;margin-bottom:6px}
.home .pw-news-layout>.pw-fun-column .pw-fun-card img{margin-top:6px}

/* Tablet Focus: keep the copy near the inner frame in either orientation. */
@media(min-width:701px) and (max-width:1180px){
 html[data-edition] .home .gazette .gazette-story--lead{
  --pw-focus-base:32px;
  --pw-focus-inset:12px;
  --pw-focus-shift:calc(var(--pw-focus-base) + var(--cover-paper-inset) - var(--pw-focus-inset));
  --ribbon-left:var(--pw-focus-inset);
  padding-left:var(--pw-focus-inset);
  padding-right:calc(var(--pw-focus-base) + var(--cover-paper-inset) + var(--pw-focus-shift));
 }
 html[data-edition] .home .gazette-story--lead .gazette-picture img{
  -webkit-mask-image:linear-gradient(90deg,transparent 0%,#0002 calc(17% - var(--pw-focus-shift)),#000b calc(43% - var(--pw-focus-shift)),#000 calc(65% - var(--pw-focus-shift)));
  mask-image:linear-gradient(90deg,transparent 0%,#0002 calc(17% - var(--pw-focus-shift)),#000b calc(43% - var(--pw-focus-shift)),#000 calc(65% - var(--pw-focus-shift)));
 }
}
@media(min-width:701px) and (max-width:1100px){
 html[data-edition] .home .gazette .gazette-story--lead{--pw-focus-base:28px}
}

/* Responsive secondary cover heights; the independent Focus crop stays untouched. */
html[data-edition] .home .gazette .gazette-media[data-headline-style]{
 width:100%;min-width:0;height:auto;min-height:360px;max-height:none;aspect-ratio:16/9;
}
@media(max-width:700px){
 html[data-edition] .home .gazette .gazette-media[data-headline-style]{min-height:300px}
}
/* A centered reader-statistics panel, retaining its real values and methodology. */
html[data-edition] .pw-counter{text-align:center;padding:32px 20px;background:radial-gradient(ellipse at center,#b68c3c12,transparent 72%)}
html[data-edition] .pw-counter>div{max-width:850px;margin-inline:auto}
html[data-edition] .pw-counter h2{margin:8px 0 26px}
html[data-edition] .pw-counter dl{max-width:1050px;margin-inline:auto;gap:0}
html[data-edition] .pw-counter dl div{align-items:center;border:0;padding:12px 24px}
html[data-edition] .pw-counter dl div+div{border-left:1px solid var(--rule)}
html[data-edition] .pw-counter dt{font-size:16px}
html[data-edition] .pw-counter dd{margin:6px 0 0;font-size:clamp(32px,3.2vw,48px);color:var(--accent)}
html[data-edition] .pw-counter .pw-counter-note{max-width:900px;margin:24px auto 0;font-size:13px}
@media(max-width:480px){
 html[data-edition] .pw-counter dl{grid-template-columns:1fr;max-width:280px}
 html[data-edition] .pw-counter dl div+div{border-left:0;border-top:1px solid var(--rule)}
}
/* Search is a compact article list, separate from the illustrated category grids. */
.pw-search{max-width:1200px;margin:14px auto 32px}
.pw-search-heading{padding:10px 0 20px;border-bottom:3px double var(--rule)}
.pw-search-heading h1{font-size:clamp(27px,3vw,40px);overflow-wrap:anywhere;margin:8px 0 20px}
.pw-search-heading .search-form{max-width:620px}
.pw-search-heading .search-form input{width:100%;flex:1}
.pw-search-count{font:14px/1.5 var(--sans);color:var(--muted);margin:16px 0 0}
.pw-search-result{display:grid;grid-template-columns:150px minmax(0,1fr);align-items:start;gap:22px;padding:22px 8px;border-bottom:1px solid var(--rule)}
.pw-search-result:hover,.pw-search-result:focus-within{background:#b68c3c0c}
.pw-search-image{display:block;aspect-ratio:16/10;overflow:hidden;border-radius:3px;background:var(--paper)}
html[data-edition] .pw-search-image img{display:block;width:100%;height:100%;object-fit:cover;border:0;padding:0;box-shadow:none}
.pw-search-copy{min-width:0}
.pw-search-copy h2{font-size:clamp(20px,1.8vw,25px);line-height:1.25;margin:0 0 7px;overflow-wrap:anywhere}
.pw-search-copy h2 a{text-decoration:none;color:var(--ink)}
.pw-search-copy h2 a:hover{text-decoration:underline}
.pw-search-excerpt{font-size:16px;line-height:1.5;margin:0 0 8px;color:var(--muted);overflow-wrap:anywhere}
.pw-search mark{background:#ead293;color:#39240f;padding:0 .08em;border-radius:2px}
.pw-search .read-link{font-size:14px}
body.search .pagination{margin:28px 0 12px}
body.search .pagination .nav-links{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:8px}
body.search .pagination .page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;margin:0;padding:8px 13px;border:1px solid var(--rule);border-radius:3px;color:var(--accent);text-decoration:none;font:16px/1.25 var(--sans)}
body.search .pagination .page-numbers.current{background:var(--accent);color:var(--paper)}
body.search .pagination .page-numbers.dots{border-color:transparent;min-width:24px;padding-inline:0}
body.search .pagination a:hover{background:#ae895426}
body.search .pagination a:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
@media(max-width:600px){
 .pw-search-result{grid-template-columns:90px minmax(0,1fr);gap:14px;padding:18px 0}
 .pw-search-image{aspect-ratio:1}
 .pw-search-copy h2{font-size:20px}
 .pw-search-excerpt{font-size:15px}
}
@media(max-width:380px){.pw-search-result{grid-template-columns:72px minmax(0,1fr);gap:10px}.pw-search-heading .search-form{flex-wrap:wrap}.pw-search-heading .search-form input{flex-basis:160px}}

/* Bernstein und Mondlicht: only the episode collection uses these soft picture edges. */
.pw-episodes{position:relative;isolation:isolate;padding:12px 14px 0;color:var(--ink)}
.pw-episodes::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(ellipse at 95% 2%,#e8c87536,transparent 35%),radial-gradient(ellipse at 5% 65%,#d5b25d20,transparent 38%)}
.pw-episodes-heading{text-align:center;max-width:1100px;margin:0 auto 22px}
.pw-episodes-heading h1{font-size:clamp(32px,4.3vw,58px);line-height:1.15;margin:16px 0}
.pw-episodes-heading .archive-description{max-width:950px;margin:0 auto;font-size:clamp(18px,1.65vw,23px);line-height:1.55}
.pw-episodes-heading .archive-description p{margin:0}
.pw-episode-ornament{display:flex;justify-content:center;align-items:center;gap:18px;color:#a57b30;font-size:24px;margin:22px auto 12px}
.pw-episode-ornament::before,.pw-episode-ornament::after{content:"";width:110px;height:1px;background:linear-gradient(90deg,transparent,#b68c3c)}
.pw-episode-ornament::after{transform:rotate(180deg)}
.pw-episode-gallery{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));align-items:start;gap:42px 28px;max-width:1680px;margin:0 auto}
.pw-episode{grid-column:span 6;min-width:0;text-align:center}
.pw-episode:first-child{grid-column:span 7}
.pw-episode:nth-child(2){grid-column:span 5;padding-top:52px}
.pw-episode-art{display:block;position:relative;aspect-ratio:16/10;margin:0 -8px;text-decoration:none;-webkit-mask-image:url("episode-soft-mask-static.svg");mask-image:url("episode-soft-mask-static.svg");-webkit-mask-size:100% 100%;mask-size:100% 100%;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}
html[data-edition] .pw-episode-art img{display:block;width:100%;height:100%;object-fit:cover;object-position:center;border:0;padding:0;box-shadow:none}
.pw-episode-copy{position:relative;padding:4px 18px 14px}
.pw-episode-label{display:flex;justify-content:center;align-items:center;gap:14px;margin:6px 0 12px;color:var(--accent);font:700 14px/1.4 var(--sans);letter-spacing:2px;text-transform:uppercase}
.pw-episode-label::before,.pw-episode-label::after{content:"";display:block;width:56px;height:1px;background:linear-gradient(90deg,transparent,#b68c3c)}
.pw-episode-label::after{transform:rotate(180deg)}
.pw-episode h2{font-size:clamp(25px,2.4vw,39px);line-height:1.17;text-wrap:balance;overflow-wrap:anywhere;margin:0 0 16px}
.pw-episode h2 a{color:inherit;text-decoration:none}
.pw-episode h2 a:hover{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:5px}
.pw-episode-excerpt{max-width:660px;margin:0 auto 22px;font-size:clamp(17px,1.35vw,21px);line-height:1.55;color:var(--muted)}
.pw-episode-link{min-width:170px}
.pw-episode-previews{max-width:1200px;margin:44px auto 0;padding-top:25px;border-top:1px solid var(--rule)}
.pw-episode-preview-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:24px}
.pw-episodes-note{text-align:center;max-width:1150px;margin:36px auto 0;padding:25px 0}
.pw-episodes-note h2{font-size:clamp(25px,2.6vw,34px);margin:0 0 12px}
.pw-episodes-note p{font-size:18px;line-height:1.6;margin:0 0 20px}
@media(max-width:900px){.pw-episode-gallery{gap:28px 14px}.pw-episode:first-child,.pw-episode:nth-child(2){grid-column:span 6}.pw-episode:nth-child(2){padding-top:0}.pw-episode-copy{padding-inline:4px}}
@media(max-width:700px){.pw-episodes{padding:4px 4px 0}.pw-episode-gallery{grid-template-columns:minmax(0,1fr);gap:32px}.pw-episode:nth-child(n){grid-column:1}.pw-episode-art{margin:0}.pw-episodes-heading{margin-bottom:10px}.pw-episode-copy{padding-top:0}.pw-episode h2{font-size:28px}.pw-episode-ornament{margin-top:16px}}

.pw-episodes::after{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:url("episode-moonlight.svg") center top / 100% 100% no-repeat}

/* Reflect the unchanged paper tile so adjoining edges share the same pixels. */
html[data-edition] .newspaper{background-image:url('pergament-repeat-q80.svg');background-size:200% auto;background-position:left top;background-repeat:repeat-y}
html[data-edition=bernstein] body{background-image:url('pergament-repeat-q80.svg');background-size:3072px auto;background-position:left top}
@media(max-width:580px){html[data-edition=bernstein]{background-image:url('pergament-repeat-q80.svg');background-size:3072px auto;background-position:left top}}
/* Secondary homepage headlines always sit at the bottom. Only their own area is shaded. */
html[data-edition] .home .gazette .gazette-media[data-headline-style]{justify-content:flex-end;padding:60px 20px 22px}
html[data-edition] .home .gazette .gazette-media[data-headline-style]::after{background:none}
.gazette-media .gazette-headline{position:relative;z-index:2;isolation:isolate;flex:none;width:100%}
.gazette-media .gazette-headline::before{content:"";position:absolute;z-index:-1;pointer-events:none;inset:-36px -20px -22px;background:linear-gradient(to bottom,transparent 0%,rgba(0,0,0,.24) 24%,rgba(0,0,0,.58) 62%,rgba(0,0,0,.72) 100%)}
html[data-edition] .home .gazette-media .gazette-title a{background:none;box-shadow:none}

/* Focus: a wide editorial opening, followed by quieter paired stories. */
.pw-focus-archive{max-width:1680px;margin-inline:auto}
.pw-focus-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:44px 36px}
.pw-focus-feature{min-width:0;text-align:center}
.pw-focus-feature--lead{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);align-items:center;gap:30px;padding-bottom:34px;border-bottom:1px solid var(--rule)}
.pw-focus-art{aspect-ratio:16/10;margin:0}
.pw-focus-copy{padding:12px 20px 20px;position:relative}
.pw-focus-feature--lead .pw-focus-copy::before{content:"";position:absolute;inset:-40px -10px;z-index:-1;pointer-events:none;background:url('episode-moonlight.svg') center/100% 100% no-repeat;opacity:.6}
.pw-focus-feature h2{font-size:clamp(25px,2.3vw,38px);line-height:1.18;text-wrap:balance;overflow-wrap:anywhere;margin:0 0 18px}
.pw-focus-feature--lead h2{font-size:clamp(29px,2.7vw,44px)}
.pw-focus-feature h2 a{color:inherit;text-decoration:none}
.pw-focus-feature h2 a:hover{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:5px}
.pw-focus-excerpt{max-width:650px;margin:0 auto 24px;font-size:clamp(17px,1.35vw,21px);line-height:1.6;color:var(--muted)}
.pw-focus-archive .pagination .nav-links{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:8px;margin:30px auto}
@media(max-width:1000px){.pw-focus-feature--lead{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:12px}.pw-focus-copy{padding-inline:6px}.pw-focus-gallery{gap:30px 20px}}
@media(max-width:700px){.pw-focus-gallery{grid-template-columns:minmax(0,1fr);gap:28px}.pw-focus-feature--lead{display:block;padding-bottom:26px}.pw-focus-feature h2{font-size:28px}.pw-focus-copy{padding:8px 4px 12px}}

/* Close the fine seam at the Tavernpost focus picture's right frame edge. */
html[data-edition=taverne] .home .gazette .gazette-story--lead{margin-right:-4px}

/* Tavernpost homepage preview: reuse the bare wooden ledge from the header image. */
html[data-edition=taverne] .home{
 --pw-wood-rule-height:15px;
 --pw-wood-rule-image:url('tavernen-kopf-opt-q80.webp');
}
html[data-edition=taverne] .home .gazette .gazette-lead-rule{
 height:var(--pw-wood-rule-height);border:0;margin-top:0;margin-bottom:16px;
 background:var(--pw-wood-rule-image) center -301px / max(calc(100% + 96px),1182px) 362px no-repeat;
}
html[data-edition=taverne] .home :is(.pw-news-layout>.pw-fun-column,.gazette-desk,.pw-older-stories,.front-archive){
 position:relative;border-top:0;padding-top:calc(24px + var(--pw-wood-rule-height));
}
html[data-edition=taverne] .home .pw-news-layout>.pw-fun-column{border-bottom:0;padding-bottom:calc(24px + var(--pw-wood-rule-height))}
html[data-edition=taverne] .home :is(.pw-news-layout>.pw-fun-column,.gazette-desk,.pw-older-stories,.front-archive)::before,
html[data-edition=taverne] .home .pw-news-layout>.pw-fun-column::after{
 content:"";position:absolute;top:0;left:var(--pw-wood-rule-inset,0px);right:var(--pw-wood-rule-inset,0px);height:var(--pw-wood-rule-height);
 background:var(--pw-wood-rule-image) center -301px / max(calc(100% + 96px),1182px) 362px no-repeat;
 pointer-events:none;
}
html[data-edition=taverne] .home .pw-news-layout>.pw-fun-column{--pw-wood-rule-inset:-3px}
html[data-edition=taverne] .home .pw-news-layout>.pw-fun-column::after{top:auto;bottom:0}
html[data-edition=taverne] .home .gazette-desk{
 --pw-wood-rule-inset:calc(-1 * (var(--cover-paper-inset) + var(--cover-grid-inset)));
}
html[data-edition=taverne] .home :is(.pw-older-stories,.front-archive){
 --pw-wood-rule-inset:calc(-1 * var(--cover-paper-inset));
}

/* Restore translucent backing behind each title line on homepage cards 2–11. */
html[data-edition] .home .gazette-story:where([data-front-position="2"],[data-front-position="3"],[data-front-position="4"],[data-front-position="5"],[data-front-position="6"],[data-front-position="7"],[data-front-position="8"],[data-front-position="9"],[data-front-position="10"],[data-front-position="11"]) .gazette-media .gazette-title a{background:rgba(0,0,0,.45);box-shadow:5px 0 rgba(0,0,0,.45),-5px 0 rgba(0,0,0,.45);-webkit-box-decoration-break:clone;box-decoration-break:clone}
@media print{html[data-edition] .home .gazette-story:where([data-front-position="2"],[data-front-position="3"],[data-front-position="4"],[data-front-position="5"],[data-front-position="6"],[data-front-position="7"],[data-front-position="8"],[data-front-position="9"],[data-front-position="10"],[data-front-position="11"]) .gazette-media .gazette-title a{background:none;box-shadow:none}}

/* Center a single portrait until a second story joins the section. */
@media(min-width:701px){.pw-places .pw-episode:only-child{grid-column:3 / span 8}}

/* Keep picture categories readable with the selected parchment pennant. */
.gazette .gazette-media[data-headline-style] .gazette-kicker,
.full-story .pw-post-cover .pw-post-kicker{
 display:flex;align-items:center;gap:8px;width:fit-content;max-width:100%;box-sizing:border-box;
 padding:4px 23px 4px 7px;border:0;border-block:1px solid #b88c48;border-radius:0;
 background:linear-gradient(100deg,#fff0c9,#e6c98e);color:#4a260b;font-size:13px;line-height:1.3;
 letter-spacing:.07em;text-shadow:none;
 clip-path:polygon(0 0,100% 0,calc(100% - 8px) 50%,100% 100%,0 100%);
}
/* Join the pennant to the photo mount's 5px inner edge, keeping titles inset. */
.gazette .gazette-media[data-headline-style] .gazette-kicker{margin-left:-15px}
.gazette .gazette-media[data-headline-style] .gazette-kicker:has(+ .gazette-kicker){margin-bottom:3px}
.full-story .pw-post-cover .pw-post-kicker{margin-left:calc(5px - clamp(20px,3vw,38px))}
@media(max-width:700px){.full-story .pw-post-cover .pw-post-kicker{margin-left:-15px}}
.gazette .gazette-media .gazette-kicker>span:last-child{min-width:0;overflow-wrap:anywhere}
.gazette .gazette-media .gazette-emblem{flex-basis:28px;width:28px;height:28px}
.gazette .gazette-media .gazette-emblem img,
.gazette .gazette-media .gazette-emblem svg{width:28px!important;height:28px!important}
.full-story .pw-post-cover .pw-post-kicker .illustrated-icon{width:28px!important;height:28px!important;flex-basis:28px}
@media print{
 .gazette .gazette-media[data-headline-style] .gazette-kicker,
 .full-story .pw-post-cover .pw-post-kicker{background:none;color:#241809;border-color:#80603b;clip-path:none}
}

/* Video controls belong beneath the picture, with no title/provider overlay. */
html[data-edition] .pw-lead-trailer{display:grid;grid-template-rows:minmax(0,1fr) auto;min-height:0}
html[data-edition] .pw-lead-trailer .pw-youtube-player{position:relative;inset:auto;min-height:0}
html[data-edition] .pw-video-footer{position:relative;display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px;padding:8px 12px;background:#090d13}
html[data-edition] .pw-video-footer .pw-video-feedback{position:static;flex:1 1 240px;order:-1;background:none}
html[data-edition] .pw-video-footer .pw-trailer-close{font:14px/1.3 Arial,sans-serif;min-height:36px}
html[data-edition] .pw-post-video:has(.pw-trailer-start){display:grid;grid-template-columns:minmax(0,1fr);min-width:0;width:100%;box-sizing:border-box;aspect-ratio:16/9;min-height:360px}
html[data-edition] .pw-post-video:has(.pw-trailer-start) .pw-post-cover-image{position:absolute;inset:0}
html[data-edition] .pw-post-video:has(.pw-trailer-start) .pw-post-cover-image img{height:100%;min-height:100%;object-fit:cover}
html[data-edition] .pw-post-video:has(.pw-trailer-start) .pw-post-cover-heading{position:relative;align-self:end;min-width:0;max-width:100%;box-sizing:border-box}
html[data-edition] .pw-post-video .pw-trailer-start{margin-top:16px;font-size:clamp(16px,1.65vw,24px)}
html[data-edition] .pw-post-video .pw-trailer-start{background:linear-gradient(#247dc4,#124b86 48%,#06264f 55%,#145b9c);color:#fff9e7;display:inline-flex;max-width:100%;white-space:normal;text-align:center;justify-content:center}
html[data-edition] .pw-post-video .pw-lead-trailer{position:relative;inset:auto;aspect-ratio:auto;width:100%}
html[data-edition] .pw-post-video .pw-youtube-player{height:auto;aspect-ratio:16/9}
html[data-edition] .pw-post-video.pw-trailer-open{display:block;aspect-ratio:auto;min-height:0}
html[data-edition] .pw-post-video.pw-trailer-open>:not(.pw-lead-trailer){display:none}
html[data-edition] .pw-post-video.pw-trailer-open::before,html[data-edition] .pw-post-video.pw-trailer-open::after{display:none}
@media(max-width:700px){
 html:not(.pw-ipad) .gazette-story--lead .pw-lead-trailer{aspect-ratio:auto}
 html:not(.pw-ipad) .gazette-story--lead .pw-youtube-player{height:auto;aspect-ratio:16/9}
}
.pw-tool-download .pw-tool-count{margin:10px 0 0;font:14px/1.5 var(--sans);text-align:center}
.pw-tool-counter-note{text-align:center;font:13px/1.5 var(--sans);color:var(--muted)}


/* Illustrated category mastheads: static artwork, accessible text and a readable phone subtitle. */
html[data-edition] .pw-category-masthead{position:relative;width:100%;max-width:600px;margin:8px auto 36px;padding:0;text-align:center;border:0;box-sizing:border-box}
html[data-edition] .pw-category-masthead h1{margin:0 0 12px;text-align:center}
.pw-category-masthead-art{position:relative;aspect-ratio:var(--masthead-ratio);width:100%;overflow:hidden}
html[data-edition] .pw-category-masthead-art img{display:block;width:100%;height:auto;max-width:none;margin:0;padding:0;border:0;background:none;box-shadow:none;filter:none;transform:none}
.pw-category-masthead-description{max-width:1050px;margin:16px auto 0;font:clamp(17px,1.8vw,25px)/1.5 Georgia,serif;color:#392410}
.pw-category-masthead-description p{margin:0 0 .45em}
.pw-category-masthead--art:where(:not(.pw-category-masthead--failed)) .pw-category-masthead-title,
.pw-category-masthead--art:where(:not(.pw-category-masthead--failed):not(.pw-category-masthead--changed)) .pw-category-masthead-description{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important}
.pw-category-masthead--changed .pw-category-masthead-art,
.pw-category-masthead--no-description .pw-category-masthead-art{aspect-ratio:var(--masthead-title-ratio)}
.pw-category-masthead--failed .pw-category-masthead-art{display:none}
@media screen and (min-width:701px){
 .pw-places .pw-category-masthead--changed .pw-category-masthead-description{
  max-width:580px;
  margin-top:2px;
  font:bold 1.0625rem/1.4 "Times New Roman",Times,serif;
 }
}
@media(max-width:700px){
 html[data-edition] .pw-category-masthead{margin:6px auto 28px}
 .pw-category-masthead-art{aspect-ratio:var(--masthead-title-ratio)}
 html[data-edition] .pw-category-masthead .pw-category-masthead-description{position:static!important;width:auto!important;height:auto!important;margin:14px auto 0!important;padding:0 8px!important;overflow:visible!important;clip:auto!important;clip-path:none!important;white-space:normal!important;font-size:17px;line-height:1.5}
}
@media print{
 .pw-category-masthead-art{display:none}
 html[data-edition] .pw-category-masthead .pw-category-masthead-title,html[data-edition] .pw-category-masthead .pw-category-masthead-description{position:static!important;width:auto!important;height:auto!important;margin:0 0 12px!important;overflow:visible!important;clip:auto!important;clip-path:none!important;white-space:normal!important}
}

/* Compact introduction-to-post spacing for the five requested category pairs. */
html[data-edition] body:is(.category-hdro,.category-lotro,.category-eso,.category-eso-news,.category-auenlandbote,.category-auenlandbote-en,.category-tratsch-und-klatsch,.category-gossip-and-chatter,.category-patsys-fundkiste,.category-patsys-treasure-chest) .pw-category-masthead{margin-bottom:8px}
html[data-edition] body:is(.category-hdro,.category-lotro,.category-eso,.category-eso-news,.category-auenlandbote,.category-auenlandbote-en,.category-tratsch-und-klatsch,.category-gossip-and-chatter,.category-patsys-fundkiste,.category-patsys-treasure-chest) .pw-category-masthead+.pw-category-grid{padding-top:0}

/* About Wackelcast: a full-width illustrated editorial, scoped to this content. */
html[data-edition] .page-story:has(.pw-about){max-width:none;width:100%;margin-inline:0}
html[data-edition] .page-story:has(.pw-about)>h1,
html[data-edition] .page-story:has(.pw-about)>.eyebrow{text-align:center}
html[data-edition] .page-story:has(.pw-about)>h1{font-size:clamp(34px,4.2vw,62px);line-height:1.12;margin:12px auto 32px;text-wrap:balance}
html[data-edition] .page-story:has(.pw-about)>.prose{max-width:none;width:100%}
.pw-about{--about-gold:#a57835;--about-line:#a5783570;--about-tint:#fff9e780;display:grid;gap:clamp(28px,4vw,58px);width:100%;color:var(--ink)}
html[data-edition] .pw-about p{font-size:clamp(17px,1.45vw,22px);line-height:1.65;margin:0 0 1em}
html[data-edition] .pw-about h2{font-size:clamp(26px,2.5vw,39px);line-height:1.2;margin:0 0 22px;text-wrap:balance}
html[data-edition] .pw-about figure{margin:0;max-width:none}
html[data-edition] .pw-about figure>a{display:block}
html[data-edition] .pw-about figure img{display:block;width:100%;height:auto;max-width:100%;margin:0;border:0;padding:0;box-shadow:none}
html[data-edition] .pw-about figcaption{font:13px/1.5 var(--sans);text-align:center;color:var(--muted);padding:10px 12px;margin:0}
.pw-about-welcome{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);align-items:center;gap:clamp(22px,3vw,46px);padding:12px;border:1px solid var(--about-gold);outline:1px solid var(--about-line);outline-offset:5px;background:var(--about-tint);box-shadow:0 8px 26px #56381714}
.pw-about-hero{min-width:0}
.pw-about-greeting{padding:20px 22px 16px 0}
html[data-edition] .pw-about .pw-about-label{font:700 12px/1.4 var(--sans);letter-spacing:.18em;text-transform:uppercase;color:var(--accent);margin-bottom:20px}
html[data-edition] .pw-about-greeting>p:last-child{font-size:clamp(20px,1.85vw,28px);line-height:1.5;font-style:italic;margin-bottom:0}
.pw-about-intro{max-width:1050px;margin-inline:auto;text-align:center;padding:12px clamp(4px,2vw,30px) 0}
.pw-about-intro::before,.pw-about-closing::before{content:"✦";display:block;margin:0 auto 24px;color:var(--about-gold);font-size:24px;line-height:1;background:linear-gradient(var(--about-line),var(--about-line)) left center/42% 1px no-repeat,linear-gradient(var(--about-line),var(--about-line)) right center/42% 1px no-repeat}
.pw-about-people{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(20px,3vw,42px)}
.pw-about-person{min-width:0;padding:clamp(20px,2.6vw,38px);border:1px solid var(--about-line);border-top:4px double var(--about-gold);background:linear-gradient(150deg,#fff9e790,#e9c78120);box-shadow:inset 0 0 0 6px #fff7dd55}
html[data-edition] .pw-about-person figure{max-width:330px;margin:0 auto 22px}
html[data-edition] .pw-about-person figure>a{padding:6px;border:1px solid var(--about-gold);background:#fff4d6}
html[data-edition] .pw-about-person figure img{width:100%;height:290px;object-fit:contain;background:#e5d2ab}
html[data-edition] .pw-about-person figcaption{font-size:13px;padding:12px 0 0}
html[data-edition] .pw-about-person h2{text-align:center;font-size:clamp(26px,2.3vw,36px)}
.pw-about-person p:last-child,.pw-about-panel p:last-child,.pw-about-workshop p:last-child{margin-bottom:0}
.pw-about-workshop{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:clamp(24px,3vw,46px);align-items:center;padding-block:clamp(25px,3vw,42px);border-block:3px double var(--about-line)}
.pw-about-workshop>div{min-width:0}
html[data-edition] .pw-about-workshop-art>a{border:1px solid var(--about-gold);padding:6px;background:#fff4d6}
.pw-about-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(20px,3vw,42px)}
.pw-about-panel{min-width:0;padding:clamp(20px,2.5vw,36px);border:1px solid var(--about-line);border-radius:3px;background:var(--about-tint)}
.pw-about-closing{text-align:center;max-width:1000px;margin-inline:auto;padding-inline:clamp(4px,2vw,30px)}
html[data-edition] .pw-about-closing>p:last-child{margin-top:26px;font-size:18px}
html[data-edition] .pw-about-closing>p:last-child a{display:inline-block;padding:14px 22px;border:1px solid var(--about-gold);border-radius:4px;background:#ead6a74d;color:var(--accent);text-underline-offset:4px}
.pw-about-brand{max-width:760px;width:100%;margin:0 auto}
html[data-edition] .pw-about-brand .pw-about-banner{width:100%;margin:0}
@media(max-width:1000px){
 .pw-about-welcome{grid-template-columns:minmax(0,1fr)}
 .pw-about-greeting{padding:6px 22px 20px;text-align:center}
 .pw-about-workshop{grid-template-columns:minmax(0,1fr)}
 .pw-about-workshop-art{max-width:800px!important;margin-inline:auto!important}
}
@media(max-width:700px){
 .pw-about{gap:30px}
 .pw-about-welcome{padding:7px;gap:12px;outline-offset:3px}
 .pw-about-greeting{padding:6px 12px 16px}
 .pw-about-people,.pw-about-details{grid-template-columns:minmax(0,1fr);gap:24px}
 .pw-about-person,.pw-about-panel{padding:20px 16px}
 html[data-edition] .pw-about-person figure img{height:auto;max-height:330px}
 html[data-edition] .pw-about p{font-size:17px}
 html[data-edition] .pw-about-greeting>p:last-child{font-size:20px}
 html[data-edition] .pw-about h2{font-size:28px}
 html[data-edition] .page-story:has(.pw-about)>h1{margin-bottom:24px;font-size:35px}
}
@media print{.pw-about{display:block}.pw-about>*,.pw-about-person,.pw-about-panel{break-inside:avoid;margin-bottom:24px;box-shadow:none}.pw-about-welcome{outline:0}}

/* Four chapters belong to one tour report in the category overview. */
.pw-tour-parts{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;text-align:center}
.pw-tour-parts li{min-width:0;margin:0;padding:0}
.pw-tour-parts .pw-tour-part{box-sizing:border-box;width:100%;height:100%;min-height:44px;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:5px;padding:4px 0 6px;border-radius:8px;color:var(--ink);white-space:normal;text-align:center;text-transform:none;letter-spacing:normal;line-height:1.4;text-decoration:none}
.pw-tour-parts .pw-tour-part-icon{display:block;flex:none;width:64px;max-width:100%;height:auto;aspect-ratio:1;object-fit:contain;filter:drop-shadow(0 2px 2px #38240d35);transition:transform .18s ease,filter .18s ease}
.pw-tour-parts .pw-tour-part strong{font:700 15px/1.2 var(--sans);text-align:center}
.pw-tour-parts .pw-tour-part > span{font:500 13px/1.35 var(--sans);text-align:center;text-wrap:balance;hyphens:auto;overflow-wrap:break-word}
.pw-tour-part--upcoming{border:1px dashed var(--rule);color:var(--muted)}
.pw-tour-parts a.pw-tour-part:hover .pw-tour-part-icon{transform:translateY(-2px);filter:drop-shadow(0 3px 4px #8a5b2460)}
.pw-tour-parts a.pw-tour-part:hover strong{text-decoration:underline;text-underline-offset:3px}
.pw-tour-part:focus-visible{outline:3px solid var(--accent);outline-offset:3px}
.pw-tour-feature .pw-episode-label{letter-spacing:1px}
@media(prefers-reduced-motion:reduce){.pw-tour-parts .pw-tour-part-icon{transition:none}.pw-tour-parts a.pw-tour-part:hover .pw-tour-part-icon{transform:none}}
.pw-tour-feature .pw-focus-copy{container-type:inline-size}
.pw-tour-parts .pw-tour-part-short{display:none}
@container(max-width:420px){
    .pw-tour-parts{gap:6px}
    .pw-tour-parts .pw-tour-part-title{display:none}
    .pw-tour-parts .pw-tour-part-short{display:block}
}

/* Keep the long gossip label inside the mobile button's illustrated inner panel. */
@media(max-width:740px){
 html[data-edition] .site-header .masthead .site-nav .nav-list li>a:has(.illustrated-icon-gossip){padding-inline:22px;gap:5px;align-items:center;justify-content:center;text-align:center}
 html[data-edition] .site-header .masthead .site-nav .nav-list li>a:has(.illustrated-icon-gossip)>span{min-width:0;flex:0 1 auto;white-space:normal;overflow-wrap:normal;font-size:13px;line-height:1.12}
 html[data-edition] .site-header .masthead .site-nav .pw-mobile-menu-line{display:block}
 html[data-edition] .site-header .masthead .site-nav .nav-list li>a>.illustrated-icon-gossip{width:18px;height:18px;flex:0 0 18px}
}

/* Reuse the tour chapter medallions once in the lead and once at the article end. */
.pw-tour-navigation--article{width:100%;max-width:680px;margin:24px auto 0;container-type:inline-size}
.pw-tour-navigation--article{margin-block:30px}
.pw-tour-parts .pw-tour-part[aria-current="page"] strong{text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:4px}

/* The lead chapter links share the existing CTA line without enlarging the cover. */
.pw-tour-lead-actions{display:flex;align-items:center;gap:12px}
.pw-tour-lead-actions>.glass{flex:0 0 auto}
.pw-tour-navigation--home{flex:1;min-width:0;margin:6px 0 0;container-type:inline-size}
.pw-tour-navigation--home .pw-tour-parts{max-width:300px;margin-inline:auto;gap:4px}
.pw-tour-navigation--home .pw-tour-parts .pw-tour-part{min-height:44px;gap:2px;padding:0;justify-content:center}
.pw-tour-navigation--home .pw-tour-parts .pw-tour-part-icon{width:28px}
.pw-tour-navigation--home .pw-tour-parts .pw-tour-part strong{font-size:11px;line-height:1.2;white-space:nowrap}
.pw-tour-navigation--home .pw-tour-parts .pw-tour-part>span{display:none}
@media(max-width:420px){
 .gazette-story--lead .pw-tour-lead-actions>.glass{font-size:16px;min-height:45.3px;padding-inline:12px;gap:6px}
 .pw-tour-lead-actions{gap:6px}
 .pw-tour-navigation--home .pw-tour-parts{gap:2px}
}

/* Larger screens use the surrounding space; the lead's original line height stays fixed. */
@media(min-width:701px){
 .pw-tour-lead-actions{min-width:640px}
 .pw-tour-navigation--home{position:relative;height:44px}
 .pw-tour-navigation--home .pw-tour-parts{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:100%;max-width:300px}
 .pw-tour-navigation--home .pw-tour-parts .pw-tour-part{gap:4px}
 .pw-tour-navigation--home .pw-tour-parts .pw-tour-part-icon{width:64px}
 .pw-tour-navigation--home .pw-tour-parts .pw-tour-part strong{font-size:15px;text-shadow:0 1px 2px #f7eccf,0 0 5px #f7eccf}
}

/* iPad: keep each menu bow intact while moving its complete wing outward. */
@media screen and (min-width:741px){
 html.pw-ipad[data-edition] .site-header .site-nav{--pw-ipad-wing-outset:10px}
 html.pw-ipad[data-edition=taverne] .site-header .site-nav{--pw-ipad-wing-outset:30px}
 html.pw-ipad[data-edition] .site-header .masthead .site-nav[data-nav-ready] .nav-list>li[data-nav-side=left]{position:relative;left:calc(-1 * var(--pw-ipad-wing-outset))}
 html.pw-ipad[data-edition] .site-header .masthead .site-nav[data-nav-ready] .nav-list>li[data-nav-side=right]{position:relative;left:var(--pw-ipad-wing-outset)}
 html.pw-ipad[data-edition=taverne] .home .pw-issue-plaque{width:255px}
 html.pw-ipad[data-edition=taverne] .home .pw-issue-plaque>p>span{font-size:10.2px}
 html.pw-ipad[data-edition=taverne] .home .pw-issue-plaque time{font-size:15px}
}
/* The wider Bernstein layout already places its middle buttons near the edge. */
@media screen and (min-width:1181px){
 html.pw-ipad[data-edition=bernstein] .site-header .site-nav{--pw-ipad-wing-outset:6px}
}

/* iPad refinement: larger Tavern logo and Bernstein ornaments at the screen edge. */
@media screen and (min-width:741px){
 html.pw-ipad[data-edition=taverne] .site-header .masthead .brand img.brand-taverne{transform:scale(1.2);transform-origin:center center}
 html.pw-ipad[data-edition=bernstein] .site-header .masthead .navigation-row{left:calc(-1 * var(--cover-paper-inset));right:calc(-1 * var(--cover-paper-inset));overflow:hidden}
 html.pw-ipad[data-edition=bernstein] .site-header .masthead .site-nav{left:var(--cover-paper-inset);right:var(--cover-paper-inset);--pw-ipad-wing-outset:30px}
}
