/* The "ziar" design (site/themes/ziar). Began 2026-10-03 after the mockup design/ft-front of branch articole-ziar; since 2026-10-07 it has
   its own, neutral look (Nico: the first one was "too obvious that it looks too close to FT"; the Times is the reference, Wired was tried and
   found too loud): white paper, black ink, small grey caps for labels (kickers, day labels, rail headings), rules instead of blocks and panels,
   the current section underlined, one muted blue for links in stories, and the wordmark lowercase "cirip.md" in Bricolage Grotesque with the
   motto under it. The grid, Newsreader for headlines and IBM Plex for text stay. Re-theme by editing the :root variables.
   Fonts self-hosted in ./fonts (served at /ziar/fonts/): IBM Plex Sans + Mono, Newsreader (variable, OFL — fonts/OFL.txt);
   Bricolage Grotesque comes from the classic design's site/fonts (served at /fonts/). */
@font-face{font-family:'Bricolage Grotesque';font-weight:600 800;font-display:swap;src:url(/fonts/bricolage-grotesque-latin-ext-0.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Bricolage Grotesque';font-weight:600 800;font-display:swap;src:url(/fonts/bricolage-grotesque-latin-1.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'IBM Plex Sans';font-weight:400;font-display:swap;src:url(fonts/ibm-plex-sans-latin-ext-16.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'IBM Plex Sans';font-weight:400;font-display:swap;src:url(fonts/ibm-plex-sans-latin-17.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'IBM Plex Sans';font-weight:600;font-display:swap;src:url(fonts/ibm-plex-sans-latin-ext-16.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'IBM Plex Sans';font-weight:600;font-display:swap;src:url(fonts/ibm-plex-sans-latin-17.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'IBM Plex Mono';font-weight:400;font-display:swap;src:url(fonts/ibm-plex-mono-latin-ext-4.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'IBM Plex Mono';font-weight:400;font-display:swap;src:url(fonts/ibm-plex-mono-latin-5.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'IBM Plex Mono';font-weight:500;font-display:swap;src:url(fonts/ibm-plex-mono-latin-ext-8.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'IBM Plex Mono';font-weight:500;font-display:swap;src:url(fonts/ibm-plex-mono-latin-9.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'IBM Plex Sans';font-weight:500;font-display:swap;src:url(fonts/plex-sans-500-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'IBM Plex Sans';font-weight:500;font-display:swap;src:url(fonts/plex-sans-500-latin.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
/* Newsreader (OFL, google/fonts), variable: opsz 6-72, wght 200-800. Display cut = opsz 72: narrow, high contrast.
   Since 2026-10-10 the woff2 cuts Google Fonts serves (latin 132 KB, latin-ext 87 KB; unicode-range as in its css2), not the
   451 KB TTF: on mobile the TTF was the longest request of the page (Lighthouse, 1.1 s). */
@font-face{font-family:'Newsreader';font-style:normal;font-weight:200 800;font-display:swap;src:url(fonts/newsreader-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Newsreader';font-style:normal;font-weight:200 800;font-display:swap;src:url(fonts/newsreader-latin.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

:root{
  --serif:"Newsreader","Georgia","Times New Roman",serif;
  --sans:"IBM Plex Sans",system-ui,-apple-system,"Segoe UI",sans-serif;
  --mono:"IBM Plex Mono",ui-monospace,Menlo,monospace;
  --display:"Bricolage Grotesque","IBM Plex Sans",system-ui,sans-serif;
  /* white and black, neutral like the Times (Nico, 2026-10-07): small grey caps for labels, rules instead of blocks, one cobalt for the bird, the dot, the current tab and links (proposal 2 of the blue-bird memo, Nico, 2026-10-10) */
  --paper:#FFFFFF; --panel:#F4F4F2; --ink:#121212; --text:#222222; --dek:#444444; --grey:#666666; --label:#727272;
  --accent:#121212; --brand:#1A56B0; --nav:#FFFFFF; --nav-ink:#121212; --link:#1A56B0;
  --rule:#E3E3E3; --rule-strong:#111111; --btn:#111111; --btn-ink:#FFFFFF;
}
:root[data-theme="dark"]{
  --paper:#121212; --panel:#1E1E1E; --ink:#F2F2F2; --text:#DADADA; --dek:#BBBBBB; --grey:#9A9A9A;
  --grey:#9A9A9A; --label:#A3A3A3;
  --accent:#F2F2F2; --brand:#6FA6E8; --nav:#121212; --nav-ink:#F2F2F2; --link:#8AB4D6;
  --rule:#333333; --rule-strong:#F2F2F2; --btn:#F2F2F2; --btn-ink:#121212;
}
*{box-sizing:border-box}
html,body{margin:0}
body{background:var(--paper);color:var(--text);font-family:var(--sans);font-size:15px;line-height:1.4;-webkit-font-smoothing:antialiased;overflow-x:hidden}
a{color:inherit;text-decoration:none}
a:hover{text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px}
.wrap{max-width:1240px;margin:0 auto;padding:0 24px}

/* masthead (same paper as the page) */
.mast{background:var(--paper)}
.mast .wrap{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:92px;padding-top:14px;padding-bottom:12px}
.mast .brand{display:flex;flex-direction:column;gap:4px}
.mast .right{display:flex;align-items:center;gap:18px;justify-content:flex-end}
.mast .motto{margin:0;font-family:var(--serif);font-style:italic;font-size:15px;line-height:1.2;color:var(--grey);font-variation-settings:"opsz" 24;padding-left:50px}
.mast .cat{margin:0;padding-left:50px;font-family:var(--sans);font-size:11px;line-height:1.2;letter-spacing:.08em;text-transform:uppercase;color:var(--ink)}
.icon-btn{background:none;border:0;padding:0;color:var(--ink);cursor:pointer;display:inline-flex;align-items:center;gap:6px;font:inherit;font-size:14px;min-height:40px}
.icon-btn:hover{text-decoration:none}
.icon-btn.lang{font-weight:600;letter-spacing:.04em}
.theme .moon{display:none}
:root[data-theme="dark"] .theme .sun{display:none}
:root[data-theme="dark"] .theme .moon{display:inline}
.wordmark{display:flex;align-items:center;gap:10px;color:var(--ink);font-family:var(--display);font-size:40px;font-weight:800;letter-spacing:-.03em;line-height:1}
.wordmark:hover{text-decoration:none}
.wordmark svg{width:40px;height:40px;color:var(--brand)}
.wordmark .dot{color:var(--brand)}
.btn{display:inline-block;background:var(--btn);color:var(--btn-ink);font:inherit;font-weight:600;font-size:14px;padding:9px 16px;border:0;cursor:pointer}
.btn:hover{text-decoration:none;opacity:.88}
.btn.ghost{background:none;color:var(--ink);border:1px solid var(--ink)}

/* nav strip */
/* the sections: white, a hairline above and below (Nico, 2026-10-07: white page and toolbar, no double rule), the current one underlined */
nav.sections{background:var(--nav);border-top:1px solid var(--rule);border-bottom:1px solid var(--rule)}
nav.sections ul{list-style:none;margin:0 auto;padding:0 24px;max-width:1240px;display:flex;align-items:center;gap:4px;overflow-x:auto;white-space:nowrap;scrollbar-width:none}
nav.sections ul::-webkit-scrollbar{display:none}
nav.sections a{display:block;font-family:var(--sans);font-size:14.5px;font-weight:500;color:var(--nav-ink);padding:9px 9px 7px;border-bottom:2px solid transparent}
nav.sections a:hover{text-decoration:none;border-bottom-color:var(--rule)}
nav.sections a[aria-current]{font-weight:600;border-bottom-color:var(--brand)}
nav.sections li.date{display:none} /* the issue label is the dateline right below (2026-10-07: in the strip it got clipped and said the same thing twice) */
.notice{padding-top:14px}

/* shared type */
.kicker{display:block;color:var(--label);font-family:var(--sans);font-size:11.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;line-height:1.25;margin:0 0 6px}
.h-serif,h1,h2,h3,h4{font-family:var(--serif);font-optical-sizing:auto;color:var(--ink)}
.h-serif{font-weight:600;margin:0}
.dek{color:var(--dek);margin:6px 0 0}
/* the home page's countdown to the next issue, in the notice's dateline (nextIssueTime of site/views.ts, ticking); the week's count so far is its tooltip */
.notice .next-issue{cursor:help;white-space:nowrap} .notice .next-issue time{font-variant-numeric:tabular-nums;color:var(--ink)}
.stamp{color:var(--label);font-family:var(--sans);font-size:11.5px;text-transform:uppercase;letter-spacing:.06em;font-weight:600;margin-top:12px}
.notice{font-size:12.5px;color:var(--grey);padding:12px 0 0;margin:0 0 10px;line-height:1.5}
.notice a,.foot a,.cal a{text-decoration:underline;text-underline-offset:2px;text-decoration-thickness:1px}
/* the „nr. N · date” label links the archive: a dotted underline says it is clickable without reading as a plain link */
.notice .issue-no,.kicker .issue-no{color:inherit;text-decoration:underline dotted;text-underline-offset:3px;text-decoration-thickness:1px} .notice .issue-no:hover,.kicker .issue-no:hover{text-decoration-style:solid}

/* pictures: saved from the posts cited (site/digest.ts illustrate), with the page that posted them */
.story-photo{margin:0 0 12px}
.story-photo>a{display:block}
.story-photo img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;object-position:50% 20%;background:var(--panel)}
.story-photo figcaption{font-size:12px;color:var(--grey);margin-top:4px}
.hero .tile>.story-photo img{aspect-ratio:16/9}

/* front grid */
.front{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1.5fr) minmax(0,.8fr);padding:14px 0 28px;border-bottom:1px solid var(--rule-strong)}
.front>*{padding:0 20px;border-left:1px solid var(--rule)}
.front>:first-child{padding-left:0;border-left:0}
.front>:last-child{padding-right:0}
.lead{display:flex;flex-direction:column}
.lead h1{font-size:32px;line-height:1.08;letter-spacing:-.5px;font-weight:540;font-variation-settings:"opsz" 72;margin:0}
.lead .tile>.dek{font-size:16px;line-height:1.4;margin-top:12px}
.stack{padding-top:32px}
.stack article{border-top:1px solid var(--rule);padding:14px 0 0;margin-top:14px}
.stack h2{font-size:16px;line-height:1.2;font-weight:600;margin:0}
.stack .dek{font-size:13.5px;line-height:1.35;margin-top:4px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.bigread{padding:4px 0 10px}
.bigread h2{font-size:24px;line-height:1.1;font-weight:500;letter-spacing:-.3px;font-variation-settings:"opsz" 72;margin:0}
.bigread .dek{font-size:15.5px;margin:10px 0 0}
.duo{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:36px;margin-top:22px;border-top:1px solid var(--rule)}
.duo article{padding-top:14px;position:relative}
.duo article:nth-child(n+3){border-top:1px solid var(--rule);margin-top:18px}
.duo h3{font-size:19px;line-height:1.15}
.duo .dek{font-size:14px}

/* right rail */
.picks h3.sec{font-family:var(--sans);color:var(--label);font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;margin:0 0 4px;padding-bottom:8px;border-bottom:1px solid var(--rule)}
.srcs{font-family:var(--sans);font-size:12px;color:var(--label);margin:6px 0 0;line-height:1.4} .srcs a{color:inherit;text-decoration:underline dotted;text-underline-offset:3px;text-decoration-thickness:1px} .srcs a:hover{text-decoration-style:solid}
.mostread{list-style:none;margin:0;padding:0;counter-reset:mr}
.mostread li{counter-increment:mr;display:grid;grid-template-columns:32px 1fr;gap:6px;padding:12px 0;border-bottom:1px solid var(--rule)}
.mostread li::before{content:counter(mr);font-family:var(--serif);font-size:24px;line-height:.9;color:var(--grey);font-weight:500}
.mostread .t{font-family:var(--serif);font-size:15.5px;line-height:1.2;display:block;color:var(--ink);font-weight:600}
.rail-more{margin:12px 0 0;font-size:14px;font-weight:600;color:var(--ink)}
.today{margin-bottom:22px;padding:10px 0 14px;border-top:1px solid var(--rule-strong);border-bottom:1px solid var(--rule)}
.today h3.sec{color:var(--ink);font-family:var(--serif);font-size:19px;font-weight:600;letter-spacing:0;text-transform:none;border-bottom:0;padding:0;margin:0 0 6px}
.today h3.sec{display:flex;align-items:baseline;justify-content:space-between;gap:8px}.today h3.sec a{color:inherit;text-decoration:none}.today h3.sec .sec-all{font-family:var(--sans);font-size:13px;font-weight:600;color:var(--brand,var(--ink))}.today h3.sec a:hover{text-decoration:underline}
.today .day{padding:8px 0 2px;border-top:1px solid var(--rule)}
.today .day>b{font-family:var(--sans);font-size:11.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--ink)}
.today .when{font-size:12.5px;color:var(--grey);text-transform:lowercase}
.today ul{margin:4px 0 0;padding-left:16px;font-size:13.5px;line-height:1.35}
.today li{margin:3px 0}
.today .none{margin:4px 0 0;font-size:13.5px;color:var(--grey);font-style:italic}
.today .ongoing{margin:8px 0 0;font-size:13px;line-height:1.35}
.today .ongoing>b{font-family:var(--sans);font-size:11.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--grey)}
.today .ongoing ul{font-size:13px;margin-top:2px}.today .ongoing li{margin:2px 0}
.today .ongoing>.ev-more{display:inline-block;margin:2px 0 0 16px}
.today .rail-more{margin-top:8px}
.events .events-day{margin-top:22px}
.events .events-day h2{font-size:22px;margin:0 0 6px;font-weight:540}
.events ul{margin:0;padding-left:18px;font-size:15.5px;line-height:1.45}
.events li{margin:6px 0}
.events li.has-thumb{list-style:none;display:flex;gap:12px;align-items:flex-start;margin:12px 0 12px -18px}
.ev-thumb{flex:none;display:block;width:72px;height:72px;background:var(--rule)}
.ev-thumb img{display:block;width:100%;height:100%;object-fit:cover}
.ev-txt{min-width:0}
.ev-when{display:block;font-size:11.5px;letter-spacing:.06em;text-transform:uppercase;color:var(--grey);margin-bottom:2px}
@media(max-width:600px){.events li.has-thumb{gap:10px}.ev-thumb{width:60px;height:60px}}
/* month calendar of the events pages */
.mcal{margin:18px 0 6px;width:100%;max-width:420px}
.cal-bar{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:6px}
.cal-title{margin:0;font-size:20px;font-weight:540;text-transform:capitalize;flex:1;text-align:center}
.cal-nav{background:none;border:1px solid var(--rule);color:var(--ink);font:inherit;font-size:20px;line-height:1;width:40px;height:36px;cursor:pointer}
.cal-nav[hidden],.cal-month[hidden]{display:none}
.cal-nav:disabled{opacity:.3;cursor:default}
.cal-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px}
.cal-h{font-size:11px;font-weight:700;letter-spacing:.06em;color:var(--label);text-align:center;padding:2px 0}
.cal-d{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;aspect-ratio:1;min-height:40px;color:var(--grey);font-size:13px;line-height:1.1;border:1px solid transparent}
.cal-d i{font-style:normal}
.cal-d b{font-family:var(--sans);font-size:13px;font-weight:700;color:var(--ink)}
a.cal-d{text-decoration:none}
.cal-d.has{background:color-mix(in srgb,var(--brand) calc(var(--k)*100%),transparent);color:var(--ink)}
a.cal-d:hover{text-decoration:none;outline:1px solid var(--ink)}
.cal-d.now{border-color:var(--ink);box-shadow:inset 0 0 0 1px var(--ink);font-weight:700;color:var(--ink)}

/* section rows */
.topdiv{margin:34px 0 0;text-align:center}
.topdiv::before{content:"";display:block;height:4px;background-image:radial-gradient(circle,var(--ink) 1px,transparent 1.3px);background-size:5px 4px;opacity:.4}
.topdiv h2{font-family:var(--sans);font-size:13px;letter-spacing:.08em;text-transform:uppercase;font-weight:700;color:var(--label);margin:14px 0 0}
.row-section{padding:26px 0 8px}
.topdiv+.row-section{padding-top:14px}
.section-head{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:4px 12px;border-top:1px solid var(--rule-strong);padding-top:10px}
.section-head h2{font-size:24px;margin:0;font-weight:600;font-variation-settings:"opsz" 72}
.section-head a.more{font-size:14px;font-weight:600;color:var(--ink);white-space:nowrap}
.section-head h2 a:hover{text-decoration:none}
.row3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:40px}
.row3>article{padding:0 0 14px;position:relative}
.row3 h3{font-size:20px;line-height:1.12;margin:0;font-weight:600;letter-spacing:-.2px}
.row3 .dek{font-size:14px}

.strip{margin-top:26px;border-top:1px solid var(--rule-strong);padding-top:10px}
.strip>h2{font-size:21px;margin:0 0 10px;font-weight:600}
.cal{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));column-gap:40px;row-gap:14px}
.cal>div{padding:0 0 8px;font-size:14px;position:relative;overflow-wrap:anywhere}
.duo>article+article::before,.row3>article+article::before{content:"";position:absolute;top:0;bottom:0;left:-20px;border-left:1px solid var(--rule)}
.duo>article+article::before{left:-18px}
.cal b{display:block;font-family:var(--serif);font-size:17px;margin-bottom:4px;color:var(--ink)}
.archive{display:flex;gap:28px;flex-wrap:wrap;font-size:15px}
.archive a{font-family:var(--serif);font-size:17px;font-weight:600;color:var(--ink)}
.archive .meta{display:block;font-family:var(--sans);font-size:12.5px;color:var(--grey)}

/* one file in full */
.paper{max-width:720px;margin:0 auto;padding:22px 0 0}
.paper-head{border-bottom:1px solid var(--rule-strong);padding-bottom:18px}
.paper-head h1{font-size:38px;line-height:1.06;font-weight:540;font-variation-settings:"opsz" 72;letter-spacing:-.4px;margin:0}
.paper-head>.dek{font-size:16px}
.story{padding:22px 0 8px;border-bottom:1px solid var(--rule);scroll-margin-top:12px}
/* front-page tiles reached by a shared link (#<tab>-<id>): clear the sticky bar, then point at the one the link meant — a claret
   frame that stays, and a small tag over its corner (Nico, 2026-10-04: with three tiles in a row, a scroll position alone is not clear) */
.front [id],.row3 [id]{scroll-margin-top:72px}
.front :target,.row3 :target{position:relative;outline:2px solid var(--accent);outline-offset:8px;background:var(--panel);box-shadow:0 0 0 8px var(--panel);animation:tile-target .9s ease-out}
.front :target::after,.row3 :target::after{content:'Articolul din link';position:absolute;top:-22px;left:-10px;padding:2px 8px;background:var(--accent);color:var(--paper);font-family:var(--sans);font-size:11px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;line-height:1.3;white-space:nowrap;z-index:1}
[lang="en"] .front :target::after,[lang="en"] .row3 :target::after{content:'The shared story'}
.mostread li:target::after{top:auto;bottom:-11px;left:auto;right:-10px} /* the rail's heading sits right above its first item */
@keyframes tile-target{0%{outline-color:transparent;box-shadow:0 0 0 8px transparent;background:transparent}}
.story>h2{font-size:26px;line-height:1.12;font-weight:600;letter-spacing:-.2px;margin:0 0 12px;font-variation-settings:"opsz" 72}
.story h3{font-size:19px;margin:18px 0 6px}
.story p{font-family:var(--serif);font-size:17.5px;line-height:1.55;color:var(--text);margin:0 0 14px}
.story ul,.story ol{padding-left:20px;margin:0 0 14px}
.story li{font-size:13.5px;line-height:1.5;padding:3px 0;overflow-wrap:anywhere}
/* the Legi tab's acts list: the trailing "Textul oficial" links and the sources line are `*…*` in the Markdown, small and grey here (site/digest.ts compactActs) */
#toate-actele-publicate>h2+p{font-size:16px;line-height:1.5;margin:0 0 8px} /* „Toate cele N acte ale săptămânii, pe domenii.”, like a story's dek */
#toate-actele-publicate li em{font-style:normal;font-size:12px;color:var(--grey)}
#toate-actele-publicate li em a{color:inherit}
/* the Legi stories' "Pe scurt" box: a ### Pe scurt heading and its four bullets (docs/legi.md) */
.story h3[id$="-pe-scurt"]{margin:18px 0 0;padding:12px 18px 4px;border-left:4px solid var(--accent);background:var(--panel);font-size:17px}
.story h3[id$="-pe-scurt"]+ul{margin:0 0 14px;padding:0 18px 12px 38px;border-left:4px solid var(--accent);background:var(--panel)}
.story h3[id$="-pe-scurt"]+ul li{font-size:16px;line-height:1.55}
.story a{color:var(--link);text-decoration:underline;text-underline-offset:2px;text-decoration-thickness:1px}
.story .story-photo img{aspect-ratio:2/1;max-height:340px}
.story.lead-story>.story-photo img{aspect-ratio:16/10;max-height:none;object-position:50% 50%} /* a story's own page: full width, taller, cropped from the centre */
.story .story-photo figcaption a{color:var(--grey)}
/* the Legi tab's generated images (docs/legi.md, In the Revista): 1200×630, shown whole at full column width, never cropped */
.story-photo.legi-card img{aspect-ratio:auto;max-height:none;object-fit:contain;border-radius:8px} /* also the front page's Legi row */
.paper-head.legi-head{border-bottom:0} /* the Legi tab opens with the week image and lead, straight under the notice */
.story li:has(> .item-thumb)::after{content:'';display:block;clear:both}
.item-thumb{float:right;margin:2px 0 6px 14px}
.item-thumb img{display:block;width:88px;height:88px;object-fit:cover;object-position:50% 20%;background:var(--panel)}
.byline{font-size:13px;color:var(--grey);margin:6px 0 0} .byline a{color:inherit;text-decoration:underline;text-underline-offset:2px}
.story li a.src{color:inherit;text-decoration:none;border-bottom:1px dotted var(--grey)} .story li a.src:hover{color:var(--link)}
/* a story page's feed: the tab's other stories as teasers (title, picture, first sentences, a "Citește" link), since 2026-10-10 */
.story.teaser h2{font-size:22px;margin:0 0 10px} .story.teaser h2 a{color:var(--ink);text-decoration:none} .story.teaser h2 a:hover{text-decoration:underline}
.story.teaser .dek{font-size:16px;line-height:1.5;margin:0 0 8px} .story.teaser .more{font-family:var(--sans);font-size:14px;font-weight:600;margin:0 0 10px}
.paper-nav{display:flex;justify-content:space-between;gap:16px;padding:18px 0;font-weight:600;color:var(--ink)}

/* "Vezi": Facebook's embed of a source, under its line, one per click (ISSUE_SCRIPT) */
.story li .peek{margin-right:6px;padding:1px 8px;border:1px solid var(--rule);border-radius:10px;background:var(--paper);font:inherit;font-size:12px;font-weight:600;color:var(--link);cursor:pointer;vertical-align:1px}
.story li .peek:hover,.story li .peek.open{border-color:var(--link)}
.story li .peek.tip{position:relative;border-color:var(--accent);color:var(--accent)}
.peek-tip{position:absolute;left:0;bottom:calc(100% + 10px);width:max-content;max-width:min(260px,80vw);padding:8px 12px;background:var(--ink);color:var(--paper);font-size:13px;font-weight:500;line-height:1.35;text-align:left;white-space:normal;z-index:2}
.peek.tip-left .peek-tip{left:auto;right:0}
.embed{max-width:552px;min-height:120px;overflow:hidden;background:var(--panel)}
.embed.peeked{margin:10px 0 6px}
.embed.done{min-height:0;background:none}
.embed .fb-post,.embed .fb-post>span,.embed .fb-post iframe{display:block;max-width:100%!important}
.embed-fallback{margin:8px;font-size:13px;color:var(--grey)}
.embed.tall{position:relative;max-height:600px}
.embed .unfold{position:absolute;left:0;right:0;bottom:0;display:flex;justify-content:center;padding:56px 0 12px;background:linear-gradient(transparent,var(--paper) 70%)}

/* the once-per-browser notice that posts load from Facebook (EMBED_SCRIPT) */
.consent{position:fixed;left:24px;bottom:24px;z-index:4;width:min(520px,calc(100vw - 48px));display:flex;flex-direction:column;gap:12px;padding:18px 20px;border:2px solid var(--ink);background:var(--paper);color:var(--ink);box-shadow:0 12px 40px rgba(15,26,28,.18)}
.consent p{margin:0;font-size:14px;line-height:1.5}
.consent a{text-decoration:underline}

footer.foot{margin-top:30px;border-top:1px solid var(--rule-strong);padding:16px 0 40px;font-size:13.5px;color:var(--grey)}
footer.foot p{margin:0}
footer.foot .links{margin:10px 0;display:flex;gap:8px 16px;flex-wrap:wrap;color:var(--ink);font-weight:600}
footer.foot .links a{text-decoration:none}
footer.foot .small{font-size:12px}

@media (max-width:1000px){
  .front{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  .front>.picks{grid-column:1/-1;border-left:0;padding:22px 0 0;margin-top:18px;border-top:1px solid var(--rule)}
  .front>:nth-child(2){padding-right:0}
  .cal{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:720px){
  .wrap{padding:0 16px} nav.sections ul{padding:0 16px}
  .mast .wrap{min-height:64px;padding:8px 16px;gap:12px}
  .mast .motto{display:none}
  .mast .cat{padding-left:40px;font-size:9px;letter-spacing:.02em;text-wrap:balance}
  .wordmark{font-size:32px;gap:8px} .wordmark svg{width:32px;height:32px}
  .mast .right .srch-lbl,.mast .right .btn,.mast .right .fb{display:none}
  .front{grid-template-columns:1fr}
  .front>*{padding:0;border-left:0}
  .front>:nth-child(2){margin-top:20px;border-top:1px solid var(--rule);padding-top:18px}
  .lead h1{font-size:30px}
  .stack{padding-top:8px}
  .bigread h2{font-size:26px}
  .row3 h3{font-size:22px}
  .row3,.cal,.duo{grid-template-columns:1fr}
  .duo article{padding:12px 0}
  .duo>article+article::before,.row3>article+article::before{display:none}
  .row3>article,.cal>div{padding:12px 0;border-top:1px solid var(--rule)}
  .row3>article:first-child,.cal>div:first-child{border-top:0}
  .row3>article+article .story-photo{display:none} /* on a phone one picture per section: the page stays short */
  .section-head h2{font-size:24px}
  .paper-head h1{font-size:32px}
  .story>h2{font-size:25px}
  .story p{font-size:18px}
  .item-thumb img{width:72px;height:72px}
  .consent{left:16px;bottom:16px;width:calc(100vw - 32px);padding:16px}
}
@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto}}

/* "Cirip pe Facebook" (2026-10-11): a plain ask to like the page, in the rail after „Azi și mâine” and at the end of tab and story pages */
.fb-card{margin:0 0 22px;padding:14px 0 16px;border-top:1px solid var(--rule-strong);border-bottom:1px solid var(--rule)}
.fb-card h3.sec{display:flex;align-items:center;gap:6px;color:var(--ink);font-family:var(--serif);font-size:19px;font-weight:600;letter-spacing:0;text-transform:none;border-bottom:0;padding:0;margin:0 0 6px}
.fb-card p{margin:0 0 12px;font-size:13.5px;line-height:1.4;color:var(--dek)}
.paper .fb-card{max-width:420px;margin:8px 0 22px}
.follow-cards{display:grid;grid-template-columns:1fr 1fr;gap:0 32px;margin:8px 0 22px;border-top:1px solid var(--rule-strong);border-bottom:1px solid var(--rule)}
.follow-cards .fb-card,.paper .follow-cards .fb-card{display:flex;flex-direction:column;align-items:flex-start;max-width:none;margin:0;border:0}
.follow-cards .fb-card p{flex:1}
@media (max-width:720px){.follow-cards{grid-template-columns:1fr}.follow-cards .fb-card+.fb-card{border-top:1px solid var(--rule)}}

/* readers' suggestions (2026-10-11, Nico: the corner button only — the card never opens by itself in this design; site/views.ts feedbackPopup) */
.hp{position:absolute;left:-9999px}
.feedback-fab{position:fixed;right:24px;bottom:24px;z-index:3;display:inline-flex;align-items:center;gap:8px;height:42px;padding:0 16px;background:var(--btn);color:var(--btn-ink);font-weight:600;font-size:14px;text-decoration:none;box-shadow:0 6px 20px rgba(0,0,0,.2)}
.feedback-fab:hover{text-decoration:none;opacity:.88}
/* Desktop: a vertical tab on the right edge, 24px wide = the page's side padding, so it never covers text (Nico, 2026-11-07) */
@media(min-width:601px){.feedback-fab{right:0;bottom:24px;width:24px;height:auto;padding:12px 0;justify-content:center;writing-mode:vertical-rl;font-size:12px;box-shadow:-2px 2px 10px rgba(0,0,0,.18)}.feedback-fab .hint{writing-mode:horizontal-tb}}
.feedback-fab[hidden]{display:none}
.feedback-fab .hint{position:absolute;right:0;bottom:calc(100% + 10px);padding:8px 12px;border:1px solid var(--ink);background:var(--paper);color:var(--ink);font-size:13px;font-weight:500;white-space:nowrap}
.feedback-fab .hint[hidden]{display:none}
.feedback-fab.pulse{animation:fab-pulse 1s ease-out 3}
@keyframes fab-pulse{0%{box-shadow:0 0 0 0 rgba(17,17,17,.45)}100%{box-shadow:0 0 0 16px rgba(17,17,17,0)}}
.feedback-popup{position:fixed;inset:auto 24px 24px auto;margin:0;width:min(400px,calc(100vw - 32px));max-height:calc(100vh - 48px);overflow:auto;padding:22px;border:2px solid var(--ink);background:var(--paper);color:var(--ink);box-shadow:0 12px 40px rgba(0,0,0,.2);z-index:3}
.feedback-popup:focus{outline:none}
.feedback-popup h2{margin:0;padding-right:28px;font-size:22px}
.feedback-popup .close{position:absolute;top:10px;right:10px;width:36px;height:36px;border:0;background:transparent;font-size:24px;line-height:1;color:var(--grey);cursor:pointer}
.feedback-popup .close:hover{color:var(--ink)}
.feedback-popup .thanks{display:flex;flex-direction:column;gap:10px;align-items:flex-start}
.feedback-popup .thanks[hidden],.feedback-popup form[hidden]{display:none}
.feedback{display:flex;flex-direction:column;gap:10px}
.feedback p{margin:0;font-size:14px;line-height:1.5;color:var(--dek)}
.feedback label{font-size:13px;font-weight:600;color:var(--ink)}
.feedback label .opt{font-weight:400;color:var(--grey)}
.feedback textarea,.feedback input[type=email]{padding:10px 12px;border:1px solid var(--ink);background:var(--paper);font:inherit;font-size:16px;color:var(--ink)}
.feedback textarea{resize:vertical;min-height:96px}
.feedback textarea:focus,.feedback input[type=email]:focus{outline:2px solid var(--ink);outline-offset:1px}
.feedback .error{color:#B3261E}
.feedback .actions{display:flex;gap:10px;flex-wrap:wrap}
@media (max-width:720px){
  .feedback-fab{right:16px;bottom:16px;height:40px;padding:0 14px}
  .feedback-popup{inset:auto 16px 16px 16px;width:auto;max-height:calc(100dvh - 88px);padding:18px}
}
@media (prefers-reduced-motion:reduce){.feedback-fab.pulse{animation:none}}

.event .story-photo img{width:auto;max-width:100%;max-height:300px;aspect-ratio:auto;object-fit:contain} /* a poster: whole, never cropped, and small — the page is a few lines */
.ev-title{color:inherit;text-decoration:none}.ev-title:hover{text-decoration:underline} .ev-more{font-size:.85em;color:var(--grey);white-space:nowrap} .event-past{color:var(--grey);font-style:italic} .event .event-org{font-size:14px;color:var(--grey)}

/* the phone's bottom bar: Revista, Tehnologie, Evenimente (with the count); hidden on a wider screen */
nav.bottom{display:none}
@media (max-width:720px){
  :root{--bar-h:56px}
  body.ziar{padding-bottom:calc(var(--bar-h) + env(safe-area-inset-bottom,0px))}
  nav.bottom{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:5;height:calc(var(--bar-h) + env(safe-area-inset-bottom,0px));padding-bottom:env(safe-area-inset-bottom,0px);background:var(--nav);border-top:1px solid var(--rule-strong)}
  nav.bottom a{position:relative;flex:1 1 0;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;color:var(--grey);font-size:11px;font-weight:500;letter-spacing:.01em}
  nav.bottom a span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  nav.bottom a[aria-current]{color:var(--ink);font-weight:700;box-shadow:inset 0 2px 0 var(--brand)}
  nav.bottom .badge{position:absolute;top:5px;left:calc(50% + 6px);min-width:17px;height:17px;padding:0 4px;border-radius:9px;background:var(--brand);color:#fff;font-size:10.5px;font-weight:700;line-height:17px;text-align:center}
  .feedback-fab{bottom:calc(var(--bar-h) + 12px + env(safe-area-inset-bottom,0px))}
  .feedback-popup{bottom:calc(var(--bar-h) + 12px + env(safe-area-inset-bottom,0px));max-height:calc(100dvh - var(--bar-h) - 100px)}
  .consent{bottom:calc(var(--bar-h) + 12px + env(safe-area-inset-bottom,0px))}
}
/* Narrow screens: the notice is one line (short text, button inline) above the tab bar (Nico, 2026-11-07) */
@media(max-width:600px){.consent{left:8px;bottom:calc(var(--bar-h) + 8px + env(safe-area-inset-bottom,0px));width:calc(100vw - 16px);flex-direction:row;align-items:center;gap:10px;padding:8px 10px}.consent p{font-size:12.5px;line-height:1.3;flex:1}.consent .actions{flex:none;flex-wrap:nowrap}.consent .btn{padding:6px 10px;font-size:13px;white-space:nowrap}.consent .long{display:none}}
