/* kategoria-efekty.css — štýly len pre túto časť webu, vyčlenené zo style.css 29. 10. 2026.
   Načítava ich komponent <CssCast nazov="kategoria-efekty" /> (lib/cssVerzia.ts). Nové pravidlá pre túto časť patria sem. */

/* Útek pred horúčavou — pás na stránke kategórie. */

.ks-utek {
  padding: 2.4rem 0 2rem;
  background: linear-gradient(180deg, #0f2230 0%, #16323f 100%);
  color: #fff;
}

.ks-utek .ks-container { padding: 0 1.25rem; }

.ks-utek__hlava { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.2rem; }

.ks-utek__eye { margin: 0 0 0.3rem; font-size: var(--ks-t-xs); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; color: #ffc26b; }

.ks-utek__h { margin: 0 0 0.35rem; font-family: var(--ks-font-serif, inherit); font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; color: #fff; }

.ks-utek__perex { margin: 0; max-width: 46rem; color: #d3e2ec; font-size: var(--ks-t-sm); }

.ks-utek__btn {
  display: inline-flex; align-items: center; gap: 0.45rem;
  min-height: 44px; padding: 0.5rem 1.05rem; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.45); background: rgba(255, 255, 255, 0.08);
  color: #fff; font-weight: 700; font-size: var(--ks-t-s);
}

.ks-utek__btn:hover, .ks-utek__btn:focus-visible { background: rgba(255, 255, 255, 0.18); }

.ks-utek__chyba { margin: 0.35rem 0 0; font-size: var(--ks-t-xs); color: #ffd2c4; }

.ks-utek__zoznam {
  list-style: none; margin: 0; padding: 0.2rem 0 0.9rem;
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 260px); gap: 0.9rem;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin;
}

.ks-utek__zoznam > li { scroll-snap-align: start; }

.ks-utek__karta {
  display: flex; flex-direction: column; height: 100%;
  border-radius: 14px; overflow: hidden; background: #fff; color: var(--ks-text);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25); transition: transform 0.2s ease;
}

.ks-utek__karta:hover, .ks-utek__karta:focus-visible { transform: translateY(-3px); }

.ks-utek__foto { position: relative; display: grid; place-items: center; aspect-ratio: 14 / 9; background: #1d3a48; color: #8fb3c7; font-size: 2rem; }

.ks-utek__foto img { width: 100%; height: 100%; object-fit: cover; }

.ks-utek__rozdiel {
  position: absolute; top: 0.55rem; right: 0.55rem;
  padding: 0.25rem 0.6rem; border-radius: 999px;
  background: #0b5fa5; color: #fff; font-weight: 800; font-size: var(--ks-t-s); font-variant-numeric: tabular-nums;
}

.ks-utek__rozdiel.is-teplejsie { background: #b5401f; }

.ks-utek__telo { display: flex; flex-direction: column; gap: 0.35rem; padding: 0.75rem 0.85rem 0.85rem; }

.ks-utek__telo strong { font-size: var(--ks-t-sm); line-height: 1.25; }

.ks-utek__teploty { display: flex; flex-wrap: wrap; gap: 0.25rem 0.8rem; font-size: var(--ks-t-xs); color: #4a5a66; }

.ks-utek__teploty i { color: #0b5fa5; }

.ks-utek__teploty span:first-child i { color: #c86a00; }

.ks-utek__km { font-size: var(--ks-t-xs); color: #4a5a66; font-weight: 700; }

.ks-utek__zdroj { margin: 0.4rem 0 0; font-size: var(--ks-t-2xs); color: #b6cad6; }

.ks-utek__zdroj a { text-decoration: underline; }

/* Dnes na kúpanie — pás na stránke kategórie Jazerá a vodné plochy (zdieľa vzhľad s pásom jaskýň). */

.ks-utek--voda { background: linear-gradient(180deg, #0c3d5e 0%, #0f5a7a 100%); }

.ks-utek--voda.ks-utek--kupanie { background: linear-gradient(180deg, #0a6a96 0%, #0c4f73 60%, #0b3a57 100%); }

.ks-utek--voda .ks-utek__foto { background: #12557a; color: #9ad8f5; }

.ks-utek__rozdiel.ks-kupanie--vyborne, .ks-utek__rozdiel.ks-kupanie--dobre { background: #b34f00; }

.ks-utek__rozdiel.ks-kupanie--doma { background: #475569; }

.ks-kupanie__verdikt { font-size: var(--ks-t-xs); font-weight: 800; color: #0b5fa5; }

.ks-kupanie__verdikt.ks-kupanie--vyborne, .ks-kupanie__verdikt.ks-kupanie--dobre { color: #a14400; }

.ks-kupanie__verdikt.ks-kupanie--doma { color: #475569; }

/* ═══════════════════════════════════════════════════════════════════════════
   EFEKTY V KATEGÓRIÁCH — 1. VLNA (27. 10. 2026): výstup na rozhľadňu, hore na chate,
   chuť prameňa, hrady v čase, cesta drevených kostolíkov.
   Záloha: data/backup-css/style-pred-efektmi-kategorii-2026-10-27.css
   ═══════════════════════════════════════════════════════════════════════════ */

.ks-ef-sekcia { margin: 2rem auto 1.5rem; }

.ks-ef-sekcia__perex { color: var(--ks-mid, #4a5a6a); font-size: var(--ks-t-sm); margin: -.2rem 0 1rem; }

.ks-ef-btn { background: #0c4b8c; color: #fff; border: 0; border-radius: 999px; padding: .45rem 1rem; font-weight: 700; cursor: pointer; }

.ks-ef-legenda { font-size: var(--ks-t-xs); color: #6b7a8c; display: flex; align-items: center; gap: .3rem; flex-wrap: wrap; }

.ks-ef-legenda i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-left: .4rem; }

/* Hrady v čase */

.ks-ef-hrady { display: grid; grid-template-columns: minmax(0, 1fr) 17rem; gap: 1rem; }

.ks-ef-hrady__mapa { height: 460px; border-radius: 12px; z-index: 0; }

.ks-ef-hrady__rok { font-family: var(--ks-font-nadpis); font-size: 3.4rem; font-weight: 800; color: #0c4b8c; line-height: 1; }

.ks-ef-hrady__rok small { display: block; font-size: var(--ks-t-s); color: #6b7a8c; font-weight: 600; margin-top: .3rem; }

.ks-ef-hrady__pocet { margin: .8rem 0; }

.ks-ef-hrady__ovladanie { display: flex; flex-direction: column; gap: .6rem; margin-bottom: .8rem; }

.ks-ef-hrady__ovladanie input { width: 100%; accent-color: #b0362d; }

.ks-ef-hrady__nove { display: flex; flex-direction: column; gap: .2rem; font-size: var(--ks-t-s); min-height: 7.5rem; }

.ks-ef-hrady__nove span { color: #6b7a8c; font-size: var(--ks-t-xs); }

.ks-ef-hrady__nove small { color: #6b7a8c; }

/* Cesta drevených kostolíkov */

.ks-ef-kost { display: grid; grid-template-columns: minmax(0, 1fr) 19rem; gap: 1rem; }

.ks-ef-kost__mapa { height: 500px; border-radius: 12px; z-index: 0; }

.ks-ef-kost__zoznam { max-height: 500px; overflow-y: auto; font-size: var(--ks-t-s); }

.ks-ef-kost__suhrn { background: #f6efe6; border-radius: 10px; padding: .6rem .8rem; margin-bottom: .5rem; }

.ks-ef-kost__zoznam ol { padding-left: 1.6rem; margin: 0; }

.ks-ef-kost__zoznam li { padding: .15rem 0; }

.ks-ef-kost__zoznam li button { background: none; border: 0; padding: 0; text-align: left; color: #13283f; cursor: pointer; }

.ks-ef-kost__zoznam li.is-aktivny button { font-weight: 700; color: #8a5a2b; }

.ks-ef-kost__zoznam small { color: #6b7a8c; margin-left: .3rem; }

.ks-ef-unesco { font-size: 10px; font-weight: 800; background: #0c4b8c; color: #fff; border-radius: 4px; padding: 0 .3rem; margin-left: .3rem; }

.ks-ef-kost-pin { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #8a5a2b; color: #fff;
  font: 700 11px var(--ks-font-text); border: 2px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,.35); }

.ks-ef-kost-pin.is-unesco { background: #0c4b8c; }

@media (max-width: 860px) {
  .ks-ef-hrady, .ks-ef-kost { grid-template-columns: minmax(0, 1fr); }
  .ks-ef-hrady__mapa, .ks-ef-kost__mapa { height: 340px; }
  .ks-ef-kost__zoznam { max-height: 260px; }
  .ks-ef-hrady__nove { min-height: 0; }
}
