@charset "UTF-8";
.hero {
  min-height: 70vh;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.hero .container {
  z-index: 2;
}

/* ===== VIDEO MODE ===== */
.hero--video .hero-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== IMAGE MODE ===== */
.hero--img .hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--hero-img) center/cover no-repeat;
}

main h3, main *.h3like, main h4, main *.h4like, main h5, main *.h5like, main h6, main *.h6like {
  font-family: "Roboto Slab", Georgia, serif;
  font-size: 28px;
  color: #C98BDB;
  font-weight: 400;
}
@media (min-width: 996px) {
  main h3, main *.h3like, main h4, main *.h4like, main h5, main *.h5like, main h6, main *.h6like {
    font-size: 40px;
  }
}
main h2, main *.h2like {
  font-family: "Roboto Slab", Georgia, serif;
  font-size: 34px;
  color: #C98BDB;
  font-weight: 400;
}
@media (min-width: 996px) {
  main h2, main *.h2like {
    font-size: 60px;
  }
}
main h1, main *.h1like {
  font-family: "Roboto Slab", Georgia, serif;
  font-size: 40px;
  color: #C98BDB;
  font-weight: 400;
}
@media (min-width: 996px) {
  main h1, main *.h1like {
    font-size: 85px;
  }
}

.pmodal h3, .pmodal *.h3like, .pmodal h4, .pmodal *.h4like, .pmodal h5, .pmodal *.h5like, .pmodal h6, .pmodal *.h6like {
  color: #FFFFFF;
}
.pmodal h2, .pmodal *.h2like {
  color: #FFFFFF;
}
.pmodal h1, .pmodal *.h1like {
  color: #FFFFFF;
}

.segmented {
  display: inline-flex;
  padding: 3px;
  border: 0px solid #C98BDB;
  border-radius: 999px;
  background: #C98BDB;
  user-select: none;
  gap: 3px;
  position: relative;
}

.segmented button {
  border: 0;
  background: transparent;
  color: white;
  font: 700 14px/1.1 system-ui, -apple-system, Segoe UI, Roboto, Arial;
  padding: 6px 14px;
  border-radius: 999px;
  cursor: pointer;
  outline: none;
}

.segmented button.is-active {
  background: white;
  color: #202A44;
}

.segmented label {
  display: block;
  position: relative;
  border: 0;
  background: transparent;
  color: white;
  font: 700 14px/1.1 system-ui, -apple-system, Segoe UI, Roboto, Arial;
  padding: 6px 14px;
  border-radius: 999px;
  cursor: pointer;
  outline: none;
  transform: translateY(2px);
}

.segmented input {
  background: white;
  color: #202A44;
  font: 700 14px/1.1 system-ui, -apple-system, Segoe UI, Roboto, Arial;
  padding: 6px 14px;
  border-radius: 999px !important;
  margin-bottom: 0px !important;
  width: 100px !important;
  outline: 0px solid #202A44;
  outline-offset: 0px;
}

.segmented input + label {
  position: absolute;
  right: 19px;
  top: 3px;
  color: #202A44;
}

.segmented button:focus-visible {
  outline: 1px solid #202A44;
  outline-offset: 0px;
}

.segmented--check {
  background: transparent;
  padding: 0;
}

.segmented--check input[type=checkbox] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.segmented--check label {
  position: relative !important;
  transform: none !important;
  color: #111 !important;
  padding: 0 0 0 34px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.segmented--check input + label::before {
  content: "";
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: lightgray;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

.segmented--check input + label::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 50%;
  width: 6px;
  height: 10px;
  border-right: 3px solid transparent;
  border-bottom: 3px solid transparent;
  transform: translateY(-58%) rotate(45deg);
}

.segmented--check input:checked + label::before {
  content: "";
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: #C98BDB;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

.segmented--check input:checked + label::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 50%;
  width: 6px;
  height: 10px;
  border-right: 3px solid #fff;
  border-bottom: 3px solid #fff;
  transform: translateY(-58%) rotate(45deg);
}

.segmented--check input + label {
  right: auto !important;
  top: auto !important;
}

table {
  border-collapse: collapse;
  margin-top: 14px;
  width: 420px;
  max-width: 100%;
}

th, td {
  border: 1px solid #e5e7eb;
  padding: 8px 10px;
  text-align: left;
}

th {
  background: #f9fafb;
}

:root {
  --head:#0f1a33;
  --grid:#e8e8ef;
  --age-bg:#8f959f; /* neaktivní */
  --age-in:#caa0e0; /* aktivní rozsah */
  --row-left:#b58ad1; /* sticky sloupce */
  --agew: 42px;
  --c1: 320px; /* desktop */
  --c2: 56px;
  --c3: 56px;
}

@media (max-width: 520px) {
  :root {
    --c1: 120px; /* mobil max 120px */
    --c2: 52px;
    --c3: 46px;
    --agew: 40px;
  }
}
.prev-scroll {
  width: 100%;
  overflow-x: auto;
  border: 1px solid transparent;
  border-radius: 10px;
  background: #fff;
  position: relative;
}

/* důležité: overlay bude absolutně vůči tomuhle wrapperu */
.prev-inner {
  position: relative;
  display: inline-block; /* šířka podle obsahu tabulky */
  min-width: 100%;
}

table.prev-table {
  border-collapse: separate;
  border-spacing: 0;
  width: max-content;
  min-width: 100%;
  font: 600 13px/1.2 system-ui, -apple-system, Segoe UI, Roboto, Arial;
}

.prev-table th, .prev-table td {
  border-right: 1px solid var(--grid);
  border-bottom: 1px solid var(--grid);
  padding: 10px 10px;
  white-space: nowrap;
}

.prev-table thead th {
  position: sticky;
  top: 0;
  z-index: 5;
  background: var(--head);
  color: #fff;
  text-align: center;
  padding: 10px 8px;
}

/* sticky 3 sloupce */
.s {
  position: sticky;
  left: 0;
  z-index: 4;
  background: var(--row-left);
}

.prev-table thead .s {
  z-index: 6;
  background: var(--head);
}

.c1 {
  left: 0;
  width: var(--c1);
  min-width: var(--c1);
  max-width: var(--c1);
  text-align: left;
  overflow: hidden;
  text-overflow: ellipsis;
}

.c2 {
  left: var(--c1);
  width: var(--c2);
  min-width: var(--c2);
  max-width: var(--c2);
  text-align: center;
}

.c3 {
  left: calc(var(--c1) + var(--c2));
  width: var(--c3);
  min-width: var(--c3);
  max-width: var(--c3);
  text-align: center;
}

/* otočený header VĚK shora dolů */
.prev-table thead th.c3 {
  padding: 0;
}

.prev-table thead th.c3 .vtext {
  display: inline-block;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  letter-spacing: 1px;
  padding: 10px 0;
}

/* věkové buňky */
.age {
  width: var(--agew);
  min-width: var(--agew);
  max-width: var(--agew);
  text-align: center;
  padding: 10px 0;
  background: var(--age-bg);
}

.age.in-range {
  background: var(--age-in);
}

/* INFO */
.info-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--head);
  color: #fff;
  font-weight: 800;
}

/* overlay vrstva pro pruhy */
.prev-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3; /* nad buňkami, pod sticky head (ten má vyšší) */
}

/* pruh + label */
.range-bar {
  position: absolute;
  height: 18px;
  border-radius: 3px;
  background: var(--head);
}

.range-label {
  position: absolute;
  top: 0;
  height: 18px;
  line-height: 18px;
  padding: 0 8px;
  border-radius: 3px;
  background: var(--head);
  color: #fff;
  font: 700 11px/18px system-ui, -apple-system, Segoe UI, Roboto, Arial;
  white-space: nowrap;
}

/* zvýraznění sloupce podle věku */
.is-age-target {
  outline: 2px solid rgba(32, 42, 68, 0.35);
  outline-offset: -2px;
  box-shadow: inset 0 0 0 9999px rgba(255, 255, 255, 0.18);
}

tbody .s.c3 {
  background-color: var(--head);
}

.info-dot {
  cursor: pointer;
}

.pmodal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
}

.pmodal.is-open {
  display: block;
}

.pmodal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}

.pmodal__panel {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(720px, 100vw - 28px);
  max-height: min(80vh, 680px);
  overflow: auto;
  background: #b58ad1;
  color: #fff;
  border: 6px solid #fff;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
  padding: 22px 22px 16px;
}

.pmodal__close {
  position: absolute;
  right: 10px;
  top: 8px;
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
  color: #0f1a33;
  font-size: 28px;
  line-height: 34px;
  cursor: pointer;
}

.pmodal__title {
  margin: 0 34px 14px 0;
}

.pmodal__h {
  margin: 18px 0 6px;
}

.pmodal__content, .pmodal__text {
  color: black;
  font: 400 13px/1 system-ui, -apple-system, Segoe UI, Roboto, Arial;
}

.pmodal__footer {
  margin-top: 16px;
  display: flex;
  justify-content: flex-start;
}

.pmodal__btn {
  display: inline-block;
  background: #0f1a33;
  color: #fff;
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 999px;
  font: 800 13px/1 system-ui, -apple-system, Segoe UI, Roboto, Arial;
}

.pmodal__btn[aria-disabled=true] {
  opacity: 0.55;
  pointer-events: none;
}

/* JAK */
.youtube-mask-container {
  width: 100%;
  height: fit-content;
}
.youtube-mask-container iframe {
  width: 100%;
  height: auto;
  object-fit: cover;
  min-height: 30vh;
  aspect-ratio: 16/9;
}

.gray-bg {
  background-color: #E6E6E6;
  padding: 24px;
}
.gray-bg .content-collapsed.fade-bottom {
  /* starý Safari fallback */
  -webkit-mask-image: -webkit-gradient(linear, left top, left bottom, from(rgb(0, 0, 0)), color-stop(0.7, rgb(0, 0, 0)), to(rgba(0, 0, 0, 0)));
  /* moderní zápis */
  -webkit-mask-image: linear-gradient(to bottom, #000 80%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 80%, transparent 100%);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

* {
  font-family: "Roboto Slab", serif !important;
}

/*# sourceMappingURL=main.css.map */
