/*
Theme Name: UKS120
Theme URI: https://uks120lodz.pl
Author: UKS 120 Łódź
Description: Motyw dla szkolnej drużyny unihokeja UKS 120 Łódź przy Szkole Podstawowej nr 120 w Łodzi. Kolorystyka oparta na oficjalnym logo (błękit, czerwień, biel, granat). Strona główna: hero z logo, aktualności, terminarz meczów, skład drużyny, o drużynie, galeria. Mecze i zawodników dodajesz w Kokpicie, teksty edytujesz w Wygląd → Dostosuj.
Version: 4.0.5
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: uks120
Tags: sport, blog, custom-logo, custom-menu, featured-images, translation-ready
*/

/* =========================================================
   1. Fonty (lokalnie, bez Google – zgodnie z RODO)
   ========================================================= */
@font-face { font-family: "Barlow Condensed"; src: url(assets/fonts/BarlowCondensed-SemiBold.woff2) format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url(assets/fonts/BarlowCondensed-Bold.woff2) format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url(assets/fonts/BarlowCondensed-BoldItalic.woff2) format("woff2"); font-weight: 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url(assets/fonts/BarlowCondensed-ExtraBoldItalic.woff2) format("woff2"); font-weight: 800; font-style: italic; font-display: swap; }
@font-face { font-family: "Figtree"; src: url(assets/fonts/Figtree.woff2) format("woff2"); font-weight: 300 900; font-style: normal; font-display: swap; }

/* =========================================================
   2. Zmienne – kolory z oficjalnego logo
   ========================================================= */
:root {
	--sky: #0092d7;        /* błękit tarczy */
	--sky-light: #e6f4fc;
	--red: #e31e25;        /* czerwień szarfy */
	--red-dark: #c3161c;
	--royal: #1c53a5;      /* granat cyfr „120” */
	--navy: #0f2350;
	--navy-dark: #0a1838;
	--hero-a: #0d2a6e;
	--hero-b: #123a8f;
	--ink: #1b2438;
	--muted: #5d6880;
	--line: #e2e8f1;
	--bg: #f5f8fc;
	--white: #fff;

	--font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
	--font-body: "Figtree", "Segoe UI", Arial, sans-serif;

	--wrap: 1520px;
	--gutter: clamp(16px, 4vw, 76px);
	--radius: 6px;
	--shadow: 0 6px 18px rgba(15, 35, 80, .07);
	--fs: 1; /* mnożnik rozmiaru tekstu – zmieniany przyciskami A / A+ / A++ */
}
html.a11y-font-1 { --fs: 1.15; }
html.a11y-font-2 { --fs: 1.3; }
/* Nagłówek i pasek górny zostają w normalnym rozmiarze, żeby menu się mieściło */
.topbar, .site-header { --fs: 1; }

/* =========================================================
   3. Baza
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--font-body);
	font-size: calc(16px * var(--fs, 1));
	line-height: 1.6;
	color: var(--ink);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--royal); text-decoration: none; }
a:hover { color: var(--red); }
h1, h2, h3, h4, h5, h6 { margin: 0; line-height: 1.15; color: var(--navy); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.disp { font-family: var(--font-display); font-style: italic; font-weight: 800; letter-spacing: .005em; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link:focus {
	position: fixed !important; top: 8px; left: 8px; z-index: 1000;
	width: auto; height: auto; clip: auto; margin: 0;
	padding: 10px 16px; background: var(--white); color: var(--navy); font-weight: 700;
}

/* Przyciski */
.btn {
	display: inline-block;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: calc(17px * var(--fs, 1));
	letter-spacing: .05em;
	text-transform: uppercase;
	padding: 11px 28px;
	border-radius: 4px;
	border: 2px solid transparent;
	line-height: 1.2;
	transition: background-color .15s, color .15s, border-color .15s;
}
.btn--red { background: var(--red); color: var(--white); }
.btn--red:hover { background: var(--red-dark); color: var(--white); }
.btn--outline { border-color: var(--white); color: var(--white); }
.btn--outline:hover { background: var(--white); color: var(--navy); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--royal); color: var(--white); }

/* =========================================================
   4. Pasek górny
   ========================================================= */
.topbar { background: var(--navy-dark); color: #dfe7f5; font-size: calc(13.5px * var(--fs, 1)); }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 48px; }
.topbar__group { display: flex; align-items: center; gap: 28px; }
.topbar__item { display: inline-flex; align-items: center; gap: 8px; color: #dfe7f5; }
.topbar a.topbar__item:hover { color: var(--white); }
.topbar svg { width: 16px; height: 16px; fill: currentColor; flex: none; }
.social { display: flex; gap: 16px; }
.social a { color: var(--white); display: inline-flex; }
.social a:hover { color: var(--sky); }
.social svg { width: 19px; height: 19px; fill: currentColor; }
.site-footer .social { margin-top: 14px; }
.site-footer .social a { color: #c4d0e6; }
.site-footer .social a:hover { color: var(--white); }

/* =========================================================
   5. Nagłówek i menu
   ========================================================= */
.site-header { background: var(--white); box-shadow: 0 2px 0 var(--line); position: sticky; top: 0; z-index: 50; }
.admin-bar .site-header { top: 32px; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 88px; }

.brand { display: flex; align-items: center; gap: 16px; color: var(--navy); }
.brand:hover { color: var(--navy); }
.brand img, .brand .custom-logo { height: 76px; width: auto; filter: drop-shadow(0 3px 6px rgba(15, 35, 80, .18)); }
.brand__name { display: block; font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: calc(31px * var(--fs, 1)); line-height: 1; }
.brand__tagline { display: block; font-size: calc(14px * var(--fs, 1)); color: var(--muted); margin-top: 4px; }

.main-nav ul { list-style: none; display: flex; align-items: center; gap: clamp(18px, 2.4vw, 38px); }
.main-nav a {
	display: block;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: calc(17.5px * var(--fs, 1));
	letter-spacing: .04em;
	text-transform: uppercase;
	color: var(--navy);
	padding: 32px 0 28px;
	border-bottom: 4px solid transparent;
}
.main-nav a:hover { color: var(--red); }
.main-nav .current-menu-item > a,
.main-nav .current_page_item > a,
.main-nav .current-menu-ancestor > a { color: var(--red); border-bottom-color: var(--red); }
.main-nav .menu-cta > a { background: var(--red); color: var(--white); padding: 10px 18px; border: 0; border-radius: 4px; }
.main-nav .menu-cta > a:hover { background: var(--red-dark); }
/* Menu rozwijane (podmenu) */
.main-nav li { position: relative; }
.main-nav .menu-item-has-children > a::after {
	content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 8px;
	border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
	transform: translateY(-4px) rotate(45deg);
}
.main-nav .sub-menu {
	display: none; position: absolute; top: 100%; left: -18px; z-index: 60;
	min-width: 240px; padding: 8px 0;
	background: var(--white); border-top: 4px solid var(--red); border-radius: 0 0 var(--radius) var(--radius);
	box-shadow: 0 14px 30px rgba(15, 35, 80, .16);
}
.main-nav li:hover > .sub-menu,
.main-nav li:focus-within > .sub-menu,
.main-nav li.is-open > .sub-menu { display: block; }
.main-nav > ul > li:nth-last-child(-n+2) > .sub-menu { left: auto; right: -18px; }
.main-nav .sub-menu a {
	padding: 10px 20px; border: 0; font-size: calc(16px * var(--fs, 1)); white-space: nowrap;
}
.main-nav .sub-menu a:hover { background: var(--sky-light); color: var(--red); }
.main-nav .sub-menu .current-menu-item > a { color: var(--red); border: 0; }
.submenu-toggle { display: none; }

.nav-toggle {
	display: none;
	align-items: center; gap: 8px;
	background: none; border: 2px solid var(--navy); border-radius: 4px;
	color: var(--navy); padding: 8px 12px; cursor: pointer;
	font: 700 16px var(--font-display); letter-spacing: .05em; text-transform: uppercase;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: currentColor; box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor; }

/* =========================================================
   6. Hero
   ========================================================= */
.hero {
	position: relative;
	overflow: hidden;
	min-height: 380px;
	background: linear-gradient(100deg, var(--hero-a) 0%, var(--hero-b) 42%, #0c3f96 70%, #0a2f78 100%);
	color: var(--white);
	isolation: isolate;
}
.hero__scene { position: absolute; top: 0; right: 0; height: 100%; width: 60%; z-index: -3; }
.hero__scene svg { width: 100%; height: 100%; display: block; }
.hero__photo { position: absolute; top: 0; right: 0; height: 100%; width: 60%; z-index: -3; background-size: cover; background-position: center; }
.hero__photo::after { content: ""; position: absolute; inset: 0; background: #123a8f; mix-blend-mode: multiply; opacity: .75; }
.hero__fade { position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, var(--hero-a) 0%, var(--hero-a) 30%, rgba(13, 42, 110, .55) 52%, rgba(13, 42, 110, 0) 75%); }
.hero__sash { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }

.hero__inner { position: relative; display: grid; grid-template-columns: minmax(0, 560px) 1fr; align-items: center; min-height: 380px; padding: 36px 0; }
.hero__text { position: relative; z-index: 2; }
.hero__kicker {
	display: inline-block; position: relative; padding-bottom: 12px;
	font-family: var(--font-display); font-style: italic; font-weight: 700; font-size: calc(19px * var(--fs, 1)); letter-spacing: .02em; color: #dce8fb;
}
.hero__kicker::after { content: ""; position: absolute; left: 0; bottom: 0; width: 120px; height: 3px; background: var(--red); }
.hero__title { margin-top: 22px; color: var(--white); font-size: calc(clamp(48px, 5vw, 76px) * var(--fs, 1)); line-height: .9; }
.hero__title span { display: block; color: var(--red); font-size: .67em; margin-top: 10px; }
.hero__lead { font-size: calc(19px * var(--fs, 1)); line-height: 1.45; margin: 20px 0 0; color: #e8effb; max-width: 470px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 26px; }

.hero__crest { justify-self: start; margin-left: 6%; position: relative; z-index: 2; }
.hero__crest img { height: 334px; width: auto; filter: drop-shadow(0 18px 28px rgba(5, 15, 45, .55)); }

.hero__values {
	position: absolute; right: 0; bottom: 30px; z-index: 3;
	text-align: right; color: #000000; font-size: calc(23px * var(--fs, 1)); line-height: 1.2; /* kolor haseł Pasja / Współpraca / Szacunek */
}
.hero__values::before, .hero__values::after { content: ""; display: block; width: 56px; height: 3px; background: #000000; margin: 0 0 10px auto; } /* kreski nad i pod hasłami */
.hero__values::after { margin: 10px 0 0 auto; }

/* Baner na zakładce Live (bez przycisków) – logo widoczne także na telefonie */
.hero--page .hero__lead { margin-bottom: 4px; }
@media (max-width: 782px) {
	.hero--page .hero__inner { padding: 24px 0 56px; justify-items: center; text-align: center; }
	.hero--page .hero__crest { display: block; order: -1; justify-self: center; margin: 0 0 14px; }
	.hero--page .hero__crest img { height: 170px; }
	.hero--page .hero__kicker::after { left: 50%; transform: translateX(-50%); }
	.hero--page .hero__lead { margin-left: auto; margin-right: auto; }
}

/* =========================================================
   7. Sekcje – wspólne
   ========================================================= */
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.section-title { display: flex; align-items: center; gap: 9px; font-size: calc(23px * var(--fs, 1)); text-transform: uppercase; color: var(--navy); }
.section-title::before { content: ""; width: 5px; height: 22px; background: var(--red); transform: skewX(-18deg); flex: none; }
.section-link { font-family: var(--font-display); font-weight: 700; font-size: calc(14px * var(--fs, 1)); letter-spacing: .05em; text-transform: uppercase; color: var(--royal); white-space: nowrap; }

.empty {
	background: var(--white); border-left: 5px solid var(--sky); border-radius: 4px;
	padding: 16px 18px; color: var(--muted); font-size: calc(14.5px * var(--fs, 1)); box-shadow: var(--shadow);
}
.empty a { font-weight: 700; }

/* Rząd trzech kolumn */
.home-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3.3vw, 56px); padding: 30px 0 48px; }

/* =========================================================
   8. Aktualności
   ========================================================= */
.news-list { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); }
.news-item { display: grid; grid-template-columns: 112px 1fr; gap: 16px; align-items: center; padding: 9px 14px 9px 0; border-bottom: 1px solid var(--line); }
.news-item:last-child { border-bottom: 0; }
.news-item__thumb { width: 112px; height: 80px; border-radius: 4px; overflow: hidden; background: var(--royal); }
.news-item__thumb img, .news-item__thumb svg { width: 100%; height: 100%; object-fit: cover; display: block; }
.news-item__title { font-family: var(--font-body); font-size: calc(16px * var(--fs, 1)); font-weight: 700; line-height: 1.25; }
.news-item__title a { color: var(--ink); }
.news-item__title a:hover { color: var(--red); }
.news-item time { display: block; font-size: calc(12.5px * var(--fs, 1)); color: var(--muted); margin: 5px 0 3px; }
.news-item__excerpt { font-size: calc(13px * var(--fs, 1)); color: #4a556b; line-height: 1.35; margin: 0; }

/* =========================================================
   9. Terminarz
   ========================================================= */
.match { display: grid; grid-template-columns: 50px minmax(0, 1fr) 84px; gap: 14px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.match:first-child { padding-top: 0; }
.match__date { background: var(--navy); color: var(--white); text-align: center; border-radius: 3px; height: 54px; display: flex; flex-direction: column; justify-content: center; }
.match__date b { font-family: var(--font-display); font-weight: 700; font-size: calc(26px * var(--fs, 1)); line-height: 1; }
.match__date small { font-size: calc(10.5px * var(--fs, 1)); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.match--next .match__date { background: var(--red); }
.match__teams { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: calc(19px * var(--fs, 1)); color: var(--navy); min-width: 0; }
.match__teams img { height: 30px; width: auto; flex: none; }
.match__vs { font-family: var(--font-body); font-weight: 500; font-size: calc(13px * var(--fs, 1)); color: var(--muted); }
.match__home { white-space: nowrap; }
.match__opp { color: #55607a; min-width: 0; line-height: 1.1; }
.match__score { font-family: var(--font-display); font-weight: 700; font-size: calc(20px * var(--fs, 1)); color: var(--white); background: var(--royal); border-radius: 3px; padding: 0 8px; }
.match__meta { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: calc(12px * var(--fs, 1)); color: var(--muted); margin-top: 3px; }
.match__meta b { color: var(--royal); }
.match__comp { font-size: calc(10.5px * var(--fs, 1)); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--sky); text-align: right; line-height: 1.25; }

/* =========================================================
   10. Drużyna
   ========================================================= */
.team { position: relative; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px 24px 20px; }
.team__name { font-family: var(--font-display); font-weight: 700; font-size: calc(22px * var(--fs, 1)); text-transform: uppercase; }
.team__coach { font-size: calc(13.5px * var(--fs, 1)); color: var(--muted); margin-top: 2px; }
.team__coach p { margin: 0; }
.players { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 36px) / 4); gap: 12px; margin-top: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.players::-webkit-scrollbar { display: none; }
.player { display: block; scroll-snap-align: start; color: inherit; }
.player:hover { color: inherit; }
.player__card { transition: transform .2s, box-shadow .2s; }
.player:hover .player__card, .player:focus-visible .player__card { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(15, 35, 80, .18); }
.player:hover .player__name { color: var(--red); }
.player__card { position: relative; height: 118px; border-radius: 4px; overflow: hidden; background: linear-gradient(160deg, #e9f4fc, #d3e8f7); }
.player__card img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.player__card svg { position: absolute; left: 50%; bottom: -6px; transform: translateX(-50%); width: 112px; }
.player__num { position: absolute; left: 0; bottom: 0; background: var(--navy); color: var(--white); font-size: calc(21px * var(--fs, 1)); padding: 2px 9px; line-height: 1.2; }
.player__name { display: block; font-family: var(--font-display); font-weight: 700; font-size: calc(15.5px * var(--fs, 1)); text-transform: uppercase; line-height: 1.05; margin-top: 8px; color: var(--ink); }
.player__pos { font-size: calc(11px * var(--fs, 1)); text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 700; }
.player__pos--gk { color: var(--red); }
.player--coach .player__card { background: linear-gradient(160deg, #1c3f86, #0f2350); }
.player__num--coach { background: var(--red); font-size: calc(14px * var(--fs, 1)); letter-spacing: .04em; text-transform: uppercase; padding: 4px 9px; }
.player__pos--coach { color: var(--royal); }
.team__arrow {
	position: absolute; top: 118px; width: 34px; height: 34px; border-radius: 50%;
	border: 0; background: var(--white); color: var(--navy); cursor: pointer;
	box-shadow: 0 3px 10px rgba(15, 35, 80, .18); font-size: calc(20px * var(--fs, 1)); line-height: 1; display: grid; place-items: center;
}
.team__arrow:hover { color: var(--red); }
.team__arrow--prev { left: -17px; }
.team__arrow--next { right: -17px; }

/* =========================================================
   11. O drużynie
   ========================================================= */
.about { position: relative; overflow: hidden; background: var(--white); padding: 64px 0; }
/* overflow: clip ucina ukośne tło tak samo jak hidden, ale nie psuje „przyklejonych” kafelków */
@supports (overflow: clip) { .about { overflow: clip; } }
.about::before { content: ""; position: absolute; right: -120px; top: 0; bottom: 0; width: 520px; background: var(--sky-light); transform: skewX(-18deg); }
.about__inner { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
/* Kafelki obok historii klubu: na górze, a przy długim tekście „przyklejone” podczas przewijania */
@media (min-width: 1081px) {
	.about .features { position: sticky; top: 112px; }
	.admin-bar .about .features { top: 144px; }
}
.about__title { font-size: calc(clamp(34px, 3.2vw, 46px) * var(--fs, 1)); line-height: 1; }
.about__title span { color: var(--red); }
.about__text { margin-top: 18px; font-size: calc(17px * var(--fs, 1)); line-height: 1.6; color: #36415a; max-width: 640px; }
.about__text p { margin-bottom: 1em; }
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.feature { background: var(--white); border: 1px solid var(--line); border-left: 5px solid var(--sky); border-radius: 4px; padding: 18px 20px; }
.feature:nth-child(2), .feature:nth-child(4) { border-left-color: var(--red); }
.feature:nth-child(3) { border-left-color: var(--royal); }
.feature b { display: block; font-family: var(--font-display); font-weight: 700; font-size: calc(21px * var(--fs, 1)); color: var(--navy); }
.feature span { display: block; font-size: calc(14px * var(--fs, 1)); color: var(--muted); line-height: 1.45; margin-top: 4px; }

/* =========================================================
   12. Galeria
   ========================================================= */
.gallery-home { padding: 60px 0 66px; }
.gallery-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 180px 180px; gap: 14px; }
.gallery-grid__item { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--royal); }
.gallery-grid__item:first-child { grid-row: span 2; }
.gallery-grid__item img, .gallery-grid__item svg { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.gallery-grid__item a:hover img { transform: scale(1.03); }
.gallery-grid__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 12px 16px; background: linear-gradient(0deg, rgba(10, 24, 56, .85), rgba(10, 24, 56, 0)); color: var(--white); font-size: calc(14px * var(--fs, 1)); font-weight: 600; }

/* =========================================================
   12b. Darczyńcy – przewijany pasek logo
   ========================================================= */
.sponsors-strip { background: var(--white); border-top: 1px solid var(--line); padding: 48px 0 56px; }
.admin-preview-note { display: inline-block; margin-bottom: 14px; padding: 6px 12px; border-radius: 4px; background: #fff4d6; color: #6b4e00; font-size: calc(13px * var(--fs, 1)); font-weight: 600; }
.marquee {
	overflow: hidden; margin-top: 6px;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.marquee__track { display: flex; width: max-content; animation: uks-marquee var(--marquee-duration, 40s) linear infinite; }
.marquee__group { display: flex; gap: 20px; padding: 6px 20px 6px 0; }
.marquee:hover .marquee__track, .marquee:focus-within .marquee__track { animation-play-state: paused; }
@keyframes uks-marquee { to { transform: translateX(-50%); } }
.sponsor-tile {
	flex: none; width: 210px; height: 110px; padding: 16px;
	display: grid; place-items: center;
	background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
	transition: border-color .2s, box-shadow .2s;
}
a.sponsor-tile:hover { border-color: var(--sky); box-shadow: var(--shadow); }
.sponsor-tile img { max-width: 100%; max-height: 76px; width: auto; height: auto; object-fit: contain; }
.sponsor-tile__name { font-family: var(--font-display); font-weight: 700; font-size: calc(20px * var(--fs, 1)); color: var(--navy); text-align: center; line-height: 1.1; }
.sponsor-tile--empty { border: 2px dashed #b9c7dd; background: var(--sky-light); color: #6a7a96; font-size: calc(12px * var(--fs, 1)); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; text-align: center; }
.sponsors-strip__cta { margin-top: 24px; text-align: center; }
/* 1–3 darczyńców na komputerze: bez przewijania, każde logo raz, wyśrodkowane */
@media (min-width: 783px) {
	.marquee--few { -webkit-mask-image: none; mask-image: none; }
	.marquee--few .marquee__track { animation: none; width: auto; justify-content: center; }
	.marquee--few .marquee__group { flex-wrap: wrap; justify-content: center; padding-right: 0; }
	.marquee--few .marquee__group[aria-hidden="true"],
	.marquee--few .is-repeat { display: none; }
}
@media (prefers-reduced-motion: reduce) {
	.marquee { -webkit-mask-image: none; mask-image: none; }
	.marquee__track { animation: none; width: auto; }
	.marquee__group { flex-wrap: wrap; justify-content: center; padding-right: 0; }
	.marquee__group[aria-hidden="true"] { display: none; }
}

/* Strona „Darczyńcy”: wszyscy w jednym rzędzie, rodzaj wsparcia jako podpis nad kartą */
.sponsor-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; margin-top: 18px; }
.sponsor-row > .sponsor-card { flex: 0 1 280px; }
.sponsor-card__tag {
	display: block; padding: 8px 16px;
	font-family: var(--font-display); font-weight: 700; font-size: calc(14px * var(--fs, 1));
	letter-spacing: .06em; text-transform: uppercase; text-align: center;
	color: var(--white); background: var(--sky);
}
.sponsor-card--glowny .sponsor-card__tag { background: var(--red); }
.sponsor-card--partner .sponsor-card__tag { background: var(--royal); }
.sponsor-row .sponsor-card { border-top: 0; }
/* Strona „Darczyńcy” */
.sponsor-level { margin-top: 40px; }
.sponsor-level:first-child { margin-top: 0; }
.sponsor-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; margin-top: 18px; }
.sponsor-level--glowny .sponsor-grid { grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); }
.sponsor-card { display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; border-top: 5px solid var(--sky); }
.sponsor-level--glowny .sponsor-card { border-top-color: var(--red); }
.sponsor-card__logo { height: 150px; display: grid; place-items: center; padding: 20px; border-bottom: 1px solid var(--line); }
.sponsor-card__logo img { max-height: 110px; max-width: 100%; width: auto; height: auto; object-fit: contain; }
.sponsor-card__body { padding: 18px 20px 22px; }
.sponsor-card__body h3 { font-family: var(--font-display); font-weight: 700; font-size: calc(22px * var(--fs, 1)); }
.sponsor-card__body p { font-size: calc(14.5px * var(--fs, 1)); color: var(--muted); margin: 6px 0 0; }
.sponsor-card__link { display: inline-block; margin-top: 10px; font-weight: 700; font-size: calc(14px * var(--fs, 1)); }
.sponsor-card--empty { border: 2px dashed #b9c7dd; border-top-width: 2px; box-shadow: none; background: var(--sky-light); }
.sponsor-card--empty .sponsor-card__logo { color: #6a7a96; font-size: calc(13px * var(--fs, 1)); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; border-bottom-style: dashed; border-color: #b9c7dd; }

/* =========================================================
   12c. Galerie we wpisach + powiększanie zdjęć (lightbox)
   ========================================================= */
.entry-content .wp-block-gallery figure.wp-block-image { overflow: hidden; border-radius: 4px; }
.entry-content .wp-block-gallery img { transition: transform .3s; }
img.lb-zoomable { cursor: zoom-in; }
.entry-content .wp-block-gallery img.lb-zoomable:hover { transform: scale(1.04); }
img.lb-zoomable:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }

html.lb-open { overflow: hidden; }
.lb {
	position: fixed; inset: 0; z-index: 1000;
	display: grid; grid-template-rows: 1fr auto;
	background: rgba(6, 13, 32, .95);
	animation: lb-fade .2s ease-out;
}
.lb[hidden] { display: none; }
@keyframes lb-fade { from { opacity: 0; } to { opacity: 1; } }
.lb__stage { position: relative; display: grid; place-items: center; min-height: 0; padding: 64px 84px 8px; }
.lb__img {
	max-width: 100%; max-height: calc(100vh - 150px); width: auto; height: auto;
	border-radius: 4px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
	transition: opacity .2s; user-select: none;
}
.lb.is-loading .lb__img { opacity: .25; }
.lb__spinner {
	position: absolute; width: 44px; height: 44px; border-radius: 50%;
	border: 4px solid rgba(255, 255, 255, .2); border-top-color: var(--red);
	animation: lb-spin .8s linear infinite; opacity: 0; transition: opacity .2s;
}
.lb.is-loading .lb__spinner { opacity: 1; }
@keyframes lb-spin { to { transform: rotate(360deg); } }
.lb-slide-l { animation: lb-in-l .25s ease-out; }
.lb-slide-r { animation: lb-in-r .25s ease-out; }
@keyframes lb-in-l { from { transform: translateX(30px); opacity: .4; } to { transform: none; opacity: 1; } }
@keyframes lb-in-r { from { transform: translateX(-30px); opacity: .4; } to { transform: none; opacity: 1; } }

.lb__bar { display: flex; align-items: baseline; justify-content: center; gap: 18px; padding: 12px 24px 22px; color: #dce6f7; text-align: center; }
.lb__caption { margin: 0; font-size: calc(15px * var(--fs, 1)); max-width: 70ch; }
.lb__count { font-family: var(--font-display); font-weight: 700; font-size: calc(16px * var(--fs, 1)); letter-spacing: .06em; color: var(--white); white-space: nowrap; }

.lb__btn {
	position: absolute; z-index: 2; display: grid; place-items: center;
	width: 52px; height: 52px; border: 0; border-radius: 50%; cursor: pointer;
	background: rgba(255, 255, 255, .1); color: var(--white); transition: background-color .15s;
}
.lb__btn:hover { background: var(--red); }
.lb__btn:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }
.lb__btn[hidden] { display: none; }
.lb__close { top: 14px; right: 14px; }
.lb__close::before, .lb__close::after { content: ""; position: absolute; width: 22px; height: 2px; background: currentColor; transform: rotate(45deg); }
.lb__close::after { transform: rotate(-45deg); }
.lb__prev, .lb__next { top: 50%; transform: translateY(-50%); }
.lb__prev { left: 16px; }
.lb__next { right: 16px; }
.lb__prev::before, .lb__next::before { content: ""; width: 13px; height: 13px; border-left: 3px solid currentColor; border-bottom: 3px solid currentColor; }
.lb__prev::before { transform: translateX(3px) rotate(45deg); }
.lb__next::before { transform: translateX(-3px) rotate(-135deg); }
@media (max-width: 700px) {
	.lb__stage { padding: 64px 8px 4px; }
	.lb__prev, .lb__next { top: auto; bottom: 10px; transform: none; width: 46px; height: 46px; }
	.lb__bar { padding: 10px 66px 20px; flex-direction: column; gap: 4px; align-items: center; }
	.lb__img { max-height: calc(100vh - 190px); }
}
@media (prefers-reduced-motion: reduce) {
	.lb, .lb-slide-l, .lb-slide-r, .lb__spinner { animation: none; }
	.entry-content .wp-block-gallery img.lb-zoomable:hover { transform: none; }
}

/* =========================================================
   12d. Albumy
   ========================================================= */
.album-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.album-card { display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); color: var(--ink); transition: transform .2s, box-shadow .2s; }
.album-card:hover { color: var(--ink); transform: translateY(-3px); box-shadow: 0 14px 30px rgba(15, 35, 80, .16); }
.album-card__cover { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--royal); }
.album-card__cover img, .album-card__cover svg { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.album-card:hover .album-card__cover img { transform: scale(1.05); }
.album-card__count { position: absolute; right: 10px; bottom: 10px; background: rgba(10, 24, 56, .85); color: var(--white); font-size: calc(12.5px * var(--fs, 1)); font-weight: 700; padding: 4px 10px; border-radius: 20px; }
.album-card__body { padding: 14px 18px 18px; border-top: 4px solid var(--red); }
.album-card__title { display: block; font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: calc(22px * var(--fs, 1)); line-height: 1.1; color: var(--navy); }
.album-card:hover .album-card__title { color: var(--red); }
.album-card time { display: block; font-size: calc(13px * var(--fs, 1)); color: var(--muted); margin-top: 4px; }

.album-entry .entry-content { max-width: none; }
.album-entry__lead { font-size: calc(18px * var(--fs, 1)); color: #36415a; max-width: 760px; margin-bottom: 24px; }
.album-entry .wp-block-gallery { gap: 10px !important; }
/* W albumie: gęsta siatka miniatur (4 / 3 / 2 kolumny). Jeśli w bloku ustawisz własną liczbę kolumn, zostanie zachowana. */
.album-entry .wp-block-gallery.has-nested-images.columns-default figure.wp-block-image:not(#individual-image) {
	width: calc((100% - 30px) / 4) !important; flex-grow: 0 !important; aspect-ratio: 4 / 3;
}
.album-entry .wp-block-gallery.has-nested-images figure.wp-block-image img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) {
	.album-entry .wp-block-gallery.has-nested-images.columns-default figure.wp-block-image:not(#individual-image) { width: calc((100% - 20px) / 3) !important; }
}
@media (max-width: 600px) {
	.album-entry .wp-block-gallery.has-nested-images.columns-default figure.wp-block-image:not(#individual-image) { width: calc((100% - 10px) / 2) !important; }
}
.album-more { margin-top: 56px; }
.album-more .section-title { margin-bottom: 18px; }

/* Album wstawiony w artykuł: [album id="…"] */
.album-embed { margin: 1.6em 0; }
.album-embed__grid { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: 8px; }
.album-embed__item { position: relative; margin: 0; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 4px; background: var(--sky-light); }
.album-embed__item.is-extra { display: none; }
.album-embed__item img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; transition: transform .3s; }
.album-embed__item:hover img { transform: scale(1.05); }
.album-embed__more { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(10, 24, 56, .6); color: var(--white); font-family: var(--font-display); font-weight: 800; font-style: italic; font-size: calc(34px * var(--fs, 1)); pointer-events: none; }
.album-embed__link { margin: 10px 0 0; font-weight: 700; font-size: calc(15px * var(--fs, 1)); }
.album-embed__link a { text-decoration: none; }
@media (max-width: 600px) {
	.album-embed__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* =========================================================
   12e. Przekaż 1,5% podatku
   ========================================================= */
.tax-banner { padding: 8px 0 48px; }
.tax-banner__inner {
	position: relative; overflow: hidden;
	display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 28px; align-items: center;
	padding: 28px 32px; border-radius: var(--radius);
	background: linear-gradient(100deg, var(--navy) 0%, var(--royal) 100%); color: var(--white);
}
.tax-banner__inner::after {
	content: ""; position: absolute; right: -40px; top: -20px; bottom: -20px; width: 120px;
	background: linear-gradient(90deg, var(--white) 0 18%, var(--red) 18% 100%); transform: skewX(-24deg); opacity: .9; pointer-events: none;
}
.tax-banner__badge, .tax-main__badge {
	display: grid; place-items: center; width: 108px; height: 108px; border-radius: 50%;
	background: var(--red); color: var(--white); box-shadow: 0 0 0 6px rgba(255, 255, 255, .18);
	font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: calc(36px * var(--fs, 1)); line-height: 1;
}
.tax-banner__text h2 { color: var(--white); font-size: calc(30px * var(--fs, 1)); line-height: 1.05; }
.tax-banner__text p { margin: 8px 0 0; color: #dce8fb; max-width: 56ch; }
.tax-banner__codes { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 8px; align-items: stretch; margin-right: 70px; }
.tax-banner__code { display: flex; align-items: center; gap: 10px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .25); border-radius: 4px; padding: 6px 8px 6px 12px; }
.tax-banner__code span { font-size: calc(11px * var(--fs, 1)); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #b9cbea; }
.tax-banner__code b { flex: 1; font-family: var(--font-display); font-size: calc(22px * var(--fs, 1)); letter-spacing: .04em; }
.tax-banner__codes .btn { text-align: center; }

.tax-copy {
	flex: none; border: 1px solid var(--royal); background: var(--white); color: var(--royal); border-radius: 4px;
	padding: 5px 10px; font: 700 calc(12px * var(--fs, 1)) var(--font-body); cursor: pointer; text-transform: uppercase; letter-spacing: .04em;
}
.tax-copy:hover { background: var(--royal); color: var(--white); }
.tax-copy.is-copied { background: #1f8a4c; border-color: #1f8a4c; color: var(--white); }
.tax-copy--light { border-color: rgba(255, 255, 255, .6); background: transparent; color: var(--white); }
.tax-copy--light:hover { background: var(--white); color: var(--navy); }

/* Strona „Przekaż 1,5%” */
.tax-main { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 32px; align-items: center; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(24px, 4vw, 44px); border-top: 6px solid var(--red); }
.tax-main__badge { width: 150px; height: 150px; font-size: calc(50px * var(--fs, 1)); box-shadow: 0 0 0 8px var(--sky-light); }
.tax-main h2 { font-size: calc(36px * var(--fs, 1)); line-height: 1.05; }
.tax-main__lead { font-size: calc(18px * var(--fs, 1)); color: #36415a; margin: 10px 0 20px; max-width: 60ch; }
.tax-codes { display: flex; flex-wrap: wrap; gap: 14px; }
.tax-code { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; padding: 14px 16px; border: 2px dashed #b9c7dd; border-radius: var(--radius); background: var(--sky-light); min-width: 260px; }
.tax-code__label { flex-basis: 100%; font-size: calc(12px * var(--fs, 1)); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.tax-code__value { font-family: var(--font-display); font-weight: 700; font-size: calc(32px * var(--fs, 1)); letter-spacing: .05em; color: var(--navy); line-height: 1.1; }
.tax-code__value--text { font-size: calc(24px * var(--fs, 1)); letter-spacing: 0; }
.tax-code__value--soon { color: var(--muted); font-style: italic; }
.tax-code__org { flex-basis: 100%; font-size: calc(13px * var(--fs, 1)); color: var(--muted); }

.tax-steps, .tax-uses, .tax-faq { margin-top: 48px; }
.tax-steps__list { list-style: none; counter-reset: krok; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 18px; }
.tax-steps__list li { counter-increment: krok; position: relative; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 56px 22px 22px; }
.tax-steps__list li::before {
	content: counter(krok); position: absolute; left: 22px; top: -18px; width: 52px; height: 52px; border-radius: 50%;
	display: grid; place-items: center; background: var(--red); color: var(--white);
	font: 800 italic calc(26px * var(--fs, 1)) var(--font-display);
}
.tax-steps__list strong { display: block; font-family: var(--font-display); font-size: calc(22px * var(--fs, 1)); color: var(--navy); margin-bottom: 6px; }
.tax-steps__list span { color: #36415a; font-size: calc(15px * var(--fs, 1)); }
.tax-steps__more { margin-top: 24px; }

.tax-uses__list { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-top: 18px; }
.tax-uses__list li { background: var(--white); border-left: 5px solid var(--sky); border-radius: 4px; padding: 16px 18px; box-shadow: var(--shadow); font-family: var(--font-display); font-weight: 700; font-size: calc(19px * var(--fs, 1)); color: var(--navy); line-height: 1.2; }
.tax-uses__list li:nth-child(even) { border-left-color: var(--red); }

.tax-faq details { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); margin-top: 12px; }
.tax-faq details:first-of-type { margin-top: 18px; }
.tax-faq summary { cursor: pointer; padding: 16px 20px; font-weight: 700; color: var(--navy); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.tax-faq summary::-webkit-details-marker { display: none; }
.tax-faq summary::after { content: "+"; font: 800 calc(22px * var(--fs, 1))/1 var(--font-display); color: var(--red); }
.tax-faq details[open] summary::after { content: "–"; }
.tax-faq details p { margin: 0; padding: 0 20px 18px; color: #36415a; }
.tax-extra { margin-top: 40px; }
.tax-thanks { margin: 48px 0 0; text-align: center; font-size: calc(26px * var(--fs, 1)); color: var(--navy); }

@media (max-width: 1080px) {
	.tax-banner__inner { grid-template-columns: auto minmax(0, 1fr); }
	.tax-banner__codes { grid-column: 1 / -1; margin-right: 0; }
	.tax-banner__inner::after { display: none; }
	.tax-steps__list { grid-template-columns: minmax(0, 1fr); gap: 34px; }
}
@media (max-width: 600px) {
	.tax-banner__inner, .tax-main { grid-template-columns: minmax(0, 1fr); text-align: left; }
	.tax-banner__badge { width: 84px; height: 84px; font-size: 28px; }
	.tax-main__badge { width: 110px; height: 110px; font-size: 38px; }
	.tax-code { min-width: 0; width: 100%; }
}

/* =========================================================
   12f. Wyniki turnieju na żywo (turniej.pl)
   ========================================================= */
.live--home { padding: 34px 0 6px; }
.live__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px 20px; margin-bottom: 16px; }
.live__head .section-title { flex-wrap: wrap; row-gap: 6px; }
.live__badge {
	display: inline-flex; align-items: center; gap: 7px; margin-right: 4px; padding: 3px 10px 3px 8px; border-radius: 20px;
	background: var(--red); color: var(--white); font-size: calc(14px * var(--fs, 1)); letter-spacing: .06em; font-style: normal;
}
.live__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--white); animation: live-pulse 1.4s ease-in-out infinite; }
@keyframes live-pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.7); } }
.live__panels { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.live__panels--table, .live__panels--matches { grid-template-columns: minmax(0, 1fr); }
.live__panel { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); border-top: 5px solid var(--sky); padding: 14px 14px 6px; }
.live__panel + .live__panel { border-top-color: var(--red); }
.live__panel-title { font-family: var(--font-display); font-weight: 700; font-size: calc(19px * var(--fs, 1)); text-transform: uppercase; letter-spacing: .04em; margin: 0 0 8px 4px; }
.live__frame { display: block; width: 100%; border: 0; min-height: 120px; background: var(--white); }
.live__frame + .live__group { margin-top: 18px; }
.live__group { margin: 4px 0 6px 4px; font-family: var(--font-display); font-weight: 700; font-size: calc(16px * var(--fs, 1)); color: var(--red); text-transform: uppercase; letter-spacing: .05em; }
.live__status { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin-top: 10px; font-size: calc(13px * var(--fs, 1)); color: var(--muted); }
.live__time { font-weight: 700; color: var(--navy); }
.live__refresh { border: 1px solid var(--line); background: var(--white); color: var(--royal); border-radius: 4px; padding: 6px 12px; font: 700 calc(13px * var(--fs, 1)) var(--font-body); cursor: pointer; }
.live__refresh:hover { border-color: var(--royal); }
.live__refresh:disabled { opacity: .6; cursor: progress; }
@media (max-width: 1080px) {
	.live__panels { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) { .live__dot { animation: none; } }

/* =========================================================
   13. Stopka
   ========================================================= */
.stripe { height: 12px; background: linear-gradient(to bottom, var(--white) 0 25%, var(--red) 25% 75%, var(--white) 75%); }
.site-footer { background: var(--navy-dark); color: #c4d0e6; font-size: calc(14.5px * var(--fs, 1)); padding-top: 46px; }
.site-footer a { color: #c4d0e6; }
.site-footer a:hover { color: var(--white); }
.site-footer .footer-link { color: var(--sky); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.site-footer .footer-link:hover { color: var(--white); }
.footer-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: clamp(24px, 4vw, 60px); }
.footer-brand { display: flex; gap: 16px; align-items: flex-start; }
.footer-brand img { height: 96px; width: auto; flex: none; }
.footer-title { font-family: var(--font-display); font-style: italic; font-weight: 700; font-size: calc(19px * var(--fs, 1)); color: var(--white); text-transform: uppercase; margin-bottom: 12px; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 7px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 38px; padding: 16px 0; font-size: calc(13px * var(--fs, 1)); color: #8e9cba; }
.footer-bottom a { color: #8e9cba; }

/* =========================================================
   14. Podstrony, wpisy, archiwa
   ========================================================= */
.page-hero { position: relative; overflow: hidden; background: linear-gradient(100deg, var(--hero-a), var(--hero-b)); color: var(--white); padding: 48px 0 52px; }
.page-hero::after {
	content: ""; position: absolute; right: -60px; top: -20px; bottom: -20px; width: 260px;
	background: linear-gradient(90deg, var(--white) 0 14%, var(--red) 14% 100%); transform: skewX(-24deg);
}
.page-hero__inner { position: relative; z-index: 1; padding-right: 220px; }
.page-hero h1 { color: var(--white); font-size: calc(clamp(36px, 5vw, 58px) * var(--fs, 1)); line-height: 1; }
.page-hero p { margin: 10px 0 0; color: #dce8fb; }
.breadcrumbs { font-size: calc(13px * var(--fs, 1)); color: #b9cbea; margin-bottom: 10px; }
.breadcrumbs a { color: var(--white); }

.content-area { padding: 56px 0 72px; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: start; }
.layout--full { grid-template-columns: minmax(0, 1fr); }

.entry { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(24px, 4vw, 48px); }
.entry-content { font-size: calc(17px * var(--fs, 1)); line-height: 1.7; max-width: 760px; }
.layout--full .entry-content { margin-inline: auto; }
.entry-content > * + * { margin-top: 1.1em; }
.entry-content h2 { font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: calc(34px * var(--fs, 1)); margin-top: 1.6em; }
.entry-content h3 { font-family: var(--font-display); font-weight: 700; font-size: calc(26px * var(--fs, 1)); margin-top: 1.4em; }
.entry-content ul, .entry-content ol { padding-left: 1.4em; }
.entry-content li + li { margin-top: .3em; }
.entry-content blockquote { margin: 1.5em 0; padding: 4px 0 4px 20px; border-left: 5px solid var(--red); font-size: calc(19px * var(--fs, 1)); color: var(--navy); }
.entry-content img { border-radius: 4px; }
.entry-content a { text-decoration: underline; text-underline-offset: 3px; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: calc(15px * var(--fs, 1)); }
.entry-content th, .entry-content td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.entry-content th { background: var(--navy); color: var(--white); }
.entry-thumb { margin: -16px 0 28px; border-radius: 4px; overflow: hidden; }
.entry-meta { font-size: calc(14px * var(--fs, 1)); color: var(--muted); margin-bottom: 18px; }
.alignwide { max-width: 1100px; }
.alignleft { float: left; margin: .3em 1.5em 1em 0; }
.alignright { float: right; margin: .3em 0 1em 1.5em; }
.aligncenter { margin-inline: auto; }
.wp-caption-text, figcaption { font-size: calc(13px * var(--fs, 1)); color: var(--muted); margin-top: 6px; }
.wp-block-button__link { background: var(--red); border-radius: 4px; font-family: var(--font-display); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.wp-block-gallery { gap: 10px; }

.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.layout:not(.layout--full) .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.post-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.post-card__thumb { aspect-ratio: 16 / 10; background: var(--royal); overflow: hidden; }
.post-card__thumb img, .post-card__thumb svg { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-card__body { padding: 18px 20px 22px; }
.post-card time { font-size: calc(13px * var(--fs, 1)); color: var(--muted); }
.post-card h2 { font-family: var(--font-body); font-size: calc(19px * var(--fs, 1)); font-weight: 700; line-height: 1.3; margin: 4px 0 8px; }
.post-card h2 a { color: var(--ink); }
.post-card h2 a:hover { color: var(--red); }
.post-card p { font-size: calc(14.5px * var(--fs, 1)); color: #4a556b; margin: 0; }

.pagination { margin-top: 36px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.pagination .page-numbers { display: inline-block; min-width: 40px; text-align: center; padding: 8px 12px; border-radius: 4px; background: var(--white); color: var(--navy); font-weight: 700; box-shadow: var(--shadow); }
.pagination .page-numbers.current { background: var(--red); color: var(--white); }
.post-navigation { display: flex; justify-content: space-between; gap: 20px; margin-top: 32px; font-weight: 700; }

/* Pasek boczny */
.sidebar .widget { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px 24px; margin-bottom: 24px; }
.sidebar .widget-title, .sidebar .wp-block-heading { display: flex; align-items: center; gap: 9px; font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: calc(20px * var(--fs, 1)); text-transform: uppercase; margin-bottom: 12px; }
.sidebar .widget-title::before { content: ""; width: 5px; height: 18px; background: var(--red); transform: skewX(-18deg); }
.sidebar ul { list-style: none; }
.sidebar li { padding: 7px 0; border-bottom: 1px solid var(--line); }
.sidebar li:last-child { border-bottom: 0; }

/* Wyszukiwarka */
.search-form { display: flex; gap: 8px; }
.search-form input[type="search"] { flex: 1; min-width: 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: 4px; font: inherit; }
.search-form button { background: var(--navy); color: var(--white); border: 0; border-radius: 4px; padding: 0 16px; font: 700 15px var(--font-display); text-transform: uppercase; letter-spacing: .05em; cursor: pointer; }

/* Terminarz – pełna strona */
.fixtures { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
.fixtures__col { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; }
.fixtures__col .section-title { margin-bottom: 18px; }
.match--result .match__date { background: var(--royal); }

/* Zawodnicy – pełna strona */
.roster-intro { margin-bottom: 32px; }
.roster-group { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(20px, 3vw, 32px); margin-bottom: 32px; }
.roster-group__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.roster-group__count { font-size: calc(13px * var(--fs, 1)); font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.roster-group__coach { font-size: calc(15px * var(--fs, 1)); color: var(--muted); margin: 6px 0 0 14px; }
.roster-group__coach p { margin: 0; }
.roster { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 22px 16px; margin-top: 22px; }
.roster .player__card { height: 170px; }
.roster .player__card svg { width: 150px; }
.roster .player__name { font-size: calc(17px * var(--fs, 1)); }

/* Profil zawodnika */
.profile { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.profile__photo { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 5 / 6; background: linear-gradient(160deg, #e9f4fc, #d3e8f7); box-shadow: var(--shadow); }
.profile__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.profile__photo svg { position: absolute; left: 50%; bottom: -10px; transform: translateX(-50%); width: 92%; }
.player--coach .profile__photo, .profile--coach .profile__photo { background: linear-gradient(160deg, #1c3f86, #0f2350); }
.profile__num { position: absolute; left: 0; bottom: 0; background: var(--navy); color: var(--white); font-size: calc(44px * var(--fs, 1)); line-height: 1; padding: 8px 18px; }
.profile--coach .profile__num { background: var(--red); font-size: calc(22px * var(--fs, 1)); text-transform: uppercase; padding: 10px 16px; }
.profile__facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 0 0 24px; }
.profile__fact { background: var(--white); border-left: 5px solid var(--sky); border-radius: 4px; padding: 14px 16px; box-shadow: var(--shadow); }
.profile__fact:nth-child(2) { border-left-color: var(--red); }
.profile__fact:nth-child(3) { border-left-color: var(--royal); }
.profile__fact dt { font-size: calc(12px * var(--fs, 1)); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.profile__fact dd { margin: 2px 0 0; font-family: var(--font-display); font-weight: 700; font-size: calc(22px * var(--fs, 1)); color: var(--navy); line-height: 1.15; }
.profile__fact dd a { color: inherit; }
.profile__back { display: inline-block; margin-top: 24px; font-weight: 700; }
.profile-mates { margin-top: 48px; }
.profile-mates .roster { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
.profile-mates .player__card { height: 140px; }
.profile-mates .player__card svg { width: 130px; }
@media (max-width: 782px) {
	.profile { grid-template-columns: minmax(0, 1fr); }
	.profile__photo { max-width: 340px; }
}

/* Komentarze */
.comments-area { margin-top: 40px; }
.comment-list { list-style: none; }
.comment-body { padding: 16px 0; border-bottom: 1px solid var(--line); }
.comment-form input, .comment-form textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 4px; font: inherit; }
.comment-form .submit { width: auto; background: var(--red); color: var(--white); border: 0; padding: 10px 22px; font: 700 16px var(--font-display); text-transform: uppercase; cursor: pointer; border-radius: 4px; }

/* 404 */
.error-404 { text-align: center; padding: 40px 0; }
.error-404 .big { font-size: calc(140px * var(--fs, 1)); line-height: 1; color: var(--red); }

/* =========================================================
   14b. Okienko cookies
   ========================================================= */
[hidden] { display: none !important; }
.cookie-bar {
	position: fixed; z-index: 200;
	left: 50%; bottom: calc(16px + env(safe-area-inset-bottom, 0px));
	transform: translateX(-50%);
	width: min(1100px, calc(100% - 32px));
	display: flex; align-items: center; gap: 20px 28px;
	background: var(--white); color: var(--ink);
	border-top: 6px solid var(--red); border-radius: var(--radius);
	box-shadow: 0 12px 40px rgba(10, 24, 56, .28);
	padding: 20px 24px;
	animation: uks-cookie-in .35s ease-out;
}
@keyframes uks-cookie-in { from { opacity: 0; transform: translate(-50%, 20px); } to { opacity: 1; transform: translate(-50%, 0); } }
.cookie-bar__icon { flex: none; width: 46px; height: 46px; }
.cookie-bar__text { flex: 1; font-size: calc(15px * var(--fs, 1)); line-height: 1.5; }
.cookie-bar__title { display: block; font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: calc(20px * var(--fs, 1)); color: var(--navy); text-transform: uppercase; margin-bottom: 2px; }
.cookie-bar__text p { margin: 0; }
.cookie-bar__text a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.cookie-bar__actions { display: flex; gap: 10px; flex: none; }
.cookie-bar .btn { font-size: calc(16px * var(--fs, 1)); padding: 10px 22px; }
.btn--ghost-navy { border-color: var(--navy); color: var(--navy); background: var(--white); }
.btn--ghost-navy:hover { background: var(--navy); color: var(--white); }
.link-button { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.link-button:hover { color: var(--white); }
.footer-bottom__links { display: inline-flex; flex-wrap: wrap; gap: 20px; }


/* =========================================================
   14c. Dostępność: rozmiar tekstu + wysoki kontrast
   ========================================================= */
.a11y { display: inline-flex; align-items: center; gap: 4px; }
.a11y__label { margin-right: 4px; color: #b9c7e0; font-size: 12px; }
.a11y__btn {
	display: inline-grid; place-items: center; min-width: 28px; height: 28px; padding: 0 6px;
	border: 1px solid rgba(255, 255, 255, .35); border-radius: 4px; background: transparent;
	color: var(--white); font-family: var(--font-body); font-weight: 700; line-height: 1; cursor: pointer;
}
.a11y__btn:hover { border-color: var(--white); background: rgba(255, 255, 255, .12); }
.a11y__btn[aria-pressed="true"] { background: var(--white); color: var(--navy); border-color: var(--white); }
.a11y__btn--f0 { font-size: 12px; }
.a11y__btn--f1 { font-size: 14px; }
.a11y__btn--f2 { font-size: 16px; }
.a11y__btn--contrast { margin-left: 6px; padding: 0 5px; }
.a11y__btn--contrast svg { width: 18px; height: 18px; fill: currentColor; }

/* ---------- Wysoki kontrast: czarne tło, żółte litery ---------- */
html.a11y-contrast, html.a11y-contrast body { background: #000 !important; }
html.a11y-contrast :is(.topbar, .site-header, main, .site-footer, .cookie-bar),
html.a11y-contrast :is(.topbar, .site-header, main, .site-footer, .cookie-bar) *:not(img):not(svg):not(svg *) {
	background-color: #000 !important;
	background-image: none !important;
	color: #ff0 !important;
	border-color: #ff0 !important;
	box-shadow: none !important;
	text-shadow: none !important;
}
html.a11y-contrast :is(.topbar, .site-header, main, .site-footer, .cookie-bar) a { text-decoration: underline !important; text-underline-offset: 3px; }
html.a11y-contrast :is(.topbar, .site-header, main, .site-footer, .cookie-bar) :is(a, button):hover,
html.a11y-contrast :is(.topbar, .site-header, main, .site-footer, .cookie-bar) .a11y__btn[aria-pressed="true"],
html.a11y-contrast :is(.topbar, .site-header, main, .site-footer, .cookie-bar) .a11y__btn[aria-pressed="true"] * {
	background-color: #ff0 !important; color: #000 !important;
}
html.a11y-contrast :is(.btn, .a11y__btn, .lb__btn, .submenu-toggle, .team__arrow, .search-form button, .comment-form .submit) { border: 2px solid #ff0 !important; }
html.a11y-contrast :is(.news-list, .team, .entry, .feature, .fixtures__col, .roster-group, .post-card, .album-card, .sponsor-card, .sponsor-tile, .profile__fact, .widget, .empty, .main-nav .sub-menu) { border: 2px solid #ff0 !important; }
html.a11y-contrast :is(input, textarea, select) { background: #000 !important; color: #ff0 !important; border: 2px solid #ff0 !important; }
html.a11y-contrast svg :is(path, circle, rect, polygon, ellipse, line)[fill="#fff"] { fill: #ff0; }
html.a11y-contrast .topbar svg, html.a11y-contrast .social svg, html.a11y-contrast .a11y svg { fill: #ff0 !important; }
html.a11y-contrast :focus-visible { outline: 3px solid #fff !important; outline-offset: 3px; }
/* Ozdobniki chowamy – zostaje czysty tekst i zdjęcia */
html.a11y-contrast :is(.hero__scene, .hero__photo, .hero__fade, .hero__sash, .marquee) { -webkit-mask-image: none !important; mask-image: none !important; }
html.a11y-contrast :is(.hero__scene, .hero__photo, .hero__fade, .hero__sash) { display: none !important; }
html.a11y-contrast :is(.hero, .page-hero, .about)::before,
html.a11y-contrast :is(.hero, .page-hero, .about)::after { display: none !important; }
html.a11y-contrast body .stripe.stripe { height: 3px; background: #ff0 !important; }
html.a11y-contrast :is(.section-title, .hero__kicker)::before,
html.a11y-contrast .hero__kicker::after,
html.a11y-contrast .hero__values::before,
html.a11y-contrast .hero__values::after { background: #ff0 !important; }
html.a11y-contrast .site-header .main-nav a { border-bottom-color: transparent !important; }
html.a11y-contrast .site-header .main-nav :is(.current-menu-item, .current-menu-ancestor, .current_page_item) > a { border-bottom-color: #ff0 !important; }
@media (max-width: 1080px) {
	html.a11y-contrast .site-header .main-nav a { border-bottom-color: #ff0 !important; }
}
html.a11y-contrast :is(.topbar, .site-header, main, .site-footer, .cookie-bar) :is(a, button):hover *:not(svg):not(svg *) { color: #000 !important; background-color: transparent !important; }
html.a11y-contrast .site-header .nav-toggle.nav-toggle span { background: currentColor !important; box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor !important; }
html.a11y-contrast .topbar .a11y__btn[aria-pressed="true"] svg { fill: #000 !important; }
html.a11y-contrast .lb { background: #000 !important; }
html.a11y-contrast main .live__panel { border: 2px solid #ff0 !important; }
html.a11y-contrast main .live__badge { border: 2px solid #ff0 !important; }
html.a11y-contrast main .live__dot { background: #ff0 !important; }
html.a11y-contrast :is(.tax-banner__inner, .tax-main, .tax-code, .tax-steps__list li, .tax-uses__list li, .tax-faq details) { border: 2px solid #ff0 !important; }
html.a11y-contrast .tax-banner__inner::after { display: none !important; }
html.a11y-contrast main :is(.tax-banner__badge, .tax-main__badge) { border: 3px solid #ff0 !important; box-shadow: none !important; }
html.a11y-contrast main .sponsor-card .sponsor-card__tag { border-bottom: 2px solid #ff0 !important; }
html.a11y-contrast .lb__bar, html.a11y-contrast .lb__caption, html.a11y-contrast .lb__count { color: #ff0 !important; }

/* =========================================================
   15. Responsywność
   ========================================================= */
@media (max-width: 1560px) {
	.match { grid-template-columns: 50px minmax(0, 1fr) 70px; gap: 12px; }
	.match__teams { gap: 8px; font-size: calc(18px * var(--fs, 1)); }
	.match__teams img { display: none; }
}
@media (max-width: 1280px) {
	.hero__crest img { height: 280px; }
	.home-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.home-row > :last-child { grid-column: 1 / -1; }
	.players { grid-auto-columns: calc((100% - 60px) / 6); }
}
@media (max-width: 1080px) {
	.nav-toggle { display: inline-flex; }
	.main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--white); box-shadow: 0 10px 20px rgba(15, 35, 80, .12); }
	.main-nav.is-open { display: block; }
	.main-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 18px; }
	.main-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
	.main-nav .current-menu-item > a { border-bottom-color: var(--line); }
	.main-nav .menu-cta > a { margin-top: 12px; text-align: center; }
	/* Podmenu na telefonie: rozwijane przyciskiem ▾ */
	.main-nav .menu-item-has-children > a { padding-right: 52px; }
	.main-nav .menu-item-has-children > a::after { display: none; }
	.main-nav .sub-menu { position: static; display: none; min-width: 0; padding: 0 0 6px 16px; border: 0; border-radius: 0; box-shadow: none; }
	.main-nav li:hover > .sub-menu, .main-nav li:focus-within > .sub-menu { display: none; }
	.main-nav li.is-open > .sub-menu { display: block; }
	.main-nav .sub-menu a { padding: 12px 0; font-size: calc(16px * var(--fs, 1)); white-space: normal; border-bottom: 1px solid var(--line); }
	.main-nav .sub-menu a:hover { background: none; }
	.submenu-toggle {
		display: grid; place-items: center; position: absolute; right: 0; top: 4px;
		width: 44px; height: 44px; border: 0; border-radius: 4px; background: var(--sky-light); color: var(--navy); cursor: pointer;
	}
	.submenu-toggle::before {
		content: ""; width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
		transform: translateY(-2px) rotate(45deg); transition: transform .2s;
	}
	.is-open > .submenu-toggle::before { transform: translateY(2px) rotate(-135deg); }
	.hero__inner { grid-template-columns: 1fr auto; }
	.hero__crest { margin-left: 0; }
	.hero__values { display: none; }
	.about__inner { grid-template-columns: minmax(0, 1fr); }
	.layout { grid-template-columns: minmax(0, 1fr); }
	.post-grid, .layout:not(.layout--full) .post-grid { grid-template-columns: 1fr 1fr; }
	.footer-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 782px) {
	.admin-bar .site-header { top: 0; }
	.topbar__group--info .topbar__item:not(:first-child), .topbar__school { display: none; }
	.a11y__label { display: none; }
	.brand img, .brand .custom-logo { height: 58px; }
	.brand__name { font-size: calc(25px * var(--fs, 1)); }
	.brand__tagline { font-size: calc(12.5px * var(--fs, 1)); }
	.site-header__inner { min-height: 74px; }
	.hero__inner { grid-template-columns: minmax(0, 1fr); padding: 32px 0 64px; }
	.hero__crest { display: none; }
	.hero__scene, .hero__photo { width: 100%; opacity: .35; }
	.hero__sash { display: none; }
	.hero::after {
		content: ""; position: absolute; right: 0; bottom: 0; z-index: -1;
		width: 75%; height: 64px;
		background: linear-gradient(to top left, var(--red) 0 46%, var(--white) 46% 54%, transparent 54%);
	}
	.home-row { grid-template-columns: minmax(0, 1fr); }
	.players { grid-auto-columns: calc((100% - 24px) / 3); }
	.features { grid-template-columns: 1fr; }
	.gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 140px 140px; }
	.gallery-grid__item:first-child { grid-column: 1 / -1; grid-row: auto; }
	.gallery-grid__item:nth-child(n+6) { display: none; }
	.fixtures, .post-grid, .layout:not(.layout--full) .post-grid { grid-template-columns: minmax(0, 1fr); }
	.page-hero__inner { padding-right: 90px; }
	.page-hero::after { width: 140px; }
}
@media (max-width: 700px) {
	.cookie-bar { flex-direction: column; align-items: stretch; gap: 14px; padding: 18px; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); width: calc(100% - 20px); }
	.cookie-bar__icon { display: none; }
	.cookie-bar__actions { flex-direction: column-reverse; }
	.cookie-bar .btn { text-align: center; }
}
@media (prefers-reduced-motion: reduce) { .cookie-bar { animation: none; } }
@media (max-width: 440px) {
	.topbar__group--info { display: none; }
	.topbar__inner { justify-content: flex-end; }
}
@media (max-width: 520px) {
	.footer-cols { grid-template-columns: 1fr; }
	.match { grid-template-columns: 50px minmax(0, 1fr); }
	.match__comp { grid-column: 2; text-align: left; }
	.match__teams { font-size: calc(17px * var(--fs, 1)); }
	.match__teams img { display: none; }
	.players { grid-auto-columns: calc((100% - 12px) / 2); }
	.section-head { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; }
}
