/* Chance to Choose: subpages in the invitation colours (beige + wine), same type as the home page.
   Shared by Nepál v Karlíně (aukce), Katalog, Proč to dělám (o-nas), Chci přispět (podpora), Deník. */
:root {
  --beige: #F5F2EF; --paper: #FFFFFF; --ink: #2B2523; --soft: #574C46; --mute: #8A7E76;
  --wine: #701D2B; --wine-hi: #8C2737; --gold: #A9782F; --line: rgba(112, 29, 43, .16);
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --sans: "Inter Tight", system-ui, -apple-system, sans-serif;
  --edge: max(1.15rem, 5.5vw, env(safe-area-inset-left));
  --ease: cubic-bezier(.22, .61, .2, 1);
}
* { box-sizing: border-box; }
html { background: var(--beige); color: var(--ink); font-family: var(--sans); font-size: 16px; -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--beige); }
img { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: rgba(112, 29, 43, .18); }
:focus-visible { outline: 2px solid var(--wine); outline-offset: 3px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* bar */
.sbar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 1.2rem; padding: max(.7rem, env(safe-area-inset-top)) var(--edge) .7rem; background: rgba(245, 242, 239, .92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 1px 0 rgba(112, 29, 43, .1); }
.sbar__logo img { height: 2.7rem; width: auto; }
.sbar__nav { display: flex; gap: 1.4rem; margin-left: auto; font-size: .9rem; }
.sbar__nav a { text-decoration: none; color: var(--soft); padding: .5rem 0; }
.sbar__nav a:hover, .sbar__nav a[aria-current] { color: var(--wine); }
.sbar__nav a[aria-current] { box-shadow: inset 0 -1px 0 var(--wine); }
.sbar .btn { flex: none; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 2.9rem; padding: 0 1.3rem; border-radius: 999px; font: 550 .94rem/1 var(--sans); text-decoration: none; white-space: nowrap; transition: background .25s, border-color .25s, transform .25s var(--ease); cursor: pointer; }
.btn:hover { transform: translateY(-1px); }
.btn--solid { background: var(--wine); color: #FFF6EE; border: 0; }
.btn--solid:hover { background: var(--wine-hi); }
.btn--ghost { background: transparent; color: var(--wine); border: 1px solid rgba(112, 29, 43, .45); }
.btn--ghost:hover { border-color: var(--wine); }
.btn svg { width: 1.05rem; height: 1.05rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.row { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.6rem; }

/* type */
main { padding: clamp(2.8rem, 8vh, 6rem) var(--edge) clamp(4rem, 10vh, 7rem); }
.wrap { max-width: 74rem; margin: 0 auto; }
.read { max-width: 42rem; }
.kicker { margin: 0 0 .9rem; font: 600 .72rem/1.2 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; color: var(--wine); margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.7rem, 1.6rem + 4.4vw, 5.6rem); line-height: .98; letter-spacing: -.012em; }
h1 em, h2 em { font-style: italic; }
h2 { font-size: clamp(2rem, 1.3rem + 2.2vw, 3.3rem); line-height: 1.02; }
h3 { font-size: 1.5rem; line-height: 1.1; }
.lede { margin: 1.2rem 0 0; max-width: 40ch; font: 400 clamp(1.3rem, 1.1rem + .8vw, 1.8rem)/1.25 var(--serif); color: var(--ink); }
.prose p { margin: 0 0 1.05rem; font-size: 1.08rem; line-height: 1.68; color: var(--soft); max-width: 62ch; text-wrap: pretty; }
.prose p.big { font: italic 400 clamp(1.35rem, 1.1rem + .9vw, 1.9rem)/1.3 var(--serif); color: var(--wine); margin: 1.8rem 0; }
.sign { margin: 1.4rem 0 0; font: italic 400 1.6rem/1.2 var(--serif); color: var(--wine); }
.sec { margin-top: clamp(3.5rem, 9vh, 6.5rem); }
.sec__head { margin-bottom: 1.6rem; }
.sec__head p { margin: .8rem 0 0; max-width: 58ch; color: var(--soft); line-height: 1.6; font-size: 1.05rem; }
.tbc { display: inline-block; padding: .1rem .45rem; border-radius: 4px; font: 600 .62rem/1.4 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: #1B140F; background: #E8C27A; vertical-align: middle; }

/* split: text + aside (aukce: pozvánka + praktické informace) */
.split { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(16rem, .75fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 1.5rem 1.6rem; box-shadow: 0 1px 0 rgba(112, 29, 43, .04), 0 18px 40px -26px rgba(112, 29, 43, .35); }
.panel dl { margin: 0; display: grid; gap: 1rem; }
.panel dt { font: 600 .68rem/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: .3rem; }
.panel dd { margin: 0; font-size: 1.02rem; line-height: 1.45; }
.panel .btn { width: 100%; margin-top: 1.4rem; }
@media (min-width: 900px) { .split .panel { position: sticky; top: 6rem; } }

/* program večera */
.prog { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.prog li { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: 1.2rem; padding: 1.3rem 0; border-bottom: 1px solid var(--line); }
.prog time, .prog .t { font: 400 1.6rem/1.1 var(--serif); color: var(--gold); font-variant-numeric: tabular-nums; }
.prog .t { font: 600 .7rem/1.5 var(--sans); letter-spacing: .14em; text-transform: uppercase; padding-top: .35rem; }
.prog h3 { font-size: 1.45rem; }
.prog p { margin: .4rem 0 0; color: var(--soft); line-height: 1.55; max-width: 60ch; }

/* katalog: mřížka děl */
.filters { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: 1.4rem; }
.filters button { min-height: 2.6rem; padding: 0 1.1rem; border-radius: 999px; border: 1px solid rgba(112, 29, 43, .3); background: transparent; color: var(--wine); font: 550 .88rem/1 var(--sans); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.filters button[aria-pressed="true"] { background: var(--wine); border-color: var(--wine); color: #FFF6EE; }
.filters button span { opacity: .6; margin-left: .3rem; font-variant-numeric: tabular-nums; }
.works { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: clamp(.8rem, 1.6vw, 1.5rem); }
.works li[hidden] { display: none; }
.work { display: block; width: 100%; padding: 0; margin: 0; border: 0; background: none; text-align: left; cursor: zoom-in; color: inherit; font: inherit; -webkit-tap-highlight-color: transparent; }
.work__img { position: relative; aspect-ratio: 3 / 4; border-radius: 14px; overflow: hidden; background: var(--paper); box-shadow: 0 1px 0 rgba(112, 29, 43, .05), 0 16px 34px -22px rgba(43, 37, 35, .45); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.work__img img { width: 100%; height: 100%; object-fit: contain; }
.work:hover .work__img { transform: translateY(-4px); box-shadow: 0 1px 0 rgba(112, 29, 43, .05), 0 26px 44px -22px rgba(43, 37, 35, .5); }
.work:active .work__img { transform: scale(.985); }
.work__cap { display: flex; align-items: baseline; justify-content: space-between; gap: .6rem; padding: .75rem .15rem 0; }
.work__n { font: 400 1.3rem/1 var(--serif); color: var(--wine); font-variant-numeric: tabular-nums; }
.work__k { font: 600 .66rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }

/* katalog: detail díla */
.dlg { position: fixed; inset: 0; z-index: 60; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(18rem, .6fr); background: var(--beige); opacity: 0; transition: opacity .35s var(--ease); }
.dlg[hidden] { display: none; }
.dlg.on { opacity: 1; }
.dlg__fig { position: relative; margin: 0; display: grid; place-items: center; padding: clamp(1rem, 3vw, 3rem); background: #ECE6E0; min-height: 0; }
.dlg__fig img { max-width: 100%; max-height: calc(100dvh - 6rem); width: auto; height: auto; border-radius: 6px; box-shadow: 0 30px 70px -30px rgba(43, 37, 35, .55); transition: opacity .3s; }
.dlg__fig img.ld { opacity: 0; }
.dlg__info { display: flex; flex-direction: column; padding: max(1.4rem, env(safe-area-inset-top)) clamp(1.3rem, 3vw, 2.6rem) max(1.4rem, env(safe-area-inset-bottom)); overflow-y: auto; }
.dlg__top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.dlg__c { font: 600 .72rem/1 var(--sans); letter-spacing: .14em; color: var(--mute); font-variant-numeric: tabular-nums; }
.ibtn { display: inline-grid; place-items: center; width: 2.9rem; height: 2.9rem; padding: 0; border-radius: 50%; border: 1px solid rgba(112, 29, 43, .3); background: var(--paper); color: var(--wine); cursor: pointer; transition: border-color .2s; }
.ibtn:hover { border-color: var(--wine); }
.ibtn svg { width: 1.1rem; height: 1.1rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.dlg__body { margin-top: auto; padding-top: 2rem; }
.dlg__body h2 { font-size: clamp(2.2rem, 1.5rem + 2vw, 3.4rem); }
.dlg__body .work__k { display: block; margin-bottom: .7rem; color: var(--gold); }
.dlg__body dl { margin: 1.4rem 0 0; display: grid; grid-template-columns: auto 1fr; gap: .55rem 1.2rem; font-size: .95rem; }
.dlg__body dt { color: var(--mute); }
.dlg__body dd { margin: 0; color: var(--soft); }
.dlg__note { margin: 1.2rem 0 0; font-size: .88rem; line-height: 1.5; color: var(--mute); }
.dlg__nav { display: flex; gap: .5rem; margin-top: 1.6rem; }
.dlg__nav .btn { flex: 1; }
html.dlg-open, html.dlg-open body { overflow: hidden; }

/* teaser řada děl (aukce) */
.strip { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .8rem; margin: 0 0 1.6rem; padding: 0; list-style: none; }
.strip a { display: block; aspect-ratio: 3 / 4; border-radius: 10px; overflow: hidden; background: var(--paper); box-shadow: 0 14px 30px -22px rgba(43, 37, 35, .5); transition: transform .4s var(--ease); }
.strip a:hover { transform: translateY(-3px); }
.strip img { width: 100%; height: 100%; object-fit: contain; }

/* podpora */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); gap: 1rem; }
.cards .panel h3 { margin-bottom: .7rem; }
.cards .panel p { margin: 0 0 .8rem; color: var(--soft); line-height: 1.6; }
.slot { margin-top: 1rem; padding: 1.2rem 1.3rem; border: 1px dashed rgba(112, 29, 43, .35); border-radius: 12px; color: var(--mute); background: rgba(255, 255, 255, .5); line-height: 1.5; }
.slot strong { display: block; margin-bottom: .3rem; font: 600 .68rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--wine); }
.entries { list-style: none; padding: 0; margin: 0; display: grid; gap: .8rem; }

/* footer = vínový pás pozvánky */
.sfoot { background: var(--wine); color: var(--beige); padding: 3rem var(--edge) calc(3rem + env(safe-area-inset-bottom)); }
.sfoot__in { max-width: 74rem; margin: 0 auto; display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2rem; align-items: start; }
.sfoot img { width: 11rem; height: auto; }
.sfoot p { margin: 1rem 0 0; color: rgba(245, 242, 239, .78); font: italic 400 1.1rem/1.3 var(--serif); max-width: 22rem; }
.sfoot nav { display: flex; flex-direction: column; gap: .6rem; }
.sfoot nav a, .sfoot a { color: rgba(245, 242, 239, .88); text-decoration: none; }
.sfoot nav a:hover { color: #FFFFFF; }
.sfoot .kicker { color: #D4A85A; }
.sfoot__c a { text-decoration: underline; text-underline-offset: .2em; }

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .dlg { display: block; overflow-y: auto; overscroll-behavior: contain; }
  .dlg[hidden] { display: none; }
  .dlg__fig { display: grid; min-height: 0; padding: max(4.2rem, calc(env(safe-area-inset-top) + 3.6rem)) 1rem 1.2rem; }
  .dlg__top { background: rgba(245, 242, 239, 0); }
  .dlg__fig img { max-height: 62dvh; }
  .dlg__info { overflow: visible; padding-top: 1.2rem; }
  .dlg__top { position: fixed; top: max(.7rem, env(safe-area-inset-top)); left: var(--edge); right: var(--edge); z-index: 2; }
  .dlg__body { margin-top: 0; padding-top: 0; }
  .strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .strip li:nth-child(n+7) { display: none; }
}
@media (max-width: 760px) {
  .sbar__nav { display: none; }
  .sbar { justify-content: space-between; }
  .sbar__logo img { height: 2.3rem; }
  .sbar .btn { min-height: 2.75rem; padding: 0 1rem; font-size: .86rem; }
  .works { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .work__cap { padding-top: .55rem; }
  .work__n { font-size: 1.1rem; }
  .work__k { font-size: .58rem; letter-spacing: .1em; }
  .prog li { grid-template-columns: 1fr; gap: .3rem; padding: 1.05rem 0; }
  .prog time { font-size: 1.3rem; }
  .sfoot__in { grid-template-columns: 1fr; gap: 1.6rem; }
  .prose p { font-size: 1.04rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
}

/* ---------------- katalog: fotografie Moje Země Nezemě (Ondra 25. 10.) ---------------- */
.kgroup[hidden] { display: none; }
.zn { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(1.5rem, 5vw, 5rem); align-items: start; margin: clamp(1rem, 4vh, 2.5rem) 0 clamp(2rem, 5vh, 3.2rem); }
.zn__head h2 { font-size: clamp(2.4rem, 1.5rem + 3vw, 4.2rem); }
.zn__text p { font-size: 1.08rem; }
.zn__more summary { display: inline-flex; align-items: center; gap: .5rem; min-height: 2.75rem; padding: 0 1.1rem; border-radius: 999px; border: 1px solid rgba(112, 29, 43, .4); color: var(--wine); font: 550 .9rem/1 var(--sans); cursor: pointer; list-style: none; margin: .2rem 0 1rem; }
.zn__more summary::-webkit-details-marker { display: none; }
.zn__more summary::after { content: ""; width: .45rem; height: .45rem; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .3s var(--ease); }
.zn__more[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.zn__close, .zn__more[open] .zn__open { display: none; }
.zn__more[open] .zn__close { display: inline; }
.zn__more[open] summary { order: 2; }
.zn__more .sign { margin-top: .4rem; }
/* masonry: photos keep their own proportions */
.works--foto { display: block; columns: 3 18rem; column-gap: clamp(.8rem, 1.6vw, 1.5rem); }
.works--foto li { break-inside: avoid; margin-bottom: clamp(1.1rem, 2vw, 1.8rem); }
.work--foto .work__img { aspect-ratio: auto; background: #E9E3DC; border-radius: 10px; }
.work--foto .work__img img { height: auto; object-fit: cover; }
.work__cap .work__t { font: 400 1.25rem/1.15 var(--serif); color: var(--wine); text-wrap: balance; }
.work--foto .work__cap { flex-direction: column; align-items: flex-start; gap: .3rem; }
.work__data[hidden] { display: none; }
/* detail: title, English title, story in both languages */
.dlg__en { margin: .35rem 0 0; font: italic 400 1.15rem/1.3 var(--serif); color: var(--mute); }
.dlg__en:empty, .dlg__story:empty { display: none; }
.dlg__story { margin: 1.2rem 0 0; font-size: 1.06rem; line-height: 1.6; color: var(--ink); max-width: 46ch; text-wrap: pretty; }
.dlg__story--en { margin-top: .8rem; font-size: .94rem; color: var(--mute); }
.dlg.is-foto .dlg__body .work__k { letter-spacing: .1em; }
@media (max-width: 900px) {
  .zn { grid-template-columns: 1fr; gap: .4rem; }
}
@media (max-width: 760px) {
  .works--foto { columns: 2; column-gap: .7rem; }
  .works--foto li { margin-bottom: 1rem; }
  .work__cap .work__t { font-size: 1.05rem; }
  .work--foto .work__k { font-size: .56rem; }
  .zn__text p { font-size: 1.02rem; }
}
.strip img { object-fit: cover; }

/* ---------------- chci přispět: QR platba (Ondra 27. 10.) ---------------- */
.cards .panel--pay { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(1.4rem, 4vw, 3.5rem); align-items: center; padding: clamp(1.4rem, 3vw, 2.4rem); }
.pay__intro h3 { font-size: clamp(1.8rem, 1.3rem + 1.4vw, 2.6rem); }
.pay__note { font-size: .92rem; color: var(--mute) !important; }
.pay__note a { color: var(--wine); text-underline-offset: .2em; }
.pay { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(1rem, 2.5vw, 2rem); align-items: center; }
.pay__qr { margin: 0; width: clamp(9.5rem, 7rem + 6vw, 13rem); }
.pay__qr img { width: 100%; height: auto; image-rendering: pixelated; border-radius: 6px; border: 1px solid var(--line); }
.pay__qr figcaption { margin-top: .6rem; font-size: .8rem; line-height: 1.4; color: var(--mute); }
.pay__dl { margin: 0; display: grid; gap: .85rem; }
.pay__dl dt { font: 600 .66rem/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: .25rem; }
.pay__dl dd { margin: 0; display: flex; align-items: center; flex-wrap: wrap; gap: .3rem .7rem; font-size: 1.08rem; color: var(--ink); }
.pay__dl .num { font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.copy { min-height: 2.2rem; padding: 0 .8rem; border-radius: 999px; border: 1px solid rgba(112, 29, 43, .35); background: transparent; color: var(--wine); font: 550 .76rem/1 var(--sans); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.copy:hover { border-color: var(--wine); }
.copy.ok { background: var(--wine); color: #FFF6EE; border-color: var(--wine); }

/* ---------------- deník: zápis jako dlouhé čtení ---------------- */
.entry { margin-top: clamp(2.6rem, 7vh, 4.5rem); padding-top: clamp(2rem, 5vh, 3rem); border-top: 1px solid var(--line); }
.entry__head h2 { font-size: clamp(2.3rem, 1.5rem + 3vw, 4rem); }
.entry__lead { margin: 1.8rem 0 2rem; max-width: 60rem; }
.entry__lead img, .entry__fig img { width: 100%; height: auto; border-radius: 14px; box-shadow: 0 22px 44px -28px rgba(43, 37, 35, .5); }
.entry__body p.entry__first { font: 400 clamp(1.3rem, 1.1rem + .7vw, 1.65rem)/1.35 var(--serif); color: var(--ink); }
.entry__fig { margin: 1.8rem 0; }
.entry__fig--side { float: right; width: min(15rem, 42%); margin: .4rem 0 1.2rem 1.8rem; }
.entry__body .sign { clear: both; }
.denik__cta { padding-top: 1.6rem; border-top: 1px solid var(--line); }
.denik__cta p { margin: 0; font: italic 400 1.4rem/1.3 var(--serif); color: var(--wine); }

@media (max-width: 760px) {
  .cards .panel--pay { grid-template-columns: 1fr; }
  .pay { grid-template-columns: 1fr; }
  .pay__qr { width: min(11rem, 60%); }
  .pay__dl dd { font-size: 1.02rem; }
  .entry__fig--side { width: 46%; margin-left: 1rem; }
}
[id] { scroll-margin-top: 5.5rem; }

/* deník: obsah dílů (Ondra 29. 10.) */
.denik__toc { margin-top: clamp(1.6rem, 4vh, 2.4rem); }
.denik__toc ol { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.denik__toc li { border-bottom: 1px solid var(--line); }
.denik__toc a { display: flex; align-items: baseline; gap: 1rem; padding: .95rem 0; text-decoration: none; font: 400 1.35rem/1.2 var(--serif); color: var(--wine); }
.denik__toc a:hover { color: var(--wine-hi); }
.denik__toc span { flex: none; min-width: 3.4rem; font: 600 .68rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }

/* ---------------- deník jako blog (Ondra 29. 10.) ---------------- */
.blog__head { max-width: 46rem; }
.posts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.2rem, 3vw, 2.4rem); margin-top: clamp(2rem, 5vh, 3.2rem); }
.post { min-width: 0; }
.post__link { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: 0 1px 0 rgba(112, 29, 43, .04), 0 22px 44px -32px rgba(43, 37, 35, .45); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.post__link:hover { transform: translateY(-4px); box-shadow: 0 1px 0 rgba(112, 29, 43, .04), 0 30px 54px -30px rgba(43, 37, 35, .5); }
.post__img { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: #E9E3DC; }
.post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.post__link:hover .post__img img { transform: scale(1.03); }
.post__txt { display: flex; flex-direction: column; gap: .6rem; padding: clamp(1.1rem, 2vw, 1.6rem) clamp(1.1rem, 2vw, 1.7rem) clamp(1.2rem, 2vw, 1.8rem); flex: 1; }
.post__txt .kicker { margin: 0; }
.post__t { font: 400 clamp(1.6rem, 1.2rem + 1.2vw, 2.2rem)/1.08 var(--serif); color: var(--wine); text-wrap: balance; }
.post__ex { font-size: 1rem; line-height: 1.6; color: var(--soft); }
.post__more { display: inline-flex; align-items: center; gap: .45rem; margin-top: auto; padding-top: .6rem; font: 550 .92rem/1 var(--sans); color: var(--wine); }
.post__more svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.post__link:hover .post__more svg { transform: translateX(3px); }
/* nejnovější díl přes celou šířku */
.post--featured { grid-column: 1 / -1; }
.post--featured .post__link { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.post--featured .post__img { aspect-ratio: auto; min-height: 100%; }
.post--featured .post__txt { justify-content: center; padding: clamp(1.4rem, 3vw, 2.8rem); }
.post--featured .post__t { font-size: clamp(2rem, 1.4rem + 2vw, 3.2rem); }
.post--featured .post__ex { font-size: 1.06rem; }
/* stránka dílu */
.post-page .crumb { margin: 0 0 1.6rem; }
.crumb a { font: 550 .92rem/1 var(--sans); color: var(--wine); text-decoration: none; }
.crumb a:hover { text-decoration: underline; text-underline-offset: .2em; }
.post-page .entry__head h1 { font-size: clamp(2.5rem, 1.6rem + 3.4vw, 4.6rem); }
.post__by { margin: 1rem 0 0; font: italic 400 1.15rem/1.3 var(--serif); color: var(--mute); }
.post-page .entry__lead { margin: 2rem 0 2.2rem; max-width: 64rem; }
.pnav { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: clamp(2.4rem, 6vh, 3.6rem); }
.pnav__a { display: flex; flex-direction: column; gap: .5rem; padding: 1.1rem 1.3rem; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); text-decoration: none; color: inherit; transition: border-color .2s; }
.pnav__a:hover { border-color: var(--wine); }
.pnav__a .kicker { margin: 0; }
.pnav__t { font: 400 1.35rem/1.15 var(--serif); color: var(--wine); }
.pnav__next { grid-column: 2; text-align: right; }
@media (max-width: 900px) {
  .post--featured .post__link { display: flex; }
  .post--featured .post__img { aspect-ratio: 3 / 2; min-height: 0; }
}
@media (max-width: 760px) {
  .posts { grid-template-columns: 1fr; }
  .pnav { grid-template-columns: 1fr; }
  .pnav__next { grid-column: auto; text-align: left; }
}

/* deník: dva díly v pořadí čtení, na konci dílu pokračování (Ondra 29. 10.) */
.posts--series { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.post__txt { position: relative; }
.post__n { position: absolute; right: clamp(1rem, 2vw, 1.6rem); top: -2.6rem; width: 4.6rem; height: 4.6rem; display: grid; place-items: center; border-radius: 50%; background: var(--wine); color: #FFF6EE; font: 400 2.4rem/1 var(--serif); box-shadow: 0 10px 24px -12px rgba(112, 29, 43, .7); }
.pnav { display: block; }
.nextpart { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); text-decoration: none; color: inherit; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: 0 22px 44px -32px rgba(43, 37, 35, .45); transition: transform .45s var(--ease); }
.nextpart:hover { transform: translateY(-3px); }
.nextpart__img { display: block; min-height: 100%; background: #E9E3DC; }
.nextpart__img img { width: 100%; height: 100%; object-fit: cover; }
.nextpart__txt { display: flex; flex-direction: column; gap: .55rem; padding: clamp(1.2rem, 2.5vw, 2rem); }
.nextpart__txt .kicker { margin: 0; }
.nextpart__t { font: 400 clamp(1.7rem, 1.3rem + 1.2vw, 2.4rem)/1.08 var(--serif); color: var(--wine); }
.pnav__prev { display: inline-flex; margin-top: .2rem; }
@media (max-width: 760px) {
  .posts--series { grid-template-columns: 1fr; gap: 2.4rem; }
  .post__n { width: 3.8rem; height: 3.8rem; top: -2.2rem; font-size: 2rem; }
  .nextpart { grid-template-columns: 1fr; }
  .nextpart__img { aspect-ratio: 3 / 2; min-height: 0; }
}
