
/* =========================================================
   4RINGS — BADGES ABSOLUTE FINAL LOCK
   Footer + head lock. Jasnoszara plakietka + cienki pasek.
   ========================================================= */
:root{
  --fr-badge-final-bg:#f4f5f6;
  --fr-badge-final-border:#dfe3e7;
  --fr-badge-final-text:#171717;
  --fr-badge-final-tag:#9aa0a6;
  --fr-cat-aktualnosci:#E12626;
  --fr-cat-testy:#1565C0;
  --fr-cat-rankingi:#1E8E3E;
  --fr-cat-poradniki:#5B3CC4;
  --fr-cat-napedy:#FFC400;
  --fr-cat-rynek:#F57C00;
  --fr-cat-chinskie:#8B1E3F;
}

html body :where(.fr-badge,.fr-article-kicker,.fr-sidebar-kicker,.fr-sidebar-cat,.fr-sidebar-category,.fr-archive-badge,.fr-archive-eyebrow,.fr-rankings-fresh-badge,.fr-rankings-fresh-main-badge,.fr-rankings-fresh-side-badge,.fr-card-cat,.fr-card-kicker,.fr-post-cat,.fr-post-kicker,.fr-related-cat,.fr-related-kicker,.fr-article-related-kicker,.fr-category-badge,.fr-cat-badge,.fr-entry-cat,.fr-entry-category,.fr-single-kicker,.fr-single-category,.fr-day-label,.fr-section-kicker,.fr-section-label),
html body .fr-homepage :is(span,a,div)[class*="fr-cat-"],
html body.single-post :is(span,a,div)[class*="fr-cat-"],
html body.fr-single-template :is(span,a,div)[class*="fr-cat-"],
html body.archive :is(span,a,div)[class*="fr-cat-"],
html body.tag :is(span,a,div)[class*="fr-cat-"]{
  --badge-bg:var(--fr-badge-final-bg)!important;
  --badge-fg:var(--fr-badge-final-text)!important;
  position:relative!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  box-sizing:border-box!important;
  width:auto!important;
  max-width:max-content!important;
  min-width:0!important;
  height:auto!important;
  min-height:22px!important;
  margin:0 0 6px 0!important;
  padding:4px 8px 4px 9px!important;
  background:var(--fr-badge-final-bg)!important;
  background-color:var(--fr-badge-final-bg)!important;
  background-image:none!important;
  color:var(--fr-badge-final-text)!important;
  border-top:1px solid var(--fr-badge-final-border)!important;
  border-right:1px solid var(--fr-badge-final-border)!important;
  border-bottom:1px solid var(--fr-badge-final-border)!important;
  border-left:3px solid var(--fr-badge-accent,var(--fr-badge-final-tag))!important;
  border-radius:0!important;
  box-shadow:none!important;
  text-shadow:none!important;
  outline:none!important;
  overflow:hidden!important;
  filter:none!important;
  opacity:1!important;
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif!important;
  font-size:10px!important;
  line-height:1.1!important;
  font-weight:800!important;
  letter-spacing:.045em!important;
  text-transform:none!important;
  text-decoration:none!important;
  white-space:nowrap!important;
  vertical-align:top!important;
}

/* Najmocniejsze selektory na stare czarne plakietki homepage/single/sidebar */
html body.fr-home-active .fr-homepage .fr-badge,
html body.fr-home-active .fr-homepage span.fr-badge,
html body.fr-home-active .fr-homepage a.fr-badge,
html body.fr-home-active .fr-homepage .fr-hero .fr-badge,
html body.fr-home-active .fr-homepage .fr-hero-copy .fr-badge,
html body.fr-home-active .fr-homepage .fr-latest-grid .fr-badge,
html body.fr-home-active .fr-homepage .fr-news-copy .fr-badge,
html body.fr-home-active .fr-homepage .fr-card-copy .fr-badge,
html body.fr-home-active .fr-homepage .fr-feature-card .fr-badge,
html body.fr-home-active .fr-homepage .fr-layout-chinese .fr-badge,
html body.fr-home-active .fr-homepage .fr-layout-tests .fr-badge,
html body.fr-home-active .fr-homepage .fr-layout-drives .fr-badge,
html body.fr-home-active .fr-homepage .fr-layout-ranking .fr-badge,
html body.fr-home-active .fr-homepage .fr-layout-guides .fr-badge,
html body.fr-home-active .fr-homepage .fr-layout-market .fr-badge,
html body.single-post .fr-article-kicker,
html body.single-post div.fr-article-kicker,
html body.single-post span.fr-article-kicker,
html body.fr-single-template .fr-article-kicker,
html body.single-post .fr-sidebar-kicker,
html body.single-post span.fr-sidebar-kicker,
html body.single-post .fr-single-sidebar .fr-sidebar-kicker{
  --badge-bg:var(--fr-badge-final-bg)!important;
  --badge-fg:var(--fr-badge-final-text)!important;
  background:var(--fr-badge-final-bg)!important;
  background-color:var(--fr-badge-final-bg)!important;
  background-image:none!important;
  color:var(--fr-badge-final-text)!important;
  border-top:1px solid var(--fr-badge-final-border)!important;
  border-right:1px solid var(--fr-badge-final-border)!important;
  border-bottom:1px solid var(--fr-badge-final-border)!important;
  border-left:3px solid var(--fr-badge-accent,var(--fr-badge-final-tag))!important;
  box-shadow:none!important;
  text-shadow:none!important;
  filter:none!important;
}

/* Bez pseudoelementów — pasek tylko jako prosty border-left */
html body .fr-badge::before,html body .fr-badge::after,
html body .fr-article-kicker::before,html body .fr-article-kicker::after,
html body .fr-sidebar-kicker::before,html body .fr-sidebar-kicker::after,
html body .fr-sidebar-cat::before,html body .fr-sidebar-cat::after,
html body .fr-archive-badge::before,html body .fr-archive-badge::after,
html body .fr-archive-eyebrow::before,html body .fr-archive-eyebrow::after,
html body .fr-rankings-fresh-badge::before,html body .fr-rankings-fresh-badge::after,
html body .fr-card-cat::before,html body .fr-card-cat::after,
html body .fr-card-kicker::before,html body .fr-card-kicker::after,
html body .fr-day-label::before,html body .fr-day-label::after,
html body .fr-section-kicker::before,html body .fr-section-kicker::after{
  content:none!important;
  display:none!important;
}

/* Kolory po klasach fr-cat-* */
html body .fr-cat-aktualnosci{--fr-badge-accent:var(--fr-cat-aktualnosci)!important;border-left-color:var(--fr-cat-aktualnosci)!important;}
html body .fr-cat-testy{--fr-badge-accent:var(--fr-cat-testy)!important;border-left-color:var(--fr-cat-testy)!important;}
html body .fr-cat-rankingi,html body .fr-rankings-fresh-badge,html body .fr-rankings-fresh-main-badge,html body .fr-rankings-fresh-side-badge{--fr-badge-accent:var(--fr-cat-rankingi)!important;border-left-color:var(--fr-cat-rankingi)!important;}
html body .fr-cat-poradniki{--fr-badge-accent:var(--fr-cat-poradniki)!important;border-left-color:var(--fr-cat-poradniki)!important;}
html body .fr-cat-napedy{--fr-badge-accent:var(--fr-cat-napedy)!important;border-left-color:var(--fr-cat-napedy)!important;}
html body .fr-cat-rynek{--fr-badge-accent:var(--fr-cat-rynek)!important;border-left-color:var(--fr-cat-rynek)!important;}
html body .fr-cat-chinskie,html body .fr-cat-chinskie-marki{--fr-badge-accent:var(--fr-cat-chinskie)!important;border-left-color:var(--fr-cat-chinskie)!important;}

/* Kolory po inline starych zmiennych — fallback dla elementów bez klasy koloru */
html body .fr-badge[style*="#E12626"],html body .fr-badge[style*="#e12626"]{--fr-badge-accent:var(--fr-cat-aktualnosci)!important;border-left-color:var(--fr-cat-aktualnosci)!important;}
html body .fr-badge[style*="#1565C0"],html body .fr-badge[style*="#1565c0"]{--fr-badge-accent:var(--fr-cat-testy)!important;border-left-color:var(--fr-cat-testy)!important;}
html body .fr-badge[style*="#1E8E3E"],html body .fr-badge[style*="#1e8e3e"],html body .fr-badge[style*="#176B34"],html body .fr-badge[style*="#176b34"]{--fr-badge-accent:var(--fr-cat-rankingi)!important;border-left-color:var(--fr-cat-rankingi)!important;}
html body .fr-badge[style*="#5B3CC4"],html body .fr-badge[style*="#5b3cc4"]{--fr-badge-accent:var(--fr-cat-poradniki)!important;border-left-color:var(--fr-cat-poradniki)!important;}
html body .fr-badge[style*="#FFC400"],html body .fr-badge[style*="#ffc400"]{--fr-badge-accent:var(--fr-cat-napedy)!important;border-left-color:var(--fr-cat-napedy)!important;}
html body .fr-badge[style*="#F57C00"],html body .fr-badge[style*="#f57c00"],html body .fr-badge[style*="#B84D00"],html body .fr-badge[style*="#b84d00"]{--fr-badge-accent:var(--fr-cat-rynek)!important;border-left-color:var(--fr-cat-rynek)!important;}
html body .fr-badge[style*="#8B1E3F"],html body .fr-badge[style*="#8b1e3f"]{--fr-badge-accent:var(--fr-cat-chinskie)!important;border-left-color:var(--fr-cat-chinskie)!important;}

/* Kolory na archiwach po body/article */
html body.category-aktualnosci-motoryzacyjne .fr-archive-eyebrow,html body .fr-archive-card.category-aktualnosci-motoryzacyjne .fr-archive-badge,html body .fr-archive-card.category-nowe-technologie .fr-archive-badge{--fr-badge-accent:var(--fr-cat-aktualnosci)!important;border-left-color:var(--fr-cat-aktualnosci)!important;}
html body.category-testy-samochodow .fr-archive-eyebrow,html body .fr-archive-card.category-testy-samochodow .fr-archive-badge{--fr-badge-accent:var(--fr-cat-testy)!important;border-left-color:var(--fr-cat-testy)!important;}
html body.category-rankingi-samochodow .fr-archive-eyebrow,html body .fr-archive-card.category-rankingi-samochodow .fr-archive-badge,html body .fr-archive-card.category-auta-do-30-tys .fr-archive-badge,html body .fr-archive-card.category-auta-do-50-tys .fr-archive-badge,html body .fr-archive-card.category-auta-do-100-tys .fr-archive-badge,html body .fr-archive-card.category-auta-powyzej-150-tys .fr-archive-badge{--fr-badge-accent:var(--fr-cat-rankingi)!important;border-left-color:var(--fr-cat-rankingi)!important;}
html body.category-poradniki-motoryzacyjne .fr-archive-eyebrow,html body .fr-archive-card.category-poradniki-motoryzacyjne .fr-archive-badge{--fr-badge-accent:var(--fr-cat-poradniki)!important;border-left-color:var(--fr-cat-poradniki)!important;}
html body.category-napedy-samochodowe .fr-archive-eyebrow,html body .fr-archive-card.category-napedy-samochodowe .fr-archive-badge,html body .fr-archive-card.category-samochody-elektryczne .fr-archive-badge,html body .fr-archive-card.category-plug-in-hybrid .fr-archive-badge,html body .fr-archive-card.category-hybrydy-samochodowe .fr-archive-badge{--fr-badge-accent:var(--fr-cat-napedy)!important;border-left-color:var(--fr-cat-napedy)!important;}
html body.category-rynek-motoryzacyjny .fr-archive-eyebrow,html body .fr-archive-card.category-rynek-motoryzacyjny .fr-archive-badge{--fr-badge-accent:var(--fr-cat-rynek)!important;border-left-color:var(--fr-cat-rynek)!important;}
html body.category-chinskie-marki-samochodow .fr-archive-eyebrow,html body .fr-archive-card.category-chinskie-marki-samochodow .fr-archive-badge,html body .fr-archive-card.category-byd-samochody .fr-archive-badge,html body .fr-archive-card.category-mg-samochody .fr-archive-badge,html body .fr-archive-card.category-omoda-jaecoo .fr-archive-badge,html body .fr-archive-card.category-nio-xpeng .fr-archive-badge{--fr-badge-accent:var(--fr-cat-chinskie)!important;border-left-color:var(--fr-cat-chinskie)!important;}

/* Tagi — neutralny szary w nagłówku tagu */
html body.tag .fr-archive-eyebrow{--fr-badge-accent:var(--fr-badge-final-tag)!important;border-left-color:var(--fr-badge-final-tag)!important;}

/* Hover/focus nie przywraca czerni */
html body a:hover :where(.fr-badge,.fr-article-kicker,.fr-sidebar-kicker,.fr-archive-badge,.fr-archive-eyebrow),
html body a:focus :where(.fr-badge,.fr-article-kicker,.fr-sidebar-kicker,.fr-archive-badge,.fr-archive-eyebrow),
html body :where(.fr-badge,.fr-article-kicker,.fr-sidebar-kicker,.fr-archive-badge,.fr-archive-eyebrow):hover{
  background:var(--fr-badge-final-bg)!important;
  background-color:var(--fr-badge-final-bg)!important;
  color:var(--fr-badge-final-text)!important;
  filter:none!important;
}

/* =========================================================
   4RINGS — BADGES V5 COMPATIBILITY HARD LOCK
   Kluczowe: stare homepage.css może nadal używać --badge-bg/--badge-fg.
   Dlatego PHP ustawia je na jasne wartości, a ten lock rysuje pasek kategorii.
   ========================================================= */
html body .fr-badge[class*="fr-cat-"],
html body .fr-homepage .fr-badge[class*="fr-cat-"],
html body .fr-homepage span.fr-badge[class*="fr-cat-"],
html body .fr-homepage .fr-hero-copy .fr-badge[class*="fr-cat-"],
html body .fr-homepage .fr-card-copy .fr-badge[class*="fr-cat-"],
html body .fr-homepage .fr-news-copy .fr-badge[class*="fr-cat-"],
html body .fr-homepage .fr-feature-card .fr-badge[class*="fr-cat-"],
html body .fr-homepage article .fr-badge[class*="fr-cat-"],
html body .fr-article-kicker[class*="fr-cat-"],
html body.single-post .fr-article-kicker[class*="fr-cat-"],
html body .fr-sidebar-kicker[class*="fr-cat-"],
html body .fr-archive-badge[class*="fr-cat-"],
html body .fr-rankings-fresh-badge {
  --badge-bg: #f4f5f6 !important;
  --badge-fg: #1f2328 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: max-content !important;
  height: auto !important;
  min-height: 20px !important;
  padding: 3px 8px !important;
  margin: 0 0 6px 0 !important;
  background: #f4f5f6 !important;
  background-color: #f4f5f6 !important;
  background-image: none !important;
  color: #1f2328 !important;
  border: 1px solid #dfe3e7 !important;
  border-left: 3px solid var(--fr-badge-accent, #9aa0a6) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  text-shadow: none !important;
  outline: 0 !important;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif !important;
  font-size: 10px !important;
  line-height: 1.15 !important;
  font-weight: 800 !important;
  letter-spacing: .045em !important;
  text-transform: none !important;
  white-space: nowrap !important;
  box-sizing: border-box !important;
}

html body .fr-badge[class*="fr-cat-"]::before,
html body .fr-badge[class*="fr-cat-"]::after,
html body .fr-article-kicker[class*="fr-cat-"]::before,
html body .fr-article-kicker[class*="fr-cat-"]::after,
html body .fr-sidebar-kicker[class*="fr-cat-"]::before,
html body .fr-sidebar-kicker[class*="fr-cat-"]::after,
html body .fr-archive-badge[class*="fr-cat-"]::before,
html body .fr-archive-badge[class*="fr-cat-"]::after,
html body .fr-rankings-fresh-badge::before,
html body .fr-rankings-fresh-badge::after {
  content: none !important;
  display: none !important;
}

html body .fr-cat-aktualnosci { --fr-badge-accent: #E12626 !important; }
html body .fr-cat-testy { --fr-badge-accent: #1565C0 !important; }
html body .fr-cat-rankingi, html body .fr-rankings-fresh-badge { --fr-badge-accent: #1E8E3E !important; }
html body .fr-cat-poradniki { --fr-badge-accent: #5B3CC4 !important; }
html body .fr-cat-napedy { --fr-badge-accent: #FFC400 !important; }
html body .fr-cat-rynek { --fr-badge-accent: #F57C00 !important; }
html body .fr-cat-chinskie, html body .fr-cat-chinskie-marki { --fr-badge-accent: #8B1E3F !important; }

html body.tag .fr-archive-eyebrow,
html body.tag .fr-article-kicker,
html body.tag .fr-badge:not(.fr-archive-card .fr-badge) {
  --fr-badge-accent: #9AA0A6 !important;
}

/* =========================================================
   4RINGS — BADGES FINAL HARD LOCK V6
   Cel: szara prostokątna plakietka + jeden równy pasek 3px po lewej.
   Ten blok musi być na końcu pliku i przebija stare background:#1A1A1A!important.
   ========================================================= */

:root {
  --fr-badge-final-bg-v6: #f4f5f6;
  --fr-badge-final-border-v6: #dfe3e7;
  --fr-badge-final-text-v6: #1f2328;
  --fr-badge-final-tag-v6: #9aa0a6;

  --fr-cat-aktualnosci-v6: #E12626;
  --fr-cat-testy-v6: #1565C0;
  --fr-cat-rankingi-v6: #1E8E3E;
  --fr-cat-poradniki-v6: #5B3CC4;
  --fr-cat-napedy-v6: #FFC400;
  --fr-cat-rynek-v6: #F57C00;
  --fr-cat-chinskie-v6: #8B1E3F;
}

/* Fallbacki akcentów po realnych klasach */
html body .fr-cat-aktualnosci { --fr-badge-accent: var(--fr-cat-aktualnosci-v6) !important; }
html body .fr-cat-testy { --fr-badge-accent: var(--fr-cat-testy-v6) !important; }
html body .fr-cat-rankingi,
html body .fr-rankings-fresh-badge,
html body .fr-rankings-fresh-main-badge,
html body .fr-rankings-fresh-side-badge { --fr-badge-accent: var(--fr-cat-rankingi-v6) !important; }
html body .fr-cat-poradniki { --fr-badge-accent: var(--fr-cat-poradniki-v6) !important; }
html body .fr-cat-napedy { --fr-badge-accent: var(--fr-cat-napedy-v6) !important; }
html body .fr-cat-rynek { --fr-badge-accent: var(--fr-cat-rynek-v6) !important; }
html body .fr-cat-chinskie,
html body .fr-cat-chinskie-marki { --fr-badge-accent: var(--fr-cat-chinskie-v6) !important; }

/* HOME — najmocniejsze przejęcie czarnych plakietek z homepage.css */
html body .fr-homepage span.fr-badge.fr-badge[class*="fr-cat-"],
html body .fr-homepage a.fr-badge.fr-badge[class*="fr-cat-"],
html body .fr-homepage div.fr-badge.fr-badge[class*="fr-cat-"],
html body .fr-homepage .fr-badge.fr-badge[class*="fr-cat-"],
html body.fr-home-active .fr-homepage span.fr-badge.fr-badge[class*="fr-cat-"],
html body.fr-home-active .fr-homepage a.fr-badge.fr-badge[class*="fr-cat-"],
html body.fr-home-active .fr-homepage div.fr-badge.fr-badge[class*="fr-cat-"],
html body.fr-home-active .fr-homepage .fr-badge.fr-badge[class*="fr-cat-"],
html body.fr-home-active .fr-homepage .fr-hero .fr-badge.fr-badge,
html body.fr-home-active .fr-homepage .fr-hero-copy .fr-badge.fr-badge,
html body.fr-home-active .fr-homepage .fr-latest-grid .fr-badge.fr-badge,
html body.fr-home-active .fr-homepage .fr-news-copy .fr-badge.fr-badge,
html body.fr-home-active .fr-homepage .fr-card-copy .fr-badge.fr-badge,
html body.fr-home-active .fr-homepage article .fr-badge.fr-badge,
html body.fr-home-active .fr-homepage .fr-section .fr-badge.fr-badge,
html body.fr-home-active .fr-homepage .fr-home-worth-reading .fr-badge.fr-badge,
html body.fr-home-active .fr-homepage .fr-layout-latest .fr-badge.fr-badge,
html body.fr-home-active .fr-homepage .fr-rankings-fresh-badge.fr-rankings-fresh-badge,
html body .fr-homepage .fr-rankings-fresh-badge.fr-rankings-fresh-badge {
  --badge-bg: var(--fr-badge-final-bg-v6) !important;
  --badge-fg: var(--fr-badge-final-text-v6) !important;

  position: relative !important;
  isolation: auto !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  width: auto !important;
  max-width: max-content !important;
  min-width: 0 !important;
  height: auto !important;
  min-height: 22px !important;

  margin: 0 0 6px 0 !important;
  padding: 4px 8px 4px 8px !important;
  box-sizing: border-box !important;

  background: var(--fr-badge-final-bg-v6) !important;
  background-color: var(--fr-badge-final-bg-v6) !important;
  background-image: none !important;
  color: var(--fr-badge-final-text-v6) !important;

  border-top: 1px solid var(--fr-badge-final-border-v6) !important;
  border-right: 1px solid var(--fr-badge-final-border-v6) !important;
  border-bottom: 1px solid var(--fr-badge-final-border-v6) !important;
  border-left: 3px solid var(--fr-badge-accent, var(--fr-badge-final-tag-v6)) !important;

  border-radius: 0 !important;
  box-shadow: none !important;
  text-shadow: none !important;
  outline: none !important;
  overflow: hidden !important;
  filter: none !important;
  opacity: 1 !important;

  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif !important;
  font-size: 10px !important;
  line-height: 1.1 !important;
  font-weight: 800 !important;
  letter-spacing: .045em !important;
  text-transform: none !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  vertical-align: top !important;
}

/* SINGLE/SIDEBAR — przejęcie głównej plakietki nad H1 oraz modułów bocznych */
html body.single-post div.fr-article-kicker.fr-article-kicker[class*="fr-cat-"],
html body.single-post span.fr-article-kicker.fr-article-kicker[class*="fr-cat-"],
html body.single-post .fr-article-kicker.fr-article-kicker[class*="fr-cat-"],
html body.fr-single-template .fr-article-kicker.fr-article-kicker[class*="fr-cat-"],
html body.single-post span.fr-sidebar-kicker.fr-sidebar-kicker[class*="fr-cat-"],
html body.single-post .fr-sidebar-kicker.fr-sidebar-kicker[class*="fr-cat-"],
html body.fr-single-template .fr-sidebar-kicker.fr-sidebar-kicker[class*="fr-cat-"],
html body.single-post .fr-badge.fr-badge[class*="fr-cat-"],
html body.fr-single-template .fr-badge.fr-badge[class*="fr-cat-"] {
  --badge-bg: var(--fr-badge-final-bg-v6) !important;
  --badge-fg: var(--fr-badge-final-text-v6) !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  width: auto !important;
  max-width: max-content !important;
  min-width: 0 !important;
  height: auto !important;
  min-height: 22px !important;

  margin: 0 0 6px 0 !important;
  padding: 4px 8px 4px 8px !important;
  box-sizing: border-box !important;

  background: var(--fr-badge-final-bg-v6) !important;
  background-color: var(--fr-badge-final-bg-v6) !important;
  background-image: none !important;
  color: var(--fr-badge-final-text-v6) !important;

  border-top: 1px solid var(--fr-badge-final-border-v6) !important;
  border-right: 1px solid var(--fr-badge-final-border-v6) !important;
  border-bottom: 1px solid var(--fr-badge-final-border-v6) !important;
  border-left: 3px solid var(--fr-badge-accent, var(--fr-badge-final-tag-v6)) !important;

  border-radius: 0 !important;
  box-shadow: none !important;
  text-shadow: none !important;
  outline: none !important;
  overflow: hidden !important;
  filter: none !important;
  opacity: 1 !important;

  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif !important;
  font-size: 10px !important;
  line-height: 1.1 !important;
  font-weight: 800 !important;
  letter-spacing: .045em !important;
  text-transform: none !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}

/* ARCHIVE/TAG — ten sam kształt; tagi mają szary pasek w nagłówku */
html body.archive .fr-archive-badge.fr-archive-badge,
html body.archive .fr-archive-eyebrow.fr-archive-eyebrow,
html body.category .fr-archive-badge.fr-archive-badge,
html body.category .fr-archive-eyebrow.fr-archive-eyebrow,
html body.tag .fr-archive-badge.fr-archive-badge,
html body.tag .fr-archive-eyebrow.fr-archive-eyebrow {
  --badge-bg: var(--fr-badge-final-bg-v6) !important;
  --badge-fg: var(--fr-badge-final-text-v6) !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  max-width: max-content !important;
  min-height: 22px !important;
  margin: 0 0 6px 0 !important;
  padding: 4px 8px !important;

  background: var(--fr-badge-final-bg-v6) !important;
  background-color: var(--fr-badge-final-bg-v6) !important;
  background-image: none !important;
  color: var(--fr-badge-final-text-v6) !important;

  border-top: 1px solid var(--fr-badge-final-border-v6) !important;
  border-right: 1px solid var(--fr-badge-final-border-v6) !important;
  border-bottom: 1px solid var(--fr-badge-final-border-v6) !important;
  border-left: 3px solid var(--fr-badge-accent, var(--fr-badge-final-tag-v6)) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  text-shadow: none !important;

  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif !important;
  font-size: 10px !important;
  line-height: 1.1 !important;
  font-weight: 800 !important;
  letter-spacing: .045em !important;
  text-transform: none !important;
}

/* Paski tylko jako border-left — zero pseudo-elementów */
html body .fr-homepage .fr-badge::before,
html body .fr-homepage .fr-badge::after,
html body.single-post .fr-article-kicker::before,
html body.single-post .fr-article-kicker::after,
html body.single-post .fr-sidebar-kicker::before,
html body.single-post .fr-sidebar-kicker::after,
html body.single-post .fr-badge::before,
html body.single-post .fr-badge::after,
html body.archive .fr-archive-badge::before,
html body.archive .fr-archive-badge::after,
html body.archive .fr-archive-eyebrow::before,
html body.archive .fr-archive-eyebrow::after,
html body .fr-rankings-fresh-badge::before,
html body .fr-rankings-fresh-badge::after {
  content: none !important;
  display: none !important;
}

/* Kolor wymuszony po klasie na sam koniec */
html body .fr-cat-aktualnosci { border-left-color: var(--fr-cat-aktualnosci-v6) !important; }
html body .fr-cat-testy { border-left-color: var(--fr-cat-testy-v6) !important; }
html body .fr-cat-rankingi,
html body .fr-rankings-fresh-badge { border-left-color: var(--fr-cat-rankingi-v6) !important; }
html body .fr-cat-poradniki { border-left-color: var(--fr-cat-poradniki-v6) !important; }
html body .fr-cat-napedy { border-left-color: var(--fr-cat-napedy-v6) !important; }
html body .fr-cat-rynek { border-left-color: var(--fr-cat-rynek-v6) !important; }
html body .fr-cat-chinskie,
html body .fr-cat-chinskie-marki { border-left-color: var(--fr-cat-chinskie-v6) !important; }
html body.tag .fr-archive-eyebrow { border-left-color: var(--fr-badge-final-tag-v6) !important; }

/* Hover/focus nie przywraca czerni */
html body .fr-homepage a:hover .fr-badge,
html body .fr-homepage .fr-badge:hover,
html body.single-post a:hover .fr-badge,
html body.single-post .fr-article-kicker:hover,
html body.single-post .fr-sidebar-kicker:hover,
html body.archive a:hover .fr-archive-badge,
html body.archive .fr-archive-eyebrow:hover {
  background: var(--fr-badge-final-bg-v6) !important;
  background-color: var(--fr-badge-final-bg-v6) !important;
  color: var(--fr-badge-final-text-v6) !important;
  box-shadow: none !important;
  filter: none !important;
}


/* =========================================================
   4RINGS — BADGE CASE NORMAL FINAL v1
   Test: plakietki kategorii bez wymuszonych wersalików.
   Jeśli tekst kategorii w HTML jest zapisany normalnie, pokaże: Aktualności / Testy / Rynek.
   ========================================================= */
html body :where(.fr-badge,.fr-article-kicker,.fr-sidebar-kicker,.fr-sidebar-cat,.fr-sidebar-category,.fr-archive-badge,.fr-archive-eyebrow,.fr-rankings-fresh-badge,.fr-rankings-fresh-main-badge,.fr-rankings-fresh-side-badge,.fr-card-cat,.fr-card-kicker,.fr-post-cat,.fr-post-kicker,.fr-related-cat,.fr-related-kicker,.fr-article-related-kicker,.fr-category-badge,.fr-cat-badge,.fr-entry-cat,.fr-entry-category,.fr-single-kicker,.fr-single-category,.fr-day-label,.fr-section-kicker,.fr-section-label),
html body .fr-homepage :is(span,a,div)[class*="fr-cat-"],
html body.single-post :is(span,a,div)[class*="fr-cat-"],
html body.fr-single-template :is(span,a,div)[class*="fr-cat-"],
html body.archive :is(span,a,div)[class*="fr-cat-"],
html body.tag :is(span,a,div)[class*="fr-cat-"]{
  text-transform:none!important;
}
