/* Roubenka u Mlýna – směr 3 „Na ostrově“
   Barvy jsou odebrané z fotky roubenka-nahon.jpg: tmavá zeleň vody a stínů,
   krémová omítka mlýna, hnědá trámů. */

:root {
  --reka: #3e2516;
  --reka-tmava: #32200f;
  --krem: #f3eddd;
  --krem-tmavy: #e6dec8;
  --tram: #a2471c;
  --list: #e4b764;
  --ink: #2b1d14;
  --seda: #6d5c4e;
  --linka: rgba(62, 37, 22, .2);
  --linka-sv: rgba(243, 237, 221, .22);
  --krem-tl: rgba(243, 237, 221, .74);

  --g: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --s: "Source Serif 4", Georgia, "Times New Roman", serif;

  --okraj: clamp(20px, 3.4vw, 48px);
  --oddil: clamp(72px, 9vw, 136px);
  /* O kolik fotka přesahuje sloupec, aby došla až k okraji stránky (nejvýš k šířce 1960 px jako první obrazovka). */
  --pres: calc(var(--okraj) + clamp(0px, (100vw - 1440px) / 2, 260px));
  --lista: 56px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--lista); overflow-x: clip; }

body {
  margin: 0;
  background: var(--krem);
  color: var(--ink);
  font-family: var(--s);
  font-size: 1.125rem;
  line-height: 1.5;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--tram); outline-offset: 3px; }
.panel :focus-visible, .pizza :focus-visible, .pata :focus-visible { outline-color: var(--list); }
h1, h2, h3, p, dl, dd, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }

.jen-tel { display: none; }

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.obal {
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: var(--okraj);
}

.nadpis {
  font-family: var(--g);
  font-weight: 650;
  font-size: clamp(2.25rem, 4.2vw, 3.75rem);
  line-height: 1;
  letter-spacing: -.03em;
  color: var(--reka);
  text-wrap: balance;
}

figcaption {
  margin-top: 10px;
  font-family: var(--g);
  font-size: .875rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--seda);
}

/* ---------- První obrazovka ---------- */

.uvod {
  display: grid;
  grid-template-columns: minmax(0, 65fr) minmax(0, 35fr);
  grid-template-rows: auto minmax(300px, 1fr) auto;
  min-height: clamp(680px, 100vh, 1040px);
  min-height: clamp(680px, 100svh, 1040px);
  max-width: 1960px;
  margin-inline: auto;
}

.hlava {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  align-content: center;
  justify-content: space-between;
  gap: 4px 32px;
  min-height: 88px;
  padding: 16px 40px 16px var(--okraj);
  font-family: var(--g);
}

.znacka {
  margin-left: -.03em;
  font-weight: 700;
  font-size: 2rem;
  line-height: 1.15;
  letter-spacing: -.035em;
  color: var(--reka);
  text-decoration: none;
  white-space: nowrap;
}

.navigace {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 22px;
  font-size: .9375rem;
  font-weight: 500;
}

.navigace a { text-decoration: none; color: var(--reka); white-space: nowrap; }
.navigace a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .4em; }

.hlava-tel { display: none; }

.uvod-foto {
  grid-column: 1;
  grid-row: 2;
  position: relative;
  background: var(--krem-tmavy);
}

.uvod-foto img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 42% 64%;
}

.uvod-titul {
  grid-column: 1;
  grid-row: 3;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: end;
  gap: 40px;
  padding: 32px 40px 44px var(--okraj);
}

.titul { font-family: var(--g); color: var(--reka); }

.titul-velky {
  display: block;
  font-weight: 700;
  font-size: clamp(3.25rem, 7.2vw, 7rem);
  line-height: .9;
  letter-spacing: -.045em;
  margin-left: -.04em;
}

.titul-maly {
  display: block;
  margin-top: 14px;
  font-weight: 400;
  font-size: clamp(1.125rem, 1.9vw, 1.75rem);
  line-height: 1.15;
  letter-spacing: -.015em;
}

.uvod-text {
  justify-self: end;
  max-width: 22.5rem;
  padding-bottom: 3px;
  text-wrap: pretty;
  font-size: 1.0625rem;
  line-height: 1.5;
}

/* Zelený panel: telefon, stav, dnešní oběd. Tři pole oddělená linkami,
   prostřední se natahuje s výškou okna a stav v něm stojí uprostřed. */

.panel {
  grid-column: 2;
  grid-row: 1 / -1;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 0 clamp(28px, 3.4vw, 48px) 44px;
  background: var(--reka);
  color: var(--krem);
}

@media (min-width: 1961px) {
  .panel::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 100%;
    width: 50vw;
    background: inherit;
  }
}

.p-tel {
  padding: 28px 0 30px;
  font-family: var(--g);
}

.p-popis {
  display: block;
  font-size: .9375rem;
  font-weight: 500;
  line-height: 24px;
  color: var(--krem-tl);
}

.p-tel a {
  display: inline-block;
  margin-top: 6px;
  font-weight: 650;
  font-size: clamp(2rem, 3.4vw, 3rem);
  line-height: 1;
  letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
  text-decoration: none;
  white-space: nowrap;
}

.p-adresa { display: block; margin-top: 12px; font-size: .9375rem; font-weight: 500; color: var(--krem-tl); }

.p-tel a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .18em; }

.p-stav {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px 0 32px;
  border-top: 1px solid var(--linka-sv);
}

.stav-hl {
  position: relative;
  padding-left: 30px;
  font-family: var(--g);
  font-weight: 650;
  font-size: clamp(1.625rem, 2.75vw, 2.5rem);
  line-height: 1.05;
  letter-spacing: -.035em;
}

.stav-hl::before {
  content: "";
  position: absolute;
  left: 1px;
  top: .34em;
  width: .38em;
  height: .38em;
  border-radius: 50%;
  background: var(--krem-tl);
}

.je-otevreno .stav-hl::before { background: #a9cc63; }
.je-zavreno .stav-hl::before { background: none; box-shadow: inset 0 0 0 2px var(--krem-tl); }

.stav-sub {
  margin-top: 10px;
  padding-left: 30px;
  font-size: 1.125rem;
  color: var(--krem-tl);
  text-wrap: pretty;
}

.p-obed {
  padding-top: 26px;
  border-top: 1px solid var(--linka-sv);
}

.p-obed-hl {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--g);
}

.p-obed-hl h2 {
  font-weight: 650;
  font-size: 1.4375rem;
  line-height: 1.2;
  letter-spacing: -.015em;
}

.p-obed-hl span { font-size: .9375rem; color: var(--krem-tl); white-space: nowrap; font-variant-numeric: tabular-nums; }

.p-obed-text { margin-top: 12px; font-size: 1.0625rem; color: var(--krem-tl); text-wrap: pretty; }

.p-jidla { margin-top: 14px; }

.p-jidla li {
  display: grid;
  grid-template-columns: 1.375rem minmax(0, 1fr) auto;
  column-gap: 4px;
  align-items: baseline;
  padding: 11px 0;
  font-size: 1.0625rem;
  line-height: 1.38;
}

.p-jidla li + li { border-top: 1px solid var(--linka-sv); }

.pj-c { font-family: var(--g); font-size: .875rem; font-weight: 500; color: var(--list); }
.pj-n { padding-right: 16px; text-wrap: pretty; }
.pj-pol { font-family: var(--g); font-style: normal; font-size: .875rem; font-weight: 500; color: var(--list); margin-right: .45em; }
.p-jidla .polevka .pj-n { grid-column: 1 / 3; }
.pj-k { font-family: var(--g); font-weight: 500; font-size: 1.0625rem; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Když už se nevaří oběd a peče se pizza, stojí v panelu místo menu pizza. */
/* Fotka je malá (429 px), proto nejvýš 400 px. Na počítači končí tam, kde v menu končí sloupec s názvy jídel. */
.p-pizza-foto { margin-top: 18px; }
.p-pizza-foto img { width: calc(100% - 4.625rem); max-width: 400px; aspect-ratio: 3 / 2; object-fit: cover; }

.p-dal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  margin-top: 22px;
  font-family: var(--g);
  font-size: 1rem;
  font-weight: 500;
}

/* ---------- Lišta při posouvání ---------- */

.lista { display: none; }

.js .lista {
  display: block;
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  background: var(--krem);
  border-bottom: 1px solid var(--linka);
  font-family: var(--g);
  color: var(--reka);
  transform: translateY(-100%);
  visibility: hidden;
  transition: transform .22s ease, visibility 0s linear .22s;
}

.js.mimo-uvod .lista {
  transform: none;
  visibility: visible;
  transition: transform .22s ease, visibility 0s;
}

.lista-in {
  display: flex;
  align-items: center;
  gap: 28px;
  height: var(--lista);
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: var(--okraj);
}

.lista-znacka {
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -.025em;
  text-decoration: none;
  white-space: nowrap;
}

.lista-nav { display: flex; gap: 22px; font-size: .9375rem; font-weight: 500; }
.lista-nav a { text-decoration: none; white-space: nowrap; }
.lista-nav a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .4em; }

.lista-stav {
  position: relative;
  margin-left: auto;
  padding-left: 17px;
  font-size: .9375rem;
  font-weight: 500;
  white-space: nowrap;
}

.lista-stav::before {
  content: "";
  position: absolute;
  left: 0;
  top: .42em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #6f9a2c;
}

.lista.je-zavreno .lista-stav::before { background: none; box-shadow: inset 0 0 0 2px var(--seda); }

.lista-tel {
  font-weight: 700;
  font-size: 1.125rem;
  font-variant-numeric: tabular-nums;
  text-decoration: none;
  white-space: nowrap;
}

.lista-tel b { font-weight: inherit; }
.lista-tel:hover b { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .22em; }
.lista-tel span { display: none; }

/* ---------- Oddíly ---------- */

.oddil { padding-block: var(--oddil); }

/* Dva světlé oddíly za sebou dělí jen jedna mezera, ne dvě. */
.svetly + .svetly { padding-top: 0; scroll-margin-top: 48px; }

/* Polední menu */

.obedy-mrizka,
.rozvoz-mrizka,
.rest-mrizka,
.ubyt-mrizka {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
}

.obedy-uvod { grid-column: 1 / span 4; display: flex; flex-direction: column; }
.obedy-listek { grid-column: 6 / -1; }

.tyden {
  margin-top: 20px;
  font-family: var(--g);
  font-weight: 500;
  font-size: 1.25rem;
  letter-spacing: -.01em;
  color: var(--tram);
  font-variant-numeric: tabular-nums;
}

.pozn { margin-top: 16px; max-width: 21rem; color: var(--seda); }

.obedy-foto { margin-top: 48px; margin-left: calc(-1 * var(--pres)); }
.js .obedy-foto { margin-top: auto; padding-top: 48px; }
.obedy-foto img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.obedy-foto figcaption { padding-left: var(--pres); }

.dny { display: none; }

.js .dny {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-bottom: 1px solid var(--linka);
}

.den-tl {
  appearance: none;
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin: 0 0 -1px;
  padding: 0 0 16px;
  border: 0;
  border-bottom: 3px solid transparent;
  border-radius: 0;
  background: none;
  color: var(--seda);
  font: inherit;
  font-family: var(--g);
  text-align: left;
  cursor: pointer;
}

.d-jm { font-weight: 500; font-size: 1.3125rem; line-height: 1.2; letter-spacing: -.015em; }
.d-dt { font-size: .9375rem; line-height: 1.3; font-variant-numeric: tabular-nums; }

.den-tl:hover .d-jm { color: var(--reka); }
.den-tl[aria-selected="true"] { border-bottom-color: var(--reka); color: var(--reka); }
.den-tl[aria-selected="true"] .d-jm { font-weight: 700; }
.den-tl.dnes .d-dt::after { content: " · dnes"; color: var(--tram); font-weight: 600; }

.den + .den { margin-top: 56px; }

.den-nazev {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--linka);
  font-family: var(--g);
  font-weight: 700;
  font-size: 1.3125rem;
  letter-spacing: -.015em;
  color: var(--reka);
}

.den-nazev span { margin-left: .4em; font-weight: 400; font-size: .9375rem; color: var(--seda); }

.js .den { display: none; margin-top: 0; }
.js .den.aktivni { display: block; }
.js .den-nazev { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; padding: 0; }

.jidlo {
  display: grid;
  grid-template-columns: 5.25rem minmax(0, 1fr) auto;
  column-gap: 20px;
  align-items: baseline;
  padding: 22px 0;
  border-bottom: 1px solid var(--linka);
}

.j-c { font-family: var(--g); font-weight: 600; font-size: .9375rem; color: var(--tram); font-variant-numeric: tabular-nums; }
.j-n { font-size: 1.375rem; line-height: 1.3; text-wrap: pretty; }
.j-n small { margin-left: .35em; font-family: var(--g); font-size: .875rem; color: var(--seda); white-space: nowrap; }
.j-k { font-family: var(--g); font-weight: 600; font-size: 1.1875rem; font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--reka); }

/* Pizza */

.pizza {
  padding-top: 0;
  background: var(--reka);
  color: var(--krem);
  scroll-margin-top: 88px;
}

.pizza .nadpis { color: var(--krem); }

.pizza-vrch {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
}

.pizza-text {
  grid-column: 1 / span 4;
  grid-row: 1;
  align-self: end;
  margin-bottom: -6px;
}

.citat {
  margin-top: 24px;
  font-style: italic;
  font-size: 1.3125rem;
  line-height: 1.4;
}

.pizza-foto {
  grid-column: 6 / -1;
  grid-row: 1;
  margin-top: -64px;
  margin-right: calc(-1 * var(--pres));
}

.pizza-foto img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.pizza-casy {
  grid-column: 6 / -1;
  grid-row: 2;
  padding-top: 36px;
}

.casy {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 24px;
  font-family: var(--g);
}

.casy div { display: flex; flex-direction: column; padding-top: 14px; border-top: 1px solid var(--linka-sv); }
.casy dt { padding-bottom: 2px; font-size: .9375rem; font-weight: 500; color: var(--krem-tl); }
.casy dd { margin-top: auto; font-weight: 650; font-size: 1.75rem; line-height: 1.2; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.casy .dnes { border-top-color: var(--list); }
.casy .dnes dt { color: var(--krem); }
.casy .dnes dt::after { content: "dnes"; margin-left: .6em; font-size: .875rem; font-weight: 600; color: var(--list); }

.pizza-pozn { margin-top: 24px; max-width: 34rem; font-size: 1.0625rem; color: var(--krem-tl); }
.pizza-pozn a { color: var(--krem); font-family: var(--g); font-weight: 600; white-space: nowrap; }

.listek-hl {
  display: flex;
  align-items: baseline;
  gap: 20px;
  margin-top: clamp(64px, 7vw, 104px);
  padding-bottom: 18px;
  border-bottom: 1px solid var(--linka-sv);
}

.listek-hl h3,
.navic h3 {
  font-family: var(--g);
  font-weight: 650;
  font-size: 1.75rem;
  letter-spacing: -.025em;
  line-height: 1.1;
}

.listek-hl p { color: var(--krem-tl); font-size: 1.0625rem; }

.pizzy { columns: 2; column-gap: 72px; }

.pizzy li {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr) auto;
  column-gap: 8px;
  align-items: baseline;
  padding: 17px 0 18px;
  border-bottom: 1px solid var(--linka-sv);
  break-inside: avoid;
}

.pz-c { font-family: var(--g); font-size: .875rem; font-weight: 500; color: var(--list); font-variant-numeric: tabular-nums; }
.pz-n { font-family: var(--g); font-weight: 650; font-size: 1.375rem; line-height: 1.2; letter-spacing: -.02em; }
.pz-k { font-family: var(--g); font-weight: 500; font-size: 1.0625rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pz-s { grid-column: 2 / -1; margin-top: 3px; font-size: 1rem; line-height: 1.4; color: var(--krem-tl); text-wrap: pretty; }

/* Tlačítko „všech 24 pizz“ je jen na telefonu, kde se lístek sbaluje. */
.pizzy-vic { display: none; }

.navic { margin-top: clamp(56px, 6vw, 88px); }
.navic h3 { padding-bottom: 18px; border-bottom: 1px solid var(--linka-sv); }

.navic-seznam {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 24px;
}

.navic-seznam div { padding: 18px 0 22px; }
.navic-seznam dt { font-family: var(--g); font-weight: 650; font-size: 1.75rem; line-height: 1.2; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.navic-seznam dd { margin-top: 6px; max-width: 17.5rem; font-size: 1rem; line-height: 1.45; color: var(--krem-tl); text-wrap: pretty; }

.pulene { padding-top: 20px; border-top: 1px solid var(--linka-sv); font-size: 1.0625rem; color: var(--krem-tl); }

/* Rozvoz */

.rozvoz-uvod { grid-column: 1 / span 4; }
.rozvoz-cenik { grid-column: 6 / -1; }

.rozvoz .pozn { margin-top: 24px; max-width: 23rem; }

.rozvoz-tel { margin-top: 36px; font-family: var(--g); }
.rozvoz-tel span { display: block; font-size: .9375rem; font-weight: 500; color: var(--seda); }

.rozvoz-tel a {
  display: inline-block;
  margin-top: 6px;
  font-weight: 650;
  font-size: clamp(2rem, 3.4vw, 3rem);
  line-height: 1;
  letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
  color: var(--reka);
  text-decoration: none;
  white-space: nowrap;
}

.rozvoz-tel a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .18em; }

.pasma { border-top: 1px solid var(--linka); }

.pasmo {
  display: grid;
  grid-template-columns: 5.25rem minmax(0, 1fr) 9.75rem;
  grid-template-rows: auto 1fr;
  grid-template-areas: "c o k" "c o p";
  column-gap: 20px;
  align-items: baseline;
  padding: 20px 0 21px;
  border-bottom: 1px solid var(--linka);
}

.ps-c { grid-area: c; font-family: var(--g); font-weight: 600; font-size: .9375rem; color: var(--tram); white-space: nowrap; }
.ps-o { grid-area: o; font-size: 1.25rem; line-height: 1.4; text-wrap: pretty; }
.ps-k { grid-area: k; text-align: right; font-family: var(--g); font-weight: 600; font-size: 1.1875rem; font-variant-numeric: tabular-nums; color: var(--reka); white-space: nowrap; }
.ps-p { grid-area: p; align-self: start; margin-top: 2px; text-align: right; font-family: var(--g); font-size: .875rem; line-height: 1.4; color: var(--seda); }
.ps-p span { display: block; white-space: nowrap; }

.pasma-pozn { margin-top: 18px; font-size: 1.0625rem; color: var(--seda); }

/* Restaurace a terasa */

.rest-mrizka { row-gap: clamp(56px, 7vw, 104px); }

.rest-f img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.rest-f2 img, .rest-f5 img { aspect-ratio: 2 / 3; }

.rest-f1 { grid-column: 1 / span 8; grid-row: 1; margin-left: calc(-1 * var(--pres)); }

.rest-text {
  grid-column: 9 / -1;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  padding-left: clamp(4px, 1.4vw, 20px);
}

.rest-text .nadpis { margin-top: -.08em; }
.rest-odstavce { max-width: 24rem; text-wrap: pretty; }
.rest-odstavce p + p { margin-top: .8em; }
.rest-odstavce a { font-family: var(--g); font-weight: 600; white-space: nowrap; }

.rest-f2 { grid-column: 2 / span 3; grid-row: 2; align-self: end; }
.rest-f3 { grid-column: 6 / -1; grid-row: 2; margin-right: calc(-1 * var(--pres)); }
.rest-f4 { grid-column: 1 / span 7; grid-row: 3; margin-left: calc(-1 * var(--pres)); }
.rest-f4 figcaption { padding-left: var(--pres); }
.rest-f5 { grid-column: 9 / span 3; grid-row: 3; align-self: end; }

/* Ubytování */

.ubyt-text { grid-column: 1 / span 4; display: flex; flex-direction: column; }
.ubyt-uvod { margin-top: 24px; max-width: 22rem; font-size: 1.25rem; line-height: 1.42; text-wrap: pretty; }

.ubyt-stav {
  max-width: 22rem;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--linka);
  font-family: var(--g);
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.45;
  color: var(--tram);
  text-wrap: pretty;
}

.ubyt-f img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.ubyt-f1 { grid-column: 6 / -1; margin-right: calc(-1 * var(--pres)); }
.ubyt-f2 { width: calc(75% - 6px); margin-top: auto; padding-top: 48px; }

/* Dárkové poukazy */

.poukazy-radek {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  align-items: baseline;
  padding: 30px 0 32px;
  border-top: 1px solid var(--linka);
  border-bottom: 1px solid var(--linka);
}

.poukazy-radek h2 {
  grid-column: 1 / span 5;
  font-family: var(--g);
  font-weight: 650;
  font-size: 1.75rem;
  letter-spacing: -.025em;
  line-height: 1.1;
  color: var(--reka);
}

.poukazy-radek p { grid-column: 6 / -1; font-size: 1.25rem; line-height: 1.4; }
.poukazy-radek a { font-family: var(--g); font-weight: 600; white-space: nowrap; }

/* Otevírací doba a kontakt */

.kontakt { padding-bottom: 0; }

.kontakt-mrizka {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
}

.hodiny-blok { grid-column: 1 / span 6; }
.kontakt-blok { grid-column: 8 / -1; }

.hodiny {
  width: 100%;
  margin-top: 36px;
  border-collapse: collapse;
  border-top: 1px solid var(--linka);
  font-family: var(--g);
  font-size: 1.1875rem;
  font-variant-numeric: tabular-nums;
}

.hodiny tr { border-bottom: 1px solid var(--linka); }
.hodiny th { padding: 15px 0; text-align: left; font-weight: 500; }
.hodiny td { width: 30%; padding: 15px 0 15px 16px; text-align: right; white-space: nowrap; }
.hodiny .zav { color: var(--seda); }
.hodiny .dnes th, .hodiny .dnes td { font-weight: 700; color: var(--reka); }
.hodiny .dnes .zav { font-weight: 500; color: var(--seda); }
.hodiny .dnes th::after {
  content: "dnes";
  margin-left: .7em;
  font-size: .875rem;
  font-weight: 600;
  color: var(--tram);
}

.udaje { margin-top: 36px; border-top: 1px solid var(--linka); }

.udaje > div {
  display: grid;
  grid-template-columns: 6.5rem minmax(0, 1fr);
  column-gap: 16px;
  padding: 15px 0;
  border-bottom: 1px solid var(--linka);
}

.udaje dt { font-family: var(--g); font-size: .9375rem; font-weight: 500; color: var(--seda); line-height: 1.8; }
.udaje dd { grid-column: 2; font-family: var(--g); font-size: 1.1875rem; line-height: 1.42; }
.udaje dd + dd { margin-top: 4px; }
.udaje .velky { font-weight: 700; font-variant-numeric: tabular-nums; }
.udaje .mensi { display: block; font-family: var(--s); font-size: 1rem; color: var(--seda); }

/* Fotka místa, vedle ní mapa a pár slov, jak se k nám dostat. */

.misto {
  display: grid;
  grid-template-columns: minmax(0, 65fr) minmax(0, 35fr);
  max-width: 1960px;
  margin: var(--oddil) auto 0;
}

.misto-foto { position: relative; background: var(--krem-tmavy); }
.misto-foto::before { content: ""; display: block; padding-top: 56.25%; }

.misto-foto img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 12%;
}

.misto-strana {
  display: flex;
  flex-direction: column;
  padding-left: clamp(28px, 3.4vw, 48px);
}

.mapa {
  position: relative;
  flex: 1 1 0;
  min-height: 230px;
  background: var(--krem);
  outline: 1px solid var(--linka);
  outline-offset: -1px;
}

/* Mapa se přes krémový podklad násobí, takže její bílá splyne se stránkou. */
.mapa iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: saturate(.85);
  mix-blend-mode: multiply;
}

.misto-text { padding: 28px var(--okraj) 44px 0; }

.misto-text h3 {
  font-family: var(--g);
  font-weight: 650;
  font-size: clamp(1.625rem, 2.5vw, 2.25rem);
  line-height: 1.05;
  letter-spacing: -.03em;
  color: var(--reka);
}

.misto-text p { margin-top: 14px; max-width: 22rem; text-wrap: pretty; }
.misto-odkaz { font-family: var(--g); font-size: 1rem; font-weight: 500; }

/* Patička */

.pata {
  padding-block: 56px 48px;
  background: var(--reka);
  color: var(--krem);
  font-family: var(--g);
  font-size: 1rem;
  line-height: 1.6;
}

.pata-mrizka {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 3fr) minmax(0, 2.5fr) minmax(0, 2.5fr);
  column-gap: 24px;
  align-items: start;
}

.pata-znacka { font-weight: 700; font-size: 1.375rem; letter-spacing: -.02em; line-height: 1.2; }
.pata-znacka span { display: block; margin-top: 6px; font-weight: 400; font-size: 1rem; letter-spacing: 0; color: var(--krem-tl); }
.pata-udaje { color: var(--krem-tl); }
.pata-udaje a { color: var(--krem); }

.pata-nav {
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: repeat(4, auto);
  justify-content: start;
  column-gap: 32px;
}

.pata-nav a { white-space: nowrap; }

/* ---------- Nižší okno na počítači: panel se stáhne, aby se vešel ---------- */

@media (min-width: 941px) and (max-height: 800px) {
  .hlava { min-height: 76px; padding-block: 12px; }
  .uvod-foto img { object-position: 42% 30%; }
  .uvod-titul { padding-top: 24px; padding-bottom: 32px; }
  .panel { padding-bottom: 30px; }
  .p-tel { padding: 20px 0 22px; }
  .p-adresa { margin-top: 8px; }
  .p-stav { padding: 22px 0 24px; }
  .stav-sub { margin-top: 6px; font-size: 1.0625rem; }
  .p-obed { padding-top: 20px; }
  .p-jidla { margin-top: 8px; }
  .p-jidla li { padding: 8px 0; font-size: 1rem; }
  .p-pizza-foto { margin-top: 14px; }
  .p-pizza-foto img { aspect-ratio: 2 / 1; }
  .p-dal { margin-top: 14px; }
}

/* ---------- Užší obrazovky ---------- */

@media (max-width: 1180px) {
  .uvod { grid-template-columns: minmax(0, 60fr) minmax(0, 40fr); }
  .hlava { padding-right: 28px; column-gap: 24px; }
  .znacka { font-size: 1.875rem; }
  .navigace { column-gap: 20px; font-size: .9375rem; }
  .uvod-titul { grid-template-columns: minmax(0, 1fr); align-content: start; gap: 14px; padding-top: 24px; padding-right: 28px; padding-bottom: 32px; }
  .uvod-text { justify-self: start; max-width: 34rem; font-size: 1rem; }
  .p-jidla li { font-size: 1rem; }
  .pizzy { column-gap: 48px; }
  .obedy-uvod { padding-right: 16px; }
  .obedy-listek, .rozvoz-cenik { grid-column: 5 / -1; }
  .j-n { font-size: 1.25rem; }
  .ps-o { font-size: 1.125rem; }
  .rest-f1 { grid-column: 1 / span 7; }
  .rest-text { grid-column: 8 / -1; }
  .rest-f2 { grid-column: 1 / span 3; }
  .rest-f3 { grid-column: 5 / -1; }
  .rest-f5 { grid-column: 9 / span 3; }
  .poukazy-radek p { font-size: 1.125rem; }
  .pata-mrizka { grid-template-columns: minmax(0, 4fr) minmax(0, 3fr) minmax(0, 3fr); row-gap: 28px; }
  .pata-nav { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px 26px; }
  .kontakt-blok { grid-column: 7 / -1; }
  .hodiny-blok { grid-column: 1 / span 5; }
  .hodiny td { width: auto; }
  .misto { grid-template-columns: minmax(0, 60fr) minmax(0, 40fr); }
  .lista-in { gap: 20px; }
  .lista-nav { gap: 16px; }
  .lista-stav { display: none; }
  .lista-tel { margin-left: auto; }
}

@media (max-width: 940px) {
  html { scroll-padding-top: 0; }

  .jen-pc { display: none; }
  .jen-tel { display: inline; }

  .uvod {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }

  .hlava {
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
    min-height: 0;
    padding: 0;
  }

  .znacka { margin-left: 0; padding: 14px 0 12px var(--okraj); font-size: clamp(1.3125rem, 6vw, 1.75rem); line-height: 1.2; }

  .hlava-tel {
    display: block;
    margin-left: auto;
    padding: 15px var(--okraj) 13px 12px;
    font-weight: 700;
    font-size: 1.125rem;
    font-variant-numeric: tabular-nums;
    color: var(--reka);
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: .25em;
  }

  .navigace {
    order: 3;
    width: 100%;
    margin: 0;
    gap: 0;
    flex-wrap: nowrap;
    justify-content: space-between;
    padding: 0 var(--okraj);
    border-top: 1px solid var(--linka);
    font-size: .9375rem;
  }

  .navigace a { padding: 8px 0 9px; }

  .uvod-foto { aspect-ratio: 16 / 9; }

  .uvod-titul { display: contents; }

  .titul { order: 3; padding: 18px var(--okraj) 18px; }
  .titul-velky { font-size: clamp(3rem, 14vw, 4.5rem); }
  .titul-maly { margin-top: 8px; font-size: 1.1875rem; }

  .panel { order: 4; padding: 22px var(--okraj) 26px; }
  .panel::after { display: none; }
  .p-tel { display: none; }
  .p-stav { display: block; padding: 0; border-top: 0; }
  .stav-hl { font-size: 1.625rem; padding-left: 22px; }
  .stav-sub { margin-top: 4px; padding-left: 22px; font-size: 1rem; }
  .p-obed { margin-top: 16px; padding-top: 15px; }
  .p-obed-hl h2 { font-size: 1.25rem; }
  .p-obed-text { margin-top: 8px; font-size: 1rem; }
  .p-jidla { margin-top: 6px; }
  .p-jidla li { padding: 6px 0; font-size: 1rem; line-height: 1.3; }
  .pj-k { font-size: 1rem; }
  .p-pizza-foto { margin-top: 14px; }
  .p-pizza-foto img { width: 100%; }
  .p-dal { margin-top: 16px; }

  .uvod-text {
    order: 5;
    justify-self: auto;
    max-width: 34rem;
    padding: 40px var(--okraj) 0;
    font-size: 1.125rem;
  }

  /* Lišta je na telefonu dole a zelená: vlevo stav, vpravo telefon. */
  .js .lista {
    top: auto;
    bottom: 0;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background: var(--reka);
    border-bottom: 0;
    border-top: 1px solid var(--linka-sv);
    color: var(--krem);
    transform: translateY(100%);
  }

  .js.mimo-hlavu .lista {
    transform: none;
    visibility: visible;
    transition: transform .22s ease, visibility 0s;
  }

  .lista-in {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "z t" "s t";
    gap: 0 16px;
    height: auto;
    padding-block: 9px 10px;
  }

  .lista :focus-visible { outline-color: var(--list); }
  .lista-nav { display: none; }
  .lista-znacka { grid-area: z; font-size: .8125rem; font-weight: 500; letter-spacing: 0; line-height: 1.35; color: var(--krem-tl); }
  .lista-stav { display: block; grid-area: s; margin: 0; padding-left: 15px; font-size: 1rem; font-weight: 600; line-height: 1.3; }
  .lista-stav::before { top: .36em; background: var(--list); }
  .lista.je-zavreno .lista-stav::before { box-shadow: inset 0 0 0 2px var(--krem-tl); }
  .lista-tel { grid-area: t; align-self: center; margin: 0; text-align: right; font-size: 1.25rem; line-height: 1.2; }
  .lista-tel b { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .22em; }
  .lista-tel span { display: block; font-size: .8125rem; font-weight: 500; line-height: 1.35; color: var(--krem-tl); }
  .js .pata { padding-bottom: 96px; }

  .svetly + .svetly { scroll-margin-top: 24px; }
  .pizza { scroll-margin-top: 0; }

  .obedy-mrizka, .rozvoz-mrizka, .ubyt-mrizka, .kontakt-mrizka { display: flex; flex-direction: column; }
  .obedy-uvod, .ubyt-text { display: contents; }
  .obedy-listek { margin-top: 36px; }
  .obedy-foto, .js .obedy-foto { order: 2; margin: 44px 15% 0 calc(-1 * var(--okraj)); padding: 0; }
  .obedy-foto figcaption { padding-left: var(--okraj); }
  .pozn { max-width: 30rem; }

  .d-jm { font-size: 1.25rem; }
  .d-dt { font-size: .8125rem; }
  .den-tl { padding-bottom: 12px; }
  .den-tl.dnes .d-dt::after { content: ""; }
  .den-tl.dnes .d-jm::after { content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 6px; border-radius: 50%; background: var(--tram); vertical-align: .12em; }

  .jidlo { grid-template-columns: 1.375rem minmax(0, 1fr) auto; column-gap: 8px; padding: 16px 0; }
  .jidlo.polevka .j-c { grid-column: 1 / -1; margin-bottom: 2px; }
  .jidlo.polevka .j-n { grid-column: 1 / 3; }
  .j-n { font-size: 1.1875rem; padding-right: 8px; }
  .j-k { font-size: 1.0625rem; }

  .pizza-vrch { display: flex; flex-direction: column; }
  .pizza-foto { order: -1; margin: 0 calc(-1 * var(--okraj)); }
  .pizza-text { align-self: stretch; margin: 40px 0 0; }
  .citat { margin-top: 16px; font-size: 1.1875rem; }
  .pizza-casy { padding-top: 28px; }
  .casy { display: block; border-top: 1px solid var(--linka-sv); }
  .casy div { display: flex; flex-direction: row; justify-content: space-between; align-items: baseline; gap: 16px; padding: 10px 0; border-top: 0; border-bottom: 1px solid var(--linka-sv); }
  .casy dt { padding: 0; font-size: 1rem; color: var(--krem); }
  .casy dd { margin: 0; font-size: 1.125rem; letter-spacing: -.01em; }
  .pizza-pozn { margin-top: 18px; }
  .listek-hl { flex-direction: column; gap: 4px; margin-top: 56px; }
  .pizzy { columns: 1; }
  .pizzy li { grid-template-columns: 2rem minmax(0, 1fr) auto; padding: 14px 0 15px; }
  .pz-n { font-size: 1.25rem; }

  .js .pizzy.sbaleno li:nth-child(n+9) { display: none; }
  .js .pizzy-vic { display: block; }

  .pizzy-vic button {
    appearance: none;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    margin: 0;
    padding: 17px 0 18px;
    border: 0;
    border-bottom: 1px solid var(--linka-sv);
    border-radius: 0;
    background: none;
    color: var(--krem);
    font: inherit;
    font-family: var(--g);
    font-weight: 650;
    font-size: 1.125rem;
    letter-spacing: -.01em;
    text-align: left;
    cursor: pointer;
  }

  .pv-znak::before { content: "+"; font-weight: 500; font-size: 1.375rem; line-height: 1; color: var(--list); }
  .pizzy-vic button[aria-expanded="true"] .pv-znak::before { content: "−"; }

  .navic { margin-top: 56px; }
  .navic-seznam { display: block; }
  .navic-seznam div { display: grid; grid-template-columns: 4.25rem minmax(0, 1fr); column-gap: 8px; align-items: baseline; padding: 13px 0 14px; border-bottom: 1px solid var(--linka-sv); }
  .navic-seznam dt { font-size: 1.125rem; letter-spacing: -.01em; }
  .navic-seznam dd { margin: 0; max-width: none; }
  .pulene { padding-top: 18px; border-top: 0; }

  .rozvoz .pozn { margin-top: 16px; max-width: 30rem; }
  .rozvoz-tel { margin-top: 24px; }
  .rozvoz-tel a { font-size: 2.25rem; }
  .rozvoz-cenik { margin-top: 32px; }
  .pasmo { grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto; grid-template-areas: "c k" "o o" "p p"; column-gap: 12px; padding: 14px 0 15px; }
  .ps-o { margin-top: 3px; font-size: 1.125rem; line-height: 1.38; }
  .ps-k { font-size: 1.125rem; }
  .ps-p { margin-top: 5px; text-align: left; }
  .ps-p span { display: inline; }
  .pasma-pozn { margin-top: 14px; font-size: 1rem; }

  .rest-mrizka { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 12px; row-gap: 0; }
  .rest-f1, .rest-text, .rest-f3, .rest-f4 { grid-column: 1 / -1; grid-row: auto; }
  .rest-f1 { order: 1; margin: 0 calc(-1 * var(--okraj)); }
  .rest-text { order: 2; display: block; margin-top: 36px; padding: 0; }
  .rest-text .nadpis { margin-top: 0; }
  .rest-odstavce { margin-top: 16px; max-width: 34rem; }
  .rest-f2 { order: 3; grid-column: 1; grid-row: auto; margin-top: 40px; align-self: start; }
  .rest-f5 { order: 4; grid-column: 2; grid-row: auto; margin-top: 40px; align-self: start; }
  .rest-f3 { order: 5; margin: 36px 0 0 calc(-1 * var(--okraj)); }
  .rest-f3 figcaption { padding-left: var(--okraj); }
  .rest-f4 { order: 6; margin: 36px calc(-1 * var(--okraj)) 0 0; }
  .rest-f4 figcaption { padding-left: 0; }

  .ubyt-uvod { margin-top: 16px; font-size: 1.1875rem; }
  .ubyt-stav { margin-top: 18px; padding-top: 16px; max-width: 30rem; font-size: 1rem; }
  .ubyt-f1 { order: 1; margin: 32px calc(-1 * var(--okraj)) 0; }
  .ubyt-f1 figcaption { padding-inline: var(--okraj); }
  .ubyt-f2 { order: 2; width: 72%; margin-top: 28px; padding: 0; }

  .poukazy-radek { display: block; padding: 22px 0 24px; }
  .poukazy-radek h2 { font-size: 1.5rem; }
  .poukazy-radek p { margin-top: 8px; font-size: 1.125rem; }

  .hodiny { margin-top: 24px; font-size: 1rem; }
  .hodiny th, .hodiny td { padding-block: 12px; }
  .hodiny td { padding-left: 10px; }
  .kontakt-blok { margin-top: 64px; }
  .udaje { margin-top: 24px; }
  .udaje > div { grid-template-columns: 5.25rem minmax(0, 1fr); column-gap: 12px; padding: 13px 0; }
  .udaje dd { font-size: 1.0625rem; }

  .misto { display: block; margin-top: 64px; }
  .misto-foto::before { padding-top: 66.667%; }
  .misto-strana { display: flex; flex-direction: column; padding: 0; }
  .misto-text { order: 1; padding: 28px var(--okraj) 0; }
  .mapa { order: 2; flex: none; height: 320px; min-height: 0; margin-top: 32px; }
  .kontakt { padding-bottom: 0; }

  .pata { padding-block: 44px 40px; }
  .pata-mrizka { grid-template-columns: 1fr 1fr; row-gap: 28px; }
  .pata-znacka, .pata-nav { grid-column: 1 / -1; }
  .pata-nav { display: flex; flex-direction: row; flex-wrap: wrap; gap: 6px 22px; }
}

@media (max-width: 600px) {
  /* Šest odkazů se do jedné řady nevejde: dvě řady po třech, kraje zarovnané. */
  .navigace { justify-content: flex-start; gap: 0 20px; overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 36px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 36px), transparent); padding-right: 36px; }
  .navigace::-webkit-scrollbar { display: none; }
}

@media (max-width: 520px) {
  .pata-mrizka { grid-template-columns: 1fr; row-gap: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .lista, .js.mimo-uvod .lista, .js.mimo-hlavu .lista { transition: none; }
}


/* ---------- Nápojový lístek ---------- */

.napoje-sloupce { margin-top: clamp(32px, 4vw, 56px); columns: 3; column-gap: 56px; }
.np-skupina { break-inside: avoid; padding-bottom: 44px; }
.np-skupina h3 { padding-bottom: 12px; border-bottom: 1px solid var(--linka); font-family: var(--g); font-weight: 650; font-size: 1.375rem; letter-spacing: -.025em; line-height: 1.15; color: var(--reka); }
.np-skupina li { display: grid; grid-template-columns: minmax(0, 1fr) auto 4.25rem; column-gap: 12px; align-items: baseline; padding: 9px 0 10px; border-bottom: 1px solid var(--linka); font-size: 1.0625rem; line-height: 1.35; }
.np-o { font-family: var(--g); font-size: .875rem; color: var(--seda); white-space: nowrap; }
.np-k { text-align: right; font-family: var(--g); font-weight: 600; font-variant-numeric: tabular-nums; color: var(--reka); white-space: nowrap; }
.napoje-vic { display: none; }

/* ---------- Aktuality ---------- */

.akt-mrizka { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: start; }
.akt-mrizka .nadpis { grid-column: 1 / span 4; }
.akt-seznam { grid-column: 6 / -1; border-top: 1px solid var(--linka); }
.akt { padding: 24px 0 26px; border-bottom: 1px solid var(--linka); }
.akt h3 { font-family: var(--g); font-weight: 650; font-size: 1.75rem; letter-spacing: -.025em; line-height: 1.1; color: var(--reka); }
.akt p { margin-top: 8px; max-width: 36rem; font-size: 1.25rem; line-height: 1.4; }
.akt a { font-family: var(--g); font-weight: 600; white-space: nowrap; }

.rozvoz-uvod { display: flex; flex-direction: column; }

@media (max-width: 1180px) {
  .napoje-sloupce { columns: 2; column-gap: 40px; }
}

@media (max-width: 940px) {
  .napoje-sloupce { columns: 1; margin-top: 28px; }
  .np-skupina { padding-bottom: 32px; }
  .js .napoje-sloupce.sbaleno .np-skupina:nth-child(n+4) { display: none; }
  .js .napoje-vic { display: block; }
  .napoje-vic button { appearance: none; display: flex; align-items: baseline; justify-content: space-between; gap: 16px; width: 100%; margin: 0; padding: 17px 0 18px; border: 0; border-top: 1px solid var(--linka); border-bottom: 1px solid var(--linka); border-radius: 0; background: none; color: var(--reka); font: inherit; font-family: var(--g); font-weight: 650; font-size: 1.125rem; letter-spacing: -.01em; text-align: left; cursor: pointer; }
  .napoje-vic .pv-znak::before { color: var(--tram); }
  .akt-mrizka { display: block; }
  .akt-seznam { margin-top: 24px; }
  .akt { padding: 18px 0 20px; }
  .akt h3 { font-size: 1.5rem; }
  .akt p { font-size: 1.125rem; }
  .rozvoz-foto, .js .rozvoz-foto { order: 3; }
}


/* ---------- Řady fotek stejné výšky ---------- */
/* Každá fotka má v HTML svůj poměr stran (--pomer). Řada jde od kraje ke kraji stránky
   a fotky se v ní neořezávají: širší fotka dostane víc místa, výška vyjde všem stejná. */

.oslavy-mrizka {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
}

.oslavy-text { grid-column: 1 / span 4; display: flex; flex-direction: column; }
.oslavy-uvod { margin-top: 24px; max-width: 23rem; font-size: 1.25rem; line-height: 1.42; text-wrap: pretty; }
.osl-f img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.osl-f1 { grid-column: 6 / -1; margin-right: calc(-1 * var(--pres)); }

@media (min-width: 941px) {
  .rest-mrizka, .oslavy-mrizka, .ubyt-mrizka { row-gap: clamp(40px, 4.6vw, 72px); }

  .pas {
    grid-column: 1 / -1;
    display: flex;
    align-items: flex-start;
    gap: clamp(12px, 1.25vw, 24px);
    margin-inline: calc(-1 * var(--pres));
  }

  .pas > figure { flex: var(--pomer, 1.5) 1 0; align-self: auto; min-width: 0; width: auto; margin: 0; padding: 0; }
  .pas > figure img { width: 100%; height: auto; aspect-ratio: var(--pomer, 1.5); object-fit: cover; }
  .pas > figure figcaption { padding-left: 0; }
  .pas > figure:first-child figcaption { padding-left: var(--okraj); }

  .pas-a { grid-row: 2; }
  .pas-b { grid-row: 3; }

  /* Ubytování: nadpis vlevo, text vpravo, pod nimi dvě velké fotky */
  .ubyt-text {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 24px;
    align-items: start;
  }

  .ubyt-text .nadpis { grid-column: 1 / span 5; grid-row: 1 / span 2; }
  .ubyt-uvod { grid-column: 6 / -1; margin-top: 0; max-width: 30rem; }
  .ubyt-stav { grid-column: 6 / -1; max-width: 30rem; }
}

@media (max-width: 940px) {
  .pas { display: contents; }

  .rest-f6 { order: 7; grid-column: 1 / -1; margin: 36px 0 0 calc(-1 * var(--okraj)); }
  .rest-f6 figcaption { padding-left: var(--okraj); }

  .oslavy-mrizka { display: flex; flex-direction: column; }
  .oslavy-text { display: block; }
  .oslavy-uvod { margin-top: 16px; max-width: 34rem; font-size: 1.1875rem; }
  .oslavy .rozvoz-tel { margin-top: 24px; }
  .osl-f1 { margin: 32px calc(-1 * var(--okraj)) 0; }
  .osl-f1 figcaption { padding-inline: var(--okraj); }
  .pas-c { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 12px; margin-top: 28px; }
  .pas-c .osl-f img { aspect-ratio: 4 / 3; }
  .pas-c .osl-f4 { grid-column: 1 / -1; }

  .ubyt-f2 { width: auto; margin: 28px calc(-1 * var(--okraj)) 0; }
  .ubyt-f2 figcaption { padding-inline: var(--okraj); }
}


/* ---------- Pohyb ---------- */
/* Třídu .pohyb dává skript v záhlaví stránky, jen když si návštěvník animace nevypnul.
   Třídy .ukaz, .foto, .ram a .videt přidává main.js. Bez skriptu je všechno vidět hned. */

.ram { display: block; overflow: hidden; background: var(--krem-tmavy); }
.pizza .ram { background: var(--reka-tmava); }

@media (prefers-reduced-motion: no-preference) {
  /* texty a řádky lístků: vyjedou zdola */
  .pohyb .ukaz {
    opacity: 0;
    translate: 0 26px;
    transition: opacity .8s cubic-bezier(.22, .61, .36, 1), translate .95s cubic-bezier(.22, .61, .36, 1);
    transition-delay: calc(var(--i, 0) * 60ms);
  }

  .pohyb .ukaz.videt { opacity: 1; translate: none; }

  /* fotky: odkryjí se zdola a pomalu se usadí */
  .pohyb .foto > .ram {
    clip-path: inset(100% 0 0 0);
    transition: clip-path 1.15s cubic-bezier(.65, 0, .2, 1);
    transition-delay: calc(var(--i, 0) * 110ms);
  }

  .pohyb .foto > .ram img {
    scale: 1.16;
    transition: scale 1.9s cubic-bezier(.22, .61, .36, 1);
    transition-delay: calc(var(--i, 0) * 110ms);
  }

  .pohyb .foto.videt > .ram { clip-path: inset(0); }
  .pohyb .foto.videt > .ram img { scale: 1; }

  .pohyb .foto figcaption { opacity: 0; transition: opacity .8s ease .55s; }
  .pohyb .foto.videt figcaption { opacity: 1; }

  /* první obrazovka při načtení */
  .pohyb .uvod-foto { overflow: clip; }
  .pohyb .uvod-foto img { animation: uvod-foto 2.6s cubic-bezier(.22, .61, .36, 1) backwards; }

  .pohyb .hlava > * { animation: uvod-dolu .8s cubic-bezier(.22, .61, .36, 1) backwards; }

  .pohyb .titul-velky,
  .pohyb .titul-maly,
  .pohyb .uvod-text,
  .pohyb .panel > * { animation: uvod-nahoru 1s cubic-bezier(.22, .61, .36, 1) backwards; }

  .pohyb .titul-velky { animation-delay: .2s; }
  .pohyb .titul-maly { animation-delay: .36s; }
  .pohyb .uvod-text { animation-delay: .5s; }
  .pohyb .panel > :nth-child(1) { animation-delay: .4s; }
  .pohyb .panel > :nth-child(2) { animation-delay: .54s; }
  .pohyb .panel > :nth-child(3) { animation-delay: .68s; }
  .pohyb .panel > :nth-child(4) { animation-delay: .82s; }

  /* polední menu: po přepnutí dne naskáčou řádky jeden po druhém */
  .pohyb .den.aktivni .jidlo { animation: radek .5s cubic-bezier(.22, .61, .36, 1) backwards; animation-delay: calc(var(--r, 0) * 55ms); }

  /* tečka u „Otevřeno“ tepe */
  .pohyb .je-otevreno .stav-hl::before { animation: tep 2.6s ease-out infinite; }
}

@media (prefers-reduced-motion: no-preference) and (hover: hover) {
  .pohyb .foto.videt > .ram:hover img { scale: 1.045; transition-duration: 1.4s; transition-delay: 0s; }
}

@keyframes uvod-foto {
  0% { opacity: 0; scale: 1.12; }
  45% { opacity: 1; }
  100% { opacity: 1; scale: 1; }
}

@keyframes uvod-nahoru { from { opacity: 0; translate: 0 28px; } }
@keyframes uvod-dolu { from { opacity: 0; translate: 0 -14px; } }
@keyframes radek { from { opacity: 0; translate: 16px 0; } }

@keyframes tep {
  0% { box-shadow: 0 0 0 0 rgba(169, 204, 99, .55); }
  70%, 100% { box-shadow: 0 0 0 10px rgba(169, 204, 99, 0); }
}

@media print {
  .pohyb .ukaz { opacity: 1; translate: none; }
  .pohyb .foto > .ram { clip-path: none; }
  .pohyb .foto > .ram img { scale: 1; }
  .pohyb .foto figcaption { opacity: 1; }
}

/* Poznámka u dne v poledním menu (z administrace) */
.den-pozn { margin-top: 18px; font-family: var(--g); font-size: .9375rem; color: var(--seda); }
