/*
Theme Name: ZSO Opatów
Theme URI: https://zsopatow.pl/
Author: Zespół Szkół w Opatowie
Description: Autorski, responsywny motyw dla Zespołu Szkół w Opatowie z osobnymi kontekstami szkoły i przedszkola.
Version: 1.4.68
Requires at least: 6.5
Requires PHP: 8.0
Text Domain: zso-opatow
*/

:root {
	--navy-950: #071a2e;
	--navy-900: #0b2340;
	--navy-800: #11355c;
	--navy-700: #194b78;
	--red-600: #c72d3b;
	--red-500: #e34d59;
	--yellow-500: #f2b63d;
	--yellow-300: #ffe49a;
	--mint-100: #e8f4f1;
	--sky-100: #eaf2fb;
	--school-primary: #3d5968;
	--school-primary-deep: #304957;
	--school-soft: #edf1f3;
	--school-border: #b8c5cb;
	--preschool-primary: #536d59;
	--preschool-primary-deep: #435849;
	--preschool-soft: #eff3ee;
	--preschool-border: #c0cbbf;
	--warm-50: #fbfaf7;
	--warm-100: #f4f1ea;
	--white: #fff;
	--ink: #172231;
	--muted: #5f6b79;
	--line: #dfe4e8;
	--context: var(--red-600);
	--context-soft: #faecee;
	--focus-ring: #075fae;
	--shadow-sm: 0 8px 24px rgba( 7, 26, 46, 0.08 );
	--shadow-md: 0 16px 42px rgba( 7, 26, 46, 0.12 );
	--shadow-lg: 0 24px 70px rgba( 7, 26, 46, 0.14 );
	--radius-sm: 12px;
	--radius-md: 22px;
	--radius-lg: 34px;
	--container: 1200px;
	--font-display: "Aptos Display", "Segoe UI", Arial, sans-serif;
	--font-body: "Aptos", "Segoe UI", Arial, sans-serif;
}

.zso-context-school {
	--context: var(--red-600);
	--context-soft: #faecee;
	--context-primary: var(--school-primary);
	--context-primary-deep: var(--school-primary-deep);
	--context-primary-soft: var(--school-soft);
	--context-border: var(--school-border);
	--heading-color: var(--school-primary-deep);
}

.zso-context-preschool {
	--context: var(--preschool-primary);
	--context-soft: var(--preschool-soft);
	--context-primary: var(--preschool-primary);
	--context-primary-deep: var(--preschool-primary-deep);
	--context-primary-soft: var(--preschool-soft);
	--context-border: var(--preschool-border);
	--heading-color: var(--preschool-primary-deep);
}

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

html {
	scroll-behavior: smooth;
	scroll-padding-top: 24px;
}

html.zso-wheel-scrolling {
	scroll-behavior: auto;
}

body {
	margin: 0;
	background: var(--warm-50);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

body.menu-is-open {
	overflow: hidden;
}

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

a {
	color: inherit;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

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

/* Jeden, wyraźny fokus dla wszystkich sposobów obsługi klawiaturą. */
:where( a[href], button, input, textarea, select, summary, [tabindex] ):focus-visible {
	outline: 3px solid var(--focus-ring);
	outline-offset: 3px;
	box-shadow: 0 0 0 6px rgba( 255, 255, 255, 0.96 );
}

:where( [id], a[href], button, input, textarea, select, summary, [tabindex] ) {
	scroll-margin-block: 24px;
}

svg {
	display: block;
	width: 1.25em;
	height: 1.25em;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

h1,
h2,
h3,
h4 {
	color: var(--heading-color, var(--navy-900));
	font-family: var(--font-display);
	font-weight: 800;
	letter-spacing: -0.035em;
	line-height: 1.08;
}

h1 {
	font-size: clamp( 2.6rem, 5vw, 5.6rem );
}

h2 {
	font-size: clamp( 2rem, 3.5vw, 3.35rem );
}

h3 {
	font-size: clamp( 1.25rem, 2vw, 1.65rem );
}

p {
	margin-top: 0;
}

.zso-container {
	width: min( calc( 100% - 40px ), var(--container) );
	margin-inline: auto;
}

.skip-link {
	position: fixed;
	top: 8px;
	left: 8px;
	z-index: 99999;
	padding: 12px 18px;
	border-radius: 8px;
	background: var(--white);
	color: var(--navy-900);
	font-weight: 700;
	transform: translateY( -150% );
}

.skip-link:focus {
	transform: translateY( 0 );
}

.skip-link:focus-visible {
	outline-color: var(--focus-ring);
}

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

.site-header {
	position: relative;
	z-index: 100;
	background: rgba( 255, 255, 255, 0.98 );
	box-shadow: 0 1px 0 rgba( 7, 26, 46, 0.08 );
}

.utility-bar {
	background: var(--navy-950);
	color: rgba( 255, 255, 255, 0.78 );
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.02em;
}

.utility-bar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 36px;
}

.entity-switcher,
.utility-links {
	display: flex;
	align-items: stretch;
	gap: 4px;
}

.entity-switcher a,
.utility-links a {
	display: flex;
	align-items: center;
	min-height: 36px;
	padding: 0 11px;
	color: inherit;
	text-decoration: none;
}

.entity-switcher a:hover,
.entity-switcher a:focus-visible,
.entity-switcher a.is-active,
.utility-links a:hover,
.utility-links a:focus-visible {
	background: rgba( 255, 255, 255, 0.11 );
	color: var(--white);
}

.entity-switcher a.is-active {
	box-shadow: inset 0 -3px 0 var(--yellow-500);
}

.brand-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 104px;
	gap: 24px;
}

.site-brand {
	display: inline-flex;
	align-items: center;
	gap: 16px;
	color: var(--navy-900);
	text-decoration: none;
}

.site-brand__mark {
	display: grid;
	place-items: center;
	width: 80px;
	height: 80px;
	flex: 0 0 80px;
}

.site-brand__mark img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.site-brand__text {
	display: flex;
	flex-direction: column;
	line-height: 1.2;
}

.site-brand__text strong {
	font-size: clamp( 1.05rem, 2vw, 1.45rem );
	letter-spacing: -0.025em;
}

.site-brand__text small {
	max-width: 520px;
	margin-top: 5px;
	color: var(--muted);
	font-size: 0.78rem;
}

.brand-actions {
	display: flex;
	align-items: center;
	gap: 8px;
}

.school-facebook-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	padding: 0 15px;
	border: 1px solid var(--school-border);
	border-radius: 999px;
	background: var(--school-soft);
	color: var(--school-primary-deep);
	font-size: 0.82rem;
	font-weight: 800;
	text-decoration: none;
	transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease;
}

.school-facebook-link svg {
	width: 19px;
	height: 19px;
	fill: currentColor;
}

.school-facebook-link:hover,
.school-facebook-link:focus-visible {
	border-color: var(--school-primary);
	background: var(--school-primary);
	color: var(--white);
}

.header-search {
	position: relative;
}

.header-search summary {
	list-style: none;
}

.header-search summary::-webkit-details-marker {
	display: none;
}

.header-search form {
	position: absolute;
	z-index: 30;
	top: calc( 100% + 12px );
	right: 0;
	display: flex;
	width: min( 430px, calc( 100vw - 32px ) );
	padding: 10px;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	background: var(--white);
	box-shadow: var(--shadow-md);
}

.header-search form label {
	flex: 1;
}

.header-search input {
	width: 100%;
	height: 44px;
	padding: 0 14px;
	border: 1px solid var(--line);
	border-radius: 999px 0 0 999px;
	font: inherit;
}

.header-search button {
	height: 44px;
	padding: 0 18px;
	border: 0;
	border-radius: 0 999px 999px 0;
	background: var(--yellow-500);
	color: var(--navy-950);
	font-weight: 800;
	cursor: pointer;
}

.round-action,
.menu-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: var(--white);
	color: var(--navy-900);
	text-decoration: none;
	cursor: pointer;
}

.round-action:hover,
.menu-toggle:hover {
	border-color: var(--navy-900);
}

.menu-toggle {
	display: none;
	gap: 8px;
	padding-inline: 15px;
	font-size: 0.88rem;
	font-weight: 800;
}

.menu-toggle__close {
	display: none;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__open {
	display: none;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__close {
	display: block;
}

.nav-shell {
	border-top: 1px solid var(--line);
}

.nav-shell__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}

.main-navigation {
	min-width: 0;
}

.main-menu,
.main-menu ul,
.footer-menu {
	padding: 0;
	margin: 0;
	list-style: none;
}

.main-menu {
	display: flex;
	align-items: stretch;
	gap: 2px;
}

.main-menu > li {
	position: relative;
}

.main-menu > li > a {
	display: flex;
	align-items: center;
	min-height: 54px;
	padding: 0 15px;
	color: var(--navy-900);
	font-size: 0.91rem;
	font-weight: 750;
	text-decoration: none;
}

.main-menu > li > a:hover,
.main-menu > li > a:focus-visible,
.main-menu > .current-menu-item > a,
.main-menu > .current-menu-ancestor > a {
	box-shadow: inset 0 -3px 0 var(--context);
	color: var(--context);
}

.main-menu .menu-item-has-children > a::after {
	content: "";
	width: 6px;
	height: 6px;
	margin-left: 8px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: translateY( -2px ) rotate( 45deg );
}

.main-menu .sub-menu {
	position: absolute;
	top: calc( 100% - 1px );
	left: 0;
	min-width: 260px;
	padding: 10px;
	border: 1px solid var(--line);
	border-radius: 0 0 16px 16px;
	background: var(--white);
	box-shadow: var(--shadow-lg);
	opacity: 0;
	pointer-events: none;
	transform: translateY( 8px );
	transition: 180ms ease;
}

.main-menu li:hover > .sub-menu,
.main-menu li:focus-within > .sub-menu {
	opacity: 1;
	pointer-events: auto;
	transform: translateY( 0 );
}

.main-menu .sub-menu a {
	display: block;
	padding: 10px 12px;
	border-radius: 9px;
	color: var(--navy-900);
	font-size: 0.9rem;
	font-weight: 650;
	text-decoration: none;
}

.main-menu .sub-menu a:hover,
.main-menu .sub-menu a:focus-visible {
	background: var(--context-soft);
	color: var(--context);
}

.desktop-quick-links {
	display: flex;
	align-items: center;
	gap: 8px;
	flex: 0 0 auto;
}

.mobile-service-links {
	display: none;
}

.quick-login {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	min-height: 36px;
	padding: 0 12px;
	border-radius: 999px;
	font-size: 0.76rem;
	font-weight: 800;
	text-decoration: none;
}

.quick-login svg {
	width: 16px;
	height: 16px;
}

.service-brand-icon {
	display: block;
	flex: 0 0 auto;
	width: 24px;
	height: 24px;
	object-fit: contain;
}

.service-brand-icon--utility {
	width: 16px;
	height: 16px;
	margin-right: 6px;
}

.service-brand-icon--quick {
	width: 19px;
	height: 19px;
}

.quick-login--vulcan {
	background: #f9ecee;
	color: #a91f2e;
}

.quick-login--office {
	background: #e9f1fb;
	color: #185a9d;
}

.notice-strip {
	background: var(--yellow-500);
	color: var(--navy-950);
	font-size: 0.9rem;
}

.notice-strip__inner {
	display: flex;
	align-items: center;
	gap: 15px;
	min-height: 46px;
}

.notice-strip__inner p {
	margin: 0;
	flex: 1;
}

.notice-strip__items {
	display: flex;
	align-items: center;
	gap: 0;
	min-width: 0;
	flex: 1;
}

.notice-strip__item {
	min-width: 0;
	flex: 1 1 0;
	padding-inline: 14px;
	border-left: 1px solid rgba( 11, 35, 64, 0.22 );
}

.notice-strip__item:first-child {
	padding-left: 0;
	border-left: 0;
}

.notice-strip__item span {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.notice-strip__label {
	padding: 3px 9px;
	border-radius: 999px;
	background: var(--navy-950);
	color: var(--white);
	font-size: 0.7rem;
	font-weight: 850;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.notice-strip__inner a,
.text-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 800;
	text-decoration: none;
}

.notice-strip__inner a svg,
.text-link svg {
	width: 18px;
	height: 18px;
	transition: transform 180ms ease;
}

.notice-strip__inner a:hover svg,
.text-link:hover svg {
	transform: translateX( 4px );
}

.split-hero {
	--split-hero-background: #f7f4ec;
	position: relative;
	overflow: hidden;
	background: var(--split-hero-background);
	isolation: isolate;
}

.split-hero--home {
	--split-hero-background: #f7f4ec;
	--split-hero-photo-left: -92px;
	--split-hero-photo-position: 52% center;
	--split-hero-photo-tint: linear-gradient( 90deg, rgba( 247, 244, 236, 0.22 ), rgba( 247, 244, 236, 0.13 ) 58%, rgba( 11, 35, 64, 0.08 ) 100% );
	--split-hero-veil: linear-gradient( 90deg, #f7f4ec 0%, #f7f4ec 34%, rgba( 247, 244, 236, 0.98 ) 40%, rgba( 247, 244, 236, 0.88 ) 47%, rgba( 247, 244, 236, 0.64 ) 55%, rgba( 247, 244, 236, 0.38 ) 63%, rgba( 247, 244, 236, 0.18 ) 73%, rgba( 247, 244, 236, 0.08 ) 100% ), radial-gradient( ellipse at 58% 48%, rgba( 255, 255, 255, 0.18 ), rgba( 255, 255, 255, 0.05 ) 34%, transparent 66% );
}

.split-hero--school {
	--split-hero-background: var(--school-primary);
	--split-hero-photo-left: 8px;
	--split-hero-photo-position: 22% center;
	--split-hero-photo-filter: saturate( 0.74 ) contrast( 0.94 ) brightness( 0.98 );
	--split-hero-photo-tint: linear-gradient( 90deg, rgba( 61, 89, 104, 0.16 ), rgba( 61, 89, 104, 0.08 ) 54%, rgba( 255, 255, 255, 0.035 ) 78%, transparent 100% );
	--split-hero-veil: linear-gradient( 90deg, #3d5968 0%, #3d5968 34%, rgba( 61, 89, 104, 0.98 ) 40%, rgba( 61, 89, 104, 0.84 ) 47%, rgba( 61, 89, 104, 0.57 ) 54%, rgba( 238, 242, 243, 0.26 ) 63%, rgba( 255, 255, 255, 0.09 ) 73%, transparent 88% ), radial-gradient( ellipse at 58% 48%, rgba( 255, 255, 255, 0.2 ), rgba( 255, 255, 255, 0.05 ) 36%, transparent 67% );
}

.split-hero--preschool {
	--split-hero-background: var(--preschool-primary);
	--split-hero-photo-left: -36px;
	--split-hero-photo-position: 40% center;
	--split-hero-photo-filter: saturate( 0.74 ) contrast( 0.94 ) brightness( 0.98 );
	--split-hero-photo-tint: linear-gradient( 90deg, rgba( 83, 109, 89, 0.16 ), rgba( 83, 109, 89, 0.08 ) 54%, rgba( 255, 255, 255, 0.035 ) 78%, transparent 100% );
	--split-hero-veil: linear-gradient( 90deg, #536d59 0%, #536d59 34%, rgba( 83, 109, 89, 0.98 ) 40%, rgba( 83, 109, 89, 0.84 ) 47%, rgba( 83, 109, 89, 0.57 ) 54%, rgba( 239, 243, 238, 0.26 ) 63%, rgba( 255, 255, 255, 0.09 ) 73%, transparent 88% ), radial-gradient( ellipse at 58% 48%, rgba( 255, 255, 255, 0.2 ), rgba( 255, 255, 255, 0.05 ) 36%, transparent 67% );
}

.split-hero__media {
	position: absolute;
	inset: 0 0 0 31%;
	z-index: 0;
}

.split-hero__media.scroll-pan {
	position: absolute;
}

.split-hero__media::after {
	position: absolute;
	inset: 0;
	z-index: 2;
	background: var(--split-hero-photo-tint, rgba( 11, 35, 64, 0.08 ) );
	content: '';
	pointer-events: none;
}

.split-hero__media.scroll-pan img {
	left: var(--split-hero-photo-left, -92px);
	width: calc( 100% + 184px );
	height: 100%;
	filter: var(--split-hero-photo-filter, saturate( 0.62 ) contrast( 0.9 ) brightness( 0.94 ));
	object-position: var(--split-hero-photo-position, 50% center);
}

.split-hero__dissolve {
	position: absolute;
	inset: 0;
	z-index: 3;
	width: 100%;
	background: var(--split-hero-veil);
	-webkit-mask: none;
	mask: none;
	content: '';
	pointer-events: none;
}

.split-hero__inner {
	position: absolute;
	inset: 0;
	z-index: 50;
	width: min( calc( 100% - 40px ), var(--container) );
	margin: auto;
	transform: translate3d( 0, 0, 0 );
}

.home-hero {
	min-height: 475px;
}

.home-hero__grid {
	display: grid;
	grid-template-columns: minmax( 0, 0.95fr ) minmax( 430px, 1.05fr );
	align-items: center;
	min-height: 475px;
	padding-block: 46px 52px;
}

.home-hero__content {
	position: relative;
	z-index: 11;
	grid-column: 1;
	max-width: 560px;
	color: var(--ink);
	opacity: 1;
	visibility: visible;
}

.eyebrow {
	margin-bottom: 10px;
	color: var(--context);
	font-size: 0.76rem;
	font-weight: 850;
	letter-spacing: 0.13em;
	text-transform: uppercase;
}

.home-hero h1 {
	max-width: 560px;
	margin: 0 0 18px;
	font-size: clamp( 2.55rem, 3.65vw, 3.8rem );
}

.hero-lead {
	max-width: 500px;
	margin-bottom: 22px;
	color: var(--muted);
	font-size: clamp( 1.05rem, 2vw, 1.28rem );
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 46px;
	padding: 0 20px;
	border: 1px solid transparent;
	border-radius: 999px;
	font-size: 0.9rem;
	font-weight: 800;
	text-decoration: none;
	transition: transform 180ms ease, box-shadow 180ms ease;
}

.button:hover {
	transform: translateY( -2px );
}

.button--primary {
	background: var(--context-primary, var(--navy-900));
	box-shadow: 0 10px 28px rgba( 11, 35, 64, 0.2 );
	color: var(--white);
}

.button--primary:hover {
	box-shadow: 0 14px 32px rgba( 11, 35, 64, 0.28 );
}

.button--ghost {
	border-color: #bdc8ce;
	background: rgba( 255, 255, 255, 0.62 );
	color: var(--navy-900);
}

.scroll-pan {
	--photo-pan-x: 0px;
	position: relative;
	overflow: hidden;
}

.scroll-pan picture {
	display: block;
	width: 100%;
	height: 100%;
}

.scroll-pan img {
	position: relative;
	left: -52px;
	display: block;
	width: calc( 100% + 104px );
	max-width: none;
	height: 100%;
	object-fit: cover;
	transform: translate3d( var(--photo-pan-x), 0, 0 ) scale( 1.015 );
	transform-origin: center;
	will-change: transform;
}

.page-building-photo::after {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient( 180deg, transparent 36%, rgba( 7, 26, 46, 0.78 ) 100% );
	content: '';
	pointer-events: none;
}


.hero-shape--sun {
	position: absolute;
	top: 10px;
	right: 14%;
	width: 72px;
	height: 72px;
	border-radius: 50%;
	background: var(--yellow-500);
	box-shadow: 0 0 0 22px rgba( 242, 182, 61, 0.14 );
}

.hero-card {
	position: absolute;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	width: 240px;
	height: 245px;
	padding: 22px;
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-lg);
	overflow: hidden;
}

.hero-card::before {
	content: "";
	position: absolute;
	top: -45px;
	right: -45px;
	width: 150px;
	height: 150px;
	border: 22px solid rgba( 255, 255, 255, 0.17 );
	border-radius: 50%;
}

.hero-card > svg {
	position: absolute;
	top: 22px;
	left: 22px;
	width: 54px;
	height: 54px;
	stroke-width: 1.25;
}

.hero-card strong {
	font-family: var(--font-display);
	font-size: 1.55rem;
	letter-spacing: -0.03em;
}

.hero-card span {
	font-size: 0.88rem;
	opacity: 0.78;
}

.hero-card--school {
	top: 10px;
	left: 0;
	background: var(--school-primary);
	color: var(--white);
	transform: rotate( -4deg );
}

.hero-card--preschool {
	right: 0;
	bottom: 0;
	background: var(--preschool-primary);
	color: var(--white);
	transform: rotate( 4deg );
}

.hero-doodle {
	position: absolute;
	border: 4px solid var(--red-500);
	border-radius: 50%;
}

.hero-doodle--one {
	bottom: 25px;
	left: 30px;
	width: 42px;
	height: 42px;
	border-right-color: transparent;
}

.hero-doodle--two {
	top: 130px;
	right: -20px;
	width: 32px;
	height: 32px;
	border-color: var(--yellow-500);
	border-left-color: transparent;
}

.login-hub {
	position: relative;
	z-index: 2;
	padding: 28px 0;
	background: var(--navy-900);
	color: var(--white);
}

.login-hub h2,
.login-hub .eyebrow {
	color: var(--white);
}

.login-hub .section-heading > p {
	color: rgba( 255, 255, 255, 0.66 );
}

.login-cards {
	display: grid;
	grid-template-columns: repeat( 2, minmax( 0, 1fr ) );
	gap: 16px;
}

.login-card {
	display: grid;
	grid-template-columns: 48px 1fr auto;
	align-items: center;
	gap: 14px;
	min-height: 72px;
	padding: 11px 16px;
	border: 1px solid rgba( 255, 255, 255, 0.15 );
	border-radius: var(--radius-md);
	background: rgba( 255, 255, 255, 0.08 );
	color: var(--white);
	text-decoration: none;
	transition: 180ms ease;
}

.login-card:hover {
	background: rgba( 255, 255, 255, 0.14 );
	transform: translateY( -3px );
}

.login-card__icon {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border-radius: 15px;
	background: var(--white);
}

.login-card--vulcan .login-card__icon {
	color: var(--red-600);
}

.login-card--office .login-card__icon {
	color: #2169ad;
}

.login-card__icon svg {
	width: 25px;
	height: 25px;
}

.login-card__icon .service-brand-icon--card {
	width: 32px;
	height: 32px;
}

.login-card small,
.login-card strong {
	display: block;
}

.login-card small {
	margin-bottom: 3px;
	font-size: 0.75rem;
	opacity: 0.68;
}

.login-card strong {
	font-size: 1.12rem;
}

.login-card > svg {
	width: 23px;
	height: 23px;
}

.pathways,
.news-section,
.quick-info {
	padding: 36px 0;
}

.pathways {
	padding-bottom: 32px;
}

.news-section {
	padding-top: 32px;
}

.section-heading {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 28px;
	margin-bottom: 20px;
}

.section-heading--compact {
	align-items: center;
	margin-bottom: 12px;
}

.section-heading h2,
.section-heading p {
	margin-top: 0;
}

.section-heading h2 {
	margin-bottom: 0;
}

.section-heading > p {
	max-width: 420px;
	margin-bottom: 2px;
	color: var(--muted);
}

.pathway-grid {
	display: grid;
	grid-template-columns: repeat( 2, minmax( 0, 1fr ) );
	gap: 18px;
}

.pathway-card {
	position: relative;
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 18px;
	min-height: 168px;
	padding: 24px;
	border-radius: var(--radius-lg);
	color: var(--white);
	text-decoration: none;
	overflow: hidden;
	transition: transform 180ms ease, box-shadow 180ms ease;
}

.pathway-card:hover {
	box-shadow: var(--shadow-lg);
	transform: translateY( -5px );
}

.pathway-card::after {
	content: "";
	position: absolute;
	right: -60px;
	bottom: -80px;
	width: 240px;
	height: 240px;
	border: 28px solid rgba( 255, 255, 255, 0.08 );
	border-radius: 50%;
}

.pathway-card--school {
	background: var(--school-primary);
}

.pathway-card--preschool {
	background: var(--preschool-primary);
}

.pathway-card__number {
	position: absolute;
	top: 16px;
	right: 20px;
	font-size: 0.75rem;
	font-weight: 800;
	opacity: 0.88;
}

.pathway-card__icon {
	display: grid;
	place-items: center;
	width: 60px;
	height: 60px;
	border-radius: 19px;
	background: rgba( 255, 255, 255, 0.12 );
}

.pathway-card__icon svg {
	width: 32px;
	height: 32px;
}

.pathway-card__content {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.pathway-card__content small {
	margin-bottom: 4px;
	font-size: 0.76rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	opacity: 0.9;
}

.pathway-card__content strong {
	font-family: var(--font-display);
	font-size: clamp( 1.5rem, 3vw, 2.1rem );
	line-height: 1.1;
}

.pathway-card__content > span {
	max-width: 390px;
	margin-top: 6px;
	font-size: 0.9rem;
	opacity: 0.9;
}

.pathway-card__arrow {
	position: relative;
	z-index: 2;
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--white);
	color: var(--navy-900);
}

.news-section,
.section-muted {
	background: var(--white);
}

.news-layout {
	display: grid;
	grid-template-columns: minmax( 0, 1.25fr ) minmax( 340px, 0.75fr );
	gap: 28px;
}

.featured-story {
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	background: var(--white);
	overflow: hidden;
}

.story-media {
	position: relative;
	display: block;
	aspect-ratio: 16 / 9;
	background: var(--sky-100);
	overflow: hidden;
}

.story-card__media {
	position: relative;
	background:
		radial-gradient( circle at 75% 25%, rgba( 242, 182, 61, 0.24 ), transparent 28% ),
		linear-gradient( 135deg, var(--sky-100), var(--mint-100) );
}

.story-media img,
.story-card__media img,
.post-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 300ms ease;
}

.card-media-shell {
	position: relative;
	min-width: 0;
}

.post-card-gallery {
	position: absolute;
	inset: 0;
	display: block;
}

.story-media .post-card-gallery__image,
.story-card__media .post-card-gallery__image,
.post-card__media .post-card-gallery__image,
.preschool-feature__media .post-card-gallery__image {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity 550ms ease, transform 300ms ease;
}

.story-media .post-card-gallery__image.is-active,
.story-card__media .post-card-gallery__image.is-active,
.post-card__media .post-card-gallery__image.is-active,
.preschool-feature__media .post-card-gallery__image.is-active {
	opacity: 1;
}

.card-gallery-toggle {
	position: absolute;
	right: 10px;
	bottom: 10px;
	z-index: 3;
	display: none;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 1px solid rgba( 255, 255, 255, 0.72 );
	border-radius: 999px;
	background: rgba( 7, 26, 46, 0.78 );
	box-shadow: 0 5px 16px rgba( 7, 26, 46, 0.24 );
	color: var(--white);
	cursor: pointer;
	backdrop-filter: blur( 6px );
}

.card-media-shell.card-gallery-ready > .card-gallery-toggle {
	display: inline-flex;
}

.card-gallery-toggle:hover,
.card-gallery-toggle:focus-visible {
	background: var(--navy-900);
}

.card-gallery-toggle:focus-visible {
	outline: 3px solid var(--yellow-300);
	outline-offset: 2px;
}

.card-gallery-toggle__icon {
	position: relative;
	display: block;
	width: 13px;
	height: 14px;
}

.card-gallery-toggle__icon::before,
.card-gallery-toggle__icon::after {
	position: absolute;
	top: 1px;
	bottom: 1px;
	width: 4px;
	border-radius: 2px;
	background: currentColor;
	content: "";
}

.card-gallery-toggle__icon::before {
	left: 1px;
}

.card-gallery-toggle__icon::after {
	right: 1px;
}

.card-gallery-toggle.is-paused .card-gallery-toggle__icon::before {
	top: 0;
	bottom: auto;
	left: 2px;
	width: 0;
	height: 0;
	border-top: 7px solid transparent;
	border-bottom: 7px solid transparent;
	border-left: 11px solid currentColor;
	border-radius: 0;
	background: transparent;
}

.card-gallery-toggle.is-paused .card-gallery-toggle__icon::after {
	display: none;
}

.featured-story:hover .story-media img,
.story-card:hover .story-card__media img,
.post-card:hover .post-card__media img {
	transform: scale( 1.035 );
}

.story-placeholder {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	background:
		radial-gradient( circle at 75% 25%, rgba( 242, 182, 61, 0.32 ), transparent 28% ),
		linear-gradient( 135deg, var(--sky-100), var(--mint-100) );
	color: var(--navy-700);
}

.story-placeholder svg {
	width: 56px;
	height: 56px;
	stroke-width: 1.2;
}

.featured-story__content {
	padding: 24px;
}

.story-meta,
.article-meta {
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--muted);
	font-size: 0.74rem;
	font-weight: 750;
	letter-spacing: 0.03em;
	text-transform: uppercase;
}

.story-meta span,
.article-meta a {
	padding: 4px 9px;
	border-radius: 999px;
	background: var(--context-soft);
	color: var(--context);
	text-decoration: none;
}

.featured-story h3 {
	margin: 16px 0 12px;
	font-size: clamp( 1.7rem, 3vw, 2.45rem );
}

.featured-story h3 a,
.story-card h3 a,
.post-card h2 a {
	text-decoration: none;
}

.story-card h3 a {
	display: inline-block;
	min-height: 24px;
}

.featured-story__content > p,
.post-card__body > p {
	color: var(--muted);
}

.story-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.story-card {
	display: grid;
	grid-template-columns: 155px 1fr;
	gap: 14px;
	align-items: center;
	padding: 10px;
	border: 1px solid var(--line);
	border-radius: 18px;
	background: var(--white);
}

.story-card__media {
	display: block;
	aspect-ratio: 4 / 3;
	border-radius: 12px;
	overflow: hidden;
}

.story-card time {
	color: var(--muted);
	font-size: 0.74rem;
	font-weight: 700;
}

.story-card h3 {
	margin: 6px 0 0;
	font-size: 1.08rem;
	line-height: 1.22;
}

.quick-info {
	background: var(--warm-100);
}

.quick-info__grid {
	display: grid;
	grid-template-columns: repeat( 4, minmax( 0, 1fr ) );
	gap: 14px;
}

.quick-info__grid > a {
	display: grid;
	grid-template-columns: 46px minmax( 0, 1fr );
	grid-template-rows: auto auto;
	column-gap: 12px;
	row-gap: 2px;
	align-content: center;
	align-items: center;
	min-width: 0;
	min-height: 88px;
	padding: 14px 15px;
	border: 1px solid var(--line);
	border-radius: var(--radius-md);
	background: var(--white);
	box-shadow: var(--shadow-sm);
	text-decoration: none;
	transition: 180ms ease;
}

.quick-info__grid > a:hover {
	border-color: var(--context);
	transform: translateY( -4px );
}

.quick-info__grid > a > span {
	display: grid;
	grid-row: 1 / -1;
	place-items: center;
	width: 46px;
	height: 46px;
	border-radius: 14px;
	background: var(--context-soft);
	color: var(--context);
}

.quick-info__grid strong,
.quick-info__grid small {
	display: block;
}

.quick-info__grid strong {
	align-self: end;
	min-width: 0;
	font-size: 0.98rem;
	line-height: 1.2;
	overflow-wrap: anywhere;
	hyphens: auto;
}

.quick-info__grid small {
	align-self: start;
	color: var(--muted);
	font-size: 0.78rem;
	line-height: 1.35;
}

.page-hero,
.archive-hero,
.article-header {
	position: relative;
	overflow: hidden;
	background: var(--navy-900);
	color: var(--white);
}

.page-hero::after,
.archive-hero::after,
.article-header::after {
	content: "";
	position: absolute;
	top: -190px;
	right: -100px;
	width: 500px;
	height: 500px;
	border: 70px solid rgba( 255, 255, 255, 0.055 );
	border-radius: 50%;
}

.page-hero--preschool {
	background: linear-gradient( 120deg, var(--preschool-primary-deep), var(--preschool-primary) );
}

.page-hero--school {
	background: linear-gradient( 120deg, var(--school-primary-deep), var(--school-primary) );
}

.zso-context-school .archive-hero,
.zso-context-school .article-header {
	background: linear-gradient( 120deg, var(--school-primary-deep), var(--school-primary) );
}

.zso-context-preschool .archive-hero,
.zso-context-preschool .article-header {
	background: linear-gradient( 120deg, var(--preschool-primary-deep), var(--preschool-primary) );
}

.page-building-photo {
	margin: 0;
	border-radius: var(--radius-md);
	background: var(--navy-900);
	box-shadow: var(--shadow-sm);
	isolation: isolate;
}

.page-building-photo {
	height: clamp( 205px, 23vw, 285px );
	margin-bottom: 28px;
}

.page-building-photo figcaption {
	position: absolute;
	right: 24px;
	bottom: 18px;
	left: 24px;
	z-index: 2;
	color: var(--white);
	font-size: 0.82rem;
	font-weight: 750;
	letter-spacing: 0.01em;
	text-shadow: 0 2px 14px rgba( 0, 0, 0, 0.52 );
}

.page-building-photo--school img {
	filter: brightness( 1.14 ) contrast( 0.92 ) saturate( 0.98 ) sepia( 0.02 );
}

.page-building-photo--school::before {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient( 110deg, rgba( 238, 244, 247, 0.1 ), rgba( 255, 244, 222, 0.08 ) );
	content: '';
	pointer-events: none;
}

.page-building-photo--school::after {
	z-index: 2;
	background: linear-gradient( 180deg, rgba( 48, 73, 87, 0.01 ) 38%, rgba( 36, 57, 68, 0.46 ) 100% );
}

.page-building-photo--school figcaption {
	z-index: 3;
}

.page-hero--split {
	min-height: 350px;
	background: var(--split-hero-background);
}

.page-hero--split::after {
	display: none;
}

.page-hero--split .page-hero__inner {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	z-index: 50;
	min-height: 350px;
	padding-block: 40px 44px;
	opacity: 1;
	visibility: visible;
}

.page-hero--split .breadcrumbs,
.page-hero--split .eyebrow,
.page-hero--split h1,
.page-hero--split .page-hero__inner > p:last-child {
	max-width: min( 40%, 480px );
}

.page-hero--split h1 {
	font-size: clamp( 2.8rem, 4.5vw, 4.4rem );
}

.page-hero__inner,
.archive-hero .zso-container,
.article-header__inner {
	position: relative;
	z-index: 2;
	padding-block: 48px 54px;
}

.page-hero h1,
.archive-hero h1,
.article-header h1 {
	max-width: 950px;
	margin: 10px 0 12px;
	color: var(--white);
}

.page-hero p:last-child,
.archive-hero p:last-child {
	max-width: 680px;
	margin-bottom: 0;
	color: rgba( 255, 255, 255, 0.92 );
	font-size: 1.1rem;
}

.page-hero .eyebrow,
.archive-hero .eyebrow,
.article-header .eyebrow {
	color: var(--yellow-300);
}

.breadcrumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	color: rgba( 255, 255, 255, 0.9 );
	font-size: 0.76rem;
	font-weight: 650;
}

.breadcrumbs a {
	color: var(--white);
	text-decoration: none;
}

.content-layout {
	padding-block: 52px 70px;
}

.content-layout--hub {
	padding-block: 36px;
}

.content-layout--hub {
	display: grid;
	grid-template-columns: minmax( 0, 0.9fr ) minmax( 360px, 1.1fr );
	gap: 44px;
}

.content-layout--hub-feature {
	grid-template-columns: minmax( 0, 0.9fr ) minmax( 440px, 1.1fr );
	gap: 22px 40px;
	align-items: start;
}

.content-layout--hub-feature > .page-content {
	display: flex;
	flex-direction: column;
	min-height: 460px;
	max-width: none;
	align-items: stretch;
	justify-content: center;
}

.content-layout--hub-feature > .school-display,
.content-layout--hub-feature > .preschool-feature {
	grid-column: 2;
	grid-row: 1;
	height: 460px;
}

.content-layout--hub-feature > .hub-links {
	grid-column: 1 / -1;
	grid-template-columns: repeat( 6, minmax( 0, 1fr ) );
}

.content-layout--hub-feature > .hub-links a {
	min-height: 88px;
	padding: 14px 15px;
}

.hub-summary {
	width: 100%;
}

.hub-summary > .eyebrow {
	margin-bottom: 4px;
}

.entry-content .hub-summary h2 {
	margin: 0 0 14px;
	font-size: clamp( 1.8rem, 2.8vw, 2.6rem );
}

.hub-summary .page-lead {
	margin-bottom: 0;
}

.page-content {
	max-width: 820px;
}

.page-lead {
	max-width: 760px;
	font-size: clamp( 1.05rem, 1.7vw, 1.25rem );
	line-height: 1.75;
}

.hub-highlights {
	display: grid;
	gap: 10px;
	margin: 18px 0 0;
	padding: 0;
	list-style: none;
}

.hub-highlights li {
	position: relative;
	padding-left: 30px;
	font-weight: 750;
}

.hub-highlights li::before {
	position: absolute;
	top: 0.45em;
	left: 0;
	width: 11px;
	height: 11px;
	border: 3px solid var(--context);
	border-radius: 50%;
	content: '';
}

.school-display {
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 18px;
	border: 1px solid var(--line);
	border-radius: var(--radius-md);
	background: #fff;
	box-shadow: var(--shadow-sm);
}

.school-display__heading {
	display: block;
}

.school-display__heading .eyebrow {
	display: inline-flex;
	gap: 8px;
	align-items: center;
	margin: 0 0 3px;
	color: var(--context);
}

.school-display__heading .eyebrow::before {
	width: 8px;
	height: 8px;
	flex: 0 0 auto;
	border-radius: 50%;
	background: #2eae6f;
	box-shadow: 0 0 0 3px rgba( 46, 174, 111, 0.16 );
	content: '';
	animation: wgs-live-dot 1.7s ease-in-out infinite;
}

@keyframes wgs-live-dot {
	0%,
	100% {
		opacity: 0.55;
		transform: scale( 0.82 );
		box-shadow: 0 0 0 2px rgba( 46, 174, 111, 0.12 );
	}

	50% {
		opacity: 1;
		transform: scale( 1 );
		box-shadow: 0 0 0 6px rgba( 46, 174, 111, 0.17 );
	}
}

.school-display__heading h2 {
	margin: 0;
	font-size: clamp( 1.02rem, 2.2vw, 1.8rem );
	letter-spacing: -0.025em;
	white-space: nowrap;
}

.school-display__intro {
	margin: 6px 0 12px;
	color: var(--muted);
	font-size: 0.94rem;
	line-height: 1.65;
}

.school-display__screen {
	position: relative;
	flex: 0 0 auto;
	overflow: hidden;
	width: min( 100%, 460px );
	margin-inline: auto;
	aspect-ratio: 16 / 9;
	border: 7px solid #0b2038;
	border-radius: 17px;
	background: #07182a;
	box-shadow: 0 16px 34px rgba( 5, 24, 45, 0.2 );
}

.school-display__screen iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
	background: #fff;
}

.school-display__screen[hidden] {
	display: none;
}

.school-display__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 18px;
	align-items: center;
	justify-content: space-between;
	width: min( 100%, 460px );
	margin: 13px auto 0;
}

.school-display__actions a,
.school-display__toggle {
	color: var(--context);
	font-size: 0.8rem;
	font-weight: 800;
}

.school-display__toggle {
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
	text-decoration: underline;
	text-underline-offset: 4px;
}

.school-display__toggle:hover,
.school-display__toggle:focus-visible,
.school-display__actions a:hover,
.school-display__actions a:focus-visible {
	color: var(--navy);
}

.school-display__toggle,
.school-display__actions a {
	display: inline-flex;
	min-height: 36px;
	align-items: center;
	padding-block: 6px;
}

.preschool-feature {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	margin: 0;
	padding: 18px;
	border: 1px solid var(--line);
	border-radius: var(--radius-md);
	background: var(--white);
	box-shadow: var(--shadow-sm);
}

.preschool-feature__media {
	position: relative;
	flex: 0 0 auto;
	display: block;
	overflow: hidden;
	width: min( 100%, 490px );
	margin-inline: auto;
	aspect-ratio: 1.92 / 1;
	border-radius: 16px;
	background: linear-gradient( 135deg, #dff3e9, #fff4c7 );
}

.preschool-feature__media > a {
	display: block;
	width: 100%;
	height: 100%;
}

.preschool-feature__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 300ms ease;
}

.preschool-feature__media:hover img,
.preschool-feature__media:focus-visible img {
	transform: scale( 1.025 );
}

.preschool-feature__placeholder {
	display: grid;
	width: 100%;
	height: 100%;
	place-items: center;
	color: var(--context);
}

.preschool-feature__placeholder svg {
	width: 72px;
	height: 72px;
	stroke-width: 1.4;
}

.preschool-feature__body {
	display: flex;
	flex: 1 1 auto;
	min-height: 0;
	flex-direction: column;
	width: min( 100%, 490px );
	margin-inline: auto;
	padding: 12px 2px 0;
}

.preschool-feature__meta {
	display: flex;
	gap: 10px 18px;
	align-items: baseline;
	justify-content: space-between;
}

.preschool-feature__meta .eyebrow {
	margin: 0;
	color: var(--context);
}

.preschool-feature__meta time {
	flex: 0 0 auto;
	margin: 0;
	color: var(--muted);
	font-size: 0.76rem;
	font-weight: 700;
}

.preschool-feature__body h2 {
	margin: 9px 0 10px;
	font-size: clamp( 1.15rem, 1.8vw, 1.48rem );
	line-height: 1.13;
	overflow-wrap: anywhere;
	hyphens: auto;
}

.preschool-feature__body > .text-link {
	margin-top: auto;
}

.preschool-feature__body h2 a {
	color: var(--navy);
	text-decoration: none;
}

.preschool-feature__body h2 a:hover,
.preschool-feature__body h2 a:focus-visible {
	color: var(--context);
}

.content-note {
	margin: 0 0 34px;
	padding: 18px 20px;
	border-left: 4px solid var(--context);
	border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
	background: var(--context-soft);
	line-height: 1.65;
}

.page-resources {
	display: grid;
	grid-template-columns: repeat( 2, minmax( 0, 1fr ) );
	gap: 14px;
	margin-top: 22px;
}

.page-resource {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	min-height: 80px;
	padding: 16px 18px;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	background: var(--white);
	box-shadow: var(--shadow-sm);
	font-weight: 800;
	transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.page-resource:hover,
.page-resource:focus-visible {
	border-color: var(--context);
	box-shadow: var(--shadow-md);
	transform: translateY( -2px );
}

.page-resource svg {
	width: 20px;
	height: 20px;
	color: var(--context);
}

.page-resource__service,
.aside-card__service {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
}

.service-brand-icon--resource {
	width: 26px;
	height: 26px;
	padding: 3px;
	border-radius: 7px;
	background: var(--white);
}

.contact-cards {
	display: grid;
	grid-template-columns: repeat( 2, minmax( 0, 1fr ) );
	gap: 20px;
}

.contact-card {
	padding: 22px;
	border: 1px solid var(--line);
	border-radius: var(--radius-md);
	background: var(--white);
	box-shadow: var(--shadow-sm);
}

.contact-card h2 {
	margin-top: 0;
	font-size: 1.45rem;
}

.contact-card address {
	font-style: normal;
	line-height: 1.7;
}

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

.entry-content h2 {
	margin-top: 2em;
}

.entry-content h3 {
	margin-top: 1.8em;
}

.entry-content a:not( .button ) {
	color: var(--context);
	font-weight: 700;
}

.entry-content img {
	border-radius: var(--radius-md);
}

.entry-content .wp-block-gallery {
	gap: 12px;
}

.entry-content .wp-block-file,
.entry-content .wp-block-group,
.entry-content table {
	margin-block: 24px;
}

.hymn-page > .page-lead {
	max-width: 760px;
}

.hymn-tracks {
	display: grid;
	grid-template-columns: repeat( 2, minmax( 0, 1fr ) );
	gap: 18px;
	margin-top: 28px;
}

.hymn-track {
	display: flex;
	flex-direction: column;
	min-width: 0;
	padding: 24px;
	border: 1px solid var(--line);
	border-radius: var(--radius-md);
	background: var(--white);
	box-shadow: var(--shadow-sm);
}

.hymn-track__icon {
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	margin-bottom: 18px;
	border-radius: 16px;
	background: var(--context-soft);
	color: var(--context);
}

.hymn-track__icon svg {
	width: 27px;
	height: 27px;
}

.hymn-track h2 {
	margin: 0 0 8px;
}

.hymn-track p {
	margin: 0 0 20px;
	color: var(--muted);
}

.hymn-track audio {
	width: 100%;
	margin-top: auto;
}

.hymn-track__download {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	min-height: 44px;
	margin-top: 14px;
	color: var(--context);
	font-weight: 800;
}

.hymn-lyrics {
	margin-top: 22px;
	padding: clamp( 24px, 4vw, 40px );
	border: 1px solid color-mix( in srgb, var(--context) 24%, var(--line) );
	border-radius: var(--radius-lg);
	background: linear-gradient( 135deg, var(--context-soft), var(--white) 76% );
}

.hymn-lyrics > h2 {
	margin: 4px 0 24px;
}

.hymn-lyrics__columns {
	display: grid;
	grid-template-columns: repeat( 2, minmax( 0, 1fr ) );
	gap: 22px 42px;
}

.hymn-lyrics__columns > div {
	min-width: 0;
}

.hymn-lyrics__columns p {
	margin: 0;
	line-height: 1.85;
}

.hymn-lyrics__columns h3 {
	margin: 22px 0 8px;
	color: var(--context);
	font-size: 0.82rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.entry-content table {
	width: 100%;
	border-collapse: collapse;
}

.entry-content th,
.entry-content td {
	padding: 11px 13px;
	border: 1px solid var(--line);
	text-align: left;
}

.zso-placeholder {
	padding: 22px 24px;
	border-left: 4px solid var(--yellow-500);
	border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
	background: #fff8e5;
	color: #614c1c;
}

.hub-links {
	display: grid;
	grid-template-columns: repeat( 2, minmax( 0, 1fr ) );
	gap: 12px;
	align-content: start;
}

.hub-links a {
	position: relative;
	display: grid;
	grid-template-columns: auto minmax( 0, 1fr );
	gap: 12px;
	align-items: center;
	min-height: 96px;
	padding: 15px 16px;
	border: 1px solid var(--context-border, var(--line));
	border-radius: var(--radius-md);
	background: var(--white);
	box-shadow: var(--shadow-sm);
	text-decoration: none;
	transition: 180ms ease;
}

.hub-links a:hover {
	border-color: var(--context-primary, var(--context));
	transform: translateY( -3px );
}

.hub-links__icon {
	display: grid;
	width: 46px;
	height: 46px;
	place-items: center;
	border-radius: 14px;
	background: var(--context-primary-soft, var(--context-soft));
	color: var(--context-primary, var(--context));
}

.hub-links__icon svg {
	width: 25px;
	height: 25px;
	stroke-width: 1.75;
}

.hub-links strong {
	min-width: 0;
	font-size: 0.94rem;
	line-height: 1.25;
	overflow-wrap: anywhere;
	hyphens: auto;
}

.section-muted,
.hub-news {
	padding: 64px 0;
	background: var(--warm-100);
}

.hub-news {
	padding-block: 36px;
}

.post-grid {
	display: grid;
	grid-template-columns: repeat( 3, minmax( 0, 1fr ) );
	gap: 20px;
}

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

.post-card {
	min-width: 0;
	border: 1px solid var(--line);
	border-radius: var(--radius-md);
	background: var(--white);
	overflow: hidden;
}

.post-card__media {
	position: relative;
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background:
		radial-gradient( circle at 75% 25%, rgba( 242, 182, 61, 0.24 ), transparent 28% ),
		linear-gradient( 135deg, var(--sky-100), var(--mint-100) );
}

.archive-note {
	grid-column: 1 / -1;
	margin: 0;
	padding: 14px 18px;
	border-left: 3px solid var(--yellow-500);
	background: rgba( 255, 255, 255, 0.68 );
	color: var(--muted);
}

.post-card__body {
	min-width: 0;
	padding: 22px;
}

.post-card h2 {
	margin: 13px 0 10px;
	font-size: 1.35rem;
}

.post-card__body > p {
	font-size: 0.92rem;
}

.empty-state {
	padding: 28px;
	border: 1px dashed #bcc6cb;
	border-radius: var(--radius-md);
	background: var(--white);
	color: var(--muted);
}

.archive-content {
	padding-block: 52px 70px;
}

.archive-hero h1 {
	font-size: clamp( 2.7rem, 5vw, 4.7rem );
}

.archive-hero .search-form,
.not-found .search-form {
	display: flex;
	max-width: 580px;
	margin-top: 26px;
}

.search-form label {
	flex: 1;
}

.search-form .search-field {
	width: 100%;
	min-height: 50px;
	padding: 0 17px;
	border: 1px solid var(--line);
	border-radius: 999px 0 0 999px;
	background: var(--white);
}

.search-form .search-submit {
	min-height: 50px;
	padding: 0 20px;
	border: 0;
	border-radius: 0 999px 999px 0;
	background: var(--yellow-500);
	color: var(--navy-950);
	font-weight: 800;
	cursor: pointer;
}

.nav-links {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 48px;
}

.nav-links .page-numbers {
	display: grid;
	place-items: center;
	min-width: 42px;
	height: 42px;
	padding: 0 12px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: var(--white);
	font-size: 0.84rem;
	font-weight: 750;
	text-decoration: none;
}

.nav-links .current,
.nav-links a:hover {
	border-color: var(--navy-900);
	background: var(--navy-900);
	color: var(--white);
}

.article-header__inner {
	padding-block: 48px 54px;
}

.article-header h1 {
	font-size: clamp( 2.5rem, 5vw, 4.8rem );
}

.article-meta {
	margin-top: 20px;
	color: rgba( 255, 255, 255, 0.66 );
}

.article-meta a {
	background: var(--yellow-500);
	color: var(--navy-950);
}

.article-byline {
	margin: 0;
	color: rgba( 255, 255, 255, 0.62 );
	font-size: 0.83rem;
}

.article-featured-image {
	position: relative;
	z-index: 3;
	max-width: 100%;
	margin-top: -24px;
}

.article-featured-image img {
	display: block;
	width: 100%;
	max-height: 580px;
	border: 8px solid var(--warm-50);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-lg);
	object-fit: cover;
}

.article-layout {
	display: grid;
	grid-template-columns: minmax( 0, 780px ) minmax( 250px, 1fr );
	gap: 56px;
	padding-block: 54px;
}

.article-content {
	min-width: 0;
	font-size: 1.08rem;
	overflow-wrap: anywhere;
}

.article-content figure,
.article-content iframe,
.article-content video,
.article-content .wp-block-image,
.article-content .wp-block-gallery,
.article-content .alignwide,
.article-content .alignfull {
	max-width: 100%;
}

.article-content .alignwide,
.article-content .alignfull {
	width: 100%;
	margin-inline: 0;
}

.featured-story,
.story-card {
	min-width: 0;
}

.featured-story__content,
.story-card > div {
	min-width: 0;
}

.featured-story h3 a,
.story-card h3 a,
.post-card h2 a,
.article-header h1,
.entry-content h2,
.entry-content h3 {
	overflow-wrap: anywhere;
	hyphens: auto;
}

.article-content > p:first-child {
	font-size: 1.22rem;
	color: #344355;
}

.article-aside {
	position: relative;
}

.aside-card {
	position: sticky;
	top: 24px;
	padding: 20px;
	border-radius: var(--radius-md);
	background: var(--white);
	box-shadow: var(--shadow-sm);
}

.aside-card a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 13px 0;
	border-bottom: 1px solid var(--line);
	font-size: 0.87rem;
	font-weight: 750;
	text-decoration: none;
}

.aside-card a:last-child {
	border-bottom: 0;
}

.aside-card svg {
	width: 17px;
	height: 17px;
	color: var(--context);
}

.post-navigation {
	display: grid;
	grid-template-columns: repeat( 2, minmax( 0, 1fr ) );
	gap: 16px;
	padding-bottom: 64px;
}

.post-navigation > div:last-child {
	text-align: right;
}

.post-navigation a {
	display: flex;
	flex-direction: column;
	min-height: 90px;
	padding: 18px;
	border: 1px solid var(--line);
	border-radius: var(--radius-md);
	background: var(--white);
	text-decoration: none;
}

.post-navigation small {
	margin-bottom: 6px;
	color: var(--context);
	font-size: 0.72rem;
	font-weight: 850;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.not-found {
	display: grid;
	place-items: center;
	min-height: 650px;
	padding: 80px 0;
	background: linear-gradient( 135deg, var(--warm-100), var(--mint-100) );
	text-align: center;
}

.not-found__inner {
	max-width: 720px;
}

.not-found__code {
	margin: 0;
	color: var(--yellow-500);
	font-family: var(--font-display);
	font-size: clamp( 6rem, 16vw, 12rem );
	font-weight: 900;
	letter-spacing: -0.08em;
	line-height: 0.75;
}

.not-found h1 {
	margin: 20px 0;
}

.not-found .search-form {
	margin-inline: auto;
	margin-bottom: 22px;
}

.site-footer {
	background: var(--navy-950);
	color: rgba( 255, 255, 255, 0.72 );
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.25fr 1.1fr 1fr 0.8fr;
	gap: 24px;
	padding-block: 26px;
}

.site-footer h2,
.footer-brand strong {
	margin: 0 0 8px;
	color: var(--white);
	font-size: 1rem;
	letter-spacing: -0.01em;
}

.footer-brand {
	display: flex;
	align-items: flex-start;
	gap: 13px;
}

.footer-brand img {
	width: 50px;
	height: 50px;
	object-fit: contain;
}

.footer-brand p,
.site-footer address {
	margin: 0;
	font-size: 0.86rem;
	font-style: normal;
}

.footer-menu {
	display: grid;
	grid-template-columns: repeat( 2, minmax( 0, 1fr ) );
	gap: 1px 16px;
}

.footer-menu li + li {
	margin-top: 0;
}

.footer-menu a,
.footer-login,
.footer-contact-link {
	color: inherit;
	font-size: 0.86rem;
	text-decoration: none;
}

.footer-menu a:hover,
.footer-login:hover,
.footer-contact-link:hover {
	color: var(--white);
}

.footer-contact-link {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin-top: 7px;
	font-weight: 750;
}

.footer-contact-link svg {
	width: 16px;
	height: 16px;
}

.footer-login {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 4px 0;
	border-bottom: 1px solid rgba( 255, 255, 255, 0.1 );
}

.service-brand-icon--footer {
	width: 20px;
	height: 20px;
	padding: 2px;
	border-radius: 5px;
	background: var(--white);
}

.footer-social-icon {
	display: grid;
	width: 20px;
	height: 20px;
	place-items: center;
	border-radius: 5px;
	background: #1877f2;
	color: #fff;
}

.footer-social-icon svg {
	width: 14px;
	height: 14px;
	fill: currentcolor;
	stroke: none;
}

.footer-bottom {
	border-top: 1px solid rgba( 255, 255, 255, 0.1 );
}

.footer-bottom .zso-container {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	padding-block: 9px;
}

.footer-bottom p {
	margin: 0;
	font-size: 0.73rem;
}

/* Uporządkowane podstrony informacyjne, wersja 1.1. */
.page-content--wide {
	max-width: none;
}

.info-sections {
	display: grid;
	grid-template-columns: repeat( 2, minmax( 0, 1fr ) );
	gap: 18px;
	margin-top: 30px;
}

.info-sections--two {
	margin-top: 24px;
}

.fact-strip {
	display: grid;
	grid-template-columns: repeat( 3, minmax( 0, 1fr ) );
	gap: 14px;
	margin-top: 30px;
}

.fact-card {
	padding: 20px 22px;
	border: 1px solid var(--line);
	border-radius: var(--radius-md);
	background: var(--context-soft);
}

.fact-card strong,
.fact-card span {
	display: block;
}

.fact-card strong {
	color: var(--navy-900);
	font-family: var(--font-display);
	font-size: clamp( 1.45rem, 2.3vw, 2rem );
	line-height: 1.05;
}

.fact-card span {
	margin-top: 6px;
	color: var(--muted);
	font-size: 0.8rem;
	font-weight: 750;
}

.leadership-grid {
	display: grid;
	grid-template-columns: repeat( 2, minmax( 0, 1fr ) );
	gap: 18px;
	margin-top: 30px;
}

.leadership-card {
	display: grid;
	grid-template-columns: 58px minmax( 0, 1fr );
	align-items: center;
	gap: 18px;
	min-height: 132px;
	padding: 24px;
	border: 1px solid var(--line);
	border-radius: var(--radius-md);
	background: var(--white);
	box-shadow: var(--shadow-sm);
}

.leadership-card__icon {
	display: grid;
	width: 58px;
	height: 58px;
	place-items: center;
	border-radius: 17px;
	background: var(--context-soft);
	color: var(--context);
}

.leadership-card__icon svg {
	width: 27px;
	height: 27px;
}

.leadership-card p,
.leadership-card h2,
.leadership-card small {
	margin: 0;
}

.leadership-card p {
	color: var(--context);
	font-size: 0.72rem;
	font-weight: 850;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.entry-content .leadership-card h2 {
	margin-top: 4px;
	font-size: clamp( 1.45rem, 2.3vw, 2rem );
}

.leadership-card small {
	display: block;
	margin-top: 5px;
	color: var(--muted);
}

.staff-directory {
	display: grid;
	gap: 20px;
	margin-top: 30px;
}

.homeroom-directory {
	display: grid;
	gap: 20px;
	margin-top: 30px;
	padding: 26px;
	border: 1px solid color-mix( in srgb, var(--context) 24%, var(--line) );
	border-radius: var(--radius-md);
	background: linear-gradient( 135deg, var(--context-soft), var(--white) 78% );
}

.homeroom-directory__heading {
	display: grid;
	gap: 7px;
}

.entry-content .homeroom-directory__heading h2,
.homeroom-directory__heading p {
	margin: 0;
}

.entry-content .homeroom-directory__heading h2 {
	font-size: clamp( 1.55rem, 2.4vw, 2.1rem );
}

.homeroom-directory__heading > p:not(.info-card__eyebrow) {
	max-width: 760px;
	color: var(--muted);
}

.homeroom-grid {
	display: grid;
	grid-template-columns: repeat( auto-fit, minmax( 185px, 1fr ) );
	gap: 12px;
}

.homeroom-card {
	display: grid;
	align-content: space-between;
	gap: 18px;
	min-width: 0;
	min-height: 146px;
	padding: 18px;
	border: 1px solid color-mix( in srgb, var(--context) 30%, var(--line) );
	border-radius: var(--radius-sm);
	background: var(--white);
	box-shadow: 0 10px 24px rgba( 9, 34, 59, 0.06 );
}

.homeroom-card__label {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 10px;
}

.homeroom-card__label strong {
	color: var(--heading-color);
	font-family: var(--font-display);
	font-size: 1.18rem;
	line-height: 1.15;
}

.homeroom-card__label span {
	flex: 0 0 auto;
	padding: 5px 8px;
	border-radius: 999px;
	background: var(--context-soft);
	color: var(--context-primary-deep);
	font-size: 0.72rem;
	font-weight: 800;
}

.homeroom-card p {
	display: grid;
	gap: 3px;
	margin: 0;
}

.homeroom-card p span {
	color: var(--muted);
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.homeroom-card p strong {
	color: var(--navy-900);
	font-size: 0.94rem;
	line-height: 1.28;
}

.staff-group {
	min-width: 0;
	padding: 26px;
	border: 1px solid var(--line);
	border-radius: var(--radius-md);
	background: var(--context-soft);
}

.staff-group__heading {
	display: grid;
	gap: 7px;
	margin-bottom: 20px;
}

.entry-content .staff-group__heading h2,
.staff-group__heading p {
	margin: 0;
}

.entry-content .staff-group__heading h2 {
	font-size: clamp( 1.55rem, 2.4vw, 2.1rem );
}

.staff-group__heading > p:not(.info-card__eyebrow) {
	max-width: 760px;
	color: var(--muted);
}

.staff-list {
	display: grid;
	grid-template-columns: repeat( 2, minmax( 0, 1fr ) );
	gap: 11px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.staff-person {
	min-width: 0;
	padding: 15px 17px;
	border: 1px solid var(--line);
	border-color: color-mix( in srgb, var(--context) 24%, var(--line) );
	border-radius: var(--radius-sm);
	background: var(--white);
}

.staff-person strong,
.staff-person span {
	display: block;
}

.staff-person strong {
	color: var(--navy-900);
	font-family: var(--font-display);
	font-size: 1.02rem;
	line-height: 1.2;
}

.staff-person span {
	margin-top: 5px;
	color: var(--muted);
	font-size: 0.86rem;
	line-height: 1.42;
}

.staff-person .staff-person__homeroom {
	display: inline-flex;
	margin-top: 10px;
	padding: 5px 8px;
	border-radius: 999px;
	background: var(--context-soft);
	color: var(--context-primary-deep);
	font-size: 0.72rem;
	font-weight: 800;
	line-height: 1.2;
}

.info-card {
	min-width: 0;
	padding: 25px;
	border: 1px solid var(--line);
	border-radius: var(--radius-md);
	background: var(--white);
	box-shadow: var(--shadow-sm);
}

.info-card--wide {
	grid-column: 1 / -1;
}

.info-card--pending {
	border-color: color-mix( in srgb, var(--context) 38%, var(--line) );
	background: linear-gradient( 145deg, var(--white), color-mix( in srgb, var(--context-soft) 46%, var(--white) ) );
}

.info-card__status {
	display: inline-flex;
	align-items: center;
	min-height: 28px;
	margin: 0 0 13px;
	padding: 5px 10px;
	border: 1px solid color-mix( in srgb, var(--context) 30%, transparent );
	border-radius: 999px;
	background: var(--context-soft);
	color: var(--context-primary-deep);
	font-size: 0.72rem;
	font-weight: 850;
	letter-spacing: 0.04em;
	line-height: 1;
	text-transform: uppercase;
}

.entry-content .info-card h2 {
	margin: 5px 0 12px;
	font-size: clamp( 1.35rem, 2vw, 1.75rem );
}

.info-card > :last-child {
	margin-bottom: 0;
}

.info-card--accent {
	border-color: transparent;
	background: var(--context-primary, var(--navy-900));
	color: var(--white);
}

.info-card--accent h2,
.info-card--accent a {
	color: var(--white);
}

.info-card__eyebrow {
	margin: 0;
	color: var(--context);
	font-size: 0.72rem;
	font-weight: 850;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.info-card--accent .info-card__eyebrow {
	color: var(--yellow-300);
}

.info-card--accent .info-list li::before {
	background: var(--yellow-300);
}

.history-timeline {
	display: grid;
	grid-template-columns: repeat( 4, minmax( 0, 1fr ) );
	gap: 14px;
	margin: 24px 0 0;
	padding: 0;
	list-style: none;
}

.history-timeline li {
	padding: 17px;
	border-top: 4px solid var(--context);
	border-radius: 0 0 var(--radius-sm) var(--radius-sm);
	background: var(--context-soft);
}

.history-timeline time,
.history-timeline strong {
	display: block;
}

.history-timeline time {
	margin-bottom: 9px;
	color: var(--context);
	font-family: var(--font-display);
	font-size: 1.55rem;
	font-weight: 900;
}

.history-timeline strong {
	color: var(--navy-900);
	line-height: 1.3;
}

.history-timeline p {
	margin: 7px 0 0;
	color: var(--muted);
	font-size: 0.84rem;
	line-height: 1.55;
}

.info-list {
	display: grid;
	gap: 9px;
	margin: 16px 0 0;
	padding: 0;
	list-style: none;
}

.info-list li {
	position: relative;
	padding-left: 22px;
}

.info-list li::before {
	position: absolute;
	top: 0.58em;
	left: 0;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--context);
	content: '';
}

.info-card .page-resources {
	grid-template-columns: 1fr;
	margin-top: 18px;
}

.info-card .page-resource {
	min-height: 64px;
	padding: 13px 15px;
	background: var(--context-soft);
	box-shadow: none;
}

.status-note {
	margin: 24px 0;
	padding: 17px 19px;
	border-left: 4px solid var(--yellow-500);
	border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
	background: #fff7d6;
	color: var(--navy-900);
	line-height: 1.65;
}

.document-feature {
	display: grid;
	grid-template-columns: 52px minmax( 0, 1fr ) 24px;
	align-items: center;
	gap: 17px;
	margin: 26px 0;
	padding: 22px;
	border-radius: var(--radius-md);
	background: var(--context-primary, var(--navy-900));
	box-shadow: var(--shadow-md);
	color: var(--white);
}

.entry-content .document-feature {
	text-decoration: none;
}

.document-feature > span:first-child {
	display: grid;
	width: 52px;
	height: 52px;
	place-items: center;
	border-radius: 14px;
	background: rgba( 255, 255, 255, 0.1 );
}

.document-feature svg {
	width: 25px;
	height: 25px;
}

.document-feature small,
.document-feature strong {
	display: block;
}

.document-feature small {
	margin-bottom: 3px;
	color: var(--yellow-300);
	font-size: 0.76rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.document-feature strong {
	font-size: 1.05rem;
	line-height: 1.4;
}

/* Skrócona wersja Standardów Ochrony Małoletnich dla dzieci. */
.child-standards {
	display: grid;
	gap: 24px;
	margin-top: 34px;
}

.child-standards__hero {
	display: grid;
	grid-template-columns: 76px minmax( 0, 1fr );
	align-items: center;
	gap: 22px;
	padding: 28px 30px;
	border: 1px solid color-mix( in srgb, var(--context) 28%, var(--line) );
	border-radius: var(--radius-lg);
	background: linear-gradient( 135deg, var(--context-soft), var(--white) 76% );
}

.child-standards__hero-icon,
.child-right-card__icon,
.child-preschool__icon {
	display: grid;
	place-items: center;
	flex: 0 0 auto;
	color: var(--context);
}

.child-standards__hero-icon {
	width: 76px;
	height: 76px;
	border-radius: 22px;
	background: var(--white);
	box-shadow: var(--shadow-sm);
}

.child-standards__hero-icon svg {
	width: 38px;
	height: 38px;
}

.entry-content .child-standards h2,
.entry-content .child-standards h3,
.child-standards p {
	margin-top: 0;
}

.entry-content .child-standards__hero h2 {
	margin: 4px 0 8px;
	font-size: clamp( 1.65rem, 3vw, 2.35rem );
	line-height: 1.08;
}

.child-standards__hero p:last-child {
	max-width: 820px;
	margin-bottom: 0;
	color: #465466;
	font-size: 1rem;
	line-height: 1.7;
}

.child-rights-grid {
	display: grid;
	grid-template-columns: repeat( 2, minmax( 0, 1fr ) );
	gap: 16px;
}

.child-right-card {
	position: relative;
	min-width: 0;
	padding: 23px 24px 22px 82px;
	border: 1px solid var(--line);
	border-radius: var(--radius-md);
	background: var(--white);
	box-shadow: var(--shadow-sm);
}

.child-right-card__icon {
	position: absolute;
	top: 22px;
	left: 22px;
	width: 44px;
	height: 44px;
	border-radius: 13px;
	background: var(--context-soft);
}

.child-right-card__icon svg {
	width: 23px;
	height: 23px;
}

.entry-content .child-right-card h3 {
	margin: 2px 0 7px;
	font-size: 1.16rem;
	line-height: 1.25;
}

.child-right-card p {
	margin-bottom: 0;
	color: var(--muted);
	font-size: 0.94rem;
	line-height: 1.65;
}

.child-actions,
.child-preschool,
.child-help,
.child-standards__sources {
	padding: 26px 28px;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	background: var(--white);
}

.entry-content .child-actions h2,
.entry-content .child-preschool h2,
.entry-content .child-help h2,
.entry-content .child-standards__sources h2,
.entry-content .child-support-card h2 {
	margin: 4px 0 16px;
	font-size: clamp( 1.35rem, 2.2vw, 1.72rem );
	line-height: 1.18;
}

.child-step-list {
	display: grid;
	grid-template-columns: repeat( 4, minmax( 0, 1fr ) );
	gap: 12px;
	counter-reset: child-step;
	margin: 0;
	padding: 0;
	list-style: none;
}

.child-step-list li {
	display: grid;
	align-content: start;
	gap: 8px;
	min-width: 0;
	padding: 17px;
	border-radius: 15px;
	background: var(--context-soft);
	counter-increment: child-step;
}

.child-step-list li::before {
	display: grid;
	width: 31px;
	height: 31px;
	place-items: center;
	border-radius: 50%;
	background: var(--context);
	color: var(--white);
	content: counter( child-step );
	font-family: var(--font-display);
	font-size: 0.9rem;
}

.child-step-list strong {
	color: var(--navy-900);
	font-size: 0.95rem;
	line-height: 1.35;
}

.child-step-list span {
	color: var(--muted);
	font-size: 0.84rem;
	line-height: 1.55;
}

.child-support-grid {
	display: grid;
	grid-template-columns: minmax( 0, 0.8fr ) minmax( 0, 1.2fr );
	gap: 16px;
}

.child-support-card {
	padding: 24px 26px;
	border: 1px solid color-mix( in srgb, var(--context) 22%, var(--line) );
	border-radius: var(--radius-md);
	background: var(--context-soft);
}

.child-support-card--school {
	background: var(--white);
}

.child-support-card > :last-child {
	margin-bottom: 0;
}

.child-phrase-list {
	display: grid;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.child-phrase-list li {
	padding: 10px 13px;
	border-radius: 10px;
	background: var(--white);
	color: var(--navy-900);
	font-weight: 780;
}

.child-preschool {
	border-color: #f1d65c;
	background: linear-gradient( 135deg, #fff8d9, #fffdf4 );
}

.child-preschool__heading {
	display: flex;
	align-items: center;
	gap: 15px;
	margin-bottom: 16px;
}

.child-preschool__heading h2 {
	margin-bottom: 0 !important;
}

.child-preschool__icon {
	width: 52px;
	height: 52px;
	border-radius: 15px;
	background: var(--white);
	color: #b77900;
}

.child-preschool__icon svg {
	width: 27px;
	height: 27px;
}

.child-preschool__steps {
	display: grid;
	grid-template-columns: repeat( 4, minmax( 0, 1fr ) );
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.child-preschool__steps li {
	display: grid;
	min-height: 84px;
	place-items: center;
	padding: 15px;
	border: 1px solid rgba( 183, 121, 0, 0.2 );
	border-radius: 14px;
	background: var(--white);
	text-align: center;
}

.child-preschool__steps strong {
	color: var(--navy-900);
	font-size: 0.96rem;
	line-height: 1.35;
}

.child-help {
	border-color: color-mix( in srgb, var(--context) 26%, var(--line) );
	background: linear-gradient( 145deg, var(--context-soft), var(--white) 62% );
}

.child-help__grid {
	display: grid;
	grid-template-columns: repeat( 3, minmax( 0, 1fr ) );
	gap: 12px;
}

.entry-content .child-help-card {
	display: grid;
	grid-template-columns: 42px minmax( 0, 1fr );
	grid-template-rows: auto auto;
	align-items: center;
	gap: 2px 11px;
	min-height: 100px;
	padding: 16px;
	border: 1px solid var(--line);
	border-radius: 15px;
	background: var(--white);
	color: var(--navy-900);
	text-decoration: none;
}

.child-help-card > span {
	display: grid;
	width: 42px;
	height: 42px;
	grid-row: 1 / 3;
	place-items: center;
	border-radius: 12px;
	background: var(--context-soft);
	color: var(--context);
}

.child-help-card > span svg {
	width: 22px;
	height: 22px;
}

.child-help-card small {
	color: var(--muted);
	font-size: 0.7rem;
	font-weight: 700;
	line-height: 1.35;
}

.child-help-card strong {
	font-family: var(--font-display);
	font-size: clamp( 1rem, 2vw, 1.28rem );
	line-height: 1.15;
}

.entry-content .child-help-card:hover,
.entry-content .child-help-card:focus-visible {
	border-color: var(--context);
	box-shadow: var(--shadow-sm);
	transform: translateY( -2px );
}

.child-help-card--urgent > span {
	background: #ffe2e4;
	color: #b4232d;
}

.child-help__chat {
	margin: 16px 0 0;
	font-size: 0.92rem;
}

.child-standards__sources {
	background: #f7f8fa;
}

.child-standards__sources > p {
	max-width: 850px;
}

.child-standards__sources .page-resources {
	margin-top: 18px;
}

@media ( max-width: 900px ) {
	.child-step-list,
	.child-preschool__steps {
		grid-template-columns: repeat( 2, minmax( 0, 1fr ) );
	}

	.child-help__grid {
		grid-template-columns: 1fr;
	}

	.entry-content .child-help-card {
		min-height: 84px;
	}
}

@media ( max-width: 700px ) {
	.child-standards {
		gap: 16px;
		margin-top: 24px;
	}

	.child-standards__hero {
		grid-template-columns: 56px minmax( 0, 1fr );
		align-items: start;
		gap: 14px;
		padding: 20px;
	}

	.child-standards__hero-icon {
		width: 56px;
		height: 56px;
		border-radius: 16px;
	}

	.child-standards__hero-icon svg {
		width: 29px;
		height: 29px;
	}

	.child-rights-grid,
	.child-support-grid,
	.child-step-list,
	.child-preschool__steps {
		grid-template-columns: 1fr;
	}

	.child-right-card {
		padding: 18px 18px 18px 70px;
	}

	.child-right-card__icon {
		top: 17px;
		left: 17px;
	}

	.child-actions,
	.child-preschool,
	.child-help,
	.child-standards__sources,
	.child-support-card {
		padding: 20px;
	}

	.child-step-list li {
		grid-template-columns: 32px minmax( 0, 1fr );
		gap: 5px 10px;
	}

	.child-step-list li::before {
		grid-row: 1 / 3;
	}

	.child-preschool__steps li {
		min-height: 58px;
	}
}

.document-groups {
	display: grid;
	gap: 22px;
	margin-top: 34px;
}

.document-group {
	display: grid;
	grid-template-columns: minmax( 210px, 0.34fr ) minmax( 0, 1fr );
	gap: 24px;
	padding: 25px;
	border: 1px solid var(--line);
	border-radius: var(--radius-md);
	background: var(--white);
}

.document-group--archive {
	border-style: dashed;
	background: #f7f5f0;
}

.entry-content .document-group h2 {
	margin: 0 0 8px;
	font-size: 1.45rem;
}

.document-group__heading p {
	margin: 0;
	color: var(--muted);
	font-size: 0.9rem;
}

.document-list {
	display: grid;
	gap: 9px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.document-list a {
	display: grid;
	grid-template-columns: 40px minmax( 0, 1fr ) 20px;
	align-items: center;
	gap: 13px;
	min-height: 66px;
	padding: 11px 13px;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	background: var(--white);
	text-decoration: none;
	transition: border-color 180ms ease, transform 180ms ease;
}

.document-list a:hover,
.document-list a:focus-visible {
	border-color: var(--context);
	transform: translateX( 3px );
}

.document-list__icon {
	display: grid;
	width: 40px;
	height: 40px;
	place-items: center;
	border-radius: 11px;
	background: var(--context-soft);
	color: var(--context);
}

.document-list__icon svg,
.document-list__arrow svg {
	width: 19px;
	height: 19px;
}

.document-list strong,
.document-list small {
	display: block;
	overflow-wrap: anywhere;
}

.document-list strong {
	color: var(--navy-900);
	line-height: 1.35;
}

.document-list small {
	margin-top: 3px;
	color: var(--muted);
	font-size: 0.76rem;
}

.document-list__arrow {
	color: var(--context);
}

.contact-cards--detailed {
	margin-top: 28px;
}

.contact-cards--detailed .contact-card {
	padding: 26px;
}

.contact-actions {
	display: grid;
	gap: 8px;
	margin-top: 20px;
}

.contact-actions a {
	display: block;
	padding: 11px 13px;
	border-radius: 10px;
	background: var(--context-soft);
	font-weight: 750;
	overflow-wrap: anywhere;
	text-decoration: none;
}

.legal-content {
	max-width: 900px;
}

.legal-content > section,
.legal-content > div[id="a11y-wstep"] {
	margin-top: 20px;
	padding: 24px 26px;
	border: 1px solid var(--line);
	border-radius: var(--radius-md);
	background: var(--white);
}

.entry-content .legal-content h2 {
	margin: 0 0 12px;
	font-size: 1.5rem;
}

.legal-content section > :last-child,
.legal-content > div[id="a11y-wstep"] > :last-child {
	margin-bottom: 0;
}

.legal-list {
	display: grid;
	gap: 7px;
	margin: 0;
}

.legal-content > .iod-contact-card {
	display: grid;
	grid-template-columns: minmax( 0, 1fr ) minmax( 270px, 0.8fr );
	gap: 26px;
	border-color: color-mix( in srgb, var(--context) 28%, var(--line) );
	background: linear-gradient( 135deg, var(--context-soft), var(--white) 72% );
}

.iod-contact-card__intro > :last-child {
	margin-bottom: 0;
}

.iod-contact-list {
	display: grid;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.iod-contact-list li {
	display: grid;
	gap: 2px;
	padding: 11px 13px;
	border: 1px solid color-mix( in srgb, var(--context) 20%, var(--line) );
	border-radius: 10px;
	background: rgba( 255, 255, 255, 0.78 );
}

.iod-contact-list span {
	color: var(--muted);
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.iod-contact-list a,
.iod-contact-list strong {
	color: var(--heading-color);
	font-weight: 800;
	overflow-wrap: anywhere;
}

/* Kalendarium patrona szkoły. */
.patron-calendar {
	display: grid;
	gap: 38px;
}

.patron-calendar__intro {
	display: grid;
	grid-template-columns: minmax( 0, 1fr ) 220px;
	align-items: center;
	gap: clamp( 26px, 5vw, 64px );
	padding: clamp( 26px, 4vw, 46px );
	border: 1px solid color-mix( in srgb, var(--context) 22%, var(--line) );
	border-radius: var(--radius-lg);
	background: linear-gradient( 135deg, var(--context-soft), var(--white) 70% );
	box-shadow: var(--shadow-sm);
}

.patron-calendar__lead .eyebrow,
.patron-calendar__lead .page-lead,
.patron-calendar__period {
	margin: 0;
}

.patron-calendar__period {
	margin-block: 12px 16px;
	color: var(--navy-900);
	font-family: var(--font-display);
	font-size: clamp( 2.35rem, 5vw, 4.75rem );
	font-weight: 900;
	letter-spacing: -0.055em;
	line-height: 0.92;
}

.patron-calendar__lead .page-lead {
	max-width: 760px;
}

.patron-calendar__portrait {
	margin: 0;
}

.patron-calendar__portrait a,
.patron-calendar__portrait img {
	display: block;
	width: 100%;
}

.patron-calendar__portrait a {
	border: 5px solid var(--white);
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-md);
	overflow: hidden;
}

.entry-content .patron-calendar__portrait img {
	aspect-ratio: 3 / 4;
	border-radius: 0;
	object-fit: cover;
}

.patron-calendar__portrait figcaption {
	margin-top: 10px;
	color: var(--muted);
	font-size: 0.78rem;
	text-align: center;
}

.patron-calendar__sections {
	display: grid;
	gap: 24px;
}

.patron-calendar__section {
	padding: clamp( 23px, 3vw, 34px );
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	background: var(--white);
	box-shadow: var(--shadow-sm);
}

.patron-calendar__section-heading {
	display: grid;
	grid-template-columns: 180px minmax( 0, 1fr );
	align-items: end;
	gap: 28px;
	padding-bottom: 20px;
	border-bottom: 1px solid var(--line);
}

.patron-calendar__section-heading p,
.entry-content .patron-calendar__section-heading h2 {
	margin: 0;
}

.patron-calendar__section-heading p {
	color: var(--context);
	font-family: var(--font-display);
	font-size: 1.18rem;
	font-weight: 900;
}

.entry-content .patron-calendar__section-heading h2 {
	font-size: clamp( 1.45rem, 2.4vw, 2.05rem );
	line-height: 1.13;
}

.patron-calendar__events {
	display: grid;
	gap: 18px;
	margin: 24px 0 0;
	padding: 0;
	list-style: none;
}

.patron-calendar__events > li {
	display: grid;
	grid-template-columns: 180px minmax( 0, 1fr );
	gap: 28px;
	min-width: 0;
}

.patron-calendar__date {
	position: relative;
	min-width: 0;
	padding: 13px 35px 0 0;
	text-align: right;
}

.patron-calendar__date span {
	position: absolute;
	top: 18px;
	right: 7px;
	z-index: 1;
	width: 16px;
	height: 16px;
	border: 4px solid var(--context-soft);
	border-radius: 50%;
	background: var(--context);
}

.patron-calendar__events > li:not(:last-child) .patron-calendar__date::after {
	position: absolute;
	top: 31px;
	right: 14px;
	bottom: -36px;
	width: 2px;
	background: color-mix( in srgb, var(--context) 30%, var(--line) );
	content: '';
}

.entry-content .patron-calendar__date h3 {
	margin: 0;
	color: var(--navy-900);
	font-size: 1.02rem;
	line-height: 1.3;
}

.patron-calendar__event-copy {
	min-width: 0;
	padding: 15px 18px;
	border: 1px solid color-mix( in srgb, var(--context) 18%, var(--line) );
	border-radius: var(--radius-sm);
	background: #fcfcfb;
}

.patron-calendar__event-copy > p {
	margin: 0;
	line-height: 1.68;
}

.patron-calendar__event-copy blockquote {
	margin: 14px 0 0;
	padding: 12px 15px;
	border-left: 4px solid var(--context);
	border-radius: 0 10px 10px 0;
	background: var(--context-soft);
	color: #3f4b5a;
	font-size: 0.94rem;
	font-style: italic;
}

.patron-calendar__event-copy blockquote p {
	margin: 0;
}

/* Historia szkoły: kalendarium i archiwum fotografii. */
.school-history__intro {
	grid-template-columns: minmax( 0, 1fr ) minmax( 260px, 360px );
}

.school-history__hero,
.school-history__photo {
	margin: 0;
}

.school-history__hero a,
.school-history__hero img,
.school-history__photo a,
.school-history__photo img {
	display: block;
	width: 100%;
}

.school-history__hero a {
	padding: 6px;
	border-radius: var(--radius-md);
	background: var(--white);
	box-shadow: var(--shadow-md);
	overflow: hidden;
}

.entry-content .school-history__hero img {
	aspect-ratio: 4 / 3;
	border-radius: calc( var(--radius-md) - 6px );
	filter: saturate( 0.82 ) contrast( 0.96 );
	object-fit: cover;
}

.school-history__hero figcaption {
	margin-top: 10px;
	color: var(--muted);
	font-size: 0.78rem;
	line-height: 1.45;
}

.school-history__details {
	display: grid;
	grid-template-columns: repeat( 2, minmax( 0, 1fr ) );
	gap: 8px 18px;
	margin: 15px 0 0;
	padding: 0;
	list-style: none;
}

.school-history__details li {
	position: relative;
	margin: 0;
	padding-left: 18px;
	color: #465466;
	font-size: 0.92rem;
	line-height: 1.55;
}

.school-history__details li::before {
	position: absolute;
	top: 0.68em;
	left: 0;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--context);
	content: '';
	transform: translateY( -50% );
}

.school-history__gallery {
	display: grid;
	grid-template-columns: repeat( 3, minmax( 0, 1fr ) );
	gap: 14px;
	margin-top: 28px;
}

.school-history__gallery:has( .school-history__photo:nth-child( 4 ):last-child ) {
	grid-template-columns: repeat( 2, minmax( 0, 1fr ) );
}

.school-history__photo {
	border: 1px solid color-mix( in srgb, var(--context) 16%, var(--line) );
	border-radius: var(--radius-sm);
	background: #fcfcfb;
	overflow: hidden;
}

.school-history__photo a {
	position: relative;
	overflow: hidden;
}

.school-history__photo a::after {
	position: absolute;
	right: 10px;
	bottom: 10px;
	padding: 5px 8px;
	border-radius: 999px;
	background: rgb( 7 26 46 / 78% );
	color: var(--white);
	content: 'Powiększ';
	font-size: 0.68rem;
	font-weight: 800;
	letter-spacing: 0.03em;
	opacity: 0;
	transform: translateY( 4px );
	transition: opacity 180ms ease, transform 180ms ease;
}

.entry-content .school-history__photo img {
	aspect-ratio: 4 / 3;
	border-radius: 0;
	filter: saturate( 0.82 ) contrast( 0.98 );
	object-fit: cover;
	transition: filter 180ms ease, transform 240ms ease;
}

.school-history__photo a:hover::after,
.school-history__photo a:focus-visible::after {
	opacity: 1;
	transform: none;
}

.school-history__photo a:hover img,
.school-history__photo a:focus-visible img {
	filter: saturate( 0.96 ) contrast( 1 );
	transform: scale( 1.025 );
}

.school-history__photo a:focus-visible,
.school-history__hero a:focus-visible {
	outline: 3px solid var(--context);
	outline-offset: 3px;
}

.school-history__photo figcaption {
	min-height: 64px;
	padding: 11px 13px 13px;
	color: #4b596a;
	font-size: 0.78rem;
	line-height: 1.45;
}

.school-history__source {
	margin: 0;
	padding: 18px 21px;
	border-left: 4px solid var(--context);
	border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
	background: var(--context-soft);
	color: #465466;
	font-size: 0.88rem;
	line-height: 1.6;
}

/* Certyfikaty szkoły i przedszkola. */
.certificates-page {
	display: grid;
	gap: 26px;
}

.certificates-page > .page-lead {
	max-width: 850px;
	margin: 0;
}

.certificates-overview {
	display: grid;
	grid-template-columns: 58px minmax( 0, 1fr );
	align-items: center;
	gap: 18px;
	padding: 20px 22px;
	border: 1px solid color-mix( in srgb, var(--context) 24%, var(--line) );
	border-radius: var(--radius-md);
	background: var(--context-soft);
}

.certificates-overview__icon {
	display: grid;
	width: 58px;
	height: 58px;
	place-items: center;
	border-radius: 17px;
	background: var(--white);
	color: var(--context);
}

.certificates-overview__icon svg {
	width: 27px;
	height: 27px;
}

.certificates-overview strong,
.certificates-overview p {
	display: block;
	margin: 0;
}

.certificates-overview strong {
	color: var(--navy-900);
	font-family: var(--font-display);
	font-size: 1.25rem;
}

.certificates-overview p {
	margin-top: 4px;
	color: var(--muted);
	font-size: 0.9rem;
}

.certificates-gallery {
	display: grid;
	grid-template-columns: repeat( auto-fill, minmax( 215px, 1fr ) );
	gap: 16px;
}

.certificate-card {
	min-width: 0;
	margin: 0;
}

.entry-content .certificate-card > a {
	display: grid;
	height: 100%;
	grid-template-rows: 230px auto;
	border: 1px solid var(--line);
	border-radius: var(--radius-md);
	background: var(--white);
	box-shadow: var(--shadow-sm);
	color: inherit;
	overflow: hidden;
	text-decoration: none;
	transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.entry-content .certificate-card > a:hover,
.entry-content .certificate-card > a:focus-visible {
	border-color: var(--context);
	box-shadow: var(--shadow-md);
	transform: translateY( -3px );
}

.certificate-card__preview {
	display: grid;
	min-width: 0;
	padding: 16px;
	place-items: center;
	background:
		linear-gradient( 135deg, color-mix( in srgb, var(--context-soft) 72%, var(--white) ), var(--white) ),
		var(--context-soft);
}

.entry-content .certificate-card__image {
	display: block;
	width: 100%;
	height: 198px;
	border-radius: 8px;
	box-shadow: 0 8px 20px rgba( 10, 31, 50, 0.1 );
	object-fit: contain;
}

.certificate-card figcaption {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-width: 0;
	padding: 14px 16px;
	border-top: 1px solid var(--line);
}

.certificate-card figcaption strong,
.certificate-card figcaption span {
	display: block;
}

.certificate-card figcaption strong {
	color: var(--navy-900);
	font-family: var(--font-display);
	font-size: 0.96rem;
}

.certificate-card figcaption span {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--context);
	font-size: 0.72rem;
	white-space: nowrap;
}

.certificate-card figcaption svg {
	width: 15px;
	height: 15px;
}

.footer-legal {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 8px 18px;
}

.footer-legal a {
	color: rgba( 255, 255, 255, 0.76 );
	font-size: 0.73rem;
	text-decoration: underline;
	text-decoration-color: rgba( 255, 255, 255, 0.3 );
	text-underline-offset: 3px;
}

.footer-legal a:hover,
.footer-legal a:focus-visible {
	color: var(--white);
}

.footer-menu a,
.footer-contact-link,
.footer-login,
.footer-legal a {
	display: inline-flex;
	min-height: 32px;
	align-items: center;
}

.notice-strip a,
.breadcrumbs a {
	display: inline-flex;
	min-height: 24px;
	align-items: center;
}

@media ( max-width: 1120px ) {
	.main-menu > li > a {
		padding-inline: 10px;
		font-size: 0.84rem;
	}

	.desktop-quick-links .quick-login span:last-child {
		display: none;
	}

	.quick-login {
		width: 36px;
		padding: 0;
		justify-content: center;
	}

	.home-hero__grid {
		grid-template-columns: 1fr 420px;
		gap: 28px;
	}

	.hero-card {
		width: 220px;
		height: 225px;
	}

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

@media ( max-width: 960px ) {
	.document-group {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.utility-links a:not( :last-child ) {
		display: none;
	}

	.brand-row {
		min-height: 82px;
	}

	.site-brand__mark {
		width: 56px;
		height: 56px;
		flex-basis: 56px;
	}

	.site-brand__text small {
		display: none;
	}

	.menu-toggle {
		display: inline-flex;
	}

	.school-facebook-link {
		width: 44px;
		padding: 0;
	}

	.school-facebook-link__label {
		display: none;
	}

	.nav-shell__inner {
		display: block;
	}

	.main-navigation {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		max-height: calc( 100vh - 118px );
		padding: 10px 20px 24px;
		background: var(--white);
		box-shadow: var(--shadow-lg);
		overflow: auto;
		display: none;
	}

	.main-navigation.is-open {
		display: block;
	}

	.main-menu {
		display: block;
	}

	.main-menu > li > a {
		min-height: 48px;
		padding-inline: 4px;
		border-bottom: 1px solid var(--line);
		box-shadow: none;
		font-size: 1rem;
	}

	.main-menu .sub-menu {
		position: static;
		display: none;
		min-width: 0;
		padding: 6px 0 10px 14px;
		border: 0;
		box-shadow: none;
		opacity: 1;
		pointer-events: auto;
		transform: none;
	}

	.main-menu .submenu-is-open > .sub-menu,
	.main-menu .current-menu-ancestor > .sub-menu {
		display: block;
	}

	.main-menu .menu-item-has-children > a[aria-expanded="true"]::after {
		transform: translateY( 2px ) rotate( 225deg );
	}

	.mobile-service-links {
		display: grid;
		grid-template-columns: repeat( 2, minmax( 0, 1fr ) );
		gap: 10px;
		margin-top: 18px;
	}

	.mobile-service-links > a {
		display: flex;
		align-items: center;
		gap: 12px;
		min-height: 72px;
		padding: 14px;
		border-radius: var(--radius-sm);
		background: var(--navy-900);
		color: var(--white);
		text-decoration: none;
	}

	.mobile-service-links > a > svg,
	.mobile-service-links > a > .service-brand-icon {
		flex: 0 0 auto;
	}

	.service-brand-icon--mobile {
		width: 38px;
		height: 38px;
		padding: 5px;
		border-radius: 10px;
		background: var(--white);
	}

	.mobile-service-links small,
	.mobile-service-links strong {
		display: block;
	}

	.mobile-service-links small {
		color: rgba( 255, 255, 255, 0.68 );
		font-size: 0.68rem;
	}

	.mobile-service-links strong {
		font-size: 0.83rem;
	}

	.desktop-quick-links {
		display: none;
	}

	.home-hero__grid {
		grid-template-columns: minmax( 0, 0.56fr ) minmax( 280px, 0.44fr );
		min-height: 0;
		padding-block: 40px 44px;
	}

	.home-hero {
		min-height: 430px;
	}

	.home-hero h1 {
		font-size: clamp( 2.35rem, 5.4vw, 3.25rem );
	}

	.split-hero__media {
		inset: 0 0 0 34%;
	}

	.split-hero__dissolve {
		inset: 0;
		width: 100%;
	}

	.page-hero--split .page-hero__inner {
		min-height: 330px;
	}

	.page-hero--split .breadcrumbs,
	.page-hero--split .eyebrow,
	.page-hero--split h1,
	.page-hero--split .page-hero__inner > p:last-child {
		max-width: 46%;
	}

	.pathway-card {
		grid-template-columns: auto 1fr;
	}

	.pathway-card__arrow {
		display: none;
	}

	.news-layout {
		grid-template-columns: 1fr;
	}

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

	.story-card {
		grid-template-columns: 120px 1fr;
	}

	.quick-info__grid,
	.post-grid,
	.post-grid--archive {
		grid-template-columns: repeat( 2, minmax( 0, 1fr ) );
	}

	.content-layout--hub,
	.article-layout {
		grid-template-columns: 1fr;
		gap: 30px;
	}

	.content-layout--hub-feature > .school-display,
	.content-layout--hub-feature > .preschool-feature,
	.content-layout--hub-feature > .hub-links {
		grid-column: auto;
		grid-row: auto;
	}

	.content-layout--hub-feature > .page-content {
		display: block;
		min-height: 0;
	}

	.content-layout--hub-feature > .school-display,
	.content-layout--hub-feature > .preschool-feature {
		height: auto;
	}

	.content-layout--hub-feature > .hub-links {
		grid-template-columns: repeat( 3, minmax( 0, 1fr ) );
	}

	.article-layout {
		padding-block: 44px;
	}

	.aside-card {
		position: static;
	}
}

@media ( max-width: 700px ) {
	.hymn-tracks,
	.hymn-lyrics__columns {
		grid-template-columns: 1fr;
	}

	body {
		font-size: 16px;
	}

	.split-hero {
		--split-hero-photo-left: -28px;
	}

	.split-hero__media {
		inset: 0 0 auto;
		height: 184px;
	}

	.split-hero__media.scroll-pan img {
		left: var(--split-hero-photo-left);
		width: calc( 100% + 56px );
	}

	.split-hero__dissolve {
		inset: 112px 0 auto;
		width: 100%;
		height: 78px;
		background: linear-gradient( to bottom, transparent 0%, var(--split-hero-background) 78%, var(--split-hero-background) 100% );
		-webkit-mask: none;
		mask: none;
	}

	.home-hero__grid {
		grid-template-columns: 1fr;
		min-height: 0;
		padding-block: 210px 34px;
	}

	.home-hero {
		min-height: 620px;
	}

	.home-hero__content {
		max-width: none;
	}

	.home-hero h1 {
		font-size: clamp( 2.25rem, 11vw, 3.15rem );
	}

	.page-hero--split {
		min-height: 430px;
	}

	.page-hero--split .page-hero__inner {
		min-height: 430px;
	}

	.page-hero--split .page-hero__inner {
		padding-block: 208px 30px;
	}

	.page-hero--split .breadcrumbs,
	.page-hero--split .eyebrow,
	.page-hero--split h1,
	.page-hero--split .page-hero__inner > p:last-child {
		max-width: none;
	}

	.page-building-photo {
		height: 168px;
		margin-bottom: 22px;
		border-radius: 17px;
	}

	.page-building-photo figcaption {
		right: 16px;
		bottom: 12px;
		left: 16px;
		font-size: 0.72rem;
	}

	.info-sections {
		grid-template-columns: 1fr;
		gap: 14px;
	}

	.fact-strip,
	.leadership-grid,
	.history-timeline {
		grid-template-columns: 1fr;
	}

	.fact-strip,
	.leadership-grid {
		gap: 12px;
	}

	.fact-card,
	.leadership-card {
		padding: 17px;
	}

	.staff-group {
		padding: 18px;
	}

	.homeroom-directory {
		gap: 17px;
		padding: 18px;
	}

	.homeroom-grid {
		grid-template-columns: repeat( 2, minmax( 0, 1fr ) );
		gap: 9px;
	}

	.homeroom-card {
		min-height: 132px;
		padding: 14px;
	}

	.homeroom-card__label {
		align-items: flex-start;
		flex-direction: column;
		gap: 7px;
	}

	.staff-list {
		grid-template-columns: 1fr;
	}

	.staff-person {
		padding: 14px 15px;
	}

	.legal-content > .iod-contact-card {
		grid-template-columns: 1fr;
		gap: 18px;
	}

	.patron-calendar {
		gap: 26px;
	}

	.patron-calendar__intro {
		grid-template-columns: 1fr;
		gap: 24px;
		padding: 21px;
	}

	.patron-calendar__portrait {
		width: min( 190px, 66vw );
	}

	.patron-calendar__portrait figcaption {
		text-align: left;
	}

	.patron-calendar__sections {
		gap: 18px;
	}

	.patron-calendar__section {
		padding: 20px 17px;
	}

	.patron-calendar__section-heading {
		grid-template-columns: 1fr;
		gap: 5px;
		padding-bottom: 16px;
	}

	.patron-calendar__events {
		gap: 14px;
		margin-top: 18px;
	}

	.patron-calendar__events > li {
		grid-template-columns: 1fr;
		gap: 8px;
		padding-left: 20px;
		border-left: 2px solid color-mix( in srgb, var(--context) 30%, var(--line) );
	}

	.patron-calendar__date {
		padding: 0;
		text-align: left;
	}

	.patron-calendar__date span {
		top: 3px;
		right: auto;
		left: -29px;
	}

	.patron-calendar__events > li:not(:last-child) .patron-calendar__date::after {
		display: none;
	}

	.patron-calendar__event-copy {
		padding: 14px 15px;
	}

	.school-history__hero {
		width: 100%;
	}

	.school-history__details,
	.school-history__gallery,
	.school-history__gallery:has( .school-history__photo:nth-child( 4 ):last-child ) {
		grid-template-columns: 1fr;
	}

	.school-history__gallery {
		gap: 12px;
		margin-top: 20px;
	}

	.school-history__photo figcaption {
		min-height: 0;
	}

	.school-history__source {
		padding: 16px 17px;
	}

	.certificates-page {
		gap: 20px;
	}

	.certificates-overview {
		grid-template-columns: 46px minmax( 0, 1fr );
		gap: 13px;
		padding: 16px;
	}

	.certificates-overview__icon {
		width: 46px;
		height: 46px;
		border-radius: 13px;
	}

	.certificates-overview__icon svg {
		width: 23px;
		height: 23px;
	}

	.certificates-gallery {
		grid-template-columns: repeat( 2, minmax( 0, 1fr ) );
		gap: 10px;
	}

	.entry-content .certificate-card > a {
		grid-template-rows: 170px auto;
	}

	.certificate-card__preview {
		padding: 10px;
	}

	.entry-content .certificate-card__image {
		height: 150px;
	}

	.certificate-card figcaption {
		align-items: flex-start;
		flex-direction: column;
		gap: 4px;
		padding: 11px 12px;
	}

	.certificate-card figcaption span {
		font-size: 0.68rem;
		white-space: normal;
	}

	.leadership-card {
		grid-template-columns: 48px minmax( 0, 1fr );
		min-height: 108px;
	}

	.leadership-card__icon {
		width: 48px;
		height: 48px;
		border-radius: 14px;
	}

	.info-card,
	.document-group,
	.legal-content > section,
	.legal-content > div[id="a11y-wstep"],
	.contact-cards--detailed .contact-card {
		padding: 19px;
	}

	.document-feature {
		grid-template-columns: 44px minmax( 0, 1fr ) 18px;
		gap: 12px;
		padding: 17px;
	}

	.document-feature > span:first-child {
		width: 44px;
		height: 44px;
	}

	.document-list a {
		grid-template-columns: 36px minmax( 0, 1fr ) 16px;
		gap: 10px;
		padding: 10px;
	}

	.document-list__icon {
		width: 36px;
		height: 36px;
	}

	.page-resources,
	.contact-cards {
		grid-template-columns: 1fr;
	}

	.zso-container {
		width: min( calc( 100% - 28px ), var(--container) );
	}

	.utility-bar__inner {
		width: 100%;
	}

	.entity-switcher {
		width: 100%;
		justify-content: center;
	}

	.entity-switcher a {
		flex: 1;
		justify-content: center;
		padding-inline: 6px;
	}

	.utility-links {
		display: none;
	}

	.header-search form {
		position: fixed;
		top: 128px;
		right: 14px;
		left: 14px;
		width: auto;
	}

	body.admin-bar .header-search form {
		top: 160px;
	}

	.brand-row {
		width: calc( 100% - 28px );
	}

	.site-brand {
		gap: 10px;
	}

	.site-brand__text strong {
		max-width: 165px;
		font-size: 0.94rem;
	}

	.round-action {
		display: none;
	}

	.header-search .round-action {
		display: inline-flex;
	}

	.menu-toggle {
		width: 44px;
		padding: 0;
	}

	.menu-toggle > span:last-child {
		display: none;
	}

	.notice-strip__inner {
		align-items: flex-start;
		padding-block: 10px;
	}

	.notice-strip__items {
		display: grid;
		gap: 5px;
	}

	.notice-strip__item {
		display: flex;
		padding: 0;
		border: 0;
		font-size: 0.82rem;
		line-height: 1.35;
	}

	.notice-strip__item span {
		white-space: normal;
	}

	.notice-strip__item svg {
		display: none;
	}

	.notice-strip__label {
		margin-top: 2px;
	}

	.home-hero h1 {
		font-size: clamp( 2.15rem, 9vw, 3rem );
	}

	.hero-actions {
		align-items: stretch;
		flex-direction: column;
	}

	.button {
		width: 100%;
	}

	.login-hub,
	.pathways,
	.news-section,
	.quick-info,
	.section-muted,
	.hub-news {
		padding-block: 30px;
	}

	.section-heading {
		align-items: flex-start;
		flex-direction: column;
		gap: 12px;
		margin-bottom: 16px;
	}

	.login-cards,
	.pathway-grid,
	.story-list,
	.quick-info__grid,
	.post-grid,
	.post-grid--archive,
	.hub-links,
	.post-navigation {
		grid-template-columns: 1fr;
	}

	.login-card {
		grid-template-columns: 48px 1fr auto;
		min-height: 72px;
		padding: 11px 14px;
	}

	.login-card__icon {
		width: 48px;
		height: 48px;
	}

	.mobile-service-links {
		grid-template-columns: 1fr;
	}

	.pathway-card {
		grid-template-columns: 1fr;
		min-height: 195px;
		padding: 20px;
	}

	.pathway-card__content > span {
		font-size: 0.85rem;
	}

	.story-card {
		grid-template-columns: 96px minmax( 0, 1fr );
	}

	.featured-story__content {
		padding: 22px;
	}

	.quick-info__grid {
		grid-template-columns: 1fr;
	}

	.quick-info__grid > a {
		min-height: 82px;
		padding: 14px;
	}

	.page-hero__inner,
	.archive-hero .zso-container,
	.article-header__inner {
		padding-block: 36px 40px;
	}

	.page-hero h1,
	.archive-hero h1,
	.article-header h1 {
		font-size: clamp( 2rem, 10vw, 3rem );
		overflow-wrap: anywhere;
		hyphens: auto;
	}

	.content-layout,
	.archive-content {
		padding-block: 38px 52px;
	}

	.pathways,
	.content-layout--hub {
		padding-bottom: 30px;
	}

	.content-layout--hub {
		padding-top: 30px;
	}

	.news-section,
	.hub-news {
		padding-top: 30px;
	}

	.hub-links a {
		min-height: 96px;
		padding: 16px;
	}

	.school-display {
		padding: 17px;
	}

	.school-display__heading {
		display: block;
	}

	.content-layout--hub-feature > .hub-links {
		grid-template-columns: 1fr;
	}

	.school-display__screen {
		border-width: 5px;
		border-radius: 13px;
	}

	.school-display__actions {
		align-items: flex-start;
		flex-direction: column;
	}

	.article-featured-image {
		width: min( calc( 100% - 28px ), var(--container) );
		margin: 14px auto 0;
	}

	.article-featured-image img {
		border: 0;
		border-radius: 17px;
		max-height: none;
		object-fit: contain;
	}

	.article-content {
		font-size: 1rem;
	}

	.footer-grid {
		grid-template-columns: 1fr;
		gap: 20px;
		padding-block: 30px;
	}

	.footer-menu {
		display: grid;
		grid-template-columns: repeat( 2, minmax( 0, 1fr ) );
		gap: 6px 14px;
	}

	.footer-menu li + li {
		margin-top: 0;
	}

	.footer-bottom .zso-container {
		align-items: flex-start;
		flex-direction: column;
		gap: 4px;
	}

	.footer-legal {
		justify-content: flex-start;
		gap: 7px 14px;
	}
}

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

	.school-display__heading .eyebrow::before {
		animation: none !important;
	}

	.scroll-pan img {
		transform: none !important;
		will-change: auto;
	}

	.card-gallery-toggle {
		display: none !important;
	}
}

/* Kalendarz roku szkolnego */
.school-year-calendar {
	display: grid;
	gap: 36px;
}

.school-year-calendar__intro {
	display: grid;
	grid-template-columns: minmax( 0, 1.3fr ) minmax( 320px, 0.7fr );
	align-items: stretch;
	gap: 28px;
}

.school-year-calendar__intro h2,
.school-year-calendar__group h2,
.school-year-calendar__local h2,
.school-year-calendar__resources h2 {
	margin: 0;
	color: var(--navy-900);
}

.school-year-calendar__intro .page-lead {
	max-width: 780px;
	margin-bottom: 12px;
}

.school-year-calendar__updated {
	margin: 0;
	color: var(--muted);
	font-size: 0.92rem;
}

.school-year-calendar__download {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 16px;
	min-height: 150px;
	padding: 24px;
	border: 1px solid var(--school-border);
	border-radius: 24px;
	background: linear-gradient( 145deg, var(--school-soft), #fff 78% );
	box-shadow: var(--shadow-sm);
	color: var(--navy-900);
	text-decoration: none;
}

.school-year-calendar__download:hover {
	border-color: var(--school-primary);
	box-shadow: var(--shadow-md);
	transform: translateY( -2px );
}

.school-year-calendar__download-icon {
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	border-radius: 16px;
	background: var(--red-600);
	color: #fff;
}

.school-year-calendar__download-icon svg,
.school-year-calendar__download-arrow svg,
.school-year-calendar__local > span svg {
	width: 25px;
	height: 25px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
}

.school-year-calendar__download small,
.school-year-calendar__download em {
	display: block;
	color: var(--muted);
	font-size: 0.82rem;
	font-style: normal;
}

.school-year-calendar__download strong {
	display: block;
	margin: 3px 0;
	font-size: 1.05rem;
	line-height: 1.28;
}

.school-year-calendar__quick {
	display: grid;
	grid-template-columns: repeat( 4, minmax( 0, 1fr ) );
	margin: 0;
	padding: 0;
	border: 1px solid var(--line);
	border-radius: 22px;
	background: var(--warm-50);
	list-style: none;
	overflow: hidden;
}

.school-year-calendar__quick li {
	display: grid;
	align-content: center;
	min-height: 108px;
	padding: 20px 24px;
}

.school-year-calendar__quick li + li {
	border-left: 1px solid var(--line);
}

.school-year-calendar__quick strong,
.school-year-calendar__quick span {
	display: block;
}

.school-year-calendar__quick strong {
	color: var(--navy-900);
	font-family: var(--font-display);
	font-size: clamp( 1.15rem, 2vw, 1.48rem );
	line-height: 1.1;
}

.school-year-calendar__quick span {
	margin-top: 7px;
	color: var(--muted);
	font-size: 0.9rem;
}

.school-year-calendar__groups {
	display: grid;
	gap: 42px;
}

.school-year-calendar__group > header {
	display: grid;
	grid-template-columns: 210px 1fr;
	align-items: baseline;
	gap: 24px;
	margin-bottom: 16px;
}

.school-year-calendar__group > header p {
	margin: 0;
	color: var(--red-600);
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.school-year-calendar__events {
	display: grid;
	gap: 10px;
}

.school-year-calendar__event {
	display: grid;
	grid-template-columns: 210px minmax( 0, 1fr );
	border: 1px solid var(--line);
	border-radius: 18px;
	background: #fff;
	overflow: hidden;
}

.school-year-calendar__event > div {
	padding: 20px 24px;
}

.school-year-calendar__event > div + div {
	border-left: 1px solid var(--line);
}

.school-year-calendar__date {
	display: grid;
	align-content: center;
	gap: 7px;
	background: var(--school-soft);
}

.school-year-calendar__event--local .school-year-calendar__date {
	background: var(--context-soft);
}

.school-year-calendar__date time {
	color: var(--navy-900);
	font-weight: 800;
	line-height: 1.28;
}

.school-year-calendar__date span {
	width: fit-content;
	padding: 4px 8px;
	border-radius: 999px;
	background: rgba( 199, 45, 59, 0.1 );
	color: var(--red-600);
	font-size: 0.7rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.school-year-calendar__event h3 {
	margin: 0 0 6px;
	color: var(--navy-900);
	font-size: 1.12rem;
}

.school-year-calendar__event p {
	margin: 0;
	color: var(--muted);
}

.school-year-calendar__event--exam {
	border-color: #e5b9c0;
	box-shadow: inset 4px 0 0 var(--red-600);
}

.school-year-calendar__local {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 20px;
	align-items: start;
	padding: 28px;
	border: 1px solid #e8bcc4;
	border-radius: 22px;
	background: var(--context-soft);
}

.school-year-calendar__local > span {
	display: grid;
	place-items: center;
	width: 50px;
	height: 50px;
	border-radius: 15px;
	background: var(--red-600);
	color: #fff;
}

.school-year-calendar__local p {
	margin: 8px 0 0;
	color: var(--ink);
}

.school-year-calendar__resources {
	display: grid;
	grid-template-columns: minmax( 0, 0.8fr ) minmax( 0, 1.2fr );
	gap: 34px;
	align-items: start;
	padding-top: 4px;
}

.school-year-calendar__resources > div:first-child > p:last-child {
	color: var(--muted);
}

.school-year-calendar__resources .page-resources {
	margin: 0;
}

.school-year-calendar__resources .page-resource span {
	display: grid;
	gap: 4px;
}

.school-year-calendar__resources .page-resource small {
	color: var(--muted);
	font-size: 0.82rem;
	font-weight: 500;
}

.school-year-calendar__archive {
	opacity: 0.78;
}

@media ( max-width: 900px ) {
	.school-year-calendar__intro,
	.school-year-calendar__resources {
		grid-template-columns: 1fr;
	}

	.school-year-calendar__download {
		min-height: 0;
	}

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

	.school-year-calendar__quick li:nth-child( 3 ) {
		border-left: 0;
		border-top: 1px solid var(--line);
	}

	.school-year-calendar__quick li:nth-child( 4 ) {
		border-top: 1px solid var(--line);
	}
}

@media ( max-width: 640px ) {
	.school-year-calendar {
		gap: 28px;
	}

	.school-year-calendar__intro {
		gap: 20px;
	}

	.school-year-calendar__download {
		grid-template-columns: auto 1fr;
		padding: 19px;
		border-radius: 19px;
	}

	.school-year-calendar__download-arrow {
		display: none;
	}

	.school-year-calendar__download-icon {
		width: 46px;
		height: 46px;
	}

	.school-year-calendar__quick li {
		min-height: 92px;
		padding: 16px;
	}

	.school-year-calendar__groups {
		gap: 32px;
	}

	.school-year-calendar__group > header,
	.school-year-calendar__event {
		grid-template-columns: 1fr;
	}

	.school-year-calendar__group > header {
		gap: 5px;
	}

	.school-year-calendar__event > div {
		padding: 17px 18px;
	}

	.school-year-calendar__event > div + div {
		border-top: 1px solid var(--line);
		border-left: 0;
	}

	.school-year-calendar__local {
		grid-template-columns: 1fr;
		padding: 22px;
	}
}

/* Plan lekcji */
.school-timetable {
	display: grid;
	gap: 24px;
}

.school-timetable__intro {
	display: grid;
	grid-template-columns: minmax( 0, 1fr ) minmax( 220px, 300px );
	align-items: center;
	gap: 28px;
	padding: 30px;
	border: 1px solid var(--school-border);
	border-radius: 24px;
	background: linear-gradient( 145deg, var(--school-soft), #fff 78% );
}

.school-timetable__intro h2,
.school-timetable__class-heading h2,
.school-timetable__day h3 {
	margin: 0;
	color: var(--navy-900);
}

.school-timetable__intro .page-lead {
	max-width: 760px;
	margin-bottom: 10px;
}

.school-timetable__updated {
	margin: 0;
	color: var(--muted);
	font-size: 0.9rem;
}

.school-timetable__picker {
	display: grid;
	gap: 8px;
}

.school-timetable__picker label {
	color: var(--navy-900);
	font-size: 0.82rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.school-timetable__picker select {
	width: 100%;
	min-height: 52px;
	padding: 10px 42px 10px 15px;
	border: 1px solid var(--school-border);
	border-radius: 14px;
	background-color: #fff;
	color: var(--navy-900);
	font: inherit;
	font-weight: 800;
}

.school-timetable__picker select:focus-visible {
	outline: 3px solid var(--focus-ring);
	outline-offset: 2px;
}

.school-timetable__hint {
	margin: 0;
	padding: 14px 18px;
	border-left: 4px solid var(--school-primary);
	border-radius: 0 12px 12px 0;
	background: var(--warm-50);
	color: var(--muted);
	font-size: 0.92rem;
}

.school-timetable__hint strong {
	color: var(--navy-900);
}

.school-timetable__classes {
	display: grid;
	gap: 36px;
}

.school-timetable.is-enhanced .school-timetable__class:not( .is-active ) {
	display: none;
}

.school-timetable__class {
	display: grid;
	gap: 16px;
	scroll-margin-top: 140px;
}

.school-timetable__class-heading {
	display: flex;
	align-items: baseline;
	gap: 12px;
}

.school-timetable__class-heading p {
	margin: 0;
	color: var(--red-600);
	font-size: 0.76rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.school-timetable__class-heading h2 {
	font-size: clamp( 1.65rem, 3vw, 2.35rem );
}

.school-timetable__desktop {
	max-width: 100%;
	border: 1px solid var(--line);
	border-radius: 20px;
	background: #fff;
	overflow-x: auto;
	overscroll-behavior-inline: contain;
	box-shadow: var(--shadow-sm);
}

.school-timetable__desktop:focus-visible {
	outline: 3px solid var(--focus-ring);
	outline-offset: 3px;
}

.school-timetable table {
	width: 100%;
	min-width: 1160px;
	margin: 0;
	border: 0;
	border-collapse: separate;
	border-spacing: 0;
	table-layout: fixed;
}

.school-timetable th,
.school-timetable td {
	border: 0;
	border-right: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
	vertical-align: top;
}

.school-timetable tr > :last-child {
	border-right: 0;
}

.school-timetable tbody tr:last-child > * {
	border-bottom: 0;
}

.school-timetable thead th {
	padding: 13px 10px;
	background: var(--navy-900);
	color: #fff;
	text-align: center;
}

.school-timetable thead th:first-child {
	position: sticky;
	left: 0;
	z-index: 3;
	width: 128px;
	text-align: left;
}

.school-timetable thead th strong,
.school-timetable thead th span {
	display: block;
}

.school-timetable thead th strong {
	font-size: 1.05rem;
}

.school-timetable thead th span {
	margin-top: 2px;
	font-size: 0.72rem;
	font-weight: 600;
	white-space: nowrap;
}

.school-timetable tbody th {
	position: sticky;
	left: 0;
	z-index: 2;
	width: 128px;
	padding: 17px 14px;
	background: var(--school-soft);
	color: var(--navy-900);
	font-size: 0.88rem;
	text-align: left;
}

.school-timetable td {
	min-width: 114px;
	padding: 6px;
	background: #fff;
}

.school-timetable__lesson-group {
	display: grid;
	gap: 7px;
	min-height: 65px;
	padding: 8px;
	border: 1px solid var(--school-border);
	border: 1px solid color-mix( in srgb, var(--school-primary) 22%, #fff );
	border-radius: 12px;
	background: var(--school-soft);
}

.school-timetable__lesson {
	display: grid;
	min-width: 0;
	gap: 3px;
	align-content: start;
}

.school-timetable__lesson + .school-timetable__lesson {
	padding-top: 7px;
	border-top: 1px solid var(--school-border);
	border-top: 1px solid color-mix( in srgb, var(--school-primary) 18%, #fff );
}

.school-timetable__lesson strong {
	color: var(--navy-900);
	font-size: 0.76rem;
	line-height: 1.16;
	overflow-wrap: normal;
	word-break: normal;
	hyphens: none;
}

.school-timetable__teachers {
	display: grid;
	gap: 1px;
	color: var(--muted);
	font-size: 0.66rem;
	line-height: 1.22;
}

.school-timetable__teacher {
	display: block;
	color: var(--school-primary-deep);
	font-weight: 700;
	overflow-wrap: anywhere;
}

.school-timetable__empty {
	display: grid;
	place-items: center;
	min-height: 65px;
	color: #a3abb4;
}

.school-timetable__mobile {
	display: none;
}

@media ( max-width: 900px ) {
	.school-timetable__intro {
		grid-template-columns: 1fr;
		padding: 24px;
	}

	.school-timetable__picker {
		max-width: 360px;
	}
}

@media ( max-width: 720px ) {
	.school-timetable {
		gap: 20px;
	}

	.school-timetable__intro {
		gap: 20px;
		padding: 20px;
		border-radius: 19px;
	}

	.school-timetable__hint {
		padding: 13px 15px;
	}

	.school-timetable__desktop {
		display: none;
	}

	.school-timetable__mobile {
		display: grid;
		gap: 14px;
	}

	.school-timetable__day {
		border: 1px solid var(--line);
		border-radius: 17px;
		background: #fff;
		overflow: hidden;
	}

	.school-timetable__day h3 {
		padding: 14px 17px;
		background: var(--school-soft);
		font-size: 1.05rem;
	}

	.school-timetable__day ol {
		margin: 0;
		padding: 0;
		list-style: none;
	}

	.school-timetable__day li {
		display: grid;
		grid-template-columns: 86px minmax( 0, 1fr );
		gap: 12px;
		align-items: stretch;
		padding: 12px;
	}

	.school-timetable__day li + li {
		border-top: 1px solid var(--line);
	}

	.school-timetable__time {
		display: grid;
		align-content: center;
		justify-items: center;
		gap: 2px;
		padding: 8px;
		border-radius: 11px;
		background: var(--navy-900);
		color: #fff;
		text-align: center;
	}

	.school-timetable__time strong {
		font-size: 1.08rem;
	}

	.school-timetable__time span {
		font-size: 0.65rem;
		white-space: nowrap;
	}

	.school-timetable__lesson-group {
		min-height: 58px;
	}

	.school-timetable__lesson strong {
		font-size: 0.81rem;
	}
}

@media ( max-width: 420px ) {
	.school-timetable__day li {
		grid-template-columns: 76px minmax( 0, 1fr );
		gap: 9px;
		padding: 10px;
	}

	.school-timetable__lesson-group {
		padding: 9px;
	}
}

/* Tygodniowy harmonogram świetlicy, wersja 1.4.56. */
.school-daycare-week {
	display: grid;
	grid-template-columns: repeat( 5, minmax( 0, 1fr ) );
	gap: 12px;
	margin-top: 22px;
}

.school-daycare-day {
	min-width: 0;
	border: 1px solid var(--school-border);
	border: 1px solid color-mix( in srgb, var(--school-primary) 20%, #fff );
	border-radius: 17px;
	background: #fff;
	overflow: hidden;
}

.school-daycare-day h3 {
	margin: 0;
	padding: 14px 15px;
	background: var(--school-soft);
	color: var(--navy-900);
	font-size: 1rem;
}

.school-daycare-day ol {
	margin: 0;
	padding: 0;
	list-style: none;
}

.school-daycare-day li {
	display: grid;
	gap: 6px;
	padding: 13px 14px;
}

.school-daycare-day li + li {
	border-top: 1px solid var(--line);
}

.school-daycare-day time {
	color: var(--school-primary-deep);
	font-size: 0.78rem;
	font-weight: 800;
	white-space: nowrap;
}

.school-daycare-day li > span {
	display: grid;
	gap: 2px;
	color: var(--muted);
	font-size: 0.79rem;
	line-height: 1.35;
}

.school-daycare-day li strong {
	color: var(--navy-900);
	font-size: 0.82rem;
}

@media ( max-width: 1120px ) {
	.school-daycare-week {
		grid-template-columns: repeat( 3, minmax( 0, 1fr ) );
	}
}

@media ( max-width: 720px ) {
	.school-daycare-week {
		grid-template-columns: repeat( 2, minmax( 0, 1fr ) );
	}
}

@media ( max-width: 500px ) {
	.school-daycare-week {
		grid-template-columns: 1fr;
	}

	.school-daycare-day li {
		grid-template-columns: 92px minmax( 0, 1fr );
		align-items: start;
	}
}
