/* =========================================================
   SKI areály – design systém v5 (běh 1e)
   Koncept: „tabule provozu“ – světlá fotka areálu a pod ní
   cedule v barvě značky se stavem, provozní dobou, sněhem
   a teplotou. Luka = modrá + slunečná žlutá, Křemešník = lesní zelená + oranžová.
   Přepnutí webu = data-site="luka|kremesnik" na kořeni.
   ========================================================= */

/* 1. TOKENY ------------------------------------------------ */
.ski {
  --font-display: "Big Shoulders Display", "Arial Narrow", system-ui, sans-serif;
  --font-sans: "Instrument Sans", "Segoe UI", system-ui, sans-serif;
  --snow: #fbfcfd;
  --color-text: #0e1a22;
  --color-text-muted: #4b5b67;
  --color-line: #d9e2e8;
  --signal-open: #3ee07a;
  --signal-closed: #ff6b5e;
  --signal-prep: #ffc94a;
  --signal-off: #b6c2cb;
  --piste-blue: #1d64c8;
  --piste-red: #d1253a;
  --lights: #ffb020;
  --radius-s: 8px;
  --radius-m: 14px;
  --radius-l: 22px;
  --container: 1280px;
  --gutter: clamp(16px, 4vw, 48px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}
.ski[data-site="luka"] {
  /* Luka: jezero a obloha + slunce. Klidná modrá, veselá žlutá. */
  --brand: #0a4f7a;        /* modrá z loga, o odstín sytější */
  --brand-hover: #083f62;
  --brand-board: #0a4f7a;  /* plocha cedule */
  --brand-ink: #062b47;    /* hluboká modrá – patička, tabule */
  --brand-tint: #e4f0f8;
  --brand-soft: #b9d9ee;
  --accent: #ffcf3a;       /* slunečná žlutá (6,0 : 1 na ceduli) */
  --on-accent: #1d1400;
  --icon-bg: #fff4cc;      /* teplé podbarvení ikon */
}
.ski[data-site="kremesnik"] {
  /* Křemešník: les + oranžová kotva a světla večerní sjezdovky. */
  --brand: #1f6b10;        /* zelená z loga */
  --brand-hover: #185a0b;
  --brand-board: #18580c;  /* tmavší zelená cedule kvůli kontrastu oranžové */
  --brand-ink: #0d3317;    /* hluboká lesní zelená */
  --brand-tint: #e8f3e1;
  --brand-soft: #c4e2b0;
  --accent: #ff9f1c;       /* oranžová kotvy a reflektorů (4,2 : 1 na ceduli, jen velké písmo) */
  --on-accent: #1d1000;
  --icon-bg: #ffe9cc;
}

/* 2. ZÁKLAD ------------------------------------------------ */
.ski { font-family: var(--font-sans); font-size: 17px; line-height: 1.55; color: var(--color-text); background: var(--snow); position: relative; }
.ski *, .ski *::before, .ski *::after { box-sizing: border-box; }
.ski img { display: block; max-width: 100%; }
.ski p, .ski h1, .ski h2, .ski h3, .ski h4, .ski figure, .ski dl, .ski dd, .ski ol { margin: 0; }
.ski h1, .ski h2, .ski h3 { font-family: var(--font-display); font-weight: 800; line-height: .95; color: inherit; }
.ski h2 { font-size: clamp(2.5rem, 4.4vw, 4rem); }
.ski h3 { font-size: 1.75rem; font-weight: 700; line-height: 1; }
.ski a { color: var(--brand); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.ski a:hover { color: var(--brand-hover); }
.ski :focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
.ski .ski-on-dark :focus-visible { outline-color: #fff; }
.ski-container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.ski-icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ski-muted { color: var(--color-text-muted); }
.ski-section { padding-top: clamp(64px, 8vw, 112px); }
.ski-band { background: var(--brand-tint); padding: clamp(56px, 7vw, 96px) 0; margin-top: clamp(64px, 8vw, 112px); }
.ski-hero + .ski-band { margin-top: clamp(48px, 5vw, 72px); }
.ski-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 32px; }
.ski .ski-more { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; text-decoration: none; }
.ski .ski-more:hover { text-decoration: underline; }
.ski-ph { background: #fff4cc; box-shadow: 0 0 0 1px #d9a400 inset; border-radius: 4px; padding: 0 4px; color: #5a4300; font-style: normal; }

/* 3. TLAČÍTKA ---------------------------------------------- */
.ski .ski-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 999px; font: 600 1rem/1 var(--font-sans); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background-color .2s var(--ease); }
.ski .ski-btn--primary { background: var(--brand); color: #fff; }
.ski .ski-btn--primary:hover { background: var(--brand-hover); color: #fff; }
.ski .ski-btn--accent { background: var(--accent); color: var(--on-accent); }
.ski .ski-btn--accent:hover { filter: brightness(.95); color: var(--on-accent); }
.ski .ski-btn--ghost { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.55); }
.ski .ski-btn--ghost:hover { background: rgba(255,255,255,.2); color: #fff; }
.ski .ski-btn--outline { background: transparent; color: var(--brand); border-color: var(--brand); }
.ski .ski-btn--sm { min-height: 44px; padding: 0 18px; font-size: .9375rem; }

/* 4. HLAVIČKA ---------------------------------------------- */
.ski-header { position: relative; z-index: 20; background: #fff; border-bottom: 4px solid var(--brand); }
.ski-header__inner { display: flex; align-items: center; gap: 24px; min-height: 84px; }
.ski-header__logo { flex: none; }
.ski-header__logo img { height: 52px; width: auto; }
.ski-nav { margin-left: auto; }
.ski-nav__list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.ski .ski-nav__link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 11px; border-radius: 999px; font-weight: 600; font-size: 1.0625rem; color: var(--color-text); text-decoration: none; white-space: nowrap; }
.ski .ski-nav__link:hover { background: var(--brand-tint); color: var(--brand); }
.ski .ski-nav__link[aria-current="page"] { background: var(--brand); color: #fff; }
.ski-header__actions { display: flex; align-items: center; gap: 8px; }
.ski .ski-iconbtn { display: none; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 999px; border: 0; background: var(--brand-tint); color: var(--brand); }
.ski .ski-iconbtn--brand { background: var(--brand); color: #fff; }
.ski-pill { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 14px; border-radius: 999px; background: var(--brand-ink); color: #fff; font-size: .875rem; font-weight: 600; white-space: nowrap; }
.ski-dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.ski-dot--open { background: var(--signal-open); box-shadow: 0 0 0 4px rgba(62, 224, 122, .28); }
.ski-dot--closed { background: var(--signal-closed); }
.ski-dot--prep { background: var(--signal-prep); }
.ski-dot--off { background: var(--signal-off); }

/* 5. HERO: světlá fotka + cedule --------------------------- */
.ski-hero { position: relative; }
.ski-hero__photo { position: relative; height: clamp(300px, 32vw, 460px); overflow: hidden; background: var(--brand-tint); }
.ski-hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.ski-hero__grid { position: relative; z-index: 3; display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: end; margin-top: -170px; }
.ski-board { background: var(--brand-board); color: #fff; border-radius: var(--radius-l); padding: 32px 36px 28px; box-shadow: 0 24px 48px rgba(6, 25, 42, .22); max-width: 720px; }
.ski-board__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.ski-board__name { font-family: var(--font-display); font-weight: 700; font-size: 1.75rem; line-height: 1; }
.ski-board .ski-pill { background: rgba(0,0,0,.22); }
.ski-board__status { margin-top: 22px; font-family: var(--font-display); font-weight: 900; line-height: .88; }
.ski-board__line1 { display: block; font-size: clamp(2.5rem, 4.6vw, 4.25rem); padding-top: .12em; }
.ski-board__line2 { display: block; font-size: clamp(3.75rem, 8vw, 7.25rem); color: var(--accent); font-variant-numeric: tabular-nums; }
.ski-board__line2--long { font-size: clamp(3rem, 5.6vw, 5rem); }
.ski-board__note { margin-top: 16px; color: #e3eef6; }
.ski-board__data { display: flex; gap: 0; margin-top: 26px; border-top: 1px solid rgba(255,255,255,.28); }
.ski-board__datum { flex: 1 1 0; padding: 16px 0 0; display: flex; flex-direction: column; gap: 2px; }
.ski-board__datum + .ski-board__datum { border-left: 1px solid rgba(255,255,255,.28); padding-left: 24px; }
.ski-board__datum dt { font-size: .9375rem; color: #e3eef6; }
.ski-board__datum dd { font-family: var(--font-display); font-weight: 800; font-size: 3rem; line-height: 1; font-variant-numeric: tabular-nums; }
.ski-board__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.ski .ski-cam { display: flex; flex-direction: column; border-radius: var(--radius-l); overflow: hidden; background: #fff; color: var(--color-text); text-decoration: none; box-shadow: 0 24px 48px rgba(6, 25, 42, .18); }
.ski .ski-cam:hover { color: var(--color-text); }
.ski-cam__img { position: relative; aspect-ratio: 16 / 10; background: var(--brand-tint); }
.ski-cam__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ski-cam__badge { position: absolute; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: rgba(6, 25, 42, .78); color: #fff; font-size: .8125rem; font-weight: 600; }
.ski-cam__cap { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px 18px; }
.ski-cam__cap strong { display: block; font-family: var(--font-display); font-size: 1.625rem; line-height: 1; }
.ski-cam__cap small { display: block; color: var(--color-text-muted); font-size: .8125rem; margin-top: 4px; }
.ski-cam__go { width: 44px; height: 44px; border-radius: 50%; background: var(--brand); color: #fff; display: flex; align-items: center; justify-content: center; flex: none; }

/* 6. SVAH: schéma + parametry (v barevném pásu) ------------ */
.ski-slope { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.ski-slope__text { display: flex; flex-direction: column; gap: 24px; }
.ski-slope__lead { font-size: 1.1875rem; color: var(--color-text-muted); max-width: 44ch; }
.ski-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--brand-soft); }
.ski-fact { padding: 18px 16px 18px 0; border-bottom: 1px solid var(--brand-soft); }
.ski-fact dt { font-size: .9375rem; color: var(--color-text-muted); }
.ski-fact dd { font-family: var(--font-display); font-weight: 800; font-size: 2.75rem; line-height: 1; color: var(--brand-ink); font-variant-numeric: tabular-nums; }
.ski-fact dd small { font-size: 1.375rem; font-weight: 700; margin-left: 2px; }
.ski-map { position: relative; border-radius: var(--radius-l); overflow: hidden; background: #fff; aspect-ratio: 7 / 5; box-shadow: 0 12px 32px rgba(6,25,42,.08); }
.ski-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ski-map figcaption { position: absolute; right: 20px; bottom: 14px; font-size: .8125rem; color: var(--color-text-muted); }
.ski-legend { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 16px 0 0; padding: 0; list-style: none; font-size: .9375rem; }
.ski-legend li { display: inline-flex; align-items: center; gap: 8px; }
.ski-legend i { width: 22px; height: 5px; border-radius: 3px; display: inline-block; }

/* 7. AKTUALITY --------------------------------------------- */
.ski-news { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px; }
.ski .ski-feat { display: grid; grid-template-rows: auto 1fr; border-radius: var(--radius-l); overflow: hidden; background: #fff; border: 1px solid var(--color-line); text-decoration: none; color: inherit; }
.ski-feat img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.ski-feat__body { padding: 28px 32px 32px; display: flex; flex-direction: column; gap: 10px; }
.ski-feat__body h3 { font-size: 2.25rem; }
.ski .ski-feat:hover h3 { text-decoration: underline; text-decoration-thickness: 2px; }
.ski-date { font-size: .875rem; font-weight: 700; color: var(--brand); }
.ski-newslist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.ski-newslist li + li { border-top: 1px solid var(--color-line); }
.ski .ski-newslist a { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 18px; align-items: center; padding: 18px 0; text-decoration: none; color: inherit; }
.ski-newslist img { width: 112px; height: 84px; object-fit: cover; border-radius: var(--radius-s); }
.ski-newslist h3 { font-size: 1.5rem; }
.ski .ski-newslist a:hover h3 { text-decoration: underline; }

/* 8. ROZCESTNÍK -------------------------------------------- */
.ski-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.ski .ski-tile { display: flex; flex-direction: column; border-radius: var(--radius-l); overflow: hidden; background: #fff; border: 1px solid var(--color-line); color: var(--color-text); text-decoration: none; }
.ski-tile__img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--brand-tint); }
.ski-tile__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.ski .ski-tile:hover img { transform: scale(1.04); }
.ski-tile__body { padding: 18px 20px 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 4px solid var(--brand); }
.ski-tile__body h3 { font-size: 1.875rem; }
.ski-tile__body p { color: var(--color-text-muted); font-size: .9375rem; margin-top: 4px; }
.ski-tile__go { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--brand-tint); color: var(--brand); flex: none; }
.ski .ski-tile:hover .ski-tile__go { background: var(--brand); color: #fff; }

/* 9. KDE NÁS NAJDETE: trasa jako linka + sesterský areál ---- */
.ski-where { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 16px; }
.ski-routecard { background: #fff; border: 1px solid var(--color-line); border-radius: var(--radius-l); padding: 32px; display: flex; flex-direction: column; gap: 24px; }
.ski-routeline { list-style: none; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); position: relative; }
.ski-routeline::before { content: ""; position: absolute; left: 0; right: 0; top: 13px; height: 4px; border-radius: 2px; background: var(--brand-soft); }
.ski-routeline li { position: relative; padding-top: 40px; padding-right: 16px; display: flex; flex-direction: column; gap: 4px; }
.ski-routeline li::before { content: ""; position: absolute; top: 4px; left: 0; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 4px solid var(--brand); }
.ski-routeline li.is-target::before { background: var(--brand); box-shadow: 0 0 0 6px var(--brand-soft); }
.ski-routeline li > strong { font-family: var(--font-display); font-size: 1.625rem; line-height: 1; }
.ski-routeline li > span { color: var(--color-text-muted); font-size: .9375rem; }
.ski-routecard__notes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; list-style: none; padding: 0; margin: 0; }
.ski-routecard__notes li { display: flex; gap: 10px; align-items: flex-start; color: var(--color-text-muted); }
.ski-routecard__notes .ski-icon { color: var(--brand); margin-top: 2px; }
.ski .ski-sister { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; min-height: 380px; border-radius: var(--radius-l); overflow: hidden; padding: 28px; color: #fff; text-decoration: none; isolation: isolate; }
.ski-sister > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.ski-sister::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, var(--sister-ink, rgba(6,25,42,.92)) 0%, var(--sister-ink, rgba(6,25,42,.92)) 42%, rgba(6,25,42,0) 100%); }
.ski[data-site="luka"] .ski-sister { --sister-ink: rgba(13, 51, 23, .92); }
.ski[data-site="kremesnik"] .ski-sister { --sister-ink: rgba(6, 43, 71, .92); }
.ski-sister__label { font-size: .9375rem; font-weight: 700; color: #fff; }
.ski-sister h3 { font-size: 2.5rem; }
.ski-sister p { color: #fff; font-size: .9375rem; }
.ski .ski-sister:hover { color: #fff; }

/* 10. PARTNEŘI + PATIČKA ----------------------------------- */
.ski-partners { margin-top: clamp(64px, 8vw, 112px); border-top: 1px solid var(--color-line); }
.ski-partners__inner { display: flex; align-items: center; gap: 4px 32px; flex-wrap: wrap; min-height: 88px; color: var(--color-text-muted); font-size: .9375rem; }
.ski .ski-partners a { font-weight: 600; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; color: var(--color-text); }
.ski .ski-partners a:hover { color: var(--brand); text-decoration: underline; }
.ski-footer { background: var(--brand-ink); color: #cddbe5; font-size: .9375rem; }
.ski-footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1fr; gap: 40px; padding-top: 64px; padding-bottom: 48px; }
.ski-footer__logo { height: 46px; width: auto; align-self: flex-start; }
.ski-footer h4 { margin: 0 0 14px; font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; color: #fff; line-height: 1; }
.ski-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.ski .ski-footer a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 10px; min-height: 40px; }
.ski .ski-footer a:hover { text-decoration: underline; }
.ski .ski-footer .ski-footer__phone { font-family: var(--font-display); font-weight: 800; font-size: 2.25rem; line-height: 1; color: var(--accent); }
.ski-footer__bottom { border-top: 1px solid rgba(255,255,255,.16); }
.ski-footer__bottom .ski-container { display: flex; align-items: center; gap: 12px 28px; flex-wrap: wrap; min-height: 72px; font-size: .875rem; }
/* Podpis RETURN – HTML i základní styly vkládá plugin plg_system_rtnweb (varianta „tmavé pozadí“, zarovnání vpravo = margin-left:auto) */
.ski .rtn-credit { color: #cddbe5; }
.ski .rtn-credit--right { margin-left: auto; } /* reset `.ski p { margin: 0 }` má vyšší specifitu než pravidlo pluginu */

/* 11. MOBILNÍ LIŠTA + MENU --------------------------------- */
.ski-mbar { display: none; }
.ski-mmenu { position: fixed; inset: 0; z-index: 60; background: var(--brand-ink); color: #fff; display: flex; flex-direction: column; padding: 16px var(--gutter) 24px; overflow-y: auto; }
.ski-mmenu__top { display: flex; align-items: center; justify-content: space-between; min-height: 56px; }
.ski-mmenu__top img { height: 42px; width: auto; }
.ski .ski-mmenu__close { width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.ski-mmenu__list { list-style: none; margin: 12px 0 0; padding: 0; }
.ski-mmenu__list li { border-bottom: 1px solid rgba(255,255,255,.14); }
.ski .ski-mmenu__list a { display: flex; align-items: center; justify-content: space-between; min-height: 54px; color: #fff; text-decoration: none; font-family: var(--font-display); font-weight: 700; font-size: 2rem; }
.ski .ski-mmenu__list a[aria-current="page"] { color: var(--accent); }
.ski-mmenu__foot { margin-top: auto; padding-top: 20px; display: flex; flex-direction: column; gap: 12px; }
.ski-mmenu__foot .ski-btn { width: 100%; }

/* 12. PODSTRÁNKA ------------------------------------------- */
.ski-pagehead { background: var(--brand-tint); color: var(--brand-ink); border-bottom: 1px solid var(--brand-soft); }
.ski-pagehead__inner { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 40px; align-items: center; padding-top: 48px; padding-bottom: 88px; }
.ski-pagehead__text { display: flex; flex-direction: column; gap: 16px; }
.ski-pagehead h1 { font-size: clamp(3.25rem, 6.4vw, 6rem); }
.ski-pagehead p { font-size: 1.1875rem; color: var(--color-text-muted); max-width: 46ch; }
.ski-pagehead__img { border-radius: var(--radius-l); overflow: hidden; aspect-ratio: 16 / 10; }
.ski-pagehead__img img { width: 100%; height: 100%; object-fit: cover; }
.ski-pagehead .ski-pill { align-self: flex-start; background: var(--brand-ink); }
.ski-crumbs { display: flex; gap: 8px; font-size: .875rem; color: var(--color-text-muted); }
.ski .ski-crumbs a { color: var(--brand); }
.ski-quick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: -48px; position: relative; z-index: 3; }
.ski .ski-quick__item { display: flex; flex-direction: column; gap: 6px; padding: 24px; border-radius: var(--radius-m); background: #fff; border: 1px solid var(--color-line); box-shadow: 0 14px 32px rgba(6,25,42,.10); text-decoration: none; color: inherit; }
.ski-quick__label { font-size: .9375rem; color: var(--color-text-muted); display: flex; align-items: center; gap: 8px; }
.ski-quick__label .ski-icon { color: var(--brand); }
.ski-quick__item strong { font-family: var(--font-display); font-weight: 800; font-size: 2.25rem; line-height: 1; color: var(--brand-ink); }
.ski .ski-quick__item:hover strong { color: var(--brand); }
.ski-two { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 32px; align-items: start; }
.ski-hours { background: var(--brand-ink); color: #fff; border-radius: var(--radius-l); padding: 32px; display: flex; flex-direction: column; gap: 20px; }
.ski-hours h2 { font-size: 3rem; }
.ski-hours__table { width: 100%; border-collapse: collapse; }
.ski-hours__table caption { text-align: left; padding-bottom: 6px; color: #cddbe5; font-size: .9375rem; }
.ski-hours__table th, .ski-hours__table td { padding: 14px 0; border-top: 1px solid rgba(255,255,255,.16); text-align: left; font-weight: 500; }
.ski-hours__table td { text-align: right; font-family: var(--font-display); font-weight: 800; font-size: 2rem; line-height: 1; font-variant-numeric: tabular-nums; }
.ski-hours__table tr.is-today th, .ski-hours__table tr.is-today td { color: var(--accent); }
.ski-hours__table tr.is-today th::after { content: " · dnes"; font-weight: 600; }
.ski-hours__note { color: #cddbe5; font-size: .9375rem; }
.ski-card { background: #fff; border: 1px solid var(--color-line); border-radius: var(--radius-l); padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.ski-card h2 { font-size: 2.75rem; }
.ski-card--tint { background: var(--brand-tint); border-color: transparent; }
.ski-routecard--stack .ski-routeline { grid-auto-flow: row; grid-auto-columns: auto; gap: 18px; }
.ski-routecard--stack .ski-routeline::before { left: 9px; right: auto; top: 8px; bottom: 8px; width: 4px; height: auto; }
.ski-routecard--stack .ski-routeline li { padding: 0 0 0 40px; }
.ski-routecard--stack .ski-routeline li::before { top: 2px; }
.ski-dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 20px; }
.ski-dl dt { color: var(--color-text-muted); }
.ski-dl dd { font-weight: 600; }

/* 13. AKORDEON + FORMULÁŘ ---------------------------------- */
.ski-acc { border-top: 1px solid var(--color-line); }
.ski-acc details { border-bottom: 1px solid var(--color-line); }
.ski-acc summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 16px; min-height: 64px; font-family: var(--font-display); font-weight: 700; font-size: 1.75rem; line-height: 1; }
.ski-acc summary::-webkit-details-marker { display: none; }
.ski-acc summary::after { content: ""; margin-left: auto; width: 14px; height: 14px; border-right: 2.5px solid var(--brand); border-bottom: 2.5px solid var(--brand); transform: rotate(45deg) translate(-4px, -4px); transition: transform .2s var(--ease); }
.ski-acc details[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.ski-acc__body { padding: 0 0 22px; color: var(--color-text-muted); max-width: 64ch; }
.ski-field { display: flex; flex-direction: column; gap: 6px; }
.ski-field label { font-weight: 600; font-size: .9375rem; }
.ski-input { min-height: 52px; border: 1.5px solid #6b7c88; border-radius: var(--radius-s); padding: 0 14px; font: inherit; color: var(--color-text); background: #fff; }
.ski-input:focus-visible { outline: 3px solid var(--brand); outline-offset: 1px; border-color: var(--brand); }

/* 14. VLOČKY (volba šablony, jen CSS) ---------------------- */
.ski-snow { position: fixed; inset: 0; pointer-events: none; z-index: 50; overflow: hidden; }
.ski-snow span { position: absolute; top: -5vh; color: #fff; text-shadow: 0 0 3px rgba(6,25,42,.45); font-size: 18px; opacity: .9; animation: ski-fall linear infinite; }
.ski-snow span:nth-child(1) { left: 6%; animation-duration: 13s; }
.ski-snow span:nth-child(2) { left: 18%; animation-duration: 17s; animation-delay: -5s; font-size: 13px; }
.ski-snow span:nth-child(3) { left: 31%; animation-duration: 15s; animation-delay: -9s; }
.ski-snow span:nth-child(4) { left: 44%; animation-duration: 19s; animation-delay: -2s; font-size: 12px; }
.ski-snow span:nth-child(5) { left: 56%; animation-duration: 14s; animation-delay: -11s; }
.ski-snow span:nth-child(6) { left: 67%; animation-duration: 18s; animation-delay: -6s; font-size: 15px; }
.ski-snow span:nth-child(7) { left: 78%; animation-duration: 16s; animation-delay: -13s; }
.ski-snow span:nth-child(8) { left: 88%; animation-duration: 20s; animation-delay: -3s; font-size: 13px; }
.ski-snow span:nth-child(9) { left: 96%; animation-duration: 15s; animation-delay: -8s; }
@keyframes ski-fall { from { transform: translate3d(0, 0, 0) rotate(0); } to { transform: translate3d(40px, 112vh, 0) rotate(180deg); } }
@media (prefers-reduced-motion: reduce) { .ski-snow { display: none; } .ski-tile__img img { transition: none; } }

/* 15. RESPONZIVITA ----------------------------------------- */
@media (max-width: 1180px) {
  .ski-nav { display: none; }
  .ski .ski-iconbtn { display: inline-flex; }
  .ski-header__actions { margin-left: auto; }
  .ski-hero__grid { grid-template-columns: minmax(0, 1fr); margin-top: -120px; }
  .ski .ski-cam { flex-direction: row; align-items: stretch; }
  .ski-cam__img { width: 46%; aspect-ratio: auto; min-height: 150px; }
  .ski-cam__cap { flex: 1; }
  .ski-slope { grid-template-columns: minmax(0, 1fr); }
  .ski-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ski-news { grid-template-columns: minmax(0, 1fr); }
  .ski-where { grid-template-columns: minmax(0, 1fr); }
  .ski-footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ski-two { grid-template-columns: minmax(0, 1fr); }
  .ski-pagehead__inner { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 680px) {
  .ski { font-size: 16px; padding-bottom: 76px; }
  .ski-header { border-bottom-width: 3px; }
  .ski-header__inner { min-height: 68px; gap: 10px; }
  .ski-header__logo img { height: 40px; }
  .ski-hero__photo { height: 260px; }
  .ski-hero__grid { margin-top: -56px; gap: 12px; }
  .ski-board { padding: 22px 20px 20px; border-radius: 18px; }
  .ski-board__name { font-size: 1.5rem; }
  .ski-board__status { margin-top: 16px; }
  .ski-board__line1 { font-size: 2.5rem; }
  .ski-board__line2 { font-size: 4rem; }
  .ski-board__line2--long { font-size: 3rem; }
  .ski-board__data { margin-top: 18px; }
  .ski-board__datum dd { font-size: 2.25rem; }
  .ski-board__datum + .ski-board__datum { padding-left: 16px; }
  .ski-board__actions { display: none; }
  .ski-cam__img { width: 44%; min-height: 112px; }
  .ski-cam__cap { padding: 12px 14px; }
  .ski-cam__cap strong { font-size: 1.5rem; }
  .ski-cam__go { display: none; }
  .ski-fact dd { font-size: 2.25rem; }
  .ski-tiles { gap: 10px; }
  .ski-tile__body { padding: 12px 14px 14px; border-top-width: 3px; }
  .ski-tile__body h3 { font-size: 1.5rem; }
  .ski-tile__body p, .ski-tile__go { display: none; }
  .ski-feat__body { padding: 20px; }
  .ski-feat__body h3 { font-size: 1.875rem; }
  .ski .ski-newslist a { grid-template-columns: 88px minmax(0, 1fr); gap: 14px; padding: 14px 0; }
  .ski-newslist img { width: 88px; height: 66px; }
  .ski-newslist h3 { font-size: 1.5rem; }
  .ski-routecard { padding: 22px; }
  .ski-routeline { grid-auto-flow: row; grid-auto-columns: auto; gap: 18px; }
  .ski-routeline::before { left: 9px; right: auto; top: 8px; bottom: 8px; width: 4px; height: auto; }
  .ski-routeline li { padding: 0 0 0 40px; }
  .ski-routeline li::before { top: 2px; }
  .ski-routecard__notes { grid-template-columns: minmax(0, 1fr); }
  .ski .ski-sister { min-height: 240px; }
  .ski-footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; padding-top: 44px; }
  .ski-footer__top > :first-child { grid-column: 1 / -1; }
  .ski .rtn-credit { margin-left: 0; }
  .ski-mbar { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: #fff; border-top: 1px solid var(--color-line); box-shadow: 0 -8px 24px rgba(6,25,42,.10); }
  .ski .ski-mbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 64px; font-size: .8125rem; font-weight: 600; color: var(--brand-ink); text-decoration: none; }
  .ski .ski-mbar a .ski-icon { color: var(--brand); width: 22px; height: 22px; }
  .ski .ski-mbar a + a { border-left: 1px solid var(--color-line); }
  .ski-pagehead__inner { padding-top: 28px; padding-bottom: 76px; gap: 24px; }
  .ski-pagehead__img { display: none; }
  .ski-quick { grid-template-columns: minmax(0, 1fr); margin-top: -44px; gap: 10px; }
  .ski .ski-quick__item { padding: 18px 20px; }
  .ski-quick__item strong { font-size: 1.875rem; }
  .ski-hours { padding: 24px; }
  .ski-hours__table td { font-size: 1.625rem; }
  .ski-card { padding: 22px; }
}

/* 16. v4 (běh 1d): horní lišta, ikony, infografika ------- */
.ski-topbar { background: var(--brand-tint); border-bottom: 1px solid var(--brand-soft); font-size: .9375rem; }
.ski-topbar .ski-container { display: flex; align-items: center; justify-content: flex-end; gap: 6px 22px; min-height: 40px; flex-wrap: wrap; }
.ski .ski-topbar a { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; color: var(--brand-ink); text-decoration: none; font-weight: 600; }
.ski .ski-topbar a:hover { color: var(--brand); text-decoration: underline; }
.ski-topbar .ski-icon { color: var(--brand); }
.ski-topbar__phone { font-weight: 700; font-size: 1.0625rem; letter-spacing: .01em; }
.ski-social { display: inline-flex; gap: 6px; }
.ski .ski-social a { width: 40px; height: 40px; justify-content: center; border-radius: 50%; }
.ski .ski-social a:hover { background: var(--brand-soft); }
.ski-board__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; padding: 0; list-style: none; }
.ski-board__chips li { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 14px 0 6px; border-radius: 999px; background: rgba(255,255,255,.12); font-size: .9375rem; font-weight: 600; }
.ski-board__chips .ski-badge { width: 26px; height: 26px; }
.ski-board__datum dt { display: flex; align-items: center; gap: 8px; }
.ski-board__datum dt .ski-icon { color: var(--accent); }
.ski-board__updated { margin-top: 14px; font-size: .8125rem; color: #d7e6f0; }
.ski-badge { display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--accent); color: var(--on-accent); flex: none; }
.ski-badge .ski-icon { width: 16px; height: 16px; stroke-width: 2.2; }
.ski-glance { padding-top: clamp(40px, 5vw, 64px); }
.ski-glance__grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; list-style: none; margin: 0; padding: 0; }
.ski-glance__item { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 18px; border-radius: var(--radius-m); background: #fff; border: 1px solid var(--color-line); }
.ski-glance__ic { width: 56px; height: 56px; border-radius: 16px; background: var(--icon-bg); color: var(--brand-ink); display: flex; align-items: center; justify-content: center; }
.ski-glance__ic .ski-icon { width: 30px; height: 30px; stroke-width: 1.7; }
.ski-glance__item strong { font-family: var(--font-display); font-weight: 800; font-size: 1.875rem; line-height: 1; color: var(--brand-ink); }
.ski-glance__txt { font-size: .9375rem; color: var(--color-text-muted); line-height: 1.3; }
.ski-tile__cta { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; min-height: 36px; padding: 0 14px; border-radius: 999px; background: var(--brand-tint); color: var(--brand); font-weight: 700; font-size: .9375rem; }
.ski .ski-tile:hover .ski-tile__cta { background: var(--brand); color: #fff; }
.ski-tile__body { align-items: flex-start; }
.ski-off { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ski-off__card { border-radius: var(--radius-l); padding: 28px; background: #fff; border: 1px solid var(--color-line); display: flex; flex-direction: column; gap: 12px; }
.ski-off__card--brand { background: var(--brand-board); color: #fff; border-color: transparent; }
.ski-off__card h3 { font-size: 2rem; }
.ski-off__card p { color: var(--color-text-muted); }
.ski-off__card--brand p { color: #e3eef6; }
.ski-off__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
.ski-footer__social { display: flex; gap: 8px; margin-top: 14px; }
.ski .ski-footer__social a { width: 44px; height: 44px; justify-content: center; border-radius: 50%; background: rgba(255,255,255,.1); }
.ski .ski-footer__social a:hover { background: rgba(255,255,255,.2); text-decoration: none; }
@media (max-width: 1180px) {
  .ski-glance__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ski-off { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 680px) {
  .ski-topbar { display: none; }
  .ski-glance__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .ski-glance__item { padding: 14px; gap: 8px; }
  .ski-glance__ic { width: 44px; height: 44px; border-radius: 12px; }
  .ski-glance__ic .ski-icon { width: 24px; height: 24px; }
  .ski-glance__item strong { font-size: 1.5rem; }
  .ski-board__chips li { font-size: .875rem; }
  .ski-tile__cta { display: none; }
  .ski-off__card { padding: 22px; }
}

/* 17. v4 doplňky ------------------------------------------- */
.ski-glance__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.ski-glance__head h2 { font-size: 2.25rem; }
.ski-glance__head p { color: var(--color-text-muted); font-size: .9375rem; }
.ski-off__card .ski-btn { min-height: 44px; }
.ski-mmenu .ski-footer__social { margin-top: 0; }
.ski-mmenu__social { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #cddbe5; font-size: .9375rem; }
@media (max-width: 680px) {
  .ski-glance__head h2 { font-size: 1.875rem; }
}

/* 18. opravy po auditu 1d ---------------------------------- */
.ski .ski-mmenu .ski-footer__social a { display: inline-flex; align-items: center; justify-content: center; color: #fff; text-decoration: none; }


/* 19. v5 (běh 1e): pohyb úvodní fotky, mapa příjezdu, ceník v kostce */
/* Pohyb fotky = „pseudovideo“: pomalé přiblížení (zoom) nebo posun (pan).
   V šabloně parametr heroMotion = zoom | pan | off; respektuje prefers-reduced-motion. */
.ski-hero__photo img { will-change: transform; }
.ski-hero__photo--zoom img { transform-origin: 55% 45%; animation: ski-zoom 22s ease-in-out infinite alternate; }
.ski-hero__photo--pan img { animation: ski-pan 30s ease-in-out infinite alternate; }
@keyframes ski-zoom { from { transform: scale(1); } to { transform: scale(1.09) translate3d(-1.2%, -1%, 0); } }
@keyframes ski-pan { from { transform: scale(1.14) translate3d(4.5%, 0, 0); } to { transform: scale(1.14) translate3d(-4.5%, 0, 0); } }
@media (prefers-reduced-motion: reduce) { .ski-hero__photo img { animation: none !important; transform: none !important; } }

.ski-board__updated { display: flex; align-items: center; gap: 8px; }
.ski-board__updated .ski-icon { width: 16px; height: 16px; color: var(--accent); }

.ski-prices { margin-top: 16px; display: grid; grid-template-columns: minmax(220px, 1.1fr) minmax(0, 3fr) auto; gap: 24px; align-items: center; padding: 22px 28px; border-radius: var(--radius-l); background: #fff; border: 1px solid var(--color-line); }
.ski-prices__head { display: flex; align-items: center; gap: 14px; }
.ski-prices__head h3 { font-size: 2rem; }
.ski-prices__head p { font-size: .9375rem; color: var(--color-text-muted); margin-top: 4px; }
.ski-prices__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
.ski-prices__list > div { padding: 4px 20px; border-left: 1px solid var(--color-line); }
.ski-prices__list dt { font-size: .9375rem; color: var(--color-text-muted); line-height: 1.3; }
.ski-prices__list dd { font-family: var(--font-display); font-weight: 800; font-size: 2.5rem; line-height: 1; color: var(--brand-ink); font-variant-numeric: tabular-nums; margin-top: 4px; }
.ski-prices__list dd small { font-size: 1.375rem; margin-left: 4px; }

.ski-locmap { position: relative; border-radius: var(--radius-m); overflow: hidden; background: #f5f9fb; aspect-ratio: 16 / 10; border: 1px solid var(--color-line); }
.ski[data-site="kremesnik"] .ski-locmap { background: #f6faf2; }
.ski-locmap svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ski-locmap figcaption { position: absolute; left: 12px; top: 8px; font-size: .8125rem; color: var(--color-text-muted); background: rgba(255,255,255,.85); padding: 2px 8px; border-radius: 6px; }
.ski-where__body { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.ski-where__side { display: flex; flex-direction: column; gap: 20px; }
.ski-where__side .ski-routecard__notes { grid-template-columns: minmax(0, 1fr); }

/* Náhradní stav obrázku, než se načte (nebo když chybí) */
.ski-tile__img img, .ski-feat img, .ski-newslist img, .ski-cam__img img, .ski-pagehead__img img, .ski-sister > img { background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.6' stroke-linejoin='round'%3E%3Cpath d='M2 20l7-12 4 6 3-4 6 10z'/%3E%3C/svg%3E") center / 56px no-repeat; }

@media (max-width: 1180px) {
  .ski-prices { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .ski-where__body { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 680px) {
  .ski-prices { padding: 18px; }
  .ski-prices__list { grid-template-columns: minmax(0, 1fr); }
  .ski-prices__list > div { border-left: 0; border-top: 1px solid var(--color-line); padding: 10px 0; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
  .ski-prices__list dd { font-size: 2rem; margin-top: 0; white-space: nowrap; }
  .ski-sister::after { background: linear-gradient(0deg, var(--sister-ink, rgba(6,25,42,.92)) 0%, var(--sister-ink, rgba(6,25,42,.92)) 58%, rgba(6,25,42,0) 100%); }
  .ski .ski-mmenu__list a { font-size: 1.875rem; }
}

/* 20. opravy po auditu 1e ---------------------------------- */
/* Pauza pohybu fotky (WCAG 2.2.2) – v šabloně přepíná třídu .is-paused */
.ski .ski-hero__pause { position: absolute; right: 16px; top: 16px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(6, 25, 42, .55); color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.ski .ski-hero__pause:hover { background: rgba(6, 25, 42, .75); }
.ski-hero__photo.is-paused img { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .ski .ski-hero__pause { display: none; } }
.ski-legend i { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .35); }
.ski-locmap { aspect-ratio: 16 / 10; }

/* 22. GALERIE + LIGHTBOX ------------------------------------
   Návrh běh 2 (21.7), upraveno: náhledy jsou <a> (fungují bez JS),
   markup vypisuje plugin plg_content_galerie, lightbox vytváří js/ski.js. */
.ski-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.ski .ski-gallery__item { display: block; border-radius: var(--radius-s); overflow: hidden; background: var(--brand-soft); cursor: zoom-in; aspect-ratio: 1; }
.ski .ski-gallery__item img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; transition: transform .5s var(--ease); }
.ski .ski-gallery__item:hover img { transform: scale(1.04); }
.ski .ski-gallery__item:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.ski-gallery .is-big { grid-column: span 2; grid-row: span 2; }
.ski-lightbox { position: fixed; inset: 0; z-index: 70; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; background: rgba(3, 12, 19, .95); color: #fff; }
.ski-lightbox:not([open]) { display: none; }
.ski-lightbox::backdrop { background: transparent; }
.ski-lightbox__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 20px; font-size: .9375rem; }
.ski-lightbox__stage { position: relative; display: flex; align-items: center; justify-content: center; padding: 0 88px; min-height: 0; touch-action: pan-y pinch-zoom; }
.ski-lightbox__stage img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 6px; }
.ski .ski-lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 56px; height: 56px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.ski .ski-lightbox__nav:hover { background: rgba(255,255,255,.26); }
.ski-lightbox__nav--prev { left: 20px; } .ski-lightbox__nav--next { right: 20px; }
.ski .ski-lightbox__close { width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; flex: none; }
.ski .ski-lightbox__nav:focus-visible, .ski .ski-lightbox__close:focus-visible, .ski .ski-lightbox__cap button:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.ski-lightbox__cap { padding: 14px 20px 20px; display: flex; gap: 8px; justify-content: center; overflow-x: auto; }
.ski .ski-lightbox__cap button { padding: 0; border: 0; background: none; cursor: pointer; min-height: 44px; flex: none; }
.ski-lightbox__cap img { width: 72px; height: 54px; object-fit: cover; border-radius: 6px; opacity: .55; }
.ski-lightbox__cap button[aria-current="true"] img { opacity: 1; outline: 3px solid var(--accent); outline-offset: 2px; }
.ski-lightbox[data-single] .ski-lightbox__nav, .ski-lightbox[data-single] .ski-lightbox__cap { display: none; }
@media (max-width: 760px) {
  .ski-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ski-lightbox__stage { padding: 0 8px; }
  .ski .ski-lightbox__nav { width: 44px; height: 44px; top: auto; bottom: 8px; transform: none; }
  .ski-lightbox__cap { justify-content: flex-start; }
}
@media (max-width: 480px) { .ski-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (prefers-reduced-motion: reduce) {
  .ski .ski-gallery__item img { transition: none; }
  .ski .ski-gallery__item:hover img { transform: none; }
}

/* 23. PODSTRÁNKY, FORMULÁŘ, COOKIES (návrh v26, sekce 21 – bez 21.7 galerie, ta je v bodu 22) ----
   Převzato z design/claude-design ski.css (v26); úpravy pro Joomlu jsou v bodu 24. */
/* 21.1 Obecné bloky podstránek */
.ski-lead { font-size: 1.1875rem; color: var(--color-text-muted); max-width: 60ch; }
.ski-section--tight { padding-top: clamp(40px, 5vw, 64px); }
.ski-layout { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(32px, 4vw, 64px); align-items: start; }
.ski-aside { display: flex; flex-direction: column; gap: 16px; }
.ski-h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.75rem; line-height: 1; }
.ski-notes { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ski-notes li { display: flex; gap: 12px; align-items: flex-start; }
.ski-notes .ski-icon { color: var(--brand); margin-top: 3px; }
.ski-note { display: flex; gap: 12px; align-items: flex-start; padding: 14px 18px; border-radius: var(--radius-m); background: var(--icon-bg); color: #3d2a00; font-size: .9375rem; }
.ski-note .ski-icon { color: #8a5a00; margin-top: 2px; }
.ski-tag { display: inline-flex; align-items: center; gap: 6px; min-height: 28px; padding: 0 10px; border-radius: 999px; font-size: .8125rem; font-weight: 700; background: var(--brand-tint); color: var(--brand-ink); white-space: nowrap; }
.ski-tag--provoz { background: #dcf5e6; color: #0b4523; }
.ski-tag--akce { background: var(--icon-bg); color: #573600; }
.ski-tag--info { background: #e6ecf0; color: #26343e; }
.ski-photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ski-photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-m); }
.ski-photos .is-wide { grid-column: span 2; }
.ski-photos .is-wide img { aspect-ratio: auto; height: 100%; }

/* 21.2 Prose – obsah článku z editoru */
.ski-prose { max-width: 72ch; font-size: 1.0625rem; }
.ski-prose > * + * { margin-top: 1em; }
.ski-prose h2 { font-size: 2.75rem; margin-top: 1.3em; }
.ski-prose h3 { font-size: 2rem; margin-top: 1.2em; }
.ski-prose h4 { font-size: 1.125rem; margin-top: 1.2em; }
.ski-prose ul, .ski-prose ol { padding-left: 1.3em; }
.ski-prose li + li { margin-top: .4em; }
.ski-prose li::marker { color: var(--brand); font-weight: 700; }
.ski-prose figure img { width: 100%; border-radius: var(--radius-m); }
.ski-prose figcaption { margin-top: 8px; font-size: .875rem; color: var(--color-text-muted); }
.ski-prose blockquote { margin: 1.4em 0 0; padding: 20px 24px; border-radius: var(--radius-m); background: var(--brand-tint); color: var(--brand-ink); font-size: 1.1875rem; }
.ski-prose table { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.ski-prose th, .ski-prose td { padding: 10px 12px; border-top: 1px solid var(--color-line); text-align: left; vertical-align: top; }
.ski-prose thead th { background: var(--brand-tint); color: var(--brand-ink); border-top: 0; }
.ski-tablebox { overflow-x: auto; border: 1px solid var(--color-line); border-radius: var(--radius-m); }

/* 21.3 Ceník */
.ski-pricegrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; }
.ski-ptable { background: #fff; border: 1px solid var(--color-line); border-radius: var(--radius-l); overflow: hidden; }
.ski-ptable__head { display: flex; align-items: center; gap: 14px; padding: 22px 24px; background: var(--brand-board); color: #fff; }
.ski-ptable__head .ski-glance__ic { background: rgba(255,255,255,.14); color: #fff; width: 48px; height: 48px; border-radius: 14px; }
.ski-ptable__head h2 { font-size: 2.25rem; }
.ski-ptable__head p { font-size: .9375rem; color: #e3eef6; margin-top: 4px; }
.ski-ptable table { width: 100%; border-collapse: collapse; }
.ski-ptable th, .ski-ptable td { padding: 14px 24px; border-top: 1px solid var(--color-line); text-align: left; }
.ski-ptable thead th { border-top: 0; background: var(--brand-tint); color: var(--brand-ink); font-size: .875rem; font-weight: 700; line-height: 1.25; vertical-align: bottom; }
.ski-ptable thead th + th, .ski-ptable td { text-align: right; }
.ski-ptable tbody th { font-weight: 600; }
.ski-ptable tbody th small { display: block; font-weight: 500; color: var(--color-text-muted); font-size: .8125rem; }
.ski-ptable td { font-family: var(--font-display); font-weight: 800; font-size: 1.875rem; line-height: 1; color: var(--brand-ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.ski-ptable td small { font-size: 1.125rem; margin-left: 3px; }
.ski-ptable tr.is-main th, .ski-ptable tr.is-main td { background: var(--icon-bg); }
.ski-ptable__foot { padding: 14px 24px 18px; border-top: 1px solid var(--color-line); font-size: .875rem; color: var(--color-text-muted); }
.ski-paygrid { grid-template-columns: repeat(4, minmax(0, 1fr)); list-style: none; margin-bottom: 0; padding: 0; }

/* 21.4 Nabídka (škola, občerstvení) a kroky */
.ski-offers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ski-offer { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 28px; border-radius: var(--radius-l); background: #fff; border: 1px solid var(--color-line); }
.ski-offer--brand { background: var(--brand-board); color: #fff; border-color: transparent; }
.ski-offer h3 { font-size: 2rem; }
.ski-offer__price { font-family: var(--font-display); font-weight: 800; font-size: 3.25rem; line-height: 1; color: var(--brand-ink); font-variant-numeric: tabular-nums; }
.ski-offer--brand .ski-offer__price { color: var(--accent); }
.ski-offer__price small { font-size: 1.375rem; font-weight: 700; margin-left: 4px; }
.ski-offer__per { font-size: .9375rem; color: var(--color-text-muted); margin-top: -8px; }
.ski-offer--brand .ski-offer__per, .ski-offer--brand .ski-notes { color: #e3eef6; }
.ski-offer--brand .ski-notes .ski-icon { color: var(--accent); }
.ski-offer .ski-notes { font-size: .9375rem; color: var(--color-text-muted); }
.ski-offer .ski-btn { margin-top: auto; align-self: flex-start; }
.ski-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: krok; }
.ski-steps li { counter-increment: krok; display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: var(--radius-l); background: #fff; }
.ski-steps li::before { content: counter(krok); width: 48px; height: 48px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-family: var(--font-display); font-weight: 900; font-size: 1.75rem; display: flex; align-items: center; justify-content: center; }
.ski-steps p { color: var(--color-text-muted); font-size: .9375rem; }

/* 21.5 Areál: parametry ve dvou sloupcích */
.ski-specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ski-spec { padding: 24px 28px; border-radius: var(--radius-l); background: #fff; border: 1px solid var(--color-line); display: flex; flex-direction: column; gap: 14px; }
.ski-spec__head { display: flex; align-items: center; gap: 14px; }
.ski-spec__head .ski-glance__ic { width: 48px; height: 48px; border-radius: 14px; }
.ski-spec .ski-dl { gap: 10px 20px; }
.ski-spec .ski-dl dd { text-align: right; font-variant-numeric: tabular-nums; }

/* 21.6 Aktuality: karty, štítky, stránkování, článek */
.ski-cards3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.ski .ski-ncard { display: flex; flex-direction: column; border-radius: var(--radius-l); overflow: hidden; background: #fff; border: 1px solid var(--color-line); color: inherit; text-decoration: none; }
.ski-ncard img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--brand-soft); }
.ski-ncard__body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 10px; }
.ski-ncard__meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ski-ncard h3 { font-size: 1.75rem; }
.ski-ncard p { color: var(--color-text-muted); font-size: .9375rem; }
.ski .ski-ncard:hover h3 { text-decoration: underline; text-decoration-thickness: 2px; }
.ski-filter { display: flex; gap: 8px; flex-wrap: wrap; }
.ski .ski-filter a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--color-line); background: #fff; color: var(--color-text); text-decoration: none; font-weight: 600; font-size: .9375rem; }
.ski .ski-filter a[aria-current="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.ski-pager { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 40px; }
.ski .ski-pager a, .ski-pager span { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 999px; font-weight: 700; text-decoration: none; color: var(--brand-ink); background: #fff; border: 1.5px solid var(--color-line); }
.ski .ski-pager a[aria-current="page"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.ski-pager span { border: 0; background: none; }
.ski-article__meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: .9375rem; color: var(--color-text-muted); }
.ski-article__img { border-radius: var(--radius-l); overflow: hidden; }
.ski-article__img img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
.ski-share { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--color-line); font-size: .9375rem; color: var(--color-text-muted); }
.ski .ski-share a, .ski .ski-share button { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--color-line); background: #fff; color: var(--brand-ink); font: 600 .9375rem var(--font-sans); text-decoration: none; cursor: pointer; }

/* 21.8 Kontaktní formulář */
.ski-formwrap { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 24px; align-items: start; }
.ski-formcard { position: relative; background: #fff; border: 1px solid var(--color-line); border-radius: var(--radius-l); padding: clamp(22px, 3vw, 40px); display: flex; flex-direction: column; gap: 28px; box-shadow: 0 14px 32px rgba(6, 25, 42, .06); }
.ski-topics { border: 0; margin: 0; padding: 0; min-width: 0; }
.ski-topics legend { padding: 0; margin-bottom: 14px; font-family: var(--font-display); font-weight: 700; font-size: 1.75rem; line-height: 1; }
.ski-topics__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.ski-topic { position: relative; }
.ski-topic input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ski-topic label { position: relative; display: flex; flex-direction: column; gap: 10px; height: 100%; min-height: 138px; padding: 18px; border: 2px solid var(--color-line); border-radius: var(--radius-m); background: #fff; cursor: pointer; transition: border-color .15s var(--ease), background-color .15s var(--ease); }
.ski-topic label:hover { border-color: var(--brand-soft); background: #fafcfd; }
.ski-topic__ic { width: 48px; height: 48px; border-radius: 14px; background: var(--icon-bg); color: var(--brand-ink); display: flex; align-items: center; justify-content: center; }
.ski-topic__ic .ski-icon { width: 26px; height: 26px; }
.ski-topic__title { font-family: var(--font-display); font-weight: 800; font-size: 1.625rem; line-height: 1; }
.ski-topic__txt { font-size: .875rem; color: var(--color-text-muted); line-height: 1.35; }
.ski-topic__check { position: absolute; top: 14px; right: 14px; width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--color-line); background: #fff; display: flex; align-items: center; justify-content: center; color: #fff; }
.ski-topic__check .ski-icon { width: 16px; height: 16px; stroke-width: 3; opacity: 0; }
.ski-topic input:checked + label { border-color: var(--brand); background: var(--brand-tint); }
.ski-topic input:checked + label .ski-topic__ic { background: var(--brand); color: #fff; }
.ski-topic input:checked + label .ski-topic__check { background: var(--brand); border-color: var(--brand); }
.ski-topic input:checked + label .ski-topic__check .ski-icon { opacity: 1; }
.ski-topic input:focus-visible + label { outline: 3px solid var(--brand); outline-offset: 3px; }
.ski-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.ski-field--full { grid-column: 1 / -1; }
.ski-field .ski-req { color: #a3122a; margin-left: 2px; }
.ski-field__hint { font-size: .8125rem; color: var(--color-text-muted); }
.ski-field select.ski-input { appearance: none; padding-right: 44px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234b5b67' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center / 20px no-repeat; }
.ski textarea.ski-input { min-height: 148px; padding: 12px 14px; resize: vertical; line-height: 1.5; }
.ski-field.is-invalid .ski-input { border-color: #b3261e; background: #fff8f7; }
.ski-field__error { display: flex; align-items: center; gap: 6px; font-size: .875rem; font-weight: 600; color: #a3122a; }
.ski-field__error .ski-icon { width: 16px; height: 16px; }
.ski-fieldgroup { border: 0; margin: 0; padding: 0; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.ski-fieldgroup legend { padding: 0; margin-bottom: 8px; font-weight: 600; font-size: .9375rem; }
.ski-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ski-chip { position: relative; }
.ski-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ski-chip label { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid #8796a1; background: #fff; font-weight: 600; font-size: .9375rem; cursor: pointer; }
.ski-chip label::before { content: ""; width: 18px; height: 18px; border-radius: 5px; border: 2px solid #6b7c88; flex: none; }
.ski-chip input[type="radio"] + label::before { border-radius: 50%; }
.ski-chip input:checked + label { border-color: var(--brand); background: var(--brand-tint); color: var(--brand-ink); }
.ski-chip input:checked + label::before { background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / 14px no-repeat; border-color: var(--brand); }
.ski-chip input:focus-visible + label { outline: 3px solid var(--brand); outline-offset: 2px; }
.ski-consent { display: flex; gap: 12px; align-items: flex-start; font-size: .9375rem; }
.ski-consent input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--brand); flex: none; }
.ski-consent.is-invalid { color: #a3122a; }
.ski-form__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 4px; }
.ski-form__foot small { color: var(--color-text-muted); font-size: .8125rem; }
.ski .ski-btn[disabled] { opacity: .7; cursor: progress; }
.ski-spin { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(255,255,255,.4); border-top-color: #fff; animation: ski-spin .8s linear infinite; }
@keyframes ski-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .ski-spin { animation-duration: 2.4s; } }
.ski-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ski-alert { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: var(--radius-m); font-size: .9375rem; }
.ski-alert--error { background: #fdecea; color: #6f140e; }
.ski-alert--error .ski-icon { color: #b3261e; margin-top: 2px; }
.ski-alert strong { display: block; }
.ski-alert ul { margin: 6px 0 0; padding-left: 1.2em; }
.ski-success { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 12px 0; }
.ski-success__badge { width: 72px; height: 72px; border-radius: 50%; background: var(--brand); color: #fff; display: flex; align-items: center; justify-content: center; }
.ski-success__badge .ski-icon { width: 38px; height: 38px; stroke-width: 2.6; }
.ski-success h3 { font-size: 2.75rem; }
.ski-success p { color: var(--color-text-muted); max-width: 56ch; }
.ski-success dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 20px; padding: 16px 20px; border-radius: var(--radius-m); background: var(--brand-tint); font-size: .9375rem; }
.ski-success dt { color: var(--color-text-muted); }
.ski-success dd { font-weight: 600; }
.ski-fasttrack { background: var(--brand-ink); color: #fff; border-radius: var(--radius-l); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.ski-fasttrack h3 { font-size: 2rem; }
.ski-fasttrack p { color: #cddbe5; font-size: .9375rem; }
.ski .ski-fasttrack a { color: #fff; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; font-weight: 600; }
.ski .ski-fasttrack a:hover { text-decoration: underline; }
.ski .ski-fasttrack .ski-fasttrack__phone { font-family: var(--font-display); font-weight: 800; font-size: 2.5rem; line-height: 1; color: var(--accent); }
.ski-fasttrack .ski-icon { color: var(--accent); }
.ski-tip { border-radius: var(--radius-l); padding: 24px; background: var(--icon-bg); color: #3d2a00; display: flex; flex-direction: column; gap: 10px; }
.ski-tip h3 { font-size: 1.625rem; color: var(--color-text); }
.ski-tip p { font-size: .9375rem; }

/* 21.9 Pruh Brigáda */
.ski .ski-jobstrip { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px 22px; align-items: center; padding: 22px 26px; border-radius: var(--radius-l); background: #fff; border: 2px dashed var(--brand-soft); color: inherit; text-decoration: none; }
.ski .ski-jobstrip:hover { border-color: var(--brand); color: inherit; }
.ski-jobstrip__text strong { display: block; font-family: var(--font-display); font-weight: 800; font-size: 2rem; line-height: 1; }
.ski-jobstrip__text span { color: var(--color-text-muted); font-size: .9375rem; }
.ski-jobs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; list-style: none; margin: 0; padding: 0; }
.ski-jobs li { display: flex; gap: 14px; align-items: center; padding: 18px; border-radius: var(--radius-m); background: #fff; border: 1px solid var(--color-line); font-weight: 600; }

/* 21.10 Cookie lišta a nastavení souhlasu */
.ski-cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 65; max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px 24px; align-items: center; padding: 22px 24px; border-radius: var(--radius-l); background: #fff; border: 1px solid var(--color-line); box-shadow: 0 24px 64px rgba(6, 25, 42, .28); }
.ski-cookie__ic { width: 52px; height: 52px; border-radius: 16px; background: var(--icon-bg); color: var(--brand-ink); display: flex; align-items: center; justify-content: center; }
.ski-cookie__ic .ski-icon { width: 28px; height: 28px; }
.ski-cookie h2 { font-size: 1.75rem; }
.ski-cookie p { font-size: .9375rem; color: var(--color-text-muted); margin-top: 6px; max-width: 70ch; }
.ski-cookie__actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.ski .ski-linkbtn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px; border: 0; background: none; font: 600 1rem var(--font-sans); color: var(--brand); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.ski-modal { position: fixed; inset: 0; z-index: 66; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(6, 25, 42, .58); }
.ski-modal__box { width: 100%; max-width: 680px; max-height: 100%; overflow-y: auto; border-radius: var(--radius-l); background: #fff; box-shadow: 0 32px 80px rgba(0,0,0,.35); display: flex; flex-direction: column; }
.ski-modal__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 26px 28px 8px; }
.ski-modal__head h2 { font-size: 2.5rem; }
.ski-modal__head p { color: var(--color-text-muted); font-size: .9375rem; margin-top: 8px; }
.ski .ski-modal__close { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--brand-tint); color: var(--brand-ink); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; flex: none; }
.ski-cats { padding: 8px 28px; }
.ski-cat { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 20px; padding: 18px 0; border-top: 1px solid var(--color-line); }
.ski-cat h3 { font-size: 1.5rem; }
.ski-cat p { grid-column: 1 / 2; font-size: .9375rem; color: var(--color-text-muted); }
.ski-cat__svc { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px; }
.ski-switch { display: inline-flex; align-items: center; gap: 10px; font-size: .875rem; font-weight: 600; cursor: pointer; grid-row: 1 / 3; grid-column: 2; align-self: start; }
.ski-switch input { appearance: none; -webkit-appearance: none; margin: 0; width: 56px; height: 32px; border-radius: 999px; background: #6b7c88; position: relative; cursor: pointer; transition: background-color .15s var(--ease); flex: none; }
.ski-switch input::before { content: ""; position: absolute; top: 4px; left: 4px; width: 24px; height: 24px; border-radius: 50%; background: #fff; transition: transform .15s var(--ease); }
.ski-switch input:checked { background: var(--brand); }
.ski-switch input:checked::before { transform: translateX(24px); }
.ski-switch input:disabled { opacity: .55; cursor: not-allowed; }
.ski-switch input:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
.ski-modal__foot { position: sticky; bottom: 0; display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; padding: 18px 28px 24px; background: #fff; border-top: 1px solid var(--color-line); }

/* 21.11 Chybová stránka 404 */
.ski-404 { position: relative; min-height: 640px; display: flex; align-items: flex-end; isolation: isolate; }
.ski-404 > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.ski-404::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(6,25,42,.55), rgba(6,25,42,0) 60%); }
.ski-404 .ski-board { margin-bottom: 56px; }
.ski-404__code { display: block; font-family: var(--font-display); font-weight: 900; font-size: clamp(6rem, 14vw, 11rem); line-height: .8; color: var(--accent); }
.ski-404__links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 22px; }
.ski .ski-404__links a { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 52px; padding: 0 16px; border-radius: var(--radius-m); background: rgba(255,255,255,.12); color: #fff; text-decoration: none; font-weight: 600; }
.ski .ski-404__links a:hover { background: rgba(255,255,255,.22); }
/* 21.12 Responzivita běhu 2 */
@media (max-width: 1180px) {
  .ski-layout, .ski-formwrap { grid-template-columns: minmax(0, 1fr); }
  .ski-topics__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ski-offers, .ski-cards3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ski-pricegrid, .ski-specs { grid-template-columns: minmax(0, 1fr); }
  .ski-paygrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .ski-lead { font-size: 1.0625rem; }
  .ski-photos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .ski-photos .is-wide { grid-column: 1 / -1; }
  .ski-offers, .ski-cards3, .ski-steps, .ski-jobs, .ski-paygrid { grid-template-columns: minmax(0, 1fr); }
  .ski-offer { padding: 22px; }
  .ski-ptable__head { padding: 18px; }
  .ski-ptable__head h2 { font-size: 1.875rem; }
  .ski-ptable th, .ski-ptable td { padding: 12px 14px; }
  .ski-ptable td { font-size: 1.5rem; }
  .ski-ptable td small { font-size: .9375rem; }
  .ski-ptable__foot { padding: 12px 14px 16px; }
  .ski-topics__grid { gap: 8px; }
  .ski-topic label { min-height: 0; padding: 14px; gap: 8px; }
  .ski-topic__ic { width: 40px; height: 40px; border-radius: 12px; }
  .ski-topic__title { font-size: 1.375rem; }
  .ski-topic__txt { display: none; }
  .ski-topic__check { top: 10px; right: 10px; width: 22px; height: 22px; }
  .ski-fields { grid-template-columns: minmax(0, 1fr); }
  .ski-form__foot .ski-btn { width: 100%; }
  .ski .ski-jobstrip { grid-template-columns: minmax(0, 1fr); padding: 20px; }
  .ski-jobstrip .ski-glance__ic { display: none; }
  .ski-jobstrip__text strong { font-size: 1.75rem; }
  .ski-cookie { left: 0; right: 0; bottom: 0; border-radius: 18px 18px 0 0; grid-template-columns: minmax(0, 1fr); padding: 18px 16px 20px; gap: 12px; }
  .ski-cookie__ic { display: none; }
  .ski-cookie h2 { font-size: 1.5rem; }
  .ski-cookie__actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ski-cookie__actions .ski-linkbtn { grid-column: 1 / -1; justify-content: center; order: 3; }
  .ski-cookie__actions .ski-btn { padding: 0 12px; }
  .ski-modal { padding: 0; align-items: flex-end; }
  .ski-modal__box { border-radius: 18px 18px 0 0; max-height: 92%; }
  .ski-modal__head { padding: 20px 16px 6px; }
  .ski-modal__head h2 { font-size: 2rem; }
  .ski-cats { padding: 4px 16px; }
  .ski-modal__foot { padding: 14px 16px 18px; }
  .ski-modal__foot .ski-btn { flex: 1 1 140px; }
  .ski-404 { min-height: 560px; }
  .ski-404 .ski-board { margin-bottom: 24px; }
  .ski-404__links { grid-template-columns: minmax(0, 1fr); }
}
.ski .ski-feat--wide { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-rows: auto; }
@media (max-width: 680px) { .ski .ski-feat--wide { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; } }
/* 21.13 opravy po auditu běhu 2 */
.ski-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ski dialog.ski-modal__box { position: relative; inset: auto; }
.ski-alert strong + * { margin-top: 0; }
@media (max-width: 1180px) { .ski-formwrap > .ski-aside { order: -1; } }
@media (max-width: 680px) { .ski-formwrap > .ski-aside .ski-tip { display: none; } .ski-fasttrack { padding: 20px; } .ski .ski-fasttrack .ski-fasttrack__phone { font-size: 2rem; } }

/* 24. PODSTRÁNKY V JOOMLE – napojení návrhu v26 na výstup šablony a overridů ---------------- */
.ski-pagehead--noimg .ski-pagehead__inner { grid-template-columns: minmax(0, 1fr); padding-bottom: 48px; }
.ski-msgs #system-message-container:not(:empty) { padding-top: 24px; }
.ski-stack { display: flex; flex-direction: column; gap: 24px; }
.ski-prose--wide { max-width: none; }
.ski-prose--wide > p, .ski-prose--wide > ul, .ski-prose--wide > ol, .ski-prose--wide > h2, .ski-prose--wide > h3 { max-width: 72ch; }
.ski-prose .ski-gallery { margin-top: 1.2em; }
.ski-prose figure.ski-figure img { height: auto; }
/* Aktualita (rozvržení „Článek“) */
.ski-post { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.ski-post__title { font-size: clamp(2.75rem, 5vw, 4.5rem); }
.ski-post .ski-prose > p:first-child { font-size: 1.1875rem; color: var(--color-text-muted); }
.ski-post .ski-prose img { height: auto; border-radius: var(--radius-m); }
.ski-aside .ski-card { gap: 8px; }
.ski-aside__h { font-size: 2rem; }
.ski-aside .ski-newslist h3 { font-size: 1.375rem; }
.ski .ski-cam--link { box-shadow: none; border: 1px solid var(--color-line); }
.ski-feat__body h2 { font-size: 2.25rem; }
.ski .ski-feat--wide img { height: 100%; }
@media (max-width: 680px) { .ski-feat__body h2 { font-size: 1.875rem; } .ski .ski-feat--wide img { height: auto; } }
/* Ikony v obsahu článků (CSS maska, viz template.css) – stejné místo jako SVG .ski-icon v návrhu */
.ski-notes .ski-ic, .ski-note .ski-ic { margin-top: 3px; }
.ski-quick__label .ski-ic { color: var(--brand); }
.ski-ptable__head .ski-glance__ic .ski-ic { width: 26px; height: 26px; }
.ski-spec__head .ski-glance__ic .ski-ic, .ski-jobs .ski-glance__ic .ski-ic, .ski-jobstrip .ski-glance__ic .ski-ic { width: 26px; height: 26px; }
/* Mapa příjezdu na stránce Kontakt (obrázek SVG z šablony) */
.ski-locmap img { width: 100%; height: 100%; object-fit: contain; }
/* Fotky na podstránkách */
.ski-photos img { height: auto; }
.ski-photos .is-wide img { height: 100%; }
/* Formulář: skupiny polí podle oblasti (obal nesmí rozbít mřížku .ski-fields) */
.ski-cond { display: contents; }
.ski-cond[hidden] { display: none; }
.ski-form { display: flex; flex-direction: column; gap: 28px; }
.ski-form .ski-consent a { font-weight: 600; }
.ski-captcha altcha-widget { --altcha-max-width: 100%; --altcha-border-radius: var(--radius-s); --altcha-color-border: #6b7c88; display: block; }
.ski-alert[hidden] { display: none; }
.ski-success:focus { outline: none; }
/* Cookie lišta a nastavení (nativní <dialog>) */
.ski-cookie[hidden] { display: none; }
.ski .ski-cookie a { font-weight: 600; }
.ski dialog.ski-modal__box { position: fixed; inset: 0; margin: auto; width: calc(100% - 48px); max-width: 680px; max-height: calc(100% - 48px); padding: 0; border: 0; overflow-y: auto; }
.ski dialog.ski-modal__box:not([open]) { display: none; }
.ski dialog.ski-modal__box::backdrop { background: rgba(6, 25, 42, .58); }
.ski-cat[hidden] { display: none; }
.ski .ski-footer__bottom .ski-linkbtn { min-height: 0; padding: 0; font: inherit; color: inherit; text-decoration: none; }
.ski .ski-footer__bottom .ski-linkbtn:hover { text-decoration: underline; }
@media (max-width: 680px) {
  .ski dialog.ski-modal__box { width: 100%; max-width: none; margin: auto 0 0; max-height: 92%; border-radius: 18px 18px 0 0; }
  .ski-cookie { bottom: 0; }
}
/* 404 */
.ski-404__title { font-size: clamp(2.5rem, 4.6vw, 4rem); margin-top: 16px; }
.ski .ski-404__links a .ski-icon { flex: none; }
.ski-ptable__head .ski-ptable__h { font-size: 2.25rem; }
@media (max-width: 680px) { .ski-ptable__head .ski-ptable__h { font-size: 1.875rem; } }
/* Systémové hlášky Joomly (joomla-alert) ve stylu návrhu */
.ski #system-message-container joomla-alert { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: var(--radius-m); background: var(--brand-tint); color: var(--brand-ink); font-size: .9375rem; margin-bottom: 12px; border: 0; }
.ski #system-message-container joomla-alert[type="danger"], .ski #system-message-container joomla-alert[type="error"] { background: #fdecea; color: #6f140e; }
.ski #system-message-container joomla-alert[type="warning"] { background: var(--icon-bg); color: #3d2a00; }
.ski #system-message-container joomla-alert[type="success"] { background: #dcf5e6; color: #0b4523; }
.ski #system-message-container .alert-heading { font-weight: 700; }
.ski #system-message-container .joomla-alert--close { margin-left: auto; border: 0; background: none; font-size: 1.5rem; line-height: 1; cursor: pointer; color: inherit; min-width: 44px; min-height: 44px; }
.ski-alert p { margin-top: 6px; }
/* Fotky na podstránkách: široká fotka se přizpůsobí výšce řádku */
.ski-photos .is-wide { position: relative; min-height: 200px; }
.ski-photos .is-wide img { position: absolute; inset: 0; width: 100%; height: 100%; }
@media (max-width: 680px) { .ski-photos .is-wide { aspect-ratio: 16 / 10; } }
/* Prose: reset `.ski p { margin: 0 }` má vyšší specifitu → mezery mezi odstavci znovu */
.ski .ski-prose > * + * { margin-top: 1em; }
.ski .ski-prose > h2 { margin-top: 1.3em; }
.ski .ski-prose > h3 { margin-top: 1.2em; }
/* Oprava návrhu: .ski-offer .ski-notes (později v CSS) přebíjel světlý text na tmavé kartě */
.ski-offer.ski-offer--brand .ski-notes { color: #e3eef6; }
/* 25. MOBILY – opravy po testu 320/390 px (2026-10-19) */
@media (max-width: 680px) { .ski-photos .is-wide { min-height: 0; } }
.ski-footer__top a { overflow-wrap: anywhere; }
.ski .ski-crumbs a, .ski-pagehead .mod-breadcrumbs a { display: inline-flex; align-items: center; min-height: 24px; }
.ski .ski-footer__bottom .ski-linkbtn { min-height: 44px; }
@media (max-height: 640px) {
  .ski .ski-mmenu .ski-mmenu__nav a { min-height: 44px; font-size: 1.5rem; }
  .ski-mmenu__foot { padding-top: 12px; gap: 8px; }
}
/* Otevřené mobilní menu musí být nad cookie lištou (lišta z-index 65) */
.ski-mmenu { z-index: 67; }
@media (max-width: 360px) {
  .ski-cookie__actions .ski-btn { white-space: nowrap; padding: 0 10px; font-size: .875rem; }
  .ski-cookie p { font-size: .875rem; }
}
@media (max-width: 420px) {
  .ski-spec .ski-dl { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .ski-spec .ski-dl dd { text-align: left; margin-bottom: 8px; }
  .ski-card h2, .ski-hours h2 { font-size: 2rem; }
  .ski-offer h3 { font-size: 1.75rem; }
}
