/*
 * Strona główna: wszystkie kursy w jednej subskrypcji. [agent: E-glowna] Runda 2 (12.11.2026).
 * Prefiks hs-, ładowane tylko na stronie z wrapperem .kdz-home-sub-page.
 * Szata platformy kodozercy.pl („Pikselowe pola”, jak one-pager aplikacji i nowy landing Misji):
 * tło #05070d z pikselowymi gwiazdami, Michroma w nagłówkach, Lexend Deca w treści, klamry Pixelify Sans w błękicie,
 * pomarańcz z logo na akcji, błękit na ramkach i horyzoncie, zieleń tylko na „w subskrypcji” i „0 zł”.
 * Ramki pikselowe ze stopniowanymi narożnikami (przesunięte cienie), przyciski z wciętymi narożnikami.
 * Jedna rzecz zapamiętywalna: karnet subskrypcji stojący na siatce horyzontu. Bez poświat, orbów,
 * gradientowego tekstu i bocznych pasków akcentu.
 */

.kdz-home-sub-page {
	--hs-bg: #05070d;
	--hs-field: #121a2e;
	--hs-field-in: #0a0f1c;
	--hs-line: #24304a;
	--hs-line-2: #33415f;
	--hs-text: #eef2f8;
	--hs-text-2: #c9d2e2;
	--hs-muted: #93a0b8;
	--hs-orange: #ff8500;
	--hs-orange-d: #c56400;
	--hs-on-orange: #140a00;
	--hs-blue: #36a9e1;
	--hs-green: #4ade80;
	--hs-head: 'Michroma', 'Lexend Deca', sans-serif;
	--hs-font: 'Lexend Deca', system-ui, sans-serif;
	--hs-pixel: 'Pixelify Sans', 'Lexend Deca', sans-serif;
	--hs-max: 1160px;
	--hs-notch: polygon(4px 0, calc(100% - 4px) 0, 100% 4px, 100% calc(100% - 4px), calc(100% - 4px) 100%, 4px 100%, 0 calc(100% - 4px), 0 4px);
	--hs-stars: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Crect x='22' y='34' width='2' height='2' fill='%23ffffff40'/%3E%3Crect x='104' y='14' width='2' height='2' fill='%2336a9e155'/%3E%3Crect x='170' y='70' width='2' height='2' fill='%23ffffff30'/%3E%3Crect x='64' y='128' width='2' height='2' fill='%23ffffff26'/%3E%3Crect x='204' y='182' width='2' height='2' fill='%2336a9e145'/%3E%3Crect x='132' y='214' width='2' height='2' fill='%23ffffff22'/%3E%3Crect x='30' y='198' width='2' height='2' fill='%23ffffff30'/%3E%3C/svg%3E");

	font-family: var(--hs-font);
	font-size: 1.0625rem;
	line-height: 1.65;
	color: var(--hs-text-2);
	background: var(--hs-stars), var(--hs-bg);
	overflow-x: clip;
	-webkit-font-smoothing: antialiased;
}

html:has(.kdz-home-sub-page),
body:has(.kdz-home-sub-page) {
	background: #05070d;
}

.kdz-home-sub-page *,
.kdz-home-sub-page *::before,
.kdz-home-sub-page *::after {
	box-sizing: border-box;
}

.kdz-home-sub-page h1,
.kdz-home-sub-page h2,
.kdz-home-sub-page h3,
.kdz-home-sub-page h4,
.kdz-home-sub-page p,
.kdz-home-sub-page ul,
.kdz-home-sub-page ol,
.kdz-home-sub-page figure {
	margin: 0;
	padding: 0;
}

.kdz-home-sub-page img {
	display: block;
	max-width: 100%;
}

.kdz-home-sub-page a {
	color: inherit;
}

.kdz-home-sub-page :focus-visible {
	outline: 3px solid var(--hs-blue);
	outline-offset: 3px;
}

/* Kotwice nie chowają nagłówka sekcji pod przyklejonym menu. */
.kdz-home-sub-page section[id] {
	scroll-margin-top: 72px;
}

.hs-sr {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.hs-wrap {
	width: 100%;
	max-width: var(--hs-max);
	margin: 0 auto;
	padding: 0 24px;
}

.hs-h2 {
	font-family: var(--hs-head);
	font-weight: 400;
	font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.25rem);
	line-height: 1.25;
	letter-spacing: -0.01em;
	color: var(--hs-text);
	text-wrap: balance;
}

.kdz-home-sub-page h3,
.kdz-home-sub-page h4 {
	font-family: var(--hs-font);
	font-weight: 600;
	font-size: 1.1875rem;
	line-height: 1.35;
	color: var(--hs-text);
}

.hs-intro {
	margin-top: 14px !important;
	max-width: 40em;
	color: var(--hs-text-2);
}

.hs-klamra {
	/* klamry w skali tekstu: wyższe niż wielkie litery, osadzone na linii bazowej (runda 3) */
	display: inline-block;
	font-family: var(--hs-pixel);
	font-weight: 500;
	font-size: 1.12em;
	line-height: 0;
	vertical-align: -0.04em;
	color: var(--hs-blue);
}

.hs-akcent {
	color: var(--hs-orange);
}

.kdz-home-sub-page .hs-sekcja {
	padding: 104px 0;
}

/* Ramka pikselowa: stopniowane narożniki jak panele platformy. */
.hs-ramka,
.hs-karnet,
.hs-bilet,
.hs-tel,
.hs-kurs {
	--hs-px: 4px;
	--hs-rama: var(--hs-line-2);
	box-shadow:
		0 calc(var(--hs-px) * -1) 0 0 var(--hs-rama),
		0 var(--hs-px) 0 0 var(--hs-rama),
		calc(var(--hs-px) * -1) 0 0 0 var(--hs-rama),
		var(--hs-px) 0 0 0 var(--hs-rama);
}

/* ── Przyciski ─────────────────────────────────────────────────── */
.kdz-home-sub-page .hs-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 12px 26px;
	font-family: var(--hs-font);
	font-weight: 600;
	font-size: 1rem;
	line-height: 1.2;
	text-decoration: none;
	color: var(--hs-on-orange) !important;
	background: var(--hs-orange);
	border: 0;
	border-radius: 0;
	clip-path: var(--hs-notch);
	box-shadow: inset 0 -4px 0 var(--hs-orange-d);
	cursor: pointer;
	transition: transform .12s ease, box-shadow .12s ease;
}

.kdz-home-sub-page .hs-btn:hover {
	box-shadow: inset 0 -2px 0 var(--hs-orange-d);
	transform: translateY(1px);
}

.kdz-home-sub-page .hs-btn:active {
	box-shadow: inset 0 3px 0 var(--hs-orange-d);
	transform: translateY(2px);
}

/* clip-path obcina zewnętrzny obrys fokusu, więc obrys wewnętrzny. */
.kdz-home-sub-page .hs-btn:focus-visible {
	outline: none;
	box-shadow: inset 0 0 0 3px var(--hs-on-orange), inset 0 0 0 5px #fff;
}

.kdz-home-sub-page .hs-btn--duzy {
	min-height: 56px;
	padding: 16px 32px;
	font-size: 1.0625rem;
}

.kdz-home-sub-page .hs-btn--male {
	min-height: 40px;
	padding: 8px 18px;
	font-size: .9375rem;
}

.kdz-home-sub-page .hs-btn--pelny {
	width: 100%;
}

.hs-link {
	display: inline-block;
	color: var(--hs-blue) !important;
	font-weight: 500;
	text-decoration: underline;
	text-underline-offset: 4px;
	text-decoration-thickness: 1px;
}

.hs-link:hover {
	text-decoration-thickness: 2px;
}

.hs-warunki {
	margin-top: 14px !important;
	max-width: 36em;
	font-size: .9375rem;
	line-height: 1.55;
	color: var(--hs-muted);
}

/* ── Nawigacja ─────────────────────────────────────────────────── */
.hs-nav {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(5, 7, 13, .92);
	border-bottom: 1px solid var(--hs-line);
}

@supports (backdrop-filter: blur(8px)) {
	.hs-nav {
		background: rgba(5, 7, 13, .8);
		backdrop-filter: blur(8px);
	}
}

body.admin-bar .hs-nav {
	top: 32px;
}

@media (max-width: 782px) {
	body.admin-bar .hs-nav {
		top: 0;
	}
}

.hs-nav__in {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 64px;
}

.hs-nav__logo img {
	width: 132px;
	height: auto;
}

.hs-nav__menu {
	display: flex;
	align-items: center;
	gap: 28px;
}

.hs-nav__link {
	font-size: .9375rem;
	font-weight: 500;
	color: var(--hs-text) !important;
	text-decoration: none;
}

.hs-nav__link:hover {
	color: var(--hs-orange) !important;
}

/* ── Hero ──────────────────────────────────────────────────────── */
.kdz-home-sub-page .hs-hero {
	padding: 72px 0 24px;
}

.hs-hero__in {
	display: grid;
	grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
	gap: 48px;
	align-items: center;
}

.hs-hero__nowosc {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 22px !important;
	padding: 6px 14px 6px 10px !important;
	background: var(--hs-field);
	clip-path: var(--hs-notch);
	font-size: .9375rem;
	font-weight: 500;
	color: var(--hs-text);
}

.hs-kropka {
	flex: 0 0 auto;
	width: 8px;
	height: 8px;
	background: var(--hs-green);
}

.hs-hero__h1 {
	font-family: var(--hs-head);
	font-weight: 400;
	font-size: clamp(1.9rem, 1.1rem + 2.4vw, 2.9rem);
	line-height: 1.18;
	letter-spacing: -0.015em;
	color: var(--hs-text);
	text-wrap: balance;
}

.hs-hero__lead {
	margin-top: 20px !important;
	max-width: 34em;
	color: var(--hs-text-2);
}

.hs-hero__cena {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 12px;
	margin-top: 26px !important;
	color: var(--hs-text);
}

.hs-hero__cena strong {
	font-family: var(--hs-head);
	font-weight: 400;
	font-size: clamp(2.2rem, 1.8rem + 1.6vw, 2.9rem);
	line-height: 1.05;
}

.hs-hero__okres {
	font-size: 1.0625rem;
	color: var(--hs-text-2);
}

.hs-hero__rok {
	flex-basis: 100%;
	font-size: .9688rem;
	font-weight: 500;
	color: var(--hs-green);
}

.hs-hero__akcje {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 28px;
	margin-top: 26px;
}

/* Scena: karnet stojący na siatce horyzontu. */
.hs-hero__scena {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: flex-end;
	min-height: 540px;
	padding-bottom: 64px;
}

.hs-horyzont {
	position: absolute;
	left: -40%;
	right: -40%;
	bottom: 0;
	height: 240px;
	background:
		repeating-linear-gradient(90deg, rgba(54, 169, 225, .55) 0 2px, transparent 2px 64px),
		repeating-linear-gradient(0deg, rgba(54, 169, 225, .55) 0 2px, transparent 2px 40px);
	transform: perspective(320px) rotateX(58deg);
	transform-origin: 50% 100%;
	-webkit-mask-image: linear-gradient(to top, #000 10%, transparent 92%);
	mask-image: linear-gradient(to top, #000 10%, transparent 92%);
	pointer-events: none;
}

.hs-horyzont::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	height: 2px;
	background: var(--hs-blue);
}

/* ── Karnet ────────────────────────────────────────────────────── */
.hs-karnet {
	--hs-rama: var(--hs-orange);
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 420px;
	padding: 24px 24px 0;
	background: var(--hs-field);
	color: var(--hs-text);
}

.hs-karnet__glowa {
	display: flex;
	align-items: center;
	gap: 14px;
	padding-bottom: 16px;
	border-bottom: 2px solid var(--hs-line-2);
}

.hs-karnet__ikona {
	flex: 0 0 auto;
	width: auto;
	height: 36px;
	object-fit: contain;
	image-rendering: pixelated;
}

.hs-karnet__nazwa {
	font-family: var(--hs-head);
	font-size: 1.0625rem;
	line-height: 1.3;
	color: var(--hs-text);
}

.hs-karnet__haslo {
	font-size: .875rem;
	color: var(--hs-muted);
}

.hs-karnet__lista {
	list-style: none;
	padding: 6px 0 14px !important;
}

.hs-karnet__lista li {
	position: relative;
	padding: 9px 0 9px 26px;
	border-bottom: 1px dashed var(--hs-line-2);
}

.hs-karnet__lista li::before {
	content: "";
	position: absolute;
	left: 2px;
	top: 1.05em;
	width: 10px;
	height: 10px;
	background: var(--hs-green);
	clip-path: polygon(0 50%, 40% 90%, 100% 10%, 100% 30%, 40% 100%, 0 70%);
}

.hs-karnet__lista li:last-child {
	border-bottom: 0;
}

.hs-karnet__lista li > span,
.hs-karnet__lista li > a {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
}

.hs-karnet__lista li span,
.hs-karnet__lista li > a > span {
	font-weight: 600;
	font-size: .9688rem;
	line-height: 1.35;
	color: var(--hs-text);
}

.hs-karnet__lista li {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
}

.hs-karnet__lista em {
	flex-shrink: 0;
	font-style: normal;
	font-size: .8125rem;
	color: var(--hs-muted);
	text-align: right;
}

.hs-karnet__extra span {
	font-weight: 500 !important;
}

.hs-karnet__wkrotce {
	margin-top: 4px;
}

.hs-karnet__wkrotce::before {
	background: var(--hs-orange) !important;
	clip-path: polygon(40% 0, 60% 0, 60% 40%, 100% 40%, 100% 60%, 60% 60%, 60% 100%, 40% 100%, 40% 60%, 0 60%, 0 40%, 40% 40%) !important;
}

.hs-karnet__wkrotce a {
	flex: 1;
	text-decoration: none;
}

.hs-karnet__wkrotce a span {
	color: var(--hs-orange) !important;
}

.hs-karnet__wkrotce a:hover em {
	color: var(--hs-text);
	text-decoration: underline;
}

/* Perforacja z wycięciami; pacman zjada kropki co 10 s. */
.hs-karnet__perforacja {
	position: relative;
	height: 24px;
	margin: 0 -24px;
}

.hs-karnet__perforacja::before,
.hs-karnet__perforacja::after {
	content: "";
	position: absolute;
	top: 50%;
	width: 20px;
	height: 20px;
	margin-top: -10px;
	background: var(--hs-bg);
}

.hs-karnet__perforacja::before {
	left: -10px;
}

.hs-karnet__perforacja::after {
	right: -10px;
}

.hs-karnet__kropki {
	position: absolute;
	left: 24px;
	right: 24px;
	top: 50%;
	height: 4px;
	margin-top: -2px;
	background: linear-gradient(90deg, var(--hs-orange) 0 4px, transparent 4px) 0 0 / 14px 4px repeat-x;
}

.hs-karnet__zjedzone {
	position: absolute;
	left: 20px;
	top: 50%;
	height: 10px;
	margin-top: -5px;
	width: 0;
	background: var(--hs-field);
}

.hs-karnet__pacman {
	position: absolute;
	top: 50%;
	left: 16px;
	width: auto;
	height: 18px;
	margin-top: -9px;
	object-fit: contain;
	image-rendering: pixelated;
	opacity: 0;
}

@media (prefers-reduced-motion: no-preference) {
	.hs-karnet__zjedzone {
		animation: hs-zjedz 10s .6s infinite;
	}
	.hs-karnet__pacman {
		animation: hs-pacman 10s .6s infinite;
	}
}

/* Pętla co 10 s: zjada w 2,4 s, pusto do 9,2 s, kropki wracają, od nowa. */
@keyframes hs-zjedz {
	0% { width: 0; animation-timing-function: steps(24, end); }
	24% { width: calc(100% - 40px); animation-timing-function: steps(1, end); }
	92% { width: calc(100% - 40px); animation-timing-function: steps(1, end); }
	100% { width: 0; }
}

@keyframes hs-pacman {
	0% { left: 16px; opacity: 1; animation-timing-function: steps(24, end); }
	23% { opacity: 1; }
	24% { left: calc(100% - 36px); opacity: 0; animation-timing-function: steps(1, end); }
	99% { left: calc(100% - 36px); opacity: 0; animation-timing-function: steps(1, end); }
	100% { left: 16px; opacity: 0; }
}

.hs-karnet__suma {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	padding: 14px 0 22px;
}

.hs-karnet__suma p {
	display: grid;
	gap: 2px;
}

.hs-karnet__suma span {
	font-size: .8125rem;
	color: var(--hs-muted);
}

.hs-karnet__osobno {
	font-family: var(--hs-head);
	font-weight: 400;
	font-size: 1.25rem;
	color: var(--hs-muted);
}

.hs-karnet__sub {
	font-family: var(--hs-head);
	font-weight: 400;
	font-size: 1.5rem;
	line-height: 1.15;
	color: var(--hs-orange);
}

.hs-karnet__sub small {
	font-family: var(--hs-font);
	font-size: .8125rem;
	color: var(--hs-text-2);
}

/* ── Telefon w pikselowej ramce (zrzuty aplikacji) ─────────────── */
.hs-tel {
	position: relative;
	width: 100%;
	max-width: 220px;
	padding: 14px 10px 18px;
	background: var(--hs-field);
}

.hs-tel::before {
	content: "";
	position: absolute;
	top: 5px;
	left: 50%;
	width: 36px;
	height: 4px;
	margin-left: -18px;
	background: var(--hs-line-2);
}

.hs-tel__ekran {
	aspect-ratio: 390 / 600;
	overflow: hidden;
	background: var(--hs-bg);
}

.hs-tel__ekran img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top center;
}

/* ── Co dostajesz: bento ze zrzutami ───────────────────────────── */
.hs-bento__siatka {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 20px;
	margin-top: 44px;
}

.hs-bento__kafel {
	position: relative;
	overflow: hidden;
	padding: 28px;
	background: var(--hs-field-in);
	border: 2px solid var(--hs-line);
}

.hs-bento__kafel p {
	margin-top: 10px !important;
	max-width: 32em;
	font-size: 1rem;
}

.hs-bento__kafel--platforma {
	grid-column: span 4;
	display: grid;
	grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
	gap: 28px;
	align-items: center;
}

.hs-bento__polka {
	list-style: none;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

/* Okładka u góry, nazwa kursu na własnym pasku pod nią (na obrazku ginęła). */
.hs-bento__polka li {
	position: relative;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background: var(--hs-field);
	border: 2px solid var(--hs-line-2);
}

.hs-bento__polka li:nth-child(odd) {
	transform: translateY(10px);
}

.hs-bento__polka img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	height: auto;
	object-fit: cover;
	object-position: 50% 40%;
}

.hs-bento__polka span {
	display: block;
	padding: 10px 12px 11px;
	background: #0b1220;
	flex: 1;
	border-top: 2px solid var(--hs-orange);
	font-size: .9375rem;
	font-weight: 700;
	line-height: 1.25;
	color: #fff;
}

.hs-bento__kafel--praktyka {
	grid-column: span 2;
	display: flex;
	flex-direction: column;
	gap: 22px;
}

.hs-bento__kafel--praktyka .hs-tel,
.hs-bento__kafel--czat .hs-tel {
	--hs-rama: var(--hs-blue);
	margin: 4px auto 0;
	max-width: 180px;
}

.hs-bento__kafel--nowe {
	grid-column: span 2;
	background: var(--hs-field);
	border-color: var(--hs-orange);
}

.hs-bento__kafel .hs-bento__liczba {
	margin: 0 0 14px !important;
	font-family: var(--hs-head);
	font-size: clamp(3rem, 2.4rem + 2.4vw, 4.4rem);
	line-height: 1;
	color: var(--hs-orange);
}

.hs-bento__kafel--nowe .hs-link {
	margin-top: 16px;
}

.hs-bento__kafel--czat {
	grid-column: span 4;
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 32px;
	align-items: center;
}

.hs-bento__kafel--czat .hs-tel {
	margin: 0;
	width: 180px;
}

.hs-bento__dopisek {
	color: var(--hs-green);
	font-weight: 500;
}

/* ── Kursy w subskrypcji ───────────────────────────────────────── */
.kdz-home-sub-page .hs-kursy {
	background: var(--hs-field-in);
	border-top: 1px solid var(--hs-line);
	border-bottom: 1px solid var(--hs-line);
}

.hs-kursy__siatka {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 28px;
	margin-top: 44px;
}

.hs-kurs {
	display: flex;
	flex-direction: column;
	background: var(--hs-field);
	text-decoration: none;
	transition: transform .15s ease;
}

.hs-kurs:hover {
	--hs-rama: var(--hs-orange);
	transform: translateY(-2px);
}

/* Jeden kadr dla wszystkich kafli: ta sama proporcja, przycięcie od środka. */
.hs-kurs__media {
	position: relative;
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--hs-field-in);
	border-bottom: 2px solid var(--hs-line-2);
}

.hs-kurs__media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 40%;
}

.hs-kurs__znak {
	position: absolute;
	left: 12px;
	top: 12px;
	padding: 3px 10px;
	background: var(--hs-bg);
	clip-path: var(--hs-notch);
	font-size: .8125rem;
	font-weight: 600;
	color: var(--hs-green);
}

.hs-kurs__tresc {
	display: flex;
	flex-direction: column;
	flex: 1;
	gap: 8px;
	padding: 20px;
}

.hs-kurs__temat {
	font-size: .875rem;
	font-weight: 500;
	color: var(--hs-blue);
}

.hs-kurs__nazwa {
	font-weight: 600;
	font-size: 1.1875rem;
	line-height: 1.3;
	color: var(--hs-text);
}

.hs-kurs__opis {
	font-size: .9375rem;
	line-height: 1.55;
	color: var(--hs-text-2);
}

.hs-kurs__stopka {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 6px 12px;
	margin-top: auto;
	padding-top: 14px;
	border-top: 1px solid var(--hs-line-2);
	font-size: .875rem;
}

.hs-kurs__cena {
	color: var(--hs-muted);
}

.hs-kurs__wiecej {
	font-weight: 600;
	color: var(--hs-orange);
}

/* ── Mapa kursów: ścieżki jak linie metra (runda 3) ───────────── */
.hs-mapa__glowa {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 40px;
	align-items: center;
}

.hs-mapa__licznik {
	font-family: var(--hs-head);
	font-size: clamp(2.6rem, 2rem + 3vw, 4.6rem);
	line-height: 1;
	color: var(--hs-text);
	white-space: nowrap;
}

.hs-mapa__legenda {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 10px;
	margin-top: 32px !important;
	font-size: .875rem;
	color: var(--hs-muted);
}

.hs-mapa__znak {
	display: inline-block;
	width: 14px;
	height: 14px;
	margin-left: 8px;
	background: var(--hs-bg);
	box-shadow: inset 0 0 0 3px var(--hs-text-2);
}

.hs-mapa__znak--gotowy {
	margin-left: 0;
	background: var(--hs-green);
	box-shadow: none;
}

.hs-mapa__linie {
	list-style: none;
	margin-top: 20px !important;
	border-top: 2px solid var(--hs-line);
}

.hs-linia {
	--hs-l: var(--hs-orange);
	display: grid;
	grid-template-columns: 250px minmax(0, 1fr);
	gap: 28px;
	align-items: start;
	padding: 28px 0;
	border-bottom: 2px solid var(--hs-line);
}

.hs-linia--blekit {
	--hs-l: var(--hs-blue);
}

.hs-linia--zielen {
	--hs-l: var(--hs-green);
}

.hs-linia__glowa {
	display: flex;
	gap: 14px;
	align-items: flex-start;
}

.hs-linia__ikona {
	flex: 0 0 auto;
	line-height: 0;
}

.hs-linia__ikona .hs-piksel {
	width: 40px;
	height: 40px;
}

.kdz-home-sub-page .hs-linia h3 {
	font-family: var(--hs-head);
	font-weight: 400;
	font-size: 1rem;
	line-height: 1.35;
}

.hs-linia__glowa p {
	margin-top: 6px !important;
	font-size: .875rem;
	line-height: 1.5;
	color: var(--hs-muted);
}

/* Stacje na linii: pozioma kreska w kolorze ścieżki, kwadratowe przystanki. */
.hs-linia__stacje {
	position: relative;
	list-style: none;
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 14px;
}

.hs-linia__stacje::before {
	content: "";
	position: absolute;
	left: 0;
	top: 9px;
	width: calc(var(--hs-stacje, 5) / 5 * 100% - 30px);
	height: 4px;
	background: var(--hs-l);
}

.hs-stacja,
.hs-stacja > a {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 8px;
	text-decoration: none;
}

.hs-stacja__kropka {
	position: relative;
	width: 22px;
	height: 22px;
	background: var(--hs-bg);
	box-shadow: inset 0 0 0 4px var(--hs-l);
}

.hs-stacja--gotowa .hs-stacja__kropka {
	background: var(--hs-l);
	box-shadow: 0 0 0 4px var(--hs-bg);
}

.hs-stacja__nazwa {
	font-weight: 600;
	font-size: .9688rem;
	line-height: 1.35;
	color: var(--hs-text);
}

.hs-stacja--gotowa a:hover .hs-stacja__nazwa {
	color: var(--hs-orange);
	text-decoration: underline;
}

.hs-stacja .hs-etykieta {
	align-self: flex-start;
	font-size: .75rem;
}

.hs-etykieta {
	display: inline-block;
	padding: 3px 10px;
	background: var(--hs-field);
	clip-path: var(--hs-notch);
	font-weight: 600;
	line-height: 1.4;
	color: var(--hs-text-2);
}

.hs-etykieta--wkrotce {
	background: var(--hs-orange);
	color: var(--hs-on-orange);
}

.hs-etykieta--gotowy {
	background: var(--hs-green);
	color: #06210f;
}

/* Miesiąc premiery pod etykietą „Wkrótce w subskrypcji” i odnośnik z nazwy ścieżki do jej landingu (27.11). */
.hs-stacja__kiedy {
	font-size: .8125rem;
	font-weight: 600;
	color: var(--hs-text-2);
}

.hs-linia__link {
	color: inherit;
	text-decoration: underline;
	text-decoration-color: var(--hs-l);
	text-underline-offset: 4px;
}

.hs-linia__link:hover {
	color: var(--hs-orange);
}

.hs-mapa__uwaga {
	margin-top: 18px !important;
	font-size: .8125rem;
	color: var(--hs-muted);
}

.hs-mapa__akcja {
	margin-top: 40px;
}

/* ── Aplikacja mobilna (runda 3) ───────────────────────────────── */
.kdz-home-sub-page .hs-apka {
	background: var(--hs-field-in);
	border-top: 1px solid var(--hs-line);
	border-bottom: 1px solid var(--hs-line);
	overflow: hidden;
}

.hs-apka__in {
	display: grid;
	grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
	gap: 56px;
	align-items: center;
}

.hs-apka__scena {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: flex-end;
	min-height: 560px;
	padding-bottom: 48px;
}

.hs-apka__scena .hs-tel {
	--hs-rama: var(--hs-blue);
	max-width: none;
}

.hs-apka__scena .hs-tel__ekran {
	aspect-ratio: 390 / 760;
}

.hs-apka__scena .hs-tel--przod {
	z-index: 2;
	width: 250px;
	margin-left: 0;
}

.hs-apka__scena .hs-tel--tyl {
	--hs-rama: var(--hs-line-2);
	position: absolute;
	z-index: 1;
	left: 50%;
	bottom: 110px;
	width: 210px;
	margin-left: -210px;
}

.hs-tel--tyl img {
	opacity: .8;
}

.hs-apka__funkcje {
	list-style: none;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px 32px;
	margin-top: 32px !important;
}

.hs-apka__funkcje li {
	position: relative;
	padding-left: 22px;
}

.hs-apka__funkcje li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .5em;
	width: 10px;
	height: 10px;
	background: var(--hs-orange);
}

.kdz-home-sub-page .hs-apka__funkcje h3 {
	font-size: 1rem;
}

.hs-apka__funkcje p {
	margin-top: 4px !important;
	font-size: .9375rem;
	line-height: 1.5;
}

.hs-apka__sklepy {
	margin-top: 32px;
}

/* Przyciski sklepów ze wspólnego skrótu one-pagera ([kdz_apv1_sklepy]) w szacie tej strony. */
.kdz-home-sub-page .apv1-sklepy {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.kdz-home-sub-page .apv1-sklep {
	display: inline-flex;
	flex-direction: column;
	justify-content: center;
	min-width: 172px;
	min-height: 56px;
	padding: 8px 20px;
	font-family: var(--hs-font);
	text-align: left;
	text-decoration: none;
	color: var(--hs-text);
	background: var(--hs-bg);
	border: 0;
	border-radius: 0;
	clip-path: var(--hs-notch);
	box-shadow: inset 0 0 0 2px var(--hs-blue);
	cursor: pointer;
}

.kdz-home-sub-page .apv1-sklep:hover {
	background: var(--hs-field);
}

.kdz-home-sub-page .apv1-sklep:focus-visible {
	outline: none;
	box-shadow: inset 0 0 0 3px #fff;
}

.kdz-home-sub-page .apv1-sklep__male {
	font-size: .75rem;
	line-height: 1.2;
	color: var(--hs-muted);
}

.kdz-home-sub-page .apv1-sklep__nazwa {
	font-size: 1.125rem;
	font-weight: 600;
	line-height: 1.25;
}

.kdz-home-sub-page .apv1-sklep--wkrotce {
	box-shadow: inset 0 0 0 2px var(--hs-line-2);
}

.kdz-home-sub-page .apv1-sklep--wkrotce .apv1-sklep__male {
	color: var(--hs-green);
}

.kdz-home-sub-page .apv1-sklepy__info {
	margin-top: 10px !important;
	font-size: .9375rem;
	color: var(--hs-text-2);
}

.kdz-home-sub-page .apv1-sklepy__info:empty {
	margin-top: 0 !important;
}

.hs-apka__wiecej {
	margin-top: 18px !important;
}

@media (max-width: 1024px) {
	.hs-linia {
		grid-template-columns: 1fr;
		gap: 20px;
	}
	.hs-apka__in {
		grid-template-columns: 1fr;
		gap: 24px;
	}
	.hs-apka__scena {
		order: 2;
		min-height: 0;
		padding-top: 24px;
	}
}

@media (max-width: 860px) {
	.hs-mapa__glowa {
		grid-template-columns: 1fr;
		gap: 12px;
	}
	/* Na telefonie linia metra pionowo: kreska z lewej, stacje jedna pod drugą. */
	.hs-linia__stacje {
		grid-template-columns: 1fr;
		gap: 16px;
	}
	.hs-linia__stacje::before {
		left: 9px;
		top: 4px;
		bottom: 4px;
		width: 4px;
		height: auto;
	}
	.hs-stacja,
	.hs-stacja > a {
		display: grid;
		grid-template-columns: 22px minmax(0, 1fr);
		column-gap: 14px;
		row-gap: 6px;
		align-items: start;
	}
	/* gotowa stacja: siatkę ma sam link, nie element listy (inaczej link wpada w 22-pikselową kolumnę) */
	.hs-linia__stacje > .hs-stacja--gotowa {
		display: block;
	}
	.hs-stacja__kropka {
		grid-row: 1 / span 2;
	}
	.hs-stacja__nazwa,
	.hs-stacja .hs-etykieta,
	.hs-stacja__kiedy {
		grid-column: 2;
	}
	.hs-stacja .hs-etykieta {
		justify-self: start;
	}
	.hs-mapa__akcja .hs-btn {
		width: 100%;
	}
	.hs-apka__funkcje {
		grid-template-columns: 1fr;
		gap: 16px;
	}
	.hs-apka__scena .hs-tel--przod {
		width: 200px;
		margin-left: 0;
	}
	.hs-apka__scena .hs-tel--tyl {
		width: 168px;
		margin-left: -168px;
		bottom: 90px;
	}
	.kdz-home-sub-page .apv1-sklep {
		flex: 1 1 140px;
		min-width: 0;
	}
}

/* ── Policz: paragon kontra bilet ──────────────────────────────── */
.kdz-home-sub-page .hs-policz {
	background: var(--hs-field-in);
	border-top: 1px solid var(--hs-line);
	border-bottom: 1px solid var(--hs-line);
}

.hs-policz__para {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 48px;
	align-items: start;
	margin-top: 44px;
}

.hs-paragon {
	position: relative;
	padding: 28px 28px 40px;
	background: #e9edf5;
	color: #0a0f1c;
	/* ząbkowana dolna krawędź paragonu */
	clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), 95% 100%, 90% calc(100% - 10px), 85% 100%, 80% calc(100% - 10px), 75% 100%, 70% calc(100% - 10px), 65% 100%, 60% calc(100% - 10px), 55% 100%, 50% calc(100% - 10px), 45% 100%, 40% calc(100% - 10px), 35% 100%, 30% calc(100% - 10px), 25% 100%, 20% calc(100% - 10px), 15% 100%, 10% calc(100% - 10px), 5% 100%, 0 calc(100% - 10px));
}

.hs-paragon__glowa {
	padding-bottom: 12px;
	border-bottom: 2px dashed #9aa6bd;
	font-family: var(--hs-head);
	font-size: .9375rem;
	color: #0a0f1c;
}

.hs-paragon table {
	width: 100%;
	border-collapse: collapse;
}

.hs-paragon th,
.hs-paragon td {
	padding: 12px 0;
	border-bottom: 1px dashed #b7c0d2;
	text-align: left;
	font-weight: 500;
	font-size: .9688rem;
}

.hs-paragon td {
	text-align: right;
	white-space: nowrap;
	padding-left: 16px;
	font-variant-numeric: tabular-nums;
}

.hs-paragon tfoot th,
.hs-paragon tfoot td {
	border-bottom: 0;
	padding-top: 16px;
	font-family: var(--hs-head);
	font-weight: 400;
	font-size: 1.125rem;
}

.hs-paragon__stopka {
	margin-top: 10px !important;
	font-size: .875rem;
	color: #4a5670;
}

.hs-bilet {
	--hs-rama: var(--hs-orange);
	padding: 32px;
	background: var(--hs-field);
	color: var(--hs-text);
}

.hs-bilet__glowa {
	font-size: .9375rem;
	color: var(--hs-muted);
}

.hs-bilet__co {
	margin-top: 4px !important;
	font-weight: 600;
	font-size: 1.125rem;
	color: var(--hs-text);
}

.hs-bilet__cena {
	margin-top: 14px !important;
	color: var(--hs-text-2);
}

.hs-bilet__cena strong {
	font-family: var(--hs-head);
	font-weight: 400;
	font-size: 2.75rem;
	line-height: 1.1;
	color: var(--hs-text);
	margin-right: 6px;
}

.hs-bilet__rok {
	margin-top: 4px !important;
	font-weight: 500;
	color: var(--hs-green);
}

.hs-bilet__trial {
	margin: 4px 0 22px !important;
	font-weight: 600;
	color: var(--hs-green);
}

/* ── Jak zacząć: kroki na pikselowej ścieżce ───────────────────── */
.hs-kroki__lista {
	position: relative;
	list-style: none;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 40px;
	margin-top: 48px !important;
}

.hs-kroki__lista::before {
	content: "";
	position: absolute;
	left: 28px;
	right: 28px;
	top: 26px;
	height: 4px;
	background: linear-gradient(90deg, var(--hs-orange) 0 4px, transparent 4px) 0 0 / 16px 4px repeat-x;
}

.hs-kroki__lista li {
	position: relative;
}

.hs-kroki__nr {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	background: var(--hs-orange);
	clip-path: var(--hs-notch);
	font-family: var(--hs-head);
	font-size: 1.375rem;
	color: var(--hs-on-orange);
	box-shadow: 0 0 0 8px var(--hs-bg);
}

.hs-kroki__lista h3 {
	margin-top: 22px !important;
}

.hs-kroki__lista p {
	margin-top: 8px !important;
	max-width: 30em;
}

/* ── FAQ: wspólny akordeon w kolorach strony ───────────────────── */
.hs-faq__in {
	display: grid;
	grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr);
	gap: 64px;
	align-items: start;
}

.hs-faq__lista {
	--kdz-ak-linia: var(--hs-line);
	--kdz-ak-tekst: var(--hs-text);
	--kdz-ak-akcent: var(--hs-orange);
	--kdz-ak-tresc: var(--hs-text-2);
	--kdz-ak-font-znak: var(--hs-head);
}

/* ── Karta końcowa ─────────────────────────────────────────────── */
.kdz-home-sub-page .hs-final {
	position: relative;
	overflow: hidden;
	padding-bottom: 140px;
}

.hs-horyzont--final {
	height: 200px;
}

.hs-final__in {
	position: relative;
	z-index: 1;
	display: grid;
	gap: 32px;
	max-width: 900px;
}

.kdz-home-sub-page .kdz-sub {
	--kdz-sub-tlo: var(--hs-field);
	--kdz-sub-tekst: var(--hs-text);
	--kdz-sub-przygaszony: var(--hs-text-2);
	--kdz-sub-akcent: var(--hs-orange);
	--kdz-sub-na-akcencie: var(--hs-on-orange);
	--kdz-sub-trial: var(--hs-green);
	--kdz-sub-font: var(--hs-font);
	--kdz-sub-font-naglowek: var(--hs-head);
	--kdz-sub-promien: 0;
	border: 0;
	box-shadow: 0 -4px 0 0 var(--hs-orange), 0 4px 0 0 var(--hs-orange), -4px 0 0 0 var(--hs-orange), 4px 0 0 0 var(--hs-orange);
}

.kdz-home-sub-page .kdz-sub .kdz-sub__tag {
	border-radius: 0;
	clip-path: var(--hs-notch);
	text-transform: none;
	letter-spacing: 0;
	font-size: .875rem;
}

.kdz-home-sub-page .kdz-sub__nazwa {
	font-weight: 400;
}

.kdz-home-sub-page .kdz-sub__kwota strong {
	font-weight: 400;
}

/* ── Stopka ────────────────────────────────────────────────────── */
.hs-stopka {
	padding: 56px 0 36px;
	border-top: 1px solid var(--hs-line);
	font-size: .9375rem;
	color: var(--hs-muted);
}

.hs-stopka__in {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr;
	gap: 40px;
}

.hs-stopka__logo img {
	width: 132px;
	height: auto;
	margin-bottom: 16px;
}

.hs-stopka__marka p {
	max-width: 30em;
}

.hs-stopka__firma {
	margin-top: 10px !important;
	font-size: .8125rem;
}

.hs-stopka__tytul {
	margin-bottom: 10px !important;
	font-weight: 600;
	color: var(--hs-text);
}

.hs-stopka__tytul--dalej {
	margin-top: 24px !important;
}

.hs-stopka ul {
	list-style: none;
	display: grid;
	gap: 8px;
}

.hs-stopka a {
	color: var(--hs-text-2);
	text-decoration: none;
}

.hs-stopka a:hover {
	color: var(--hs-orange);
}

.hs-stopka__social {
	display: flex !important;
	flex-wrap: wrap;
	gap: 8px 18px !important;
}

.hs-stopka__dol {
	margin-top: 36px;
	padding-top: 18px;
	border-top: 1px solid var(--hs-line);
	font-size: .8125rem;
}

/* ── Tablet ────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
	.hs-kursy__siatka {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.hs-bento__kafel--platforma,
	.hs-bento__kafel--czat {
		grid-column: span 6;
	}
	.hs-bento__kafel--praktyka,
	.hs-bento__kafel--nowe {
		grid-column: span 3;
	}
}

/* ── Telefon ───────────────────────────────────────────────────── */
@media (max-width: 860px) {
	.kdz-home-sub-page .hs-sekcja {
		padding: 64px 0;
	}
	.hs-wrap {
		padding: 0 16px;
	}
	.hs-nav__link--szeroki {
		display: none;
	}
	.hs-nav__menu {
		gap: 16px;
	}
	.hs-nav__logo img {
		width: 116px;
	}

	.kdz-home-sub-page .hs-hero {
		padding-top: 36px;
	}
	.hs-hero__in {
		grid-template-columns: 1fr;
		gap: 16px;
	}
	.hs-hero__akcje .hs-btn {
		width: 100%;
	}
	.hs-hero__scena {
		min-height: 0;
		padding: 28px 4px 48px;
	}
	.hs-horyzont {
		height: 170px;
	}

	.hs-bento__siatka {
		grid-template-columns: 1fr;
		gap: 16px;
		margin-top: 28px;
	}
	.hs-bento__kafel,
	.hs-bento__kafel--platforma,
	.hs-bento__kafel--praktyka,
	.hs-bento__kafel--nowe,
	.hs-bento__kafel--czat {
		grid-column: auto;
		padding: 22px;
	}
	.hs-bento__kafel--platforma {
		grid-template-columns: 1fr;
		gap: 20px;
	}
	.hs-bento__polka li:nth-child(odd) {
		transform: none;
	}
	.hs-bento__kafel--czat {
		grid-template-columns: 120px minmax(0, 1fr);
		gap: 20px;
	}
	.hs-bento__kafel--czat .hs-tel {
		width: 120px;
	}
	.hs-bento__kafel--praktyka {
		flex-direction: row-reverse;
		align-items: center;
	}
	.hs-bento__kafel--praktyka .hs-tel {
		flex: 0 0 120px;
		max-width: 120px;
		margin: 0;
	}

	.hs-kursy__siatka {
		grid-template-columns: 1fr;
		gap: 24px;
		margin-top: 28px;
	}

	.hs-policz__para {
		grid-template-columns: 1fr;
		gap: 32px;
		margin-top: 28px;
	}
	.hs-paragon {
		padding: 22px 20px 34px;
	}
	.hs-bilet {
		padding: 26px 22px;
		margin: 0 4px;
	}

	.hs-kroki__lista {
		grid-template-columns: 1fr;
		gap: 28px;
		margin-top: 32px !important;
	}
	.hs-kroki__lista::before {
		left: 26px;
		right: auto;
		top: 28px;
		bottom: 28px;
		width: 4px;
		height: auto;
		background: linear-gradient(180deg, var(--hs-orange) 0 4px, transparent 4px) 0 0 / 4px 16px repeat-y;
	}
	.hs-kroki__lista li {
		padding-left: 76px;
	}
	.hs-kroki__nr {
		position: absolute;
		left: 0;
		top: 0;
	}
	.hs-kroki__lista h3 {
		margin-top: 12px !important;
	}

	.hs-faq__in {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.kdz-home-sub-page .hs-final {
		padding-bottom: 96px;
	}
	.kdz-home-sub-page .kdz-sub {
		margin: 0 4px;
	}

	.hs-stopka__in {
		grid-template-columns: 1fr 1fr;
		gap: 28px;
	}
	.hs-stopka__marka {
		grid-column: 1 / -1;
	}
}

@media (max-width: 380px) {
	.hs-nav__link {
		display: none;
	}
	.hs-karnet__suma {
		grid-template-columns: minmax(0, 1fr) !important;
	}
}

/* Wąskie telefony (do 480 px, sprawdzane na 375 i 320): w karnecie kategoria pod nazwą kursu,
   a w kaflach z telefonem zrzut nad tekstem zamiast obok (obok ściskał tekst i wypychał go poza kafel). */
@media (max-width: 480px) {
	.hs-karnet {
		padding: 20px 18px 0;
	}
	.hs-karnet__glowa {
		gap: 12px;
	}
	.hs-karnet__lista li,
	.hs-karnet__lista li > span,
	.hs-karnet__lista li > a {
		flex-direction: column;
		align-items: flex-start;
		gap: 1px;
	}
	.hs-karnet__lista em {
		flex-shrink: 1;
		font-size: .8125rem;
	}
	.hs-karnet__suma {
		gap: 10px;
	}
	.hs-karnet__sub {
		white-space: nowrap;
		font-size: 1.75rem;
	}
	.hs-karnet__osobno {
		font-size: 1.5rem;
	}
	.hs-bento__kafel,
	.hs-bento__kafel--platforma,
	.hs-bento__kafel--praktyka,
	.hs-bento__kafel--nowe,
	.hs-bento__kafel--czat {
		padding: 20px 18px;
	}
	.hs-bento__kafel--praktyka,
	.hs-bento__kafel--czat {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		gap: 18px;
	}
	.hs-bento__kafel--praktyka .hs-tel,
	.hs-bento__kafel--czat .hs-tel {
		flex: 0 0 auto;
		width: 150px;
		max-width: 150px;
		margin: 0 auto;
	}
	.hs-bento__polka {
		gap: 10px;
	}
	.hs-bento__polka span {
		padding: 8px 10px 9px;
		font-size: .875rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.kdz-home-sub-page * {
		transition: none !important;
	}
}

/* ── Pięć kursów (16.11, Cyfrowa samoobrona): bez samotnej karty w ostatnim rzędzie ────────
   Komputer: 3 + 2 wyśrodkowane (siatka 6 kolumn, karta = 2). Tablet: 2 + 2 + 1, ostatnia na środku.
   Karty zostają tej samej szerokości; przy innej liczbie kursów działa zwykła siatka. */
@media (min-width: 1025px) {
	.hs-kursy__siatka:has(> .hs-kurs:nth-child(5):last-child) {
		grid-template-columns: repeat(6, minmax(0, 1fr));
	}
	.hs-kursy__siatka:has(> .hs-kurs:nth-child(5):last-child) > .hs-kurs {
		grid-column: span 2;
	}
	.hs-kursy__siatka:has(> .hs-kurs:nth-child(5):last-child) > .hs-kurs:nth-child(4) {
		grid-column: 2 / span 2;
	}
}
@media (min-width: 861px) and (max-width: 1024px) {
	.hs-kursy__siatka:has(> .hs-kurs:nth-child(5):last-child) {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
	.hs-kursy__siatka:has(> .hs-kurs:nth-child(5):last-child) > .hs-kurs {
		grid-column: span 2;
	}
	.hs-kursy__siatka:has(> .hs-kurs:nth-child(5):last-child) > .hs-kurs:nth-child(5) {
		grid-column: 2 / span 2;
	}
}

/* Półka okładek w kaflu „Wszystkie kursy w jednym miejscu”: piąta okładka na środku, nie samotnie z lewej. */
.hs-bento__polka:has(> li:nth-child(5):last-child) {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}
.hs-bento__polka:has(> li:nth-child(5):last-child) > li {
	grid-column: span 2;
}
.hs-bento__polka:has(> li:nth-child(5):last-child) > li:nth-child(5) {
	grid-column: 2 / span 2;
	transform: none;
}
