/* =====================================================================
   sport.eOstroleka.pl – motyw 2026
   ===================================================================== */
:root {
	--ink: #0b1020;
	--ink-2: #131a2e;
	--ink-3: #1e2742;
	--gold: #ffc21a;
	--gold-2: #ffd75e;
	--red: #e30613;
	--paper: #eef0f4;
	--card: #fff;
	--text: #1a1f2b;
	--muted: #6b7385;
	--line: #e2e5ec;
	--f-head: 'Barlow Condensed', 'Arial Narrow', sans-serif;
	--f-body: 'Barlow', 'Segoe UI', Roboto, sans-serif;
	--radius: 6px;
	--shadow: 0 1px 2px rgba(11,16,32,.06), 0 4px 16px rgba(11,16,32,.06);
	--shadow-hover: 0 2px 4px rgba(11,16,32,.08), 0 14px 32px rgba(11,16,32,.14);
	--wrap: 1240px;
}

/* ---------- baza ---------- */
html { font-size: 16px; scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--f-body);
	font-size: 16px;
	line-height: 1.55;
	color: var(--text);
	background: var(--paper);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
h1, h2, h3, h4, h5 { font-family: var(--f-head); color: var(--ink); font-weight: 700; line-height: 1.1; letter-spacing: .01em; }
a { color: #b8860b; transition: color .15s; }
a:hover, a:focus { color: var(--red); text-decoration: none; }
img { max-width: 100%; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.clear { clear: both; height: 0; overflow: hidden; }
.empty { color: var(--muted); padding: 12px 0; font-style: italic; }

/* tag / kategoria – skosny znacznik */
.tag {
	display: inline-block;
	position: relative;
	z-index: 0;
	font-family: var(--f-head);
	font-weight: 700;
	font-size: 13px;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: #fff !important;
	padding: 3px 12px 2px;
	margin-left: 4px;
	line-height: 1.4;
}
.tag::before {
	content: '';
	position: absolute; inset: 0;
	z-index: -1;
	background: var(--red);
	transform: skewX(-14deg);
}
a.tag:hover::before { background: var(--ink); }

.meta { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 13px; color: var(--muted); }
.meta .mdi { margin-right: 5px; font-size: 14px; }

.btn-sport {
	display: inline-flex; align-items: center; gap: 6px;
	font-family: var(--f-head); font-weight: 700; font-size: 17px;
	letter-spacing: .06em; text-transform: uppercase;
	color: var(--ink) !important; background: var(--gold);
	border: 0; padding: 10px 22px;
	clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
	transition: background .15s, color .15s;
	cursor: pointer;
}
.btn-sport:hover { background: var(--ink); color: var(--gold) !important; }
.btn-fb {
	display: inline-flex; align-items: center; gap: 6px;
	font-weight: 600; font-size: 15px;
	color: #fff !important; background: #1877f2;
	padding: 8px 16px; border-radius: 999px;
	transition: background .15s;
}
.btn-fb:hover { background: #0f5fd0; }
.btn-fb .mdi { font-size: 18px; }

/* ---------- topbar ---------- */
.topbar { background: #05080f; color: #aab2c5; font-size: 13px; }
.topbar-in { display: flex; align-items: center; gap: 20px; height: 34px; }
.topbar a { color: #d7dcea; }
.topbar a:hover { color: var(--gold); }
.topbar-home span { color: #6d7690; margin-left: 4px; }
.topbar-date { margin-left: auto; text-transform: capitalize; }
.topbar-fb .mdi { color: #4c8dff; }

/* ---------- header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 100;
	background:
		repeating-linear-gradient(115deg, transparent 0 22px, rgba(255,255,255,.025) 22px 44px),
		linear-gradient(100deg, var(--ink) 0%, var(--ink-2) 60%, var(--ink-3) 100%);
	box-shadow: 0 4px 20px rgba(0,0,0,.25);
}
.header-in { display: flex; align-items: center; height: 76px; gap: 32px; position: relative; }
.brand { display: block; flex: none; }
.brand img { display: block; height: 54px; width: auto; filter: invert(1); transition: height .2s; }
body.scrolled .header-in { height: 62px; }
body.scrolled .brand img { height: 42px; }

.mainnav { display: flex; align-items: stretch; height: 100%; margin-left: auto; }
.mainnav-link {
	display: flex; align-items: center; gap: 6px;
	position: relative;
	height: 100%;
	padding: 0 16px;
	background: none; border: 0;
	font-family: var(--f-head); font-weight: 700; font-size: 19px;
	letter-spacing: .05em; text-transform: uppercase;
	color: #e8ebf3 !important;
	cursor: pointer;
}
.mainnav-link .mdi-trophy { color: var(--gold); }
.mainnav-link .mdi-chevron-down { font-size: 18px; transition: transform .2s; }
.mainnav-link::after {
	content: '';
	position: absolute; left: 12px; right: 12px; bottom: 0;
	height: 4px; background: var(--gold);
	transform: skewX(-20deg) scaleX(0); transform-origin: left;
	transition: transform .2s;
}
.mainnav-link:hover, .mainnav-drop.open > .mainnav-link { color: #fff !important; }
.mainnav-link:hover::after, .mainnav-link.active::after,
.mainnav-drop.active > .mainnav-link::after, .mainnav-drop.open > .mainnav-link::after { transform: skewX(-20deg) scaleX(1); }
.mainnav-link.active, .mainnav-drop.active > .mainnav-link { color: var(--gold) !important; }
.mainnav-drop { position: relative; }
.mainnav-drop.open > .mainnav-link .mdi-chevron-down { transform: rotate(180deg); }

.drop-panel {
	display: none;
	position: absolute; top: 100%; right: 0;
	background: var(--ink-2);
	border-top: 4px solid var(--gold);
	box-shadow: 0 20px 40px rgba(0,0,0,.4);
	padding: 18px;
	z-index: 10;
}
.mainnav-drop.open .drop-panel { display: grid; animation: drop .18s ease-out; }
@media (hover: hover) and (min-width: 992px) {
	.mainnav-drop:hover .drop-panel { display: grid; animation: drop .18s ease-out; }
	.mainnav-drop:hover > .mainnav-link::after { transform: skewX(-20deg) scaleX(1); }
}
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

.drop-dzialy { grid-template-columns: repeat(2, minmax(190px, 1fr)); gap: 4px; left: 0; right: auto; }
.drop-dzialy a, .drop-col a {
	display: flex; align-items: center; gap: 10px;
	padding: 8px 10px;
	color: #d7dcea; font-weight: 600; font-size: 15px;
	border-radius: 4px;
}
.drop-dzialy a:hover, .drop-col a:hover { background: var(--ink-3); color: #fff; }
.drop-dzialy a.active, .drop-col a.active { color: var(--gold); }
.drop-dzialy .ico, .widget-dzialy .ico {
	display: inline-flex; align-items: center; justify-content: center; flex: none;
	width: 34px; height: 34px; border-radius: 50%; background: #fff;
}
.drop-dzialy .ico img, .widget-dzialy .ico img { width: 24px; height: 24px; object-fit: contain; }

.drop-ligi { grid-template-columns: repeat(3, minmax(170px, 1fr)); gap: 8px 22px; }
.drop-head {
	display: flex; align-items: center; gap: 8px;
	font-family: var(--f-head); font-weight: 800; font-size: 15px;
	letter-spacing: .1em; text-transform: uppercase; color: var(--gold);
	padding: 0 10px 8px; margin-bottom: 4px;
	border-bottom: 1px solid rgba(255,255,255,.1);
}
.drop-head img { height: 22px; width: auto; }
.drop-col a::before { content: '›'; color: var(--gold); font-weight: 700; }

.nav-toggle { display: none; }

/* pasek lig */
.leaguebar { background: var(--gold); color: var(--ink); }
.leaguebar-in { display: flex; align-items: center; height: 40px; gap: 16px; }
.leaguebar-label {
	flex: none;
	font-family: var(--f-head); font-weight: 800; font-style: italic; font-size: 18px;
	letter-spacing: .08em; text-transform: uppercase;
	color: var(--gold); background: var(--ink);
	padding: 0 20px 0 14px; height: 100%;
	display: flex; align-items: center;
	clip-path: polygon(0 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
}
.leaguebar-scroll { display: flex; align-items: center; gap: 18px; overflow-x: auto; scrollbar-width: none; height: 100%; }
.leaguebar-scroll::-webkit-scrollbar { display: none; }
.leaguebar-group { display: flex; align-items: center; gap: 4px; flex: none; }
.leaguebar-group img { height: 22px; width: auto; margin-right: 4px; filter: brightness(0); opacity: .85; }
.leaguebar-group + .leaguebar-group { padding-left: 18px; border-left: 2px solid rgba(11,16,32,.2); }
.leaguebar a {
	flex: none;
	font-family: var(--f-head); font-weight: 700; font-size: 15px;
	letter-spacing: .04em; text-transform: uppercase;
	color: var(--ink); padding: 3px 9px; border-radius: 3px; white-space: nowrap;
}
.leaguebar a:hover { background: rgba(11,16,32,.12); color: var(--ink); }
.leaguebar a.active { background: var(--ink); color: var(--gold); }

/* ---------- hero ---------- */
.hero {
	background:
		radial-gradient(ellipse at 80% -20%, rgba(255,194,26,.18), transparent 55%),
		var(--ink);
	padding: 24px 0 32px;
	position: relative;
}
.hero::after {
	content: '';
	position: absolute; left: 0; right: 0; bottom: 0; height: 6px;
	background: linear-gradient(90deg, var(--red) 0 30%, var(--gold) 30% 100%);
}
.hero-grid { display: grid; gap: 14px; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; height: 500px; }
.hero-grid--1 { grid-template-columns: 1fr; grid-template-rows: 1fr; height: 520px; }
.hero-grid--2 { grid-template-columns: 1.6fr 1fr; grid-template-rows: 1fr; height: 460px; }
.hero-grid--3 .hero-item:first-child { grid-row: 1 / 3; }
.hero-item { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--ink-3); min-height: 0; }
.hero-link { display: block; height: 100%; color: #fff !important; }
.hero-img {
	position: absolute; inset: 0;
	background-size: cover; background-position: center;
	transition: transform .6s cubic-bezier(.2,.7,.2,1);
}
.hero-link::after {
	content: '';
	position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(11,16,32,0) 30%, rgba(11,16,32,.55) 60%, rgba(11,16,32,.95) 100%);
}
.hero-link:hover .hero-img { transform: scale(1.05); }
.hero-body {
	position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
	padding: 24px 26px;
	display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
}
.hero-title {
	font-family: var(--f-head); font-weight: 800; font-style: italic;
	font-size: 26px; line-height: 1.05; text-transform: uppercase;
	text-shadow: 0 2px 10px rgba(0,0,0,.4);
	display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.hero-item:first-child .hero-title { font-size: clamp(30px, 3.4vw, 48px); }
.hero-link:hover .hero-title { color: var(--gold); }
.hero-lead {
	font-size: 17px; color: #d7dcea; max-width: 720px;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.hero .meta { color: #b5bdd1; }

/* baner dzialu / tagu */
.section-banner {
	background:
		repeating-linear-gradient(115deg, transparent 0 22px, rgba(255,255,255,.03) 22px 44px),
		var(--ink-2);
	color: #fff;
	padding: 28px 0;
	border-bottom: 6px solid var(--gold);
}
.section-banner + .hero { padding-top: 0; background: var(--ink-2); }
.section-banner .wrap { display: flex; align-items: center; gap: 18px; }
.section-banner-ico { width: 68px; height: 68px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; flex: none; box-shadow: 0 0 0 5px rgba(255,194,26,.35); }
.section-banner-ico img { width: 46px; height: 46px; }
.section-banner-kicker { display: block; color: var(--gold); font-family: var(--f-head); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: 14px; }
.section-banner--tag .section-banner-ico { background: var(--gold); }
.section-banner--tag .section-banner-ico .mdi { font-size: 34px; color: var(--ink); }
.section-banner-desc { margin: 10px 0 0; color: #b5bdd1; font-size: 16px; max-width: 720px; }
.section-banner-desc strong { color: #fff; }
.section-banner h1 { color: #fff; margin: 0; font-weight: 900; font-style: italic; text-transform: uppercase; font-size: clamp(34px, 5vw, 56px); line-height: 1; }

/* ---------- uklad ---------- */
.main { padding-top: 28px; padding-bottom: 48px; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; align-items: start; }
.content { min-width: 0; }
.c_reklama_a, .C_reklama_b, .c_reklama_b, .c_reklama_c { overflow: hidden; margin: 0 auto; text-align: center; }
.c_reklama_a { margin-bottom: 24px; }
.c_reklama_c { margin-bottom: 24px; }

.section-title { display: flex; align-items: center; gap: 14px; margin: 0 0 18px; }
.section-title h2 {
	margin: 0; font-size: 32px; font-weight: 900; font-style: italic; text-transform: uppercase;
	display: flex; align-items: baseline; gap: 12px;
}
.section-title h2 small { font-size: 16px; font-style: normal; font-weight: 600; color: var(--muted); letter-spacing: .05em; }
.section-title::before { content: ''; width: 10px; height: 28px; background: var(--red); transform: skewX(-14deg); flex: none; }
.section-title::after { content: ''; flex: 1; height: 3px; background: repeating-linear-gradient(90deg, var(--ink) 0 8px, transparent 8px 12px); opacity: .15; }

/* ---------- karty ---------- */
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.cards > .C_reklama_b { grid-column: 1 / -1; padding: 4px 0; }
.cards > .C_reklama_b img { max-width: 100%; height: auto; }
.cards > .C_reklama_b:empty { display: none; }
.card {
	background: var(--card);
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow);
	display: flex; flex-direction: column;
	transition: transform .2s, box-shadow .2s;
	position: relative;
}
.card::after {
	content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 4px;
	background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.card:hover::after { transform: scaleX(1); }
.card-img {
	display: block; aspect-ratio: 16 / 9;
	background-color: #d9dce3; background-size: cover; background-position: center;
}
.card-body { padding: 16px 20px 20px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; flex: 1; }
.card-body .tag { margin-top: -30px; }
.card h3 { margin: 0; font-size: 23px; font-weight: 700; line-height: 1.12; }
.card h3 a { color: var(--ink); }
.card h3 a:hover { color: var(--red); }
.card p {
	margin: 0; color: #4a5263; font-size: 15px;
	display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.card .meta { margin-top: auto; padding-top: 6px; }
/* ostatnia karta bez pary - na cala szerokosc, poziomo */
.cards > .card:last-of-type:nth-of-type(odd) { grid-column: 1 / -1; flex-direction: row; }
.cards > .card:last-of-type:nth-of-type(odd) .card-img { flex: 0 0 50%; aspect-ratio: auto; min-height: 260px; }
.cards > .card:last-of-type:nth-of-type(odd) .card-body { padding: 24px 28px; justify-content: center; }
.cards > .card:last-of-type:nth-of-type(odd) .card-body .tag { margin-top: 0; }
.cards > .card:last-of-type:nth-of-type(odd) h3 { font-size: 28px; }

/* pager */
.pager-sport { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 32px 0 0; }
.pager-btn {
	display: inline-flex; align-items: center; gap: 6px;
	font-family: var(--f-head); font-weight: 700; font-size: 18px; letter-spacing: .06em; text-transform: uppercase;
	color: #fff !important; background: var(--ink);
	padding: 10px 22px;
	clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
	transition: background .15s, color .15s;
}
a.pager-btn:hover { background: var(--gold); color: var(--ink) !important; }
.pager-btn.disabled { opacity: .25; cursor: default; }
.pager-info { color: var(--muted); font-size: 15px; }
.pager-info strong { color: var(--ink); }

/* ---------- sidebar / widgety ---------- */
.sidebar { min-width: 0; }
.widget { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 24px; overflow: hidden; }
.widget-head { background: var(--ink); position: relative; }
.widget-head::after { content: ''; position: absolute; right: 0; top: 0; bottom: 0; width: 60px; background: var(--gold); clip-path: polygon(40% 0, 100% 0, 100% 100%, 0 100%); opacity: .9; }
.widget-head h5 {
	margin: 0; padding: 14px 18px; position: relative; z-index: 1;
	display: flex; align-items: center; gap: 8px;
	color: #fff; font-size: 20px; font-weight: 800; font-style: italic; letter-spacing: .05em; text-transform: uppercase;
}
.widget-head h5 a { color: #fff; }
.widget-head h5 a:hover { color: var(--gold); }
.widget-head h5 .mdi { color: var(--gold); }
.widget-more { margin-left: auto; }
.widget-more .mdi { color: var(--ink) !important; font-size: 22px; }
.widget-body { padding: 16px 18px 18px; }

.widget-ligi .liga-group + .liga-group { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.liga-group-head { display: flex; align-items: center; gap: 8px; font-family: var(--f-head); font-weight: 800; font-size: 15px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.liga-group-head img { height: 22px; width: auto; filter: brightness(0); opacity: .55; }
.liga-links { display: flex; flex-wrap: wrap; gap: 6px; }
.liga-links a, .chip {
	display: inline-block;
	font-weight: 600; font-size: 14px;
	color: var(--ink); background: #f1f3f7;
	border: 1px solid var(--line);
	padding: 4px 11px; border-radius: 999px;
	transition: background .15s, color .15s, border-color .15s;
}
.liga-links a:hover, .chip:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.liga-links a.active { background: var(--ink); border-color: var(--ink); color: var(--gold); }
.chip { margin: 0 2px 6px 0; font-size: 13px; }
.chip.tag-m { font-size: 14px; }
.chip.tag-l { font-size: 15px; font-weight: 700; }
.chip.tag-xl { font-size: 16px; font-weight: 700; background: #fff4d1; border-color: #ffe08a; }

.widget-dzialy .widget-body { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.link_sport {
	display: flex; align-items: center; gap: 8px;
	padding: 7px 8px; border-radius: 4px;
	font-weight: 600; font-size: 14px; color: var(--ink);
	transition: background .15s;
}
.link_sport .ico { width: 30px; height: 30px; background: #f1f3f7; }
.link_sport .ico img { width: 22px; height: 22px; }
.link_sport:hover { background: #fff4d1; color: var(--ink); }
.link_sport.active { background: var(--ink); color: var(--gold); }

.widget .ul-item { padding: 10px 0; border-top: 1px solid var(--line); }
.widget .ul-item:first-child { border-top: 0; padding-top: 0; }
.widget .ul-item h5 { margin: 0 0 4px; font-family: var(--f-body); font-size: 15px; font-weight: 600; line-height: 1.3; }
.widget .ul-item h5 a { color: var(--ink); }
.widget .ul-item h5 a:hover { color: var(--red); }
.widget .ul-item .meta { font-size: 12px; }

.widget-fb .widget-body { overflow: hidden; }
.widget-fb .btn-fb { margin-bottom: 10px; }

/* ---------- artykul / podstrona ---------- */
.news-item {
	background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow);
	padding: 32px 36px; color: #262b36;
}
.news-item h1 { margin: 0 0 16px; font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; line-height: 1.08; }
.article-head .tag { margin-bottom: 12px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 14px; color: var(--muted); padding-bottom: 16px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.article-meta a { color: var(--muted); }
.article-meta a:hover { color: var(--red); }
.article-meta .mdi { margin-right: 5px; }
.article-author { font-weight: 600; color: var(--ink) !important; }
#new_social { margin-bottom: 18px; }
.news-item .lead { font-size: 20px; font-weight: 600; line-height: 1.5; color: var(--ink); margin: 0 0 22px; }
.news-image { margin: 0 -36px 28px; position: relative; }
.news-image img { display: block; width: 100%; height: auto; max-height: 640px; object-fit: cover; }
.news-image figcaption { font-size: 13px; color: var(--muted); padding: 8px 36px 0; }
.news-item .pelny { font-size: 18px; line-height: 1.7; }
.news-item .pelny p { margin: 0 0 1.1em; }
.news-item .pelny img { height: auto; }
.news-item .pelny h2, .news-item .pelny h3 { margin: 1.4em 0 .5em; }
.news-item blockquote { background: #f7f8fb; border-left: 6px solid var(--gold); margin: 20px 0; padding: 14px 20px; font-style: italic; font-size: inherit; }
.news-item iframe, .iframe iframe { border: 0; max-width: 100%; }

/* tabele w tresci (wyniki) */
.news-item .pelny table { width: 100% !important; border-collapse: collapse; margin: 0 0 1.2em; font-size: 15px; border: 0; }
.pelny table td, .pelny table th { padding: 9px 10px; border: 0 !important; border-bottom: 1px solid var(--line) !important; }
.pelny table tr:first-child { background: var(--ink) !important; color: #fff; font-family: var(--f-head); font-size: 15px; letter-spacing: .06em; text-transform: uppercase; }
.pelny table tr:first-child td { border-bottom: 0 !important; }
.pelny table tr[bgcolor="#DFDFDF" i], .pelny table tr[bgcolor="#F5F5F5" i] { background: #fff; }
.pelny table tr:not(:first-child):hover { background: #fff8de !important; }
.pelny table tr[bgcolor="#50E983" i] td:first-child { box-shadow: inset 4px 0 0 #18b85a; }
.pelny table tr[bgcolor="#FFFF99" i] td:first-child { box-shadow: inset 4px 0 0 var(--gold); }
.page-tabela .pelny { overflow-x: auto; }
.kicker { display: inline-flex; align-items: center; gap: 6px; color: var(--red); font-family: var(--f-head); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; font-size: 14px; margin-bottom: 6px; }

.block-title {
	display: flex; align-items: center; gap: 10px;
	font-size: 24px; font-weight: 900; font-style: italic; text-transform: uppercase;
	margin: 36px 0 16px;
}
.block-title::before { content: ''; width: 8px; height: 22px; background: var(--gold); transform: skewX(-14deg); }

.fb-cta {
	display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
	background: linear-gradient(100deg, #eef4ff, #f7f9ff);
	border: 1px solid #d6e3ff; border-radius: var(--radius);
	padding: 16px 20px; margin: 28px 0 0; font-size: 16px; line-height: 1.4;
}
.fb-cta > .mdi { font-size: 40px; color: #1877f2; }
.fb-cta > div { flex: 1; min-width: 200px; }
.fb-cta .btn-fb { margin-left: auto; }

.news-item .wideo_do_artykulu div.wideo { position: relative; padding-bottom: 56.25%; height: 0; margin-bottom: 14px; border-radius: var(--radius); overflow: hidden; }
.news-item .wideo_do_artykulu div.wideo iframe { position: absolute; inset: 0; width: 100%; height: 100%; }

.zdjecia_do_artykulu { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.zdjecia_do_artykulu a { display: block; aspect-ratio: 1; background-size: cover; background-position: center; border-radius: 4px; transition: opacity .15s, transform .2s; }
.zdjecia_do_artykulu a:hover { opacity: .85; transform: scale(.98); }
.more-photos { margin: 16px 0 0; text-align: right; }

.zobacz_rowniez ul { list-style: none; padding: 0; margin: 0; }
.zobacz_rowniez li { border-top: 1px solid var(--line); }
.zobacz_rowniez li:first-child { border-top: 0; }
.zobacz_rowniez a { display: flex; gap: 10px; padding: 10px 0; color: var(--ink); font-weight: 600; }
.zobacz_rowniez a::before { content: '›'; color: var(--red); font-weight: 800; font-size: 20px; line-height: 1; }
.zobacz_rowniez a:hover { color: var(--red); }

/* komentarze */
.comments { margin-top: 12px; }
.comments .media { background: #f7f8fb; border-radius: var(--radius); padding: 14px 16px; margin: 0 0 12px; border-left: 4px solid var(--line); }
.comments .media:hover { border-left-color: var(--gold); }
.comments .avatar {
	display: flex; align-items: center; justify-content: center;
	width: 44px; height: 44px; border-radius: 50%;
	background: var(--ink); color: var(--gold);
	font-family: var(--f-head); font-weight: 800; font-size: 22px;
}
.media-body h4.media-heading { font-family: var(--f-body); font-weight: 700; font-size: 16px; }
.media-body .koment-date { float: right; font-size: 13px; color: var(--muted); }
.media-body p { color: #333; margin-bottom: 10px; }
.comments .koment-bottom { display: flex; align-items: center; gap: 6px; flex-wrap: nowrap; font-size: 14px; color: var(--muted); }
.comments .koment-bottom b { margin-right: 4px; white-space: nowrap; }
.comments .koment-bottom a.koment_ocen, .comments .koment-bottom a.zgloszenie {
	display: inline-flex; align-items: center; justify-content: center; gap: 4px; flex: none;
	height: 36px; min-width: 36px; padding: 0 10px;
	background: #fff; border: 1px solid var(--line); border-radius: 999px;
	font-size: 18px; color: var(--ink); line-height: 1;
	transition: background .15s, border-color .15s;
}
.comments .koment-bottom a.zgloszenie { margin-left: auto; font-size: 13px; font-weight: 600; color: var(--muted); }
.comments .koment-bottom a.zgloszenie .mdi { font-size: 16px; color: #f57c00; }
.comments .koment-bottom a.koment_ocen:hover, .comments .koment-bottom a.koment_ocen:active { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.comments .koment-bottom a.zgloszenie:hover, .comments .koment-bottom a.zgloszenie:active { border-color: var(--red); color: var(--red); }
.comments .koment-bottom a { color: var(--muted); }
.comments .koment-bottom a:hover { color: var(--red); }
.comments .zgloszenie { cursor: pointer; }
.forum_quote { font-weight: bold; margin: 0 5px; font-size: 12px; }
.forum_quote1, .forum_quote2 { background: #fff; border: 1px solid #d5d8e0; border-radius: 4px; font-size: 13px; margin: 5px; padding: 6px 8px; }
.comment-form-title { font-size: 22px; font-weight: 800; text-transform: uppercase; margin: 28px 0 16px; }
.comment-form .form-control { border-radius: 4px; border: 1px solid #d5d8e0; box-shadow: none; font-size: 15px; height: auto; padding: 9px 12px; }
.comment-form .form-control:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(255,194,26,.25); outline: 0; }
.comment-form .control-label { font-weight: 600; color: var(--ink); }

/* 404 */
.page-404 { text-align: center; }
.big-404 { font-family: var(--f-head); font-weight: 900; font-style: italic; font-size: 140px; line-height: 1; color: var(--ink); }
.big-404 span { color: var(--gold); }

/* ---------- stopka ---------- */
.site-footer { background: var(--ink); color: #a4acc0; position: relative; }
.footer-stripe { height: 6px; background: linear-gradient(90deg, var(--gold) 0 70%, var(--red) 70% 100%); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; padding-top: 44px; padding-bottom: 32px; }
.footer-brand img { height: 64px; width: auto; filter: invert(1); margin-bottom: 14px; }
.footer-brand p { font-size: 15px; max-width: 360px; }
.footer-col h4 { color: #fff; font-size: 18px; font-weight: 800; font-style: italic; letter-spacing: .08em; text-transform: uppercase; margin: 6px 0 14px; }
.footer-col a { display: block; color: #c4cada; font-size: 15px; padding: 3px 0; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 18px; padding-bottom: 22px; padding-right: 76px; font-size: 13px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: var(--gold); }
.to-top {
	position: fixed; right: 20px; bottom: 20px; z-index: 90;
	width: 46px; height: 46px; display: flex; align-items: center; justify-content: center;
	background: var(--gold); color: var(--ink) !important; font-size: 24px; border-radius: 50%;
	box-shadow: 0 6px 18px rgba(0,0,0,.25);
	opacity: 0; pointer-events: none; transform: translateY(10px); transition: opacity .2s, transform .2s;
}
body.show-top .to-top { opacity: 1; pointer-events: auto; transform: none; }

/* ---------- pomocnicze (stare klasy z tresci) ---------- */
.gray { color: #c7c7bc !important; } .white { color: #fff !important; } .black { color: #000 !important; }
.red { color: #E13800 !important; } .blue { color: #00f !important; } .green { color: #0c0 !important; } .red1 { color: #f00 !important; }
.color1 { color: #4c4c4c !important; }
.t_9 { font-size: 9px !important; } .t_10 { font-size: 10px !important; } .t_11 { font-size: 11px !important; } .t_12 { font-size: 12px !important; }
.t_14 { font-size: 14px !important; } .t_16 { font-size: 16px !important; } .t_18 { font-size: 18px !important; }
.t_normal { font-weight: normal; } .bold { font-weight: bold; } .underline { text-decoration: underline !important; }
.t_center { text-align: center !important; } .t_right { text-align: right !important; } .t_left { text-align: left !important; }
.div_right { float: right; } .div_left { float: left; }

/* ---------- responsywnosc ---------- */
@media (max-width: 1100px) {
	.layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; }
	.mainnav-link { padding: 0 11px; font-size: 17px; }
}

@media (max-width: 991px) {
	.layout { grid-template-columns: 1fr; }
	.sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; align-items: start; }
	.sidebar > .c_reklama_c { grid-column: 1 / -1; }

	.header-in { height: 64px; }
	.brand img { height: 44px; }
	.nav-toggle {
		display: flex; flex-direction: column; justify-content: center; gap: 5px;
		margin-left: auto; width: 46px; height: 46px; padding: 0 11px;
		background: var(--gold); border: 0; border-radius: 4px; cursor: pointer; z-index: 3;
	}
	.nav-toggle span { display: block; height: 3px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
	body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
	body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
	body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

	.mainnav {
		position: fixed; top: 0; right: 0; bottom: 0; z-index: 2;
		width: min(360px, 88vw); height: auto;
		flex-direction: column; align-items: stretch;
		background: var(--ink-2); padding: 80px 0 30px;
		overflow-y: auto;
		transform: translateX(100%); transition: transform .25s ease;
		box-shadow: -20px 0 40px rgba(0,0,0,.4);
	}
	body.nav-open .mainnav { transform: none; }
	body.nav-open::after { content: ''; position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 99; }
	.mainnav-link { height: auto; padding: 14px 24px; font-size: 21px; width: 100%; justify-content: flex-start; border-bottom: 1px solid rgba(255,255,255,.06); }
	.mainnav-link::after { display: none; }
	.mainnav-link .mdi-chevron-down { margin-left: auto; }
	.drop-panel { position: static; box-shadow: none; border-top: 0; padding: 6px 14px 14px; background: var(--ink); }
	.drop-dzialy, .drop-ligi { grid-template-columns: 1fr; }
	.drop-col { margin-bottom: 8px; }

	.hero-grid, .hero-grid--3 { grid-template-columns: 1fr 1fr; grid-template-rows: 380px 220px; height: auto; }
	.hero-grid--3 .hero-item:first-child { grid-row: auto; grid-column: 1 / -1; }
	.hero-grid--1 { grid-template-columns: 1fr; grid-template-rows: 400px; }
	.hero-grid--2 { grid-template-rows: 320px; }

	.footer-grid { grid-template-columns: 1fr 1fr; }
	.footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
	body { font-size: 15px; }
	.wrap { padding: 0 14px; }
	.topbar-home span, .topbar-date { display: none; }
	.topbar-fb { margin-left: auto; }
	.leaguebar-label { font-size: 15px; padding: 0 16px 0 10px; }

	.hero { padding: 14px 0 20px; }
	.hero-grid, .hero-grid--1, .hero-grid--2, .hero-grid--3 { grid-template-columns: 1fr; grid-template-rows: none; height: auto; gap: 10px; }
	.hero-item { height: 210px; }
	.hero-grid .hero-item:first-child { height: 340px; grid-column: auto; }
	.hero-body { padding: 16px; }
	.hero-title { font-size: 22px; }
	.hero-lead { display: none; }

	.cards { grid-template-columns: 1fr; gap: 16px; }
	.cards > .card:last-of-type:nth-of-type(odd) { flex-direction: column; }
	.cards > .card:last-of-type:nth-of-type(odd) .card-img { flex: none; aspect-ratio: 16 / 9; min-height: 0; }
	.cards > .card:last-of-type:nth-of-type(odd) .card-body { padding: 16px 20px 20px; }
	.cards > .card:last-of-type:nth-of-type(odd) .card-body .tag { margin-top: -30px; }
	.cards > .card:last-of-type:nth-of-type(odd) h3 { font-size: 23px; }
	.section-title h2 { font-size: 26px; }
	.sidebar { grid-template-columns: 1fr; }

	.news-item { padding: 20px 16px; }
	.news-image { margin: 0 -16px 20px; }
	.news-image figcaption { padding: 8px 16px 0; }
	.news-item .pelny { font-size: 16px; }
	.news-item .lead { font-size: 17px; }
	.zdjecia_do_artykulu { grid-template-columns: repeat(2, 1fr); }
	.pager-btn { padding: 9px 14px; font-size: 16px; }
	.pager-info { display: none; }

	.footer-grid { grid-template-columns: 1fr; gap: 24px; }
	.big-404 { font-size: 96px; }
}
