/* Inspektor Filip – vzhled podle návrhu (papír, zápisník, razítko) */

:root {
  --paper: #F4EEE2;
  --panel: #EDE5D5;
  --sheet: #FBF8F1;
  --line: #DCCFB8;
  --rule: #E2D7C3;
  --ink: #231E19;
  --ink-2: #4A433B;
  --ink-3: #2C2620;
  --muted: #665D52;
  --placeholder: #7A7064;
  --accent: #A3341D;
  --footer: #2A221B;
  --footer-text: #CFC4B1;
  --tape: rgba(222, 205, 168, .8);
  --ph-a: #D6CAB3;
  --ph-b: #CFC2A9;
  --shadow-sheet: 0 1px 0 var(--line), 0 18px 40px rgba(35, 30, 25, .14);
  --shadow-photo: 0 6px 18px rgba(35, 30, 25, .16);

  --f-display: "Fraunces", Georgia, "Times New Roman", serif;
  --f-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-hand: "Caveat", "Segoe Print", "Bradley Hand", cursive;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: var(--ink); }
a:hover { color: var(--accent); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.sprite { position: absolute; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 10px 14px; z-index: 2000; }
.skip-link:focus { left: 8px; }
[hidden] { display: none !important; }

.wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
@media (max-width: 600px) { .wrap { padding-left: 16px; padding-right: 16px; } }

/* --- typografie ----------------------------------------------------------- */
.overline { margin: 0 0 8px; font-size: 13px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); }
.display { margin: 0; font-family: var(--f-display); font-weight: 600; font-size: clamp(42px, 5.4vw, 72px); line-height: 1.02; letter-spacing: -.02em; }
.display--xl { font-size: clamp(46px, 7vw, 96px); line-height: .98; letter-spacing: -.025em; max-width: 880px; }
.lead { margin: 0; font-size: 19px; color: var(--ink-2); max-width: 540px; }
.section-title { margin: 0; font-family: var(--f-display); font-size: clamp(34px, 4vw, 48px); font-weight: 600; line-height: 1.05; letter-spacing: -.01em; }
.section-title--md { font-size: clamp(30px, 3.4vw, 42px); margin-bottom: 28px; }
.handwriting { font-family: var(--f-hand); color: var(--ink-3); }
.field-label { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* --- hlavička a patička ------------------------------------------------------ */
.site-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 24px; padding-bottom: 24px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand__mark {
  width: 46px; height: 46px; border-radius: 50%; flex: none;
  border: 2px solid var(--accent); color: var(--accent);
  box-shadow: inset 0 0 0 3px var(--paper), inset 0 0 0 4px var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-display); font-weight: 700; font-size: 16px; transform: rotate(-8deg);
}
.brand__text { display: flex; flex-direction: column; }
.brand__name { font-family: var(--f-display); font-size: 24px; font-weight: 600; line-height: 1; }
.brand__domain { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-top: 5px; }
.nav { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 28px; font-weight: 500; font-size: 15px; }
.nav a { text-decoration: none; display: inline-block; padding: 10px 0; }
@media (max-width: 600px) { .site-header { padding-top: 16px; padding-bottom: 8px; gap: 8px; } .nav { gap: 0 18px; font-size: 14px; } }

.site-footer { background: var(--footer); color: #EDE5D5; }
.site-footer__inner { padding-top: 48px; padding-bottom: 48px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.site-footer__name { margin: 0; font-family: var(--f-display); font-size: 28px; font-weight: 600; }
.site-footer__text { margin: 6px 0 0; color: var(--footer-text); max-width: 460px; }
.site-footer__domain { margin: 0; font-size: 14px; color: var(--footer-text); }

/* --- tlačítka a odkazy -------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 4px; border: 1.5px solid var(--ink);
  font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer; background: transparent; color: var(--ink);
}
.btn--dark { background: var(--ink); color: var(--paper); }
.btn--dark:hover { background: #3a322b; color: var(--paper); }
.btn--outline:hover { background: var(--sheet); color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.btn-row .btn { flex: 1 1 140px; }
.link-accent { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 14px; font-weight: 600; color: var(--accent); text-decoration: none; }
.link-accent svg { width: 18px; height: 18px; }
.link-strong { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
.link-button { min-height: 44px; padding: 0 4px; border: 0; background: transparent; font-size: 13px; font-weight: 600; text-decoration: underline; cursor: pointer; color: var(--ink); }

/* --- hvězdičky ------------------------------------------------------------------ */
.stars { display: inline-flex; flex-wrap: wrap; gap: 2px; vertical-align: middle; }
.star { width: 20px; height: 20px; fill: currentColor; flex: none; }
.stars--food { color: var(--accent); }
.stars--env { color: var(--ink); }
.stars--xs .star { width: 14px; height: 14px; }
.stars--xs { gap: 1px; }
.stars--sm .star { width: 18px; height: 18px; }
.stars--lg { gap: 4px; margin-top: 10px; }
.stars--lg .star { width: 26px; height: 26px; }
.stars__none { font-size: 13px; color: var(--muted); }

/* --- fotky (polaroid s páskou) ------------------------------------------------- */
.polaroid { margin: 0; position: relative; background: #fff; padding: 10px 10px 6px; box-shadow: var(--shadow-photo); transform: rotate(var(--rot, -1.5deg)); }
.polaroid__tape { position: absolute; top: -12px; left: 50%; width: 100px; height: 26px; margin-left: -50px; background: var(--tape); transform: rotate(-3deg); z-index: 1; }
.polaroid img, .polaroid .ph { width: 100%; height: 190px; object-fit: cover; }
.polaroid--natural { width: fit-content; max-width: 100%; }
.polaroid--natural img { width: auto; max-width: 100%; height: auto; max-height: 560px; }
.polaroid figcaption { font-family: var(--f-hand); font-size: 22px; line-height: 1.2; padding-top: 6px; min-height: 8px; }
.ph { background: repeating-linear-gradient(135deg, var(--ph-a) 0 12px, var(--ph-b) 12px 24px); display: flex; align-items: flex-end; padding: 12px; }
.ph__label { display: flex; gap: 6px; align-items: center; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #3D352D; }
.ph__label svg { width: 16px; height: 16px; }

/* --- zápisník (linkovaný papír) ------------------------------------------------ */
.notebook {
  position: relative; border-radius: 2px; box-shadow: var(--shadow-sheet);
  background-color: var(--sheet);
  background-image: repeating-linear-gradient(to bottom, transparent 0 31px, var(--rule) 31px 32px);
  padding: 28px 28px 32px 64px;
}
.notebook::before { content: ""; position: absolute; top: 0; bottom: 0; left: 44px; width: 1.5px; background: var(--accent); opacity: .45; }
.notebook__meta { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.notebook__title { margin: 26px 0 2px; font-family: var(--f-display); font-size: 34px; font-weight: 600; line-height: 1.1; }
.notebook__sub { margin: 0 0 14px; color: var(--muted); font-size: 15px; }
.notebook__quote { margin: 14px 0 0; font-size: 28px; line-height: 32px; }
.notebook--hero { width: 100%; max-width: 460px; transform: rotate(-1.2deg); }
.notebook--hero .polaroid { margin-top: 22px; }
.notebook--hero .notebook__quote { padding-right: 96px; }
.notebook--wide { padding: 48px 48px 48px 96px; }
.notebook--wide::before { left: 64px; }
@media (max-width: 600px) {
  .notebook { padding: 24px 18px 28px 44px; }
  .notebook::before { left: 28px; }
  .notebook--wide { padding: 32px 20px 32px 48px; }
  .notebook--wide::before { left: 30px; }
}

/* --- razítko -------------------------------------------------------------------- */
.stamp {
  border-radius: 50%; border: 3px solid var(--accent); color: var(--accent);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  font-weight: 600; text-transform: uppercase; line-height: 1.25; letter-spacing: .12em;
  box-shadow: inset 0 0 0 4px var(--sheet), inset 0 0 0 5px var(--accent);
}
.stamp span { font-family: var(--f-display); letter-spacing: 0; text-transform: none; }
.stamp--sm { position: absolute; right: 22px; bottom: 26px; width: 104px; height: 104px; font-size: 11px; transform: rotate(-14deg); opacity: .85; }
.stamp--sm span { font-size: 20px; }
.stamp--lg { width: 156px; height: 156px; flex: none; align-self: center; margin-left: 24px; font-size: 12px; letter-spacing: .16em; transform: rotate(-12deg);
  border-width: 4px; box-shadow: inset 0 0 0 5px var(--paper), inset 0 0 0 7px var(--accent); }
.stamp--lg span { font-size: 24px; margin: 2px 0; }

/* --- úvod ------------------------------------------------------------------------- */
.hero { padding-top: 48px; padding-bottom: 72px; display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.hero__text { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero__sheet { flex: 1 1 400px; min-width: 0; display: flex; justify-content: center; }
.hero .overline { margin: 0; }
.rating-rows { display: flex; flex-direction: column; gap: 6px; }
.rating-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.rating-row--start { justify-content: flex-start; }
.rating-row__label { flex: none; width: 92px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.rating-row .stars { flex: 1; min-width: 0; }
.rating-row:not(.rating-row--start) .stars { justify-content: flex-end; }
@media (max-width: 600px) { .hero { padding-top: 16px; gap: 40px; } .stamp--sm { width: 84px; height: 84px; font-size: 9px; right: 12px; } .stamp--sm span { font-size: 16px; } }

/* --- hledání a filtry ------------------------------------------------------------- */
.search { display: flex; flex-direction: column; gap: 10px; max-width: 560px; }
.search__label { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.search__row { display: flex; gap: 8px; flex-wrap: wrap; }
.search__row .btn { min-height: 52px; padding: 0 26px; }
.search__field { flex: 1 1 260px; display: flex; align-items: center; gap: 10px; background: var(--sheet); border: 1.5px solid var(--ink); border-radius: 4px; padding: 0 14px; min-height: 52px; }
.search__field svg { width: 20px; height: 20px; flex: none; }
.search__field input { flex: 1; min-width: 0; border: 0; background: transparent; font-size: 17px; padding: 12px 0; outline: none; }
.search__field input::placeholder { color: var(--placeholder); }
.search__field:focus-within { outline: 3px solid var(--accent); outline-offset: 2px; }
.search__field--sm { min-height: 46px; border: 1px solid #BFB29C; padding: 0 12px; flex: none; }
.search__field--sm input { font-size: 15px; padding: 10px 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.chip { min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--ink); background: transparent; font-size: 14px; font-weight: 500; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); }

/* --- statistiky ------------------------------------------------------------------- */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats__inner { padding-top: 28px; padding-bottom: 28px; display: flex; flex-wrap: wrap; gap: 24px 48px; justify-content: space-between; }
.stat { display: flex; flex-direction: column; }
.stat__value { font-family: var(--f-display); font-size: 44px; font-weight: 600; line-height: 1; }
.stat__label { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }

/* --- sekce ---------------------------------------------------------------------- */
.section { padding-top: 80px; padding-bottom: 40px; }
.section--first { padding-top: 24px; }
.section--last { padding-bottom: 96px; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 32px; }
.section-head__note { margin: 0; color: var(--ink-2); max-width: 380px; }

/* --- mapa a seznam ---------------------------------------------------------------- */
.map-layout { display: flex; flex-wrap: wrap; gap: 24px; align-items: stretch; }
.place-panel { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; background: var(--panel); border-radius: 4px; overflow: hidden; max-height: 640px; }
.place-panel__head { padding: 16px; display: flex; flex-direction: column; gap: 10px; border-bottom: 1px solid var(--line); }
.place-panel__count { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--muted); }
.place-list { list-style: none; margin: 0; padding: 0; overflow-y: auto; flex: 1; }
.place-item { display: flex; align-items: stretch; border-bottom: 1px solid var(--line); }
.place-item.is-active { background: var(--sheet); }
.place-item__btn { flex: 1; min-width: 0; text-align: left; border: 0; background: transparent; padding: 16px; cursor: pointer; display: flex; gap: 14px; align-items: flex-start; }
.place-item__no { flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: var(--sheet); font-size: 13px; font-weight: 600; display: flex; align-items: center; justify-content: center; }
.place-item.is-active .place-item__no { background: var(--accent); }
.place-item__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.place-item__name { font-family: var(--f-display); font-size: 20px; font-weight: 600; line-height: 1.2; }
.place-item__addr { font-size: 14px; color: var(--muted); }
.place-item__ratings { display: flex; flex-direction: column; gap: 4px; margin-top: 6px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.place-item__ratings > span { display: flex; align-items: center; gap: 6px; }
.place-item__link { flex: none; width: 52px; display: flex; align-items: center; justify-content: center; color: var(--ink); }
.place-item__link svg { width: 20px; height: 20px; }
.place-empty { padding: 32px 16px; text-align: center; }
.place-empty .handwriting { font-size: 28px; margin: 0; }
.place-empty p:last-child { margin: 4px 0 0; font-size: 14px; color: var(--muted); }

.map-box { flex: 999 1 560px; min-width: 0; position: relative; height: 640px; border-radius: 4px; overflow: hidden; border: 1px solid var(--line); background: #E9E1CF; }
.map { position: absolute; inset: 0; }
.map__fallback { padding: 24px; }
@media (max-width: 700px) { .map-box { height: 420px; flex-basis: 100%; } .place-panel { max-height: 520px; } }

/* mapové podklady v teplejším tónu papíru */
.leaflet-container { font-family: var(--f-body); background: #E9E1CF; }
.leaflet-tile-pane { filter: sepia(.28) saturate(.82) brightness(1.02); }
.leaflet-control-attribution { font-size: 11px; background: rgba(251, 248, 241, .88) !important; }
.leaflet-bar a { background: var(--sheet); color: var(--ink); border-color: var(--line); width: 36px !important; height: 36px !important; line-height: 36px !important; }

.pin { background: none; border: 0; }
.pin__shape {
  width: 40px; height: 40px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg);
  background: var(--ink); border: 2.5px solid var(--sheet); box-shadow: 0 4px 10px rgba(35, 30, 25, .3);
  display: flex; align-items: center; justify-content: center;
}
.pin__shape span { transform: rotate(45deg); color: var(--sheet); font-size: 14px; font-weight: 600; font-family: var(--f-body); }
.pin.is-active .pin__shape { background: var(--accent); }

.leaflet-popup-content-wrapper { background: var(--sheet); border: 1px solid var(--line); border-radius: 4px; box-shadow: 0 10px 28px rgba(35, 30, 25, .2); color: var(--ink); }
.leaflet-popup-tip { background: var(--sheet); }
.leaflet-popup-content { margin: 14px 16px; font-size: 13px; line-height: 1.4; }
.leaflet-popup-content p { margin: 0; }
.popup__meta { margin: 0; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.popup__name { margin: 4px 0 2px; font-family: var(--f-display); font-size: 20px; font-weight: 600; line-height: 1.15; }
.popup__addr { margin: 0; color: var(--muted); }
.popup__rating { margin: 8px 0 0 !important; font-weight: 600; }
.popup__link { display: inline-flex; min-height: 32px; align-items: center; margin-top: 4px; font-weight: 600; color: var(--accent) !important; text-decoration: none; font-size: 14px; }

/* --- karty protokolů -------------------------------------------------------------- */
.card-grid { display: flex; flex-wrap: wrap; gap: 40px 28px; }
.card-grid > .card, .card-wrap { flex: 1 1 320px; min-width: 0; max-width: 100%; }
.card-wrap { display: flex; }
@media (min-width: 1100px) { .card-grid > .card, .card-wrap { max-width: calc((100% - 56px) / 3); } }
.card { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); background: var(--sheet); border: 1px solid var(--line); border-radius: 2px; padding: 22px 22px 24px; width: 100%; }
.card:hover { color: var(--ink); border-color: #c9b99c; }
.card:hover .card__title { color: var(--accent); }
.card__meta { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.card .polaroid { margin: 18px 6px 0; padding: 9px 9px 4px; }
.card .polaroid img, .card .polaroid .ph { height: 180px; }
.card__title { margin: 22px 0 2px; font-family: var(--f-display); font-size: 26px; font-weight: 600; line-height: 1.15; }
.card__addr { margin: 0 0 14px; font-size: 14px; color: var(--muted); }
.card__ratings { display: flex; flex-direction: column; gap: 6px; padding: 12px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.card__ratings .rating-row__label { width: auto; }
.card__ratings .stars { max-width: 75%; }
.card__note { margin: 14px 0 0; font-size: 25px; line-height: 1.15; }
.protocols-search { width: 320px; max-width: 100%; }
.empty-note { font-size: 28px; text-align: center; padding: 40px 0; }

/* --- metodika ------------------------------------------------------------------- */
.method { display: flex; flex-wrap: wrap; gap: 32px; }
.method > div { flex: 1 1 220px; min-width: 0; }
.method p { margin: 6px 0 0; color: var(--ink-2); }
.method .method__title { margin: 0; font-family: var(--f-display); font-size: 22px; font-weight: 600; color: var(--ink); }

/* --- detail podniku --------------------------------------------------------------- */
.crumbs { padding-top: 8px; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.place-head { padding-top: 36px; padding-bottom: 48px; }
.place-head .overline { margin-bottom: 12px; }
.facts-inline { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 28px; color: var(--ink-2); }
.facts-inline li { display: flex; align-items: center; gap: 8px; }
.facts-inline svg { width: 18px; height: 18px; flex: none; }
.scores { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 40px; align-items: stretch; }
.score { flex: 1 1 280px; max-width: 420px; background: var(--sheet); border: 1px solid var(--line); border-radius: 2px; padding: 22px 26px; }
.score__label { margin: 0; font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.score__value { display: flex; align-items: baseline; gap: 10px; margin-top: 6px; }
.score__num { font-family: var(--f-display); font-size: 88px; font-weight: 600; line-height: 1; }
.score__num--accent { color: var(--accent); }
.score__unit { font-family: var(--f-display); font-size: 26px; color: var(--muted); }
@media (max-width: 700px) { .stamp--lg { margin: 8px 0 0 12px; width: 128px; height: 128px; } .stamp--lg span { font-size: 20px; } }

.place-body { padding-top: 24px; padding-bottom: 72px; display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.place-main { flex: 999 1 620px; min-width: 0; display: flex; flex-direction: column; gap: 56px; }
.place-side { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }

.gallery { display: flex; flex-wrap: wrap; gap: 32px; padding: 12px 8px 0; align-items: flex-start; }
.gallery__item { flex: 1 1 280px; min-width: 0; text-decoration: none; color: var(--ink); }
.gallery__item:nth-child(even) { margin-top: 24px; }
.gallery .polaroid { padding: 12px 12px 6px; box-shadow: 0 8px 22px rgba(35, 30, 25, .16); }
.gallery .polaroid figcaption { font-size: 25px; }

.notebook--zapis { background-image: repeating-linear-gradient(to bottom, transparent 0 35px, var(--rule) 35px 36px); padding: 36px 40px 44px 92px; }
.notebook--zapis::before { left: 64px; }
.notebook__head { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; min-height: 36px; align-items: center; }
.notebook__head h2 { margin: 0; font-size: 13px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.notebook__head span { font-size: 13px; color: var(--muted); }
.zapis__text { font-size: 30px; line-height: 36px; margin: 0; }
.zapis__text p { margin: 0; }
.zapis__text--empty { color: var(--placeholder); }
.zapis__ordered { margin: 0; font-size: 15px; line-height: 36px; }
.zapis__ordered span { font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-size: 12px; margin-right: 8px; }
.zapis__sign { margin: 0; text-align: right; font-size: 32px; line-height: 36px; }
@media (max-width: 600px) { .notebook--zapis { padding: 28px 18px 32px 48px; } .notebook--zapis::before { left: 30px; } .zapis__text { font-size: 26px; } }

.pager { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); padding-top: 24px; }
.pager__link { display: flex; flex-direction: column; text-decoration: none; min-height: 44px; }
.pager__link--next { text-align: right; }
.pager__label { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.pager__name { font-family: var(--f-display); font-size: 22px; font-weight: 600; }

.side-card { background: var(--sheet); border: 1px solid var(--line); border-radius: 2px; overflow: hidden; }
.side-card__body { padding: 22px 24px 24px; }
.side-card__title { margin: 0 0 10px; font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.side-card address { font-style: normal; font-size: 17px; line-height: 1.5; }
.side-card__name { display: block; font-family: var(--f-display); font-size: 22px; font-weight: 600; }
.mini-map { height: 280px; background: #E9E1CF; }
.facts { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); font-size: 15px; }
.facts dt, .facts dd { padding: 10px 0; border-top: 1px solid var(--rule); }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; text-align: right; }

.nearby { border-top: 1px solid var(--line); padding: 64px 0 88px; }
.nearby__grid { display: flex; flex-wrap: wrap; gap: 24px; }
.nearby__card { flex: 1 1 300px; min-width: 0; display: flex; gap: 16px; align-items: center; text-decoration: none; color: var(--ink); background: var(--sheet); border: 1px solid var(--line); border-radius: 2px; padding: 14px; }
.nearby__card:hover .nearby__name { color: var(--accent); }
.nearby__img { flex: none; width: 96px; height: 96px; object-fit: cover; border: 5px solid #fff; box-shadow: 0 3px 8px rgba(35, 30, 25, .14); transform: rotate(var(--rot, -1deg)); }
.nearby__text { display: flex; flex-direction: column; min-width: 0; }
.nearby__meta { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.nearby__name { margin: 2px 0; font-family: var(--f-display); font-size: 21px; font-weight: 600; line-height: 1.2; }
.nearby__rating { font-size: 14px; color: var(--ink-2); }

.error-page { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }

@media print {
  .site-header nav, .map-layout, .btn-row, .pager { display: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
