:root {
	--zset-font-scale: 1;
	--zset-header-offset: 8.75rem;
	--zset-navy: #0b2e59;
	--zset-blue: #1769e0;
	--zset-teal: #00a6a6;
	--zset-coral: #ff6b4a;
	--zset-yellow: #ffd166;
	--zset-ink: #14213d;
	--zset-muted: #53657a;
	--zset-surface: #f4f8fd;
	--zset-mint: #eaf8f5;
	--zset-border: #d6e2f0;
	--zset-focus: #ffb800;
	--zset-shadow: 0 18px 50px rgba(11, 46, 89, 0.12);
	--zset-shadow-small: 0 8px 28px rgba(11, 46, 89, 0.09);
	--zset-radius: 1rem;
	--zset-reading-width: 1200px;
	--zset-reading-shell: calc(var(--zset-reading-width) + 2rem);
	--zset-font-family: "Lato", Calibri, "Segoe UI", Arial, sans-serif;
	font-size: calc(100% * var(--zset-font-scale));
	scroll-padding-top: var(--zset-header-offset);
}

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

html {
	scroll-behavior: smooth;
}

body {
	background: #fff;
	color: var(--zset-ink);
	font-family: var(--zset-font-family);
	margin: 0;
	overflow-wrap: anywhere;
	text-rendering: optimizeLegibility;
}

.wp-site-blocks > * {
	margin-block-start: 0 !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--zset-font-family);
}

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

a,
button,
input,
select,
textarea,
summary {
	-webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
	border-radius: 0.2rem;
	outline: 3px solid var(--zset-focus);
	outline-offset: 3px;
}

button,
input,
select,
textarea {
	font: inherit;
}

button {
	cursor: pointer;
}

button:disabled {
	cursor: not-allowed;
	opacity: 0.55;
}

input,
select,
textarea {
	border: 2px solid #8794a8;
	border-radius: 0.35rem;
	min-height: 2.75rem;
	padding: 0.6rem 0.75rem;
}

input[aria-invalid="true"],
select[aria-invalid="true"],
textarea[aria-invalid="true"] {
	border-color: var(--wp--preset--color--error);
}

.form-error {
	color: var(--wp--preset--color--error);
	font-weight: 700;
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background: #fff;
	clip: auto !important;
	clip-path: none;
	color: #0b2447;
	display: block;
	font-size: 1rem;
	font-weight: 700;
	height: auto;
	left: 1rem;
	padding: 1rem 1.25rem;
	top: 1rem;
	width: auto;
	z-index: 100000;
}

.skip-link {
	position: fixed !important;
}

.site-header {
	background: #fff;
	border-bottom: 1px solid var(--zset-border);
	position: relative;
	z-index: 100;
}

.utility-bar {
	background: #0b2447;
	color: #fff;
	font-size: 0.875rem;
}

.brand-row,
.site-nav__inner {
	margin-inline: auto;
	max-width: 1320px;
	padding-inline: clamp(1rem, 2.5vw, 2rem);
}

.utility-bar__inner,
.site-footer__inner {
	margin-inline: auto;
	max-width: 1200px;
	padding-inline: clamp(1rem, 3vw, 2rem);
}

.utility-bar__inner {
	align-items: center;
	display: flex;
	gap: 0.5rem 1.25rem;
	justify-content: space-between;
	min-height: 2.25rem;
}

.utility-links {
	display: flex;
	flex-wrap: nowrap;
	gap: 0.25rem 1rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.utility-bar a,
.utility-bar button {
	color: #fff;
	font-size: 0.82rem;
	font-weight: 700;
	white-space: nowrap;
}

.utility-bar button {
	background: transparent;
	border: 0;
	min-height: 2.25rem;
	padding: 0.25rem 0.45rem;
}

.brand-row {
	align-items: center;
	display: grid;
	gap: clamp(0.75rem, 2vw, 1.5rem);
	grid-template-columns: minmax(0, 1fr) auto;
	min-height: 4.25rem;
}

.site-brand {
	align-items: center;
	color: #0b2447;
	display: inline-flex;
	gap: 0.8rem;
	text-decoration: none;
}

.site-brand__logo {
	display: block;
	flex: 0 0 auto;
	height: 3.75rem;
	object-fit: contain;
	width: auto;
}

.site-brand__text {
	display: grid;
	line-height: 1.15;
}

.site-brand__name {
	font-size: clamp(0.98rem, 0.91rem + 0.26vw, 1.18rem);
	font-weight: 800;
}

.site-brand__place {
	color: #566175;
	font-size: 0.76rem;
	margin-top: 0.15rem;
}

.header-search {
	align-items: center;
	background: #f4f8fd;
	border: 1px solid #c7d5e5;
	border-radius: 0.55rem;
	display: flex;
	max-width: 15rem;
	padding: 0.12rem;
	transition: border-color 160ms ease, box-shadow 160ms ease;
}

.header-search input {
	background: transparent;
	border: 0;
	border-radius: 0.4rem 0 0 0.4rem;
	font-size: 0.86rem;
	line-height: 1.2;
	max-width: 11.25rem;
	min-height: 2rem;
	min-width: 7rem;
	padding: 0.35rem 0.55rem;
}

.header-search button {
	align-items: center;
	background: transparent;
	border: 0;
	border-radius: 0.4rem;
	color: var(--zset-navy);
	display: inline-flex;
	flex: 0 0 2rem;
	height: 2rem;
	justify-content: center;
	min-height: 2rem;
	padding: 0;
	width: 2rem;
}

.header-search__icon {
	display: block;
	height: 1.05rem;
	width: 1.05rem;
}

.site-nav {
	background: #0b2447;
	border-top: 1px solid #183b68;
}

.site-nav__inner {
	position: relative;
}

.site-nav__toggle {
	align-items: center;
	background: #0b2447;
	border: 0;
	border-radius: 0.35rem;
	color: #fff;
	display: none;
	font-weight: 750;
	gap: 0.5rem;
	margin-block: 0.65rem;
	min-height: 2.75rem;
	padding: 0.6rem 1rem;
}

.site-nav__menu {
	align-items: stretch;
	display: flex;
	gap: 0;
	justify-content: space-between;
	list-style: none;
	margin: 0;
	padding: 0;
	width: 100%;
}

.site-nav__menu > li > a,
.site-nav summary {
	align-items: center;
	color: #fff;
	display: flex;
	font-size: clamp(0.84rem, 0.78rem + 0.15vw, 0.94rem);
	font-weight: 750;
	min-height: 2.75rem;
	padding: 0.4rem clamp(0.45rem, 0.65vw, 0.7rem);
	text-decoration: none;
	white-space: nowrap;
}

.site-nav__menu > li {
	flex: 0 0 auto;
}

.site-nav details {
	position: static;
}

.site-nav summary {
	cursor: pointer;
	list-style: none;
	white-space: nowrap;
}

.site-nav summary::-webkit-details-marker {
	display: none;
}

.site-nav summary::after {
	border: solid currentColor;
	border-width: 0 2px 2px 0;
	content: "";
	height: 0.45rem;
	margin-left: 0.6rem;
	transform: rotate(45deg) translateY(-0.15rem);
	width: 0.45rem;
}

.site-nav__menu > li > a:hover,
.site-nav summary:hover,
.site-nav details[open] > summary {
	background: #1559a8;
	color: #fff;
}

.mega-panel {
	background: #fff;
	border: 1px solid var(--zset-border);
	border-radius: 0 0 0.7rem 0.7rem;
	box-shadow: var(--zset-shadow);
	display: grid;
	gap: 1.5rem;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	left: clamp(1rem, 3vw, 2rem);
	padding: clamp(1.25rem, 3vw, 2rem);
	position: absolute;
	right: clamp(1rem, 3vw, 2rem);
	top: 100%;
}

.mega-panel--two {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	max-width: 52rem;
	right: auto;
}

.mega-panel h3 {
	color: #0b2447;
	font-size: 1rem;
	margin: 0 0 0.55rem;
}

.mega-panel ul {
	display: grid;
	gap: 0.2rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.mega-panel a {
	border-radius: 0.25rem;
	color: #27334a;
	display: block;
	padding: 0.4rem 0.25rem;
	text-decoration: none;
}

.mega-panel a:hover {
	background: #edf4fc;
	color: #0b2447;
	text-decoration: underline;
	text-underline-offset: 0.18em;
}

.accessibility-panel {
	background: #fff;
	border: 2px solid #0b2447;
	border-radius: 0.55rem;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.24);
	color: #172033;
	max-height: calc(100vh - 2rem);
	overflow: auto;
	padding: 1.25rem;
	position: fixed;
	right: 1rem;
	top: 1rem;
	width: min(25rem, calc(100vw - 2rem));
	z-index: 10000;
}

.accessibility-panel[hidden] {
	display: none;
}

.accessibility-panel__top {
	align-items: start;
	display: flex;
	gap: 1rem;
	justify-content: space-between;
}

.accessibility-panel h2 {
	font-size: 1.35rem;
	margin: 0;
}

.accessibility-panel__close {
	background: transparent;
	border: 2px solid #0b2447;
	border-radius: 50%;
	color: #0b2447;
	font-weight: 800;
	height: 2.75rem;
	width: 2.75rem;
}

.accessibility-panel__group {
	border: 0;
	border-top: 1px solid var(--zset-border);
	margin: 1rem 0 0;
	padding: 1rem 0 0;
}

.accessibility-panel__group legend {
	font-weight: 800;
	padding: 0 0.4rem 0 0;
}

.accessibility-panel__controls {
	display: grid;
	gap: 0.55rem;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin-top: 0.75rem;
}

.accessibility-panel button {
	background: #f4f7fb;
	border: 2px solid #7c8ba2;
	border-radius: 0.35rem;
	color: #172033;
	font-weight: 700;
	min-height: 2.75rem;
	padding: 0.55rem 0.7rem;
}

.accessibility-panel button[aria-pressed="true"] {
	background: #0b2447;
	border-color: #0b2447;
	color: #fff;
}

.accessibility-panel__note {
	color: #566175;
	font-size: 0.85rem;
	margin-bottom: 0;
}

.section-shell {
	padding-block: clamp(3rem, 7vw, 6rem);
}

.section-shell--compact {
	padding-block: clamp(2rem, 4vw, 3.5rem);
}

.section-heading {
	margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.section-kicker {
	color: #1559a8;
	font-size: 0.82rem;
	font-weight: 850;
	letter-spacing: 0.11em;
	margin-bottom: 0.55rem;
	text-transform: uppercase;
}

.section-heading h2,
.section-heading h1 {
	margin-bottom: 0.75rem;
	margin-top: 0;
}

.section-heading p {
	color: #566175;
	font-size: var(--wp--preset--font-size--lead);
	margin: 0;
	max-width: 100%;
}

.section-heading > * {
	margin-left: 0 !important;
	margin-right: 0 !important;
	max-width: 100% !important;
	width: 100%;
}

.zset-hero {
	background: linear-gradient(135deg, #071b36 0%, #0b3973 58%, #007f9e 100%);
	color: #fff;
	overflow: hidden;
	padding-block: clamp(4rem, 9vw, 8rem);
	position: relative;
}

.zset-hero::after {
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
	background-size: 3.5rem 3.5rem;
	content: "";
	inset: 0 0 0 55%;
	mask-image: linear-gradient(90deg, transparent, #000);
	position: absolute;
	transform: rotate(-8deg) scale(1.2);
}

.zset-hero > * {
	position: relative;
	z-index: 1;
}

.zset-hero h1 {
	color: #fff;
	font-size: var(--wp--preset--font-size--hero);
	margin-bottom: 1.25rem;
	max-width: 15ch;
}

.zset-hero .hero-lead {
	color: #eaf5ff;
	font-size: var(--wp--preset--font-size--lead);
	max-width: 42rem;
}

.zset-hero .wp-block-buttons {
	margin-top: 2rem;
}

.zset-hero .is-style-outline .wp-block-button__link {
	border-color: #fff;
	color: #fff;
}

.zset-hero .is-style-outline .wp-block-button__link:hover {
	background: #fff;
	color: #0b2447;
}

.wp-block-button__link {
	transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.wp-block-button__link:hover {
	background: #0b2447;
	transform: translateY(-1px);
}

.wp-block-button.is-style-outline .wp-block-button__link {
	background: transparent;
	border: 2px solid currentColor;
	color: #1559a8;
}

.zset-hero .wp-block-button.is-style-outline .wp-block-button__link {
	border-color: #fff;
	color: #fff;
}

.card-grid,
.audience-grid,
.stats-grid,
.contact-grid {
	align-items: stretch;
	display: grid;
	gap: clamp(1rem, 2.5vw, 1.5rem);
}

.card-grid > *,
.audience-grid > *,
.stats-grid > *,
.contact-grid > * {
	align-self: stretch;
	margin-block: 0 !important;
	min-width: 0;
}

.card-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.audience-grid {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stats-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.contact-grid {
	grid-template-columns: 1.2fr 0.8fr;
}

.zset-card,
.audience-card,
.info-card,
.document-card {
	background: #fff;
	border: 1px solid var(--zset-border);
	border-radius: 0.7rem;
	box-shadow: 0 6px 24px rgba(11, 36, 71, 0.06);
	height: 100%;
	padding: clamp(1.25rem, 2.5vw, 1.8rem);
}

.zset-card {
	transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.zset-card:hover {
	border-color: #8fb5df;
	box-shadow: var(--zset-shadow);
	transform: translateY(-3px);
}

.zset-card h3,
.audience-card h3,
.info-card h3,
.document-card h3 {
	font-size: 1.3rem;
	margin-top: 0;
}

.zset-card p,
.audience-card p,
.info-card p,
.document-card p {
	color: #566175;
}

.audience-card {
	border-top: 5px solid #1559a8;
}

.audience-card:nth-child(2) {
	border-top-color: #00a6c8;
}

.audience-card:nth-child(3) {
	border-top-color: #ffd23f;
}

.audience-card:nth-child(4) {
	border-top-color: #16794b;
}

.text-link {
	font-weight: 750;
	text-underline-offset: 0.2em;
}

.surface-section {
	background: #f4f7fb;
}

.navy-section {
	background: #0b2447;
	color: #fff;
}

.navy-section h2,
.navy-section h3 {
	color: #fff;
}

.navy-section p {
	color: #dceafa;
}

.notice {
	background: #fff7d6;
	border: 1px solid #e0b500;
	border-left: 6px solid #e0b500;
	border-radius: 0.4rem;
	color: #392f00;
	padding: 1rem 1.25rem;
}

.notice--info {
	background: #edf6ff;
	border-color: #1559a8;
}

.notice--placeholder {
	background: #fff1f0;
	border-color: #b42318;
}

.notice strong:first-child {
	display: block;
}

.breadcrumb-shell {
	background: #f4f7fb;
	border-bottom: 1px solid var(--zset-border);
	font-size: 0.9rem;
	padding-block: 0.8rem;
}

.breadcrumb-shell__inner {
	margin-inline: auto;
	max-width: var(--zset-reading-width);
	padding-inline: 1rem;
	width: 100%;
}

.zset-breadcrumbs ol {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 0.3rem 0.55rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.zset-breadcrumbs li {
	align-items: center;
	display: inline-flex;
	gap: 0.55rem;
}

.zset-breadcrumbs li + li::before {
	color: var(--zset-muted);
	content: "/";
	font-weight: 500;
}

.breadcrumb-shell a {
	font-weight: 650;
}

.zset-breadcrumbs [aria-current="page"] {
	color: var(--zset-muted);
}

.skp-info-grid {
	align-items: stretch !important;
}

.skp-info-grid > .wp-block-column {
	display: flex;
}

.skp-info-grid .zset-card {
	width: 100%;
}

.skp-info-grid .zset-card h2 {
	font-size: clamp(1.35rem, 1.2rem + 0.55vw, 1.75rem);
}

.skp-faq .wp-block-details {
	background: #fff;
	border: 1px solid var(--zset-border);
	border-radius: 0.75rem;
	margin-block: 0.75rem;
	padding: 0.9rem 1.1rem;
}

.skp-faq .wp-block-details summary {
	color: var(--zset-navy);
	cursor: pointer;
	font-weight: 750;
}

.skp-faq .wp-block-details > :last-child {
	margin-bottom: 0;
}

.legal-page-nav {
	margin-bottom: clamp(1.75rem, 3vw, 2.5rem);
}

.legal-page-nav ul {
	margin-bottom: 0;
}

.legal-page-nav a {
	font-weight: 700;
}

.zset-legacy-content > h2 {
	margin-top: clamp(2.25rem, 4vw, 3.5rem);
	scroll-margin-top: 7rem;
}

.entry-header {
	padding-block: clamp(1.75rem, 3vw, 3rem);
}

.entry-header h1 {
	max-width: var(--zset-reading-width) !important;
	width: 100%;
}

.entry-header > * {
	margin-left: auto !important;
	margin-right: auto !important;
	max-width: var(--zset-reading-width) !important;
	width: 100%;
}

.entry-meta {
	color: #566175;
	display: flex;
	flex-wrap: wrap;
	font-size: 0.9rem;
	gap: 0.5rem 1.25rem;
}

.content-prose {
	padding-bottom: clamp(2.25rem, 4vw, 4rem);
}

.content-prose :where(h2, h3, h4) {
	scroll-margin-top: var(--zset-header-offset);
}

.content-prose :where(p, li) {
	max-width: 75ch;
}

.content-prose table {
	border-collapse: collapse;
	display: block;
	max-width: 100%;
	overflow-x: auto;
}

.content-prose th,
.content-prose td {
	border: 1px solid #aeb8c7;
	padding: 0.65rem;
	text-align: left;
}

.content-prose th {
	background: #edf4fc;
}

.wp-block-post-template.is-layout-grid {
	gap: 1.5rem;
}

.post-card {
	border: 1px solid var(--zset-border);
	border-radius: 0.7rem;
	height: 100%;
	overflow: hidden;
}

.post-card .wp-block-post-featured-image {
	margin: 0;
}

.post-card .wp-block-post-featured-image img {
	aspect-ratio: 16 / 9;
	border-radius: 0;
	object-fit: cover;
}

.post-card__body {
	padding: 1.25rem;
}

.post-card__body h2,
.post-card__body h3 {
	font-size: 1.35rem;
	margin-top: 0;
}

.wp-block-query-pagination {
	border-top: 1px solid var(--zset-border);
	margin-top: 2.5rem;
	padding-top: 1.5rem;
}

.wp-block-query-pagination a,
.wp-block-query-pagination-numbers .page-numbers {
	align-items: center;
	display: inline-flex;
	min-height: 2.75rem;
	padding: 0.4rem 0.7rem;
}

.wp-block-search__input {
	border: 2px solid #6e7d93;
}

.wp-block-search__button {
	min-height: 2.75rem;
}

.empty-state {
	background: #f4f7fb;
	border-radius: 0.7rem;
	padding: clamp(1.5rem, 4vw, 3rem);
	text-align: center;
}

.site-footer {
	background: #071b36;
	color: #fff;
	margin-top: 0;
}

.site-footer__inner {
	padding-bottom: 2rem;
	padding-top: clamp(3rem, 6vw, 5rem);
}

.site-footer__grid {
	display: grid;
	gap: 2rem;
	grid-template-columns: 1.4fr repeat(3, 1fr);
}

.site-footer h2,
.site-footer h3 {
	color: #fff;
	font-size: 1.05rem;
	margin-top: 0;
}

.site-footer p,
.site-footer address {
	color: #cfdef0;
}

.site-footer address {
	font-style: normal;
	line-height: 1.65;
}

.site-footer ul {
	display: grid;
	gap: 0.45rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.site-footer a {
	color: #fff;
	text-underline-offset: 0.2em;
}

.site-footer__bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.2);
	color: #cfdef0;
	font-size: 0.85rem;
	margin-top: 2.5rem;
	padding-top: 1.25rem;
}

/* Visual system refresh: trustworthy, youthful and school-oriented. */
.site-header {
	background: #fff;
	border-bottom-color: var(--zset-border);
	box-shadow: 0 5px 18px rgba(11, 46, 89, 0.06);
}

.utility-bar {
	background: linear-gradient(90deg, var(--zset-navy), #124b8d);
}

.utility-bar a {
	text-decoration-color: rgba(255, 255, 255, 0.55);
	text-underline-offset: 0.2em;
}

.utility-bar a:hover {
	text-decoration-thickness: 0.14em;
}

.site-brand {
	color: var(--zset-navy);
}

.site-brand__logo {
	border-radius: 0.3rem;
	box-shadow: 0 5px 16px rgba(11, 47, 92, 0.12);
}

.site-brand__place {
	color: var(--zset-muted);
}

.header-search:focus-within {
	border-color: var(--zset-blue);
	box-shadow: 0 0 0 3px rgba(23, 105, 224, 0.13);
}

.header-search input:focus {
	outline: 0;
}

.header-search button {
	background: transparent;
	border-color: transparent;
}

.header-search button:hover {
	background: #e3edf8;
	border-color: transparent;
	color: var(--zset-blue);
}

.site-nav {
	background: #fff;
	border-top: 1px solid var(--zset-border);
}

.site-nav__toggle {
	background: var(--zset-blue);
	border-radius: 0.65rem;
	box-shadow: 0 5px 16px rgba(23, 105, 224, 0.2);
}

.site-nav__menu > li > a,
.site-nav summary {
	color: var(--zset-navy);
	font-weight: 800;
	transition: background-color 150ms ease, box-shadow 150ms ease, color 150ms ease;
}

.site-nav__menu > li > a:hover,
.site-nav summary:hover,
.site-nav details[open] > summary {
	background: #eaf3ff;
	box-shadow: inset 0 -3px 0 var(--zset-coral);
	color: var(--zset-blue);
}

.mega-panel {
	border: 1px solid var(--zset-border);
	border-top: 4px solid var(--zset-blue);
	border-radius: 0 0 1rem 1rem;
	box-shadow: 0 22px 52px rgba(11, 46, 89, 0.16);
}

.mega-panel h3 {
	color: var(--zset-navy);
}

.mega-panel a {
	border-radius: 0.5rem;
	color: #263b56;
}

.mega-panel a:hover {
	background: #eaf8f5;
	color: var(--zset-blue);
}

.section-shell {
	padding-block: clamp(2rem, 3.25vw, 3.25rem);
}

#main-content > * {
	margin-block-start: 0 !important;
}

#main-content > .wp-block-post-content {
	margin: 0 !important;
	max-width: none !important;
	width: 100%;
}

#main-content > .wp-block-post-content > * {
	margin-block-start: 0 !important;
}

/* Every main content type shares one desktop width. */
.section-shell > :where(:not(.alignfull)),
.section-shell > .wp-block-query,
.section-shell > .wp-block-query > .wp-block-post-template {
	margin-left: auto !important;
	margin-right: auto !important;
	max-width: var(--zset-reading-width) !important;
	width: 100%;
}

.section-kicker {
	color: var(--zset-blue);
	letter-spacing: 0.12em;
}

.section-heading p,
.entry-meta {
	color: var(--zset-muted);
}

.zset-hero {
	background:
		radial-gradient(circle at 86% 28%, rgba(255, 209, 102, 0.28) 0 4.5rem, transparent 4.6rem),
		radial-gradient(circle at 76% 82%, rgba(255, 107, 74, 0.24) 0 7rem, transparent 7.1rem),
		linear-gradient(135deg, var(--zset-navy) 0%, var(--zset-blue) 56%, var(--zset-teal) 100%);
	padding-block: clamp(4rem, 8vw, 7.2rem);
}

.zset-hero::after {
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
	background-size: 3rem 3rem;
}

.zset-hero .section-kicker {
	color: #fff0b8;
}

.zset-hero .hero-lead {
	color: #f0f8ff;
}

.wp-block-button__link {
	border-radius: 0.75rem;
	box-shadow: 0 6px 18px rgba(11, 46, 89, 0.14);
}

.wp-block-button__link:hover {
	background: var(--zset-navy);
	box-shadow: 0 9px 24px rgba(11, 46, 89, 0.2);
}

.wp-block-button.is-style-outline .wp-block-button__link {
	color: var(--zset-blue);
}

.zset-card,
.audience-card,
.info-card,
.document-card,
.post-card {
	border-color: var(--zset-border);
	border-radius: var(--zset-radius);
	box-shadow: var(--zset-shadow-small);
}

.zset-card {
	border-top: 4px solid var(--zset-blue);
}

.zset-card:nth-child(3n + 2) {
	border-top-color: var(--zset-teal);
}

.zset-card:nth-child(3n) {
	border-top-color: var(--zset-coral);
}

.zset-card:hover {
	border-color: #9abce8;
	box-shadow: var(--zset-shadow);
}

.zset-card p,
.audience-card p,
.info-card p,
.document-card p {
	color: var(--zset-muted);
}

.audience-card {
	border-top-color: var(--zset-blue);
}

.audience-card:nth-child(2) {
	border-top-color: var(--zset-teal);
}

.audience-card:nth-child(3) {
	border-top-color: var(--zset-yellow);
}

.audience-card:nth-child(4) {
	border-top-color: var(--zset-coral);
}

.surface-section,
.breadcrumb-shell,
.empty-state {
	background: var(--zset-surface);
}

.navy-section,
.site-footer {
	background: linear-gradient(145deg, #071f3d, var(--zset-navy));
}

.notice {
	background: #fff9e8;
	border-color: #e0ad27;
	border-left-color: var(--zset-yellow);
	border-radius: 0.75rem;
	color: #493a0d;
}

.notice--info {
	background: #edf5ff;
	border-color: var(--zset-blue);
}

.notice--placeholder {
	background: #fff2ef;
	border-color: var(--zset-coral);
	color: #652317;
}

/* Editorial content and migrated Joomla material. */
.content-prose {
	color: var(--zset-ink);
	font-size: clamp(1rem, 0.98rem + 0.12vw, 1.075rem);
	line-height: 1.75;
}

.content-prose .wp-block-post-content {
	margin-left: auto !important;
	margin-right: auto !important;
	max-width: var(--zset-reading-shell) !important;
	width: 100%;
}

.content-prose .zset-legacy-content {
	margin-left: auto !important;
	margin-right: auto !important;
	max-width: var(--zset-reading-width) !important;
	width: 100%;
}

.content-prose .wp-block-post-content > :where(:not(.alignfull):not(.alignwide)) {
	margin-left: auto !important;
	margin-right: auto !important;
	max-width: var(--zset-reading-width) !important;
	width: 100%;
}

.content-prose :where(p, li, dd) {
	max-width: 100%;
}

.content-prose :where(h2, h3, h4, h5, h6) {
	color: var(--zset-navy);
	line-height: 1.22;
	margin-bottom: 0.7em;
	margin-top: 1.8em;
}

.content-prose h2 {
	border-left: 5px solid var(--zset-teal);
	font-size: clamp(1.55rem, 1.35rem + 0.7vw, 2.1rem);
	padding-left: 0.8rem;
}

.content-prose h3 {
	font-size: clamp(1.28rem, 1.18rem + 0.35vw, 1.55rem);
}

.zset-legacy-content :where(h2, h3, h4, h5, h6) * {
	color: inherit !important;
	font: inherit !important;
}

.zset-legacy-content :where(p, div, address, li) {
	text-align: left !important;
}

.zset-legacy-content > :where(p, div, address, ul, ol, h2, h3, h4, h5, h6, blockquote) {
	margin-left: 0 !important;
	margin-right: 0 !important;
}

.content-prose a {
	color: var(--zset-blue);
	font-weight: 650;
	text-decoration-thickness: 0.08em;
	text-underline-offset: 0.18em;
}

.content-prose a:hover {
	color: var(--zset-navy);
	text-decoration-thickness: 0.14em;
}

.content-prose :where(ul, ol) {
	padding-left: 1.5rem;
}

.content-prose li {
	margin-block: 0.38rem;
	padding-left: 0.2rem;
}

.content-prose li::marker {
	color: var(--zset-blue);
	font-weight: 800;
}

.content-prose blockquote {
	background: var(--zset-mint);
	border-left: 5px solid var(--zset-teal);
	border-radius: 0 0.8rem 0.8rem 0;
	margin: 1.75rem 0;
	padding: 1.1rem 1.4rem;
}

.content-prose hr {
	border: 0;
	border-top: 2px solid var(--zset-border);
	margin-block: 2.5rem;
}

.content-prose :where(img, figure img) {
	border-radius: 0.85rem;
	box-shadow: var(--zset-shadow-small);
}

.content-prose figcaption {
	color: var(--zset-muted);
	font-size: 0.875rem;
	margin-top: 0.55rem;
}

.content-prose address {
	background: var(--zset-surface);
	border-left: 5px solid var(--zset-blue);
	border-radius: 0 0.8rem 0.8rem 0;
	font-style: normal;
	line-height: 1.75;
	padding: 1.15rem 1.35rem;
}

.zset-legacy-content > :first-child {
	margin-top: 0;
}

/* Tables get their own scroll region so legacy widths never break the page. */
.zset-table-scroll,
.content-prose .wp-block-table {
	border: 1px solid #c8d8ea;
	border-radius: 0.9rem;
	box-shadow: var(--zset-shadow-small);
	margin-block: 1.75rem;
	max-width: 100%;
	overflow-x: auto;
	overscroll-behavior-inline: contain;
}

.zset-table-scroll:focus-visible {
	outline-offset: 4px;
}

.content-prose table {
	border-collapse: separate;
	border-spacing: 0;
	display: table;
	font-size: 0.94rem;
	line-height: 1.45;
	margin: 0;
	min-width: 46rem;
	overflow: visible;
	width: 100% !important;
}

.content-prose th,
.content-prose td {
	background: #fff !important;
	border: 0;
	border-bottom: 1px solid #d9e4f0;
	border-right: 1px solid #d9e4f0;
	color: var(--zset-ink) !important;
	height: auto !important;
	padding: 0.8rem 0.9rem;
	text-align: left;
	vertical-align: top;
}

.content-prose th,
.content-prose table tr:first-child > td {
	background: linear-gradient(135deg, var(--zset-navy), #124b8d) !important;
	color: #fff !important;
	font-weight: 800;
}

.content-prose :where(th, td):last-child {
	border-right: 0;
}

.content-prose table tr:last-child > :where(th, td) {
	border-bottom: 0;
}

.content-prose tbody tr:nth-child(even) > td {
	background: #f4f8fd !important;
}

.content-prose tbody tr:hover > td {
	background: #eaf8f5 !important;
}

.content-prose table a {
	overflow-wrap: anywhere;
}

/* Shared controls, grids and cards used by pages, archives and search results. */
a.wp-element-button,
button.wp-element-button,
.wp-block-button__link,
.wp-block-search__button,
.wp-block-file__button,
#main-content button,
#main-content input:is([type="submit"], [type="button"], [type="reset"]) {
	align-items: center;
	background: var(--zset-blue) !important;
	border: 2px solid var(--zset-blue) !important;
	border-radius: 0.65rem;
	box-shadow: 0 5px 16px rgba(23, 105, 224, 0.18);
	color: #fff !important;
	display: inline-flex;
	font-size: 0.94rem;
	font-weight: 800;
	justify-content: center;
	line-height: 1.2;
	min-height: 2.75rem;
	padding: 0.65rem 1rem;
	text-decoration: none !important;
	transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

a.wp-element-button:hover,
button.wp-element-button:hover,
.wp-block-button__link:hover,
.wp-block-search__button:hover,
.wp-block-file__button:hover,
#main-content button:hover,
#main-content input:is([type="submit"], [type="button"], [type="reset"]):hover {
	background: var(--zset-navy) !important;
	border-color: var(--zset-navy) !important;
	box-shadow: 0 8px 20px rgba(11, 46, 89, 0.22);
	color: #fff !important;
	transform: translateY(-1px);
}

.wp-block-button.is-style-outline .wp-block-button__link {
	background: transparent !important;
	border-color: var(--zset-blue) !important;
	box-shadow: none;
	color: var(--zset-blue) !important;
}

.wp-block-button.is-style-outline .wp-block-button__link:hover {
	background: var(--zset-blue) !important;
	color: #fff !important;
}

.zset-hero .wp-block-button.is-style-outline .wp-block-button__link {
	background: transparent !important;
	border-color: #fff !important;
	color: #fff !important;
}

.zset-hero .wp-block-button.is-style-outline .wp-block-button__link:hover {
	background: #fff !important;
	color: var(--zset-navy) !important;
}

.wp-block-search {
	margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}

.wp-block-search__inside-wrapper {
	align-items: stretch;
	display: flex;
	max-width: 44rem;
}

.wp-block-search__input {
	border-color: #9aabc0;
	border-radius: 0.65rem;
	min-width: 0;
}

.wp-block-search__button {
	margin-left: 0.55rem;
}

.wp-block-post-template {
	list-style: none;
	padding-left: 0;
}

.wp-block-post-template.is-layout-grid {
	align-items: stretch;
	gap: clamp(1rem, 2vw, 1.4rem);
}

.wp-block-post-template > li {
	height: 100%;
	margin: 0;
	min-width: 0;
}

.zset-card,
.post-card,
.document-card {
	background: #fff;
	border-color: var(--zset-border);
	border-radius: 0.85rem;
	box-shadow: 0 7px 24px rgba(11, 46, 89, 0.08);
	height: 100%;
	overflow: hidden;
	transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.zset-card:hover,
.post-card:hover,
.document-card:hover {
	border-color: #99bde9;
	box-shadow: 0 15px 34px rgba(11, 46, 89, 0.14);
	transform: translateY(-3px);
}

.zset-card {
	align-items: flex-start;
	display: flex;
	flex-direction: column;
	min-height: 15rem;
	padding: clamp(1.15rem, 2vw, 1.4rem);
}

.zset-card > *,
.document-card > *,
.post-card__body > * {
	margin-left: 0 !important;
	margin-right: 0 !important;
	max-width: 100% !important;
	text-align: left;
	width: 100%;
}

.zset-card :where(.wp-block-post-title, h2, h3),
.document-card :where(.wp-block-post-title, h2, h3),
.post-card :where(.wp-block-post-title, h2, h3) {
	color: var(--zset-navy);
	font-size: clamp(1.2rem, 1.08rem + 0.42vw, 1.48rem);
	line-height: 1.25;
	margin: 0.55rem 0 0.7rem;
}

.zset-card :where(.wp-block-post-title, h2, h3) a,
.document-card :where(.wp-block-post-title, h2, h3) a,
.post-card :where(.wp-block-post-title, h2, h3) a {
	color: inherit;
	text-decoration: none;
}

.zset-card :where(.wp-block-post-title, h2, h3) a:hover,
.document-card :where(.wp-block-post-title, h2, h3) a:hover,
.post-card :where(.wp-block-post-title, h2, h3) a:hover {
	color: var(--zset-blue);
	text-decoration: underline;
	text-decoration-thickness: 0.08em;
	text-underline-offset: 0.16em;
}

.zset-card .wp-block-post-terms {
	color: var(--zset-blue);
	font-size: 0.78rem !important;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.zset-card .wp-block-post-excerpt {
	margin-top: auto;
}

.zset-card .wp-block-post-excerpt,
.document-card .wp-block-post-excerpt,
.post-card .wp-block-post-excerpt {
	color: var(--zset-muted);
	font-size: 0.94rem;
	line-height: 1.6;
}

.wp-block-post-excerpt__more-link {
	color: var(--zset-blue);
	display: inline-flex;
	font-size: 0.9rem;
	font-weight: 800;
	margin-top: 0.45rem;
	text-decoration: none;
}

.wp-block-post-excerpt__more-link::after {
	content: " →";
	margin-left: 0.3rem;
}

.document-card {
	border-left: 5px solid var(--zset-teal);
	display: flex;
	flex-direction: column;
	min-height: 11.75rem;
	padding: clamp(1.1rem, 2vw, 1.4rem);
}

.wp-block-post-template > li:nth-child(even) .document-card {
	border-left-color: var(--zset-blue);
}

.document-card .wp-block-post-date,
.post-card .wp-block-post-date {
	color: var(--zset-muted);
	font-size: 0.8rem !important;
	margin-top: auto;
}

.post-card {
	display: flex;
	flex-direction: column;
}

.post-card .wp-block-post-featured-image img {
	transition: transform 220ms ease;
}

.post-card:hover .wp-block-post-featured-image img {
	transform: scale(1.025);
}

.post-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: clamp(1.05rem, 2vw, 1.3rem);
}

/* A quieter global footer with an unobtrusive implementation credit. */
.site-footer {
	font-size: 0.9rem;
	line-height: 1.55;
}

.site-footer__inner {
	padding-bottom: 1.35rem;
	padding-top: clamp(2.2rem, 4vw, 3.25rem);
}

.site-footer__grid {
	gap: clamp(1.25rem, 2.5vw, 2rem);
	grid-template-columns: 1.5fr repeat(3, 1fr);
}

.site-footer h2,
.site-footer h3 {
	font-size: 0.94rem;
	letter-spacing: 0.01em;
	margin-bottom: 0.65rem;
}

.site-footer p,
.site-footer address {
	color: #c6d5e7;
	font-size: 0.86rem;
	line-height: 1.55;
}

.site-footer ul {
	gap: 0.28rem;
}

.site-footer a {
	border-bottom: 1px solid transparent;
	color: #dbe7f5;
	font-size: 0.86rem;
	font-weight: 550;
	text-decoration: none;
	text-underline-offset: 0.14em;
}

.site-footer a:hover {
	border-bottom-color: rgba(255, 255, 255, 0.55);
	color: #fff;
}

.site-footer__bottom {
	align-items: center;
	display: flex;
	font-size: 0.78rem;
	gap: 0.75rem 2rem;
	justify-content: space-between;
	margin-top: 1.65rem;
	padding-top: 1rem;
}

.site-footer__bottom p {
	font-size: inherit;
	margin: 0;
}

.site-footer__credit {
	flex: 0 0 auto;
}

.site-footer__credit a {
	font-size: inherit;
	font-weight: 750;
}

html[data-links="underlined"] a {
	text-decoration: underline !important;
	text-decoration-thickness: 0.14em !important;
	text-underline-offset: 0.18em !important;
}

html[data-contrast="high"] {
	--zset-border: #000;
	filter: contrast(1.15);
}

html[data-contrast="high"] body,
html[data-contrast="high"] .surface-section,
html[data-contrast="high"] .breadcrumb-shell {
	background: #fff;
	color: #000;
}

html[data-contrast="high"] :where(h1, h2, h3, h4, h5, h6, p, li) {
	color: inherit;
}

html[data-contrast="high"] a {
	color: #001f70;
	text-decoration: underline;
	text-decoration-thickness: 0.14em;
}

html[data-contrast="high"] .zset-hero,
html[data-contrast="high"] .navy-section,
html[data-contrast="high"] .site-footer,
html[data-contrast="high"] .utility-bar {
	background: #000;
	color: #fff;
}

html[data-contrast="high"] :where(.zset-card, .audience-card, .info-card, .document-card) {
	border: 2px solid #000;
	box-shadow: none;
}

html[data-motion="reduced"] {
	scroll-behavior: auto;
}

html[data-motion="reduced"] *,
html[data-motion="reduced"] *::before,
html[data-motion="reduced"] *::after {
	animation-duration: 0.01ms !important;
	animation-iteration-count: 1 !important;
	scroll-behavior: auto !important;
	transition-duration: 0.01ms !important;
}

@media (max-width: 73.99rem) {
	:root {
		--zset-header-offset: 4rem;
	}

	.site-nav {
		background: #fff;
	}

	.utility-bar__inner {
		align-items: flex-start;
		flex-direction: column;
		gap: 0;
		padding-block: 0.35rem;
	}

	.utility-links {
		flex-wrap: wrap;
		gap: 0.15rem 0.8rem;
	}

	.brand-row {
		grid-template-columns: 1fr;
		padding-block: 0.9rem;
	}

	.header-search input {
		flex: 1 1 auto;
		max-width: none;
		min-width: 0;
		width: auto;
	}

	.header-search {
		justify-self: start;
		max-width: 18rem;
		width: min(100%, 18rem);
	}

	.header-search button {
		flex: 0 0 auto;
	}

	.site-nav__toggle {
		display: inline-flex;
	}

	.site-nav__menu {
		background: #fff;
		display: block;
		padding-bottom: 0.75rem;
	}

	.js .site-nav__menu {
		display: none;
	}

	.js .site-nav__menu.is-open {
		display: block;
	}

	.site-nav__menu > li > a,
	.site-nav summary {
		border-top: 1px solid var(--zset-border);
		color: #172033;
		font-size: 0.95rem;
		min-height: 3rem;
		padding-inline: 0.75rem;
	}

	.site-nav__menu > li {
		width: 100%;
	}

	.site-nav details {
		width: 100%;
	}

	.mega-panel,
	.mega-panel--two {
		border: 0;
		border-left: 4px solid #1559a8;
		border-radius: 0;
		box-shadow: none;
		display: grid;
		grid-template-columns: 1fr;
		margin: 0.2rem 0 0.8rem 0.75rem;
		max-width: none;
		padding: 1rem;
		position: static;
		width: calc(100% - 0.75rem);
	}

	.mega-panel a {
		min-height: 2.75rem;
		padding: 0.65rem 0.25rem;
	}

	.card-grid,
	.audience-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.wp-block-post-template.is-layout-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}

	.site-footer__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 39.99rem) {
	.brand-row {
		min-height: 0;
	}

	.site-brand__logo {
		height: 3.25rem;
	}

	.site-brand__name {
		font-size: 0.95rem;
	}

	.card-grid,
	.audience-grid,
	.stats-grid,
	.contact-grid,
	.site-footer__grid {
		grid-template-columns: 1fr;
	}

	.wp-block-post-template.is-layout-grid {
		grid-template-columns: 1fr !important;
	}

	.site-footer__bottom {
		align-items: flex-start;
		flex-direction: column;
	}

	.wp-block-search__inside-wrapper {
		flex-wrap: wrap;
		gap: 0.55rem;
	}

	.wp-block-search__button {
		margin-left: 0;
	}

	.accessibility-panel__controls {
		grid-template-columns: 1fr;
	}

	.zset-hero {
		padding-block: 3.5rem;
	}

	.zset-hero h1 {
		font-size: clamp(2.35rem, 11vw, 3rem);
		line-height: 1.1;
	}

	.zset-table-scroll::before {
		background: var(--zset-yellow);
		border-radius: 999px;
		color: var(--zset-navy);
		content: "Przesuń tabelę w bok →";
		display: table;
		font-size: 0.78rem;
		font-weight: 800;
		left: 0.7rem;
		margin: 0.65rem 0.7rem;
		padding: 0.35rem 0.7rem;
		position: sticky;
		z-index: 2;
	}

}

/* Strony redakcyjne oraz odświeżona strona główna. */
.editorial-hero {
	background:
		radial-gradient(circle at 87% 22%, rgba(35, 177, 166, 0.2), transparent 17rem),
		linear-gradient(135deg, #edf6ff 0%, #f3fbf9 100%);
	border-bottom: 1px solid #c8ddec;
	position: relative;
}

.editorial-hero--support {
	background:
		radial-gradient(circle at 88% 18%, rgba(244, 186, 66, 0.2), transparent 17rem),
		linear-gradient(135deg, #eef7ff, #f4fbf9);
}

.editorial-hero--exam,
.editorial-hero--calendar {
	background:
		linear-gradient(120deg, rgba(20, 89, 168, 0.08), rgba(35, 177, 166, 0.13)),
		#f8fbff;
}

.editorial-hero--admissions {
	background:
		radial-gradient(circle at 90% 15%, rgba(244, 186, 66, 0.2), transparent 16rem),
		linear-gradient(135deg, #edf6ff, #fffaf0);
}

.editorial-lead {
	color: var(--zset-muted);
	font-size: clamp(1.08rem, 1rem + 0.35vw, 1.3rem);
	line-height: 1.65;
	max-width: 72ch !important;
}

.editorial-page {
	padding-bottom: clamp(2.75rem, 5vw, 4.75rem);
}

.editorial-page > * {
	margin-left: auto !important;
	margin-right: auto !important;
	max-width: var(--zset-reading-width) !important;
	width: 100%;
}

.editorial-jump-nav {
	background: var(--zset-surface);
	border: 1px solid var(--zset-border);
	border-radius: 0.85rem;
	margin-block: 0 clamp(2rem, 4vw, 3.5rem);
	padding: 1rem 1.3rem;
}

.editorial-jump-nav ul {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.4rem;
	margin-bottom: 0;
}

.editorial-section {
	scroll-margin-top: var(--zset-header-offset);
}

.editorial-section + .editorial-section,
.editorial-page > .wp-block-columns + .editorial-section {
	border-top: 1px solid var(--zset-border);
	margin-top: clamp(2.75rem, 5vw, 4.5rem);
	padding-top: clamp(2rem, 4vw, 3rem);
}

.editorial-card {
	background: #fff;
	border: 1px solid var(--zset-border);
	border-radius: 0.9rem;
	border-top: 5px solid var(--zset-blue);
	box-shadow: var(--zset-shadow-small);
	height: 100%;
	padding: clamp(1.15rem, 2.2vw, 1.55rem);
	width: 100%;
}

.editorial-card h3 {
	color: var(--zset-navy);
	font-size: clamp(1.18rem, 1.08rem + 0.3vw, 1.42rem);
	margin-top: 0 !important;
}

.editorial-card p:last-child {
	margin-bottom: 0;
}

.support-topic-grid,
.support-role-grid,
.internat-benefits,
.internat-life-grid,
.exam-links-grid,
.foreign-admissions-grid {
	align-items: stretch !important;
	gap: clamp(1rem, 2vw, 1.35rem);
	margin-block: 1.5rem;
}

.support-topic-grid > .wp-block-column,
.support-role-grid > .wp-block-column,
.internat-benefits > .wp-block-column,
.internat-life-grid > .wp-block-column,
.exam-links-grid > .wp-block-column,
.foreign-admissions-grid > .wp-block-column {
	display: flex;
}

.support-topic-grid > .wp-block-column:nth-child(2) .editorial-card,
.foreign-admissions-grid > .wp-block-column:nth-child(2) .editorial-card {
	border-top-color: var(--zset-teal);
}

.support-topic-grid > .wp-block-column:nth-child(3) .editorial-card,
.foreign-admissions-grid > .wp-block-column:nth-child(3) .editorial-card {
	border-top-color: var(--zset-coral);
}

.support-role-grid {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.support-topic-grid {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.support-topic-grid > .wp-block-column:nth-child(3) {
	grid-column: 1 / -1;
}

.support-role-grid > .wp-block-column {
	min-width: 0;
}

.support-role-grid > .wp-block-column:nth-child(2) .support-role-card {
	border-top-color: var(--zset-teal);
}

.support-role-grid > .wp-block-column:nth-child(3) .support-role-card {
	border-top-color: var(--zset-yellow);
}

.support-role-grid > .wp-block-column:nth-child(4) .support-role-card {
	border-top-color: var(--zset-coral);
}

.editorial-steps {
	counter-reset: editorial-step;
	list-style: none;
	margin-block: 1.35rem 2rem;
	padding-left: 0 !important;
}

.editorial-steps > li {
	background: #fff;
	border: 1px solid var(--zset-border);
	border-radius: 0.8rem;
	box-shadow: var(--zset-shadow-small);
	counter-increment: editorial-step;
	margin-block: 0.75rem;
	min-height: 4rem;
	padding: 1rem 1.1rem 1rem 4.15rem;
	position: relative;
}

.editorial-steps > li::before {
	align-items: center;
	background: linear-gradient(135deg, var(--zset-blue), var(--zset-teal));
	border-radius: 50%;
	color: #fff;
	content: counter(editorial-step);
	display: flex;
	font-weight: 850;
	height: 2.35rem;
	justify-content: center;
	left: 1rem;
	position: absolute;
	top: 0.85rem;
	width: 2.35rem;
}

.support-hours {
	margin-top: clamp(2.5rem, 5vw, 4rem);
}

.content-prose .support-hours h2,
.content-prose .internat-current-info h2 {
	border-left: 0;
	font-size: clamp(1.35rem, 1.2rem + 0.4vw, 1.65rem);
	margin-top: 0;
	padding-left: 0;
}

.accessibility-status-card {
	background: #edf6ff;
	border-left: 6px solid var(--zset-blue);
	border-radius: 0 0.85rem 0.85rem 0;
	margin-block: 2rem;
	padding: 1.2rem 1.4rem;
}

.content-prose .accessibility-status-card h2 {
	border-left: 0;
	margin-top: 0;
	padding-left: 0;
}

.accessibility-dates {
	background: var(--zset-surface);
	border: 1px solid var(--zset-border);
	border-radius: 0.8rem;
	padding: 1rem 1rem 1rem 2.6rem !important;
}

.accessibility-contact {
	background: var(--zset-mint);
	border-radius: 0.9rem;
	margin-block: 2.25rem;
	padding: 1.2rem 1.5rem;
}

.internat-hero {
	padding-block: clamp(3rem, 7vw, 6rem);
}

.internat-hero > * {
	position: relative;
	z-index: 1;
}

.internat-benefits {
	margin-top: 0;
}

.internat-benefits .editorial-card {
	border-top-color: var(--zset-teal);
}

.internat-benefits > .wp-block-column:nth-child(2) .editorial-card {
	border-top-color: var(--zset-blue);
}

.internat-benefits > .wp-block-column:nth-child(3) .editorial-card {
	border-top-color: var(--zset-yellow);
}

.internat-info-columns {
	background: var(--zset-surface);
	border: 1px solid var(--zset-border);
	border-radius: 1rem;
	gap: clamp(1.5rem, 4vw, 3.5rem);
	margin-block: clamp(2.5rem, 5vw, 4rem);
	padding: clamp(1.25rem, 3vw, 2rem);
}

.content-prose .internat-info-columns h2 {
	margin-top: 0;
}

.internat-life-grid .info-card {
	background: #fff;
	border: 1px solid var(--zset-border);
	color: var(--zset-ink);
	width: 100%;
}

.internat-life-grid .info-card h3 {
	color: var(--zset-navy);
}

.exam-links-grid .editorial-card {
	display: flex;
	flex-direction: column;
}

.exam-links-grid .editorial-card p:last-child {
	margin-top: auto;
}

.exam-calendar-page .wp-block-details {
	background: #fff;
	border: 1px solid var(--zset-border);
	border-radius: 0.85rem;
	box-shadow: var(--zset-shadow-small);
	margin-block: 2rem;
	overflow: hidden;
	padding: 0;
}

.exam-calendar-page .wp-block-details summary {
	color: var(--zset-navy);
	cursor: pointer;
	font-weight: 800;
	padding: 1rem 1.25rem;
}

.exam-calendar-page .wp-block-details > .wp-block-table {
	border: 0;
	border-radius: 0;
	box-shadow: none;
	margin: 0;
}

.exam-calendar-table table {
	min-width: 54rem;
}

.exam-calendar-table th[scope="row"] {
	background: #edf5ff !important;
	color: var(--zset-navy) !important;
	font-weight: 800;
	min-width: 12rem;
}

.calendar-editor-note,
.foreign-forms {
	background: linear-gradient(135deg, #edf6ff, #eefaf8);
	border: 1px solid #bfd7e8;
	border-radius: 0.9rem;
	margin-block: 2.5rem;
	padding: clamp(1.2rem, 3vw, 1.8rem);
}

.content-prose .calendar-editor-note h2,
.content-prose .foreign-forms h2 {
	margin-top: 0;
}

.home-hero-v2 {
	background:
		radial-gradient(circle at 88% 12%, rgba(244, 186, 66, 0.34), transparent 17rem),
		radial-gradient(circle at 7% 85%, rgba(35, 177, 166, 0.24), transparent 20rem),
		linear-gradient(145deg, #071f3d, #0d396d 72%, #1559a8);
	min-height: min(47rem, calc(100vh - var(--zset-header-offset)));
	overflow: hidden;
	padding-block: clamp(4rem, 9vw, 7.5rem);
	position: relative;
}

.home-hero-v2::before {
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
	background-size: 44px 44px;
	content: "";
	inset: 0;
	mask-image: linear-gradient(to bottom, #000, transparent 82%);
	position: absolute;
}

.home-hero-columns {
	gap: clamp(2rem, 6vw, 5.5rem);
	position: relative;
	z-index: 1;
}

.home-hero-v2 h1 {
	font-size: clamp(2.75rem, 5.9vw, 5.45rem);
	letter-spacing: -0.045em;
	line-height: 0.98;
	max-width: 13ch;
}

.home-hero-v2 .hero-lead {
	font-size: clamp(1.1rem, 1rem + 0.5vw, 1.4rem);
	max-width: 59ch;
}

.home-hero-panel {
	backdrop-filter: blur(10px);
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.24);
	border-radius: 1.15rem;
	box-shadow: 0 24px 58px rgba(0, 0, 0, 0.2);
	color: #fff;
	padding: clamp(1.25rem, 3vw, 2rem);
}

.home-panel-label {
	color: var(--zset-yellow);
	font-size: 0.82rem;
	font-weight: 850;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.home-fact {
	align-items: center;
	border-top: 1px solid rgba(255, 255, 255, 0.2);
	gap: 1rem;
	padding-block: 1rem;
}

.home-fact p {
	color: #e7f1fc;
	line-height: 1.45;
	margin: 0;
}

.home-fact .home-fact__number {
	color: #fff;
	flex: 0 0 4.2rem;
	font-size: clamp(1.7rem, 1.45rem + 1vw, 2.35rem);
	font-weight: 900;
	letter-spacing: -0.04em;
}

.home-quick-access {
	align-items: center;
	background: #fff;
	border: 1px solid var(--zset-border);
	border-radius: 0.95rem;
	box-shadow: 0 14px 36px rgba(11, 46, 89, 0.12);
	display: flex;
	gap: 1rem 1.5rem;
	margin-top: -2rem !important;
	padding: 0.8rem 1.1rem;
	position: relative;
	z-index: 3;
}

.home-quick-access > p {
	flex: 0 0 auto;
	margin: 0;
}

.home-quick-access .wp-block-buttons {
	gap: 0.45rem;
}

.home-quick-access .wp-block-button__link {
	min-height: 2.65rem;
	padding: 0.55rem 0.85rem;
}

.home-audience-grid .audience-card {
	position: relative;
}

.home-card-index {
	color: #aac1dc !important;
	font-size: 0.82rem;
	font-weight: 850;
	letter-spacing: 0.12em;
	margin-bottom: 0.5rem;
}

.home-school-grid {
	align-items: stretch !important;
	gap: clamp(1rem, 2.4vw, 1.5rem);
}

.home-school-grid > .wp-block-column {
	display: flex;
}

.home-school-card {
	background: #fff;
	border: 1px solid var(--zset-border);
	border-radius: 1rem;
	box-shadow: var(--zset-shadow-small);
	display: flex;
	flex-direction: column;
	min-height: 18rem;
	overflow: hidden;
	padding: clamp(1.3rem, 2.7vw, 1.8rem);
	position: relative;
	width: 100%;
}

.home-school-card::after {
	background: var(--zset-blue);
	border-radius: 50%;
	content: "";
	height: 7rem;
	opacity: 0.08;
	position: absolute;
	right: -2rem;
	top: -2rem;
	width: 7rem;
}

.home-school-card--technical {
	border-top: 6px solid var(--zset-blue);
}

.home-school-card--lyceum {
	border-top: 6px solid var(--zset-teal);
}

.home-school-card--trade {
	border-top: 6px solid var(--zset-coral);
}

.home-school-card h3 {
	color: var(--zset-navy);
	font-size: clamp(1.45rem, 1.25rem + 0.55vw, 1.85rem);
	margin-top: 0.3rem;
}

.home-school-card p:last-child {
	margin-top: auto;
}

.home-strength-grid {
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-strength-grid .info-card {
	display: flex;
	flex-direction: column;
}

.home-strength-grid .info-card p:last-child {
	margin-top: auto;
}

.home-strength-grid .text-link {
	color: var(--zset-navy);
}

.home-recruitment-cta {
	background:
		radial-gradient(circle at 85% 20%, rgba(255, 255, 255, 0.18), transparent 14rem),
		linear-gradient(135deg, var(--zset-teal), #147b78);
	color: #fff;
}

.home-cta-inner {
	gap: 1.5rem 3rem;
}

.home-recruitment-cta h2,
.home-recruitment-cta p {
	color: #fff;
}

.home-recruitment-cta .section-kicker {
	color: #dffffa;
}

.home-recruitment-cta .wp-block-button__link {
	background: var(--zset-yellow);
	color: var(--zset-navy);
}

.home-recruitment-cta .is-style-outline .wp-block-button__link {
	background: transparent;
	border-color: #fff;
	color: #fff;
}

.home-local-seo {
	background: #f5f8fc;
	border-top: 1px solid var(--zset-border);
}

.home-local-seo h2 {
	color: var(--zset-navy);
	font-size: clamp(1.8rem, 1.5rem + 1vw, 2.7rem);
	max-width: 21ch;
}

.home-seo-columns {
	gap: clamp(1.5rem, 4vw, 3.5rem);
}

.home-local-seo p {
	color: #4d5c70;
	line-height: 1.75;
}

/* Plan lekcji oraz biblioteka filmów. */
.editorial-hero--schedule {
	background:
		radial-gradient(circle at 88% 20%, rgba(244, 186, 66, 0.25), transparent 17rem),
		linear-gradient(135deg, #edf6ff, #f6fbff);
}

.editorial-hero--media {
	background:
		radial-gradient(circle at 89% 18%, rgba(255, 107, 74, 0.18), transparent 17rem),
		radial-gradient(circle at 76% 82%, rgba(35, 177, 166, 0.18), transparent 16rem),
		linear-gradient(135deg, #edf5ff, #fff8f4);
}

.schedule-status {
	background:
		radial-gradient(circle at 90% 10%, rgba(255, 209, 102, 0.2), transparent 12rem),
		linear-gradient(135deg, var(--zset-navy), #124b8d);
	border-radius: 1rem;
	box-shadow: var(--zset-shadow);
	color: #fff;
	margin-bottom: clamp(2.75rem, 5vw, 4rem);
	overflow: hidden;
	padding: clamp(1.4rem, 3.5vw, 2.35rem);
}

.schedule-status h2,
.schedule-status p {
	color: #fff;
}

.content-prose .schedule-status h2,
.content-prose .schedule-help h2,
.content-prose .media-channel-cta h2 {
	border-left: 0;
	margin-top: 0;
	padding-left: 0;
}

.schedule-status .schedule-status__label {
	color: var(--zset-yellow);
	font-size: 0.84rem;
	font-weight: 850;
	letter-spacing: 0.1em;
	margin-bottom: 0.7rem;
	text-transform: uppercase;
}

.schedule-status > p:not(.schedule-status__label) {
	max-width: 72ch;
}

.schedule-status .wp-block-buttons {
	margin-top: 1.5rem;
}

.schedule-status .wp-block-button__link {
	background: var(--zset-yellow);
	color: var(--zset-navy);
}

.schedule-status .is-style-outline .wp-block-button__link {
	background: transparent;
	border-color: #fff;
	color: #fff;
}

.schedule-guidance-grid {
	align-items: stretch !important;
	display: grid !important;
	gap: clamp(1rem, 2vw, 1.35rem);
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.schedule-guidance-grid > .wp-block-column {
	display: flex;
}

.schedule-guidance-grid > .wp-block-column:nth-child(3) {
	grid-column: 1 / -1;
}

.schedule-guidance-grid > .wp-block-column:nth-child(2) .editorial-card {
	border-top-color: var(--zset-teal);
}

.schedule-guidance-grid > .wp-block-column:nth-child(3) .editorial-card {
	border-top-color: var(--zset-coral);
}

.schedule-card-index {
	color: var(--zset-blue);
	font-size: 0.8rem;
	font-weight: 900;
	letter-spacing: 0.12em;
	margin-bottom: 0.6rem;
}

.schedule-help,
.media-channel-cta {
	background: var(--zset-mint);
	border: 1px solid #b7ded8;
	border-radius: 1rem;
	gap: 1.25rem 2rem;
	margin-top: clamp(2.75rem, 5vw, 4.5rem);
	padding: clamp(1.25rem, 3vw, 2rem);
}

.schedule-help h2,
.media-channel-cta h2 {
	font-size: clamp(1.35rem, 1.2rem + 0.55vw, 1.85rem);
}

.schedule-help p,
.media-channel-cta p {
	margin-bottom: 0;
}

.media-videos-page > * {
	max-width: var(--zset-reading-width) !important;
}

.media-intro {
	gap: 1.25rem 3rem;
	margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}

.media-intro h2 {
	margin-bottom: 0.5rem;
}

.media-video-count {
	align-items: center;
	background: var(--zset-surface);
	border: 1px solid var(--zset-border);
	border-radius: 0.85rem;
	display: flex;
	flex: 0 0 auto;
	gap: 0.75rem;
	margin: 0;
	padding: 0.8rem 1rem;
}

.media-video-count strong {
	color: var(--zset-blue);
	font-size: 2rem;
	line-height: 1;
}

.media-video-count span {
	color: var(--zset-muted);
	font-size: 0.88rem;
	font-weight: 750;
	text-transform: uppercase;
}

.video-grid {
	display: grid;
	gap: clamp(1rem, 2.3vw, 1.5rem);
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.video-card {
	background: #fff;
	border: 1px solid var(--zset-border);
	border-radius: 1rem;
	box-shadow: var(--zset-shadow-small);
	display: flex;
	flex-direction: column;
	min-width: 0;
	overflow: hidden;
	transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.video-card:hover {
	border-color: #a9c8e8;
	box-shadow: 0 16px 38px rgba(11, 46, 89, 0.14);
	transform: translateY(-3px);
}

.video-card__thumbnail {
	background: #0b1b30;
	margin: 0 !important;
	overflow: hidden;
}

.video-card__thumbnail a {
	display: block;
	position: relative;
}

.video-card__thumbnail a::after {
	align-items: center;
	background: rgba(255, 255, 255, 0.94);
	border-radius: 50%;
	box-shadow: 0 7px 24px rgba(0, 0, 0, 0.26);
	color: #e53323;
	content: "▶";
	display: flex;
	font-size: 1.15rem;
	height: 3.65rem;
	justify-content: center;
	left: 50%;
	padding-left: 0.2rem;
	position: absolute;
	top: 50%;
	transform: translate(-50%, -50%);
	transition: transform 160ms ease;
	width: 3.65rem;
}

.video-card:hover .video-card__thumbnail a::after {
	transform: translate(-50%, -50%) scale(1.08);
}

.video-card__thumbnail img {
	aspect-ratio: 16 / 9;
	display: block;
	height: auto;
	object-fit: cover;
	transition: opacity 160ms ease, transform 220ms ease;
	width: 100%;
}

.video-card:hover .video-card__thumbnail img {
	opacity: 0.9;
	transform: scale(1.025);
}

.video-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 1.1rem 1.2rem 1.25rem;
}

.video-card__meta {
	color: var(--zset-blue);
	font-size: 0.76rem;
	font-weight: 850;
	letter-spacing: 0.08em;
	margin-bottom: 0.55rem;
	text-transform: uppercase;
}

.video-card h3 {
	font-size: clamp(1.08rem, 1rem + 0.22vw, 1.3rem);
	line-height: 1.3;
	margin: 0;
}

.video-card h3 a {
	color: var(--zset-navy);
	text-decoration: none;
}

.video-card h3 a:hover {
	color: var(--zset-blue);
	text-decoration: underline;
	text-decoration-thickness: 0.1em;
	text-underline-offset: 0.18em;
}

.video-card__body > p:last-child {
	margin-bottom: 0;
	margin-top: auto;
	padding-top: 1rem;
}

.media-channel-cta {
	background:
		radial-gradient(circle at 88% 20%, rgba(255, 255, 255, 0.16), transparent 11rem),
		linear-gradient(135deg, var(--zset-teal), #147b78);
	border: 0;
	color: #fff;
}

.media-channel-cta h2,
.media-channel-cta p {
	color: #fff;
}

.media-channel-cta .wp-block-button__link {
	background: var(--zset-yellow);
	color: var(--zset-navy);
}

/* Wpis informujący o uruchomieniu nowej strony. */
.launch-post {
	padding-bottom: clamp(1rem, 3vw, 2rem);
}

.launch-post > * {
	margin-left: auto !important;
	margin-right: auto !important;
	max-width: var(--zset-reading-width) !important;
	width: 100%;
}

.launch-post__lead {
	color: var(--zset-navy);
	font-size: clamp(1.22rem, 1.08rem + 0.55vw, 1.55rem);
	font-weight: 650;
	margin-bottom: clamp(1.75rem, 4vw, 3rem);
}

.launch-credit {
	background:
		radial-gradient(circle at 90% 15%, rgba(255, 209, 102, 0.2), transparent 12rem),
		linear-gradient(135deg, #edf6ff, #effaf8);
	border: 1px solid #bfd7e8;
	border-radius: 1rem;
	padding: clamp(1.3rem, 3vw, 2rem);
}

.content-prose .launch-credit h2,
.content-prose .launch-section > h2,
.content-prose .launch-update-notice h2 {
	border-left: 0;
	margin-top: 0;
	padding-left: 0;
}

.launch-section {
	border-top: 1px solid var(--zset-border);
	margin-top: clamp(2.75rem, 5vw, 4.5rem) !important;
	padding-top: clamp(2rem, 4vw, 3rem);
}

.launch-feature-grid,
.launch-link-grid {
	display: grid;
	gap: clamp(1rem, 2vw, 1.35rem);
	margin-top: 1.5rem;
}

.launch-feature-grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.launch-link-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.launch-feature-card,
.launch-link-card {
	background: #fff;
	border: 1px solid var(--zset-border);
	border-radius: 0.9rem;
	box-shadow: var(--zset-shadow-small);
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: clamp(1.1rem, 2.4vw, 1.5rem);
}

.launch-feature-card {
	border-top: 5px solid var(--zset-blue);
}

.launch-feature-card:nth-child(2) {
	border-top-color: var(--zset-teal);
}

.launch-feature-card:nth-child(3) {
	border-top-color: var(--zset-yellow);
}

.launch-feature-card:nth-child(4) {
	border-top-color: var(--zset-coral);
}

.launch-card-index {
	color: var(--zset-blue);
	font-size: 0.78rem;
	font-weight: 900;
	letter-spacing: 0.12em;
	margin-bottom: 0.6rem;
}

.launch-feature-card h3,
.launch-link-card h3 {
	color: var(--zset-navy);
	font-size: clamp(1.15rem, 1.05rem + 0.3vw, 1.4rem);
	margin-top: 0;
}

.launch-link-card h3 a {
	color: var(--zset-navy);
	text-decoration: none;
}

.launch-link-card h3 a:hover {
	color: var(--zset-blue);
	text-decoration: underline;
	text-decoration-thickness: 0.1em;
	text-underline-offset: 0.18em;
}

.launch-link-card > p:last-child {
	margin-top: auto;
	padding-top: 0.8rem;
}

.launch-update-notice {
	background: #fff7d6;
	border: 1px solid #e0b500;
	border-left: 7px solid #e0b500;
	border-radius: 0 0.9rem 0.9rem 0;
	margin-top: clamp(2.75rem, 5vw, 4.5rem) !important;
	padding: clamp(1.3rem, 3vw, 2rem);
}

.launch-update-notice .section-kicker {
	color: #6d5700;
}

.launch-post__closing {
	color: var(--zset-navy);
	font-size: clamp(1.15rem, 1.05rem + 0.35vw, 1.4rem);
	font-weight: 750;
	margin-top: clamp(2rem, 4vw, 3rem);
}

/* Mapa serwisu oraz dyrekcja. */
.editorial-hero--leadership {
	background:
		radial-gradient(circle at 88% 18%, rgba(255, 209, 102, 0.2), transparent 16rem),
		linear-gradient(135deg, #edf6ff, #f5fbff);
}

.editorial-hero--sitemap {
	background:
		radial-gradient(circle at 88% 18%, rgba(35, 177, 166, 0.18), transparent 17rem),
		linear-gradient(135deg, #edf6ff, #f2fbf9);
}

.leadership-primary {
	background:
		radial-gradient(circle at 90% 15%, rgba(255, 209, 102, 0.2), transparent 12rem),
		linear-gradient(135deg, var(--zset-navy), #124b8d);
	border-radius: 1rem;
	box-shadow: var(--zset-shadow);
	color: #fff;
	margin-bottom: clamp(1rem, 2vw, 1.35rem);
	padding: clamp(1.35rem, 3vw, 2.1rem);
}

.leadership-primary h2,
.leadership-primary p {
	color: #fff;
}

.content-prose .leadership-primary h2,
.content-prose .leadership-contact h2,
.content-prose .sitemap-search-panel h2,
.sitemap-card h2 {
	border-left: 0;
	margin-top: 0;
	padding-left: 0;
}

.leadership-role {
	color: var(--zset-blue);
	font-size: 0.8rem;
	font-weight: 850;
	letter-spacing: 0.09em;
	margin-bottom: 0.55rem;
	text-transform: uppercase;
}

.leadership-primary .leadership-role {
	color: var(--zset-yellow);
}

.leadership-grid {
	display: grid;
	gap: clamp(1rem, 2vw, 1.35rem);
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.leadership-card {
	background: #fff;
	border: 1px solid var(--zset-border);
	border-left: 5px solid var(--zset-blue);
	border-radius: 0.9rem;
	box-shadow: var(--zset-shadow-small);
	min-width: 0;
	padding: clamp(1.15rem, 2.5vw, 1.6rem);
}

.leadership-card:nth-child(2) {
	border-left-color: var(--zset-teal);
}

.leadership-card:nth-child(3) {
	border-left-color: var(--zset-yellow);
}

.leadership-card:nth-child(4) {
	border-left-color: var(--zset-coral);
}

.leadership-card h3 {
	color: var(--zset-navy);
	font-size: clamp(1.2rem, 1.08rem + 0.35vw, 1.5rem);
	margin: 0;
}

.leadership-contact {
	background: var(--zset-mint);
	border: 1px solid #b7ded8;
	border-radius: 1rem;
	gap: 1.25rem 2rem;
	margin-top: clamp(2.5rem, 5vw, 4rem);
	padding: clamp(1.25rem, 3vw, 2rem);
}

.leadership-contact h2 {
	font-size: clamp(1.35rem, 1.2rem + 0.55vw, 1.85rem);
}

.leadership-contact p {
	margin-bottom: 0;
}

.sitemap-search-panel {
	background: var(--zset-surface);
	border: 1px solid var(--zset-border);
	border-radius: 1rem;
	margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
	padding: clamp(1.25rem, 3vw, 2rem);
}

.sitemap-search-panel h2 {
	font-size: clamp(1.35rem, 1.2rem + 0.55vw, 1.85rem);
}

.sitemap-search .wp-block-search__inside-wrapper {
	margin-bottom: 0;
	max-width: 38rem;
}

.sitemap-grid {
	display: grid;
	gap: clamp(1rem, 2vw, 1.35rem);
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sitemap-card {
	background: #fff;
	border: 1px solid var(--zset-border);
	border-radius: 0.9rem;
	border-top: 5px solid var(--zset-blue);
	box-shadow: var(--zset-shadow-small);
	height: 100%;
	min-width: 0;
	padding: clamp(1.1rem, 2.4vw, 1.5rem);
}

.sitemap-card:nth-child(2),
.sitemap-card:nth-child(5) {
	border-top-color: var(--zset-teal);
}

.sitemap-card:nth-child(3),
.sitemap-card:nth-child(6) {
	border-top-color: var(--zset-coral);
}

.sitemap-card h2 {
	color: var(--zset-navy);
	font-size: clamp(1.2rem, 1.08rem + 0.35vw, 1.5rem);
}

.sitemap-card ul {
	list-style: none;
	margin: 1rem 0 0;
	padding: 0;
}

.sitemap-card li {
	border-top: 1px solid #e3ebf4;
	margin: 0;
	padding: 0.55rem 0;
}

.sitemap-card li:first-child {
	border-top: 0;
	padding-top: 0;
}

.sitemap-card a {
	font-weight: 700;
	text-decoration-thickness: 0.08em;
	text-underline-offset: 0.18em;
}

html[data-contrast="high"] .editorial-hero,
html[data-contrast="high"] .editorial-card,
html[data-contrast="high"] .accessibility-status-card,
html[data-contrast="high"] .calendar-editor-note,
html[data-contrast="high"] .foreign-forms,
html[data-contrast="high"] .home-school-card,
html[data-contrast="high"] .home-quick-access,
html[data-contrast="high"] .home-local-seo,
html[data-contrast="high"] .schedule-status,
html[data-contrast="high"] .schedule-help,
html[data-contrast="high"] .video-card,
html[data-contrast="high"] .media-video-count,
html[data-contrast="high"] .launch-credit,
html[data-contrast="high"] .launch-feature-card,
html[data-contrast="high"] .launch-link-card,
html[data-contrast="high"] .launch-update-notice,
html[data-contrast="high"] .leadership-primary,
html[data-contrast="high"] .leadership-card,
html[data-contrast="high"] .leadership-contact,
html[data-contrast="high"] .sitemap-search-panel,
html[data-contrast="high"] .sitemap-card {
	background: #fff;
	border: 2px solid #000;
	box-shadow: none;
	color: #000;
}

html[data-contrast="high"] .schedule-status h2,
html[data-contrast="high"] .schedule-status p {
	color: #000;
}

html[data-contrast="high"] .schedule-status .wp-block-button__link {
	background: #000;
	border-color: #000;
	color: #fff;
}

html[data-contrast="high"] .leadership-primary h2,
html[data-contrast="high"] .leadership-primary p {
	color: #000;
}

html[data-contrast="high"] .header-search {
	background: #fff;
	border: 2px solid #000;
}

html[data-contrast="high"] .home-hero-v2,
html[data-contrast="high"] .home-recruitment-cta,
html[data-contrast="high"] .media-channel-cta {
	background: #000;
	color: #fff;
}

@media (max-width: 73.99rem) {
	.support-role-grid,
	.home-strength-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.home-hero-columns {
		flex-direction: column;
	}

	.home-hero-columns > .wp-block-column {
		flex-basis: auto !important;
		width: 100%;
	}

	.home-hero-panel {
		display: grid;
		gap: 0 1rem;
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.home-panel-label {
		grid-column: 1 / -1;
	}

	.home-fact {
		align-items: flex-start;
		flex-direction: column;
	}

	.home-quick-access {
		align-items: flex-start;
		flex-direction: column;
	}

	.video-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.launch-link-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.sitemap-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 39.99rem) {
	.editorial-jump-nav ul {
		display: block;
	}

	.support-role-grid,
	.support-topic-grid,
	.home-strength-grid,
	.home-hero-panel {
		grid-template-columns: 1fr;
	}

	.support-topic-grid > .wp-block-column:nth-child(3) {
		grid-column: auto;
	}

	.editorial-steps > li {
		padding-left: 3.8rem;
	}

	.home-hero-v2 {
		min-height: 0;
		padding-block: 3.5rem 4.5rem;
	}

	.home-hero-v2 h1 {
		font-size: clamp(2.55rem, 12vw, 3.55rem);
	}

	.home-fact {
		align-items: center;
		flex-direction: row;
	}

	.home-quick-access {
		margin-inline: 0.75rem !important;
		width: calc(100% - 1.5rem);
	}

	.home-quick-access .wp-block-buttons,
	.home-quick-access .wp-block-button {
		width: 100%;
	}

	.home-quick-access .wp-block-button__link {
		justify-content: center;
		width: 100%;
	}

	.schedule-status .wp-block-buttons,
	.schedule-status .wp-block-button,
	.schedule-help .wp-block-buttons,
	.schedule-help .wp-block-button,
	.media-channel-cta .wp-block-buttons,
	.media-channel-cta .wp-block-button {
		width: 100%;
	}

	.schedule-status .wp-block-button__link,
	.schedule-help .wp-block-button__link,
	.media-channel-cta .wp-block-button__link {
		justify-content: center;
		width: 100%;
	}

	.video-grid {
		grid-template-columns: 1fr;
	}

	.media-video-count {
		width: 100%;
	}

	.launch-feature-grid,
	.launch-link-grid {
		grid-template-columns: 1fr;
	}

	.schedule-guidance-grid,
	.leadership-grid,
	.sitemap-grid {
		grid-template-columns: 1fr;
	}

	.schedule-guidance-grid > .wp-block-column:nth-child(3) {
		grid-column: auto;
	}

	.leadership-contact .wp-block-buttons,
	.leadership-contact .wp-block-button {
		width: 100%;
	}

	.leadership-contact .wp-block-button__link {
		justify-content: center;
		width: 100%;
	}
}

/* Standardy ochrony małoletnich: czytelny układ dla uczniów i rodziców. */
.minor-safety-header {
	background:
		radial-gradient(circle at 88% 20%, rgba(35, 177, 166, 0.18), transparent 18rem),
		linear-gradient(135deg, #edf6ff 0%, #f4fbfa 100%);
	border-bottom: 1px solid #c8ddec;
}

.minor-safety-header .minor-safety-lead {
	color: var(--zset-muted);
	font-size: clamp(1.08rem, 1rem + 0.35vw, 1.3rem);
	line-height: 1.65;
	max-width: 70ch !important;
}

.minor-safety-page {
	padding-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.minor-safety-page > * {
	margin-left: auto !important;
	margin-right: auto !important;
	max-width: var(--zset-reading-width) !important;
	width: 100%;
}

.minor-safety-emergency {
	background: linear-gradient(135deg, var(--zset-navy), #124b8d);
	border-radius: 1rem;
	box-shadow: var(--zset-shadow);
	color: #fff;
	margin-block: 0 clamp(2rem, 4vw, 3.5rem);
	overflow: hidden;
	padding: clamp(1.4rem, 3vw, 2.25rem);
	position: relative;
}

.minor-safety-emergency::after {
	background: var(--zset-yellow);
	border-radius: 50%;
	content: "";
	height: 8rem;
	opacity: 0.16;
	position: absolute;
	right: -2.5rem;
	top: -2.5rem;
	width: 8rem;
}

.content-prose .minor-safety-emergency h2 {
	border-left-color: var(--zset-yellow);
	color: #fff;
	margin-top: 0;
}

.minor-safety-emergency p,
.minor-safety-emergency a:not(.wp-element-button) {
	color: #fff;
}

.minor-safety-emergency .wp-block-button__link {
	background: var(--zset-yellow);
	color: var(--zset-navy);
}

.minor-safety-formal-note {
	margin-block: 0 clamp(1.5rem, 3vw, 2.5rem);
}

.minor-safety-formal-note p {
	margin-block: 0.4rem;
}

.minor-safety-jump-nav {
	background: var(--zset-surface);
	border: 1px solid var(--zset-border);
	border-radius: 0.85rem;
	margin-block: 0 clamp(2.5rem, 5vw, 4.5rem);
	padding: 1.15rem 1.35rem;
}

.minor-safety-jump-nav ul {
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem 1.25rem;
	margin-bottom: 0;
	padding-left: 1.15rem;
}

.minor-safety-section {
	scroll-margin-top: var(--zset-header-offset);
}

.minor-safety-section + .minor-safety-section,
.minor-safety-legal {
	border-top: 1px solid var(--zset-border);
	margin-top: clamp(3rem, 6vw, 5rem);
	padding-top: clamp(2.25rem, 4vw, 3.5rem);
}

.minor-safety-grid {
	align-items: stretch !important;
	gap: clamp(1rem, 2.5vw, 1.5rem);
	margin-block: 1.6rem;
}

.minor-safety-grid > .wp-block-column {
	display: flex;
}

.minor-safety-card {
	background: #fff;
	border: 1px solid var(--zset-border);
	border-radius: 0.9rem;
	box-shadow: var(--zset-shadow-small);
	height: 100%;
	padding: clamp(1.2rem, 2.5vw, 1.65rem);
	width: 100%;
}

.minor-safety-card--rights {
	border-top: 5px solid var(--zset-teal);
}

.minor-safety-card--stop {
	border-top: 5px solid var(--zset-coral);
}

.minor-safety-card--remember {
	background: var(--zset-mint);
	border-left: 5px solid var(--zset-teal);
	box-shadow: none;
	height: auto;
	margin-top: 1rem;
}

.content-prose .minor-safety-card h3 {
	margin-top: 0;
}

.minor-safety-steps {
	counter-reset: safety-step;
	list-style: none;
	margin-block: 1.5rem 2rem;
	padding-left: 0 !important;
}

.minor-safety-steps > li {
	background: #fff;
	border: 1px solid var(--zset-border);
	border-radius: 0.8rem;
	box-shadow: var(--zset-shadow-small);
	counter-increment: safety-step;
	margin-block: 0.8rem;
	min-height: 4rem;
	padding: 1rem 1.1rem 1rem 4.2rem;
	position: relative;
}

.minor-safety-steps > li::before {
	align-items: center;
	background: var(--zset-blue);
	border-radius: 50%;
	color: #fff;
	content: counter(safety-step);
	display: flex;
	font-size: 1rem;
	font-weight: 850;
	height: 2.35rem;
	justify-content: center;
	left: 1rem;
	position: absolute;
	top: 0.85rem;
	width: 2.35rem;
}

.minor-safety-full .wp-block-details {
	background: #fff;
	border: 1px solid var(--zset-border);
	border-radius: 0.8rem;
	box-shadow: var(--zset-shadow-small);
	margin-block: 0.8rem;
	overflow: hidden;
	padding: 0;
}

.minor-safety-full .wp-block-details summary {
	color: var(--zset-navy);
	cursor: pointer;
	font-size: 1.05rem;
	font-weight: 800;
	padding: 1rem 3rem 1rem 1.2rem;
	position: relative;
}

.minor-safety-full .wp-block-details summary:hover {
	background: #edf6ff;
}

.minor-safety-full .wp-block-details > :not(summary) {
	margin: 0;
	padding: 0 1.2rem 1.2rem;
}

.minor-safety-review {
	background: linear-gradient(135deg, #f1f7ff, #eefaf8);
	border-radius: 1rem;
	padding: clamp(1.25rem, 3vw, 2rem);
}

.minor-safety-legal {
	color: var(--zset-muted);
	font-size: 0.95rem;
}

.minor-safety-updated {
	font-size: 0.875rem;
}

html[data-contrast="high"] .minor-safety-header,
html[data-contrast="high"] .minor-safety-review,
html[data-contrast="high"] .minor-safety-card,
html[data-contrast="high"] .minor-safety-jump-nav,
html[data-contrast="high"] .minor-safety-full .wp-block-details {
	background: #fff;
	border: 2px solid #000;
	box-shadow: none;
	color: #000;
}

html[data-contrast="high"] .minor-safety-emergency {
	background: #000;
	border: 2px solid #fff;
}

@media (max-width: 39.99rem) {
	.minor-safety-jump-nav ul {
		display: block;
	}

	.minor-safety-steps > li {
		padding-left: 3.8rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}

@media (forced-colors: active) {
	* {
		box-shadow: none !important;
	}

	a,
	button,
	input,
	select,
	summary,
	textarea {
		forced-color-adjust: auto;
	}
}

@media print {
	.utility-bar,
	.site-nav,
	.header-search,
	.accessibility-panel,
	.site-footer,
	.wp-block-buttons {
		display: none !important;
	}

	a {
		color: #000;
		text-decoration: underline;
	}

	a[href^="http"]::after {
		content: " (" attr(href) ")";
		font-size: 0.8em;
	}
}
