/* Self-hosted Google Fonts (SIL Open Font License): Inter, Fraunces - varijabilni, latin + latin-ext */
@font-face { font-family: 'Fraunces'; font-style: italic; font-weight: 500; font-display: swap; src: url('../fonts/fraunces-italic-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Fraunces'; font-style: italic; font-weight: 500; font-display: swap; src: url('../fonts/fraunces-italic-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 500 700; font-display: swap; src: url('../fonts/fraunces-normal-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 500 700; font-display: swap; src: url('../fonts/fraunces-normal-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('../fonts/inter-normal-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('../fonts/inter-normal-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* Pešter — stilovi sajta. Boje su iz logotipa. */

:root {
  /* boje logotipa */
  --c-green: #7d9a1c;   --c-green-ink: #4f6316;
  --c-orange: #dd7a0b;  --c-orange-ink: #a3530a;
  --c-blue: #2f78a8;    --c-blue-ink: #235d84;
  --c-gold: #d99e00;    --c-gold-ink: #80600a;
  --c-indigo: #3c3078;  --c-indigo-ink: #3c3078;
  --c-brown: #a86c00;   --c-brown-ink: #7a4f0b;
  --c-yellow: #d8c000;
  --c-forest: #3b4a12;

  --bg: #fbf8f1;
  --surface: #ffffff;
  --tint: #f4eee0;
  --line: #e9e1d0;
  --ink: #2b2620;
  --ink-2: #5b5349;
  --muted: #766c61;
  --btn: #b45a09;
  --btn-hover: #9a4c06;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgb(43 38 32 / .05), 0 6px 20px rgb(43 38 32 / .07);
  --shadow-hover: 0 2px 4px rgb(43 38 32 / .06), 0 14px 32px rgb(43 38 32 / .11);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
picture { display: contents; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--c-blue); outline-offset: 2px; border-radius: 4px; }

.wrap { width: min(100% - 32px, 1200px); margin-inline: auto; }
.wrap--narrow { width: min(100% - 32px, 720px); }
.wrap--wide { width: min(100% - 32px, 1040px); }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 12px; }

/* ---------- dugmad ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; border: 0;
  font: 600 15px/1.2 var(--font-body); text-decoration: none;
  transition: background-color .15s ease, color .15s ease;
}
.btn-primary { background: var(--btn); color: #fff; }
.btn-primary:hover { background: var(--btn-hover); }
.btn-text { padding: 8px 2px; color: var(--c-green-ink); background: none; }
.btn-text:hover { text-decoration: underline; text-underline-offset: 4px; }
.btn-text--light { color: #fff; }

/* ---------- zaglavlje ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgb(251 248 241 / .94);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  backdrop-filter: saturate(1.4) blur(10px);
  box-shadow: 0 1px 0 var(--line);
}
.header-bar { height: var(--header-h); display: flex; align-items: center; gap: 24px; }
.brand { flex: none; display: block; }
.brand img { height: 54px; width: auto; }

.site-nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-list > li > a, .topics-toggle {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; border-radius: 999px;
  font: 500 15px/1 var(--font-body); color: var(--ink-2); text-decoration: none;
  background: none; border: 0;
  transition: background-color .15s ease, color .15s ease;
}
.nav-list > li > a:hover, .topics-toggle:hover { background: var(--tint); color: var(--ink); }
.nav-list > li > a[aria-current="page"] { color: var(--c-green-ink); background: rgb(125 154 28 / .12); }
.topics-toggle[aria-expanded="true"] { background: var(--tint); color: var(--ink); }
.topics-toggle svg { transition: transform .2s ease; }
.topics-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }

.nav-topics { position: static; }
.topics-panel {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--surface);
  box-shadow: 0 1px 0 var(--line), 0 24px 48px rgb(43 38 32 / .12);
  padding: 28px 0 32px;
}
.topics-panel[hidden] { display: none; }
.topics-grid {
  width: min(100% - 32px, 1200px); margin-inline: auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 40px;
}
.topic-group-title {
  font: 600 13px/1.2 var(--font-body); letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent-ink); margin-bottom: 10px; display: flex; align-items: center; gap: 8px;
}
.topic-group-title::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.topic-group ul { display: grid; gap: 2px; }
.topic-group a {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 6px 10px; margin-inline: -10px; border-radius: 8px;
  text-decoration: none; color: var(--ink); font-size: 15px;
}
.topic-group a:hover { background: var(--tint); }
.topic-group .count { color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }

.menu-toggle {
  display: none; margin-left: auto; align-items: center; gap: 10px;
  padding: 10px 14px; border: 0; border-radius: 999px; background: var(--tint);
  font: 600 15px/1 var(--font-body); color: var(--ink);
}
.menu-icon { display: grid; gap: 4px; width: 18px; }
.menu-icon span { display: block; height: 2px; border-radius: 2px; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
.menu-toggle[aria-expanded="true"] .menu-icon span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-icon span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-icon span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 959px) {
  :root { --header-h: 66px; }
  /* backdrop-filter bi napravio containing block za fixed meni */
  .site-header { background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .brand img { height: 44px; }
  .menu-toggle { display: inline-flex; }
  .site-nav {
    position: fixed; left: 0; right: 0; top: var(--header-h); bottom: 0;
    background: var(--bg); overflow-y: auto; overscroll-behavior: contain;
    padding: 12px 16px 40px; margin: 0;
    display: none;
  }
  .nav-open .site-nav { display: block; }
  .nav-open { overflow: hidden; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-list > li > a, .topics-toggle {
    width: 100%; justify-content: space-between;
    padding: 14px 12px; border-radius: 12px; font-size: 17px;
  }
  .topics-panel { position: static; box-shadow: none; background: none; padding: 4px 0 12px; }
  .topics-grid { grid-template-columns: 1fr; gap: 18px; width: 100%; padding-inline: 12px; }
}
@media (min-width: 960px) and (max-width: 1119px) {
  .nav-list > li > a, .topics-toggle { padding-inline: 10px; font-size: 14px; }
}

/* ---------- naslovni hero ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: clamp(460px, 74vh, 700px);
  display: flex; align-items: flex-end;
  color: #fff; background: var(--c-forest);
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to right, rgb(22 20 10 / .45) 0%, rgb(22 20 10 / 0) 60%),
    linear-gradient(to top, rgb(22 20 10 / .8) 0%, rgb(22 20 10 / .42) 50%, rgb(22 20 10 / .12) 80%);
}
.hero-inner { text-shadow: 0 1px 12px rgb(0 0 0 / .25); }
.hero-inner { padding-block: 120px 120px; }
.hero-title { font-size: clamp(2.8rem, 7vw, 5rem); font-weight: 600; line-height: 1; margin: 10px 0 18px; }
.hero-lede { font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 560px; color: rgb(255 255 255 / .9); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 28px; }
.hero-credit {
  position: absolute; right: 16px; bottom: 82px;
  font-size: 12px; color: rgb(255 255 255 / .75); text-decoration: none;
}
.hero-credit:hover { color: #fff; text-decoration: underline; }
.hero-hill { position: absolute; left: 0; bottom: -1px; width: 100%; height: 70px; }
.hero-hill .hill-fill { fill: var(--bg); }
.hero-hill .hill-line { fill: none; stroke: var(--c-green); stroke-width: 4; vector-effect: non-scaling-stroke; }

/* ---------- sekcije ---------- */
.section { padding-block: clamp(44px, 6vw, 80px); }
.section--first { padding-top: 16px; }
.section--tint { background: var(--tint); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.section-head h2, .section-head h1 { font-size: clamp(1.75rem, 3vw, 2.4rem); }
.section-meta { color: var(--muted); font-size: 15px; white-space: nowrap; }
.section-head .btn-text { white-space: nowrap; }
.eyebrow {
  font: 600 13px/1.2 var(--font-body); letter-spacing: .1em; text-transform: uppercase;
  color: var(--c-green-ink); margin-bottom: 8px;
}
.eyebrow--light { color: #e4ee9f; }

/* ---------- teme ---------- */
.theme-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 16px; }
.theme-card { background: var(--surface); border-radius: var(--radius); padding: 22px 22px 24px; box-shadow: var(--shadow); }
.theme-title { font-size: 1.3rem; display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.theme-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--accent); flex: none; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center;
  padding: 7px 14px; border-radius: 999px;
  background: rgb(125 154 28 / .13);
  background: color-mix(in srgb, var(--accent, var(--c-green)) 14%, #fff);
  color: var(--accent-ink, var(--c-green-ink));
  font: 500 14px/1.2 var(--font-body); text-decoration: none;
  transition: background-color .15s ease;
}
.chip:hover { background: color-mix(in srgb, var(--accent, var(--c-green)) 24%, #fff); }
.chips--compact { margin-top: 18px; }
.chips--compact .chip { padding: 6px 12px; font-size: 13px; }

/* ---------- kartice ---------- */
.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow .2s ease, transform .2s ease;
}
.card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.card-media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--tint); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card-media img { transform: scale(1.03); }
.badge {
  position: absolute; left: 12px; top: 12px;
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 10px; border-radius: 999px;
  background: rgb(20 18 10 / .66); color: #fff; font: 600 12px/1 var(--font-body);
}
.card-body { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 20px; flex: 1; }
.card-tag {
  align-self: flex-start;
  font: 600 12px/1.2 var(--font-body); letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent-ink, var(--c-green-ink)); text-decoration: none;
}
.card-tag:hover { text-decoration: underline; }
.card-title { font-size: 1.28rem; line-height: 1.22; }
.card-title a { text-decoration: none; }
.card-title a::after { content: ""; position: absolute; inset: 0; }
.card-title a:hover { color: var(--accent-ink); }
.card-tag { position: relative; z-index: 1; min-height: 24px; display: inline-flex; align-items: center; }
.card-excerpt {
  color: var(--ink-2); font-size: 15px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.card-date { margin-top: auto; padding-top: 4px; color: var(--muted); font-size: 13px; }

.card--text { background: color-mix(in srgb, var(--accent) 9%, #fff); }
.card--poem .card-body { padding: 26px 24px 22px; }
.card-media--placeholder {
  display: grid; place-items: center;
  background: color-mix(in srgb, var(--accent) 16%, #fff);
  color: var(--accent);
}
.placeholder-initial { font: 600 clamp(3.5rem, 7vw, 5rem)/1 var(--font-display); color: var(--accent-ink); opacity: .85; }
.placeholder-hill { position: absolute; left: -2%; right: -2%; bottom: 0; width: 104%; height: 38%; }
.feature-grid .card-media--placeholder { aspect-ratio: 16 / 10; }
.card--poem::before {
  content: "“"; position: absolute; right: 18px; top: -6px;
  font: 600 6rem/1 var(--font-display); color: var(--accent); opacity: .28;
}
.card-verses { font: italic 500 1.05rem/1.65 var(--font-display); color: var(--ink); }

.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 24px; }
.card-grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1099px) { .card-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 599px) { .card-grid--4 { grid-template-columns: 1fr; } }

.feature-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: 24px; }
.feature-grid .card--feature { grid-row: span 2; }
.feature-grid .card:not(.card--feature) .card-media { aspect-ratio: 16 / 10; }
.feature-grid .card:not(.card--feature) .card-excerpt { -webkit-line-clamp: 2; }
.card--feature .card-media { aspect-ratio: auto; flex: 1; min-height: 280px; }
.card--feature .card-title { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.card--feature .card-body { flex: none; padding: 22px 24px 24px; }
@media (max-width: 959px) {
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .feature-grid .card--feature { grid-column: 1 / -1; grid-row: auto; }
  .card--feature .card-media { aspect-ratio: 16 / 9; flex: none; min-height: 0; }
}
@media (max-width: 599px) {
  .feature-grid { grid-template-columns: 1fr; }
}

/* ---------- mozaik fotografija ---------- */
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 190px; grid-auto-flow: dense; gap: 12px; }
.mosaic-item { position: relative; overflow: hidden; border-radius: var(--radius-sm); background: var(--tint); }
.mosaic-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.mosaic-item:hover img { transform: scale(1.04); }
.mosaic-item--big { grid-column: span 2; grid-row: span 2; }
.mosaic-item:nth-child(4), .mosaic-item:nth-child(7) { grid-column: span 2; }
.mosaic-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 28px 12px 10px; color: #fff; font-size: 13px; font-weight: 500;
  background: linear-gradient(to top, rgb(20 18 10 / .7), transparent);
}
@media (max-width: 759px) {
  .mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 140px; }
  .mosaic-item:nth-child(n+6) { display: none; }
  .mosaic-item:nth-child(4), .mosaic-item:nth-child(7) { grid-column: auto; }
}

/* ---------- arhiva ---------- */
.post-list { border-top: 1px solid var(--line); }
.post-row {
  position: relative;
  display: grid; grid-template-columns: 112px 1fr auto; gap: 6px 20px; align-items: center;
  padding: 18px 0; border-bottom: 1px solid var(--line);
}
.post-row-thumb { grid-row: span 1; display: block; width: 112px; aspect-ratio: 4 / 3; border-radius: var(--radius-sm); overflow: hidden; background: color-mix(in srgb, var(--accent) 14%, #fff); }
.post-row-thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-row-initial { display: grid; place-items: center; height: 100%; font: 600 2rem/1 var(--font-display); color: var(--accent-ink); }
.post-row-body { display: grid; gap: 4px; min-width: 0; }
.post-row-title { font-size: 1.2rem; }
.post-row-title a { text-decoration: none; }
.post-row-title a::after { content: ""; position: absolute; inset: 0; }
.post-row-title a:hover { color: var(--accent-ink); }
.post-row-excerpt { color: var(--ink-2); font-size: 15px; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.post-row-date { color: var(--muted); font-size: 14px; white-space: nowrap; }
@media (max-width: 699px) {
  .post-row { grid-template-columns: 84px 1fr; align-items: start; }
  .post-row-thumb { width: 84px; }
  .post-row-date { grid-column: 2; font-size: 13px; }
  .post-row-excerpt { display: none; }
}

/* ---------- paginacija ---------- */
.pager { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px 16px; margin-top: 36px; }
.pager-pages { display: flex; gap: 6px; }
.pager-page {
  display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 8px;
  border-radius: 999px; text-decoration: none; font-weight: 600; color: var(--ink-2);
}
a.pager-page:hover { background: var(--tint); color: var(--ink); }
.pager-page.is-current { background: var(--c-green-ink); color: #fff; }
.pager-gap { display: grid; place-items: center; min-width: 24px; color: var(--muted); }
.pager-step { font-weight: 600; color: var(--c-green-ink); text-decoration: none; padding: 10px 6px; }
.pager-step:hover { text-decoration: underline; text-underline-offset: 4px; }
.pager-step.is-disabled { color: var(--muted); }

/* ---------- objava ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--c-green-ink); text-decoration: underline; }
.post-header { padding-top: clamp(28px, 5vw, 56px); }
.post-title { font-size: clamp(2rem, 5vw, 3.25rem); line-height: 1.08; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 18px; color: var(--ink-2); font-size: 15px; }
.post-meta a { color: var(--c-blue-ink); }
.post-meta .dot { color: var(--muted); }
.post-cover { margin-block: 32px 8px; }
.post-cover img { width: 100%; max-height: min(72vh, 640px); object-fit: cover; border-radius: 20px; }
.post-cover a { display: block; cursor: zoom-in; }
.video { position: relative; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; background: #000; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.prose { font-size: 1.125rem; line-height: 1.75; margin-top: 24px; overflow-wrap: break-word; }
.prose > * + * { margin-top: 1.1em; }
.prose p:empty { display: none; }
.prose a { color: var(--c-blue-ink); text-underline-offset: 3px; }
.prose a:not([href]) { color: inherit; text-decoration: none; }
.prose strong, .prose b { font-weight: 600; }
.prose h2, .prose h3, .prose h4 { margin-top: 1.8em; }
.prose h2 { font-size: 1.7rem; }
.prose h3 { font-size: 1.35rem; }
.prose ul { list-style: disc; padding-left: 1.3em; }
.prose ol { list-style: decimal; padding-left: 1.3em; }
.prose li + li { margin-top: .35em; }
.prose img { border-radius: 12px; height: auto !important; max-width: 100% !important; }
.prose img[style*="float: left"], .prose img[align="left"] { float: none !important; }
.prose iframe { max-width: 100%; border: 0; border-radius: 12px; }
.prose iframe[src*="youtube"] { width: 100%; height: auto; aspect-ratio: 16 / 9; }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--accent, var(--c-green)); font-family: var(--font-display); font-style: italic; font-size: 1.2rem; color: var(--ink-2); }
.prose table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.prose td, .prose th { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: left; }
.prose--poem { font-family: var(--font-display); font-size: 1.3rem; line-height: 1.7; }
.prose--poem > * + * { margin-top: .25em; }
.prose--card { background: var(--surface); border-radius: var(--radius); padding: clamp(22px, 4vw, 36px); box-shadow: var(--shadow); margin-top: 0; }

.post-subtitle { font-size: 1.5rem; margin-bottom: 16px; }
.post-gallery { margin-top: 40px; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 10px; }
.gallery-item { display: block; aspect-ratio: 4 / 3; border-radius: var(--radius-sm); overflow: hidden; background: var(--tint); cursor: zoom-in; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery--single { grid-template-columns: 1fr; max-width: 720px; }
.gallery--single .gallery-item { aspect-ratio: auto; }
.post-map { margin-top: 40px; }
.map { aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden; background: var(--tint); margin-bottom: 6px; }
.map iframe { width: 100%; height: 100%; border: 0; }
.post-footer { display: grid; gap: 22px; margin-block: 44px 72px; padding-top: 28px; border-top: 1px solid var(--line); }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.share-label { color: var(--muted); font-size: 14px; margin-right: 4px; }
.share-link {
  display: inline-flex; align-items: center; padding: 8px 14px; border: 0; border-radius: 999px;
  background: var(--tint); color: var(--ink); font: 500 14px/1.2 var(--font-body); text-decoration: none;
  transition: background-color .15s ease;
}
.share-link:hover { background: #ebe3d0; }
.share-link.is-done { background: rgb(125 154 28 / .18); color: var(--c-green-ink); }

/* ---------- tag / strana ---------- */
.page-hero { padding-top: clamp(28px, 5vw, 56px); padding-bottom: 12px; }
.page-hero--center { text-align: center; }
.page-hero--center .btn { margin-top: 24px; }
.page-title { font-size: clamp(2.2rem, 5.5vw, 3.6rem); line-height: 1.05; }
.page-lede { margin-top: 12px; color: var(--ink-2); font-size: 1.1rem; }

/* ---------- oglasi ---------- */
.ad { margin: 8px auto 40px; text-align: center; min-height: 300px; }
@media (min-width: 760px) { .ad { min-height: 120px; } }
.ad-label { display: block; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.ad--dev { display: grid; place-items: center; height: 110px; border-radius: var(--radius-sm); background: repeating-linear-gradient(-45deg, var(--tint) 0 12px, #efe7d5 12px 24px); color: var(--muted); font-size: 13px; }

/* ---------- podnožje ---------- */
.site-footer { margin-top: clamp(40px, 6vw, 72px); color: rgb(255 255 255 / .86); }
.footer-hill { display: block; width: 100%; height: 70px; margin-bottom: -1px; }
.footer-hill .hill-fill { fill: var(--c-forest); }
.footer-hill .hill-line { fill: none; stroke: var(--c-green); stroke-width: 4; vector-effect: non-scaling-stroke; }
.footer-body { background: var(--c-forest); padding: 18px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr .8fr; gap: 36px 48px; }
.footer-brand img { width: 170px; height: auto; margin-bottom: 16px; }
.footer-brand p { max-width: 360px; color: rgb(255 255 255 / .78); }
.footer-col h2 { font: 600 13px/1.2 var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: #dbe79c; margin-bottom: 14px; }
.footer-col ul { display: grid; gap: 8px; }
.footer-col a { color: rgb(255 255 255 / .86); text-decoration: none; }
.footer-col a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-tags { display: flex !important; flex-wrap: wrap; gap: 8px 16px !important; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  margin-top: 40px; padding-top: 18px; border-top: 1px solid rgb(255 255 255 / .14);
  font-size: 14px; color: rgb(255 255 255 / .7);
}
.footer-bottom a { color: inherit; }
@media (max-width: 759px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center;
  background: rgb(14 12 8 / .94); padding: 16px;
}
.lightbox[hidden] { display: none; }
.lb-figure { margin: 0; display: grid; justify-items: center; gap: 12px; min-width: 0; }
.lb-figure img { max-width: 100%; max-height: calc(100vh - 110px); border-radius: 8px; object-fit: contain; }
.lb-figure figcaption { color: rgb(255 255 255 / .8); font-size: 14px; text-align: center; }
.lb-close, .lb-nav {
  display: grid; place-items: center; border: 0; border-radius: 999px;
  background: rgb(255 255 255 / .12); color: #fff; line-height: 1;
}
.lb-close { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; font-size: 30px; }
.lb-nav { width: 52px; height: 52px; font-size: 34px; margin: 0 6px; }
.lb-close:hover, .lb-nav:hover { background: rgb(255 255 255 / .22); }
@media (max-width: 599px) {
  .lightbox { grid-template-columns: 1fr; padding: 60px 8px 80px; }
  .lb-nav { position: absolute; bottom: 16px; }
  .lb-prev { left: calc(50% - 64px); }
  .lb-next { right: calc(50% - 64px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
