/*
Theme Name: I LO Wadowice
Theme URI: https://example.com/
Author: Tomasz Guzik
Description: Nowoczesny motyw dla I Liceum Ogólnokształcącego im. Marcina Wadowity w Wadowicach. Granatowy nagłówek z menu rozwijanym, pełnoszerokie zdjęcie na starcie, pasek atutów, aktualności z wyróżnionym wpisem, panel rekrutacji i pasek dolny z szybkimi linkami. Wszystkie zdjęcia i teksty ustawiasz w Personalizatorze. Wbudowane: wysoki kontrast, większy tekst, profile klas i wydarzenia.
Version: 2.0.45
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: lo-wadowice
Tags: education, custom-logo, custom-menu, featured-images, translation-ready, accessibility-ready, threaded-comments
*/

/* ==========================================================================
   Tokeny
   ========================================================================== */
:root {
	--navy: #04163f;
	--navy-2: #082b66;
	--navy-3: #0c3a85;
	--blue: #1479ff;
	--blue-2: #2f8dff;
	--sky: #7db8ff;
	--ink: #0b1d44;
	--text: #1c2a4d;
	--muted: #5b6785;
	--line: #e3e8f2;
	--bg: #f4f7fc;
	--paper: #ffffff;
	--teal: #0a9d9d;
	--violet: #2a4a9c;

	--font: "Poppins", "Segoe UI", system-ui, sans-serif;
	--script: var(--font);

	--wrap: 1360px;
	--gutter: clamp(1rem, 3vw, 2.25rem);
	--r: 8px;
	--shadow: 0 14px 34px -16px rgba(8, 30, 80, 0.35);
}

html.hc {
	--navy: #000;
	--navy-2: #000;
	--navy-3: #000;
	--blue: #ffe600;
	--blue-2: #ffe600;
	--sky: #ffe600;
	--ink: #fff;
	--text: #fff;
	--muted: #fff;
	--line: #fff;
	--bg: #000;
	--paper: #000;
	--teal: #ffe600;
	--violet: #ffe600;
	--shadow: none;
}

html.big-text { font-size: 118%; }

/* ==========================================================================
   Baza
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	background: var(--paper);
	color: var(--text);
	font-family: var(--font);
	font-size: 1rem;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

img, svg, video { max-width: 100%; height: auto; }

a { color: var(--blue); text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible { outline: 3px solid var(--blue-2); outline-offset: 3px; border-radius: 4px; }
html.hc :focus-visible { outline-color: #fff; }

h1, h2, h3, h4 { font-family: var(--font); font-weight: 700; line-height: 1.2; margin: 0 0 0.6em; color: var(--ink); }
p { margin: 0 0 1.1em; }

.ico { display: inline-block; flex: none; vertical-align: middle; }

.screen-reader-text {
	position: absolute !important;
	clip: rect(1px, 1px, 1px, 1px);
	width: 1px; height: 1px;
	overflow: hidden;
	white-space: nowrap;
}

.skip-link {
	position: absolute; left: 1rem; top: -4rem; z-index: 1000;
	background: var(--blue); color: #fff;
	padding: 0.75rem 1.25rem; border-radius: var(--r); font-weight: 600;
	transition: top 0.2s;
}
.skip-link:focus { top: 1rem; }

.wrap {
	width: 100%;
	max-width: calc(var(--wrap) + var(--gutter) * 2);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

/* ==========================================================================
   Przyciski
   ========================================================================== */
.btn {
	display: inline-flex; align-items: center; gap: 0.75rem;
	padding: 0.9rem 1.7rem;
	border-radius: 999px;
	border: 2px solid transparent;
	font: 600 0.9375rem/1.2 var(--font);
	text-decoration: none; cursor: pointer;
	transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--blue, .btn--primary { background: var(--blue); color: #fff; box-shadow: 0 12px 24px -12px rgba(20, 121, 255, 0.9); }
.btn--blue:hover, .btn--primary:hover { background: var(--blue-2); }
.btn--dark { background: var(--navy); color: #fff; }
html.hc .btn--blue, html.hc .btn--primary { color: #000; }
html.hc .btn--dark { border-color: #fff; }

/* ==========================================================================
   Nagłówek
   ========================================================================== */
.site-header {
	position: sticky; top: 0; z-index: 100;
	background: linear-gradient(180deg, #041a47 0%, #062356 100%);
	color: #fff;
	transition: box-shadow 0.2s;
}
html.hc .site-header { border-bottom: 2px solid #fff; background: #000; }
.site-header.is-stuck { box-shadow: 0 12px 30px -16px rgba(0, 0, 0, 0.7); }
.site-header__in {
	display: flex; align-items: center; justify-content: space-between;
	gap: 1rem 1.5rem; min-height: 5.1rem;
}

.brand { display: flex; align-items: center; gap: 1rem; color: #fff; text-decoration: none; min-width: 0; }
.brand .custom-logo { flex: none; height: 3.9rem; width: auto; max-width: 9rem; object-fit: contain; }
.brand__text { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.brand__l1 { font-weight: 700; font-size: clamp(0.95rem, 1.5vw, 1.2rem); letter-spacing: 0.01em; text-transform: uppercase; }
.brand__l2 { font-size: clamp(0.8rem, 1.1vw, 0.95rem); color: #d6e2fb; }

.header-end { display: flex; align-items: center; gap: 0.25rem 1.5rem; }
.primary-nav ul { list-style: none; margin: 0; padding: 0; }
.primary-nav > ul { display: flex; align-items: center; gap: 0.1rem; }
.primary-nav li { position: relative; }
.primary-nav a {
	display: flex; align-items: center;
	padding: 1.9rem 0.85rem 1.75rem;
	color: #fff; font-size: 0.9rem; font-weight: 500; text-decoration: none; white-space: nowrap;
	box-shadow: inset 0 -3px 0 transparent;
	transition: color 0.15s, box-shadow 0.15s;
}
.primary-nav a:hover { color: var(--sky); }
.primary-nav .current-menu-item > a,
.primary-nav .current_page_item > a,
.primary-nav .current-menu-ancestor > a { color: var(--blue-2); box-shadow: inset 0 -3px 0 var(--blue); }
html.hc .primary-nav .current-menu-item > a { color: #ffe600; }
.primary-nav .menu-item-has-children > a::after,
.primary-nav .page_item_has_children > a::after {
	content: ""; width: 0.4rem; height: 0.4rem; margin-left: 0.55rem;
	border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
	transform: rotate(45deg) translateY(-2px);
}
.primary-nav .sub-menu, .primary-nav .children {
	position: absolute; left: 0; top: 100%;
	min-width: 15rem; padding: 0.5rem;
	background: var(--paper); border: 1px solid var(--line);
	border-radius: 0 0 var(--r) var(--r); box-shadow: var(--shadow);
	opacity: 0; visibility: hidden; transform: translateY(6px);
	transition: opacity 0.15s, transform 0.15s, visibility 0.15s;
}
.primary-nav li:hover > .sub-menu, .primary-nav li:focus-within > .sub-menu,
.primary-nav li:hover > .children, .primary-nav li:focus-within > .children { opacity: 1; visibility: visible; transform: none; }
.primary-nav .sub-menu a, .primary-nav .children a {
	padding: 0.65rem 0.9rem; color: var(--text); font-weight: 500; border-radius: 6px; box-shadow: none;
}
.primary-nav .sub-menu a:hover, .primary-nav .children a:hover { background: var(--bg); color: var(--blue); }

.header-tools { display: flex; align-items: center; gap: 0.15rem; }
.icon-btn {
	display: inline-grid; place-items: center;
	width: 2.5rem; height: 2.5rem;
	background: transparent; border: 0; border-radius: 50%;
	color: #fff; cursor: pointer; text-decoration: none;
	font: 700 0.8rem/1 var(--font);
	transition: background-color 0.15s;
}
.icon-btn:hover { background: rgba(255, 255, 255, 0.14); }
.icon-btn[aria-pressed="true"] { background: var(--blue); }
html.hc .icon-btn[aria-pressed="true"] { color: #000; }

.nav-toggle {
	display: none; background: var(--blue); color: #fff; border: 0; border-radius: 999px;
	padding: 0.6rem 1.2rem; font: 600 0.9rem/1 var(--font); cursor: pointer;
}
html.hc .nav-toggle { color: #000; }

.search-panel { background: var(--navy-2); padding: 1rem 0; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.search-panel[hidden] { display: none; }
html.hc .search-panel { background: #000; border-top: 2px solid #fff; }

@media (max-width: 1100px) {
	.nav-toggle { display: inline-block; }
	.header-end { gap: 0.5rem; }
	.primary-nav {
		position: absolute; left: 0; right: 0; top: 100%;
		background: var(--navy); border-top: 1px solid rgba(255, 255, 255, 0.15);
		max-height: 0; overflow: hidden; visibility: hidden;
		transition: max-height 0.3s ease, visibility 0.3s;
	}
	.primary-nav.is-open { max-height: 80vh; overflow-y: auto; visibility: visible; }
	.primary-nav > ul { flex-direction: column; align-items: stretch; padding: 0.5rem var(--gutter) 1.25rem; gap: 0; }
	.primary-nav a { padding: 0.85rem 0.25rem; box-shadow: none; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
	.primary-nav .sub-menu, .primary-nav .children {
		position: static; opacity: 1; visibility: visible; transform: none;
		background: transparent; border: 0; box-shadow: none; padding: 0 0 0 1rem; min-width: 0;
	}
	.primary-nav .sub-menu a, .primary-nav .children a { color: #fff; }
}
@media (max-width: 560px) {
	.brand { flex: 1 1 auto; gap: 0.65rem; }
	.brand .custom-logo { height: 2.8rem; max-width: 6rem; }
	.brand__l1 { font-size: 0.74rem; letter-spacing: 0; }
	.brand__l2 { display: none; }
	.header-end { flex: none; }
	.header-tools .icon-btn--hide-sm { display: none; }
}

/* ==========================================================================
   Hero (slajder)
   ========================================================================== */
.hero { position: relative; isolation: isolate; background: var(--navy); color: #fff; overflow: hidden; }
html.hc .hero { border-bottom: 2px solid #fff; }
.hero__slides { display: grid; }
.hero__slide {
	grid-area: 1 / 1;
	position: relative; isolation: isolate;
	display: flex; align-items: center;
	min-height: clamp(24rem, 36vw, 32rem);
	opacity: 0; visibility: hidden;
	transition: opacity 0.7s ease, visibility 0s linear 0.7s;
}
.hero__slide.is-active { opacity: 1; visibility: visible; transition: opacity 0.7s ease, visibility 0s; }
.hero__bg {
	position: absolute; inset: 0; z-index: -2;
	background:
		radial-gradient(circle at 78% 30%, rgba(47, 141, 255, 0.55) 0, transparent 42%),
		radial-gradient(circle at 95% 90%, rgba(125, 184, 255, 0.25) 0, transparent 35%),
		linear-gradient(120deg, #031440 0%, #0a2f73 100%);
}
.hero__slide.has-img .hero__bg { background-image: var(--slide-img); background-size: cover; background-position: center right; }
.hero__slide::after {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(90deg, rgba(3, 18, 56, 0.96) 0%, rgba(3, 18, 56, 0.8) 36%, rgba(3, 18, 56, 0.1) 74%, rgba(3, 18, 56, 0) 100%);
}
.hero__slide:not(.has-img)::after { background: none; }
html.hc .hero__slide::after { background: rgba(0, 0, 0, 0.8); }
html.hc .hero__slide:not(.has-img)::after { background: none; }

.hero__inner { position: relative; padding-block: clamp(2.5rem, 5vw, 4rem); }
.hero--slider .hero__inner { padding-bottom: clamp(5rem, 8vw, 6.5rem); }
.hero__copy { max-width: 40rem; }
.hero__script {
	margin: 0 0 0.25rem;
	font: 600 clamp(1.15rem, 1.8vw, 1.5rem)/1.3 var(--font);
	color: var(--blue-2);
}
html.hc .hero__script { color: #ffe600; }
.hero__title { color: #fff; font-size: clamp(2rem, 4.2vw, 3.3rem); line-height: 1.12; margin: 0 0 0.55em; letter-spacing: -0.01em; }
.hero__title span { display: block; color: var(--sky); }
.hero__lead { font-size: clamp(1rem, 1.5vw, 1.15rem); line-height: 1.6; max-width: 28em; margin: 0 0 1.75rem; color: #eef3ff; }

.hero__badgewrap { position: absolute; top: 0; bottom: 0; left: 0; right: 0; margin-inline: auto; z-index: 2; pointer-events: none; }
.hero__badge {
	position: absolute; right: var(--gutter); bottom: clamp(1.5rem, 4vw, 3rem);
	margin: 0; text-align: right; max-width: 15rem;
	font: 600 clamp(1rem, 1.5vw, 1.25rem)/1.3 var(--font);
	color: #fff; text-shadow: 0 2px 14px rgba(0, 0, 0, 0.5);
}
.swoosh {
	display: none !important;
	--old: block; width: 9rem; height: 0.9rem; margin: 0.3rem 0 0 auto;
	background: no-repeat center / 100% 100% url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 16' preserveAspectRatio='none'%3E%3Cpath d='M2 12 C40 2 100 3 158 5' fill='none' stroke='%232f8dff' stroke-width='3.5' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* Sterowanie slajderem */
.hero__ctrl { position: absolute; left: 0; right: 0; bottom: 1.1rem; margin-inline: auto; z-index: 3; pointer-events: none; }
.hero__ctrl-in {
	display: inline-flex; align-items: center; gap: 0.25rem;
	padding: 0.3rem 0.45rem; border-radius: 999px; pointer-events: auto;
	background: rgba(3, 18, 56, 0.6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
html.hc .hero__ctrl-in { background: #000; border: 1px solid #fff; }
.hero__btn {
	display: grid; place-items: center; width: 2.25rem; height: 2.25rem; padding: 0;
	border: 0; border-radius: 50%; background: transparent; color: #fff; cursor: pointer;
	transition: background-color 0.15s;
}
.hero__btn:hover { background: rgba(255, 255, 255, 0.2); }
.hero__btn:focus-visible, .hero__dot:focus-visible { outline: 3px solid #fff; outline-offset: 1px; }
.hero__btn[hidden] { display: none; }
.hero__btn .i-play { display: none; }
.hero__btn .i-pause { display: grid; }
.hero__btn.is-paused .i-play { display: grid; }
.hero__btn.is-paused .i-pause { display: none; }
.hero__dots { display: flex; align-items: center; }
.hero__dot { position: relative; width: 1.5rem; height: 1.75rem; padding: 0; border: 0; background: transparent; cursor: pointer; border-radius: 4px; }
.hero__dot::before {
	content: ""; position: absolute; left: 50%; top: 50%; width: 0.6rem; height: 0.6rem;
	margin: -0.3rem 0 0 -0.3rem; border-radius: 50%; border: 2px solid #fff;
	transition: background-color 0.2s, transform 0.2s;
}
.hero__dot.is-active::before { background: var(--blue-2); border-color: var(--blue-2); transform: scale(1.3); }
html.hc .hero__dot.is-active::before { background: #ffe600; border-color: #ffe600; }

@media (max-width: 760px) {
	.hero__slide::after { background: linear-gradient(180deg, rgba(3, 18, 56, 0.55), rgba(3, 18, 56, 0.92)); }
	.hero__badgewrap { display: none; }
}

/* ==========================================================================
   Atuty
   ========================================================================== */
.features { background: var(--paper); padding: clamp(1.75rem, 3.5vw, 2.75rem) 0 clamp(1.75rem, 3vw, 2.5rem); border-bottom: 1px solid var(--line); }
html.hc .features { border-bottom-color: #fff; }
.features__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.feature { position: relative; padding: 0.25rem 1.25rem; text-align: center; }
.feature + .feature::before {
	content: ""; position: absolute; left: 0; top: 8%; bottom: 8%; width: 1px; background: var(--line);
}
.feature__icon { display: block; margin: 0 auto 0.85rem; color: var(--ink); }
.feature__title { font-size: 0.95rem; margin: 0 0 0.45rem; }
.feature__desc { margin: 0; font-size: 0.85rem; line-height: 1.55; color: var(--muted); }
@media (max-width: 1000px) {
	.features__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem 0; }
	.feature:nth-child(odd)::before { display: none; }
	.feature:nth-child(1)::before { display: none; }
	.feature:last-child { grid-column: 1 / -1; }
	.feature:last-child::before { display: none; }
}
@media (max-width: 520px) {
	.features__list { grid-template-columns: 1fr; }
	.feature::before { display: none; }
}

/* ==========================================================================
   Siatka główna: aktualności + rekrutacja
   ========================================================================== */
.home-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.2fr) minmax(0, 0.95fr);
	gap: 1rem;
	padding-block: 1.5rem 1.75rem;
}

.lead-news {
	position: relative; isolation: isolate;
	display: flex; flex-direction: column; justify-content: flex-end;
	min-height: 21.5rem;
	border-radius: var(--r); overflow: hidden;
	background: linear-gradient(140deg, var(--navy-2), var(--navy-3));
	color: #fff; text-decoration: none;
}
html.hc .lead-news { border: 2px solid #fff; }
.lead-news__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.lead-news:hover .lead-news__img { transform: scale(1.04); }
.lead-news::after {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(to top, rgba(3, 16, 50, 0.95) 6%, rgba(3, 16, 50, 0.45) 48%, rgba(3, 16, 50, 0.05) 100%);
}
.lead-news__body { padding: clamp(1.1rem, 2.4vw, 1.75rem); }
.pill {
	display: inline-block; margin-bottom: 0.7rem; padding: 0.2rem 0.85rem;
	background: var(--blue); color: #fff; border-radius: 999px;
	font-size: 0.75rem; font-weight: 600;
}
html.hc .pill { color: #000; }
.lead-news__title { color: #fff; font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin: 0 0 0.45rem; letter-spacing: -0.01em; }
.lead-news__excerpt { margin: 0 0 1rem; font-size: 0.9rem; line-height: 1.55; color: #e5ecfb; max-width: 34em; }
.meta-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-size: 0.8rem; font-weight: 500; }
.meta-row time { display: inline-flex; align-items: center; gap: 0.5rem; }
.more { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 600; }

.news-list {
	list-style: none; margin: 0; padding: 0.35rem 1rem;
	background: var(--paper); border-radius: var(--r); box-shadow: var(--shadow);
	display: flex; flex-direction: column;
}
html.hc .news-list { border: 2px solid #fff; }
.news-item { flex: 1; display: flex; }
.news-item + .news-item { border-top: 1px solid var(--line); }
.news-item__link {
	flex: 1; display: grid; grid-template-columns: 7.4rem minmax(0, 1fr); gap: 0.9rem;
	align-items: center; padding: 0.6rem 0; color: var(--text); text-decoration: none;
}
.news-item__img {
	display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 4px;
	background: linear-gradient(140deg, var(--navy-2), var(--blue));
}
.news-item__title { display: block; margin: 0 0 0.25rem; font: 600 0.92rem/1.3 var(--font); color: var(--ink); }
.news-item__link:hover .news-item__title { color: var(--blue); }
.news-item__excerpt { display: block; margin: 0 0 0.45rem; font-size: 0.78rem; line-height: 1.45; color: var(--muted); }
.news-item__meta { display: flex; justify-content: space-between; gap: 0.5rem; font-size: 0.72rem; color: var(--muted); }
.news-item__meta .more { color: var(--blue); }

.apply {
	position: relative; isolation: isolate;
	display: flex; flex-direction: column;
	min-height: 21.5rem; padding: clamp(1.25rem, 2.4vw, 1.75rem);
	border-radius: var(--r); overflow: hidden;
	background: linear-gradient(160deg, var(--navy-2), var(--navy));
	color: #fff;
}
html.hc .apply { border: 2px solid #fff; }
.apply.has-img::before {
	content: ""; position: absolute; inset: 0; z-index: -2;
	background: var(--apply-img) center / cover no-repeat;
}
.apply::after {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(180deg, rgba(4, 22, 63, 0.92) 25%, rgba(4, 22, 63, 0.35) 100%);
}
.apply__head { display: flex; align-items: center; gap: 0.85rem; margin-bottom: 1rem; }
.apply__head .ico { color: var(--sky); }
.apply__title { color: #fff; font-size: clamp(1.25rem, 2vw, 1.55rem); margin: 0; }
.apply__text { margin: 0 0 1.25rem; font-size: 0.9rem; color: #e5ecfb; max-width: 20em; }
.apply__links { margin: 0.25rem 0 0; }
.apply__links-title { margin: 0 0 0.35rem; color: #fff; font-size: 0.85rem; font-weight: 600; opacity: 0.85; }
.apply__links ul { list-style: none; margin: 0; padding: 0; }
.apply__links li + li { border-top: 1px solid rgba(255, 255, 255, 0.18); }
.apply__links a { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; padding: 0.6rem 0; color: #fff; font-size: 0.9rem; font-weight: 500; text-decoration: none; }
.apply__links a:hover { color: var(--sky); }
.apply__script { margin-top: auto; padding-top: 1.5rem; font: 600 1.25rem/1.3 var(--font); color: #fff; text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5); }
.apply__script .swoosh { margin-left: 0; width: 7rem; }

@media (max-width: 1100px) {
	.home-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.apply { grid-column: 1 / -1; min-height: 14rem; }
}
@media (max-width: 720px) {
	.home-grid { grid-template-columns: minmax(0, 1fr); }
	.news-item__link { grid-template-columns: 6.5rem minmax(0, 1fr); }
}

/* ==========================================================================
   Dodatkowe sekcje: oferta i wydarzenia
   ========================================================================== */
.section { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.section--bg { background: var(--bg); }
html.hc .section--bg { border-block: 1px solid #fff; }
.section__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.5rem 2rem; margin-bottom: 1.75rem; }
.section__title { font-size: clamp(1.6rem, 3vw, 2.25rem); margin: 0; letter-spacing: -0.01em; }
.section__more { font-weight: 600; font-size: 0.9rem; }

.tracks { display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: 1rem; }
.track {
	display: flex; flex-direction: column;
	background: var(--paper); border-radius: var(--r); overflow: hidden;
	box-shadow: var(--shadow); color: var(--text); text-decoration: none;
	transition: transform 0.2s ease;
}
html.hc .track { border: 2px solid #fff; }
.track:hover { transform: translateY(-4px); }
.track__top { position: relative; min-height: 8rem; padding: 1.1rem 1.35rem; background: var(--c, var(--blue)); color: #fff; overflow: hidden; display: flex; align-items: flex-end; }
html.hc .track__top { color: #000; }
.track__sym { position: absolute; right: 0.9rem; top: 0.2rem; font: 700 3.6rem/1 var(--font); opacity: 0.35; pointer-events: none; }
.track__name { position: relative; margin: 0; font-size: 1.2rem; color: inherit; max-width: 14ch; }
.track__body { padding: 1rem 1.35rem 1.3rem; flex: 1; }
.track__row { margin: 0 0 0.55rem; font-size: 0.875rem; }
.track__row b { display: block; font-size: 0.75rem; color: var(--muted); font-weight: 500; }
.track--blue { --c: var(--blue); }
.track--navy { --c: var(--navy-2); }
.track--teal { --c: var(--teal); }
.track--violet { --c: var(--violet); }
.track--sky { --c: #3a78c8; }

#wydarzenia .section__head { margin-bottom: 1.25rem; }
.events-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 27rem); gap: 2rem clamp(2rem, 5vw, 4rem); align-items: start; }
.events-grid--solo { grid-template-columns: minmax(0, 56rem); }
.events { list-style: none; margin: 0; padding: 0; max-width: 56rem; }
.per {
	display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: 1.25rem; align-items: center;
	padding: 1.25rem; background: var(--paper); border-radius: var(--r); box-shadow: var(--shadow);
}
html.hc .per { border: 2px solid #fff; }
.per__cover {
	position: relative; aspect-ratio: 210 / 297; border-radius: 4px; overflow: hidden;
	background: linear-gradient(160deg, var(--navy-2), var(--blue)); box-shadow: 0 10px 22px -10px rgba(4, 22, 63, 0.7);
	display: flex; flex-direction: column; justify-content: flex-start; padding: 0.6rem; color: #fff;
	transform: rotate(-2deg);
}
.per__cover.has-img { padding: 0; background: none; }
.per__cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.per__mast { font: 800 1.15rem/1 var(--font); letter-spacing: 0.04em; text-transform: uppercase; border-bottom: 2px solid var(--sky); padding-bottom: 0.4rem; }
.per__lines { display: block; margin-top: 0.7rem; height: 2.4rem; background: repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.55) 0 3px, transparent 3px 8px); border-radius: 2px; }
.per__scope { position: absolute; right: 0.6rem; bottom: 0.7rem; width: 2.2rem; height: 2.2rem; border-radius: 50%; border: 3px solid var(--sky); box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.12); }
.per__title { margin: 0 0 0.35rem; font: 800 1.6rem/1.1 var(--font); color: var(--ink); letter-spacing: -0.01em; }
.per__text { margin: 0 0 1rem; font-size: 0.88rem; line-height: 1.55; color: var(--muted); }
.per__btn { padding: 0.65rem 1.1rem; font-size: 0.88rem; white-space: nowrap; }
.per__link { display: block; margin-top: 0.75rem; font-size: 0.85rem; font-weight: 600; color: var(--blue); }
@media (max-width: 960px) {
	.events-grid, .events-grid--solo { grid-template-columns: minmax(0, 1fr); }
	.per { max-width: 36rem; }
}
@media (max-width: 480px) {
	.per { grid-template-columns: 6rem minmax(0, 1fr); gap: 0.9rem; padding: 1rem; }
	.per__mast { font-size: 0.8rem; }
	.per__lines, .per__scope { display: none; }
}
.event { display: grid; grid-template-columns: 5rem 1fr; gap: 1.25rem; align-items: center; padding: 1rem 0; border-top: 1px solid var(--line); }
.event:last-child { border-bottom: 1px solid var(--line); }
.event__date { line-height: 1; }
.event__day { display: block; font: 700 2.6rem/1 var(--font); color: var(--ink); letter-spacing: -0.04em; }
.event__month { display: block; margin-top: 0.25rem; font-weight: 600; font-size: 0.85rem; color: var(--blue); }
.event__title { font-size: 1.15rem; margin: 0; }
.event__title a { color: inherit; text-decoration: none; }
.event__title a:hover { color: var(--blue); }
.event__place { margin: 0.1rem 0 0; color: var(--muted); font-size: 0.875rem; }

/* ==========================================================================
   Pasek dolny (stopka)
   ========================================================================== */
.site-footer { background: var(--navy); color: #d6e2fb; }
html.hc .site-footer { border-top: 2px solid #fff; }
.bar { position: relative; isolation: isolate; overflow: hidden; background: linear-gradient(90deg, #031440 0%, #06265e 100%); }
html.hc .bar { background: #000; }
.bar.has-img::before {
	content: ""; position: absolute; inset: 0 auto 0 0; width: 42%; z-index: -1;
	background: var(--bar-img) left center / cover no-repeat;
	opacity: 0.45;
	-webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 100%);
	mask-image: linear-gradient(90deg, #000 0%, transparent 100%);
}
.bar__in {
	display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 2fr) minmax(0, 1.15fr);
	align-items: center; gap: 1.5rem; min-height: 8.5rem; padding-block: 1.5rem;
}
.bar__quote { margin: 0; padding-left: clamp(0rem, 6vw, 7rem); font: 600 clamp(1.1rem, 1.6vw, 1.35rem)/1.3 var(--font); color: #fff; }
.bar__quote .swoosh { margin-left: 0; width: 6.5rem; }
.bar__links { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; }
.bar__links li + li { border-left: 1px solid rgba(255, 255, 255, 0.22); }
.bar__link {
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.5rem;
	height: 100%; min-width: 7.5rem; padding: 0.75rem 1.4rem;
	color: #fff; text-align: center; text-decoration: none; font-size: 0.78rem; font-weight: 500; line-height: 1.25;
	transition: background-color 0.15s;
}
.bar__link:hover { background: rgba(255, 255, 255, 0.08); }
.bar__side { display: flex; flex-direction: column; align-items: flex-end; gap: 0.9rem; text-align: right; }
.bar__social { display: flex; gap: 0.6rem; }
.social {
	display: inline-grid; place-items: center; width: 2.1rem; height: 2.1rem;
	border-radius: 50%; background: var(--blue); color: #fff; text-decoration: none;
	transition: transform 0.15s;
}
.social:hover { transform: translateY(-2px); }
html.hc .social { color: #000; }
.bar__addr { margin: 0; font-style: normal; font-size: 0.78rem; line-height: 1.5; color: #e5ecfb; }
.bar__addr b { display: block; font-weight: 600; color: #fff; }
.bar__addr a { color: inherit; }

.subfooter { background: #021032; font-size: 0.8rem; }
html.hc .subfooter { background: #000; border-top: 1px solid #fff; }
.subfooter__in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.4rem 2rem; padding-block: 0.9rem; }
.subfooter ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; }
.subfooter a { color: #d6e2fb; }

@media (max-width: 1100px) {
	.bar__in { grid-template-columns: 1fr; text-align: center; justify-items: center; }
	.bar__quote { padding-left: 0; transform: none; }
	.bar__quote .swoosh { margin-inline: auto; }
	.bar__side { align-items: center; text-align: center; }
	.bar__links { flex-wrap: wrap; }
}
@media (max-width: 560px) {
	.bar__links li + li { border-left: 0; }
	.bar__link { min-width: 6.5rem; }
}

/* ==========================================================================
   Strony wewnętrzne
   ========================================================================== */
.page-hero { background: linear-gradient(120deg, #031440 0%, #0a2f73 100%); color: #fff; padding: clamp(2.25rem, 5vw, 3.75rem) 0; }
html.hc .page-hero { background: #000; border-bottom: 2px solid #fff; }
.page-hero__title { color: #fff; font-size: clamp(1.8rem, 4vw, 3rem); letter-spacing: -0.01em; margin: 0; max-width: 24ch; }
.page-hero__meta { margin: 0.75rem 0 0; color: #cfdcf7; font-weight: 500; }
.page-hero__meta a { color: inherit; }
.page-hero__desc { margin: 0.75rem 0 0; color: #dbe6fb; max-width: 60ch; }

.content-area { padding: clamp(2rem, 5vw, 4rem) 0; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 23rem; gap: clamp(2rem, 5vw, 4rem); }
.layout--full { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 960px) { .layout { grid-template-columns: 1fr; } }

.entry-content { max-width: 70ch; font-size: 1.0625rem; }
.layout--full .entry-content { margin-inline: auto; }
.entry-content > * + * { margin-top: 1.2em; margin-bottom: 0; }
.entry-content h2 { font-size: 1.8rem; margin-top: 1.8em; }
.entry-content h3 { font-size: 1.4rem; margin-top: 1.6em; }
.entry-content ul, .entry-content ol { padding-left: 1.4em; }
.entry-content li + li { margin-top: 0.35em; }
.entry-content blockquote { margin-inline: 0; padding: 0.25rem 0 0.25rem 1.5rem; border-left: 4px solid var(--blue); font: 500 1.2rem/1.5 var(--font); color: var(--ink); }
.entry-content figure { margin-inline: 0; }
.entry-content figcaption, .wp-caption-text { font-size: 0.875rem; color: var(--muted); margin-top: 0.4rem; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.entry-content th, .entry-content td { padding: 0.65rem 0.8rem; border: 1px solid var(--line); text-align: left; }
.entry-content th { background: var(--bg); }
.entry-content .alignwide { max-width: min(var(--wrap), 100vw - 2 * var(--gutter)); }
.alignleft { float: left; margin: 0.25rem 1.5rem 1rem 0; }
.alignright { float: right; margin: 0.25rem 0 1rem 1.5rem; }
.aligncenter { margin-inline: auto; }
.entry-thumb { border-radius: var(--r); overflow: hidden; margin-bottom: 2rem; }

.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(18.5rem, 1fr)); gap: 2rem 1.5rem; }
.post-card { display: flex; flex-direction: column; }
.post-card__img { display: block; aspect-ratio: 3 / 2; border-radius: var(--r); overflow: hidden; background: linear-gradient(140deg, var(--navy-2), var(--blue)); margin-bottom: 1rem; }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.post-card:hover .post-card__img img { transform: scale(1.05); }
.post-card__date { font-size: 0.8rem; color: var(--muted); font-weight: 500; }
.post-card__title { font-size: 1.2rem; margin: 0.15rem 0 0.5rem; }
.post-card__title a { color: var(--ink); text-decoration: none; }
.post-card__title a:hover { color: var(--blue); }
.post-card__excerpt { color: var(--muted); font-size: 0.9rem; margin: 0; }

.pagination { margin-top: 3rem; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.pagination .page-numbers { min-width: 2.75rem; padding: 0.55rem 0.9rem; text-align: center; text-decoration: none; font-weight: 600; border: 1px solid var(--line); border-radius: 999px; color: var(--text); }
.pagination .page-numbers.current, .pagination a.page-numbers:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
html.hc .pagination .page-numbers.current, html.hc .pagination a.page-numbers:hover { color: #000; }

/* Poprzedni / następny wpis: karty (patrz niżej, sekcja „Panel boczny i nawigacja wpisów”) */
.post-nav { margin-top: 3rem; }

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 1rem; margin: 0 0 2rem; }
.fact { padding: 1rem 1.25rem; background: var(--bg); border-radius: var(--r); }
html.hc .fact { border: 1px solid #fff; }
.fact dt { font-size: 0.8rem; font-weight: 500; color: var(--muted); }
.fact dd { margin: 0.1rem 0 0; font: 600 1.05rem/1.3 var(--font); }

.widget { margin-bottom: 2rem; padding: 1.5rem; background: var(--bg); border-radius: var(--r); }
html.hc .widget { border: 1px solid #fff; }
.widget-title { font-size: 1.1rem; margin-bottom: 0.75rem; }
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget li + li { margin-top: 0.4rem; }

.search-form { display: flex; gap: 0.5rem; }
.search-form__input { flex: 1; min-width: 0; padding: 0.8rem 1.2rem; border: 2px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--text); font: 500 1rem var(--font); }
.search-form__input:focus { border-color: var(--blue); outline: none; }

input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"], textarea, select {
	max-width: 100%; padding: 0.7rem 0.9rem; border: 2px solid var(--line); border-radius: var(--r);
	background: var(--paper); color: var(--text); font: inherit;
}
textarea { width: 100%; }
input:focus, textarea:focus, select:focus { border-color: var(--blue); outline: none; }
input[type="submit"], button[type="submit"] { padding: 0.8rem 1.6rem; border: 0; border-radius: 999px; background: var(--blue); color: #fff; font: 600 1rem var(--font); cursor: pointer; }
.comments-area { margin-top: 3.5rem; max-width: 70ch; }
.comment-list { list-style: none; padding: 0; }
.comment-list .children { list-style: none; padding-left: 1.5rem; }
.comment-body { padding: 1.25rem 0; border-top: 1px solid var(--line); }
.comment-meta { font-size: 0.875rem; color: var(--muted); }

.notice { padding: 1.25rem 1.5rem; background: var(--bg); border-radius: var(--r); border-left: 4px solid var(--blue); }
.notice p:last-child { margin-bottom: 0; }

.error-404 { text-align: center; padding: clamp(3rem, 10vw, 7rem) 0; }
.error-404__code { font: 700 clamp(6rem, 20vw, 12rem)/0.9 var(--font); color: var(--blue); margin: 0; }
.error-404 .search-form { max-width: 28rem; margin: 1.5rem auto 0; }

/* ==========================================================================
   Okno powiększenia zdjęć
   ========================================================================== */
.lb-zoom { cursor: zoom-in; }
html.lb-open, html.lb-open body { overflow: hidden; }
.lb {
	position: fixed; inset: 0; z-index: 2000;
	display: flex; align-items: center; justify-content: center;
	padding: 3.75rem 5rem 4.25rem;
	background: rgba(3, 12, 36, 0.97);
	animation: lbIn 0.2s ease both;
}
.lb[hidden] { display: none; }
html.hc .lb { background: #000; }
@keyframes lbIn { from { opacity: 0; } to { opacity: 1; } }
.lb__fig { margin: 0; max-width: 100%; display: flex; flex-direction: column; align-items: center; gap: 0.85rem; }
.lb__img {
	display: block; width: auto; height: auto; max-width: 100%;
	max-height: calc(100vh - 11rem); max-height: calc(100dvh - 11rem);
	border-radius: 4px; box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.8);
	opacity: 0; transition: opacity 0.2s;
}
.lb__img.is-ready { opacity: 1; }
.lb__img.is-error { display: none; }
.lb__cap { margin: 0; max-width: 60ch; color: #e5ecfb; font-size: 0.9rem; line-height: 1.5; text-align: center; }
.lb__cap:empty { display: none; }
.lb__count { position: absolute; top: 1.35rem; left: 1.5rem; margin: 0; color: #cfdcf7; font-size: 0.85rem; font-variant-numeric: tabular-nums; }
.lb__btn {
	position: absolute; display: grid; place-items: center;
	width: 3rem; height: 3rem; padding: 0; border: 0; border-radius: 50%;
	background: rgba(255, 255, 255, 0.14); color: #fff; cursor: pointer;
	transition: background-color 0.15s;
}
.lb__btn:hover { background: rgba(255, 255, 255, 0.28); }
.lb__btn:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.lb__btn[hidden] { display: none; }
html.hc .lb__btn { background: #000; border: 2px solid #fff; }
.lb__close { top: 1rem; right: 1.25rem; }
.lb__prev, .lb__next { top: 50%; transform: translateY(-50%); }
.lb__prev { left: 1rem; }
.lb__next { right: 1rem; }
@media (max-width: 640px) {
	.lb { padding: 3.75rem 0.75rem 5.75rem; }
	.lb__img { max-height: calc(100vh - 13rem); max-height: calc(100dvh - 13rem); }
	.lb__prev, .lb__next { top: auto; bottom: 1rem; transform: none; }
	.lb__prev { left: calc(50% - 3.6rem); }
	.lb__next { right: auto; left: calc(50% + 0.6rem); }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
}

@media print {
	.site-header, .site-footer, .hero, .features { display: none; }
}

/* Zegar lekcji (kafelek pod gazetką) */
.per-col { min-width: 0; }
.bell {
	display: flex; align-items: center; gap: 1.4rem; margin-top: 1.25rem; padding: 2.1rem 1.75rem; min-height: 11.5rem;
	border-radius: var(--r); color: #fff; box-shadow: var(--shadow);
	background: linear-gradient(135deg, #04163f 0%, #0c3a85 100%);
}
.per-col > .bell:first-child { margin-top: 0; }
html.hc .bell { background: #000; border: 2px solid #fff; color: #ffe600; }
.bell__icon { flex: none; display: grid; place-items: center; width: 4.6rem; height: 4.6rem; border-radius: 50%; background: rgba(255, 255, 255, 0.12); color: var(--sky); }
.bell__icon svg { width: 2.4rem; height: 2.4rem; }
.bell__body { flex: 1; display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.bell__label { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sky); }
html.hc .bell__label { color: #fff; }
.bell__title { font: 800 1.9rem/1.15 var(--font); margin: 0.3rem 0 0.2rem; }
.bell__sub { font-size: 1.15rem; color: #d6e6ff; }
.bell__track { display: block; height: 0.6rem; margin-top: 1rem; border-radius: 999px; background: rgba(255, 255, 255, 0.18); overflow: hidden; }
.bell__fill { display: block; height: 100%; width: 0; border-radius: 999px; background: #ffd23f; transition: width 0.6s ease; }
html.hc .bell__track { background: #333; }
html.hc .bell__fill { background: #ffe600; }
@media (max-width: 560px) { .bell { padding: 1.4rem 1.25rem; gap: 1rem; min-height: 0; } .bell__icon { width: 3.6rem; height: 3.6rem; } .bell__icon svg { width: 1.9rem; height: 1.9rem; } .bell__title { font-size: 1.5rem; } .bell__sub { font-size: 1rem; } }
html.hc .bell__sub { color: #fff; }

/* Godło RP i flaga UE (pasek na górze stopki) */
.symbols { background: #fff; border-bottom: 1px solid var(--line); }
html.hc .symbols { background: #000; border-bottom: 2px solid #fff; }
.symbols__in { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 0.9rem 2rem; padding-block: 1rem; }
.sym__godlo { height: 3.5rem; width: auto; max-width: 8rem; object-fit: contain; }
.sym__eu { height: 3.5rem; width: auto; display: block; border: 1px solid rgba(0, 0, 0, 0.1); }
.sym__text { margin: 0; max-width: 34rem; font-size: 0.85rem; line-height: 1.45; color: var(--muted); }
.sym__text a { color: inherit; text-decoration: underline; }
html.hc .sym__text { color: #fff; }
@media (max-width: 560px) { .symbols__in { justify-content: flex-start; } .sym__godlo, .sym__eu { height: 2.8rem; } }

/* Oferta dla kandydatów: 5 kafelków obok siebie */
.tracks--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; }
.tracks--5 .track__top { min-height: 6.5rem; padding: 1rem 1.1rem; }
.tracks--5 .track__name { font-size: 1.08rem; max-width: none; overflow-wrap: anywhere; hyphens: auto; }
.tracks--5 .track__sym { font-size: 3.6rem; }
.tracks--5 .track__body { padding: 0.9rem 1.1rem 1.15rem; }
.tracks--5 .track__row { font-size: 0.82rem; }
@media (max-width: 1180px) { .tracks--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px) { .tracks--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 460px) { .tracks--5 { grid-template-columns: minmax(0, 1fr); } }

/* Poza lekcjami */
.section__sub { margin: 0.4rem 0 0; flex-basis: 100%; max-width: 40rem; color: var(--muted); }
.acts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 900px) { .acts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .acts { grid-template-columns: minmax(0, 1fr); } }
.act { display: flex; }
.act__link {
	flex: 1; display: flex; flex-direction: column; align-items: flex-start; padding: 1.4rem 1.4rem 1.25rem;
	background: var(--paper); border-radius: var(--r); box-shadow: var(--shadow); color: var(--text); text-decoration: none;
	border-top: 4px solid var(--blue); transition: transform 0.2s;
}
a.act__link:hover { transform: translateY(-4px); }
html.hc .act__link { border: 2px solid #fff; }
.act__icon { display: grid; place-items: center; width: 3.2rem; height: 3.2rem; margin-bottom: 0.9rem; border-radius: 50%; background: #e7f0ff; color: var(--blue); }
.act__title { margin: 0 0 0.4rem; font-size: 1.15rem; line-height: 1.25; color: var(--ink); }
.act__text { margin: 0 0 1rem; font-size: 0.9rem; line-height: 1.55; color: var(--muted); flex: 1; }
.act__more { display: inline-flex; align-items: center; gap: 0.4rem; margin-top: auto; font-size: 0.88rem; font-weight: 600; color: var(--blue); }
.act__link:has(.act__img) { padding-top: 0; border-top: 0; overflow: hidden; }
.act__img { display: block; align-self: stretch; margin: 0 -1.4rem 1.1rem; aspect-ratio: 16 / 9; overflow: hidden; background: linear-gradient(140deg, var(--navy-2), var(--blue)); }
.act__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease; }
a.act__link:hover .act__img img { transform: scale(1.05); }

@media (min-width: 901px) { .act--fill1 { grid-column: span 3; } .act--fill2 { grid-column: span 2; } }

/* Poza lekcjami: slider */
.act--slider { grid-column: span 2; }
@media (max-width: 900px) { .act--slider { grid-column: 1 / -1; } }
.aslider { position: relative; flex: 1; display: grid; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); min-height: 20rem; color: #fff; isolation: isolate; background: #0c3a85; }
html.hc .aslider { border: 2px solid #fff; background: #000; }
.aslider__slide {
	grid-area: 1 / 1; display: flex; align-items: center; padding: 2rem 2rem 4.2rem;
	opacity: 0; visibility: hidden; transition: opacity 0.6s ease, visibility 0.6s;
	background: linear-gradient(120deg, #0c3a85 0%, #1479ff 100%);
}
.aslider__slide--2 { background: linear-gradient(120deg, #04163f 0%, #2f8dff 100%); }
.aslider__slide--3 { background: linear-gradient(120deg, #0a2f6e 0%, #0b9a9a 100%); }
.aslider__slide--4 { background: linear-gradient(120deg, #3a2a8a 0%, #2f8dff 100%); }
.aslider__slide--5 { background: linear-gradient(120deg, #04163f 0%, #3a78c8 100%); }
.aslider__slide.has-img { background: linear-gradient(90deg, rgba(4, 22, 63, 0.93) 0%, rgba(8, 43, 102, 0.8) 55%, rgba(20, 121, 255, 0.3) 100%), var(--slide-img) center / cover no-repeat; }
.aslider__slide.is-active { opacity: 1; visibility: visible; }
html.hc .aslider__slide, html.hc .aslider__slide.has-img { background: #000; }
.aslider__copy { max-width: 30rem; }
.aslider__title { margin: 0 0 0.6rem; color: #fff; font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.15; }
.aslider__text { margin: 0 0 1.3rem; font-size: 1rem; line-height: 1.6; color: #e8f0ff; }
html.hc .aslider__text { color: #fff; }
.aslider__btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.7rem 1.3rem; border-radius: 999px; background: #fff; color: var(--navy); font-weight: 600; font-size: 0.92rem; text-decoration: none; }
.aslider__btn:hover { background: var(--sky); }
html.hc .aslider__btn { background: #ffe600; color: #000; }
.aslider__ctrl { position: absolute; left: 1.25rem; bottom: 1rem; z-index: 2; display: inline-flex; align-items: center; gap: 0.15rem; padding: 0.2rem 0.35rem; border-radius: 999px; background: rgba(3, 18, 56, 0.6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
html.hc .aslider__ctrl { background: #000; border: 1px solid #fff; }
.aslider__arrow { display: grid; place-items: center; width: 2rem; height: 2rem; padding: 0; border: 0; border-radius: 50%; background: transparent; color: #fff; cursor: pointer; }
.aslider__arrow:hover { background: rgba(255, 255, 255, 0.2); }
.aslider__arrow:focus-visible, .aslider__dot:focus-visible { outline: 3px solid #fff; outline-offset: 1px; }
.aslider__arrow[hidden] { display: none; }
.aslider__pause .i-play { display: none; }
.aslider__pause .i-pause { display: grid; }
.aslider__pause.is-paused .i-play { display: grid; }
.aslider__pause.is-paused .i-pause { display: none; }
.aslider__dots { display: flex; align-items: center; }
.aslider__dot { position: relative; width: 1.4rem; height: 1.6rem; padding: 0; border: 0; background: transparent; cursor: pointer; border-radius: 4px; }
.aslider__dot::before { content: ""; position: absolute; left: 50%; top: 50%; width: 0.55rem; height: 0.55rem; margin: -0.275rem 0 0 -0.275rem; border-radius: 50%; border: 2px solid #fff; transition: background-color 0.2s, transform 0.2s; }
.aslider__dot.is-active::before { background: var(--sky); border-color: var(--sky); transform: scale(1.3); }
html.hc .aslider__dot.is-active::before { background: #ffe600; border-color: #ffe600; }
@media (max-width: 560px) { .aslider__slide { padding: 1.5rem 1.25rem 4rem; } .aslider { min-height: 22rem; } }

/* Informacja o cookies */
.cookiebar {
	position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 200; max-width: 52rem; margin-inline: auto;
	display: flex; align-items: center; gap: 1rem 1.5rem; padding: 1rem 1.25rem;
	background: #04163f; color: #e8f0ff; border-radius: var(--r); box-shadow: 0 18px 50px -12px rgba(0, 0, 0, 0.6);
	border: 1px solid rgba(255, 255, 255, 0.18); font-size: 0.88rem; line-height: 1.5;
}
.cookiebar[hidden] { display: none; }
.cookiebar__text { margin: 0; flex: 1; }
.cookiebar__text a { color: #fff; text-decoration: underline; }
.cookiebar__btn { flex: none; padding: 0.65rem 1.3rem; border: 0; border-radius: 999px; background: var(--blue); color: #fff; font: 600 0.9rem var(--font); cursor: pointer; }
.cookiebar__btn:hover { background: var(--blue-2); }
.cookiebar__btn:focus-visible, .cookiebar__text a:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
html.hc .cookiebar { background: #000; border: 2px solid #fff; color: #fff; }
html.hc .cookiebar__btn { background: #ffe600; color: #000; }
@media (max-width: 560px) { .cookiebar { flex-direction: column; align-items: stretch; left: 0.5rem; right: 0.5rem; bottom: 0.5rem; } .cookiebar__btn { width: 100%; } }

/* Ważny komunikat (żółty pasek) */
.alertbar { background: #ffd23f; color: #1d1600; border-bottom: 2px solid #e0b000; }
.alertbar[hidden] { display: none; }
.alertbar__in { display: flex; align-items: center; gap: 0.85rem; padding-block: 0.7rem; }
.alertbar__icon { flex: none; display: grid; place-items: center; color: #1d1600; }
.alertbar__icon svg { stroke-width: 2; }
.alertbar__text { flex: 1; margin: 0; font-size: 0.95rem; font-weight: 600; line-height: 1.4; }
.alertbar__text a { color: inherit; margin-left: 0.4rem; text-decoration: underline; white-space: nowrap; }
.alertbar__close { flex: none; display: grid; place-items: center; width: 2.2rem; height: 2.2rem; padding: 0; border: 0; border-radius: 50%; background: transparent; color: #1d1600; cursor: pointer; }
.alertbar__close:hover { background: rgba(0, 0, 0, 0.12); }
.alertbar__close:focus-visible, .alertbar__text a:focus-visible { outline: 3px solid #1d1600; outline-offset: 2px; }
html.hc .alertbar { background: #000; color: #ffe600; border-bottom: 2px solid #ffe600; }
html.hc .alertbar__icon, html.hc .alertbar__close { color: #ffe600; }
@media (max-width: 560px) { .alertbar__text { font-size: 0.88rem; } }
@media (max-width: 380px) { .per { grid-template-columns: 5rem minmax(0, 1fr); gap: 0.75rem; } .per__btn { white-space: normal; padding: 0.6rem 0.9rem; } }

/* Przycisk "wróć na górę" */
.totop {
	position: fixed; right: 1rem; bottom: calc(1rem + var(--totop-lift, 0px)); z-index: 150;
	display: grid; place-items: center; width: 2.9rem; height: 2.9rem; padding: 0;
	border: 2px solid rgba(255, 255, 255, 0.85); border-radius: 50%; cursor: pointer;
	background: var(--blue); color: #fff; box-shadow: 0 10px 24px -8px rgba(4, 22, 63, 0.7);
	opacity: 0; transform: translateY(0.75rem); transition: opacity 0.2s, transform 0.2s, bottom 0.2s;
}
.totop[hidden] { display: none; }
.totop.is-on { opacity: 0.92; transform: none; }
.totop:hover { opacity: 1; background: var(--blue-2); }
.totop:focus-visible { outline: 3px solid #fff; outline-offset: 2px; box-shadow: 0 0 0 5px var(--navy); opacity: 1; }
html.hc .totop { background: #000; color: #ffe600; border-color: #ffe600; }
html.lb-open .totop { display: none; }
@media (prefers-reduced-motion: reduce) { .totop { transition: none; } }
@media (max-width: 560px) { .totop { right: 0.75rem; bottom: calc(0.75rem + var(--totop-lift, 0px)); width: 2.7rem; height: 2.7rem; } }
@media print { .totop { display: none !important; } }

/* ---------- Liczby szkoły ---------- */
.numbers { background: linear-gradient(120deg, #031440 0%, #0a2f73 100%); color: #fff; padding: clamp(2rem, 4vw, 3rem) 0; }
html.hc .numbers { background: #000; border-block: 2px solid #fff; }
.numbers__title { color: #fff; text-align: center; font-size: clamp(1.3rem, 2.5vw, 1.75rem); margin: 0 0 1.5rem; }
.numbers__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.5rem 1rem; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); }
.num { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 0.2rem; }
.num__icon { color: #7db8ff; display: inline-flex; margin-bottom: 0.2rem; }
html.hc .num__icon { color: #ffe600; }
.num__v { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 800; line-height: 1.05; color: #ffd23f; font-variant-numeric: tabular-nums; }
html.hc .num__v { color: #ffe600; }
.num__l { color: #dbe6fb; font-weight: 500; max-width: 16ch; }
html.hc .num__l { color: #fff; }

/* ---------- Kalendarz ---------- */
.cal { max-width: 52rem; padding-block: 1.5rem 3rem; }
.cal__legend { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0 0 1rem; padding: 0; }
.cal__month { margin: 2rem 0 0.5rem; font-size: 1.25rem; color: #082b66; border-bottom: 2px solid #dbe6fb; padding-bottom: 0.35rem; }
html.hc .cal__month { color: #fff; border-color: #fff; }
.cal__list { list-style: none; margin: 0; padding: 0; }
.cal__row { display: grid; grid-template-columns: 11rem 1fr auto; gap: 0.5rem 1rem; align-items: center; padding: 0.75rem 0.25rem; border-bottom: 1px solid #e3eaf7; }
html.hc .cal__row { border-color: #555; }
.cal__row--past { opacity: 0.55; }
.cal__row--now { background: #fff8d6; border-left: 4px solid #ffd23f; padding-left: 0.75rem; }
html.hc .cal__row--now { background: #000; border-left-color: #ffe600; }
.cal__date { font-weight: 700; color: #082b66; }
html.hc .cal__date { color: #ffe600; }
.cal__now { font-style: normal; font-weight: 700; font-size: 0.8rem; background: #082b66; color: #fff; border-radius: 99px; padding: 0.1rem 0.55rem; margin-left: 0.4rem; white-space: nowrap; }
.cal__chip { display: inline-block; font-size: 0.78rem; font-weight: 700; border-radius: 99px; padding: 0.2rem 0.7rem; white-space: nowrap; background: #e8eefb; color: #082b66; border: 1px solid transparent; }
.cal__chip--wolne { background: #ffd23f; color: #1d1600; }
.cal__chip--ferie { background: #cfe8ff; color: #04336e; }
.cal__chip--rada { background: #dbe9ff; color: #04163f; }
.cal__chip--egzamin { background: #ffd9d9; color: #6e0b0b; }
html.hc .cal__chip { background: #000; color: #fff; border-color: #fff; }
@media (max-width: 600px) {
	.cal__row { grid-template-columns: 1fr; gap: 0.2rem; }
	.cal__chip { justify-self: start; }
}

/* ---------- Szybkie linki (404 / brak wyników) ---------- */
.qlinks { margin: 2.25rem auto 0; max-width: 40rem; text-align: center; }
.qlinks__title { font-size: 1.25rem; margin: 0 0 1rem; color: #082b66; }
html.hc .qlinks__title { color: #fff; }
.qlinks__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem; }
.qlinks__a { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.65rem 1.1rem; border-radius: 99px; background: #e8eefb; color: #082b66; font-weight: 600; text-decoration: none; border: 2px solid transparent; }
.qlinks__a:hover, .qlinks__a:focus-visible { background: #082b66; color: #fff; }
html.hc .qlinks__a { background: #000; color: #fff; border-color: #fff; }
html.hc .qlinks__a:hover, html.hc .qlinks__a:focus-visible { background: #ffe600; color: #000; border-color: #ffe600; }

/* ---------- Dodaj do kalendarza / deklaracja ---------- */
.ics-wrap { margin: 1rem 0; }
.btn--ics { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.65rem 1.1rem; border-radius: 99px; background: #e8eefb; color: #082b66; font-weight: 600; text-decoration: none; border: 2px solid #082b66; }
.btn--ics:hover, .btn--ics:focus-visible { background: #082b66; color: #fff; }
html.hc .btn--ics { background: #000; color: #fff; border-color: #fff; }
html.hc .btn--ics:hover, html.hc .btn--ics:focus-visible { background: #ffe600; color: #000; border-color: #ffe600; }
.dd { max-width: 52rem; padding-block: 1.5rem 3rem; }
.dd h2 { font-size: 1.3rem; margin: 2rem 0 0.5rem; color: #082b66; }
html.hc .dd h2 { color: #fff; }
.dd__dates { list-style: none; padding: 0; margin: 0.5rem 0; }
.dd__todo { background: #fff8d6; border-left: 4px solid #ffd23f; padding: 0.6rem 0.9rem; color: #1d1600; }

/* ---------- Znani absolwenci ---------- */
.abs__lead { margin: -0.5rem 0 1.5rem; max-width: 60ch; color: #3a4a6b; }
html.hc .abs__lead { color: #fff; }
.alums { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem 1.25rem; }
.alum { flex: 0 0 calc((100% - 3 * 1.25rem) / 4); min-width: 0; }
.alum__a { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; border-radius: var(--r); background: #fff; box-shadow: 0 2px 12px rgba(4, 22, 63, 0.1); overflow: hidden; transition: transform 0.2s, box-shadow 0.2s; }
html.hc .alum__a { background: #000; border: 2px solid #fff; box-shadow: none; }
.alum__a:hover, .alum__a:focus-visible { transform: translateY(-4px); box-shadow: 0 10px 28px rgba(4, 22, 63, 0.18); }
.alum__photo { display: block; aspect-ratio: 4 / 5; background: linear-gradient(140deg, #082b66, #1479ff); position: relative; overflow: hidden; }
.alum__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.alum__ini { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: clamp(2.2rem, 6vw, 3.6rem); font-weight: 800; letter-spacing: 0.04em; }
.alum__name { display: block; padding: 0.9rem 1rem 0; font-weight: 700; font-size: 1.05rem; color: #082b66; line-height: 1.25; }
html.hc .alum__name { color: #ffe600; }
.alum__role { display: block; padding: 0.25rem 1rem 0; color: #3a4a6b; font-size: 0.92rem; line-height: 1.35; }
html.hc .alum__role { color: #fff; }
.alum__year { display: block; padding: 0.2rem 1rem 0; color: #5b6a8a; font-size: 0.82rem; }
html.hc .alum__year { color: #ddd; }
.alum__more { display: inline-flex; align-items: center; gap: 0.35rem; margin-top: auto; padding: 0.75rem 1rem 1rem; color: #1479ff; font-weight: 600; font-size: 0.9rem; }
html.hc .alum__more { color: #ffe600; }
@media (max-width: 980px) { .alum { flex-basis: calc((100% - 2 * 1.25rem) / 3); } }
@media (max-width: 640px) { .alums { gap: 1rem 0.75rem; } .alum { flex-basis: calc((100% - 0.75rem) / 2); } .alum__name { font-size: 0.98rem; padding-inline: 0.8rem; } .alum__role, .alum__year, .alum__more { padding-inline: 0.8rem; } }
@media (prefers-reduced-motion: reduce) { .alum__a { transition: none; } .alum__a:hover, .alum__a:focus-visible { transform: none; } }
.alum-single { display: grid; grid-template-columns: minmax(0, 16rem) 1fr; gap: 1.5rem 2rem; align-items: start; margin-bottom: 1.5rem; }
.alum-single__photo img { width: 100%; height: auto; border-radius: var(--r); display: block; }
.alum-single__role { font-size: 1.3rem; font-weight: 700; color: #082b66; margin: 0 0 0.25rem; }
html.hc .alum-single__role { color: #ffe600; }
.alum-single__year { margin: 0 0 0.75rem; color: #5b6a8a; font-weight: 500; }
html.hc .alum-single__year { color: #ddd; }
.alum-single__lead { font-size: 1.1rem; margin: 0; }
@media (max-width: 640px) { .alum-single { grid-template-columns: 1fr; } .alum-single__photo { max-width: 14rem; } }

/* ---------- Wsparcie dla młodzieży ---------- */
.supbar { background: #eaf3ff; border-block: 1px solid #cfe0fa; }
html.hc .supbar { background: #000; border-color: #fff; }
.supbar__in { display: flex; align-items: center; gap: 1.25rem; padding-block: 1.4rem; flex-wrap: wrap; }
.supbar__icon { flex: none; width: 3.25rem; height: 3.25rem; border-radius: 50%; background: #fff; color: #1479ff; display: grid; place-items: center; box-shadow: 0 2px 8px rgba(20, 121, 255, 0.2); }
html.hc .supbar__icon { background: #000; color: #ffe600; border: 2px solid #ffe600; box-shadow: none; }
.supbar__text { flex: 1 1 18rem; min-width: 0; }
.supbar__title { font-size: 1.2rem; margin: 0 0 0.15rem; color: #10224a; }
html.hc .supbar__title { color: #fff; }
.supbar__text p { margin: 0; color: #3a4a6b; }
html.hc .supbar__text p { color: #fff; }
.supbar__btns { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; }
.supbtn { display: inline-flex; align-items: center; gap: 0.5rem; border-radius: 99px; padding: 0.7rem 1.2rem; font-weight: 700; text-decoration: none; border: 2px solid transparent; line-height: 1.2; }
.supbtn--solid { background: #082b66; color: #fff; }
.supbtn--line { background: #fff; color: #082b66; border-color: #082b66; }
.supbtn--yellow { background: #ffd23f; color: #1d1600; }
.supbtn--alert { background: #082b66; color: #fff; font-size: 1.05rem; padding: 0.85rem 1.4rem; }
.supbtn:hover, .supbtn:focus-visible { filter: brightness(1.12); }
html.hc .supbtn--solid, html.hc .supbtn--alert { background: #000; color: #ffe600; border-color: #ffe600; }
html.hc .supbtn--line { background: #000; color: #fff; border-color: #fff; }
html.hc .supbtn--yellow { background: #ffe600; color: #000; }
.supbar__more { font-weight: 600; color: #082b66; margin-left: 0.4rem; }
html.hc .supbar__more { color: #ffe600; }
.sup { padding-block: 1.5rem 3rem; }
.sup__title { font-size: clamp(1.7rem, 3.5vw, 2.4rem); margin: 0 0 0.4rem; }
.sup__lead { max-width: 62ch; margin: 0 0 1.5rem; color: #3a4a6b; font-size: 1.08rem; }
html.hc .sup__lead { color: #fff; }
.sup__phones { display: grid; grid-template-columns: 1.15fr 1fr; gap: 1.1rem; align-items: stretch; }
.supcard { background: #fff; border-radius: var(--r); padding: 1.4rem; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 0.25rem; min-width: 0; }
html.hc .supcard { background: #000; border: 2px solid #fff; box-shadow: none; }
.supcard p { margin: 0.25rem 0 0; line-height: 1.5; }
.supcard__tag { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #5b6a8a; }
html.hc .supcard__tag { color: #ddd; }
.supcard__num { font-size: clamp(1.8rem, 3.4vw, 2.5rem); font-weight: 800; color: #082b66; text-decoration: none; line-height: 1.1; margin: 0.3rem 0 0.1rem; white-space: nowrap; }
html.hc .supcard__num { color: #ffe600; }
.supcard__row { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: auto; padding-top: 0.9rem; }
.supcard--main { background: linear-gradient(135deg, #04163f, #0c3a85); color: #fff; }
.supcard--main .supcard__tag { color: #b8cdf5; }
.supcard--main .supcard__num { color: #ffd23f; font-size: clamp(2.2rem, 4.5vw, 3.2rem); }
.supcard--main .supbtn--line { background: transparent; color: #fff; border-color: #fff; }
html.hc .supcard--main { background: #000; }
.supcard--112 { border: 3px solid #082b66; }
.supcard--112 .supcard__num--112 { font-size: clamp(4rem, 9vw, 6rem); line-height: 1; letter-spacing: 0.02em; margin: 0.15rem 0; }
html.hc .supcard--112 { border-color: #ffe600; }
.sup__school { font-size: 1.35rem; margin: 2rem 0 0.8rem; }
.sup__people { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1.1rem; }
.supcard--tutor { border: 2px dashed #1479ff; background: #f2f8ff; box-shadow: none; }
html.hc .supcard--tutor { background: #000; border-color: #ffe600; }
.supcard__name { font-size: 1.3rem; color: #082b66; margin-top: 0.15rem; }
html.hc .supcard__name { color: #ffe600; }
@media (max-width: 700px) { .sup__phones { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .supbar__btns .supbtn { flex: 1 1 100%; justify-content: center; } }

.supkicker { display: block; margin: 0 0 0.3rem; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #1479ff; }
html.hc .supkicker { color: #ffe600; }

.sup112 { display: flex; align-items: center; gap: 1.75rem; margin-top: 1.5rem; padding: 1.4rem 1.75rem; background: #fff; border: 3px solid #082b66; border-radius: var(--r); }
html.hc .sup112 { background: #000; border-color: #ffe600; }
.sup112__num { font-size: clamp(3.5rem, 9vw, 5.5rem); font-weight: 800; line-height: 1; color: #082b66; text-decoration: none; letter-spacing: 0.02em; }
html.hc .sup112__num { color: #ffe600; }
.sup112__text { flex: 1 1 14rem; min-width: 0; }
.sup112__text p { margin: 0.2rem 0 0; font-size: 1.05rem; }
.sup112 .supbtn { margin-left: auto; }
@media (max-width: 700px) {
	.sup112 { flex-direction: column; align-items: stretch; gap: 0.75rem; }
	.sup112__text { flex: 0 0 auto; }
	.sup112 .supbtn { margin-left: 0; justify-content: center; }
}
@media print { .supbar { display: none; } }

/* Zgłoś problem */
.rep { padding: 2rem 0; }
.rep__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 1.5rem; align-items: start; margin-top: 1.2rem; }
.rep__main, .rep__box { background: #fff; border: 2px solid #d6dff0; border-radius: var(--r); padding: 1.4rem; }
.rep__form fieldset { border: 0; padding: 0; margin: 0 0 1.1rem; min-width: 0; }
.rep__form legend, .rep__field label { font-weight: 700; color: #082b66; margin-bottom: 0.4rem; padding: 0; display: block; }
.rep__opt { font-weight: 400; color: #4a5568; font-size: 0.9em; }
.rep__req { font-weight: 400; color: #4a5568; font-size: 0.9em; }
.rep__chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.rep__chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rep__chip span { display: inline-block; padding: 0.5rem 0.95rem; border: 2px solid #b8c6e0; border-radius: 999px; cursor: pointer; background: #f4f7fd; font-weight: 600; color: #082b66; }
.rep__chip input:checked + span { background: #082b66; color: #fff; border-color: #082b66; }
.rep__chip input:focus-visible + span { outline: 3px solid #f2b705; outline-offset: 2px; }
.rep__field { margin-bottom: 1rem; }
.rep__field textarea, .rep__field input { width: 100%; box-sizing: border-box; padding: 0.7rem 0.85rem; border: 2px solid #b8c6e0; border-radius: var(--r); font: inherit; background: #fff; color: #111; }
.rep__field textarea { resize: vertical; min-height: 9rem; }
.rep__field textarea:focus, .rep__field input:focus { outline: 3px solid #f2b705; outline-offset: 1px; border-color: #082b66; }
.rep__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.rep__small { font-size: 0.88rem; color: #3b4659; margin: 0; }
.rep__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.rep__submit { cursor: pointer; border: 2px solid #082b66; font: inherit; font-weight: 700; }
.rep__errors { background: #fff3f0; border: 2px solid #b3261e; border-radius: var(--r); padding: 0.8rem 1rem; margin-bottom: 1.2rem; color: #7a1610; }
.rep__errors ul { margin: 0.4rem 0 0 1.1rem; padding: 0; }
.rep__thanks { background: #eaf7ee; border: 2px solid #1e7a3a; border-radius: var(--r); padding: 1.1rem 1.2rem; color: #14532d; }
.rep__thanks p { margin: 0.4rem 0 0; }
.rep__side { display: grid; gap: 1rem; }
.rep__box h3 { margin: 0 0 0.4rem; color: #082b66; }
.rep__box p { margin: 0; }
.rep__alarm { display: flex; align-items: center; gap: 0.9rem; padding: 1rem 1.2rem; border-radius: var(--r); background: #b3261e; color: #fff; text-decoration: none; }
.rep__alarm b { font-size: 2.6rem; line-height: 1; }
.rep__alarm--sm { background: #082b66; }
.rep__alarm--sm b { font-size: 1.3rem; white-space: nowrap; }
.rep__alarm span { font-size: 0.95rem; }
.sup__report { display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem; margin: 1.2rem 0; }
.sup__report span { color: #3b4659; }
html.hc .rep__main, html.hc .rep__box { background: #000; border-color: #ffe600; color: #fff; }
html.hc .rep__form legend, html.hc .rep__field label, html.hc .rep__box h3 { color: #ffe600; }
html.hc .rep__opt, html.hc .rep__req, html.hc .rep__small, html.hc .sup__report span { color: #fff; }
html.hc .rep__field textarea, html.hc .rep__field input { background: #000; color: #fff; border-color: #ffe600; }
html.hc .rep__chip span { background: #000; color: #ffe600; border-color: #ffe600; }
html.hc .rep__chip input:checked + span { background: #ffe600; color: #000; }
html.hc .rep__alarm, html.hc .rep__alarm--sm { background: #000; color: #ffe600; border: 2px solid #ffe600; }
html.hc .rep__errors, html.hc .rep__thanks { background: #000; color: #fff; border-color: #ffe600; }
@media (max-width: 800px) { .rep__grid, .rep__row { grid-template-columns: 1fr; } }
@media print { .rep__alarm { border: 1px solid #000; } }
html.hc .rep__submit { border-color: #ffe600; }

/* Menu: wyróżnione pozycje */
.primary-nav > ul > li.lo-nav-report > a, .primary-nav > .menu > li.lo-nav-report > a { background: #ffd23f; color: #1a1a1a; border-radius: 999px; padding: 0.55rem 1rem; box-shadow: none; font-weight: 700; margin: 0 0.15rem; }
.primary-nav > ul > li.lo-nav-support > a, .primary-nav > .menu > li.lo-nav-support > a { background: #3fb77a; color: #052e1a; border-radius: 999px; padding: 0.55rem 1rem; box-shadow: none; font-weight: 700; margin: 0 0.15rem; }
.primary-nav > ul > li.lo-nav-report > a:hover { background: #ffe074; color: #000; }
.primary-nav > ul > li.lo-nav-support > a:hover { background: #63cf97; color: #052e1a; }
.primary-nav .sub-menu .lo-nav-report > a, .primary-nav .children .lo-nav-report > a { background: #fff3c4; color: #1a1a1a; font-weight: 700; }
.primary-nav .sub-menu .lo-nav-support > a, .primary-nav .children .lo-nav-support > a { background: #dff5e9; color: #052e1a; font-weight: 700; }
.primary-nav .lo-nav-report.current-menu-item > a, .primary-nav .lo-nav-support.current-menu-item > a,
.primary-nav .lo-nav-report.current_page_item > a, .primary-nav .lo-nav-support.current_page_item > a { outline: 3px solid #fff; outline-offset: 1px; }
html.hc .primary-nav li.lo-nav-report > a, html.hc .primary-nav li.lo-nav-support > a { background: #000; color: #ffe600; border: 2px solid #ffe600; }

/* Menu: wyróżnione pozycje w rozwijanym podmenu (mocniejsze kolory) */
.primary-nav .sub-menu li.lo-nav-report > a, .primary-nav .children li.lo-nav-report > a { background: #ffd23f; color: #1a1a1a; font-weight: 700; margin-bottom: 0.25rem; }
.primary-nav .sub-menu li.lo-nav-support > a, .primary-nav .children li.lo-nav-support > a { background: #3fb77a; color: #052e1a; font-weight: 700; margin-bottom: 0.25rem; }
.primary-nav .sub-menu li.lo-nav-report > a:hover, .primary-nav .children li.lo-nav-report > a:hover { background: #ffe074; color: #000; }
.primary-nav .sub-menu li.lo-nav-support > a:hover, .primary-nav .children li.lo-nav-support > a:hover { background: #63cf97; color: #052e1a; }
html.hc .primary-nav .sub-menu li.lo-nav-report > a, html.hc .primary-nav .sub-menu li.lo-nav-support > a { background: #000; color: #ffe600; border: 2px solid #ffe600; }

/* Menu: „Wsparcie” – biały napis na ciemniejszej zieleni (kontrast) */
.primary-nav li.lo-nav-support > a, .primary-nav .sub-menu li.lo-nav-support > a, .primary-nav .children li.lo-nav-support > a { background: #197a4a; color: #fff; }
.primary-nav li.lo-nav-support > a:hover, .primary-nav .sub-menu li.lo-nav-support > a:hover, .primary-nav .children li.lo-nav-support > a:hover { background: #1f9159; color: #fff; }
html.hc .primary-nav li.lo-nav-support > a { background: #000; color: #ffe600; }

/* Aplikacja na telefon */
.pwa-install { margin-top: 1rem; }
.pwa-install[hidden], .pwa-install [hidden] { display: none !important; }
.pwa-install__btn { cursor: pointer; border: 2px solid #fff; background: #1a73ff; color: #fff; font: inherit; font-weight: 700; padding: 0.7rem 1.3rem; border-radius: 999px; }
.pwa-install__btn:hover { background: #3d8bff; }
.pwa-install__btn:focus-visible { outline: 3px solid #ffd23f; outline-offset: 2px; }
.pwa-install__ios { font-size: 0.9rem; margin: 0.4rem 0 0; opacity: 0.9; }
html.hc .pwa-install__btn { background: #000; color: #ffe600; border-color: #ffe600; }
@media print { .pwa-install { display: none; } }


/* Dokumenty do pobrania */
.docs [hidden] { display: none !important; }
.docs__lead { font-size: 1.1rem; max-width: 46rem; margin: 0 0 1.4rem; }
.docs__tools { display: grid; gap: 0.9rem; margin: 0 0 1.5rem; position: sticky; top: 5.4rem; z-index: 5; background: rgba(255, 255, 255, 0.96); padding: 0.7rem 0; }
.docs__search input { width: 100%; box-sizing: border-box; padding: 0.8rem 1rem; border: 2px solid #b8c6e0; border-radius: var(--r); font: inherit; background: #fff; color: #111; }
.docs__search input:focus { outline: 3px solid #f2b705; outline-offset: 1px; border-color: #082b66; }
.docs__chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.docs__chip { cursor: pointer; font: inherit; font-weight: 600; padding: 0.5rem 1rem; border: 2px solid #b8c6e0; background: #f4f7fd; color: #082b66; border-radius: 999px; }
.docs__chip b { display: inline-grid; place-items: center; min-width: 1.5rem; height: 1.5rem; border-radius: 6px; background: #082b66; color: #fff; margin-right: 0.3rem; }
.docs__chip.is-on { background: #082b66; color: #fff; border-color: #082b66; }
.docs__chip.is-on b { background: #fff; color: #082b66; }
.docs__chip:focus-visible, .docs__get:focus-visible { outline: 3px solid #f2b705; outline-offset: 2px; }
.docs__group { margin: 0 0 2rem; scroll-margin-top: 9rem; }
.docs__title { display: flex; align-items: center; gap: 0.7rem; font-size: 1.5rem; margin: 0 0 0.8rem; }
.docs__letter { display: inline-grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: var(--r); color: #fff; font-weight: 800; background: var(--dg, #082b66); }
.docs__group--a { --dg: #475569; } .docs__group--k { --dg: #2a4a9c; } .docs__group--u { --dg: #1559c7; } .docs__group--r { --dg: #0e7490; }
.docs__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.docs__item { display: grid; grid-template-columns: auto 1fr auto; gap: 1rem; align-items: center; background: #fff; border: 2px solid #d6dff0; border-radius: var(--r); padding: 0.8rem 1rem; scroll-margin-top: 9rem; }
.docs__item:target { border-color: #f2b705; box-shadow: 0 0 0 3px rgba(242, 183, 5, 0.35); }
.docs__code { min-width: 3.4rem; text-align: center; padding: 0.35rem 0.6rem; border-radius: 8px; background: var(--dg, #082b66); color: #fff; font-weight: 800; letter-spacing: 0.02em; }
.docs__body { display: grid; gap: 0.1rem; min-width: 0; }
.docs__desc { color: #3b4659; font-size: 0.93rem; }
.docs__info { color: #4a5568; font-size: 0.82rem; }
.docs__get { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.55rem 1.1rem; border-radius: 999px; background: #082b66; color: #fff; text-decoration: none; font-weight: 700; white-space: nowrap; }
.docs__get:hover { background: #0b3a8a; }
.docs__none, .docs__empty { padding: 1rem; background: #f4f7fd; border-radius: var(--r); }
html.hc .docs__tools { background: #000; }
html.hc .docs__search input, html.hc .docs__item { background: #000; color: #fff; border-color: #ffe600; }
html.hc .docs__chip { background: #000; color: #ffe600; border-color: #ffe600; }
html.hc .docs__chip b, html.hc .docs__code, html.hc .docs__letter { background: #ffe600; color: #000; }
html.hc .docs__chip.is-on { background: #ffe600; color: #000; }
html.hc .docs__chip.is-on b { background: #000; color: #ffe600; }
html.hc .docs__get { background: #000; color: #ffe600; border: 2px solid #ffe600; }
html.hc .docs__desc, html.hc .docs__info { color: #fff; }
@media (max-width: 600px) { .docs__item { grid-template-columns: auto 1fr; } .docs__get { grid-column: 1 / -1; justify-content: center; } .docs__tools { top: 4.6rem; } }
@media print { .docs__tools, .docs__get { display: none; } }
@media (max-width: 899px) { .docs__tools { position: static; background: transparent; } }

/* Statystyki roku szkolnego */
.st [hidden] { display: none !important; }
.st__lead { font-size: 1.1rem; max-width: 46rem; margin: 0 0 1.4rem; }
.st__bell .bell { margin: 0 0 1.2rem; }
.st__card { background: #fff; border: 2px solid #d6dff0; border-radius: var(--r); padding: 1.3rem 1.6rem; margin: 0 0 1.2rem; }
.st__head { display: flex; align-items: center; gap: 1.4rem; margin-bottom: 1rem; }
.st__pct { font-size: clamp(2.8rem, 8vw, 4rem); font-weight: 800; color: #082b66; line-height: 1; }
.st__h { margin: 0; font-size: 1.3rem; }
.st__h--s { margin-bottom: 0.6rem; }
.st__muted { margin: 0.2rem 0 0; color: #4a5568; }
.st__muted--s { font-size: 0.85rem; margin-top: 0.8rem; }
.st__bar { height: 1.6rem; background: #e3e9f5; border-radius: 999px; overflow: hidden; }
.st__bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #1559c7, #3b8bff); border-radius: 999px; transition: width 0.8s ease; }
.st__ends { display: flex; justify-content: space-between; gap: 0.5rem; font-size: 0.88rem; color: #4a5568; margin-top: 0.5rem; }
.st__tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin: 0 0 1.2rem; }
.st__tile { background: #fff; border: 2px solid #d6dff0; border-radius: var(--r); padding: 1rem; text-align: center; }
.st__tile b { display: block; font-size: clamp(2rem, 5vw, 2.8rem); color: #082b66; line-height: 1.05; }
.st__tile span { display: block; font-size: 0.88rem; color: #4a5568; margin-top: 0.3rem; }
.st__cols { display: grid; grid-template-columns: 1.1fr 1fr; gap: 1.2rem; align-items: start; }
.st__matura { background: #082b66; color: #fff; border-radius: var(--r); padding: 1.4rem 1.6rem; }
.st__kicker { margin: 0; font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; color: #ffd23f; }
.st__mnum { display: flex; align-items: flex-end; gap: 0.8rem; margin-top: 0.6rem; }
.st__mnum b { font-size: clamp(3rem, 9vw, 4.2rem); line-height: 1; }
.st__mnum span { font-size: 1.25rem; font-weight: 700; padding-bottom: 0.4rem; }
.st__msub { margin: 0.4rem 0 0; color: #c9d8f5; }
.st__msub--s { font-size: 0.82rem; margin-top: 0.6rem; }
.st__dots { display: grid; gap: 3px; margin-top: 1rem; }
.st__dots u { height: 0.5rem; border-radius: 3px; background: #3b5ea8; }
.st__dots u.d { background: #ffd23f; }
.st__breaks { margin: 0; }
.st__breaks ul { list-style: none; margin: 0; padding: 0; }
.st__breaks li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.55rem 0; border-top: 1px solid #e3e9f5; }
.st__breaks li:first-child { border-top: 0; }
.st__breaks b { text-align: right; }
.st__empty { padding: 1rem; background: #f4f7fd; border-radius: var(--r); }
html.hc .st__card, html.hc .st__tile { background: #000; border-color: #ffe600; color: #fff; }
html.hc .st__pct, html.hc .st__tile b { color: #ffe600; }
html.hc .st__muted, html.hc .st__tile span, html.hc .st__ends { color: #fff; }
html.hc .st__bar { background: #333; } html.hc .st__bar i { background: #ffe600; }
html.hc .st__matura { background: #000; border: 2px solid #ffe600; } html.hc .st__msub { color: #fff; }
html.hc .st__dots u { background: #555; } html.hc .st__dots u.d { background: #ffe600; }
@media (max-width: 820px) { .st__tiles { grid-template-columns: repeat(2, 1fr); } .st__cols { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .st__bar i { transition: none; } }

/* Zegar lekcji: link „Więcej statystyk” w prawym dolnym rogu */
.bell { position: relative; }
.bell--link { padding-bottom: 3.6rem; }
.bell__more { position: absolute; right: 1.5rem; bottom: 1.1rem; display: inline-flex; align-items: center; gap: 0.4rem; color: #fff; font-weight: 700; font-size: 0.95rem; text-decoration: none; padding: 0.2rem 0.1rem; border-bottom: 2px solid rgba(255, 255, 255, 0.35); }
.bell__more svg { transition: transform 0.15s; }
.bell__more:hover { border-bottom-color: #ffd23f; color: #ffd23f; }
.bell__more:hover svg { transform: translateX(3px); }
.bell__more:focus-visible { outline: 3px solid #ffd23f; outline-offset: 3px; }
html.hc .bell__more { color: #ffe600; border-bottom-color: #ffe600; }
@media (prefers-reduced-motion: reduce) { .bell__more svg { transition: none; } }
@media (max-width: 560px) { .bell__more { right: 1.25rem; bottom: 0.9rem; } .bell--link { padding-bottom: 3.3rem; } }

/* Dokumenty: załączniki i warianty (np. A01/A) */
.docs__item--att { margin-left: 1.6rem; border-left: 5px solid var(--dg, #082b66); background: #f8faff; }
.docs__item--att .docs__code { background: transparent; color: var(--dg, #082b66); border: 2px solid var(--dg, #082b66); }
.docs__att { font-size: 0.8rem; font-weight: 700; color: var(--dg, #082b66); text-transform: uppercase; letter-spacing: 0.04em; }
html.hc .docs__item--att { background: #000; border-left-color: #ffe600; }
html.hc .docs__item--att .docs__code { background: #000; color: #ffe600; border-color: #ffe600; }
html.hc .docs__att { color: #ffe600; }
@media (max-width: 600px) { .docs__item--att { margin-left: 0.8rem; } }

/* Ile lekcji zostało */
.les { margin-top: 2rem; }
.les [hidden] { display: none !important; }
.les__tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.8rem 0 1.2rem; }
.les__tab { cursor: pointer; font: inherit; font-weight: 700; padding: 0.5rem 1.1rem; border: 2px solid #b8c6e0; background: #f4f7fd; color: #082b66; border-radius: 999px; }
.les__tab.is-on { background: #082b66; color: #fff; border-color: #082b66; }
.les__tab:focus-visible { outline: 3px solid #f2b705; outline-offset: 2px; }
.les__sum { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 0 0 1.2rem; }
.les__card { padding-top: 0.6rem; }
.les__table { width: 100%; border-collapse: collapse; }
.les__table th { text-align: left; font-size: 0.78rem; letter-spacing: 0.05em; text-transform: uppercase; color: #4a5568; padding: 0.8rem 0.4rem; border-bottom: 2px solid #e3e9f5; }
.les__table th.c, .les__table td.c { text-align: center; }
.les__table td { padding: 0.55rem 0.4rem; border-bottom: 1px solid #e3e9f5; }
.les__table td.s { font-weight: 600; }
.les__table td.c b { font-size: 1.15rem; color: #082b66; }
.les__bcol { width: 22%; }
.les__bar { height: 0.6rem; background: #e3e9f5; border-radius: 999px; overflow: hidden; }
.les__bar i { display: block; height: 100%; background: #2a4a9c; border-radius: 999px; }
.les__empty { padding: 1rem; background: #fff3c4; border-radius: var(--r); }
html.hc .les__tab { background: #000; color: #ffe600; border-color: #ffe600; }
html.hc .les__tab.is-on { background: #ffe600; color: #000; }
html.hc .les__table th { color: #fff; border-color: #ffe600; } html.hc .les__table td { border-color: #555; } html.hc .les__table td.c b { color: #ffe600; }
html.hc .les__bar { background: #333; } html.hc .les__bar i { background: #ffe600; }
@media (max-width: 700px) { .les__sum { grid-template-columns: 1fr; } .les__bcol { display: none; } .les__table th { font-size: 0.7rem; } }

@media (max-width: 700px) { .les__card { padding: 0.4rem 0.8rem 0.8rem; overflow-x: auto; } .les__table th, .les__table td { padding: 0.5rem 0.25rem; } .les__table th.c { width: 4.5rem; } }
@media (max-width: 520px) { .les__table th:nth-child(2), .les__table td:nth-child(2) { display: none; } }

/* Galeria zdjęć pod wpisem (powiększanie: wspólny lightbox motywu, patrz .lb wyżej) */
.lo-gal { margin: 2.2rem 0 0.5rem; }
.lo-gal__title { font-size: 1.35rem; margin: 0 0 0.9rem; }
.lo-gal__grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.lo-gal__grid li { margin: 0; }
.lo-gal__grid a { display: block; position: relative; overflow: hidden; border-radius: var(--r); background: var(--line); cursor: zoom-in; aspect-ratio: 4 / 3; }
.lo-gal__grid img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.lo-gal__grid a:hover img, .lo-gal__grid a:focus-visible img { transform: scale(1.05); }
.entry-content .wp-block-gallery a, .entry-content .wp-block-image a[href$=".jpg"], .entry-content .wp-block-image a[href$=".jpeg"], .entry-content .wp-block-image a[href$=".png"], .entry-content .wp-block-image a[href$=".webp"] { cursor: zoom-in; }

@media (prefers-reduced-motion: reduce) { .lo-gal__grid img { transition: none; } .lo-gal__grid a:hover img, .lo-gal__grid a:focus-visible img { transform: none; } }

/* Panel boczny i nawigacja wpisów (2.0.31) */
.sidebar { display: flex; flex-direction: column; gap: 1.25rem; }
.sidebar .widget { margin: 0; padding: 1.1rem 1.1rem 0.5rem; background: var(--paper); border-radius: var(--r); box-shadow: var(--shadow); }
html.hc .sidebar .widget { border: 2px solid #fff; box-shadow: none; }
.sidebar .widget-title { display: flex; align-items: center; gap: 0.6rem; margin: 0 0 0.35rem; padding-bottom: 0.7rem; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
.sidebar .widget-title::before { content: ""; width: 4px; height: 1.1em; border-radius: 2px; background: var(--blue); }
html.hc .sidebar .widget-title::before { background: #ffe600; }
.sidebar .news-list { padding: 0; box-shadow: none; border-radius: 0; background: none; border: 0; }
.sidebar .news-item__link { grid-template-columns: 5.6rem minmax(0, 1fr); gap: 0.75rem; align-items: start; }
.sidebar .news-item__title { font-size: 0.86rem; }
.sidebar .news-item__excerpt { font-size: 0.74rem; margin-bottom: 0.3rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sidebar .arch, .sidebar .cats { list-style: none; margin: 0; padding: 0; }
.sidebar .arch { margin-bottom: 0.6rem; }
.sidebar .arch li { margin: 0; }
.sidebar .arch li + li { border-top: 1px solid var(--line); }
.sidebar .arch a { display: flex; justify-content: space-between; align-items: center; padding: 0.6rem 0; color: var(--ink); text-decoration: none; font-size: 0.9rem; font-weight: 500; }
.sidebar .arch a:hover { color: var(--blue); }
.sidebar .n { min-width: 1.7rem; text-align: center; padding: 0.1rem 0.5rem; border-radius: 999px; background: var(--bg); color: var(--muted); font-size: 0.75rem; font-weight: 600; }
.sidebar .cats { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.5rem 0 1rem; }
.sidebar .cats li { margin: 0; }
.sidebar .cats a { display: inline-flex; gap: 0.4rem; align-items: center; padding: 0.4rem 0.85rem; border-radius: 999px; background: var(--bg); color: var(--ink); text-decoration: none; font-size: 0.85rem; font-weight: 600; }
.sidebar .cats a:hover { background: var(--blue); color: #fff; }
.sidebar .cats .n { padding: 0; min-width: 0; background: none; color: var(--muted); font-weight: 500; font-size: 0.85rem; }
.sidebar .cats a:hover .n { color: #e5ecfb; }
html.hc .sidebar .cats a, html.hc .sidebar .n { background: #000; border: 1px solid #fff; color: #fff; }

.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.post-nav__item { display: flex; flex-direction: column; gap: 0.4rem; padding: 1rem 1.15rem; background: var(--paper); border-radius: var(--r); box-shadow: var(--shadow); color: var(--ink); text-decoration: none; transition: transform 0.15s ease; }
.post-nav__item--prev { grid-column: 1; }
.post-nav__item--next { grid-column: 2; text-align: right; align-items: flex-end; }
.post-nav__item:hover, .post-nav__item:focus-visible { transform: translateY(-2px); }
.post-nav__label { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.78rem; font-weight: 600; color: var(--blue); }
.post-nav__title { font: 600 0.95rem/1.35 var(--font); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-nav__item:hover .post-nav__title { color: var(--blue); }
html.hc .post-nav__item { border: 2px solid #fff; box-shadow: none; }
html.hc .post-nav__label { color: #ffe600; }
@media (max-width: 600px) { .post-nav { grid-template-columns: 1fr; } .post-nav__item--prev, .post-nav__item--next { grid-column: auto; } .post-nav__item--next { text-align: left; align-items: flex-start; } }
@media (prefers-reduced-motion: reduce) { .post-nav__item { transition: none; } .post-nav__item:hover { transform: none; } }

/* Nauczyciele (2.0.32) */
.tdoc { display: flex; align-items: center; gap: 1.25rem; margin: 0 0 1.5rem; padding: 1.15rem 1.35rem; border-radius: var(--r); background: linear-gradient(120deg, var(--navy-2), var(--navy)); color: #fff; }
.tdoc__ico { flex: none; display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: var(--r); background: rgba(255,255,255,.14); }
.tdoc h2 { margin: 0 0 0.2rem; color: #fff; font-size: 1.15rem; }
.tdoc p { margin: 0; font-size: 0.88rem; color: #cfdcf7; }
.tdoc .btn { margin-left: auto; flex: none; }
.tf { display: grid; gap: 0.8rem; margin: 0 0 1.5rem; }
.tf__search { width: 100%; max-width: 26rem; padding: 0.7rem 1rem; border: 1px solid var(--line); border-radius: 999px; font: inherit; background: #fff; }
.tf__count { margin: 0; font-size: 0.85rem; color: var(--muted); }
.tgrid { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.9rem; grid-template-columns: repeat(auto-fill, minmax(17.5rem, 1fr)); }
.tch { margin: 0; }
.tch__link { display: flex; align-items: center; gap: 0.9rem; height: 100%; padding: 0.9rem 1rem; background: var(--paper); border-radius: var(--r); box-shadow: var(--shadow); color: var(--text); text-decoration: none; }
.tch__av { flex: none; display: grid; place-items: center; width: 3.4rem; height: 3.4rem; border-radius: 50%; font: 700 1.05rem var(--font); letter-spacing: .02em; }
.tch__av--jez { background: #dbe9ff; color: #0c3a85; } .tch__av--pol { background: #e3ebf7; color: #0c3a85; }
.tch__av--spol { background: #d8f1ee; color: #0b5f58; } .tch__av--mat { background: #dfe5f3; color: #082b66; }
.tch__av--prz { background: #dcf3e4; color: #166a3d; } .tch__av--wf { background: #ffe8d1; color: #9a4a06; }
.tch__av--rel { background: #fdf0c4; color: #7a5a00; } .tch__av--wsp { background: #197a4a; color: #fff; }
.tch__body { display: flex; flex-direction: column; min-width: 0; gap: 0.1rem; }
.tch__title { font-size: 0.72rem; color: var(--muted); font-weight: 500; }
.tch__name { font: 600 0.98rem/1.25 var(--font); color: var(--ink); }
.tch__chips { display: flex; flex-wrap: wrap; gap: 0.3rem; margin-top: 0.35rem; }
.tch__chip { padding: 0.12rem 0.55rem; border-radius: 999px; background: var(--bg); color: var(--muted); font-size: 0.72rem; font-weight: 600; }
.tch__chip--sup { background: #dcf3e4; color: #166a3d; }
@media (max-width: 700px) { .tdoc { flex-wrap: wrap; } .tdoc .btn { margin-left: 0; } }

.tf__row { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; }
.tf__lab { font-weight: 600; font-size: 0.9rem; color: var(--ink); }
.tf__sel { min-width: 17rem; max-width: 100%; padding: 0.65rem 2.4rem 0.65rem 1rem; border: 1px solid var(--line); border-radius: 999px; background: #fff url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230b1d44' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><path d='M6 9l6 6 6-6'/></svg>") no-repeat right 0.9rem center; font: 600 0.9rem var(--font); color: var(--ink); appearance: none; cursor: pointer; }
.tf__top { display: flex; gap: 0.75rem; flex-wrap: wrap; align-items: center; }
.tf__top .tf__search { width: 20rem; max-width: 100%; flex: none; }
.tch__none { margin: 1rem 0 0; color: var(--muted); }
.tch__none[hidden], .tch[hidden] { display: none; }

/* Pasek instalacji aplikacji na górze strony (2.0.34) */
.pwa-bar { background: #1a73ff; color: #fff; font-size: 0.9rem; }
.pwa-bar[hidden], .pwa-bar [hidden] { display: none !important; }
.pwa-bar__in { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; padding-top: 0.45rem; padding-bottom: 0.45rem; }
.pwa-bar__text { font-weight: 600; flex: 1 1 auto; }
.pwa-bar__btn { cursor: pointer; border: 2px solid #fff; background: #fff; color: #0b2f78; font: inherit; font-weight: 700; padding: 0.3rem 0.95rem; border-radius: 999px; }
.pwa-bar__btn:hover { background: #e8f0ff; }
.pwa-bar__ios { flex: 1 1 100%; margin: 0; font-size: 0.85rem; }
.pwa-bar__close { cursor: pointer; border: 0; background: transparent; color: #fff; font-size: 1.6rem; line-height: 1; padding: 0 0.3rem; }
.pwa-bar__btn:focus-visible, .pwa-bar__close:focus-visible { outline: 3px solid #ffd23f; outline-offset: 2px; }
@media (min-width: 961px) { .pwa-bar { display: none !important; } }
@media print { .pwa-bar { display: none !important; } }
html.hc .pwa-bar { background: #000; color: #ffe600; border-bottom: 2px solid #ffe600; }
html.hc .pwa-bar__btn { background: #000; color: #ffe600; border-color: #ffe600; }
html.hc .pwa-bar__close { color: #ffe600; }

/* Dni pamięci i żałoby (2.0.45): wstążka przy logo; czerń i biel przełącza klasa .lo-gray na <html> */
.brand__mark { position: relative; display: inline-flex; flex: none; }
.lo-ribs { position: absolute; right: -14px; bottom: -8px; display: flex; gap: 3px; }
.lo-rib { width: 30px; height: 30px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.45); }
.lo-rib[hidden] { display: none; }
html.lo-gray { filter: grayscale(1); }
@media (max-width: 960px) { .lo-ribs { right: -10px; bottom: -6px; } .lo-rib { width: 24px; height: 24px; } .lo-rib svg { width: 12px; height: 16px; } }
@media print { html.lo-gray { filter: none; } }
