/* ==========================================================================
   codziennik.info - main.css
   Author: Krystian Jasinski
   v1.0.1 - class names aligned with PHP templates
   ========================================================================== */

/* ---------- BASE ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: 'Segoe UI', Roboto, Arial, sans-serif;
	background: var(--c-page-bg, #f2f2f2);
	color: var(--c-text, #1a1a1a);
	line-height: 1.5;
	overflow-x: hidden;
	word-wrap: break-word;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--c-accent, #e10600); }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; padding: 0; }
h1, h2, h3, h4, h5, h6 { margin: 0; line-height: 1.25; }
ul { margin: 0; padding: 0; list-style: none; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.screen-reader-text {
	position: absolute !important;
	clip: rect(1px,1px,1px,1px);
	height: 1px; width: 1px;
	overflow: hidden;
}
.skip-link {
	position: absolute; left: -9999px; top: 0;
	background: var(--c-accent, #e10600); color: #fff;
	padding: 10px 14px; z-index: 9999;
}
.skip-link:focus { left: 10px; top: 10px; color: #fff; }

/* ---------- TOPBAR ---------- */
.topbar {
	background: var(--c-topbar-bg, #000);
	color: #ccc;
	font-size: 12px;
	padding: 6px 0;
}
.topbar-inner {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 20px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}
.topbar .left { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.topbar .tb-date { text-transform: capitalize; }
.topbar .weather { color: var(--c-accent, #e10600); font-weight: 600; }
.topbar-menu {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: .4px;
}
.topbar-menu a { color: #ccc; }
.topbar-menu a:hover { color: #fff; }
.topbar .right { display: flex; align-items: center; gap: 6px; }
.topbar .right a {
	display: inline-flex;
	align-items: center; justify-content: center;
	width: 24px; height: 24px;
	background: #222;
	border-radius: 50%;
	font-size: 11px;
	color: #fff;
	transition: background .2s;
}
.topbar .right a:hover { background: var(--c-accent, #e10600); color: #fff; }

/* ---------- HEADER ---------- */
.site-header {
	background: var(--c-header-bg, #fff);
	border-bottom: 3px solid var(--c-accent, #e10600);
}
.header-inner {
	max-width: 1280px;
	margin: 0 auto;
	padding: 16px 20px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
}
/* Logo base — rozmiar nadpisywany przez dynamic CSS z Customizera */
.site-branding .custom-logo,
.site-branding img { max-height: 50px; width: auto; }

/* ===== LOGO: WYRÓWNANIE DESKTOP ===== */

/* Desktop LEFT — domyślne (nic nie zmienia, logo jest pierwsze w flex) */
.logo-desktop-left .header-inner {
	justify-content: space-between;
}

/* Desktop CENTER — logo absolutnie centrowane w nagłówku */
.logo-desktop-center .header-inner {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
}
.logo-desktop-center .site-branding {
	grid-column: 2;
	justify-self: center;
}
.logo-desktop-center .header-search {
	grid-column: 1;
	justify-self: start;
}
.logo-desktop-center .mobile-menu-toggle {
	grid-column: 3;
	justify-self: end;
}

/* Desktop RIGHT — logo na końcu, wyszukiwarka po lewej */
.logo-desktop-right .header-inner {
	flex-direction: row-reverse;
	justify-content: flex-start;
}
.logo-desktop-right .site-branding {
	flex-shrink: 0;
}
.site-branding .logo { display: inline-block; font-size: 28px; font-weight: 900; letter-spacing: -1px; color: var(--c-text, #1a1a1a); }
.site-branding .logo .accent { color: var(--c-accent, #e10600); }

.header-search {
	display: flex;
	align-items: stretch;
	border: 1px solid #ddd;
	overflow: hidden;
}
.header-search input[type="search"] {
	border: 0;
	padding: 8px 12px;
	font: inherit;
	font-size: 13px;
	width: 220px;
	background: #fafafa;
	outline: none;
}
.header-search input[type="search"]:focus { background: #fff; }
.header-search button {
	background: var(--c-accent, #e10600);
	color: #fff;
	padding: 8px 14px;
	font-size: 14px;
	font-weight: 700;
}
.header-search button:hover { background: var(--c-accent-hover, #b80500); }

/* Mobile menu (hamburger) */
.mobile-menu-toggle {
	display: none;
	width: 42px; height: 42px;
	background: var(--c-accent, #e10600);
	border-radius: 4px;
	position: relative;
}
.mobile-menu-toggle span {
	position: absolute;
	left: 10px; right: 10px;
	height: 2px;
	background: #fff;
	transition: transform .25s, opacity .25s;
}
.mobile-menu-toggle span:nth-child(1) { top: 13px; }
.mobile-menu-toggle span:nth-child(2) { top: 20px; }
.mobile-menu-toggle span:nth-child(3) { top: 27px; }
.mobile-menu-toggle[aria-expanded="true"] span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.mobile-menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle[aria-expanded="true"] span:nth-child(3) { top: 20px; transform: rotate(-45deg); }

/* ---------- PRIMARY NAV ---------- */
.primary-nav {
	background: var(--c-nav-bg, #000);
	position: relative;
}
.primary-nav.is-sticky {
	position: sticky; top: 0; z-index: 90;
	box-shadow: 0 2px 8px rgba(0,0,0,.25);
}
.nav-wrap { position: relative; }
.nav-inner {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 20px;
}
.nav-menu {
	display: flex;
	flex-wrap: nowrap;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}
.nav-menu::-webkit-scrollbar { display: none; }
.nav-menu > li { flex: 0 0 auto; position: relative; }
.nav-menu > li > a {
	display: block;
	padding: 14px 18px;
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .4px;
	white-space: nowrap;
	position: relative;
	transition: background .22s, color .22s;
}
/* gradient hover + aktywna karta — wyraźny czerwony gradient od dołu */
.nav-menu > li > a:hover {
	background: linear-gradient(to bottom, rgba(200,0,0,.12) 0%, rgba(225,6,0,.55) 100%);
	color: #fff;
}
.nav-menu > li.current-menu-item > a,
.nav-menu > li.current_page_item > a {
	background: linear-gradient(to bottom, rgba(200,0,0,.18) 0%, rgba(225,6,0,.70) 100%);
	color: #fff;
}
/* Submenu — desktop (hover) */
.nav-menu .sub-menu {
	display: none;
	position: absolute;
	top: 100%; left: 0;
	min-width: 220px;
	background: #111;
	z-index: 80;
	box-shadow: 0 6px 20px rgba(0,0,0,.35);
	border-top: 2px solid var(--c-accent, #e10600);
}
.nav-menu > li:hover > .sub-menu { display: block; }
.nav-menu .sub-menu li a {
	display: block;
	padding: 10px 16px;
	color: #ddd;
	font-size: 13px;
	border-bottom: 1px solid #1e1e1e;
	white-space: nowrap;
	transition: background .18s;
}
.nav-menu .sub-menu li a:hover { background: var(--c-accent, #e10600); color: #fff; }
/* Submenu — mobile (toggle JS) */
.nav-menu > li > .submenu-toggle {
	display: none;
	position: absolute;
	right: 0; top: 0; bottom: 0;
	width: 44px;
	background: none;
	border: none;
	border-left: 1px solid rgba(255,255,255,.1);
	color: #fff;
	cursor: pointer;
	font-size: 18px;
	line-height: 1;
	transition: background .18s;
}
.nav-menu > li > .submenu-toggle:hover { background: rgba(225,6,0,.3); }

/* Scroll indicator on mobile */
.nav-wrap::after {
	content: "";
	position: absolute;
	top: 0; right: 0; bottom: 0;
	width: 40px;
	background: linear-gradient(to right, rgba(0,0,0,0), var(--c-nav-bg, #000));
	pointer-events: none;
	opacity: 0;
	transition: opacity .2s;
}
.nav-wrap.can-scroll::after { opacity: 1; }

/* Nav overlay backdrop (mobile slide panel) */
.nav-overlay {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(0,0,0,.55);
	z-index: 200;
	cursor: pointer;
}
.nav-overlay.is-visible { display: block; }

/* ---------- BREAKING — continuous scroll ticker ---------- */
.breaking {
	--bn-bar-h: 38px;
	background: var(--c-breaking-bg, #e10600);
	color: #fff;
	padding: 0;
	font-size: 14px;
	overflow: hidden;
	height: var(--bn-bar-h);
	display: flex;
	align-items: stretch;
}
.breaking-inner {
	max-width: 1280px;
	width: 100%;
	margin: 0 auto;
	padding: 0 20px;
	display: flex;
	align-items: stretch;
	height: 38px;
}
.breaking .label {
	background: #000;
	color: #fff;
	font-weight: 800;
	padding: 5px 12px;
	font-size: 12px;
	letter-spacing: 1px;
	flex-shrink: 0;
	text-transform: uppercase;
	display: flex;
	align-items: center;
	align-self: center;
	white-space: nowrap;
	line-height: 1;
}
/* Continuous scroll track */
.breaking-track {
	flex: 1;
	overflow: hidden;
	display: flex;
	align-items: center;
	position: relative;
}
.breaking-scroll {
	display: inline-flex;   /* inline-flex zapewnia że szerokość = treść */
	align-items: center;
	white-space: nowrap;
	animation: breaking-scroll var(--bn-speed, 40s) linear infinite;
	will-change: transform;
}
/* Zatrzymaj przy najechaniu na cały scroll lub na link */
.breaking-track:hover .breaking-scroll,
.breaking-scroll:hover {
	animation-play-state: paused;
}
/* Animacja: przesuń o 1/8 całości (1 komplet z 8 powtórzeń) → płynna pętla */
@keyframes breaking-scroll {
	0%   { transform: translateX(-12.5%); }
	100% { transform: translateX(0); }
}
.bn-item {
	display: inline-flex;
	align-items: center;
	font-weight: 600;
	font-size: 14px;
	padding: 0 20px;        /* większy odstęp od separatora */
}
.bn-item a {
	color: #fff;
	text-decoration: none;
	font-weight: 700;
}
/* Hover: biały pogrubiony, nie czerwony */
.bn-item a:hover,
.breaking a:hover {
	color: #fff;
	text-decoration: underline;
	text-decoration-color: rgba(255,255,255,.7);
}
.bn-separator {
	display: inline-flex;
	align-items: center;
	margin: 0 8px;
	opacity: .9;
	flex-shrink: 0;
}
/* Logo separator — responsywna wysokość do paska */
.bn-separator img {
	height: calc(var(--bn-bar-h, 38px) - 14px); /* 38px pasek − 14px padding */
	max-height: 24px;
	min-height: 12px;
	width: auto;
	max-width: 100px;
	display: block;
	object-fit: contain;
	filter: brightness(0) invert(1);
}
.bn-sep-dot {
	font-size: 8px;
	opacity: .55;
	color: #fff;
}

/* ---------- BREADCRUMBS ---------- */
.breadcrumbs {
	font-size: 12px;
	color: var(--c-text-muted, #666);
	padding: 10px 0;
	background: #fff;
	border-bottom: 1px solid #eee;
}
.breadcrumbs-inner {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 20px;
}
.breadcrumbs a:hover { color: var(--c-accent, #e10600); }
.breadcrumbs .sep { margin: 0 6px; opacity: .5; }
.breadcrumbs .current { color: var(--c-text, #1a1a1a); font-weight: 600; }

/* ---------- LAYOUT ---------- */
.site-main { padding: 20px 0 40px; }
.layout {
	display: grid;
	grid-template-columns: 1fr 320px;
	gap: 30px;
}
.main-column { min-width: 0; }

/* ---------- HERO SECTION (front-page) ---------- */
.hero {
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: 16px;
	margin-bottom: 30px;
}
.hero-main {
	position: relative;
	background: #000;
	overflow: hidden;
	min-height: 460px;
	display: block;
	color: #fff;
}
.hero-main .hero-bg {
	position: absolute; inset: 0;
}
.hero-main .hero-bg img {
	width: 100%; height: 100%;
	object-fit: cover;
	opacity: .7;
}
.hero-main .content {
	position: absolute;
	left: 0; right: 0; bottom: 0;
	padding: 32px 24px 24px;
	z-index: 2;
	background: linear-gradient(to top, rgba(0,0,0,.97) 0%, rgba(0,0,0,.82) 45%, rgba(0,0,0,0) 100%);
}
.hero-main h1 {
	font-size: 30px;
	font-weight: 800;
	margin: 8px 0 6px;
	line-height: 1.2;
}
.hero-main p { font-size: 14px; margin: 0 0 8px; opacity: .9; }
.hero-main .meta { font-size: 12px; opacity: .8; }

.hero-side {
	display: grid;
	grid-template-rows: 1fr 1fr;
	gap: 16px;
}
.hero-side-card {
	position: relative;
	background: #000;
	overflow: hidden;
	min-height: 222px;
	display: block;
	color: #fff;
}
.hero-side-card .hero-bg { position: absolute; inset: 0; }
.hero-side-card .hero-bg img {
	width: 100%; height: 100%;
	object-fit: cover;
	opacity: .7;
}
.hero-side-card .content {
	position: absolute;
	left: 0; right: 0; bottom: 0;
	padding: 14px 16px;
	z-index: 2;
	background: linear-gradient(to top, rgba(0,0,0,.9), rgba(0,0,0,0));
}
.hero-side-card h3 {
	font-size: 16px;
	font-weight: 700;
	margin: 5px 0 0;
	line-height: 1.3;
}

/* Category tag (inside hero/cards) */
.cat, .cat-tag, .article-cat {
	display: inline-block;
	background: var(--c-accent, #e10600);
	color: #fff !important;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .8px;
	padding: 3px 8px;
}

/* ---------- SECTION TITLE ---------- */
.section-title {
	font-size: 20px;
	text-transform: uppercase;
	letter-spacing: .5px;
	border-bottom: 2px solid var(--c-accent, #e10600);
	padding-bottom: 6px;
	margin: 30px 0 18px;
}

/* ---------- CARDS GRID ---------- */
.cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
	margin-bottom: 30px;
}
.card {
	background: #fff;
	box-shadow: 0 1px 3px rgba(0,0,0,.08);
	overflow: hidden;
	transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,.12); }
.card-link { display: block; color: inherit; }
.card-link:hover { color: inherit; }
.card-thumb {
	position: relative;
	aspect-ratio: 3 / 2;
	background: #eee;
	overflow: hidden;
}
.card-thumb img {
	width: 100%; height: 100%;
	object-fit: cover;
	transition: transform .4s;
}
.card:hover .card-thumb img { transform: scale(1.05); }
.card-thumb .cat {
	position: absolute;
	top: 10px; left: 10px;
	z-index: 2;
}
.card-thumb-placeholder {
	width: 100%; height: 100%;
	background: linear-gradient(135deg, #222, #444);
}
.card-body { padding: 14px; }
.card-body h3 {
	font-size: 16px;
	line-height: 1.3;
	font-weight: 700;
	margin: 0 0 8px;
}
.card-body .meta {
	font-size: 11px;
	color: var(--c-text-muted, #666);
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}

/* ---------- CATEGORY STRIP (front-page) ---------- */
.cat-strip { margin: 30px 0; }
.cat-strip-header {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	border-bottom: 2px solid var(--c-accent, #e10600);
	padding-bottom: 6px;
	margin-bottom: 16px;
}
.cat-strip-header h2 {
	font-size: 20px;
	text-transform: uppercase;
	letter-spacing: .5px;
}
.cat-strip-header a {
	font-size: 12px;
	color: var(--c-text-muted, #666);
	font-weight: 600;
}
.cat-strip-header a:hover { color: var(--c-accent, #e10600); }

.cat-strip-grid {
	display: grid;
	grid-template-columns: 1.6fr 1fr;
	gap: 16px;
}
.cat-big {
	position: relative;
	display: block;
	min-height: 320px;
	background: #000;
	color: #fff;
	overflow: hidden;
}
.cat-big .hero-bg { position: absolute; inset: 0; }
.cat-big .hero-bg img {
	width: 100%; height: 100%;
	object-fit: cover;
	opacity: .7;
}
.cat-big .content {
	position: absolute;
	left: 0; right: 0; bottom: 0;
	padding: 28px 20px 20px;
	z-index: 2;
	background: linear-gradient(to top, rgba(0,0,0,.97) 0%, rgba(0,0,0,.80) 45%, rgba(0,0,0,0) 100%);
}
.cat-big h3 {
	font-size: 22px;
	font-weight: 800;
	line-height: 1.25;
	margin: 6px 0 0;
}
.cat-small-list { display: flex; flex-direction: column; gap: 10px; }
.cat-small-item {
	display: flex;
	gap: 10px;
	background: #fff;
	padding: 10px;
	box-shadow: 0 1px 3px rgba(0,0,0,.06);
	align-items: flex-start;
	transition: box-shadow .2s;
}
.cat-small-item:hover { box-shadow: 0 4px 10px rgba(0,0,0,.1); }
.cat-small-thumb {
	flex: 0 0 90px;
	aspect-ratio: 3 / 2;
	overflow: hidden;
	background: #eee;
}
.cat-small-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cat-small-item h4 { font-size: 13px; line-height: 1.3; font-weight: 700; margin: 0 0 4px; }
.cat-small-item .meta { font-size: 11px; color: var(--c-text-muted, #666); }

/* ---------- ARTICLE / SINGLE ---------- */
.article-header { background: #fff; padding: 24px 30px 16px; }
.article-cat {
	display: inline-block;
	margin-bottom: 10px;
}

.article-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	align-items: center;
	font-size: 12px;
	color: var(--c-text-muted, #666);
	margin: 6px 0 12px;
}
.article-meta .author-avatar {
	width: 34px; height: 34px;
	border-radius: 50%;
	background: var(--c-accent, #e10600);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
}
.article-meta .author-info { display: flex; flex-direction: column; }
.article-meta .author-info .by { font-size: 10px; text-transform: uppercase; letter-spacing: .5px; opacity: .7; }
.article-meta .author-info strong { font-size: 13px; color: var(--c-text, #1a1a1a); font-weight: 700; }
.article-meta .date { color: var(--c-text-muted, #666); }

.article-actions {
	margin-left: auto;
	display: flex;
	gap: 6px;
}
.action-btn {
	width: 32px; height: 32px;
	border: 1px solid #ddd;
	border-radius: 4px;
	background: #fff;
	font-size: 12px;
	color: var(--c-text-muted, #666);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: all .2s;
}
.action-btn:hover { border-color: var(--c-accent, #e10600); color: var(--c-accent, #e10600); }
.action-btn.is-saved { background: var(--c-accent, #e10600); color: #fff; border-color: var(--c-accent, #e10600); }

.article-title {
	font-size: 34px;
	font-weight: 900;
	line-height: 1.15;
	letter-spacing: -.5px;
	margin: 8px 0 0;
}

.article-hero-img {
	margin: 0;
	background: #000;
}
.article-hero-img img { width: 100%; max-height: 520px; object-fit: cover; }
.article-hero-img .caption {
	padding: 8px 30px;
	font-size: 12px;
	color: var(--c-text-muted, #666);
	background: #fff;
}

.article-lead-box {
	border-left: 4px solid var(--c-accent, #e10600);
	background: #fafafa;
	padding: 16px 20px;
	margin: 0;
}
.article-lead {
	margin: 0;
	font-size: 18px;
	line-height: 1.55;
	font-weight: 600;
	color: #222;
}

.article-widget-zone { padding: 10px 30px; background: #fff; }
.article-widget-zone:empty { display: none; }

.article-body {
	background: #fff;
	padding: 20px 30px 30px;
	font-size: 16px;
	line-height: 1.75;
}
.article-body p { margin: 0 0 18px; }
/* Pierwszy akapit = wizualny lead (większa czcionka + drop cap) */
.article-body > p:first-child {
	font-size: 18px;
	line-height: 1.65;
	color: var(--c-text, #1a1a1a);
	font-weight: 400;
	margin-bottom: 24px;
	padding-bottom: 20px;
	border-bottom: 1px solid #f0f0f0;
}
.article-body > p:first-child::first-letter {
	font-size: 72px;
	font-weight: 900;
	color: var(--c-accent, #e10600);
	float: left;
	line-height: 0.82;
	padding: 6px 14px 0 0;
	font-family: inherit;
}
.article-body h2 {
	font-size: 24px;
	margin: 26px 0 12px;
	padding-left: 12px;
	border-left: 4px solid var(--c-accent, #e10600);
}
.article-body h3 { font-size: 20px; margin: 22px 0 10px; }
.article-body a { color: var(--c-accent, #e10600); text-decoration: underline; }
/* --- Blockquote — wariant D --- */
.article-body blockquote {
	position: relative;
	background: #fafafa;
	border-left: none;
	padding: 26px 32px 26px 36px;
	margin: 28px 0;
	font-style: italic;
	font-size: 19px;
	line-height: 1.65;
	color: #333;
	overflow: hidden;
	border-radius: 2px;
	box-shadow: 0 1px 8px rgba(0,0,0,.07);
}
/* gradient lewy pasek */
.article-body blockquote::before {
	content: '';
	position: absolute;
	left: 0; top: 0; bottom: 0;
	width: 5px;
	background: linear-gradient(180deg, var(--c-accent, #e10600), #8b0000);
	border-radius: 2px 0 0 2px;
}
.article-body blockquote p { margin: 0; }
.article-body blockquote cite,
.article-body blockquote footer {
	display: block;
	margin-top: 14px;
	font-size: 13px;
	font-style: normal;
	color: #888;
	font-weight: 600;
	letter-spacing: 0.04em;
}
.article-body blockquote cite::before,
.article-body blockquote footer::before {
	content: '— ';
	color: var(--c-accent, #e10600);
}
@media (max-width: 600px) {
	.article-body blockquote {
		padding: 20px 20px 20px 28px;
		font-size: 17px;
	}
}
/* Blockquote — fix toolbar clipping in WP block editor */
.editor-styles-wrapper blockquote,
.editor-styles-wrapper .wp-block-quote {
	overflow: visible;
}
.article-body ul, .article-body ol { margin: 0 0 18px 24px; }
.article-body img { margin: 16px 0; }

.post-pagination {
	margin: 20px 0;
	padding: 12px;
	background: #fafafa;
	font-size: 13px;
}
.post-pagination .page-num {
	display: inline-block;
	padding: 4px 10px;
	background: #fff;
	border: 1px solid #ddd;
	margin: 0 3px;
}

.article-tags {
	background: #fff;
	padding: 12px 30px;
	border-top: 1px solid #eee;
}
.article-tags a {
	display: inline-block;
	background: #f0f0f0;
	color: #444;
	padding: 4px 10px;
	margin: 2px 4px 2px 0;
	font-size: 12px;
}
.article-tags a:hover { background: var(--c-accent, #e10600); color: #fff; }

.share-bar {
	background: #000;
	color: #fff;
	padding: 20px 30px;
	display: flex;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
}
.share-bar > strong {
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .5px;
	white-space: nowrap;
	color: #fff;
}
.share-bar a {
	background: var(--c-accent, #e10600);
	color: #fff;
	padding: 10px 20px;
	font-size: 13px;
	font-weight: 700;
	border-radius: 3px;
	text-decoration: none;
	transition: background .2s, color .2s;
	white-space: nowrap;
}
.share-bar a:hover { background: #fff; color: var(--c-accent, #e10600); }

.author-box {
	background: #fafafa;
	border-left: 4px solid var(--c-accent, #e10600);
	padding: 18px 20px;
	margin: 20px 0;
	display: flex;
	gap: 16px;
	align-items: flex-start;
}
.author-box .avatar-big {
	width: 70px; height: 70px;
	border-radius: 50%;
	overflow: hidden;
	flex-shrink: 0;
	background: #ddd;
}
.author-box .avatar-big img { width: 100%; height: 100%; object-fit: cover; }
.author-box .title {
	font-size: 10px;
	text-transform: uppercase;
	letter-spacing: .6px;
	color: var(--c-text-muted, #666);
}
.author-box h3 { font-size: 16px; margin: 2px 0 6px; }
.author-box p { font-size: 13px; color: var(--c-text-muted, #666); margin: 0; }

/* Related */
.related { background: #fff; padding: 20px 30px; margin-top: 20px; }
.related-title {
	font-size: 18px;
	text-transform: uppercase;
	letter-spacing: .5px;
	border-left: 4px solid var(--c-accent, #e10600);
	padding-left: 10px;
	margin: 0 0 14px;
}
.related-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 14px;
}
.related-card {
	display: block;
	background: #fafafa;
	transition: transform .2s;
}
.related-card:hover { transform: translateY(-2px); color: inherit; }
.related-thumb {
	aspect-ratio: 3 / 2;
	overflow: hidden;
	background: #eee;
}
.related-thumb img { width: 100%; height: 100%; object-fit: cover; }
.related-body { padding: 10px 12px; }
.related-body h4 { font-size: 13px; line-height: 1.3; font-weight: 700; margin: 0 0 4px; }
.related-body .meta { font-size: 11px; color: var(--c-text-muted, #666); }

/* ---------- COMMENTS ---------- */
.comments-area { background: #fff; padding: 20px 30px; margin-top: 20px; }
.comments-title {
	font-size: 18px;
	border-left: 4px solid var(--c-accent, #e10600);
	padding-left: 10px;
	margin: 0 0 14px;
}
.comment-list { list-style: none; padding: 0; margin: 0; }
.comment-list li { padding: 14px 0; border-bottom: 1px solid #eee; }
.comment-list li:last-child { border-bottom: 0; }
.comment-author { font-weight: 700; font-size: 14px; }
.comment-meta { font-size: 11px; color: var(--c-text-muted, #666); margin-bottom: 6px; }
.comment-form label { display: block; font-size: 12px; font-weight: 600; margin: 8px 0 4px; }
.comment-form input, .comment-form textarea {
	width: 100%; padding: 8px 10px;
	border: 1px solid #ddd;
	font: inherit;
	background: #fafafa;
}
.comment-form input:focus, .comment-form textarea:focus { outline: none; border-color: var(--c-accent, #e10600); background: #fff; }
.comment-form input[type="submit"],
.comment-form .submit {
	background: var(--c-accent, #e10600);
	color: #fff;
	padding: 10px 20px;
	font-weight: 700;
	text-transform: uppercase;
	font-size: 13px;
	letter-spacing: .5px;
	border: 0;
	cursor: pointer;
	margin-top: 10px;
	width: auto;
}
.comment-form input[type="submit"]:hover { background: var(--c-accent-hover, #b80500); }

/* ---------- CATEGORY PAGE ---------- */
.cat-hero {
	background: linear-gradient(135deg, var(--cat-color, var(--c-accent, #e10600)), rgba(0,0,0,.4));
	background-color: var(--cat-color, var(--c-accent, #e10600));
	color: #fff;
	padding: 40px 0 30px;
	margin-bottom: 0;
}
.cat-hero-inner {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 20px;
}
.cat-hero h1 {
	font-size: 42px;
	font-weight: 900;
	letter-spacing: -1px;
	text-transform: uppercase;
	margin: 0 0 8px;
}
.cat-hero-desc { font-size: 15px; opacity: .9; max-width: 760px; }
.cat-hero .stats {
	margin-top: 12px;
	font-size: 12px;
	opacity: .85;
	text-transform: uppercase;
	letter-spacing: .6px;
}

.subcats {
	background: #fff;
	border-bottom: 1px solid #eee;
	margin-bottom: 24px;
}
.subcats-inner {
	max-width: 1280px;
	margin: 0 auto;
	padding: 12px 20px;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.subcats-inner a {
	display: inline-block;
	padding: 6px 14px;
	font-size: 13px;
	font-weight: 600;
	color: var(--c-text, #1a1a1a);
	background: #f2f2f2;
	border: 1px solid #eee;
	transition: all .2s;
}
.subcats-inner a:hover,
.subcats-inner a.active {
	background: var(--c-accent, #e10600);
	color: #fff;
	border-color: var(--c-accent, #e10600);
}

.featured {
	display: grid;
	grid-template-columns: 1.4fr 1fr;
	gap: 0;
	background: #fff;
	margin-bottom: 24px;
	box-shadow: 0 1px 3px rgba(0,0,0,.08);
	overflow: hidden;
}
.featured-img {
	position: relative;
	min-height: 300px;
	background: #000;
}
.featured-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.featured-img .cat-tag { position: absolute; top: 16px; left: 16px; z-index: 2; }
.featured-content {
	padding: 24px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.featured-content h2 { font-size: 26px; line-height: 1.2; font-weight: 800; margin: 0 0 10px; }
.featured-content p { color: var(--c-text-muted, #666); font-size: 14px; margin-bottom: 10px; }
.featured-content .meta { font-size: 12px; color: var(--c-text-muted, #666); }

.articles-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 18px;
	margin-bottom: 30px;
}
.article-card {
	background: #fff;
	box-shadow: 0 1px 3px rgba(0,0,0,.08);
	overflow: hidden;
	transition: transform .2s, box-shadow .2s;
}
.article-card:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,.12); }
.article-card-link { display: flex; flex-direction: column; color: inherit; height: 100%; }
.article-card-link:hover { color: inherit; }
.article-card-thumb {
	position: relative;
	aspect-ratio: 3 / 2;
	background: #eee;
	overflow: hidden;
}
.article-card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.article-card-thumb .cat-tag { position: absolute; top: 10px; left: 10px; z-index: 2; }
.article-card-body {
	padding: 14px;
	display: flex;
	flex-direction: column;
	flex: 1;
	justify-content: space-between;
	gap: 10px;
}
.article-card-body h3 { font-size: 17px; line-height: 1.3; font-weight: 700; margin: 0 0 6px; }
.article-card-body p { font-size: 13px; color: var(--c-text-muted, #666); margin: 0 0 8px; }
.article-card-body .meta { font-size: 11px; color: var(--c-text-muted, #666); display: flex; gap: 10px; }

/* ---------- PAGINATION ---------- */
.pagination {
	display: flex;
	gap: 4px;
	justify-content: center;
	margin: 30px 0;
	flex-wrap: wrap;
}
.pagination .page-numbers {
	display: inline-block;
	padding: 8px 14px;
	background: #fff;
	color: var(--c-text, #1a1a1a);
	border: 1px solid #ddd;
	font-size: 13px;
	font-weight: 600;
}
.pagination .page-numbers:hover,
.pagination .page-numbers.current {
	background: var(--c-accent, #e10600);
	color: #fff;
	border-color: var(--c-accent, #e10600);
}

/* ---------- SIDEBAR / WIDGETS ---------- */
.widget-area { min-width: 0; }
.widget {
	background: #fff;
	padding: 18px;
	margin-bottom: 20px;
	box-shadow: 0 1px 3px rgba(0,0,0,.06);
}
/* Widgety w stopce — przezroczyste tło, kolory dziedziczone po stopce */
.footer-col .widget,
.footer-col .footer-widget {
	background: transparent;
	box-shadow: none;
	padding: 0;
	color: #bbb;
}
.footer-col .widget-title {
	color: #fff;
	border-color: var(--c-accent, #e10600);
}
.footer-col .widget ul { list-style: none; padding: 0; margin: 0; }
.footer-col .widget li {
	padding: 7px 0;
	border-bottom-color: #2a2a2a;
	color: #bbb;
	font-size: 13px;
}
.footer-col .widget li:last-child { border-bottom: none; }
.footer-col .widget a { color: #bbb; }
.footer-col .widget a:hover { color: var(--c-accent, #e10600); }
.footer-col .widget p { color: #bbb; font-size: 13px; }
.footer-col .widget input[type="text"],
.footer-col .widget input[type="email"] {
	background: #1a1a1a;
	border-color: #333;
	color: #fff;
}
.widget-title {
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: .5px;
	border-left: 4px solid var(--c-accent, #e10600);
	padding-left: 10px;
	margin: 0 0 14px;
}
.widget ul { list-style: none; padding: 0; margin: 0; }
.widget li { padding: 8px 0; border-bottom: 1px solid #eee; font-size: 14px; }
.widget li:last-child { border-bottom: 0; }
.widget a:hover { color: var(--c-accent, #e10600); }

.popular-list { counter-reset: pop; }
.popular-list li {
	display: flex;
	gap: 10px;
	counter-increment: pop;
	align-items: flex-start;
}
.popular-list li::before {
	content: counter(pop);
	flex: 0 0 28px;
	font-size: 24px;
	font-weight: 900;
	color: var(--c-accent, #e10600);
	line-height: 1;
}
.popular-list .pop-title { font-size: 13px; font-weight: 600; line-height: 1.3; }
.popular-list .pop-meta { font-size: 11px; color: var(--c-text-muted, #666); margin-top: 2px; }

.newsletter-widget p { font-size: 13px; color: var(--c-text-muted, #666); margin: 0 0 10px; }
.newsletter-widget input[type="email"] {
	width: 100%;
	padding: 10px;
	border: 1px solid #ddd;
	margin-bottom: 8px;
	font: inherit;
}
.newsletter-widget button {
	width: 100%;
	background: var(--c-accent, #e10600);
	color: #fff;
	padding: 10px;
	font-weight: 700;
	text-transform: uppercase;
	font-size: 12px;
	letter-spacing: .5px;
}
.newsletter-widget button:hover { background: var(--c-accent-hover, #b80500); }

.ad-widget {
	text-align: center;
	background: #f5f5f5;
	border: 1px dashed #bbb;
	padding: 20px;
	font-size: 12px;
	color: #888;
	min-height: 100px;
}

/* ---------- 404 ---------- */
.error-page { padding: 0; }
.hero-404 {
	background: linear-gradient(135deg, #000, #1a1a1a);
	color: #fff;
	padding: 60px 0;
}
.hero-404-inner {
	max-width: 760px;
	margin: 0 auto;
	padding: 0 20px;
	text-align: center;
}
.error-code {
	font-size: 140px;
	font-weight: 900;
	color: var(--c-accent, #e10600);
	line-height: 1;
	letter-spacing: -6px;
	margin: 0 0 10px;
}
.error-stamp {
	font-size: 28px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .5px;
	margin: 0 0 18px;
}
.hero-404 p { font-size: 15px; opacity: .9; margin: 0 0 20px; }
.error-search {
	display: flex;
	max-width: 480px;
	margin: 0 auto 20px;
}
.error-search input[type="search"] {
	flex: 1;
	padding: 12px 14px;
	border: 0;
	font: inherit;
}
.error-search button {
	padding: 12px 20px;
	background: var(--c-accent, #e10600);
	color: #fff;
	font-weight: 700;
	text-transform: uppercase;
}
.error-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 18px; }
.btn {
	display: inline-block;
	padding: 12px 24px;
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .5px;
	border: 1px solid transparent;
	transition: all .2s;
}
.btn-primary { background: var(--c-accent, #e10600); color: #fff; border-color: var(--c-accent, #e10600); }
.btn-primary:hover { background: var(--c-accent-hover, #b80500); color: #fff; }
.btn-secondary { background: transparent; color: #fff; border-color: #fff; }
.btn-secondary:hover { background: #fff; color: #000; }

.suggestions, .quick-links {
	background: #fff;
	padding: 30px 0;
}
.suggestions-inner, .quick-links-inner {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 20px;
}
.suggestions h2, .quick-links h2 {
	font-size: 20px;
	text-transform: uppercase;
	letter-spacing: .5px;
	border-bottom: 2px solid var(--c-accent, #e10600);
	padding-bottom: 6px;
	margin: 0 0 18px;
}
.suggestions-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
}
.suggest-card {
	display: block;
	background: #fafafa;
	box-shadow: 0 1px 3px rgba(0,0,0,.08);
	overflow: hidden;
	transition: transform .2s;
}
.suggest-card:hover { transform: translateY(-2px); color: inherit; }
.suggest-card .thumb {
	aspect-ratio: 3 / 2;
	position: relative;
	background: #eee;
	overflow: hidden;
}
.suggest-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.suggest-card .thumb .cat { position: absolute; top: 10px; left: 10px; z-index: 2; }
.suggest-card .body { padding: 12px; }
.suggest-card h3 { font-size: 14px; line-height: 1.3; font-weight: 700; margin: 0 0 6px; }
.suggest-card .meta { font-size: 11px; color: var(--c-text-muted, #666); }

/* ---------- FOOTER ---------- */
.site-footer {
	background: var(--c-footer-bg, #0a0a0a);
	color: #bbb;
	padding: 40px 0 0;
	margin-top: 40px;
}
.footer-inner {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 20px;
}
.footer-cols {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 28px;
	padding-bottom: 30px;
	border-bottom: 1px solid #222;
}
.footer-col h4, .footer-nav-title {
	color: #fff;
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: .5px;
	margin: 0 0 14px;
	border-left: 3px solid var(--c-accent, #e10600);
	padding-left: 10px;
}
.footer-col p, .footer-col li { font-size: 13px; line-height: 1.7; margin: 0; }
.footer-col a { color: #bbb; }
.footer-col a:hover { color: var(--c-accent, #e10600); }
.footer-nav-title { margin-top: 24px; }
.footer-brand .logo {
	font-size: 24px;
	font-weight: 900;
	color: #fff;
	letter-spacing: -1px;
}
.footer-brand .logo .accent { color: var(--c-accent, #e10600); }
.footer-brand img { max-height: 40px; filter: brightness(0) invert(1); margin-bottom: 12px; }
.footer-socials {
	display: flex;
	gap: 8px;
	margin-top: 12px;
}
.footer-socials a {
	width: 34px; height: 34px;
	background: #222;
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	font-size: 12px;
}
.footer-socials a:hover { background: var(--c-accent, #e10600); }
.footer-bottom {
	padding: 16px 0;
	font-size: 12px;
	color: #777;
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
}
.footer-credits a { color: var(--c-accent, #e10600); }

/* ---------- PAGE (static) ---------- */
.page-content {
	background: #fff;
	padding: 30px;
	box-shadow: 0 1px 3px rgba(0,0,0,.06);
}
.page-content h1 { font-size: 32px; margin: 0 0 18px; letter-spacing: -.5px; }
.page-content p { font-size: 16px; line-height: 1.75; margin: 0 0 16px; }

/* ---------- SEARCH FORM (default) ---------- */
.search-form { display: flex; max-width: 520px; margin: 0 auto 30px; }
.search-form input[type="search"] { flex: 1; padding: 10px 14px; border: 1px solid #ddd; font: inherit; }
.search-form button { padding: 10px 20px; background: var(--c-accent, #e10600); color: #fff; font-weight: 700; text-transform: uppercase; }
.search-form button:hover { background: var(--c-accent-hover, #b80500); }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 1024px) {
	.layout { grid-template-columns: 1fr; }
	.cards, .suggestions-grid, .related-grid { grid-template-columns: repeat(2, 1fr); }
	.footer-cols { grid-template-columns: repeat(2, 1fr); }
	.hero { grid-template-columns: 1fr; }
	.hero-side { grid-template-columns: 1fr 1fr; grid-template-rows: none; }
	.cat-strip-grid { grid-template-columns: 1fr; }
	.featured { grid-template-columns: 1fr; }
	.featured-img { min-height: 220px; }
	.articles-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
	.container, .topbar-inner, .header-inner, .nav-inner, .breaking-inner, .breadcrumbs-inner, .cat-hero-inner, .subcats-inner, .footer-inner, .suggestions-inner, .hero-404-inner { padding-left: 14px; padding-right: 14px; }

	.topbar { font-size: 11px; padding: 5px 0; }
	.topbar-inner { flex-direction: column; align-items: flex-start; gap: 4px; }
	.topbar .left { gap: 10px; }
	.topbar-menu { display: none; }

	.header-inner { padding: 12px 14px; gap: 10px; }
	/* Domyślna wysokość mobile (nadpisywana przez dynamic CSS) */
	.site-branding .custom-logo,
	.site-branding img { max-height: 36px; }
	.header-search { display: none; }
	.mobile-menu-toggle { display: inline-block; }

	/* ===== LOGO: WYRÓWNANIE MOBILE ===== */

	/* Mobile LEFT — domyślne (logo + toggle space-between, logo po lewej) */
	.logo-mobile-left .header-inner {
		justify-content: space-between;
		display: flex;
	}

	/* Mobile CENTER — logo pośrodku, toggle po prawej */
	.logo-mobile-center .header-inner {
		display: grid;
		grid-template-columns: 40px 1fr 40px;
		align-items: center;
		gap: 8px;
		padding: 12px 14px;
	}
	.logo-mobile-center .site-branding {
		grid-column: 2;
		justify-self: center;
		text-align: center;
	}
	/* Na mobile wyszukiwarka jest hidden — daj jej 1. kolumnę jako placeholder */
	.logo-mobile-center .header-search {
		grid-column: 1;
		display: none;
	}
	.logo-mobile-center .mobile-menu-toggle {
		grid-column: 3;
		justify-self: end;
	}

	/* Mobile RIGHT — logo po prawej, toggle po lewej */
	.logo-mobile-right .header-inner {
		flex-direction: row-reverse;
		justify-content: flex-start;
		gap: 10px;
	}
	.logo-mobile-right .header-search { display: none; }
	.logo-mobile-right .site-branding { flex-shrink: 0; }

	.nav-menu > li > a { padding: 12px 14px; font-size: 13px; padding-right: 52px; }
	.nav-menu > li:not(:has(.sub-menu)) > a { padding-right: 14px; }
	/* mobile submenu rozwija się pionowo pod rodzicem */
	.nav-menu .sub-menu {
		position: static;
		display: none;
		background: #1a1a1a;
		box-shadow: none;
		border-top: none;
		width: 100%;
	}
	.nav-menu > li.sub-open > .sub-menu { display: block; }
	.nav-menu > li.sub-open > .submenu-toggle { background: rgba(225,6,0,.4); }
	.nav-menu .sub-menu li a { padding-left: 28px; }
	/* wyłącz hover-desktop na mobile */
	.nav-menu > li:hover > .sub-menu { display: none; }
	.nav-menu > li.sub-open > .sub-menu { display: block; }

	.breaking { --bn-bar-h: 30px; font-size: 11px; }
	.breaking-inner { height: 30px; }
	.breaking .label { font-size: 9px; padding: 0 10px; letter-spacing: .3px; }
	.bn-item { font-size: 11px; padding: 0 14px; }
	.bn-separator { margin: 0 4px; }
	.bn-separator img { max-width: 60px; }

	.hero-main { min-height: 260px; }
	.hero-main h1 { font-size: 20px; }
	.hero-side { grid-template-columns: 1fr; }
	.hero-side-card { min-height: 180px; }

	.cards { grid-template-columns: 1fr; gap: 14px; }
	.suggestions-grid, .related-grid { grid-template-columns: 1fr; }

	.article-header, .article-body, .article-tags, .share-bar, .article-widget-zone, .related, .comments-area { padding-left: 16px; padding-right: 16px; }
	.article-title { font-size: 24px; }
	.article-meta { gap: 10px; font-size: 11px; }
	.article-actions { margin-left: 0; width: 100%; }
	/* share-bar mobile — kompaktowe przyciski */
	.share-bar { padding: 14px 16px; gap: 7px; flex-wrap: wrap; }
	.share-bar a { padding: 7px 11px; font-size: 12px; border-radius: 4px; }
	/* submenu toggle widoczny */
	.nav-menu > li > .submenu-toggle { display: flex; align-items: center; justify-content: center; }
	.article-hero-img .caption { padding-left: 16px; padding-right: 16px; }
	.article-body { font-size: 15px; line-height: 1.7; }
	.article-body > p:first-child { font-size: 16px; line-height: 1.6; }
	.article-body > p:first-child::first-letter { font-size: 56px; padding: 4px 10px 0 0; }
	.article-body h2 { font-size: 20px; }
	.author-box { flex-direction: column; text-align: center; }
	.author-box .avatar-big { margin: 0 auto; }

	.cat-hero { padding: 26px 0 20px; }
	.cat-hero h1 { font-size: 26px; }
	.featured-content { padding: 16px; }
	.featured-content h2 { font-size: 20px; }

	.error-code { font-size: 88px; letter-spacing: -4px; }
	.error-stamp { font-size: 20px; }

	.footer-cols { grid-template-columns: 1fr; gap: 24px; }
	.footer-bottom { flex-direction: column; text-align: center; }

	.page-content { padding: 20px 16px; }
	.page-content h1 { font-size: 24px; }

	/* === HAMBURGER — slide panel z prawej strony === */
	.primary-nav {
		position: fixed;
		top: 0; right: 0; bottom: 0;
		width: 280px;
		max-width: 85vw;
		z-index: 201;
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
		transform: translateX(100%);
		transition: transform .3s ease;
	}
	/* is-sticky nie zmienia pozycji — na mobile zawsze fixed */
	.primary-nav.is-sticky {
		position: fixed;
		top: 0;
		z-index: 201;
		box-shadow: none;
	}
	.primary-nav.is-open {
		transform: translateX(0);
	}
	/* Nav menu — układ pionowy wewnątrz panelu */
	.nav-menu {
		flex-direction: column;
		overflow-x: visible;
		flex-wrap: wrap;
		padding: 16px 0 32px;
	}
	.nav-menu > li {
		flex: none;
		width: 100%;
	}
	.nav-menu > li > a {
		padding: 12px 18px;
		padding-right: 54px;
		font-size: 14px;
		border-bottom: 1px solid rgba(255,255,255,.07);
	}
	.nav-menu > li:not(:has(.sub-menu)) > a { padding-right: 18px; }
	/* Scroll indicator ukryty — brak poziomego scrollu */
	.nav-wrap::after { display: none; }
	/* Hover desktop — wyłączony na mobile */
	.nav-menu > li:hover > .sub-menu { display: none; }
	.nav-menu > li.sub-open > .sub-menu { display: block; }
}

@media (max-width: 420px) {
	.nav-menu > li > a { padding: 11px 12px; font-size: 12px; }
	.card-body h3, .article-card-body h3 { font-size: 15px; }
	.cat-small-thumb { flex-basis: 80px; }
	.article-title { font-size: 22px; }
}

@media print {
	.topbar, .primary-nav, .site-footer, .breaking, .article-actions, .share-bar, .widget-area, .mobile-menu-toggle, .header-search, .comments-area, .related { display: none !important; }
	body { background: #fff; color: #000; }
	.article-body, .article-header, .article-lead-box { padding: 0; box-shadow: none; border: 0; background: transparent; }
	.article-body::after {
		content: "Zrodlo: codziennik.info - (c) Krystian Jasinski";
		display: block; margin-top: 20px; padding-top: 10px;
		border-top: 1px solid #ccc;
		font-size: 11px; color: #666;
	}
}

/* ==========================================================================
   BREAKING TICKER — stare klasy zachowane dla backward-compat
   ========================================================================== */
.breaking-current a { color: #fff; text-decoration: none; }

/* Kurs w topbar */
.tb-rate {
	color: #8fc;
	font-size: 12px;
}
.tb-rate strong { color: #fff; }

/* ==========================================================================
   WIDGET: Kursy walut (Finance)
   ========================================================================== */
.finance-widget {}
.rates-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 13px;
}
.rates-table tr { border-bottom: 1px solid #eee; }
.rates-table tr:last-child { border-bottom: 0; }
.rates-table td { padding: 7px 4px; vertical-align: middle; }
.rate-code {
	font-weight: 800;
	font-size: 14px;
	color: var(--c-accent, #e10600);
	width: 44px;
}
.rate-name {
	color: var(--c-text-muted, #666);
	font-size: 12px;
}
.rate-val {
	text-align: right;
	font-weight: 700;
	font-size: 14px;
	white-space: nowrap;
}
.rate-val small { font-weight: 400; font-size: 11px; color: var(--c-text-muted, #666); }
.rate-up   { color: #2a9d2a; }
.rate-down { color: #e10600; }
.finance-source {
	font-size: 11px;
	color: var(--c-text-muted, #666);
	margin: 6px 0 0;
	text-align: right;
}
.finance-source a { color: var(--c-text-muted, #666); text-decoration: underline; }
.finance-error { font-size: 13px; color: var(--c-text-muted, #666); }

/* ==========================================================================
   WIDGET: Sport Live
   ========================================================================== */
.sport-live-widget { overflow: hidden; }
.sport-live-widget iframe { display: block; width: 100%; border: 0; }
.sport-placeholder {
	text-align: center;
	padding: 30px 10px;
	color: var(--c-text-muted, #666);
	font-size: 13px;
	background: #fafafa;
	border: 1px dashed #ccc;
}

/* ==========================================================================
   WIDGET: Giełda / Rynki
   ========================================================================== */
.markets-widget { overflow: hidden; }
.tradingview-widget-container { width: 100%; }

/* ==========================================================================
   WIDGET: Pogoda
   ========================================================================== */
.weather-widget { text-align: center; }
.weather-main {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	padding: 14px 0 8px;
}
.weather-icon { font-size: 44px; line-height: 1; }
.weather-temps { display: flex; flex-direction: column; align-items: flex-start; }
.weather-temp { font-size: 36px; font-weight: 800; line-height: 1; }
.weather-city { font-size: 13px; color: var(--c-text-muted, #666); }
.weather-desc {
	font-size: 14px;
	color: var(--c-text-muted, #666);
	margin: 0 0 10px;
}
.weather-details {
	list-style: none;
	padding: 0;
	margin: 0 0 10px;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px 14px;
	font-size: 12px;
	color: var(--c-text-muted, #666);
}
.weather-more {
	display: inline-block;
	font-size: 12px;
	color: var(--c-accent, #e10600);
	text-decoration: none;
	font-weight: 600;
}
.weather-more:hover { text-decoration: underline; color: var(--c-accent, #e10600); }
.weather-error { font-size: 13px; color: var(--c-text-muted, #666); padding: 10px 0; }

/* ==========================================================================
   WIDGET: Najnowsze z miniaturkami
   ========================================================================== */
.recent-mini-list { list-style: none; padding: 0; margin: 0; }
.recent-mini-item { border-bottom: 1px solid #f0f0f0; }
.recent-mini-item:last-child { border-bottom: 0; }
.recent-mini-link {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	padding: 10px 0;
	color: inherit;
	text-decoration: none;
	transition: color .2s;
}
.recent-mini-link:hover { color: var(--c-accent, #e10600); }
.recent-mini-thumb {
	flex: 0 0 80px;
	height: 54px;
	overflow: hidden;
	background: #eee;
}
.recent-mini-thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb-placeholder { width: 100%; height: 100%; background: linear-gradient(135deg, #ddd, #bbb); }
.recent-mini-body { flex: 1; min-width: 0; }
.recent-mini-body h4 {
	font-size: 13px;
	font-weight: 700;
	line-height: 1.35;
	margin: 0 0 4px;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.recent-mini-date { font-size: 11px; color: var(--c-text-muted, #666); }

/* ==========================================================================
   WIDGET: Najpopularniejsze (most-read / sidebar)
   ========================================================================== */
.most-read { list-style: none; padding: 0; margin: 0; }
.most-read li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 10px 0;
	border-bottom: 1px solid #f0f0f0;
}
.most-read li:last-child { border-bottom: 0; }
.most-read .num {
	flex: 0 0 28px;
	font-size: 22px;
	font-weight: 900;
	color: var(--c-accent, #e10600);
	line-height: 1;
	padding-top: 2px;
}
.most-read .txt {
	font-size: 13px;
	font-weight: 600;
	line-height: 1.35;
	color: var(--c-text, #1a1a1a);
}
.most-read .txt:hover { color: var(--c-accent, #e10600); }

/* ==========================================================================
   WIDGET: Newsletter (sidebar)
   ========================================================================== */
.newsletter-box h4 {
	font-size: 15px;
	font-weight: 700;
	margin: 0 0 6px;
}
.newsletter-box p { font-size: 13px; color: var(--c-text-muted, #666); margin: 0 0 10px; }
.newsletter-box input[type="email"] {
	width: 100%;
	padding: 9px 10px;
	border: 1px solid #ddd;
	font: inherit;
	font-size: 13px;
	margin-bottom: 8px;
}
.newsletter-box input[type="email"]:focus { outline: none; border-color: var(--c-accent, #e10600); }
.newsletter-box button[type="submit"] {
	width: 100%;
	background: var(--c-accent, #e10600);
	color: #fff;
	padding: 10px;
	font-weight: 700;
	text-transform: uppercase;
	font-size: 12px;
	letter-spacing: .5px;
	border: 0;
	cursor: pointer;
	transition: background .2s;
}
.newsletter-box button[type="submit"]:hover { background: var(--c-accent-hover, #b80500); }

/* Ad widget (w sidebarze) */
.ad-widget, .widget.codziennik_ad_widget .ad-box {
	text-align: center;
	background: #f5f5f5;
	border: 1px dashed #ccc;
	padding: 20px 10px;
	font-size: 12px;
	color: #999;
	min-height: 100px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.ad-box {
	background: #f5f5f5;
	border: 1px dashed #ccc;
	text-align: center;
	padding: 20px 10px;
	font-size: 12px;
	color: #999;
	margin: 16px 0;
}

/* Back to top button */
.back-to-top {
	position: fixed;
	bottom: 24px;
	right: 24px;
	width: 42px; height: 42px;
	background: var(--c-accent, #e10600);
	color: #fff;
	border-radius: 50%;
	display: none;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	z-index: 99;
	box-shadow: 0 3px 10px rgba(0,0,0,.25);
	transition: background .2s, transform .2s;
	text-decoration: none;
}
.back-to-top.is-visible { display: flex; }
.back-to-top:hover { background: var(--c-accent-hover, #b80500); transform: translateY(-3px); color: #fff; }

/* ==========================================================================
   RESPONSIVE — nowe widgety
   ========================================================================== */
@media (max-width: 768px) {
	/* breaking-nav usunięty — nowy ticker nie ma przycisków */
	.weather-icon { font-size: 36px; }
	.weather-temp { font-size: 28px; }
	.recent-mini-thumb { flex-basis: 68px; height: 46px; }
	.rates-table td { padding: 6px 2px; }
}

/* ==========================================================================
   WIDGET: Notowania GPW / WIG20
   ========================================================================== */
.wig20-widget { }
.wig20-table .wig20-sym {
	font-weight: 900;
	font-size: 13px;
	color: var(--c-accent, #e10600);
	width: 48px;
	text-transform: uppercase;
}
.wig20-table .wig20-name {
	font-size: 12px;
	color: var(--c-text-muted, #666);
}
.wig20-table .rate-val small { font-size: 11px; margin-left: 4px; }

/* ==========================================================================
   WIDGET: Wyniki sportowe
   ========================================================================== */
.sport-results-widget { }
.sport-results-list {
	list-style: none;
	padding: 0;
	margin: 0;
}
.sport-result-item {
	display: grid;
	grid-template-columns: 32px 1fr auto 1fr;
	align-items: center;
	gap: 4px;
	padding: 8px 0;
	border-bottom: 1px solid #f0f0f0;
	font-size: 13px;
}
.sport-result-item:last-child { border-bottom: 0; }
.sr-date {
	font-size: 10px;
	color: var(--c-text-muted, #666);
	text-align: center;
	font-weight: 600;
}
.sr-home {
	text-align: right;
	font-weight: 600;
	font-size: 12px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.sr-away {
	text-align: left;
	font-weight: 600;
	font-size: 12px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.sr-score {
	text-align: center;
	font-weight: 900;
	font-size: 14px;
	min-width: 44px;
	color: var(--c-accent, #e10600);
	padding: 2px 6px;
	background: #f5f5f5;
}
.sr-upcoming .sr-score {
	color: var(--c-text-muted, #666);
	background: transparent;
}
/* Sport — grupowanie po lidze */
.sport-league-group { margin-bottom: 12px; }
.sport-league-group:last-child { margin-bottom: 0; }
.sport-league-name {
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .6px;
	color: var(--c-text-muted, #666);
	padding: 8px 0 4px;
	border-bottom: 2px solid var(--c-accent, #e10600);
	margin: 0 0 2px;
}

/* ==========================================================================
   STRONA GŁÓWNA — dodatkowe układy sekcji
   (grid-3, grid-2-big, list — z panelu sekcji)
   ========================================================================== */

/* .hp-grid-3 — siatka 3 karty */
.hp-grid-3 {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
	margin-bottom: 0;
}

/* .hp-grid-2big — 2 duże karty */
.hp-grid-2big {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 16px;
	margin-bottom: 0;
}

/* Wspólna karta hp-card */
.hp-card {
	display: block;
	background: #fff;
	overflow: hidden;
	box-shadow: 0 1px 3px rgba(0,0,0,.08);
	transition: transform .2s, box-shadow .2s;
	color: inherit;
	text-decoration: none;
}
.hp-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 18px rgba(0,0,0,.12);
	color: inherit;
}
.hp-card-thumb {
	aspect-ratio: 3 / 2;
	overflow: hidden;
	background: #eee;
	position: relative;
}
.hp-card-thumb img {
	width: 100%; height: 100%; object-fit: cover;
	transition: transform .35s;
}
.hp-card:hover .hp-card-thumb img { transform: scale(1.04); }
.hp-card-body {
	padding: 14px;
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.hp-card-body .cat-tag {
	align-self: flex-start;
	font-size: 10px;
	padding: 3px 8px;
}
.hp-card-body h3 {
	font-size: 15px;
	font-weight: 700;
	line-height: 1.35;
	margin: 0;
}
.hp-card-big .hp-card-body h3 { font-size: 20px; line-height: 1.25; }
.hp-card-body p { font-size: 13px; color: var(--c-text-muted, #666); margin: 0; line-height: 1.5; }
.hp-card-body .meta { font-size: 11px; color: var(--c-text-muted, #666); }

/* .hp-list — lista pozioma artykułów */
.hp-list { display: flex; flex-direction: column; gap: 0; }
.hp-list-item {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	padding: 12px 0;
	border-bottom: 1px solid #eee;
	text-decoration: none;
	color: inherit;
	transition: color .2s;
}
.hp-list-item:last-child { border-bottom: 0; }
.hp-list-item:hover { color: var(--c-accent, #e10600); }
.hp-list-thumb {
	flex: 0 0 100px;
	height: 68px;
	overflow: hidden;
	background: #eee;
}
.hp-list-thumb img { width: 100%; height: 100%; object-fit: cover; }
.hp-list-body { flex: 1; min-width: 0; }
.hp-list-body h4 { font-size: 14px; font-weight: 700; margin: 0 0 4px; line-height: 1.35; }
.hp-list-body .meta { font-size: 11px; color: var(--c-text-muted, #666); }

/* ==========================================================================
   NAJCHĘTNIEJ CZYTANE — popular-strip
   ========================================================================== */
.popular-list { list-style: none; margin: 0; padding: 0; }
.popular-item { display: flex; align-items: flex-start; gap: 12px; padding: 10px 0; border-bottom: 1px solid #eee; }
.popular-item:last-child { border-bottom: none; padding-bottom: 0; }
.popular-num { font-size: 30px; font-weight: 900; color: var(--c-accent, #e10600); min-width: 38px; line-height: 1; flex-shrink: 0; font-style: italic; }
.popular-link { display: flex; gap: 10px; text-decoration: none; color: inherit; flex: 1; align-items: flex-start; }
.popular-link:hover .popular-title { color: var(--c-accent, #e10600); }
.popular-thumb { width: 80px; height: 60px; flex-shrink: 0; overflow: hidden; border-radius: 3px; }
.popular-thumb img { width: 100%; height: 100%; object-fit: cover; }
.popular-body { flex: 1; min-width: 0; }
.popular-title { display: block; font-size: 14px; font-weight: 700; line-height: 1.4; color: #1a1a1a; margin-bottom: 4px; transition: color .2s; }
.popular-meta { font-size: 11px; color: var(--c-text-muted, #666); }

@media (max-width: 600px) {
	.popular-num { font-size: 22px; min-width: 28px; }
	.popular-thumb { width: 64px; height: 48px; }
	.popular-title { font-size: 13px; }
}

/* cat-strip-header — kółko zamiast prostokąta */
.cat-strip-header h2 {
	position: relative;
	padding-left: 22px;
}
.cat-strip-header h2::before {
	content: '';
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: var(--strip-color, #e10600);
}

@media (max-width: 1024px) {
	.hp-grid-3 { grid-template-columns: repeat(2, 1fr); }
	.hp-grid-2big { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
	.hp-grid-3 { grid-template-columns: 1fr; }
	.hp-grid-2big { grid-template-columns: 1fr; }
	.hp-list-thumb { flex-basis: 80px; height: 54px; }
}

/* ==========================================================================
   MOBILNA NAWIGACJA DOLNA (.mobile-bottom-nav)
   ========================================================================== */
.mobile-bottom-nav {
	display: none; /* widoczna tylko na mobile przez @media */
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 9990;
	height: 58px;
	background: var(--c-nav-bg, #000);
	border-top: 2px solid var(--c-accent, #e10600);
	box-shadow: 0 -4px 16px rgba(0,0,0,.35);
	flex-direction: row;
	align-items: stretch;
}

.mbn-item {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 2px;
	color: rgba(255,255,255,.55);
	text-decoration: none;
	padding: 6px 4px 4px;
	transition: color .2s, background .2s;
	min-width: 0;
	position: relative;
	-webkit-tap-highlight-color: transparent;
}

.mbn-item:hover,
.mbn-item:focus {
	color: rgba(255,255,255,.9);
	background: rgba(255,255,255,.06);
	outline: none;
}

.mbn-item.active {
	color: #fff;
}

/* Podkreślenie aktywnego elementu */
.mbn-item.active::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 20%;
	right: 20%;
	height: 3px;
	background: var(--c-accent, #e10600);
	border-radius: 3px 3px 0 0;
}

.mbn-icon {
	font-size: 20px;
	line-height: 1;
	display: block;
}

.mbn-label {
	font-size: 9px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .3px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 100%;
	line-height: 1.2;
}

/* Separator pionowy między elementami */
.mbn-item + .mbn-item::before {
	content: '';
	position: absolute;
	left: 0;
	top: 16%;
	bottom: 16%;
	width: 1px;
	background: rgba(255,255,255,.08);
}

@media (max-width: 768px) {
	.mobile-bottom-nav {
		display: flex;
	}
	/* Dodaj padding-bottom żeby treść nie chowała się pod navem */
	body {
		padding-bottom: 58px;
	}
	/* Przesuń przycisk "Do góry" nad nav */
	.back-to-top {
		bottom: 70px;
	}
}

/* Na bardzo małych telefonach — mniejsze ikony */
@media (max-width: 360px) {
	.mobile-bottom-nav { height: 54px; }
	.mbn-icon { font-size: 18px; }
	.mbn-label { font-size: 8px; }
	body { padding-bottom: 54px; }
	.back-to-top { bottom: 66px; }
}

/* ==========================================================================
   STOCK TICKER BAR — przewijający pasek kursów
   ========================================================================== */
.ticker-sidebar {
	width: 100%;
	overflow: hidden;
}
.ticker-sidebar .widget {
	margin: 0;
	padding: 0;
	background: transparent;
	box-shadow: none;
}
.stock-ticker-bar {
	display: flex;
	align-items: stretch;
	background: #111;
	color: #fff;
	height: 40px;
	width: 100%;
	overflow: hidden;
	font-size: 12px;
}
.stock-ticker-label {
	background: var(--c-accent, #e10600);
	color: #fff;
	font-weight: 800;
	font-size: 11px;
	letter-spacing: 1px;
	text-transform: uppercase;
	padding: 0 18px;
	display: flex;
	align-items: center;
	justify-content: center;
	white-space: nowrap;
	flex-shrink: 0;
	border-right: 2px solid rgba(255,255,255,.15);
}
.stock-ticker-wrap {
	flex: 1;
	overflow: hidden;
	display: flex;
	align-items: center;
}
.stock-ticker-track {
	display: flex;
	align-items: center;
	white-space: nowrap;
	animation: stock-ticker-scroll 30s linear infinite;
	will-change: transform;
}
.stock-ticker-track:hover {
	animation-play-state: paused;
}
@keyframes stock-ticker-scroll {
	0%   { transform: translateX(0); }
	100% { transform: translateX(-50%); } /* 50% bo track powielony 2x */
}
.stock-ticker-item {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 0 22px;
	border-right: 1px solid rgba(255,255,255,.1);
	height: 100%;
}
.sti-name {
	font-weight: 700;
	color: #aaa;
	font-size: 11px;
	letter-spacing: .5px;
}
.sti-val {
	color: #fff;
	font-weight: 600;
	font-size: 12px;
}
.sti-val small {
	font-size: 10px;
	color: #888;
	font-weight: 400;
}
.sti-change {
	font-size: 11px;
	font-weight: 700;
}
.sti-up   { color: #22c55e; }
.sti-down { color: #ef4444; }

@media (max-width: 768px) {
	.stock-ticker-bar { height: 36px; font-size: 11px; }
	.stock-ticker-label { padding: 0 12px; font-size: 10px; }
	.stock-ticker-item { padding: 0 14px; }
}

/* ==========================================================================
   WIDGET: Brand — stopka kolumna 1
   ========================================================================== */
.footer-brand-widget {}
.footer-brand-logo {
	display: inline-block;
	margin-bottom: 12px;
}
.footer-brand-logo img {
	max-height: 40px;
	width: auto;
	filter: brightness(0) invert(1);
}
.footer-brand-text {
	font-size: 22px;
	font-weight: 900;
	color: #fff;
	letter-spacing: -1px;
}
.footer-col-brand .footer-brand-widget p {
	font-size: 13px;
	line-height: 1.7;
	color: #bbb;
	margin: 0 0 12px;
}
.footer-col-brand .footer-widget .widget-title { display: none; }

/* ==========================================================================
   KATEGORIA — statystyki
   ========================================================================== */
.cat-stats {
	display: flex;
	gap: 24px;
	margin-top: 14px;
	flex-wrap: wrap;
	align-items: flex-end;
}
.cat-stat-item {
	display: flex;
	flex-direction: column;
	align-items: center;
}
.cat-stat-item strong {
	font-size: 28px;
	font-weight: 900;
	color: #fff;
	line-height: 1;
}
.cat-stat-item span {
	font-size: 10px;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: rgba(255,255,255,.65);
	margin-top: 2px;
}
.cat-stat-nbp { margin-left: auto; }
.cat-stat-nbp small {
	font-size: 11px;
	color: rgba(255,255,255,.5);
	display: block;
	text-align: right;
}

/* Podkategorie */
.subcat-link {
	display: inline-block;
	padding: 6px 16px;
	background: #f2f2f2;
	color: #333;
	border-radius: 3px;
	border: 1px solid #e0e0e0;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .3px;
	transition: background .2s, color .2s, border-color .2s;
	text-decoration: none;
}
.subcat-link:hover,
.subcat-link.active {
	background: var(--c-accent, #e10600);
	color: #fff;
	border-color: var(--c-accent, #e10600);
}

/* ==========================================================================
   KATEGORIA FINANSE — specjalny nagłówek
   ========================================================================== */
.cat-hero-finance {
	background: linear-gradient(135deg, #0a2a0a 0%, #0d1f0d 40%, var(--cat-color, #c47a00) 100%);
	padding: 30px 0 24px;
}
.cat-hero-finance .cat-hero-inner { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.cat-hero-top { margin-bottom: 16px; }

.fin-hero-markets {
	display: flex;
	gap: 0;
	flex-wrap: wrap;
	margin-bottom: 16px;
	background: rgba(0,0,0,.3);
	border-radius: 4px;
	overflow: hidden;
}
.fin-market-item {
	display: flex;
	flex-direction: column;
	padding: 10px 20px;
	border-right: 1px solid rgba(255,255,255,.1);
	min-width: 100px;
}
.fin-market-item:last-child { border-right: 0; }
.fin-market-index { background: rgba(255,255,255,.04); }
.fin-market-name {
	font-size: 10px;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: rgba(255,255,255,.55);
	font-weight: 700;
}
.fin-market-val {
	font-size: 18px;
	font-weight: 800;
	color: #fff;
	line-height: 1.2;
}
.fin-market-val small {
	font-size: 11px;
	font-weight: 400;
	color: rgba(255,255,255,.5);
}
.fin-market-change {
	font-size: 12px;
	font-weight: 700;
}
.fin-up   { color: #22c55e; }
.fin-down { color: #ef4444; }

@media (max-width: 768px) {
	.fin-hero-markets { overflow-x: auto; flex-wrap: nowrap; }
	.fin-market-item { padding: 8px 14px; min-width: 80px; }
	.fin-market-val { font-size: 15px; }
}

/* ==========================================================================
   KATEGORIA SPORT — specjalny nagłówek
   ========================================================================== */
.cat-hero-sport {
	background: linear-gradient(135deg, #0a1f0a 0%, #0d2b10 50%, var(--cat-color, #1a7a1a) 100%);
	padding: 30px 0 24px;
}
.cat-hero-sport .cat-hero-inner { max-width: 1280px; margin: 0 auto; padding: 0 20px; }

.sport-hero-leagues {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	margin-top: 14px;
	align-items: center;
}
.shl-label {
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: rgba(255,255,255,.5);
	font-weight: 700;
}
.shl-tag {
	background: rgba(255,255,255,.12);
	color: rgba(255,255,255,.85);
	padding: 4px 12px;
	border-radius: 2px;
	font-size: 12px;
	font-weight: 600;
}

@media (max-width: 768px) {
	.cat-stats { gap: 16px; }
	.cat-stat-item strong { font-size: 22px; }
	.sport-hero-leagues { gap: 6px; }
	.shl-tag { font-size: 11px; padding: 3px 8px; }
}

/* ==========================================================================
   WIDGET: Poziome układy (horizontal layout)
   ========================================================================== */

/* Sport Results — poziomo */
.sport-results-widget.widget-layout-horizontal .sport-results-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.sport-results-widget.widget-layout-horizontal .sport-result-item {
	flex: 0 0 auto;
	min-width: 180px;
	border: 1px solid #eee;
	border-radius: 4px;
	padding: 8px 10px;
	border-bottom: 1px solid #eee;
	background: #fafafa;
}
.sport-results-widget.widget-layout-horizontal .sport-result-item:last-child {
	border-bottom: 1px solid #eee;
}

/* WIG20 — poziomo */
.wig20-widget.widget-layout-horizontal .wig20-table,
.wig20-widget.widget-layout-horizontal .wig20-table tbody {
	display: flex;
	flex-wrap: wrap;
	width: 100%;
}
.wig20-widget.widget-layout-horizontal .wig20-table tr {
	display: flex;
	flex-direction: column;
	align-items: center;
	flex: 0 0 auto;
	border: 1px solid #eee;
	border-radius: 4px;
	padding: 8px 14px;
	margin: 4px;
	background: #fafafa;
	width: auto;
}
.wig20-widget.widget-layout-horizontal .wig20-table td {
	padding: 2px 0;
	text-align: center;
}
.wig20-widget.widget-layout-horizontal .wig20-table .wig20-name {
	display: none; /* uproszczone — tylko symbol i wartość */
}

/* Ad widget — poziomo (banner) */
.ad-custom.widget-layout-horizontal,
.ad-box.widget-layout-horizontal {
	min-height: 90px;
	max-height: 200px;
	width: 100%;
}

/* Sport placeholder auto */
.sport-placeholder-auto {
	padding: 16px;
	text-align: center;
	background: #f9f9f9;
	border: 1px dashed #ddd;
	border-radius: 4px;
}
.sport-placeholder-auto p {
	margin: 0 0 6px;
	font-size: 13px;
	color: var(--c-text-muted, #666);
}
.sport-placeholder-auto p:last-child { margin: 0; }

/* --- Widget mid-article (article-during) --- */
.article-widget-during {
	margin: 28px 0;
	border-top: 1px solid #f0f0f0;
	border-bottom: 1px solid #f0f0f0;
	padding: 16px 30px;
	background: #fafafa;
}

/* --- Blok HTML na stronie głównej --- */
.cat-strip-html { }
.cat-strip-html-body { padding: 10px 0; }

/* --- Cat hero custom HTML --- */
.cat-hero-custom {
	margin-top: 18px;
	color: rgba(255,255,255,.9);
	font-size: 14px;
	line-height: 1.6;
}
.cat-hero-custom a { color: #fff; text-decoration: underline; }

/* Print — usunięcie danych autora motywu */
@media print {
	.article-body::after {
		content: "Zrodlo: codziennik.info";
	}
}
