/* Inner pages: shared layout, cards, lists, article, comments. Taken from SHARED, MEADOW_CSS and the article additions in docs/website/mockups/round-2/build.py. */
.x-crumb{font-size:.9rem;color:var(--ink-soft)}
.x-crumb a{text-underline-offset:3px}
.x-head .wrap{padding-block:clamp(1.8rem,4.5vw,3.6rem) clamp(1.4rem,3.5vw,2.6rem);display:flex;flex-direction:column;gap:1rem;align-items:flex-start}
.x-head h1{font-size:var(--x-h1)}
.x-intro{font-size:1.2rem;line-height:1.5;max-width:40rem;color:var(--ink-soft)}
.x-sec .wrap,.x-band .wrap{padding-block:clamp(2rem,5vw,4rem)}
.x-sec h2,.x-band h2{font-size:var(--x-h2);margin:.5rem 0 1.4rem}
.x-band.t1{background:var(--x-t1)}.x-band.t2{background:var(--x-t2)}.x-band.t3{background:var(--x-t3)}.x-band.t4{background:var(--x-t4)}.x-band.t5{background:var(--x-t5)}
.x-grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.x-card{background:var(--x-card);border:var(--x-border);border-radius:var(--x-radius);box-shadow:var(--x-shadow);padding:1.4rem;display:flex;flex-direction:column;gap:.7rem;min-width:0;text-decoration:none}
.x-card h3{font-size:var(--x-h3);line-height:1.1}
.x-card p{font-size:.98rem;line-height:1.5}
.x-more{margin-top:auto;font-weight:700;font-size:.9rem;padding-top:.4rem}
.x-chips{display:flex;flex-wrap:wrap;gap:.5rem}
.x-chip{border:var(--x-chip-border);border-radius:var(--x-chip-radius);padding:.45rem 1rem;background:var(--x-card);font:inherit;font-size:.95rem;font-weight:600;cursor:pointer;text-decoration:none;color:var(--ink)}
.x-chip[aria-pressed="true"]{background:var(--ink);color:var(--x-bg)}
.x-list{display:grid;grid-template-columns:1fr 1fr;column-gap:2.5rem;margin-top:1.4rem;border-top:var(--x-rule)}
.x-list a{display:flex;justify-content:space-between;align-items:baseline;gap:1rem;padding:.85rem .3rem;border-bottom:var(--x-rule);text-decoration:none;min-width:0}
.x-list a:hover{background:var(--x-hl)}
.x-list a.off{cursor:default}
.x-list a.off b{font-weight:500;color:var(--ink-soft)}
.x-list a.off:hover{background:none}
.x-list b{font-weight:600;line-height:1.3}
.x-list span{color:var(--ink-soft);font-variant-numeric:tabular-nums;flex:none;font-size:.9rem}
.x-note{font-size:.9rem;color:var(--ink-soft);margin-top:1rem}

.x-article .wrap{display:grid;grid-template-columns:minmax(0,1fr) 20rem;gap:clamp(2rem,5vw,4.5rem);align-items:start;padding-block:clamp(1.5rem,3vw,2.5rem) clamp(2.5rem,6vw,4.5rem)}
.x-prose{max-width:42rem;font-size:1.12rem;line-height:1.7;min-width:0}
.x-prose p{margin:0 0 1.1em}
.x-prose h2{font-size:var(--x-h2s);margin:1.7em 0 .6em;line-height:1.05}
.x-prose ul{padding-left:1.2rem;margin:0 0 1.1em}
.x-prose li{margin:.35em 0}
.x-fig{margin:1.8rem 0;background:var(--x-t2);border:var(--x-border2);border-radius:var(--x-radius);padding:1.3rem}
.x-fig div{display:grid;grid-template-columns:repeat(3,1fr);gap:.7rem;text-align:center}
.x-fig span{background:var(--x-card);border:var(--x-border2);border-radius:var(--x-radius);padding:1rem .5rem;font-family:var(--display);font-size:1.05rem;line-height:1.15}
.x-fig figcaption{font-size:.88rem;color:var(--ink-soft);margin-top:.8rem;line-height:1.4}
.x-stop{border-top:2px dashed var(--ink-soft);padding-top:1rem;margin-top:2rem;color:var(--ink-soft);font-size:.95rem}
.x-side{position:sticky;top:calc(5.5rem + env(safe-area-inset-top,0px));display:grid;gap:1rem;font-size:.98rem;line-height:1.5;align-self:start;max-height:calc(100vh - 6.5rem);overflow-y:auto;overscroll-behavior:contain}
.x-box{background:var(--x-t1);border:var(--x-border2);border-radius:var(--x-radius);padding:1.2rem 1.3rem}
.x-box.plain{background:var(--x-card);border:var(--x-border);box-shadow:var(--x-shadow)}
.x-box ul,.x-box ol{margin:.5rem 0 0;padding-left:1.15rem}
.x-box li{margin:.3rem 0}
.x-box .btns{display:flex;gap:.5rem;flex-wrap:wrap;margin-top:.8rem}

.x-about .wrap{display:grid;grid-template-columns:auto 1fr;gap:clamp(1.5rem,5vw,4rem);align-items:center;padding-block:clamp(2rem,5vw,4rem)}
.x-about .txt{display:flex;flex-direction:column;gap:1rem;align-items:flex-start;min-width:0}
.x-about h1{font-size:var(--x-h1)}
.x-photo{width:clamp(190px,26vw,330px);max-width:100%;aspect-ratio:4/5;background:var(--x-t2);border:var(--x-border2);border-radius:var(--x-photo-radius);box-shadow:var(--x-photo-shadow);display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:.4rem;overflow:hidden;font-size:.82rem;color:var(--ink)}
.x-photo img{width:100%;height:100%;object-fit:cover;display:block}
.x-photo em{font-style:normal;position:relative;top:-46%;background:var(--x-card);padding:.2rem .6rem;border-radius:var(--x-chip-radius)}
.x-quote-lead{font-family:var(--display);font-weight:var(--x-qw);font-size:clamp(1.4rem,3vw,2.3rem);line-height:1.2;max-width:34rem}
.x-time{list-style:none;padding:0;margin:0;max-width:48rem}
.x-time li{display:grid;grid-template-columns:6.5rem 2rem 1fr;gap:0 1rem;align-items:start}
.x-time .yr{font-family:var(--display);font-weight:var(--x-qw);font-size:var(--x-year);line-height:1;text-align:right;padding-top:.15rem}
.x-time .dot{position:relative;align-self:stretch;display:flex;justify-content:center}
.x-time .dot::before{content:"";position:absolute;top:0;bottom:0;border-left:3px dotted var(--ink-soft)}
.x-time li:last-child .dot::before{bottom:auto;height:1rem}
.x-time .dot i{position:relative;width:1.3rem;height:1.3rem;border-radius:50%;background:var(--x-t3);border:2.5px solid var(--ink);margin-top:.5rem}
.x-time .what{padding-bottom:2rem}
.x-time .what b{display:block;font-size:1.15rem}
.x-time .todo{color:var(--ink-soft);font-style:italic}
.x-q{margin:0;background:var(--x-card);border:var(--x-border);border-radius:var(--x-radius);box-shadow:var(--x-shadow);padding:1.5rem;display:flex;flex-direction:column;gap:1rem;min-width:0}
.x-q p{font-family:var(--display);font-weight:var(--x-qw);font-size:1.3rem;line-height:1.25}
.x-q footer{border:0;font-size:.9rem;color:var(--ink-soft);margin-top:auto}
.x-play{aspect-ratio:16/9;background:var(--x-t2);border:var(--x-border2);border-radius:var(--x-radius);display:grid;place-items:center}
.x-play i{width:52px;height:52px;border-radius:50%;background:var(--ink);display:grid;place-items:center}
.x-books{display:flex;gap:clamp(1rem,3vw,2.5rem);flex-wrap:wrap;align-items:flex-start}
.x-book{display:flex;flex-direction:column;gap:.7rem;width:clamp(140px,17vw,190px)}
.x-book .cv{aspect-ratio:3/4;border-radius:4px 10px 10px 4px;border:2px solid var(--ink);display:flex;flex-direction:column;justify-content:space-between;padding:1rem .8rem;text-align:center;font-family:var(--display);line-height:1.15;background:var(--x-card)}
.x-book .cv.free{background:#8CCBEA}
.x-book .cv small{font-family:var(--body);font-size:.75rem}
.x-book p{font-size:.92rem;line-height:1.4}
.x-contact{display:flex;gap:1.5rem;flex-wrap:wrap;align-items:center;justify-content:space-between}
.x-contact h2{margin:0}
@media (max-width:900px){
  .x-grid3{grid-template-columns:1fr}
  .x-list{grid-template-columns:1fr}
  .x-article .wrap{grid-template-columns:1fr}
  .x-side{position:static;order:-1;max-height:none;overflow:visible}
  .x-about .wrap{grid-template-columns:1fr}
  .x-time li{grid-template-columns:4.2rem 1.6rem 1fr;gap:0 .6rem}
  .x-time .yr{font-size:1.5rem}
}
.x-head .wrap,.x-about .wrap{padding-bottom:.5rem}
.x-band{position:relative;overflow:hidden}
.x-band>.wrap{position:relative;z-index:1}
.x-band::after{content:"";position:absolute;right:-70px;bottom:-90px;width:clamp(180px,26vw,360px);aspect-ratio:1;background:#fff;opacity:.38;pointer-events:none;border-radius:50%}
.x-band.t2::after{border-radius:0 100% 0 100%;right:-30px;bottom:-60px}
.x-band.t3::after{box-shadow:0 0 0 34px rgba(255,255,255,.55);right:-40px;bottom:-110px;width:clamp(150px,20vw,280px)}
.x-band.t1::before{content:"";position:absolute;right:clamp(90px,16vw,230px);bottom:-110px;width:clamp(140px,18vw,250px);aspect-ratio:1;background:#fff;opacity:.3;border-radius:50%;pointer-events:none}
.x-card{position:relative;overflow:hidden}
.x-card>*{position:relative;z-index:1}
.x-card::after{content:"";position:absolute;right:-26px;top:-26px;width:92px;height:92px;border-radius:50%;background:var(--sage);opacity:.55;pointer-events:none}
.x-grid3>.x-card:nth-child(3n+2)::after{background:var(--straw);border-radius:22px;transform:rotate(18deg)}
.x-grid3>.x-card:nth-child(3n)::after{background:var(--sky);border-radius:0 100% 0 100%;right:-10px;top:-10px}
.x-q::after{content:"";position:absolute;right:-20px;bottom:-20px;width:84px;height:84px;border-radius:50%;background:var(--straw);opacity:.6}
.x-q{position:relative;overflow:hidden}
.x-q>*{position:relative;z-index:1}
.x-time .dot i{background:var(--blossom);width:1.5rem;height:1.5rem}
.x-time li:nth-child(2) .dot i{background:var(--sky)}.x-time li:nth-child(4) .dot i{background:var(--straw)}.x-time li:nth-child(5) .dot i{background:var(--sage)}
.x-time .dot::before{border-left:10px solid #FBF8E8;box-shadow:0 0 0 1.5px var(--line)}
.x-chip:hover{background:var(--straw)}
.x-prose figure{margin:1.6rem 0}
.x-prose img{display:block;max-width:100%;height:auto;margin:1.6rem auto}
.x-prose figure img{margin:0 auto}
.x-prose h3{font-size:1.4rem;margin:1.6em 0 .5em;line-height:1.15}
.x-prose h4{font-family:var(--body);font-weight:700;font-size:1.08rem;letter-spacing:0;text-transform:none;margin:1.4em 0 .4em;line-height:1.3}
.x-prose a{text-underline-offset:3px;overflow-wrap:anywhere}
.x-prose{display:flow-root}
.x-prose img.alignnone,.x-prose img.aligncenter,.x-prose .wp-caption.aligncenter{display:block;margin:1.6rem auto}
.x-prose .wp-caption{max-width:100%;margin:1.6rem auto;text-align:center}
.x-prose .wp-caption img{margin:0 auto}
.x-prose .wp-caption-text{margin:.5rem 0 0;font-size:.9rem;line-height:1.4;font-style:italic}
.x-prose center{display:block;text-align:center}
.x-prose table{display:block;max-width:100%;overflow-x:auto;border-collapse:collapse}
.x-prose td,.x-prose th{padding:.4rem .7rem;border:1px solid #D5DEC6;vertical-align:top}
@media(min-width:640px){
.x-prose img.alignleft,.x-prose .wp-caption.alignleft{float:left;margin:.3rem 1.6rem 1rem 0;max-width:50%}
.x-prose img.alignright,.x-prose .wp-caption.alignright{float:right;margin:.3rem 0 1rem 1.6rem;max-width:50%}
.x-prose h2,.x-prose h3{clear:both}
}
.x-prose .wsp-container{margin-top:2rem}
.x-prose .wsp-posts-title,.x-prose .wsp-archives-title{font-size:var(--x-h2s);margin:1.7em 0 .6em;line-height:1.05}
.x-prose .wsp-container ul{list-style:none;margin:0;padding:0}
.x-prose .wsp-container ul ul{margin:.3rem 0 0;padding-left:1.2rem;border-left:2px solid #D5DEC6}
.x-prose .wsp-container li{margin:.3em 0;line-height:1.45}
.x-prose .wsp-posts-list>li>.wsp-category-title{display:block;margin-top:1.4rem;font-size:1.08rem}
.x-prose .wsp-container a{overflow-wrap:anywhere}
.x-prose blockquote{margin:1.4rem 0;padding-left:1.2rem;border-left:4px solid var(--x-t1)}
.x-pull{margin:0;font-family:var(--display);font-weight:var(--x-qw);font-size:1.25rem;line-height:1.3}
.x-box ol a{text-underline-offset:3px}
.x-prose h2{scroll-margin-top:6rem}
.x-progress{position:fixed;left:0;top:0;height:5px;width:0;background:var(--x-t3);border-right:2px solid var(--ink);z-index:40}
.x-totop{position:fixed;right:max(16px,env(safe-area-inset-right,0px));bottom:calc(18px + env(safe-area-inset-bottom,0px));z-index:25;border:2px solid var(--ink);background:var(--x-bg);color:var(--ink);border-radius:999px;padding:.55rem 1rem;font:inherit;font-weight:700;font-size:.9rem;cursor:pointer}
.x-card .sum{font-size:.92rem;line-height:1.45;color:var(--ink-soft)}
.x-list small{display:block;font-weight:400;font-size:.88rem;line-height:1.4;color:var(--ink-soft);margin-top:.2rem}
/* Headings inside a piece: Mike's choice of 19 November, option B. Centred, a waymarker above each main heading, a short yellow line under each subheading. */
.x-prose :is(h2,h3,h4) br{display:none}
.x-prose :is(h2,h3,h4) em{font-style:normal}
.x-prose h4{text-wrap:balance}
.x-prose h2{text-align:center;font-size:clamp(1.85rem,1.35rem + 2vw,2.5rem);line-height:1.1;margin:2.3em auto .7em;padding-top:4.1rem;
  background:
    radial-gradient(circle at 50% .95rem,var(--blossom) 0,var(--blossom) .6rem,var(--ink) calc(.6rem + .6px),var(--ink) .77rem,transparent calc(.77rem + .6px)) no-repeat,
    linear-gradient(var(--ink),var(--ink)) 50% 1.65rem/3px 1.3rem no-repeat,
    linear-gradient(var(--sage),var(--sage)) 50% 2.9rem/100% 2px no-repeat}
.x-prose h3{text-align:center;font-size:clamp(1.5rem,1.25rem + 1vw,1.8rem);line-height:1.15;margin:2em auto .6em;max-width:22em;color:var(--leaf)}
.x-prose h3::after{content:"";display:block;width:3.4rem;height:.32rem;border-radius:999px;background:var(--straw);margin:.6rem auto 0}
.x-prose h4{text-align:center;font-size:1.25rem;line-height:1.3;margin:1.8em auto .5em;max-width:30em}
/* Title of a piece: Mike's choice of 19 November, option D. A full band of colour that runs into the landscape. Green unless the theme sets another. */
.tt-d{background:var(--t,var(--sage))}
.tt-d :is(.label,.x-intro,.x-crumb){color:var(--ink)}
html.pe-reading .tt-d .wrap{padding-bottom:1.6rem}
.vid button.bigplay{border:0;padding:0;cursor:pointer;font:inherit}
.vid .shot .x-inline-note{position:absolute;left:.8rem;right:.8rem;bottom:.8rem;background:#fff;color:var(--ink);padding:.5rem .8rem;border-radius:10px;font-size:.92rem}
.x-comments .x-cmts{list-style:none;padding:0;margin:0 0 2rem;display:grid;grid-template-columns:minmax(0,1fr);gap:1rem;max-width:46rem}
.x-cmt{min-width:0;overflow-wrap:anywhere;background:var(--x-card);border:var(--x-border);border-radius:var(--x-radius);padding:1rem 1.2rem}
.x-cmt-h{display:flex;gap:.8rem;align-items:baseline;flex-wrap:wrap;margin-bottom:.4rem}
.x-cmt-h time{font-size:.86rem;color:var(--ink-soft)}
.x-cmt-b p{margin:0 0 .7em;font-size:1rem;line-height:1.6}
.x-reps{margin:1rem 0 0!important;padding-left:clamp(.8rem,3vw,2rem)!important;border-left:3px solid var(--x-t1)}
.x-reps .x-reps{padding-left:.8rem!important}
.x-rules{font-size:.98rem;line-height:1.55}
.x-rules h4{font-family:var(--body);font-size:1rem;margin:1rem 0 .3rem}
.x-rules ul{padding-left:1.2rem;margin:0 0 1em}
.x-inline-note{display:block;margin-top:.7rem;background:var(--x-t3);border-radius:10px;padding:.6rem .85rem;font-size:.92rem;line-height:1.4;max-width:30rem}
.x-box .x-inline-note{max-width:none}
.x-prose figure.x-video{margin:1.8rem 0}
.x-video a{position:relative;display:block;border-radius:var(--x-radius);overflow:hidden;line-height:0;text-decoration:none}
.x-prose .x-video img{width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;margin:0;display:block}
.x-video-play{position:absolute;left:50%;top:50%;width:78px;height:78px;margin:-39px 0 0 -39px;border-radius:50%;background:var(--ink);box-shadow:0 0 0 6px rgba(255,255,255,.65)}
.x-video-play::after{content:"";position:absolute;left:50%;top:50%;border-style:solid;border-width:15px 0 15px 24px;border-color:transparent transparent transparent #fff;transform:translate(-36%,-50%)}
.x-video a:hover .x-video-play,.x-video a:focus-visible .x-video-play{background:var(--leaf)}
.x-video a:focus-visible{outline:4px solid var(--leaf);outline-offset:4px}
.x-video figcaption{font-size:.88rem;line-height:1.45;color:var(--ink-soft);margin-top:.6rem}

/* Library, forms, two-column blocks: SHARED additions and LIB_CSS in build.py. */
.x-two{display:grid;grid-template-columns:1.25fr 1fr;gap:clamp(1.5rem,4vw,3.5rem);align-items:center}
.x-two .txt{display:flex;flex-direction:column;gap:1rem;align-items:flex-start;min-width:0}
.x-two h2{margin:0}
.x-two ul{margin:0;padding-left:1.2rem}
.x-two li{margin:.3rem 0}
.x-thumb{position:relative;aspect-ratio:16/9;border-radius:var(--x-radius);overflow:hidden;background:var(--x-t2)}
.x-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.x-thumb i{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:52px;height:52px;border-radius:50%;background:var(--ink);display:grid;place-items:center;box-shadow:0 0 0 5px rgba(255,255,255,.55)}
.x-sub{font-family:var(--display);font-weight:var(--x-qw);font-size:1.5rem;margin:2.2rem 0 1rem}
.x-sub:first-of-type{margin-top:.4rem}
.x-tag{display:inline-block;font-size:.72rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;background:var(--x-t3);padding:.2rem .6rem;border-radius:var(--x-chip-radius);align-self:flex-start}
.x-dl{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.x-dl a,.x-dl button{font:inherit;color:inherit;text-align:left;cursor:pointer;display:flex;align-items:center;gap:.9rem;background:var(--x-card);border:var(--x-border);border-radius:var(--x-radius);padding:1rem 1.2rem;text-decoration:none;min-width:0}
.x-dl .x-inline-note{grid-column:1/-1}
.x-dl i{flex:none;width:2.6rem;height:3.2rem;border:2px solid var(--ink);border-radius:3px 9px 3px 3px;display:grid;place-items:center;font-style:normal;font-size:.62rem;font-weight:700;background:var(--x-t2)}
.x-dl b{display:block;line-height:1.2}
.x-dl span{font-size:.86rem;color:var(--ink-soft)}
.x-bigcover{width:clamp(200px,24vw,300px);max-width:100%;aspect-ratio:3/4;border-radius:6px 14px 14px 6px;background:#8CCBEA;border:2px solid var(--ink);box-shadow:10px 10px 0 var(--x-t1);display:flex;flex-direction:column;justify-content:space-between;padding:1.5rem 1.2rem;text-align:center;transform:rotate(-3deg);justify-self:center}
.x-bigcover b{font-family:var(--display);font-weight:400;font-size:clamp(1.3rem,2.4vw,1.9rem);line-height:1.1;color:var(--ink)}
.x-bigcover span{font-size:.82rem}
.x-bigcover i{font-style:normal;font-weight:700}
.x-search{display:flex;gap:.5rem;width:min(100%,40rem);background:#fff;border:2px solid var(--ink);border-radius:999px;padding:.35rem .35rem .35rem 1.3rem}
.x-search input{flex:1;min-width:0;border:0;background:transparent;font:inherit;font-size:1.1rem;color:var(--ink)}
.x-search input:focus{outline:0}
.x-search:focus-within{box-shadow:0 0 0 4px var(--x-t1)}
.x-letters{display:flex;flex-wrap:wrap;gap:6px}
.x-letters button{width:2.3rem;height:2.3rem;display:grid;place-items:center;border:1.5px solid var(--line);border-radius:50%;font:inherit;font-weight:600;background:#fff;color:var(--ink);cursor:pointer;padding:0}
.x-letters button[aria-pressed="true"]{background:var(--ink);color:var(--x-bg);border-color:var(--ink)}
.x-letters button:disabled{opacity:.35;cursor:default}
.x-tools{display:grid;gap:1rem;margin-bottom:.4rem}
.x-count{font-weight:600;margin-top:1.2rem}
.x-form{display:grid;gap:1rem;background:var(--x-card);border:var(--x-border);border-radius:var(--x-radius);padding:1.5rem}
.x-form label{display:grid;gap:.35rem;font-weight:600;font-size:.95rem}
.x-form input,.x-form textarea{font:inherit;color:var(--ink);background:var(--x-bg);border:1.5px solid var(--ink-soft);border-radius:10px;padding:.7rem .8rem;width:100%}
.x-form input:focus,.x-form textarea:focus{outline:3px solid var(--x-t1);border-color:var(--ink)}
.x-form .msg{background:var(--x-t3);border-radius:10px;padding:.7rem .9rem;font-size:.95rem}
.x-addr{font-family:var(--display);font-size:clamp(1.3rem,2.6vw,1.9rem);user-select:all;overflow-wrap:anywhere}
.x-doc{max-width:44rem}
.x-doc h2{font-size:var(--x-h2s);margin:1.8em 0 .5em}
.x-doc p,.x-doc li{font-size:1.08rem;line-height:1.7}
.x-doc p{margin:0 0 1em}
.x-doc ul{padding-left:1.2rem;margin:0 0 1em}
@media (max-width:900px){.x-two{grid-template-columns:1fr}.x-dl{grid-template-columns:1fr}}
.x-chipgroup{display:grid;gap:.5rem}
.x-chipgroup>span{font-size:.74rem;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--ink-soft)}
.x-list a small{display:block}
.x-list a>span{max-width:11rem;text-align:right;font-size:.82rem;line-height:1.25}
.x-chip[aria-current="true"]{background:var(--ink);color:var(--x-bg)}
.x-letters a,.x-letters span{width:2.3rem;height:2.3rem;display:grid;place-items:center;border:1.5px solid var(--ink-soft);border-radius:50%;font-weight:600;background:#fff;color:var(--ink);text-decoration:none}
.x-letters a[aria-current="true"]{background:var(--ink);color:var(--x-bg);border-color:var(--ink)}
.x-letters a:hover{background:var(--straw)}
.x-letters span[aria-disabled]{opacity:.35}
.x-list b small mark,.x-list b small strong{background:var(--straw);color:var(--ink);font-weight:700;padding:0 .1em;border-radius:3px}
.x-initial{display:inline-grid;place-items:center;width:1.9rem;height:1.9rem;border-radius:50%;font-weight:700;font-size:.9rem;color:var(--ink);flex:none;align-self:center}
.x-cmts .children{list-style:none;margin:1rem 0 0;padding:0 0 0 clamp(.8rem,3vw,2rem);border-left:3px solid var(--x-t1);display:grid;gap:1rem}
.x-pings{max-width:46rem;margin:0 0 2rem;padding-top:1rem;border-top:1px solid var(--ink-soft)}
.x-pings h3{font-size:1rem;margin:0 0 .5rem}
.x-pings ul{list-style:none;margin:0;padding:0}
.x-pings li{margin:0;padding:.2rem 0;overflow-wrap:anywhere}
.x-pings a{display:inline-block;min-height:24px;line-height:24px}
.x-comment-form{max-width:40rem}
.x-comment-form p{margin:0 0 1rem}
.x-comment-form .comment-form{display:grid;gap:1rem;background:var(--x-card);border:var(--x-border);border-radius:var(--x-radius);padding:1.5rem}
.x-comment-form label{display:grid;gap:.35rem;font-weight:600;font-size:.95rem}
.x-comment-form input,.x-comment-form textarea{font:inherit;color:var(--ink);background:var(--x-bg);border:1.5px solid var(--ink-soft);border-radius:10px;padding:.7rem .8rem;width:100%}
.x-comment-form input:focus,.x-comment-form textarea:focus{outline:3px solid var(--leaf);outline-offset:2px;border-color:var(--ink)}
.x-comment-form .comment-form>p{margin:0}
.x-comment-form .comment-reply-title{margin:0 0 .6rem}
.x-draft-tag{display:inline-block;font-size:.66rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;background:var(--x-t3);padding:.15rem .5rem;border-radius:var(--x-chip-radius);margin-left:.4rem;vertical-align:middle}
.x-search{margin-top:.4rem}
.x-comments .x-cmts{max-width:46rem}
.x-cmt-h b{font-weight:700}
.x-cmts li{list-style:none}

/* Reading mode on articles: from EXTRAS_SNIPPET in build.py. */
html.pe-reading .x-prose img{background:#fff;border-radius:10px;padding:6px}
html.pe-reading .x-play i{background:#0F1A14}
html.pe-reading .nav-menu a{border-color:var(--line)}
.pe-ctrl{position:fixed;left:max(14px,env(safe-area-inset-left,0px));bottom:calc(16px + env(safe-area-inset-bottom,0px));z-index:26}
.pe-ctrl button{border:2px solid var(--ink);background:var(--ground);color:var(--ink);border-radius:999px;padding:.5rem .9rem;font:600 .82rem/1 var(--body);cursor:pointer;min-height:44px}
.pe-form-near .pe-ctrl,.pe-form-near .x-totop{display:none}
.pe-ctrl button[aria-pressed="true"]{background:var(--ink);color:var(--ground)}
.navigation.pagination{margin-top:1.6rem}
.navigation.pagination .nav-links{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center}
.navigation.pagination .page-numbers{border:2px solid var(--ink);border-radius:999px;padding:.4rem 1rem;text-decoration:none;font-weight:600;min-height:44px;display:inline-flex;align-items:center}
.navigation.pagination .page-numbers.current{background:var(--ink);color:var(--ground)}
.navigation.pagination .page-numbers.dots{border-color:transparent}

/* Stage 3 pages: block output on Films, About, Books and Contact; policy pages; 404 */
.x-page{min-width:0}
.x-page h2{font-size:var(--x-h2);margin:2.2rem 0 .8rem}
.x-page h3{font-size:1.5rem;line-height:1.15;margin:1.8rem 0 .6rem}
.x-page p{margin:0 0 1em;line-height:1.6}
.x-page .pe-video{margin:1rem 0 1.6rem;max-width:44rem}
.x-btnrow{display:flex;gap:.6rem;flex-wrap:wrap}
.x-ways{display:grid;grid-template-columns:minmax(0,1fr);gap:1.6rem;max-width:46rem}
.x-ways .x-search{flex-wrap:wrap}
.x-ways .x-search{max-width:32rem}
.x-labelrow{display:flex;gap:.7rem;align-items:center;flex-wrap:wrap}
.x-checked{color:var(--ink-soft);font-size:.95rem}
.wp-block-button__link{display:inline-block;border-radius:999px;padding:.72em 1.4em;font-weight:600;text-decoration:none;border:2px solid var(--ink);font-size:.95rem;background:var(--ink);color:var(--ground);line-height:1.55}
.is-style-outline>.wp-block-button__link{background:transparent;color:var(--ink)}
.wp-block-buttons{display:flex;gap:.6rem;flex-wrap:wrap;margin:0}
.x-aboutpage>h2,.x-aboutpage>.wp-block-heading{margin-top:3rem}
.x-aboutpage .x-quote-lead{font-family:var(--display);font-size:clamp(1.35rem,2.4vw,1.9rem);line-height:1.25}
.x-contactpage .x-addr{margin:0 0 1rem}
.x-contactpage p{margin:0 0 .8rem}
.pe-hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.x-form .small{font-size:.88rem;color:var(--ink-soft)}
.pe-milestones{list-style:none;padding:0;margin:0 0 2rem;max-width:48rem}
.pe-milestones li{position:relative;display:grid;grid-template-columns:7.5rem 2rem 1fr;gap:0 1rem;align-items:start;padding-bottom:2rem;margin:0}
.pe-milestones li>strong{grid-column:1;grid-row:1;font-family:var(--display);font-weight:400;font-size:1.6rem;line-height:1.05;text-align:right;padding-top:.15rem}
.pe-milestones li::before{content:"";grid-column:2;grid-row:1;justify-self:center;width:1.5rem;height:1.5rem;border-radius:50%;background:var(--blossom);border:2.5px solid var(--ink);margin-top:.5rem;position:relative;z-index:1}
.pe-milestones li::after{content:"";position:absolute;left:calc(7.5rem + 1rem + 1rem - 5px);top:.5rem;bottom:0;border-left:10px solid #FBF8E8;box-shadow:0 0 0 1.5px var(--line)}
.pe-milestones li:last-child::after{display:none}
.pe-milestones li:nth-child(4n+2)::before{background:var(--sky)}.pe-milestones li:nth-child(4n+3)::before{background:var(--straw)}.pe-milestones li:nth-child(4n)::before{background:var(--sage)}
@media (max-width:640px){.pe-milestones li{grid-template-columns:4.6rem 1.6rem 1fr;gap:0 .6rem}.pe-milestones li>strong{font-size:1.15rem}.pe-milestones li::after{left:calc(4.6rem + .6rem + .8rem - 5px)}}
blockquote.x-q cite{font-style:normal;border:0;font-size:.9rem;color:var(--ink-soft);margin-top:auto}
blockquote.x-q{border-left:var(--x-border)}
.x-books .wp-block-image{margin:0}
.x-books .wp-block-image img{border-radius:4px 10px 10px 4px;border:2px solid var(--ink);display:block}
.pe-book .wp-block-image{margin:0}
.pe-book .wp-block-image img{border-radius:4px 10px 10px 4px;border:2px solid var(--ink);max-width:190px;height:auto}
.x-bookpage .wp-block-group.x-card{max-width:none}

/* Contrast: on tinted bands, boxes and cards the small grey text takes full ink (spec 2.1 rule 1) */
.x-band :is(.label,.x-intro,.x-note,.x-checked,.sum,.small,cite),.x-box :is(.label,.small),.x-card.x-tint :is(.label,.sum){color:var(--ink)}

/* Wide block pages (Films, Books, About): blocks sit in a 1180px column, bands run edge to edge */
.x-wide>*{margin-inline:max(0px,calc((100% - 1180px)/2));padding-inline:20px;box-sizing:border-box;max-width:none}
.x-wide>:is(p,ul,ol,h2,h3){max-width:calc(48rem + 40px);margin-inline:max(0px,calc((100% - 1180px)/2))}
.x-wide>.x-band,.x-wide>.alignfull{margin-inline:0;padding-inline:0;max-width:none}
.x-wide .x-band>.wrap{padding-block:clamp(2rem,5vw,4rem)}
.x-wide .x-band :is(p,h2,h3,ul,ol){margin-block:0}
.x-wide .x-band h2{margin:.5rem 0 1.4rem}
.x-wide .x-two h2{margin:0}
.x-wide .x-two .txt>*{margin:0}
.x-wide .x-band .x-intro{margin-bottom:1.2rem}
.x-wide .x-band .label{margin-bottom:.3rem}
.x-wide .wp-block-buttons{margin-top:.4rem}
.x-wide .x-sub{margin-block:2.4rem 1rem;font-size:1.5rem}
.x-wide .x-card :is(p,h3){margin:0}
.x-wide .x-card .pe-video{margin:0;max-width:none}
.x-wide .x-card .pe-video__frame{border-radius:12px}
.x-wide .x-grid3{margin-bottom:.4rem}
.x-wide .x-card .x-more a{text-decoration:none;font-weight:700}
.x-wide .x-card .x-more a:hover{text-decoration:underline}
.x-wide .x-card .x-more{margin-top:auto}
.x-wide .x-card.x-film{gap:.7rem}
.x-bigcover-img,.wp-block-image.x-bigcover-img{width:clamp(200px,24vw,300px);max-width:100%;margin:0;justify-self:center;transform:rotate(-3deg)}
.x-bigcover-img img{display:block;width:100%;height:auto;border-radius:6px 14px 14px 6px;border:2px solid var(--ink);box-shadow:10px 10px 0 var(--x-t1)}
.x-bigcover>p{margin:0}
.x-bigcover>p:first-child{font-family:var(--display);font-size:clamp(1.3rem,2.4vw,1.9rem);line-height:1.1;color:var(--ink)}
.x-bigcover>p:nth-child(2){font-size:.82rem}
.x-bigcover>p:last-child{font-weight:700}
.x-quote-lead{font-family:var(--display);font-size:clamp(1.35rem,2.4vw,1.9rem);line-height:1.25;max-width:46rem}
.x-links{list-style:none;padding:0;margin:1.2rem 0 0;display:grid;grid-template-columns:1fr 1fr;column-gap:2.5rem;border-top:var(--x-rule)}
.x-links li{border-bottom:var(--x-rule);margin:0}
.x-links a{display:flex;justify-content:space-between;gap:1rem;align-items:center;min-height:44px;padding:.6rem .3rem;font-weight:600;text-decoration:none}
.x-links a::after{content:"→";flex:none}
.x-links a:hover{background:var(--x-hl)}
.x-band .x-links{border-color:var(--ink)}
.x-band .x-links li{border-color:rgba(29,58,42,.3)}
.x-contactstrip .wrap{display:flex;gap:1.5rem;flex-wrap:wrap;align-items:center;justify-content:space-between;padding-block:clamp(2.5rem,6vw,4.5rem)}
.x-contactstrip .label{margin:0 0 .5rem}
.x-contactstrip h2{margin:0}
.x-field-err{color:var(--ink);font-weight:600;font-size:.92rem;margin:0}
.x-field-err::before{content:"! "}
.x-form .x-errlist{background:var(--x-t3);border-radius:10px;padding:.8rem .9rem;margin:0}
.x-form .x-errlist ul{margin:.4rem 0 0;padding-left:1.2rem}
.x-form input[aria-invalid="true"],.x-form textarea[aria-invalid="true"]{border-color:var(--ink);border-width:3px}
@media (max-width:900px){.x-links{grid-template-columns:1fr}}
.x-wide>.x-sec-block{padding-block:clamp(2rem,5vw,3.5rem)}
.x-wide>.x-sec-block>:is(p,h2){max-width:48rem}
.x-wide>.x-sec-block .label{margin-bottom:.4rem}
.x-wide .x-books .x-book{margin:0}
.x-crumb a,.x-wide .x-card .x-more a{display:inline-block;min-height:24px;line-height:24px}
.x-errlist:focus{outline:3px solid var(--ink);outline-offset:2px}

/* Books page: cover-and-title cards, four across */
.x-grid3.pe-bookgrid{grid-template-columns:repeat(4,1fr)}
.pe-bookgrid .pe-book{padding:1rem;gap:.6rem}
.pe-book .wp-block-image img{width:100%;max-width:190px}
.pe-bookgrid .pe-book h3{font-size:1.05rem;overflow-wrap:break-word}
.x-books .x-book .wp-block-image img{width:100%;height:auto}
.x-books .x-book p{overflow-wrap:break-word}
@media (max-width:900px){.x-grid3.pe-bookgrid{grid-template-columns:repeat(3,1fr)}}
@media (max-width:640px){.x-grid3.pe-bookgrid{grid-template-columns:repeat(2,1fr)}.pe-bookgrid .pe-book{padding:.75rem}}
.pe-bookgrid .pe-book .wp-block-buttons{margin-top:auto}
@media (max-width:640px){.pe-bookgrid .pe-book h3{font-size:.95rem}.pe-bookgrid .wp-block-button__link{padding:.5rem .8rem;font-size:.85rem}}
