/* TrenerPohybu cookie consent — additive styles, scoped to this feature. */
:root {
  --tp-cookie-brand: #6b1d2a;
  --tp-cookie-brand-mid: #9b3a4d;
  --tp-cookie-brand-soft: #f4b8c4;
  --tp-cookie-ink: #1a0a0d;
  --tp-cookie-surface: #fdf8f8;
  --tp-cookie-copy: #33262a;
  --tp-cookie-muted: #675b5e;
  --tp-cookie-border: #e8d9dc;
  --tp-cookie-font: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
}

#tp-cookie-consent,
.tp-cookies-page {
  color: var(--tp-cookie-copy);
  font-family: var(--tp-cookie-font);
  -webkit-font-smoothing: antialiased;
}

#tp-cookie-consent[hidden],
#tp-consent-summary[hidden],
#tp-consent-settings[hidden] {
  display: none !important;
}

#tp-cookie-consent {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 18px 20px;
  background: #f7eeee;
  border-top: 1px solid #e7d4d8;
  border-bottom: 1px solid #e7d4d8;
}

.tp-consent-inner {
  width: min(100%, 1040px);
  margin: 0 auto;
}

.tp-consent-heading {
  margin: 0 0 6px;
  color: var(--tp-cookie-ink);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.25px;
}

.tp-consent-copy {
  margin: 0;
  color: #45383b;
  font-size: 14px;
  line-height: 1.6;
}

.tp-consent-copy a,
.tp-consent-footer-link {
  color: var(--tp-cookie-brand);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.tp-consent-copy a:hover,
.tp-consent-footer-link:hover {
  color: #4d1420;
}

.tp-consent-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 15px;
}

.tp-consent-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border: 1px solid var(--tp-cookie-brand);
  border-radius: 10px;
  background: var(--tp-cookie-brand);
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.25;
  text-align: center;
  cursor: pointer;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}

.tp-consent-button:hover {
  border-color: #4d1420;
  background: #4d1420;
}

.tp-consent-button:focus-visible,
#tp-cookie-consent a:focus-visible,
.tp-cookies-page a:focus-visible,
.tp-consent-choice input:focus-visible,
#tp-video-play:focus-visible {
  outline: 3px solid #9b3a4d;
  outline-offset: 3px;
}

.tp-consent-button--quiet {
  background: transparent;
  color: var(--tp-cookie-brand);
}

.tp-consent-button--quiet:hover {
  background: #f1dfe3;
  color: #4d1420;
}

.tp-consent-settings-title {
  margin: 0 0 4px;
  color: var(--tp-cookie-ink);
  font-size: 17px;
  font-weight: 800;
}

.tp-consent-settings-intro {
  margin: 0 0 12px;
  color: var(--tp-cookie-muted);
  font-size: 13px;
  line-height: 1.55;
}

.tp-consent-choices {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
}

.tp-consent-choice {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 12px;
  border: 1px solid var(--tp-cookie-border);
  border-radius: 10px;
  background: #fffafa;
  cursor: pointer;
}

.tp-consent-choice input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--tp-cookie-brand);
}

.tp-consent-choice input:disabled {
  opacity: 0.72;
}

.tp-consent-choice-copy {
  display: block;
  min-width: 0;
}

.tp-consent-choice-title {
  display: block;
  color: var(--tp-cookie-ink);
  font-size: 14px;
  font-weight: 750;
  line-height: 1.45;
}

.tp-consent-choice-description {
  display: block;
  margin-top: 2px;
  color: var(--tp-cookie-muted);
  font-size: 12px;
  line-height: 1.5;
}

.tp-consent-settings-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 12px;
}

.tp-consent-footer-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 12px;
}

/* YouTube placeholder inside the existing .vid-r; its dimensions remain untouched. */
.vid-r #tp-video-preview {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vid-r #tp-video-preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#tp-video-play {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  display: inline-flex;
  min-width: 52px;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 999px;
  background: rgba(26, 10, 13, 0.88);
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 750;
  cursor: pointer;
}

#tp-video-play:hover {
  background: var(--tp-cookie-brand);
}

.tp-cookies-page {
  min-height: 100vh;
  background: var(--tp-cookie-surface);
}

.tp-cookies-header {
  padding: 22px 24px;
  background: var(--tp-cookie-ink);
}

.tp-cookies-header-inner,
.tp-cookies-content,
.tp-cookies-footer {
  width: min(100%, 880px);
  margin: 0 auto;
}

.tp-cookies-brand {
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.2px;
  text-decoration: none;
}

.tp-cookies-brand:hover {
  color: var(--tp-cookie-brand-soft);
}

.tp-cookies-content {
  padding: 52px 24px 60px;
}

.tp-cookies-eyebrow {
  margin: 0 0 12px;
  color: var(--tp-cookie-brand);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.tp-cookies-content h1 {
  margin: 0;
  color: var(--tp-cookie-ink);
  font-size: clamp(34px, 6vw, 52px);
  font-weight: 900;
  letter-spacing: -1.8px;
  line-height: 1.05;
}

.tp-cookies-lead {
  max-width: 690px;
  margin: 17px 0 34px;
  color: #58494d;
  font-size: 17px;
  line-height: 1.7;
}

.tp-cookies-section {
  padding: 22px 0;
  border-top: 1px solid var(--tp-cookie-border);
}

.tp-cookies-section h2 {
  margin: 0 0 9px;
  color: var(--tp-cookie-ink);
  font-size: 19px;
  font-weight: 850;
  letter-spacing: -0.35px;
}

.tp-cookies-section p,
.tp-cookies-section li {
  color: #514448;
  font-size: 14px;
  line-height: 1.75;
}

.tp-cookies-section p {
  margin: 0 0 10px;
}

.tp-cookies-section ul {
  display: grid;
  gap: 8px;
  margin: 10px 0 0;
  padding-left: 21px;
}

.tp-cookies-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.tp-cookies-actions .tp-consent-button {
  text-decoration: none;
}

.tp-cookies-footer {
  padding: 20px 24px 28px;
  border-top: 1px solid var(--tp-cookie-border);
  color: var(--tp-cookie-muted);
  font-size: 12px;
  line-height: 1.6;
}

@media (max-width: 600px) {
  #tp-cookie-consent {
    padding: 16px;
  }

  .tp-consent-actions {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .tp-consent-button {
    width: 100%;
  }

  .tp-consent-settings-actions {
    display: block;
  }

  .tp-cookies-content {
    padding: 38px 20px 46px;
  }

  .tp-cookies-header {
    padding: 18px 20px;
  }

  .tp-cookies-footer {
    padding-right: 20px;
    padding-left: 20px;
  }
}

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

/* Policy inventory: keep the wide, readable table scrollable within the page. */
.tp-cookies-page,
.tp-cookies-page * {
  box-sizing: border-box;
}

.tp-cookies-content {
  min-width: 0;
}

.tp-cookies-table-wrap {
  max-width: 100%;
  margin: 18px 0 12px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  border: 1px solid var(--tp-cookie-border);
  border-radius: 10px;
  background: #fffafa;
  -webkit-overflow-scrolling: touch;
}

.tp-cookies-table-wrap:focus-visible {
  outline: 3px solid var(--tp-cookie-brand-mid);
  outline-offset: 3px;
}

.tp-cookies-table {
  width: 100%;
  min-width: 760px;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0;
  color: var(--tp-cookie-copy);
  font-size: 13px;
  line-height: 1.55;
  text-align: left;
}

.tp-cookies-table th,
.tp-cookies-table td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--tp-cookie-border);
  vertical-align: top;
  overflow-wrap: anywhere;
}

.tp-cookies-table thead th {
  background: #f5e9ec;
  color: var(--tp-cookie-ink);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tp-cookies-table thead th:nth-child(1) { width: 26%; }
.tp-cookies-table thead th:nth-child(2) { width: 17%; }
.tp-cookies-table thead th:nth-child(3) { width: 21%; }
.tp-cookies-table thead th:nth-child(4) { width: 21%; }
.tp-cookies-table thead th:nth-child(5) { width: 15%; }

.tp-cookies-table tbody th {
  min-width: 190px;
  color: var(--tp-cookie-ink);
  font-weight: 750;
}

.tp-cookies-table tbody tr:last-child th,
.tp-cookies-table tbody tr:last-child td {
  border-bottom: 0;
}

.tp-cookies-table tbody tr:nth-child(even) {
  background: #fdf6f7;
}

.tp-cookies-table-note {
  margin-top: 14px !important;
  color: var(--tp-cookie-muted) !important;
  font-size: 12px !important;
}

.tp-cookies-section a:not(.tp-consent-button) {
  color: var(--tp-cookie-brand);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

.tp-cookies-section a:not(.tp-consent-button):hover {
  color: #4d1420;
}

@media (max-width: 600px) {
  .tp-cookies-table th,
  .tp-cookies-table td {
    padding: 11px 12px;
  }
}