/* =================================================================
   Veronika Železnik — Psihoterapija
   Prototype design system  ·  "Warm Sand & Sage"
   Single typeface: Manrope · architectural + nature + calm
   ================================================================= */

/* ---------- Design tokens ---------------------------------------- */
:root {
  /* Palette — Mirno morje (CGP 2026) */
  --paper:      #F7F4EF;   /* Školjka — osnovno ozadje              */
  --paper-2:    #E6EDF2;   /* Meglica — izmenične sekcije           */
  --sand:       #E6DCC8;   /* Mivka — tople kartice/podlage         */
  --sand-2:     #D5C6A8;   /* globlja mivka                         */
  --sage:       #46658C;   /* Modrina — primarna barva znamke       */
  --sage-2:     #3A5578;   /* globlja modrina (hover)               */
  --pine:       #2C4257;   /* Globina — temne sekcije               */
  --pine-2:     #24384A;
  --clay:       #C98A6B;   /* Zaton — topli poudarek (samo dekor)   */
  --clay-2:     #9E603F;
  --ink:        #22303C;   /* Tinta — naslovi, telo                 */
  --ink-2:      #51606D;   /* sekundarno besedilo                   */
  --muted:      #76828E;   /* meta, opombe                          */
  --nebo:       #A9C4DB;   /* Nebo — obrobe, fokus obroč            */
  --line:       rgba(34, 48, 60, .14);
  --line-soft:  rgba(34, 48, 60, .08);

  /* Typography */
  --font: "Manrope", ui-sans-serif, system-ui, -apple-system,
          "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-head: "Fraunces", Georgia, "Times New Roman", serif;

  /* Fluid type scale */
  --fs-display: clamp(2.6rem, 1.5rem + 4.3vw, 4.85rem);
  --fs-h1:      clamp(2.25rem, 1.4rem + 3.4vw, 4rem);
  --fs-h2:      clamp(1.85rem, 1.3rem + 2.1vw, 2.9rem);
  --fs-h3:      clamp(1.3rem, 1.05rem + 0.9vw, 1.6rem);
  --fs-lead:    clamp(1.1rem, 1rem + 0.5vw, 1.35rem);
  --fs-body:    1.0625rem;
  --fs-small:   0.86rem;

  /* Spacing & layout */
  --wrap:       1400px;
  --wrap-narrow: 920px;
  --gutter:     clamp(1.25rem, 0.6rem + 3vw, 3rem);
  --section-y:  clamp(4.5rem, 2.5rem + 7vw, 9rem);
  --radius:     2px;        /* architectural: barely-there corners   */
  --radius-lg:  6px;
  --radius-field: 999px;   /* enovrstična polja — tabletka, enako kot gumbi */
  --radius-field-lg: 24px; /* textarea — pilula ni mogoča, zato mehak pravokotnik */

  --ease:       cubic-bezier(.22, .61, .36, 1);

  /* Visina WordPressove orodne vrstice; JS jo izmeri, kadar je prijavljen
     uporabnik. Brez nje je 0 in nic se ne premakne. */
  --admin-bar:  0px;
}

/* ---------- Reset ------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--ink-2);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, picture { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }

/* ---------- Typography ------------------------------------------ */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
  font-optical-sizing: auto;
}
.display {
  font-family: var(--font-head);
  font-size: var(--fs-display);
  font-weight: 300;
  letter-spacing: -0.015em;
  line-height: 1.05;
}
.h1 { font-size: var(--fs-h1); }
.h2 { font-size: var(--fs-h2); }
.h3 { font-size: var(--fs-h3); letter-spacing: -0.015em; }

.lead {
  font-size: var(--fs-lead);
  line-height: 1.55;
  color: var(--ink-2);
  font-weight: 400;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .65em;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--sage-2);
}
.eyebrow::before {
  content: "";
  width: 1.75rem;
  height: 1px;
  background: var(--sage);
  display: inline-block;
}
.eyebrow--center::after {
  content: "";
  width: 1.75rem;
  height: 1px;
  background: var(--sage);
  display: inline-block;
}

p + p { margin-top: 1.1em; }
.muted { color: var(--muted); }
.accent { color: var(--clay-2); }

/* ---------- Layout ---------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--narrow { max-width: var(--wrap-narrow); }

.section { padding-block: var(--section-y); }
.section--alt   { background: var(--paper-2); }
.section--sand  { background: var(--sand); }
.section--dark  { background: var(--pine); color: rgba(247,244,239,.82); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--paper); }
.section--dark .eyebrow { color: #A9C4DB; }
.section--dark .eyebrow::before,
.section--dark .eyebrow--center::after { background: rgba(169,196,219,.55); }
/* .lead in .muted imata lastno, temno barvo — na temni podlagi jo je treba
   preglasiti, sicer je besedilo praktično neberljivo. */
.section--dark .lead { color: rgba(247,244,239,.86); }
.section--dark .muted { color: rgba(247,244,239,.6); }
.section--dark p { color: rgba(247,244,239,.82); }
.section--dark .prose a { color: #E4B79B; }

.section__head { max-width: 60ch; }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head .h2 { margin-top: 1rem; }
.section__head p { margin-top: 1.1rem; }

.grid { display: grid; gap: clamp(1.5rem, 1rem + 2vw, 3rem); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.items-center { align-items: center; }
@media (max-width: 860px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .grid-2.keep, .grid-3.keep { grid-template-columns: repeat(2, 1fr); }
}

.stack-sm > * + * { margin-top: .75rem; }
.stack > * + *    { margin-top: 1.25rem; }
.stack-lg > * + * { margin-top: 2rem; }

/* ---------- Buttons --------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  padding: .95em 1.7em;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform .35s var(--ease), background .35s var(--ease),
              color .35s var(--ease), border-color .35s var(--ease);
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn .arrow { transition: transform .35s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.btn--primary { background: var(--sage); color: #fff; }
.btn--primary:hover { background: var(--sage-2); }

.btn--dark { background: var(--ink); color: var(--paper); }
.btn--dark:hover { background: #16202A; }

.btn--outline { border-color: var(--line); color: var(--ink); }
.btn--outline:hover { border-color: var(--ink); background: transparent; }

.btn--light { background: var(--paper); color: var(--ink); }
.btn--light:hover { background: #fff; }

/* Inline text link with animated underline + arrow */
.link {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  position: relative;
}
.link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -3px;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
}
.link:hover::after { transform: scaleX(1); }
.link .arrow { transition: transform .35s var(--ease); }
.link:hover .arrow { transform: translateX(4px); }
.link--clay { color: var(--clay-2); }

/* ---------- Top bar (Instagram) -------------------------------- */
.topbar {
  display: block;
  background: var(--pine);
  color: rgba(247, 244, 239, .85);
  text-decoration: none;
  font-size: .8rem;
  letter-spacing: .01em;
  transition: background .3s var(--ease);
}
.topbar:hover { background: var(--pine-2); }
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding-block: .62rem;
}
.topbar__ig { width: 16px; height: 16px; flex: none; color: #A9C4DB; }
.topbar__text { color: rgba(247, 244, 239, .82); }
.topbar__handle { font-weight: 600; color: var(--paper); }
.topbar .arrow { color: #E4B79B; transition: transform .3s var(--ease); }
.topbar:hover .arrow { transform: translateX(4px); }
.topbar:hover .topbar__handle { text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 520px) {
  .topbar { font-size: .74rem; }
  .topbar__text { display: none; }
  .topbar__inner { gap: .45rem; }
}

/* ---------- Header / Nav ---------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 244, 239, .82);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .4s var(--ease), background .4s var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--line-soft);
  background: rgba(247, 244, 239, .92);
}
/* Na mobilnem glava ob drsenju navzdol zdrsne iz pogleda, ob drsenju
   navzgor pa se vrne (glej je-skrita v main.js). */
@media (max-width: 1024px) {
  .site-header {
    transition: transform .3s var(--ease), border-color .4s var(--ease), background .4s var(--ease);
    /* Brez will-change: transform — ustvaril bi referencni okvir za
       position:fixed in celozaslonski meni bi se skrcil na visino glave. */
  }
  .site-header.je-skrita { transform: translateY(-100%); }

  /* Ko se glava ob drsenju vrne, je nižja — manj zakriva vsebino. */
  .nav { transition: height .3s var(--ease); }
  .site-header.is-scrolled .nav { height: 56px; }
  .site-header.is-scrolled .brand__mark { width: 30px; height: 23px; }
  .site-header.is-scrolled .brand__name { font-size: 1rem; }
  .site-header.is-scrolled .brand__sub { font-size: .55rem; margin-top: .24rem; }
  .site-header.is-scrolled .nav-toggle { transform: scale(.92); }
}
@media (prefers-reduced-motion: reduce) {
  .site-header { transition: none; }
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  height: 76px;
}
.brand { display: inline-flex; align-items: center; gap: .7rem; }
.brand__mark { width: 38px; height: 29px; flex: none; color: var(--sage); }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 1.16rem;
  letter-spacing: 0;
  color: var(--ink);
}
.brand__sub {
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: .32rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(.9rem, .2rem + 1vw, 1.8rem);
}
.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-2);
  position: relative;
  padding-block: .35rem;
  transition: color .3s var(--ease);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--clay);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-links a[aria-current="page"] { color: var(--ink); }

.nav-cta { display: inline-flex; align-items: center; gap: 1.25rem; }
/* the in-menu CTA appears only inside the mobile drawer */
.nav-links li:has(> .btn) { display: none; }

.nav-cta .btn { padding: .62em 1.3em; font-size: .85rem; }
.nav-links a.btn { color: #fff; }

.nav-close { display: none; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  position: relative;
  transition: background .25s var(--ease), border-color .25s var(--ease);
}
.nav-toggle:hover { background: var(--paper-2); border-color: var(--nebo); }
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 18px; height: 2px;
  border-radius: 2px;
  background: var(--sage);
  transform: translate(-50%, -50%);
  transition: transform .35s var(--ease), opacity .2s var(--ease), width .35s var(--ease);
}
/* Črtice pojemajo kot Sled iz znaka. */
.nav-toggle span { width: 13px; }
.nav-toggle span::after { width: 8px; }
/* Pseudoelementa merita od vrha 2px visokega span-a, zato potrebujeta enak
   -50% po Y kot sredinska črtica — sicer je spodnja reža večja od zgornje. */
.nav-toggle span::before { transform: translate(-50%, calc(-50% - 5px)); }
.nav-toggle span::after  { transform: translate(-50%, calc(-50% + 5px)); }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before,
.nav-toggle[aria-expanded="true"] span::after { width: 18px; }
.nav-toggle[aria-expanded="true"] span::before { transform: translate(-50%, -50%) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { transform: translate(-50%, -50%) rotate(-45deg); }

@media (max-width: 1024px) {
  .nav-cta .btn { display: none; }
  .nav-toggle { display: inline-block; }
  /* backdrop-filter na glavi ustvari referencni okvir za position:fixed,
     zato bi bil meni omejen na visino glave. Na mobilnem ga zato izklopimo
     in uporabimo polno podlago. */
  .site-header,
  .site-header.is-scrolled {
    background: var(--paper);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  /* Mobilni meni je celozaslonsko okno; glava z znakom in gumbom za
     zapiranje ostane nad njim (z-index 100 proti 99). */
  .nav-links {
    position: fixed;
    inset: var(--admin-bar) 0 0 0;
    z-index: 99;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    background: var(--paper);
    padding: calc(76px + 1rem) var(--gutter) 2rem;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: scale(1.015);
    transition: opacity .35s var(--ease), transform .35s var(--ease),
                visibility .35s var(--ease);
  }
  .nav-links.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav-links li {
    width: 100%;
    max-width: 26rem;
    opacity: 0;
    transform: translateY(10px);
  }
  .nav-links.is-open li {
    animation: veronika-nav-in .45s var(--ease) forwards;
  }
  .nav-links.is-open li:nth-child(1) { animation-delay: .06s; }
  .nav-links.is-open li:nth-child(2) { animation-delay: .10s; }
  .nav-links.is-open li:nth-child(3) { animation-delay: .14s; }
  .nav-links.is-open li:nth-child(4) { animation-delay: .18s; }
  .nav-links.is-open li:nth-child(5) { animation-delay: .22s; }
  .nav-links.is-open li:nth-child(6) { animation-delay: .26s; }
  .nav-links.is-open li:nth-child(7) { animation-delay: .30s; }

  @keyframes veronika-nav-in {
    to { opacity: 1; transform: none; }
  }

  .nav-links a {
    display: block;
    width: 100%;
    text-align: center;
    padding: .8rem 0;
    border-bottom: 1px solid var(--line-soft);
    font-family: var(--font-head);
    font-weight: 400;
    font-size: clamp(1.3rem, 1.05rem + 1.4vw, 1.75rem);
    color: var(--ink);
  }
  .nav-links a::after { display: none; }
  .nav-links a[aria-current="page"] { color: var(--clay-2); }

  /* Krožni X v celozaslonskem meniju — viden nad vsebino okna. */
  .nav-close {
    position: fixed;
    top: calc(var(--admin-bar) + 16px);
    right: var(--gutter);
    z-index: 101;
    display: none;
    place-items: center;
    width: 46px;
    height: 46px;
    padding: 0;
    color: var(--ink);
    background: var(--sand);
    border: 1px solid var(--line);
    border-radius: 50%;
    transition: background .25s var(--ease), transform .25s var(--ease);
  }
  .nav-close:hover { background: var(--sand-2); transform: rotate(90deg); }
  .nav-close svg { width: 22px; height: 22px; }
  .nav-links.is-open ~ .nav-close { display: grid; }

  /* Ko je meni odprt, hamburger skrijemo — zapiranje prevzame X. */
  .nav-toggle[aria-expanded="true"] { visibility: hidden; }

  .nav-links li:has(> .btn) { display: block; }
  .nav-links li:has(> .btn) a { border-bottom: 0; }
  .nav-links .btn {
    margin-top: 1.35rem;
    width: 100%;
    justify-content: center;
    font-family: var(--font);
    font-size: .95rem;
    padding-block: .95em;
  }

  /* Preklopnik jezika je v odprtem meniju zgoraj levo, nasproti gumba za
     zapiranje — tako meni ostane brez drsenja. */
  .nav-links__lang {
    position: fixed;
    top: calc(var(--admin-bar) + 16px);
    left: var(--gutter);
    z-index: 101;
    width: auto;
    margin-top: 0;
  }
}

/* ---------- Media (art-directed photo placeholders) ------------- */
/* Drop a real <img> inside .media later — it covers the block.     */
.media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, var(--sand) 0%, var(--sand-2) 100%);
  aspect-ratio: 4 / 3;
  isolation: isolate;
}
.media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; z-index: 2; }
.media--portrait { aspect-ratio: 4 / 5; }
.media--wide     { aspect-ratio: 16 / 10; }
.media--tall     { aspect-ratio: 3 / 4; }
.media--square   { aspect-ratio: 1 / 1; }

.media--nature  { background: linear-gradient(150deg, #8FB0CC 0%, #46658C 100%); }
.media--space   { background: linear-gradient(150deg, #E6DCC8 0%, #CDBB96 100%); }
.media--portrait-bg { background: linear-gradient(150deg, #DCD0B8 0%, #B5A17C 100%); }
.media--clay    { background: linear-gradient(150deg, #D4A183 0%, #A9714E 100%); }
.media--pine    { background: linear-gradient(150deg, #3E5A75 0%, #24384A 100%); }

/* film grain overlay */
.media::after {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
  opacity: .35;
  z-index: 2;
  pointer-events: none;
}
/* centered line motif */
.media__motif {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 1;
  color: rgba(255,255,255,.5);
}
.media--space .media__motif,
.media--portrait-bg .media__motif { color: rgba(44,66,87,.32); }
.media__motif svg { width: clamp(70px, 22%, 130px); height: auto; }

.media__cap {
  position: absolute;
  left: 1rem; bottom: 1rem;
  z-index: 3;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(255,255,255,.92);
  background: rgba(34,48,60,.28);
  backdrop-filter: blur(4px);
  padding: .4em .8em;
  border-radius: 100px;
}
.media--space .media__cap,
.media--portrait-bg .media__cap { color: var(--ink); background: rgba(255,255,255,.45); }

/* decorative offset frame */
.media-frame { position: relative; }
.media-frame::before {
  content: "";
  position: absolute;
  inset: 1.25rem -1.25rem -1.25rem 1.25rem;
  border: 1px solid var(--sage);
  border-radius: var(--radius-lg);
  z-index: -1;
}

/* ---------- Hero ------------------------------------------------- */
.hero { position: relative; padding-block: clamp(3rem, 1rem + 7vw, 7rem) var(--section-y); }
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 1rem + 4vw, 5rem);
  align-items: center;
}
.hero__content { max-width: 40rem; }
.hero .display { margin-top: 1.5rem; }
.hero__content .lead { margin-top: 1.75rem; max-width: 42ch; }
.hero__actions { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; }
.hero__media { position: relative; }
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { width: 100%; max-width: 440px; margin-inline: auto; }
  .media-frame::before { inset: .85rem -.85rem -.85rem .85rem; }
}

/* arch backdrop behind hero media */
.hero__arch {
  position: absolute;
  top: -3%; right: -6%;
  width: 60%; height: 106%;
  color: var(--sage);
  opacity: .5;
  z-index: -1;
}
@media (max-width: 900px) { .hero__arch { display: none; } }

/* ---------- Cards ------------------------------------------------ */
.card {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 1rem + 1.5vw, 2.25rem);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.section--alt .card { background: var(--paper); }
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px -32px rgba(34,48,60,.5);
  border-color: var(--line);
}
.card__num {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--clay);
}
.card__icon {
  width: 46px; height: 46px;
  color: var(--sage-2);
  margin-bottom: 1.4rem;
}
.card .h3 { margin-bottom: .6rem; }
.card p { font-size: 1rem; color: var(--ink-2); }
.card .link { margin-top: auto; padding-top: 1.5rem; }

/* feature list with rule lines */
.feature-list { border-top: 1px solid var(--line); }
.feature-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.feature-list .idx {
  font-size: 0.8rem; font-weight: 600; letter-spacing: .14em;
  color: var(--clay); padding-top: .35rem;
}
.feature-list h3 { margin-bottom: .4rem; }
.feature-list p { font-size: 1rem; max-width: 60ch; }

/* ---------- Quote / statement ----------------------------------- */
.statement {
  max-width: 22ch;
}
.statement .display { font-weight: 300; }
.quote {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 1.1rem + 1.8vw, 2.5rem);
  font-weight: 300;
  line-height: 1.28;
  letter-spacing: -0.01em;
  color: var(--ink);
  max-width: 24ch;
}
.quote--full { max-width: 20ch; margin-inline: auto; text-align: center; }
.quote-mark { color: var(--clay); font-weight: 400; }

/* ---------- Workshop / list item -------------------------------- */
.event {
  display: grid;
  grid-template-columns: 160px 1fr auto;
  gap: 2rem;
  align-items: center;
  padding: 2rem 0;
  border-bottom: 1px solid var(--line);
  transition: padding-inline .4s var(--ease);
}
.event:first-child { border-top: 1px solid var(--line); }
.event:hover { padding-inline: 1rem; }
.event__date { color: var(--clay-2); font-weight: 600; font-size: .95rem; letter-spacing: .02em; }
.event__date span { display: block; color: var(--muted); font-weight: 500; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-top: .25rem; }
.event__body h3 { margin-bottom: .35rem; }
.event__body p { font-size: 1rem; max-width: 52ch; }
@media (max-width: 760px) {
  .event { grid-template-columns: 1fr; gap: .75rem; }
  .event__cta { justify-self: start; }
}

/* ---------- Stats / trust strip --------------------------------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.stat__num { font-size: clamp(2.2rem, 1.5rem + 2.5vw, 3.4rem); font-weight: 300; color: var(--ink); letter-spacing: -.03em; }
.stat__label { color: var(--muted); font-size: .95rem; margin-top: .25rem; }
@media (max-width: 640px) { .stats { grid-template-columns: 1fr; gap: 1.5rem; text-align: center; } }

/* ---------- CTA band -------------------------------------------- */
.cta-band { position: relative; overflow: hidden; }
.cta-band .wrap { position: relative; z-index: 1; }
.cta-band__inner { text-align: center; margin-inline: auto; }

/* Naslov pasu naj stoji v eni vrstici; širino 46ch nosi odstavek pod njim,
   sicer bi naslov lomil, ker se je omejitev prej nanašala na cel blok.
   min() s širino zaslona poskrbi, da tudi najdaljši naslov ne uide iz roba. */
.cta-band .h1 {
  margin: 1.25rem 0 1.75rem;
  white-space: nowrap;
  font-size: min(var(--fs-h1), 5.2vw);
}
.cta-band__inner .lead { max-width: 46ch; margin-inline: auto; }

@media (max-width: 860px) {
  /* Na ozkem zaslonu ena vrstica ni mogoča in tudi ni želena. */
  .cta-band .h1 { white-space: normal; font-size: var(--fs-h1); }
}
.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: clamp(1.75rem, 1rem + 1.5vw, 2.75rem);
}
.cta-band__deco { position: absolute; opacity: .14; color: var(--paper); }

/* ---------- Contact --------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 1rem + 4vw, 5rem); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.info-row { display: grid; grid-template-columns: 40px 1fr; gap: 1rem; padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.info-row:first-of-type { border-top: 1px solid var(--line); }
.info-row svg { width: 22px; color: var(--sage-2); margin-top: .25rem; }
.info-row__label { font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.info-row__value { color: var(--ink); font-size: 1.05rem; margin-top: .15rem; }

.form { display: grid; gap: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: .5rem; }
.field label { font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.field input, .field textarea, .field select {
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-field);
  padding: .9rem 1.3rem;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.field textarea { resize: vertical; min-height: 140px; border-radius: var(--radius-field-lg); }
.field input::placeholder, .field textarea::placeholder { color: #9AA5B0; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--sage-2);
  box-shadow: 0 0 0 3px rgba(169,196,219,.45);
}
.form__consent { display: flex; gap: .75rem; align-items: flex-start; font-size: .9rem; color: var(--muted); }
.form__consent input { margin-top: .3rem; accent-color: var(--sage-2); }
.form__note { font-size: .85rem; color: var(--muted); }

/* ---------- Page hero (inner pages) ----------------------------- */
.page-hero { padding-block: clamp(3.5rem, 2rem + 6vw, 7rem) clamp(2rem, 1rem + 3vw, 3.5rem); }
.page-hero__inner { max-width: 56ch; }
.page-hero .display { margin-top: 1.25rem; }
.page-hero .lead { margin-top: 1.5rem; }
.breadcrumb { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.breadcrumb a:hover { color: var(--ink); }

/* prose for content pages */
.prose { max-width: 68ch; }
.prose > * + * { margin-top: 1.25rem; }
.prose h2 { font-size: var(--fs-h3); margin-top: 2.5rem; }
.prose h3 { font-size: 1.15rem; margin-top: 2rem; }
ul.ticks { display: grid; gap: .85rem; }
ul.ticks li { display: grid; grid-template-columns: auto 1fr; gap: .9rem; align-items: start; }
ul.ticks li::before {
  content: "";
  width: 18px; height: 18px; margin-top: .28rem;
  background: var(--sage);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat;
  flex: none;
}

/* pricing / simple list cards */
.tile {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 1rem + 1.5vw, 2.5rem);
}
.tile--feature { background: var(--pine); color: rgba(247,244,239,.85); border-color: transparent; }
.tile--feature h3, .tile--feature .price { color: var(--paper); }
.price { font-family: var(--font-head); font-size: clamp(1.8rem, 1.4rem + 1.5vw, 2.4rem); font-weight: 400; letter-spacing: -.01em; }
.price span { font-size: 1rem; color: var(--muted); }
.tile--feature .price span { color: rgba(247,244,239,.6); }
.tag {
  display: inline-block; font-size: .72rem; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--clay-2); background: rgba(201,138,107,.14);
  padding: .35em .75em; border-radius: 100px; margin-bottom: 1rem;
}
.tile--feature .tag { color: #E4B79B; background: rgba(255,255,255,.12); }

/* ---------- Instagram banner ------------------------------------ */
.ig-banner { background: var(--paper); }
.ig-banner__head { text-align: center; max-width: 50ch; margin-inline: auto; }
.ig-banner__head .h3 { margin: .85rem 0 1rem; }
.ig-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
}
@media (max-width: 900px) { .ig-grid { grid-template-columns: repeat(3, 1fr); } }

/* Na telefonu pas postane vodoravni drsnik z dvema objavama naenkrat. */
@media (max-width: 760px) {
  .ig-grid {
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    cursor: grab;
  }
  .ig-grid::-webkit-scrollbar { display: none; }
  .ig-grid.je-vlecen { cursor: grabbing; scroll-snap-type: none; }
  .ig-cell {
    flex: 0 0 50%;
    scroll-snap-align: start;
  }
  /* Med vlečenjem naj slika ne postane izbrana ali odvlečena. */
  .ig-grid.je-vlecen img { pointer-events: none; }
}
.ig-cell {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--sand);
}
.ig-cell img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.ig-cell:hover img { transform: scale(1.06); }
.ig-cell__icon {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(44, 66, 87, 0);
  opacity: 0;
  transition: opacity .35s var(--ease), background .35s var(--ease);
}
.ig-cell__icon svg { width: 30px; height: 30px; }
.ig-cell:hover .ig-cell__icon { opacity: 1; background: rgba(44, 66, 87, .34); }
.ig-cell:focus-visible .ig-cell__icon { opacity: 1; background: rgba(44, 66, 87, .34); }

/* ---------- Footer ---------------------------------------------- */
.site-footer { background: var(--pine); color: rgba(247,244,239,.72); padding-block: clamp(3.5rem, 2rem + 4vw, 5.5rem) 2.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: clamp(2rem, 1rem + 3vw, 4rem); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer .brand__name { color: var(--paper); }
.site-footer .brand__sub { color: rgba(247,244,239,.5); }
.site-footer .brand__mark { color: #A9C4DB; }
.footer-about { max-width: 34ch; margin-top: 1.5rem; font-size: .98rem; }
.footer-col h4 { color: var(--paper); font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; margin-bottom: 1.25rem; }
.footer-col a { display: block; padding: .4rem 0; color: rgba(247,244,239,.72); transition: color .3s var(--ease); font-size: .98rem; }
.footer-col a:hover { color: var(--paper); }
.footer-bottom {
  margin-top: clamp(2.5rem, 1.5rem + 3vw, 4rem);
  padding-top: 1.75rem;
  border-top: 1px solid rgba(247,244,239,.16);
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
  align-items: center;
  font-size: 11px; color: rgba(247,244,239,.55);
}
.footer-bottom a { color: rgba(247,244,239,.78); text-decoration: underline; text-underline-offset: 2px; transition: color .3s var(--ease); }
.footer-bottom a:hover { color: var(--paper); }

/* ---------- Marquee ("tekoči trak") ----------------------------- */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(1.1rem, .6rem + 1.6vw, 1.9rem);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee--dark { background: var(--pine); border-color: rgba(247,244,239,.16); }
.marquee__track {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  will-change: transform;
  animation: marquee 38s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 1rem + 2.6vw, 3rem);
  font-weight: 300;
  letter-spacing: -0.01em;
  color: var(--ink);
  padding-inline: clamp(1rem, .5rem + 1.5vw, 2.2rem);
}
.marquee--dark .marquee__item { color: var(--paper); }
.marquee__item--em { font-style: italic; color: var(--clay-2); }
.marquee--dark .marquee__item--em { color: #E4B79B; }
.marquee__dot { color: var(--sage); font-size: 1rem; }
.marquee--dark .marquee__dot { color: #A9C4DB; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

/* ---------- Focus areas (huetherapy-style grid) ----------------- */
.focus-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
@media (max-width: 860px) { .focus-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .focus-grid { grid-template-columns: 1fr; } }
.focus-item {
  background: var(--paper);
  padding: clamp(1.6rem, 1rem + 1.6vw, 2.4rem);
  transition: background .4s var(--ease);
}
.section--alt .focus-item { background: var(--paper-2); }
.focus-item:hover { background: var(--sand); }
.focus-item__idx { font-size: .78rem; font-weight: 600; letter-spacing: .16em; color: var(--clay); }
.focus-item h3 { font-size: 1.45rem; margin: 1.25rem 0 .6rem; }
.focus-item p { font-size: .98rem; color: var(--ink-2); }

/* ---------- Statement band -------------------------------------- */
.statement-band { text-align: center; }
.statement-band__inner { max-width: 800px; margin-inline: auto; }
.statement-band__big {
  font-family: var(--font-head);
  font-weight: 300;
  font-size: clamp(2.1rem, 1.2rem + 4vw, 4.2rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--ink);
  max-width: 18ch;
  margin-inline: auto;
}
.section--dark .statement-band__big { color: var(--paper); }
.statement-band__big em { font-style: italic; color: var(--clay-2); }
.section--dark .statement-band__big em { color: #E4B79B; }
.statement-band p { max-width: 48ch; margin-inline: auto; margin-top: 1.5rem; }
.statement-band .btn { margin-top: 2.25rem; }

/* ---------- Scroll reveal --------------------------------------- */
/* Skrijemo samo, kadar JavaScript teče — sicer vsebina brez njega ne bi bila vidna. */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }

/* ---------- Utilities ------------------------------------------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.maxw-prose { max-width: 60ch; }
.divider { height: 1px; background: var(--line); border: 0; }
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 1000;
  background: var(--ink); color: var(--paper); padding: .75rem 1.25rem; border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { left: 0; }
:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; border-radius: 2px; }

/* ---------- Blog -------------------------------------------------- */
.post-card__media {
  display: block;
  margin: -1.75rem -1.75rem 1.25rem;
  overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
  background: var(--sand);
}
.post-card__media img {
  display: block;
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.card:hover .post-card__media img { transform: scale(1.03); }

.post-card__date {
  display: block;
  font-size: var(--fs-small);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}

.card h2 a { color: inherit; text-decoration: none; }
.card h2 a:hover { color: var(--clay-2); }

.pagination {
  display: flex;
  justify-content: center;
  gap: .5rem;
  margin-top: 3rem;
}
.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 .75rem;
  color: var(--ink-2);
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .2s, color .2s;
}
.pagination .page-numbers:hover { border-color: var(--sage); color: var(--ink); }
.pagination .page-numbers.current {
  background: var(--sage);
  border-color: var(--sage);
  color: var(--paper);
}

/* Delavnica brez znanega termina */
.event--soon .event__date { color: var(--sage-2); }
.event--soon .event__body h3 { color: var(--muted); }

/* ---------- Instagram predogled (modal) --------------------------- */
.ig-modal {
  position: fixed;
  inset: var(--admin-bar) 0 0 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 0.5rem + 2vw, 2.5rem);
}
.ig-modal[hidden] { display: none; }

.ig-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(34, 48, 60, .72);
  backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.ig-modal.is-open .ig-modal__backdrop { opacity: 1; }

.ig-modal__dialog {
  position: relative;
  width: min(100%, 940px);
  max-height: 100%;
  background: var(--paper);
  border-radius: var(--radius-lg);
  overflow: hidden;
  opacity: 0;
  transform: translateY(12px) scale(.985);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.ig-modal.is-open .ig-modal__dialog { opacity: 1; transform: none; }

.ig-modal__figure {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  max-height: min(84vh, 640px);
}
@media (max-width: 760px) {
  .ig-modal__figure { grid-template-columns: 1fr; max-height: 88vh; overflow-y: auto; }
}

.ig-modal__img {
  width: 100%;
  height: 100%;
  max-height: min(84vh, 640px);
  /* Objave so pogosto slike z besedilom — pokažemo celo, brez obreza. */
  object-fit: contain;
  background: var(--sand-2);
}
@media (max-width: 760px) { .ig-modal__img { max-height: 46vh; } }

.ig-modal__caption {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 1.75rem;
  padding: clamp(1.75rem, 1rem + 2.5vw, 3rem);
  overflow-y: auto;
}
.ig-modal__text {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink-2);
}
.ig-modal__text:empty { display: none; }

.ig-modal__btn {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  color: var(--ink);
  background: rgba(247, 244, 239, .92);
  border: 0;
  border-radius: 50%;
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.ig-modal__btn:hover { background: #fff; transform: scale(1.06); }
.ig-modal__btn svg { width: 20px; height: 20px; }
.ig-modal__btn--close { top: .85rem; right: .85rem; }
.ig-modal__btn--prev  { top: 50%; left: .85rem; transform: translateY(-50%); }
.ig-modal__btn--next  { top: 50%; right: .85rem; transform: translateY(-50%); }
.ig-modal__btn--prev:hover,
.ig-modal__btn--next:hover { transform: translateY(-50%) scale(1.06); }
/* Na mobilnem puščici ostaneta na navpični sredini okna, ne ob sliki. */
@media (max-width: 760px) {
  .ig-modal__btn--prev,
  .ig-modal__btn--next { top: 50%; transform: translateY(-50%); }
}

body.ig-modal-open { overflow: hidden; }

/* ---------- E-novice ---------------------------------------------- */
/* Namenoma peščena, ne borova — pas stoji med temnim CTA in temno nogo,
   zato mora izstopati od obeh. */
.newsletter {
  position: relative;
  overflow: hidden;
  background: var(--pine);
  color: rgba(247,244,239,.82);
  padding-block: clamp(3.5rem, 2rem + 5vw, 6rem);
}
/* Krogi so zasidrani na dno, ne na sredino: pas je nižji od njih, zato jih
   je sredinjenje odrezalo na vrhu in na dnu hkrati — videti je bilo kot
   napaka. Zdaj se dvigujejo iz spodnjega kota in so odrezani samo tam. */
.newsletter__deco {
  position: absolute;
  top: auto;
  bottom: -130px;
  right: -90px;
  width: 380px;
  transform: none;
  color: var(--nebo);
  opacity: .15;
  pointer-events: none;
}
.newsletter__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 1rem + 4vw, 5rem);
  /* Stolpca se začneta enako visoko; obrazec dobi zamik, da se prvo polje
     poravna z naslovom, ne z nadnaslovom nad njim. */
  align-items: start;
}
@media (min-width: 901px) { .newsletter__form-col { padding-top: 2.75rem; } }
@media (max-width: 900px) { .newsletter__inner { grid-template-columns: 1fr; } }

.newsletter h2 { color: var(--paper); }
.newsletter .eyebrow { color: var(--nebo); }
.newsletter .eyebrow::before { background: rgba(169,196,219,.55); }
/* Opis je podnaslov naslova, ne samostojen odstavek — razred mt-2 je dal
   32 px, kar ju je razklenilo. */
.newsletter__intro p { max-width: 44ch; margin-top: .75rem; }

.newsletter__fields {
  display: grid;
  grid-template-columns: 1fr 1.2fr auto;
  gap: .75rem;
}
@media (max-width: 760px) { .newsletter__fields { grid-template-columns: 1fr; } }

.newsletter__form input[type="text"],
.newsletter__form input[type="email"] {
  width: 100%;
  padding: .95rem 1.1rem;
  font: inherit;
  color: var(--ink);
  background: #fff;
  border: 1px solid rgba(34, 48, 60, .1);
  border-radius: var(--radius-field);
  transition: border-color .2s;
}
.newsletter__form input::placeholder { color: var(--muted); }
.newsletter__form input:focus { outline: none; border-color: var(--sage); }
.newsletter__form .btn { justify-content: center; white-space: nowrap; }

.newsletter__consent {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  margin-top: 1.1rem;
  font-size: .88rem;
  line-height: 1.5;
  color: rgba(247,244,239,.75);
}
.newsletter__consent input { margin-top: .28rem; accent-color: var(--clay); }

.newsletter__status {
  margin-bottom: 1rem;
  padding: .85rem 1.1rem;
  font-size: .95rem;
  color: var(--ink);
  background: rgba(169, 196, 219, .35);
  border-left: 3px solid var(--sage-2);
  border-radius: var(--radius);
}
.newsletter__status--error {
  background: rgba(201, 138, 107, .16);
  border-left-color: var(--clay-2);
  color: var(--clay-2);
}

/* ---------- Široka fotografija med sekcijami ---------------------- */
.approach-photo {
  height: clamp(220px, 18vw + 120px, 420px);
  background: var(--sand);
  overflow: hidden;
}
.approach-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
}

/* ---------- Metode (Iz česa izhajam) ------------------------------ */
.methods__layout {
  display: grid;
  grid-template-columns: 0.8fr 1.5fr;
  gap: clamp(2rem, 1rem + 3vw, 4rem);
  align-items: center;
}
@media (max-width: 980px) {
  .methods__layout { grid-template-columns: 1fr; }
  .methods__media { max-width: 420px; margin-inline: auto; }
}

.methods__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.5rem, 1rem + 1.5vw, 2.5rem);
}
@media (max-width: 620px) { .methods__grid { grid-template-columns: 1fr; } }

.method {
  position: relative;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.method__idx {
  display: block;
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--clay-2);
  letter-spacing: .04em;
  margin-bottom: .5rem;
}
.method__title { margin-bottom: .6rem; }
.method__text { font-size: 1rem; }
.method__meta {
  margin-top: .9rem;
  font-size: .8rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-2);
  line-height: 1.5;
}

/* Fokus — obroč v Nebu (CGP Mirno morje) */
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--nebo);
  outline-offset: 2px;
}

/* ---------- Vzorci iz oblikovnega sistema (CGP Mirno morje) ------ */

/* Sredinski hero z morskim pasom */
.hero--sea { padding-block: clamp(3rem, 1rem + 6vw, 6.5rem) 0; text-align: center; }
.hero--sea .hero__center { max-width: 52rem; margin-inline: auto; display: flex; flex-direction: column; align-items: center; }
.hero--sea .lead { margin-top: 1.75rem; max-width: 52ch; }
.hero--sea .hero__actions { justify-content: center; }

.sea-band {
  position: relative;
  height: clamp(110px, 15vw, 170px);
  margin-top: clamp(2.75rem, 2rem + 3vw, 4.5rem);
  /* Nebo do obzorja — modra se začne na spodnjem robu, morje je pasica pod njim. */
  background: linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 38%, var(--nebo) 100%);
  border-bottom: 4px solid var(--sage);
}
.sea-band svg {
  position: absolute;
  left: 50%;
  top: 38%;
  transform: translateX(-50%);
  width: clamp(26px, 3vw, 34px);
}

/* Sled — pojemajoče črtice sončne poti (ločnice, zaključki) */
.sled { display: flex; justify-content: center; gap: 10px; margin-top: 2rem; }
.sled i { display: block; height: 3px; border-radius: 3px; background: var(--nebo); }
.sled i:nth-child(1) { width: 44px; }
.sled i:nth-child(2) { width: 26px; opacity: .6; }
.sled i:nth-child(3) { width: 13px; opacity: .35; }

/* Zaključni pas s prehodom neba — se prelije v temno nogo */
.cta-band--sky {
  /* Nebo do obzorja — modra se začne na spodnjem robu, morje je temna noga pod njim. */
  background: linear-gradient(180deg, var(--paper-2) 0%, var(--nebo) 100%);
  border-bottom: 4px solid var(--sage);
  padding-bottom: clamp(5rem, 3.5rem + 4vw, 7.5rem);
}
.cta-band--sky .eyebrow { color: var(--sage-2); }
.cta-band--sky .lead { color: var(--ink-2); }

/* Fotografije — rahlo znižana nasičenost (CGP, poglavje 05) */
.media img { filter: saturate(.82); }


/* Hero čez cel zaslon z video ozadjem (domov) */
.hero--full {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: calc(100svh - var(--hero-offset, 150px) - var(--admin-bar));
  padding-block: clamp(3rem, 2rem + 3vw, 5rem) 10rem;
  overflow: hidden;
}
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
/* Mirujoča podlaga: pokaže se, kadar se video ne predvaja — Safari z
   varčevanjem energije, blokiran samodejni zagon, prefers-reduced-motion. */
.hero__poster {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: none;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.hero--still .hero__video { display: none; }
.hero--still .hero__poster { display: block; }

.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg,
    var(--paper) 0%, rgba(247,244,239,.93) 30%,
    rgba(247,244,239,.55) 58%, rgba(247,244,239,.04) 100%);
}
.hero--full .wrap { position: relative; z-index: 2; }
@media (prefers-reduced-motion: reduce) {
  .hero__video { display: none; }
  .hero__poster { display: block; }
}

/* Pasica z besedami kot del hero videa */
.hero--full .marquee { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; }
.marquee--hero {
  background: linear-gradient(180deg, rgba(34,48,60,0) 0%, rgba(34,48,60,.45) 100%);
  border-top: 1px solid rgba(247,244,239,.22);
  border-bottom: 0;
}
.marquee--hero .marquee__item { color: var(--paper); }
.marquee--hero .marquee__item--em { color: #E4B79B; }
.marquee--hero .marquee__dot { color: var(--nebo); }

/* ---------- Blog: seznam in posamezen zapis ----------------------- */
.cat-pills { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 2.25rem; }
.cat-pill {
  display: inline-block;
  padding: .45rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--ink-2);
  text-decoration: none;
  transition: border-color .25s var(--ease), color .25s var(--ease), background .25s var(--ease);
}
.cat-pill:hover { border-color: var(--sage); color: var(--sage); }
.cat-pill.is-active { background: var(--sage); border-color: var(--sage); color: var(--paper); }

.blog-list { display: flex; flex-direction: column; margin-top: 2.5rem; }
.blog-item { display: grid; gap: 1.25rem 2.25rem; padding-block: clamp(1.75rem, 1rem + 2vw, 2.75rem); }
.blog-item + .blog-item { border-top: 1px solid var(--line-soft); }
@media (min-width: 720px) {
  .blog-item { grid-template-columns: minmax(0, 300px) 1fr; align-items: start; }
}
.blog-item__media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: var(--radius-lg);
}
.blog-item__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.blog-item:hover .blog-item__media img { transform: scale(1.03); }
.blog-item__meta { font-size: var(--fs-small); color: var(--muted); }
.blog-item__meta a { color: inherit; text-decoration: none; }
.blog-item__meta a:hover { color: var(--sage); }
.blog-item h2 { margin-top: .5rem; }
.blog-item h2 a { color: inherit; text-decoration: none; transition: color .25s var(--ease); }
.blog-item h2 a:hover { color: var(--sage); }
.blog-item__excerpt { margin-top: .6rem; color: var(--ink-2); }
.blog-item .link { margin-top: .9rem; }

/* Kazalo vsebine v posameznem zapisu */
.toc {
  max-width: 68ch;
  margin-bottom: clamp(2rem, 1rem + 3vw, 3.25rem);
  padding: 1.5rem 1.75rem;
  background: var(--paper-2);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
}
.toc__title {
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.toc ol { margin: .9rem 0 0; padding-left: 1.2rem; display: grid; gap: .45rem; }
.toc a { color: var(--sage); text-decoration: none; }
.toc a:hover { text-decoration: underline; }
.prose--post { max-width: 68ch; }
.prose--post h2 { scroll-margin-top: calc(6rem + var(--admin-bar)); }

.media__caption { margin-top: .8rem; font-size: var(--fs-small); color: var(--muted); }
.page-hero__inner--wide { max-width: 72ch; }

/* Intro pas na domov: besedilo ob "Dobrodošli" čez celotno širino stolpca */
#vsebina .statement,
#vsebina .quote { max-width: none; }

/* ---------- Moja pot: časovnica in področja dela ------------------ */
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li {
  position: relative;
  padding: 0 0 1.4rem 1.9rem;
  border-left: 1px solid var(--nebo);
  margin-left: .4rem;
}
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: "";
  position: absolute;
  left: -6px;
  top: .35rem;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--sage);
  border: 2px solid var(--paper);
}
.timeline strong { display: block; color: var(--ink); font-weight: 600; }
.timeline .timeline__meta { font-size: var(--fs-small); color: var(--muted); margin-top: .15rem; display: block; }

.chips { display: flex; flex-wrap: wrap; gap: .7rem; }
.chip {
  display: inline-block;
  padding: .55rem 1.2rem;
  background: var(--paper-2);
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  font-size: .95rem;
  color: var(--ink-2);
}

/* ---------- Družbena omrežja v nogi ------------------------------- */
.socials {
  display: flex;
  gap: .6rem;
  margin-top: 1.5rem;
}
.socials a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: rgba(247, 244, 239, .72);
  border: 1px solid rgba(247, 244, 239, .2);
  border-radius: 50%;
  transition: color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.socials a:hover {
  color: var(--paper);
  border-color: var(--nebo);
  transform: translateY(-2px);
}
.socials svg { width: 19px; height: 19px; }

/* ---------- Zapis: bralni napredek, sidebar, viri ------------------ */
.read-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  z-index: 300;
  background: transparent;
  pointer-events: none;
}
.read-progress span { display: block; height: 100%; width: 0; background: var(--sage); transition: width .1s linear; }

.post-layout { display: grid; gap: 3rem; align-items: start; }
@media (min-width: 1000px) {
  .post-layout { grid-template-columns: minmax(0, 1fr) 330px; gap: clamp(3rem, 1.5rem + 3vw, 5rem); }
}
.post-content .prose--post { max-width: 75ch; }

.post-aside__sticky {
  position: sticky;
  top: calc(6rem + var(--admin-bar));
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.aside-box {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.6rem;
}
.aside-box__label {
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: .9rem;
}
.aside-box--toc { background: var(--paper-2); }
.aside-box--toc ol { margin: 0; padding-left: 1.2rem; display: grid; gap: .5rem; }
.aside-box--toc a { color: var(--sage); text-decoration: none; font-size: .95rem; line-height: 1.35; }
.aside-box--toc a:hover { text-decoration: underline; }
.aside-box__text { font-size: .95rem; color: var(--ink-2); margin-bottom: 1.1rem; }
.aside-box__btn { width: 100%; justify-content: center; }
.aside-box__list { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: .85rem; }
.aside-box__list strong { display: block; font-weight: 600; color: var(--ink); }
.aside-box__list span { display: block; font-size: var(--fs-small); color: var(--muted); margin-top: .1rem; }
.cat-pills--aside { margin-top: 0; gap: .5rem; }
.cat-pills--aside .cat-pill { padding: .35rem .9rem; font-size: .82rem; }

/* Kazalo kot zložljiv element (mobilno); na širokih zaslonih je v sidebarju */
.toc--mobile { margin-bottom: 2rem; }
.toc--mobile summary {
  cursor: pointer;
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-2);
}
@media (min-width: 1000px) { .toc--mobile { display: none; } }

/* Viri — zložljiv seznam s povezavami */
.viri {
  margin-top: 2.5rem;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  background: var(--paper-2);
  padding: 1.25rem 1.5rem;
}
.viri summary {
  cursor: pointer;
  font-weight: 700;
  font-size: var(--fs-small);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.viri[open] summary { margin-bottom: .9rem; }
.viri ol { margin: 0; padding-left: 1.25rem; display: grid; gap: .55rem; }
.viri li { font-size: .93rem; color: var(--ink-2); }
.viri a { color: var(--sage); }

/* ---------- Pravne povezave v dnu noge ---------------------------- */
/* Ločena skupina znotraj zadnje vrstice; na ozkih zaslonih se prelije
   pod izjavo o avtorskih pravicah. */
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem 1.25rem;
}
.footer-legal a {
  font-size: inherit;
  color: rgba(247, 244, 239, .78);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color .3s var(--ease);
}
.footer-legal a:hover { color: var(--paper); }

@media (max-width: 860px) {
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 1rem; }
}

/* ---------- Izjava o statusu in superviziji ----------------------- */
.izjava {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(1.25rem, 1rem + 1.5vw, 2rem);
  align-items: start;
}
@media (max-width: 620px) { .izjava { grid-template-columns: 1fr; } }
.izjava__ikona {
  width: 44px;
  height: 44px;
  color: var(--sage-2);
  flex: none;
}
.izjava p { max-width: 62ch; }

.znacka {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-size: .84rem;
  letter-spacing: .04em;
  color: var(--ink-2);
  background: rgba(142, 155, 131, .16);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .45rem 1rem;
}
.znacka__pika {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sage-2);
  flex: none;
}

.footer-status {
  margin-top: 1rem;
  max-width: 34ch;
  font-size: .86rem;
  line-height: 1.65;
  color: rgba(247, 244, 239, .55);
}
.footer-status a { color: rgba(247, 244, 239, .8); border-bottom: 1px solid rgba(247, 244, 239, .3); }
.footer-status a:hover { color: var(--paper); }

/* ---------- Zapis: avtorica in CTA znotraj članka ------------------ */
.author-box {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  margin-top: 3rem;
  padding: 1.75rem;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
}
.author-box__photo {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 20%;
  flex: none;
}
.author-box__name {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 1.35rem;
  color: var(--ink);
}
.author-box__bio { margin-top: .6rem; font-size: .96rem; color: var(--ink-2); }
.author-box__bio a { color: var(--sage); }
.author-box__socials { margin-top: .9rem; display: flex; flex-wrap: wrap; gap: 1.1rem; }
.author-box__socials a {
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--sage);
  text-decoration: none;
  border-bottom: 1px solid var(--nebo);
}
.author-box__socials a:hover { color: var(--sage-2); border-color: var(--sage); }
@media (max-width: 560px) {
  .author-box { flex-direction: column; }
}

.post-cta {
  margin-top: 1.5rem;
  padding: clamp(1.75rem, 1.25rem + 2vw, 2.75rem);
  background: var(--pine);
  border-radius: var(--radius-lg);
  color: rgba(247, 244, 239, .85);
}
.post-cta .eyebrow { color: var(--nebo); }
.post-cta .eyebrow::before { background: rgba(169, 196, 219, .55); }
.post-cta__title { color: var(--paper); margin-top: 1rem; }
.post-cta__text { margin: .75rem 0 1.5rem; max-width: 55ch; }

/* Sorodni zapisi v štirih stolpcih: vmesna stopnja na ožjih zaslonih */
@media (min-width: 861px) and (max-width: 1250px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

/* Širši seznam na blog indexu (polna širina wrap) */
@media (min-width: 720px) {
  .blog-item { grid-template-columns: minmax(0, 420px) 1fr; }
}
.blog-item__excerpt { max-width: 65ch; }

/* Instagram pas: rahel overlay v Nebu poenoti barvni vtis fotografij */
.ig-cell::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(169, 196, 219, .38);
  mix-blend-mode: multiply;
  pointer-events: none;
  transition: opacity .35s var(--ease);
}
.ig-cell:hover::after { opacity: 0; }
.ig-cell__icon { z-index: 2; }

/* Popravki: večji portret, ikone socials, poravnane širine boxov, IG modrina */
.author-box { margin-top: 1.5rem; }
.author-box__photo { width: 140px; height: 140px; }
.author-box__socials { gap: .6rem; }
.author-box__socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--sage);
  border-bottom: 1px solid var(--line);
}
.author-box__socials a svg { width: 19px; height: 19px; }
.author-box__socials a:hover { border-color: var(--sage); color: var(--sage-2); background: var(--paper-2); }

/* Viri enako široki kot author box in CTA, enak razmik med boxi */
.prose--post .viri { max-width: none; margin-top: 3rem; padding: 1.75rem; }

/* Glava sekcije Preberi še: naslov levo, nazaj na blog desno */
.related-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

/* Instagram pas: izrazitejša modrina (barvni ton čez fotografije) */
.ig-cell::after {
  background: var(--sage);
  mix-blend-mode: color;
  opacity: .68;
}
.ig-cell:hover::after { opacity: 0; }

/* Instagram vgrajena objava v predogledu (cel carousel) */
.ig-modal__embed { width: min(560px, 92vw); max-height: min(76vh, 760px); overflow-y: auto; margin-inline: auto; border-radius: var(--radius-lg); }
.ig-modal__embed iframe { width: 100% !important; }
.ig-modal.has-embed .ig-modal__img { display: none; }

/* Hero: Veronika kot izrez desno ob besedilu (samo namizje) */
.hero__osebna { display: none; }
@media (min-width: 901px) {
  .hero--full .hero__split {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    align-items: center;
    gap: clamp(1rem, 3vw, 4rem);
  }
  .hero--full .hero__split .hero__center {
    text-align: left;
    align-items: flex-start;
    margin-inline: 0;
    max-width: none;
  }
  .hero--full .hero__split .hero__actions { justify-content: flex-start; }
  .hero__osebna { display: flex; justify-content: center; }
  .hero__osebna-okvir { width: min(37vw, 515px); }
  .hero__osebna img {
    width: 100%;
    filter: saturate(.88);
    -webkit-mask-image: linear-gradient(180deg, #000 78%, transparent 98%);
            mask-image: linear-gradient(180deg, #000 78%, transparent 98%);
  }
}

/* Viri čez celotno širino stolpca: omejitev vrstice nosijo besedilni
   elementi, ne ovoj .prose — viri, slike in infografike so polne širine. */
.post-content .prose--post { max-width: none; }
.prose--post > p,
.prose--post > ul,
.prose--post > ol,
.prose--post > h2,
.prose--post > h3 { max-width: 75ch; }
.prose--post .viri { max-width: none; }

/* IG predogled z vgrajeno objavo: en stolpec, drsenje čez celo objavo */
.ig-modal__embed { max-height: none; overflow: visible; }
.ig-modal.has-embed .ig-modal__figure {
  grid-template-columns: 1fr;
  max-height: min(88vh, 820px);
  overflow-y: auto;
}
.ig-modal.has-embed .ig-modal__caption { display: none; }
.ig-modal__embed { padding: 1rem; }

/* IG predogled: na namizju izkoristi skoraj celo višino zaslona */
.ig-modal.has-embed .ig-modal__dialog { width: min(100%, 640px); }
.ig-modal.has-embed .ig-modal__figure { max-height: calc(100vh - var(--admin-bar) - 5rem); }
.ig-modal__embed { padding: .5rem; }

/* IG predogled: okno se prilagodi višini objave.
   Prej je bila višina fiksna, zato je pod krajšimi objavami ostal prazen
   pas; zdaj je to zgornja meja, vsebina pa določa dejansko višino. */
@media (min-width: 761px) {
  .ig-modal.has-embed .ig-modal__figure {
    max-height: calc(100vh - var(--admin-bar) - 5rem);
    align-content: start;
  }
}
.ig-modal.has-embed .ig-modal__embed { align-self: start; }

/* IG predogled: X v prostem robu, ne cez objavo */
.ig-modal.has-embed .ig-modal__dialog { width: min(100%, 660px); }
.ig-modal__embed { width: min(540px, 92vw); }

/* Mali laptopi: kompaktni hero, da je vse na prvem zaslonu */
@media (min-width: 901px) and (max-height: 820px) {
  .hero--full { padding-block: 1.75rem 5.5rem; }
  .hero--full .display { font-size: clamp(2.1rem, 3.6vw, 3rem); }
  .hero--full .lead { font-size: 1.02rem; margin-top: 1.1rem; }
  .hero--full .hero__actions { margin-top: 1.5rem; }
  .hero__osebna-okvir { width: min(31vw, 408px); }
}

/* Uvodna animacija na prvi strani:
   1) fotka + naslov, 2) opis, gumbi, nadnaslov, 3) glava, pasica, znak */
@keyframes uvod {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}
.hero-in { opacity: 0; animation: uvod 1.2s var(--ease) forwards; }
.hero-in--1  { animation-delay: .2s; }
.hero-in--2a { animation-delay: 1.9s; animation-duration: 1.3s; }
.hero-in--2b { animation-delay: 2.2s; animation-duration: 1.3s; }
.hero-in--2c { animation-delay: 2.5s; animation-duration: 1.3s; }
.hero-in--3  { animation-delay: 4.2s; animation-duration: 1.2s; }
body.home .topbar { opacity: 0; animation: uvod 1.2s var(--ease) 4.2s forwards; }
/* Glava se uvede samo s prosojnostjo, brez premika: animacija s fill-mode
   forwards bi sicer trajno drzala transform in preglasila .je-skrita. */
body.home .site-header { opacity: 0; animation: uvod-brez-premika 1.2s var(--ease) 4.2s forwards; }
.marquee--hero.hero-in { animation-name: uvod-brez-premika; }
@keyframes uvod-brez-premika { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .hero-in, body.home .topbar, body.home .site-header { opacity: 1; animation: none; }
}

/* IG predogled: najmanj 40 px odmika zgoraj in spodaj.
   Višina je zgornja meja, ne fiksna — sicer se pri krajših objavah pod
   njimi razpre prazen pas. Okno je v modalu vodoravno in navpično
   središčeno, zato se ob nižji objavi samo skrči. */
@media (min-width: 761px) {
  .ig-modal.has-embed { padding-top: 40px; padding-bottom: 40px; }
  .ig-modal.has-embed .ig-modal__dialog { max-height: calc(100vh - var(--admin-bar) - 80px); }
  .ig-modal.has-embed .ig-modal__figure { height: auto; max-height: 100%; }
}

/* O terapiji: FAQ v dveh stolpcih, poravnano na robove kot ostale sekcije */
.faq-grid { align-items: start; gap: clamp(2rem, 1rem + 3vw, 5rem); }
.faq-grid .section__head { position: sticky; top: calc(6rem + var(--admin-bar)); }
@media (max-width: 860px) { .faq-grid .section__head { position: static; } }

/* Mobilni hero: besedilo levo, Veronika desno, gumbi pod njima čez celotno
   širino v dveh stolpcih. .hero__center razpustimo (display: contents), da
   njegovi otroci postanejo elementi iste mreže. */
@media (max-width: 900px) {
  .hero--full .hero__split {
    display: grid;
    grid-template-columns: 1fr 52%;
    column-gap: clamp(.6rem, 2vw, 1.1rem);
    align-items: start;
    text-align: left;
  }
  .hero--full .hero__split .hero__center { display: contents; }

  .hero--full .hero__split .eyebrow  {
    grid-column: 1; grid-row: 1;
    font-size: .62rem; letter-spacing: .13em; line-height: 1.5;
  }
  .hero--full .hero__split .eyebrow::before { display: none; }
  .hero--full .hero__split .display  { grid-column: 1; grid-row: 2; font-size: clamp(1.9rem, 7.4vw, 2.9rem); }
  .hero--full .hero__split .lead     { grid-column: 1; grid-row: 3; font-size: .96rem; line-height: 1.5; margin-top: .9rem; }
  .hero--full .hero__split .hero__osebna {
    grid-column: 2; grid-row: 1 / span 3;
    display: flex; justify-content: center; align-self: center; margin-top: 0;
  }
  /* Fotografija sme presegati svoj stolpec, da je postava višja. */
  .hero--full .hero__split .hero__osebna-okvir { width: 128%; margin-inline: -14%; }
  .hero--full .hero__split .hero__actions {
    grid-column: 1 / -1; grid-row: 4;
    display: grid; grid-template-columns: 1fr 1fr; gap: .6rem;
    margin-top: 1.6rem;
  }
  .hero--full .hero__split .hero__actions .btn { width: 100%; justify-content: center; padding-inline: .9em; }

  .hero__osebna-okvir { width: 100%; }
  .hero__osebna img {
    width: 100%;
    filter: saturate(.88);
    -webkit-mask-image: linear-gradient(180deg, #000 78%, transparent 98%);
            mask-image: linear-gradient(180deg, #000 78%, transparent 98%);
  }
}

/* Zelo ozki zasloni: fotografija se umakne pod besedilo, sicer je stolpec pretesen. */
@media (max-width: 420px) {
  .hero--full .hero__split { grid-template-columns: 1fr 54%; }
  .hero--full .hero__split .lead { font-size: .92rem; }
}

/* Števec zapisov ob temah na blog indexu */
.cat-pill__count { opacity: .55; font-weight: 500; margin-left: .15rem; }
.cat-pill.is-active .cat-pill__count { opacity: .8; }

/* ---------- Gumbi znotraj obrazcev -------------------------------- */

/* Mehka dekoracija za Veroniko v heroju — krog gladine s koncentričnimi valovi.
   Ni logotip: brez sonca in brez pojemajoče sledi. */
/* Okvir je natanko širok kot fotografija, zato je kolaž centriran ZA njo. */
.hero__osebna-okvir { position: relative; display: block; }
/* height: auto je obvezen — slika nosi atributa width/height (proti skoku
   postavitve), brez tega bi se višina iz atributa uveljavila in sliko raztegnila. */
.hero__osebna img { position: relative; z-index: 1; display: block; height: auto; }
.hero__osebna-deco {
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--hd-w, 132%);
  transform: translate(calc(-50% + var(--hd-x, 0%)), calc(-50% + var(--hd-y, -3%)));
  opacity: var(--hd-o, 1);
  z-index: 0;
  pointer-events: none;
  overflow: visible; /* flehe se smejo razliti izven okvirja fotografije */
}
.hero__osebna-deco .hd-podlaga { animation: deco-dih 12s ease-in-out infinite; transform-origin: 50% 45%; }
@keyframes deco-dih {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.02); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__osebna-deco .hd-podlaga { animation: none; }
}

/* Skrbniška plošča za postavitev kolaža (vidna samo prijavljenemu skrbniku) */
.deco-panel {
  position: fixed;
  right: 18px;
  top: calc(var(--admin-bar, 0px) + 104px);
  z-index: 9999;
  width: 250px;
  padding: 14px 16px 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 18px 40px -18px rgba(34, 48, 60, .45);
  font-family: var(--font);
  font-size: .8rem;
  color: var(--ink);
}
.deco-panel__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.deco-panel__toggle {
  border: 0; background: transparent; color: var(--muted);
  font-size: 1.1rem; line-height: 1; padding: 0 4px; cursor: pointer;
}
.deco-panel__row { display: grid; grid-template-columns: 78px 1fr 42px; align-items: center; gap: 8px; padding: 5px 0; }
.deco-panel__row span { color: var(--ink-2); }
.deco-panel__row input[type="range"] { width: 100%; accent-color: var(--sage); }
.deco-panel__row output { text-align: right; color: var(--muted); font-variant-numeric: tabular-nums; }
.deco-panel__actions { display: flex; gap: 6px; margin-top: 10px; }
.deco-panel__btn {
  flex: 1; padding: 7px 8px; font: inherit; font-size: .76rem; font-weight: 600;
  color: #fff; background: var(--sage); border: 0; border-radius: 999px; cursor: pointer;
}
.deco-panel__btn--ghost { background: transparent; color: var(--sage); border: 1px solid var(--nebo); }
.deco-panel__status { margin-top: 8px; min-height: 1.2em; font-size: .74rem; color: var(--muted); }
.deco-panel__open {
  position: fixed; right: 18px; top: calc(var(--admin-bar, 0px) + 104px); z-index: 9998;
  padding: 9px 16px; font-family: var(--font); font-size: .76rem; font-weight: 600;
  color: #fff; background: var(--sage); border: 0; border-radius: 999px; cursor: pointer;
  box-shadow: 0 10px 24px -12px rgba(34, 48, 60, .5);
}

/* Urejevalnik fleh v skrbniški plošči */
.deco-panel { max-height: min(72vh, 680px); overflow-y: auto; width: 268px; }
.deco-panel__flehe { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); }
.deco-panel__add { display: flex; gap: 6px; }
.deco-panel__add select {
  flex: 1; font: inherit; font-size: .76rem; padding: 5px 6px;
  color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 8px;
}
.deco-panel__add .deco-panel__btn { flex: 0 0 auto; padding: 6px 10px; }
.deco-panel__seznam { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.deco-fleh { padding: 8px 10px; background: var(--paper-2); border-radius: 10px; }
.deco-fleh__head { display: flex; align-items: center; gap: 6px; margin-bottom: 4px; }
.deco-fleh__head strong { flex: 1; font-size: .76rem; }
.deco-fleh__head select { font: inherit; font-size: .7rem; padding: 2px 4px; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.deco-fleh__head button {
  border: 0; background: transparent; color: var(--clay-2);
  font-size: 1rem; line-height: 1; padding: 0 2px; cursor: pointer;
}
.deco-fleh label { display: grid; grid-template-columns: 74px 1fr; align-items: center; gap: 6px; font-size: .72rem; color: var(--ink-2); padding: 2px 0; }
.deco-fleh input[type="range"] { width: 100%; accent-color: var(--sage); }
.deco-fleh__check { grid-template-columns: 18px 1fr; }

/* ---------- Preklopnik jezika -------------------------------------- */
.lang-switch { display: inline-flex; align-items: center; gap: .15rem; }
.lang-switch__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.1rem;
  padding: .3rem .45rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--muted);
  text-decoration: none;
  border-radius: 999px;
  transition: color .25s var(--ease), background .25s var(--ease);
}
.lang-switch__item:hover { color: var(--sage); background: var(--paper-2); }
.lang-switch__item.is-active { color: var(--ink); background: var(--paper-2); }
.lang-switch--header { margin-right: .35rem; }
@media (max-width: 1024px) { .lang-switch--header { display: none; } }

/* v celozaslonskem meniju */
.nav-links__lang { margin-top: 1.25rem; }
.lang-switch--menu { gap: .35rem; }
.lang-switch--menu .lang-switch__item {
  min-width: 3rem;
  padding: .5rem .9rem;
  font-size: .95rem;
  border: 1px solid var(--line);
}
@media (min-width: 1025px) { .nav-links__lang { display: none; } }

/* v nogi — enaka velikost kot ostalo besedilo v spodnji vrstici, tabletka
   naj bo nizka, da se sredina napisa poravna s sosednjim besedilom. */
.lang-switch--footer { gap: .1rem; }
.lang-switch--footer .lang-switch__item {
  min-width: 0;
  padding: .2rem .5rem;
  font-size: 11px;
  line-height: 1.25;
}
.site-footer .lang-switch__item { color: rgba(247,244,239,.55); }
.site-footer .lang-switch__item:hover,
.site-footer .lang-switch__item.is-active { color: var(--paper); background: rgba(247,244,239,.10); }

/* Oris silhuete je vpečen v samo fotografijo (veronika-z-orisom.webp),
   zato poravnava ne more odpovedati. */

/* ---------- Zaključni CTA pas z videom --------------------------- */
/* Isti posnetek kot v heroju; zgoraj svetla prekrivna plast, da je
   besedilo berljivo, spodaj se pas prelije v temno nogo. */
.cta-band--sky {
  background: var(--pine);
  border-bottom: 0;
  padding-bottom: clamp(6rem, 4rem + 5vw, 9rem);
}
.cta-band__video,
.cta-band__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.cta-band__video { object-fit: cover; }
/* Podlaga leži pod videom — če se ta ne predvaja (varčevanje energije,
   blokiran samodejni zagon), pas vseeno pokaže fotografijo. */
.cta-band__poster {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.cta-band__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg,
    var(--paper) 0%,
    rgba(247, 244, 239, .95) 26%,
    rgba(247, 244, 239, .70) 50%,
    rgba(112, 140, 165, .45) 74%,
    var(--pine) 100%);
}
@media (prefers-reduced-motion: reduce) {
  .cta-band__video { display: none; }
}

/* Gumbi nad videom: podlaga se pod njimi prelije v modrino, zato bi se
   modri primarni gumb zlil z ozadjem, obrobljeni pa bi izginil. V tem pasu
   zato uporabimo temen poln gumb in svetlo polnilo za sekundarnega —
   oba se drzita na svetlem zgornjem in na modrem spodnjem delu. */
.cta-band--video .btn--primary {
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0 12px 30px rgba(34, 48, 60, .30), 0 0 0 1px rgba(247, 244, 239, .28);
}
.cta-band--video .btn--primary:hover { background: #16202A; }
.cta-band--video .btn--outline {
  background: rgba(247, 244, 239, .92);
  border-color: rgba(34, 48, 60, .16);
  color: var(--ink);
  box-shadow: 0 10px 26px rgba(34, 48, 60, .20);
}
.cta-band--video .btn--outline:hover {
  background: #fff;
  border-color: rgba(34, 48, 60, .30);
}

/* ---------- Sekcija s fotografijo čez celotno ozadje ------------- */
/* Uporablja se skupaj s .section--dark; fotografija je otrok z negativnim
   z-indexom, zato leži nad barvo ozadja in pod vsebino. */
.section--foto { position: relative; isolation: isolate; overflow: hidden; }
.section--foto > .section__foto {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.section--foto > .section__foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.72);
}
.section--foto::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  /* Enoslojna tančica — fotografija mora ostati vidna, besedilo pa berljivo. */
  background: linear-gradient(180deg,
    rgba(34, 48, 60, .78) 0%,
    rgba(34, 48, 60, .52) 45%,
    rgba(34, 48, 60, .78) 100%);
}
/* Sekcije z besedilom na levi: tančica je gostejša levo, desno se odpre fotografija. */
.section--foto-levo::before {
  background: linear-gradient(90deg,
    rgba(34, 48, 60, .88) 0%,
    rgba(34, 48, 60, .78) 38%,
    rgba(34, 48, 60, .34) 72%,
    rgba(34, 48, 60, .16) 100%);
}
.section__foto-vsebina { max-width: 46rem; }
.section--foto .quote { color: var(--paper); }
.section--foto .quote-mark { color: var(--nebo); }
.section--foto .muted { color: rgba(247, 244, 239, .7); }

/* ---------- Časovnica na sredini (Izobrazba in usposabljanje) ---- */
.izobrazba { margin-top: clamp(3.5rem, 2.5rem + 4vw, 6rem); }
.timeline--sredina {
  position: relative;
  max-width: 58rem;
  margin: clamp(2.5rem, 1.75rem + 2.5vw, 4rem) auto 0;
}
.timeline--sredina::before {
  content: "";
  position: absolute;
  left: 50%;
  top: .4rem;
  bottom: .4rem;
  width: 1px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, transparent, var(--nebo) 10%, var(--nebo) 90%, transparent);
}
.timeline--sredina li {
  width: 50%;
  border-left: 0;
  margin-left: 0;
  padding: 0 0 2.25rem;
}
.timeline--sredina li:nth-child(odd) { padding-right: 2.4rem; text-align: right; }
.timeline--sredina li:nth-child(even) { margin-left: 50%; padding-left: 2.4rem; text-align: left; }
.timeline--sredina li::before { left: auto; right: -6px; top: .3rem; }
.timeline--sredina li:nth-child(even)::before { right: auto; left: -6px; }
@media (max-width: 720px) {
  .timeline--sredina { max-width: 34rem; }
  .timeline--sredina::before { left: 5px; transform: none; }
  .timeline--sredina li,
  .timeline--sredina li:nth-child(odd),
  .timeline--sredina li:nth-child(even) {
    width: 100%;
    margin-left: 0;
    padding: 0 0 1.6rem 1.9rem;
    text-align: left;
  }
  .timeline--sredina li::before,
  .timeline--sredina li:nth-child(even)::before { left: 0; right: auto; }
}

/* ---------- Pogosta vprašanja ----------------------------------- */
.faq-item {
  border-top: 1px solid var(--line);
  padding: 1.4rem 0;
}
.faq-list .faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item__q {
  cursor: pointer;
  font-weight: 600;
  color: var(--ink);
  font-size: 1.1rem;
  list-style: none;
  position: relative;
  padding-right: 2rem;
}
.faq-item__q::-webkit-details-marker { display: none; }
.faq-item__q::after {
  content: "";
  position: absolute;
  right: .35rem;
  top: .55em;
  width: .6rem;
  height: .6rem;
  border-right: 1.5px solid var(--sage);
  border-bottom: 1.5px solid var(--sage);
  transform: translateY(-50%) rotate(45deg);
  transition: transform .25s var(--ease);
}
.faq-item[open] .faq-item__q::after { transform: translateY(-20%) rotate(-135deg); }
.faq-item__a { margin-top: .8rem; color: var(--ink-2); max-width: 62ch; }

/* ---------- Hitri kontakt ob levem robu -------------------------- */
/* Ozek navpičen pas z ikonami; ob prehodu z miško se razpre napis.
   Širina se z zaslonom manjša, da pas nikoli ne seže čez besedilo —
   vsebina se začne pri odmiku --gutter, ki je clamp(1.25rem, .6rem + 3vw, 3rem). */
.quick-bar {
  position: fixed;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  transition: opacity .25s var(--ease), transform .35s var(--ease);
}
.quick-bar__item {
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--paper);
  text-decoration: none;
  background: color-mix(in srgb, var(--pine) 92%, transparent);
  border-radius: 0 6px 6px 0;
  transition: background .25s var(--ease);
}
.quick-bar__item + .quick-bar__item { border-top: 1px solid rgba(247, 244, 239, .14); }
.quick-bar__item:hover,
.quick-bar__item:focus-visible { background: var(--sage); }
/* Širina pasu je izpeljana iz odmika vsebine (--gutter), zato se pri vsaki
   širini zaslona sama umakne pod besedilo — brez lovljenja prelomnih točk. */
.quick-bar__ico {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(18px, calc(var(--gutter) - 6px), 44px);
  height: clamp(18px, calc(var(--gutter) - 6px), 44px);
}
.quick-bar__ico svg { width: 42%; height: 42%; display: block; }
.quick-bar__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1px;
  max-width: 0;
  opacity: 0;
  white-space: nowrap;
  padding-right: 0;
  transition: max-width .3s var(--ease), opacity .25s var(--ease), padding-right .3s var(--ease);
}
.quick-bar__item:hover .quick-bar__text,
.quick-bar__item:focus-visible .quick-bar__text {
  max-width: 20rem;
  opacity: 1;
  padding-right: 1.1rem;
}
.quick-bar__label {
  font-size: .62rem;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: rgba(247, 244, 239, .66);
}
.quick-bar__value { font-size: .82rem; line-height: 1.15; }

/* Ob odprtem meniju ali predogledu Instagrama pas umakne. */
body.ig-modal-open .quick-bar,
body:has(.nav-links.is-open) .quick-bar { opacity: 0; pointer-events: none; }

/* Nad junakom na prvi strani se pas umakne z roba (razred doda main.js). */
.quick-bar.je-skrit {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%) translateX(-100%);
}

@media (max-width: 1023px) {
  /* Manjši ko je okvir, večji delež naj zavzame ikona — sicer ostane
     na telefonu komaj vidna pikica sredi praznega kvadratka. */
  .quick-bar__ico svg { width: 54%; height: 54%; }
  .quick-bar__label { font-size: .56rem; letter-spacing: .12em; }
  .quick-bar__value { font-size: .74rem; }
}
@media (max-width: 640px) {
  .quick-bar { gap: 1px; }
  .quick-bar__ico svg { width: 72%; height: 72%; }
  .quick-bar__label { font-size: .44rem; }
  .quick-bar__value { font-size: .6rem; }
  .quick-bar__item:hover .quick-bar__text,
  .quick-bar__item:focus-visible .quick-bar__text { max-width: 12rem; padding-right: .6rem; }
}
@media (prefers-reduced-motion: reduce) {
  .quick-bar__text { transition: none; }
}

/* ---------- Mozaik fotografij (O meni: Kaj me napolni) ----------- */
/* Besedilo je ena od ploščic mreže, fotografije pa različnih velikosti,
   da pas bere kot stena posnetkov in ne kot vrsta enakih okvirjev. */
.foto-mozaik {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  /* Vrstica ima najmanjšo višino, a zraste, če je besedilo daljše od nje —
     sicer bi ploščica z besedilom stekla čez fotografije pod njo. */
  grid-auto-rows: minmax(clamp(148px, 15vw, 215px), auto);
  gap: clamp(.6rem, .3rem + 1vw, 1.1rem);
}
.foto-mozaik__besedilo {
  grid-column: span 2;
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: clamp(1rem, .5rem + 2vw, 3rem);
}
.foto-mozaik__slika {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--sand);
}
.foto-mozaik__slika img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.82);
  transition: transform .6s var(--ease);
}
.foto-mozaik__slika:hover img { transform: scale(1.04); }
.foto-mozaik__slika--visoka { grid-row: span 2; }
.foto-mozaik__slika--siroka { grid-column: span 2; }
/* Nizka ploščica bi pri portretnem posnetku pokazala skoraj samo nebo. */
.foto-mozaik__slika--siroka img { object-position: center 68%; }

@media (max-width: 860px) {
  .foto-mozaik {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: minmax(clamp(150px, 34vw, 220px), auto);
  }
  .foto-mozaik__besedilo {
    grid-column: 1 / -1;
    grid-row: auto;
    padding-right: 0;
    margin-bottom: .4rem;
  }
  /* Visoka ploščica na dveh stolpcih ne rabi dveh vrstic. */
  .foto-mozaik__slika--visoka { grid-row: span 1; }
  .foto-mozaik__slika--siroka { grid-column: 1 / -1; }
  .foto-mozaik__slika--siroka img { object-position: center 62%; }
}

/* Moja pot (O meni): besedilo v dveh enakih stolpcih, poravnano na vrh. */
.pot-stolpca { align-items: start; }
.pot-stolpca .prose { max-width: none; }

/* ─── Rubrika »Za začetek« na vrhu blog indeksa ────────────────────────── */
.zacetek__head { max-width: 46rem; }
.zacetek__head .h2 { margin-top: 1rem; }
.zacetek__head .lead { margin-top: .9rem; }

.zacetek__grid {
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, 1fr);
  counter-reset: none;
}
.zacetek__item { margin: 0; }

.zacetek__card {
  display: flex;
  flex-direction: column;
  gap: .55rem;
  height: 100%;
  padding: 1.5rem 1.6rem 1.4rem;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: inherit;
  transition: border-color .25s var(--ease), transform .25s var(--ease);
}
.zacetek__card:hover,
.zacetek__card:focus-visible {
  border-color: var(--nebo);
  transform: translateY(-2px);
}

.zacetek__num {
  font-family: var(--font);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .16em;
  color: var(--sage);
}
.zacetek__title {
  font-family: var(--font-head);
  font-size: 1.08rem;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.zacetek__card:hover .zacetek__title { color: var(--sage); }
.zacetek__meta {
  margin-top: auto;
  padding-top: .7rem;
  font-size: .82rem;
  color: var(--ink-2);
}

.zacetek__vsi { margin-top: 2rem; }

@media (max-width: 900px) {
  .zacetek__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .zacetek__grid { grid-template-columns: 1fr; }
  .zacetek__card { padding: 1.25rem 1.3rem; }
}

/* ---------- Baza znanja ------------------------------------------ */
/* Priročniški videz: goste vrstice s tankimi črtami namesto kartic s
   fotografijami, da se na prvi pogled loči od bloga. */
.bz-orodna {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}
.bz-iskanje { position: relative; flex: 1 1 20rem; }
.bz-iskanje svg {
  position: absolute;
  left: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--muted);
  pointer-events: none;
}
.bz-iskanje input {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-field);
  padding: .8rem 1.2rem .8rem 2.9rem;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.bz-iskanje input:focus {
  outline: none;
  border-color: var(--sage-2);
  box-shadow: 0 0 0 3px rgba(169, 196, 219, .45);
}
.bz-iskanje input::-webkit-search-cancel-button { cursor: pointer; }

.bz-filtri { display: flex; flex-wrap: wrap; gap: .4rem; }
.bz-filter {
  font: inherit;
  font-size: .88rem;
  color: var(--ink-2);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .5em 1.1em;
  cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.bz-filter span { color: var(--muted); margin-left: .4em; font-variant-numeric: tabular-nums; }
.bz-filter:hover { border-color: var(--sage-2); color: var(--ink); }
.bz-filter.is-active { background: var(--sage); border-color: var(--sage); color: #fff; }
.bz-filter.is-active span { color: rgba(255, 255, 255, .7); }

.bz-prazno { margin-top: 2.5rem; color: var(--muted); }

.bz-seznam { margin-top: 1rem; }
.bz-crka {
  margin: 2.25rem 0 .25rem;
  font-family: var(--font-head);
  font-size: .95rem;
  letter-spacing: .18em;
  color: var(--nebo);
}
.bz-crka:first-child { margin-top: 1.5rem; }

.bz-vnos {
  display: grid;
  grid-template-columns: minmax(11rem, 17rem) 1fr auto;
  align-items: baseline;
  gap: .35rem 1.75rem;
  padding: 1.1rem .25rem;
  border-bottom: 1px solid var(--line-soft);
  color: inherit;
  text-decoration: none;
  transition: background .2s var(--ease), padding-left .2s var(--ease);
}
.bz-vnos:hover { background: var(--paper-2); padding-left: .75rem; }
/* display:grid na .bz-vnos prevlada nad brskalnikovim [hidden]{display:none},
   zato bi filtriran seznam ostal ves viden. */
.bz-vnos[hidden] { display: none; }
.bz-vnos__glava { display: flex; align-items: baseline; gap: .6rem; flex-wrap: wrap; }
.bz-vnos__ime {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--ink);
}
.bz-vnos:hover .bz-vnos__ime { color: var(--sage); }
.bz-vnos__def { color: var(--ink-2); font-size: .98rem; line-height: 1.55; }
.bz-vnos__pusc { color: var(--nebo); opacity: 0; transition: opacity .2s var(--ease); }
.bz-vnos:hover .bz-vnos__pusc { opacity: 1; }

.bz-znacka {
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .3em .8em;
  border-radius: 999px;
  white-space: nowrap;
}
.bz-znacka--pojem  { background: rgba(169, 196, 219, .3); color: var(--sage-2); }
.bz-znacka--orodje { background: var(--sand); color: var(--clay-2); }
.bz-znacka--vaja   { background: rgba(70, 101, 140, .12); color: var(--sage-2); }
.bz-trajanje {
  font-size: .78rem;
  color: var(--muted);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 760px) {
  .bz-vnos { grid-template-columns: 1fr; gap: .3rem; }
  .bz-vnos__pusc { display: none; }
}

/* Posamezen vnos */
.page-hero--ozka { padding-bottom: clamp(1.5rem, 1rem + 1.5vw, 2.5rem); }
/* Vnos je referenca: ovoj ostane centriran kot povsod, besedilo pa teče v
   stolpcu ob njegovem levem robu — enako kot članek na blogu. */
.bz-single .wrap--narrow { max-width: var(--wrap); }
/* v rem, ne v ch — ch se meri v pisavi elementa, zato naslov ne bi bil omejen */
.bz-single .wrap--narrow > * { max-width: 52rem; }
.bz-single__ime { margin-top: 1rem; }
.bz-single__def {
  margin-top: 1.25rem;
  font-size: var(--fs-lead);
  line-height: 1.55;
  color: var(--ink-2);
  border-left: 2px solid var(--nebo);
  padding-left: 1.25rem;
}
.bz-single__meta { margin-top: 1.25rem; }
.bz-single__telo { max-width: none; }
.bz-sorodni {
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line-soft);
}
.bz-seznam--tesen { margin-top: 1rem; }
.bz-seznam--tesen .bz-vnos { grid-template-columns: minmax(9rem, 14rem) 1fr auto; padding-block: .9rem; }

/* Abecedni skok — pri več kot sto vnosih je drsenje samo predolgo. */
.bz-abeceda {
  display: flex;
  flex-wrap: wrap;
  gap: .15rem;
  margin-top: 1.25rem;
}
.bz-abeceda a {
  display: grid;
  place-items: center;
  min-width: 2rem;
  padding: .3rem .2rem;
  font-family: var(--font-head);
  font-size: .9rem;
  color: var(--ink-2);
  text-decoration: none;
  border-radius: 999px;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.bz-abeceda a:hover { background: var(--paper-2); color: var(--sage); }
.bz-crka { scroll-margin-top: 6rem; }

/* ---------- Shema poteka na podstraneh storitev ------------------ */
/* Štiri kartice v vrsti, povezane s puščicami. Številka sedi na zgornjem
   robu kartice in ima obroč v barvi sekcije, da izgleda vloženo vanjo.
   Na ožjih zaslonih se postavi v dva stolpca, nato v enega. */
.shema {
  list-style: none;
  padding: 0;
  margin: 2.25rem 0 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.25rem;
  counter-reset: shema;
}
.shema__korak {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 2.5rem 1.4rem 1.6rem;
  text-align: left;
}
/* Puščica med karticami. */
.shema__korak:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -1.42rem;
  top: 50%;
  width: .5rem;
  height: .5rem;
  border-top: 1.5px solid var(--nebo);
  border-right: 1.5px solid var(--nebo);
  transform: translateY(-50%) rotate(45deg);
}
.shema__stevilka {
  position: absolute;
  top: -21px;
  left: 1.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: var(--sage);
  color: var(--paper);
  font-family: var(--font-head);
  font-size: .95rem;
  font-weight: 500;
  letter-spacing: .02em;
  box-shadow: 0 0 0 6px var(--paper-2);
}
.shema__oznaka {
  font-family: var(--font-head);
  font-size: 1.14rem;
  font-weight: 500;
  line-height: 1.25;
  color: var(--ink);
}
.shema__tekst {
  margin-top: .55rem;
  font-size: .95rem;
  line-height: 1.6;
  color: var(--ink-2);
}

/* Na svetli podlagi (sekcija brez --alt) obroč prilagodimo. */
.section:not(.section--alt) .shema__stevilka { box-shadow: 0 0 0 6px var(--paper); }

@media (max-width: 1000px) {
  .shema { grid-template-columns: repeat(2, 1fr); gap: 2.5rem 2.25rem; }
  /* Puščica ob koncu vrstice bi kazala v prazno. */
  .shema__korak:nth-child(2n)::after { display: none; }
}
@media (max-width: 620px) {
  .shema { grid-template-columns: 1fr; gap: 2.5rem; }
  .shema__korak:not(:last-child)::after {
    right: auto;
    left: calc(1.4rem + 21px);
    top: auto;
    bottom: -1.65rem;
    transform: translateX(-50%) rotate(135deg);
  }
  .shema__korak:nth-child(2n)::after { display: block; }
  .shema__korak:last-child::after { display: none; }
}

/* ---------- Vrstica storitve na /storitve/ ----------------------- */
/* Gumb stoji desno od besedila in je navpično poravnan s sredino vrstice;
   pod 860 px se prestavi pod besedilo. */
@media (min-width: 861px) {
  .feature-list li.storitev-vrstica {
    grid-template-columns: auto 1fr auto;
    align-items: center;
    column-gap: 2rem;
  }
  .storitev-vrstica__gumb { white-space: nowrap; }
}
@media (max-width: 860px) {
  .feature-list li.storitev-vrstica { grid-template-columns: auto 1fr; }
  .storitev-vrstica__gumb {
    grid-column: 2;
    justify-self: start;
    margin-top: 1rem;
  }
}

/* Delovni list (PDF) pri orodjih */
.bz-prenos { margin-top: 1.75rem; }
.bz-prenos .btn { gap: .55rem; }
.bz-prenos svg { width: 17px; height: 17px; }
.bz-pdf {
  font-size: .64rem;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--sage-2);
  border: 1px solid var(--nebo);
  border-radius: 999px;
  padding: .22em .6em;
  white-space: nowrap;
}

/* ---------- Povezani blog zapisi na vnosu baze znanja ------------ */
/* Vedno dve kartici v pogledu, ostale se odkrijejo z drsenjem v desno —
   enako na namizju in na mobilnem. */
.bz-zapisi {
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line-soft);
}
.bz-zapisi__glava {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.bz-zapisi__glava h2 { margin: 0; }
.bz-zapisi__krmilo { display: flex; gap: .4rem; flex: none; }
.bz-zapisi__gumb {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  color: var(--sage);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.bz-zapisi__gumb svg { width: 17px; height: 17px; }
.bz-zapisi__gumb:hover { background: var(--sage); border-color: var(--sage); color: #fff; }
.bz-zapisi__gumb[disabled] { opacity: .35; cursor: default; }
.bz-zapisi__gumb[disabled]:hover { background: transparent; border-color: var(--line); color: var(--sage); }

.bz-zapisi__pas {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 1.25rem) / 2);
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding-bottom: .25rem;
}
.bz-zapisi__pas::-webkit-scrollbar { display: none; }

.bz-zapis {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}
.bz-zapis__media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--sand);
  margin-bottom: .75rem;
}
.bz-zapis__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.82);
  transition: transform .5s var(--ease);
}
.bz-zapis:hover .bz-zapis__media img { transform: scale(1.04); }
.bz-zapis__naslov {
  font-family: var(--font-head);
  font-size: 1.02rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--ink);
}
.bz-zapis:hover .bz-zapis__naslov { color: var(--sage); }
.bz-zapis__meta {
  margin-top: .35rem;
  font-size: var(--fs-small);
  color: var(--muted);
}

@media (max-width: 560px) {
  .bz-zapisi__pas { grid-auto-columns: calc((100% - .8rem) / 2); gap: .8rem; }
  .bz-zapis__naslov { font-size: .88rem; }
  .bz-zapis__meta { font-size: .72rem; }
}

/* Samodejna povezava na pojem iz baze znanja v blog zapisu */
.prose a.bp-pojem {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px dotted var(--nebo);
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.prose a.bp-pojem:hover { color: var(--sage); border-bottom-color: var(--sage); }

/* ---------- Uvodni opis vaje v bazi znanja ----------------------- */
/* Prvi odstavek vnosa opiše vajo v celoti; s tem je ločen od korakov,
   ki sledijo, in bralcu takoj pove, ali je vaja zanj. */
.prose .bz-uvod {
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--ink-2);
  padding-left: 1.1rem;
  border-left: 2px solid var(--nebo);
  margin-bottom: 2rem;
}
@media (max-width: 620px) {
  .prose .bz-uvod { font-size: 1.02rem; padding-left: .85rem; }
}

/* ─── Opozorilni okvir v zapisu (viri pomoči ob stiski) ────────────────── */
.opozorilo {
  margin: 2rem 0;
  padding: 1.25rem 1.5rem;
  background: var(--paper-2);
  border-left: 3px solid var(--sage);
  border-radius: var(--radius-lg);
}
.opozorilo p { margin: 0; font-size: 1rem; line-height: 1.6; }
.opozorilo strong { color: var(--pine); }

/* ==========================================================================
   Orodja — kazalo na /orodja/
   Dve možnosti druga ob drugi, čez celo širino; predogleda sta vrisana v SVG.
   ========================================================================== */

.orodja-par {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.5rem, 1rem + 2vw, 3rem);
}

.orodje {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color .25s var(--ease), transform .25s var(--ease);
}
.orodje:hover { border-color: var(--sage); transform: translateY(-2px); }

.orodje__media { display: block; background: var(--paper-2); border-bottom: 1px solid var(--line); }
.orodje__media svg { display: block; width: 100%; height: auto; }
.orodje__media--list svg { background: var(--paper-2); }

.orodje__telo { padding: clamp(1.5rem, 1rem + 1.5vw, 2.25rem); display: flex; flex-direction: column; flex: 1; }
.orodje__telo .h3 { margin: .5rem 0 .75rem; }
.orodje__telo p { color: var(--ink-2); }
.orodje__gumb { margin-top: auto; padding-top: 1.5rem; margin-bottom: 0; }

@media (max-width: 860px) {
  .orodja-par { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Poziv k risalniku genogramov znotraj blog zapisa (template-parts/genogram-cta.php)
   ========================================================================== */

.gg-poziv {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: clamp(1.25rem, 1rem + 1.5vw, 2rem);
  align-items: center;
  margin: 3rem 0;
  padding: clamp(1.25rem, 1rem + 1vw, 1.75rem);
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.gg-poziv__media { border: 1px solid var(--line); border-radius: 4px; overflow: hidden; background: #fff; }
.gg-poziv__media svg { display: block; width: 100%; height: auto; }
.gg-poziv__oznaka {
  display: block; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase;
  font-weight: 600; color: var(--muted); margin-bottom: .5rem;
}
.gg-poziv__naslov {
  font-family: var(--font-head); font-weight: 400;
  font-size: clamp(1.25rem, 1.05rem + .8vw, 1.6rem); line-height: 1.2;
  color: var(--pine); margin: 0 0 .6rem;
}
.gg-poziv__besedilo { font-size: 1rem; color: var(--ink-2); margin: 0 0 1.25rem; }
.gg-poziv .btn { margin: 0; }

@media (max-width: 640px) {
  .gg-poziv { grid-template-columns: 1fr; }
}

/* Cela kartica orodja je klikabilna: gumb razpre nevidno površino čez njo,
   tako da v drevesu dostopnosti ostane ena sama povezava.
   will-change na .btn naredi iz gumba vsebovalni blok, zato bi se inset: 0
   ujel nanj namesto na kartico — tu ga umaknemo. */
.orodje { position: relative; }
.orodje:hover { cursor: pointer; }
.orodje .btn,
.orodje .btn:hover { will-change: auto; transform: none; }
.orodje__gumb .btn::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.orodje:hover .btn--primary { background: var(--sage-2); }
.orodje:hover .btn--outline { border-color: var(--ink); }

/* ---------- Na vrh strani (baza znanja) -------------------------- */
/* Stran je dolga, iskalnik in filtri pa so čisto na vrhu, zato gumb
   spodaj desno. Skrit je, dokler obiskovalec ne odscrolla mimo prvega
   zaslona; razred doda main.js. */
.na-vrh {
  position: fixed;
  right: clamp(1rem, 0.5rem + 1.5vw, 2rem);
  bottom: clamp(1rem, 0.5rem + 1.5vw, 2rem);
  z-index: 90;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(247, 244, 239, .28);
  border-radius: 999px;
  background: var(--pine);
  color: var(--paper);
  cursor: pointer;
  box-shadow: 0 12px 28px -12px rgba(34, 48, 60, .55);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .3s var(--ease), transform .3s var(--ease),
              visibility .3s var(--ease), background .25s var(--ease);
}
.na-vrh svg { width: 19px; height: 19px; display: block; }
.na-vrh:hover { background: var(--sage); }
.na-vrh.je-viden { opacity: 1; visibility: visible; transform: none; }

/* Ob odprtem meniju ali predogledu Instagrama se umakne. */
body.ig-modal-open .na-vrh,
body:has(.nav-links.is-open) .na-vrh { opacity: 0; pointer-events: none; }

@media (max-width: 620px) {
  .na-vrh { width: 40px; height: 40px; }
  .na-vrh svg { width: 17px; height: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  .na-vrh { transition: opacity .2s linear, visibility .2s linear; transform: none; }
}

/* ---------- Pravna in druga besedilna stran iz urejevalnika -------- */
/* Besedilo se poravna z levim robom, kot naslov strani nad njim; širino
   omeji dolžina vrstice, ne sredinjenje ožjega stolpca. */
.prose--dokument {
  max-width: 74ch;
  margin-inline: 0;
}
.prose--dokument table { width: 100%; }

/* Pojasnilo ob ceniku: zakaj je prispevek nižji od običajnega. */
.cenik-pojasnilo {
  max-width: 62ch;
  margin-left: auto;
  margin-right: auto;
  padding: clamp(1.25rem, 1rem + 1vw, 1.75rem) clamp(1.25rem, 1rem + 1.5vw, 2rem);
  background: #fff;
  border: 1px solid var(--line);
  border-left: 3px solid var(--sage);
  border-radius: var(--radius-lg);
}
.cenik-pojasnilo .h3 { margin-bottom: .75rem; }
.cenik-pojasnilo p { color: var(--ink-2); }
.cenik-pojasnilo p + p { margin-top: .75rem; }
