/* Blog look: Medium-style reading layout (one calm column, big serif text, generous spacing)
   dressed in the "Postcard Budapest" style of the main site: cream paper, navy ink outlines,
   hard shadows, coral and teal. Light and dark themes. */
:root {
  --ink: #1b1f3b; --paper: #fff3dc; --shade: #1b1f3b; --bg: #fff3dc; --bg2: #ffe9c2;
  --fg: #1b1f3b; --muted: #55587a; --card: #fffaf0; --line: #1b1f3b;
  --accent: #e8452c; --sun: #ffc94d;
  --p1: #e8452c; --p2: #12a594; --p3: #7b61ff; --p4: #2f6fed; --p5: #2ea44f; --p6: #e8488a; --p7: #f5a623;
  --font-display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Newsreader", Georgia, "Times New Roman", serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  /* mood colors, see the note further down */
  --m-joy: #ffc61a; --m-joy-bg: #fff4c9; --m-excited: #ff4d2e; --m-excited-bg: #ffe6dc; --m-love: #e8488a; --m-love-bg: #ffe4ee; --m-calm: #3a9fc4; --m-calm-bg: #e4f2f7; --m-nostalgic: #9583b8; --m-nostalgic-bg: #efe9f5; --m-sad: #74849b; --m-sad-bg: #e9edf2;
  --read: 680px; --wide: 1120px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #f6ead2; --paper: #15172f; --shade: #000; --bg: #15172f; --bg2: #1c1f3f;
    --fg: #f6ead2; --muted: #b2b5d6; --card: #1d2044; --line: #f6ead2; --accent: #ff7a59;
    --p1: #ff7a59; --p2: #3ddcc4; --p3: #a996ff; --p4: #6fa8ff; --p5: #52e08f; --p6: #ff7fb3; --p7: #ffc94d;
    --m-joy: #ffcf3d; --m-joy-bg: #1f1d2c; --m-excited: #ff7a59; --m-excited-bg: #24172a; --m-love: #ff7fb3; --m-love-bg: #23172f; --m-calm: #6cc6e8; --m-calm-bg: #12203a; --m-nostalgic: #b6a5dc; --m-nostalgic-bg: #1d1a38; --m-sad: #a2b1c7; --m-sad-bg: #171c30;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --ink: #f6ead2; --paper: #15172f; --shade: #000; --bg: #15172f; --bg2: #1c1f3f;
  --fg: #f6ead2; --muted: #b2b5d6; --card: #1d2044; --line: #f6ead2; --accent: #ff7a59;
  --p1: #ff7a59; --p2: #3ddcc4; --p3: #a996ff; --p4: #6fa8ff; --p5: #52e08f; --p6: #ff7fb3; --p7: #ffc94d;
  --m-joy: #ffcf3d; --m-joy-bg: #1f1d2c; --m-excited: #ff7a59; --m-excited-bg: #24172a; --m-love: #ff7fb3; --m-love-bg: #23172f; --m-calm: #6cc6e8; --m-calm-bg: #12203a; --m-nostalgic: #b6a5dc; --m-nostalgic-bg: #1d1a38; --m-sad: #a2b1c7; --m-sad-bg: #171c30;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font-family: var(--font-body); font-size: 18px; line-height: 1.6;
  background-image: radial-gradient(color-mix(in srgb, var(--ink) 14%, transparent) 1px, transparent 1.2px);
  background-size: 22px 22px;
}
img { max-width: 100%; height: auto; }
[hidden] { display: none !important; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--p4); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--card); padding: 8px 12px; border: 2px solid var(--ink); border-radius: 10px; z-index: 50; }
.skip:focus { left: 8px; }
.wrap { max-width: var(--read); margin-inline: auto; padding-inline: 20px; }
.wrap-wide { max-width: var(--wide); margin-inline: auto; padding-inline: 20px; }

/* ---------- top bar ---------- */
.bar { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 2.5px solid var(--ink); }
.bar .in { max-width: var(--wide); margin-inline: auto; padding: 10px 20px; display: flex; align-items: center; gap: 18px; }
.brand { font-family: var(--font-display); font-weight: 800; font-size: 22px; text-decoration: none; background: var(--sun); color: #1b1f3b; padding: 2px 12px 4px; border: 2.5px solid var(--ink); border-radius: 12px; box-shadow: 3px 3px 0 var(--shade); flex: none; }
.bar nav { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; flex: 1; min-width: 0; }
.bar nav::-webkit-scrollbar { display: none; }
.bar nav a { text-decoration: none; font-weight: 600; font-size: 17px; padding: 6px 10px; border-radius: 10px; white-space: nowrap; }
.bar nav a:hover, .bar nav a[aria-current="page"] { background: color-mix(in srgb, var(--sun) 55%, transparent); }
.theme { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 2.5px solid var(--ink); background: var(--card); color: var(--fg); font-size: 18px; cursor: pointer; box-shadow: 2px 2px 0 var(--shade); }
/* On phones the menu gets its own row, with all four items visible. */
.bar nav .long { text-transform: none; }
@media (max-width: 640px) {
  .bar .in { flex-wrap: wrap; row-gap: 4px; padding-block: 8px; }
  .brand { order: 1; } .theme { order: 2; margin-left: auto; }
  .bar nav { order: 3; flex-basis: 100%; overflow: visible; justify-content: space-between; gap: 0; }
  .bar nav a { font-size: 17px; padding: 8px 6px; }
}
@media (max-width: 420px) { .bar nav .long { display: none; } .bar nav a::first-letter { text-transform: uppercase; } }
.readbar { position: fixed; top: 0; left: 0; height: 4px; width: 0; background: var(--accent); z-index: 30; }

/* ---------- buttons, tags ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; font: 700 18px var(--font-body); text-decoration: none; padding: 12px 20px; border: 2.5px solid var(--ink); border-radius: 14px; background: var(--card); color: var(--fg); box-shadow: 4px 4px 0 var(--shade); cursor: pointer; transition: transform .15s, box-shadow .15s; }
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--shade); }
.btn.primary { background: var(--sun); color: #1b1f3b; }
.tag { display: inline-block; align-self: flex-start; justify-self: start; font: 600 15px var(--font-mono); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; color: var(--fg); background: color-mix(in srgb, var(--chap, var(--accent)) 28%, transparent); border: 2px solid var(--ink); border-radius: 8px; padding: 7px 12px; }
.meta { font: 500 15px var(--font-mono); letter-spacing: .03em; color: var(--muted); }

/* ---------- home: hero ---------- */
.hero { display: grid; gap: 28px; padding-block: 36px 20px; align-items: center; }
@media (min-width: 900px) { .hero { grid-template-columns: 1.05fr 1fr; gap: 48px; padding-block: 56px 28px; } }
.postcard { margin: 0; border: 2.5px solid var(--ink); border-radius: 22px; overflow: hidden; background: var(--card); box-shadow: 8px 8px 0 var(--shade); }
.postcard svg { display: block; width: 100%; height: auto; }
.postcard figcaption { font: 700 16px var(--font-mono); padding: 10px 16px; border-top: 2.5px solid var(--ink); }
.eyebrow { font: 700 15px var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); display: flex; gap: 10px; align-items: center; }
.eyebrow .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--p2); }
.hero h1 { font-family: var(--font-display); font-weight: 800; font-size: clamp(42px, 9vw, 76px); line-height: .98; letter-spacing: -.03em; margin: 12px 0 14px; text-shadow: 4px 4px 0 var(--sun); }
.hero .lede { font-family: var(--font-serif); font-size: clamp(21px, 2.6vw, 24px); line-height: 1.55; margin: 0 0 22px; max-width: 34ch; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- home: featured + cards ---------- */
.sec-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 44px 0 18px; }
.sec-h h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(28px, 5vw, 38px); letter-spacing: -.02em; margin: 0; }
.featured { display: grid; gap: 0; text-decoration: none; border: 2.5px solid var(--ink); border-radius: 22px; overflow: hidden; background: var(--card); box-shadow: 8px 8px 0 var(--shade); transition: transform .15s, box-shadow .15s; }
.featured:hover { transform: translate(-2px, -2px); box-shadow: 10px 10px 0 var(--shade); }
@media (min-width: 820px) { .featured { grid-template-columns: 1.2fr 1fr; } }
.featured .art { background: color-mix(in srgb, var(--chap) 26%, var(--paper)); display: grid; place-items: center; padding: 24px; border-bottom: 2.5px solid var(--ink); }
@media (min-width: 820px) { .featured .art { border-bottom: 0; border-right: 2.5px solid var(--ink); } }
.featured .txt { padding: 26px 28px 30px; display: flex; flex-direction: column; gap: 12px; justify-content: center; }
.featured h3 { font-family: var(--font-display); font-weight: 800; font-size: clamp(28px, 4vw, 40px); line-height: 1.05; letter-spacing: -.02em; margin: 0; }
.featured p { font-family: var(--font-serif); font-size: 22px; line-height: 1.5; margin: 0; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.filters button { font: 600 17px var(--font-body); padding: 7px 14px; border: 2px solid var(--ink); border-radius: 999px; background: var(--card); color: var(--fg); cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); list-style: none; padding: 0; margin: 0; }
.card a { display: flex; flex-direction: column; height: 100%; text-decoration: none; border: 2.5px solid var(--ink); border-radius: 20px; overflow: hidden; background: var(--card); box-shadow: 5px 5px 0 var(--shade); transition: transform .15s, box-shadow .15s; }
.card a:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--shade); }
.card .art { background: color-mix(in srgb, var(--chap) 26%, var(--paper)); border-bottom: 2.5px solid var(--ink); padding: 14px 16px; }
.card .txt { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card h3 { font-family: var(--font-display); font-weight: 800; font-size: 26px; line-height: 1.12; letter-spacing: -.01em; margin: 0; }
.card p { font-family: var(--font-serif); font-size: 20px; line-height: 1.45; margin: 0; color: var(--muted); flex: 1; }

/* ---------- about + guest book + footer ---------- */
.about { display: grid; gap: 24px; align-items: center; margin-top: 56px; padding: 28px; border: 2.5px solid var(--ink); border-radius: 22px; background: color-mix(in srgb, var(--p2) 16%, var(--card)); box-shadow: 8px 8px 0 var(--shade); }
@media (min-width: 760px) { .about { grid-template-columns: 140px 1fr; } }
.ava { width: 120px; height: 120px; border-radius: 50%; border: 2.5px solid var(--ink); background: var(--sun); display: grid; place-items: center; overflow: hidden; }
.ava svg { width: 100%; height: 100%; }
.about h2 { font-family: var(--font-display); font-weight: 800; font-size: 30px; margin: 0 0 8px; }
.about p { font-family: var(--font-serif); font-size: 21px; line-height: 1.6; margin: 0 0 10px; }

.guestbook { margin-top: 56px; }
.gb-form { display: grid; gap: 14px; padding: 22px; border: 2.5px solid var(--ink); border-radius: 20px; background: var(--card); box-shadow: 5px 5px 0 var(--shade); }
.gb-form label { display: grid; gap: 6px; font-weight: 600; }
.gb-form input, .gb-form textarea { font: 400 18px var(--font-body); padding: 11px 13px; border: 2px solid var(--ink); border-radius: 12px; background: var(--bg); color: var(--fg); width: 100%; }
.gb-form .btn { justify-self: start; }
.gb-status { margin: 0; min-height: 1.4em; font-weight: 600; }
.gb-status a { color: inherit; }
.gb-empty { margin: 16px 0 0; color: var(--muted); font-style: italic; }
.gb-note { color: var(--muted); font-size: 17px; }
.gb-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; }
.gb-list li { padding: 14px 16px; border: 2px solid var(--ink); border-radius: 16px; background: var(--card); }
.gb-list .who { font-weight: 700; margin-right: 8px; }
.gb-list .when { font: 500 15px var(--font-mono); color: var(--muted); }
.gb-list .txt { margin: 6px 0 0; font-family: var(--font-serif); font-size: 20px; line-height: 1.5; white-space: pre-wrap; }

.foot { margin-top: 72px; border-top: 2.5px solid var(--ink); background: var(--bg2); }
.foot .in { max-width: var(--wide); margin-inline: auto; padding: 32px 20px 40px; display: grid; gap: 18px; }
.foot .links { display: flex; flex-wrap: wrap; gap: 12px; }
.foot small { color: var(--muted); font-size: 16px; line-height: 1.5; max-width: 70ch; }

/* ---------- post page (the comfortable reading part) ---------- */
.post-head { padding-top: 44px; display: flex; flex-direction: column; gap: 16px; }
.post-head h1 { font-family: var(--font-display); font-weight: 800; font-size: clamp(36px, 7vw, 54px); line-height: 1.04; letter-spacing: -.025em; margin: 0; text-wrap: balance; }
.post-head .sub { font-family: var(--font-serif); font-style: italic; font-size: clamp(23px, 3.2vw, 28px); line-height: 1.4; color: var(--muted); margin: 0; }
.byline { display: flex; align-items: center; gap: 12px; padding-block: 14px; border-block: 2px dashed color-mix(in srgb, var(--ink) 35%, transparent); }
.byline .ava { width: 44px; height: 44px; }
.byline b { display: block; font-size: 18px; }
.cover { margin: 28px auto 8px; max-width: 760px; padding-inline: 20px; }
.cover .frame { border: 2.5px solid var(--ink); border-radius: 22px; overflow: hidden; background: color-mix(in srgb, var(--chap) 26%, var(--paper)); box-shadow: 8px 8px 0 var(--shade); padding: 22px 26px; }
.facts { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.facts li { font: 500 15px var(--font-mono); padding: 5px 11px; border: 2px solid var(--ink); border-radius: 8px; background: color-mix(in srgb, var(--chap) 22%, transparent); }

.prose { font-family: var(--font-serif); font-size: 22px; line-height: 1.7; padding-top: 18px; }
@media (max-width: 520px) { .prose { font-size: 20px; line-height: 1.65; } }
.prose p { margin: 0 0 1.25em; }
.prose > p:first-of-type::first-letter { font-family: var(--font-display); font-weight: 800; float: left; font-size: 3.6em; line-height: .82; padding: 6px 10px 0 0; color: var(--chap); text-shadow: 3px 3px 0 var(--ink); }
.prose a { color: inherit; text-decoration-color: var(--chap); text-decoration-thickness: 3px; text-underline-offset: 3px; }
.prose a:hover { background: color-mix(in srgb, var(--chap) 18%, transparent); }
.prose h3, .prose h4 { font-family: var(--font-display); font-weight: 800; font-size: 28px; line-height: 1.15; margin: 1.6em 0 .5em; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1.25em; }
.prose li { margin-bottom: .4em; }
.prose blockquote { margin: 1.5em 0; padding: 4px 0 4px 20px; border-left: 5px solid var(--chap); font-style: italic; font-size: 1.1em; }
.prose .item { display: flex; gap: 16px; align-items: flex-start; margin: 0 0 1.25em; }
.prose .item > p { margin: 0; flex: 1; min-width: 0; }
.prose .item.callout, .prose p.callout { padding: 16px 18px; border: 2px solid var(--ink); border-left-width: 7px; border-left-color: var(--chap); border-radius: 14px; background: color-mix(in srgb, var(--chap) 12%, var(--card)); }
.prose .item-ico { width: 64px; height: 64px; flex: none; padding: 4px; border-radius: 12px; border: 2px solid var(--ink); background: color-mix(in srgb, var(--chap) 20%, var(--paper)); }
.prose details.pics { margin: 1.5em 0; }
.prose details.pics > summary { list-style: none; cursor: pointer; display: inline-block; font: 700 18px var(--font-body); padding: 9px 16px; border: 2px solid var(--ink); border-radius: 12px; background: var(--sun); color: #1b1f3b; box-shadow: 3px 3px 0 var(--shade); }
.prose details.pics > summary::-webkit-details-marker { display: none; }
.prose details.pics[open] > summary { margin-bottom: 18px; }
.prose .kids, .prose .photos { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.prose figure.photo { margin: 0 0 1.25em; }
.prose .photo img { display: block; width: 100%; height: auto; border: 2.5px solid var(--ink); border-radius: 14px; box-shadow: 5px 5px 0 var(--shade); }
.prose figcaption { font-style: italic; font-size: 18px; color: var(--muted); margin-top: 10px; line-height: 1.4; }
.prose .bigheart { display: flex; justify-content: center; margin: 0 0 1em; }
.prose .bigheart svg { width: 64px; fill: var(--p1); }
.prose svg.chap-art:not(.item-ico) { margin: 1em 0 1.5em; border-radius: 14px; border: 2px solid var(--ink); background: color-mix(in srgb, var(--chap) 22%, var(--paper)); padding: 10px; }

.post-end { margin-top: 36px; padding: 22px; border: 2.5px solid var(--ink); border-radius: 20px; background: color-mix(in srgb, var(--sun) 30%, var(--card)); box-shadow: 5px 5px 0 var(--shade); display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; }
.post-end p { margin: 0; font-family: var(--font-serif); font-size: 21px; }
.pager { display: grid; gap: 16px; margin-top: 28px; }
@media (min-width: 640px) { .pager { grid-template-columns: 1fr 1fr; } }
.pager a { display: grid; gap: 4px; text-decoration: none; padding: 16px 18px; border: 2.5px solid var(--ink); border-radius: 16px; background: var(--card); box-shadow: 4px 4px 0 var(--shade); }
.pager a.next { text-align: right; }
.pager small { font: 600 15px var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.pager b { font-family: var(--font-display); font-size: 21px; line-height: 1.2; }

/* extras that some posts use: year labels, a promo code, ticket price comparison, photo rows */
.prose .ico-col { display: flex; flex-direction: column; align-items: center; gap: 6px; flex: none; }
.prose .ico-col .yr { font: 700 15px var(--font-mono); color: var(--fg); text-align: center; line-height: 1.15; max-width: 84px; }
.prose .promo { display: inline-flex; align-items: center; gap: 10px; padding: 4px 6px 4px 14px; border: 2px dashed var(--ink); border-radius: 999px; background: color-mix(in srgb, var(--sun) 35%, var(--card)); font: 700 17px var(--font-mono); letter-spacing: .06em; }
.prose .promo button { font: 700 16px var(--font-body); padding: 6px 14px; border-radius: 999px; border: 0; background: var(--ink); color: var(--paper); cursor: pointer; }
.prose .tix-cmp { margin: 0 0 1.25em; padding: 18px; border: 2.5px solid var(--ink); border-radius: 18px; background: var(--card); box-shadow: 4px 4px 0 var(--shade); display: grid; gap: 18px; font-family: var(--font-body); }
.prose .tx-row { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; align-items: end; }
.prose .tx-lbl b { display: block; font-family: var(--font-display); font-size: 20px; }
.prose .tx-lbl span { font-size: 16px; color: var(--muted); line-height: 1.35; display: block; }
.prose .tx-n { text-align: right; white-space: nowrap; font-size: 16px; }
.prose .tx-n b { font-family: var(--font-display); font-size: 32px; line-height: 1; color: var(--fg); }
.prose .tx-ico { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 3px; font-size: 24px; line-height: 1; min-height: 26px; }
.prose .tk { display: inline-block; filter: drop-shadow(1px 1px 0 var(--ink)); }
.prose .tk.part { width: calc(1em * var(--f, 1)); overflow: hidden; white-space: nowrap; }
.prose .trips { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 18px; }
.prose .trips .photo img { aspect-ratio: 4 / 3; object-fit: cover; }
.prose .chap-hook { font-style: italic; color: var(--muted); }


/* ---------- mood colors ----------
   Each post page takes the color of the feeling it should give, based on color-emotion research:
   - joy: yellow (Jonauskaite et al. 2020, 4,598 people in 30 countries: yellow = joy)
   - love / warmth: red-pink (same study: red = love)
   - excited: bright, saturated red-orange (Wilms & Oberfeld 2018: saturation and red raise arousal)
   - calm: soft blue (Wilms & Oberfeld 2018: blue is pleasant and the least arousing hue; Valdez & Mehrabian 1994)
   - nostalgic and sad: muted, low-saturation violet and grey-blue (grey = sadness in Jonauskaite et al.;
     low saturation lowers arousal) */
body.tinted { background-color: var(--tint); }
body.tinted .bar { background: color-mix(in srgb, var(--tint) 92%, transparent); }

/* ---------- order card on the home page ---------- */
.order { display: flex; align-items: center; gap: 18px; margin-top: 26px; padding: 18px 22px; text-decoration: none; border: 2.5px solid var(--ink); border-radius: 20px; background: color-mix(in srgb, var(--m-joy) 30%, var(--card)); box-shadow: 5px 5px 0 var(--shade); transition: transform .15s, box-shadow .15s; }
.order:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--shade); }
.order-ico { font-size: 40px; line-height: 1; }
.order b { display: block; font-family: var(--font-display); font-size: 24px; }
.order span span { font-size: 18px; color: var(--muted); }
.order .arrow { margin-left: auto; font-size: 28px; }

/* ---------- countries post: map, flags, photos ---------- */
.prose .world { margin: 0 0 1.25em; }
.prose .world svg { display: block; width: 100%; height: auto; border: 2.5px solid var(--ink); border-radius: 16px; box-shadow: 5px 5px 0 var(--shade); }
.prose .world .sea, .prose .world .water { fill: color-mix(in srgb, var(--m-calm) 25%, var(--card)); }
.prose .world .land { fill: color-mix(in srgb, var(--m-joy) 40%, var(--card)); }
.prose .world .land.seam { stroke: color-mix(in srgb, var(--m-joy) 40%, var(--card)); stroke-width: .6; }
.prose .world .visit { fill: var(--m-excited); stroke: var(--ink); stroke-width: .5; }
.prose .world .ring { fill: none; stroke: var(--ink); stroke-width: 1; }
.prose .chips { list-style: none; padding: 0; margin: 0 0 1.25em; display: flex; flex-wrap: wrap; gap: 8px; }
.prose .chips li { margin: 0; display: inline-flex; align-items: center; gap: 6px; font: 600 17px var(--font-body); padding: 5px 13px; border: 2px solid var(--ink); border-radius: 999px; background: var(--card); }
.prose .chips li.lived { background: var(--m-joy); color: #1b1f3b; box-shadow: 2px 2px 0 var(--shade); }
.prose .chips .flag { font-size: 20px; }

/* ---------- Tobi's pet passport ---------- */
.prose .passport { font-family: var(--font-body); margin: 1em 0 1.25em; border: 2.5px solid var(--ink); border-radius: 20px; overflow: hidden; background: var(--card); box-shadow: 6px 6px 0 var(--shade); }
.prose .pp-cover { display: flex; gap: 14px; align-items: center; padding: 16px 20px; background: #1e3a8a; color: #ffd84d; }
.prose .pp-cover .flag { font-size: 34px; }
.prose .pp-cover strong { display: block; font-size: 20px; }
.prose .pp-cover small { font-size: 16px; }
.prose .pp-head { display: flex; justify-content: space-between; gap: 10px; padding: 12px 20px; font: 600 15px var(--font-mono); text-transform: uppercase; letter-spacing: .06em; border-bottom: 2px dashed color-mix(in srgb, var(--ink) 40%, transparent); }
.prose .pp-fields { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 12px 20px; margin: 0; padding: 16px 20px; }
.prose .pp-fields dt { font: 600 15px var(--font-mono); color: var(--muted); text-transform: uppercase; }
.prose .pp-fields dd { margin: 0; font-size: 20px; font-weight: 600; }
.prose .stamps { list-style: none; margin: 0; padding: 4px 20px 16px; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr)); gap: 12px; }
.prose .stamp { margin: 0; display: grid; gap: 2px; justify-items: center; text-align: center; padding: 10px; border: 2.5px dashed var(--chap); border-radius: 14px; }
.prose .stamp:nth-child(odd) { transform: rotate(-2deg); }
.prose .stamp:nth-child(even) { transform: rotate(2deg); }
.prose .stamp .flag { font-size: 28px; }
.prose .stamp b { font-size: 17px; }
.prose .stamp small { font-size: 15px; color: var(--muted); }
.prose .pp-foot { margin: 0; padding: 12px 20px 16px; font-style: italic; font-size: 18px; border-top: 2px dashed color-mix(in srgb, var(--ink) 40%, transparent); }

/* ---------- chapter drawings (same drawing classes as the main site) ---------- */
.chap-art { display: block; width: 100%; height: auto; }
.chap-art .c { fill: var(--chap); }
.chap-art .s { fill: var(--sun); }
.chap-art .s2 { fill: color-mix(in srgb, var(--sun) 55%, var(--card)); }
.chap-art .k { fill: var(--fg); }
.chap-art .k2 { fill: color-mix(in srgb, var(--fg) 55%, var(--card)); stroke: color-mix(in srgb, var(--fg) 55%, var(--card)); }
.chap-art .w { fill: var(--card); }
.chap-art .g { fill: color-mix(in srgb, var(--chap) 30%, var(--card)); }
.chap-art .riv { fill: color-mix(in srgb, var(--p2) 40%, var(--card)); }
.chap-art .ln, .chap-art .ln2, .chap-art .ln3, .chap-art .dash { fill: none; stroke: var(--fg); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.chap-art .ln2 { stroke-width: 2; }
.chap-art .ln3 { stroke-width: 1.6; }
.chap-art .dash { stroke-width: 2; stroke-dasharray: 4 6; opacity: .7; }
.chap-art .t { font-family: var(--font-mono); font-size: 16px; font-weight: 700; fill: var(--fg); }
.chap-art .t.sm { font-size: 10px; letter-spacing: .1em; }
.chap-art .t.big { font-family: var(--font-display); font-size: 40px; fill: var(--chap); }
.chap-art .t.inv { fill: var(--card); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .card a, .featured { transition: none; }
}

/* ---------- home: name note, live server banner, two big doors ---------- */
.hero .aka { font-family: var(--font-serif); font-style: italic; font-size: 22px; color: var(--muted); margin: -4px 0 14px; }
.live { display: flex; align-items: center; gap: 14px; margin: 8px 0 26px; padding: 12px 20px; text-decoration: none; border: 2.5px solid var(--ink); border-radius: 999px; background: #1b1f3b; color: #fff3dc; box-shadow: 4px 4px 0 var(--m-excited); transition: transform .15s; }
.live:hover { transform: translate(-2px, -2px); }
.live b { font: 700 17px var(--font-mono); letter-spacing: .12em; color: var(--m-excited); }
.live span { font-size: 18px; font-weight: 600; }
.live .arrow { margin-left: auto; font-size: 24px; }
.live-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--m-excited); flex: none; animation: livepulse 1.4s ease-in-out infinite; }
@keyframes livepulse { 0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--m-excited) 70%, transparent); } 50% { box-shadow: 0 0 0 8px transparent; } }
.doors { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 22px; }
@media (min-width: 760px) { .doors { grid-template-columns: 1fr 1fr; } }
.doors a { display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 26px 26px 30px; text-decoration: none; border: 2.5px solid var(--ink); border-radius: 26px; background: color-mix(in srgb, var(--chap) 30%, var(--card)); box-shadow: 8px 8px 0 var(--shade); transition: transform .15s, box-shadow .15s; }
.doors a:hover { transform: translate(-3px, -3px); box-shadow: 11px 11px 0 var(--shade); }
.doors svg { width: 120px; height: 90px; }
.doors b { font-family: var(--font-display); font-weight: 800; font-size: clamp(28px, 4vw, 36px); line-height: 1.08; letter-spacing: -.02em; }
.doors span { font-size: 19px; color: color-mix(in srgb, var(--fg) 80%, transparent); }
#tips, #story { scroll-margin-top: 80px; }
.live b { white-space: nowrap; }
.live .short { display: none; }
@media (max-width: 520px) {
  .live .long { display: none; } .live .short { display: inline; }
  /* Two short lines on phones: LIVE SERVER on top, the call to action under it. */
  .live { display: grid; grid-template-columns: auto 1fr auto; column-gap: 14px; row-gap: 2px; border-radius: 22px; padding-block: 10px; }
  .live-dot { grid-row: 1 / 3; } .live b { grid-column: 2; }
  .live > span:not(.live-dot):not(.arrow) { grid-column: 2; white-space: nowrap; }
  .live .arrow { grid-column: 3; grid-row: 1 / 3; margin-left: 0; }
}
@media (max-width: 899px) { .hero > div { order: -1; } .hero { padding-top: 24px; } }
/* Tablets: keep the cartoon modest so the two big tiles show on the first screen. */
@media (min-width: 521px) and (max-width: 899px) { .hero .postcard { width: 100%; max-width: 420px; justify-self: center; } }
@media (prefers-reduced-motion: reduce) { .live-dot { animation: none; } }
/* Contact band: WhatsApp, travel fund and email, repeated down every page. */
.reach { margin: 28px 0; padding: 18px 20px; border: 2.5px solid var(--ink); border-radius: 18px; background: var(--card); box-shadow: 4px 4px 0 var(--shade); display: grid; gap: 12px; }
.reach-t { margin: 0; font: 800 20px/1.25 var(--font-display, inherit); }
.reach .links { display: flex; flex-wrap: wrap; gap: 10px; }
.reach.slim { margin: 18px 0 0; padding: 14px 16px; box-shadow: none; }
.reach.slim .reach-t { font-size: 17px; }
/* "Why the name?" button under the hero text; opens the explanation in place. */
.why { margin: 0 0 22px; max-width: 46ch; }
.why > summary { list-style: none; display: inline-flex; align-items: center; gap: 8px; font: 700 18px var(--font-body); padding: 10px 18px; border: 2.5px solid var(--ink); border-radius: 999px; background: var(--card); color: var(--fg); box-shadow: 4px 4px 0 var(--shade); cursor: pointer; }
.why > summary::-webkit-details-marker { display: none; }
.why > summary::after { content: "+"; font-weight: 800; margin-left: 4px; }
.why[open] > summary::after { content: "\2212"; }
.why > summary:focus-visible { outline: 3px solid var(--p2, currentColor); outline-offset: 3px; }
.why-body { margin-top: 14px; padding: 20px; border: 2.5px solid var(--ink); border-radius: 18px; background: color-mix(in srgb, var(--sun) 22%, var(--card)); box-shadow: 6px 6px 0 var(--shade); }
.why-body p { font-family: var(--font-serif); font-size: 20px; line-height: 1.55; margin: 0 0 10px; }
.why-body p:last-child { margin-bottom: 0; }
.why .quips { list-style: none; margin: 4px 0 14px; padding: 0; display: grid; gap: 8px; }
.why .quips li { font: 700 18px/1.4 var(--font-body); padding: 10px 14px; border-left: 5px solid var(--ink); background: var(--card); border-radius: 0 12px 12px 0; }
/* Guest book: Arpi's answer under a message, and the Reply button he sees on his own phone. */
.gb-reply { margin: 12px 0 0 14px; padding: 10px 14px; border-left: 4px solid var(--p2, var(--ink)); border-radius: 0 12px 12px 0; background: color-mix(in srgb, var(--sun) 22%, var(--card)); }
.gb-reply .txt { font-size: 19px; }
.gb-reply-btn { margin-top: 10px; font: 700 16px var(--font-body); padding: 6px 14px; border: 2px solid var(--ink); border-radius: 999px; background: var(--card); color: var(--fg); cursor: pointer; }
.gb-reply-form { display: grid; gap: 10px; margin-top: 12px; }
.gb-reply-form textarea { font: 400 18px var(--font-body); padding: 11px 13px; border: 2px solid var(--ink); border-radius: 12px; background: var(--bg); color: var(--fg); width: 100%; }
.gb-reply-acts { display: flex; flex-wrap: wrap; gap: 10px; }
/* Timetable / ticket link buttons in the Esztergom post, and photo credits. */
.links-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0; }
.links-row .tt { display: inline-flex; align-items: center; gap: 6px; padding: 10px 16px; border: 2.5px solid var(--ink); border-radius: 999px; background: var(--card); color: var(--fg); font: 700 17px var(--font-body); text-decoration: none; box-shadow: 3px 3px 0 var(--shade); }
.photo small { display: block; font-size: 16px; opacity: .8; margin-top: 2px; }
/* "At a glance" summary box at the top of a post. */
.glance { margin: 24px 0 0; padding: 18px 20px; border: 2.5px solid var(--ink); border-radius: 18px; background: color-mix(in srgb, var(--chap) 14%, var(--card)); box-shadow: 4px 4px 0 var(--shade); }
.glance-h { margin: 0 0 6px; font: 700 15px var(--font-mono); letter-spacing: .06em; text-transform: uppercase; }
.glance-sum { margin: 0 0 4px; font-family: var(--font-serif); font-size: 20px; line-height: 1.45; }
.glance .facts { margin-top: 10px; }
/* Author box after a post. */
.author { display: flex; gap: 16px; align-items: flex-start; margin-top: 32px; padding: 20px; border: 2.5px solid var(--ink); border-radius: 18px; background: var(--card); }
.author .ava { flex: none; width: 64px; height: 64px; border-radius: 50%; overflow: hidden; border: 2.5px solid var(--ink); }
.author .ava svg { width: 100%; height: 100%; display: block; }
.author p { margin: 0 0 8px; font-family: var(--font-serif); font-size: 18px; line-height: 1.5; }
.author .author-h { font: 800 19px var(--font-display); }
.author a { font-weight: 700; color: var(--fg); }
/* "Keep reading": three related posts. */
.keep { margin-top: 36px; }
.keep h2 { font: 800 clamp(24px, 4.5vw, 30px) var(--font-display); margin: 0 0 14px; }
.keep ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
@media (min-width: 720px) { .keep ul { grid-template-columns: repeat(3, 1fr); } }
.keep a { display: grid; gap: 6px; height: 100%; text-decoration: none; color: var(--fg); padding: 12px; border: 2.5px solid var(--ink); border-radius: 16px; background: color-mix(in srgb, var(--chap) 14%, var(--card)); box-shadow: 4px 4px 0 var(--shade); }
.keep .art svg { width: 100%; height: auto; display: block; border-radius: 10px; }
.keep b { font: 800 18px/1.25 var(--font-display); }
.keep small { font: 500 14px var(--font-mono); color: var(--muted); }
/* Ask Arpi: question form, answered questions, and Arpi's own answer boxes. */
.ask { margin-top: 48px; }
.ask-lede { font-family: var(--font-serif); font-size: 21px; line-height: 1.5; margin: 0 0 16px; max-width: 60ch; }
.ask-form { display: grid; gap: 14px; padding: 22px; border: 2.5px solid var(--ink); border-radius: 20px; background: color-mix(in srgb, var(--sun) 22%, var(--card)); box-shadow: 5px 5px 0 var(--shade); }
.ask-form label { display: grid; gap: 6px; font-weight: 600; }
.ask-form input, .ask-form textarea { font: 400 18px var(--font-body); padding: 11px 13px; border: 2px solid var(--ink); border-radius: 12px; background: var(--bg); color: var(--fg); width: 100%; }
.ask-form .btn { justify-self: start; }
.ask-owner { margin-top: 18px; }
.ask-owner h3 { font: 800 21px var(--font-display); margin: 0; }
.ask-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; }
.ask-list li { padding: 14px 16px; border: 2px solid var(--ink); border-radius: 16px; background: var(--card); }
.ask-q { margin: 0 0 4px; font: 700 19px/1.35 var(--font-body); }
.ask-list .when { font: 500 15px var(--font-mono); color: var(--muted); }
.ask-a { margin: 12px 0 0 14px; padding: 10px 14px; border-left: 4px solid var(--p2, var(--ink)); border-radius: 0 12px 12px 0; background: color-mix(in srgb, var(--sun) 22%, var(--card)); }
.ask-a .who { font-weight: 700; }
.ask-a .txt { margin: 6px 0 0; font-family: var(--font-serif); font-size: 19px; line-height: 1.5; white-space: pre-wrap; }
