/* TF Poznaj System v0.1.9
 * Pełna szerokość sekcji, bezpieczny układ wewnętrzny i przyciski 1:1 ze stylem strony głównej TF.
 */


/* =========================================================
   STYK Z MOTYWEM — bez oddechu nad i pod stroną
   =========================================================
   WordPress i motyw potrafią dodawać pionowy odstęp na kilku
   zagnieżdżonych kontenerach jednocześnie. JavaScript oznacza
   wyłącznie przodków shortcode'u klasą .tfps-host-shell, dzięki
   czemu zerujemy ich odstępy bez zgadywania nazw klas motywu.
 */
html body.tfps-page .tfps-host-shell,
html body.tfps-active .tfps-host-shell {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  min-height: 0 !important;
}

html body.tfps-page .tfps-host-empty,
html body.tfps-active .tfps-host-empty {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
}

html body.tfps-page article.page > .entry-header,
html body.tfps-active article.page > .entry-header,
html body.tfps-page article.type-page > .entry-header,
html body.tfps-active article.type-page > .entry-header {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
}

html body.tfps-page .tfps-host-before,
html body.tfps-active .tfps-host-before {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

html body.tfps-page .tfps-host-after,
html body.tfps-active .tfps-host-after {
  margin-top: 0 !important;
}

/* Strona z shortcode'em ma przylegać bezpośrednio do menu i stopki motywu.
 * Nie zmieniamy szerokości ani bocznych odstępów motywu — zerujemy wyłącznie
 * pionowy oddech kontenerów strony, które otaczają shortcode.
 */
html body.tfps-page :where(#content, .site-content, .content-area, .site-main, main, article.page, article.type-page, .entry-content, .page-content, .wp-block-post-content),
html body.tfps-active :where(#content, .site-content, .content-area, .site-main, main, article.page, article.type-page, .entry-content, .page-content, .wp-block-post-content) {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

html body.tfps-page .entry-content > .tfps[data-tfps-root]:first-child,
html body.tfps-active .entry-content > .tfps[data-tfps-root]:first-child {
  margin-top: 0 !important;
}

html body .tfps[data-tfps-root] {
  --tfps-red: #b23434;
  --tfps-red-hover: #9e2c2c;
  --tfps-blue: #2f4a68;
  --tfps-blue-hover: #243447;
  --tfps-blue-dark: #132746;
  --tfps-slate: #2f3742;
  --tfps-text: #5f6874;
  --tfps-soft: #f3f6f8;
  --tfps-soft-blue: #eaf0f5;
  --tfps-line: #dfe4e8;
  --tfps-white: #ffffff;
  box-sizing: border-box !important;
  clear: both !important;
  color: var(--tfps-slate) !important;
  display: block !important;
  float: none !important;
  font-family: "Barlow", "Segoe UI", Arial, sans-serif !important;
  left: 50% !important;
  line-height: 1.58 !important;
  border-bottom: 1px solid #d9dee3 !important;
  margin: 0 0 0 -50vw !important;
  max-width: none !important;
  min-width: 0 !important;
  overflow-x: clip !important;
  padding: 0 !important;
  position: relative !important;
  right: auto !important;
  transform: translateX(0) !important;
  width: 100vw !important;
}

@supports not (overflow: clip) {
  html body .tfps[data-tfps-root] { overflow-x: hidden !important; }
}

html body .tfps[data-tfps-root],
html body .tfps[data-tfps-root] *,
html body .tfps[data-tfps-root] *::before,
html body .tfps[data-tfps-root] *::after {
  box-sizing: border-box !important;
}

html body .tfps[data-tfps-root] :where(section, article, header, nav, div, figure, ol, li) {
  min-width: 0 !important;
}

html body .tfps[data-tfps-root] :where(h1, h2, h3, p, li, small, strong, b, a, button) {
  max-width: 100% !important;
  overflow-wrap: break-word !important;
  text-indent: 0 !important;
  white-space: normal !important;
  writing-mode: horizontal-tb !important;
}

html body .tfps[data-tfps-root] img {
  border: 0 !important;
  display: block !important;
  float: none !important;
  height: auto;
  margin: 0 !important;
  max-width: 100% !important;
}

html body .tfps[data-tfps-root] a { text-decoration: none !important; }
html body .tfps[data-tfps-root] h1,
html body .tfps[data-tfps-root] h2,
html body .tfps[data-tfps-root] h3,
html body .tfps[data-tfps-root] p,
html body .tfps[data-tfps-root] figure { margin-top: 0 !important; }

html body .tfps[data-tfps-root] h1,
html body .tfps[data-tfps-root] h2,
html body .tfps[data-tfps-root] h3 {
  clear: none !important;
  color: var(--tfps-blue) !important;
  font-family: "Barlow Condensed", "Arial Narrow", Arial, sans-serif !important;
  font-style: normal !important;
  font-weight: 700 !important;
  letter-spacing: normal !important;
  line-height: 1.01 !important;
  opacity: 1 !important;
  text-shadow: none !important;
  text-transform: none !important;
  visibility: visible !important;
  hyphens: none !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
}

html body .tfps[data-tfps-root] :where(p, li, small, a, button) {
  font-family: "Barlow", "Segoe UI", Arial, sans-serif !important;
}

html body .tfps[data-tfps-root] .tfps-wrap {
  display: block !important;
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: 1480px !important;
  min-width: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  position: relative !important;
  width: 86% !important;
}

html body .tfps[data-tfps-root] > section,
html body .tfps[data-tfps-root] > nav {
  clear: both !important;
  display: block !important;
  float: none !important;
  left: auto !important;
  margin: 0 !important;
  max-width: none !important;
  position: relative !important;
  right: auto !important;
  width: 100% !important;
}

html body .tfps[data-tfps-root] .tfps-overline {
  color: var(--tfps-red) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: .18em !important;
  line-height: 1.35 !important;
  margin-bottom: 16px !important;
  text-transform: uppercase !important;
}

/* =========================================================
   PRZYCISKI — wartości skopiowane z aktualnej strony głównej TF
   ========================================================= */
html body .tfps[data-tfps-root] .tfps-actions {
  display: grid !important;
  gap: 15px !important;
  margin-top: 30px !important;
  max-width: 600px !important;
  width: min(100%, 600px) !important;
}

html body .tfps[data-tfps-root] .tfps-actions--1 {
  grid-template-columns: minmax(0, 1fr) !important;
  max-width: 300px !important;
  width: min(100%, 300px) !important;
}

html body .tfps[data-tfps-root] .tfps-actions--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

html body .tfps[data-tfps-root] .tfps-actions--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  max-width: 915px !important;
  width: min(100%, 915px) !important;
}

html body .tfps[data-tfps-root] .tfps-actions--center {
  margin-left: auto !important;
  margin-right: auto !important;
}

html body .tfps[data-tfps-root] .tfps-btn,
html body .tfps[data-tfps-root] a.tfps-btn,
html body .tfps[data-tfps-root] button.tfps-btn {
  align-items: center !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  border: none !important;
  border-radius: 2px !important;
  box-shadow: none !important;
  cursor: pointer !important;
  display: inline-flex !important;
  font-family: "Barlow", "Segoe UI", Arial, sans-serif !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  justify-content: center !important;
  letter-spacing: .5px !important;
  line-height: 1.2 !important;
  margin: 0 !important;
  min-height: 52px !important;
  min-width: 0 !important;
  overflow: hidden !important;
  padding: 14px 25px !important;
  position: relative !important;
  text-align: center !important;
  text-decoration: none !important;
  text-transform: uppercase !important;
  transition: .3s !important;
  width: 100% !important;
  z-index: 1 !important;
}

html body .tfps[data-tfps-root] .tfps-btn--red,
html body .tfps[data-tfps-root] .tfps-btn--red:visited {
  background: var(--tfps-red) !important;
  background-color: var(--tfps-red) !important;
  color: #ffffff !important;
}

html body .tfps[data-tfps-root] .tfps-btn--blue,
html body .tfps[data-tfps-root] .tfps-btn--blue:visited {
  background: var(--tfps-blue) !important;
  background-color: var(--tfps-blue) !important;
  color: #ffffff !important;
}

html body .tfps[data-tfps-root] .tfps-btn--red:hover,
html body .tfps[data-tfps-root] .tfps-btn--red:focus-visible {
  background: var(--tfps-red-hover) !important;
  background-color: var(--tfps-red-hover) !important;
  color: #ffffff !important;
  transform: none !important;
}

html body .tfps[data-tfps-root] .tfps-btn--blue:hover,
html body .tfps[data-tfps-root] .tfps-btn--blue:focus-visible {
  background: var(--tfps-blue-hover) !important;
  background-color: var(--tfps-blue-hover) !important;
  color: #ffffff !important;
  transform: none !important;
}

html body .tfps[data-tfps-root] .tfps-btn::after {
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.25), transparent) !important;
  content: "" !important;
  height: 100% !important;
  left: -100% !important;
  pointer-events: none !important;
  position: absolute !important;
  top: 0 !important;
  transform: skewX(-25deg) !important;
  transition: .6s !important;
  width: 50% !important;
  z-index: -1 !important;
}

html body .tfps[data-tfps-root] .tfps-btn:hover::after { left: 150% !important; }

/* HERO */
html body .tfps[data-tfps-root] .tfps-hero {
  background: linear-gradient(105deg, #edf2f6 0%, #f7f8fa 56%, #ffffff 100%) !important;
  padding: 82px 0 74px !important;
}

html body .tfps[data-tfps-root] .tfps-hero__grid {
  align-items: center !important;
  display: grid !important;
  gap: clamp(32px, 4.5vw, 76px) !important;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr) !important;
}

html body .tfps[data-tfps-root] .tfps-hero__copy,
html body .tfps[data-tfps-root] .tfps-hero__visual { min-width: 0 !important; }

html body .tfps[data-tfps-root] .tfps-hero h1 {
  color: var(--tfps-blue) !important;
  font-size: clamp(66px, 7vw, 118px) !important;
  letter-spacing: -.025em !important;
  line-height: .93 !important;
  margin: 0 0 28px !important;
  text-transform: uppercase !important;
}

html body .tfps[data-tfps-root] .tfps-hero h1 span { color: var(--tfps-red) !important; }
html body .tfps[data-tfps-root] .tfps-hero__lead { color: var(--tfps-blue) !important; font-size: clamp(18px, 1.35vw, 23px) !important; font-weight: 500 !important; max-width: 720px !important; }
html body .tfps[data-tfps-root] .tfps-hero__note { border-left: 3px solid var(--tfps-red) !important; color: var(--tfps-text) !important; font-size: 17px !important; margin: 26px 0 32px !important; max-width: 660px !important; padding-left: 18px !important; }
html body .tfps[data-tfps-root] .tfps-hero__visual { display: grid !important; gap: 12px !important; }

html body .tfps[data-tfps-root] .tfps-hero__main-image,
html body .tfps[data-tfps-root] .tfps-hero__mini-grid figure {
  background: #fff !important;
  border: 1px solid var(--tfps-line) !important;
  margin: 0 !important;
  overflow: hidden !important;
  position: relative !important;
}

html body .tfps[data-tfps-root] .tfps-hero__main-image { aspect-ratio: 16 / 9 !important; min-height: 300px !important; }
html body .tfps[data-tfps-root] .tfps-hero__main-image img,
html body .tfps[data-tfps-root] .tfps-hero__mini-grid img { height: 100% !important; object-fit: cover !important; width: 100% !important; }
html body .tfps[data-tfps-root] .tfps-hero__mini-grid { display: grid !important; gap: 12px !important; grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
html body .tfps[data-tfps-root] .tfps-hero__mini-grid figure { height: 126px !important; }

html body .tfps[data-tfps-root] .tfps-hero__main-image > span,
html body .tfps[data-tfps-root] .tfps-hero__mini-grid figcaption,
html body .tfps[data-tfps-root] .tfps-tool__image > span {
  background: var(--tfps-red) !important;
  bottom: 0 !important;
  color: #fff !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  left: auto !important;
  letter-spacing: .08em !important;
  line-height: 1.2 !important;
  margin: 0 !important;
  padding: 9px 12px !important;
  position: absolute !important;
  right: 0 !important;
  text-transform: uppercase !important;
  top: auto !important;
  z-index: 3 !important;
}

/* LOKALNA NAWIGACJA */
html body .tfps[data-tfps-root] .tfps-nav {
  background: var(--tfps-blue-dark) !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 40 !important;
}
body.admin-bar .tfps[data-tfps-root] .tfps-nav { top: 32px !important; }
html body .tfps[data-tfps-root] .tfps-nav__inner { display: flex !important; justify-content: center !important; overflow-x: auto !important; scrollbar-width: none !important; }
html body .tfps[data-tfps-root] .tfps-nav__inner::-webkit-scrollbar { display: none !important; }
html body .tfps[data-tfps-root] .tfps-nav a,
html body .tfps[data-tfps-root] .tfps-nav a:visited { border-left: 1px solid rgba(255,255,255,.12) !important; color: #fff !important; flex: 0 0 auto !important; font-size: 12px !important; font-weight: 700 !important; letter-spacing: .06em !important; padding: 18px 28px !important; text-transform: uppercase !important; }
html body .tfps[data-tfps-root] .tfps-nav a:last-child { border-right: 1px solid rgba(255,255,255,.12) !important; }
html body .tfps[data-tfps-root] .tfps-nav a:hover,
html body .tfps[data-tfps-root] .tfps-nav a:focus { background: var(--tfps-red) !important; color: #fff !important; }

/* SEKCJE */
html body .tfps[data-tfps-root] .tfps-section { padding: 104px 0 !important; scroll-margin-top: 72px !important; }
html body .tfps[data-tfps-root] .tfps-section--white { background: #fff !important; }
html body .tfps[data-tfps-root] .tfps-section--soft { background: var(--tfps-soft) !important; }
html body .tfps[data-tfps-root] .tfps-section--dark { background: var(--tfps-blue-dark) !important; }
html body .tfps[data-tfps-root] .tfps-heading { margin-bottom: 52px !important; max-width: 900px !important; }
html body .tfps[data-tfps-root] .tfps-heading--center { margin-left: auto !important; margin-right: auto !important; text-align: center !important; }
html body .tfps[data-tfps-root] .tfps-heading h2 { font-size: clamp(46px, 4.4vw, 76px) !important; margin-bottom: 20px !important; }
html body .tfps[data-tfps-root] .tfps-heading p:last-child { color: var(--tfps-text) !important; font-size: 19px !important; margin-bottom: 0 !important; }

/* MAPA SYSTEMU */
html body .tfps[data-tfps-root] .tfps-path { display: grid !important; gap: 0 !important; grid-template-columns: repeat(6, minmax(0, 1fr)) !important; margin-bottom: 32px !important; }
html body .tfps[data-tfps-root] .tfps-path__step,
html body .tfps[data-tfps-root] .tfps-path__build {
  background: #fff !important;
  border: 1px solid var(--tfps-line) !important;
  border-radius: 0 !important;
  border-right: 0 !important;
  box-shadow: none !important;
  color: var(--tfps-blue) !important;
  min-height: 144px !important;
  overflow: hidden !important;
  padding: 22px 18px !important;
  position: relative !important;
  text-align: left !important;
}
html body .tfps[data-tfps-root] .tfps-path > :last-child { border-right: 1px solid var(--tfps-line) !important; }
html body .tfps[data-tfps-root] .tfps-path__step { cursor: pointer !important; }
html body .tfps[data-tfps-root] .tfps-path__step::after { background: var(--tfps-red) !important; bottom: 0 !important; content: "" !important; height: 8px !important; left: 0 !important; position: absolute !important; transform: scaleX(0) !important; transform-origin: left !important; transition: transform .2s ease !important; width: 100% !important; }
html body .tfps[data-tfps-root] .tfps-path__step.is-active::after { transform: scaleX(1) !important; }
html body .tfps[data-tfps-root] .tfps-path__step.is-active { background: #eef2f6 !important; border-color: var(--tfps-line) !important; box-shadow: none !important; }
html body .tfps[data-tfps-root] .tfps-path span { background: var(--tfps-red) !important; color: #fff !important; display: inline-grid !important; font-size: 11px !important; font-weight: 700 !important; height: 28px !important; margin-bottom: 20px !important; place-items: center !important; width: 28px !important; }
html body .tfps[data-tfps-root] .tfps-path b { color: inherit !important; display: block !important; font-family: "Barlow Condensed", Arial, sans-serif !important; font-size: 23px !important; line-height: 1 !important; margin-bottom: 8px !important; }
html body .tfps[data-tfps-root] .tfps-path small { color: var(--tfps-text) !important; font-size: 12px !important; }
html body .tfps[data-tfps-root] .tfps-path__build { background: var(--tfps-blue-dark) !important; border-color: var(--tfps-blue-dark) !important; color: #fff !important; }
html body .tfps[data-tfps-root] .tfps-path__build small { color: rgba(255,255,255,.7) !important; }

html body .tfps[data-tfps-root] .tfps-stage { align-items: stretch !important; background: var(--tfps-soft) !important; border-top: 3px solid var(--tfps-red) !important; display: grid !important; grid-template-columns: minmax(0, 1.32fr) minmax(250px, .68fr) !important; min-height: 430px !important; overflow: hidden !important; }
html body .tfps[data-tfps-root] .tfps-stage__image { background: #e5e9ed !important; min-height: 430px !important; overflow: hidden !important; }
html body .tfps[data-tfps-root] .tfps-stage__image img { height: 100% !important; object-fit: cover !important; opacity: 1 !important; transition: opacity .12s ease !important; width: 100% !important; }
html body .tfps[data-tfps-root] .tfps-stage__image img.is-changing { opacity: .25 !important; }
html body .tfps[data-tfps-root] .tfps-stage__copy { align-self: center !important; background: var(--tfps-soft) !important; padding: clamp(30px, 4vw, 54px) !important; }
html body .tfps[data-tfps-root] .tfps-stage__copy h3 { font-size: clamp(38px, 3.1vw, 50px) !important; margin-bottom: 20px !important; }
html body .tfps[data-tfps-root] .tfps-stage__copy > p { color: var(--tfps-text) !important; font-size: 18px !important; }
html body .tfps[data-tfps-root] .tfps-stage__result { border-left: 3px solid var(--tfps-red) !important; margin-top: 28px !important; padding-left: 18px !important; }

/* PUNKTY STARTOWE */
html body .tfps[data-tfps-root] .tfps-start-grid { display: grid !important; gap: 18px !important; grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
html body .tfps[data-tfps-root] .tfps-start-card { background: #fff !important; border: 1px solid var(--tfps-line) !important; border-radius: 0 !important; border-top: 3px solid var(--tfps-red) !important; box-shadow: none !important; color: var(--tfps-slate) !important; display: flex !important; flex-direction: column !important; min-height: 310px !important; padding: 30px !important; }
html body .tfps[data-tfps-root] .tfps-number { background: var(--tfps-red) !important; color: #fff !important; display: grid !important; font-size: 12px !important; font-weight: 700 !important; height: 34px !important; margin-bottom: 30px !important; place-items: center !important; width: 34px !important; }
html body .tfps[data-tfps-root] .tfps-start-card h3 { color: var(--tfps-blue) !important; font-size: 31px !important; margin-bottom: 16px !important; }
html body .tfps[data-tfps-root] .tfps-start-card p { color: var(--tfps-text) !important; }
html body .tfps[data-tfps-root] .tfps-start-card a,
html body .tfps[data-tfps-root] .tfps-start-card a:visited { border-top: 1px solid var(--tfps-line) !important; color: var(--tfps-red) !important; font-size: 12px !important; font-weight: 700 !important; letter-spacing: .04em !important; margin-top: auto !important; padding-top: 18px !important; }
html body .tfps[data-tfps-root] .tfps-start-card a:hover { color: var(--tfps-blue) !important; }

/* NARZĘDZIA — prawdziwe pełnoszerokie pasy, bez pseudo-elementów 100vw */
html body .tfps[data-tfps-root] .tfps-tools-intro { padding-bottom: 78px !important; }
html body .tfps[data-tfps-root] .tfps-tools-intro .tfps-heading { margin-bottom: 0 !important; }
html body .tfps[data-tfps-root] .tfps-tool-band { padding: 0 !important; }
html body .tfps[data-tfps-root] .tfps-tool-band--white { background: #fff !important; }
html body .tfps[data-tfps-root] .tfps-tool-band--soft { background: var(--tfps-soft) !important; }
html body .tfps[data-tfps-root] .tfps-tool-band--dark { background: var(--tfps-blue-dark) !important; }

html body .tfps[data-tfps-root] .tfps-tool {
  align-items: center !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: var(--tfps-slate) !important;
  display: grid !important;
  float: none !important;
  gap: clamp(36px, 5vw, 76px) !important;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr) !important;
  margin: 0 !important;
  max-width: 100% !important;
  min-height: 0 !important;
  padding: 82px 0 !important;
  position: relative !important;
  width: 100% !important;
}
html body .tfps[data-tfps-root] .tfps-tool--reverse .tfps-tool__image { order: 2 !important; }
html body .tfps[data-tfps-root] .tfps-tool--reverse .tfps-tool__copy { order: 1 !important; }
html body .tfps[data-tfps-root] .tfps-tool__image { aspect-ratio: 16 / 10 !important; background: var(--tfps-soft-blue) !important; border: 1px solid rgba(47,74,104,.12) !important; border-top: 3px solid var(--tfps-red) !important; min-height: 0 !important; overflow: hidden !important; position: relative !important; }
html body .tfps[data-tfps-root] .tfps-tool__image img { height: 100% !important; object-fit: cover !important; width: 100% !important; }
html body .tfps[data-tfps-root] .tfps-tool__copy { align-self: center !important; min-width: 0 !important; }
html body .tfps[data-tfps-root] .tfps-tool__copy h3 { color: var(--tfps-blue) !important; font-size: clamp(46px, 4.8vw, 74px) !important; margin-bottom: 22px !important; }
html body .tfps[data-tfps-root] .tfps-tool__copy > p:not(.tfps-overline) { color: var(--tfps-text) !important; font-size: 18px !important; }
html body .tfps[data-tfps-root] .tfps-tool__facts { border-bottom: 1px solid var(--tfps-line) !important; border-top: 1px solid var(--tfps-line) !important; display: grid !important; margin-top: 28px !important; }
html body .tfps[data-tfps-root] .tfps-tool__facts span { color: var(--tfps-text) !important; padding: 12px 0 !important; }
html body .tfps[data-tfps-root] .tfps-tool__facts span + span { border-top: 1px solid var(--tfps-line) !important; }
html body .tfps[data-tfps-root] .tfps-tool__facts b { color: var(--tfps-blue) !important; }
html body .tfps[data-tfps-root] .tfps-tool-band--dark .tfps-tool__copy h3 { color: #fff !important; }
html body .tfps[data-tfps-root] .tfps-tool-band--dark .tfps-tool__copy > p:not(.tfps-overline),
html body .tfps[data-tfps-root] .tfps-tool-band--dark .tfps-tool__facts span { color: rgba(255,255,255,.74) !important; }
html body .tfps[data-tfps-root] .tfps-tool-band--dark .tfps-tool__facts { border-color: rgba(255,255,255,.18) !important; }
html body .tfps[data-tfps-root] .tfps-tool-band--dark .tfps-tool__facts span + span { border-color: rgba(255,255,255,.18) !important; }
html body .tfps[data-tfps-root] .tfps-tool-band--dark .tfps-tool__facts b { color: #fff !important; }
html body .tfps[data-tfps-root] .tfps-tool-band--dark .tfps-tool__image { border-color: rgba(255,255,255,.16) !important; }

/* PODZIAŁ DWÓCH KOLEJNYCH SEKCJI TF DEEP BLUE */
html body .tfps[data-tfps-root] .tfps-dark-divider {
  background: var(--tfps-blue-dark) !important;
  margin: 0 !important;
  padding: 0 !important;
}
html body .tfps[data-tfps-root] .tfps-dark-divider hr {
  background: var(--tfps-red) !important;
  border: 0 !important;
  box-shadow: none !important;
  height: 2px !important;
  margin: 0 !important;
  opacity: 1 !important;
  padding: 0 !important;
  width: 100% !important;
}

/* PRZYKŁADOWA DROGA */
html body .tfps[data-tfps-root] .tfps-example { align-items: center !important; display: grid !important; gap: 80px !important; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr) !important; }
html body .tfps[data-tfps-root] .tfps-example h2 { color: #fff !important; font-size: clamp(48px, 5.4vw, 82px) !important; margin-bottom: 24px !important; }
html body .tfps[data-tfps-root] .tfps-example p:not(.tfps-overline) { color: rgba(255,255,255,.74) !important; font-size: 19px !important; }
html body .tfps[data-tfps-root] .tfps-example ol { list-style: none !important; margin: 0 !important; padding: 0 !important; }
html body .tfps[data-tfps-root] .tfps-example li { align-items: center !important; border-bottom: 1px solid rgba(255,255,255,.14) !important; display: grid !important; gap: 20px !important; grid-template-columns: 46px minmax(0,1fr) auto !important; padding: 18px 0 !important; }
html body .tfps[data-tfps-root] .tfps-example li span { background: var(--tfps-red) !important; color: #fff !important; display: grid !important; font-size: 11px !important; font-weight: 700 !important; height: 34px !important; place-items: center !important; width: 34px !important; }
html body .tfps[data-tfps-root] .tfps-example li b { color: #fff !important; font-family: "Barlow Condensed", Arial, sans-serif !important; font-size: 25px !important; }
html body .tfps[data-tfps-root] .tfps-example li small { color: rgba(255,255,255,.58) !important; }

/* DWA FILARY */
html body .tfps[data-tfps-root] .tfps-pillars { display: grid !important; gap: 22px !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
html body .tfps[data-tfps-root] .tfps-pillars > article { background: #fff !important; border: 0 !important; border-radius: 0 !important; border-top: 3px solid var(--tfps-red) !important; box-shadow: none !important; min-height: 430px !important; padding: 42px !important; }
html body .tfps[data-tfps-root] .tfps-pillars__icon { background: var(--tfps-blue) !important; color: #fff !important; display: grid !important; font-size: 13px !important; font-weight: 700 !important; height: 48px !important; margin-bottom: 34px !important; place-items: center !important; width: 48px !important; }
html body .tfps[data-tfps-root] .tfps-pillars h3 { color: var(--tfps-blue) !important; font-size: 42px !important; margin-bottom: 18px !important; }
html body .tfps[data-tfps-root] .tfps-pillars p:not(.tfps-overline) { color: var(--tfps-text) !important; }
html body .tfps[data-tfps-root] .tfps-pillars a,
html body .tfps[data-tfps-root] .tfps-pillars a:visited { color: var(--tfps-red) !important; display: inline-block !important; font-size: 12px !important; font-weight: 700 !important; margin-top: 18px !important; }
html body .tfps[data-tfps-root] .tfps-pillars__images { display: grid !important; gap: 10px !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; margin: -42px -42px 34px !important; }
html body .tfps[data-tfps-root] .tfps-pillars__images img { height: 180px !important; object-fit: cover !important; width: 100% !important; }
html body .tfps[data-tfps-root] .tfps-pillars__images--accessories { grid-template-columns: minmax(0, 1.45fr) minmax(0, .75fr) !important; }
html body .tfps[data-tfps-root] .tfps-accessory-focus { border-top: 1px solid var(--tfps-line) !important; display: grid !important; gap: 0 !important; margin-top: 22px !important; }
html body .tfps[data-tfps-root] .tfps-accessory-focus > div { align-items: start !important; border-bottom: 1px solid var(--tfps-line) !important; display: grid !important; gap: 5px !important; grid-template-columns: minmax(150px, .78fr) minmax(0, 1.22fr) !important; padding: 12px 0 !important; }
html body .tfps[data-tfps-root] .tfps-accessory-focus b { color: var(--tfps-blue) !important; font-family: var(--tfps-head) !important; font-size: 16px !important; letter-spacing: .02em !important; line-height: 1.15 !important; }
html body .tfps[data-tfps-root] .tfps-accessory-focus span { color: var(--tfps-text) !important; font-size: 14px !important; line-height: 1.45 !important; }


/* INSTRUKCJE I DOSTĘPY */
html body .tfps[data-tfps-root] .tfps-instructions { align-items: center !important; display: grid !important; gap: clamp(40px, 6vw, 90px) !important; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important; }
html body .tfps[data-tfps-root] .tfps-instructions h2,
html body .tfps[data-tfps-root] .tfps-access h2 { font-size: clamp(48px, 5.4vw, 82px) !important; margin-bottom: 24px !important; }
html body .tfps[data-tfps-root] .tfps-instructions__copy > p:not(.tfps-overline),
html body .tfps[data-tfps-root] .tfps-access > div > p:not(.tfps-overline) { color: var(--tfps-text) !important; font-size: 18px !important; }
html body .tfps[data-tfps-root] .tfps-instructions__levels { border-top: 3px solid var(--tfps-red) !important; }
html body .tfps[data-tfps-root] .tfps-instructions__levels article { align-items: flex-start !important; background: transparent !important; border: 0 !important; border-bottom: 1px solid var(--tfps-line) !important; border-radius: 0 !important; box-shadow: none !important; display: grid !important; gap: 22px !important; grid-template-columns: 52px minmax(0, 1fr) !important; padding: 28px 0 !important; }
html body .tfps[data-tfps-root] .tfps-instructions__levels span { background: var(--tfps-red) !important; color: #fff !important; display: grid !important; font-size: 12px !important; font-weight: 700 !important; height: 38px !important; place-items: center !important; width: 38px !important; }
html body .tfps[data-tfps-root] .tfps-instructions__levels b { color: var(--tfps-blue) !important; font-family: "Barlow Condensed", Arial, sans-serif !important; font-size: 30px !important; }
html body .tfps[data-tfps-root] .tfps-instructions__levels p { color: var(--tfps-text) !important; margin: 6px 0 0 !important; }

html body .tfps[data-tfps-root] .tfps-access { align-items: center !important; display: grid !important; gap: clamp(40px, 5vw, 80px) !important; grid-template-columns: minmax(0, 1fr) minmax(0, .85fr) !important; }
html body .tfps[data-tfps-root] .tfps-access__cards { display: grid !important; gap: 18px !important; }
html body .tfps[data-tfps-root] .tfps-access__cards article { background: #fff !important; border: 0 !important; border-left: 4px solid var(--tfps-red) !important; border-radius: 0 !important; box-shadow: none !important; padding: 30px !important; }
html body .tfps[data-tfps-root] .tfps-access__cards span { color: var(--tfps-red) !important; font-size: 11px !important; font-weight: 700 !important; letter-spacing: .12em !important; }
html body .tfps[data-tfps-root] .tfps-access__cards h3 { color: var(--tfps-blue) !important; font-size: 32px !important; margin: 10px 0 12px !important; }
html body .tfps[data-tfps-root] .tfps-access__cards p { color: var(--tfps-text) !important; margin-bottom: 0 !important; }

/* FINAŁ */
html body .tfps[data-tfps-root] .tfps-final {
  background: var(--tfps-blue-dark) !important;
  border-bottom: 0 !important;
  margin-bottom: 0 !important;
  padding: 108px 0 24px !important;
  text-align: center !important;
}
html body .tfps[data-tfps-root] .tfps-final__inner {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

html body .tfps[data-tfps-root] .tfps-final h2 { color: #fff !important; font-size: clamp(52px, 6vw, 92px) !important; margin-bottom: 36px !important; }
html body .tfps[data-tfps-root] .tfps-final__links {
  border-top: 1px solid rgba(255,255,255,.15) !important;
  display: flex !important;
  gap: 28px !important;
  justify-content: center !important;
  margin: 70px 0 0 !important;
  padding: 28px 0 0 !important;
}

html body .tfps[data-tfps-root] .tfps-final__links a,
html body .tfps[data-tfps-root] .tfps-final__links a:visited { color: rgba(255,255,255,.7) !important; font-size: 13px !important; }
html body .tfps[data-tfps-root] .tfps-final__links a:hover { color: #fff !important; }

/* RESPONSYWNOŚĆ */
@media (max-width: 1280px) {
  html body .tfps[data-tfps-root] .tfps-wrap { width: calc(100% - 48px) !important; }
  html body .tfps[data-tfps-root] .tfps-hero__grid { gap: 42px !important; }
  html body .tfps[data-tfps-root] .tfps-hero h1 { font-size: clamp(54px, 6.3vw, 78px) !important; }
  html body .tfps[data-tfps-root] .tfps-hero__mini-grid figure { height: 96px !important; }
  html body .tfps[data-tfps-root] .tfps-path { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
  html body .tfps[data-tfps-root] .tfps-path > * { border-bottom: 0 !important; border-right: 1px solid var(--tfps-line) !important; }
  html body .tfps[data-tfps-root] .tfps-path > :nth-child(n+4) { border-bottom: 1px solid var(--tfps-line) !important; }
  html body .tfps[data-tfps-root] .tfps-start-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  html body .tfps[data-tfps-root] .tfps-tool { gap: 42px !important; }
  html body .tfps[data-tfps-root] .tfps-tool__copy h3 { font-size: clamp(44px, 4.6vw, 62px) !important; }
}

@media (max-width: 900px) {
  html body .tfps[data-tfps-root] .tfps-section { padding: 78px 0 !important; }
  html body .tfps[data-tfps-root] .tfps-hero__grid { grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr) !important; }
  html body .tfps[data-tfps-root] .tfps-hero h1 { font-size: clamp(50px, 7vw, 66px) !important; }
  html body .tfps[data-tfps-root] .tfps-hero__lead { font-size: 17px !important; }
  html body .tfps[data-tfps-root] .tfps-hero__mini-grid figure { height: 78px !important; }
  html body .tfps[data-tfps-root] .tfps-stage { grid-template-columns: minmax(0, 1.08fr) minmax(230px, .92fr) !important; }
  html body .tfps[data-tfps-root] .tfps-tool { gap: 30px !important; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important; padding: 62px 0 !important; }
  html body .tfps[data-tfps-root] .tfps-tool__copy h3 { font-size: 46px !important; }
  html body .tfps[data-tfps-root] .tfps-tool__copy > p:not(.tfps-overline) { font-size: 15px !important; }
  html body .tfps[data-tfps-root] .tfps-example { gap: 34px !important; }
  html body .tfps[data-tfps-root] .tfps-pillars > article { padding: 30px !important; }
  html body .tfps[data-tfps-root] .tfps-pillars__images { margin: -30px -30px 30px !important; }
  html body .tfps[data-tfps-root] .tfps-instructions,
  html body .tfps[data-tfps-root] .tfps-access { gap: 36px !important; }
}

@media (max-width: 820px) {
  html body .tfps[data-tfps-root] .tfps-hero__grid { grid-template-columns: minmax(0, 1fr) !important; }
  html body .tfps[data-tfps-root] .tfps-hero__visual { order: -1 !important; }
}

@media (max-width: 700px) {
  html body .tfps[data-tfps-root] .tfps-wrap { width: calc(100% - 28px) !important; }
  html body .tfps[data-tfps-root] .tfps-section { padding: 62px 0 !important; }
  html body .tfps[data-tfps-root] .tfps-overline { font-size: 10px !important; }
  html body .tfps[data-tfps-root] .tfps-hero { padding: 54px 0 58px !important; }
  html body .tfps[data-tfps-root] .tfps-hero__grid,
  html body .tfps[data-tfps-root] .tfps-stage,
  html body .tfps[data-tfps-root] .tfps-tool,
  html body .tfps[data-tfps-root] .tfps-example,
  html body .tfps[data-tfps-root] .tfps-instructions,
  html body .tfps[data-tfps-root] .tfps-access { grid-template-columns: minmax(0, 1fr) !important; }
  html body .tfps[data-tfps-root] .tfps-hero__visual { order: -1 !important; }
  html body .tfps[data-tfps-root] .tfps-hero h1 { font-size: clamp(40px, 12vw, 50px) !important; }
  html body .tfps[data-tfps-root] .tfps-hero__lead { font-size: 19px !important; }
  html body .tfps[data-tfps-root] .tfps-hero__mini-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  html body .tfps[data-tfps-root] .tfps-hero__mini-grid figure { height: 104px !important; }
  html body .tfps[data-tfps-root] .tfps-actions,
  html body .tfps[data-tfps-root] .tfps-actions--1,
  html body .tfps[data-tfps-root] .tfps-actions--2,
  html body .tfps[data-tfps-root] .tfps-actions--3 { grid-template-columns: minmax(0, 1fr) !important; max-width: none !important; width: 100% !important; }
  html body .tfps[data-tfps-root] .tfps-nav__inner { justify-content: flex-start !important; }
  html body .tfps[data-tfps-root] .tfps-nav a { padding: 16px 18px !important; }
  html body .tfps[data-tfps-root] .tfps-heading h2,
  html body .tfps[data-tfps-root] .tfps-instructions h2,
  html body .tfps[data-tfps-root] .tfps-access h2 { font-size: 45px !important; }
  html body .tfps[data-tfps-root] .tfps-path { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  html body .tfps[data-tfps-root] .tfps-path__step,
  html body .tfps[data-tfps-root] .tfps-path__build { min-height: 124px !important; }
  html body .tfps[data-tfps-root] .tfps-stage__image { min-height: 300px !important; }
  html body .tfps[data-tfps-root] .tfps-stage__copy { padding: 30px 24px !important; }
  html body .tfps[data-tfps-root] .tfps-start-grid { grid-template-columns: minmax(0, 1fr) !important; }
  html body .tfps[data-tfps-root] .tfps-start-card { min-height: 0 !important; }
  html body .tfps[data-tfps-root] .tfps-tool { gap: 30px !important; padding: 54px 0 !important; }
  html body .tfps[data-tfps-root] .tfps-tool--reverse .tfps-tool__image,
  html body .tfps[data-tfps-root] .tfps-tool--reverse .tfps-tool__copy { order: initial !important; }
  html body .tfps[data-tfps-root] .tfps-tool__copy h3 { font-size: 48px !important; }
  html body .tfps[data-tfps-root] .tfps-example li { grid-template-columns: 42px minmax(0, 1fr) !important; }
  html body .tfps[data-tfps-root] .tfps-example li small { grid-column: 2 !important; }
  html body .tfps[data-tfps-root] .tfps-pillars { grid-template-columns: minmax(0, 1fr) !important; }
  html body .tfps[data-tfps-root] .tfps-pillars > article { padding: 28px !important; }
  html body .tfps[data-tfps-root] .tfps-pillars__images { margin: -28px -28px 28px !important; }
  html body .tfps[data-tfps-root] .tfps-pillars__images img { height: 130px !important; }
  html body .tfps[data-tfps-root] .tfps-pillars__images--accessories { grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr) !important; }
  html body .tfps[data-tfps-root] .tfps-accessory-focus > div { grid-template-columns: minmax(0, 1fr) !important; }
  html body .tfps[data-tfps-root] .tfps-final__links { flex-wrap: wrap !important; }
}

@media (max-width: 782px) {
  body.admin-bar .tfps[data-tfps-root] .tfps-nav { top: 46px !important; }
}

@media (prefers-reduced-motion: reduce) {
  html body .tfps[data-tfps-root] *,
  html body .tfps[data-tfps-root] *::before,
  html body .tfps[data-tfps-root] *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

/* V0.2.1 — wspólne powiększanie obrazów i aktywna galeria otwarcia strony. */
html body .tfps[data-tfps-root] .tfps-stage__image,
html body .tfps[data-tfps-root] .tfps-mini-image-frame {
  position: relative !important;
}

html body .tfps[data-tfps-root] .tfps-hero__main-image img {
  opacity: 1 !important;
  transition: opacity .09s ease !important;
}

html body .tfps[data-tfps-root] .tfps-hero__main-image img.is-changing {
  opacity: .28 !important;
}

html body .tfps[data-tfps-root] .tfps-hero__mini-grid figure {
  cursor: pointer !important;
  outline: 0 !important;
  transition: border-color .14s ease !important;
}

html body .tfps[data-tfps-root] .tfps-hero__mini-grid figure:hover,
html body .tfps[data-tfps-root] .tfps-hero__mini-grid figure:focus-within,
html body .tfps[data-tfps-root] .tfps-hero__mini-grid figure.is-active {
  border-color: var(--tfps-red) !important;
  outline: 0 !important;
}

html body .tfps[data-tfps-root] .tfps-mini-image-frame {
  display: block !important;
  height: 180px !important;
  min-width: 0 !important;
  overflow: hidden !important;
  width: 100% !important;
}

html body .tfps[data-tfps-root] .tfps-mini-image-frame > img {
  display: block !important;
  height: 100% !important;
  object-fit: cover !important;
  width: 100% !important;
}

html body .tfps[data-tfps-root] .tfps-image-enlarge,
html body .tfps[data-tfps-root] .tfps-image-enlarge:visited {
  align-items: center !important;
  appearance: none !important;
  background: rgba(255,255,255,.94) !important;
  border: 1px solid rgba(47,74,104,.38) !important;
  border-radius: 0 !important;
  box-shadow: 0 4px 14px rgba(20,38,63,.13) !important;
  box-sizing: border-box !important;
  color: var(--tfps-blue) !important;
  cursor: pointer !important;
  display: inline-flex !important;
  font-family: "Barlow", Arial, sans-serif !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  gap: 6px !important;
  height: 32px !important;
  justify-content: center !important;
  left: auto !important;
  letter-spacing: .08em !important;
  line-height: 1 !important;
  margin: 0 !important;
  min-height: 32px !important;
  min-width: 32px !important;
  padding: 0 10px !important;
  position: absolute !important;
  right: 12px !important;
  text-decoration: none !important;
  text-transform: uppercase !important;
  top: 12px !important;
  transform: none !important;
  transition: background-color .16s ease, color .16s ease, border-color .16s ease !important;
  width: auto !important;
  z-index: 8 !important;
}

html body .tfps[data-tfps-root] .tfps-image-enlarge::before,
html body .tfps[data-tfps-root] .tfps-image-enlarge::after {
  content: none !important;
  display: none !important;
}

html body .tfps[data-tfps-root] .tfps-image-enlarge svg {
  fill: none !important;
  flex: 0 0 14px !important;
  height: 14px !important;
  stroke: currentColor !important;
  stroke-linecap: square !important;
  stroke-linejoin: miter !important;
  stroke-width: 1.8 !important;
  width: 14px !important;
}

html body .tfps[data-tfps-root] .tfps-image-enlarge--compact {
  gap: 0 !important;
  padding: 0 !important;
  width: 32px !important;
}

html body .tfps[data-tfps-root] .tfps-image-enlarge:hover,
html body .tfps[data-tfps-root] .tfps-image-enlarge:focus-visible {
  background: var(--tfps-blue) !important;
  border-color: var(--tfps-blue) !important;
  color: #fff !important;
  outline: none !important;
  transform: none !important;
}

html body .tfps-image-lightbox[hidden] {
  display: none !important;
}

html body .tfps-image-lightbox {
  align-items: center !important;
  background: rgba(12,24,39,.95) !important;
  box-sizing: border-box !important;
  display: flex !important;
  inset: 0 !important;
  justify-content: center !important;
  padding: 24px !important;
  position: fixed !important;
  z-index: 2147483000 !important;
}

html body .tfps-image-lightbox__dialog,
html body .tfps-image-lightbox__stage {
  align-items: center !important;
  display: flex !important;
  height: 100% !important;
  justify-content: center !important;
  min-height: 0 !important;
  min-width: 0 !important;
  position: relative !important;
  width: 100% !important;
}

html body .tfps-image-lightbox__stage img {
  background: #fff !important;
  border: 1px solid rgba(255,255,255,.32) !important;
  box-shadow: 0 22px 70px rgba(0,0,0,.48) !important;
  display: block !important;
  height: auto !important;
  image-rendering: auto !important;
  max-height: calc(100vh - 72px) !important;
  max-width: calc(100vw - 72px) !important;
  object-fit: contain !important;
  object-position: center !important;
  width: auto !important;
}

html body .tfps-image-lightbox__close {
  align-items: center !important;
  appearance: none !important;
  background: var(--tfps-red) !important;
  border: 1px solid var(--tfps-red) !important;
  border-radius: 0 !important;
  box-shadow: 0 6px 22px rgba(0,0,0,.25) !important;
  color: #fff !important;
  cursor: pointer !important;
  display: flex !important;
  font-family: Arial, sans-serif !important;
  font-size: 28px !important;
  font-weight: 400 !important;
  height: 42px !important;
  justify-content: center !important;
  line-height: 1 !important;
  margin: 0 !important;
  padding: 0 !important;
  position: fixed !important;
  right: 18px !important;
  top: 18px !important;
  width: 42px !important;
  z-index: 2 !important;
}

html body .tfps-image-lightbox__close::before,
html body .tfps-image-lightbox__close::after {
  content: none !important;
  display: none !important;
}

html body .tfps-image-lightbox__close:hover,
html body .tfps-image-lightbox__close:focus-visible {
  background: #9e2c2c !important;
  border-color: #9e2c2c !important;
  color: #fff !important;
  outline: none !important;
}

@media (max-width: 760px) {
  html body .tfps[data-tfps-root] .tfps-mini-image-frame {
    height: 130px !important;
  }

  html body .tfps[data-tfps-root] .tfps-image-enlarge {
    right: 8px !important;
    top: 8px !important;
  }

  html body .tfps-image-lightbox {
    padding: 12px !important;
  }

  html body .tfps-image-lightbox__stage img {
    max-height: calc(100vh - 24px) !important;
    max-width: calc(100vw - 24px) !important;
  }

  html body .tfps-image-lightbox__close {
    height: 38px !important;
    right: 10px !important;
    top: 10px !important;
    width: 38px !important;
  }
}


/* V0.2.3 — pięć miniaturek w galerii otwarcia strony.
 * Każda miniatura ma osobną belkę TF Red nad obrazem. */
html body .tfps[data-tfps-root] .tfps-hero__mini-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
}

html body .tfps[data-tfps-root] .tfps-hero__mini-grid figure {
  display: flex !important;
  flex-direction: column !important;
  height: 128px !important;
  overflow: hidden !important;
}

html body .tfps[data-tfps-root] .tfps-hero__mini-grid figcaption {
  align-items: center !important;
  background: var(--tfps-red) !important;
  bottom: auto !important;
  box-sizing: border-box !important;
  color: #fff !important;
  display: flex !important;
  flex: 0 0 31px !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  justify-content: center !important;
  left: auto !important;
  letter-spacing: .07em !important;
  line-height: 1 !important;
  min-height: 31px !important;
  padding: 0 7px !important;
  position: static !important;
  right: auto !important;
  text-align: center !important;
  text-transform: uppercase !important;
  top: auto !important;
  width: 100% !important;
  z-index: auto !important;
}

html body .tfps[data-tfps-root] .tfps-hero__mini-grid figure > img {
  display: block !important;
  flex: 1 1 auto !important;
  height: 97px !important;
  min-height: 0 !important;
  object-fit: cover !important;
  width: 100% !important;
}

@media (max-width: 900px) {
  html body .tfps[data-tfps-root] .tfps-hero__mini-grid figure {
    height: 104px !important;
  }

  html body .tfps[data-tfps-root] .tfps-hero__mini-grid figure > img {
    height: 73px !important;
  }
}

@media (max-width: 700px) {
  html body .tfps[data-tfps-root] .tfps-hero__mini-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  html body .tfps[data-tfps-root] .tfps-hero__mini-grid figure {
    height: 118px !important;
  }

  html body .tfps[data-tfps-root] .tfps-hero__mini-grid figure > img {
    height: 87px !important;
  }
}

/* =========================================================
   V0.2.4 — spokojniejsze etykiety pierwszej galerii
   =========================================================
   Miniatury zachowują jedną, stałą jasnoszarą ramkę.
   Stan aktywny komunikujemy wyłącznie kolorem belki:
   szary dla pozostałych pozycji i TF Deep Blue dla wybranej.
 */
html body .tfps[data-tfps-root] .tfps-hero__mini-grid figure,
html body .tfps[data-tfps-root] .tfps-hero__mini-grid figure:hover,
html body .tfps[data-tfps-root] .tfps-hero__mini-grid figure:focus,
html body .tfps[data-tfps-root] .tfps-hero__mini-grid figure:focus-within,
html body .tfps[data-tfps-root] .tfps-hero__mini-grid figure.is-active {
  border-color: var(--tfps-line) !important;
  box-shadow: none !important;
  outline: 0 !important;
}

html body .tfps[data-tfps-root] .tfps-hero__mini-grid figure {
  transition: none !important;
}

html body .tfps[data-tfps-root] .tfps-hero__mini-grid figcaption {
  background: #68737f !important;
  color: #fff !important;
  transition: background-color .14s ease !important;
}

html body .tfps[data-tfps-root] .tfps-hero__mini-grid figure.is-active figcaption {
  background: var(--tfps-blue) !important;
}

/* v0.2.7 — bezpośrednie wejścia do szczegółowych instrukcji */
.tfps-instruction-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:38px}
.tfps-instruction-grid>a{display:grid;grid-template-columns:58px 1fr;gap:16px;align-items:start;min-height:210px;padding:27px;background:#f7f8fa;border:1px solid #e3e6ea;border-top:4px solid #2f4a68;color:#2f3742;text-decoration:none;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.tfps-instruction-grid>a:hover{transform:translateY(-3px);box-shadow:0 14px 30px rgba(47,55,66,.1);border-top-color:#b23434}
.tfps-instruction-grid span{font-family:"Barlow Condensed",Arial,sans-serif;font-size:34px;font-weight:700;color:#b23434;line-height:1}
.tfps-instruction-grid b{display:block;font-family:"Barlow Condensed",Arial,sans-serif;font-size:25px;line-height:1.05;text-transform:uppercase;color:#2f3742;margin-bottom:9px}
.tfps-instruction-grid p{margin:0;color:#5f6874;font-size:15px;line-height:1.55}
.tfps-instruction-grid em{grid-column:2;font-family:"Barlow Condensed",Arial,sans-serif;font-style:normal;font-size:13px;font-weight:700;letter-spacing:.04em;color:#2f4a68;margin-top:auto}
@media(max-width:1000px){.tfps-instruction-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.tfps-instruction-grid{grid-template-columns:1fr}.tfps-instruction-grid>a{min-height:0}}
