/* ===== blog demo: list page + post page. On top of the landing + homepage CSS (same tokens and components).
   Colour: turquoise scale only; terracotta and amber stay for error marks in the plans (Anita's homepage rule). ===== */
body{background:var(--paper);color:var(--ink)}
.blog{color:var(--ink);background:var(--paper)}
.blog :focus-visible{outline:3px solid var(--deep);outline-offset:2px}
.bhead-band{background:var(--cream);border-bottom:1px solid var(--line)}
.bhead-band .wrap{padding-block:48px 40px}
/* the head band in the homepage hero's night, with its corner arc (Anita: the neutral head felt colourless; Maris 3847) */
.bhead-band.on-night{background:var(--night);color:var(--cream);border-bottom:0;position:relative;overflow:hidden;overflow:clip;isolation:isolate}
.bhead-band.on-night::after{content:"";position:absolute;z-index:-1;left:-80px;top:-110px;width:240px;height:240px;border-radius:0 0 240px 0;background:rgba(30,111,114,.18)}
/* faint enough for the eyebrow on it: 4.6:1 at every width up to ~1410 px (Teo C3) */
.bhead-band.on-night h1{color:var(--cream)}
.bhead-band.on-night .crumbs a, .bhead-band.on-night .pmeta-row a{color:var(--mist)}
.bhead-band.on-night .crumbs li+li::before, .bhead-band.on-night .pmeta-row{color:#C9D9D6}
.bhead-band.on-night .phead .short{color:var(--ink)}
/* focus rings on the night band: vivid (5.3:1); inside the paper TOC box deep, the full-width summary's ring drawn inside the box (Teo C1, C2) */
.bhead-band.on-night :focus-visible{outline-color:var(--vivid)}
.bhead-band.on-night .tocm :focus-visible{outline-color:var(--deep)}
.bhead-band.on-night .tocm summary:focus-visible{outline-offset:-3px}
.blog h1{font-size:clamp(34px,4.4vw,52px);margin:0 0 14px;color:var(--ink)}
.blog h1:focus{outline:none}
.lhead .lead{max-width:40em}
/* layout: content left, sidebar right; on phones the search goes on top and the rest under the content */
.bgrid{display:grid;grid-template-columns:minmax(0,1fr) 300px;grid-template-areas:"main search" "main rest";grid-template-rows:auto 1fr;column-gap:48px;padding-block:40px 88px}
.bmain{grid-area:main;min-width:0}
.sb-search{grid-area:search}
.sb-rest{grid-area:rest}
.sb{min-width:0}
/* search */
.search label{display:block;font-size:13px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:var(--deep-text);margin:0 0 10px}
.sbox{display:flex;border:1.5px solid var(--line-strong);border-radius:2px;background:#fff}
.sbox:focus-within{outline:3px solid var(--deep);outline-offset:2px;border-color:var(--deep)}
.sbox input{flex:1;min-width:0;font:inherit;font-size:16px;padding:12px 14px;border:0;background:transparent;color:var(--ink)}
.sbox input:focus-visible{outline:none}
.sbox button{flex:none;width:var(--tap);min-height:var(--tap);display:grid;place-items:center;border:0;border-left:1.5px solid var(--line);background:var(--mist);color:var(--deep);cursor:pointer}
.sbox button:hover{background:#C9E6E3}
/* sidebar blocks */
.sbk{margin-top:36px}
.sbh{margin:0 0 12px;font-size:13px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:var(--deep-text)}
.cats{list-style:none;margin:0;padding:0;display:grid;gap:6px}
.catb{width:100%;display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:var(--tap);padding:8px 12px 8px 14px;font:inherit;font-size:16px;font-weight:600;text-align:left;color:var(--ink);background:var(--paper);border:1px solid var(--line);border-left:3px solid var(--mid);border-radius:var(--arc-sm);cursor:pointer;transition:border-color .25s}
/* same as .tagb: no white-on-light flash (Teo, Maris 3838) */
.catb:hover{background:var(--mist)}
.catb .cnt{flex:none;min-width:28px;padding:2px 8px;border-radius:12px;background:var(--mist);color:var(--deep-text);font-size:14px;font-weight:800;text-align:center}
.catb[aria-current="page"], .catb[aria-pressed="true"]{background:var(--deep);border-color:var(--deep);color:#fff}
.catb[aria-current="page"] .cnt, .catb[aria-pressed="true"] .cnt{background:#fff;color:var(--deep-text)}
/* tag cloud: four sizes by post count, all in turquoise */
.cloud{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:5px 6px;align-items:center}
.tagb{display:inline-flex;align-items:center;min-height:var(--tap);padding:2px 9px;font:inherit;font-weight:600;color:var(--deep-text);background:var(--paper);border:1.5px solid rgba(30,111,114,.35);border-radius:2px 12px 2px 2px;cursor:pointer;transition:border-color .25s}
/* background and text colour switch together, no white-on-light flash (Teo, Maris 3824) */
.tagb:hover{background:var(--mist);border-color:var(--deep)}
.tagb.s1{font-size:13px}
.tagb.s2{font-size:14.5px}
.tagb.s3{font-size:16px;font-weight:700}
.tagb.s4{font-size:18px;font-weight:800;border-color:var(--deep)}
/* a smaller cloud so the contents box comes into view sooner (blog demo v0.67; Anita TG 168, Maris 6022): 1-3 px smaller type,
   less padding; with a mouse the buttons are 32 px high, on touch screens they keep the 44 px tap height */
@media (hover:hover) and (pointer:fine){.tagb{min-height:32px}}
.tagb[aria-current="page"], .tagb[aria-pressed="true"]{background:var(--deep);color:#fff;border-color:var(--deep)}
.more-tags{display:none}
.linkish{font:inherit;font-weight:700;color:var(--deep);background:none;border:0;padding:0;text-decoration:underline;text-underline-offset:3px;cursor:pointer;min-height:var(--tap)}
/* recommended product (12 questions) */
.prod{display:grid;grid-template-columns:84px minmax(0,1fr);gap:16px;align-items:start;padding:16px;background:var(--mist);border-left:3px solid var(--deep);border-radius:var(--arc-md)}   /* the 6.5 tip box: deep line on mint, no vivid (style sheet 2; Anita TG 4353) */
.prod img{width:84px;height:auto;display:block;border:1px solid var(--line);box-shadow:-3px 8px 18px -8px rgba(74,56,36,.35);transform:rotate(-3deg)}
.prod .eyebrow{margin:0 0 4px;font-size:12px;color:var(--deep-text)}
.prod .pt{margin:0 0 6px;font-size:18px;font-weight:800;line-height:1.25}
.prod .pd{margin:0 0 10px;font-size:14.5px;line-height:1.5;color:var(--muted)}
.btn2.sm{font-size:15px;padding:8px 16px;background:var(--paper)}
.prod .btn2{grid-column:1/-1;justify-self:start}
/* list: tiles = the homepage's "Friss a blogról" cards, two columns beside the sidebar */
.bposts{grid-template-columns:repeat(2,minmax(0,1fr))}
.bposts.three{grid-template-columns:repeat(3,minmax(0,1fr))}
.bpost .thumb .flag{font-size:10px}
.bpost .pmeta{margin-top:auto;padding-top:6px;display:flex;flex-wrap:wrap;gap:8px 12px;align-items:center;font-size:14px;color:var(--muted)}
.bpost .tgs{display:flex;gap:6px;flex-wrap:wrap}
.bpost .tg{font-size:12.5px;font-weight:700;color:var(--deep-text);background:var(--mist);border-radius:2px 8px 2px 2px;padding:2px 8px}
.bpost[hidden]{display:none}
/* pages (demo v0.46): numbers on the turquoise ground, the current one filled; no border, the corner arc as on the buttons */
.pager{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px 18px;margin:36px 0 0}
.pager ol{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:6px}
.pager .pg{display:inline-flex;align-items:center;justify-content:center;min-width:var(--tap);min-height:var(--tap);padding:0 10px;font-weight:800;color:var(--deep-text);background:var(--mist);border-radius:var(--arc-sm);text-decoration:none}
.pager .pg:hover{background:#C9E6E3}
.pager .pg[aria-current]{background:var(--deep);color:#fff}
.pager .pg-step{display:inline-flex;align-items:center;gap:6px;min-height:var(--tap);font-weight:700;color:var(--deep);text-decoration:underline;text-underline-offset:3px}
.pager .pg-step.off{visibility:hidden}
.pager .gap{display:flex;align-items:center;padding:0 2px;color:var(--muted)}
.thumb .plan, .thumb .tplan{display:block;width:80%;height:auto;max-height:86%}
.fbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:4px 16px;margin:0 0 20px;padding:6px 8px 6px 16px;background:var(--mist);border-left:3px solid var(--deep);border-radius:var(--arc-sm);font-weight:600}
.fbar p{margin:0}
.fbar b{color:var(--deep-text)}
.none{padding:24px;background:var(--cream);border-left:3px solid var(--mid);border-radius:var(--arc-md)}
.none p{margin:0 0 16px;font-size:17px;font-weight:600}
/* post page */
.crumbs ol{list-style:none;margin:0 0 14px;padding:0;display:flex;flex-wrap:wrap;gap:4px;font-size:15px;font-weight:600}
.crumbs li+li::before{content:"›";content:"›" / "";margin:0 8px 0 4px;color:var(--muted)}
/* the separator is not read out (Teo 3779) */
.crumbs a{color:var(--deep);text-underline-offset:3px;display:inline-flex;align-items:center;min-height:var(--tap)}
.phead h1{max-width:22em}
.pmeta-row{margin:0;display:flex;flex-wrap:wrap;gap:6px 18px;font-size:15px;color:var(--muted)}
.pmeta-row a{color:var(--deep);font-weight:700;text-underline-offset:3px}
.hero-img{position:relative;margin:0 0 28px;background:var(--mist);border-radius:var(--arc-lg);padding:28px;display:grid;place-items:center}
.hero-img .himg{width:100%;max-width:440px}
.hero-img svg{display:block;width:100%;height:auto;filter:drop-shadow(0 10px 14px rgba(18,59,62,.16))}
.pin{position:absolute;right:14px;top:14px;display:inline-flex;align-items:center;gap:6px;min-height:var(--tap);padding:0 14px;font:inherit;font-size:14px;font-weight:700;color:var(--deep);background:var(--paper);border:1.5px solid var(--deep);border-radius:var(--arc-sm);cursor:pointer;opacity:0;transition:opacity .25s}
.hero-img:hover .pin, .pin:focus-visible{opacity:1}
@media (hover:none){
 .pin{opacity:1}
}
.toc{margin:0 0 28px;padding:16px 20px;background:var(--cream);border-left:3px solid var(--sand);border-radius:var(--arc-md)}   /* Anita TG 3756-3772, blog demo v0.87, Gréti list v0.12 */
/* wide screens, v0.67 (Anita TG 162-168, Maris 6022): the search, the categories, the tags and the product box, then the contents box in its own
   row that takes the column's free height: once the reader gets there it sticks to the end of the post, so the column is never
   empty (v0.46 put the box first and the rest at the end of the post) */
.bgrid.has-toc{grid-template-areas:"main search" "main rest" "main toc";grid-template-rows:auto auto 1fr}
.sb-toc{display:none}
.bgrid.has-toc .sb-toc{display:block;grid-area:toc}   /* the wrapper fills the row: a sticky grid item itself would stick across the whole grid */
.tocd{position:sticky;top:calc(var(--hdr) + 16px);margin:32px 0 0;max-height:calc(100vh - var(--hdr) - 32px);overflow:auto}
.tocd a, .tocm a{padding-block:6px}
.toc a[aria-current], .tocm a[aria-current]{color:var(--ink);font-weight:800;text-decoration:underline;text-decoration-color:var(--deep);text-decoration-thickness:3px}   /* Anita TG 3756-3772, blog demo v0.87, Gréti list v0.12 */
.tocm{display:none}
.toc p{margin:0 0 6px;font-size:13px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:var(--deep-text)}
.toc ol{margin:0;padding-left:0;list-style:none;display:grid;gap:2px}   /* Anita TG 3756-3772, blog demo v0.87, Gréti list v0.12 */
.toc a{color:var(--deep);font-weight:600;text-underline-offset:3px;display:inline-flex;min-height:var(--tap);align-items:center}
.pbody{max-width:42rem;font-size:18px;line-height:1.7}
.pbody h2{font-size:clamp(22px,2.4vw,28px);line-height:1.2;font-weight:800;margin:36px 0 10px;scroll-margin-top:calc(var(--hdr) + 16px)}
.pbody h2:first-child{margin-top:0}
.pbody p{margin:0 0 16px}
.pbody .num{color:var(--deep-text);font-weight:800;white-space:nowrap}
.pbody .sum{margin:0 0 16px;padding:18px 22px 18px 42px;background:var(--sand);border-radius:var(--arc-md);display:grid;gap:6px}   /* Anita TG 3756-3772, blog demo v0.87, Gréti list v0.12 */
.pbody .sum li::marker{color:var(--deep)}
.pbody .demo-note{font-size:16px;color:var(--muted);font-style:italic}
.pbody > .flag{margin:0 0 14px}
.pfig{margin:24px 0 28px}
.pfig-in{max-width:360px;padding:16px;background:#fff;border-left:3px solid var(--mid);border-radius:var(--arc-md)}
.pfig svg{display:block;width:100%;height:auto}
.pfig figcaption{margin-top:10px;font-size:15px;color:var(--muted)}
.ptags{display:flex;flex-wrap:wrap;align-items:center;gap:8px 10px;margin:32px 0 0;padding-top:20px;border-top:1px solid var(--line)}
.ptags ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:6px 8px}
.ptl{font-weight:700;font-size:15px}
.author{display:grid;grid-template-columns:96px minmax(0,1fr);gap:20px;align-items:start;margin:36px 0 0;padding:22px;background:var(--cream);border-radius:var(--arc-md)}
.author img{width:96px;height:96px;object-fit:cover;object-position:50% 20%;border-radius:50%;display:block}
.author .an{margin:0 0 6px;font-weight:800;font-size:18px}
.author p{margin:0 0 8px;line-height:1.55;color:var(--muted)}
.author .an a{color:inherit;text-decoration:underline;text-decoration-color:rgba(30,111,114,.45);text-underline-offset:3px;display:inline-flex;align-items:center;min-height:var(--tap)}
.author .an a:hover{color:var(--deep);text-decoration-color:currentColor}
.ask{position:relative;overflow:hidden;isolation:isolate;margin:36px 0 0;padding:28px;background:var(--deep);color:#fff;border-radius:2px 40px 2px 2px}   /* no vivid line (style sheet 2), no replacement; Anita TG 3750 */
.ask h2{margin:0 0 8px;font-size:clamp(22px,2.4vw,28px);font-weight:800}
.ask p{margin:0 0 18px;color:#DCEFED;line-height:1.55;max-width:34em}
.ask .btn{background:var(--vivid);color:var(--ink)}
.ask :focus-visible{outline:3px solid #fff;outline-offset:3px}
/* ---- The post-end question box (.ask, "Kérdésetek van a témában?") on the live blog (Gréti, list v0.11; Anita TG 3720-3726,
   artifact comments 2026-11-16 17:09-17:10, approved as blog demo v0.80, TG 3750 via Maris 8090).
   The drawing is a file (CSP img-src 'self'): decor-ask-dining.svg next to blog.css.
   - No vivid left line (style sheet 2: vivid only on the primary button and the Home Fit ring) and no replacement line.
     The text moves 3 px to the left with it.
   - The dining set for six (180 x 90 cm, the symbol module's TABLE and CHAIR, livjel v0.16.1) as a faint mid turquoise line,
     under the content (z-index), clipped by the box. viewBox 104 x 74 units (3 cm each), the drawn part 22..82 x 8.5..65.5.
   - It never runs under the heading, the paragraph or the button (measured on the demo, 320-1440 px, at least 21 px clear).
     The live paragraph has no "Jogász" demo flag, so it ends higher than on the demo: the clearance only grows. */
.ask>*{position:relative;z-index:1}
/* wide boxes (715 px and up): 2.8 px per unit; the drawn right edge 24 px inside the box, only the lower chairs' last 8 px under
   the bottom edge; the drawn left edge is the box width - 192 px. It starts left of the paragraph's 34em line (measured, Teo PR #71:
   from 521 px, the paragraph block ends at 572 px), clear only because Blog.askText is one short line today (to 135 px);
   a longer askText needs this checked again */
.ask::after{content:"";position:absolute;z-index:0;pointer-events:none;right:-37px;bottom:-32px;width:291px;height:207px;
  background:no-repeat center/contain url("decor-ask-dining.svg");opacity:.8}
/* boxes under 715 px (600-746 px, and 901-1094 px where the sidebar takes its column; the .bgrid's 300 px column and 48 px gap
   from 901 px): 2.2 px per unit, 24 px under the paragraph, beside the button; the lower chairs run under the bottom edge */
@media (min-width:600px) and (max-width:746px),(min-width:901px) and (max-width:1094px){.ask::after{right:-25px;bottom:-69px;width:229px;height:163px}}
/* phones (under 600 px): 1.5 px per unit, beside the button, 20 px under the paragraph */
@media (max-width:599px){.ask::after{right:-13px;bottom:-21px;width:156px;height:111px}}
/* below 350 px it would come close to the button: no decor */
@media (max-width:349px){.ask::after{display:none}}
.rec{margin:48px 0 0}
.rec h2{font-size:clamp(22px,2.4vw,28px);font-weight:800;margin:0 0 20px}
/* tiles (Anita 1105): the title link covers the card, the category and the tags above it are filter buttons */
.bpost{position:relative}
.bpost .plink{color:inherit;text-decoration:none}
.bpost .plink::after{content:"";position:absolute;inset:0;z-index:1;border-radius:inherit}
.bpost .plink:focus-visible{outline:none}
.bpost:has(.plink:focus-visible){outline:3px solid var(--deep);outline-offset:3px}
.bpost .catlink, .bpost .tg{position:relative;z-index:2}
.catlink{font:inherit;letter-spacing:inherit;text-transform:inherit;color:inherit;background:none;border:0;padding:4px 0;min-height:32px;cursor:pointer;text-decoration:underline;text-decoration-color:transparent;text-underline-offset:3px;transition:text-decoration-color .2s}
.catlink:hover{text-decoration-color:currentColor}
.bpost .cat{display:flex}
.bpost .tg::before, .catlink::before{content:"";position:absolute;inset:-8px -2px}
.catlink{position:relative}
.bpost .tg{min-height:30px;font:inherit;font-size:12.5px;font-weight:700;color:var(--deep-text);background:var(--mist);border:1px solid transparent;border-radius:2px 8px 2px 2px;padding:2px 9px;cursor:pointer}
.bpost .tg:hover{border-color:var(--deep)}
.bpost .tg[aria-current="page"], .bpost .tg[aria-pressed="true"]{background:var(--deep);color:#fff}
/* post: short answer under the title (brief 4.2) */
.phead .short{max-width:none;margin:0 0 14px;padding:12px 16px;font-size:17px;line-height:1.55;background:var(--paper);border-left:3px solid var(--sand);border-radius:var(--arc-md)}   /* Anita TG 3756-3772, blog demo v0.87, Gréti list v0.12 */
.phead .short .rl{color:var(--deep-text)}
.phead .short .num{color:var(--deep-text);font-weight:800;white-space:nowrap}
/* recurring post components (Laura 3751): good / bad plan pair, size table, "Mérjétek le otthon" */
.pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:24px 0 28px;max-width:42rem}
.pair .pfig{margin:0}
.pair .pfig-in{max-width:none}
.pair figcaption{display:flex;gap:10px;align-items:flex-start;font-size:15px;font-weight:600;color:var(--ink);line-height:1.4}
.pair figcaption .mk{margin-top:1px}
.pair .bad .pfig-in{border-left-color:var(--terra)}
.pair .good .pfig-in{border-left-color:var(--deep)}
.sizetab{max-width:42rem;margin:8px 0 24px;overflow-x:auto}
.sizetab table{width:100%;border-collapse:collapse;font-size:16px;font-variant-numeric:tabular-nums}
.sizetab caption{text-align:left;font-weight:700;margin:0 0 8px;color:var(--muted);font-size:15px}
.sizetab th, .sizetab td{padding:10px 14px;text-align:left;border-bottom:1px solid var(--line)}
.sizetab thead th{font-size:13px;letter-spacing:.06em;text-transform:uppercase;color:var(--deep-text);background:var(--mist);border-bottom:2px solid var(--deep)}
.sizetab tbody th{font-weight:800}
.sizetab td{font-weight:700;color:var(--deep-text)}
.measure{display:grid;grid-template-columns:auto minmax(0,1fr);gap:14px;align-items:start;max-width:42rem;margin:8px 0 28px;padding:18px 20px;background:var(--cream);border-left:3px solid var(--deep);border-radius:var(--arc-md)}
.measure svg{margin-top:2px}
.measure .mh{margin:0 0 4px;font-size:13px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:var(--deep-text)}
.measure p{margin:0;font-size:17px;line-height:1.6}
/* tablet and phone: the sidebar goes under the content, the search above it */
@media (max-width:900px){
 .tocd, .bgrid.has-toc .sb-toc{display:none}
 .tocm{display:block;margin:14px 0 0;max-width:40em;background:var(--paper);color:var(--ink);border-left:3px solid var(--sand);border-radius:var(--arc-md)}   /* Anita TG 3756-3772, blog demo v0.87, Gréti list v0.12 */
 .tocm[hidden]{display:none}
 .tocm summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:var(--tap);padding:0 16px;font-weight:800;cursor:pointer;list-style:none}
 .tocm summary::-webkit-details-marker{display:none}
 .tocm summary::after{content:"";flex:none;width:9px;height:9px;margin-top:-4px;border-right:2.5px solid var(--deep);border-bottom:2.5px solid var(--deep);transform:rotate(45deg)}
 .tocm[open] summary::after{margin-top:4px;transform:rotate(-135deg)}
 .tocm ol{margin:0;padding:0 16px 10px 16px;list-style:none;display:grid;gap:2px}   /* Anita TG 3756-3772, blog demo v0.87, Gréti list v0.12 */
 .tocm a{color:var(--deep);font-weight:600;text-underline-offset:3px;display:inline-flex;min-height:var(--tap);align-items:center}
 .tocm :focus-visible{outline-color:var(--deep)}
 .bgrid, .bgrid.has-toc{grid-template-columns:minmax(0,1fr);grid-template-areas:"search" "main" "rest";grid-template-rows:none;padding-block:24px 64px}
 .sb-search{margin-bottom:24px}
 .sb-rest{margin-top:24px;border-top:1px solid var(--line)}
 .bposts.three{grid-template-columns:repeat(2,minmax(0,1fr))}
 .bposts.three .post:nth-child(3){display:none}
}
@media (max-width:640px){
 .bposts, .bposts.three{grid-template-columns:minmax(0,1fr)}
 .bposts.three .post:nth-child(3){display:flex}
 .bhead-band .wrap{padding-block:28px 24px}
 .hero-img{padding:16px}
 .pair{grid-template-columns:minmax(0,1fr)}
 .pbody{font-size:17px}
 .author{grid-template-columns:64px minmax(0,1fr);gap:14px;padding:18px}
 .author img{width:64px;height:64px}
 .prod{grid-template-columns:72px minmax(0,1fr)}
 .prod img{width:72px}
 /* phones: the 12 most used tags, the rest behind "Összes címke" (brief 2; Maris N4) */
 .js .cloud.main:not(.all) li:not(.tag-top){display:none}
 .more-tags{display:inline-flex;align-items:center;margin-top:6px}
}
/* the tablet's spanning third card from the homepage does not apply to the blog grids */
@media (max-width:1100px) and (min-width:641px){
 .bposts .post:nth-child(3){grid-column:auto;flex-direction:column}
 .bposts .post:nth-child(3) .thumb{flex:none;aspect-ratio:16/10;min-height:0}
}
@media (prefers-reduced-motion:reduce){
 .tagb, .catb{transition:none}
}
/* v0.24: the real posts' pictures and boxes (Maris 4806) */
.post .thumb.photo img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;transition:transform .7s cubic-bezier(.2,.7,.2,1)}
/* the grid cell would size the image by its own 1100 px */
.post:hover .thumb.photo img{transform:scale(1.04)}
.hero-img.photo{padding:0;background:none;display:block}
.hero-img.photo .himg{max-width:none}
.hero-img.photo img{display:block;width:100%;height:auto;border-radius:var(--arc-lg)}
.hero-img .aicap{margin:8px 2px 0;font-size:14px;color:var(--muted)}
/* screen readers only when the shown picture is the marked copy: the AI badge is burnt into it (blog demo v0.55, owner's
   artifact comment, Maris msg 5884); an AI picture without a marked copy keeps the visible line */
.hero-img .aicap.vh{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;margin:0;padding:0;border:0}
.pfig.wide .pfig-in{max-width:560px}
.renov{max-width:42rem;margin:8px 0 28px;padding:18px 22px;background:var(--mist);border-left:3px solid var(--mid);border-radius:var(--arc-md)}
.renov .mh{margin:0 0 6px;font-size:13px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:var(--deep-text)}
.renov p, .renov li{font-size:17px;line-height:1.6}
.renov ul{margin:6px 0 10px;padding-left:22px}
.renov p{margin:0 0 6px}
.renov .more{margin:10px 0 0}
.renov .catlink{font:inherit;font-weight:700;color:var(--deep-text);background:none;border:0;padding:0;text-decoration:underline;text-underline-offset:3px;cursor:pointer;min-height:var(--tap)}
.pair .bad.warn .pfig-in{border-left-color:#B5760A}
/* a compromise pair: the frame takes the '!' colour (Laura 4814) */
/* v0.43: corner mark under every post figure and plan header (Maris 5232/5235, Anita TG 1873); the tiles have none */
.lvmark{display:flex;justify-content:flex-end;align-items:center;gap:5px;margin:8px 0 0;font:600 12px/1 var(--font);color:#5D656B;letter-spacing:.01em}
.lvmark svg{display:block;width:12.5px;height:12.5px}
.hero-img .lvmark{margin-top:10px}

/* ---------- live site (5c) ---------- */
/* the demo's filter buttons are links here: every filter has its own page */
a.catb, a.tagb, .bpost a.tg, a.catlink, a.pin{text-decoration:none}
a.catlink:hover{text-decoration:underline}
/* a link is inline: as the demo's button it takes its 32 px height, so the tile's title sits where it did */
.bpost a.catlink{display:inline-flex;align-items:center}
/* tile grounds: the demo set --tb per post; here the tiles take sand, mist and cream in turn */
.thumb.tb-sand{--tb:var(--sand)}
.thumb.tb-mist{--tb:var(--mist)}
.thumb.tb-cream{--tb:var(--cream)}
/* a hero that is a drawing (not AI) is a raster of the demo's inline plan: on the tile and in the post header it sits
   like the plan did (contained, with the plan's shadow); a 3D picture fills the frame as before */
/* the demo's plan svg rule: 72 % wide, at most 84 % of the 16:10 tile high. A percentage max-height does not hold
   for an img in this grid cell, so the img gets that box (72 % by 84 % x 10/16 = 52.5 %) and the picture is contained */
.post .thumb img.plan{display:block;width:72%;height:auto;aspect-ratio:72/52.5;object-fit:contain;transition:transform .7s cubic-bezier(.2,.7,.2,1);filter:drop-shadow(0 8px 12px rgba(74,56,36,.18))}
.post:hover .thumb img.plan{transform:scale(1.06) rotate(-1.2deg)}
.hero-img:not(.photo) .himg img{display:block;width:100%;height:auto;filter:drop-shadow(0 10px 14px rgba(18,59,62,.16))}
.gone{padding-block:40px 64px}
/* a link in the post text, e.g. to another post (demo v0.46: post 2 -> post 1) */
.pbody a:not([class]){color:var(--deep);font-weight:700;text-decoration:underline;text-underline-offset:3px}
.pbody a:not([class]):hover{color:var(--ink)}
/* blog demo v0.58: on desktop the list head's lead runs to the tile grid's right edge (the grid leaves the 300px sidebar
   and its 48px gap); the category and tag views share this head, the post head has no lead (Anita, artifact comment
   e8afedeb; Maris 5887, 5894) */
@media (min-width:1025px){.lhead .lead{max-width:calc(100% - 348px)}}
/* blog demo v0.59: the blog's page is paper, so the footer's 36px top-right arc showed paper between the dark band and the
   footer; a night square behind the corner (under the footer's own background) shows the band's colour there (Maris 5898, 5909) */
.foot{position:relative}
.foot::before{content:"";position:absolute;z-index:-1;top:0;right:0;width:36px;height:36px;background:var(--night)}
/* no band above (a 410 page, an unpublished consent text): no dark corner on paper (Teo, PR #34 S2); the footer's own
   turquoise line (site.css, demo v0.60) stays */
.foot.noband::before{content:none}
/* blog demo v0.68: the post head's "Röviden" box runs to the post column's right edge, where the sidebar's 48px gap starts (the
   band is as wide as the grid under it, which keeps 300px + 48px for the sidebar from 901px up); under that the column is the full
   width; 901-1024 px no longer overlaps the sidebar (Anita, artifact comment 6577015d; Maris 6027) */
@media (min-width:901px){.phead .short{max-width:calc(100% - 348px)}}
/* blog demo v0.69: on a post page above 900 px the sidebar keeps the search, the product box and the contents box; the categories
   and the tag cloud go, so the contents box comes into view sooner (279 px of scroll at 1280x800 instead of about 850, measured by
   Gréti). The list pages and phones keep them (Anita TG 2326-2332, Maris 6031) */
/* only when there is a contents box to bring up: a post without one keeps its categories and tags, or the column would stand
   empty under the search and the product box (Teo, PR #40 N3) */
@media (min-width:901px){.bgrid.is-post.has-toc .sb-rest .sbk:not(.sb-prod){display:none}}
/* ---- The blog LIST page's notebook background (Anita TG 3589; Gréti hatterdekor-blog-v0.6.css; demo blog-demo-v0.75). List
   only: blog/index.php has .wrap.bgrid, blog/post.php .wrap.bgrid.is-post, so a post keeps its plain ground. The sign-up band's
   .arcwrap goes transparent so the grid runs on behind its corner. The grid is a file (CSP img-src 'self', PR #68 B1). ---- */
main.blog:has(.bgrid:not(.is-post)){background-image:url("../site/notebook-grid-8.svg")}
main.blog:has(.bgrid:not(.is-post)) .arcwrap{background:transparent}
/* ---- The blog head band's bottom right arc (Anita TG 3613, Maris 7974; demo: blog-demo-v0.76). Goes into blog.css after the
   .bhead-band.on-night rule; list and post pages alike (both use .bhead-band.on-night). The band sits right in main.blog, so the
   ground behind the corner is main's: paper on a post, the notebook grid on the list (hatterdekor-blog-v0.6.css); nothing else is
   needed. The band's own overflow:clip already clips its content and its top left quarter-circle to the new shape. ---- */
.bhead-band.on-night{border-radius:2px 2px clamp(64px,11vw,150px) 2px}

/* up to 700 px the arc is 64-77 px, and a post's full-width "Tartalom" box (.tocm) came within 2 px of it at 375 px (bottom padding
   24 px), 8 px at 641 px; 48 px keeps it 12-33 px inside the arc (measured). The list head gets the same, so both heads match.
   Put it after the existing max-width:640px .bhead-band .wrap rule, or it loses to it */
@media (max-width:700px){.bhead-band.on-night .wrap{padding-bottom:48px}}
