/* ==========================================================================
   Plesno društvo Imani — oblikovni sistem (prenova 10/2026)
   Mobile-first, vanilla CSS. Barve iz logotipa (magenta), vijolična iz 20-letnice.
   Oblike: gumbi = pilula, kartice = 18px, polja = 12px.
   ========================================================================== */

/* --- pisave (gostovane lokalno) --- */
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(fonts/bricolage-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(fonts/bricolage-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(fonts/figtree-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(fonts/figtree-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Figtree"; font-style: italic; font-weight: 400 600; font-display: swap;
  src: url(fonts/figtree-italic-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Figtree"; font-style: italic; font-weight: 400 600; font-display: swap;
  src: url(fonts/figtree-italic-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* --- žetoni: svetla tema (privzeto) --- */
:root {
  color-scheme: light;
  --brand: #d1106f;          /* magenta logotipa za besedilo/poudarke (AA na beli) */
  --brand-hover: #b00d5d;    /* močnejši odtenek: hover, besedilo na --brand-tint */
  --brand-bg: #d1106f;       /* polnilo gumbov (bel napis, 5.2:1) — enako v obeh temah */
  --brand-bg-hover: #b00d5d;
  --on-brand: #ffffff;
  --brand-tint: #fdeef5;
  --brand-tint-2: #f9dcea;
  --plum: #2a1631;           /* globoka vijolična (20 let) — temne površine */
  --plum-2: #3d2147;
  --band-bg: #2a1631;
  --footer-bg: #2a1631;
  --ink: #1f1724;
  --ink-2: #463d4c;
  --ink-3: #6b6271;
  --line: #ebe4ee;
  --line-2: #ddd3e1;
  --bg: #fcfafc;
  --surface: #ffffff;
  --surface-2: #f6f1f7;
  --header-bg: rgba(252, 250, 252, .86);
  --contrast-bg: #1f1724;    /* izbrani čip, aktivna stran ipd. */
  --contrast-fg: #ffffff;
  --err-bg: #fdecef; --err-fg: #9b1630;
  --ok-bg: #e8f6ee;  --ok-fg: #1d6b3f;

  --font-display: "Bricolage Grotesque", "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --wrap: 1240px;
  --wrap-text: 72ch;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(56px, 8vw, 112px);

  --r-sm: 8px;
  --r-field: 12px;
  --r-card: 18px;
  --r-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(42, 22, 49, .06);
  --shadow: 0 1px 2px rgba(42, 22, 49, .05), 0 10px 28px -14px rgba(42, 22, 49, .28);
  --shadow-lg: 0 2px 6px rgba(42, 22, 49, .06), 0 24px 48px -20px rgba(42, 22, 49, .35);

  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-in-out: cubic-bezier(.77, 0, .175, 1);

  --header-h: 64px;
  --logo-light: block;
  --logo-dark: none;
  --z-header: 50;
  --z-menu: 60;
  --z-notice: 40;
}
@media (min-width: 1100px) { :root { --header-h: 76px; } }

/* --- temna tema: po nastavitvi naprave ali ročni izbiri (data-theme) --- */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --brand: #ff5ca8; --brand-hover: #ff8cc2;
    --brand-tint: #2d1626; --brand-tint-2: #43203a;
    --band-bg: #2f1838; --footer-bg: #0e0711;
    --ink: #f3edf5; --ink-2: #d4c8d8; --ink-3: #a898ad;
    --line: #2e2234; --line-2: #45354d;
    --bg: #150d18; --surface: #1d1421; --surface-2: #261a2b;
    --header-bg: rgba(21, 13, 24, .82);
    --contrast-bg: #f3edf5; --contrast-fg: #1a1120;
    --err-bg: #3a1520; --err-fg: #ffb4c2;
    --ok-bg: #12301f; --ok-fg: #9fe0b8;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
    --shadow: 0 1px 2px rgba(0, 0, 0, .35), 0 12px 30px -14px rgba(0, 0, 0, .7);
    --shadow-lg: 0 2px 6px rgba(0, 0, 0, .4), 0 24px 48px -20px rgba(0, 0, 0, .8);
    --logo-light: none; --logo-dark: block;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --brand: #ff5ca8; --brand-hover: #ff8cc2;
  --brand-tint: #2d1626; --brand-tint-2: #43203a;
  --band-bg: #2f1838; --footer-bg: #0e0711;
  --ink: #f3edf5; --ink-2: #d4c8d8; --ink-3: #a898ad;
  --line: #2e2234; --line-2: #45354d;
  --bg: #150d18; --surface: #1d1421; --surface-2: #261a2b;
  --header-bg: rgba(21, 13, 24, .82);
  --contrast-bg: #f3edf5; --contrast-fg: #1a1120;
  --err-bg: #3a1520; --err-fg: #ffb4c2;
  --ok-bg: #12301f; --ok-fg: #9fe0b8;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
  --shadow: 0 1px 2px rgba(0, 0, 0, .35), 0 12px 30px -14px rgba(0, 0, 0, .7);
  --shadow-lg: 0 2px 6px rgba(0, 0, 0, .4), 0 24px 48px -20px rgba(0, 0, 0, .8);
  --logo-light: none; --logo-dark: block;
}
.logo-light { display: var(--logo-light); }
.logo-dark { display: var(--logo-dark); }

/* --- osnova --- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
/* varovalo: dekorativni elementi (animacije, zamiki) nikoli ne ustvarijo vodoravnega drsnika; clip ne pokvari sticky glave */
@supports (overflow: clip) { body { overflow-x: clip; } }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
@media (min-width: 900px) { body { font-size: 1.125rem; } }
img, svg, video, iframe { max-width: 100%; }
picture { display: contents; } /* <picture> z WebP ne spremeni postavitve slike */
img { height: auto; display: block; }
a { color: var(--brand); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--brand-hover); }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
button { font: inherit; }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.02em;
  color: var(--ink);
  margin: 0 0 .5em;
  text-wrap: balance;
}
p { margin: 0 0 1em; text-wrap: pretty; }
strong, b { font-weight: 700; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5em 0; }
::selection { background: var(--brand-tint-2); color: var(--ink); }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.wrap-text { max-width: calc(var(--wrap-text) + var(--gutter) * 2); }
.section { padding: var(--section) 0; }
.section-tint { background: var(--surface-2); }
[id] { scroll-margin-top: calc(var(--header-h) + 20px); } /* sidra pod lepljivo glavo */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--contrast-bg); color: var(--contrast-fg); padding: 10px 16px; border-radius: var(--r-pill);
  font-weight: 600; text-decoration: none; transition: top .2s var(--ease-out);
}
.skip:focus { top: 12px; color: var(--contrast-fg); }

.i { width: 1.25em; height: 1.25em; flex: none; fill: currentColor; vertical-align: -.22em; }

/* --- gumbi --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: .7em 1.4em;
  border-radius: var(--r-pill); border: 1.5px solid transparent;
  font-family: var(--font-body); font-weight: 700; font-size: 1rem; line-height: 1.1;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .16s var(--ease-out), box-shadow .2s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.97); }
.btn .i { width: 1.15em; height: 1.15em; }
.btn-primary { background: var(--brand-bg); color: var(--on-brand); box-shadow: 0 6px 18px -8px rgba(209, 16, 111, .6); }
.btn-primary:hover { background: var(--brand-bg-hover); color: var(--on-brand); }
.btn-ghost { border-color: var(--line-2); color: var(--ink); background: var(--surface); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-light { background: #fff; color: #1f1724; }
.btn-light:hover { background: #fdeef5; color: #1f1724; }
.btn-outline-light { border-color: rgba(255, 255, 255, .55); color: #fff; background: rgba(255, 255, 255, .06); }
.btn-outline-light:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .14); }
.btn-sm { min-height: 40px; padding: .5em 1.05em; font-size: .9375rem; }
.link-arrow {
  display: inline-flex; align-items: center; gap: .4em; font-weight: 700; text-decoration: none; color: var(--brand);
}
.link-arrow .i { transition: transform .2s var(--ease-out); }
.link-arrow:hover .i { transform: translateX(3px); }

/* --- obvestilo (popup iz baze) --- */
.notice {
  position: relative; z-index: var(--z-notice);
  background: var(--plum); color: #f4eaf6;
  font-size: .9375rem;
}
.notice-inner { display: flex; align-items: flex-start; gap: 12px; padding-top: 10px; padding-bottom: 10px; }
.notice details { flex: 1; min-width: 0; }
.notice summary {
  list-style: none; cursor: pointer; display: flex; align-items: flex-start; gap: 10px;
  font-weight: 600; min-height: 32px; padding-top: 5px; line-height: 1.4;
}
.notice summary > .i { margin-top: .1em; color: #ffb3d6; }
.notice summary .t { flex: 1; min-width: 0; }
.notice summary .more { white-space: nowrap; margin-left: 6px; }
.notice summary::-webkit-details-marker { display: none; }
.notice summary .more { color: #ffb3d6; font-weight: 700; display: inline-flex; align-items: center; gap: 4px; }
.notice summary .more .i { transition: transform .2s var(--ease-out); }
.notice details[open] summary .more .i { transform: rotate(180deg); }
.notice-body { padding: 8px 0 6px 30px; max-width: 80ch; color: #e7d9ea; }
.notice-body a { color: #ffb3d6; }
.notice-close {
  flex: none; display: grid; place-items: center; width: 36px; height: 36px; margin-top: -2px;
  border: 0; border-radius: var(--r-pill); background: transparent; color: #f4eaf6; cursor: pointer;
  transition: background-color .2s ease;
}
.notice-close:hover { background: rgba(255, 255, 255, .12); }

/* --- glava --- */
.site-header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: var(--header-bg);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(42, 22, 49, .35); }
.header-inner { display: flex; align-items: center; gap: 16px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; margin-right: auto; }
.brand img { height: 44px; width: auto; }
.brand-badge {
  display: none; font-family: var(--font-display); font-weight: 700; font-size: .8125rem; line-height: 1.15;
  color: var(--ink-3); border-left: 1px solid var(--line-2); padding-left: 12px;
}
.brand-badge strong { display: block; color: var(--brand); font-size: 1rem; letter-spacing: -.01em; }
@media (min-width: 1100px) { .brand img { height: 52px; } .brand-badge { display: block; } }

.main-nav { display: none; }
@media (min-width: 1100px) {
  .main-nav { display: block; }
  .main-nav > ul { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
  .main-nav li { position: relative; margin: 0; list-style: none; }
  .main-nav > ul > li > a {
    display: flex; align-items: center; gap: 4px; height: 44px; padding: 0 12px;
    border-radius: var(--r-pill); color: var(--ink); text-decoration: none; font-weight: 600; font-size: 1rem; white-space: nowrap;
    transition: background-color .2s ease, color .2s ease;
  }
  .main-nav > ul > li > a .i { width: 14px; height: 14px; color: var(--ink-3); transition: transform .2s var(--ease-out); }
  .main-nav > ul > li > a:hover, .main-nav > ul > li:focus-within > a { background: var(--surface-2); }
  .main-nav > ul > li.is-active > a { color: var(--brand); }
  .main-nav > ul > li.is-active > a::after {
    content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--brand);
  }
  .main-nav .sub {
    position: absolute; top: calc(100% + 6px); left: -8px; min-width: 260px;
    list-style: none; margin: 0; padding: 8px;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden; transform: translateY(-4px) scale(.98); transform-origin: top left;
    transition: opacity .18s var(--ease-out), transform .18s var(--ease-out), visibility 0s linear .18s;
  }
  .main-nav .sub::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
  .main-nav li:hover > .sub, .main-nav li:focus-within > .sub {
    opacity: 1; visibility: visible; transform: none; transition-delay: 0s;
  }
  .main-nav li:hover > a .i { transform: rotate(180deg); }
  .main-nav .sub a {
    display: block; padding: 9px 12px; border-radius: 10px; color: var(--ink); text-decoration: none;
    font-size: .9688rem; font-weight: 500; line-height: 1.3;
  }
  .main-nav .sub a:hover, .main-nav .sub a.is-active { background: var(--brand-tint); color: var(--brand-hover); }
}
/* ožji namizni zasloni: meni v eni vrstici */
@media (min-width: 1100px) and (max-width: 1279.98px) {
  .main-nav > ul > li > a { padding: 0 8px; font-size: .9375rem; }
  .brand-badge { display: none !important; }
}
.header-cta { display: none; }
@media (min-width: 420px) { .header-cta { display: inline-flex; } }
.header-cta.btn { min-height: 42px; padding: .55em 1.15em; }
/* klic in kontakt v glavi (telefon, tablica) */
.hdr-icon {
  display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: var(--r-pill);
  border: 1.5px solid var(--line-2); background: var(--surface); color: var(--ink); text-decoration: none;
  transition: border-color .2s ease, color .2s ease, transform .16s var(--ease-out);
}
.hdr-icon .i { width: 20px; height: 20px; }
.hdr-icon:hover { border-color: var(--brand); color: var(--brand); }
.hdr-icon:active { transform: scale(.95); }
.header-inner > .hdr-icon + .hdr-icon { margin-left: -8px; }
@media (min-width: 1100px) { .hdr-icon { display: none; } }
@media (max-width: 359.98px) { .header-inner { gap: 10px; } .header-inner > .hdr-icon + .hdr-icon { margin-left: -4px; } }
/* gumb za meni: samo ikona */
.menu-toggle {
  display: grid; place-items: center; width: 44px; height: 44px; flex: none; padding: 0; border: 0; border-radius: var(--r-pill);
  background: var(--contrast-bg); color: var(--contrast-fg); cursor: pointer; transition: transform .16s var(--ease-out), background-color .2s ease;
}

.menu-toggle:active { transform: scale(.95); }
.burger { display: grid; gap: 5px; width: 18px; }
.burger span { display: block; height: 2px; border-radius: 2px; background: currentColor; }
.burger span:last-child { width: 12px; justify-self: end; transition: width .2s var(--ease-out); }
.menu-toggle:hover .burger span:last-child { width: 18px; }
@media (min-width: 1100px) { .menu-toggle { display: none; } }

/* --- mobilni meni: temen celozaslonski list --- */
.mobile-menu {
  position: fixed; inset: 0; z-index: var(--z-menu); overflow: hidden;
  display: flex; flex-direction: column; color: #fff;
  background: radial-gradient(120% 55% at 100% 0%, rgba(209, 16, 111, .28), transparent 62%), radial-gradient(90% 50% at 0% 100%, rgba(0, 168, 235, .1), transparent 60%), var(--plum);
  opacity: 0; visibility: hidden;
  transition: opacity .24s var(--ease-out), visibility 0s linear .24s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
.mm-art { position: absolute; right: -36px; bottom: -24px; width: 260px; height: auto; opacity: .07; pointer-events: none; }
.mm-art path { fill: #fff; }
.mobile-menu-head { position: relative; display: flex; align-items: center; justify-content: space-between; height: var(--header-h); flex: none; }
.mobile-menu-head img { height: 38px; width: auto; display: block; }
.mm-close {
  display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid rgba(255, 255, 255, .16); border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .06); color: #fff; cursor: pointer; transition: background-color .2s ease, transform .16s var(--ease-out);
}
.mm-close:hover { background: rgba(255, 255, 255, .14); }
.mm-close:active { transform: scale(.95); }
.mm-close .i { width: 20px; height: 20px; }
.mobile-menu-body { position: relative; flex: 1; overflow-y: auto; overscroll-behavior: contain; padding-top: 6px; padding-bottom: max(24px, env(safe-area-inset-bottom)); }
.mobile-menu nav > ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu li { list-style: none; margin: 0; }
.mobile-menu nav > ul > li { border-bottom: 1px solid rgba(255, 255, 255, .1); }
.mobile-menu .row { display: flex; align-items: center; gap: 12px; }
.mobile-menu .row > a {
  flex: 1; display: flex; align-items: center; gap: 10px; padding: 13px 0; color: #fff; text-decoration: none;
  font-family: var(--font-display); font-size: 1.1875rem; font-weight: 650; letter-spacing: -.01em;
}
.mobile-menu li.is-active > .row > a { color: #ff7ab8; }
.mobile-menu li.is-active > .row > a::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.mobile-menu .sub-toggle {
  display: grid; place-items: center; width: 34px; height: 34px; flex: none; border: 1px solid rgba(255, 255, 255, .16); border-radius: var(--r-pill);
  background: transparent; color: rgba(255, 255, 255, .85); cursor: pointer; transition: background-color .2s ease;
}
.mobile-menu .sub-toggle:hover { background: rgba(255, 255, 255, .1); }
.mobile-menu .sub-toggle .i { width: 16px; height: 16px; transition: transform .22s var(--ease-out); }
.mobile-menu .sub-toggle[aria-expanded="true"] { background: rgba(255, 255, 255, .1); }
.mobile-menu .sub-toggle[aria-expanded="true"] .i { transform: rotate(180deg); }
.mobile-menu .sub { list-style: none; margin: -2px 0 12px; padding: 0 0 0 14px; border-left: 1px solid rgba(255, 255, 255, .14); }
.mobile-menu .sub a { display: block; padding: 7px 0; color: rgba(255, 255, 255, .72); text-decoration: none; font-size: .9688rem; line-height: 1.35; }
.mobile-menu .sub a:hover { color: #fff; }
.mobile-menu .sub a.is-active { color: #ff7ab8; font-weight: 600; }
.mobile-menu-foot { display: grid; gap: 12px; padding-top: 22px; }
.mm-quick { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.mm-quick a {
  display: grid; gap: 10px; align-content: start; padding: 14px; border-radius: 16px; min-width: 0;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); color: #fff; text-decoration: none;
  transition: background-color .2s ease, transform .16s var(--ease-out);
}
.mm-quick a:hover { background: rgba(255, 255, 255, .1); }
.mm-quick a:active { transform: scale(.98); }
.mm-quick .i { width: 22px; height: 22px; color: #ff7ab8; }
.mm-quick span { display: grid; gap: 2px; font-size: .8125rem; color: rgba(255, 255, 255, .7); overflow-wrap: anywhere; }
.mm-quick strong { font-size: .9688rem; color: #fff; }
.mm-cta.btn { width: 100%; min-height: 50px; }
.mm-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 8px; }
.mobile-menu .social a { width: 40px; height: 40px; background: rgba(255, 255, 255, .08); color: #fff; }
.mobile-menu .social a:hover { background: var(--brand-bg); }
.mobile-menu .social .i { width: 20px; height: 20px; }
.mobile-menu .theme-switch button { padding: 0 10px; }
/* postopno pojavljanje ob odprtju */
@media (prefers-reduced-motion: no-preference) {
  .mobile-menu nav > ul > li, .mobile-menu-foot > * { opacity: 0; transform: translateY(10px); }
  .mobile-menu.is-open nav > ul > li, .mobile-menu.is-open .mobile-menu-foot > * {
    opacity: 1; transform: none; transition: opacity .38s var(--ease-out), transform .38s var(--ease-out);
  }
  .mobile-menu.is-open nav > ul > li { transition-delay: calc(40ms + var(--i, 0) * 32ms); }
  .mobile-menu.is-open .mobile-menu-foot > * { transition-delay: 300ms; }
}
body.menu-open { overflow: hidden; }

.social { display: flex; gap: 8px; list-style: none; margin: 0; padding: 0; }
.social li { margin: 0; list-style: none; }
.social a {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-pill);
  background: var(--surface-2); color: var(--ink); transition: background-color .2s ease, color .2s ease, transform .16s var(--ease-out);
}
.social a:hover { background: var(--brand-bg); color: var(--on-brand); }
.social a:active { transform: scale(.95); }
.social .i { width: 22px; height: 22px; }

/* --- vstopna: hero slider --- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(92svh, 820px);
  color: #fff; background: var(--plum);
}
.hero-static { display: flex; align-items: flex-end; min-height: 50svh; }
/* namizni: slider + plesni trak pod njim skupaj zapolnita zaslon (trak se konča ob spodnjem robu).
   --hero-above = prostor nad sliderjem (obvestilo + glava) + višina traku; nastavi ga imani.js. */
@media (min-width: 1024px) and (min-height: 620px) {
  .hero[data-slider] {
    min-height: max(560px, calc(100vh - var(--hero-above, calc(var(--header-h) + 130px))));
    min-height: max(560px, calc(100svh - var(--hero-above, calc(var(--header-h) + 130px))));
  }
}
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0; display: flex; align-items: flex-end;
  opacity: 0; visibility: hidden; transition: opacity .9s var(--ease-out), visibility 0s linear .9s;
}
.hero-slide.is-active { opacity: 1; visibility: visible; transition-delay: 0s; z-index: 1; }
.hero-media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform calc(var(--dur, 7s) + 1.5s) linear; }
.hero-slide.is-active .hero-media img { transform: scale(1); }
.hero-slide::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(42, 22, 49, .15) 0%, rgba(42, 22, 49, .1) 35%, rgba(42, 22, 49, .9) 100%),
    radial-gradient(110% 75% at 0% 100%, rgba(42, 22, 49, .7), transparent 62%);
}
.hero-content { position: relative; padding-top: 120px; padding-bottom: clamp(120px, 15vw, 168px); }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px;
  font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #ffd0e6;
}
.hero-title {
  /* ~30 px na mobilniku, ~54 px pri 1360 px, 72 px šele od ~1870 px */
  color: #fff; font-size: clamp(1.875rem, .4rem + 3.5vw, 4.5rem); line-height: 1.02; letter-spacing: -.03em;
  max-width: 15ch; margin: 0 0 18px;
}
.hero-sub { font-size: clamp(1rem, .85rem + .35vw, 1.25rem); color: #eadff0; max-width: 46ch; margin-bottom: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-actions .btn { min-height: 52px; padding-left: 1.6em; padding-right: 1.6em; }
@media (prefers-reduced-motion: no-preference) {
  .hero-slide .hero-content > * { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
  .hero-slide.is-active .hero-content > * { opacity: 1; transform: none; }
  .hero-slide.is-active .hero-content > :nth-child(2) { transition-delay: .08s; }
  .hero-slide.is-active .hero-content > :nth-child(3) { transition-delay: .16s; }
  .hero-slide.is-active .hero-content > :nth-child(4) { transition-delay: .24s; }
}
@media (prefers-reduced-motion: reduce) { .hero-media img { transform: none !important; transition: none; } }

/* časovnik / indikator */
.hero-controls { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; padding-bottom: clamp(20px, 3vw, 34px); }
.hero-controls-inner { display: flex; align-items: center; gap: 18px; }
.hero-dots { flex: 1; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 10px; max-width: 760px; }
.hero-dot { display: grid; gap: 10px; padding: 12px 0; border: 0; background: none; color: #fff; text-align: left; cursor: pointer; font: inherit; min-width: 0; }
.hero-dot-bar { position: relative; display: block; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .28); overflow: hidden; }
.hero-dot-fill { position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left center; border-radius: 3px; }
.hero-dot[aria-selected="true"] .hero-dot-fill { animation: hero-fill var(--dur, 7s) linear forwards; }
.hero-dot.is-done .hero-dot-fill { transform: scaleX(1); }
.hero.is-paused .hero-dot[aria-selected="true"] .hero-dot-fill { animation-play-state: paused; }
.hero.no-auto .hero-dot[aria-selected="true"] .hero-dot-fill { animation: none; transform: scaleX(1); }
@keyframes hero-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero-dot-label { display: none; font-size: .8125rem; font-weight: 600; color: rgba(255, 255, 255, .62); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color .2s ease; }
.hero-dot[aria-selected="true"] .hero-dot-label, .hero-dot:hover .hero-dot-label { color: #fff; }
@media (min-width: 900px) { .hero-dot-label { display: block; } }
.hero-nav { display: flex; gap: 6px; flex: none; }
.hero-btn {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-pill);
  border: 1px solid rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .08); color: #fff; cursor: pointer;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: background-color .2s ease, border-color .2s ease, transform .16s var(--ease-out);
}
.hero-btn:hover { background: rgba(255, 255, 255, .18); border-color: #fff; }
.hero-btn:active { transform: scale(.94); }
.hero-btn .i { width: 20px; height: 20px; }
.hero-btn .when-paused { display: none; }
.hero.is-paused .hero-btn .when-paused, .hero.no-auto .hero-btn .when-paused { display: inline; }
.hero.is-paused .hero-btn .when-playing, .hero.no-auto .hero-btn .when-playing { display: none; }
@media (max-width: 639px) { .hero-btn[data-prev], .hero-btn[data-next] { display: none; } }

/* hitre povezave čez rob hera */
.quick { position: relative; z-index: 2; padding-top: clamp(28px, 4vw, 48px); }
.quick-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 900px) { .quick-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } }
.quick-item {
  display: flex; flex-direction: column; gap: 10px; padding: 18px;
  background: var(--surface); border-radius: var(--r-card); box-shadow: var(--shadow);
  color: var(--ink); text-decoration: none;
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out);
}
.quick-item:active { transform: scale(.98); }
@media (hover: hover) and (pointer: fine) { .quick-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); color: var(--ink); } }
.quick-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--brand-tint); color: var(--brand); }
.quick-icon .i { width: 24px; height: 24px; }
.quick-item strong { font-family: var(--font-display); font-size: 1.1875rem; line-height: 1.2; letter-spacing: -.015em; }
.quick-item span { font-size: .9375rem; color: var(--ink-3); line-height: 1.4; }
@media (min-width: 900px) { .quick-item { padding: 22px 24px; } }

/* naslovi sekcij */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: clamp(24px, 4vw, 40px); }
.section-head h2 { font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.75rem); margin: 0; max-width: 20ch; }
.section-head p { margin: 8px 0 0; color: var(--ink-3); max-width: 52ch; }

/* o društvu */
.about { display: grid; gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (min-width: 900px) { .about { grid-template-columns: 1.1fr .9fr; } }
.about-media { position: relative; }
.about-media img { width: 100%; max-width: 520px; margin: 0 auto; border-radius: var(--r-card); }
.about .prose { max-width: 62ch; }
.about .prose h4 { font-size: .875rem; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); margin: 0 0 4px; }
.about .prose h3 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem); margin: 0 0 20px; }
.about .prose div[style*="justify"] { text-align: left !important; }

/* trak za vpis (izpostave) */
.band { background: var(--band-bg); color: #f4eaf6; position: relative; overflow: hidden; isolation: isolate; }
.band::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(60% 120% at 100% 0%, rgba(209, 16, 111, .45), transparent 60%),
              radial-gradient(50% 90% at 0% 100%, rgba(0, 168, 235, .18), transparent 60%);
}
.band-inner { display: grid; gap: 16px; padding-top: clamp(36px, 5vw, 56px); padding-bottom: clamp(36px, 5vw, 56px); }
@media (min-width: 900px) { .band-inner { grid-template-columns: 1.4fr 1fr; align-items: center; gap: 40px; } }
.band-item { display: flex; flex-direction: column; gap: 6px; color: #fff; text-decoration: none; }
.band-item.is-main { font-family: var(--font-display); font-size: clamp(1.5rem, 1.1rem + 1.8vw, 2.25rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.15; }
.band-item.is-main strong { color: #ffb3d6; }
.band-item.is-main .band-cta { margin-top: 14px; font-family: var(--font-body); font-size: 1rem; }
.band-item.is-side {
  flex-direction: row; align-items: center; gap: 16px; padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, .16); border-radius: var(--r-card); background: rgba(255, 255, 255, .05);
  transition: background-color .2s ease, border-color .2s ease;
}
.band-item.is-side:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .3); color: #fff; }
.band-item.is-side img { width: 64px; height: auto; flex: none; }
.band-item.is-side .txt { line-height: 1.35; }
.band-item.is-side strong { display: block; font-family: var(--font-display); font-size: 1.25rem; }

/* plesne tehnike: kartice s fotografijo */
.dcards {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(80%, 320px); gap: 14px;
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  padding: 4px var(--gutter) 18px; margin: 0 calc(var(--gutter) * -1);
  scrollbar-width: thin; scrollbar-color: var(--line-2) transparent;
}
@media (min-width: 760px) {
  .dcards { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: visible; padding: 0; margin: 0; gap: 18px; }
}
@media (min-width: 1100px) { .dcards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.dcard {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; scroll-snap-align: start;
  aspect-ratio: 4 / 5; border-radius: 22px; overflow: hidden; isolation: isolate;
  color: #fff; text-decoration: none; background: var(--plum);
  box-shadow: var(--shadow); transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
@media (min-width: 760px) { .dcard { aspect-ratio: 5 / 4; } }
.dcard:active { transform: scale(.985); }
.dcard-media { position: absolute; inset: 0; z-index: -2; }
.dcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.dcard::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(42, 22, 49, 0) 30%, rgba(42, 22, 49, .55) 58%, rgba(30, 14, 36, .94) 100%);
}
.dcard-media.is-art {
  display: grid; place-items: center;
  background:
    radial-gradient(80% 70% at 85% 10%, rgba(209, 16, 111, .55), transparent 60%),
    radial-gradient(70% 60% at 0% 100%, rgba(0, 168, 235, .3), transparent 60%),
    linear-gradient(160deg, #3d2147, #1e0f24);
}
.dcard-dancers { width: 46%; height: auto; margin-bottom: 26%; color: #fff; opacity: .95; }
.dcard-body { display: grid; gap: 6px; padding: 22px 22px 22px; }
.dcard-age {
  justify-self: start; padding: 4px 10px; border-radius: var(--r-pill); font-size: .8125rem; font-weight: 700;
  background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .25); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.dcard-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.375rem, 1.15rem + .8vw, 1.75rem); line-height: 1.08; letter-spacing: -.02em; }
.dcard-desc { font-size: .9688rem; line-height: 1.45; color: #e9dcee; max-width: 36ch; }
.dcard-go {
  position: absolute; top: 16px; right: 16px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .9); color: #1f1724; transition: transform .3s var(--ease-out), background-color .2s ease;
}
.dcard-go .i { width: 20px; height: 20px; }
@media (hover: hover) and (pointer: fine) {
  .dcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: #fff; }
  .dcard:hover .dcard-media img { transform: scale(1.05); }
  .dcard:hover .dcard-go { transform: rotate(45deg); background: var(--brand-bg); color: #fff; }
}
.dcard.is-active { box-shadow: 0 0 0 3px var(--brand), var(--shadow-lg); }

/* objave */
.posts { display: grid; gap: 20px; }
@media (min-width: 760px) { .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; } }
@media (min-width: 1100px) {
  .posts.is-home { grid-template-columns: 1.35fr 1fr; grid-template-rows: auto auto auto; }
  .posts.is-home .post:first-child { grid-row: span 3; }
  .posts.is-home .post:not(:first-child) { flex-direction: row; align-items: center; }
  .posts.is-home .post:not(:first-child) .post-media { width: 42%; flex: none; aspect-ratio: 4 / 3; }
  .posts.is-home .post:not(:first-child) .post-body { padding: 4px 4px 4px 20px; }
  .posts.is-home .post:not(:first-child) .post-summary { display: none; }
}
.post { display: flex; flex-direction: column; color: var(--ink); text-decoration: none; position: relative; }
.post-media { aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--r-card); background: var(--surface-2); }
.post-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .post:hover .post-media img { transform: scale(1.035); } .post:hover .post-title { color: var(--brand); } }
.post-body { padding: 14px 2px 0; }
.post time, .post .post-meta { display: block; font-size: .875rem; color: var(--ink-3); margin-bottom: 4px; font-variant-numeric: tabular-nums; }
.post .post-title { font-size: 1.25rem; line-height: 1.25; margin: 0 0 6px; transition: color .2s ease; }
.post:first-child .post-title { font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); }
.post-summary { color: var(--ink-2); font-size: 1rem; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post a.stretched::after { content: ""; position: absolute; inset: 0; }
.post .post-title a { color: inherit; text-decoration: none; }

/* stran Objave: razgiban ritem (iv_posts_layout): izpostavljena, široka + visoka, tri manjše … */
.post.acc-0 { --accent: var(--brand); }
.post.acc-1 { --accent: #00a8eb; }
.post.acc-2 { --accent: #f5a524; }
.posts.is-list time { display: inline-flex; align-items: center; gap: 8px; }
.posts.is-list time::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent, var(--brand)); }
/* velike kartice: plakat v celoti na zamegljeni povečavi iste slike */
.post-media.has-backdrop { position: relative; isolation: isolate; }
.post-media.has-backdrop .post-backdrop { position: absolute; inset: -12%; width: 124%; height: 124%; max-width: none; z-index: -1; filter: blur(26px) saturate(1.5); opacity: .9; transform: none !important; }
.post-media.has-backdrop .post-img { padding: 4%; object-fit: contain; filter: drop-shadow(0 14px 28px rgba(0, 0, 0, .3)); }
.post.is-feature, .post.is-row { overflow: hidden; border: 1px solid var(--line); border-radius: calc(var(--r-card) + 6px); background: var(--surface); box-shadow: var(--shadow); }
.post.is-feature .post-media, .post.is-row .post-media { border-radius: 0; aspect-ratio: 4 / 3; }
.post.is-feature .post-body, .post.is-row .post-body {
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(20px, 4vw, 52px);
  background: radial-gradient(90% 70% at 100% 0%, var(--brand-tint), transparent 70%);
}
.post.is-feature .post-title { font-size: clamp(1.625rem, 1.1rem + 2vw, 2.625rem); line-height: 1.1; letter-spacing: -.02em; margin-bottom: 12px; }
.post.is-row .post-title { font-size: clamp(1.375rem, 1rem + 1vw, 1.875rem); line-height: 1.15; margin-bottom: 10px; }
.post.is-feature .post-summary { -webkit-line-clamp: 4; font-size: 1.0625rem; }
.post.is-wide .post-media { aspect-ratio: 16 / 9; }
.post.is-wide .post-title { font-size: clamp(1.375rem, 1rem + 1vw, 1.875rem); line-height: 1.15; }
.post-flag { display: inline-flex; margin-bottom: 14px; padding: 5px 12px; border-radius: var(--r-pill); background: var(--brand-bg); color: var(--on-brand); font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.post-more { margin-top: 18px; }
@media (min-width: 760px) {
  .post.is-feature, .post.is-row, .post.is-wide { grid-column: 1 / -1; }
  .post.is-feature, .post.is-row { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
  .post.is-feature .post-media, .post.is-row .post-media { aspect-ratio: auto; min-height: 340px; }
}
@media (min-width: 1000px) {
  .posts.is-list { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 52px 28px; }
  .posts.is-list .post { grid-column: span 2; }
  .posts.is-list .post.is-wide { grid-column: span 4; }
  .posts.is-list .post.is-half { grid-column: span 3; }
  .posts.is-list .post.is-feature, .posts.is-list .post.is-row { grid-column: 1 / -1; }
  .post.is-feature { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .post.is-feature .post-media { min-height: 440px; }
  .post.is-tall .post-media { flex: 1 1 auto; aspect-ratio: auto; min-height: 280px; } /* raste do višine sosednje široke kartice */
}
/* telefon: velike kartice ostanejo, ostale so kompaktne vrstice (sličica + naslov) */
@media (max-width: 759.98px) {
  .posts.is-list { gap: 18px; }
  .post.is-wide, .post.is-row { margin: 10px 0; }
  .post.is-std, .post.is-tall, .post.is-half { flex-direction: row; align-items: center; gap: 14px; }
  .post.is-std .post-media, .post.is-tall .post-media, .post.is-half .post-media { flex: none; width: 34%; max-width: 132px; aspect-ratio: 1; border-radius: 14px; }
  .post.is-std .post-body, .post.is-tall .post-body, .post.is-half .post-body { padding: 0; }
  .post.is-std .post-title, .post.is-tall .post-title, .post.is-half .post-title { font-size: 1.0625rem; margin: 0; }
  .post.is-std .post-summary, .post.is-tall .post-summary, .post.is-half .post-summary { display: none; }
  .post.is-tall .post-backdrop { display: none; }
  .post.is-tall .post-img { padding: 0; object-fit: cover; filter: none; }
}

/* albumi (foto & video) */
.albums { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.album {
  position: relative; display: block; aspect-ratio: 4 / 3; border-radius: var(--r-card); overflow: hidden;
  color: #fff; text-decoration: none; background: var(--plum); isolation: isolate;
}
.album img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s var(--ease-out); }
.album::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 40%, rgba(42, 22, 49, .82)); }
.album span { position: absolute; left: 18px; right: 18px; bottom: 16px; display: flex; align-items: center; justify-content: space-between; gap: 10px; font-family: var(--font-display); font-size: 1.375rem; font-weight: 700; letter-spacing: -.015em; }
@media (hover: hover) and (pointer: fine) { .album:hover img { transform: scale(1.04); } .album:hover { color: #fff; } }

/* učiteljice */
.teachers {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(78%, 300px); gap: 14px;
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  padding: 4px var(--gutter) 18px; margin: 0 calc(var(--gutter) * -1);
  scrollbar-width: thin; scrollbar-color: var(--line-2) transparent;
}
@media (min-width: 1100px) { .teachers.is-grid { grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: visible; padding: 0; margin: 0; } }
.teacher {
  scroll-snap-align: start; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden;
  color: var(--ink); text-decoration: none; transition: box-shadow .25s var(--ease-out), transform .25s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) { .teacher:hover { box-shadow: var(--shadow); transform: translateY(-2px); color: var(--ink); } }
.teacher-media { aspect-ratio: 4 / 5; background: var(--surface-2); overflow: hidden; }
.teacher-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.teacher-body { padding: 14px 16px 18px; }
.teacher h3 { font-size: 1.1875rem; margin: 0 0 2px; }
.teacher p { margin: 0; font-size: .9375rem; color: var(--ink-3); line-height: 1.45; }

/* podporniki */
.partners { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 20px 40px; padding: 36px 0; }
.partners a { display: block; opacity: .85; transition: opacity .2s ease; }
.partners a:hover { opacity: 1; }
.partners img { max-height: 72px; width: auto; border-radius: 10px; }
.partners a { background: #fff; padding: 8px; border-radius: 14px; }

/* --- noga --- */
.site-footer { background: var(--footer-bg); color: #d9cbdd; font-size: 1rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: #ffb3d6; }
.footer-top { display: grid; gap: 32px; padding-top: clamp(48px, 7vw, 80px); padding-bottom: 40px; }
@media (min-width: 900px) { .footer-top { grid-template-columns: 1.3fr 1fr 1fr; gap: 48px; } }
.footer-brand img { height: 56px; width: auto; margin-bottom: 16px; }
.footer-brand p { max-width: 38ch; margin: 0 0 20px; }
.site-footer h2 { color: #fff; font-size: 1.125rem; margin: 0 0 14px; letter-spacing: -.01em; }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-list li { margin: 0; list-style: none; display: flex; gap: 10px; align-items: flex-start; }
.footer-list .i { color: #ffb3d6; margin-top: .2em; }
.site-footer .social a { background: rgba(255, 255, 255, .08); color: #fff; }
.site-footer .social a:hover { background: var(--brand-bg); }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; align-items: center;
  padding-top: 20px; padding-bottom: 28px; border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: .875rem; color: #b8a6bd;
}
.footer-bottom a { color: #d9cbdd; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 18px; }

/* --- podstrani --- */
.page-head { padding-top: clamp(28px, 4vw, 48px); padding-bottom: clamp(20px, 3vw, 32px); }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 14px; padding: 0; list-style: none; font-size: .875rem; color: var(--ink-3); }
.crumbs li { margin: 0; list-style: none; display: inline-flex; align-items: center; gap: 6px; }
.crumbs li + li::before { content: "/"; color: var(--line-2); }
.crumbs a { color: var(--ink-3); text-decoration: none; }
.crumbs a:hover { color: var(--brand); text-decoration: underline; }
.page-title { font-size: clamp(2rem, 1.3rem + 3vw, 3.5rem); line-height: 1.04; letter-spacing: -.03em; margin: 0; max-width: 22ch; }
.page-lead { margin: 14px 0 0; color: var(--ink-2); font-size: 1.125rem; max-width: 60ch; }
.page-body { padding-bottom: var(--section); }
.layout-aside { display: grid; gap: 40px; }
@media (min-width: 1000px) { .layout-aside { grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; align-items: start; } .layout-aside aside { position: sticky; top: calc(var(--header-h) + 24px); } }
.aside-box { background: var(--surface-2); border-radius: var(--r-card); padding: 22px; }
.aside-box h2 { font-size: 1.125rem; margin-bottom: 12px; }
.aside-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.aside-list li { margin: 0; list-style: none; }
.aside-list a { display: block; padding: 9px 10px; margin: 0 -10px; border-radius: 10px; color: var(--ink); text-decoration: none; line-height: 1.35; font-size: 1rem; }
.aside-list a:hover { background: var(--surface); color: var(--brand); }
.aside-list a.is-active { color: var(--brand); font-weight: 600; background: var(--surface); }
.aside-list small { display: block; color: var(--ink-3); font-size: .8125rem; }
.subnav { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 6px; margin: 18px 0 0; list-style: none; scrollbar-width: none; }
.subnav::-webkit-scrollbar { display: none; }
.subnav li { margin: 0; list-style: none; flex: none; }
.subnav a {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: var(--r-pill);
  border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); text-decoration: none; font-weight: 600; font-size: .9375rem; white-space: nowrap;
}
.subnav a:hover { border-color: var(--ink); }
.subnav a.is-active { background: var(--contrast-bg); border-color: var(--contrast-bg); color: var(--contrast-fg); }

.back-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; color: var(--ink-2); margin-top: 32px; }
.back-link:hover { color: var(--brand); }
.share { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); }

.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 48px; }
.pagination a, .pagination span {
  display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: var(--r-pill);
  border: 1px solid var(--line-2); color: var(--ink); text-decoration: none; font-weight: 600; font-variant-numeric: tabular-nums;
}
.pagination a:hover { border-color: var(--ink); }
.pagination .is-current { background: var(--contrast-bg); border-color: var(--contrast-bg); color: var(--contrast-fg); }
.pagination .gap { border: 0; min-width: 20px; padding: 0; }

/* --- vsebina iz CKEditorja --- */
.prose { max-width: var(--wrap-text); }
.prose > :first-child { margin-top: 0; }
.prose h1 { font-size: clamp(1.75rem, 1.25rem + 2vw, 2.5rem); margin: 1.4em 0 .5em; }
.prose h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); margin: 1.6em 0 .5em; }
.prose h3, .prose h2[data-h="3"] { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.5rem); margin: 1.6em 0 .5em; }
.prose h4 { font-size: 1.125rem; margin: 1.4em 0 .4em; letter-spacing: -.01em; }
.prose h5, .prose h6 { font-size: 1rem; margin: 1.2em 0 .4em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin: 0 0 .4em; padding-left: .2em; }
.prose ul li::marker { color: var(--brand); }
.prose ol li::marker { color: var(--brand); font-weight: 700; }
.prose blockquote { margin: 1.5em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--brand); color: var(--ink-2); font-style: italic; }
.prose img { border-radius: 12px; }
.prose iframe { width: 100%; height: auto; aspect-ratio: 16 / 9; border: 0; border-radius: 14px; background: var(--surface-2); margin: 1em 0; }
/* YouTube predogled (iv_optimize_html): slika + gumb, predvajalnik se naloži ob kliku */
.yt-facade { display: block; position: relative; aspect-ratio: 16 / 9; margin: 1em 0; border-radius: 14px; overflow: hidden; background: #000; }
.yt-facade iframe { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; border-radius: 0; }
.yt-play { position: absolute; inset: 0; display: block; width: 100%; padding: 0; border: 0; background: #000; cursor: pointer; }
.yt-play img { width: 100%; height: 100%; object-fit: cover; opacity: .86; transition: opacity .3s ease, transform .5s var(--ease-out); }
.yt-play:hover img { opacity: 1; transform: scale(1.02); }
.yt-icon {
  position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 72px; height: 72px; margin: -36px 0 0 -36px;
  border-radius: var(--r-pill); background: var(--brand-bg); color: var(--on-brand); box-shadow: 0 10px 30px rgba(14, 7, 17, .35);
  transition: transform .2s var(--ease-out);
}
.yt-icon .i { width: 28px; height: 28px; margin-left: 3px; }
.yt-play:hover .yt-icon { transform: scale(1.06); }
.yt-play:active .yt-icon { transform: scale(.96); }
.yt-play:focus-visible { outline: 3px solid var(--brand); outline-offset: -3px; }
@media (prefers-reduced-motion: reduce) { .yt-play img, .yt-icon { transition: none; } }
.prose table { width: 100%; border-collapse: collapse; margin: 1.2em 0 1.6em; font-size: .9688rem; display: block; overflow-x: auto; }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { font-weight: 700; color: var(--ink-3); font-size: .8125rem; text-transform: uppercase; letter-spacing: .06em; }
.prose td h3 { margin: .2em 0; font-size: 1.0625rem; }
.prose u { text-decoration: none; }
.prose a { font-weight: 600; }
.prose [style*="text-align: justify"] { text-align: left !important; }
.prose .imgRight, .prose .imgLeft { margin: .4em 0 1.2em; }
.prose .imgRight img, .prose .imgLeft img, .prose .imgCenter img { width: 100%; }
@media (min-width: 700px) {
  .prose .imgRight { float: right; width: 44%; margin: .3em 0 1em 1.8em; }
  .prose .imgLeft { float: left; width: 44%; margin: .3em 1.8em 1em 0; }
}
.prose .imgCenter { margin: 1.4em 0; }
.prose .imgCover { aspect-ratio: 21 / 9; background-size: cover; background-position: center; border-radius: var(--r-card); margin: 1.4em 0; }
.prose::after { content: ""; display: table; clear: both; }
.userGgallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 1.4em 0; clear: both; }
@media (min-width: 700px) { .userGgallery { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; } }
.userGgallery a { display: block; aspect-ratio: 1; overflow: hidden; border-radius: 12px; background: var(--surface-2); }
.userGgallery img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; transition: transform .5s var(--ease-out); }
.userGgallery a:hover img { transform: scale(1.04); }
.prose .userGgallery a { font-weight: 400; }
.carousel { position: relative; margin: 1.4em 0; border-radius: var(--r-card); overflow: hidden; background: var(--plum); }
.carousel .carouselImg { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 0; }
.carouselBtn {
  position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border: 0; border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .9); color: var(--ink); cursor: pointer; font-size: 18px;
}
.carouselBtn.display-left { left: 12px; } .carouselBtn.display-right { right: 12px; }
.files, .row.files { display: grid; gap: 8px; margin: 1.2em 0; }
.fileDownload a {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px;
  color: var(--ink); text-decoration: none; font-weight: 600; background: var(--surface); transition: border-color .2s ease;
}
.fileDownload a::before { content: ""; width: 28px; height: 34px; flex: none; border-radius: 4px; background: var(--brand-tint) url("../images/_body/pdf.png") center / 22px no-repeat; }
.fileDownload a:hover { border-color: var(--brand); color: var(--brand); }
.userBtn, a.cta, .prose a.cta {
  display: inline-flex; align-items: center; min-height: 48px; padding: .7em 1.4em; border-radius: var(--r-pill);
  background: var(--brand-bg); color: var(--on-brand); font-weight: 700; text-decoration: none; transition: background-color .2s ease, transform .16s var(--ease-out);
}
.userBtn:hover, a.cta:hover { background: var(--brand-bg-hover); color: var(--on-brand); }
.userBtn:active, a.cta:active { transform: scale(.97); }

/* --- obrazci (kontakt, e-prijava, bon) --- */
.form-place { display: grid; gap: 16px 20px; }
@media (min-width: 700px) { .form-place { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.form-place > div { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.form-place .full-row { grid-column: 1 / -1; }
.form-place .full-row[style] { margin-bottom: 0 !important; }
.form-place h4 { font-size: 1.0625rem; letter-spacing: .02em; margin: 18px 0 2px; padding-top: 18px; border-top: 1px solid var(--line); }
.form-place label { font-weight: 600; font-size: .9375rem; color: var(--ink-2); }
.inputF, .area-field, .form-place select, .form-place input[type="text"], .form-place input[type="email"], .form-place input[type="tel"], .form-place input[type="date"], .form-place input[type="number"], .form-place textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid var(--line-2); border-radius: var(--r-field);
  background: var(--surface); color: var(--ink); font: inherit; font-size: 1rem;
  transition: border-color .2s ease, box-shadow .2s ease;
  -webkit-appearance: none; appearance: none;
}
.form-place select { background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256' fill='%236b6271'%3E%3Cpath d='M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,53.66,90.34L128,164.69l74.34-74.35a8,8,0,0,1,11.32,11.32Z'/%3E%3C/svg%3E") right 14px center / 18px no-repeat; padding-right: 42px; }
.area-field, .form-place textarea { min-height: 140px; resize: vertical; }
.inputF:hover, .area-field:hover { border-color: var(--ink-3); }
.inputF:focus, .area-field:focus, .form-place select:focus, .form-place textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(209, 16, 111, .14); }
.check-option { flex-direction: row !important; align-items: flex-start; gap: 12px !important; }
.check-option input[type="checkbox"], .form-place input[type="checkbox"], .form-place input[type="radio"] { width: 22px; height: 22px; margin: 2px 0 0; flex: none; accent-color: var(--brand); }
.check-option label { font-weight: 500; color: var(--ink-2); line-height: 1.5; }
.default-form-btn, .form-place input[type="submit"] {
  justify-self: start; min-height: 52px; padding: .8em 2em; border: 0; border-radius: var(--r-pill);
  background: var(--brand-bg); color: var(--on-brand); font: inherit; font-weight: 700; cursor: pointer;
  transition: background-color .2s ease, transform .16s var(--ease-out);
}
.default-form-btn:hover { background: var(--brand-bg-hover); }
.default-form-btn:active { transform: scale(.97); }
.default-form-btn[disabled] { opacity: .6; cursor: progress; }
.form-msg { grid-column: 1 / -1; padding: 12px 16px; border-radius: var(--r-field); font-weight: 600; }
.form-msg.is-error { background: var(--err-bg); color: var(--err-fg); }
.form-msg.is-ok { background: var(--ok-bg); color: var(--ok-fg); }
.contact-grid { display: grid; gap: 40px; }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; } }
.contact-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: clamp(20px, 3vw, 36px); box-shadow: var(--shadow-sm); }

/* --- prazna stanja, 404 --- */
.empty { text-align: center; padding: 48px 20px; color: var(--ink-3); border: 1.5px dashed var(--line-2); border-radius: var(--r-card); }
.notfound { text-align: center; padding: var(--section) 0; }
.notfound h1 { font-size: clamp(2.5rem, 2rem + 4vw, 5rem); }
.notfound .links { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 24px; }

/* ==========================================================================
   URNIK
   ========================================================================== */
.schedule { --day-h: 52px; }
.schedule-filters { display: grid; gap: 14px; margin-bottom: 20px; }
.filter-label { display: block; font-size: .8125rem; font-weight: 700; color: var(--ink-3); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 8px; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 6px; margin: 0 -2px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px;
  border: 1.5px solid var(--line-2); border-radius: var(--r-pill); background: var(--surface); color: var(--ink);
  font: inherit; font-size: .9688rem; font-weight: 600; cursor: pointer; white-space: nowrap;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .16s var(--ease-out);
}
.chip:hover { border-color: var(--ink-2); }
.chip:active { transform: scale(.97); }
.chip[aria-pressed="true"] { background: var(--contrast-bg); border-color: var(--contrast-bg); color: var(--contrast-fg); }
.chip .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--c, var(--brand)); }
.year-filter input, .select-wrap select {
  width: 140px; min-height: 44px; padding: 8px 14px; border: 1.5px solid var(--line-2); border-radius: var(--r-pill);
  font: inherit; font-size: 1rem; background: var(--surface); color: var(--ink); font-variant-numeric: tabular-nums;
}
.year-filter input:focus, .select-wrap select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(209, 16, 111, .14); }
.select-wrap { position: relative; }
.select-wrap select { width: 100%; padding-right: 40px; -webkit-appearance: none; appearance: none; text-overflow: ellipsis; white-space: nowrap; overflow: hidden; cursor: pointer; }
.select-wrap .i { position: absolute; right: 14px; top: 50%; width: 16px; height: 16px; margin-top: -8px; color: var(--ink-3); pointer-events: none; }
/* namizni: vsi čipi vidni, letnik rojstva levo, zvrsti desno; izbirni seznam lokacij samo mobilno */
@media (min-width: 900px) {
  .chips { flex-wrap: wrap; overflow: visible; }
  .filter-row { display: grid; grid-template-columns: auto 1fr; align-items: start; gap: 14px 32px; }
  .f-loc-select { display: none; }
}
/* mobilno: filtri v kartici; letnik + lokacija v eni vrstici, zvrsti drsijo znotraj kartice (desno zabrisane) */
@media (max-width: 899.98px) {
  .schedule-filters { gap: 16px; padding: 16px; border-radius: var(--r-card); background: var(--surface-2); }
  .f-loc { display: none; }
  .filter-row { display: grid; gap: 16px 10px; }
  .filter-row.has-loc { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
  .f-zvrst { grid-column: 1 / -1; }
  .year-filter input { width: 100%; }
  .filter-row:not(.has-loc) .year-filter input { max-width: 180px; }
  .filter-label { font-size: .75rem; margin-bottom: 6px; }
  .chips {
    gap: 6px; margin: 0 -16px; padding: 2px 16px 4px; scroll-padding-inline: 16px;
    -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 36px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 36px), transparent);
  }
  .chip { min-height: 38px; padding: 0 14px; gap: 7px; font-size: .9375rem; }
}
.schedule-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; margin: 0 0 18px; }
.schedule-status { font-size: .9375rem; color: var(--ink-3); margin: 0; min-height: 1.5em; flex: 1 1 240px; }
.schedule-status:empty { flex-basis: 0; } /* brez filtrov: gumb PDF ostane v isti vrstici */
.schedule-pdf { margin-left: auto; }
.schedule-status button { border: 0; background: none; color: var(--brand); font: inherit; font-weight: 700; cursor: pointer; padding: 0 4px; text-decoration: underline; }

/* zavihki dni (mobilno) */
.day-tabs {
  position: sticky; top: var(--header-h); z-index: 5;
  display: grid; grid-template-columns: repeat(var(--days, 6), minmax(0, 1fr)); gap: 4px;
  padding: 8px 0; margin-bottom: 8px; background: var(--bg);
}
.day-tab {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; min-height: var(--day-h);
  border: 0; border-radius: 14px; background: var(--surface-2); color: var(--ink-2); cursor: pointer;
  font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.1;
  transition: background-color .18s ease, color .18s ease, transform .16s var(--ease-out);
}
.day-tab small { font-size: .6875rem; font-weight: 600; color: var(--ink-3); letter-spacing: .02em; }
.day-tab:active { transform: scale(.96); }
.day-tab[aria-selected="true"] { background: var(--brand-bg); color: var(--on-brand); }
.day-tab[aria-selected="true"] small { color: #ffd6e9; }
.day-tab.is-empty { opacity: .45; }
.view-switch { display: none; }

.days { display: grid; gap: 28px; }
.day h3 { display: flex; align-items: baseline; gap: 10px; font-size: 1.5rem; margin: 0 0 12px; }
.day h3 small { font-family: var(--font-body); font-size: .9375rem; font-weight: 600; color: var(--ink-3); letter-spacing: 0; }
.slots { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.slot {
  position: relative; margin: 0; list-style: none;
  display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 4px 14px;
  padding: 14px 16px 14px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow-sm); overflow: hidden;
}
.slot::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--c, var(--brand)); }
.slot-time { font-variant-numeric: tabular-nums; font-weight: 800; font-size: 1.0625rem; line-height: 1.2; color: var(--ink); }
.slot-time span { display: block; font-weight: 600; font-size: .875rem; color: var(--ink-3); }
.slot-main { min-width: 0; }
.slot-title { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.125rem; line-height: 1.25; letter-spacing: -.01em; color: var(--ink); text-decoration: none; }
a.slot-title:hover { color: var(--brand); }
.slot-meta { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 6px; font-size: .875rem; color: var(--ink-3); line-height: 1.35; }
.slot-meta span { display: inline-flex; align-items: center; gap: 5px; }
.slot-meta .i { width: 15px; height: 15px; }
.slot-note { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; padding: 4px 10px; border-radius: var(--r-pill); background: var(--brand-tint); color: var(--brand-hover); font-size: .8125rem; font-weight: 700; }
.slot.is-match { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(209, 16, 111, .14); }
.slot[hidden], .day[hidden] { display: none; }
.day-empty { padding: 20px; border-radius: 16px; background: var(--surface-2); color: var(--ink-3); text-align: center; }

.locations { display: grid; gap: 12px; margin-top: 40px; }
@media (min-width: 760px) { .locations { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.location { display: flex; gap: 14px; padding: 18px; background: var(--surface-2); border-radius: var(--r-card); }
.location .i { color: var(--brand); width: 24px; height: 24px; margin-top: 2px; }
.location h3 { font-size: 1.0625rem; margin: 0 0 2px; }
.location p { margin: 0; font-size: .9375rem; color: var(--ink-2); }
.location a { font-size: .9375rem; font-weight: 600; }
.schedule-foot { margin-top: 24px; font-size: .9375rem; color: var(--ink-3); }

/* JS: pogled po dnevih (mobilno) skrije ostale dni */
.js .schedule.is-days .day:not(.is-current) { display: none; }

/* namizje: tedenski pregled v stolpcih */
@media (min-width: 1000px) {
  .day-tabs { display: none; }
  .js .schedule.is-days .day:not(.is-current) { display: block; }
  .js .schedule.is-days .day[hidden] { display: none; }
  .days { grid-template-columns: repeat(var(--days, 6), minmax(0, 1fr)); gap: 12px; align-items: start; }
  .day h3 { flex-direction: column; gap: 0; font-size: 1.125rem; padding: 10px 12px; margin-bottom: 10px; background: var(--surface-2); border-radius: 12px; position: sticky; top: calc(var(--header-h) + 8px); z-index: 2; }
  .day h3 small { font-size: .75rem; }
  .slot { grid-template-columns: 1fr; padding: 12px 12px 12px 15px; gap: 6px; border-radius: 14px; }
  .slot-time { font-size: .9375rem; }
  .slot-time span { display: inline; font-size: .9375rem; color: var(--ink-3); }
  .slot-time span::before { content: " – "; }
  .slot-title { font-size: 1rem; }
  .slot-meta { font-size: .8125rem; flex-direction: column; gap: 2px; }
  .slot-note { font-size: .75rem; padding: 3px 8px; }
  .day-empty { font-size: .875rem; padding: 14px 8px; }
}

/* ==========================================================================
   CENIK
   ========================================================================== */
.pricing { display: grid; gap: clamp(28px, 4vw, 44px); }
.price-block { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; box-shadow: var(--shadow-sm); }
.price-head { padding: 20px 20px 16px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--surface-2), var(--surface)); }
.price-head h2 { font-size: clamp(1.25rem, 1.05rem + .9vw, 1.625rem); margin: 0; }
.price-head p { margin: 6px 0 0; color: var(--ink-3); font-size: .9375rem; }
.price-list { list-style: none; margin: 0; padding: 4px 0; }
.price-row { margin: 0; list-style: none; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; padding: 14px 20px; align-items: baseline; }
.price-row + .price-row { border-top: 1px solid var(--line); }
.price-name { font-weight: 700; line-height: 1.35; }
.price-detail { grid-column: 1; font-size: .9375rem; color: var(--ink-3); line-height: 1.4; }
.price-detail span + span::before { content: " · "; color: var(--line-2); }
.price-amount { grid-column: 2; grid-row: 1 / span 2; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.price-amount strong { font-family: var(--font-display); font-size: 1.5rem; font-weight: 750; letter-spacing: -.02em; color: var(--ink); }
.price-amount small { display: block; font-size: .8125rem; color: var(--ink-3); font-weight: 600; }
.price-sub { margin: 0; list-style: none; padding: 18px 20px 6px; border-top: 1px solid var(--line); }
.price-list > .price-sub:first-child { border-top: 0; }
.price-sub h3 { margin: 0; font-size: .8125rem; font-family: var(--font-body); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); }
.price-sub + .price-row { border-top: 0; }
.price-note { margin: 0; list-style: none; padding: 6px 20px 16px; color: var(--ink-2); font-size: .9688rem; }
.price-row.is-highlight { background: var(--brand-tint); }
@media (min-width: 900px) {
  .price-head { padding: 24px 28px 18px; }
  .price-row { grid-template-columns: minmax(0, 1fr) 200px 140px; padding: 16px 28px; align-items: center; }
  .price-detail { grid-column: 1; }
  .price-obseg { grid-column: 2; grid-row: 1 / span 2; color: var(--ink-2); font-size: .9688rem; }
  .price-amount { grid-column: 3; }
  .price-sub { padding: 22px 28px 6px; }
  .price-note { padding: 6px 28px 18px; }
  .price-detail .is-obseg { display: none; }
}
@media (max-width: 899px) { .price-obseg { display: none; } }
.pricing-text { margin-top: clamp(32px, 5vw, 56px); }
.pricing-text .prose h3 { font-size: 1.375rem; }

/* --- pojavljanje ob drsenju (samo, če uporabnik ne želi manj gibanja) --- */
@media (prefers-reduced-motion: no-preference) {
  .reveal-ready [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); transition-delay: var(--d, 0ms); }
  .reveal-ready [data-reveal].is-in { opacity: 1; transform: none; }
  .hero-content > * { animation: rise .7s var(--ease-out) both; }
  .hero-content > :nth-child(2) { animation-delay: 60ms; }
  .hero-content > :nth-child(3) { animation-delay: 120ms; }
  .hero-content > :nth-child(4) { animation-delay: 180ms; }
  @keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* --- tisk (urnik, cenik) --- */
@media print {
  :root, :root[data-theme], :root:not([data-theme="light"]) {
    --bg: #fff; --surface: #fff; --surface-2: #f4f0f5; --ink: #1f1724; --ink-2: #3a3240; --ink-3: #5e5664;
    --line: #ddd; --line-2: #ccc; --brand: #b00d5d; --brand-tint: #fdeef5; color-scheme: light;
  }
  .site-header, .site-footer, .notice, .mobile-menu, .schedule-filters, .day-tabs, .schedule-bar, .share, .skip, .partners { display: none !important; }
  body { background: #fff; font-size: 11pt; }
  .days { grid-template-columns: repeat(var(--days, 6), 1fr) !important; gap: 6px !important; }
  .day { display: block !important; break-inside: avoid; }
  .slot { box-shadow: none; padding: 6px 6px 6px 10px; grid-template-columns: 1fr; break-inside: avoid; }
  .slot-meta .loc { display: none; }
  .price-block { box-shadow: none; break-inside: avoid; }
}

/* --- temna tema: vrinjene barve iz urejevalnika ne smejo uničiti kontrasta --- */
:root[data-theme="dark"] .prose [style*="background"] { background: transparent !important; }
:root[data-theme="dark"] .prose [style*="color"] { color: inherit !important; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .prose [style*="background"] { background: transparent !important; }
  :root:not([data-theme="light"]) .prose [style*="color"] { color: inherit !important; }
}

/* --- izbira videza (svetlo / temno / samodejno) --- */
.theme-switch { display: inline-flex; padding: 3px; gap: 2px; border-radius: var(--r-pill); background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); }
.theme-switch button {
  display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border: 0; border-radius: var(--r-pill);
  background: transparent; color: #d9cbdd; font: inherit; font-size: .875rem; font-weight: 600; cursor: pointer;
  transition: background-color .18s ease, color .18s ease;
}
.theme-switch button .i { width: 16px; height: 16px; }
.theme-switch button:hover { color: #fff; }
.theme-switch button[aria-pressed="true"] { background: #fff; color: #1f1724; }
.theme-toggle {
  display: none; place-items: center; width: 44px; height: 44px; flex: none; border: 1.5px solid var(--line-2); border-radius: var(--r-pill);
  background: var(--surface); color: var(--ink); cursor: pointer; transition: border-color .2s ease, transform .16s var(--ease-out);
}
.theme-toggle:hover { border-color: var(--ink-3); }
.theme-toggle:active { transform: scale(.95); }
.theme-toggle .i { width: 20px; height: 20px; }
.theme-toggle .when-dark { display: var(--logo-dark); }
.theme-toggle .when-light { display: var(--logo-light); }
@media (min-width: 1100px) { .theme-toggle { display: grid; } } /* na telefonu in tablici je izbira v meniju */

/* --- drobni pripomočki --- */
.after-prose { margin-top: clamp(28px, 4vw, 44px); }
.header-sentinel { position: absolute; top: 0; left: 0; width: 1px; height: 1px; pointer-events: none; }
.section-title-sm { font-size: clamp(1.375rem, 1.1rem + 1vw, 1.75rem); margin: 0 0 18px; }
.after-prose .btn + .btn { margin-left: 8px; }
.season-list { max-width: 640px; }
.season-list a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; margin: 0; border-radius: 14px; font-weight: 600; font-size: 1.0625rem; }
.season-list li + li { border-top: 1px solid var(--line); }
.link-print { display: inline-flex; align-items: center; gap: 6px; margin-left: 6px; padding: 0; border: 0; background: none; color: var(--brand); font: inherit; font-weight: 700; cursor: pointer; }
.link-print:hover { text-decoration: underline; }
.urnik-intro { margin-bottom: 8px; }
/* zahvala po oddaji obrazca (sites/ui.php) */
.thank-you-page { max-width: 640px; margin: 0 auto; padding: var(--section) var(--gutter); text-align: center; }
.thank-you-page img { width: 96px; height: auto; margin: 0 auto 20px; }
.thank-you-page h1 { font-size: clamp(1.75rem, 1.3rem + 2vw, 2.5rem); }
.ty-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 28px; }
/* elementi mreže s čipi se ne smejo raztegniti čez zaslon */
.schedule, .schedule-filters > *, .filter-row > *, .days > * { min-width: 0; }
.layout-aside > *, .contact-grid > *, .about > *, .posts > *, .footer-top > * { min-width: 0; }
.prose { overflow-wrap: break-word; }
.prose img[style*="width"] { max-width: 100% !important; height: auto !important; }
/* izbira DA/NE (radio) v e-prijavah: v eni vrstici */
.form-place > div:has(> input[type="radio"]) { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.form-place > div:has(> input[type="radio"]) > label { font-weight: 600; color: var(--ink); margin-right: 14px; }
.form-place > div:has(> input[type="radio"]) > :not(input):not(label) { flex-basis: 100%; }
/* telo urejevalnika CKEditor v adminu */
body.ck-body { max-width: none; padding: 16px 20px; background: #fff; color: #1f1724; }

/* ==========================================================================
   PLESNI TRAK pod sliderjem + animirani plesalki (iz logotipa)
   ========================================================================== */
.rhythm {
  position: relative; overflow: hidden; background: var(--band-bg); color: #fff;
  padding: clamp(14px, 1.8vw, 26px) 0; border-top: 1px solid rgba(255, 255, 255, .08);
}
/* robova se zabledita v barvo traku (ne v ozadje strani) */
.rhythm::before, .rhythm::after { content: ""; position: absolute; top: 0; bottom: 0; z-index: 1; width: 7%; pointer-events: none; }
.rhythm::before { left: 0; background: linear-gradient(90deg, var(--band-bg), transparent); }
.rhythm::after { right: 0; background: linear-gradient(270deg, var(--band-bg), transparent); }
.rhythm-track { display: flex; width: max-content; }
.rhythm-list { display: flex; align-items: center; flex: none; margin: 0; padding: 0; list-style: none; }
.rhythm-list li { margin: 0; list-style: none; flex: none; }
.rhythm-word {
  font-family: var(--font-display); font-weight: 750; letter-spacing: -.02em; line-height: 1;
  /* ~24 px na mobilniku, ~43 px pri 1360 px, 60 px šele od ~2000 px */
  font-size: clamp(1.5rem, .5rem + 2.6vw, 3.75rem); padding: 0 .35em; white-space: nowrap;
}
.rhythm-word.is-outline { color: #ff5ca8; } /* samo druga barva, isti slog pisave */
.rhythm-sep { padding: 0 .4em; }
.rhythm-dancers { width: clamp(30px, 1.2rem + 1.5vw, 60px); height: auto; color: #fff; }
@media (prefers-reduced-motion: no-preference) {
  .rhythm-track { animation: rhythm-scroll 46s linear infinite; }
  .rhythm:hover .rhythm-track { animation-play-state: paused; }
}
@keyframes rhythm-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* plesalca: vsak pleše po svoje (transformacije na skupinah SVG, izhodišče pri nogah).
   Modri (d-a): tekoč sodobni ples — nagibi, dvig na prste, počasna pirueta (5,2 s).
   Roza (d-b): hip hop — pozibavanje, koraki vstran, počep in skok z obratom v zraku (3,6 s).
   Različni dolžini: skupna slika se ponovi šele po ~47 s. Obrat = scale(x) skozi 0 na -1 in nazaj. */
.dancers .d-a .d-body { fill: currentColor; opacity: .55; }
.dancers .d-b .d-body { fill: currentColor; }
.dancers .d-a .d-head { fill: #00a8eb; }
.dancers .d-b .d-head { fill: #ff2b93; }
.dancers g { transform-box: fill-box; transform-origin: 50% 100%; }
.dancers .d-head { transform-box: fill-box; transform-origin: 50% 100%; }
@media (prefers-reduced-motion: no-preference) {
  .dancers .d-a { animation: solo-flow 5.2s cubic-bezier(.45, 0, .55, 1) infinite; }
  .dancers .d-b { animation: solo-groove 3.6s cubic-bezier(.3, 0, .3, 1) infinite; }
  .dancers .d-a .d-head { animation: head-float 1.3s ease-in-out infinite alternate; }
  .dancers .d-b .d-head { animation: head-bob .45s ease-in-out infinite alternate; }
  .dancers.is-alt .d-a { animation-delay: -2.6s; }
  .dancers.is-alt .d-b { animation-delay: -1.8s; }
}
@keyframes solo-flow {
  0%   { transform: translate(0, 0) rotate(-6deg) scale(1, 1); }
  15%  { transform: translate(5%, -6%) rotate(8deg) scale(1, 1.03); }
  30%  { transform: translate(0, 0) rotate(-12deg) scale(1, 1); }
  42%  { transform: translate(-3%, -4%) rotate(-2deg) scale(1, 1); }
  50%  { transform: translate(-3%, -8%) rotate(0deg) scale(.08, 1.02); }
  58%  { transform: translate(-3%, -8%) rotate(0deg) scale(-1, 1.02); }
  66%  { transform: translate(-3%, -6%) rotate(0deg) scale(.08, 1); }
  74%  { transform: translate(0, 0) rotate(4deg) scale(1, 1); }
  87%  { transform: translate(4%, -4%) rotate(10deg) scale(1, 1); }
  100% { transform: translate(0, 0) rotate(-6deg) scale(1, 1); }
}
@keyframes solo-groove {
  0%   { transform: translate(0, 0) rotate(0deg) scale(1, 1); }
  8%   { transform: translate(0, 3%) rotate(-3deg) scale(1.03, .94); }
  16%  { transform: translate(0, 0) rotate(3deg) scale(1, 1); }
  24%  { transform: translate(0, 3%) rotate(-3deg) scale(1.03, .94); }
  32%  { transform: translate(-10%, 0) rotate(-6deg) scale(1, 1); }
  40%  { transform: translate(-10%, 3%) rotate(0deg) scale(1.03, .94); }
  48%  { transform: translate(0, 0) rotate(6deg) scale(1, 1); }
  56%  { transform: translate(0, 4%) rotate(0deg) scale(1.05, .9); }
  64%  { transform: translate(0, -16%) rotate(0deg) scale(.96, 1.06); }
  70%  { transform: translate(0, -13%) rotate(0deg) scale(-.96, 1.04); }
  76%  { transform: translate(0, 2%) rotate(0deg) scale(1.04, .93); }
  84%  { transform: translate(0, 0) rotate(-4deg) scale(1, 1); }
  92%  { transform: translate(0, 3%) rotate(4deg) scale(1.03, .94); }
  100% { transform: translate(0, 0) rotate(0deg) scale(1, 1); }
}
@keyframes head-float { from { transform: translateY(0); } to { transform: translateY(-10%); } }
@keyframes head-bob { from { transform: translateY(0); } to { transform: translateY(-16%); } }

/* ==========================================================================
   PREDSTAVITEV DRUŠTVA
   ========================================================================== */
.intro-grid { display: grid; gap: clamp(40px, 6vw, 88px); align-items: center; }
@media (min-width: 960px) { .intro-grid { grid-template-columns: 1.05fr .95fr; } }
.intro-title { font-size: clamp(2rem, 1.25rem + 3.2vw, 3.6rem); line-height: 1.04; letter-spacing: -.03em; max-width: 16ch; margin-bottom: 22px; }
.intro-lead { font-size: clamp(1.125rem, 1.05rem + .35vw, 1.3125rem); line-height: 1.55; color: var(--ink); max-width: 54ch; margin-bottom: 14px; }
.intro-body { color: var(--ink-2); max-width: 60ch; }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 28px 0 30px; }
@media (min-width: 640px) { .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stat { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 4px; padding: 16px 16px 14px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); margin: 0; }
.stat dd { margin: 0; font-family: var(--font-display); font-weight: 750; font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.4rem); letter-spacing: -.03em; line-height: 1; color: var(--brand); font-variant-numeric: tabular-nums; }
.stat dt { font-size: .875rem; color: var(--ink-3); line-height: 1.3; }
.intro-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.intro-media { position: relative; padding: 0 0 18% 12%; }
.intro-photo { margin: 0; overflow: hidden; border-radius: 26px; box-shadow: var(--shadow-lg); background: var(--surface-2); }
.intro-photo img { width: 100%; height: 100%; object-fit: cover; }
.intro-photo.is-main { aspect-ratio: 4 / 5; }
.intro-photo.is-inset {
  position: absolute; left: 0; bottom: 0; width: 46%; aspect-ratio: 1; border-radius: 22px;
  border: 6px solid var(--bg); box-shadow: var(--shadow-lg);
}
.intro-badge {
  position: absolute; right: -8px; top: -18px; width: clamp(112px, 22%, 148px); aspect-ratio: 1;
  display: grid; place-items: center; border-radius: 50%; background: var(--plum); color: #fff; box-shadow: var(--shadow-lg);
  overflow: hidden; /* vrteči se kvadratni SVG bi s koti segel čez rob strani (vodoravni drsnik) */
}
.badge-ring { position: absolute; inset: 0; width: 100%; height: 100%; }
.badge-ring text { font-family: var(--font-body); font-size: 14.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; fill: #ffd0e6; }
.badge-dancers { width: 40%; height: auto; color: #fff; }
@media (prefers-reduced-motion: no-preference) { .badge-ring { animation: badge-spin 28s linear infinite; } }
@keyframes badge-spin { to { transform: rotate(360deg); } }

/* predstavitveni video (iv_video_band): vstopna stran in O društvu */
.vband { position: relative; overflow: hidden; isolation: isolate; background: var(--plum); color: #f1e6f4; padding: clamp(56px, 7vw, 104px) 0; }
.vband::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(45% 70% at 100% 10%, rgba(209, 16, 111, .4), transparent 65%), radial-gradient(40% 60% at 0% 100%, rgba(0, 168, 235, .14), transparent 62%);
}
.vband-grid { display: grid; gap: clamp(28px, 4vw, 40px); align-items: center; }
@media (min-width: 960px) { .vband-grid { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(48px, 5vw, 80px); } }
.vband-eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 16px; font-size: .8125rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #ff9fcb; }
.vband-eyebrow .i { width: 18px; height: 18px; }
.vband h2 { color: #fff; font-size: clamp(2rem, 1.25rem + 3vw, 3.5rem); line-height: 1.02; letter-spacing: -.035em; margin: 0 0 16px; max-width: 13ch; text-wrap: balance; }
.vband-lead { color: #e6d9ea; font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); line-height: 1.55; max-width: 42ch; margin: 0 0 28px; text-wrap: pretty; }
.vband-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
.vband-actions .btn { min-height: 50px; }
.vband .link-arrow { color: #fff; }
.vband-media {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; border-radius: clamp(18px, 2vw, 28px);
  overflow: hidden; background: #000; cursor: pointer;
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .08);
}
.vband-media img { width: 100%; height: 100%; object-fit: cover; opacity: .9; transform: scale(1.02); /* sličica YouTuba ima tanke črne robove */ transition: transform .7s var(--ease-out), opacity .3s ease; }
.vband-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(20, 8, 24, .55)); pointer-events: none; }
.vband-play {
  position: absolute; z-index: 1; left: 50%; top: 50%; display: grid; place-items: center;
  width: clamp(72px, 9vw, 104px); height: clamp(72px, 9vw, 104px); transform: translate(-50%, -50%);
  border-radius: var(--r-pill); background: var(--brand-bg); color: var(--on-brand);
  box-shadow: 0 16px 40px -10px rgba(209, 16, 111, .7); transition: transform .25s var(--ease-out);
}
.vband-play .i { width: 38%; height: 38%; margin-left: 6%; }
.vband-play::before { content: ""; position: absolute; inset: -10px; border-radius: inherit; border: 2px solid rgba(255, 255, 255, .55); opacity: 0; }
.vband-media:hover img { transform: scale(1.05); opacity: 1; }
.vband-media:hover .vband-play { transform: translate(-50%, -50%) scale(1.06); }
.vband-media:active .vband-play { transform: translate(-50%, -50%) scale(.96); }
.vband-media:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
@media (prefers-reduced-motion: no-preference) {
  .vband-play::before { animation: vband-pulse 2.4s var(--ease-out) infinite; }
}
@keyframes vband-pulse { 0% { opacity: .9; transform: scale(.86); } 80%, 100% { opacity: 0; transform: scale(1.25); } }
@media (prefers-reduced-motion: reduce) { .vband-media img, .vband-play { transition: none; } }

/* video (YouTube brez piškotkov, naloži se šele ob kliku) */
.video-dialog { width: min(1040px, calc(100vw - 24px)); max-width: none; padding: 0; border: 0; border-radius: 18px; background: #000; overflow: visible; }
.video-dialog::backdrop { background: rgba(14, 7, 17, .82); }
.video-frame { aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; }
.video-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.video-close {
  position: absolute; top: -52px; right: 0; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: var(--r-pill);
  background: #fff; color: #1f1724; cursor: pointer;
}
.video-dialog[open] { animation: video-in .25s var(--ease-out); }
@keyframes video-in { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: none; } }

/* pregledovalnik fotografij (galerije, slike v vsebini) — scripts_js/imani.js */
html.lb-open { overflow: hidden; }
.lb {
  position: fixed; inset: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0;
  border: 0; background: rgba(14, 7, 17, .94); color: #fff; overflow: hidden;
}
.lb::backdrop { background: transparent; }
.lb[open] { display: grid; animation: lb-in .2s var(--ease-out); }
@keyframes lb-in { from { opacity: 0; } to { opacity: 1; } }
.lb-stage { display: grid; grid-template-rows: minmax(0, 1fr) auto; place-items: center; gap: 12px; height: 100dvh; margin: 0; padding: 64px 12px 18px; }
@media (min-width: 800px) { .lb-stage { padding: 64px 88px 22px; } }
.lb-img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 10px; opacity: 0; transition: opacity .25s ease, transform .3s var(--ease-out); user-select: none; touch-action: pan-y; }
.lb-img.from-right { transform: translateX(24px); }
.lb-img.from-left { transform: translateX(-24px); }
.lb-img.is-in { opacity: 1; transform: none; }
.lb-cap { max-width: 70ch; min-height: 1.4em; font-size: .92rem; line-height: 1.4; text-align: center; color: rgba(255, 255, 255, .78); text-wrap: pretty; }
.lb-count { position: absolute; top: 22px; left: 20px; margin: 0; font-size: .85rem; font-variant-numeric: tabular-nums; letter-spacing: .04em; color: rgba(255, 255, 255, .7); }
.lb-btn {
  position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .1); color: #fff; cursor: pointer; transition: background-color .2s ease, transform .16s var(--ease-out);
}
.lb-btn:hover { background: rgba(255, 255, 255, .2); }
.lb-btn:active { transform: scale(.94); }
.lb-btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.lb-btn .i { width: 22px; height: 22px; }
.lb-close { top: 10px; right: 10px; }
.lb-prev, .lb-next { top: 50%; margin-top: -24px; }
.lb-prev { left: 12px; }
.lb-next { right: 12px; }
@media (max-width: 799px) { .lb-prev, .lb-next { top: auto; bottom: 14px; margin: 0; } .lb-stage { padding-bottom: 76px; } }
.lb.is-single .lb-prev, .lb.is-single .lb-next { display: none; }
@media (prefers-reduced-motion: reduce) {
  .lb[open] { animation: none; }
  .lb-img, .lb-img.from-left, .lb-img.from-right { transition: none; transform: none; }
}

/* ==========================================================================
   SPONZORJI
   ========================================================================== */
.sponsors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 640px) { .sponsors { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .sponsors { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; } }
.sponsors li { margin: 0; list-style: none; }
.sponsor {
  display: grid; place-items: center; height: 100%; min-height: 108px; padding: 18px 22px;
  background: #fff; border: 1px solid var(--line); border-radius: 18px; text-decoration: none;
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out), border-color .2s ease;
}
.sponsor img { max-height: 64px; max-width: 100%; width: auto; object-fit: contain; filter: grayscale(1); opacity: .8; transition: filter .3s ease, opacity .3s ease; }
.sponsor-name { font-family: var(--font-display); font-weight: 700; font-size: 1.0625rem; color: #46404c; text-align: center; line-height: 1.2; }
a.sponsor:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-2); }
a.sponsor:hover img, .sponsor:hover img { filter: none; opacity: 1; }
@media (hover: none) { .sponsor img { filter: none; opacity: 1; } }
.sponsors.is-page .sponsor { min-height: 128px; }
/* drsne vrstice: "snap" naj upošteva rob vsebine */
.teachers, .dcards { scroll-padding-inline: var(--gutter); }
.dcard-dancers { width: 36%; margin-bottom: 30%; filter: drop-shadow(0 10px 30px rgba(209, 16, 111, .35)); }
/* stena sponzorjev: zadnja vrstica na sredini */
.sponsors { display: flex; flex-wrap: wrap; justify-content: center; }
.sponsors li { flex: 0 0 calc((100% - 12px) / 2); }
@media (min-width: 640px) { .sponsors li { flex-basis: calc((100% - 24px) / 3); } }
@media (min-width: 1000px) { .sponsors li { flex-basis: calc((100% - 64px) / 5); } }

/* ==========================================================================
   DARILNI BON (trak na vstopni strani)
   ========================================================================== */
.gift { position: relative; overflow: hidden; isolation: isolate; background: var(--band-bg); color: #f4eaf6; }
.gift::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(55% 90% at 85% 50%, rgba(209, 16, 111, .38), transparent 65%),
    radial-gradient(40% 70% at 0% 100%, rgba(0, 168, 235, .14), transparent 60%);
}
.gift-inner { display: grid; gap: 40px; align-items: center; padding-top: clamp(56px, 7vw, 96px); padding-bottom: clamp(56px, 7vw, 96px); }
@media (min-width: 900px) { .gift-inner { grid-template-columns: 1fr 1fr; gap: 64px; } }
.gift-text h2 { color: #fff; font-size: clamp(2.25rem, 1.4rem + 3.4vw, 4rem); line-height: 1; letter-spacing: -.03em; margin-bottom: 18px; }
.gift-text p { font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); color: #e9dcee; max-width: 42ch; margin-bottom: 28px; }
.gift-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.gift-actions .btn { min-height: 52px; padding: 0 1.6em; }
.gift-phone { display: inline-flex; align-items: center; gap: 8px; color: #ffd0e6; font-weight: 600; text-decoration: none; }
.gift-phone:hover { color: #fff; text-decoration: underline; }

.gift-visual { position: relative; display: block; width: min(100%, 460px); aspect-ratio: 1.6; margin: 0 auto; perspective: 1000px; }
.gift-card {
  position: absolute; inset: 0; border-radius: 22px; overflow: hidden;
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.gift-card.is-back {
  background: linear-gradient(135deg, #00a8eb, #3a52c4); opacity: .55;
  transform: translate(7%, 7%) rotate(6deg);
}
.gift-card.is-front {
  display: flex; flex-direction: column; justify-content: space-between; padding: 7% 8%;
  color: #fff;
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(255, 140, 194, .45), transparent 55%),
    linear-gradient(135deg, #d1106f 0%, #8a1a6e 48%, #2a1631 100%);
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .25);
  transform: rotate(-6deg);
}
.gift-card.is-front::before { /* tanki krogi za plesalkama (valovanje gibanja), proti robovom izzvenijo */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-radial-gradient(circle at 76% 50%, transparent 0 15px, rgba(255, 255, 255, .13) 15px 16px);
  -webkit-mask-image: radial-gradient(circle at 76% 50%, #000 20%, transparent 62%); mask-image: radial-gradient(circle at 76% 50%, #000 20%, transparent 62%);
}
.gift-card.is-front::after { /* lesk */
  content: ""; position: absolute; inset: -40%; pointer-events: none;
  background: linear-gradient(105deg, transparent 42%, rgba(255, 255, 255, .28) 50%, transparent 58%);
  transform: translateX(-60%);
}
.gift-top { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.gift-top img { height: 40px; width: auto; }
.gift-chip { padding: 5px 12px; border-radius: var(--r-pill); background: rgba(255, 255, 255, .18); border: 1px solid rgba(255, 255, 255, .3); font-size: .8125rem; font-weight: 700; letter-spacing: .04em; }
.gift-dancers { position: absolute; right: 9%; top: 50%; width: 30%; height: auto; transform: translateY(-50%); color: #fff; }
.gift-bottom { position: relative; display: grid; gap: 2px; }
.gift-label { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: #ffd0e6; font-weight: 700; }
.gift-bottom strong { font-family: var(--font-display); font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); letter-spacing: -.02em; }
@media (hover: hover) and (pointer: fine) {
  .gift-visual:hover .gift-card.is-front { transform: rotate(-2deg) translateY(-6px); box-shadow: 0 40px 70px -24px rgba(0, 0, 0, .75); }
  .gift-visual:hover .gift-card.is-back { transform: translate(9%, 9%) rotate(9deg); }
}
@media (prefers-reduced-motion: no-preference) {
  .gift-card.is-front::after { animation: gift-shine 5.5s ease-in-out infinite; }
}
@keyframes gift-shine { 0%, 62% { transform: translateX(-60%); } 100% { transform: translateX(60%); } }

/* ==========================================================================
   O DRUŠTVU
   ========================================================================== */
/* uvod */
.ab-hero { position: relative; overflow: hidden; isolation: isolate; background: var(--plum); color: #f1e6f4; }
.ab-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 70% at 100% 20%, rgba(209, 16, 111, .4), transparent 62%),
    radial-gradient(45% 60% at 0% 100%, rgba(0, 168, 235, .16), transparent 60%);
}
.ab-hero-inner { display: grid; gap: 48px; align-items: center; min-height: min(86svh, 780px); padding-top: clamp(28px, 4vw, 48px); padding-bottom: clamp(56px, 7vw, 96px); }
@media (min-width: 960px) { .ab-hero-inner { grid-template-columns: 1.05fr .95fr; gap: 64px; } }
.ab-hero .crumbs, .ab-hero .crumbs a { color: #cdb9d3; }
.ab-hero .crumbs li + li::before { color: rgba(255, 255, 255, .3); }
.ab-title { color: #fff; font-size: clamp(2.75rem, 1.4rem + 6vw, 6.25rem); line-height: .98; letter-spacing: -.04em; margin: 18px 0 24px; max-width: 11ch; }
/* maska za vstop besede: dovolj prostora za spodnje dele črk (p, j, g) in previs ob strani;
   negativni robovi izničijo dodatni prostor, zato se razmiki ne spremenijo */
.kw { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .1em .24em; margin: 0 -.1em -.18em; }
.kw > span { display: inline-block; }
.kw.is-accent > span:first-child { color: #ff5ca8; }
@media (prefers-reduced-motion: no-preference) {
  .kw > span { transform: translateY(135%); animation: kw-in .9s var(--ease-out) forwards; animation-delay: calc(var(--i) * 90ms + 150ms); }
}
@keyframes kw-in { to { transform: translateY(0); } }
.ab-lead { font-size: clamp(1.125rem, 1.02rem + .5vw, 1.375rem); line-height: 1.55; max-width: 46ch; color: #e6d9ea; margin-bottom: 30px; }
.ab-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.ab-actions .btn { min-height: 52px; padding: 0 1.6em; }

.ab-stack { position: relative; height: clamp(340px, 52vw, 560px); }
.ab-photo { position: absolute; margin: 0; overflow: hidden; border-radius: 24px; box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .65); border: 5px solid rgba(255, 255, 255, .92); }
.ab-photo img { width: 100%; height: 100%; object-fit: cover; }
.ab-photo.is-1 { width: 62%; aspect-ratio: 4 / 5; left: 4%; top: 4%; rotate: -6deg; z-index: 2; }
.ab-photo.is-2 { width: 54%; aspect-ratio: 4 / 3; right: 0; top: 0; rotate: 5deg; z-index: 1; }
.ab-photo.is-3 { width: 50%; aspect-ratio: 4 / 3; right: 6%; bottom: 0; rotate: -2deg; z-index: 3; }
.ab-dancers { position: absolute; left: -2%; bottom: 2%; width: 22%; height: auto; color: #fff; z-index: 4; filter: drop-shadow(0 10px 24px rgba(0, 0, 0, .4)); }
@media (prefers-reduced-motion: no-preference) {
  .ab-photo { animation: ab-float 7s ease-in-out infinite alternate; }
  .ab-photo.is-2 { animation-duration: 8.5s; animation-delay: -2s; }
  .ab-photo.is-3 { animation-duration: 6.5s; animation-delay: -4s; }
  .ab-stack { animation: ab-stack-in 1.1s var(--ease-out) both .2s; }
}
@keyframes ab-float { from { translate: 0 0; } to { translate: 0 -12px; } }
@keyframes ab-stack-in { from { opacity: 0; transform: translateY(24px) scale(.97); } to { opacity: 1; transform: none; } }

/* številke */
.ab-stats { padding: clamp(40px, 6vw, 72px) 0; border-bottom: 1px solid var(--line); }
.ab-stats-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; margin: 0; }
@media (min-width: 760px) { .ab-stats-grid { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); } }
.ab-stat { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 6px; margin: 0; padding-left: 18px; border-left: 2px solid var(--brand-tint-2); }
.ab-stat dd { margin: 0; font-family: var(--font-display); font-weight: 750; font-size: clamp(2.25rem, 1.6rem + 2.4vw, 3.75rem); line-height: 1; letter-spacing: -.04em; color: var(--ink); font-variant-numeric: tabular-nums; }
.ab-stat dt { color: var(--ink-3); font-size: .9375rem; }

/* vrednote: besede se ob drsenju obarvajo */
.ab-values { padding: clamp(64px, 9vw, 128px) 0; }
.ab-values-inner { display: grid; gap: 28px; }
@media (min-width: 960px) { .ab-values-inner { grid-template-columns: .8fr 1.2fr; gap: 64px; } .ab-values-side { position: sticky; top: calc(var(--header-h) + 48px); align-self: start; } }
.ab-values-intro { font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.75rem); color: var(--ink-2); font-weight: 650; max-width: 14ch; }
.ab-values-dancers { display: none; width: 120px; height: auto; margin-top: 28px; color: var(--ink); }
@media (min-width: 960px) { .ab-values-dancers { display: block; } }
.ab-values-list { list-style: none; margin: 0; padding: 0; }
.ab-value { list-style: none; margin: 0; padding: 10px 0 18px; border-bottom: 1px solid var(--line); }
.ab-value-word {
  display: block; font-family: var(--font-display); font-weight: 750; letter-spacing: -.04em; line-height: 1.02;
  font-size: clamp(2.6rem, 1.4rem + 5.4vw, 6rem); color: var(--line-2); transition: color .6s var(--ease-out);
}
.ab-value-desc { display: block; max-width: 44ch; color: var(--ink-2); font-size: 1.0625rem; opacity: .35; transform: translateY(6px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
.ab-value.is-seen .ab-value-word { color: var(--ink); }
.ab-value.is-lit .ab-value-word { color: var(--brand); }
.ab-value.is-seen .ab-value-desc, .ab-value.is-lit .ab-value-desc { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .ab-value-word { color: var(--ink); } .ab-value-desc { opacity: 1; transform: none; } }

/* časovnica */
.ab-timeline { background: var(--surface-2); }
.tl { position: relative; list-style: none; margin: 0; padding: 0 0 0 34px; display: grid; gap: 28px; }
.tl-line { position: absolute; left: 9px; top: 6px; bottom: 6px; width: 3px; border-radius: 3px; background: var(--line-2); overflow: hidden; }
.tl-progress { position: absolute; inset: 0; background: linear-gradient(180deg, #ff5ca8, var(--brand-bg)); transform-origin: top; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .tl-progress { animation: tl-grow linear both; animation-timeline: view(); animation-range: entry 20% cover 70%; }
  }
}
@keyframes tl-grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.tl-item { position: relative; list-style: none; margin: 0; }
.tl-dot { position: absolute; left: -34px; top: 10px; width: 21px; height: 21px; border-radius: 50%; background: var(--surface-2); border: 3px solid var(--brand); box-shadow: 0 0 0 5px var(--surface-2); transition: transform .5s var(--ease-out), background-color .4s ease; }
.tl-year { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.25rem, 1.6rem + 2.6vw, 4rem); letter-spacing: -.04em; line-height: 1; color: var(--brand); margin-bottom: 12px; }
.tl-card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-sm); }
.tl-media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--surface-2); }
.tl-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.tl-card:hover .tl-media img { transform: scale(1.04); }
.tl-body { padding: 18px 20px 20px; }
.tl-body h3 { font-size: 1.25rem; margin: 0 0 6px; }
.tl-body p { color: var(--ink-2); margin: 0 0 10px; font-size: 1rem; }
@media (prefers-reduced-motion: no-preference) {
  .reveal-ready .tl-item .tl-card, .reveal-ready .tl-item .tl-year { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
  .reveal-ready .tl-item .tl-dot { transform: scale(.3); }
  .reveal-ready .tl-item.is-in .tl-card, .reveal-ready .tl-item.is-in .tl-year { opacity: 1; transform: none; }
  .reveal-ready .tl-item.is-in .tl-card { transition-delay: .1s; }
  .reveal-ready .tl-item.is-in .tl-dot { transform: scale(1); background: var(--brand-bg); }
}
@media (min-width: 900px) {
  .tl { padding-left: 0; gap: 56px; }
  .tl-line { left: 50%; margin-left: -1.5px; }
  .tl-item { display: grid; grid-template-columns: 1fr 1fr; column-gap: 72px; align-items: center; }
  .tl-dot { left: 50%; margin-left: -10.5px; top: 50%; margin-top: -10.5px; }
  .tl-item .tl-year { grid-column: 1; grid-row: 1; text-align: right; margin: 0; font-size: clamp(3rem, 2rem + 3vw, 5.5rem); }
  .tl-item .tl-card { grid-column: 2; grid-row: 1; }
  .tl-item.is-right .tl-year { grid-column: 2; text-align: left; }
  .tl-item.is-right .tl-card { grid-column: 1; }
}

/* reka fotografij */
.ab-river { padding: clamp(56px, 7vw, 96px) 0; background: var(--plum); color: #fff; overflow: hidden; }
.ab-river-title { color: #fff; font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.75rem); margin-bottom: 28px; }
.ab-river-row { display: flex; width: max-content; margin-bottom: 14px; }
.ab-river-track { display: flex; gap: 14px; padding: 0 7px; margin: 0; list-style: none; flex: none; }
.ab-river-track li { list-style: none; margin: 0; flex: none; }
.ab-river-track img { height: clamp(150px, 18vw, 240px); width: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 16px; }
@media (prefers-reduced-motion: no-preference) {
  .ab-river-row { animation: river 70s linear infinite; }
  .ab-river-row.is-reverse { animation-direction: reverse; animation-duration: 80s; }
  .ab-river:hover .ab-river-row { animation-play-state: paused; }
}
@keyframes river { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ab-river-foot { margin-top: 18px; }
.ab-river-foot .link-arrow { color: #ff8cc2; }
@media (prefers-reduced-motion: reduce) { .ab-river-row { width: auto; overflow-x: auto; } .ab-river-track[aria-hidden] { display: none; } }

/* zgodba */
.ab-story-inner { display: grid; gap: 40px; }
@media (min-width: 1000px) { .ab-story-inner { grid-template-columns: 360px minmax(0, 1fr); gap: 72px; } .ab-quote-wrap { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; } }
.ab-quote { position: relative; margin: 0; padding: 32px 28px 28px; border-radius: 24px; background: var(--plum); color: #f3e9f5; overflow: hidden; }
.ab-quote::after { content: ""; position: absolute; right: -30%; top: -30%; width: 80%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(209, 16, 111, .45), transparent 65%); }
.ab-quote-mark { width: 44px; height: 44px; color: #ff5ca8; }
.ab-quote blockquote { position: relative; z-index: 1; margin: 14px 0 18px; font-family: var(--font-display); font-size: 1.375rem; line-height: 1.3; letter-spacing: -.01em; color: #fff; }
.ab-quote figcaption { position: relative; z-index: 1; color: #d9c5de; font-size: .9375rem; }
.ab-story .prose h2 { margin-top: 0; }

/* raziskuj naprej */
.ab-explore-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.ab-tile {
  position: relative; display: grid; gap: 10px; align-content: start; min-height: 150px; padding: 22px;
  border-radius: 20px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none;
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out), border-color .2s ease;
}
.ab-tile-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--brand-tint); color: var(--brand); }
.ab-tile-icon .i { width: 24px; height: 24px; }
.ab-tile-title { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; letter-spacing: -.015em; line-height: 1.2; padding-right: 34px; }
.ab-tile-desc { color: var(--ink-3); font-size: .9375rem; }
.ab-tile-go { position: absolute; right: 18px; top: 18px; color: var(--ink-3); transition: transform .3s var(--ease-out), color .2s ease; }
@media (hover: hover) and (pointer: fine) {
  .ab-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--brand-tint-2); color: var(--ink); }
  .ab-tile:hover .ab-tile-go { transform: rotate(45deg); color: var(--brand); }
}
.ab-tile:active { transform: scale(.98); }

/* vabilo */
.ab-join { position: relative; overflow: hidden; isolation: isolate; background: var(--band-bg); color: #f1e6f4; }
.ab-join::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 100% at 90% 50%, rgba(209, 16, 111, .45), transparent 65%); }
.ab-join-inner { display: grid; gap: 32px; align-items: center; padding-top: clamp(56px, 7vw, 96px); padding-bottom: clamp(56px, 7vw, 96px); }
@media (min-width: 900px) { .ab-join-inner { grid-template-columns: 1fr auto; } }
.ab-join h2 { color: #fff; font-size: clamp(2.5rem, 1.5rem + 4vw, 4.75rem); line-height: 1; letter-spacing: -.04em; margin-bottom: 16px; }
.ab-join p { max-width: 46ch; color: #e6d9ea; font-size: 1.125rem; margin-bottom: 28px; }
.ab-join-dancers { width: clamp(140px, 18vw, 240px); height: auto; color: #fff; justify-self: center; filter: drop-shadow(0 20px 40px rgba(209, 16, 111, .45)); }

/* ==========================================================================
   DOHODNINA (dno vstopne strani)
   ========================================================================== */
.dh-card {
  display: grid; gap: 32px; padding: clamp(28px, 4vw, 56px); border-radius: 28px;
  background:
    radial-gradient(70% 90% at 100% 0%, var(--brand-tint), transparent 60%),
    var(--surface);
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
@media (min-width: 960px) { .dh-card { grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; } }
.dh-text h2 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.25rem); line-height: 1.02; letter-spacing: -.03em; max-width: 14ch; }
.dh-text p { color: var(--ink-2); font-size: 1.0625rem; max-width: 48ch; margin-bottom: 24px; }
.dh-links { display: flex; flex-wrap: wrap; gap: 10px; }
.dh-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; counter-reset: none; }
.dh-steps li { list-style: none; margin: 0; display: flex; align-items: flex-start; gap: 14px; padding: 14px 16px; border-radius: 16px; background: var(--surface-2); line-height: 1.45; }
.dh-n { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--brand-bg); color: #fff; font-weight: 800; font-size: .9375rem; }
.dh-steps .dh-tax { flex-direction: column; gap: 6px; background: var(--plum); color: #fff; padding: 18px 20px; }
.dh-tax-label { font-size: .8125rem; letter-spacing: .08em; text-transform: uppercase; color: #ffd0e6; font-weight: 700; }
.dh-tax-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; width: 100%; }
.dh-tax-row strong { font-family: var(--font-display); font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem); letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.dh-tax .btn-ghost { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .3); color: #fff; }
.dh-tax .btn-ghost:hover { border-color: #fff; color: #fff; }
.dh-tax .btn.is-done { background: #1f7a46; border-color: #1f7a46; }
@media (min-width: 900px) { .ab-explore-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ==========================================================================
   NASTOPI IN DOSEŽKI
   ========================================================================== */
.dz-hero { position: relative; overflow: hidden; isolation: isolate; background: var(--plum); color: #f1e6f4; padding: clamp(28px, 4vw, 48px) 0 clamp(48px, 6vw, 80px); }
.dz-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(55% 80% at 100% 0%, rgba(209, 16, 111, .42), transparent 62%), radial-gradient(40% 60% at 0% 100%, rgba(0, 168, 235, .14), transparent 60%); }
.dz-hero .crumbs, .dz-hero .crumbs a { color: #cdb9d3; }
.dz-hero .crumbs li + li::before { color: rgba(255, 255, 255, .3); }
.dz-hero-grid { display: grid; gap: 32px; align-items: end; }
@media (min-width: 960px) { .dz-hero-grid { grid-template-columns: 1.1fr .9fr; gap: 56px; } }
.dz-hero .ab-title { max-width: 12ch; }
.dz-year-big { margin: 10px 0 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(5rem, 3rem + 10vw, 11rem); line-height: .85; letter-spacing: -.05em; color: #fff; }
.dz-year-title { color: #e6d9ea; font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); font-weight: 600; margin: 14px 0 0; letter-spacing: -.01em; }
.dz-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; }
.dz-stats > div { margin: 0; padding: 16px 18px; border-radius: 18px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); display: flex; flex-direction: column-reverse; gap: 4px; }
.dz-stats dd { margin: 0; font-family: var(--font-display); font-weight: 750; font-size: clamp(2rem, 1.5rem + 2vw, 3rem); line-height: 1; letter-spacing: -.03em; color: #fff; font-variant-numeric: tabular-nums; }
.dz-stats dt { color: #cdb9d3; font-size: .875rem; }

/* vrhunci */
/* mobilno: vodoravni trak s snapom, od 760px mreža */
.dz-hl-grid {
  display: grid; gap: 12px; grid-auto-flow: column; grid-auto-columns: minmax(260px, 80%);
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none;
  padding: 4px var(--gutter) 18px; margin: 0 calc(var(--gutter) * -1); scroll-padding-inline: var(--gutter);
}
.dz-hl-grid::-webkit-scrollbar { display: none; }
.dz-hl-grid > .dz-hl { scroll-snap-align: start; }
@media (min-width: 760px) {
  .dz-hl-grid { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); overflow: visible; padding: 0; margin: 0; }
}
.dz-hl {
  position: relative; display: grid; gap: 6px; align-content: start; padding: 20px 20px 22px; border-radius: 20px;
  background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; overflow: hidden;
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.dz-hl::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--tier, #d4a72c); }
.dz-hl.is-gold { --tier: #d4a72c; } .dz-hl.is-silver { --tier: #9aa3ae; } .dz-hl.is-bronze { --tier: #b87333; }
.dz-hl.is-major { --tier: #00a8eb; } /* uvrstitev na prvenstvu (SP/EP/DP) brez stopničk */
.dz-hl-badge {
  justify-self: start; padding: 3px 10px; border-radius: var(--r-pill); background: rgba(0, 168, 235, .16); background: color-mix(in srgb, var(--tier) 18%, transparent);
  color: var(--ink); font-size: .75rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase;
}
.dz-medal { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(212, 167, 44, .16); background: color-mix(in srgb, var(--tier) 18%, transparent); color: var(--tier); margin-bottom: 6px; }
.dz-medal .i { width: 22px; height: 22px; }
.dz-hl-label { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-family: var(--font-display); font-weight: 750; font-size: 1.25rem; letter-spacing: -.015em; }
.dz-hl-year { font-family: var(--font-body); font-size: .8125rem; font-weight: 700; padding: 3px 10px; border-radius: var(--r-pill); background: var(--surface-2); color: var(--ink-2); }
.dz-hl-line { font-weight: 600; line-height: 1.4; }
.dz-hl-event { color: var(--ink-3); font-size: .875rem; line-height: 1.4; }
@media (hover: hover) and (pointer: fine) { .dz-hl:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--ink); } }

/* sezone */
.dz-year-grid { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 760px) { .dz-year-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .dz-year-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.dz-year {
  position: relative; display: grid; gap: 10px; align-content: space-between; min-height: 150px; padding: 18px; border-radius: 20px;
  background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none;
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out), border-color .2s ease;
}
.dz-year-num { font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 1.6rem + 1.4vw, 2.75rem); letter-spacing: -.04em; line-height: 1; }
.dz-year-meta { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: .8125rem; color: var(--ink-3); }
.dz-year-meta .is-gold { display: inline-flex; align-items: center; gap: 3px; color: #a67c00; font-weight: 700; }
.dz-year-meta .i { width: 14px; height: 14px; }
.dz-year-go { position: absolute; right: 16px; top: 16px; color: var(--ink-3); transition: transform .3s var(--ease-out), color .2s ease; }
.dz-year.is-latest { grid-column: span 2; background: var(--plum); color: #fff; border-color: var(--plum); }
.dz-year.is-latest .dz-year-num { font-size: clamp(3rem, 2.4rem + 2vw, 4.25rem); }
.dz-year.is-latest .dz-year-meta { color: #d9c5de; }
.dz-year.is-latest .dz-year-meta .is-gold { color: #f0c860; }
.dz-year.is-latest .dz-year-go { color: #ffb3d6; }
@media (hover: hover) and (pointer: fine) {
  .dz-year:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--brand-tint-2); color: var(--ink); }
  .dz-year.is-latest:hover { color: #fff; }
  .dz-year:hover .dz-year-go { transform: rotate(45deg); color: var(--brand); }
}

/* leto: trak sezon */
.dz-yearbar { position: sticky; top: var(--header-h); z-index: 6; background: var(--header-bg); -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid var(--line); }
.dz-yearbar-inner { display: flex; align-items: center; gap: 8px; padding-top: 10px; padding-bottom: 10px; }
.dz-years-pills { display: flex; gap: 6px; overflow-x: auto; margin: 0; padding: 2px; list-style: none; scrollbar-width: none; flex: 1; }
.dz-years-pills::-webkit-scrollbar { display: none; }
.dz-years-pills li { list-style: none; margin: 0; flex: none; }
.dz-years-pills a { display: grid; place-items: center; min-height: 38px; padding: 0 14px; border-radius: var(--r-pill); color: var(--ink-2); text-decoration: none; font-weight: 700; font-size: .9375rem; font-variant-numeric: tabular-nums; }
.dz-years-pills a:hover { background: var(--surface-2); color: var(--ink); }
.dz-years-pills a.is-active { background: var(--contrast-bg); color: var(--contrast-fg); }
.dz-step { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: var(--r-pill); border: 1.5px solid var(--line-2); color: var(--ink); }
.dz-step:hover { border-color: var(--ink); color: var(--ink); }

/* leto: dogodki */
.dz-body { padding-top: clamp(32px, 5vw, 56px); padding-bottom: var(--section); }
.dz-section + .dz-section { margin-top: clamp(40px, 6vw, 72px); }
.dz-section-title { font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.5rem); margin-bottom: 8px; }
.dz-intro { color: var(--ink-2); max-width: 70ch; }
.dz-events { columns: 1; column-gap: 16px; margin-top: 20px; }
@media (min-width: 900px) { .dz-events { columns: 2; } }
.dz-event { break-inside: avoid; margin: 0 0 16px; padding: 18px 20px 20px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.dz-event.is-champ { border-color: var(--brand-tint-2); box-shadow: 0 0 0 1px var(--brand-tint-2), var(--shadow-sm); }
.dz-event-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.dz-date { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .875rem; color: var(--brand); font-variant-numeric: tabular-nums; }
.dz-date .i { width: 16px; height: 16px; }
.dz-badge { padding: 3px 10px; border-radius: var(--r-pill); background: var(--brand-tint); color: var(--brand-hover); font-size: .75rem; font-weight: 800; letter-spacing: .02em; }
.dz-event-name { font-size: 1.0625rem; line-height: 1.35; margin: 0 0 6px; letter-spacing: -.005em; }
.dz-cat { margin: 14px 0 6px; font-family: var(--font-body); font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.dz-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.dz-lines li { list-style: none; margin: 0; padding: 0; font-size: .9688rem; line-height: 1.45; }
.dz-result { display: flex; gap: 10px; align-items: baseline; }
.dz-place { flex: none; display: inline-grid; place-items: center; min-width: 38px; height: 26px; padding: 0 6px; border-radius: 8px; background: var(--surface-2); font-weight: 800; font-size: .875rem; font-variant-numeric: tabular-nums; }
.dz-place.is-gold { background: #f6e3a6; color: #6b4e00; }
.dz-place.is-silver { background: #e3e7ec; color: #3e4650; }
.dz-place.is-bronze { background: #efd2b8; color: #6a3a12; }
.dz-award { display: flex; gap: 8px; align-items: center; font-weight: 800; font-size: .8125rem !important; letter-spacing: .04em; text-transform: uppercase; }
.dz-award .i { width: 18px; height: 18px; }
.dz-award.is-gold { color: #a67c00; } .dz-award.is-silver { color: #6c7682; } .dz-award.is-bronze { color: #a15e25; }
.dz-people { color: var(--ink-3); font-size: .875rem !important; }
.dz-text { color: var(--ink-2); }

/* ==========================================================================
   OBRAZCI (kontakt, darilni bon, e-prijava) — scripts/imaniForms.php + [data-iform] v imani.js
   ========================================================================== */
.iform { display: grid; gap: 20px; }
.iform-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.iform-intro { margin-bottom: 20px; }
.iform-section { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow-sm); scroll-margin-top: calc(var(--header-h) + 24px); }
.iform-section-head { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; align-items: baseline; margin-bottom: 22px; }
.iform-num { font-family: var(--font-display); font-weight: 800; font-size: 1.125rem; color: var(--brand); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.iform-section-head h2 { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.5rem); margin: 0; letter-spacing: -.015em; scroll-margin-top: calc(var(--header-h) + 24px); }
.iform-section-head p { grid-column: 2; margin: 4px 0 0; color: var(--ink-3); font-size: .9375rem; max-width: 60ch; }
@media (max-width: 639.98px) { .iform-section-head p { grid-column: 1 / -1; } }
.iform-grid { display: grid; gap: 18px 16px; }
@media (min-width: 640px) {
  .iform-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .iform-grid > * { grid-column: 1 / -1; }
  .iform-grid > .is-half { grid-column: span 3; }
  .iform-grid > .is-third { grid-column: span 2; }
}
.iform-field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.iform-label { font-weight: 600; font-size: .9375rem; color: var(--ink); }
.iform-opt { margin-left: 6px; font-weight: 500; font-size: .8125rem; color: var(--ink-3); }
.iform input[type="text"], .iform input[type="email"], .iform input[type="tel"], .iform input[type="number"], .iform select, .iform textarea {
  width: 100%; min-height: 52px; padding: 12px 16px; border: 1.5px solid var(--line-2); border-radius: var(--r-field);
  background: var(--surface); color: var(--ink); font: inherit; font-size: 1rem; line-height: 1.4;
  transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.iform textarea { min-height: 128px; resize: vertical; }
.iform input::placeholder, .iform textarea::placeholder { color: var(--ink-3); opacity: .75; }
.iform input:hover, .iform select:hover, .iform textarea:hover { border-color: var(--ink-3); }
.iform input:focus, .iform select:focus, .iform textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(209, 16, 111, .14); }
.iform [aria-invalid="true"]:not([type="radio"]):not([type="checkbox"]) { border-color: var(--err-fg); background: var(--err-bg); }
.iform [aria-invalid="true"]:focus { box-shadow: 0 0 0 4px rgba(155, 22, 48, .16); }
.iform-select { position: relative; }
.iform-select select { appearance: none; -webkit-appearance: none; padding-right: 46px; cursor: pointer; }
.iform-select .i { position: absolute; right: 16px; top: 50%; width: 18px; height: 18px; margin-top: -9px; color: var(--ink-3); pointer-events: none; }
.iform-hint { margin: 0; color: var(--ink-3); font-size: .875rem; line-height: 1.45; }
.iform-err { display: flex; align-items: flex-start; gap: 7px; margin: 0; color: var(--err-fg); font-size: .875rem; font-weight: 600; line-height: 1.4; }
.iform-err[hidden], .iform-msg[hidden] { display: none; }
.iform-err::before { content: "!"; flex: none; display: grid; place-items: center; width: 17px; height: 17px; margin-top: 1px; border-radius: 50%; background: var(--err-fg); color: #fff; font-size: .6875rem; font-weight: 800; }
@media (prefers-reduced-motion: no-preference) {
  .iform-err:not([hidden]) { animation: iform-in .2s var(--ease-out); }
}
@keyframes iform-in { from { opacity: 0; transform: translateY(-3px); } }

/* DA / NE */
.iform-choice { margin: 0; padding: 16px 0; border: 0; border-top: 1px solid var(--line); min-width: 0; }
.iform-choice:first-child { border-top: 0; padding-top: 0; }
.iform-choice legend { float: left; width: 100%; padding: 0; margin-bottom: 12px; color: var(--ink-2); font-size: 1rem; line-height: 1.55; }
.iform-choice legend + * { clear: both; }
.iform-seg { display: inline-flex; gap: 4px; padding: 4px; border: 1.5px solid var(--line-2); border-radius: var(--r-pill); background: var(--surface); }
.iform-seg-opt { position: relative; }
.iform-seg-opt input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.iform-seg-opt span { display: grid; place-items: center; min-width: 76px; min-height: 40px; padding: 0 18px; border-radius: var(--r-pill); font-weight: 700; color: var(--ink-2); transition: background-color .18s ease, color .18s ease; }
.iform-seg-opt input:hover + span { background: var(--surface-2); color: var(--ink); }
.iform-seg-opt input:checked + span { background: var(--contrast-bg); color: var(--contrast-fg); }
.iform-seg-opt input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
.iform-choice.is-invalid .iform-seg { border-color: var(--err-fg); }
.iform-choice .iform-err { margin-top: 10px; }

/* potrditve */
.iform-checks { display: grid; gap: 14px; margin-top: 8px; padding: 18px; border-radius: 16px; background: var(--surface-2); }
.iform-check { display: grid; grid-template-columns: 24px 1fr; gap: 6px 12px; align-items: start; }
.iform-check input[type="checkbox"] {
  appearance: none; -webkit-appearance: none; width: 24px; height: 24px; margin: 1px 0 0; border: 1.5px solid var(--line-2); border-radius: 7px;
  background: var(--surface) center / 16px no-repeat; cursor: pointer; transition: background-color .15s ease, border-color .15s ease;
}
.iform-check input[type="checkbox"]:checked { background-color: var(--brand-bg); border-color: var(--brand-bg); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256' fill='%23fff'%3E%3Cpath d='M232.49,80.49l-128,128a12,12,0,0,1-17,0l-56-56a12,12,0,1,1,17-17L96,183,215.51,63.51a12,12,0,0,1,17,17Z'/%3E%3C/svg%3E"); }
.iform-check input[type="checkbox"]:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.iform-check input[aria-invalid="true"] { border-color: var(--err-fg); }
.iform-check label { color: var(--ink-2); font-size: .9375rem; line-height: 1.55; cursor: pointer; }
.iform-check .iform-err { grid-column: 2; }

/* izbira programa (kartice) */
.iform-cards { margin: 0; padding: 0; border: 0; min-width: 0; display: grid; gap: 22px; }
.iform-cards-title { margin: 0 0 10px; font-weight: 700; font-size: .9375rem; }
.iform-cards-title span { font-weight: 500; color: var(--ink-3); }
.iform-cards-list { display: grid; gap: 10px; }
@media (min-width: 640px) { .iform-cards-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.iform-card {
  position: relative; display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; padding: 16px 16px 16px 18px;
  border: 1.5px solid var(--line-2); border-radius: 16px; background: var(--surface); cursor: pointer;
  transition: border-color .15s ease, background-color .15s ease, transform .16s var(--ease-out);
}
.iform-card input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.iform-card:hover { border-color: var(--ink-3); }
.iform-card:active { transform: scale(.985); }
.iform-card-body { display: grid; gap: 3px; }
.iform-card-body strong { font-size: 1rem; line-height: 1.3; }
.iform-card-body span { color: var(--ink-3); font-size: .875rem; line-height: 1.4; }
.iform-card-tick { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--line-2); color: #fff; transition: background-color .15s ease, border-color .15s ease; }
.iform-card-tick .i { width: 15px; height: 15px; opacity: 0; transform: scale(.6); transition: opacity .15s ease, transform .2s var(--ease-out); }
.iform-card input:checked ~ .iform-card-tick { background: var(--brand-bg); border-color: var(--brand-bg); }
.iform-card input:checked ~ .iform-card-tick .i { opacity: 1; transform: scale(1); }
.iform-card:has(input:checked) { border-color: var(--brand); background: var(--brand-tint); }
.iform-card:has(input:focus-visible) { outline: 2px solid var(--brand); outline-offset: 2px; }
.iform-cards.is-invalid .iform-card { border-color: var(--err-fg); }

/* oddaja */
.iform-submit { display: grid; gap: 12px; justify-items: start; }
.iform-msg { justify-self: stretch; padding: 12px 16px; border-radius: var(--r-field); background: var(--err-bg); color: var(--err-fg); font-weight: 600; outline: none; }
.iform-btn { min-height: 56px; padding: 0 1.8em; font-size: 1.0625rem; width: 100%; }
@media (min-width: 640px) { .iform-btn { width: auto; min-width: 260px; } }
.iform-btn:active { transform: scale(.97); }
.iform-btn[disabled] { cursor: progress; opacity: .8; }
.iform-spin { display: none; width: 18px; height: 18px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; }
.iform.is-sending .iform-spin { display: inline-block; animation: iform-spin .7s linear infinite; }
.iform.is-sending .iform-btn .i { display: none; }
@keyframes iform-spin { to { transform: rotate(360deg); } }
.iform-note { margin: 0; color: var(--ink-3); font-size: .9375rem; }
.iform-note a { font-weight: 600; }

/* ==========================================================================
   E-PRIJAVA, DARILNI BON, KONTAKT — skupni uvod
   ========================================================================== */
.ep-hero, .bn-hero, .kt-hero { position: relative; overflow: hidden; isolation: isolate; background: var(--plum); color: #f1e6f4; padding: clamp(28px, 4vw, 48px) 0 clamp(48px, 6vw, 80px); }
.ep-hero::before, .bn-hero::before, .kt-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(55% 80% at 100% 0%, rgba(209, 16, 111, .42), transparent 62%), radial-gradient(40% 60% at 0% 100%, rgba(0, 168, 235, .14), transparent 60%); }
.ep-hero .crumbs, .ep-hero .crumbs a, .bn-hero .crumbs, .bn-hero .crumbs a, .kt-hero .crumbs, .kt-hero .crumbs a { color: #cdb9d3; }
.ep-hero .crumbs li + li::before, .bn-hero .crumbs li + li::before, .kt-hero .crumbs li + li::before { color: rgba(255, 255, 255, .3); }
.ep-hero-grid, .bn-hero-grid, .kt-hero-grid { display: grid; gap: 36px; align-items: center; margin-top: 18px; }
@media (min-width: 960px) {
  .ep-hero-grid, .kt-hero-grid { grid-template-columns: 1.1fr .9fr; gap: 56px; }
  .bn-hero-grid { grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
}
.ep-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0 0 14px; color: #e6d9ea; font-weight: 600; font-size: .9375rem; }
.ep-kicker span { padding: 4px 12px; border-radius: var(--r-pill); background: rgba(255, 92, 168, .16); border: 1px solid rgba(255, 92, 168, .35); color: #ffb3d6; font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.ep-title, .kt-title { color: #fff; font-size: clamp(2.5rem, 1.3rem + 5vw, 5.25rem); line-height: 1; letter-spacing: -.04em; margin: 0 0 20px; max-width: 13ch; }
.ep-lead, .kt-lead { font-size: clamp(1.0625rem, 1rem + .4vw, 1.3125rem); line-height: 1.55; color: #e6d9ea; max-width: 46ch; margin: 0; }
.ep-how { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.ep-how li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; margin: 0; padding: 16px 18px; border-radius: 18px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); color: #d9c5de; font-size: .9375rem; line-height: 1.5; }
.ep-how strong { display: block; color: #fff; font-size: 1.0625rem; margin-bottom: 2px; }
.ep-how-n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--brand-bg); color: #fff; font-family: var(--font-display); font-weight: 800; }
.ep-hero-help { display: flex; flex-wrap: wrap; gap: 10px; padding: 22px; border-radius: 20px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); }
.ep-hero-help p { flex-basis: 100%; margin: 0 0 4px; color: #fff; font-weight: 700; font-size: 1.125rem; }

.ep-body { padding-top: clamp(28px, 5vw, 56px); padding-bottom: var(--section); }
.ep-layout { display: grid; gap: 24px; align-items: start; }
.ep-main { min-width: 0; }
@media (min-width: 1024px) {
  .ep-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; }
  .ep-aside { position: sticky; top: calc(var(--header-h) + 24px); }
}
.ep-aside { display: grid; gap: 14px; }
@media (max-width: 1023.98px) { .ep-progress, .bn-summary { display: none; } }
.ep-card { padding: 20px 22px; border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); }
.ep-card-title { margin: 0 0 12px; font-family: var(--font-display); font-weight: 750; font-size: 1.0625rem; letter-spacing: -.01em; }
.ep-bar { height: 8px; border-radius: var(--r-pill); background: var(--surface-2); overflow: hidden; }
.ep-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--brand-bg), #ff5ca8); transform: scaleX(var(--p, 0)); transform-origin: left center; transition: transform .5s var(--ease-out); }
.ep-count { margin: 10px 0 14px; color: var(--ink-3); font-size: .875rem; }
.ep-count strong { color: var(--ink); font-variant-numeric: tabular-nums; }
.ep-steps { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.ep-steps li { margin: 0; }
.ep-steps a { display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 4px; padding: 9px 10px; border-radius: 12px; color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: .9375rem; }
.ep-steps a:hover { background: var(--surface-2); color: var(--ink); }
.ep-step-n { color: var(--ink-3); font-size: .8125rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.ep-step-ok { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--line-2); color: #fff; transition: background-color .2s ease, border-color .2s ease; }
.ep-step-ok .i { width: 13px; height: 13px; opacity: 0; transform: scale(.6); transition: opacity .2s ease, transform .25s var(--ease-out); }
.ep-steps a.is-done { color: var(--ink); }
.ep-steps a.is-done .ep-step-ok { background: var(--brand-bg); border-color: var(--brand-bg); }
.ep-steps a.is-done .ep-step-ok .i { opacity: 1; transform: scale(1); }
.ep-help p { margin: 0 0 8px; color: var(--ink-3); font-size: .9375rem; }
.ep-help a { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); color: var(--ink); font-weight: 600; text-decoration: none; }
.ep-help a .i { color: var(--brand); }
.ep-help a:hover { color: var(--brand); }
.ep-note { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 24px; padding: 14px 18px; border-radius: 14px; background: var(--brand-tint); color: var(--ink); font-weight: 600; }
.ep-note .i { flex: none; margin-top: 2px; color: var(--brand); }
.ep-closed { max-width: 640px; margin: 0 auto; padding: clamp(28px, 5vw, 48px); border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); text-align: center; }
.ep-closed-ico { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--brand-tint); color: var(--brand); margin-bottom: 14px; }
.ep-closed-ico .i { width: 26px; height: 26px; }
.ep-closed p { color: var(--ink-2); }
.ep-closed-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 18px; }

/* vpisni listi (kartice iz zapisa 513) */
.vp-cards { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 720px) { .vp-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .vp-cards.is-large { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.vp-cards li { margin: 0; display: grid; }
.vp-card {
  display: grid; grid-template-columns: auto 1fr; grid-template-rows: 1fr auto; gap: 10px 16px; min-height: 132px; padding: 20px 22px;
  border-radius: 20px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none;
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out), border-color .2s ease;
}
.vp-num { grid-row: 1 / -1; font-family: var(--font-display); font-weight: 800; font-size: 1.75rem; line-height: 1; letter-spacing: -.03em; color: var(--brand); font-variant-numeric: tabular-nums; }
.vp-text { line-height: 1.3; }
.vp-pre { display: block; margin-bottom: 3px; color: var(--ink-3); font-size: .875rem; font-weight: 500; }
.vp-text strong { font-family: var(--font-display); font-size: 1.1875rem; font-weight: 700; letter-spacing: -.01em; }
.vp-meta { display: inline-flex; align-items: center; gap: 6px; color: var(--brand); font-size: .8125rem; font-weight: 700; }
.vp-meta .i { width: 16px; height: 16px; transition: transform .25s var(--ease-out); }
.vp-card.is-site { background: var(--plum); border-color: rgba(255, 92, 168, .35); color: #fff; }
.vp-card.is-site .vp-pre { color: #cdb9d3; }
.vp-card.is-site .vp-num, .vp-card.is-site .vp-meta { color: #ff8cc2; }
@media (hover: hover) and (pointer: fine) {
  .vp-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--brand-tint-2); color: var(--ink); }
  .vp-card.is-site:hover { color: #fff; border-color: var(--plum); }
  .vp-card:hover .vp-meta .i { transform: translate(2px, -2px); }
}
.vp-card:active { transform: scale(.985); }
.vp-more { margin-top: clamp(28px, 4vw, 44px); padding: clamp(20px, 3vw, 32px); border-radius: var(--r-card); background: var(--surface-2); max-width: none; }
@media (min-width: 900px) { .vp-more { columns: 2; column-gap: 48px; } .vp-more > * { break-inside: avoid; } .vp-more > ul { display: inline-block; width: 100%; } }
.vp-more p { margin: 0 0 14px; }
.vp-list { margin: 0 0 16px; padding: 0; list-style: none; }
.vp-list li { position: relative; margin: 0 0 6px; padding-left: 20px; }
.vp-list li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }

/* kontakt */
.kt-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.kt-actions .btn { min-height: 52px; padding: 0 1.5em; }
.kt-tiles { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.kt-tiles li { margin: 0; }
.kt-tile {
  display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 14px; padding: 14px 18px 14px 14px; border-radius: 18px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); color: #fff; text-decoration: none;
  transition: background-color .2s ease, transform .3s var(--ease-out);
}
.kt-tile:hover { background: rgba(255, 255, 255, .11); color: #fff; }
.kt-tile:active { transform: scale(.985); }
.kt-tile-ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: rgba(255, 92, 168, .16); color: #ff8cc2; }
.kt-tile-label { display: block; color: #cdb9d3; font-size: .8125rem; }
.kt-tile strong { font-size: 1.0625rem; font-weight: 700; overflow-wrap: anywhere; }
.kt-tile > .i { color: #cdb9d3; }
.kt-write-grid { display: grid; gap: 32px; align-items: start; }
@media (min-width: 960px) { .kt-write-grid { grid-template-columns: .85fr 1.15fr; gap: 56px; } .kt-write-text { position: sticky; top: calc(var(--header-h) + 32px); } }
.kt-write-text h2 { font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.75rem); margin: 0 0 12px; }
.kt-write-text > p { color: var(--ink-2); font-size: 1.0625rem; max-width: 44ch; }
.kt-facts { margin: 24px 0 0; padding: 0; list-style: none; }
.kt-facts li { display: flex; gap: 12px; align-items: flex-start; margin: 0; padding: 14px 0; border-top: 1px solid var(--line); color: var(--ink-2); }
.kt-facts .i { flex: none; margin-top: 3px; color: var(--brand); }
.kt-form-card { padding: clamp(20px, 3vw, 36px); border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.kt-place-grid { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 640px) { .kt-place-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .kt-place-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.kt-place { display: flex; flex-direction: column; margin: 0; padding: 20px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.kt-place-num { font-family: var(--font-display); font-weight: 800; color: var(--brand); font-variant-numeric: tabular-nums; margin-bottom: 10px; }
.kt-place h3 { font-size: 1.125rem; margin: 0 0 6px; line-height: 1.3; }
.kt-place p { margin: 0 0 14px; color: var(--ink-3); font-size: .9375rem; }
.kt-place-links { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: auto; }
.kt-place-links a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .9375rem; text-decoration: none; }
.kt-place-links a:hover { text-decoration: underline; }

/* darilni bon */
.bn-visual { width: min(100%, 440px); }
.bn-for { display: block; margin-top: 2px; color: #ffd0e6; font-size: .875rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 60%; }
.bn-phone { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 26px; color: #ffd0e6; font-weight: 600; text-decoration: none; }
.bn-phone strong { color: #fff; }
.bn-phone:hover { color: #fff; }
.bn-amounts { display: flex; flex-wrap: wrap; gap: 8px; }
.bn-chip {
  min-height: 48px; padding: 0 20px; border-radius: var(--r-pill); border: 1.5px solid var(--line-2); background: var(--surface); color: var(--ink);
  font: inherit; font-weight: 700; font-size: 1rem; font-variant-numeric: tabular-nums; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .16s var(--ease-out);
}
.bn-chip:hover { border-color: var(--ink); }
.bn-chip:active { transform: scale(.96); }
.bn-chip[aria-pressed="true"] { background: var(--contrast-bg); border-color: var(--contrast-bg); color: var(--contrast-fg); }
.bn-chip:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.bn-form #f-vrednost { max-width: 240px; font-weight: 700; font-variant-numeric: tabular-nums; }
.bn-summary dl { display: grid; gap: 10px; margin: 0; }
.bn-summary dl > div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-top: 10px; border-top: 1px solid var(--line); }
.bn-summary dt { color: var(--ink-3); }
.bn-summary dd { margin: 0; font-weight: 600; text-align: right; overflow-wrap: anywhere; }
.bn-summary dd strong { font-family: var(--font-display); font-size: 1.5rem; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }

/* ==========================================================================
   PLESNA TEHNIKA in UČITELJICA (sites/templates/tehnika.php, uciteljica.php)
   ========================================================================== */
.th-hero, .tc-hero { position: relative; overflow: hidden; isolation: isolate; padding: clamp(28px, 4vw, 48px) 0 clamp(36px, 5vw, 64px); }
.th-hero::before, .tc-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(45% 60% at 92% 10%, var(--brand-tint), transparent 70%); }
.th-hero-grid, .tc-hero-grid { display: grid; gap: 32px; align-items: center; margin-top: 16px; }
@media (min-width: 960px) {
  .th-hero-grid { grid-template-columns: 1.05fr .95fr; gap: 56px; }
  .tc-hero-grid { grid-template-columns: .85fr 1.15fr; gap: 64px; }
  .tc-hero-grid.no-photo { grid-template-columns: 1fr; }
}
.th-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0 0 14px; color: var(--ink-2); font-weight: 600; font-size: .9375rem; }
.th-kicker span { padding: 4px 12px; border-radius: var(--r-pill); background: var(--brand-tint); color: var(--brand); font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.th-title { font-size: clamp(2.375rem, 1.3rem + 4.4vw, 4.5rem); line-height: 1.02; letter-spacing: -.035em; margin: 0 0 18px; max-width: 16ch; text-wrap: balance; }
.th-lead { font-size: clamp(1.0625rem, 1rem + .45vw, 1.3125rem); line-height: 1.6; color: var(--ink-2); max-width: 50ch; margin: 0; }
.th-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.th-actions .btn { min-height: 50px; }
.th-photo { position: relative; margin: 0; border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow-lg); background: var(--surface-2); }
.th-photo img { width: 100%; height: 100%; object-fit: cover; }
.th-photo-art { display: grid; place-items: center; width: 100%; height: 100%; background: var(--plum); color: #fff; }
.th-dancers { width: 46%; height: auto; }
.th-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: clamp(28px, 4vw, 44px) 0 0; border-radius: 20px; overflow: hidden; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 760px) { .th-facts { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); } }
.th-facts > div { margin: 0; padding: 16px 20px; background: var(--surface); display: flex; flex-direction: column-reverse; gap: 2px; }
.th-facts dt { color: var(--ink-3); font-size: .8125rem; }
.th-facts dd { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 1.1875rem; letter-spacing: -.01em; line-height: 1.25; }
.th-facts dd strong { font-weight: 700; }
.th-facts dd small { margin-left: 4px; font-family: var(--font-body); font-size: .8125rem; font-weight: 500; color: var(--ink-3); }

.th-body { padding-top: clamp(28px, 4vw, 48px); padding-bottom: clamp(48px, 6vw, 80px); }
.th-layout { display: grid; gap: 32px; align-items: start; }
@media (min-width: 1024px) {
  .th-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; }
  .th-aside { position: sticky; top: calc(var(--header-h) + 24px); }
}
.th-prose { min-width: 0; }
.th-aside { display: grid; gap: 14px; }
.th-cta { padding: 22px; border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.th-cta-title { margin: 0 0 8px; font-family: var(--font-display); font-weight: 750; font-size: 1.1875rem; letter-spacing: -.01em; }
.th-cta > p:not(.th-cta-title) { margin: 0 0 16px; color: var(--ink-3); font-size: .9375rem; }
.th-cta > .btn { width: 100%; min-height: 50px; }
.th-cta-links { margin: 14px 0 0; padding: 0; list-style: none; }
.th-cta-links li { margin: 0; }
.th-cta-links a { display: flex; align-items: center; gap: 10px; padding: 11px 0; border-top: 1px solid var(--line); color: var(--ink); font-weight: 600; text-decoration: none; }
.th-cta-links a .i { color: var(--brand); flex: none; }
.th-cta-links a:hover { color: var(--brand); }

/* skupine in termini */
.tg-grid { display: grid; gap: 14px; }
@media (min-width: 640px) { .tg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .tg-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tg-card { display: flex; flex-direction: column; gap: 14px; padding: 20px 20px 16px 24px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); box-shadow: inset 4px 0 0 var(--c, var(--brand)); }
.tg-card header h3 { margin: 0; font-size: 1.125rem; line-height: 1.3; letter-spacing: -.01em; }
.tg-age { margin: 4px 0 0; color: var(--ink-3); font-size: .875rem; font-variant-numeric: tabular-nums; }
.tg-slots { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.tg-slots li { display: grid; grid-template-columns: 48px auto; grid-template-areas: "day time" "day place"; gap: 0 12px; align-items: center; margin: 0; }
.tg-day { grid-area: day; display: grid; place-items: center; height: 44px; border-radius: 12px; background: var(--surface-2); font-weight: 800; font-size: .875rem; }
.tg-day abbr { text-decoration: none; }
.tg-time { grid-area: time; font-weight: 700; font-variant-numeric: tabular-nums; }
.tg-place { grid-area: place; color: var(--ink-3); font-size: .875rem; line-height: 1.35; }
.tg-none { margin: 0; color: var(--ink-3); }
.tg-card footer { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); }
.tg-obseg { color: var(--ink-3); font-size: .875rem; }
.tg-price { text-align: right; white-space: nowrap; }
.tg-price strong { font-family: var(--font-display); font-size: 1.25rem; letter-spacing: -.01em; }
.tg-price small { margin-left: 4px; color: var(--ink-3); font-size: .8125rem; }
.th-groups-note { display: flex; gap: 10px; align-items: flex-start; margin: 22px 0 0; color: var(--ink-3); font-size: .9375rem; }
.th-groups-note .i { flex: none; margin-top: 3px; color: var(--brand); }

/* kartice učiteljic */
.tc-cards { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 760px) { .tc-cards { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); } }
.tc-card { display: flex; flex-direction: column; border-radius: 20px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out); }
.tc-card-media { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--surface-2); }
.tc-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.tc-card-art { display: block; width: 50%; margin: 30% auto 0; color: var(--brand); }
.tc-card-body { display: grid; gap: 3px; padding: 14px 16px 16px; }
.tc-card-body strong { font-family: var(--font-display); font-size: 1.0625rem; letter-spacing: -.01em; }
.tc-card-body span { color: var(--ink-3); font-size: .8125rem; line-height: 1.4; }
@media (hover: hover) and (pointer: fine) {
  .tc-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--ink); }
  .tc-card:hover .tc-card-media img { transform: scale(1.04); }
}
.tc-card:active { transform: scale(.985); }

/* učiteljica */
.tc-photos { position: relative; width: min(100%, 340px); margin: 0 auto; }
@media (min-width: 960px) { .tc-photos { width: min(100%, 440px); } }
.tc-photos.is-two { padding: 0 10% 10% 0; }
.tc-photo { margin: 0; overflow: hidden; border-radius: 28px; box-shadow: var(--shadow-lg); background: var(--surface-2); }
.tc-photo img { width: 100%; height: 100%; object-fit: cover; }
.tc-photo.is-1 { aspect-ratio: 4 / 5; }
.tc-photo.is-2 { position: absolute; right: 0; bottom: 0; width: 44%; aspect-ratio: 1; border: 5px solid var(--bg); border-radius: 22px; rotate: 4deg; }
.tc-roles { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; padding: 0; list-style: none; }
.tc-roles li { margin: 0; }
.tc-roles a, .tc-roles span { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 0 14px; border-radius: var(--r-pill); border: 1.5px solid var(--line-2); background: var(--surface); color: var(--ink); font-weight: 600; font-size: .9375rem; text-decoration: none; }
.tc-roles a .i { width: 14px; height: 14px; color: var(--brand); }
.tc-roles a:hover { border-color: var(--brand); color: var(--brand); }
.tc-bio > h3 { margin-top: 1.8em; }
.tc-timeline { margin: 16px 0 0; padding: 0; list-style: none; }
.tc-timeline li { display: grid; grid-template-columns: 64px 1fr; gap: 18px; margin: 0; padding: 0; }
.tc-tl-year { padding-top: 2px; font-family: var(--font-display); font-weight: 800; font-size: 1.125rem; color: var(--brand); font-variant-numeric: tabular-nums; }
.tc-tl-body { position: relative; padding: 0 0 22px 22px; border-left: 2px solid var(--line); }
.tc-tl-body::before { content: ""; position: absolute; left: -7px; top: 8px; width: 12px; height: 12px; border-radius: 50%; background: var(--surface); border: 2px solid var(--brand); }
.tc-tl-body p { margin: 0 0 10px; }
.tc-timeline li:last-child .tc-tl-body { padding-bottom: 0; }
.tc-awards ul { margin: 6px 0 0; padding: 0; list-style: none; }
.tc-awards li { display: flex; gap: 12px; align-items: flex-start; margin: 0; padding: 10px 0; border-top: 1px solid var(--line); font-size: .9375rem; line-height: 1.5; color: var(--ink-2); }
.tc-award-ico { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(212, 167, 44, .16); color: #b8860b; }
.tc-award-ico .i { width: 16px; height: 16px; }

/* ==========================================================================
   FILTER PO LETIH (objave) in GALERIJE PO LETIH (produkcije, predstave)
   ========================================================================== */
.yf-chips {
  display: flex; gap: 6px; margin: 0 calc(var(--gutter) * -1) clamp(24px, 4vw, 36px); padding: 2px var(--gutter) 6px;
  overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain;
}
.yf-chips::-webkit-scrollbar { display: none; }
@media (min-width: 900px) { .yf-chips { flex-wrap: wrap; overflow: visible; margin-left: 0; margin-right: 0; padding-left: 0; padding-right: 0; } }
.yf-chips a {
  flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: var(--r-pill);
  border: 1.5px solid var(--line-2); background: var(--surface); color: var(--ink); font-weight: 700; font-size: .9375rem;
  font-variant-numeric: tabular-nums; text-decoration: none; transition: border-color .15s ease, background-color .15s ease, color .15s ease;
}
.yf-chips a span { color: var(--ink-3); font-weight: 600; font-size: .8125rem; }
.yf-chips a:hover { border-color: var(--ink); color: var(--ink); }
.yf-chips a.is-active { background: var(--contrast-bg); border-color: var(--contrast-bg); color: var(--contrast-fg); }
.yf-chips a.is-active span { color: inherit; opacity: .7; }
.year-heading { font-size: clamp(1.375rem, 1.1rem + 1vw, 1.75rem); margin: 0 0 18px; }

.gl-year { scroll-margin-top: calc(var(--header-h) + 20px); }
.gl-year + .gl-year { margin-top: clamp(36px, 5vw, 56px); }
.gl-year-title { display: flex; align-items: center; gap: 16px; margin: 0 0 16px; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.gl-year-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.gl-grid { display: grid; gap: 14px 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 760px) { .gl-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 16px; } }
@media (min-width: 1100px) { .gl-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.gl-card { display: flex; flex-direction: column; gap: 10px; color: var(--ink); text-decoration: none; }
.gl-media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 16px; background: var(--surface-2); }
.gl-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.gl-count { position: absolute; right: 8px; bottom: 8px; display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: var(--r-pill); background: rgba(31, 23, 36, .72); color: #fff; font-size: .75rem; font-weight: 700; font-variant-numeric: tabular-nums; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.gl-count .i { width: 13px; height: 13px; }
.gl-body { display: grid; gap: 3px; padding: 0 2px; }
.gl-meta { color: var(--ink-3); font-size: .8125rem; line-height: 1.35; }
.gl-name { font-family: var(--font-display); font-size: .9875rem; font-weight: 700; line-height: 1.3; letter-spacing: .005em; overflow-wrap: anywhere; }
@media (min-width: 760px) { .gl-name { font-size: 1.0625rem; } }
@media (hover: hover) and (pointer: fine) {
  .gl-card:hover { color: var(--ink); }
  .gl-card:hover .gl-media img { transform: scale(1.05); }
  .gl-card:hover .gl-name { color: var(--brand); }
}
.gl-card:active .gl-media { transform: scale(.985); }
.gl-card:focus-visible { outline: none; }
.gl-card:focus-visible .gl-media { outline: 3px solid var(--brand); outline-offset: 3px; }

/* dosežki na vstopni strani */
.dz-home { position: relative; overflow: hidden; isolation: isolate; background: var(--plum); color: #f1e6f4; padding: clamp(56px, 7vw, 96px) 0; }
.dz-home::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 80% at 0% 0%, rgba(209, 16, 111, .38), transparent 62%), radial-gradient(40% 70% at 100% 100%, rgba(0, 168, 235, .14), transparent 60%); }
.dz-home-grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 960px) { .dz-home-grid { grid-template-columns: 1fr 1fr; gap: 64px; } }
.dz-home-text h2 { color: #fff; font-size: clamp(2.125rem, 1.3rem + 3.2vw, 3.75rem); line-height: 1.02; letter-spacing: -.035em; margin: 0 0 16px; max-width: 14ch; }
.dz-home-text > p:not(.ep-kicker) { color: #e6d9ea; font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); line-height: 1.55; max-width: 44ch; margin: 0 0 26px; }
.dz-home-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.dz-home-actions .btn { min-height: 50px; }
.dz-home-hl { display: grid; gap: 12px; margin: clamp(32px, 4vw, 48px) 0 0; padding: 0; list-style: none; }
@media (min-width: 760px) { .dz-home-hl { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.dz-home-hl li { margin: 0; display: grid; }
.dz-home-card {
  display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; padding: 18px; border-radius: 18px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); color: #f1e6f4; text-decoration: none;
  transition: background-color .2s ease, transform .3s var(--ease-out);
}
.dz-home-card:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.dz-home-card:active { transform: scale(.985); }
.dz-home-card.is-gold { --tier: #f0c860; } .dz-home-card.is-silver { --tier: #c9d1da; } .dz-home-card.is-bronze { --tier: #e0a070; }
.dz-home-card .dz-medal { margin: 0; background: rgba(240, 200, 96, .16); }
.dz-home-card.is-major { --tier: #5cc8f5; }
.dz-home-card.is-major .dz-medal { background: rgba(92, 200, 245, .16); }
.dz-home-card .dz-hl-badge { margin: 2px 0; color: #fff; }
.dz-home-card-body { display: grid; gap: 4px; min-width: 0; }
.dz-home-card-top { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.dz-home-card-top strong { color: #fff; font-family: var(--font-display); font-size: 1.0625rem; }
.dz-home-card-top span { color: #cdb9d3; font-size: .8125rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.dz-home-card-line { color: #fff; font-weight: 600; font-size: .9375rem; line-height: 1.4; }
.dz-home-card-event { color: #cdb9d3; font-size: .8125rem; line-height: 1.4; }

/* ==========================================================================
   VIDEO VSEBINE (sites/templates/video.php)
   ========================================================================== */
.vd-body { padding-top: 8px; }
.vd-feature { display: grid; gap: 24px; align-items: center; padding: clamp(16px, 2.4vw, 24px); border-radius: 28px; background: var(--plum); color: #f1e6f4; }
@media (min-width: 900px) { .vd-feature { grid-template-columns: 1.35fr 1fr; gap: 40px; } }
.vd-feature-media, .vd-card { position: relative; display: block; width: 100%; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.vd-feature-media { aspect-ratio: 16 / 9; overflow: hidden; border-radius: 20px; background: #000; box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .7); }
.vd-feature-media img, .vd-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.vd-feature-media::after, .vd-thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(20, 10, 24, .45)); pointer-events: none; }
.vd-play { position: absolute; left: 50%; top: 50%; z-index: 1; display: grid; place-items: center; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; background: var(--brand-bg); color: #fff; box-shadow: 0 12px 30px -8px rgba(209, 16, 111, .7); transition: transform .3s var(--ease-out); }
.vd-play .i { width: 30px; height: 30px; margin-left: 4px; }
.vd-play.is-small { width: 54px; height: 54px; margin: -27px 0 0 -27px; }
.vd-play.is-small .i { width: 22px; height: 22px; margin-left: 3px; }
.vd-feature-text h2 { color: #fff; font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.25rem); line-height: 1.12; letter-spacing: -.02em; margin: 0 0 12px; }
.vd-feature-text > p:not(.th-kicker) { color: #d9c5de; margin: 0 0 22px; }
.vd-feature-text .th-kicker span { background: rgba(255, 92, 168, .16); color: #ffb3d6; }
.vd-feature-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.vd-feature-actions .btn-ghost { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .4); color: #fff; }
.vd-feature-actions .btn-ghost:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .12); }
.vd-count { margin: 18px 0 0 !important; font-size: .875rem; color: #cdb9d3 !important; }
.vd-all { margin-top: clamp(40px, 6vw, 64px); }
.vd-all-title { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); margin: 0 0 18px; }
.vd-grid { display: grid; gap: 22px 16px; margin: 0; padding: 0; list-style: none; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.vd-grid li { margin: 0; }
.vd-card { display: grid; gap: 10px; }
.vd-thumb { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 16px; background: var(--surface-2); }
.vd-title { font-weight: 650; line-height: 1.35; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (hover: hover) and (pointer: fine) {
  .vd-feature-media:hover img, .vd-card:hover .vd-thumb img { transform: scale(1.04); }
  .vd-feature-media:hover .vd-play, .vd-card:hover .vd-play { transform: scale(1.08); }
  .vd-card:hover .vd-title { color: var(--brand); }
}
.vd-card:active .vd-thumb, .vd-feature-media:active { transform: scale(.985); }
.vd-card:focus-visible { outline: none; }
.vd-card:focus-visible .vd-thumb, .vd-feature-media:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
.vd-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: clamp(40px, 6vw, 64px); padding: clamp(20px, 3vw, 28px); border-radius: 20px; background: var(--surface-2); }
.vd-cta p { margin: 0; font-weight: 600; max-width: 52ch; }
