/*
Theme Name: Letslanguage
Theme URI: https://letslanguage.pl/
Author: Letslanguage
Description: Lekki motyw katalogowy dla porównywarki platform, kursów i szkół językowych.
Version: 1.1.0
Text Domain: letslanguage
*/

:root {
	--ink: #192847;
	--muted: #58647c;
	--line: #d9dfea;
	--paper: #ffffff;
	--canvas: #f6f8fc;
	--brand: #243762;
	--brand-dark: #192847;
	--brand-soft: #e9edf5;
	--accent: #f8c80c;
	--accent-dark: #f1a619;
	--accent-soft: #fff6d1;
	--shadow: 0 16px 50px rgb(25 40 71 / 10%);
	--radius-sm: 10px;
	--radius: 18px;
	--radius-lg: 30px;
	--content: 1180px;
	--reading: 760px;
}

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

html { scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--canvas);
	color: var(--ink);
	font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 17px;
	line-height: 1.65;
	text-rendering: optimizeLegibility;
}

body.nav-open { overflow: hidden; }

a {
	color: var(--brand-dark);
	text-decoration-thickness: .08em;
	text-underline-offset: .18em;
}

a:hover { color: var(--brand); }

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

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

button,
select { cursor: pointer; }

:focus-visible {
	outline: 3px solid var(--brand-dark);
	outline-offset: 3px;
	box-shadow: 0 0 0 6px rgb(248 200 12 / 48%);
}

::selection {
	background: var(--accent);
	color: var(--ink);
}

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

.reading-width {
	width: min(100%, var(--reading));
	margin-inline: auto;
}

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

.skip-link:focus {
	clip: auto;
	clip-path: none;
	top: 10px;
	left: 10px;
	z-index: 10000;
	width: auto;
	height: auto;
	padding: 10px 14px;
	background: var(--ink);
	color: #fff;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	border-bottom: 1px solid rgb(217 223 234 / 85%);
	background: rgb(255 255 255 / 92%);
	backdrop-filter: blur(14px);
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 78px;
	gap: 28px;
}

.brand {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
}

.brand-logo,
.custom-logo {
	width: 236px;
	height: auto;
	max-height: 50px;
}

.site-nav ul {
	display: flex;
	align-items: center;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-nav a {
	display: block;
	padding: 10px 12px;
	border-radius: 9px;
	color: var(--ink);
	font-size: 15px;
	font-weight: 700;
	text-decoration: none;
}

.site-nav a:hover,
.site-nav .current-menu-item > a,
.site-nav .current-menu-ancestor > a { background: var(--brand-soft); }

.nav-cta a {
	margin-left: 6px;
	background: var(--brand) !important;
	color: #fff !important;
}

.nav-cta a:hover { background: var(--brand-dark) !important; }

.menu-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 1px solid var(--line);
	border-radius: 11px;
	background: #fff;
	color: var(--ink);
}

.menu-toggle-lines,
.menu-toggle-lines::before,
.menu-toggle-lines::after {
	display: block;
	width: 20px;
	height: 2px;
	background: currentcolor;
	content: "";
	transition: transform .2s ease;
}

.menu-toggle-lines::before { transform: translateY(-6px); }
.menu-toggle-lines::after { transform: translateY(4px); }

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 14px;
	color: var(--brand);
	font-size: 13px;
	font-weight: 850;
	letter-spacing: .09em;
	line-height: 1.3;
	text-transform: uppercase;
}

.eyebrow::before {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--accent-dark);
	content: "";
}

h1,
h2,
h3,
h4 {
	margin-top: 0;
	font-weight: 850;
	letter-spacing: -.045em;
	line-height: 1.1;
}

h1 { font-size: clamp(42px, 7vw, 78px); }
h2 { font-size: clamp(30px, 4vw, 48px); }
h3 { font-size: clamp(21px, 2.2vw, 27px); }

.hero {
	position: relative;
	overflow: hidden;
	padding: clamp(70px, 10vw, 130px) 0 84px;
	background:
		radial-gradient(circle at 88% 20%, rgb(248 200 12 / 32%) 0 9%, transparent 9.5%),
		radial-gradient(circle at 78% 72%, rgb(241 166 25 / 18%) 0 14%, transparent 14.5%),
		linear-gradient(135deg, #fbfcff 0%, #f0f3f9 100%);
}

.hero::after {
	position: absolute;
	right: max(-180px, calc((100vw - var(--content)) / 2 - 180px));
	bottom: -260px;
	width: 560px;
	height: 560px;
	border: 1px solid rgb(36 55 98 / 14%);
	border-radius: 50%;
	box-shadow: 0 0 0 52px rgb(36 55 98 / 4%), 0 0 0 104px rgb(36 55 98 / 3%);
	content: "";
}

.hero-grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
	align-items: center;
	gap: clamp(40px, 7vw, 90px);
}

.hero h1 {
	max-width: 850px;
	margin-bottom: 24px;
}

.hero h1 em {
	position: relative;
	color: var(--brand);
	font-style: normal;
	white-space: nowrap;
}

.hero h1 em::after {
	position: absolute;
	right: 0;
	bottom: -.06em;
	left: 0;
	height: .12em;
	border-radius: 999px;
	background: var(--accent);
	content: "";
	transform: rotate(-1deg);
}

.hero-lead {
	max-width: 680px;
	margin: 0 0 34px;
	color: var(--muted);
	font-size: clamp(18px, 2vw, 22px);
}

.button,
button.button,
input[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 11px 20px;
	border: 1px solid var(--brand);
	border-radius: 12px;
	background: var(--brand);
	color: #fff;
	font-weight: 800;
	line-height: 1.2;
	text-decoration: none;
	transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
}

.button:hover {
	background: var(--brand-dark);
	box-shadow: 0 10px 24px rgb(25 40 71 / 22%);
	color: #fff;
	transform: translateY(-1px);
}

.button-secondary {
	border-color: var(--line);
	background: #fff;
	color: var(--ink);
}

.button-secondary:hover {
	border-color: var(--brand);
	background: var(--brand-soft);
	color: var(--ink);
}

.button-small {
	min-height: 40px;
	padding: 8px 14px;
	font-size: 14px;
}

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

.hero-trust {
	display: flex;
	flex-wrap: wrap;
	gap: 22px;
	margin: 30px 0 0;
	padding: 0;
	color: var(--muted);
	font-size: 14px;
	font-weight: 650;
	list-style: none;
}

.hero-trust li::before {
	display: inline-grid;
	place-items: center;
	width: 20px;
	height: 20px;
	margin-right: 7px;
	border-radius: 50%;
	background: var(--brand-soft);
	color: var(--brand);
	content: "✓";
	font-size: 12px;
	font-weight: 900;
}

.hero-panel {
	padding: 28px;
	border: 1px solid rgb(255 255 255 / 75%);
	border-radius: var(--radius-lg);
	background: rgb(255 255 255 / 82%);
	box-shadow: var(--shadow);
	backdrop-filter: blur(10px);
}

.hero-panel h2 {
	margin-bottom: 8px;
	font-size: 25px;
}

.hero-panel > p {
	margin: 0 0 20px;
	color: var(--muted);
	font-size: 15px;
}

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

.path-list a {
	display: grid;
	grid-template-columns: 42px 1fr auto;
	align-items: center;
	gap: 12px;
	padding: 13px;
	border: 1px solid var(--line);
	border-radius: 13px;
	background: #fff;
	color: var(--ink);
	font-weight: 780;
	text-decoration: none;
}

.path-list a:hover {
	border-color: var(--brand);
	transform: translateX(2px);
}

.path-icon {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 12px;
	background: var(--brand-soft);
	font-size: 20px;
}

.section { padding: clamp(64px, 9vw, 110px) 0; }
.section-white { background: var(--paper); }
.section-dark { background: var(--ink); color: #fff; }
.section-compact { padding-block: 54px; }

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

.section-heading h2 { max-width: 720px; margin-bottom: 0; }
.section-heading p { max-width: 520px; margin: 10px 0 0; color: var(--muted); }
.section-dark .section-heading p { color: #c4ccda; }

.path-grid,
.catalog-grid,
.article-grid,
.city-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
}

.path-card,
.catalog-card,
.article-card,
.city-card {
	position: relative;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--paper);
	transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.path-card:hover,
.catalog-card:hover,
.article-card:hover,
.city-card:hover {
	border-color: rgb(36 55 98 / 45%);
	box-shadow: var(--shadow);
	transform: translateY(-3px);
}

.path-card { min-height: 300px; padding: 30px; overflow: hidden; }
.path-card:nth-child(2) { background: #f1f4f9; }
.path-card:nth-child(3) { background: var(--accent-soft); }

.path-card-number {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	margin-bottom: 46px;
	border-radius: 15px;
	background: var(--brand);
	color: #fff;
	font-weight: 850;
}

.path-card h3 { margin-bottom: 12px; }
.path-card p { color: var(--muted); }
.path-card a::after { position: absolute; inset: 0; content: ""; }

.catalog-card {
	isolation: isolate;
	display: flex;
	flex-direction: column;
	min-width: 0;
	overflow: hidden;
}

.catalog-card-media {
	position: relative;
	display: grid;
	place-items: center;
	min-height: 170px;
	padding: 24px;
	background: linear-gradient(145deg, #edf1f7, #fafbfe);
}

.catalog-card-media img {
	width: 100%;
	height: 130px;
	object-fit: contain;
}

.catalog-card--platform .catalog-card-media { height: 190px; min-height: 190px; padding: 0; overflow: hidden; background: linear-gradient(145deg, #dfe6f1, #f4f6fa); }
.catalog-card--platform .catalog-card-media img { width: 100%; height: 100%; object-fit: cover; }
.catalog-card-cover-placeholder { width: 100%; height: 100%; background: radial-gradient(circle at 78% 28%, rgb(255 255 255 / 72%) 0 34px, transparent 35px), radial-gradient(circle at 20% 82%, rgb(36 55 98 / 9%) 0 52px, transparent 53px), linear-gradient(145deg, #e7ebf3, #f9fafc); }
.catalog-card-logo { position: relative; z-index: 3; display: grid; flex: 0 0 auto; place-items: center; width: 78px; height: 78px; margin: -39px 0 -39px 24px; padding: 7px; overflow: hidden; border: 4px solid var(--paper); border-radius: 50%; background: var(--paper); box-shadow: 0 8px 22px rgb(25 40 71 / 18%); }
.catalog-card-logo img { width: 100%; height: 100%; border-radius: 50%; object-fit: contain; }
.catalog-card-logo .catalog-placeholder { width: 100%; height: 100%; border-radius: 50%; font-size: 24px; }
.catalog-card--platform .catalog-card-body { padding-top: 54px; }
.catalog-card--platform .profile-languages { position: relative; z-index: 2; margin: 0 0 16px; padding-bottom: 0; border-bottom: 0; }
.catalog-card--compare-icon .catalog-card-labels { right: 62px; }

.catalog-placeholder {
	display: grid;
	place-items: center;
	width: 76px;
	height: 76px;
	border-radius: 22px;
	background: var(--brand);
	color: #fff;
	font-size: 32px;
	font-weight: 900;
}

.catalog-card-body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 24px;
}

.catalog-card h2,
.catalog-card h3 {
	margin: 8px 0 10px;
	font-size: 24px;
}

.catalog-card h2 a,
.catalog-card h3 a {
	color: var(--ink);
	text-decoration: none;
}

.catalog-card h2 a::after,
.catalog-card h3 a::after {
	position: absolute;
	inset: 0;
	content: "";
}

.catalog-google-rating {
	position: relative;
	z-index: 2;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 5px 8px;
	margin: -2px 0 12px;
	font-size: 13px;
}

.catalog-google-rating-score {
	display: inline-flex;
	align-items: baseline;
	gap: 3px;
	color: var(--ink);
	font-family: Roboto, var(--font-sans);
}

.catalog-google-rating-score > span:first-child { color: #f4a000; font-size: 17px; }

.catalog-card p {
	margin: 0 0 20px;
	color: var(--muted);
	font-size: 15px;
}

.catalog-meta {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 14px;
	margin-top: auto;
	padding-top: 17px;
	border-top: 1px solid var(--line);
	font-size: 14px;
}

.price { font-weight: 800; }

.discount-note {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	width: max-content;
	max-width: 100%;
	padding: 6px 9px;
	border: 1px solid rgb(213 154 0 / 42%);
	border-radius: 999px;
	background: var(--accent-soft);
	color: #684900;
	font-size: 11px;
	font-weight: 850;
	line-height: 1;
	white-space: nowrap;
}

.discount-note svg { flex: 0 0 auto; }
.catalog-meta { flex-wrap: wrap; }
.catalog-action-offer { display: grid; justify-items: center; gap: 7px; }
.discount-note[hidden],
.profile-discount[hidden],
.profile-discount-code[hidden],
.profile-discount-button[hidden] { display: none !important; }

.profile-discount {
	position: relative;
	display: grid;
	grid-template-columns: 48px minmax(0, 1fr);
	gap: 16px;
	margin: 22px 0 20px;
	padding: 20px;
	overflow: hidden;
	border: 1px solid #d9a900;
	border-radius: 18px;
	background:
		radial-gradient(circle at 100% 0, rgb(248 200 12 / 30%), transparent 42%),
		linear-gradient(135deg, #fffdf2, #fff7d5);
	box-shadow: 0 12px 30px rgb(120 83 0 / 11%);
}

.profile-discount::after {
	position: absolute;
	top: -22px;
	right: -22px;
	width: 72px;
	height: 72px;
	border: 1px dashed rgb(104 73 0 / 22%);
	border-radius: 50%;
	content: "";
}

.profile-discount-icon {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border-radius: 14px;
	background: var(--accent);
	color: var(--ink);
	box-shadow: 0 6px 16px rgb(120 83 0 / 16%);
}

.profile-discount-icon svg { width: 25px; height: 25px; }
.profile-discount-content { position: relative; z-index: 1; min-width: 0; }
.profile-discount-eyebrow { margin: 0 0 3px; color: #765300; font-size: 10px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.profile-discount h2 { margin: 0 0 7px; font-size: 21px; line-height: 1.2; }
.profile-discount-description { margin: 0 0 14px; color: #4f452f; font-size: 14px; line-height: 1.5; }
.profile-discount-reveal { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.profile-discount-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	min-height: 42px;
	padding: 9px 14px;
	border: 0;
	border-radius: 10px;
	background: var(--brand);
	color: #fff;
	font: inherit;
	font-size: 13px;
	font-weight: 850;
	cursor: pointer;
}

.profile-discount-button:hover { background: var(--brand-dark); }
.profile-discount-code {
	display: inline-flex;
	align-items: center;
	min-height: 42px;
	padding: 8px 13px;
	border: 2px dashed #b78500;
	border-radius: 10px;
	background: #fff;
	color: var(--ink);
	font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
	font-size: 16px;
	font-weight: 900;
	letter-spacing: .06em;
	overflow-wrap: anywhere;
	user-select: all;
}

.profile-discount-countdown-label { margin: 12px 0 0; color: #684900; font-size: 12px; font-weight: 750; }
.profile-discount-countdown-label time { font-variant-numeric: tabular-nums; font-weight: 900; white-space: nowrap; }

.catalog-school-location {
	position: relative;
	z-index: 2;
	display: flex;
	min-width: 0;
	align-items: center;
	gap: 8px;
	margin-bottom: 10px;
}

.catalog-school-address {
	display: flex;
	min-width: 0;
	align-items: center;
	gap: 6px;
	color: var(--muted);
	font-size: 12px;
	font-weight: 700;
}

.catalog-school-address svg { flex: 0 0 auto; color: var(--brand); }
.catalog-school-address span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.catalog-map-link {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 4px;
	min-height: 30px;
	padding: 5px 9px;
	border: 1px solid rgb(88 76 166 / 24%);
	border-radius: 999px;
	background: #fff;
	color: var(--brand-dark);
	font-size: 11px;
	font-weight: 800;
	line-height: 1;
	text-decoration: none;
}

.catalog-map-link:hover,
.catalog-map-link:focus-visible { border-color: var(--brand); background: var(--brand-soft); }

.catalog-card--premium {
	border-color: rgb(88 76 166 / 38%);
	background: linear-gradient(135deg, #fff 0%, #fbfaff 64%, #f1efff 100%);
	box-shadow: 0 10px 30px rgb(65 52 145 / 9%);
}


.catalog-card--premium .catalog-card-media {
	background: linear-gradient(145deg, #eeecfb, #faf9ff);
}

.catalog-card--premium:hover {
	border-color: rgb(88 76 166 / 62%);
	box-shadow: 0 15px 38px rgb(65 52 145 / 15%);
}

.catalog-card--promoted {
	border-color: #d59a00;
	box-shadow: 0 12px 34px rgb(132 90 0 / 13%);
}

.catalog-tier-divider {
	display: flex;
	grid-column: 1 / -1;
	align-items: center;
	gap: 14px;
	margin: 8px 0 0;
	color: var(--muted);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .08em;
	line-height: 1;
	text-transform: uppercase;
}

.catalog-tier-divider::before,
.catalog-tier-divider::after {
	flex: 1;
	height: 1px;
	background: var(--line);
	content: "";
}

.catalog-grid--school-list .catalog-tier-divider { margin-block: 10px 2px; }

.catalog-card-labels {
	position: absolute;
	top: 12px;
	right: 12px;
	left: 12px;
	z-index: 2;
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	pointer-events: none;
}

.catalog-badge,
.profile-tier-badge {
	display: inline-flex;
	align-items: center;
	min-height: 28px;
	padding: 5px 10px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 850;
	letter-spacing: .045em;
	line-height: 1;
	text-transform: uppercase;
}

.catalog-badge--type { background: rgb(255 255 255 / 94%); color: var(--ink); box-shadow: 0 4px 14px rgb(25 40 71 / 14%); }
.catalog-card--platform .catalog-badge--promoted { margin-left: auto; }
.catalog-badge--promoted { background: #fff0ad; color: #5f4300; }
.catalog-badge--premium,
.profile-tier-badge { background: var(--brand); color: #fff; }
.profile-tier-badge { margin-bottom: 12px; }

.catalog-card-actions {
	position: relative;
	z-index: 2;
	display: grid;
	gap: 9px;
	margin-top: auto;
	padding-top: 18px;
}

.catalog-card-actions .button { width: 100%; padding: 10px 15px; }
.catalog-profile-link { text-align: center; font-size: 13px; font-weight: 800; }
.catalog-card .affiliate-note { margin: 9px 0 0; color: var(--muted); font-size: 11px; line-height: 1.4; text-align: center; }

.pill-list {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.pill {
	display: inline-flex;
	align-items: center;
	min-height: 28px;
	padding: 4px 10px;
	border-radius: 999px;
	background: var(--brand-soft);
	color: var(--brand-dark);
	font-size: 12px;
	font-weight: 750;
	line-height: 1.2;
	text-decoration: none;
}

.compare-control {
	position: relative;
	z-index: 2;
	margin-top: 16px;
	font-size: 13px;
	font-weight: 750;
}

.compare-control label { display: inline-flex; align-items: center; gap: 7px; cursor: pointer; }
.compare-control input { width: 18px; height: 18px; accent-color: var(--brand); }
.compare-control--icon { position: absolute; top: 12px; right: 12px; z-index: 4; margin: 0; }
.compare-control--icon input.screen-reader-text { width: 1px; height: 1px; }
.compare-control--icon label { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid rgb(25 40 71 / 18%); border-radius: 50%; background: rgb(255 255 255 / 96%); color: var(--brand); box-shadow: 0 5px 16px rgb(25 40 71 / 15%); transition: border-color .15s ease, background .15s ease, color .15s ease, transform .15s ease; }
.compare-control--icon label:hover { border-color: var(--brand); background: var(--brand-soft); transform: translateY(-1px); }
.compare-control--icon input:focus-visible { outline: none; box-shadow: none; }
.compare-control--icon input:focus-visible + label { outline: 3px solid var(--brand-dark); outline-offset: 3px; box-shadow: 0 0 0 6px rgb(248 200 12 / 48%); }
.compare-control--icon input:checked + label { border-color: var(--brand); background: var(--brand); color: #fff; box-shadow: 0 7px 18px rgb(25 40 71 / 28%); }

.platform-usp { position: relative; z-index: 2; display: flex; align-items: center; gap: 5px; line-height: 1.3; }
.catalog-card .platform-usps { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px 12px; margin: -10px 0 18px; }
.catalog-card .platform-usp { min-width: 0; margin: 0; color: var(--brand); font-size: 12px; font-weight: 800; }
.single-hero .platform-usp { margin: -7px 0 18px; color: var(--brand); font-size: 12px; font-weight: 800; }
.platform-usp svg { flex: 0 0 auto; }

.stats-bar {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: #fff;
	box-shadow: var(--shadow);
}

.stat { padding: 26px 28px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; color: var(--brand); font-size: 32px; letter-spacing: -.04em; line-height: 1.1; }
.stat span { color: var(--muted); font-size: 13px; font-weight: 700; }

.city-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.city-card { padding: 20px; text-decoration: none; }
.city-card strong { display: block; color: var(--ink); }
.city-card span { color: var(--muted); font-size: 13px; }

.article-card {
	display: flex;
	min-width: 0;
	overflow: hidden;
	flex-direction: column;
}
.article-card-media {
	position: relative;
	display: block;
	flex: 0 0 auto;
	width: 100%;
	overflow: hidden;
	background: var(--brand-soft);
}
.article-card-media::before { display: block; padding-top: 56.25%; content: ""; }
.article-card-media img { position: absolute; top: 0; right: 0; bottom: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
.article-card-body { flex: 1; padding: 24px; }
.article-card h2,
.article-card h3 { margin: 9px 0 12px; font-size: 23px; }
.article-card h2 a,
.article-card h3 a { color: var(--ink); text-decoration: none; }
.article-card p { color: var(--muted); font-size: 15px; }
.article-meta { color: var(--muted); font-size: 13px; font-weight: 700; }

.archive-hero {
	padding: clamp(36px, 5vw, 52px) 0 clamp(28px, 4vw, 40px);
	border-bottom: 1px solid var(--line);
	background: linear-gradient(135deg, #fafbfe, #eef2f8);
}

.archive-hero h1 { max-width: 900px; margin-bottom: 18px; font-size: clamp(42px, 6vw, 68px); }
.archive-hero .lead { max-width: 760px; margin: 0; color: var(--muted); font-size: 20px; }
.archive-hero + .section { padding-top: clamp(32px, 4vw, 48px); }

.breadcrumbs {
	margin: 0 0 25px;
	color: var(--muted);
	font-size: 13px;
	font-weight: 680;
}

.breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.breadcrumbs li:not(:last-child)::after { margin-left: 6px; color: #8b95aa; content: "/"; }
.breadcrumbs a { color: inherit; }
.breadcrumb-home { display: inline-flex; align-items: center; }
.breadcrumb-home svg { display: block; }

.archive-layout {
	display: grid;
	grid-template-columns: 280px minmax(0, 1fr);
	align-items: start;
	gap: 38px;
}

.filter-panel {
	padding: 18px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: #fff;
}

.filter-panel h2 { margin-bottom: 14px; font-size: 21px; }

.filter-panel-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.filter-modal-close,
.filter-modal-trigger,
.filter-modal-backdrop { display: none; }
.filter-grid { display: grid; gap: 18px; }
.filter-group {
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

.filter-group legend,
.filter-group > label,
.filter-price-head label {
	display: block;
	margin-bottom: 7px;
	color: var(--ink);
	font-size: 14px;
	font-weight: 850;
	letter-spacing: .015em;
	line-height: 1.3;
}

.filter-links,
.filter-flags,
.filter-suggestions {
	margin: 0;
	padding: 0;
	list-style: none;
}

.filter-links {
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
}

.filter-link {
	display: inline-flex;
	align-items: center;
	min-height: 28px;
	padding: 4px 8px;
	border: 1px solid var(--line);
	border-radius: 8px;
	background: var(--canvas);
	color: var(--ink);
	font-size: 11px;
	font-weight: 750;
	line-height: 1.25;
	text-decoration: none;
}

.filter-link:hover {
	border-color: #a7b1c4;
	background: var(--brand-soft);
	color: var(--ink);
}

.filter-link.is-active {
	border-color: var(--accent-dark);
	background: var(--accent);
	box-shadow: inset 0 -2px 0 rgb(164 105 0 / 18%);
	color: var(--ink);
}

.filter-option-count {
	margin-left: 2px;
	color: #727d91;
	font-size: 10px;
	font-weight: 650;
	white-space: nowrap;
}

.filter-option--extra[hidden] { display: none; }

.filter-more {
	display: inline-flex;
	align-items: center;
	gap: 3px;
	margin-top: 4px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--brand);
	font-size: 10px;
	font-weight: 750;
	line-height: 1.25;
	text-decoration: underline;
	text-decoration-thickness: .08em;
	text-underline-offset: .18em;
}

.filter-more::after {
	font-size: 10px;
	content: "↓";
	text-decoration: none;
}

.filter-more[aria-expanded="true"]::after { content: "↑"; }

.filter-flags {
	display: flex;
	align-items: flex-start;
	flex-wrap: wrap;
	gap: 7px;
}

.filter-flag-option { width: 42px; }

.filter-flag {
	display: flex;
	align-items: center;
	flex-direction: column;
	width: 42px;
	gap: 2px;
	color: var(--muted);
	line-height: 1;
	text-decoration: none;
}

.filter-flag-icon {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: 50%;
	background: var(--canvas);
	font-size: 21px;
	transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.filter-flag:hover { color: var(--muted); }
.filter-flag:hover .filter-flag-icon {
	border-color: var(--brand);
	background: var(--brand-soft);
	transform: translateY(-1px);
}

.filter-flag.is-active .filter-flag-icon {
	border-color: var(--brand);
	background: var(--accent);
	box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--brand);
}

.filter-flag .filter-option-count {
	margin-left: 0;
	font-size: 9px;
}

.filter-city-control { position: relative; }

.filter-city-input {
	width: 100%;
	min-height: 39px;
	padding: 7px 34px 7px 10px;
	border: 1px solid #b9c2d3;
	border-radius: 9px;
	background: #fff;
	color: var(--ink);
	font-size: 13px;
}

.filter-city-clear {
	position: absolute;
	top: 50%;
	right: 6px;
	display: grid;
	place-items: center;
	width: 27px;
	height: 27px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--brand-soft);
	color: var(--ink);
	font-size: 20px;
	line-height: 1;
	transform: translateY(-50%);
}

.filter-city-clear[hidden],
.filter-suggestions[hidden] { display: none; }

.filter-suggestions {
	position: absolute;
	top: calc(100% + 5px);
	right: 0;
	left: 0;
	z-index: 30;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: 10px;
	background: #fff;
	box-shadow: 0 14px 35px rgb(25 40 71 / 18%);
}

.filter-suggestions li + li { border-top: 1px solid var(--line); }

.filter-suggestions button {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	gap: 10px;
	padding: 8px 10px;
	border: 0;
	background: #fff;
	color: var(--ink);
	font-size: 13px;
	text-align: left;
}

.filter-suggestions button:hover,
.filter-suggestions button.is-active { background: var(--brand-soft); }
.filter-suggestions small { color: var(--muted); font-size: 10px; text-align: right; }
.filter-suggestion-empty { padding: 9px 10px; color: var(--muted); font-size: 12px; }

.filter-toggle {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	width: fit-content;
	gap: 8px;
	color: var(--ink);
	font-size: 11px;
	font-weight: 750;
	text-decoration: none;
}
.filter-toggle-label {
	line-height: 1.25;
}

.filter-toggle .filter-option-count { font-size: 9px; }

.filter-toggle-track {
	position: relative;
	flex: 0 0 32px;
	width: 32px;
	height: 18px;
	border-radius: 999px;
	background: #cbd2df;
	transition: background .2s ease;
}

.filter-toggle-track span {
	position: absolute;
	top: 3px;
	left: 3px;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 2px 5px rgb(25 40 71 / 24%);
	transition: transform .2s ease;
}

.filter-toggle.is-active .filter-toggle-track { background: var(--brand); }
.filter-toggle.is-active .filter-toggle-track span { transform: translateX(14px); }

.filter-price-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 10px;
}

.filter-price-head label { margin-bottom: 0; }
.filter-price-head output { color: var(--brand); font-size: 11px; font-weight: 850; }
.filter-price input[type="range"] {
	width: 100%;
	height: 24px;
	margin: 2px 0 0;
	padding: 0;
	border: 0;
	background: transparent;
	accent-color: var(--brand);
}

.filter-range-labels {
	display: flex;
	justify-content: space-between;
	margin-top: -3px;
	color: var(--muted);
	font-size: 9px;
	font-weight: 700;
}

.field { display: grid; gap: 6px; }
.field label { font-size: 13px; font-weight: 800; }
.field select,
.field input:not([type="range"]),
.ll-compare-picker select {
	width: 100%;
	min-height: 45px;
	padding: 8px 11px;
	border: 1px solid #b9c2d3;
	border-radius: 10px;
	background: #fff;
	color: var(--ink);
}

.filter-actions { display: grid; gap: 6px; margin-top: 0; }
.filter-actions .button { padding-block: 10px; }
.filter-reset { padding: 5px; text-align: center; font-size: 12px; }

.results-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 22px;
}

.results-head p { margin: 0; color: var(--muted); font-size: 14px; }
.results-head select { min-height: 42px; padding: 7px 10px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.archive-results .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.archive-results .catalog-grid--school-list {
	grid-template-columns: 1fr;
	gap: 14px;
}

.catalog-grid--school-list .catalog-card {
	display: grid;
	grid-template-columns: 170px minmax(0, 1fr);
	min-height: 190px;
}


.catalog-grid--school-list .catalog-card-media {
	min-height: 0;
	padding: 20px;
	border-right: 1px solid var(--line);
}

.catalog-grid--school-list .catalog-card-media img { height: 108px; }

.catalog-grid--school-list .catalog-card-body {
	position: relative;
	justify-content: center;
	padding: 20px 214px 20px 22px;
}

.catalog-grid--school-list .catalog-card h2,
.catalog-grid--school-list .catalog-card h3 { margin: 5px 0 8px; font-size: 22px; }
.catalog-grid--school-list .catalog-card .eyebrow { margin-bottom: 4px; }
.catalog-grid--school-list .catalog-card p { margin-bottom: 12px; }
.catalog-grid--school-list .profile-languages {
	position: relative;
	z-index: 2;
	display: block;
	margin: 0;
	padding: 0;
	border: 0;
}
.catalog-grid--school-list .language-flags { gap: 6px; }
.catalog-grid--school-list .language-flags--extra { margin-top: 6px; padding: 0; border: 0; }
.catalog-grid--school-list .language-flag,
.catalog-grid--school-list .language-flags-toggle { width: 32px; height: 32px; }
.catalog-grid--school-list .language-flag-symbol { width: 27px; height: 27px; font-size: 21px; }
.catalog-grid--school-list .language-flag::after { top: auto; bottom: calc(100% + 8px); transform: translate(-50%, 4px); }
.catalog-grid--school-list .catalog-meta { margin-top: 2px; padding-top: 12px; }
.catalog-grid--school-list .catalog-card-actions {
	position: absolute;
	top: 50%;
	right: 22px;
	width: 170px;
	margin-top: 0;
	padding-top: 0;
	transform: translateY(-50%);
}

.catalog-grid--school-list .catalog-action-price {
	display: block;
	margin: 0 0 2px;
	color: var(--ink);
	font-size: 14px;
	line-height: 1.3;
	text-align: center;
}

.empty-state {
	padding: 54px;
	border: 1px dashed #aab4c7;
	border-radius: var(--radius);
	background: #fff;
	text-align: center;
}

.empty-state h2 { font-size: 28px; }
.empty-state p { color: var(--muted); }

.pagination { margin-top: 42px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 7px; }
.pagination .page-numbers { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; text-decoration: none; }
.pagination .current { border-color: var(--brand); background: var(--brand); color: #fff; }

.single-hero { padding: clamp(36px, 5vw, 52px) 0 clamp(28px, 4vw, 40px); border-bottom: 1px solid var(--line); background: #fff; }
.single-hero + .section { padding-top: clamp(32px, 4vw, 48px); }
.single-hero-grid { display: grid; grid-template-columns: 160px minmax(0, 1fr) 280px; align-items: start; gap: 34px; }
.single-hero-grid--without-cta { grid-template-columns: 160px minmax(0, 1fr); max-width: 900px; }
.single-logo { display: grid; place-items: center; width: 160px; height: 160px; padding: 18px; border: 1px solid var(--line); border-radius: 26px; background: var(--canvas); }
.single-logo img { width: 100%; height: 100%; object-fit: contain; }
.single-hero h1 { margin: 10px 0 14px; font-size: clamp(38px, 5vw, 62px); }
.single-hero-copy { min-width: 0; }
.profile-gallery { min-width: 0; margin-top: 26px; }
.profile-gallery-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: start; gap: 10px; }
.profile-gallery-extra { display: contents; }
.profile-gallery-extra[hidden] { display: none; }
.profile-gallery-slide,
.profile-gallery-toggle { min-width: 0; aspect-ratio: 3 / 4; margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: var(--canvas); box-shadow: 0 6px 18px rgb(25 40 71 / 8%); }
.profile-gallery-open { position: relative; display: block; width: 100%; height: 100%; padding: 0; overflow: hidden; border: 0; background: transparent; cursor: zoom-in; }
.profile-gallery-open::after { position: absolute; right: 7px; bottom: 7px; padding: 5px 7px; border-radius: 7px; background: rgb(15 25 48 / 78%); color: #fff; content: "Powiększ"; font-size: 9px; font-weight: 800; opacity: 0; transform: translateY(3px); transition: opacity .15s ease, transform .15s ease; }
.profile-gallery-open:hover::after,
.profile-gallery-open:focus-visible::after { opacity: 1; transform: translateY(0); }
.profile-gallery-open:focus-visible { outline: 3px solid var(--brand); outline-offset: -3px; }
.profile-gallery-slide img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .2s ease; }
.profile-gallery-open:hover img { transform: scale(1.035); }
.profile-gallery-toggle { display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 7px; padding: 10px 7px; border-style: dashed; color: var(--brand); font: inherit; font-size: 11px; font-weight: 800; line-height: 1.2; text-align: center; cursor: pointer; transition: border-color .15s ease, background .15s ease, color .15s ease, transform .15s ease; }
.profile-gallery-toggle:hover,
.profile-gallery-toggle:focus-visible { border-color: var(--brand); background: var(--brand-soft); color: var(--brand-dark); outline: none; transform: translateY(-1px); }
.profile-gallery-toggle-count { display: block; font-size: clamp(20px, 3vw, 30px); font-weight: 900; line-height: 1; }
.profile-lightbox { width: min(1100px, calc(100% - 30px)); max-width: none; max-height: calc(100vh - 30px); max-height: calc(100dvh - 30px); margin: auto; padding: 0; border: 0; background: transparent; color: #fff; overflow: visible; }
.profile-lightbox::backdrop { background: rgb(10 16 30 / 88%); backdrop-filter: blur(5px); }
.profile-lightbox-shell { position: relative; display: grid; place-items: center; min-height: 260px; padding: 48px 66px 38px; border: 1px solid rgb(255 255 255 / 14%); border-radius: 20px; background: #10182b; box-shadow: 0 24px 80px rgb(0 0 0 / 48%); }
.profile-lightbox-close,
.profile-lightbox-nav { position: absolute; z-index: 2; display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 1px solid rgb(255 255 255 / 22%); border-radius: 50%; background: rgb(255 255 255 / 10%); color: #fff; font: inherit; font-size: 22px; cursor: pointer; transition: background .15s ease, border-color .15s ease; }
.profile-lightbox-close:hover,
.profile-lightbox-close:focus-visible,
.profile-lightbox-nav:hover,
.profile-lightbox-nav:focus-visible { border-color: #fff; background: rgb(255 255 255 / 22%); outline: none; }
.profile-lightbox-close { top: 10px; right: 10px; font-size: 28px; }
.profile-lightbox-nav { top: 50%; transform: translateY(-50%); }
.profile-lightbox-prev { left: 12px; }
.profile-lightbox-next { right: 12px; }
.profile-lightbox-media { display: grid; justify-items: center; min-width: 0; margin: 0; }
.profile-lightbox-media img { display: block; max-width: 100%; max-height: calc(100vh - 130px); max-height: calc(100dvh - 130px); border-radius: 12px; object-fit: contain; }
.profile-lightbox-media figcaption { min-height: 17px; margin-top: 10px; color: #d8deea; font-size: 12px; font-weight: 800; text-align: center; }
.single-summary { margin: 0 0 18px; color: var(--muted); font-size: 19px; }
.single-cta-column { display: grid; align-self: stretch; align-content: start; gap: 10px; }
.single-cta { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--canvas); }
.profile-languages { margin: 0 0 18px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.profile-languages-label { display: block; margin-bottom: 10px; color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.language-flags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.language-flags[hidden] { display: none; }
.language-flags--extra { margin-top: 8px; padding-top: 8px; border-top: 1px dashed var(--line); }
.language-flags-toggle { display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 1px solid rgb(88 76 166 / 24%); border-radius: 50%; background: #f0edff; color: var(--brand); font: inherit; font-size: 11px; font-weight: 800; line-height: 1; cursor: pointer; }
.language-flags-toggle:hover, .language-flags-toggle:focus-visible { border-color: var(--brand); background: #e7e2ff; outline: 2px solid transparent; }
.language-flag { position: relative; display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid rgb(25 40 71 / 12%); border-radius: 50%; background: #fff; box-shadow: 0 3px 9px rgb(25 40 71 / 8%); text-decoration: none; transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease; }
.language-flag-symbol { display: grid; place-items: center; width: 30px; height: 30px; overflow: hidden; border-radius: 50%; font-size: 23px; line-height: 1; }
.language-flag::after { position: absolute; top: calc(100% + 8px); left: 50%; z-index: 30; width: max-content; max-width: 180px; padding: 6px 8px; border-radius: 7px; background: var(--ink); color: #fff; content: attr(data-tooltip); font-size: 11px; font-weight: 700; line-height: 1.25; opacity: 0; visibility: hidden; transform: translate(-50%, -4px); transition: opacity .15s ease, transform .15s ease, visibility .15s ease; pointer-events: none; }
.language-flag:hover, .language-flag:focus-visible { border-color: var(--brand); box-shadow: 0 4px 12px rgb(88 76 166 / 18%); outline: none; transform: translateY(-1px); }
.language-flag:hover::after, .language-flag:focus-visible::after { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.official-profile-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px 12px; margin: 11px 0 0; padding: 11px 0 0; border-top: 1px solid var(--line); font-size: 11px; line-height: 1.4; list-style: none; }
.official-profile-links a { color: var(--muted); text-underline-offset: 2px; }
.official-profile-links a:hover, .official-profile-links a:focus-visible { color: var(--brand); }
.single-cta .price-line { margin: 12px 0 18px; }
.single-cta .button { width: 100%; }
.verified { margin: 13px 0 0; color: var(--muted); font-size: 12px; text-align: center; }
.profile-affiliate-note { font-size: 9px; line-height: 1.3; }
.school-contact-summary { margin-bottom: 17px; }
.single-cta .price-line + .school-contact-summary { padding-top: 17px; border-top: 1px solid var(--line); }
.school-contact-summary dl { display: grid; gap: 11px; margin: 0; }
.school-contact-summary dl > div { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 9px; }
.school-contact-summary dt { color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.school-contact-summary dd { min-width: 0; margin: 0; color: var(--ink); font-size: 13px; font-weight: 700; overflow-wrap: anywhere; }
.contact-reveal { padding: 0; border: 0; background: transparent; color: var(--brand); font: inherit; font-weight: 800; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.contact-reveal:hover { color: var(--brand-dark); }
.contact-reveal:disabled { opacity: .6; cursor: wait; }
.contact-revealed { font-weight: 800; }
.school-contact-summary [data-contact-status]:not(.screen-reader-text) { display: block; margin-top: 4px; color: #8a2424; font-size: 11px; font-weight: 600; }

.google-place { display: grid; gap: 10px; margin-top: 17px; padding-top: 17px; border-top: 1px solid var(--line); }
.google-place-rating { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 4px; color: var(--ink); font-size: 15px; }
.google-place-rating > span:first-child { color: #f4a000; font-size: 20px; }
.google-place-rating strong { font-size: 21px; }
.google-place-review-popover { position: relative; }
.google-place-review-trigger { padding: 2px 1px; border: 0; background: transparent; color: var(--brand); font: inherit; text-decoration: underline dotted; text-underline-offset: 3px; cursor: help; }
.google-place-tooltip { position: absolute; z-index: 20; top: calc(100% + 10px); right: 0; width: min(270px, calc(100vw - 48px)); padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: 0 14px 38px rgba(28, 36, 54, .18); color: var(--ink); font-size: 12px; line-height: 1.45; text-align: left; opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .15s ease, transform .15s ease, visibility .15s ease; pointer-events: none; }
.google-place-tooltip::before { position: absolute; top: -6px; right: 22px; width: 10px; height: 10px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); background: #fff; content: ""; transform: rotate(45deg); }
.google-place-review-popover:hover .google-place-tooltip,
.google-place-review-popover:focus-within .google-place-tooltip,
.google-place-review-popover.is-open .google-place-tooltip { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }
.google-place-tooltip p { margin: 8px 0 0; }
.google-place-link { position: relative; z-index: 1; display: inline-block; font-weight: 800; }
.google-place-attribution { color: #5e5e5e; font-family: Roboto, var(--font-sans); font-size: 11px; font-style: normal; font-weight: 400; letter-spacing: normal; }
.google-place-attribution > span:first-child { white-space: nowrap; }
.google-place-review-note { color: #6f7683; font-size: 10px; }
.google-place-review-note a { color: inherit; }
.google-place + .button { margin-top: 18px; }

.single-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; align-items: start; gap: 56px; }
.entry-content { font-size: 18px; }
.entry-content > * { max-width: var(--reading); }
.entry-content > .alignwide { max-width: 100%; }
.article-featured-image { width: 100%; max-width: 100%; height: auto; }
.entry-content h2 { margin-top: 2em; font-size: 36px; }
.entry-content h3 { margin-top: 1.7em; }
.entry-content p,
.entry-content ul,
.entry-content ol { margin-bottom: 1.35em; }
.entry-content blockquote { margin: 2em 0; padding: 18px 24px; border-left: 5px solid var(--accent); background: #fff9e8; font-size: 20px; }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content th,
.entry-content td { padding: 12px; border: 1px solid var(--line); text-align: left; }

.facts-card { position: sticky; top: 100px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.facts-card h2 { margin-bottom: 17px; font-size: 22px; }
.facts-list { display: grid; gap: 0; margin: 0; }
.facts-list div { padding: 12px 0; border-bottom: 1px solid var(--line); }
.facts-list div:last-child { border-bottom: 0; }
.facts-list dt { color: var(--muted); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.facts-list dd { margin: 3px 0 0; font-weight: 720; }

.page-hero { padding: 65px 0 45px; }
.page-hero h1 { max-width: 900px; margin-bottom: 0; font-size: clamp(40px, 6vw, 65px); }
.page-content { padding: 0 0 90px; }
.page-content--without-hero { padding-top: clamp(32px, 5vw, 56px); }

.ll-compare-tool { margin-top: 30px; }
.ll-compare-picker fieldset { margin: 0 0 34px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.ll-compare-picker legend { padding: 0 8px; font-weight: 850; }
.ll-compare-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 20px; }
.ll-compare-options label { display: flex; align-items: center; gap: 8px; padding: 11px; border: 1px solid var(--line); border-radius: 9px; font-size: 14px; }
.ll-table-wrap { max-width: 100%; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.ll-compare-table { width: 100%; min-width: 680px; border-collapse: collapse; background: #fff; }
.ll-compare-table caption { padding: 18px; font-size: 20px; font-weight: 850; text-align: left; }
.ll-compare-table th,
.ll-compare-table td { padding: 15px; border-top: 1px solid var(--line); text-align: left; }
.ll-compare-table thead th { background: var(--brand-soft); }
.ll-compare-table tbody th { width: 200px; color: var(--muted); font-size: 13px; }
.ll-notice { padding: 12px 15px; border-left: 4px solid var(--accent-dark); background: #fff7dc; }

.compare-drawer {
	position: fixed;
	right: 24px;
	bottom: 24px;
	z-index: 80;
	display: none;
	align-items: center;
	gap: 18px;
	max-width: calc(100% - 48px);
	padding: 14px 16px;
	border-radius: 15px;
	background: var(--ink);
	box-shadow: 0 18px 50px rgb(0 0 0 / 25%);
	color: #fff;
}

.compare-drawer.is-active { display: flex; }
.compare-drawer p { margin: 0; font-size: 14px; }
.compare-drawer .button { min-height: 40px; border-color: var(--accent); background: var(--accent); color: var(--ink); }
.compare-drawer .button:hover { border-color: #f4db77; background: #f4db77; }

.cta-band {
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: center;
	gap: 40px;
	padding: clamp(34px, 6vw, 62px);
	border-radius: var(--radius-lg);
	background: var(--brand);
	color: #fff;
}

.cta-band h2 { margin: 0 0 10px; }
.cta-band p { max-width: 650px; margin: 0; color: #dce2ed; }
.cta-band .button { border-color: #fff; background: #fff; color: var(--brand-dark); }

.site-footer { padding: 68px 0 26px; background: var(--ink); color: #dce2ed; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 48px; }
.site-footer .brand,
.site-footer .custom-logo-link { padding: 8px 12px; border-radius: 12px; background: #fff; }
.site-footer .brand-logo,
.site-footer .custom-logo { width: 210px; }
.footer-about { max-width: 340px; margin-top: 18px; color: #b5bfd0; font-size: 14px; }
.footer-title { margin-bottom: 16px; color: #fff; font-size: 14px; font-weight: 850; letter-spacing: .05em; text-transform: uppercase; }
.footer-links { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.footer-links a { color: #cbd3e0; font-size: 14px; text-decoration: none; }
.footer-links a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 50px; padding-top: 22px; border-top: 1px solid #3f4c69; color: #97a3b9; font-size: 12px; }

@media (max-width: 1020px) {
	.hero-grid { grid-template-columns: 1fr; }
	.hero-panel { max-width: 640px; }
	.path-grid,
	.catalog-grid,
	.article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.city-grid { grid-template-columns: repeat(3, 1fr); }
	.stats-bar { grid-template-columns: repeat(2, 1fr); }
	.stat:nth-child(2) { border-right: 0; }
	.stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
	.archive-layout { grid-template-columns: 240px minmax(0, 1fr); gap: 25px; }
	.archive-results .catalog-grid { grid-template-columns: 1fr; }
	.catalog-grid--school-list .catalog-card { grid-template-columns: 130px minmax(0, 1fr); }
	.catalog-grid--school-list .catalog-card-media { padding: 15px; }
	.catalog-grid--school-list .catalog-card-media img { height: 88px; }
	.catalog-grid--school-list .catalog-card-body { padding: 17px 175px 17px 17px; }
	.catalog-grid--school-list .catalog-card-actions { right: 17px; width: 140px; }
	.single-hero-grid { grid-template-columns: 130px minmax(0, 1fr); }
	.single-logo { width: 130px; height: 130px; }
	.single-cta-column { grid-column: 1 / -1; }
	.footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
	.container { width: min(calc(100% - 30px), var(--content)); }
	body.nav-open .site-header { z-index: 300; }
	.menu-toggle { display: inline-flex; }
	.site-nav {
		position: absolute;
		top: 100%;
		right: 0;
		bottom: auto;
		left: 0;
		z-index: 1;
		height: calc(100vh - 78px);
		height: calc(100dvh - 78px);
		display: none;
		overflow-y: auto;
		padding: 24px 20px;
		background-color: var(--paper);
	}
	.site-nav.is-open { display: block; }
	.site-nav ul { align-items: stretch; flex-direction: column; background-color: var(--paper); }
	.site-nav a { padding: 14px; font-size: 17px; }
	.nav-cta a { margin: 10px 0 0; text-align: center; }
	.archive-layout,
	.single-layout { grid-template-columns: 1fr; }
	.filter-panel,
	.facts-card { position: static; }
	.filter-grid { grid-template-columns: repeat(2, 1fr); }
	.filter-actions { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; }
	.cta-band { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
	body { font-size: 16px; }
	.brand-logo,
	.custom-logo { width: 190px; }
	.hero { padding-top: 62px; }
	.hero h1 em { white-space: normal; }
	.section { padding-block: 64px; }
	.section-heading { align-items: start; flex-direction: column; margin-bottom: 28px; }
	.path-grid,
	.catalog-grid,
	.article-grid,
	.city-grid { grid-template-columns: 1fr; }
	.path-card { min-height: auto; }
	.path-card-number { margin-bottom: 30px; }
	.stats-bar { grid-template-columns: 1fr 1fr; }
	.stat { padding: 20px; }
	.single-hero-grid { grid-template-columns: 86px 1fr; gap: 18px; }
	.single-logo { width: 86px; height: 86px; border-radius: 18px; }
	.single-hero h1 { font-size: 37px; }
	.single-summary { font-size: 16px; }
	.profile-discount { grid-template-columns: 40px minmax(0, 1fr); gap: 12px; padding: 15px; }
	.profile-discount-icon { width: 40px; height: 40px; border-radius: 12px; }
	.profile-discount-icon svg { width: 21px; height: 21px; }
	.profile-discount-reveal { align-items: stretch; flex-direction: column; }
	.profile-gallery { margin-top: 20px; }
	.profile-gallery-grid { gap: 6px; }
	.profile-gallery-slide, .profile-gallery-toggle { border-radius: 10px; }
	.profile-gallery-open::after { display: none; }
	.profile-gallery-toggle [data-profile-gallery-toggle-label] { display: none; }
	.profile-lightbox { width: calc(100% - 16px); }
	.profile-lightbox-shell { padding: 48px 44px 32px; border-radius: 14px; }
	.profile-lightbox-close, .profile-lightbox-nav { width: 36px; height: 36px; }
	.profile-lightbox-prev { left: 6px; } .profile-lightbox-next { right: 6px; }
	.single-cta-column { grid-column: 1 / -1; }
	.filter-grid,
	.ll-compare-options { grid-template-columns: 1fr; }
	.results-head { align-items: stretch; flex-direction: column; }
	.catalog-grid--school-list .catalog-card { grid-template-columns: 96px minmax(0, 1fr); min-height: 0; }
	.catalog-grid--school-list .catalog-card-media { padding: 12px; }
	.catalog-grid--school-list .catalog-card-media img { height: 70px; }
	.catalog-grid--school-list .catalog-placeholder { width: 56px; height: 56px; border-radius: 17px; font-size: 24px; }
	.catalog-grid--school-list .catalog-card-body { padding: 16px; }
	.catalog-grid--school-list .catalog-card-actions { position: relative; top: auto; right: auto; width: auto; margin-top: auto; padding-top: 14px; transform: none; }
	.catalog-grid--school-list .catalog-card h2,
	.catalog-grid--school-list .catalog-card h3 { font-size: 20px; }
	.catalog-grid--school-list .catalog-card p { font-size: 14px; }
	.catalog-grid--school-list .catalog-school-location { width: 100%; }
	.footer-grid { grid-template-columns: 1fr; gap: 34px; }
	.footer-bottom { flex-direction: column; }
	.compare-drawer { right: 12px; bottom: 12px; left: 12px; justify-content: space-between; max-width: none; }
}

@media (max-width: 820px) {
	body.filter-modal-open { overflow: hidden; }

	body.filters-modal-ready .filter-panel {
		position: fixed;
		right: 0;
		bottom: 0;
		left: 0;
		z-index: 220;
		display: flex;
		visibility: hidden;
		flex-direction: column;
		width: 100%;
		max-height: min(90vh, 760px);
		max-height: min(90dvh, 760px);
		padding: 0;
		border-radius: 24px 24px 0 0;
		box-shadow: 0 -18px 60px rgb(25 40 71 / 24%);
		opacity: 0;
		transform: translateY(100%);
		transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
		pointer-events: none;
	}

	body.filters-modal-ready .filter-panel.is-open {
		visibility: visible;
		opacity: 1;
		transform: translateY(0);
		pointer-events: auto;
	}

	body.filters-modal-ready .filter-panel-head {
		flex: 0 0 auto;
		padding: 17px 20px;
		border-bottom: 1px solid var(--line);
	}

	body.filters-modal-ready .filter-panel h2 { margin: 0; }

	body.filters-modal-ready .filter-panel .filter-grid {
		flex: 1 1 auto;
		min-height: 0;
		overflow-y: auto;
		padding: 18px 20px calc(22px + env(safe-area-inset-bottom));
		overscroll-behavior: contain;
	}

	body.filters-modal-ready .filter-modal-close {
		display: grid;
		place-items: center;
		width: 38px;
		height: 38px;
		padding: 0;
		border: 1px solid var(--line);
		border-radius: 50%;
		background: var(--canvas);
		color: var(--ink);
		font-size: 27px;
		line-height: 1;
	}

	body.filters-modal-ready .filter-modal-backdrop {
		position: fixed;
		inset: 0;
		z-index: 210;
		display: block;
		background: rgb(15 25 48 / 58%);
		backdrop-filter: blur(2px);
	}

	body.filters-modal-ready .filter-modal-backdrop[hidden] { display: none; }

	body.filters-modal-ready .filter-modal-trigger {
		position: fixed;
		right: max(18px, env(safe-area-inset-right));
		bottom: calc(18px + env(safe-area-inset-bottom));
		z-index: 190;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		min-height: 52px;
		gap: 8px;
		padding: 11px 13px 11px 16px;
		border: 1px solid var(--brand);
		border-radius: 999px;
		background: var(--brand);
		box-shadow: 0 12px 32px rgb(25 40 71 / 30%);
		color: #fff;
		font-size: 15px;
		font-weight: 850;
		transition: bottom .2s ease, opacity .2s ease, transform .2s ease;
	}

	body.filters-modal-ready .filter-modal-trigger:hover {
		background: var(--brand-dark);
		color: #fff;
		transform: translateY(-1px);
	}

	body.filters-modal-ready .filter-modal-badge {
		display: grid;
		place-items: center;
		min-width: 26px;
		height: 26px;
		padding-inline: 6px;
		border-radius: 999px;
		background: var(--accent);
		color: var(--ink);
		font-size: 12px;
		font-weight: 900;
		line-height: 1;
	}

	body.filters-modal-ready.filter-modal-open .filter-modal-trigger {
		visibility: hidden;
		opacity: 0;
		pointer-events: none;
	}

	body.filters-modal-ready:has(.compare-drawer.is-active) .filter-modal-trigger {
		bottom: calc(84px + env(safe-area-inset-bottom));
	}

	body.filters-modal-ready .archive-results { min-width: 0; padding-bottom: 68px; }
}

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

@media print {
	.site-header,
	.site-footer,
	.filter-panel,
	.filter-modal-trigger,
	.filter-modal-backdrop,
	.compare-drawer,
	.hero-actions,
	.profile-gallery-toggle,
	.profile-lightbox,
	.single-cta .button { display: none !important; }
	.profile-gallery-extra[hidden] { display: contents !important; }
	body { background: #fff; color: #000; }
	.container { width: 100%; }
	a { color: inherit; }
}
/* Strona startowa bazy szkół językowych. */
.school-directory-home { overflow: clip; }

.school-search-hero {
	position: relative;
	z-index: 2;
	padding: 28px 0 clamp(82px, 10vw, 132px);
	background:
		radial-gradient(circle at 88% 18%, rgb(248 200 12 / 34%) 0 8%, transparent 8.5%),
		radial-gradient(circle at 12% 92%, rgb(36 55 98 / 9%) 0 13%, transparent 13.5%),
		linear-gradient(135deg, #fbfcff 0%, #edf1f8 100%);
}

.school-search-hero::after {
	position: absolute;
	right: -190px;
	bottom: -250px;
	z-index: -1;
	width: 520px;
	height: 520px;
	border: 1px solid rgb(36 55 98 / 13%);
	border-radius: 50%;
	box-shadow: 0 0 0 48px rgb(36 55 98 / 4%), 0 0 0 96px rgb(36 55 98 / 3%);
	content: "";
	pointer-events: none;
}

.school-search-hero-content {
	max-width: 930px;
	margin: clamp(54px, 7vw, 88px) auto 0;
	text-align: center;
}

.school-search-hero h1 {
	margin-bottom: 22px;
	font-size: clamp(44px, 7vw, 76px);
}

.school-search-hero h1 em {
	position: relative;
	color: var(--brand);
	font-style: normal;
	white-space: nowrap;
}

.school-search-hero h1 em::after {
	position: absolute;
	right: 0;
	bottom: -.06em;
	left: 0;
	height: .11em;
	border-radius: 999px;
	background: var(--accent);
	content: "";
	transform: rotate(-1deg);
}

.school-search-lead {
	max-width: 750px;
	margin: 0 auto 34px;
	color: var(--muted);
	font-size: clamp(18px, 2.1vw, 22px);
}

.school-search-form {
	position: relative;
	z-index: 5;
	max-width: 900px;
	margin: 0 auto;
	text-align: left;
}

.school-search-control {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 12px;
	padding: 10px;
	border: 1px solid rgb(36 55 98 / 18%);
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 22px 60px rgb(25 40 71 / 17%);
}

.school-search-icon {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	color: var(--brand);
}

.school-search-icon svg {
	fill: none;
	stroke: currentcolor;
	stroke-linecap: round;
	stroke-width: 2;
}

.school-search-control input {
	width: 100%;
	min-width: 0;
	height: 52px;
	padding: 0;
	border: 0;
	outline: 0;
	background: transparent;
	color: var(--ink);
	font-size: 18px;
}

.school-search-control input::-webkit-search-cancel-button { cursor: pointer; }
.school-search-control input::placeholder { color: #7a8599; }
.school-search-submit { min-width: 118px; min-height: 52px; }

.school-search-hint {
	margin: 13px 14px 0;
	color: var(--muted);
	font-size: 13px;
	text-align: center;
}

.school-search-suggestions {
	position: absolute;
	top: 78px;
	right: 0;
	left: 0;
	z-index: 30;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 24px 60px rgb(25 40 71 / 22%);
}

.school-search-status {
	margin: 0;
	padding: 13px 18px;
	border-bottom: 1px solid var(--line);
	color: var(--muted);
	font-size: 13px;
	font-weight: 700;
}

.school-search-suggestions ul {
	max-height: 430px;
	margin: 0;
	padding: 7px;
	overflow-y: auto;
	list-style: none;
}

.school-search-suggestions li + li { margin-top: 2px; }

.school-search-suggestions a {
	display: grid;
	grid-template-columns: 42px minmax(0, 1fr) auto;
	align-items: center;
	gap: 12px;
	padding: 10px 12px;
	border-radius: 11px;
	color: var(--ink);
	text-decoration: none;
}

.school-search-suggestions a:hover,
.school-search-suggestions a.is-active {
	background: var(--brand-soft);
	color: var(--ink);
}

.school-suggestion-icon {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 12px;
	background: var(--accent-soft);
	color: var(--brand);
	font-size: 17px;
	font-weight: 900;
}

.school-suggestion-icon--school {
	background: var(--brand);
	color: #fff;
}

.school-suggestion-copy {
	display: grid;
	min-width: 0;
	line-height: 1.3;
}

.school-suggestion-copy strong {
	overflow: hidden;
	font-size: 15px;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.school-suggestion-copy small {
	margin-top: 4px;
	color: var(--muted);
	font-size: 12px;
}

.school-suggestion-arrow { color: var(--muted); font-weight: 900; }

.school-carousel-heading {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 30px;
	margin-bottom: 34px;
}

.school-carousel-heading h2 { margin-bottom: 10px; }
.school-carousel-heading p:last-child { max-width: 660px; margin: 0; color: var(--muted); }

.school-carousel-controls {
	display: flex;
	flex: 0 0 auto;
	gap: 9px;
}

.school-carousel-controls button {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border: 1px solid var(--line);
	border-radius: 50%;
	background: #fff;
	color: var(--ink);
	font-size: 20px;
	font-weight: 850;
	transition: border-color .18s ease, background .18s ease, color .18s ease;
}

.school-carousel-controls button:hover:not(:disabled) {
	border-color: var(--brand);
	background: var(--brand);
	color: #fff;
}

.school-carousel-controls button:disabled { cursor: default; opacity: .35; }

.school-carousel-viewport {
	margin: -12px;
	padding: 12px;
	overflow-x: auto;
	scroll-behavior: smooth;
	scrollbar-width: none;
	scroll-snap-type: x mandatory;
}

.school-carousel-viewport::-webkit-scrollbar { display: none; }

.school-carousel-track {
	display: flex;
	gap: 22px;
}

.school-feature-card {
	flex: 0 0 calc((100% - 44px) / 3);
	min-width: 0;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: #fff;
	color: var(--ink);
	scroll-snap-align: start;
	text-decoration: none;
	transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.school-feature-card:hover {
	border-color: rgb(36 55 98 / 45%);
	box-shadow: var(--shadow);
	color: var(--ink);
	transform: translateY(-3px);
}

.school-feature-media {
	position: relative;
	display: grid;
	place-items: center;
	height: 190px;
	padding: 27px;
	background: linear-gradient(145deg, #edf1f7, #fafbfe);
}

.school-feature-media .catalog-badge {
	position: absolute;
	top: 13px;
	left: 13px;
}

.school-feature-media img {
	width: 100%;
	height: 125px;
	object-fit: contain;
}

.school-feature-body { padding: 22px; }
.school-feature-location {
	display: block;
	margin-bottom: 6px;
	color: var(--muted);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .06em;
	text-transform: uppercase;
}

.school-feature-card h3 {
	margin: 0 0 20px;
	font-size: 22px;
}

.school-feature-link {
	color: var(--brand);
	font-size: 14px;
	font-weight: 850;
}

.school-region-section { background: var(--canvas); }

.school-region-grid,
.school-city-links {
	margin: 0;
	padding: 0;
	list-style: none;
}

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

.school-region-grid a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 72px;
	padding: 16px 19px;
	border: 1px solid var(--line);
	border-radius: 13px;
	background: #fff;
	color: var(--ink);
	font-size: 15px;
	font-weight: 790;
	line-height: 1.35;
	text-decoration: none;
	transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.school-region-grid a:hover {
	border-color: var(--brand);
	box-shadow: 0 12px 30px rgb(25 40 71 / 10%);
	transform: translateY(-2px);
}

.school-region-grid a span { flex: 0 0 auto; color: var(--brand); }

.school-city-links {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0 36px;
	counter-reset: school-city;
}

.school-city-links li {
	display: grid;
	grid-template-columns: 34px minmax(0, 1fr);
	align-items: baseline;
	padding: 14px 0;
	border-bottom: 1px solid var(--line);
	counter-increment: school-city;
}

.school-city-links li::before {
	color: #909aac;
	content: counter(school-city, decimal-leading-zero);
	font-size: 12px;
	font-weight: 850;
}

.school-city-links a {
	font-size: 15px;
	font-weight: 740;
	text-decoration: none;
}

.school-city-links a:hover { text-decoration: underline; }

@media (max-width: 900px) {
	.school-feature-card { flex-basis: calc((100% - 22px) / 2); }
	.school-region-grid,
	.school-city-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
	.school-search-hero { padding-bottom: 76px; }
	.school-search-hero-content { margin-top: 44px; }
	.school-search-hero h1 em { white-space: normal; }
	.school-search-control {
		grid-template-columns: 38px minmax(0, 1fr);
		gap: 4px;
		padding: 8px;
	}
	.school-search-icon { width: 38px; }
	.school-search-control input { height: 48px; font-size: 16px; }
	.school-search-submit { grid-column: 1 / -1; width: 100%; }
	.school-search-suggestions { top: 126px; }
	.school-search-hint { margin-inline: 0; }
	.school-carousel-heading { align-items: start; flex-direction: column; }
	.school-feature-card { flex-basis: 86%; }
	.school-feature-media { height: 165px; }
	.school-region-grid,
	.school-city-links { grid-template-columns: 1fr; }
	.school-region-grid a { min-height: 64px; }
}

@media print {
	.school-carousel-controls,
	.school-search-suggestions { display: none !important; }
	.school-carousel-track { flex-wrap: wrap; }
	.school-feature-card { flex-basis: calc(50% - 11px); }
}

.archive-hero .lead > p:first-child { margin-top: 0; }
.archive-hero .lead > p:last-child { margin-bottom: 0; }

.filter-seo-description { border-top: 1px solid var(--line); }
.filter-seo-links { background: #f7f8fb; border-top: 1px solid var(--line); }
.filter-seo-link-groups {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 22px;
}
.filter-seo-link-group {
	padding: 24px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: #fff;
	box-shadow: 0 8px 24px rgb(25 40 71 / 5%);
}
.filter-seo-link-group h3 { margin: 0 0 14px; font-size: 19px; }
.filter-seo-link-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 9px 18px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.filter-seo-link-list li { color: var(--muted); font-size: 14px; line-height: 1.4; }
.filter-seo-link-list a { color: var(--ink); font-weight: 700; text-decoration: none; }
.filter-seo-link-list a:hover { color: var(--brand); text-decoration: underline; }
.filter-seo-link-list span { white-space: nowrap; }
.filter-seo-link-more { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.filter-seo-link-more summary { color: var(--brand); cursor: pointer; font-weight: 750; }
.filter-seo-link-more[open] summary { margin-bottom: 14px; }

@media (max-width: 900px) {
	.filter-seo-link-groups,
	.filter-seo-link-list { grid-template-columns: 1fr; }
}
