:root {
  --tp-max: 1160px;
  --tp-header-h: 82px;
  --tp-section-gap: clamp(26px, 5vw, 58px);

  /* Kontakty – karta */
  --tp-pill-border-w: 2px;
  --tp-pill-border: var(--tp-tint-border);

  /* Brand logo (autíčko) */
  --tp-logo-size: 60px;
  --tp-logo-radius: 16px;

  /* Hero – jednoduché ladění pozice textů a bg obrázku */
  --tp-hero-text-x: 0px;
  --tp-hero-text-y: 0px;
  --tp-hero-text-align: left;
  --tp-hero-content-align: flex-end;

  /* Desktop hero bg (pevná šířka obrázku) */
  --tp-hero-bg-width: 1500px;
  --tp-hero-bg-pos-y: 15%;
  --tp-hero-h-min-desktop: 320px;
  --tp-hero-h-ideal-desktop: 48vh;
  --tp-hero-h-max-desktop: 560px;

  --tp-olive: #1d2f4a;
  --tp-olive-dark: #142238;
  --tp-olive-darker: #142238;
  --tp-olive-text: rgba(255,255,255,0.92);
  --tp-olive-muted: rgba(255,255,255,0.70);
  --tp-olive-border: rgba(255,255,255,0.22);

  /* Content */
  --tp-bg: #f7efe3;
  --tp-paper: #ffffff;
  --tp-ink: var(--tp-olive-dark);
  --tp-ink-muted: rgba(25, 34, 28, 0.70);
  --tp-line: rgba(25, 34, 28, 0.13);

  /* Accent */
  --tp-accent: #c8653d;
  --tp-accent-2: #2f6f73;

  /* Tints (subtle green surfaces across the site) */
  --tp-tint: rgba(29, 47, 74, 0.08);
  --tp-tint-strong: rgba(169, 95, 51, 0.12);
  --tp-tint-border: rgba(29, 47, 74, 0.18);

  /* Hero overlays */
  --tp-hero-overlay-green: rgba(17, 35, 25, 0.22);

  /* Forms: validation */
  --tp-danger: rgba(167, 44, 44, 1);
  --tp-danger-border: rgba(167, 44, 44, 0.38);
  --tp-danger-bg: rgba(167, 44, 44, 0.08);

  --tp-radius-lg: 8px;
  --tp-radius-md: 8px;
  --tp-radius-sm: 6px;
  --tp-shadow: 0 18px 42px rgba(48, 38, 24, 0.16);
  --tp-transition: 220ms cubic-bezier(0.2, 0, 0.2, 1);

  --zunix-bg: #aaaaaa; 
  --zunix-badge-bg: #5a5a5a; 
  --zunix-badge-border: #2a2a2a;
  --zunix-badge-hover: #6a6a6a;
  --zunix-text: rgba(255, 255, 255, 0.6); /* "Powered by" */
  --zunix-accent: #ffffff;                /* "Zunix.eu" */
  --zunix-accent-hover: #ffffff;          /* Barva nápisu při hoveru */
  --zunix-glow: rgba(255, 255, 255, 0.4);
}

/* Homepage editorial sections alternate automatically as they are added. */
.tp-alternating-sections {
  width: 100%;
}

.tp-alternating-section {
  display: flex;
  align-items: stretch;
}

.tp-alternating-section:nth-child(odd) {
  justify-content: flex-start;
}

.tp-alternating-section:nth-child(even) {
  justify-content: flex-end;
}

.tp-alternating-section:nth-child(odd) .tp-alternating-content {
  text-align: left;
}

.tp-alternating-section:nth-child(even) .tp-alternating-content {
  text-align: right;
}

.tp-alternating-section:nth-child(even) .tp-actions {
  justify-content: flex-end;
}

.tp-alternating-section:nth-child(even) .tp-list {
  list-style-position: inside;
}

.tp-alternating-section:nth-child(even) .tp-list li {
  text-align: right;
}

.tp-alternating-content {
  width: min(760px, 72%);
}

.tp-alternating-section:nth-child(even) .tp-alternating-content {
  transform: rotate(0.35deg);
}

@media (max-width: 760px) {
  .tp-alternating-content {
    width: 100%;
    text-align: left !important;
  }

  .tp-alternating-section:nth-child(even) .tp-alternating-content {
    transform: none;
  }

  .tp-alternating-section:nth-child(even) .tp-actions {
    justify-content: flex-start;
  }

  .tp-alternating-section:nth-child(even) .tp-list {
    list-style-position: outside;
  }

  .tp-alternating-section:nth-child(even) .tp-list li {
    text-align: left;
  }
}

* { box-sizing: border-box; }
html, body { height: 100%; }

/* Clean, non-interactive crop used by the Zunix portfolio preview. */
html.tp-portfolio-embed,
html.tp-portfolio-embed body {
  overflow: hidden !important;
  scrollbar-width: none;
  overscroll-behavior: none;
}

html.tp-portfolio-embed::-webkit-scrollbar,
html.tp-portfolio-embed body::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.55;
  background:
    linear-gradient(180deg, rgba(245, 241, 231, 0.84), rgba(255,255,255,0.96) 420px),
    var(--tp-bg);
  color: var(--tp-ink);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--tp-olive) 5%, transparent) 1px, transparent 1px),
    linear-gradient(180deg, color-mix(in srgb, var(--tp-olive) 5%, transparent) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.22), transparent 520px);
  z-index: -1;
}

/* Pomocné třídy */
.tp-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

.tp-hidden {
  display: none !important;
}

/* --- Header / Navigation --- */
.tp-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 2000;
  background: rgba(255, 253, 247, 0.82);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--tp-tint-border);
  box-shadow: 0 14px 34px rgba(48, 38, 24, 0.08);
}

.tp-header::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, color-mix(in srgb, var(--tp-olive) 10%, transparent) 0%, rgba(255,255,255,0.00) 56%);
}

.tp-header-inner {
  width: min(var(--tp-max), 100%);
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.tp-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--tp-ink);
  min-width: 0;
}

.tp-brand-logo {
  width: var(--tp-logo-size);
  height: var(--tp-logo-size);
  border-radius: var(--tp-logo-radius);
  background-color: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--tp-tint-border);
  box-shadow: 0 10px 24px rgba(48, 38, 24, 0.10);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  flex: 0 0 auto;
}

.tp-brand-text { display: grid; gap: 2px; min-width: 0; }
.tp-brand-title {
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.4;
  padding-block: 0.12em 0.16em;
  margin-block: -0.12em -0.16em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tp-brand-sub {
  font-weight: 800;
  font-size: 0.86rem;
  color: var(--tp-ink-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tp-burger {
  margin-left: auto;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: #fff;
  opacity: 1;
  border: 1px solid var(--tp-tint-border);
  box-shadow: 0 10px 24px rgba(0,0,0,0.08);
  color: var(--tp-ink);
}

.tp-burger-lines {
  width: 18px;
  height: 12px;
  position: relative;
  display: inline-block;
}

.tp-burger-lines::before,
.tp-burger-lines::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--tp-ink);
  border-radius: 999px;
}

.tp-burger-lines::before { top: 0; box-shadow: 0 5px 0 0 var(--tp-ink); }
.tp-burger-lines::after { bottom: 0; }

.tp-nav {
  display: none;
  margin-left: auto;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.tp-nav-link {
  display: inline-flex;
  align-items: center;
  padding: 10px 10px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--tp-ink);
  font-weight: 900;
  font-size: 0.92rem;
  transition: background var(--tp-transition), transform var(--tp-transition);
}

.tp-nav-link:hover { background: color-mix(in srgb, var(--tp-olive) 12%, transparent); transform: translateY(-1px); }

.tp-nav-link[aria-current="page"] {
  background: rgba(169, 95, 51, 0.12);
  color: #733d20;
}

.tp-nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 900;
  padding: 10px 12px;
  border-radius: 8px;
  color: rgba(255,255,255,0.92);
  background: linear-gradient(180deg, var(--tp-olive) 0%, var(--tp-olive-dark) 100%);
  border: 1px solid rgba(0,0,0,0.18);
  transition: filter var(--tp-transition), transform var(--tp-transition);
}

.tp-nav-cta:hover { filter: brightness(1.02); transform: translateY(-1px); }

/* --- Main / Hero --- */
.tp-main {
  flex: 1 0 auto;
  padding-top: var(--tp-header-h);
}

.tp-hero,
.tp-section {
  scroll-margin-top: 84px;
}

.tp-hero {
  position: relative;
  height: clamp(520px, 72vh, 720px);
  background: var(--tp-tint);
  overflow: hidden;
}

.tp-hero-media {
  position: absolute;
  inset: 0;
  --tp-hero-image: url('/obrazky/bg_img.webp');
  background-color: var(--tp-tint);
  background-image:
    linear-gradient(90deg, rgba(12, 25, 18, 0.72), rgba(12, 25, 18, 0.28) 54%, rgba(12, 25, 18, 0.12)),
    var(--tp-hero-image);
  background-size: cover;
  background-position: center;
  filter: saturate(1.04) contrast(1.04);
}

/* Homepage: green-tinted overlay behind the photo */
.tp-hero.tp-hero-home .tp-hero-media {
  background-image:
    linear-gradient(0deg, var(--tp-hero-overlay-green), var(--tp-hero-overlay-green)),
    var(--tp-hero-image);
}

.tp-hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding: clamp(18px, 4vw, 42px);
}

.tp-hero-inner {
  width: min(var(--tp-max), 100%);
  margin: 0 auto;
  display: grid;
  gap: 10px;
  transform: translate(var(--tp-hero-text-x), var(--tp-hero-text-y));
  text-align: var(--tp-hero-text-align);
}

/* Homepage hero: move text to the right side of the photo */
.tp-hero.tp-hero-home .tp-hero-inner {
  width: min(var(--tp-hero-bg-width), 100%);
  padding: 0 clamp(22px, 4vw, 72px);
  justify-items: start;
}

/* Homepage hero: keep the info panel vertically centered */
.tp-hero.tp-hero-home .tp-hero-overlay {
  align-items: center;
}

.tp-hero-panel {
  position: relative;
  display: grid;
  gap: 10px;
  justify-items: start;
  text-align: left;
  width: min(620px, 100%);
  padding: clamp(20px, 4vw, 34px);
  border-radius: 8px;
  background: rgba(16, 29, 22, 0.60);
  border: 1px solid rgba(255,255,255,0.24);
  box-shadow: 0 22px 54px rgba(0,0,0,0.30);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  backdrop-filter: saturate(160%) blur(12px);
}

.tp-hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,0.16) 0%, rgba(255,255,255,0.00) 56%);
}

.tp-hero-panel > * {
  position: relative;
  z-index: 1;
}

.tp-hero-logo {
  width: 92px;
  height: 92px;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

.tp-hero-badge {
  display: inline-flex;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(255,255,255,0.46);
  color: rgba(25, 34, 28, 0.78);
  font-weight: 900;
  font-size: 0.85rem;
}

.tp-hero-title {
  margin: 0;
  color: #fff;
  font-weight: 900;
  letter-spacing: -0.02em;
  font-size: clamp(2.45rem, 6vw, 5rem);
  line-height: 1.05;
  text-shadow: 0 10px 28px rgba(0,0,0,0.55);
}

.tp-hero-lead {
  margin: 0;
  color: rgba(255,255,255,0.90);
  font-weight: 700;
  max-width: 54ch;
  font-size: clamp(1rem, 2vw, 1.22rem);
  text-shadow: 0 10px 28px rgba(0,0,0,0.55);
}

.tp-page {
  background: linear-gradient(180deg, rgba(255,255,255,0.92), #fff 260px);
}

.tp-section {
  width: min(var(--tp-max), 100%);
  margin: 0 auto;
  padding: var(--tp-section-gap) clamp(18px, 3vw, 26px);
}

.tp-page-hero {
  display: grid;
  gap: 12px;
  padding-top: clamp(42px, 7vw, 82px);
  padding-bottom: clamp(24px, 4vw, 40px);
  max-width: 900px;
}

.tp-page-hero .tp-h2 {
  max-width: 760px;
  font-size: clamp(2.1rem, 5vw, 4rem);
}

.tp-page-hero .tp-text {
  max-width: 760px;
  font-size: clamp(1rem, 1.5vw, 1.16rem);
  color: var(--tp-ink-muted);
}

.tp-h2 {
  margin: 0 0 12px;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  letter-spacing: 0;
  line-height: 1.12;
}

.tp-sub-h2 {
  margin: -6px 0 12px;
  font-weight: 900;
  letter-spacing: -0.01em;
  color: var(--tp-ink-muted);
}

.tp-h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
  letter-spacing: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.tp-divider {
  position: relative;
  height: 17px;
  margin: 22px 0;
  overflow: visible;
  background: linear-gradient(
    90deg,
    transparent,
    color-mix(in srgb, var(--tp-accent) 48%, var(--tp-line)) 18%,
    color-mix(in srgb, var(--tp-accent-2) 30%, var(--tp-line)) 50%,
    color-mix(in srgb, var(--tp-accent) 48%, var(--tp-line)) 82%,
    transparent
  ) center / 100% 1px no-repeat;
}

.tp-divider::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 9px;
  border: 3px solid color-mix(in srgb, var(--tp-paper) 78%, white);
  background: var(--tp-accent);
  transform: translate(-50%, -50%) rotate(45deg);
}

.tp-clubs {
  margin-top: 18px;
  padding: 18px;
  border-radius: var(--tp-radius-lg);
  background: linear-gradient(180deg, color-mix(in srgb, var(--tp-olive) 5%, transparent) 0%, rgba(255,255,255,0.94) 100%);
  border: 1px solid var(--tp-tint-border);
  box-shadow: 0 10px 28px rgba(0,0,0,0.05);
}

.tp-club-h {
  font-size: 1.22rem;
  letter-spacing: -0.015em;
  margin-top: 1.15rem !important;
  margin-bottom: 0.65rem;
}

.tp-text { margin: 0; color: var(--tp-ink); }
.tp-text-muted { color: var(--tp-ink-muted); }

/* --- Tým: "Kdo jsme?" (styl původní stránky) --- */
.tp-story {
  max-width: none;
  margin: 0;
}

.tp-story-title {
  margin: 0 0 16px;
  text-align: center;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: clamp(1.7rem, 3.2vw, 2.25rem);
}

.tp-story .tp-text + .tp-text { margin-top: 12px; }

.tp-a {
  color: var(--tp-accent);
  text-decoration: none;
  border-bottom: 1px solid color-mix(in srgb, var(--tp-accent) 42%, transparent);
}
.tp-a:hover { border-bottom-color: color-mix(in srgb, var(--tp-accent) 78%, transparent); }

.tp-link {
  color: var(--tp-accent);
  text-decoration: none;
  border-bottom: 1px solid color-mix(in srgb, var(--tp-accent) 42%, transparent);
}
.tp-link:hover { border-bottom-color: color-mix(in srgb, var(--tp-accent) 78%, transparent); }

.tp-title-link {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.tp-title-link:hover {
  border-bottom-color: color-mix(in srgb, var(--tp-accent) 62%, transparent);
}

.tp-center {
  text-align: center;
}

.tp-center .tp-actions {
  justify-content: center;
}

.tp-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.tp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 900;
  background: rgba(18, 21, 21, 0.06);
  border: 1px solid rgba(18, 21, 21, 0.12);
  color: rgba(18, 21, 21, 0.92);
  transition: transform var(--tp-transition), background var(--tp-transition), border-color var(--tp-transition);
}

.tp-btn:hover {
  background: rgba(18, 21, 21, 0.09);
  border-color: rgba(18, 21, 21, 0.18);
  transform: translateY(-1px);
}

.tp-btn-primary {
  background: linear-gradient(180deg, var(--tp-olive) 0%, var(--tp-olive-dark) 100%);
  border-color: rgba(0,0,0,0.18);
  color: rgba(255,255,255,0.92);
}

.tp-btn-primary:hover {
  background: linear-gradient(180deg, color-mix(in srgb, var(--tp-olive) 88%, white) 0%, var(--tp-olive-dark) 100%);
}

.tp-btn-light {
  background: rgba(255,255,255,0.90);
  border-color: rgba(255,255,255,0.52);
  color: rgba(25, 34, 28, 0.92);
}

.tp-kicker {
  margin: 0 0 10px;
  color: var(--tp-accent);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
}

.tp-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: clamp(18px, 4vw, 42px);
  align-items: start;
}

.tp-intro .tp-text + .tp-text {
  margin-top: 12px;
}

.tp-feature-box {
  border: 1px solid color-mix(in srgb, var(--tp-olive) 20%, transparent);
  border-radius: 8px;
  padding: clamp(18px, 3vw, 24px);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--tp-olive) 10%, transparent), rgba(255,255,255,0.96)),
    #fff;
  box-shadow: 0 16px 32px rgba(48, 38, 24, 0.08);
}

/* --- Forms (Přihlášky – lokální šablona) --- */
.tp-form-card {
  margin-top: 18px;
  padding: 18px;
  border-radius: var(--tp-radius-lg);
  background: rgba(255,255,255,0.88);
  border: 1px solid rgba(18, 21, 21, 0.12);
  box-shadow: 0 10px 28px rgba(0,0,0,0.05);
}

.tp-note {
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--tp-olive) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--tp-olive) 18%, transparent);
  color: rgba(18, 21, 21, 0.92);
}

.tp-form {
  display: grid;
  gap: 14px;
}

.tp-field {
  display: grid;
  gap: 6px;
}

.tp-field.tp-invalid .tp-label {
  color: rgba(167, 44, 44, 0.92);
}

.tp-label {
  font-weight: 900;
  letter-spacing: -0.01em;
}

.tp-help {
  margin: 0;
  color: var(--tp-ink-muted);
  font-size: 0.92rem;
}

.tp-input,
.tp-textarea,
.tp-select {
  width: 100%;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(18, 21, 21, 0.14);
  background: rgba(255,255,255,0.94);
  color: rgba(18, 21, 21, 0.92);
  font: inherit;
  box-shadow: 0 10px 24px rgba(0,0,0,0.04);
}

.tp-textarea {
  min-height: 96px;
  resize: vertical;
}

.tp-input:focus,
.tp-textarea:focus,
.tp-select:focus {
  outline: none;
  border-color: color-mix(in srgb, var(--tp-olive) 45%, transparent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--tp-olive) 18%, transparent);
}

/* Shared control container (text fields + options). Keep .tp-choice as an alias. */
.tp-control,
.tp-choice {
  padding: 12px 12px;
  border-radius: 16px;
  background: color-mix(in srgb, var(--tp-olive) 6%, transparent);
  border: 1px solid color-mix(in srgb, var(--tp-olive) 18%, transparent);
  display: grid;
  gap: 10px;
}

.tp-field.tp-invalid .tp-control,
.tp-field.tp-invalid .tp-choice {
  border-color: var(--tp-danger-border);
  background: var(--tp-danger-bg);
}

.tp-field.tp-invalid .tp-input,
.tp-field.tp-invalid .tp-textarea,
.tp-field.tp-invalid .tp-select {
  border-color: var(--tp-danger-border);
}

.tp-radio {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.tp-radio input {
  margin-top: 3px;
}

/* --- Date input: desktop mask + native picker --- */
.tp-date-wrap {
  position: relative;
}

.tp-date-text {
  padding-right: 44px;
}

@media (min-width: 981px) {
  .tp-date-text {
    padding-right: 52px;
  }

  .tp-date-btn {
    position: absolute;
    top: 50%;
    right: 6px;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--tp-ink-muted);
    cursor: pointer;
    z-index: 3;
  }

  .tp-date-btn:hover {
    background: rgba(18, 21, 21, 0.06);
  }

  .tp-date-btn:active {
    background: rgba(18, 21, 21, 0.09);
  }

  .tp-date-native {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    z-index: 1;
  }
}

/* Parent information and gallery pages. */
.tp-page-heading {
  padding-bottom: clamp(24px, 4vw, 42px);
}

.tp-page-heading .tp-text {
  max-width: 72ch;
}

.tp-page-heading .tp-h2 {
  max-width: 100%;
  white-space: normal;
  overflow-wrap: break-word;
}

.tp-parent-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding-top: 0;
}

.tp-parent-facts article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2px 12px;
  align-items: center;
  min-width: 0;
  padding: 20px;
  background: var(--tp-paper);
  border: 1px solid var(--tp-line);
  border-top: 4px solid var(--tp-accent);
}

.tp-parent-facts i {
  grid-row: span 2;
  color: var(--tp-accent-2);
  font-size: 1.35rem;
}

.tp-parent-facts span {
  color: var(--tp-ink-muted);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.tp-parent-facts strong {
  overflow-wrap: anywhere;
}

.tp-parent-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(22px, 4vw, 56px);
}

.tp-parent-panel {
  padding: clamp(24px, 3vw, 38px) 0;
}

.tp-parent-panel .tp-kicker,
.tp-parent-panel .tp-h3 {
  display: block;
}

.tp-parent-panel .tp-h3 {
  margin-top: 6px;
}

.tp-parent-panel:only-child {
  grid-column: 1 / -1;
}

.tp-packing {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(30px, 5vw, 72px);
}

.tp-packing-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.tp-packing-groups article {
  padding: 20px;
  background: color-mix(in srgb, var(--tp-paper) 72%, transparent);
  border-left: 3px solid var(--tp-accent-2);
}

.tp-packing-groups h3,
.tp-document-item h3 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.tp-packing-groups p,
.tp-document-item p {
  margin: 0;
  color: var(--tp-ink-muted);
}

.tp-parent-notice {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  padding: clamp(24px, 4vw, 38px);
  background: color-mix(in srgb, var(--tp-accent) 13%, var(--tp-paper));
  border: 1px solid color-mix(in srgb, var(--tp-accent) 30%, var(--tp-line));
}

.tp-parent-notice > i {
  color: var(--tp-accent-2);
  font-size: 2rem;
}

.tp-parent-notice h2,
.tp-parent-notice p {
  margin-top: 0;
}

.tp-document-list {
  display: grid;
  gap: 1px;
  margin-top: 22px;
  background: var(--tp-line);
  border: 1px solid var(--tp-line);
}

.tp-document-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 18px 20px;
  background: var(--tp-paper);
}

.tp-document-item > i {
  color: var(--tp-accent-2);
  font-size: 1.7rem;
}

.tp-photo-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 14px;
  padding-top: 0;
}

.tp-photo-grid figure {
  grid-column: span 4;
  margin: 0;
  overflow: hidden;
  background: var(--tp-paper);
  border: 1px solid var(--tp-line);
}

.tp-photo-grid figure:nth-child(5n + 1),
.tp-photo-grid figure:nth-child(5n + 2) {
  grid-column: span 6;
}

.tp-photo-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 400ms ease;
}

.tp-photo-grid figure:hover img {
  transform: scale(1.035);
}

.tp-photo-grid figcaption {
  padding: 12px 14px;
  font-weight: 800;
}

.tp-venue-overview {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  padding-top: 0;
}

.tp-venue-overview > img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  box-shadow: var(--tp-shadow);
}

.tp-gallery-heading {
  padding-bottom: 18px;
}

@media (max-width: 900px) {
  .tp-parent-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tp-packing {
    grid-template-columns: 1fr;
  }

  .tp-venue-overview {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .tp-page-heading .tp-h2 {
    font-size: clamp(2.25rem, 12vw, 3.25rem);
    line-height: 1.02;
  }

  .tp-parent-facts,
  .tp-parent-grid,
  .tp-packing-groups {
    grid-template-columns: 1fr;
  }

  .tp-document-item {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .tp-document-item .tp-btn {
    grid-column: 1 / -1;
    width: 100%;
  }

  .tp-photo-grid figure,
  .tp-photo-grid figure:nth-child(n) {
    grid-column: 1 / -1;
  }
}

@media (max-width: 980px) {
  .tp-date-text {
    display: none;
  }

  .tp-date-btn {
    display: none;
  }

  .tp-date-native {
    position: static;
    width: 100%;
    opacity: 1;
    z-index: auto;
    cursor: auto;
  }
}

button.tp-btn {
  cursor: pointer;
}

.tp-btn[disabled],
button.tp-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.tp-info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding: 14px;
  border-radius: var(--tp-radius-lg);
  background: #fff;
  border: 1px solid var(--tp-tint-border);
  box-shadow: 0 16px 36px rgba(48, 38, 24, 0.08);
}

.tp-info {
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(245, 241, 231, 0.74), rgba(255,255,255,0.96));
  border: 1px solid rgba(18, 21, 21, 0.10);
  padding: 10px;
}

.tp-info-k {
  font-weight: 900;
  font-size: 0.82rem;
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 0.12em;
  color: rgba(18, 21, 21, 0.62);
  margin-bottom: 6px;

}

.tp-info-v {
  font-weight: 900;
  text-align: center;
  color: rgba(18, 21, 21, 0.92);
}

.tp-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.tp-cards.tp-cards-2 {
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 981px) {
  .tp-cards.tp-cards-2 > :last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
    width: 100%;
    max-width: calc((100% - 12px) / 2);
  }
}

.tp-card {
  background: linear-gradient(180deg, color-mix(in srgb, var(--tp-olive) 5%, transparent) 0%, rgba(255,255,255,0.98) 66%);
  border: 1px solid var(--tp-tint-border);
  border-radius: var(--tp-radius-lg);
  padding: 16px;
  box-shadow: 0 14px 30px rgba(48, 38, 24, 0.07);
}

.tp-card,
.tp-info,
.tp-feature-box,
.tp-review-card {
  position: relative;
}

.tp-card::before,
.tp-feature-box::before,
.tp-review-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  border-top: 3px solid color-mix(in srgb, var(--tp-accent) 72%, transparent);
  opacity: 0.78;
}

.tp-sponsor-card {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(18px, 3vw, 30px);
}

.tp-sponsor-card + .tp-sponsor-card {
  margin-top: 12px;
}

.tp-sponsor-logo {
  display: block;
  width: min(560px, 100%);
  height: auto;
}

.tp-sponsor-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.tp-sponsor-zunix {
  display: inline-block;
  font-weight: 800;
  letter-spacing: -1px;
  font-size: clamp(2.1rem, 5vw, 3.2rem);
  line-height: 1.1;
  text-decoration: none;
  color: #4a6cf7;
  background: linear-gradient(135deg, #4a6cf7 0%, #5a3fa2 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.tp-sponsor-zunix:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--tp-accent) 62%, transparent);
  outline-offset: 4px;
  border-radius: 10px;
}

/* --- Vizitka (medailonek) --- */
.tp-vcard {
  text-align: center;
}

.tp-vcard-avatar {
  width: 104px;
  height: 104px;
  margin: 2px auto 12px;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid var(--tp-line);
  background: rgba(18, 21, 21, 0.06);
  box-shadow: 0 10px 28px rgba(0,0,0,0.06);
}

.tp-vcard-avatar img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.tp-vcard-initials {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: rgba(18, 21, 21, 0.72);
  background: rgba(255,255,255,0.76);
}

.tp-vcard-name {
  margin: 0 0 4px;
  font-size: 1.08rem;
  letter-spacing: -0.01em;
}

.tp-vcard-role {
  margin: 0 0 12px;
  font-weight: 900;
  color: var(--tp-ink-muted);
}

.tp-vcard-bio {
  text-align: left;
}

.tp-vcard-bio .tp-text + .tp-text { margin-top: 10px; }

.tp-card i { color: var(--tp-accent); }

.tp-card-soft {
  background: linear-gradient(180deg, color-mix(in srgb, var(--tp-olive) 7%, transparent) 0%, rgba(255,255,255,0.96) 100%);
}

.tp-list {
  margin: 0;
  padding-left: 18px;
  color: rgba(18, 21, 21, 0.82);
}

.tp-list li { margin: 8px 0; }

/* --- Simple slider (Fotogalerie) --- */
.tp-slider { margin-top: 12px; }

.tp-slider-viewport {
  position: relative;
  border-radius: var(--tp-radius-lg);
  overflow: hidden;
  border: 1px solid var(--tp-line);
  background: rgba(18, 21, 21, 0.04);
  height: clamp(220px, 46vh, 520px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  cursor: zoom-in;
}

body.tp-zoom-open { overflow: hidden; }

.tp-slider.is-zoomed .tp-slider-viewport {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  border-radius: 0;
  border: 0;
  box-shadow: none;
  background: rgba(0,0,0,0.92);
  cursor: zoom-out;
  z-index: 9999;
}

.tp-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.015);
  transition: opacity 560ms cubic-bezier(0.2, 0, 0.2, 1), transform 560ms cubic-bezier(0.2, 0, 0.2, 1);
  z-index: 1;
}

.tp-slide.is-active { opacity: 1; transform: scale(1); }

.tp-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tp-slider.is-zoomed .tp-slide-img { object-fit: contain; }

.tp-slider-caption {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(18, 21, 21, 0.58);
  color: rgba(255,255,255,0.92);
  font-weight: 900;
  letter-spacing: -0.01em;
  backdrop-filter: blur(8px) saturate(140%);
  z-index: 4;
}

.tp-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(18, 21, 21, 0.18);
  background: rgba(255,255,255,0.86);
  color: rgba(18, 21, 21, 0.92);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform var(--tp-transition), background var(--tp-transition);
  z-index: 4;
}

.tp-slider-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(18, 21, 21, 0.42);
  color: rgba(255,255,255,0.92);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform var(--tp-transition), background var(--tp-transition);
  z-index: 5;
  opacity: 0;
  pointer-events: none;
}

.tp-slider.is-zoomed .tp-slider-close {
  opacity: 1;
  pointer-events: auto;
}

.tp-slider-close:hover {
  background: rgba(18, 21, 21, 0.56);
  transform: scale(1.03);
}

.tp-slider-close:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--tp-accent) 62%, transparent);
  outline-offset: 3px;
}

.tp-slider-btn:hover {
  background: rgba(255,255,255,0.92);
  transform: translateY(-50%) scale(1.03);
}

.tp-slider-btn:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--tp-accent) 62%, transparent);
  outline-offset: 3px;
}

.tp-slider-btn-prev { left: 10px; }
.tp-slider-btn-next { right: 10px; }

@media (prefers-reduced-motion: reduce) {
  .tp-slide { transition: none; transform: none; }
}

.tp-contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 12px;
  align-items: start;
}

.tp-pills {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 12px;
}

.tp-pill {
  background: rgba(255,255,255,0.88);
  border: var(--tp-pill-border-w) solid var(--tp-pill-border);
  border-radius: var(--tp-radius-lg);
  padding: 16px 18px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.06);
}

.tp-pill .tp-contact-meta {
  font-size: 0.95rem;
  align-items: flex-start;
}

.tp-pill .tp-contact-meta i {
  margin-top: 2px;
}

.tp-contact-email,
.tp-foot-email {
  color: var(--tp-accent);
  border-bottom: 1px solid color-mix(in srgb, var(--tp-accent) 42%, transparent);
}

.tp-contact {
  padding: 14px;
  border-radius: var(--tp-radius-md);
  background: color-mix(in srgb, var(--tp-olive) 4%, transparent);
  border: 1px solid var(--tp-tint-border);
  margin-bottom: 10px;
}

.tp-contact-title { font-weight: 900; margin-bottom: 6px; }

.tp-contact-meta {
  color: var(--tp-ink-muted);
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 6px;
}

.tp-footer {
    flex-shrink: 0;
    width: 100%;
    background-color: var(--tp-olive-dark);
}

.tp-reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.tp-review-card {
  display: grid;
  align-content: space-between;
  gap: 18px;
  min-height: 240px;
  padding: clamp(18px, 3vw, 24px);
  border-radius: var(--tp-radius-lg);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.96), color-mix(in srgb, var(--tp-bg) 72%, white)),
    #fff;
  border: 1px solid var(--tp-tint-border);
  box-shadow: 0 18px 36px rgba(48, 38, 24, 0.08);
}

.tp-review-mark {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: color-mix(in srgb, var(--tp-accent) 14%, white);
  color: var(--tp-accent);
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1;
}

.tp-review-text {
  margin: 0;
  color: var(--tp-ink);
  font-size: 0.98rem;
}

.tp-review-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--tp-line);
  color: var(--tp-ink-muted);
}

.tp-review-foot strong {
  color: var(--tp-ink);
}

.tp-review-foot span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 2px 10px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--tp-olive) 9%, transparent);
  color: var(--tp-ink);
  font-weight: 800;
}

.tp-footer-top {
    background-color: #fffdf7;
    padding: 22px 0;
    border-top: 1px solid color-mix(in srgb, var(--tp-olive) 16%, transparent);
}

.tp-footer-inner {
  width: min(var(--tp-max), 100%);
  margin: 0 auto;
  padding: 0 clamp(18px, 3vw, 26px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.tp-footer-right {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.tp-footer-bottom {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 12px 0;
  background: var(--tp-olive-dark);
  border-top: 1px solid rgba(255,255,255,0.08);
}

.zunix-powered-a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-size: 0.85rem;
  padding: 8px 18px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.68);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  transition: transform var(--tp-transition), background var(--tp-transition);
}

.zunix-powered-a strong {
  color: #fff;
}

.zunix-powered-a:hover {
  transform: translateY(-1px);
  background: rgba(255,255,255,0.12);
}

        .tp-sponsor-link {
            text-decoration: none;
            color: inherit;
            display: block;
            margin-bottom: 20px; /* Mezera mezi řádky */
        }
        .tp-sponsor-card-full {
            display: flex;
            flex-direction: column;
            align-items: center;
            padding: 20px;
            width: 100%;
        }
        .tp-sponsor-row {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 20px;
            width: 100%;
        }
        .tp-sponsor-logo {
            max-height: 80px; /* Uprav si podle potřeby */
            width: auto;
        }
        .tp-sponsor-desc {
            margin-top: 15px;
            text-align: center;
        }

/* --- Responsive --- */
@media (max-width: 980px) {
  :root {
    --tp-logo-size: 48px;
    --tp-logo-radius: 14px;
  }

  .tp-nav {
    position: fixed;
    top: calc(var(--tp-header-h) - 12px);
    left: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 12px;
    background: #fff;
    border: 1px solid var(--tp-tint-border);
    border-radius: var(--tp-radius-lg);
    box-shadow: var(--tp-shadow);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 140ms ease, transform 140ms ease;
    z-index: 2200;
  }

  body.tp-nav-open .tp-nav {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  body.tp-nav-open { overflow: hidden; }

  .tp-nav-link { padding: 12px 12px; }
  .tp-nav-cta { padding: 12px 12px; }

  .tp-hero {
    height: auto;
    min-height: calc(100svh - var(--tp-header-h));
  }

  .tp-hero-overlay {
    position: relative;
    min-height: calc(100svh - var(--tp-header-h));
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .tp-hero.tp-hero-home .tp-hero-inner {
    padding: 0;
  }

  .tp-hero-panel {
    padding: 20px;
  }

  .tp-hero-title {
    font-size: clamp(2.1rem, 12vw, 3.6rem);
  }

  .tp-intro {
    grid-template-columns: 1fr;
  }

  .tp-contact-grid { grid-template-columns: 1fr; }
  .tp-pills { grid-template-columns: 1fr; }
  .tp-cards { grid-template-columns: 1fr; }
  .tp-cards.tp-cards-2 { grid-template-columns: 1fr; }
  .tp-info-grid { grid-template-columns: 1fr; }
  .tp-reviews-grid { grid-template-columns: 1fr; }

  .tp-page-hero .tp-h2 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

}

@media (min-width: 981px) {
  .tp-burger { display: none; }
  .tp-nav { display: flex; }

  /* Desktop hero: vyšší sekce + pevná šířka bg obrázku */
  .tp-hero {
    height: clamp(540px, 72vh, 760px);
  }

  .tp-hero-media {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
  }

  .tp-hero.tp-hero-home .tp-hero-inner {
    height: auto;
    align-content: center;
    gap: 12px;
  }

  .tp-hero.tp-hero-home .tp-hero-panel {
    position: relative;
    top: auto;
    right: auto;
    transform: none;
  }
}

@media (min-width: 681px) and (max-width: 1100px) {
  .tp-reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==========================================================================
   Pólo 2026 redesign layer
   ========================================================================== */

:root {
  --tp-max: 1220px;
  --tp-header-h: 76px;
  --tp-radius-lg: 10px;
  --tp-radius-md: 10px;
  --tp-radius-sm: 8px;
  --tp-shadow: 0 22px 52px rgba(18, 24, 39, 0.12);
  --tp-paper: #fffdfa;
  --tp-ink-muted: color-mix(in srgb, var(--tp-ink) 68%, transparent);
  --tp-line: color-mix(in srgb, var(--tp-olive) 15%, transparent);
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(circle at 14% 10%, color-mix(in srgb, var(--tp-accent) 12%, transparent), transparent 28rem),
    radial-gradient(circle at 88% 2%, color-mix(in srgb, var(--tp-accent-2) 14%, transparent), transparent 32rem),
    linear-gradient(180deg, color-mix(in srgb, var(--tp-bg) 78%, white), #fff 52rem);
  color: var(--tp-ink);
  font-size: 16px;
}

body::before {
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--tp-olive) 7%, transparent) 1px, transparent 1px),
    linear-gradient(180deg, color-mix(in srgb, var(--tp-olive) 7%, transparent) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.20), transparent 620px);
}

.tp-header {
  top: 12px;
  left: 12px;
  right: 12px;
  width: auto;
  border: 1px solid color-mix(in srgb, var(--tp-olive) 15%, white);
  border-radius: 18px;
  background: rgba(255, 253, 250, 0.86);
  box-shadow: 0 16px 42px rgba(18, 24, 39, 0.11);
}

.tp-header::before {
  display: none;
}

.tp-header-inner {
  padding: 8px 10px;
}

.tp-brand-logo {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background-color: #fff;
  box-shadow: none;
}

.tp-brand-title {
  letter-spacing: 0;
  font-size: 1.02rem;
}

.tp-brand-sub {
  color: var(--tp-accent);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.tp-nav {
  gap: 4px;
}

.tp-nav-link,
.tp-nav-cta,
.tp-btn {
  min-height: 42px;
  border-radius: 999px;
}

.tp-nav-link {
  padding: 9px 12px;
  font-size: 0.86rem;
  font-weight: 850;
}

.tp-nav-link:hover,
.tp-nav-link[aria-current="page"] {
  background: color-mix(in srgb, var(--tp-olive) 9%, white);
  color: var(--tp-olive-dark);
  transform: none;
}

.tp-nav-cta,
.tp-btn-primary {
  background: linear-gradient(135deg, var(--tp-accent), color-mix(in srgb, var(--tp-accent) 78%, var(--tp-olive)));
  border: 0;
  color: #fff;
  box-shadow: 0 14px 30px color-mix(in srgb, var(--tp-accent) 28%, transparent);
}

.tp-main {
  padding-top: calc(var(--tp-header-h) + 24px);
}

.tp-hero {
  height: min(760px, calc(100svh - 24px));
  min-height: 620px;
  margin: 0 12px;
  border-radius: 22px;
  box-shadow: var(--tp-shadow);
  background: var(--tp-olive-dark);
}

.tp-hero-media {
  background-image:
    linear-gradient(90deg, rgba(18, 24, 39, 0.88), rgba(18, 24, 39, 0.54) 44%, rgba(18, 24, 39, 0.16)),
    var(--tp-hero-image);
  filter: saturate(1.04) contrast(1.02);
}

.tp-hero.tp-hero-home .tp-hero-media {
  background-image:
    linear-gradient(90deg, rgba(18, 24, 39, 0.88), rgba(18, 24, 39, 0.52) 44%, rgba(18, 24, 39, 0.14)),
    var(--tp-hero-image);
}

.tp-hero-overlay {
  padding: clamp(26px, 5vw, 70px);
}

.tp-hero.tp-hero-home .tp-hero-inner {
  width: min(var(--tp-max), 100%);
  padding: 0;
}

.tp-hero-panel {
  width: min(720px, 100%);
  gap: 16px;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.tp-hero-panel::before {
  display: none;
}

.tp-hero-logo {
  width: 86px;
  height: 86px;
  border-radius: 22px;
  background-color: rgba(255,255,255,0.92);
  box-shadow: 0 18px 36px rgba(0,0,0,0.18);
}

.tp-hero-badge,
.tp-kicker {
  border-radius: 999px;
  color: #fff;
  background: color-mix(in srgb, var(--tp-accent-2) 84%, transparent);
  border: 1px solid rgba(255,255,255,0.22);
  box-shadow: 0 12px 26px color-mix(in srgb, var(--tp-accent-2) 24%, transparent);
}

.tp-kicker {
  display: inline-flex;
  width: fit-content;
  padding: 8px 12px;
}

.tp-hero-title {
  font-size: clamp(3.2rem, 8vw, 7.2rem);
  line-height: 0.9;
  letter-spacing: 0;
  max-width: 10ch;
}

.tp-hero-lead {
  max-width: 56ch;
  font-size: clamp(1.08rem, 2vw, 1.38rem);
  color: rgba(255,255,255,0.88);
}

.tp-page {
  background: transparent;
}

.tp-section {
  padding-top: clamp(34px, 5vw, 70px);
  padding-bottom: clamp(34px, 5vw, 70px);
}

.tp-page-hero {
  margin-top: 18px;
  max-width: min(var(--tp-max), 100%);
  padding-top: clamp(44px, 8vw, 92px);
  padding-bottom: clamp(26px, 5vw, 52px);
}

.tp-page-hero .tp-h2,
.tp-h2 {
  letter-spacing: 0;
}

.tp-page-hero .tp-h2 {
  font-size: clamp(2.8rem, 7vw, 5.8rem);
  line-height: 0.96;
  max-width: 900px;
}

.tp-h2 {
  font-size: clamp(1.65rem, 3.3vw, 2.65rem);
}

.tp-text {
  color: color-mix(in srgb, var(--tp-ink) 88%, transparent);
}

.tp-info-grid,
.tp-cards,
.tp-reviews-grid,
.tp-pills {
  gap: 16px;
}

.tp-info-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.tp-info,
.tp-card,
.tp-feature-box,
.tp-review-card,
.tp-form-card {
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.94), rgba(255,255,255,0.84)),
    var(--tp-paper);
  border: 1px solid color-mix(in srgb, var(--tp-olive) 14%, white);
  box-shadow: 0 18px 40px rgba(18, 24, 39, 0.08);
}

.tp-info {
  padding: 18px;
}

.tp-card,
.tp-feature-box {
  padding: clamp(18px, 3vw, 24px);
}

.tp-card::before,
.tp-feature-box::before,
.tp-review-card::before {
  border-top: 0;
  border-left: 4px solid color-mix(in srgb, var(--tp-accent) 78%, transparent);
}

.tp-info-k {
  color: var(--tp-accent);
  letter-spacing: 0.11em;
}

.tp-info-v {
  font-size: 1.08rem;
}

.tp-intro {
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
}

.tp-btn {
  padding: 11px 16px;
  font-weight: 850;
}

.tp-btn:hover {
  transform: translateY(-2px);
}

.tp-btn:not(.tp-btn-primary):not(.tp-btn-light) {
  background: #fff;
}

.tp-btn-light {
  color: var(--tp-olive-dark);
}

.tp-vcard-avatar {
  width: 118px;
  height: 118px;
  border-radius: 22px;
  border: 1px solid color-mix(in srgb, var(--tp-olive) 12%, white);
}

.tp-vcard-name {
  font-size: 1.18rem;
}

.tp-vcard-role {
  color: var(--tp-accent);
}

.tp-reviews-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tp-review-card {
  border-radius: 22px;
  min-height: 270px;
  background:
    linear-gradient(160deg, #fff 0%, color-mix(in srgb, var(--tp-bg) 82%, white) 100%);
}

.tp-review-mark {
  background: color-mix(in srgb, var(--tp-accent) 16%, white);
}

.tp-footer {
  margin-top: 0;
  background: var(--tp-olive-dark);
}

.tp-footer-top {
  background: var(--tp-olive-dark);
  color: rgba(255,255,255,0.82);
  border-top: 0;
}

.tp-footer-top a,
.tp-foot-email {
  color: #fff;
}

.tp-input,
.tp-textarea,
.tp-select,
.tp-control,
.tp-choice {
  border-radius: 12px;
  background: rgba(255,255,255,0.92);
}

@media (max-width: 980px) {
  .tp-header {
    top: 8px;
    left: 8px;
    right: 8px;
    border-radius: 16px;
  }

  .tp-nav {
    top: calc(var(--tp-header-h) + 12px);
    border-radius: 18px;
  }

  .tp-main {
    padding-top: calc(var(--tp-header-h) + 18px);
  }

  .tp-hero {
    margin: 0 8px;
    min-height: calc(100svh - 24px);
    border-radius: 20px;
  }

  .tp-hero-title {
    max-width: 9ch;
  }

  .tp-info-grid,
  .tp-reviews-grid {
    grid-template-columns: 1fr;
  }

  .tp-intro {
    grid-template-columns: 1fr;
  }

}

@media (min-width: 681px) and (max-width: 1100px) {
  .tp-info-grid,
  .tp-reviews-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ==========================================================================
   Camp photo / handwritten direction
   ========================================================================== */

:root {
  --tp-hand: "Segoe Print", "Bradley Hand", "Comic Sans MS", cursive;
  --tp-body: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --tp-max: 1180px;
}

body {
  font-family: var(--tp-body);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--tp-bg) 88%, white), #fff 680px),
    var(--tp-bg);
}

body::before {
  background:
    linear-gradient(90deg, rgba(80, 65, 42, 0.07) 1px, transparent 1px),
    linear-gradient(180deg, rgba(80, 65, 42, 0.07) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.18), transparent 520px);
}

.tp-header {
  top: 18px;
  left: 50%;
  right: auto;
  width: min(1120px, calc(100% - 28px));
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(255, 251, 242, 0.74);
  border: 1px solid rgba(255,255,255,0.54);
  box-shadow: 0 18px 48px rgba(0,0,0,0.16);
}

.tp-header-inner {
  min-height: 58px;
  padding: 6px 8px 6px 12px;
}

.tp-brand-logo {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background-size: 82%;
}

.tp-brand-title {
  font-family: var(--tp-hand);
  font-size: 1.12rem;
  font-weight: 800;
}

.tp-brand-sub {
  font-family: var(--tp-body);
  font-size: 0.72rem;
  color: var(--tp-secondary, var(--tp-accent-2));
}

.tp-nav-link,
.tp-nav-cta {
  font-size: 0.84rem;
  min-height: 38px;
}

.tp-nav-link {
  color: color-mix(in srgb, var(--tp-olive-dark) 86%, white);
}

.tp-nav-link:hover,
.tp-nav-link[aria-current="page"] {
  background: rgba(255,255,255,0.72);
}

.tp-nav-cta {
  background: var(--tp-olive-dark);
  box-shadow: none;
}

.tp-main {
  padding-top: 0;
}

.tp-main > .tp-hero:first-child {
  margin: 0;
  width: 100%;
  height: 100svh;
  min-height: 680px;
  border-radius: 0;
  box-shadow: none;
}

.tp-hero-media {
  background-position: center;
  background-size: cover;
}

.tp-hero.tp-hero-home .tp-hero-media,
.tp-hero-media {
  background-image:
    linear-gradient(180deg, rgba(0,0,0,0.18), rgba(0,0,0,0.18)),
    radial-gradient(circle at 50% 50%, rgba(0,0,0,0.04), rgba(0,0,0,0.58) 76%),
    var(--tp-hero-image);
}

.tp-hero-overlay {
  align-items: center;
  justify-content: center;
  padding: 120px 22px 56px;
}

.tp-hero.tp-hero-home .tp-hero-inner {
  width: min(960px, 100%);
  display: flex;
  justify-content: center;
}

.tp-hero-panel {
  width: min(760px, 100%);
  justify-items: center;
  text-align: center;
  gap: 14px;
}

.tp-hero-logo {
  order: -1;
  width: clamp(150px, 22vw, 250px);
  height: clamp(150px, 22vw, 250px);
  border-radius: 999px;
  background-color: rgba(255,255,255,0.90);
  background-size: 84%;
  border: 8px solid rgba(255,255,255,0.42);
  box-shadow: 0 26px 70px rgba(0,0,0,0.34);
}

.tp-hero-badge {
  background: rgba(255,255,255,0.18);
  color: #fff;
  border-color: rgba(255,255,255,0.38);
  box-shadow: none;
}

.tp-hero-title {
  max-width: 12ch;
  font-family: var(--tp-hand);
  font-size: clamp(3.8rem, 10vw, 8.4rem);
  font-weight: 900;
  line-height: 0.92;
  color: #fff;
  text-shadow: 0 8px 30px rgba(0,0,0,0.46);
}

.tp-hero-lead {
  max-width: 680px;
  font-size: clamp(1.06rem, 2vw, 1.34rem);
  color: rgba(255,255,255,0.94);
}

.tp-hero .tp-actions {
  justify-content: center;
}

.tp-hero .tp-btn {
  min-width: 170px;
  background: rgba(255,255,255,0.90);
  border: 1px solid rgba(255,255,255,0.32);
  color: var(--tp-olive-dark);
  box-shadow: 0 16px 32px rgba(0,0,0,0.18);
}

.tp-hero .tp-btn-primary {
  background: var(--tp-accent);
  color: var(--tp-olive-dark);
}

.tp-page {
  position: relative;
  background: color-mix(in srgb, var(--tp-bg) 72%, white);
}

.tp-section {
  padding-top: clamp(42px, 7vw, 86px);
  padding-bottom: clamp(42px, 7vw, 86px);
}

.tp-page-hero {
  padding-top: clamp(92px, 10vw, 140px);
}

.tp-h2,
.tp-page-hero .tp-h2,
.tp-story-title {
  font-family: var(--tp-hand);
  font-weight: 900;
  color: var(--tp-olive-dark);
}

.tp-h2 {
  font-size: clamp(2rem, 4vw, 3.45rem);
}

.tp-page-hero .tp-h2 {
  font-size: clamp(3.1rem, 8vw, 6.5rem);
}

.tp-kicker {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
  color: var(--tp-accent-2);
  font-family: var(--tp-hand);
  font-size: clamp(1.2rem, 2.2vw, 1.7rem);
  text-transform: none;
  letter-spacing: 0;
}

.tp-info-grid {
  margin-top: -44px;
  position: relative;
  z-index: 5;
}

.tp-info,
.tp-card,
.tp-feature-box,
.tp-review-card,
.tp-form-card,
.tp-pill,
.tp-contact {
  border-radius: 6px;
  background:
    linear-gradient(180deg, rgba(255,252,244,0.96), rgba(255,249,235,0.90));
  border: 1px solid rgba(90, 72, 45, 0.16);
  box-shadow: 0 16px 36px rgba(44, 34, 22, 0.10);
}

.tp-card::before,
.tp-feature-box::before,
.tp-review-card::before {
  display: none;
}

.tp-info {
  min-height: 118px;
  display: grid;
  align-content: center;
}

.tp-info-k {
  color: var(--tp-accent-2);
}

.tp-info-v {
  font-family: var(--tp-hand);
  font-size: clamp(1.22rem, 2vw, 1.65rem);
  line-height: 1.12;
}

.tp-intro {
  align-items: center;
}

.tp-feature-box {
  transform: rotate(1deg);
}

.tp-card:nth-child(2n) {
  transform: rotate(-0.35deg);
}

.tp-card:nth-child(2n + 1) {
  transform: rotate(0.25deg);
}

.tp-card:hover {
  transform: translateY(-3px) rotate(0deg);
}

.tp-btn {
  border-radius: 999px;
}

.tp-btn-primary {
  color: var(--tp-olive-dark);
  background: var(--tp-accent);
}

.tp-btn-primary:hover {
  background: color-mix(in srgb, var(--tp-accent) 84%, white);
}

.tp-vcard-avatar {
  border-radius: 50%;
  width: 132px;
  height: 132px;
}

.tp-vcard-name,
.tp-review-foot strong {
  font-family: var(--tp-hand);
}

.tp-vcard-role {
  color: var(--tp-accent-2);
}

.tp-reviews-grid {
  align-items: stretch;
}

.tp-review-card {
  min-height: 260px;
}

.tp-review-mark {
  font-family: Georgia, serif;
  background: var(--tp-accent);
  color: var(--tp-olive-dark);
}

.tp-review-foot {
  border-top-style: dashed;
}

.tp-footer {
  margin-top: 0;
}

@media (max-width: 980px) {
  .tp-header {
    top: 10px;
    width: calc(100% - 20px);
    border-radius: 18px;
  }

  .tp-brand-text {
    display: none;
  }

  .tp-main > .tp-hero:first-child {
    min-height: 720px;
  }

  .tp-hero-overlay {
    min-height: 720px;
    padding-top: 112px;
  }

  .tp-hero-title {
    max-width: 10ch;
  }

  .tp-info-grid {
    margin-top: 0;
  }

  .tp-feature-box,
  .tp-card:nth-child(n) {
    transform: none;
  }
}

/* Full-width photo overlay navbar */
.tp-header {
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  transform: none;
  border-radius: 0;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,0.22);
  background: linear-gradient(180deg, rgba(255, 251, 242, 0.92), rgba(255, 251, 242, 0.76));
  box-shadow: 0 10px 30px rgba(0,0,0,0.10);
}

.tp-header-inner {
  width: min(1320px, 100%);
  min-height: 68px;
  padding: 8px clamp(14px, 3vw, 34px);
}

.tp-main {
  padding-top: 0 !important;
}

.tp-main > .tp-hero:first-child {
  margin-top: 0;
}

.tp-hero-overlay {
  padding-top: 92px;
}

.tp-brand-logo {
  width: 48px;
  height: 48px;
}

.tp-nav-link,
.tp-nav-cta {
  min-height: 40px;
}

.tp-nav-cta {
  padding-left: 16px;
  padding-right: 18px;
}

@media (max-width: 980px) {
  .tp-header {
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    border-radius: 0;
  }

  .tp-header-inner {
    min-height: 66px;
  }

  .tp-nav {
    top: 76px;
    left: 10px;
    right: 10px;
  }

  .tp-hero-overlay {
    padding-top: 96px;
  }
}

/* Homepage introduction after the hero */
.tp-why {
  max-width: 980px;
  padding-top: clamp(110px, 12vw, 170px);
  padding-bottom: clamp(62px, 8vw, 100px);
  text-align: center;
}

.tp-why .tp-h2 {
  max-width: 16ch;
  margin: 10px auto 24px;
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 1.04;
}

.tp-why-copy {
  max-width: 800px;
  margin: 0 auto;
}

.tp-why-copy .tp-text {
  font-size: clamp(1.05rem, 1.7vw, 1.22rem);
  line-height: 1.75;
}

.tp-why-copy .tp-text + .tp-text {
  margin-top: 16px;
}

.tp-why + .tp-section {
  padding-top: 0;
}

.tp-why + .tp-section .tp-info-grid {
  margin-top: 0;
}

@media (max-width: 700px) {
  .tp-why {
    padding-top: 88px;
    padding-bottom: 54px;
  }
}

/* Unified site navigation and content routes. */
.tp-header-inner {
  width: min(1380px, 100%);
  max-width: 1380px;
  margin-inline: auto;
}

.tp-brand-sub {
  display: block;
  color: var(--tp-ink-muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.035em;
  line-height: 1.25;
}

.tp-content-route {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(24px, 4vw, 42px);
  background: color-mix(in srgb, var(--tp-accent) 12%, var(--tp-paper));
  border: 1px solid color-mix(in srgb, var(--tp-accent) 34%, var(--tp-line));
}

.tp-content-route .tp-kicker,
.tp-content-route .tp-h3 {
  margin-top: 0;
}

.tp-content-route .tp-h3 {
  margin-bottom: 0;
}

.tp-content-route .tp-btn {
  flex: 0 0 auto;
}

.tp-parent-travel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(28px, 6vw, 80px);
  padding: clamp(28px, 5vw, 52px);
  background: var(--tp-olive);
  color: #fff;
}

.tp-parent-travel .tp-kicker,
.tp-parent-travel .tp-h2,
.tp-parent-travel .tp-text {
  color: inherit;
}

.tp-parent-travel > i {
  color: var(--tp-accent);
  font-size: clamp(3.5rem, 9vw, 7rem);
  line-height: 1;
}

.tp-application-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding-top: 0;
}

.tp-application-steps article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 22px;
  background: var(--tp-paper);
  border: 1px solid var(--tp-line);
  border-top: 4px solid var(--tp-accent);
}

.tp-application-steps span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--tp-accent-2);
  color: #fff;
  font-weight: 900;
}

.tp-application-steps h2 {
  margin: 2px 0 6px;
  font-size: 1rem;
}

.tp-application-steps p {
  margin: 0;
  color: var(--tp-ink-muted);
  line-height: 1.55;
}

.tp-pricing-section > .tp-info-grid {
  margin-top: 26px;
}

.tp-footer-cta {
  background: var(--tp-accent);
  color: var(--tp-olive-dark);
}

.tp-footer-cta-inner {
  width: min(1380px, 100%);
  margin: 0 auto;
  padding: clamp(28px, 4vw, 46px) clamp(22px, 4vw, 48px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.tp-footer-cta .tp-kicker,
.tp-footer-cta h2,
.tp-footer-cta p {
  color: inherit;
}

.tp-footer-cta .tp-kicker {
  margin: 0 0 5px;
}

.tp-footer-cta h2 {
  margin: 0 0 6px;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
}

.tp-footer-cta p {
  margin: 0;
  font-weight: 750;
}

.tp-footer-cta-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
}

.tp-footer-cta-actions > .tp-btn:first-child {
  border-color: color-mix(in srgb, var(--tp-olive-dark) 28%, transparent);
  background: rgba(255, 255, 255, 0.44);
  color: var(--tp-olive-dark);
}

.tp-footer-socials {
  display: flex;
  gap: 9px;
  margin-top: 22px;
}

.tp-footer-socials a {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
}

.tp-footer-socials a:hover {
  border-color: var(--tp-accent);
  background: rgba(255, 255, 255, 0.08);
}

.tp-footer-contact-link {
  margin-top: 8px;
  font-weight: 850;
}

@media (min-width: 981px) {
  .tp-header-inner {
    width: min(1380px, 100%);
    max-width: 1380px;
    padding-inline: clamp(22px, 3vw, 42px);
  }

  .tp-header .tp-nav {
    gap: 2px;
  }

  .tp-header .tp-nav-link,
  .tp-header .tp-nav-cta {
    padding-inline: 9px;
    font-size: 0.88rem;
  }
}

@media (max-width: 980px) {
  .tp-brand-sub {
    display: none;
  }

  .tp-footer-cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 720px) {
  .tp-content-route,
  .tp-footer-cta-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .tp-content-route .tp-btn,
  .tp-footer-cta-actions .tp-btn {
    width: 100%;
  }

  .tp-parent-travel,
  .tp-application-steps {
    grid-template-columns: 1fr;
  }

  .tp-parent-travel > i {
    display: none;
  }
}

/* ========================================================================== 
   Final responsive and interaction pass
   ========================================================================== */
html {
  min-width: 320px;
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
}

body {
  min-width: 320px;
  overflow-x: clip;
}

img,
picture,
video,
canvas,
svg {
  max-width: 100%;
}

img {
  height: auto;
}

a,
p,
li,
h1,
h2,
h3,
.tp-btn,
.tp-nav-link,
.tp-nav-cta,
.tp-info-v,
.tp-vcard-name {
  overflow-wrap: anywhere;
}

button,
input,
select,
textarea {
  max-width: 100%;
  font: inherit;
}

.tp-input,
.tp-select,
.tp-textarea {
  width: 100%;
  min-width: 0;
}

.tp-btn,
.tp-nav-link,
.tp-nav-cta,
.tp-burger,
.tp-slider-btn,
.tp-slider-close {
  min-height: 44px;
  touch-action: manipulation;
}

.tp-btn {
  max-width: 100%;
  white-space: normal;
  text-align: center;
  line-height: 1.25;
}

.tp-actions {
  max-width: 100%;
  align-items: stretch;
}

.tp-card,
.tp-info,
.tp-review-card,
.tp-feature-box,
.tp-pill,
.tp-contact {
  min-width: 0;
}

table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
}

.tp-table-wrap {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.tp-slider-viewport {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  min-height: 260px;
  max-height: min(68svh, 620px);
}

.tp-slider.is-zoomed .tp-slider-viewport {
  max-height: none;
  min-height: 100dvh;
  height: 100dvh;
}

.tp-slide-img {
  height: 100%;
}

.tp-sponsor-logo {
  max-width: min(100%, 280px);
  object-fit: contain;
}

@media (min-width: 981px) {
  .tp-header-inner {
    gap: 20px;
  }

  .tp-nav {
    min-width: 0;
    flex-wrap: nowrap;
  }
}

@media (min-width: 721px) and (max-width: 980px) {
  .tp-cards,
  .tp-cards.tp-cards-2,
  .tp-cards.tp-cards-3,
  .tp-reviews-grid,
  .tp-info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tp-team-page .tp-cards.tp-cards-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tp-section {
    padding-left: clamp(20px, 4vw, 34px);
    padding-right: clamp(20px, 4vw, 34px);
  }
}

@media (max-width: 980px) {
  .tp-header {
    isolation: isolate;
  }

  .tp-header-inner {
    position: relative;
    width: 100%;
    min-height: 66px;
    gap: 10px;
    padding-right: 70px;
  }

  .tp-brand {
    min-width: 0;
    max-width: calc(100% - 58px);
  }

  .tp-brand-title {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .tp-burger {
    position: absolute;
    top: 50%;
    right: 12px;
    z-index: 3;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    margin: 0;
    transform: translateY(-50%);
    visibility: visible;
    opacity: 1;
  }

  .tp-nav {
    top: 74px;
    left: 10px;
    right: 10px;
    width: auto;
    max-height: calc(100dvh - 88px);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 10px;
    border-radius: 8px;
  }

  .tp-nav-link,
  .tp-nav-cta {
    width: 100%;
    justify-content: flex-start;
    padding: 11px 14px;
  }

  body.tp-nav-open {
    overflow: hidden;
  }

  .tp-main > .tp-hero:first-child,
  .tp-hero-overlay {
    min-height: 100svh;
  }

  .tp-hero-panel {
    max-width: min(620px, 100%);
  }

  .tp-feature-box,
  .tp-card:nth-child(n),
  .tp-info:nth-child(n) {
    transform: none;
  }

  .tp-vcard:hover {
    transform: none;
  }
}

@media (max-width: 720px) {
  :root {
    --tp-section-gap: 34px;
  }

  .tp-section,
  .tp-team-page > .tp-section {
    width: 100%;
    max-width: 100%;
    padding: 42px max(20px, env(safe-area-inset-right)) 42px max(20px, env(safe-area-inset-left));
  }

  .tp-page {
    width: 100%;
    max-width: 100%;
  }

  .tp-h2,
  .tp-page-hero .tp-h2 {
    max-width: 100%;
    font-size: clamp(2rem, 11vw, 3.15rem);
    line-height: 1.05;
  }

  .tp-h3 {
    font-size: clamp(1.08rem, 5.5vw, 1.35rem);
  }

  .tp-text,
  .tp-list {
    font-size: 1rem;
  }

  .tp-cards,
  .tp-cards.tp-cards-2,
  .tp-cards.tp-cards-3,
  .tp-reviews-grid,
  .tp-info-grid,
  .tp-contact-grid,
  .tp-pills,
  .tp-intro {
    grid-template-columns: 1fr;
  }

  .tp-actions {
    width: 100%;
    flex-direction: column;
    gap: 10px;
  }

  .tp-actions .tp-btn {
    width: 100%;
    justify-content: center;
  }

  .tp-hero-home .tp-hero-logo {
    width: clamp(104px, 30vw, 142px);
    height: clamp(104px, 30vw, 142px);
  }

  .tp-hero-home .tp-hero-title {
    max-width: 9ch;
    font-size: clamp(3rem, 17vw, 5rem);
  }

  .tp-why {
    padding: 76px 16px 48px;
  }

  .tp-why .tp-h2 {
    font-size: clamp(2.45rem, 12vw, 3.8rem);
  }

  .tp-why-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .tp-tilt-photo {
    aspect-ratio: 4 / 5;
  }

  .tp-why + .tp-section .tp-info-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tp-why + .tp-section .tp-info {
    min-height: 126px;
    padding: 28px 18px 20px;
  }

  .tp-slider-viewport {
    min-height: 220px;
    aspect-ratio: 4 / 3;
  }

  .tp-slider-caption {
    right: 56px;
    padding: 8px 10px;
    font-size: 0.88rem;
  }

  .tp-slider-btn {
    width: 44px;
    height: 44px;
  }

  .tp-vcard .tp-vcard-avatar {
    width: 132px;
    height: 132px;
  }

  .tp-footer-top {
    padding-top: 48px;
  }
}

@media (max-width: 440px) {
  .tp-brand-logo {
    width: 42px;
    height: 42px;
  }

  .tp-brand-title {
    font-size: 0.98rem;
  }

  .tp-hero-overlay {
    padding-left: 14px;
    padding-right: 14px;
    padding-bottom: 58px;
  }

  .tp-hero-home .tp-hero-title {
    font-size: clamp(2.75rem, 16vw, 4rem);
  }

  .tp-why-gallery,
  .tp-why + .tp-section .tp-info-grid {
    grid-template-columns: 1fr;
  }

  .tp-tilt-photo {
    aspect-ratio: 16 / 11;
  }

  .tp-why + .tp-section .tp-info {
    min-height: 132px;
  }

  .tp-footer-inner {
    gap: 32px;
  }

  .tp-footer-logo {
    width: 54px;
    height: 54px;
  }

  .tp-footer-bottom-inner {
    width: 100%;
  }
}

.tp-vcard-name a {
  color: inherit;
  text-decoration: none;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.tp-vcard-name a:hover,
.tp-vcard-name a:focus-visible {
  color: var(--tp-accent-2);
  text-decoration: underline;
}

.tp-profile-page {
  padding-top: clamp(110px, 12vw, 160px);
}

.tp-profile-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
}

.tp-profile-detail {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr);
  align-items: center;
  gap: clamp(32px, 6vw, 84px);
}

.tp-profile-detail > img {
  width: 100%;
  max-height: 680px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  border-radius: 6px;
  box-shadow: 0 24px 56px rgba(29, 24, 17, 0.2);
}

.tp-profile-detail .tp-vcard-role {
  font-size: 1.12rem;
}

.tp-profile-detail .tp-btn {
  margin-top: 24px;
}

@media (max-width: 760px) {
  .tp-profile-detail {
    grid-template-columns: 1fr;
  }

  .tp-profile-detail > img {
    max-height: 520px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

.tp-word-polo {
  color: var(--tp-accent);
  text-shadow: 0 3px 18px color-mix(in srgb, var(--tp-accent) 32%, transparent);
}

.tp-why-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(10px, 1.5vw, 20px);
  width: min(1180px, calc(100vw - 36px));
  margin: clamp(48px, 7vw, 82px) 50% 0;
  transform: translateX(-50%);
  perspective: 900px;
  isolation: isolate;
}

.tp-tilt-photo {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  position: relative;
  z-index: 1;
  aspect-ratio: 3 / 4;
  margin: 0;
  overflow: hidden;
  border: 3px solid rgba(255, 252, 242, 0.92);
  border-radius: 5px;
  background: var(--tp-olive-dark);
  box-shadow: 0 18px 34px rgba(35, 29, 19, 0.18);
  transform: rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) translateZ(0) scale(1);
  transform-style: preserve-3d;
  transition: transform 180ms ease-out, box-shadow 180ms ease-out, z-index 0s 180ms;
  will-change: transform;
}

.tp-tilt-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 180ms ease;
}

.tp-tilt-photo:hover {
  z-index: 20;
  transform: rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) translateZ(52px) scale(1.22);
  box-shadow: 0 28px 54px rgba(20, 18, 13, 0.32);
  transition: transform 80ms linear, box-shadow 160ms ease, z-index 0s;
}

.tp-tilt-photo:hover img {
  filter: saturate(1.12) contrast(1.04);
}

@media (max-width: 820px) {
  .tp-why-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(620px, calc(100vw - 32px));
  }
}

@media (hover: none), (prefers-reduced-motion: reduce) {
  .tp-tilt-photo,
  .tp-tilt-photo:hover {
    transform: none;
    transition: none;
  }
}

/* Keep the homepage identity clear of faces in the group photo. */
html {
  scroll-behavior: smooth;
}

#proc-polo {
  scroll-margin-top: 92px;
}

@media (min-width: 981px) {
  .tp-hero.tp-hero-home .tp-hero-media {
    background-position: center 69%;
  }

  .tp-hero-home .tp-hero-overlay {
    align-items: flex-end;
    justify-content: center;
    padding: 100px clamp(34px, 6vw, 88px) clamp(66px, 8vh, 96px);
  }

  .tp-hero.tp-hero-home .tp-hero-inner {
    width: min(900px, 100%);
    justify-content: center;
  }

  .tp-hero-home .tp-hero-panel {
    width: min(620px, 100%);
    justify-items: center;
    text-align: center;
    gap: 10px;
  }

  .tp-hero-home .tp-hero-logo {
    width: clamp(92px, 8vw, 118px);
    height: clamp(92px, 8vw, 118px);
    border-width: 4px;
    box-shadow: 0 16px 38px rgba(0,0,0,0.28);
  }

  .tp-hero-home .tp-hero-title {
    max-width: 12ch;
    font-size: clamp(3.4rem, 5vw, 5.6rem);
    line-height: 0.94;
  }

  .tp-hero-home .tp-actions {
    justify-content: center;
  }
}

/* Team cards: three-column overview with an expanding portrait. */
.tp-cards.tp-cards-2 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: clamp(16px, 2vw, 26px);
}

.tp-cards.tp-cards-2 > :last-child:nth-child(odd) {
  grid-column: auto;
  justify-self: stretch;
  width: auto;
  max-width: none;
}

.tp-vcard {
  position: relative;
  z-index: 1;
  overflow: visible;
  transform: none;
  transform-origin: center top;
  transition: transform 260ms cubic-bezier(.2, .8, .2, 1), box-shadow 260ms ease;
}

.tp-vcard:nth-child(n) {
  transform: none;
}

.tp-team-page .tp-vcard {
  display: flex;
  flex-direction: column;
}

.tp-vcard-footer {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--tp-line);
}

.tp-vcard-footer a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--tp-accent-2);
  font-weight: 900;
  text-decoration: none;
}

.tp-vcard-footer a:hover {
  color: var(--tp-olive-dark);
}

.tp-vcard-bio p {
  margin: 0 0 0.8em;
}

.tp-vcard-bio p:last-child,
.tp-profile-description p:last-child {
  margin-bottom: 0;
}

.tp-profile-description {
  display: grid;
  gap: 0.9em;
}

.tp-profile-description .tp-text {
  margin: 0;
}

.tp-vcard .tp-vcard-avatar {
  width: 132px;
  height: 132px;
  margin: 2px auto 16px;
  border-radius: 50%;
  transition:
    width 300ms cubic-bezier(.2, .8, .2, 1),
    height 300ms cubic-bezier(.2, .8, .2, 1),
    margin 300ms cubic-bezier(.2, .8, .2, 1),
    border-radius 300ms ease,
    box-shadow 300ms ease;
}

.tp-vcard .tp-vcard-avatar img {
  object-fit: cover;
  object-position: center top;
  transition: transform 400ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .tp-vcard:hover {
    z-index: 30;
    transform: scale(1.1);
    box-shadow: 0 34px 72px rgba(24, 21, 15, 0.28);
  }

  .tp-vcard:hover .tp-vcard-avatar {
    width: calc(100% + 20px);
    height: clamp(260px, 28vw, 390px);
    margin: -10px -10px 20px;
    border-radius: 4px;
    box-shadow: 0 18px 38px rgba(24, 21, 15, 0.22);
  }

  .tp-vcard:hover .tp-vcard-avatar img {
    transform: scale(1.02);
  }
}

@media (max-width: 900px) {
  .tp-cards.tp-cards-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .tp-cards.tp-cards-2 {
    grid-template-columns: 1fr;
  }
}

/* Wider, more horizontal team layout. */
.tp-team-page > .tp-section {
  width: min(1500px, 100%);
  padding-left: clamp(20px, 3vw, 42px);
  padding-right: clamp(20px, 3vw, 42px);
}

.tp-team-page .tp-cards.tp-cards-2 {
  gap: clamp(20px, 2vw, 32px);
}

.tp-team-page .tp-vcard {
  padding: clamp(22px, 2vw, 30px);
}

.tp-team-page .tp-vcard .tp-vcard-avatar {
  width: 148px;
  height: 148px;
}

.tp-team-page .tp-vcard-bio {
  line-height: 1.55;
}

@media (hover: hover) and (pointer: fine) {
  .tp-team-page .tp-vcard:hover {
    transform: scale(1.06);
  }

  .tp-team-page .tp-vcard:hover .tp-vcard-avatar {
    width: calc(100% + 24px);
    height: clamp(240px, 20vw, 320px);
    margin: -12px -12px 20px;
  }

  .tp-team-page .tp-vcard:hover .tp-vcard-avatar img {
    object-fit: cover;
    object-position: center 10%;
    transform: none;
  }
}

@media (max-width: 900px) {
  .tp-team-page > .tp-section {
    padding-left: 18px;
    padding-right: 18px;
  }
}

/* Footer is attached directly to page content; no separator strip. */
.tp-main,
.tp-page {
  margin-bottom: 0;
}

.tp-page > :last-child {
  margin-bottom: 0;
}

.tp-footer {
  margin: 0;
  border: 0;
  background: var(--tp-olive-dark);
}

.tp-footer-top {
  padding: clamp(54px, 7vw, 86px) 0 clamp(46px, 6vw, 70px);
  border: 0;
  background: var(--tp-olive-dark);
  color: rgba(255,255,255,0.76);
}

.tp-footer-inner {
  width: min(1380px, 100%);
  display: grid;
  grid-template-columns: minmax(260px, 1.5fr) repeat(3, minmax(150px, 0.75fr));
  align-items: start;
  gap: clamp(34px, 5vw, 74px);
  padding: 0 clamp(22px, 4vw, 48px);
}

.tp-footer-brand {
  max-width: 390px;
}

.tp-footer-brand-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: #fff;
  font-family: var(--tp-hand);
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  font-weight: 900;
  line-height: 1.15;
  text-decoration: none;
}

.tp-footer-logo {
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.94);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 84%;
}

.tp-footer-brand p,
.tp-footer-contact p {
  margin: 16px 0 0;
  color: rgba(255,255,255,0.62);
  line-height: 1.65;
}

.tp-footer-column {
  display: grid;
  align-content: start;
  gap: 11px;
}

.tp-footer-column h2 {
  margin: 0 0 8px;
  color: var(--tp-accent);
  font-family: var(--tp-hand);
  font-size: 1.28rem;
  line-height: 1.2;
}

.tp-footer-column a {
  width: fit-content;
  color: rgba(255,255,255,0.84);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color var(--tp-transition), border-color var(--tp-transition);
}

.tp-footer-column a:hover {
  color: #fff;
  border-bottom-color: var(--tp-accent);
}

.tp-footer-contact > a {
  color: #fff;
}

.tp-footer-bottom {
  padding: 18px 0;
  background: color-mix(in srgb, var(--tp-olive-dark) 88%, black);
  border-top: 1px solid rgba(255,255,255,0.09);
  color: rgba(255,255,255,0.58);
}

.tp-footer-bottom-inner {
  width: min(1380px, 100%);
  margin: 0 auto;
  padding: 0 clamp(22px, 4vw, 48px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.tp-footer-bottom .zunix-powered-a {
  padding: 7px 14px;
}

@media (max-width: 900px) {
  .tp-footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tp-footer-brand {
    max-width: none;
  }
}

@media (max-width: 560px) {
  .tp-footer-inner {
    grid-template-columns: 1fr;
  }

  .tp-footer-bottom-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Homepage facts use the exact same width as the four-photo strip. */
.tp-why + .tp-section {
  width: 100%;
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

.tp-why + .tp-section .tp-info-grid {
  width: min(1180px, calc(100vw - 36px));
  margin: 0 auto;
  gap: clamp(10px, 1.5vw, 20px);
}

.tp-why + .tp-section .tp-info {
  position: relative;
  min-height: 138px;
  padding: 30px 22px 22px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: url('/obrazky/ui/paper-scrap.webp?v=1783790181') center / 100% 100% no-repeat;
  box-shadow: none;
  filter: drop-shadow(0 16px 15px rgba(48, 38, 24, 0.16));
}

.tp-why + .tp-section .tp-info::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: 5px;
  left: 50%;
  width: 2px;
  height: 24px;
  border-radius: 999px;
  background: linear-gradient(90deg, #6e6962, #e7e1d7 48%, #5a554f);
  box-shadow: 5px 7px 7px rgba(44, 35, 24, 0.24);
  transform: translateX(-50%) rotate(7deg);
  transform-origin: top center;
}

.tp-why + .tp-section .tp-info::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: -4px;
  left: 50%;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle at 35% 28%, #ffb09f 0 9%, #c84f3b 28%, #8f2f24 72%, #5f1d17 100%);
  border: 1px solid rgba(88, 25, 18, 0.5);
  box-shadow: inset -2px -3px 4px rgba(65, 15, 11, 0.34), 2px 5px 7px rgba(44, 35, 24, 0.28);
}

.tp-why + .tp-section .tp-info:nth-child(2n) {
  transform: rotate(-0.35deg);
}

.tp-why + .tp-section .tp-info:nth-child(2n + 1) {
  transform: rotate(0.3deg);
}

.tp-why + .tp-section .tp-info-v-note {
  font-size: clamp(0.92rem, 1.3vw, 1.12rem);
  line-height: 1.2;
}

/* There must never be a light strip between content and footer. */
body {
  background: var(--tp-olive-dark);
}

.tp-main {
  display: block;
  margin: 0;
  padding-bottom: 0;
  background: color-mix(in srgb, var(--tp-bg) 72%, white);
}

.tp-footer {
  position: relative;
  z-index: 2;
  display: block;
  margin-top: -1px;
}

@media (max-width: 700px) {
  .tp-why + .tp-section .tp-info-grid {
    width: min(620px, calc(100vw - 32px));
  }

  .tp-why + .tp-section .tp-info {
    min-height: 124px;
  }
}

/* Authoritative responsive overrides - keep this block last. */
@media (max-width: 980px) {
  .tp-header-inner {
    position: relative;
    width: 100%;
    padding-right: 72px;
  }

  #tpBurger {
    position: fixed;
    top: 10px;
    right: 12px;
    z-index: 20;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin: 0;
    visibility: visible !important;
    opacity: 1 !important;
    transform: none;
  }

  #tpNav {
    top: 74px;
    left: 10px;
    right: 10px;
    width: auto;
    max-height: calc(100dvh - 88px);
    overflow-y: auto;
  }
}

@media (min-width: 721px) and (max-width: 980px) {
  .tp-cards,
  .tp-cards.tp-cards-2,
  .tp-cards.tp-cards-3,
  .tp-reviews-grid,
  .tp-info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .tp-section,
  .tp-team-page > .tp-section {
    width: 100%;
    max-width: 100%;
    padding-left: max(20px, env(safe-area-inset-left));
    padding-right: max(20px, env(safe-area-inset-right));
  }

  .tp-cards,
  .tp-cards.tp-cards-2,
  .tp-cards.tp-cards-3,
  .tp-reviews-grid,
  .tp-contact-grid,
  .tp-pills,
  .tp-intro {
    grid-template-columns: 1fr;
  }

  .tp-actions {
    width: 100%;
    flex-direction: column;
  }

  .tp-actions .tp-btn {
    width: 100%;
    justify-content: center;
  }

  .tp-why + .tp-section .tp-info-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 440px) {
  .tp-why-gallery,
  .tp-why + .tp-section .tp-info-grid {
    grid-template-columns: 1fr;
  }
}

/* Alternating homepage stories: compact, readable and side-aware. */
.tp-alternating-sections {
  position: relative;
  display: grid;
  gap: clamp(22px, 3vw, 38px);
  width: min(var(--tp-max), calc(100% - 40px));
  margin: clamp(48px, 7vw, 84px) auto;
}

.tp-alternating-section.tp-section {
  display: flex;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.tp-alternating-section:nth-child(odd) {
  justify-content: flex-start;
}

.tp-alternating-section:nth-child(even) {
  justify-content: flex-end;
}

.tp-alternating-content {
  position: relative;
  width: min(760px, 78%);
  padding: clamp(28px, 4vw, 48px);
  overflow: hidden;
  background: color-mix(in srgb, var(--tp-paper) 76%, var(--tp-bg));
  border: 1px solid color-mix(in srgb, var(--tp-accent) 16%, var(--tp-line));
  box-shadow: 0 18px 44px rgba(48, 38, 24, 0.09);
  transform: none !important;
}

.tp-alternating-section:nth-child(odd) .tp-alternating-content {
  text-align: left;
  border-left: 5px solid var(--tp-accent);
}

.tp-alternating-section:nth-child(even) .tp-alternating-content {
  text-align: right;
  border-right: 5px solid var(--tp-accent-2);
}

.tp-alternating-content .tp-kicker {
  margin-bottom: 6px;
}

.tp-alternating-content .tp-h2 {
  margin-top: 0;
  margin-bottom: 18px;
}

.tp-alternating-content .tp-text {
  max-width: 68ch;
}

.tp-alternating-section:nth-child(even) .tp-text {
  margin-left: auto;
}

.tp-alternating-content .tp-list {
  display: grid;
  gap: 5px;
  width: fit-content;
  margin: 10px 0 18px;
  padding: 0;
  list-style: none;
}

.tp-alternating-section:nth-child(even) .tp-list {
  margin-left: auto;
}

.tp-alternating-content .tp-list li {
  position: relative;
  margin: 0;
}

.tp-alternating-section:nth-child(odd) .tp-list li {
  padding-left: 18px;
}

.tp-alternating-section:nth-child(odd) .tp-list li::before,
.tp-alternating-section:nth-child(even) .tp-list li::after {
  content: "";
  position: absolute;
  top: 0.72em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--tp-accent);
}

.tp-alternating-section:nth-child(odd) .tp-list li::before {
  left: 0;
}

.tp-alternating-section:nth-child(even) .tp-list li {
  padding-right: 18px;
}

.tp-alternating-section:nth-child(even) .tp-list li::after {
  right: 0;
  background: var(--tp-accent-2);
}

.tp-alternating-section:nth-child(even) .tp-actions {
  justify-content: flex-end;
}

@media (max-width: 760px) {
  .tp-alternating-sections {
    width: 100%;
    margin: 34px auto 46px;
    gap: 18px;
    padding: 0 18px;
  }

  .tp-alternating-content {
    width: 100%;
    padding: 26px 22px;
  }

  .tp-alternating-section:nth-child(even) .tp-alternating-content {
    text-align: left !important;
    border-right: 1px solid color-mix(in srgb, var(--tp-accent) 16%, var(--tp-line));
    border-left: 5px solid var(--tp-accent-2);
  }

  .tp-alternating-section:nth-child(even) .tp-text,
  .tp-alternating-section:nth-child(even) .tp-list {
    margin-left: 0;
  }

  .tp-alternating-section:nth-child(even) .tp-list li {
    padding-right: 0;
    padding-left: 18px;
    text-align: left;
  }

  .tp-alternating-section:nth-child(even) .tp-list li::after {
    right: auto;
    left: 0;
  }

  .tp-alternating-section:nth-child(even) .tp-actions {
    justify-content: flex-start;
  }
}

/* Wide desktop header: brand and navigation sit at opposite edges. */
@media (min-width: 981px) {
  .tp-header-inner {
    width: 100%;
    max-width: none;
    min-height: 78px;
    padding: 9px clamp(24px, 2.4vw, 48px);
  }

  .tp-header .tp-brand {
    margin-right: auto;
  }

  .tp-header .tp-nav {
    margin-left: auto;
  }

  .tp-header .tp-brand-logo {
    width: 52px;
    height: 52px;
  }
}

/* Handwritten fonts need extra leading for descenders such as g, j and y. */
.tp-brand-title {
  line-height: 1.4;
  padding-block: 0.12em 0.16em;
  margin-block: -0.12em -0.16em;
}

.tp-hero-title,
.tp-h2,
.tp-page-hero .tp-h2,
.tp-story-title {
  line-height: 1.15;
}

/* Final mobile safeguards for long editorial copy. */
@media (max-width: 700px) {
  .tp-page {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
  }

  .tp-page-heading,
  .tp-venue-overview,
  .tp-venue-overview > div {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .tp-page-heading > *,
  .tp-venue-overview > div {
    width: min(100%, calc(100vw - 40px));
    max-width: calc(100vw - 40px);
  }

  .tp-venue-overview {
    grid-template-columns: minmax(0, 1fr);
  }

  .tp-page-heading .tp-h2,
  .tp-venue-overview .tp-h2 {
    max-width: 100%;
    font-size: clamp(2.15rem, 10.5vw, 2.75rem);
    line-height: 1.06;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .tp-page-heading .tp-text,
  .tp-venue-overview .tp-text {
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .tp-venue-overview > img {
    min-width: 0;
    max-width: 100%;
  }
}

/* Final visual polish: consistent section rhythm across public pages. */
.tp-page > .tp-section {
  position: relative;
}

.tp-page > .tp-section + .tp-section:not(.tp-parent-facts):not(.tp-parent-travel):not(.tp-parent-notice):not(.tp-content-route):not(.tp-photo-grid)::before {
  content: "";
  position: absolute;
  top: -8px;
  left: clamp(20px, 3vw, 42px);
  right: clamp(20px, 3vw, 42px);
  height: 17px;
  background: linear-gradient(
    90deg,
    transparent,
    color-mix(in srgb, var(--tp-accent) 52%, var(--tp-line)) 14%,
    color-mix(in srgb, var(--tp-accent-2) 38%, var(--tp-line)) 50%,
    color-mix(in srgb, var(--tp-accent) 52%, var(--tp-line)) 86%,
    transparent
  ) center / 100% 1px no-repeat;
}

.tp-page > .tp-section + .tp-section:not(.tp-parent-facts):not(.tp-parent-travel):not(.tp-parent-notice):not(.tp-content-route):not(.tp-photo-grid)::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 9px;
  height: 9px;
  border: 3px solid color-mix(in srgb, var(--tp-bg) 78%, white);
  background: var(--tp-accent);
  transform: translate(-50%, -50%) rotate(45deg);
}

.tp-section > .tp-h2 {
  margin-top: 0;
  text-wrap: balance;
}

.tp-section > .tp-h2::after {
  content: "";
  display: block;
  width: clamp(58px, 7vw, 92px);
  height: 4px;
  margin-top: 15px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--tp-accent-2), var(--tp-accent));
  box-shadow: 0 5px 12px color-mix(in srgb, var(--tp-accent) 22%, transparent);
}

.tp-center > .tp-h2::after,
.tp-page-hero.tp-center > .tp-h2::after {
  margin-inline: auto;
}

.tp-section > .tp-h2 > i:first-child {
  display: inline-grid;
  min-width: 1.08em;
  margin-right: 0.12em;
  place-items: center;
  color: var(--tp-accent-2);
  font-size: 0.82em;
  vertical-align: 0.04em;
}

.tp-page-heading .tp-kicker,
.tp-section > .tp-kicker {
  margin-bottom: 12px;
}

.tp-section > .tp-h2 + .tp-text,
.tp-section > .tp-h2 + .tp-text-muted {
  margin-top: 22px;
}

.tp-hr {
  position: relative;
  width: min(1320px, calc(100% - 40px));
  height: 17px;
  margin: 0 auto;
  overflow: visible;
  border: 0;
  background: linear-gradient(
    90deg,
    transparent,
    color-mix(in srgb, var(--tp-accent) 48%, var(--tp-line)) 18%,
    color-mix(in srgb, var(--tp-accent-2) 30%, var(--tp-line)) 50%,
    color-mix(in srgb, var(--tp-accent) 48%, var(--tp-line)) 82%,
    transparent
  ) center / 100% 1px no-repeat;
}

.tp-hr::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 9px;
  border: 3px solid color-mix(in srgb, var(--tp-bg) 78%, white);
  background: var(--tp-accent);
  transform: translate(-50%, -50%) rotate(45deg);
}

.tp-section > .tp-list:not(.tp-alternating-content .tp-list) {
  display: grid;
  gap: 9px;
  max-width: 76ch;
  padding-left: 0;
  list-style: none;
}

.tp-section > .tp-list:not(.tp-alternating-content .tp-list) > li {
  position: relative;
  padding-left: 26px;
}

.tp-section > .tp-list:not(.tp-alternating-content .tp-list) > li::before {
  content: "";
  position: absolute;
  top: 0.66em;
  left: 2px;
  width: 8px;
  height: 8px;
  border: 2px solid color-mix(in srgb, var(--tp-accent-2) 70%, var(--tp-olive));
  border-radius: 50%;
  background: var(--tp-accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--tp-accent) 13%, transparent);
}

.tp-krouzky {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 22px);
  margin-top: 28px;
}

.tp-krouzek {
  position: relative;
  padding: clamp(22px, 3vw, 30px);
  overflow: hidden;
  background: color-mix(in srgb, var(--tp-paper) 82%, transparent);
  border: 1px solid color-mix(in srgb, var(--tp-accent) 18%, var(--tp-line));
  border-left: 4px solid var(--tp-accent);
  box-shadow: 0 14px 34px rgba(48, 38, 24, 0.07);
}

.tp-krouzek:nth-child(even) {
  border-left-color: var(--tp-accent-2);
}

.tp-krouzek .tp-h3 {
  color: var(--tp-olive-dark);
  font-size: 1.12rem;
}

.tp-krouzek .tp-h3 i {
  color: var(--tp-accent-2);
}

.tp-sponsors-list {
  gap: 16px;
  margin-top: 28px;
}

.tp-sponsor-card-full {
  border-left: 4px solid var(--tp-accent);
  transition: transform var(--tp-transition), box-shadow var(--tp-transition), border-color var(--tp-transition);
}

.tp-sponsor-link:nth-child(even) .tp-sponsor-card-full {
  border-left-color: var(--tp-accent-2);
}

.tp-sponsor-link:hover .tp-sponsor-card-full {
  border-color: color-mix(in srgb, var(--tp-accent) 52%, var(--tp-line));
  box-shadow: 0 22px 44px rgba(48, 38, 24, 0.14);
  transform: translateY(-3px);
}

.tp-document-item,
.tp-packing-groups article,
.tp-application-steps article {
  transition: background var(--tp-transition), border-color var(--tp-transition), transform var(--tp-transition);
}

.tp-document-item:hover,
.tp-packing-groups article:hover,
.tp-application-steps article:hover {
  border-color: color-mix(in srgb, var(--tp-accent) 48%, var(--tp-line));
  background: color-mix(in srgb, var(--tp-accent) 8%, var(--tp-paper));
  transform: translateY(-2px);
}

.tp-photo-grid figure {
  padding: 7px 7px 12px;
  background: color-mix(in srgb, var(--tp-paper) 88%, white);
  border: 1px solid color-mix(in srgb, var(--tp-accent) 18%, var(--tp-line));
  box-shadow: 0 14px 30px rgba(48, 38, 24, 0.09);
}

.tp-photo-grid figcaption {
  padding-top: 9px;
  color: var(--tp-ink-muted);
  font-weight: 800;
}

@media (max-width: 720px) {
  .tp-page > .tp-section + .tp-section:not(.tp-parent-facts):not(.tp-parent-travel):not(.tp-parent-notice):not(.tp-content-route):not(.tp-photo-grid)::before {
    left: 20px;
    right: 20px;
  }

  .tp-section > .tp-h2::after {
    height: 3px;
    margin-top: 12px;
  }

  .tp-krouzky {
    grid-template-columns: 1fr;
  }

  .tp-krouzek {
    padding: 22px 20px;
  }
}

/* Mobile homepage hero: show the full width of the group instead of a tight
   portrait crop, while keeping the photo as a full-screen backdrop. */
@media (max-width: 720px) {
  .tp-hero.tp-hero-home .tp-hero-media {
    background-color: var(--tp-olive-dark);
    background-image: linear-gradient(
      180deg,
      color-mix(in srgb, var(--tp-olive-dark) 76%, black),
      var(--tp-olive-dark)
    );
  }

  .tp-hero.tp-hero-home .tp-hero-media::before {
    content: "";
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    width: 100%;
    height: 69%;
    background-image:
      linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.22)),
      var(--tp-hero-image);
    background-position: center;
    background-repeat: no-repeat;
    background-size: auto 100%;
    -webkit-mask-image: linear-gradient(to bottom, #000 0 86%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 0 86%, transparent 100%);
  }

  .tp-hero-home .tp-hero-overlay {
    z-index: 2;
    align-items: flex-end;
    padding-top: 42vh;
  }

  .tp-hero-home .tp-hero-logo {
    width: clamp(82px, 23vw, 96px);
    height: clamp(82px, 23vw, 96px);
    border-width: 4px;
  }

  .tp-hero-home .tp-hero-title {
    max-width: 9ch;
    font-size: clamp(2.7rem, 14vw, 3.6rem);
    line-height: 0.96;
  }
}

/* Use the same hero composition with a viewport-sized source. */
.tp-hero-home .tp-hero-media { --tp-hero-image: var(--tp-hero-image-desktop); }
@media (max-width: 720px) {
  .tp-hero-home .tp-hero-media { --tp-hero-image: var(--tp-hero-image-mobile); }
}

.tp-tilt-photo .tp-deferred-photo:not([src]) { visibility: hidden; }
.tp-tilt-photo noscript img { position: absolute; inset: 0; }

/* Skutečný list ze sešitu a volně nalepené vzkazy. */
.tp-reviews-page .tp-main { background: var(--tp-bg); padding-bottom: 70px; }
.tp-reviews-page .tp-page { background: transparent; }
.tp-reviews-page .tp-reviews-paper {
  width: 80%;
  max-width: none;
  margin: 20px auto 0;
  padding: 70px clamp(36px, 4vw, 72px) 58px;
  background-color: #faf9ef;
  background-image:
    linear-gradient(90deg, transparent 57px, rgba(184,91,91,.42) 57px 58px, transparent 58px),
    repeating-linear-gradient(180deg, transparent 0 33px, rgba(100,143,166,.26) 33px 34px),
    radial-gradient(ellipse at 10% 20%, rgba(180,164,118,.07), transparent 55%),
    linear-gradient(95deg, rgba(123,111,74,.06), transparent 7%, transparent 94%, rgba(123,111,74,.04));
  border-radius: 2px 5px 3px 1px;
  box-shadow: 0 1px 2px rgba(48,38,24,.10);
}
.tp-reviews-page .tp-page > .tp-reviews-paper::before {
  content: "";
  display: block;
  position: absolute;
  top: 64px;
  bottom: 64px;
  left: 17px;
  right: auto;
  width: 15px;
  height: auto;
  background: radial-gradient(circle, var(--tp-bg) 0 5px, rgba(96,85,53,.18) 5px 6px, transparent 7px) center top / 15px 210px repeat-y;
}
.tp-reviews-page .tp-page > .tp-reviews-paper::after { display: none; }
.tp-paper-pin {
  position: absolute;
  z-index: 1;
  top: 13px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 27%, #ffe5b0 0, var(--tp-accent) 28%, #ad641e 70%, #74411c 100%);
  box-shadow: inset 0 0 0 1px rgba(101,56,19,.25), 3px 5px 4px rgba(48,38,24,.28);
  pointer-events: none;
}
.tp-paper-pin::before {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  left: 7px;
  top: 5px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, #fff2d0, var(--tp-accent) 55%, #b76c25);
  box-shadow: 1px 2px 2px rgba(85,45,16,.3);
}
.tp-paper-pin-left { left: 32px; transform: rotate(-12deg); }
.tp-paper-pin-right { right: 32px; transform: rotate(16deg); }

.tp-reviews-page .tp-reviews-grid {
  position: relative;
  display: block;
  columns: 3;
  column-gap: 48px;
  padding: 12px 0;
}
.tp-reviews-page .tp-review-card {
  --review-angle: -3deg;
  --review-paper: #f7e589;
  display: inline-flex;
  flex-direction: column;
  width: 100%;
  min-height: 230px;
  margin: 10px 0 48px;
  padding: 30px 24px 26px;
  gap: 20px;
  break-inside: avoid;
  position: relative;
  isolation: isolate;
  border: 0;
  border-radius: 1px 2px 5px 2px;
  background:
    linear-gradient(180deg, rgba(105,83,25,.09), transparent 34px, rgba(255,255,255,.08) 80%, rgba(255,255,255,.25)),
    radial-gradient(ellipse at 85% 10%, rgba(255,255,255,.14), transparent 80%), var(--review-paper);
  box-shadow: 0 1px 1px rgba(48,38,24,.12), 2px 10px 10px -7px rgba(48,38,24,.38), 5px 20px 18px -16px rgba(48,38,24,.22);
  transform: rotate(var(--review-angle));
  transform-origin: 50% 18px;
}
/* Horní pás drží u papíru, spodní okraj vrhá širší stín. */
.tp-reviews-page .tp-review-card::before {
  content: "";
  display: block;
  position: absolute;
  inset: 0 0 auto;
  height: 22px;
  border: 0;
  border-radius: 0;
  background: linear-gradient(180deg, rgba(96,76,24,.035), transparent);
  pointer-events: none;
}
.tp-reviews-page .tp-review-card::after { display: none; }
.tp-reviews-page .tp-review-mark { display: none; }
.tp-reviews-page .tp-review-text {
  font-size: .98rem;
  line-height: 1.62;
  color: #302e28;
}
.tp-reviews-page .tp-review-foot {
  border: 0;
  margin-top: auto;
  padding-top: 8px;
  align-items: baseline;
  color: #494435;
}
.tp-reviews-page .tp-review-foot strong { font-size: 1.12rem; }
.tp-reviews-page .tp-review-foot span {
  padding: 0;
  min-height: 0;
  border-radius: 0;
  background: transparent;
  font-size: .82rem;
  font-weight: 500;
  color: #494435;
}
.tp-reviews-page .tp-review-card:nth-child(7n + 2) { --review-angle: 5deg; --review-paper: #efb8c9; }
.tp-reviews-page .tp-review-card:nth-child(7n + 3) { --review-angle: -2deg; --review-paper: #c9db9d; }
.tp-reviews-page .tp-review-card:nth-child(7n + 4) { --review-angle: 3deg; --review-paper: #b8dbe6; }
.tp-reviews-page .tp-review-card:nth-child(7n + 5) { --review-angle: -5deg; --review-paper: #efc191; }
.tp-reviews-page .tp-review-card:nth-child(7n + 6) { --review-angle: 1.5deg; --review-paper: #d9c5e5; }
.tp-reviews-page .tp-review-card:nth-child(7n) { --review-angle: 4deg; }
.tp-reviews-page .tp-reviews-grid.is-scattered { columns: auto; }
.tp-reviews-page .is-scattered > .tp-review-card { position: absolute; margin: 0; }
@media (max-width: 980px) {
  .tp-reviews-page .tp-reviews-grid { columns: 2; }
}
@media (max-width: 620px) {
  .tp-reviews-page .tp-reviews-paper {
    width: 94%; padding: 40px 26px 36px;
    background-position: -35px 0, 0 0, 0 0, 0 0;
  }
  .tp-reviews-page .tp-page > .tp-reviews-paper::before { display: none; }
  .tp-reviews-page .tp-reviews-grid { columns: 1; }
  .tp-reviews-page .tp-review-card { transform: rotate(calc(var(--review-angle) * .45)); }
}
