/* ============================================================
   PCL · local overrides — HAND-MAINTAINED, loaded LAST
   (after pcl-design, pcl-home, pcl-pricing-wizard, pcl-home-v2
   and any per-page pcl-<page>.css pushed via @stack('styles')).

   Everything that is NOT in the Claude Design sources lives here.
   The other public/pcl-*.css files are generated verbatim by
   scripts/sync-design-css.sh — never edit those by hand.
   ============================================================ */

/* ------------------------------------------------------------
   1 · Aktualno — inline YouTube facade + embed
   (local feature; the design card is a static thumbnail)
   ------------------------------------------------------------ */
.ak-video-facade {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  text-align: inherit;
}
.ak-video-facade:focus-visible {
  outline: 2px solid var(--pcl-orange);
  outline-offset: 2px;
}
.ak-video .ak-photo { display: block; }
.ak-video-facade:hover .ak-play,
a.ak-video:hover .ak-play {
  transform: translate(-50%, -50%) scale(1.06);
  background: rgba(31, 28, 24, 0.75);
}
.ak-video[data-format="short"] .ak-photo { aspect-ratio: 9 / 16; }
.ak-embed {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  background: #000;
}
.ak-video[data-format="short"] .ak-embed { aspect-ratio: 9 / 16; }

/* ------------------------------------------------------------
   2 · Responsive override — keep the design's mobile rules
   (.viewport-frame[data-vp="mobile"]) but drop the phone-mock
   chrome so the page fills a real phone viewport.
   ------------------------------------------------------------ */
@media (max-width: 899px) {
  .viewport-frame[data-vp="mobile"] {
    max-width: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    margin: 0 !important;
    overflow: visible !important;
  }
}

/* ------------------------------------------------------------
   3 · Generic page head (pages without a hero)
   Recipe borrowed from cenik.css .cnk-hero: dark --stage band,
   padding-top so the absolutely positioned .topbar fits.
   Markup: components/site/page-head.blade.php
   ------------------------------------------------------------ */
.page-head {
  position: relative;
  background: var(--stage);
  color: #fff;
  padding-top: 128px;
}
.page-head-in { padding-bottom: 48px; }

.page-crumbs {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 22px;
}
.page-crumbs a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  padding-bottom: 1px;
  transition: color var(--dur-fast) var(--ease);
}
.page-crumbs a:hover { color: var(--pcl-orange); border-color: currentColor; }
.page-crumb-here { color: rgba(255, 255, 255, 0.9); font-weight: 700; }

.page-h1 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(56px, 8vw, 108px);
  line-height: 0.92;
  margin: 0 0 14px;
  color: #fff;
  overflow-wrap: anywhere;
}
.page-lead {
  margin: 0 0 30px;
  max-width: 62ch;
  font-size: 17px;
  color: rgba(255, 255, 255, 0.82);
}

/* light tone — same as .cnk-hero[data-tone="light"] */
.page-head[data-tone="light"] {
  background: var(--paper);
  color: var(--ink);
}
.page-head[data-tone="light"] .page-h1 { color: var(--ink); }
.page-head[data-tone="light"] .page-h1::after {
  content: "";
  display: block;
  width: 64px;
  height: 5px;
  background: var(--pcl-orange);
  margin-top: 18px;
}
.page-head[data-tone="light"] .page-lead { color: var(--ink-mute); }
.page-head[data-tone="light"] .page-crumbs { color: var(--ink-mute); }
.page-head[data-tone="light"] .page-crumbs a {
  color: var(--ink-soft);
  border-color: rgba(31, 28, 24, 0.25);
}
.page-head[data-tone="light"] .page-crumbs a:hover { color: var(--pcl-orange-deep); }
.page-head[data-tone="light"] .page-crumb-here { color: var(--ink); }

.viewport-frame[data-vp="mobile"] .page-head { padding-top: 84px; }
.viewport-frame[data-vp="mobile"] .page-head-in { padding-bottom: 32px; }
.viewport-frame[data-vp="mobile"] .page-h1 { font-size: 48px; }
.viewport-frame[data-vp="mobile"] .page-lead { font-size: 15px; margin-bottom: 22px; }

/* ------------------------------------------------------------
   4 · Generic page body (pages/show.blade.php — TipTap HTML)
   Readable prose width on the design tokens; no Tailwind prose.
   ------------------------------------------------------------ */
.page-body-wrap { padding: 48px 0 96px; }
.page-notice {
  display: inline-block;
  margin: 0 0 24px;
  padding: 8px 14px;
  border-radius: var(--r-button);
  background: var(--paper-deep);
  color: var(--ink-mute);
  font-size: 14px;
}
.page-body {
  max-width: 72ch;
  font-size: var(--fs-17);
  line-height: 1.6;
  color: var(--ink);
}
.page-body > :first-child { margin-top: 0; }
.page-body p,
.page-body ul,
.page-body ol,
.page-body blockquote,
.page-body figure,
.page-body table { margin: 0 0 1.1em; }
.page-body h2,
.page-body h3,
.page-body h4 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.005em;
  line-height: 1;
  margin: 1.6em 0 0.5em;
  color: var(--ink);
}
.page-body h2 { font-size: var(--fs-40); }
.page-body h3 { font-size: var(--fs-28); }
.page-body h4 { font-size: var(--fs-20); }
.page-body ul,
.page-body ol { padding-left: 1.4em; }
.page-body li + li { margin-top: 0.3em; }
.page-body a {
  color: var(--pcl-orange-deep);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.page-body a:hover { color: var(--ink); }
.page-body strong { font-weight: 700; }
.page-body blockquote {
  padding: 4px 0 4px 20px;
  border-left: 4px solid var(--pcl-orange);
  color: var(--ink-soft);
}
.page-body img {
  border-radius: var(--r-card);
  height: auto;
}
.page-body hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 2em 0;
}
.page-body table { width: 100%; border-collapse: collapse; font-size: 15px; }
.page-body th,
.page-body td { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: left; }
.page-body th { font-weight: 700; }

.viewport-frame[data-vp="mobile"] .page-body-wrap { padding: 32px 0 64px; }

/* ------------------------------------------------------------
   5 · Ekipa (pages/ekipa/*) — local additions on top of pcl-ekipa.css
   ------------------------------------------------------------ */
/* Bio comes from TipTap as <p>…</p>; the design styles .ek-p-bio itself as the paragraph. */
.ek-p-bio p { margin: 0; }
.ek-p-bio p + p { margin-top: 12px; }
/* The design body-types the LAST fact (Nejc's "Poleg plezanja"); grade-only profiles would
   get their last grade in body type. Key the prose style to .is-text instead of position. */
.ek-p-facts div:last-child b { font-family: var(--font-display); font-size: 32px; font-weight: inherit; line-height: 1; max-width: none; }
.viewport-frame[data-vp="mobile"] .ek-p-facts div:last-child b { font-size: 26px; }
.ek-p-facts div.is-text b { font-family: var(--font-body); font-size: 16px; font-weight: 700; line-height: 1.35; max-width: 220px; }
.viewport-frame[data-vp="mobile"] .ek-p-facts div.is-text b { font-size: 16px; }
/* Fallback when a member has neither spatie media nor an external photo URL. */
.ek-card-initials {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 64px;
  color: var(--ink-faint);
  background: var(--paper-deep);
}
.ek-pill,
.ek-f-clear { cursor: pointer; }
.ek-pill:focus-visible,
.ek-f-clear:focus-visible,
.ek-card:focus-visible {
  outline: 2px solid var(--pcl-orange);
  outline-offset: 2px;
}
.ek-search input[type="search"]::-webkit-search-decoration,
.ek-search input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; }
@media (prefers-reduced-motion: reduce) {
  .ek-card,
  .ek-card-media img,
  .ek-card-shade,
  .ek-card-motto { transition: none; }
}

/* ------------------------------------------------------------
   6 · Spoznaj center v2 (pages/spoznaj-center.blade.php)
   The generated pcl-spoznaj2.css keeps the mobile chip rail
   static inside the design's phone-mock frame; on a real phone
   (data-vp="mobile" below 900px) it should behave like the
   media-query version: fixed at the top, slid in only while the
   chapter stack is on screen. Plus reduced-motion hardening for
   the few transitions the design does not gate itself.
   ------------------------------------------------------------ */
@media (max-width: 899px) {
  .viewport-frame[data-vp="mobile"] .s2-chiprail {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    transform: translateY(-110%);
  }
  .viewport-frame[data-vp="mobile"] .s2-chiprail.is-on { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .spz2 .s2-chiprail,
  .spz2 .spz-spine-fill,
  .spz2 .s2-kilter-board,
  .spz2 .s2-led,
  .spz2 .s2-nova-img,
  .spz2 .spz-ch-media .spz-img,
  .spz2 .spz-ch-media .spz-vid { transition: none; }
  .spz2 .spz-chapter:hover .spz-ch-media .spz-img,
  .spz2 .spz-chapter:hover .spz-ch-media .spz-vid { transform: none; }
}

/* Area galleries (media kind »gallery«, 2026-10-15): a scroll-snap strip filling the
   4:3 media frame — swipe on phones, arrows + counter (Alpine) everywhere. */
.spz-gal { position: absolute; inset: 0; }
.spz-gal-track {
  position: absolute; inset: 0;
  display: flex; overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  scrollbar-width: none;
}
.spz-gal-track::-webkit-scrollbar { display: none; }
.spz-gal-track:focus-visible { outline-offset: -4px; }
.spz-gal-slide { position: relative; flex: 0 0 100%; margin: 0; scroll-snap-align: start; overflow: hidden; }
.spz-gal-ctrl {
  position: absolute; right: 12px; bottom: 12px; z-index: 3;
  display: flex; align-items: center; gap: 2px;
  background: rgba(26,24,21,0.72); color: #fff; border-radius: 999px; padding: 2px;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.spz-gal-btn {
  width: 44px; height: 44px; border: 0; border-radius: 999px;
  background: transparent; color: inherit; font-size: 18px; line-height: 1; cursor: pointer;
}
.spz-gal-btn:hover { background: rgba(255,255,255,0.14); }
.spz-gal-count {
  font-family: ui-monospace, Menlo, monospace; font-size: 12px; letter-spacing: 0.08em;
  min-width: 3.2em; text-align: center; font-feature-settings: "tnum" 1;
}
.spz-ch-link {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-top: 14px;
  font-weight: 600; color: var(--pcl-orange-text, #955B00);
  text-decoration: underline; text-underline-offset: 3px;
}
.spz-ch-link:hover { text-decoration-thickness: 2px; }

/* Photo-led chapters (owner, 2026-10-15: »more image inspired«): on wide screens the photo takes
   the larger column and a square frame instead of the design's 1fr / 4:3; phones keep 4:3. */
@media (min-width: 900px) {
  .spz2 .spz-chapter { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 64px; align-items: start; }
  .spz2 .spz-chapter.rev { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); }
  .spz2 .spz-ch-media { aspect-ratio: 1 / 1; position: sticky; top: 72px; }
}
/* No faded 120 px chapter number on any screen — the photo and the hall name lead. */
.spz2 .spz-chapter .spz-ch-num { display: none; }

/* Links inside the WordPress hall texts (inline Markdown, 2026-10-15) — underlined in the text colour,
   orange underline, also on the dark featured band and the routesetting strip. */
.spz2 .spz-ch-lead a, .spz2 .spz-aside .as-a a, .spz2 .spz-setting p a {
  color: inherit; text-decoration: underline; text-decoration-color: var(--pcl-orange);
  text-decoration-thickness: 2px; text-underline-offset: 3px;
}

/* ------------------------------------------------------------
   6b · Spoznaj center head band (2026-10-19, replaces the video hero)
   x-site.page-head + the building at dusk (§23 cover), the centre's
   facts in one row (as on the WordPress /o-nas head) and the halls
   as a row of photos that jump to their chapter. Phones: the photo
   above the heading, facts in two columns, the halls swipe.
   ------------------------------------------------------------ */
.spz-head { --gutter: 40px; }
.viewport-frame[data-vp="mobile"] .spz-head { --gutter: 20px; }
.spz-head .page-h1 { font-size: clamp(56px, 8.4vw, 132px); max-width: 7.4em; text-wrap: balance; margin-bottom: 0; }
.spz-head.has-cover :is(.page-lead, .spz-facts) { text-shadow: 0 1px 14px rgba(26, 24, 21, 0.7); }
.spz-head .page-lead { margin: 18px 0 0; font-size: 18px; max-width: 46ch; }
.spz-head .page-head-in { padding-bottom: 40px; }

.spz-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 20px;
  margin: 32px 0 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}
.spz-fact { display: flex; flex-direction: column; min-width: 0; }
.spz-fact dt {
  order: 2;
  margin-top: 8px;
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}
.spz-fact dd { order: 1; margin: 0; }
.spz-fact dd:not(.m) {
  font-family: var(--font-display);
  font-size: 46px;
  line-height: 0.9;
  color: #fff;
  white-space: nowrap;
}
.spz-fact dd .u { margin-left: 0.14em; }
.spz-fact dd .u sup { font-size: 0.5em; position: relative; top: -0.04em; vertical-align: top; line-height: 1; }
.spz-fact dd.m { order: 3; margin-top: 4px; font-size: 14px; color: rgba(255, 255, 255, 0.62); }

.spz-halls { margin-top: 36px; }
.spz-halls ul {
  display: flex;
  gap: 10px;
  margin: 0 calc(-1 * var(--gutter, 20px));
  padding: 0 var(--gutter, 20px) 4px;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 var(--gutter, 20px);
  scrollbar-width: none;
}
.spz-halls ul::-webkit-scrollbar { display: none; }
.spz-halls li { flex: 0 0 136px; scroll-snap-align: start; }
.spz-hall {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 10px;
  background: #2c2823;
  color: #fff;
  text-decoration: none;
  isolation: isolate;
}
.spz-hall picture, .spz-hall img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.spz-hall img { transition: transform var(--dur-slow, 0.5s) var(--ease); }
.spz-hall::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(26, 24, 21, 0) 40%, rgba(26, 24, 21, 0.86) 100%);
}
.spz-hall-name {
  padding: 0 12px 12px;
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 1.05;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.spz-hall-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 7px;
  border-radius: 4px;
  background: var(--pcl-orange);
  color: var(--on-orange, #1a1815);
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.08em;
}
/* A hall without a photo yet (Nova balvanska until the owner's photos arrive). */
.spz-hall.is-blank { background: linear-gradient(160deg, #3a332b, #1f1c18); border: 1px solid rgba(255, 255, 255, 0.14); }
.spz-hall.is-blank::after { display: none; }
.spz-hall:hover img { transform: scale(1.05); }
.spz-hall:focus-visible { outline-offset: 3px; }

@media (min-width: 900px) {
  .viewport-frame[data-vp="desktop"] .spz-head.has-cover { min-height: clamp(720px, 56vw, 900px); display: flex; flex-direction: column; }
  .viewport-frame[data-vp="desktop"] .spz-head .page-head-in { margin-top: auto; width: 100%; }
  .viewport-frame[data-vp="desktop"] .spz-facts { display: flex; flex-wrap: wrap; gap: 20px 0; max-width: 1040px; }
  .viewport-frame[data-vp="desktop"] .spz-fact { padding-right: clamp(28px, 3.6vw, 56px); }
  .viewport-frame[data-vp="desktop"] .spz-fact dd:not(.m) { font-size: clamp(54px, 4.8vw, 72px); }
  .viewport-frame[data-vp="desktop"] .spz-halls ul { margin: 0; padding: 0; overflow: visible; display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); }
  .viewport-frame[data-vp="desktop"] .spz-halls li { min-width: 0; }
  .viewport-frame[data-vp="desktop"] .spz-hall { aspect-ratio: 3 / 4; }
  /* the scrim also darkens the bottom, where the hall photos sit over the garden */
  .viewport-frame[data-vp="desktop"] .spz-head.has-cover .head-cover::after {
    background:
      linear-gradient(180deg, rgba(26, 24, 21, 0.7) 0, rgba(26, 24, 21, 0) 170px),
      linear-gradient(0deg, rgba(26, 24, 21, 0.9) 0, rgba(26, 24, 21, 0.5) 220px, rgba(26, 24, 21, 0) 420px),
      linear-gradient(90deg, rgba(26, 24, 21, 0.88) 0, rgba(26, 24, 21, 0.6) 34%, rgba(26, 24, 21, 0.1) 62%, rgba(26, 24, 21, 0) 100%);
  }
}
@media (min-width: 900px) and (max-width: 1279px) {
  .viewport-frame[data-vp="desktop"] .spz-halls ul { display: flex; overflow-x: auto; margin: 0 calc(-1 * var(--gutter, 20px)); padding: 0 var(--gutter, 20px) 4px; }
  .viewport-frame[data-vp="desktop"] .spz-halls li { flex: 0 0 150px; }
}
@media (prefers-reduced-motion: reduce) {
  .spz-hall img { transition: none; }
  .spz-hall:hover img { transform: none; }
}

/* »Sprehod« (2026-10-15): the S3Walk zone of design 05 v3 (docs: spoznaj-settings-map.md), rules
   as in the design's spoznaj3.css — the rest of v3 is not ported, so its sheet is not loaded. */
.s3-walk { background: var(--stage); color: var(--paper); padding: 112px 0 120px; }
.s3-walk-head { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 48px; align-items: end; margin-bottom: 40px; }
.s3-walk-head p { margin: 0; color: rgba(247,244,239,.72); font-size: 17px; max-width: 40ch; }
.s3-h2 { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(44px, 5.4vw, 84px); line-height: .92; margin: 14px 0 0; color: var(--paper); }
.s3-walk-video { position: relative; aspect-ratio: 21 / 9; border-radius: var(--r-card); overflow: hidden; background: #000; }
.s3-walk-video video { width: 100%; height: 100%; object-fit: cover; display: block; }
.s3-walk-tag { position: absolute; right: 14px; top: 14px; background: rgba(0,0,0,.55); padding: 6px 10px; border-radius: 4px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.85); }
.s3-chapters { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; row-gap: 20px; }
.s3-chapters button { width: 100%; border: 0; background: none; color: inherit; text-align: left; padding: 0 0 8px; display: flex; flex-direction: column; gap: 8px; min-height: 44px; cursor: pointer; }
.s3-ch-bar { height: 3px; background: rgba(247,244,239,.18); overflow: hidden; }
.s3-ch-bar i { display: block; height: 100%; background: var(--pcl-orange); transform-origin: left; transition: transform 250ms linear; }
.s3-ch-t { font-family: var(--font-alt, var(--font-body)); font-size: 13px; color: rgba(247,244,239,.55); font-feature-settings: "tnum" 1; }
.s3-ch-n { font-family: var(--font-display); text-transform: uppercase; font-size: 16px; letter-spacing: .03em; line-height: 1.05; color: rgba(247,244,239,.72); }
.s3-chapters li.is-on .s3-ch-n, .s3-chapters button:hover .s3-ch-n { color: #fff; }
@media (max-width: 760px) {
  .s3-walk { padding: 64px 0; }
  .s3-walk-head { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .s3-walk-video { aspect-ratio: 4 / 5; }
  .s3-chapters { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 16px; }
}
@media (prefers-reduced-motion: reduce) { .s3-ch-bar i { transition: none; } }

/* ------------------------------------------------------------
   7 · Cenik (pages/cenik.blade.php)
   Anchor offset for the standalone compare section — cnk-section,
   cnk-band and .pricing carry scroll-margin-top in the design CSS,
   .pwc-section does not.
   ------------------------------------------------------------ */
.pwc-section { scroll-margin-top: 24px; }
/* The badge never breaks inside; on phones it drops below the option name
   (long names such as »Balvanski paket 5+1« left it two lines tall, 2026-11-18). */
.pwc-badge { white-space: nowrap; }
@media (max-width: 560px) {
  .pwc-row-top { flex-wrap: wrap; row-gap: 6px; }
  .pwc-badge { order: 3; }
}


/* ------------------------------------------------------------
   8 · Homepage v2 — local switches for design tweaks
   ------------------------------------------------------------ */

/* Footer partner »mono« (v2 default) shows the on-dark logo
   (assets/logo-triglav-partner-ondark.png: white lettering, red mark kept).
   A partner's brand mark is shown at full strength — no dimming, no filter
   (the old brightness/invert filter turned the red square into a grey block). */
.fp-mono { opacity: 1; }

/* Boulder video band — hidden by home-v2.css; home.boulder.show = true turns it back on
   and restores the tight video → programs seam from home.css. */
.boulder.boulder-video[data-show="true"] { display: block; }
.boulder.boulder-video[data-show="true"] + .programs { margin-top: 0; }
.boulder.boulder-video[data-show="true"] + .programs .section-head { border-top: 0; padding-top: 64px; }
.viewport-frame[data-vp="mobile"] .boulder.boulder-video[data-show="true"] + .programs { margin-top: 0; }
.viewport-frame[data-vp="mobile"] .boulder.boulder-video[data-show="true"] + .programs .section-head { padding-top: 24px; }

/* Hero video: keep the poster/photo crop identical to the photo variant. */
.hero .hero-video { display: block; background: var(--ink); }

/* Compact pricing: the »Vse vstopnice in primerjalnik →« link sits under the lead. */
.pricing.is-compact .section-head .section-lead { padding-bottom: 4px; }
.pricing.is-compact .pw-alllink { margin-bottom: 12px; }


/* ------------------------------------------------------------
   9 · Program (pages/program.blade.php + pages/programi.blade.php)
   Local additions to pcl-program.css: anchor offset for the rail
   links (design used JS smooth-scroll with a 24px offset), sticky
   bar lifted above the mobile bottom bar, and the plain /programi
   index list (not a designed page).
   ------------------------------------------------------------ */
#vsebina, #potek, #termini, #cena, #prijava, #faq { scroll-margin-top: 24px; }

/* The sticky pill used to be lifted above the mobile bottom bar here (two stacked fixed
   layers, ~137 px of the screen). On phones it is now hidden — see § 60e. */

.pg-index { padding: 40px 40px 96px; }
.pg-index-h {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: var(--fs-40, 40px);
  line-height: 1;
  letter-spacing: 0.01em;
  color: var(--ink);
  margin: 40px 0 16px;
}
.pg-index-h:first-child { margin-top: 0; }
.pg-index-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  overflow: hidden;
}
.pg-index-item + .pg-index-item { border-top: 1px solid var(--line-soft); }
.pg-index-item a {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas: "kicker arrow" "title arrow" "sub arrow" "meta arrow";
  column-gap: 24px;
  row-gap: 4px;
  padding: 22px 28px;
  color: var(--ink);
  text-decoration: none;
  transition: background var(--dur-fast) var(--ease);
}
.pg-index-item a:hover { background: var(--pcl-orange-tint); }
.pg-index-kicker {
  grid-area: kicker;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--ink-mute);
}
.pg-index-title {
  grid-area: title;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 29px;
  line-height: 1;
  letter-spacing: 0.01em;
}
.pg-index-sub {
  grid-area: sub;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 64ch;
}
.pg-index-meta {
  grid-area: meta;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--ink-mute);
}
.pg-index-meta .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 3px rgba(79,157,95,0.16);
}
.pg-index-arrow {
  grid-area: arrow;
  align-self: center;
  font-size: 24px;
  color: var(--pcl-orange);
  transition: transform var(--dur-fast) var(--ease);
}
.pg-index-item a:hover .pg-index-arrow { transform: translateX(4px); }

.viewport-frame[data-vp="mobile"] .pg-index { padding: 28px 20px 64px; }
.viewport-frame[data-vp="mobile"] .pg-index-item a { padding: 18px 18px; }
.viewport-frame[data-vp="mobile"] .pg-index-title { font-size: 25px; }

/* ---- stage 7b overlays: CRM stale notices ---- */
.cnk-crm-notices {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 24px;
}

/* ---- admin: draft preview ribbon (Program/TeamMember show, logged-in editors only) ---- */
.pcl-draft-ribbon {
  position: sticky;
  top: 0;
  z-index: 60;
  display: block;
  padding: 8px 16px;
  background: var(--pcl-orange);
  color: #221f1b;
  font: 700 13px/1.4 var(--font-body, sans-serif);
  text-align: center;
  letter-spacing: 0.02em;
}

/* ------------------------------------------------------------
   10 · UX pass — cross-page defect fixes
   (browser QA sweep over every public page, desktop + mobile)
   ------------------------------------------------------------ */

/* ---- 10.1 · Sticky elements ----------------------------------
   `.page { overflow-x: hidden }` (pcl-home.css) turns .page into a
   scroll container, which kills `position: sticky` for every
   descendant — the mobile bottom bar never stuck and only appeared
   at the very end of the document. `clip` clips the same overflow
   without establishing a scroll container.
   ------------------------------------------------------------ */
.page {
  overflow-x: clip;
}

/* ---- 10.2 · Live-status popover ------------------------------
   Closed state was opacity:0 + pointer-events:none but still
   `visibility: visible`, so "Glej cel urnik" stayed in the tab
   order (an invisible focus stop) and the role="dialog" was
   permanently exposed to assistive tech.
   ------------------------------------------------------------ */
.live-popover {
  visibility: hidden;
  transition:
    transform var(--dur) var(--ease),
    opacity var(--dur) var(--ease),
    visibility 0s linear var(--dur);
}
.live-pill[data-expanded="true"] + .live-popover {
  visibility: visible;
  transition:
    transform var(--dur) var(--ease),
    opacity var(--dur) var(--ease),
    visibility 0s;
}

/* ---- 10.3 · Touch targets ------------------------------------
   The design canvas shrank the mobile chrome to fit a phone mock;
   on a real phone these are the primary controls.
   ------------------------------------------------------------ */
.viewport-frame[data-vp="mobile"] .menu-toggle {
  width: 44px;
  height: 44px;
}
.viewport-frame[data-vp="mobile"] .md-close {
  width: 44px;
  height: 44px;
}

/* ---- 10.4 · Language switcher --------------------------------
   pcl-home.css styles `.lang-switch button` / `.md-lang button`,
   but both are rendered as links, so the switcher lost its
   padding, dim state, hover and active emphasis — and the hit
   area collapsed to ~10x17px.
   ------------------------------------------------------------ */
.lang-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  min-height: 24px;
  padding: 4px 4px;
  color: inherit;
  text-decoration: none;
  opacity: 0.55;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  transition: opacity var(--dur) var(--ease), color var(--dur) var(--ease);
}
.lang-switch a:hover { opacity: 0.85; color: var(--pcl-orange); }
.lang-switch a.is-active { opacity: 1; }
.topbar[data-style="dark"] .lang-switch a:hover { color: #fff; opacity: 1; }

.md-lang a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  min-height: 24px;
  padding: 4px 4px;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color var(--dur) var(--ease);
}
.md-lang a.is-active { color: #fff; }
.md-lang a:hover { color: var(--pcl-orange); }

/* ---- 10.5 · Promo section gutters ----------------------------
   `.promo-solo` carries `.container`, but pcl-pricing-wizard.css
   re-declares the `padding` shorthand and zeroes the horizontal
   gutters. Below the 1320px container width (every phone, every
   laptop under ~1400px) the kicker, the link and the ticket card
   ran flush into the viewport edge.
   ------------------------------------------------------------ */
.promo-solo {
  padding-left: 40px;
  padding-right: 40px;
}
.viewport-frame[data-vp="mobile"] .promo-solo {
  padding-left: 20px;
  padding-right: 20px;
}

/* ---- 10.6 · Keyboard focus ring ------------------------------
   Baseline visible focus for keyboard users; component-level
   :focus-visible rules in the design CSS still win where present.
   ------------------------------------------------------------ */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--pcl-orange);
  outline-offset: 2px;
  border-radius: 3px;
}

/* ---- 10.7 · Drawer scroll lock -------------------------------
   Paired with the `drawerOpen` watcher in layouts/site.blade.php.
   ------------------------------------------------------------ */
body.is-drawer-open {
  overflow: hidden;
}

/* ---- 10.8 · Branded 404 --------------------------------------
   resources/views/errors/404.blade.php
   ------------------------------------------------------------ */
.err-page {
  min-height: 62vh;
  display: flex;
  align-items: center;
  padding: 96px 0 120px;
}
.err-code {
  font-family: var(--font-display);
  font-size: 96px;
  line-height: 0.9;
  color: var(--pcl-orange);
  margin: 0 0 12px;
}
.err-title {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 40px;
  line-height: 1;
  margin: 0 0 14px;
  color: var(--ink);
}
.err-lead {
  max-width: 46ch;
  margin: 0 0 28px;
  color: var(--muted, #574f44);
}
.err-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.viewport-frame[data-vp="mobile"] .err-page { padding: 64px 0 88px; }
.viewport-frame[data-vp="mobile"] .err-code { font-size: 72px; }
.viewport-frame[data-vp="mobile"] .err-title { font-size: 30px; }

/* ---- 10.9 · Mobile content clipped by the page's overflow -----
   These boxes render wider than the 390px viewport, so their tail
   was silently cut off by the clip on `.page` (no scrollbar, no
   warning). Grid items default to `min-width: auto`, so a track
   cannot shrink below its content; `.kids-media` derives its width
   from `min-height` + `aspect-ratio`; `.pv-lastset` is nowrap.
   ------------------------------------------------------------ */
.viewport-frame[data-vp="mobile"] .kids-panel > *,
.viewport-frame[data-vp="mobile"] .kids-body,
.viewport-frame[data-vp="mobile"] .pv-titlebar > *,
.viewport-frame[data-vp="mobile"] .pv-titlebar-main,
.viewport-frame[data-vp="mobile"] .pv-titlebar-aside,
.viewport-frame[data-vp="mobile"] .pv-lastset {
  min-width: 0;
}
.viewport-frame[data-vp="mobile"] .kids-media {
  width: 100%;
  max-width: 100%;
}
.viewport-frame[data-vp="mobile"] .pv-lastset {
  white-space: normal;
}

/* ------------------------------------------------------------
   11 · Urnik (design 08 Urnik, /urnik)
   Section 10 is the cross-page UX pass, so this page starts at 11.
   ------------------------------------------------------------ */

/* ---- 11.1 · Server-rendered fallback ↔ Alpine swap ------------
   The page ships a server-rendered copy of the planner answer, the
   day grid and the mobile agenda, so every fact is in the HTML
   without JS. Alpine sets `data-booted` on the mount during init and
   its own copies (x-cloak until then) take over in the same frame.
   -------------------------------------------------------------- */
.urn-mount[data-booted] [data-urn-ssr] { display: none !important; }

/* Desktop gets the SSR grid, mobile the SSR agenda. `data-vp` is set
   while the frame is parsed, so the right one is up on first paint
   and the Alpine copy that replaces it has the same height (CLS 0).
   With JS off, data-vp stays "desktop" and the grid stays visible. */
.urn-ssr-agenda { display: none; }
.viewport-frame[data-vp="mobile"] .urn-ssr-grid { display: none; }
.viewport-frame[data-vp="mobile"] .urn-ssr-agenda { display: flex; }

/* ---- 11.2 · Reserve the Alpine-only picker rows ---------------
   Day tabs and hour buttons exist only once the component boots
   (they do nothing without JS). Without a reserved height the answer
   card and the timeline jump up the page on boot.
   -------------------------------------------------------------- */
.urn-plan .urn-tabs { min-height: 59px; }
.urn-tl-bar .urn-tabs-sm { min-height: 39px; }
.urn-plan .urn-hours { min-height: 44px; }

/* ---- 11.3 · Horizontal overflow ------------------------------
   `.urn-tl-grid` is 1240px wide by design and scrolls inside
   `.urn-tl-scroll`; the week table is wider than the container on
   narrow desktops. Both need their own scroll container so the page
   itself never scrolls sideways (`.page` clips it silently).
   -------------------------------------------------------------- */
.urn-tl-scroll { max-width: 100%; }
.urn-week { overflow-x: auto; }
.urn-week-head,
.urn-week-row { min-width: 900px; }
.urn-week-note { position: sticky; left: 0; }

/* ---- 11.4 · Live strip follows the CRM's hall count ----------
   The design grid is repeat(6); the CRM sends 6 halls today and 7
   once Balvanska stena opens (Dvorana enum + zasedenost odpre). The
   page sets --urn-halls; mobile keeps the design's single column.
   -------------------------------------------------------------- */
.urn-now-list { grid-template-columns: repeat(var(--urn-halls, 6), minmax(0, 1fr)); }
.viewport-frame[data-vp="mobile"] .urn-now-list { grid-template-columns: 1fr; }

/* ---- 11.5 · Route setting ≠ centre closed (2026-11-25) -------
   The design drew both in the same grey 135° hatch, so a morning of
   route setting read as »closed«. Closed hours are now a flat shade
   (»Senčeno« / legend »Center zaprt«); route setting gets its own
   cool blue hatch everywhere it appears (blocks, legend, agenda,
   week mini-bars, pills, detail card).
   -------------------------------------------------------------- */
.urn-mount, .urn-hero {
  --urn-set-a: #D6E4EF;
  --urn-set-b: #F2F7FB;
  --urn-set-line: #7D9BB4;
  --urn-set-ink: #2C465C;
  --urn-closed: rgba(31, 28, 24, 0.07);
}
.urn-tl-closed { background: var(--urn-closed); }
.urn-mini.is-closed { background: rgba(31, 28, 24, 0.1); }
.urn-swatch.is-closed { background: var(--urn-closed); border-color: var(--line); }

.urn-block.is-setting,
.urn-ag-item.is-setting {
  background: repeating-linear-gradient(135deg, var(--urn-set-a) 0 5px, var(--urn-set-b) 5px 10px);
  color: var(--urn-set-ink);
  border: 1px solid var(--urn-set-line);
}
.urn-block.is-setting.is-pending,
.urn-ag-item.is-setting.is-pending { background: var(--urn-set-b); border-style: dashed; }
.urn-swatch.is-setting { background: repeating-linear-gradient(135deg, var(--urn-set-a) 0 4px, var(--urn-set-b) 4px 8px); border-color: var(--urn-set-line); }
.urn-swatch.is-setting.is-pending { background: var(--urn-set-b); border-style: dashed; }
.urn-mini.is-setting { background: var(--urn-set-line); }
.urn-mini.is-pending { background: repeating-linear-gradient(90deg, var(--urn-set-line) 0 3px, transparent 3px 6px); }
.urn-detail.is-setting { border-color: var(--urn-set-line); }
.urn-pill.is-setting { background: var(--urn-set-a); color: var(--urn-set-ink); border-color: var(--urn-set-line); }
.urn-now-item.is-setting .urn-pill { background: rgba(125, 155, 180, 0.22); color: #CFE0EE; border-color: rgba(160, 190, 214, 0.55); }
.cnk-hero[data-tone="light"] .urn-now-item.is-setting .urn-pill { background: var(--urn-set-a); color: var(--urn-set-ink); border-color: var(--urn-set-line); }

/* ------------------------------------------------------------
   12 · Programi hub (designs 09/10, /plezanje + /otroci-in-mladina)
   ------------------------------------------------------------ */

/* ---- 12.1 · Sticky result panel taller than the viewport -----
   `.pg-result` is `position: sticky; top: 24px` with no height cap.
   The design canvas only ever showed short selections; with the real
   catalogue the "Sam" column renders the solo answer (heading, halls,
   two CTAs, the "when you want more" line) plus the matching programs
   — measured at 987 px on /plezanje, i.e. taller than a 900 px
   viewport. A sticky box that overflows the viewport can never be
   scrolled to its end, so the last rows were unreachable on any
   laptop. Cap it and let the panel scroll inside itself; only where
   the design actually makes it sticky (it is static on mobile and
   below 1080 px).
   ------------------------------------------------------------ */
@media (min-width: 1081px) {
  .viewport-frame[data-vp="desktop"] .pg-result {
    max-height: calc(100vh - 48px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  /* The panel is a flex column, so a capped height would otherwise shrink the
     children instead of scrolling — and `.pg-result-list` clips its overflow,
     which silently swallows the last rows. */
  .viewport-frame[data-vp="desktop"] .pg-result > * {
    flex-shrink: 0;
  }
}

/* ---- 12.2 · No »Klikni celico v shemi« box under the grid (owner, 2026-11-25) ----
   Where the selector stacks to one column (phones, and desktop up to 1080 px)
   the idle hint is an empty dashed box below the matrix that repeats the
   section lead (»… Klikni celico.«). Hidden there; on wide screens it still
   marks the column where the result appears. The result panel is untouched. */
.viewport-frame[data-vp="mobile"] .pg-result.is-idle { display: none; }
@media (max-width: 1080px) {
  .viewport-frame[data-vp="desktop"] .pg-result.is-idle { display: none; }
}

/* ------------------------------------------------------------
   13 · Nav v2 footer (design 02 Homepage v2, FOOTER_LINKS_V2)
   Nav v2 has four link columns; home.css still sizes .footer-grid
   for three + contact, which drops the contact column onto a row
   of its own. On wide desktops give it a fifth track instead.
   ------------------------------------------------------------ */
@media (min-width: 1100px) {
  .viewport-frame[data-vp="desktop"] .footer-grid:not(.has-brand):has(> .footer-col:nth-child(5)) {
    grid-template-columns: 1fr 1fr 1fr 1fr 1.35fr;
  }
}

/* ------------------------------------------------------------
   14 · Nav v2 desktop dropdowns
   a) .dd-sub inherits uppercase + 0.12em tracking from .nav, which
      turns the plain-text description into a second shouted label
      and wraps most v2 descriptions onto two lines.
   b) The hero (home, /spoznaj-center) and .ek-head (/o-nas/ekipa)
      are overflow:hidden, so the taller v2 "Obišči nas" panel was
      cut off at the band's bottom edge. Lift the clip only while a
      dropdown is open. No z-index on the band itself: it is not a
      stacking context, so .topbar (z 50) already paints above the
      shortcut cards (z 4) — raising the whole band would cover them.
   ------------------------------------------------------------ */
.nav .dd-sub { text-transform: none; letter-spacing: normal; }
:is(.hero, .ek-head):has(.nav-dropdown[data-open="true"]) {
  overflow: visible;
}

/* ------------------------------------------------------------
   15 · Beginner / training entry points
   a) Homepage »Začni plezati« is the target of shortcut 01 and
      nav »Prvič na steni« (#zacni-plezati); hub catalogs are the
      target of ?filter=…#programi links. Keep a gap above the
      anchor (smooth scrolling comes from html.scroll-smooth).
   b) »Vsi programi za začetnike →« text link under the cards —
      same treatment as .pw-alllink.
   ------------------------------------------------------------ */
#zacni-plezati, .pg-catalog { scroll-margin-top: 24px; }

.start-alllink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 32px;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: var(--t-meta);
  letter-spacing: 0.08em;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 2px solid var(--pcl-orange);
  padding: 4px 0 2px;
}
.start-alllink:hover { color: var(--pcl-orange-deep); }
.viewport-frame[data-vp="mobile"] .start-alllink { margin-top: 24px; min-height: 44px; }

/* ---- 07 Inštruktor live sidebar: overflow line under the groups list (not in the design) ---- */
.ekl-g-more {
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-mute);
}

/* ---- 07 Inštruktor: initials in the dark portrait frame when a (CRM roster) profile has no photo yet ---- */
.ek-p-initials {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: clamp(96px, 14vw, 180px);
  color: rgba(255, 255, 255, .18);
}

/* ---- Footer Instagram strip: portrait 3:4 tiles like the Instagram profile grid ----
   The design sets this on the community/directory strip (home.css .fs-tile); the bento
   strip (default footer) gets the same format. Images are cropped to 480×640 by instagram:sync. */
.fb-ig-strip a { aspect-ratio: 3 / 4; }

/* ---- Footer bento: smaller newsletter headline ----
   At the design's clamp(28px, 2.6vw, 38px) / 22ch the headline wraps to three lines,
   the newsletter tile outgrows the Instagram tile next to it and leaves a gap above
   the IG strip. Two lines keep both tiles about the same height. */
.fb-news .fb-h3 { font-size: clamp(24px, 2vw, 30px); max-width: 32ch; }

/* ---- Footer bento: »Kako do nas« as photo + info strip ----
   The entrance photo (assets/plezalni-center-vhod.webp) is wayfinding in itself: the
   »Plezalni center Ljubljana« wall sign next to the door is what visitors look for.
   The photo fills the whole tile and stays bright; the design's full-height bottom
   fade becomes a soft shadow only behind the text (bottom-left), plus a text-shadow.
   Layout: kicker / address + map chip (chip sits on the cushions, white reads
   anywhere) / note. Markup unchanged (img + .fb-visit-body). */
.fb-visit img { object-position: 100% 50%; } /* sign ends at ~98% of the photo width */
.fb-visit::after {
  background:
    radial-gradient(120% 75% at 0% 100%, rgba(26, 24, 21, .82) 0, rgba(26, 24, 21, .55) 45%, rgba(26, 24, 21, 0) 75%),
    linear-gradient(180deg, rgba(26, 24, 21, 0) 70%, rgba(26, 24, 21, .35) 100%);
}
.fb-visit-body {
  display: grid; grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "k k" "addr chip" "note note";
  align-items: end; gap: 8px 16px;
}
.fb-visit .fb-k { color: rgba(255, 255, 255, .85); }
.fb-visit .fb-k,
.fb-visit-addr,
.fb-visit-note { text-shadow: 0 1px 10px rgba(0, 0, 0, .5); }
.fb-visit-note { color: rgba(255, 255, 255, .92); }
.fb-visit-body .fb-k { grid-area: k; }
.fb-visit-addr { grid-area: addr; }
.fb-visit-note { grid-area: note; }
.fb-visit-body .fb-chip { grid-area: chip; margin-top: 0; }
@media (max-width: 560px) {
  /* portrait card: wall sign fully in the upper half, text over the cushions below */
  .fb-visit { min-height: 520px !important; }
  .fb-visit-body { grid-template-columns: minmax(0, 1fr); grid-template-areas: "k" "addr" "note" "chip"; }
  .fb-visit-body .fb-chip { margin-top: 8px; }
}
.viewport-frame[data-vp="mobile"] .fb-visit { min-height: 340px; }
.viewport-frame[data-vp="mobile"] .fb-visit-body { padding: 24px; }

/* ------------------------------------------------------------
   16 · Program — content ported from WordPress (wp:import:programs)
   a) »O programu« (#vsebina): the WP body sections (ZA KOGA?, OPREMA …)
      as title | prose rows; an untitled first section is headed »O programu«.
   b) Schedule / price text inside the termini and price zones.
   c) Inline toggles (PRIMER PROGRAMA, POPUSTI) as <details>.
   d) Media row without a video: the gallery takes the full width and
      shows every photo (1–7 on the old pages).
   ------------------------------------------------------------ */
.pp-body { display: grid; gap: 40px; }
.pp-body-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 16px 48px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.pp-body-row:first-child { padding-top: 0; border-top: 0; }
.pp-body-h {
  margin: 0;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 0.95;
  letter-spacing: 0.005em;
  color: var(--ink);
}
.pp-prose { max-width: 68ch; }
.pp-prose > :last-child { margin-bottom: 0; }
.pp-prose h3 { font-size: var(--fs-20, 20px); margin-top: 1.2em; }
.pp-prose img { max-height: 96px; width: auto; display: inline-block; margin-right: 16px; background: #fff; padding: 8px; }
.pp-prose table { display: block; overflow-x: auto; }
.pp-prose details {
  margin: 0 0 1.1em;
  border: 1px solid var(--line);
  border-radius: var(--r-card, 12px);
  padding: 0 18px;
  background: var(--paper-deep);
}
.pp-prose details > summary {
  cursor: pointer;
  list-style: none;
  padding: 14px 0;
  min-height: 44px;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: var(--fs-20, 20px);
  letter-spacing: 0.01em;
}
.pp-prose details > summary::-webkit-details-marker { display: none; }
.pp-prose details > summary::after { content: " +"; color: var(--pcl-orange-deep); }
.pp-prose details[open] > summary::after { content: " −"; }
.pp-prose details[open] { padding-bottom: 6px; }
.pp-always .pp-prose { margin: 4px 0 8px; }
.pp-pricecard .pp-prose { margin-bottom: 4px; }
.pp-price-text { margin-top: 32px; }

.pp-media-grid.is-novideo { grid-template-columns: minmax(0, 1fr); }
.pp-media-grid.is-novideo .pp-gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: none; grid-auto-rows: 220px; }
.pp-media-grid.is-novideo .pp-gallery[data-count="2"],
.pp-media-grid.is-novideo .pp-gallery[data-count="3"] { grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); grid-auto-rows: 280px; }
.pp-media-grid.is-novideo .pp-gallery[data-count="2"] { --n: 2; }
.pp-media-grid:not(.is-novideo) .pp-gallery:not([data-count="4"]) { grid-template-rows: none; grid-auto-rows: minmax(120px, 1fr); }

.viewport-frame[data-vp="mobile"] .pp-body { gap: 28px; }
.viewport-frame[data-vp="mobile"] .pp-body-row { grid-template-columns: minmax(0, 1fr); padding-top: 24px; gap: 12px; }
.viewport-frame[data-vp="mobile"] .pp-media-grid.is-novideo .pp-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 160px; }
@media (max-width: 760px) {
  .pp-body-row { grid-template-columns: minmax(0, 1fr); }
  .pp-media-grid.is-novideo .pp-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 160px; }
}
.pp-facts + .pp-body { padding-top: 24px; }
.pp-prose ul { list-style: disc; }
.pp-prose ol { list-style: decimal; }
.pp-termini-after { margin-top: 28px; }
.pp-media-grid.is-novideo .pp-gallery[data-count="5"],
.pp-media-grid.is-novideo .pp-gallery[data-count="6"],
.pp-media-grid.is-novideo .pp-gallery[data-count="9"] { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 240px; }

/* ---- 16e · Program: »Na kratko« checklist under the facts; video-only media row ---- */
.pp-highlights {
  list-style: none;
  margin: 28px 0 0;
  padding: 24px 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px 32px;
}
.pp-highlights:first-child { margin-top: 0; border-top: 0; padding-top: 0; }
.pp-highlights li {
  position: relative;
  padding-left: 30px;
  font-size: var(--fs-17);
  line-height: 1.45;
  color: var(--ink);
}
.pp-highlights li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.2em;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--pcl-orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%231F1C18' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat;
}
.pp-media-grid.is-nophotos { grid-template-columns: minmax(0, 1fr); }
.pp-media-grid.is-nophotos .pp-video { max-width: 960px; }
.viewport-frame[data-vp="mobile"] .pp-highlights { grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: 20px; padding-top: 20px; }
.pp-facts + .container.pp-body { margin-top: 24px; padding-top: 48px; border-top: 1px solid var(--line); }
@media (min-width: 761px) {
  .viewport-frame:not([data-vp="mobile"]) .pp-body-h { position: sticky; top: 24px; align-self: start; }
}
/* Weekly group rows carry »time · wall / school« meta — let it wrap instead of pushing the CTA out. */
.pp-term-days { white-space: normal; min-width: 0; }
.pp-media-grid.is-novideo .pp-gallery[data-count="1"] { grid-template-columns: minmax(0, 1fr); grid-auto-rows: 420px; max-width: 760px; }
.viewport-frame[data-vp="mobile"] .pp-media-grid.is-novideo .pp-gallery[data-count="1"] { grid-auto-rows: 240px; }

/* ------------------------------------------------------------
   17 · Program — reading scale for WordPress text (owner 2026-09-30:
   »this text feels way too big«). The imported copy is long and bold-
   heavy; .page-body's 19 px / display-font h3 is sized for short CMS
   pages. Here: 17 px body (16 px mobile), semibold instead of bold,
   small display sub-heads, narrower measure, calmer section titles.
   ------------------------------------------------------------ */
.pp-prose { font-size: 17px; line-height: 1.62; max-width: 62ch; color: var(--ink-soft); }
.pp-prose strong { font-weight: 600; color: var(--ink); }
.pp-prose p, .pp-prose ul, .pp-prose ol, .pp-prose table, .pp-prose blockquote { margin: 0 0 0.85em; }
.pp-prose li + li { margin-top: 0.2em; }
.pp-prose h3,
.pp-prose h4 {
  font-size: 17px;
  letter-spacing: 0.04em;
  line-height: 1.15;
  margin: 1.5em 0 0.45em;
  color: var(--ink);
}
.pp-prose > h3:first-child { margin-top: 0; }
.pp-prose table { font-size: 15px; }
.pp-prose details > summary { font-size: 16px; letter-spacing: 0.04em; }
.pp-body { gap: 32px; }
.pp-body-row { grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr); gap: 12px 56px; padding-top: 28px; }
.pp-body-h { font-size: clamp(22px, 2vw, 28px); line-height: 1; letter-spacing: 0.01em; padding-top: 2px; }
.pp-highlights li { font-size: 16px; }
.pp-always .pp-prose, .pp-termini-after { font-size: 16px; }

/* Price card rows: label (+ meta) | amount — long labels get the width, the unit is small. */
.pp-pricecard { max-width: 720px; }
.pp-price-row { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "l v" "m v"; row-gap: 2px; column-gap: 24px; }
.pp-price-l { grid-area: l; font-weight: 600; font-size: 16px; line-height: 1.35; }
.pp-price-m { grid-area: m; font-size: 14px; }
.pp-price-m:empty { display: none; }
.pp-price-v { grid-area: v; align-self: center; white-space: nowrap; font-size: 26px; }
.pp-price-u { font-family: var(--font-body); text-transform: none; font-size: 14px; letter-spacing: 0; color: var(--ink-mute); font-weight: 400; }
.pp-price-row.is-solo { grid-template-areas: "v m"; grid-template-columns: auto minmax(0, 1fr); }
.pp-price-row.is-solo .pp-price-l { display: none; }
.pp-price-row:last-of-type { border-bottom: 0; }
.pp-price-notes { margin-top: 12px; padding-top: 14px; border-top: 1px solid var(--line-soft); font-size: 15px; }
.pp-pricecard.is-text .pp-price-notes { margin-top: 8px; padding-top: 8px; border-top: 0; }

.viewport-frame[data-vp="mobile"] .pp-prose { font-size: 16px; line-height: 1.6; }
.viewport-frame[data-vp="mobile"] .pp-body-h { font-size: 24px; }
.viewport-frame[data-vp="mobile"] .pp-pricecard { padding: 8px 20px 20px; }
.viewport-frame[data-vp="mobile"] .pp-price-v { font-size: 22px; }

/* ---- 17b · Prijava panel without steps: one band (title | CTA + contact), not a 400 px block ---- */
.pp-prijava-panel.is-compact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px 48px;
  padding: 40px 48px;
}
.pp-prijava-panel.is-compact .pp-prijava-head { margin: 0; }
.pp-prijava-panel.is-compact .pp-prijava-title { font-size: clamp(34px, 3.4vw, 52px); }
.pp-prijava-panel.is-compact .pp-prijava-foot { margin: 0; padding: 0; border: 0; gap: 40px; flex-wrap: nowrap; }
.viewport-frame[data-vp="mobile"] .pp-prijava-panel.is-compact { grid-template-columns: minmax(0, 1fr); padding: 32px 24px; }
.viewport-frame[data-vp="mobile"] .pp-prijava-panel.is-compact .pp-prijava-foot { flex-wrap: wrap; gap: 20px; }

/* ---- 17c · Media row: an odd number of photos next to the video leaves no hole ---- */
.pp-media-grid:not(.is-novideo) .pp-gallery .pp-shot:last-child:nth-child(odd) { grid-column: span 2; }
.pp-media-grid.is-novideo .pp-gallery[data-count="5"] .pp-shot:nth-child(-n+2) { grid-column: span 1; }
.pp-media-grid.is-stacked { grid-template-columns: minmax(0, 1fr); }
.pp-media-grid.is-stacked .pp-video { max-width: 960px; }
.pp-media-grid.is-stacked .pp-gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: none; grid-auto-rows: 200px; }
.viewport-frame[data-vp="mobile"] .pp-media-grid.is-stacked .pp-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 150px; }
/* Pogoji without FAQ: one readable column, not half the grid */
.pp-faqwrap .pp-two-col > div:only-child { grid-column: 1 / -1; max-width: 760px; }

/* ---- 17d · Sections with a table (camps overview, schedules) use the full width ---- */
.pp-body-row:has(table) { grid-template-columns: minmax(0, 1fr); }
.pp-body-row:has(table) .pp-prose { max-width: none; }
.pp-prose table {
  display: table;
  width: 100%;
  border-collapse: collapse;
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  overflow: hidden;
  margin-top: 8px;
}
.pp-prose thead th {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.14em;
  font-weight: 400;
  color: var(--ink-mute);
  background: var(--paper-deep);
  padding: 12px 16px;
}
.pp-prose td { padding: 14px 16px; vertical-align: top; color: var(--ink); }
.pp-prose tbody tr + tr td { border-top: 1px solid var(--line-soft); }
.pp-prose td:first-child a { font-weight: 600; }
.pp-prose td:last-child { white-space: nowrap; font-weight: 600; }
.pp-prose td p { margin: 0; }
.viewport-frame[data-vp="mobile"] .pp-prose table { display: block; overflow-x: auto; }
/* One price: a statement, not a lonely table row */
.pp-pricecard:has(> .pp-price-row:only-of-type) .pp-price-v { font-size: clamp(36px, 3.4vw, 48px); }
.pp-pricecard:has(> .pp-price-row:only-of-type) .pp-price-u { font-size: 16px; }
.pp-pricecard:has(> .pp-price-row:only-of-type) .pp-price-row { padding: 20px 0 16px; }
/* Odd photo counts (5, 7): the first photo leads over two rows so the grid has no hole */
.pp-media-grid.is-novideo .pp-gallery[data-count="5"] .pp-shot:first-child,
.pp-media-grid.is-novideo .pp-gallery[data-count="7"] .pp-shot:first-child,
.pp-media-grid.is-stacked .pp-gallery[data-count="7"] .pp-shot:first-child,
.pp-media-grid.is-stacked .pp-gallery[data-count="5"] .pp-shot:first-child { grid-row: span 2; grid-column: span 1; }
.pp-media-grid.is-novideo .pp-gallery[data-count="7"] { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pp-media-grid.is-stacked .pp-gallery[data-count="5"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.viewport-frame[data-vp="mobile"] .pp-gallery .pp-shot:first-child { grid-row: auto; }
.viewport-frame[data-vp="mobile"] .pp-media-grid .pp-gallery[data-count] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.viewport-frame[data-vp="mobile"] .pp-gallery .pp-shot:last-child:nth-child(odd) { grid-column: span 2; }
.viewport-frame[data-vp="mobile"] .pp-facts + .container.pp-body { margin-top: 0; padding-top: 28px; }

/* ---- 17e · Cena: a label row like the »O programu« sections, not a display heading
   over one line of text (owner 2026-10-02). The calculator keeps the full width. ---- */
.pp-cena { padding-top: 56px; padding-bottom: 40px; }
.pp-termini + .pp-cena { padding-top: 64px; }
.pp-cena .pp-body-row.is-wide { grid-template-columns: minmax(0, 1fr); gap: 24px; }
.pp-cena-lead { margin: 12px 0 0; font-size: 15px; line-height: 1.5; color: var(--ink-mute); max-width: 36ch; }
.pp-cena .is-wide .pp-cena-lead { max-width: 60ch; }
.pp-cena-main { min-width: 0; }
.pp-cena .pp-price-text { margin-top: 24px; }
.pp-pricecard.is-text { padding: 20px 32px 24px; }
.pp-pricecard.is-text .pp-price-notes { margin-top: 0; padding-top: 0; font-size: 17px; }
@media (min-width: 761px) {
  .viewport-frame:not([data-vp="mobile"]) .pp-cena-head { position: sticky; top: 24px; align-self: start; }
  .viewport-frame:not([data-vp="mobile"]) .pp-cena-head .pp-body-h { position: static; }
}
.viewport-frame[data-vp="mobile"] .pp-cena,
.viewport-frame[data-vp="mobile"] .pp-termini + .pp-cena { padding-top: 36px; padding-bottom: 24px; }

/* ---- 17f · Termini: several slots of one weekday share a row (invite-only squads) ---- */
.pp-term-days.has-slots { display: flex; flex-direction: column; gap: 4px; }
.pp-term:has(.has-slots) { align-items: start; }
.pp-term:has(.has-slots) > :not(.has-slots) { padding-top: 1px; }
.pp-term:has(.has-slots) .pp-term-status,
.pp-term:has(.has-slots) .pp-term-n { line-height: 30px; }
.pp-term:has(.has-slots) .pp-term-days { padding-top: 5px; }

/* ---- 17g · Hero: busy photos (holds, crowds) need a firmer scrim under the copy ---- */
.hero.pp-hero[data-layout="fullbleed"] .hero-grad {
  background:
    linear-gradient(180deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.08) 26%, rgba(0,0,0,0.22) 48%, rgba(0,0,0,0.86) 100%),
    linear-gradient(90deg, rgba(0,0,0,0.62) 0%, rgba(0,0,0,0.34) 42%, transparent 76%);
}
.viewport-frame[data-vp="mobile"] .hero.pp-hero[data-layout="fullbleed"] .hero-grad {
  background: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.12) 24%, rgba(0,0,0,0.5) 50%, rgba(0,0,0,0.92) 100%);
}

/* ------------------------------------------------------------
   18 · Homepage — program photos instead of design placeholders
   (partials/zacni-plezati, partials/otroci via App\Support\ProgramLinks):
   the kids spotlight shows the focused program's hero photo where the
   design had a video box.
   ------------------------------------------------------------ */
.kids-media .kids-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.kids-play[hidden] { display: none; }

/* ------------------------------------------------------------
   19 · Homepage Postavljanje — compact wall ledger instead of the
   design's grade pyramids (partials/postavljanje). The pyramids were
   drawn for 3 walls; the live CRM feed has 7–9, which made the block
   ~1600 px tall. One row per wall: code · name · latest date, then the
   routes as small tags easiest → hardest, a stripe in the hold colour.
   The route popover (.pv-route-pop) is the design's.
   ------------------------------------------------------------ */
.pv-ledger {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.pv-ledger-row {
  display: grid;
  grid-template-columns: 34px minmax(96px, 150px) 1fr auto;
  grid-template-areas: "code name tags meta";
  align-items: center;
  column-gap: 14px;
  padding: 9px 0;
  border-bottom: 1px dashed rgba(154, 142, 127, 0.30);
}
.pv-ledger-row:last-child { border-bottom: 0; }
.pv-ledger-row .pv-wallcol-code { grid-area: code; }
.pv-ledger-row .pv-wallcol-name { grid-area: name; font-size: 15px; }
.pv-ledger-meta {
  grid-area: meta;
  justify-self: end;
  white-space: nowrap;
  font-family: ui-monospace, Menlo, monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pv-gray);
  font-weight: 700;
}
.pv-ledger-meta b { color: var(--pv-cream); }
.pv-ledger-tags {
  grid-area: tags;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  min-width: 0;
}
.pv-tag {
  min-width: 38px;
  height: 28px;
  padding: 0 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(247, 244, 239, 0.40);
  border-radius: 3px;
  background: rgba(247, 244, 239, 0.025);
  color: var(--pv-cream);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
  text-transform: lowercase;
  font-feature-settings: "tnum" 1;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  outline: none;
  transition: transform 160ms var(--ease), box-shadow 160ms var(--ease), opacity 160ms var(--ease);
}
/* A strip of tape in the hold colour, as it hangs at the start of the route (CRM TapeTag). */
.pv-tag[data-tape] {
  background: var(--tape);
  color: var(--ink);
  border-color: rgba(247, 244, 239, 0.18); /* keeps black tape visible on the dark sheet */
  transform: rotate(-2deg);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}
.pv-tag:hover { transform: rotate(0deg) translateY(-1px); }
.pv-tag:focus-visible { box-shadow: 0 0 0 2px rgba(244, 150, 0, 0.6); }
.pv-tag.is-active { transform: rotate(0deg) translateY(-2px); box-shadow: 0 0 0 2px var(--pv-orange); }
.pv-ledger-row.has-active .pv-tag:not(.is-active) { opacity: 0.38; }
.pv-ledger-more {
  align-self: center;
  font-family: ui-monospace, Menlo, monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--pv-gray);
  font-weight: 700;
}

.viewport-frame[data-vp="mobile"] .pv-ledger-row {
  grid-template-columns: 34px 1fr auto;
  grid-template-areas:
    "code name meta"
    "tags tags tags";
  row-gap: 8px;
  padding: 12px 0;
}
.viewport-frame[data-vp="mobile"] .pv-tag { height: 32px; min-width: 42px; }
/* Tags at the left edge on phones: open the popover rightwards so it is not clipped. */
.viewport-frame[data-vp="mobile"] .pv-ledger-tags .pv-grade-wrap:nth-child(-n+2) .pv-route-pop { left: 0; transform: translate(0, 6px) scale(0.97); transform-origin: 18px calc(100% + 11px); }
.viewport-frame[data-vp="mobile"] .pv-ledger-tags .pv-grade-wrap:nth-child(-n+2) .pv-route-pop.is-open { transform: translate(0, 0) scale(1); }
.viewport-frame[data-vp="mobile"] .pv-ledger-tags .pv-grade-wrap:nth-child(-n+2) .pv-route-pop::after { left: 18px; }

/* ------------------------------------------------------------
   20 · Prvič pri nas (/obisci-nas/prvic, pages/prvic.blade.php):
   every path and both »Da, znam / Ne še« answers are server-rendered
   and toggled with the `hidden` attribute; the design sheet gives
   these blocks an explicit display, which would beat the UA rule.
   ------------------------------------------------------------ */
.pv-detail[hidden],
.pv-steps[hidden],
.pv-card[hidden] { display: none; }

/* ------------------------------------------------------------
   21 · Program hub / Prvič pri nas head (partials/pg/head): the h1 has
   line-height .9, so a caron on the first line (»PRVIČ«, »ZAČETI«)
   rises out of its line box into the kicker. Headroom for Slovene
   diacritics on uppercase letters.
   ------------------------------------------------------------ */
.pg-h1 { padding-top: 0.16em; }

/* Homepage Aktualno »Zgodba« card: the story cover as an <img>, cropped around its subject
   (data-subject, pages/zgodbe/partials/subject-crop) instead of a centre-cropped background. */
.ak-photo--img { position: relative; overflow: hidden; }
.ak-photo-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Aktualno card text from the rich editor (»Vsebina«) arrives as <p>/<ul> blocks inside a <div>:
   keep the design's single-paragraph rhythm, space only between blocks. */
.ak-body > :is(p, ul, ol), .ak-note > :is(p, ul, ol) { margin: 0; }
.ak-body > * + *, .ak-note > * + * { margin-top: 0.5em; }
.ak-body :is(ul, ol), .ak-note :is(ul, ol) { padding-left: 1.2em; }
.ak-body a, .ak-note a { color: var(--pcl-orange-text); text-decoration: underline; }

/* ------------------------------------------------------------
   22 · Brand lockup (topbar, drawer, footers): optical centring.
   The two text lines are box-centred on the mark, but DIN Condensed
   caps have no descender, so the ink sits ~0.12em above the box
   centre and the wordmark looks too high next to the logo. Shift the
   text down by that amount. The mark is 256×274 — keep its ratio
   instead of squeezing it into the square box.
   ------------------------------------------------------------ */
.brand-lockup .lockup-text,
.md-brand-text { position: relative; top: 0.12em; }
.brand-lockup img,
.md-brand img { object-fit: contain; }

/* ------------------------------------------------------------
   23 · Photo cover behind the dark head bands
   (components/site/head-cover.blade.php, band class .has-cover).
   The photo is sized by the band's height and anchored right, never
   object-fit: cover — so the climber stays whole at every width —
   and its left edge is masked into the stage colour under the h1.
   Phones: the photo sits above the heading instead of behind it.
   Per-photo knobs (custom properties on the band, set by the
   component's props): --cover-fade-x  desktop left fade width,
   --cover-copy  desktop width of the pg-head text column,
   --cover-max-w / --cover-pos  cap the photo's share of the band and
   say which side to keep when the cap crops it (subject on the left),
   --cover-m-ratio  phone crop height/width, --cover-m-fade-y  where
   the phone photo starts fading out, --cover-m-pad  share of the
   phone photo's height the heading waits for.
   ------------------------------------------------------------ */
.has-cover {
  position: relative;
  --cover-fade-x: 30%;
  --cover-copy: 680px;
  --cover-m-ratio: 0.938;
  --cover-m-fade-y: 70%;
  --cover-m-pad: 0.9;
}
.head-cover {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  background: var(--stage);
  --fx: var(--cover-fade-x);
  --ft: 0%;
  --fy: 100%;
}
.head-cover img {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: auto;
  max-width: var(--cover-max-w, none);
  object-fit: cover;
  object-position: var(--cover-pos, right) var(--cover-pos-y, center);
  display: block;
  -webkit-mask-image:
    linear-gradient(90deg, transparent 0, #000 var(--fx)),
    linear-gradient(180deg, transparent 0, #000 var(--ft), #000 var(--fy), transparent 100%);
  mask-image:
    linear-gradient(90deg, transparent 0, #000 var(--fx)),
    linear-gradient(180deg, transparent 0, #000 var(--ft), #000 var(--fy), transparent 100%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}
.head-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(26, 24, 21, 0.7) 0, rgba(26, 24, 21, 0) 170px),
    linear-gradient(90deg, rgba(26, 24, 21, 0.85) 0, rgba(26, 24, 21, 0.6) 32%, rgba(26, 24, 21, 0.14) 58%, rgba(26, 24, 21, 0.06) 100%);
}
.has-cover > :not(.head-cover):not(.topbar) { position: relative; }
/* Muted covers (config site.covers_muted, 2026-10-15): one look for photos from different shoots,
   and saturated colours no longer turn murky where the photo fades into the band. */
.head-cover.is-muted img { filter: saturate(.55) contrast(1.05) brightness(.97); }

/* Subject touches the photo's top edge: start under the topbar's utility row and fade the top in. */
.head-cover.is-below-bar { --ft: 7%; }
.viewport-frame[data-vp="desktop"] .head-cover.is-below-bar img {
  top: 67px;
  height: calc(100% - 67px);
}
/* …but only on phones (class is-desktop-top): on desktop the photo runs to the band's top edge. */
.viewport-frame[data-vp="desktop"] .head-cover.is-below-bar.is-desktop-top { --ft: 0%; }
.viewport-frame[data-vp="desktop"] .head-cover.is-below-bar.is-desktop-top img {
  top: 0;
  height: 100%;
}

/* Full-bleed variant (class is-bleed, desktop): the photo covers the whole band as long as the
   band is no wider than --cover-bleed-ar (the aspect at which the subject, placed with
   --cover-pos / --cover-pos-y, still fits whole below the nav). On wider screens it stops
   growing and its left edge fades out again. Needs a photo with room around the subject. */
.head-cover.is-bleed { container-type: size; }
.viewport-frame[data-vp="desktop"] .head-cover.is-bleed img {
  width: min(100cqw, calc(100cqh * var(--cover-bleed-ar)));
  --fx: clamp(0px, calc((100cqw - 100cqh * var(--cover-bleed-ar)) * 1000), 280px);
}

/* /o-nas/ekipa: full-bleed rock. The lead moves under the h1 so the right half stays free for
   the climber; the band grows with the viewport so he fits below the nav; the copy sits at the
   bottom; the design's orange glow would tint the black-and-white photo. */
.ek-head.has-cover { --cover-bleed-ar: 2.7; --cover-pos-y: 55.3%; }
.ek-head.has-cover::after { display: none; }
.ek-head.has-cover .ek-head-inner { grid-template-columns: minmax(0, 1fr); width: 100%; }
.viewport-frame[data-vp="desktop"] .ek-head.has-cover {
  min-height: clamp(520px, 37.7vw, 640px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.viewport-frame[data-vp="desktop"] .ek-head.has-cover .ek-lead { max-width: min(520px, 42vw); }

/* Fill variant (class is-fill, desktop): a photo without a subject (hold wall, texture) covers
   the whole band in full colour. Nothing to protect from cropping, so it is a plain
   object-fit: cover; the scrim is heavier on the left, where the copy sits, and under the nav. */
.viewport-frame[data-vp="desktop"] .head-cover.is-fill { --fx: 0%; }
.viewport-frame[data-vp="desktop"] .head-cover.is-fill img {
  left: 0;
  width: 100%;
  max-width: none;
  object-position: center;
}
.viewport-frame[data-vp="desktop"] .head-cover.is-fill::after {
  background:
    linear-gradient(180deg, rgba(26, 24, 21, 0.82) 0, rgba(26, 24, 21, 0.5) 90px, rgba(26, 24, 21, 0) 190px),
    linear-gradient(90deg, rgba(26, 24, 21, 0.84) 0, rgba(26, 24, 21, 0.78) 34%, rgba(26, 24, 21, 0.5) 56%, rgba(26, 24, 21, 0.2) 80%, rgba(26, 24, 21, 0.12) 100%);
}

/* /cenik: colourful hold wall, a short strip of it above the heading on phones. */
.cnk-hero.has-cover { --cover-m-ratio: 0.6; --cover-m-fade-y: 62%; --cover-m-pad: 0.86; }
.cnk-hero.has-cover :is(.cnk-crumbs, .cnk-h1, .cnk-meta) { text-shadow: 0 1px 14px rgba(26, 24, 21, 0.7); }
/* /cenik: the photo is dark and has no copy-free side, so the scrim is only a light veil (no black left edge). */
.viewport-frame[data-vp="desktop"] .cnk-hero .head-cover.is-fill img { object-position: center 45%; }
.viewport-frame[data-vp="desktop"] .cnk-hero .head-cover.is-fill::after {
  background: linear-gradient(180deg, rgba(26, 24, 21, 0.6) 0, rgba(26, 24, 21, 0) 150px), linear-gradient(90deg, rgba(26, 24, 21, 0.3) 0, rgba(26, 24, 21, 0) 55%);
}
/* /cenik: the anchor pills run over the photo — give them a dark backing. */
.cnk-hero.has-cover .cnk-anchors a {
  background: rgba(26, 24, 21, 0.72);
}
/* …and restore the design's orange hover, which the backing above would outrank. */
.cnk-hero.has-cover .cnk-anchors a:hover { background: var(--pcl-orange); }

/* /urnik: the big hall, a bright photo. The live strip runs the full width over it, so the scrim
   also darkens the bottom and the hall cards get a dark backing. */
.viewport-frame[data-vp="desktop"] .urn-hero .head-cover.is-fill::after {
  background:
    linear-gradient(180deg, rgba(26, 24, 21, 0.86) 0, rgba(26, 24, 21, 0.55) 100px, rgba(26, 24, 21, 0) 220px),
    linear-gradient(0deg, rgba(26, 24, 21, 0.82) 0, rgba(26, 24, 21, 0.7) 190px, rgba(26, 24, 21, 0) 330px),
    linear-gradient(90deg, rgba(26, 24, 21, 0.82) 0, rgba(26, 24, 21, 0.62) 30%, rgba(26, 24, 21, 0.22) 56%, rgba(26, 24, 21, 0.12) 100%);
}
.urn-hero.has-cover :is(.urn-now-label, .urn-now-sum) { text-shadow: 0 1px 14px rgba(26, 24, 21, 0.7); }
.urn-hero.has-cover .urn-now-sum { color: rgba(255, 255, 255, 0.9); }
.viewport-frame[data-vp="desktop"] .urn-hero.has-cover .urn-now-item {
  background: rgba(26, 24, 21, 0.72);
  border-color: rgba(255, 255, 255, 0.2);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

/* partials/pg/head (hubs, Prvič pri nas): the link list leaves the right column for the photo
   and becomes one row under the lead. */
.pg-head.has-cover .pg-head-links {
  flex-direction: row;
  flex-wrap: wrap;
  column-gap: 32px;
}
.pg-head.has-cover .pg-head-link {
  display: inline-flex;
  gap: 10px;
  border-bottom: 0;
}
.pg-head.has-cover .pg-head-link em { display: none; }
.viewport-frame[data-vp="desktop"] .pg-head.has-cover .pg-head-inner {
  grid-template-columns: minmax(0, 1fr);
  gap: 36px;
}
.viewport-frame[data-vp="desktop"] .pg-head.has-cover :is(.pg-head-copy, .pg-head-links) { max-width: var(--cover-copy); }

/* /otroci-in-mladina (class is-bleed is-wall): the whole hold wall runs edge to edge in full
   colour — no side fade, no left scrim. The band keeps the photo's crop the same at every width:
   the 3:2 boulder photo (uploaded 2026-11-20 in »SEO in naslovnice«) shows 84% of its height at
   56vw, so with --cover-pos-y 81% the boy runs from his fingertips (under the nav) to his feet.
   Capped at 1100 px; wider screens fall back to the is-bleed fade. The copy sits on a dark card
   left of him instead of on a gradient. */
.viewport-frame[data-vp="desktop"] .pg-head.has-cover:has(> .is-wall) {
  min-height: min(56vw, 1100px);
  display: flex;
  flex-direction: column;
}
.viewport-frame[data-vp="desktop"] .pg-head.has-cover:has(> .is-wall) .pg-head-inner {
  margin-top: auto;
  width: 100%;
  gap: 28px;
}
.viewport-frame[data-vp="desktop"] .pg-head.has-cover:has(> .is-wall) .pg-head-inner::before {
  content: "";
  position: absolute;
  top: 8px;
  bottom: -28px;
  left: 8px;
  width: calc(var(--cover-copy) + 64px);
  border-radius: 14px;
  background: rgba(26, 24, 21, 0.86);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.viewport-frame[data-vp="desktop"] .pg-head.has-cover:has(> .is-wall) :is(.pg-head-copy, .pg-head-links) { position: relative; }
.viewport-frame[data-vp="desktop"] .pg-head.has-cover:has(> .is-wall) .pg-h1 { font-size: clamp(54px, 6.2vw, 100px); }
.head-cover.is-wall::after {
  background: linear-gradient(180deg, rgba(26, 24, 21, 0.82) 0, rgba(26, 24, 21, 0.5) 90px, rgba(26, 24, 21, 0) 170px);
}

/* x-site.page-head with a cover slot (/zgodbe): the whole 3:2 photo, a group at a crag with the
   climber on the right. The search and the filters stay in a left column clear of the people;
   the year route runs the full width over the photo's foreground, on a bottom scrim. */
.page-head.has-cover :is(.page-crumbs, .page-h1, .zg-total) { text-shadow: 0 1px 14px rgba(26, 24, 21, 0.7); }
.viewport-frame[data-vp="desktop"] .page-head.has-cover :is(.zg-search, .zg-filters) { max-width: var(--cover-copy); }
.viewport-frame[data-vp="desktop"] .page-head.has-cover .zg-filters { flex-direction: column; align-items: flex-start; gap: 14px; }
.viewport-frame[data-vp="desktop"] .page-head.has-cover .zg-toggle { align-self: flex-start; margin-left: 0; }
.viewport-frame[data-vp="desktop"] .page-head.has-cover .head-cover::after {
  background:
    linear-gradient(180deg, rgba(26, 24, 21, 0.7) 0, rgba(26, 24, 21, 0) 170px),
    linear-gradient(0deg, rgba(26, 24, 21, 0.94) 0, rgba(26, 24, 21, 0.86) 96px, rgba(26, 24, 21, 0) 210px),
    linear-gradient(90deg, rgba(26, 24, 21, 0.8) 0, rgba(26, 24, 21, 0.5) 38%, rgba(26, 24, 21, 0.08) 54%, rgba(26, 24, 21, 0) 100%);
}

/* Phones */
.viewport-frame[data-vp="mobile"] .has-cover { --cover-h: min(calc(100vw * var(--cover-m-ratio)), 450px); }
.viewport-frame[data-vp="mobile"] .head-cover { --fx: 0%; --fy: var(--cover-m-fade-y); }
.viewport-frame[data-vp="mobile"] .head-cover img { height: var(--cover-h); max-width: none; }
.viewport-frame[data-vp="mobile"] .has-cover:has(> .is-below-bar) { --cover-m-top: 40px; }
.viewport-frame[data-vp="mobile"] .head-cover img { top: var(--cover-m-top, 0px); }
.viewport-frame[data-vp="mobile"] .head-cover::after {
  background: linear-gradient(180deg, rgba(26, 24, 21, 0.7) 0, rgba(26, 24, 21, 0) 120px);
}
.viewport-frame[data-vp="mobile"] :is(.ek-head, .cnk-hero, .page-head).has-cover { padding-top: calc(var(--cover-h) * var(--cover-m-pad) + var(--cover-m-top, 0px)); }
/* .pg-head keeps its topbar in the flow (76px on phones) */
.viewport-frame[data-vp="mobile"] .pg-head.has-cover .pg-head-inner { padding-top: calc(var(--cover-h) * var(--cover-m-pad) + var(--cover-m-top, 0px) - 76px); }
@media (min-width: 481px) {
  .viewport-frame[data-vp="mobile"] .head-cover { --fx: 22%; }
}
/* is-wall: the phone crop always spans the frame, so nothing fades in from the side. */
.viewport-frame[data-vp="mobile"] .has-cover:has(> .is-wall) { --cover-h: calc(100vw * var(--cover-m-ratio)); }
.viewport-frame[data-vp="mobile"] .head-cover.is-wall { --fx: 0%; }

/* ============================================================
   24 · Odpiralni čas & lokacija (design 13, /obisci-nas/lokacija,
   pages/obisk.blade.php). Travel modes are all server-rendered and
   toggled with [hidden], which .ob-mode{display:flex} would override.
   Arrival steps without a photo yet get a quiet numbered tile instead
   of the design's image-slot placeholder.
   ============================================================ */
.ob-mode[hidden] { display: none; }
.ob-arrive-media.is-empty { display: grid; place-items: center; }
.ob-arrive-ph {
  font-family: var(--font-display);
  font-size: 96px;
  line-height: 1;
  color: var(--ink-faint);
  opacity: 0.5;
}
/* Arrival film (»Od parkirišča do recepcije«, 2026-11-13): wide 16:9 above the
   three steps; poster + play button until clicked (preload none). */
.ob-film { position: relative; margin: 0 0 28px; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: var(--ink); }
.ob-film video { display: block; width: 100%; height: 100%; object-fit: cover; }
.ob-film-play {
  position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: flex-start; gap: 14px;
  padding: clamp(14px, 3vw, 28px); border: 0; cursor: pointer; text-align: left;
  background: linear-gradient(to top, rgba(34, 31, 27, 0.72), rgba(34, 31, 27, 0) 55%);
  color: #fff;
}
.ob-film-icon {
  display: grid; place-items: center; flex: none; width: 64px; height: 64px; border-radius: 50%;
  background: var(--pcl-orange); color: var(--on-orange, #221F1B);
  transition: transform 0.2s ease;
}
.ob-film-icon svg { margin-left: 3px; }
.ob-film-play:hover .ob-film-icon { transform: scale(1.06); }
.ob-film-label {
  font-family: var(--font-display); text-transform: uppercase; font-weight: 700;
  font-size: clamp(22px, 3.2vw, 34px); line-height: 1; letter-spacing: 0.02em; padding-bottom: 6px;
}
@media (prefers-reduced-motion: reduce) { .ob-film-icon { transition: none; } }
.viewport-frame[data-vp="mobile"] .ob-film { margin-bottom: 20px; border-radius: 8px; }
.viewport-frame[data-vp="mobile"] .ob-film-icon { width: 52px; height: 52px; }

/* ============================================================
   25 · Status popover: second link (Urnik dvoran) under
   »Odpiralni čas in prazniki« — /urnik had no place in the chrome.
   ============================================================ */
.live-popover .lp-cta-2 { margin-top: 6px; }

/* ============================================================
   26 · Mobile bottom bar: four items (Kdaj & kje · Dvorane ·
   Cenik · Prijava) instead of the design's three.
   ============================================================ */
.viewport-frame[data-vp="mobile"] .bottom-bar { grid-template-columns: repeat(4, 1fr); }

/* ============================================================
   27 · Urnik: »Iščeš odpiralni čas?« link in the hero — the old
   WordPress /urnik/ was the opening-hours page.
   ============================================================ */
.urn-hours-link {
  display: inline-flex; gap: 8px; margin-top: 10px;
  font-family: var(--font-body); font-weight: 700; font-size: 15px;
  color: #fff; text-decoration: underline; text-decoration-color: var(--pcl-orange);
  text-underline-offset: 4px;
}
.urn-hours-link:hover { color: var(--pcl-orange); }

/* ============================================================
   28 · Homepage »Pridi k nam« as a slim teaser (2026-10-07 IA
   pass): today's hours under the address, and a link to
   /obisci-nas/lokacija, which owns hours, holidays and directions.
   ============================================================ */
.visit-more {
  flex-basis: 100%;
  display: inline-flex; gap: 8px;
  font-family: var(--font-body); font-weight: 700; font-size: 16px;
  color: var(--ink); text-decoration: underline; text-decoration-color: var(--pcl-orange);
  text-underline-offset: 4px;
}
.visit-more:hover { color: var(--pcl-orange-press); }

/* ============================================================
   34 · Oprema (design 14, /obisci-nas/oprema, pages/oprema.blade.php).
   The design's <image-slot> photos are plain <img>; presets of the
   other mode and the two estimate panes are server-rendered and
   toggled, so they need [hidden] / wrapper rules the design has not.
   ============================================================ */
.op-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.op-presets button[hidden] { display: none; }
.op-est-pane { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.op-est-pane .btn { align-self: flex-start; }
/* Shoedoctor's round logo is unreadable inside the design's 34 px chip. */
.op-partner img { width: 64px; height: 64px; padding: 4px; border-radius: 10px; object-fit: contain; }
/* A full kit is taller than a laptop screen: while the receipt is sticky its lines scroll
   and the total stays in view; on very short screens the whole receipt scrolls as well. */
@container op (min-width: 821px) {
  .op-receipt {
    max-height: calc(100vh - 32px);
    max-height: calc(100dvh - 32px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .op-receipt > * { flex-shrink: 0; }
  .op-receipt > .op-rc-lines { flex-shrink: 1; min-height: 92px; overflow-y: auto; overscroll-behavior: contain; }
  .op-receipt, .op-receipt > .op-rc-lines { scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, 0.3) transparent; }
  /* The design's obIn slides a new line up 6 px, which would flash a scrollbar in the scrolling list. */
  .op-receipt > .op-rc-lines li { animation-name: opLineIn; }
}
@keyframes opLineIn { from { opacity: 0; } to { opacity: 1; } }
/* 44 px hit areas for the small round controls, drawn size unchanged. */
.op-step button, .op-add, .op-presets button, .op-chips button,
.op-rc-lines button, .op-rc-clear, .op-rc-link { position: relative; }
.op-step button::after { content: ""; position: absolute; inset: -5px; }
.op-add::after, .op-presets button::after, .op-chips button::after { content: ""; position: absolute; inset: -2px; }
.op-rc-lines button::after { content: ""; position: absolute; inset: -7px 0 -7px -18px; } /* stays inside its row: the list scrolls */
.op-rc-clear::after, .op-rc-link::after { content: ""; position: absolute; inset: -12px -6px; }

/* >>> wp-pages (sections 40–43: editorial pages, Grif bar, Kontakt, FAQ) >>> */
/* ============================================================
   40 · Editorial pages (App\Models\Page → pages/show.blade.php,
   partials in pages/page/*): /o-nas, /pravila and every page
   written in the admin. Phone first; the desktop rules start at
   900 px, the same breakpoint the viewport frame switches at.
   Three layouts (App\Services\Pages\PageView):
     article   .cp-flow     one reading column, media break out
     legal     .cp-legal    contents rail + numbered chapters
     sections  .cp-band     photo and text side by side per h2,
                            .cp-cards for the h3s inside a section
   Shared text styles: .cp-prose.
   Blocks that are a .container themselves set their vertical padding
   as `.viewport-frame .cp …`: pcl-home.css resets a container's whole
   padding on phones with a three-part selector.
   ============================================================ */
.cp { background: var(--paper); }
.cp-notice {
  margin-top: 20px;
  font-size: 14px;
  color: var(--ink-mute);
}

/* ---- head band: long titles, facts row ---- */
.cp .page-h1 { font-size: clamp(44px, 7.2vw, 100px); text-wrap: balance; }
.viewport-frame[data-vp="mobile"] .cp .page-h1 { font-size: 44px; }
.cp .page-lead { text-wrap: pretty; }
.cp .page-head.has-cover .page-lead { text-shadow: 0 1px 14px rgba(26, 24, 21, 0.7); }
.viewport-frame[data-vp="desktop"] .cp .page-head.has-cover :is(.page-h1, .page-lead) { max-width: min(760px, 56vw); }
.cp-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 24px;
  margin: 26px 0 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}
.cp-facts div { display: flex; flex-direction: column-reverse; gap: 4px; }
.cp-facts dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: 40px;
  line-height: 0.95;
  color: #fff;
}
.cp-facts dt {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.74);
}
@media (min-width: 900px) {
  .cp-facts { display: flex; flex-wrap: wrap; gap: 20px 56px; max-width: min(760px, 56vw); }
  .cp-facts dd { font-size: 54px; }
}

/* ---- shared prose (text runs inside every layout) ---- */
.cp-prose { font-size: 17px; line-height: 1.65; color: var(--ink); }
.cp-prose > :first-child { margin-top: 0; }
.cp-prose > :last-child { margin-bottom: 0; }
.cp-prose p { margin: 0 0 1em; text-wrap: pretty; }
.cp-prose a,
.cp-flow a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--pcl-orange);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.cp-prose a:hover,
.cp-flow a:hover { color: var(--pcl-orange-press); }
.cp-prose h3,
.cp-prose h4 {
  margin: 1.7em 0 0.6em;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.cp-prose h3 { font-size: 27px; }
.cp-prose h4 { font-size: 21px; color: var(--ink-soft); }
.cp-prose ul,
.cp-prose ol { margin: 0 0 1em; padding-left: 1.25em; }
.cp-prose li { margin: 0 0 0.5em; }
.cp-prose li > p { margin: 0 0 0.4em; }
.cp-prose li::marker { color: var(--pcl-orange); }
.cp-prose blockquote { margin: 0 0 1em; }
.cp-table { margin: 1.4em 0; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.cp-table table { width: 100%; min-width: 480px; border-collapse: collapse; font-size: 15px; line-height: 1.45; }
.cp-table :is(td, th) { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.cp-table th { font-weight: 800; border-bottom: 2px solid var(--ink); }
.cp-table p { margin: 0; }

/* ---- layout: article ---- */
.cp-flow {
  --measure: 680px;
  max-width: calc(var(--measure) + 40px);
  margin: 0 auto;
  padding: 36px 20px 72px;
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink);
}
.cp-flow > :first-child { margin-top: 0; }
.cp-flow > p { margin: 0 0 1.15em; text-wrap: pretty; }
.cp-flow > :is(h2, h3, h4) {
  margin: 1.8em 0 0.5em;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  text-wrap: balance;
  scroll-margin-top: 24px;
}
.cp-flow > h2 { font-size: 36px; }
.cp-flow > h3 { font-size: 27px; }
.cp-flow > h4 { font-size: 22px; }
.cp-flow > :is(ul, ol) { margin: 0 0 1.15em; padding-left: 1.3em; }
.cp-flow li { margin: 0 0 0.4em; }
.cp-flow li > p { margin: 0 0 0.3em; }
.cp-flow li::marker { color: var(--pcl-orange); }
.cp-flow > blockquote {
  margin: 1.6em 0;
  padding: 2px 0 2px 22px;
  border-left: 4px solid var(--pcl-orange);
  font-size: 1.1em;
  font-weight: 600;
}
.cp-flow > blockquote p { margin: 0 0 0.6em; }
.cp-flow > hr { width: 64px; height: 4px; margin: 2.2em auto; border: 0; background: var(--pcl-orange); }
.cp-flow > img { max-width: 100%; height: auto; border-radius: 4px; }
@media (min-width: 900px) {
  .cp-flow { padding: 64px 20px 120px; }
  .cp-flow > h2 { font-size: 45px; }
}

/* ---- layout: legal ---- */
.viewport-frame .cp .cp-legal { padding-top: 24px; padding-bottom: 72px; }
.cp-toc { display: none; }
.cp-toc-m {
  margin: 0 0 32px;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--paper-soft);
}
.cp-toc-m summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  padding: 0 18px;
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  list-style: none;
}
.cp-toc-m summary::-webkit-details-marker { display: none; }
.cp-toc-m summary::after {
  content: "";
  width: 9px;
  height: 9px;
  margin-right: 4px;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: translateY(-3px) rotate(45deg);
  transition: transform var(--dur) var(--ease);
}
.cp-toc-m[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.cp-toc-m .cp-toc-list { padding: 4px 18px 16px; }
.cp-toc-list,
.cp-toc-list ol { margin: 0; padding: 0; list-style: none; }
.cp-toc-list > li + li { margin-top: 18px; }
.cp-toc-list a { text-decoration: none; color: var(--ink-soft); }
.cp-toc-part {
  display: block;
  padding: 6px 0;
  font-family: var(--font-display);
  font-size: 19px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink) !important;
}
.cp-toc-list ol a {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 8px;
  align-items: baseline;
  padding: 7px 0 7px 12px;
  border-left: 2px solid var(--line);
  font-size: 15px;
  line-height: 1.35;
}
.cp-toc-list ol a b {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--ink-mute);
}
.cp-toc-list a:hover { color: var(--ink); }
.cp-toc-list ol a:hover { border-left-color: var(--ink-faint); }
.cp-toc-list ol a[aria-current] { border-left-color: var(--pcl-orange); color: var(--ink); font-weight: 700; }
.cp-toc-list ol a[aria-current] b { color: var(--pcl-orange-press); }

.cp-legal-intro { margin-bottom: 40px; }
.cp-part { scroll-margin-top: 20px; }
.cp-part + .cp-part { margin-top: 64px; padding-top: 56px; border-top: 1px solid var(--line-strong); }
.cp-part-h {
  display: inline-block;
  margin: 0 0 28px;
  padding-bottom: 4px;
  border-bottom: 3px solid var(--pcl-orange);
  font-family: var(--font-display);
  font-size: 40px;
  line-height: 0.95;
  text-transform: uppercase;
  color: #4A433A;
}
.cp-part > .cp-prose { margin-bottom: 8px; }
.cp-chapter { padding: 28px 0 8px; scroll-margin-top: 12px; }
.cp-chapter + .cp-chapter { border-top: 1px solid var(--line); }
.cp-chapter-h {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 4px;
  align-items: baseline;
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: 27px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  text-wrap: balance;
}
.cp-chapter:not(.has-num) .cp-chapter-h { grid-template-columns: minmax(0, 1fr); }
.cp-chapter-n { font-size: 40px; line-height: 0.8; color: var(--pcl-orange); }
/* Rules are read one at a time: top-level bullets become separated entries, their label
   (»Namen pravil:«) leads; nested points keep a plain marker. */
.cp-legal .cp-prose > ul { padding: 0; list-style: none; }
.cp-legal .cp-prose > ul > li { margin: 0; padding: 14px 0; border-top: 1px solid var(--line-soft); }
.cp-legal .cp-prose > ul > li:first-child { border-top: 0; padding-top: 0; }
.cp-legal .cp-prose > ul > li > p:last-child { margin-bottom: 0; }
.cp-legal .cp-prose > ul ul { margin: 10px 0 0; padding-left: 0; list-style: none; }
.cp-legal .cp-prose > ul ul > li { position: relative; margin: 0 0 8px; padding-left: 22px; font-size: 16px; line-height: 1.55; }
.cp-legal .cp-prose > ul ul > li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.62em;
  width: 8px;
  height: 2px;
  background: var(--pcl-orange);
}
.cp-legal .cp-prose > ul ul ul > li::before { width: 5px; height: 5px; top: 0.58em; border-radius: 50%; background: var(--ink-faint); }
.cp-legal .cp-prose strong { font-weight: 800; }
@media (min-width: 900px) {
  .cp-legal {
    display: grid;
    grid-template-columns: 260px minmax(0, 720px);
    column-gap: clamp(48px, 7vw, 112px);
    align-items: start;
  }
  .viewport-frame .cp .cp-legal { padding-top: 72px; padding-bottom: 128px; }
  .cp-toc-m { display: none; }
  .cp-toc {
    display: block;
    position: sticky;
    top: 28px;
    max-height: calc(100vh - 56px);
    overflow-y: auto;
    padding-right: 8px;
  }
  .cp-toc-h {
    margin: 0 0 16px;
    font-family: var(--font-display);
    font-size: 14px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ink-mute);
  }
  .cp-part-h { font-size: 54px; margin-bottom: 36px; }
  .cp-chapter { padding: 40px 0 16px; }
  .cp-chapter-h { grid-template-columns: 64px minmax(0, 1fr); font-size: 31px; margin-bottom: 22px; }
  .cp-chapter-n { font-size: 54px; }
  .cp-chapter.has-num > .cp-prose { padding-left: 68px; }
}

/* ---- layout: sections ---- */
.viewport-frame .cp .cp-intro { padding-top: 28px; }
.cp-intro .zg-video { --wide: 100%; max-width: 1080px; margin: 0 auto; }
.cp-intro > p { max-width: 68ch; font-size: 18px; line-height: 1.65; }
.cp-band { padding: 40px 0; scroll-margin-top: 12px; }
.cp-band + .cp-band { border-top: 1px solid var(--line); }
.cp[data-layout="sections"] > .cp-band:last-of-type { padding-bottom: 72px; }
.cp-band-in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; }
.cp-band-in > * { min-width: 0; }
.cp-band-photo {
  display: block;
  overflow: hidden;
  border-radius: var(--r-card);
  background: var(--paper-deep);
  cursor: zoom-in;
}
.cp-band-photo img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease); }
.cp-band-photo:hover img { transform: scale(1.02); }
.cp-band.is-portrait .cp-band-photo { max-width: 420px; }
.cp-band-eyebrow {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pcl-orange-press);
}
.cp-band-h {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  text-wrap: balance;
  color: #4A433A;
}
.cp-band-h a { color: inherit; text-decoration: none; }
.cp-band-h a:hover { color: var(--pcl-orange-press); }
.cp-band-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0; padding: 0; list-style: none; }
.cp-band-tags li {
  padding: 7px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink-soft);
}
.cp-band-note { margin: 16px 0 0; font-size: 15px; color: var(--ink-soft); }
.cp-band-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-top: 8px;
  font-weight: 800;
  font-size: 16px;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--pcl-orange);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
.cp-band-more:hover { color: var(--pcl-orange-press); }
/* The other photos: a swipe row on phones, one justified row on desktop — never cropped. */
.cp-thumbs {
  display: flex;
  gap: 6px;
  margin: 22px -20px 0;
  padding: 0 20px 4px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scroll-padding: 0 20px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.cp-thumbs::-webkit-scrollbar { display: none; }
.cp-thumb {
  flex: 0 0 auto;
  height: 132px;
  aspect-ratio: var(--r);
  overflow: hidden;
  border-radius: 6px;
  background: var(--paper-deep);
  cursor: zoom-in;
  scroll-snap-align: start;
}
.cp-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cp-band .zg-video { --wide: 100%; margin: 28px 0 0; }
:is(.cp-band-photo, .cp-thumb, .cp-card-photo):focus-visible { outline: 3px solid var(--pcl-orange); outline-offset: 3px; }
@media (min-width: 900px) {
  .viewport-frame .cp .cp-intro { padding-top: 72px; }
  .cp-band { padding: 88px 0; }
  .cp-band + .cp-band { border-top: 0; padding-top: 24px; }
  .cp-intro + .cp-band { padding-top: 88px; }
  .cp[data-layout="sections"] > .cp-band:last-of-type { padding-bottom: 128px; }
  .cp-band-in {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    column-gap: clamp(40px, 5vw, 80px);
    align-items: center;
  }
  .cp-band.is-flip .cp-band-photo { order: 2; }
  .cp-band.is-flip .cp-band-in { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .cp-band.is-portrait .cp-band-in { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
  .cp-band.is-portrait.is-flip .cp-band-in { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); }
  .cp-band.is-portrait .cp-band-photo { max-width: none; }
  .cp-band.is-text .cp-band-in { grid-template-columns: minmax(0, 720px); }
  .cp-band-h { font-size: clamp(40px, 4.2vw, 63px); margin-bottom: 22px; }
  .cp-thumbs { margin: 28px 0 0; padding: 0; overflow: visible; }
  .cp-thumb { flex: var(--r) 1 0; height: auto; min-width: 0; }
  .cp-thumb img { transition: opacity var(--dur) var(--ease); }
  .cp-thumb:hover img { opacity: 0.86; }
}

/* ---- cards: the h3s of a section ---- */
.cp-cards-h {
  display: inline-block;
  margin: 0 0 28px;
  padding-bottom: 4px;
  border-bottom: 3px solid var(--pcl-orange);
  font-family: var(--font-display);
  font-size: 40px;
  line-height: 0.95;
  text-transform: uppercase;
  color: #4A433A;
}
.cp-band-in + .cp-cards { margin-top: 40px; }
.cp-cards { display: grid; gap: 40px; }
.cp-card { min-width: 0; scroll-margin-top: 12px; }
.cp-card-photo {
  display: block;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: var(--r-card);
  background: var(--paper-deep);
  cursor: zoom-in;
}
.cp-card-photo img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease); }
.cp-card-photo:hover img { transform: scale(1.03); }
.cp-card-h {
  margin: 18px 0 12px;
  font-family: var(--font-display);
  font-size: 31px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}
.cp-card .cp-prose { font-size: 16px; line-height: 1.6; }
/* A card may open with a quote and who said it (two paragraphs in one blockquote). */
.cp-card .cp-prose blockquote { margin: 0 0 14px; padding: 0 0 14px; border-bottom: 1px solid var(--line); }
.cp-card .cp-prose blockquote p { margin: 0; }
.cp-card .cp-prose blockquote p:first-child { font-size: 19px; font-weight: 800; line-height: 1.35; color: var(--ink); }
.cp-card .cp-prose blockquote p + p { margin-top: 6px; font-size: 14px; font-style: italic; color: var(--ink-mute); }
@media (min-width: 900px) {
  .cp-cards-h { font-size: clamp(45px, 6vw, 99px); margin-bottom: 44px; }
  .cp-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .cp-band-photo img,
  .cp-card-photo img { transition: none; }
  .cp-band-photo:hover img,
  .cp-card-photo:hover img { transform: none; }
}


/* ============================================================
   41 · Grif bar (/o-nas/grif-bar, pages/grif-bar.blade.php) —
   the »sections« layout of §40 plus: the bar's hours for the
   next seven days in the head band (pages/page/grif-hours) and
   the homepage zone's eyebrow + tags on each space.
   ============================================================ */
.gb-hours { margin-top: 8px; }
.gb-now {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
}
.gb-dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, 0.45); }
.gb-hours[data-state="open"] .gb-dot { background: var(--ok); box-shadow: 0 0 0 4px rgba(79, 157, 95, 0.25); }
.gb-hours[data-state="later"] .gb-dot { background: var(--pcl-orange); }
.gb-week {
  display: flex;
  gap: 8px;
  margin: 0 -20px;
  padding: 0 20px 6px;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scroll-padding: 0 20px;
  scrollbar-width: none;
}
.gb-week::-webkit-scrollbar { display: none; }
.gb-day {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 112px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--r-button);
  background: rgba(26, 24, 21, 0.62);
  scroll-snap-align: start;
}
.gb-day.is-today { border-color: var(--pcl-orange); }
.gb-day-k {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}
.gb-day.is-today .gb-day-k { color: var(--pcl-orange); }
.gb-day-k i { font-family: var(--font-body); font-style: normal; font-size: 12px; letter-spacing: 0; color: rgba(255, 255, 255, 0.6); white-space: nowrap; }
.gb-day-v { font-family: var(--font-display); font-size: 22px; font-weight: 700; line-height: 1; color: #fff; white-space: nowrap; }
.gb-day.is-off .gb-day-v { color: rgba(255, 255, 255, 0.6); }
.gb-day-n { font-size: 12px; line-height: 1.25; color: var(--pcl-orange); }
.gb-hours-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-top: 6px;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  text-decoration: underline;
  text-decoration-color: var(--pcl-orange);
  text-underline-offset: 4px;
}
.gb-hours-link:hover { color: var(--pcl-orange); }
.gb .page-head-in { padding-bottom: 28px; }
@media (min-width: 900px) {
  .gb-hours { margin-top: 14px; }
  .gb-week { margin: 0; padding: 0; overflow: visible; }
  .gb-week { max-width: 800px; }
  .gb-day { min-width: 0; flex: 1 0 auto; padding: 10px 12px; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
  .gb-day-v { font-size: 19px; }
  .gb .page-head.has-cover .page-lead { max-width: min(520px, 40vw); }
  .gb .page-head-in { padding-bottom: 36px; }
}


/* ============================================================
   42 · Kontakt (/o-nas/kontakt, pages/kontakt.blade.php) — the
   phone lines as a board: who answers on the left, the number
   itself as the headline on the right (a tap target on phones).
   Below it the address with today's state and the company data.
   ============================================================ */
.viewport-frame .cp .kt-board { padding-top: 20px; }
.kt-lines { margin: 0; padding: 0; list-style: none; border-bottom: 1px solid var(--line-strong); }
.kt-line { display: grid; gap: 10px; padding: 26px 0; border-top: 1px solid var(--line-strong); }
.kt-line:first-child { border-top: 0; }
.kt-role {
  margin: 0;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #4A433A;
  text-wrap: balance;
}
.kt-hours { margin: 8px 0 0; max-width: 46ch; font-size: 15px; line-height: 1.5; color: var(--ink-soft); text-wrap: pretty; }
.kt-num {
  justify-self: start;
  display: inline-block;
  padding: 4px 0;
  font-family: var(--font-display);
  font-size: clamp(38px, 11.4vw, 52px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.01em;
  white-space: nowrap;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 3px solid transparent;
  transition: color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.kt-line.is-main .kt-num { color: var(--pcl-orange-press); }
.kt-num:hover { color: var(--pcl-orange-press); border-bottom-color: var(--pcl-orange); }
.kt-line-mail .kt-num { font-size: clamp(28px, 8.2vw, 44px); }
.kt-foot { display: grid; gap: 40px; }
.viewport-frame .cp .kt-foot { padding-top: 40px; padding-bottom: 72px; }
.kt-state {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.kt-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ink-faint); }
.kt-state[data-state="open"] .kt-dot { background: var(--ok); box-shadow: 0 0 0 4px rgba(79, 157, 95, 0.2); }
.kt-address {
  display: flex;
  flex-direction: column;
  font-family: var(--font-display);
  font-size: 40px;
  font-style: normal;
  font-weight: 700;
  line-height: 0.98;
  text-transform: uppercase;
  color: #4A433A;
}
.kt-links { display: flex; flex-wrap: wrap; gap: 4px 28px; margin: 18px 0 0; padding: 0; list-style: none; }
.kt-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--pcl-orange);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
.kt-links a:hover { color: var(--pcl-orange-press); }
.kt-company { padding: 24px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--paper-soft); }
.kt-company-k {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.kt-company-name { margin: 0 0 6px; font-size: 18px; font-weight: 800; line-height: 1.35; }
.kt-company-addr { margin: 0; font-size: 16px; line-height: 1.5; color: var(--ink-soft); }
.kt-rows { margin: 18px 0 0; border-top: 1px solid var(--line); }
.kt-rows > div { display: grid; gap: 2px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.kt-rows > div:last-child { border-bottom: 0; padding-bottom: 0; }
.kt-rows dt { font-size: 13px; color: var(--ink-mute); }
.kt-rows dd { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 14px; margin: 0; font-size: 16px; font-weight: 700; font-variant-numeric: tabular-nums; }
.kt-copy {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-soft);
  cursor: pointer;
}
.kt-copy:hover { border-color: var(--ink); color: var(--ink); }
.kt [x-cloak] { display: none; }
@media (min-width: 900px) {
  /* The head band grows so the two people in the photo are whole, below the utility row. */
  .kt .page-head.has-cover { min-height: clamp(420px, 34vw, 520px); display: flex; flex-direction: column; justify-content: flex-end; }
  .kt .page-head.has-cover .page-head-in { width: 100%; }
  .kt .page-head.has-cover :is(.page-h1, .page-lead) { max-width: min(560px, 42vw); }
  .viewport-frame .cp .kt-board { padding-top: 56px; }
  .kt-line { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 48px; align-items: center; padding: 34px 0; }
  .kt-role { font-size: 27px; }
  .kt-num { justify-self: end; font-size: clamp(52px, 5.4vw, 81px); }
  .kt-line.is-main .kt-num { font-size: clamp(64px, 7.4vw, 108px); }
  .kt-line-mail .kt-num { font-size: clamp(40px, 4.2vw, 63px); }
  .kt-foot { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: 64px; align-items: start; }
  .viewport-frame .cp .kt-foot { padding-top: 72px; padding-bottom: 128px; }
  .kt-address { font-size: clamp(54px, 5.6vw, 81px); }
  .kt-company { padding: 32px; }
}


/* ============================================================
   43 · FAQ (/obisci-nas/faq, pages/faq.blade.php) — groups of
   native <details>; the group name sits beside its questions on
   desktop and stays in view while they are read.
   ============================================================ */
.fq-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.fq-jump a {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 17px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  transition: border-color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}
.fq-jump a em { font-family: var(--font-body); font-style: normal; font-size: 13px; letter-spacing: 0; text-transform: none; color: rgba(255, 255, 255, 0.66); }
.fq-jump a:hover { border-color: var(--pcl-orange); background: rgba(244, 150, 0, 0.14); }
.fq-group { scroll-margin-top: 8px; }
.viewport-frame .cp .fq-group { padding-top: 40px; }
.viewport-frame .cp .fq-group:last-of-type { padding-bottom: 56px; }
.fq-group-head { margin-bottom: 14px; }
.fq-group-head h2 {
  display: inline-block;
  margin: 0;
  padding-bottom: 4px;
  border-bottom: 3px solid var(--pcl-orange);
  font-family: var(--font-display);
  font-size: 40px;
  line-height: 0.95;
  text-transform: uppercase;
  color: #4A433A;
}
.fq-more {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-top: 6px;
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--pcl-orange);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
.fq-more:hover { color: var(--pcl-orange-press); }
.fq-list { border-top: 1px solid var(--line-strong); }
.fq-item { border-bottom: 1px solid var(--line); }
.fq-item summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 24px;
  gap: 16px;
  align-items: center;
  min-height: 60px;
  padding: 16px 2px;
  cursor: pointer;
  list-style: none;
}
.fq-item summary::-webkit-details-marker { display: none; }
.fq-q { font-size: 18px; font-weight: 800; line-height: 1.3; color: var(--ink); text-wrap: balance; }
.fq-q small { display: block; margin-top: 4px; font-size: 13px; font-weight: 600; line-height: 1.35; color: var(--ink-mute); text-wrap: pretty; }
.fq-item summary i { position: relative; width: 24px; height: 24px; }
.fq-item summary i::before,
.fq-item summary i::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 11px;
  width: 16px;
  height: 2px;
  background: var(--ink);
  transition: transform var(--dur) var(--ease), background var(--dur-fast) var(--ease);
}
.fq-item summary i::after { transform: rotate(90deg); }
.fq-item[open] summary i::after { transform: rotate(0deg); }
.fq-item summary:hover .fq-q { color: var(--pcl-orange-press); }
.fq-item summary:hover i::before,
.fq-item summary:hover i::after { background: var(--pcl-orange-press); }
.fq-a { padding: 0 2px 22px; max-width: 68ch; font-size: 16px; line-height: 1.6; color: var(--ink-soft); }
.fq-a h3 { font-size: 20px; color: var(--ink); }
.fq-applies { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin-top: 18px !important; padding-top: 14px; border-top: 1px dashed var(--line-strong); font-size: 14px; }
.fq-applies span { font-family: var(--font-display); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-mute); }
.fq-applies a { display: inline-flex; align-items: center; min-height: 32px; }
.viewport-frame .cp.fq .pg-contact { padding-bottom: 72px; }
@media (min-width: 900px) {
  .fq-group {
    display: grid;
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    column-gap: 64px;
    align-items: start;
  }
  .viewport-frame .cp .fq-group { padding-top: 88px; }
  .viewport-frame .cp .fq-group:last-of-type { padding-bottom: 96px; }
  .fq-group-head { position: sticky; top: 28px; margin-bottom: 0; }
  .fq-group-head h2 { font-size: clamp(45px, 4.6vw, 63px); }
  .fq-q { font-size: 20px; }
  .fq-item summary { min-height: 68px; padding: 20px 4px; }
  .fq-a { padding: 0 4px 28px; font-size: 17px; }
  .viewport-frame .cp.fq .pg-contact { padding-bottom: 128px; }
}
@media (prefers-reduced-motion: reduce) {
  .fq-item summary i::before,
  .fq-item summary i::after,
  .cp-toc-m summary::after { transition: none; }
}
/* <<< wp-pages <<< */

/* >>> home-truth (section 50: homepage zones made data-driven, 2026-10-11) >>> */
/* ============================================================
   50 · Homepage zones without mock content
   (docs/plans/audit/home-truth.md).
   a) Postavljanje without the editorial »/02 Balvani · tloris«
      column (.pv-board--solo): the routes block spreads over the
      sheet — new routes left, the whole-gym inventory right, the
      divider between them turns vertical. Phones and the ≤1080px
      desktop keep the design's single column.
   b) Ticket wizard: the morning ticket is not sold at weekends
      and on public holidays → a disabled, still readable option.
   c) /spoznaj-center: the one-line link that replaced the
      repeated »Pridi k nam« block.
   d) Kids zone without a spotlight (nothing upcoming).
   ============================================================ */
.pv-board--solo { grid-template-columns: minmax(0, 1fr); }
/* Floor plans without route data (CRM and its snapshot unavailable, no fallback rows, 2026-10-14):
   the plan column alone, centred. */
.pv-board--plans { grid-template-columns: minmax(0, 1fr); }
.pv-sheet .pv-board--plans .pv-board-plans { grid-column: 1; grid-row: auto; }
@media (min-width: 1081px) {
  .viewport-frame[data-vp="desktop"] .pv-board--solo .pv-smeri {
    max-width: none;
    display: grid;
    grid-template-columns: minmax(360px, 1fr) 1px minmax(360px, 1fr);
    grid-template-rows: auto 1fr auto;
    column-gap: 48px;
    row-gap: 20px;
    align-items: start;
  }
  .viewport-frame[data-vp="desktop"] .pv-board--solo .pv-smeri > .pv-plans-head { grid-column: 1; grid-row: 1; }
  .viewport-frame[data-vp="desktop"] .pv-board--solo .pv-smeri > .pv-ledger { grid-column: 1; grid-row: 2; }
  .viewport-frame[data-vp="desktop"] .pv-board--solo .pv-smeri > .pv-walls-hint { grid-column: 1; grid-row: 3; }
  .viewport-frame[data-vp="desktop"] .pv-board--solo .pv-smeri > .pv-smeri-div {
    grid-column: 2; grid-row: 1 / -1;
    width: 1px; height: auto; align-self: stretch; margin: 0;
  }
  .viewport-frame[data-vp="desktop"] .pv-board--solo .pv-smeri > .pv-inv { grid-column: 3; grid-row: 1 / span 2; }
  .viewport-frame[data-vp="desktop"] .pv-board--solo .pv-smeri > .pv-smeri-cta { grid-column: 3; grid-row: 3; justify-self: start; margin-top: 0; }
}

/* No new routes in the last 14 days and no floor plan (2026-11-11): the whole-gym inventory alone,
   over the full sheet — not parked in the right column next to an empty left one. */
@media (min-width: 1081px) {
  .viewport-frame[data-vp="desktop"] .pv-board--solo.pv-board--inv .pv-smeri { display: flex; max-width: none; }
  .viewport-frame[data-vp="desktop"] .pv-board--inv .pv-inv {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 48px;
    row-gap: 20px;
    align-items: start;
  }
  .viewport-frame[data-vp="desktop"] .pv-board--inv .pv-inv > .pv-inv-head { grid-column: 1; grid-row: 1; }
  .viewport-frame[data-vp="desktop"] .pv-board--inv .pv-inv > .pv-range { grid-column: 1; grid-row: 2; }
  .viewport-frame[data-vp="desktop"] .pv-board--inv .pv-inv > .pv-inv-walls { grid-column: 2; grid-row: 1 / span 2; }
}

.pw-seg-opt:disabled { cursor: not-allowed; }
.pw-seg-opt:disabled .pw-seg-label,
.pw-seg-opt:disabled .pw-seg-sub { opacity: 0.45; }
.pw-seg-opt:disabled .pw-seg-sub { text-decoration: line-through; }
.pw-hint--rule { margin-top: 10px; }

.spz-visit-line { margin: 0 auto; }
.spz-visit-line .visit-more { flex-basis: auto; min-height: 44px; align-items: center; margin: 24px 0 52px; }

.kids--bare .kids-altrow,
.kids--bare .kids-camps { margin-top: 0; }

/* e) Postavljanje inventory chips: the live wall names (»Skalaški turnc«, »Slovenski steber«)
      are longer than the design's three — `1fr` columns grew with them and the third chip ran
      off a phone screen. Columns may shrink; phones get two per row. */
.pv-inv-walls { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pv-inv-chip { min-width: 0; }
.pv-inv-chip-w { min-width: 0; overflow-wrap: anywhere; }
.viewport-frame[data-vp="mobile"] .pv-inv-walls { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* f) Aktualno with fewer than three columns of cards (data-cols from partials/aktualno): the
      grid takes only the columns it fills — no empty third track. One card keeps a card width.
      Tablet and phone rules (higher specificity) still win. */
.ak-feed[data-cols="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ak-feed[data-cols="1"] { grid-template-columns: minmax(0, 560px); }
/* <<< home-truth <<< */

/* >>> program-fix (section 60: program pages, hubs and /programi — launch pass 2026-10-11) >>> */
/* ============================================================
   60 · Program pages (pages/program.blade.php), hubs
   (pages/programi-hub.blade.php) and the /programi index —
   fixes of docs/plans/audit/programs-visual.md:
   a) media: video = the stories' click-to-load facade, photos =
      the stories' justified mosaic + lightbox (pcl-zgodbe.css is
      loaded on program pages with media); every photo keeps its
      aspect ratio, rows are centred, nothing is cropped;
   b) tables with a header row stack into labelled cards on phones;
   c) »no upcoming terms« state; d) contrast + 44 px targets;
   e) one fixed layer on phones (the bottom bar);
   f) hub cards without a photo, matrix labels; g) lean index.
   ============================================================ */

/* ---- 60a · Video & galerija ---- */
.pp-media-stack { display: grid; gap: 24px; }
.pp-media .zg-video,
.pp-media .zg-gal,
.pp-media .zg-fig { --wide: 100%; margin: 0 auto; }
.pp-media .zg-video { width: 100%; max-width: 960px; }
.pp-media .zg-video-frame { border-radius: var(--r-card); }
.pp-media .zg-fig img { border-radius: 10px; }
.pp-gal { container-type: inline-size; min-width: 0; }
/* --per photos of 3:2 fit one row; a row that does not fill up is centred, never stretched
   or cropped (max-width caps the growth, aspect-ratio keeps the height). */
.pp-gal .zg-mosaic {
  --per: 2;
  --gap: 8px;
  --grow: 2.1;          /* phones: a lone last photo takes the full row */
  --row: 110px;
  gap: var(--gap);
  justify-content: center;
}
@supports (width: 1cqw) {
  .pp-gal .zg-mosaic { --row: calc((100cqw - (var(--per) - 1) * var(--gap)) / (var(--per) * 1.56)); }
}
.pp-gal .zg-mosaic::after { display: none; }
.pp-gal .zg-tile {
  max-width: calc(var(--r) * var(--row) * var(--grow));
  max-height: none;
  border-radius: 10px;
}
@media (min-width: 900px) {
  .pp-gal .zg-mosaic { --per: 4; --gap: 12px; --grow: 1.06; --row: 190px; }
  .pp-gal[data-count="2"] .zg-mosaic { --per: 2; }
  .pp-gal[data-count="3"] .zg-mosaic,
  .pp-gal[data-count="5"] .zg-mosaic,
  .pp-gal[data-count="6"] .zg-mosaic,
  .pp-gal[data-count="9"] .zg-mosaic { --per: 3; }
}

/* ---- 60b · Tables with a header row (camps overview): labelled cards on phones ---- */
.viewport-frame[data-vp="mobile"] .pp-prose table.is-stack {
  display: block;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: none;
}
.viewport-frame[data-vp="mobile"] .pp-prose table.is-stack thead {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.viewport-frame[data-vp="mobile"] .pp-prose table.is-stack tbody,
.viewport-frame[data-vp="mobile"] .pp-prose table.is-stack tr { display: block; }
.viewport-frame[data-vp="mobile"] .pp-prose table.is-stack tr {
  padding: 14px 16px;
  margin-bottom: 10px;
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
}
.viewport-frame[data-vp="mobile"] .pp-prose table.is-stack td {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 12px;
  padding: 3px 0;
  border: 0;
  white-space: normal;
  font-weight: 400;
}
.viewport-frame[data-vp="mobile"] .pp-prose table.is-stack td::before {
  content: attr(data-label);
  padding-top: 3px;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
}
.viewport-frame[data-vp="mobile"] .pp-prose table.is-stack td:first-child {
  display: block;
  padding-bottom: 8px;
  font-size: 17px;
}
.viewport-frame[data-vp="mobile"] .pp-prose table.is-stack td:first-child::before { content: none; }
.viewport-frame[data-vp="mobile"] .pp-prose table.is-stack td:last-child { font-weight: 600; }
.viewport-frame[data-vp="mobile"] .pp-prose table.is-stack td:empty { display: none; }

/* ---- 60c · Termini: nothing upcoming ---- */
.pp-termini-none { max-width: 720px; }
.pp-none {
  margin: 0;
  padding: 20px 24px;
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink-soft);
}

/* ---- 60d · Contrast (AA) and tap targets ---- */
.pp-anchors-k,
.pp-term-n,
.pp-crumbs,
.pp-crumbs a { color: var(--ink-soft); }
.pp-crumbs a:hover { color: var(--pcl-orange-press); }
.viewport-frame[data-vp="mobile"] .pp-crumbs { align-items: center; row-gap: 0; }
.viewport-frame[data-vp="mobile"] .pp-crumbs a,
.viewport-frame[data-vp="mobile"] .hero.pp-hero .hero-secondary {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.viewport-frame[data-vp="mobile"] .hero.pp-hero .hero-secondary { padding-bottom: 0; border-bottom: 0; text-decoration: underline; text-underline-offset: 6px; text-decoration-color: rgba(255,255,255,0.5); }
.pp-term-cta { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }

/* Facts band: as many columns as tiles, so two or three tiles do not leave half the row empty. */
.viewport-frame[data-vp="desktop"] .pp-facts-grid[data-count="1"] { grid-template-columns: minmax(0, 1fr); }
.viewport-frame[data-vp="desktop"] .pp-facts-grid[data-count="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.viewport-frame[data-vp="desktop"] .pp-facts-grid[data-count="3"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* ---- 60e · Phones: one fixed layer. The bottom bar stays; the program's sticky pill is a
   desktop element (the hero, the term rows and the prijava panel carry the CTA, and
   ProgramController shares `bottomBarAction` for the bar's action slot). ---- */
.viewport-frame[data-vp="mobile"] .pp-sticky { display: none; }

/* ---- 60f · Hubs: a card without a photo has no media block ---- */
.pg-card-tags { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 4px; }
.pg-card-tags .pg-spots { padding: 5px 10px 5px 8px; border-radius: 999px; background: var(--paper-deep); }
.pg-card-tags .pg-card-match { position: static; }
.pg-card.is-nomedia .pg-card-body { padding-top: 20px; }

/* ---- 60g · /programi: title + tagline rows under a hub heading ---- */
.pg-index-h a { color: inherit; text-decoration: none; }
.pg-index-h a:hover { color: var(--pcl-orange-press); }
.pg-index-item a { grid-template-areas: "title arrow" "sub arrow"; min-height: 44px; align-content: center; }
/* <<< program-fix <<< */

/* >>> a11y (section 90: WCAG 2.2 AA — contrast, focus, tap targets) >>> */
/* ============================================================
   90 · Accessibility (WCAG 2.2 AA) — contrast, focus, tap targets
   Source of truth: docs/plans/audit/a11y.md (measured ratios).
   The generated design sheets stay untouched; every fix is here and
   loads last. Grouped by rule so a future design sync only needs this
   block re-checked (re-run the axe + contrast probe, see the doc).

   Brand decisions (owner quality bar = AA, keep the brand):
   1. Text/icons on an ORANGE fill are near-black, never white
      (#1F1C18 on #F49600 = 7.44:1; white was 2.28:1).
   2. ORANGE is not a text colour on light surfaces. Text accents use
      --pcl-orange-text (same hue, darker). Orange stays for fills,
      bars, dots, underlines and for text on the dark stage.
   3. Muted greys that fell below 4.5:1 move to the nearest passing token.
   4. One two-tone focus ring (visible on cream, white, orange, dark).
   5. Every control has a >= 24px hit area (2.5.8), primary mobile
      controls >= 44px — via padding or an inset ::after, never by
      changing the visual size.
   ============================================================ */

/* ---- 90.1 · Tokens -------------------------------------------
   Measured contrast of --pcl-orange-text (#955B00):
     cream #F7F4EF 5.07 · paper-soft #FBF8F2 5.25 · paper-deep #EEEAE3 4.64
     white 5.56 · orange-tint #FBF1DE 4.96 · orange-soft #FFE9C2 4.69
   --on-orange (#1F1C18) on --pcl-orange #F49600 7.44 · on --pcl-orange-deep 5.93
   --pcl-orange-active (#C77D00, pressed fill) with --on-orange 5.14
   --pcl-orange-press was only ever used as a TEXT tone (3.7:1 on cream);
   it now aliases the text tone, so every legacy `color: var(--pcl-orange-press)`
   passes without touching the generated sheets.                         */
:root {
  --pcl-orange-text: #955B00;
  --pcl-orange-text-hover: #7A4B00;
  --pcl-orange-text-large: #B86F00;   /* >= 24px (or >= 18.66px bold) only: 3.60 cream · 3.73 paper-soft · 3.30 paper-deep */
  --pcl-orange-active: #C77D00;
  --on-orange: #1F1C18;
  --pcl-orange-press: var(--pcl-orange-text);
  --a11y-ring-dark: #1F1C18;
  --a11y-ring-light: #FFFFFF;
}

/* ---- 90.2 · Text on orange fills is near-black ---------------- */
.btn-primary,
.btn-primary:hover,
.btn-outline:hover,
.eyebrow.on-orange,
.ekl-groups a > em,
.ek-pill-ghost.is-on,
.ek-picked-badge,
.ek-spirit.is-on,
.kc-pill.live,
.fn-btn,
.fs-follow:hover,
.dd-badge,
.md-cta,
.pp-seg--plezanje,
.pp-term-cta:hover,
.pp-seg-ctl button.is-active,
.pp-sticky-cta,
.pp-sticky-cta:hover,
.pg-chip.is-sel.is-active,
.pg-card-match,
.spz-ch-badge {
  color: var(--on-orange);
}
.btn-primary:active { background: var(--pcl-orange-active); color: var(--on-orange); }

/* ---- 90.3 · Orange as TEXT on light surfaces ------------------- */
a { color: var(--pcl-orange-text); }
a:hover { color: var(--pcl-orange-text-hover); }
.btn-outline { color: var(--pcl-orange-text); }
.page-body a { color: var(--pcl-orange-text); }
.page-body a:hover { color: var(--pcl-orange-text-hover); }
.cnk-mark,
.cnk-infocard .cnk-infoprice,
.pw-step-num,
.pw-hint,
.spz-ch-eyebrow,
.spz-group-div .gd-code,
.s2-chip-num {
  color: var(--pcl-orange-text);
}
/* large display type (>= 24px): the 3:1 tone keeps more of the brand orange */
.pg-index-arrow,
.cp-chapter-n,
.err-code,
.spz-intro h2 .accent,
.ob-arrive-n {
  color: var(--pcl-orange-text-large);
}

/* ---- 90.4 · Muted / faint greys that fell below 4.5:1 ----------- */
.pp-crumb-sep,
.pp-term-n,
.pp-term-y,
.pp-anchors-k,
.pp-term-cta.is-none,
.ek-qa-num,
.zg-pager-step.is-off,
.op-c-out,
.op-tr.is-off .op-item b,
.ak-setter-sep {
  color: var(--ink-mute);
}
.ek-card-initials { color: var(--ink-mute-deco); }
.pw-seg-sub { color: var(--ink-soft); }
.pp-term-status.is-full { color: #B83A3A; }

/* dark stage: translucent whites below 4.5:1 */
.zg-bolt em,
.pp-contact-k,
.ob-hero .ob-axis span { color: rgba(255, 255, 255, 0.55); }

/* ---- 90.5 · Component fixes found by the probe ------------------ */
/* orange text token is for LIGHT surfaces; the dark variant keeps the brand orange */
.spz-ch-eyebrow.ondark,
.ondark .spz-ch-eyebrow { color: var(--pcl-orange); }

/* urnik pills: full-strength text; light-green text on the dark hero */
.urn-pill strong { opacity: 1; }
.urn-now-item .urn-pill.is-free { color: #8ED19D; }
.cnk-hero[data-tone="light"] .urn-now-item .urn-pill.is-free { color: #2E6B3C; }
/* »zaprto« pill on the dark live strip: the light-surface grey was 1.9:1 there */
.urn-now-item .urn-pill.is-off { background: rgba(255,255,255,.1); color: rgba(255,255,255,.82); }
.cnk-hero[data-tone="light"] .urn-now-item .urn-pill.is-off { background: rgba(31,28,24,.08); color: var(--ink-soft); }
.urn-pick-hint { opacity: 1; color: var(--ink-mute); }

/* dark panels: muted label on near-black */
.grif-panel .grif-panel-num { color: rgba(255, 255, 255, 0.6); }
.zg-bolt.is-empty { color: rgba(255, 255, 255, 0.5); }
.page-head .zg-chip.is-on em { color: rgba(26, 24, 21, 0.85); }
.ek-p-initials { color: rgba(255, 255, 255, 0.4); }

/* voucher front is an orange card: handwriting in ink, not white */
.db-hw-occ { color: #1a1815; }

/* ---- 90.6 · Hover / active / selected states -----------------------
   Found with a CDP forced-pseudo-state probe (every link/button in :hover,
   :focus-visible, :active). Light surfaces: hover text moves to the dark
   text tone (never #DA8500 = 2.6:1). Dark surfaces keep orange.            */
/* Global link hover on a dark surface: restore the old orange-deep.
   :where() keeps specificity equal to a:hover, so component rules still win. */
:where(.page-head:not([data-tone="light"]), .cnk-hero:not([data-tone="light"]), .pg-head, .hero, .ob-hero, .op-hero,
  .ek-head, .ek-p-hero, .spz-hero, .zg-hero--split, .zg-hero--video, .zg-hero--full, .pp-hero, .footer,
  .pp-prijava-panel, .pg-contact-panel, .topbar[data-style="dark"]) a:hover {
  color: var(--pcl-orange-deep);
}
.brand-lockup:hover,
.zg-toggle:hover,
.zg-kicker-tag:hover { color: inherit; }
.ob-map-card:hover { color: #fff; }

/* light variants of the top bar: orange hover text → dark tone */
.topbar[data-style="light"] .utility-nav a:hover,
.topbar[data-style="light"] .nav .nav-trigger:hover,
.topbar[data-style="light"] .nav .nav-trigger[aria-expanded="true"],
.topbar[data-style="light"] .lang-switch button:hover,
.cnk-hero[data-tone="light"] .cnk-crumbs a:hover,
.zg-hero--read .zg-crumbs a:hover,
.zg-hero--interview .zg-crumbs a:hover { color: var(--pcl-orange-text-hover); }

/* hover colours designed for light surfaces */
.cnk-section a:hover, .cnk-band a:hover,
.ekl-mail,
.ek-f-clear:hover,
.ek-f-shuffle:hover,
.ek-card:hover .ek-card-name,
.ek-others-head a:hover,
.pricing.is-compact .pw-extras-link:hover,
.pricing.is-compact .pw-alllink:hover,
.pw-extras-link:hover,
.pw-auto-btn,
.start-card:hover .start-cta,
.kc-link:hover,
.kc-stop:hover .kc-name,
.kids-alt:hover .kids-alt-arrow,
.ak-cta:hover,
.ak-section-all:hover,
.start-alllink:hover,
.pp-crumbs a:hover,
.pp-acc-item summary:hover,
.zg-lead:hover .zg-lead-title,
.zg-card:hover .zg-card-title,
a.zg-pager-step:hover,
.zg-flow a:hover,
.zg-hit:hover .zg-hit-title,
.zg-suggest-all:hover,
/* (dark surfaces — .zg-series, .ob-hero, .op-receipt, .op-band, .op-step — keep their orange hover) */
.zg-prevnext a:hover b { color: var(--pcl-orange-text-hover); }
.urn-nowline em { color: var(--pcl-orange-text); }
.ak-cta { color: var(--pcl-orange-text); }

/* arrows that follow the hovered link colour */
.btn-outline:hover { background: var(--pcl-orange); color: var(--on-orange); border-color: var(--pcl-orange); }

/* selected/active: filled orange chips carry near-black text, also on children */
.ek-pill-ghost.is-on em,
.zg-chip.is-on em { color: var(--on-orange); }
.ekl-groups a:hover > em:not(.is-full) { color: #fff; }
.s2-nova-tab.is-active .nt-code { opacity: 1; }
.s2-nova-tab:not(.is-active) .nt-code { opacity: 1; color: #B3A695; }
.live-pill .live-detail { opacity: 0.9; }
.live-pill[data-style="light"] .live-detail { opacity: 1; }

/* combobox option highlight (story search) */
.zg-suggest [role="option"][aria-selected="true"] { background: rgba(244, 150, 0, 0.18); }


/* ---- 90.7 · Focus ring ---------------------------------------
   One treatment for every control, visible on cream, white, orange and
   the dark stage: [2px white halo][2px near-black outline].
     cream/white  → dark outline  (15.4:1)      orange → dark outline (7.4:1)
     dark stage   → white halo    (17:1)
   Specificity (0,2,1) beats the component `outline:none` resets
   (.fn-input:focus, .dd-link:focus-visible, .pv-thumb, …) so nothing is left
   without an indicator. Programmatic-only focus targets (tabindex=-1) are
   left alone (roving-tabindex tabs/menu items, which ARE interactive, do get
   the ring).                                                               */
body :focus-visible:not(:is(main, section, article, header, footer, div, form, dialog, h1, h2, h3, h4, h5, h6, p, ul, ol, li)[tabindex="-1"]) {
  outline: 2px solid var(--a11y-ring-dark);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px var(--a11y-ring-light);
}
/* Controls whose parent clips overflow (scroll rails, overflow:hidden cards, the
   sticky bottom bar): the ring is drawn INSIDE the border box instead —
   [2px dark][2px white] measured from the edge — so it is never cut off. */
body :is(.bb-item, .shortcut, .kids-media, .pg-index-list a, .ob-hero a, .ob-arrive a, .op-door, .op-tips a, .op-tip-add,
  .zg-video-facade, .zg-card, .zg-chip, .zg-bolt, .cp-thumb, .cp-toc a, .urn-hour, .urn-tab, .s2-chip, .ek-pill):focus-visible {
  outline-offset: -2px;
  box-shadow: inset 0 0 0 4px var(--a11y-ring-light);
}
/* form fields: keep the field's own border visible, ring sits outside it */
body input:focus-visible,
body textarea:focus-visible,
body select:focus-visible { outline-offset: 1px; }
/* visually hidden radios/checkboxes: ring the visible control instead */
.db-opt input:focus-visible { outline: 0; box-shadow: none; }
.db-opt:has(input:focus-visible) { outline: 2px solid var(--a11y-ring-dark); outline-offset: 2px; }
.db-opt input:focus-visible + .db-opt-r { outline: 0; }
/* bare inputs inside a bordered pill (search fields, amount/name boxes): the
   pill is the visible control, so the ring goes round the pill — a ring on the
   inner input draws a box inside the pill */
body :is(.ek-search, .zg-search-field, .db-amt-own, .db-names label) input:focus-visible { outline: 0; box-shadow: none; }
:is(.ek-search, .zg-search-field, .db-amt-own, .db-names label):has(input:focus-visible) {
  outline: 2px solid var(--a11y-ring-dark);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px var(--a11y-ring-light);
}

/* ---- 90.8 · Tap targets (WCAG 2.5.8: 24x24 everywhere; 44px primary controls on touch) --- */
/* 24px floor, all viewports — grown with padding/min-size, never by scaling the glyphs */
.fb-dl dd a,
.fb-bottom-l a,
.ob-legend a,
.ob-arrive-cap a,
.ek-back,
.db-buy-note a,
.kids-secondary,
.pp-crumbs a,
.page-crumbs a,
.cnk-crumbs a,
.zg-crumbs a,
figcaption a,
.zg-years-all,
.zg-kicker-tag,
.ek-others-head a,
.zg-more,
.ak-section-all {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
}
.fb-col a { min-width: 24px; }
.pv-thumb { width: 24px; height: 24px; }
.db-opt input { width: 24px; height: 24px; margin: -1px 0 0 -2px; }
.pv-range-clear { min-height: 24px; }

/* spoznaj-center spine: 12px dots become 24px boxes, the dot keeps its size */
.spz-spine { gap: 0; }
.spz-spine-stop { width: 24px; height: 24px; }
.spz-spine::before { top: 20px; bottom: 20px; }
.spz-spine-fill { top: 20px; max-height: calc(100% - 40px); }
.spz-spine-stop .st-label { left: 34px; }

/* 44px on touch / phones */
@media (max-width: 899px), (pointer: coarse) {
  .fb-col a,
  .fb-bottom-l a,
  .fb-dl dd a,
  .fb-phone,
  .fb-ig-handle,
  .fp-mono,
  .fq-applies a,
  .cp-toc-part,
  .kt-num,
  .zg-more,
  .zg-years-all,
  .zg-kicker-tag,
  .ek-others-head a,
  .ak-section-all,
  .kc-link,
  .pv-cta,
  .pw-alllink,
  .op-rc-link,
  .visit-more,
  .hero-secondary,
  .spz-cta,
  .pp-contact-v,
  .cnk-anchors a,
  .pp-crumbs a,
  .page-crumbs a,
  .cnk-crumbs a,
  .zg-crumbs a,
  .ek-back,
  .ob-legend a,
  .ob-arrive-cap a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
  .zg-chip,
  .zg-toggle,
  .zg-search-go,
  .pg-chip,
  .s2-chip,
  .ek-pill,
  .urn-tab,
  .urn-seg button,
  .ob-from-chips button,
  .db-flip,
  .op-add,
  .op-presets button,
  .op-chips button,
  .pv-tag,
  .pv-range-clear,
  .live-pill,
  .kc-new {
    min-height: 44px;
  }
  .zg-search-clear { width: 44px; height: 44px; }
  .brand-lockup { position: relative; }
  .brand-lockup::before { content: ""; position: absolute; inset: -8px -6px; }
}

/* ---- 90.9 · Links inside running text (WCAG 1.4.1) ------------
   The text tone is close to the surrounding body copy, so colour alone is not
   enough: class-less links in prose get a thin underline. Footer/nav lists are
   excluded (they are lists of links, not text blocks).                       */
:is(p, dd, blockquote, figcaption, td, .err-lead) a:not([class]):not(.footer *, .fb *, nav *),
:is(.page-body, .pp-prose, .cp-prose, .zg-flow, .fq-a) a:not([class]):not(.btn) {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

/* ---- 90.11 · Running text below 14px on phones ------------------
   Meta/body-face copy floors at 14px; uppercase display-face labels may stay
   small but never below 11px (as designed).                              */
@media (max-width: 899px) {
  .pg-cell-list span,
  .zg-tile-cap,
  .pg-card-when,
  .pw-seg-sub,
  .ob-steps li span,
  .op-seg button em,
  .op-tip-add em,
  .sc-meta,
  .pp-contact-m,
  .pwc-scale span,
  .ob-jump em,
  .ak-note,
  .fb-dl dt,
  .pg-grid-row span,
  .pg-grid-col span,
  .fq-q small { font-size: 14px; }
  .pg-cell-n { font-size: 11px; }
}
/* <<< a11y <<< */

/* >>> perf-seo >>> */
/* ===== 95 · Performance / SEO pass (2026-10-11) ===== */

/* /o-nas/ekipa — members without a portrait: compact name list under the photo grid */
.ek-more { margin-top: 72px; padding-top: 36px; border-top: 1px solid var(--line); }
.ek-more-h { font-family: var(--font-display); text-transform: uppercase; font-size: 32px; line-height: 1; margin: 0 0 20px; color: var(--ink); font-weight: 400; }
.ek-lines { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 40px; }
.ek-line { border-bottom: 1px solid var(--line); }
.ek-line-in { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; min-height: 56px; padding: 12px 2px; color: var(--ink); text-decoration: none; align-content: center; }
.ek-line-name { font-family: var(--font-display); text-transform: uppercase; font-size: 22px; line-height: 1.1; letter-spacing: .005em; }
.ek-line-title { flex-basis: 100%; font-size: 14px; line-height: 1.35; color: var(--ink-soft); }
.ek-line .ek-card-tags { flex-basis: 100%; gap: 4px; }
.ek-line .ek-tag { height: 22px; font-size: 12px; padding: 0 8px; }
a.ek-line-in:hover .ek-line-name,
a.ek-line-in:focus-visible .ek-line-name { text-decoration: underline; text-decoration-color: var(--pcl-orange); text-decoration-thickness: 2px; text-underline-offset: 4px; }
@media (max-width: 1080px) { .ek-lines { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px) { .ek-lines { grid-template-columns: 1fr; } .ek-more { margin-top: 48px; } .ek-more-h { font-size: 28px; } }
.viewport-frame[data-vp="mobile"] .ek-lines { grid-template-columns: 1fr; }
.viewport-frame[data-vp="mobile"] .ek-more { margin-top: 48px; }
.viewport-frame[data-vp="mobile"] .ek-more-h { font-size: 28px; }

/* Home hero: the poster <picture> is the LCP element, the video fades in over it once it plays (after `load`) */
.hero .hero-poster { display: contents; }
.hero .hero-video { opacity: 0; transition: opacity .7s ease; }
.hero .hero-video.is-playing { opacity: 1; }
/* …only the home hero has that poster + `playing` script; /spoznaj-center's hero video carries its own
   poster attribute and was left invisible for good (found 2026-10-15) */
.spz-hero .hero-video { opacity: 1; }
/* Click-to-load map (components/site/map-facade): still image + button, the Google iframe only on click */
.map-facade { position: absolute; inset: 0; background: var(--paper-deep); overflow: hidden; }
.map-facade-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pin-x, 50%) var(--pin-y, 46.7%); filter: grayscale(.85) contrast(1.05) sepia(.12); }
.map-facade-pin { position: absolute; left: var(--pin-x, 50%); top: var(--pin-y, 46.7%); width: 26px; height: 26px; margin: -26px 0 0 -13px; background: var(--pcl-orange); border: 3px solid #fff; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); box-shadow: 0 6px 16px rgba(0,0,0,.3); pointer-events: none; }
.map-facade-frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.85) contrast(1.05) sepia(.12); }
.map-facade-btn { position: absolute; left: 50%; top: 16px; transform: translateX(-50%); z-index: 2; }
.map-facade-credit { position: absolute; right: 8px; bottom: 6px; padding: 2px 6px; font-size: 11px; line-height: 1.4; color: var(--ink); background: rgba(255,255,255,.8); border-radius: 4px; text-decoration: none; }
.ob-map .map-facade ~ .ob-map-card { z-index: 2; }
.visit-map img.map-embed { object-fit: cover; }
/* <<< perf-seo <<< */

/* >>> chrome-ia (section 96: shared chrome — navigation, popover, drawer, bottom bar, footer) >>> */
/* ============================================================
   96 · Shared chrome — launch pass 2026-10-11
   (docs/plans/audit/chrome-ia.md). Markup: components/site/
   {topbar,drawer,bottom-bar,footer*}.blade.php.
   ============================================================ */

/* ---- 96.1 · Primary nav = disclosure buttons + lists of links ----
   The trigger is a <button> now (it only ever toggled the list); it keeps the
   link's look. A closed list is visibility:hidden, so its links are neither
   focusable nor read out. `.no-js` (removed by Alpine) opens on hover / focus. */
.nav button.nav-trigger {
  appearance: none;
  -webkit-appearance: none;
  background: none;
  border: 0;
  margin: 0;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  text-shadow: inherit;
}
.nav-dropdown {
  visibility: hidden;
  transition: opacity 200ms ease-out, transform 200ms ease-out, visibility 0s linear 200ms;
}
.nav-dropdown[data-open="true"],
.nav.no-js .nav-item-wrap:is(:hover, :focus-within) .nav-dropdown {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  transition: opacity 200ms ease-out, transform 200ms ease-out, visibility 0s;
}
@media (prefers-reduced-motion: reduce) {
  .nav-dropdown,
  .nav-dropdown[data-open="true"] { transition: none; }
}

/* ---- 96.2 · Status popover ----
   Headline is a <p> (was an h4 before the page's h1). Without a live occupancy
   value the block is not rendered and the week follows the headline directly. */
.live-popover .lp-occ-note {
  margin-top: 6px;
  font-family: var(--font-body);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}
.live-popover .lp-week.is-first { margin-top: 6px; }
.live-popover .lp-cta { min-height: 24px; }
@media (max-width: 899px), (pointer: coarse) {
  .live-popover .lp-cta, .live-popover .lp-cta.lp-cta-2 { min-height: 45px; margin-top: 0; }
  .live-popover .lp-cta-2 { margin-top: 0; border-top: 1px solid rgba(255, 255, 255, 0.08); }
  .live-popover .lp-note { margin-bottom: 4px; }
}
/* Phones: the pill sits left of the menu button, so a 320 px popover anchored to the
   pill's right edge could leave the screen on the left. */
.viewport-frame[data-vp="mobile"] .live-popover { width: min(320px, calc(100vw - 32px)); right: -54px; }
.viewport-frame[data-vp="mobile"] .live-popover::before { right: 82px; }

/* ---- 96.3 · Mobile drawer ----
   Sub-menus are lists; every control is at least 44 px tall. */
/* The design's head has three cells (number, label, chevron); the port never had the number,
   so the label sat in the 28 px number cell — wrapped, with the chevron on top of it. */
.md-section-head { grid-template-columns: minmax(0, 1fr) auto; }
.md-nav ul.md-sub { list-style: none; margin: 0; }
.md-nav ul.md-sub > li { display: contents; }
.md-live { padding-top: 0; padding-bottom: 0; min-height: 48px; }
.md-live-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 2px; }
.md-footer { padding-top: 6px; padding-bottom: 10px; }
.md-lang a { min-width: 44px; min-height: 44px; }
.md-phone { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; margin-left: auto; }
.md-phone:hover { color: var(--pcl-orange); }
.md-close { width: 44px; height: 44px; }
.viewport-frame[data-vp="mobile"] .md-close { width: 44px; height: 44px; }

/* ---- 96.4 · Bottom bar: the action slot ----
   A page's own primary action (program CTA) replaces the member login and is
   the one filled item. Dark label on orange (a11y section 90). */
.bottom-bar .bb-item { justify-content: center; min-height: 56px; }
.bottom-bar .bb-item.bb-action {
  background: var(--pcl-orange);
  color: var(--on-orange, #1F1C18);
  letter-spacing: 0.1em;
  line-height: 1.15;
}
.bottom-bar .bb-item.bb-action .bb-icon { color: var(--on-orange, #1F1C18); }
.bottom-bar .bb-item.bb-action:hover { background: var(--pcl-orange-deep); color: var(--on-orange, #1F1C18); }

/* ---- 96.5 · Footer bento ----
   Link groups are <details> (accordions on phones only). Desktop: always open,
   the label is not a control. */
.fb-col > summary { list-style: none; cursor: default; }
.fb-col > summary::-webkit-details-marker { display: none; }
@media (min-width: 721px) {
  .fb-col > summary { pointer-events: none; }
}
h3.fb-k { font-weight: inherit; }

/* newsletter tile = copy + one button to the hosted subscribe form */
.fb-news { flex-direction: row; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.fb-news-copy { display: flex; flex-direction: column; gap: 14px; min-width: 0; flex: 1 1 320px; }
.fb-news-btn {
  display: inline-flex; align-items: center; gap: 8px; flex: 0 0 auto;
  min-height: 48px; padding: 12px 22px; border-radius: 8px;
  background: var(--pcl-orange); color: var(--on-orange, #1F1C18);
  font-family: var(--font-display); text-transform: uppercase; font-size: 18px; letter-spacing: 0.03em;
  text-decoration: none;
}
.fb .fb-news-btn:hover { background: var(--pcl-orange-deep); color: var(--on-orange, #1F1C18); }
.fb .fb-news-btn:hover .arrow { transform: translate(2px, -2px); }
/* no newsletter URL → no tile: Instagram takes the full row as a strip beside its heading */
.fb-grid:not(:has(.fb-news)) .fb-ig { grid-column: span 12; flex-direction: row; align-items: center; justify-content: space-between; gap: 24px; }
.fb-grid:not(:has(.fb-news)) .fb-ig-head { flex-direction: column; align-items: flex-start; }
.fb-grid:not(:has(.fb-news)) .fb-ig-strip { margin-top: 0; width: min(560px, 62%); }
.fb-ig-strip > span { aspect-ratio: 3 / 4; border-radius: 8px; overflow: hidden; display: block; background: rgba(255, 255, 255, 0.05); }
/* partner logo without a link target */
.footer-partner span.fp-mono, .footer-partner span.fp-chip { display: inline-flex; }

/* legacy layouts (community / directory / minimal): column labels are <p>, not <h4> */
.footer-col .footer-col-h {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: var(--t-label, 13px);
  letter-spacing: var(--track-label, 0.2em);
  color: rgba(255, 255, 255, 0.72);
  margin: 0 0 16px 0;
}
.footer-bottom a { color: inherit; margin-left: 18px; }

/* ---- 96.6 · Footer bento on phones (≤ 720 px): compact ----
   Was 2,300–3,000 px (35–45 % of every page), now ≈ 1,300 px at 390 px with the
   same links: closed accordions, a small CTA tile, hours as a table, Instagram
   as one scrollable row. Desktop is unchanged. */
@media (max-width: 720px) {
  .viewport-frame[data-vp="mobile"] .footer.fb { padding: 10px 0 16px; }
  .fb .fb-inner { gap: 6px; }
  .fb .fb-grid { gap: 6px; }
  .viewport-frame[data-vp="mobile"] .fb-tile { padding: 14px 18px; border-radius: 12px; }

  /* CTA: one line of display type + the two buttons */
  .viewport-frame[data-vp="mobile"] .fb-cta { padding: 16px 18px; gap: 12px; min-height: 0; }
  .viewport-frame[data-vp="mobile"] .fb-cta-title { font-size: 32px; line-height: 1; }
  .fb-cta-title br { display: none; }
  .fb-cta-actions { gap: 8px; }
  .fb-btn { padding: 11px 16px; font-size: 16px; min-height: 44px; }

  /* Kako do nas: a strip of the entrance photo, address + link on it */
  .viewport-frame[data-vp="mobile"] .fb-visit { min-height: 120px !important; padding: 0; }
  .viewport-frame[data-vp="mobile"] .fb-visit-body { padding: 12px 18px; gap: 0 12px; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "k chip" "addr chip" "note note"; align-items: center; }
  .fb-visit-addr { font-size: 21px; }
  .fb-visit-note { font-size: 14px; }
  .fb-visit-body .fb-chip { margin-top: 0; min-height: 44px; padding: 8px 14px; font-size: 15px; }
  .fb-visit::after { background: linear-gradient(180deg, rgba(26, 24, 21, .35) 0, rgba(26, 24, 21, .86) 100%); }

  /* Link groups: closed accordions, 44 px rows */
  .viewport-frame[data-vp="mobile"] .fb-dir { display: block; padding: 2px 18px; }
  .fb-col { border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
  .fb-col:last-of-type { border-bottom: 0; }
  .fb-col > summary {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    min-height: 44px; cursor: pointer; color: #fff; font-size: 15px; letter-spacing: 0.12em;
  }
  .fb-col > summary::after {
    content: ""; width: 8px; height: 8px; flex: 0 0 auto; margin-right: 4px;
    border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor;
    transform: rotate(45deg) translate(-2px, -2px); opacity: 0.6;
    transition: transform 200ms var(--ease, ease);
  }
  .fb-col[open] > summary::after { transform: rotate(225deg) translate(-2px, -2px); opacity: 1; }
  .fb-col ul { margin: 0 0 10px; }
  .fb-col li a { display: flex; align-items: center; min-height: 44px; padding: 0; }

  /* Kontakt & ure: number, the two lines side by side, e-mail, hours table */
  .fb-contact { gap: 0; }
  .viewport-frame[data-vp="mobile"] .fb-phone { font-size: 30px; min-height: 44px; }
  .fb-lines { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
  .fb-lines > div { display: flex; flex-direction: column; gap: 0; }
  .fb-lines > div > dt { line-height: 1.2; }
  .fb-lines > .fb-mail { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 12px; }
  .fb-hours { gap: 4px; padding-top: 10px; margin-top: 2px; }
  .fb-hours > div { grid-template-columns: minmax(0, 1fr) max-content; gap: 10px; }
  .fb .fb-hours dt { text-transform: none; letter-spacing: 0; }
  .fb-hours dd { font-size: 14px; text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }

  /* Novičnik: title + button on one tile, no extra air */
  .fb-news { gap: 10px; }
  .fb-news-copy { gap: 4px; flex-basis: 100%; }
  .fb .fb-news .fb-h3 { font-size: 19px; line-height: 1.1; max-width: none; }
  .fb-news-btn { width: 100%; justify-content: center; font-size: 17px; min-height: 44px; padding: 10px 18px; }

  /* Instagram: one horizontally scrollable row */
  .fb-ig { gap: 4px; }
  .fb-ig-head { align-items: center; }
  .fb-ig-handle { font-size: 19px; }
  .fb .fb-ig-strip, .fb-grid:not(:has(.fb-news)) .fb-ig-strip {
    display: flex; gap: 6px; width: auto; margin: 0 -18px; padding: 0 18px;
    overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scrollbar-width: none;
  }
  .fb .fb-ig-strip::-webkit-scrollbar { display: none; }
  .fb .fb-ig-strip > * { flex: 0 0 81px; scroll-snap-align: start; }
  .fb-grid:not(:has(.fb-news)) .fb-ig { flex-direction: column; align-items: stretch; }
  .fb-grid:not(:has(.fb-news)) .fb-ig-head { flex-direction: row; align-items: center; }

  /* Sign-off (the lockup is already in the top bar) + bottom row */
  .viewport-frame[data-vp="mobile"] .fb-signoff { margin-top: 6px; padding: 2px 2px 0; }
  .fb-signoff .brand-lockup { display: none; }
  .fb-tagline { font-size: 14px; }
  .viewport-frame[data-vp="mobile"] .fb-bottom { padding-top: 6px; gap: 0; }
  .fb-bottom-l { gap: 0 18px; align-items: center; }
  .viewport-frame[data-vp="mobile"] .fb-bottom-r { flex-direction: row; align-items: center; justify-content: space-between; width: 100%; gap: 16px; }
  .fb-top { min-height: 44px; }
}
/* <<< chrome-ia <<< */

/* ===== 96 · Homepage: last zone before the footer =====
   Zones only carry a top margin, so whichever zone ends the page (Grif bar while
   »Pridi k nam« is off) would sit flush on the footer. Scoped to the zone: other pages pad their own end. */
#main > .grif:last-child { margin-bottom: 96px; }
@media (max-width: 767px) { #main > .grif:last-child { margin-bottom: 56px; } }

/* ===== 97 · Homepage: Grif bar zone =====
   Local layout (owner, 2026-10-12): the bar's name as the title and three photo cards — the
   lead room at 3:2 (its people are never cropped), the other room beside it, the garden full
   width below in season. Captions are a title and one quiet line: no pills, numbers or day arc. */
.grif-shots {
  display: grid;
  grid-template-columns: 1.32fr 1fr;
  gap: 20px;
}
.grif-shot {
  position: relative;
  display: flex;
  min-height: 0;
  border-radius: 12px;
  overflow: hidden;
  isolation: isolate;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
}
.grif-shot.is-lead { aspect-ratio: 3 / 2; }
.grif-shot--vrt:not(.is-lead):nth-child(3) { grid-column: 1 / -1; min-height: 340px; }
.grif-shot-photo { position: absolute; inset: 0; z-index: 0; }
.grif-shot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--ease);
}
.grif-shot:hover img { transform: scale(1.03); }
.grif-shot::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(20, 17, 14, 0) 45%, rgba(20, 17, 14, 0.6) 78%, rgba(20, 17, 14, 0.88) 100%);
}
.grif-shot-cap {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  margin-top: auto;
  padding: 32px;
}
.grif-shot h3 {
  margin: 0;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(40px, 4vw, 60px);
  line-height: 0.95;
  letter-spacing: 0.005em;
  color: #fff;
}
.grif-shot-tags {
  font-family: var(--font-body);
  font-size: var(--t-meta);
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.9);
}
.grif-shot-tags span + span::before { content: "·"; margin-right: 0.3em; }
@media (max-width: 899px) {
  .grif-shots { grid-template-columns: 1fr; gap: 12px; }
  .grif-shot,
  .grif-shot--vrt:not(.is-lead):nth-child(3) { grid-column: auto; min-height: 0; aspect-ratio: 4 / 3; }
  .grif-shot.is-lead { aspect-ratio: 3 / 2; }
  .grif-shot-cap { gap: 6px; padding: 16px; }
  .grif-shot h3 { font-size: 34px; }
}
@media (prefers-reduced-motion: reduce) {
  .grif-shot img { transition: none; }
  .grif-shot:hover img { transform: none; }
}

/* >>> display-leading (section 98: multi-line display headings, review 2026-10-15) >>> */
/* ============================================================
   98 · Display headings: line-height >= 1
   The design sets DIN Condensed headings at 0.82–0.98. The face's
   capitals are 712 units tall but Č Š Ž Ć carons reach 885 (upm 1000),
   so below ~0.9 a caron meets the line above (»KJE / ZAČETI?« on
   /plezanje: J's foot touches the Č). At 1.0 the gap is ~11 % of the
   font size. Only multi-line headings and card titles are listed;
   single-line labels, numbers and the footer wordmark keep the design
   value. Static rule (no swap), so it costs no CLS. The mobile group
   repeats the design's .viewport-frame[data-vp="mobile"] selectors to
   match their specificity. Kerning: scripts/build-display-font.py.
   ============================================================ */
.hero h1,
.section-head h2, .boulder h2, .pv-h2, .kids-title, .program-card .pc-title, .start-title,
.news-card.big .news-title, .visit-info h2, .va-caption h3, .fn-title, .grif-panel h3, .promo-title,
.fb-cta-title, .fb-visit-addr,
.page-h1, .cnk-h1, .pg-h1, .pg-result-h, .pg-solo-h, .pg-card-title, .pg-contact-h,
.pv-path-t, .pv-card-t, .pp-prijava-title, .pp-body-h,
.ek-h1, .ek-p-name, .ek-p-motto b,
.ob-h1, .ob-addr b, .op-h1, .op-door-t, .op-tip-t, .op-band-h,
.spz-intro h2, .spz-map-head h2, .spz-ch-tagline, .spz-setting h2, .s2-prerez-head h2,
.db-how-col h3, .urn-answer-big,
.cp-part-h, .cp-band-h, .cp-cards-h, .kt-address, .fq-group-head h2, .grif-shot h3,
.zg-lead-title, .zg-title, .zg-card-title, .zg-related-head h2 {
  line-height: 1;
}
.viewport-frame[data-vp="mobile"] .hero h1,
.viewport-frame[data-vp="mobile"] .hero h1.size-sm,
.viewport-frame[data-vp="mobile"] .hero h1.size-md,
.viewport-frame[data-vp="mobile"] .section-head h2,
.viewport-frame[data-vp="mobile"] .ak-section-title,
.viewport-frame[data-vp="mobile"] .visit-info h2,
.viewport-frame[data-vp="mobile"] .pv-h2,
.viewport-frame[data-vp="mobile"] .boulder h2,
.viewport-frame[data-vp="mobile"] .program-card .pc-title,
.viewport-frame[data-vp="mobile"] .program-card.big .pc-title {
  line-height: 1;
}
/* <<< display-leading <<< */


/* ==========================================================================
   91 · /cenik — plain table of every day ticket under the wizard (pre-launch 2026-11-11)
   ========================================================================== */
.pw-table { margin-top: 20px; border-top: 1px solid var(--line); padding-top: 14px; }
.pw-table summary { cursor: pointer; font-weight: 700; color: var(--ink); min-height: 44px; display: flex; align-items: center; gap: 8px; }
.pw-table summary::after { content: "+"; font-family: var(--font-display); font-size: 22px; line-height: 1; }
.pw-table[open] summary::after { content: "–"; }
.pw-table summary::-webkit-details-marker { display: none; }
.pw-table table { width: 100%; border-collapse: collapse; margin: 10px 0 22px; font-size: 15px; }
.pw-table caption { text-align: left; font-family: var(--font-display); text-transform: uppercase; font-size: 20px; padding: 6px 0; color: var(--ink); }
.pw-table th, .pw-table td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.pw-table thead th { font-size: 13px; font-weight: 700; color: var(--ink-soft); }
.pw-table td { font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (max-width: 560px) {
  .pw-table table { font-size: 14px; }
  .pw-table thead th { font-size: 12px; white-space: normal; }
  .pw-table th, .pw-table td { padding-right: 8px; }
}

/* >>> kids-stage (section 99: homepage Otroci stage, 2026-11-18) >>> */
/* ==========================================================================
   99 · Homepage Otroci — full-bleed photo stage + age bands from the CRM
   (partials/otroci.blade.php, App\Support\KidsGroups). Picking a band
   crossfades to its program photo and shows its weekly groups by weekday.
   ========================================================================== */
.ks { position: relative; isolation: isolate; display: flex; min-height: clamp(680px, 92vh, 900px); background: var(--stage); color: #fff; overflow: hidden; }
.ks-photos { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.ks-photo-wrap { position: absolute; inset: 0; opacity: 0; transition: opacity 0.9s var(--ease); }
.ks-photo-wrap.is-on, .ks:not(.is-ready) .ks-photo-wrap[data-init] { opacity: 1; }
.ks-photo-wrap picture { display: contents; }
/* A band's program photo fills the part right of the pane (its subject is placed inside that
   frame by the subject-crop script), fading into the dark stage on the left. */
.ks-photo-wrap.is-band { left: 36%; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 24%); mask-image: linear-gradient(90deg, transparent 0, #000 24%); }
.ks-photo { display: block; width: 100%; height: 100%; object-fit: cover; transform: scale(1.07); transition: transform 9s linear; }
.ks-photo-wrap.is-on .ks-photo, .ks:not(.is-ready) .ks-photo-wrap[data-init] .ks-photo { transform: scale(1); }
.ks-shade {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(26, 24, 21, 0.94) 0%, rgba(26, 24, 21, 0.8) 30%, rgba(26, 24, 21, 0.28) 56%, rgba(26, 24, 21, 0) 74%),
    linear-gradient(0deg, rgba(26, 24, 21, 0.92) 0%, rgba(26, 24, 21, 0) 34%),
    linear-gradient(180deg, rgba(26, 24, 21, 0.45) 0%, rgba(26, 24, 21, 0) 22%);
}
.ks-inner {
  position: relative; width: 100%;
  display: grid; grid-template-columns: minmax(0, 560px) 1fr;
  grid-template-areas: "copy ." "panel ." "rail rail";
  grid-template-rows: auto 1fr auto; gap: 28px 40px;
  padding-top: 88px;
}
.ks-copy { grid-area: copy; display: flex; flex-direction: column; gap: 16px; }
.ks-title { font-size: clamp(52px, 5.6vw, 84px); line-height: 0.92; text-wrap: balance; }
.ks-sub { color: rgba(255, 255, 255, 0.78); }
.ks-panel { grid-area: panel; align-self: end; min-width: 0; display: grid; }
/* Every pane sits in the same cell, so the panel is always as tall as the tallest band and
   switching bands never makes the stage jump; the picked pane crossfades in. An unpicked pane
   ([data-off], not [hidden]: Tailwind's layered [hidden] rule would force display: none) is
   visibility: hidden — out of the tab order and the accessibility tree. */
.ks-pane { grid-area: 1 / 1; align-self: end; transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0s; }
.ks-pane[data-off] { visibility: hidden; opacity: 0; transform: translateY(8px); pointer-events: none; transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0s 0.2s; }
.ks-pane {
  max-width: 560px; padding: 24px 26px 26px; border-radius: var(--r-card);
  background: rgba(26, 24, 21, 0.76); border: 1px solid rgba(255, 255, 255, 0.09);
  -webkit-backdrop-filter: blur(14px) saturate(1.15); backdrop-filter: blur(14px) saturate(1.15);
}
.ks-pane--all { padding: 0; background: none; border: 0; -webkit-backdrop-filter: none; backdrop-filter: none; }
.ks-pane-kicker { display: block; margin-bottom: 8px; font-family: var(--font-display); text-transform: uppercase; font-size: 12px; letter-spacing: 0.2em; color: var(--pcl-orange); }
.ks-pane-title { margin: 0 0 18px; font-family: var(--font-display); text-transform: uppercase; font-weight: normal; font-size: 34px; line-height: 0.95; }
.ks-pane-title a { color: inherit; text-decoration: none; }
.ks-pane-title a:hover { color: var(--pcl-orange); }
.ks-pane-copy { margin: -6px 0 18px; color: rgba(255, 255, 255, 0.75); font-size: 16px; line-height: 1.5; }
.ks-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); margin: 0 0 22px; border-top: 1px solid rgba(255, 255, 255, 0.16); }
.ks-facts > div { padding: 12px 16px 12px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.16); }
.ks-facts dt { font-family: var(--font-display); text-transform: uppercase; font-size: 12px; letter-spacing: 0.2em; color: rgba(255, 255, 255, 0.6); }
.ks-facts dd { margin: 4px 0 0; font-size: 18px; font-weight: 600; color: #fff; }
.ks-fact-m { display: block; font-size: 13px; font-weight: 400; color: rgba(255, 255, 255, 0.6); }

/* The week: one column per weekday, a tile per group (start time, wall, places left). */
.ks-week { list-style: none; margin: 0 0 22px; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 8px; }
.ks-day { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.ks-dname { padding-bottom: 6px; border-bottom: 1px solid rgba(255, 255, 255, 0.16); font-family: var(--font-display); text-transform: uppercase; font-size: 14px; letter-spacing: 0.16em; color: rgba(255, 255, 255, 0.6); }
.ks-day ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.ks-slot { display: grid; gap: 1px; padding: 7px 8px 8px; border-radius: 8px; background: rgba(255, 255, 255, 0.07); font-size: 12px; line-height: 1.25; }
.ks-time { font-family: var(--font-display); font-weight: normal; font-size: 21px; line-height: 1; color: #fff; }
.ks-wall { font-size: 11px; color: rgba(255, 255, 255, 0.62); }
.ks-st { color: rgba(255, 255, 255, 0.66); }
.ks-slot.is-open { background: rgba(244, 150, 0, 0.14); box-shadow: inset 0 0 0 1px rgba(244, 150, 0, 0.5); }
.ks-slot.is-open .ks-st { color: var(--pcl-orange); font-weight: 600; }
.ks-slot.is-full { opacity: 0.6; }
.ks-slot.is-invite .ks-st { font-style: italic; }
.ks-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.ks .ks-secondary { color: #fff; border-bottom-color: rgba(255, 255, 255, 0.4); }
.ks .ks-secondary:hover { color: var(--pcl-orange); border-bottom-color: var(--pcl-orange); }

/* The rail: ages along the foot of the stage, the picked one marked like a hold. */
.ks-rail { grid-area: rail; border-top: 1px solid rgba(255, 255, 255, 0.22); }
.ks-rail ul { list-style: none; margin: 0; padding: 0; display: flex; }
.ks-rail li { flex: 1 1 0; min-width: 0; }
.ks-band {
  position: relative; display: flex; flex-direction: column; gap: 6px; min-height: 44px;
  padding: 14px 14px 28px; border-left: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.74); text-decoration: none; transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.ks-rail li:first-child .ks-band { border-left: 0; }
.ks-band::before { content: ""; position: absolute; left: 0; right: 0; top: -2px; height: 4px; background: var(--pcl-orange); transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease); }
.ks-band:hover { color: #fff; background: rgba(255, 255, 255, 0.05); }
.ks-band.is-on, .ks:not(.is-ready) .ks-band[aria-current="true"] { color: #fff; }
.ks-band.is-on::before, .ks:not(.is-ready) .ks-band[aria-current="true"]::before { transform: scaleX(1); }
/* line-height ≥ 1.1: the display face's caps rise above a tighter box and overflow: hidden (for a
   long word) would clip their tops. */
.ks-age { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(30px, 3vw, 46px); line-height: 1.1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ks-band.is-spot .ks-age { color: var(--pcl-orange); }
/* A word instead of an age (Srednješolci, Tekmovalne, Počitnice): smaller, on the numerals' line. */
.ks-age.is-word { font-size: clamp(20px, 1.9vw, 30px); line-height: calc(clamp(30px, 3vw, 46px) * 1.1); }
.ks-unit { font-size: 0.42em; letter-spacing: 0.1em; color: rgba(255, 255, 255, 0.6); }
.ks-sum { font-size: 13px; color: rgba(255, 255, 255, 0.64); }
.ks-band.is-on .ks-sum { color: var(--pcl-orange); }
.ks-below { margin-top: 64px; }

/* Phones: the photo on top with the title over its foot, the rail as a swipe row
   right under it (so the photo change is in view), the pane below. */
.viewport-frame[data-vp="mobile"] .ks { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "photo" "rail" "panel"; min-height: 0; }
.viewport-frame[data-vp="mobile"] .ks-inner { display: contents; }
.viewport-frame[data-vp="mobile"] .ks-photos,
.viewport-frame[data-vp="mobile"] .ks-shade { position: relative; inset: auto; grid-area: photo; z-index: 0; aspect-ratio: 4 / 5; }
.viewport-frame[data-vp="mobile"] .ks-photo-wrap.is-band { left: 0; -webkit-mask-image: none; mask-image: none; }
.viewport-frame[data-vp="mobile"] .ks-shade { background: linear-gradient(0deg, var(--stage) 0%, rgba(26, 24, 21, 0.72) 26%, rgba(26, 24, 21, 0) 58%); z-index: 1; }
.viewport-frame[data-vp="mobile"] .ks-copy { grid-area: photo; align-self: end; position: relative; z-index: 2; padding: 0 16px 18px; gap: 10px; }
.viewport-frame[data-vp="mobile"] .ks-title { font-size: 46px; }
.viewport-frame[data-vp="mobile"] .ks-sub { font-size: 16px; }
.viewport-frame[data-vp="mobile"] .ks-rail { grid-area: rail; position: relative; z-index: 2; margin: 0 16px; }
.viewport-frame[data-vp="mobile"] .ks-rail ul { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.viewport-frame[data-vp="mobile"] .ks-rail ul::-webkit-scrollbar { display: none; }
.viewport-frame[data-vp="mobile"] .ks-rail li { flex: 0 0 auto; scroll-snap-align: start; }
.viewport-frame[data-vp="mobile"] .ks-band { padding: 14px 16px 16px; min-width: 96px; }
.viewport-frame[data-vp="mobile"] .ks-rail li:first-child .ks-band { padding-left: 0; min-width: 80px; }
.viewport-frame[data-vp="mobile"] .ks-age { font-size: 32px; }
.viewport-frame[data-vp="mobile"] .ks-age.is-word { font-size: 22px; line-height: 35.2px; }
.viewport-frame[data-vp="mobile"] .ks-sum { font-size: 12px; white-space: nowrap; }
.viewport-frame[data-vp="mobile"] .ks-panel { grid-area: panel; padding: 18px 16px 40px; }
.viewport-frame[data-vp="mobile"] .ks-pane { padding: 18px 16px 20px; background: rgba(255, 255, 255, 0.05); -webkit-backdrop-filter: none; backdrop-filter: none; }
.viewport-frame[data-vp="mobile"] .ks-pane--all { padding: 0; background: none; }
/* On phones the pane is under the rail: natural height (a change only moves what lies below it). */
.viewport-frame[data-vp="mobile"] .ks-pane[data-off] { display: none; }
.viewport-frame[data-vp="mobile"] .ks-pane-title { font-size: 28px; }
.viewport-frame[data-vp="mobile"] .ks-week { gap: 5px; }
.viewport-frame[data-vp="mobile"] .ks-slot { padding: 6px 5px 7px; font-size: 11px; }
.viewport-frame[data-vp="mobile"] .ks-time { font-size: 18px; }
.viewport-frame[data-vp="mobile"] .ks-below { margin-top: 40px; }

@media (prefers-reduced-motion: reduce) {
  .ks-photo-wrap, .ks-photo, .ks-band::before { transition: none; }
  .ks-photo { transform: none; }
  .ks-pane, .ks-pane[data-off] { transition: none; transform: none; }
}
/* <<< kids-stage <<< */

/* >>> aktualno-videos (section 100: Aktualno video carousel card, 2026-11-18) >>> */
/* ==========================================================================
   100 · Aktualno · Video — one post with a list of clips, swiped like an
   Instagram carousel post, + a player dialog (partials/aktualno-videos.blade.php).
   No design artifact: the card keeps the Aktualno card idiom (pill head,
   photo, text); the photo is a 4:5 crop of the vertical still, the player
   shows the clip 9:16 with its text at the side (desktop) or below (phone).
   ========================================================================== */
.vd-stage { position: relative; margin: 4px 0 0; }
.vd-rail {
  list-style: none; margin: 0; padding: 0; display: flex; gap: 0; border-radius: 8px;
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.vd-rail::-webkit-scrollbar { display: none; }
.vd-item { flex: 0 0 100%; min-width: 0; scroll-snap-align: start; scroll-snap-stop: always; }
.vd-tile {
  position: relative; display: block; width: 100%; aspect-ratio: 4 / 5; max-height: 540px; padding: 0; border: 0; cursor: pointer;
  overflow: hidden; background: var(--ink); color: #fff; font: inherit; text-decoration: none;
}
.vd-tile .ak-photo-img { transition: transform 0.5s var(--ease); }
.vd-tile:hover .ak-photo-img { transform: scale(1.03); }
.vd-play {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center; color: #fff; background: rgba(26, 24, 21, 0.55);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), scale var(--dur-fast) var(--ease);
}
.vd-play svg { margin-left: 3px; }
.vd-tile:hover .vd-play { background: var(--pcl-orange); color: var(--on-orange); scale: 1.06; }
.vd-tile .ak-duration {
  position: absolute; left: 12px; bottom: 12px; right: auto; top: auto; padding: 3px 7px; border-radius: 4px; background: rgba(26, 24, 21, 0.65);
  color: #fff; font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1.2;
}
/* »3/12« in the corner and round arrows on the photo, like Instagram. */
.vd-count {
  position: absolute; top: 12px; right: 12px; padding: 4px 9px; border-radius: 999px; pointer-events: none;
  background: rgba(26, 24, 21, 0.62); color: #fff; font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1.2;
}
.vd-arrow, .vd-step, .vd-close {
  border-radius: 50%; display: inline-grid; place-items: center; padding: 0; cursor: pointer; border: 0;
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), opacity var(--dur-fast) var(--ease);
}
.vd-arrow {
  position: absolute; top: 50%; translate: 0 -50%; width: 44px; height: 44px;
  background: rgba(247, 244, 239, 0.92); color: var(--ink); box-shadow: 0 2px 10px rgba(31, 28, 24, 0.25);
}
.vd-arrow--prev { left: 10px; }
.vd-arrow--next { right: 10px; }
.vd-arrow:hover { background: var(--pcl-orange); color: var(--on-orange); }
.vd-step:disabled { opacity: 0.3; cursor: default; }
.vd-dots { display: flex; justify-content: center; gap: 5px; margin: 10px 0 4px; }
.vd-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--line-strong); transition: background var(--dur-fast) var(--ease), scale var(--dur-fast) var(--ease); }
.vd-dot.is-on { background: var(--pcl-orange); scale: 1.15; }
.ak-card--video > .ak-body { margin-top: 10px; }

/* Player */
html:has(.vd-player[open]) { overflow: hidden; }
.vd-player {
  margin: 0; padding: 0; border: 0; width: 100vw; max-width: none; height: 100vh; height: 100dvh; max-height: none;
  background: transparent; color: var(--ink); overflow: hidden;
}
.vd-player[open] { display: grid; place-items: center; }
.vd-player::backdrop { background: rgba(12, 11, 10, 0.9); }
.vd-sheet { display: flex; height: min(88vh, 860px); max-width: calc(100vw - 176px); border-radius: 14px; overflow: hidden; background: #000; }
.vd-frame { height: 100%; aspect-ratio: 9 / 16; background: #000; flex: 0 0 auto; }
.vd-frame[data-format="wide"] { height: auto; width: min(960px, calc(100vw - 556px)); aspect-ratio: 16 / 9; align-self: center; }
.vd-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.vd-side { width: 320px; flex: 0 0 auto; background: var(--paper); padding: 26px 24px; overflow-y: auto; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.vd-side-title { font-family: var(--font-display); text-transform: uppercase; font-size: 30px; line-height: 1.02; margin: 0; color: var(--ink); }
.vd-side-count { margin: -6px 0 0; font-size: 13px; font-weight: 700; color: var(--ink-mute); font-variant-numeric: tabular-nums; }
.vd-side-desc { font-size: 15px; line-height: 1.55; color: var(--ink-soft); }
.vd-side-desc p { margin: 0 0 0.7em; }
.vd-side-desc a { color: var(--pcl-orange-text); }
.vd-close { position: fixed; top: 18px; right: 18px; background: rgba(247, 244, 239, 0.14); color: var(--paper); }
.vd-step { position: fixed; top: 50%; translate: 0 -50%; width: 52px; height: 52px; background: var(--paper); color: var(--ink); }
.vd-step--prev { left: 28px; }
.vd-step--next { right: 28px; }
.vd-close:hover, .vd-step:hover:not(:disabled) { background: var(--pcl-orange); color: var(--on-orange); }

/* Phones: the card is full width, the carousel swipes; the player is full screen with its text and controls under it. */
.viewport-frame[data-vp="mobile"] .vd-play { width: 54px; height: 54px; }
.viewport-frame[data-vp="mobile"] .vd-arrow { display: none; }  /* swipe */
.viewport-frame[data-vp="mobile"] .vd-player[open] { display: block; }
.viewport-frame[data-vp="mobile"] .vd-sheet { flex-direction: column; width: 100vw; height: 100%; max-width: none; border-radius: 0; background: var(--stage); padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
.viewport-frame[data-vp="mobile"] .vd-frame { flex: 1 1 auto; width: 100%; height: auto; min-height: 0; aspect-ratio: auto; }
.viewport-frame[data-vp="mobile"] .vd-frame[data-format="wide"] { flex: 0 0 auto; aspect-ratio: 16 / 9; margin: auto 0; }
.viewport-frame[data-vp="mobile"] .vd-side {
  width: auto; max-height: 36%; background: var(--stage); color: var(--paper); gap: 8px;
  padding: 14px 16px 6px;
}
.viewport-frame[data-vp="mobile"] .vd-side-title { font-size: 24px; color: var(--paper); }
.viewport-frame[data-vp="mobile"] .vd-side-desc { font-size: 14px; color: rgba(247, 244, 239, 0.84); }
.viewport-frame[data-vp="mobile"] .vd-side-count { color: rgba(247, 244, 239, 0.6); }
.viewport-frame[data-vp="mobile"] .vd-side-desc a,
.viewport-frame[data-vp="mobile"] .vd-side .ak-cta { color: var(--pcl-orange); }
.viewport-frame[data-vp="mobile"] .vd-close,
.viewport-frame[data-vp="mobile"] .vd-step { top: auto; translate: none; bottom: calc(14px + env(safe-area-inset-bottom)); width: 48px; height: 48px; }
.viewport-frame[data-vp="mobile"] .vd-close { right: 16px; background: var(--paper); color: var(--ink); }
.viewport-frame[data-vp="mobile"] .vd-step { background: rgba(247, 244, 239, 0.14); color: var(--paper); }
.viewport-frame[data-vp="mobile"] .vd-step--prev { left: 16px; }
.viewport-frame[data-vp="mobile"] .vd-step--next { left: 72px; right: auto; }

@media (prefers-reduced-motion: reduce) {
  .vd-tile .ak-photo-img, .vd-play, .vd-dot { transition: none; }
  .vd-tile:hover .ak-photo-img { transform: none; }
}
/* <<< aktualno-videos <<< */

/* ===== 98 · Spoznaj center: films in the halls (2026-11-18) =====
   >>> spoznaj-nova-360 >>> */
/* A floor's 360° clip fills the media frame edge to edge (the 3D renders sat inset, contained). */
.spz2 .s2-nova-media.has-video { aspect-ratio: 16 / 9; min-height: 0; background: #1F1C18; }
.spz2 .s2-nova-media .s2-nova-vid { inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* A chapter video (the vertical Kilter reel) gets a taller frame on phones than the 4:3 photos. */
@media (max-width: 899px) {
  .spz2 .spz-ch-media:has(> .spz-vid) { aspect-ratio: 4 / 5; }
}
@media (prefers-reduced-motion: reduce) {
  .spz2 .s2-nova-media .s2-nova-vid { transition: none; }
}

/* Film chapter (Severna, owner 2026-11-18: »more waw, less white space«, then »what would Apple do?«):
   one dark band — the name big and centred, the film edge to edge with nothing on it, the numbers big,
   two sentences, the other photos. */
.spz2 .spz-film {
  margin: 0 0 72px; background: var(--stage, #1A1815); color: var(--pv-cream, #F7F4EF);
  padding-block: clamp(40px, 5vw, 72px) clamp(56px, 7vw, 104px);
}
/* The name on one line on wide screens, as big as a section heading — not a poster (owner: »too big«). */
.spz2 .spz-film-head { text-align: center; margin-bottom: clamp(24px, 3vw, 40px); }
.spz2 .spz-film-kicker {
  margin: 0 0 14px; font-family: var(--font-display); text-transform: uppercase;
  font-size: clamp(18px, 1.7vw, 24px); letter-spacing: 0.04em; color: var(--pv-orange, #F49600);
}
.spz2 .spz-film-title {
  margin: 0 auto; font-family: var(--font-display); text-transform: uppercase; color: inherit;
  font-size: clamp(40px, 5vw, 80px); line-height: 0.92; letter-spacing: 0.004em; text-wrap: balance;
}
.spz2 .spz-film-stage { position: relative; overflow: hidden; height: clamp(420px, 56.25vw, 88svh); background: #000; }
.spz2 .spz-film-vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.spz2 .spz-film-stage picture { display: contents; }
.spz2 .spz-film-facts {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px;
  margin: 0; padding-block: clamp(40px, 5vw, 72px); text-align: center;
  border-bottom: 1px solid rgba(247, 244, 239, 0.14);
}
.spz2 .spz-film-facts > div { display: flex; flex-direction: column; gap: 10px; }
/* Fewer than four numbers: as many columns as numbers, centred under the stage. */
@media (min-width: 700px) {
  .spz2 .spz-film-facts:not(:has(> div:nth-child(4))) { grid-template-columns: repeat(auto-fit, minmax(0, 16rem)); justify-content: center; }
}
.spz2 .spz-film-facts dd {
  margin: 0; font-family: var(--font-display); line-height: 0.95; /* no uppercase: »m²«, »17 m« */
  font-size: clamp(40px, 5.4vw, 88px);
}
.spz2 .spz-film-facts dt { font-size: 15px; color: rgba(247, 244, 239, 0.66); }
.spz2 .spz-film-text { max-width: 44rem; margin: clamp(36px, 4.5vw, 64px) auto 0; text-align: center; }
.spz2 .spz-film-text .spz-ch-lead { margin: 0; color: rgba(247, 244, 239, 0.82); font-size: clamp(18px, 1.5vw, 22px); }
/* Right under the head band (intro off, owner 2026-11-18): the same colour, so the head and the big hall
   read as one dark stretch; a hairline marks the seam. */
.spz2 .spz-chapters > .spz-film:first-child { border-top: 1px solid rgba(247, 244, 239, 0.08); }
.spz2 .spz-film-gal {
  position: relative; top: auto; margin-top: clamp(40px, 5vw, 72px); aspect-ratio: 3 / 2; background: #000;
}
@media (max-width: 699px) {
  .spz2 .spz-film-stage { height: 64svh; min-height: 400px; }
  .spz2 .spz-film-facts { grid-template-columns: 1fr 1fr; row-gap: 32px; }
}
/* A still stage (no film, owner 2026-11-18 Šutalnica »photos uncut«): the photo at its own ratio.
   Film-chapter galleries are 3:2 on every screen (the photos are 3:2 — nothing cropped, owner 2026-11-18). */
.spz2 .spz-film.is-still .spz-film-stage { height: auto; min-height: 0; background: none; }
.spz2 .spz-film.is-still .spz-film-vid { position: static; height: auto; }

/* Fact values keep their own case: grades are lowercase (3–8c, never 8C), units too (m², m). */
.spz2 .spz-spec .sp-v { text-transform: none; }
/* Routesetting band: grades stay »8c« (the day names are typed in capitals). */
.spz2 .spz-setting-stat .ss-v { text-transform: none; }

/* Head (owner 2026-11-18 »header is not perfect«): the name on one line, smaller. The hall photos stay on
   the cover (a separate dark row under it was tried and rejected: »additional grey space«). */
.spz2 .spz-head .page-h1 { font-size: clamp(40px, 5.4vw, 84px); max-width: none; }

/* An odd number of facts: the last one takes the whole row (no empty grey cell). */
.spz2 .spz-specs > .spz-spec:last-child:nth-child(odd) { grid-column: 1 / -1; }

/* <<< spoznaj-nova-360 <<< */

/* /o-nas/kontakt: the head photo (chalk bag on the mat) runs across the whole band on desktop;
   the strip is cropped around the bag, the scrim darkens the nav and the copy on the left. */
.viewport-frame[data-vp="desktop"] .kt .page-head .head-cover.is-fill img { object-position: center 58%; }
.viewport-frame[data-vp="desktop"] .kt .page-head .head-cover.is-fill::after {
  background:
    linear-gradient(180deg, rgba(26, 24, 21, 0.82) 0, rgba(26, 24, 21, 0.45) 90px, rgba(26, 24, 21, 0) 180px),
    linear-gradient(90deg, rgba(26, 24, 21, 0.8) 0, rgba(26, 24, 21, 0.62) 32%, rgba(26, 24, 21, 0.18) 58%, rgba(26, 24, 21, 0) 100%);
}

/* /obisci-nas/prvic (class is-bleed): the climber runs edge to edge. The desktop crop is mirrored
   so she stands in the right half; the band grows with the viewport until she fits whole
   (photo 1665×1200, she spans 11–92 % of its height → --cover-bleed-ar 1.67), the copy sits at the
   bottom of the band, the scrim darkens the wall on the left under it. Wider than ~1450 px the
   band stops growing and the photo's left edge fades into the stage (is-bleed). */
.pv-page .viewport-frame[data-vp="desktop"] .pg-head.has-cover {
  min-height: min(calc(100vw / 1.67), 880px);
  display: flex;
  flex-direction: column;
}
.pv-page .viewport-frame[data-vp="desktop"] .pg-head.has-cover .pg-head-inner { margin-top: auto; width: 100%; }
.pv-page .viewport-frame[data-vp="desktop"] .pg-head .head-cover.is-bleed::after {
  background:
    linear-gradient(180deg, rgba(26, 24, 21, 0.82) 0, rgba(26, 24, 21, 0.45) 90px, rgba(26, 24, 21, 0) 180px),
    linear-gradient(90deg, rgba(26, 24, 21, 0.9) 0, rgba(26, 24, 21, 0.8) 34%, rgba(26, 24, 21, 0.35) 50%, rgba(26, 24, 21, 0) 62%);
}

/* /spoznaj-center › Nova balvanska dvorana: the foot note is a sentence with a link to
   »Prvič pri nas« (SpoznajDefaults note_open), not the design's mono caption. */
.s2-nova-foot:has(a) {
  font-family: var(--font-body); font-size: 15px; letter-spacing: 0;
  color: rgba(247, 244, 239, 0.82);
}
.s2-nova-foot a { color: var(--pcl-cream, #F7F4EF); text-decoration: underline; text-decoration-color: var(--pcl-orange); text-underline-offset: 3px; }
.s2-nova-foot a:hover { color: var(--pcl-orange); }

/* ===== 99 · Otroci in mladina: »Urnik skupin« (2026-11-25) =====
   >>> pg-timetable >>>
   partials/pg/timetable.blade.php — age bands × weekdays from the CRM weekly kids groups.
   Desktop: one table. Phones: every band is a card, one line per training day (empty days gone). */
.pg-tt { padding: 8px 0 56px; background: var(--paper-deep); scroll-margin-top: 72px; }
.pg-tt .section-head { border-top: none; }
.pg-tt-wrap { background: var(--white, #fff); border: 1px solid var(--line); border-radius: var(--r-card, 14px); overflow: hidden; }
.pg-tt-table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 13px; line-height: 1.3; }
.pg-tt-table thead th {
  padding: 12px 10px; border-bottom: 1px solid var(--line-strong); text-align: left;
  font-family: var(--font-display); font-size: 17px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft);
}
.pg-tt-table thead abbr { text-decoration: none; }
.pg-tt-corner { width: 21%; }
.pg-tt-table tbody tr + tr > * { border-top: 1px solid var(--line); }
.pg-tt-table td, .pg-tt-band { padding: 12px 10px; vertical-align: top; }
.pg-tt-table td + td, .pg-tt-table th + td, .pg-tt-table thead th + th { border-left: 1px solid var(--line-soft, var(--line)); }
.pg-tt-band { text-align: left; font-weight: normal; }
.pg-tt-band a { display: grid; gap: 4px; color: var(--ink); text-decoration: none; }
.pg-tt-age { font-family: var(--font-display); font-size: 30px; line-height: 0.95; color: var(--ink); }
.pg-tt-age small { font-size: 17px; color: var(--ink-soft); }
.pg-tt-age.is-word { font-size: 22px; text-transform: uppercase; }
.pg-tt-prog { font-size: 13px; color: var(--ink-soft); }
.pg-tt-band a:hover .pg-tt-prog { color: var(--pcl-orange-text, #955B00); text-decoration: underline; }
.pg-tt-slots { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.pg-tt-slot { display: grid; gap: 1px; padding: 7px 8px 8px; border-radius: 8px; background: var(--paper-soft, var(--paper)); }
.pg-tt-time { font-family: var(--font-display); font-weight: normal; font-size: 18px; line-height: 1; color: var(--ink); white-space: nowrap; }
.pg-tt-wall { font-size: 11px; color: var(--ink-soft); }
.pg-tt-st { font-size: 12px; color: var(--ink-soft); }
.pg-tt-slot.is-open { box-shadow: inset 0 0 0 1px var(--pcl-orange); background: var(--pcl-orange-tint, #FDF1DD); }
.pg-tt-slot.is-open .pg-tt-st { color: var(--pcl-orange-text, #955B00); font-weight: 600; }
.pg-tt-slot.is-full { opacity: 0.66; }
.pg-tt-slot.is-invite .pg-tt-st { font-style: italic; }
.pg-tt-dash { color: var(--ink-faint, var(--ink-mute)); }

@media (max-width: 899px) {
  .pg-tt-wrap { background: transparent; border: 0; border-radius: 0; overflow: visible; }
  .pg-tt-table, .pg-tt-table tbody, .pg-tt-table tr, .pg-tt-table td, .pg-tt-band { display: block; width: auto; }
  .pg-tt-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .pg-tt-table tbody { display: grid; gap: 12px; }
  .pg-tt-table tbody tr { background: var(--white, #fff); border: 1px solid var(--line); border-radius: var(--r-card, 14px); overflow: hidden; }
  .pg-tt-table tbody tr + tr > .pg-tt-band { border-top: 0; }
  .pg-tt-table td + td, .pg-tt-table th + td { border-left: 0; }
  .pg-tt-band { padding: 14px 16px 10px; }
  .pg-tt-band a { grid-template-columns: auto 1fr; align-items: baseline; gap: 12px; }
  .pg-tt-band a { min-height: 44px; }
  .pg-tt-table td { display: grid; grid-template-columns: 92px 1fr; gap: 10px; padding: 10px 16px; }
  .pg-tt-table tbody td { border-top: 1px solid var(--line-soft, var(--line)); }
  .pg-tt-table td::before {
    content: attr(data-day); padding-top: 4px;
    font-family: var(--font-display); font-size: 15px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-soft);
  }
  .pg-tt-table td.is-empty { display: none; }
  .pg-tt-slots { grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); }
}
/* <<< pg-timetable <<< */

/* ==========================================================================
   101 · Program pages: copy beside the climber + photo-led page (2026-11-25)
   pages/program.blade.php, partials/program/{side-photo,band}.
   [data-side="left|right"] (Program::heroSide() / photo side): the copy column
   sits on the side with free photo; the side-photo script slides the photo
   (full size, never scaled down) away from the copy until the subject clears
   it — the edge it leaves fades into the dark band. Phones stack photo above
   copy (--side-stacked: 1). Photos: full-bleed rows between the text zones
   (.pp-band) and the photo behind the closing »Prijava« panel.
   ========================================================================== */
.pp-side { --side-stacked: 0; }
.pp-side [data-side-photo] { transform: translateX(var(--slide, 0px)); }
.pp-side[data-side="left"] [data-side-photo].is-slid {
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 min(26%, 340px));
          mask-image: linear-gradient(90deg, transparent 0, #000 min(26%, 340px));
}
.pp-side[data-side="right"] [data-side-photo].is-slid {
  -webkit-mask-image: linear-gradient(270deg, transparent 0, #000 min(26%, 340px));
          mask-image: linear-gradient(270deg, transparent 0, #000 min(26%, 340px));
}

/* Hero: a copy column, display type sized so the longest word fits it */
/* The copy is in the flow under the top bar: a long title makes the hero taller instead of
   running into the menu. */
.hero.pp-hero.pp-side {
  background: var(--stage, #171512);
  height: auto; min-height: max(clamp(620px, 74vh, 760px), var(--fit-h, 0px)); max-height: none;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 168px 40px 56px;
}
.hero.pp-hero.pp-side .hero-copy {
  position: relative; inset: auto;
  width: min(600px, 42vw);
  max-width: none;
  container-type: inline-size;
}
.hero.pp-hero.pp-side[data-side="right"] .hero-copy { margin-left: auto; }
.hero.pp-hero.pp-side h1,
.hero.pp-hero.pp-side h1.size-sm {
  font-size: clamp(44px, min(7.4vw, calc(100cqw / (var(--h1-chars, 10) * 0.42))), 108px);
}
.hero.pp-hero.pp-side .hero-sub { max-width: 100%; font-size: clamp(18px, 1.3vw, 22px); }
.hero.pp-hero.pp-side[data-layout="fullbleed"] .hero-grad {
  background:
    linear-gradient(180deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.06) 22%, rgba(0,0,0,0) 62%, rgba(0,0,0,0.42) 100%),
    linear-gradient(90deg, rgba(0,0,0,0.66) 0%, rgba(0,0,0,0.42) 32%, rgba(0,0,0,0) 56%);
}
.hero.pp-hero.pp-side[data-layout="fullbleed"][data-side="right"] .hero-grad {
  background:
    linear-gradient(180deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.06) 22%, rgba(0,0,0,0) 62%, rgba(0,0,0,0.42) 100%),
    linear-gradient(270deg, rgba(0,0,0,0.66) 0%, rgba(0,0,0,0.42) 32%, rgba(0,0,0,0) 56%);
}
.hero.pp-hero.pp-side[data-side="right"] .pp-hero-badge { right: auto; left: 40px; }
/* the subject could not clear the copy (a wide group): a firmer scrim under the copy only */
.hero.pp-hero.pp-side.is-over[data-layout="fullbleed"] .hero-grad {
  background:
    linear-gradient(180deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.06) 22%, rgba(0,0,0,0.1) 55%, rgba(0,0,0,0.6) 100%),
    linear-gradient(90deg, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.6) 34%, rgba(0,0,0,0) 60%);
}
.hero.pp-hero.pp-side.is-over[data-layout="fullbleed"][data-side="right"] .hero-grad {
  background:
    linear-gradient(180deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.06) 22%, rgba(0,0,0,0.1) 55%, rgba(0,0,0,0.6) 100%),
    linear-gradient(270deg, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.6) 34%, rgba(0,0,0,0) 60%);
}

/* Phones: photo on top at full width, copy below on the dark band */
.viewport-frame[data-vp="mobile"] .hero.pp-hero.pp-side {
  --side-stacked: 1;
  height: auto; min-height: 0; max-height: none; padding: 0; justify-content: flex-start;
  display: flex; flex-direction: column;
}
.viewport-frame[data-vp="mobile"] .hero.pp-hero.pp-side .hero-photo {
  position: relative; inset: auto;
  width: 100%; height: 58svh; min-height: 320px; max-height: 500px;
  transform: none;
  -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent 100%);
          mask-image: linear-gradient(180deg, #000 72%, transparent 100%);
}
.viewport-frame[data-vp="mobile"] .hero.pp-hero.pp-side[data-layout="fullbleed"] .hero-grad {
  inset: 0 0 auto 0; height: 150px;
  background: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0) 100%);
}
.viewport-frame[data-vp="mobile"] .hero.pp-hero.pp-side .hero-copy {
  position: relative; inset: auto;
  width: auto; margin: -56px 20px 0; padding-bottom: 36px;
}
.viewport-frame[data-vp="mobile"] .hero.pp-hero.pp-side h1,
.viewport-frame[data-vp="mobile"] .hero.pp-hero.pp-side h1.size-sm {
  font-size: clamp(36px, min(12vw, calc(100cqw / (var(--h1-chars, 10) * 0.42))), 52px);
}
.viewport-frame[data-vp="mobile"] .hero.pp-hero.pp-side .pp-hero-badge { left: auto; right: 20px; top: 96px; bottom: auto; }

/* Photo rows: full-bleed, every photo in its own proportion, cropped around its subject */
.pp-band { margin: 72px 0; }
.pp-band-row {
  display: flex; gap: 6px;
  /* the justified height (every photo whole), kept between 300 and 600 px */
  height: clamp(300px, calc((100vw - (var(--n, 1) - 1) * 6px) / var(--sum, 3)), 600px);
}
.pp-band[data-count="2"] { --n: 2; }
.pp-band[data-count="3"] { --n: 3; }
.pp-band[data-count="4"] { --n: 4; }
.pp-band[data-count="1"] .pp-band-row { height: clamp(360px, 44vw, 760px); }
/* a single photo too small for the full width keeps near its own size (--max = 1.15 × its width) */
.pp-band[data-count="1"][style*="--max"] .pp-band-row { max-width: min(100% - 80px, var(--max)); margin: 0 auto; height: auto; aspect-ratio: max(var(--r), 1.5); border-radius: var(--r-card, 14px); overflow: hidden; }
.pp-band-item {
  position: relative; display: block; min-width: 0;
  flex: var(--r) 1 0;
  overflow: hidden; background: var(--stage, #171512);
}
.pp-band-item img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.pp-band-item:hover img { transform: scale(1.025); }
.pp-band-item:focus-visible { outline-offset: -4px; }
.pp-body + .pp-band { margin-top: 64px; }
.pp-band + .pp-body-more { padding-top: 0; }
.pp-band + .pp-section { margin-top: 0; }

.viewport-frame[data-vp="mobile"] .pp-band { margin: 40px 0; }
.viewport-frame[data-vp="mobile"] .pp-band-row {
  height: auto; gap: 8px; padding: 0 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.viewport-frame[data-vp="mobile"] .pp-band-row::-webkit-scrollbar { display: none; }
.viewport-frame[data-vp="mobile"] .pp-band-item {
  flex: 0 0 84%; aspect-ratio: 4 / 5; border-radius: 12px; scroll-snap-align: center;
}
.viewport-frame[data-vp="mobile"] .pp-band[data-count="1"] .pp-band-row { padding: 0; overflow: visible; max-width: none; aspect-ratio: auto; border-radius: 0; height: auto; }
.viewport-frame[data-vp="mobile"] .pp-band[data-count="1"] .pp-band-item { flex-basis: 100%; aspect-ratio: max(var(--r), 0.9); border-radius: 0; }

/* Video: its own dark film band */
.pp-media.pp-film { margin-top: 72px; padding: 72px 0; background: var(--stage, #171512); }
.pp-film .pp-media-stack { max-width: 1120px; }
.pp-film .zg-video figcaption, .pp-film .zg-video-note { color: rgba(255,255,255,0.6); }
.pp-film + .pp-band { margin-top: 0; }
.viewport-frame[data-vp="mobile"] .pp-media.pp-film { margin-top: 40px; padding: 28px 0; }

/* Price: one tile per price instead of a table-like card */
.pp-pricecard:not(.is-text) {
  max-width: none; padding: 0; background: none; border: 0; border-radius: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px;
}
/* :has() in the selector outranks the older single-price rule (17e: padding 20px 0) */
.pp-pricecard:not(.is-text) > .pp-price-row,
.pp-pricecard:not(.is-text):has(> .pp-price-row:only-of-type) > .pp-price-row {
  display: flex; flex-direction: column; justify-content: space-between; gap: 6px;
  padding: 22px 24px 20px; min-height: 150px;
  background: var(--paper-soft); border: 1px solid var(--line); border-radius: var(--r-card, 14px);
  border-top: 3px solid var(--pcl-orange);
}
.pp-pricecard:not(.is-text) > .pp-price-row:last-of-type { border-bottom: 1px solid var(--line); }
.pp-pricecard:not(.is-text) .pp-price-l { font-size: 16px; line-height: 1.35; order: 1; }
.pp-pricecard:not(.is-text) .pp-price-m { font-size: 14px; line-height: 1.4; order: 2; }
.pp-pricecard:not(.is-text) .pp-price-v,
.pp-pricecard:not(.is-text):has(> .pp-price-row:only-of-type) .pp-price-v {
  order: 3; margin-top: auto; padding-top: 10px; align-self: flex-start; text-align: left;
  font-size: clamp(38px, 3.2vw, 50px); line-height: 1;
}
.pp-pricecard:not(.is-text) .pp-price-v { white-space: normal; }
.pp-pricecard:not(.is-text) .pp-price-u { font-family: var(--font-body); font-size: 15px; text-transform: none; color: var(--ink-mute); letter-spacing: 0; }
.pp-pricecard:not(.is-text) > .pp-price-row.is-solo .pp-price-m:empty { display: none; }
/* one price: a tile, not a full-width bar */
.pp-pricecard:not(.is-text):has(> .pp-price-row:only-of-type) { grid-template-columns: minmax(0, 360px); }
.pp-pricecard:not(.is-text) > .pp-price-notes,
.pp-pricecard:not(.is-text) > .btn { grid-column: 1 / -1; }
.pp-pricecard:not(.is-text) > .pp-price-notes { margin-top: 8px; padding-top: 0; border-top: 0; }
.viewport-frame[data-vp="mobile"] .pp-pricecard:not(.is-text) { padding: 0; grid-template-columns: minmax(0, 1fr); }
.viewport-frame[data-vp="mobile"] .pp-pricecard:not(.is-text) > .pp-price-row { min-height: 0; }

/* »Prijava« on the program's own photo: a dark card beside the subject */
.pp-prijava.has-photo {
  position: relative; overflow: hidden;
  margin-top: 88px;
  /* --fit-h (side-photo script): the whole climber, hands to feet */
  min-height: max(clamp(540px, 46vw, 780px), var(--fit-h, 0px));
  display: flex; align-items: center;
  padding: 72px 0;
  background: var(--stage, #171512);
}
.pp-prijava.has-photo > .pp-prijava-photo {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.pp-prijava-grad { position: absolute; inset: 0; pointer-events: none; }
.pp-prijava.has-photo[data-side="left"] .pp-prijava-grad { background: linear-gradient(90deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.2) 38%, rgba(0,0,0,0) 58%); }
.pp-prijava.has-photo[data-side="right"] .pp-prijava-grad { background: linear-gradient(270deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.2) 38%, rgba(0,0,0,0) 58%); }
.pp-prijava.has-photo > .container { position: relative; z-index: 2; width: 100%; display: flex; }
.pp-prijava.has-photo[data-side="right"] > .container { justify-content: flex-end; }
.pp-prijava.has-photo .pp-prijava-panel,
.pp-prijava.has-photo .pp-prijava-panel.is-compact {
  display: block;
  width: min(540px, 44vw);
  padding: 44px 44px 40px;
  background: rgba(23, 21, 18, 0.8);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.08);
}
.pp-prijava.has-photo .pp-prijava-panel.is-compact .pp-prijava-head { margin-bottom: 32px; }
.pp-prijava.has-photo .pp-prijava-panel .pp-prijava-title { font-size: clamp(40px, 3.8vw, 64px); }
.pp-prijava.has-photo .pp-steps { grid-template-columns: minmax(0, 1fr); gap: 18px; }
.pp-prijava.has-photo .pp-prijava-foot,
.pp-prijava.has-photo .pp-prijava-panel.is-compact .pp-prijava-foot {
  flex-direction: column; align-items: flex-start; flex-wrap: wrap; gap: 24px;
  margin-top: 0; padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.14);
}
.pp-prijava.has-photo .pp-steps + .pp-prijava-foot { margin-top: 32px; }
.pp-prijava.has-photo .pp-contact { text-align: left; }
.pp-faqwrap + .pp-prijava.has-photo { margin-top: 72px; }

.viewport-frame[data-vp="mobile"] .pp-prijava.has-photo {
  --side-stacked: 1;
  display: block; min-height: 0; padding: 0 0 8px; margin-top: 48px;
}
.viewport-frame[data-vp="mobile"] .pp-prijava.has-photo > .pp-prijava-photo {
  position: relative; inset: auto; height: 62vw; min-height: 240px; transform: none;
  -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%);
          mask-image: linear-gradient(180deg, #000 70%, transparent 100%);
}
.viewport-frame[data-vp="mobile"] .pp-prijava-grad { display: none; }
.viewport-frame[data-vp="mobile"] .pp-prijava.has-photo .pp-prijava-panel,
.viewport-frame[data-vp="mobile"] .pp-prijava.has-photo .pp-prijava-panel.is-compact {
  width: auto; margin-top: -40px; padding: 0 4px 32px;
  background: none; border: 0; -webkit-backdrop-filter: none; backdrop-filter: none;
}

@media (max-width: 1100px) {
  .viewport-frame:not([data-vp="mobile"]) .hero.pp-hero.pp-side .hero-copy { width: min(520px, 50vw); }
  .viewport-frame:not([data-vp="mobile"]) .pp-prijava.has-photo .pp-prijava-panel { width: min(500px, 56vw); }
}
/* <<< program-photo-led <<< */

/* >>> vodena-vadba-walls >>>
   102 · Program term rows with the group's instructor, level and »O skupini«; the
   »Druge vodene vadbe« strip (2026-11-25, docs/plans/vodena-vadba-ux.md)
   ------------------------------------------------------------------------- */
.pp-term-days.has-who { display: flex; flex-direction: column; gap: 6px; white-space: normal; }
.pp-term-who { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.pp-term-coach {
  display: inline-flex; align-items: center; gap: 8px; min-height: 36px;
  color: var(--ink); font-weight: 600; text-decoration: none;
}
.pp-term-coach img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; flex-shrink: 0; }
.pp-term-coach:hover span { text-decoration: underline; text-underline-offset: 3px; }
.pp-term-level { font-size: 14px; color: var(--ink-mute); }
.pp-term-more { grid-column: 1 / -1; margin: -4px 0 2px; }
.pp-term-more > summary {
  display: inline-flex; align-items: center; gap: 8px; min-height: 36px; cursor: pointer;
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.08em; font-size: 13px; font-weight: 700;
  color: var(--pcl-orange-text); list-style: none;
}
.pp-term-more > summary::-webkit-details-marker { display: none; }
.pp-term-more > summary::after { content: "+"; font-size: 17px; line-height: 1; }
.pp-term-more[open] > summary::after { content: "–"; }
.pp-term-more-body { max-width: 68ch; padding: 4px 0 8px; font-size: 16px; line-height: 1.6; color: var(--ink-soft, var(--ink)); }
.pp-term:has(.pp-term-more[open]) { background: var(--pcl-orange-tint); }
/* The row number column stays empty under it on desktop: indent the fold to the dates column. */
.viewport-frame:not([data-vp="mobile"]) .pp-term-more { grid-column: 2 / -1; }

/* »Druge vodene vadbe« */
.pp-sibs { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.pp-sib {
  display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; align-items: center; gap: 16px;
  height: 100%; padding: 12px 18px 12px 12px; color: var(--ink); text-decoration: none;
  background: var(--paper-soft); border: 1px solid var(--line); border-radius: var(--r-card, 14px);
  transition: border-color var(--dur-fast, .15s) var(--ease, ease), background var(--dur-fast, .15s) var(--ease, ease);
}
.pp-sib:hover { border-color: var(--pcl-orange); background: var(--pcl-orange-tint); }
.pp-sib-media { width: 96px; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--line); }
.pp-sib-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pp-sib-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.pp-sib-title { font-family: var(--font-display); text-transform: uppercase; font-size: 20px; line-height: 1.05; font-weight: 700; }
.pp-sib-who { font-size: 14px; color: var(--ink-mute); }
.pp-sib-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; font-size: 14px; font-weight: 600; color: var(--ink-soft, var(--ink)); }
.pp-sib-spots { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.08em; font-size: 12px; }
.pp-sib-spots .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-faint); }
.pp-sib-spots.is-open { color: #2E6B3C; } .pp-sib-spots.is-open .dot { background: var(--ok); }
.pp-sib-spots.is-few { color: var(--pcl-orange-text); } .pp-sib-spots.is-few .dot { background: var(--pcl-orange); }
.pp-sib-spots.is-full { color: #B83A3A; } .pp-sib-spots.is-full .dot { background: #B83A3A; }
.pp-sib-arrow { font-size: 20px; color: var(--ink-mute); }
.viewport-frame[data-vp="mobile"] .pp-sib { grid-template-columns: 72px minmax(0, 1fr) auto; gap: 12px; }
.viewport-frame[data-vp="mobile"] .pp-sib-media { width: 72px; }
/* <<< vodena-vadba-walls <<< */

/* >>> urnik-merged >>>
   103 · /urnik: groups that overlap in one hall are one block (»3 skupine«,
   HallScheduleRepository::merge); its groups are listed in the detail panel and
   the phone agenda (2026-11-25)
   ------------------------------------------------------------------------- */
.urn-members { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 3px; font-size: 14px; line-height: 1.35; }
.urn-members li { display: flex; gap: 10px; }
.urn-members-time { flex: none; min-width: 84px; font-variant-numeric: tabular-nums; opacity: .75; }
.urn-ag-body .urn-members { font-size: 13px; }
/* <<< urnik-merged <<< */

/* >>> darilni-checkout >>>
   104 · /darilni-boni: gift checkout hand-off (2026-11-25, docs/plans/darilni-boni-checkout.md):
   the value voucher's kind choice (»Za obiske in karte« / »Za tečaje in programe«) and the
   quantity stepper in the buy box. Pills reuse the .db-amts look; 44 px targets (section 90).
   ------------------------------------------------------------------------- */
.db-kind { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.db-kind-l { font-family: var(--font-body); font-size: 14px; font-weight: 700; color: var(--ink-soft); }
.db-kind-b { display: flex; flex-wrap: wrap; gap: 8px; }
.db-kind-b button {
  appearance: none; min-height: 44px; padding: 10px 18px; border: 1px solid var(--line-strong); border-radius: 999px;
  background: var(--paper-soft); font-family: var(--font-body); font-size: 15px; font-weight: 700; color: var(--ink); cursor: pointer;
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.db-kind-b button:hover { border-color: var(--ink); }
.db-kind-b button.is-active { background: var(--stage); border-color: var(--stage); color: #fff; }

.db-qty { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.db-qty[hidden] { display: none; }
.db-qty-l { font-family: var(--font-body); font-size: 15px; color: var(--ink-soft); }
.db-qty-ctl { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--paper, #fff); }
.db-qty-ctl button {
  appearance: none; width: 44px; height: 44px; border: 0; border-radius: 999px; background: none;
  font-family: var(--font-body); font-size: 22px; font-weight: 700; line-height: 1; color: var(--ink); cursor: pointer;
}
.db-qty-ctl button:hover:not(:disabled) { background: var(--paper-soft); }
.db-qty-ctl button:disabled { color: var(--ink-mute); cursor: default; }
.db-qty-ctl output { min-width: 28px; text-align: center; font-family: var(--font-display); font-size: 24px; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.db-buy-sum > span { display: flex; flex-direction: column; gap: 2px; }
.db-buy-each { font-size: 14px; font-variant-numeric: tabular-nums; color: var(--ink-mute); }
/* <<< darilni-checkout <<< */
