/*
Theme Name: France Directory
Description: Annuaires professionnels bâtis sur le répertoire SIRENE — esthétique « extrait de registre » : bandes documentaires, identifiants en chiffres tabulaires, attribution INSEE assumée.
Version: 3.3.34
Author: lemarquis
Text Domain: france-directory
*/

/* ================================================================
   1. FONDATIONS
   La couleur de marque (--fdc-brand) est injectée par site depuis le
   profil du plugin. Tout le reste est un socle neutre « papier/encre »
   partagé par les 6 annuaires.
   ================================================================ */

:root {
	--paper:  #F7F7F3;
	--card:   #FFFFFF;
	--ink:    #1B2330;
	--muted:  #5C6572;
	--line:   #E4E5DF;
	--line-2: #D5D7CF;
	--brand:      var(--fdc-brand, #2563eb);
	--brand-dark: var(--fdc-brand-dark, #1e3a8a);
	--fdc-muted:  var(--muted); /* compat : le plugin et les mu-plugins l'utilisent */
	--fdc-primary: var(--brand);

	--font-display: "Fraunces", Georgia, serif;
	--font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--font-mono: ui-monospace, "SF Mono", "Cascadia Mono", Consolas, monospace;

	--radius: 12px;
	--shadow-1: 0 1px 2px rgba(16, 24, 40, .06);
	--shadow-2: 0 8px 24px rgba(16, 24, 40, .09);

	--w: 1120px;
	--w-doc: 1000px;
}

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

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

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

body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.6;
	color: var(--ink);
	background: var(--paper);
}

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

a { color: var(--brand-dark); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

:focus-visible {
	outline: 2px solid var(--brand);
	outline-offset: 2px;
	border-radius: 4px;
}

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

.container { max-width: var(--w); margin: 0 auto; padding: 0 1.25rem; }

h1, h2, h3 {
	font-family: var(--font-display);
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: -0.015em;
	margin: 0 0 .6em;
	text-wrap: balance;
}
h1 { font-size: clamp(1.7rem, 4.5vw, 2.6rem); }
h2 { font-size: clamp(1.3rem, 3vw, 1.7rem); }
h3 { font-size: 1.05rem; font-family: var(--font-body); font-weight: 600; letter-spacing: 0; }

/* Identifiants de registre : toujours en tabulaire */
.mono {
	font-family: var(--font-mono);
	font-size: .92em;
	font-variant-numeric: tabular-nums;
	letter-spacing: .02em;
}

/* Étiquette « rubrique » au-dessus des titres */
.eyebrow {
	display: block;
	font-size: .78rem;
	font-weight: 600;
	letter-spacing: .09em;
	text-transform: uppercase;
	color: var(--brand);
	margin-bottom: .5rem;
}

/* ================================================================
   2. EN-TÊTE
   ================================================================ */

.site-header {
	position: sticky;
	top: 0;
	z-index: 60;
	background: rgba(255, 255, 255, .92);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	border-bottom: 1px solid var(--line);
}
.site-header > .container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	min-height: 60px;
}

.site-branding { display: flex; align-items: center; gap: .6rem; min-width: 0; }
.site-icon { font-size: 1.35rem; line-height: 1; }
.site-title {
	margin: 0;
	font-family: var(--font-display);
	font-size: 1.08rem;
	font-weight: 700;
	letter-spacing: -.01em;
	white-space: nowrap;
}
.site-title a { color: var(--ink); }
.site-title a:hover { text-decoration: none; color: var(--brand-dark); }
.site-tagline { display: none; }

.site-global-search-bar { background: var(--card); border-bottom: 1px solid var(--line); }
.site-global-search-bar > .container { padding-block: .95rem; }
.site-global-search {
	width: 100%;
	min-width: 0;
	display: flex;
	align-items: center;
	gap: .15rem;
	min-height: 54px;
	border: 1px solid var(--line-2);
	border-radius: 5px;
	background: var(--paper);
	transition: border-color .15s ease, box-shadow .15s ease;
}
.site-global-search:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 14%, transparent); }
.site-global-search input {
	flex: 1 1 auto;
	min-width: 0;
	border: 0;
	outline: 0;
	background: transparent;
	padding: .55rem .35rem .55rem .85rem;
	color: var(--ink);
	font: inherit;
	font-size: .82rem;
}
.site-global-search input::placeholder { color: var(--muted); opacity: .85; }
.site-global-search button {
	flex: 0 0 36px;
	width: 36px;
	height: 36px;
	margin-right: 2px;
	border: 0;
	border-radius: 50%;
	background: var(--brand);
	color: #fff;
	cursor: pointer;
	font-size: 1.2rem;
	line-height: 1;
}
.site-global-search button:hover { background: var(--brand-dark); }

.main-nav ul { list-style: none; display: flex; gap: .25rem; margin: 0; padding: 0; }
.main-nav a {
	display: block;
	padding: .5rem .8rem;
	border-radius: 8px;
	font-size: .93rem;
	font-weight: 500;
	color: var(--ink);
}
.main-nav a:hover { background: var(--paper); text-decoration: none; color: var(--brand-dark); }

.nav-toggle {
	display: none;
	border: 1px solid var(--line);
	background: var(--card);
	border-radius: 8px;
	font-size: 1.15rem;
	line-height: 1;
	padding: .45rem .6rem;
	cursor: pointer;
	color: var(--ink);
}

@media (max-width: 1100px) and (min-width: 801px) {
	.fdt-schools .main-nav a { padding-inline: .45rem; font-size: .76rem; }
}

@media (max-width: 800px) {
	.site-global-search-bar > .container { padding-block: .7rem; }
	.site-global-search { min-height: 50px; }
	.nav-toggle { display: block; }
	.main-nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: var(--card);
		border-bottom: 1px solid var(--line);
		box-shadow: var(--shadow-2);
		display: none;
		padding: .5rem .75rem .9rem;
	}
	.main-nav.open { display: block; }
	.main-nav ul { flex-direction: column; gap: 0; }
	.main-nav a { padding: .8rem .6rem; font-size: 1rem; border-radius: 8px; }
}

/* ================================================================
   3. FIL D'ARIANE
   ================================================================ */

.breadcrumbs {
	border-bottom: 1px solid var(--line);
	background: var(--card);
	font-size: .84rem;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}
.breadcrumbs::-webkit-scrollbar,
.school-profile-tabs .container::-webkit-scrollbar,
.school-levels::-webkit-scrollbar { display: none; }
.breadcrumbs .container {
	display: flex;
	align-items: center;
	gap: .45rem;
	padding-top: .55rem;
	padding-bottom: .55rem;
	white-space: nowrap;
}
.breadcrumbs .sep { color: var(--line-2); }
.breadcrumbs span:not(.sep) { color: var(--muted); }

/* ================================================================
   4. HERO — papier de registre, réglure discrète
   ================================================================ */

.hero {
	padding: 3.2rem 0 2.8rem;
	background:
		repeating-linear-gradient(
			to bottom,
			transparent 0 30px,
			rgba(27, 35, 48, .035) 30px 31px
		),
		linear-gradient(180deg, #FDFDFB 0%, var(--paper) 100%);
	border-bottom: 1px solid var(--line);
}
.hero h1 { max-width: 21ch; }
.hero .lead {
	font-size: 1.05rem;
	color: var(--muted);
	max-width: 58ch;
	margin: 0 0 1.6rem;
}
.hero .lead strong { color: var(--ink); font-weight: 600; }

.hero-badge {
	display: inline-flex;
	align-items: center;
	gap: .45rem;
	font-size: .78rem;
	font-weight: 600;
	letter-spacing: .05em;
	text-transform: uppercase;
	color: var(--muted);
	border: 1px solid var(--line-2);
	background: var(--card);
	border-radius: 999px;
	padding: .3rem .8rem;
	margin-bottom: 1.1rem;
}
.hero-badge::before {
	content: "";
	width: 7px; height: 7px;
	border-radius: 50%;
	background: var(--brand);
}

/* ================================================================
   5. RECHERCHE (formulaire émis par le plugin)
   ================================================================ */

.fdc-search-form { max-width: 720px; }
.fdc-search-grid {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: .5rem;
	background: var(--card);
	border: 1px solid var(--line-2);
	border-radius: 14px;
	padding: .45rem;
	box-shadow: var(--shadow-1);
}
.fdc-search-grid input[type="text"],
.fdc-search-grid input[type="search"],
.fdc-search-grid select {
	border: 0;
	background: transparent;
	font: inherit;
	font-size: 1rem;
	padding: .55rem .7rem;
	min-width: 0;
	color: var(--ink);
}
.fdc-search-grid input:focus, .fdc-search-grid select:focus { outline: none; }
.fdc-search-grid button,
.fdc-search-grid input[type="submit"] {
	border: 0;
	background: var(--brand);
	color: #fff;
	font: inherit;
	font-weight: 600;
	padding: .55rem 1.25rem;
	border-radius: 10px;
	cursor: pointer;
}
.fdc-search-grid button:hover { background: var(--brand-dark); }

@media (max-width: 560px) {
	.fdc-search-grid { grid-template-columns: 1fr; }
	.fdc-search-grid button, .fdc-search-grid input[type="submit"] { width: 100%; }
}

/* ================================================================
   6. CHIPS — secteurs, filtres
   ================================================================ */

.chips {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem;
	margin: 1.1rem 0 0;
	padding: 0;
	list-style: none;
}
.chip {
	display: inline-block;
	font-size: .85rem;
	font-weight: 500;
	color: var(--brand-dark);
	background: color-mix(in srgb, var(--brand) 9%, #fff);
	border: 1px solid color-mix(in srgb, var(--brand) 25%, #fff);
	border-radius: 999px;
	padding: .32rem .85rem;
}
a.chip:hover { background: color-mix(in srgb, var(--brand) 16%, #fff); text-decoration: none; }
.chip.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }
.chip .n { opacity: .65; font-weight: 400; margin-left: .3rem; font-size: .8em; }

/* ================================================================
   7. SECTIONS & GRILLES
   ================================================================ */

.section { padding: 2.6rem 0; }
.section.alt { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-title { margin-bottom: 1.4rem; }
.section-title small {
	display: block;
	font-size: .78rem;
	font-weight: 600;
	letter-spacing: .09em;
	text-transform: uppercase;
	color: var(--brand);
	margin-bottom: .35rem;
}
.section-title h2, .section-title h1 { margin-bottom: .2em; }
.section-title p { color: var(--muted); margin: 0; max-width: 62ch; }

.cards-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	gap: .9rem;
}

.regions-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
	gap: .7rem;
}
.region-tile {
	display: flex;
	flex-direction: column;
	gap: .15rem;
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: .95rem 1.1rem;
	color: var(--ink);
	transition: border-color .15s, box-shadow .15s;
}
.region-tile:hover { text-decoration: none; border-color: var(--brand); box-shadow: var(--shadow-1); }
.region-tile strong { font-weight: 600; font-size: .96rem; }
.region-tile span { color: var(--muted); font-size: .82rem; }

/* ================================================================
   8. CARTE ÉTABLISSEMENT (grilles de résultats)
   ================================================================ */

.business-card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: .3rem;
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 1rem 1.1rem 1.05rem;
	box-shadow: var(--shadow-1);
	transition: border-color .15s, box-shadow .15s, transform .15s;
}
.business-card:hover {
	border-color: color-mix(in srgb, var(--brand) 45%, var(--line));
	box-shadow: var(--shadow-2);
	transform: translateY(-1px);
}
.business-card .activity {
	font-size: .74rem;
	font-weight: 600;
	letter-spacing: .07em;
	text-transform: uppercase;
	color: var(--brand);
}
.business-card h3 { margin: 0; font-size: .98rem; line-height: 1.35; }
.business-card h3 a { color: var(--ink); }
.business-card h3 a::after { content: ""; position: absolute; inset: 0; }
.business-card h3 a:hover { text-decoration: none; }
.business-card .meta { margin: 0; color: var(--muted); font-size: .86rem; }
.business-card .phone {
	position: relative;
	z-index: 1;
	align-self: flex-start;
	margin-top: .35rem;
	font-size: .85rem;
	font-weight: 600;
	color: var(--brand-dark);
	background: color-mix(in srgb, var(--brand) 8%, #fff);
	border-radius: 8px;
	padding: .3rem .7rem;
}

/* ================================================================
   9. FICHE — l'extrait de registre
   ================================================================ */

.fiche-band {
	background: var(--card);
	border-bottom: 1px solid var(--line);
	border-top: 3px solid var(--brand);
}
.fiche-band .container {
	max-width: var(--w-doc);
	padding-top: 1.9rem;
	padding-bottom: 1.7rem;
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 1.5rem;
}
.fiche-band h1 { margin-bottom: .35rem; font-size: clamp(1.45rem, 3.6vw, 2.1rem); }
.fiche-band .fiche-sub { color: var(--muted); margin: 0; font-size: .97rem; }
.fiche-band .fiche-sub a { font-weight: 500; }

/* Le tampon : immatriculation en tabulaire, comme sur un extrait officiel */
.fiche-stamp {
	flex-shrink: 0;
	text-align: right;
	border: 1px solid var(--line-2);
	border-radius: 10px;
	padding: .6rem .85rem;
	background: var(--paper);
}
.fiche-stamp .lbl {
	display: block;
	font-size: .66rem;
	font-weight: 600;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--muted);
}
.fiche-stamp .val { font-family: var(--font-mono); font-size: .88rem; font-variant-numeric: tabular-nums; }

@media (max-width: 640px) {
	.fiche-band .container { flex-direction: column; gap: .9rem; }
	.fiche-stamp { text-align: left; align-self: stretch; }
}

.fiche-main { max-width: var(--w-doc); margin: 0 auto; padding: 1.8rem 1.25rem 3rem; }

.fiche-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 290px;
	gap: 1.4rem;
	align-items: start;
}
@media (max-width: 860px) {
	.fiche-grid { grid-template-columns: 1fr; }
}

.panel {
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 1.3rem 1.4rem;
	box-shadow: var(--shadow-1);
}
.panel + .panel { margin-top: 1.4rem; }
.panel > h2 { font-size: 1.12rem; margin-bottom: .9rem; }

/* Table de faits : lignes de registre */
.facts { margin: 0; }
.facts > div {
	display: grid;
	grid-template-columns: 175px 1fr;
	gap: 1rem;
	padding: .68rem 0;
	border-top: 1px solid var(--line);
}
.facts > div:first-child { border-top: 0; padding-top: 0; }
.facts dt { color: var(--muted); font-size: .87rem; padding-top: .1rem; }
.facts dd { margin: 0; font-size: .95rem; overflow-wrap: anywhere; }
.facts dd small { color: var(--muted); }
@media (max-width: 520px) {
	.facts > div { grid-template-columns: 1fr; gap: .1rem; padding: .55rem 0; }
}

/* Panneau contact / actions */
.contact-panel .btn { width: 100%; }
.contact-panel .btn + .btn { margin-top: .55rem; }
.contact-empty {
	color: var(--muted);
	font-size: .88rem;
	line-height: 1.55;
	margin: 0 0 .9rem;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .5rem;
	border: 0;
	border-radius: 10px;
	background: var(--brand);
	color: #fff;
	font: inherit;
	font-weight: 600;
	font-size: .95rem;
	padding: .7rem 1.3rem;
	cursor: pointer;
	transition: background .15s;
}
.btn:hover { background: var(--brand-dark); color: #fff; text-decoration: none; }
.btn.secondary, .btn-ghost {
	background: var(--card);
	color: var(--ink);
	border: 1px solid var(--line-2);
}
.btn.secondary:hover, .btn-ghost:hover { background: var(--paper); color: var(--brand-dark); border-color: var(--brand); }

/* Carte Leaflet */
.fdc-map, .fdc-map-archive, .leaflet-container {
	border-radius: var(--radius);
	border: 1px solid var(--line);
	overflow: hidden;
	z-index: 1;
}

/* Bloc source / correction — la provenance est une caractéristique, pas une excuse */
.source-note {
	margin-top: 1.4rem;
	border: 1px dashed var(--line-2);
	border-radius: var(--radius);
	background: var(--card);
	padding: .95rem 1.2rem;
	font-size: .85rem;
	color: var(--muted);
	line-height: 1.6;
}
.source-note strong { color: var(--ink); font-weight: 600; }

/* Barre d'actions mobile, collée en bas de l'écran sur la fiche */
.fiche-actionbar {
	display: none;
	position: fixed;
	bottom: 0; left: 0; right: 0;
	z-index: 70;
	background: rgba(255, 255, 255, .96);
	backdrop-filter: blur(8px);
	border-top: 1px solid var(--line);
	padding: .6rem .9rem calc(.6rem + env(safe-area-inset-bottom));
	gap: .6rem;
}
.fiche-actionbar .btn { flex: 1; padding: .65rem .5rem; font-size: .9rem; }
@media (max-width: 860px) {
	.fiche-actionbar { display: flex; }
	body.single-business { padding-bottom: 64px; }
}

/* ================================================================
   10. AVIS (rendus seulement s'il en existe de réels)
   ================================================================ */

.reviews-section { margin-top: 1.4rem; }
.review-card {
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 1rem 1.2rem;
	margin-bottom: .8rem;
}
.review-head { display: flex; justify-content: space-between; gap: 1rem; font-size: .88rem; }
.review-author { font-weight: 600; }
.review-date { color: var(--muted); }
.review-rating { color: #B7791F; margin: .2rem 0; letter-spacing: .1em; }
.review-text { margin: .3rem 0 0; font-size: .93rem; }

.rating .stars { color: #B7791F; letter-spacing: .08em; }

/* ================================================================
   11. PAGINATION
   ================================================================ */

.pagination, .navigation.pagination { margin: 2.2rem 0 0; }
.nav-links { display: flex; flex-wrap: wrap; gap: .4rem; justify-content: center; }
.nav-links .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 .7rem;
	border: 1px solid var(--line);
	border-radius: 10px;
	background: var(--card);
	color: var(--ink);
	font-size: .92rem;
	font-variant-numeric: tabular-nums;
}
.nav-links a.page-numbers:hover { border-color: var(--brand); color: var(--brand-dark); text-decoration: none; }
.nav-links .page-numbers.current { background: var(--brand); border-color: var(--brand); color: #fff; }
.nav-links .page-numbers.dots { border: 0; background: none; }

/* ================================================================
   12. LISTES DE MAILLAGE (région → département → ville)
   ================================================================ */

.fdc-maillage h2 { font-size: 1.25rem; }
.fdc-maillage a { color: var(--brand-dark); }

/* ================================================================
   13. PIED DE PAGE
   ================================================================ */

.site-footer {
	margin-top: 3rem;
	background: var(--ink);
	color: #C9CDD4;
	font-size: .88rem;
}
.site-footer .container { padding-top: 2.4rem; padding-bottom: 1.2rem; }
.footer-grid {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr;
	gap: 2rem;
}
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; gap: 1.2rem; } }
.site-footer h4 { color: #fff; font-size: .95rem; margin: 0 0 .6rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: .25rem 0; }
.site-footer a { color: #C9CDD4; }
.site-footer a:hover { color: #fff; }
.footer-bottom {
	margin-top: 1.8rem;
	padding-top: 1.1rem;
	border-top: 1px solid rgba(255, 255, 255, .12);
	color: #8A919C;
	font-size: .8rem;
}

/* Les liens légaux injectés par mu-plugin héritent du fond sombre */
.site-footer + .fdc-legal-links, .fdc-legal-links { font-size: .82rem; }

/* ================================================================
   14. DIVERS
   ================================================================ */

.hero-business { /* compat ancien template, si jamais encore servi en cache */
	background: var(--card);
	border-bottom: 1px solid var(--line);
	padding: 1.8rem 0;
}

.text-muted { color: var(--muted); }
.mt-0 { margin-top: 0; }

::selection { background: color-mix(in srgb, var(--brand) 25%, #fff); }

/* ================================================================
   15. ÉCOLES DE FRANCE — SERVICE DE RECHERCHE SCOLAIRE
   Couche strictement limitée au profil ecolesdefrance.
   ================================================================ */

.skip-link {
	position: fixed;
	top: 8px;
	left: 8px;
	z-index: 9999;
	transform: translateY(-150%);
	background: #fff;
	color: #0B2F4D;
	border: 2px solid #174E7A;
	padding: .65rem .9rem;
	font-weight: 700;
}
.skip-link:focus { transform: translateY(0); }

body.fdt-schools {
	--paper: #F6F8FB;
	--card: #FFFFFF;
	--ink: #102338;
	--muted: #58697C;
	--line: #D8E0E8;
	--line-2: #C8D4DF;
	--brand: #174E7A;
	--brand-dark: #0B2F4D;
	--school-pale: #E3F0FA;
	--school-pale-2: #EEF6FB;
	--school-gold: #E7B94A;
	--radius: 5px;
	--shadow-1: 0 1px 2px rgba(11, 47, 77, .05);
	--shadow-2: 0 14px 35px rgba(11, 47, 77, .11);
	--w: 1240px;
	background: var(--paper);
	color: var(--ink);
}
.fdt-schools h1, .fdt-schools h2 { letter-spacing: -.03em; }
.fdt-schools .container { padding-inline: clamp(1rem, 4vw, 2rem); }

/* En-tête */
.fdt-schools .site-header { background: rgba(255, 255, 255, .96); border-color: var(--line); }
.fdt-schools .site-header > .container { min-height: 72px; }
.fdt-schools .site-branding { gap: .7rem; }
.fdt-schools .site-icon {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: var(--brand);
	color: #fff;
	font-family: var(--font-display);
	font-size: .9rem;
	font-weight: 700;
}
.fdt-schools .site-title { font-size: 1.12rem; line-height: 1.1; }
.fdt-schools .site-tagline { display: block; margin: .18rem 0 0; color: var(--muted); font-size: .68rem; line-height: 1.2; }
.fdt-schools .main-nav ul { gap: .05rem; align-items: center; }
.fdt-schools .main-nav a { padding: .65rem .7rem; font-size: .82rem; font-weight: 650; }
.fdt-schools .main-nav .nav-report { margin-left: .35rem; border: 1px solid var(--line-2); }

/* Hero */
.school-hero {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(circle at 82% 18%, rgba(227, 240, 250, .14), transparent 25rem),
		linear-gradient(135deg, #0B2F4D 0%, #174E7A 72%, #205F90 100%);
	color: #fff;
	padding: clamp(3.5rem, 8vw, 7rem) 0 clamp(3.2rem, 6vw, 5rem);
}
.school-hero::after {
	content: "";
	position: absolute;
	right: -8vw;
	top: -16rem;
	width: 34rem;
	height: 34rem;
	border: 1px solid rgba(255, 255, 255, .12);
	border-radius: 50%;
	box-shadow: 0 0 0 4rem rgba(255, 255, 255, .025), 0 0 0 9rem rgba(255, 255, 255, .018);
}
.school-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(270px, .65fr); gap: clamp(2rem, 8vw, 7rem); align-items: end; }
.school-eyebrow { margin: 0 0 .9rem; color: #A9D1EC; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.school-hero h1 { max-width: 14ch; margin: 0; color: #fff; font-size: clamp(2.65rem, 6.8vw, 5.7rem); line-height: .98; }
.school-hero h1 em { color: #B9DDF4; font-weight: 500; }
.school-hero-lede { max-width: 60ch; margin: 1.7rem 0 0; color: #D5E5F1; font-size: clamp(1rem, 1.6vw, 1.18rem); line-height: 1.65; }
.school-data-proof { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: .85rem; border: 1px solid rgba(255, 255, 255, .2); background: rgba(7, 32, 53, .36); padding: 1rem 1.1rem; backdrop-filter: blur(8px); }
.school-proof-dot { width: 10px; height: 10px; border-radius: 50%; background: #69D39F; box-shadow: 0 0 0 6px rgba(105, 211, 159, .12); }
.school-data-proof strong, .school-data-proof small { display: block; }
.school-data-proof strong { font-size: .85rem; }
.school-data-proof small { margin-top: .2rem; color: #BFD4E3; font-size: .69rem; line-height: 1.35; }

/* Desktop hero, compacted to approximately one third of its previous height. */
@media (min-width: 801px) {
	.school-hero { padding: clamp(1rem, 1.4vw, 1.35rem) 0; }
	.school-hero-grid {
		grid-template-columns: minmax(0, 1.55fr) minmax(270px, .55fr);
		gap: clamp(1.5rem, 4vw, 3rem);
		align-items: center;
	}
	.school-eyebrow { margin-bottom: .4rem; font-size: .62rem; }
	.school-hero h1 {
		max-width: 24ch;
		font-size: clamp(2rem, 2.8vw, 2.5rem);
		line-height: 1.02;
	}
	.school-hero-lede {
		max-width: 66ch;
		margin-top: .55rem;
		font-size: clamp(.82rem, 1.15vw, .96rem);
		line-height: 1.45;
	}
	.school-data-proof { padding: .7rem .85rem; }
}

/* Recherche d'accueil */
.school-finder { background: #fff; padding: clamp(2.2rem, 5vw, 4rem) 0 clamp(2.2rem, 4vw, 3.5rem); }
.school-step-heading, .school-search-heading, .school-results-head, .school-section-heading, .school-profile-title { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem; }
.school-step-heading > div, .school-search-heading > div { display: flex; align-items: center; gap: 1rem; }
.school-step-heading > div > span, .school-search-heading > div > span { color: var(--brand); font-family: var(--font-display); font-size: 1.55rem; border-right: 1px solid var(--line); padding-right: 1rem; }
.school-step-heading small, .school-search-heading small, .school-results-head small, .school-section-heading small, .school-profile-title small { display: block; margin-bottom: .25rem; color: var(--brand); font-size: .65rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.school-step-heading h2, .school-search-heading h2, .school-results-head h2, .school-section-heading h2, .school-profile-title h2 { margin: 0; font-size: clamp(1.45rem, 3vw, 2.2rem); }
.school-step-heading > p, .school-search-heading > p { max-width: 33ch; margin: 0; color: var(--muted); font-size: .78rem; text-align: right; }

.school-levels { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); margin-top: 1.5rem; border: 1px solid var(--line); background: var(--line); gap: 1px; }
.school-level { min-width: 0; min-height: 104px; display: flex; align-items: flex-start; gap: .85rem; padding: 1rem .85rem; background: #fff; color: var(--ink); }
.school-level:hover, .school-level.is-active { background: var(--school-pale-2); color: var(--brand-dark); text-decoration: none; }
.school-level.is-active { box-shadow: inset 0 -3px 0 var(--brand); }
.school-level-mark { color: #8293A3; font-family: var(--font-display); font-size: .78rem; }
.school-level strong, .school-level small { display: block; }
.school-level strong { font-size: .8rem; line-height: 1.3; }
.school-level small { margin-top: .35rem; color: var(--muted); font-size: .64rem; line-height: 1.35; }

.school-specialty-block, .school-offer-block { margin-top: 2.4rem; padding-top: 2rem; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.school-choice-heading { display: flex; align-items: end; justify-content: space-between; gap: 1.5rem; margin-bottom: 1rem; }
.school-choice-heading small { display: block; margin-bottom: .28rem; color: var(--brand); font-size: .62rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.school-choice-heading h2, .school-choice-heading h3 { margin: 0; color: var(--ink); font-family: var(--font-display); font-size: clamp(1.25rem, 2.5vw, 1.8rem); }
.school-choice-heading p { max-width: 40ch; margin: 0; color: var(--muted); font-size: .72rem; text-align: right; }
.school-home-taxonomy .school-choice-heading { margin-bottom: 1.2rem; }
.school-section-more { margin: 1.1rem 0 0; text-align: right; }
.school-section-more a { color: var(--brand); font-size: .75rem; font-weight: 800; }
.school-specialties { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); background: var(--line); gap: 1px; }
.school-specialty { min-width: 0; min-height: 92px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: .8rem; padding: .9rem 1rem; background: #fff; color: var(--ink); }
.school-specialty:hover, .school-specialty.is-active { background: var(--school-pale-2); color: var(--brand-dark); text-decoration: none; }
.school-specialty.is-active { box-shadow: inset 0 -3px 0 var(--brand); }
.school-specialty-mark { display: grid; width: 32px; height: 32px; place-items: center; border: 1px solid #BCD0DE; border-radius: 50%; color: var(--brand); font-family: var(--font-display); font-size: .68rem; }
.school-specialty-copy { min-width: 0; }
.school-specialty strong, .school-specialty small { display: block; }
.school-specialty strong { font-size: .79rem; line-height: 1.25; }
.school-specialty small { margin-top: .25rem; color: var(--muted); font-size: .62rem; line-height: 1.35; }
.school-specialty em { align-self: start; color: #6E8090; font-size: .58rem; font-style: normal; font-weight: 750; }
.school-offers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .5rem; }
.school-offer { min-width: 0; display: grid; gap: .25rem; padding: .8rem .9rem; background: #fff; border: 1px solid var(--line); color: var(--ink); }
.school-offer:hover, .school-offer.is-active { background: var(--school-pale-2); border-color: #9CB8CC; color: var(--brand-dark); text-decoration: none; }
.school-offer strong { font-size: .73rem; line-height: 1.3; }
.school-offer span { color: var(--muted); font-size: .6rem; }
.school-show-all { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; margin-top: .7rem; padding: .55rem .85rem; border: 1px solid var(--brand); background: #fff; color: var(--brand-dark); font: inherit; font-size: .72rem; font-weight: 800; cursor: pointer; }
.school-show-all:hover, .school-show-all:focus-visible { background: var(--school-pale-2); }
.school-extra-item[hidden] { display: none !important; }

/* Filtres partagés sur les pages internes */
.school-filter-explorer { padding: clamp(1.8rem, 4vw, 3rem) 0; background: var(--school-pale-2); border-bottom: 1px solid var(--line); }
.school-filter-explorer-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; }
.school-filter-explorer-heading small, .school-filter-facet h3 { color: var(--brand); font-size: .63rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.school-filter-explorer-heading small { display: block; margin-bottom: .25rem; }
.school-filter-explorer-heading h2 { margin: 0; font-family: var(--font-display); font-size: clamp(1.55rem, 3vw, 2.35rem); }
.school-filter-explorer-heading p { max-width: 42ch; margin: 0; color: var(--muted); font-size: .73rem; text-align: right; }
.school-filter-explorer .fdc-search-form { margin-top: 1rem; }
.school-filter-facets { display: grid; gap: 1rem; min-width: 0; margin-top: 1.4rem; }
.school-filter-facet { min-width: 0; padding-top: 1rem; border-top: 1px solid var(--line-2); }
.school-filter-facet h3 { margin: 0 0 .7rem; color: var(--ink); letter-spacing: .04em; }
.school-filter-facet .school-levels, .school-filter-facet .school-specialties { margin-top: 0; }
.school-filter-facet .school-level { min-height: 82px; padding: .75rem; }
.school-filter-facet .school-specialty { min-height: 76px; padding: .7rem .8rem; }
.school-filter-facet .school-offer { min-height: 58px; padding: .65rem .75rem; }
.school-filter-regions { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .45rem; }
.school-filter-regions a { display: grid; gap: .18rem; min-height: 58px; align-content: center; padding: .65rem .75rem; background: #fff; border: 1px solid var(--line); color: var(--ink); }
.school-filter-regions a:hover, .school-filter-regions a:focus-visible { background: #fff; border-color: #9CB8CC; color: var(--brand-dark); text-decoration: none; }
.school-filter-regions strong { font-size: .72rem; }
.school-filter-regions span { color: var(--muted); font-size: .59rem; }

/* Résultats : le filtre devient la colonne de pilotage du bandeau. */
.school-search-hero-layout { display: grid; grid-template-columns: 1fr; gap: 1.5rem; align-items: start; }
.school-search-hero-copy { min-width: 0; }
.school-search-hero-copy h1 { max-width: 18ch; font-size: clamp(2.35rem, 4.2vw, 4rem); overflow-wrap: anywhere; }
.school-search-hero-copy > p:last-child { margin-bottom: 0; }
.school-search-hero-context { max-width: 48ch; margin: .7rem 0 0; color: #B9D4E6; font-size: .76rem; line-height: 1.45; }
.school-search-hero .school-filter-explorer--embedded { min-width: 0; padding: 0; background: transparent; border: 0; }
.school-search-hero .school-filter-explorer--embedded .school-filter-explorer-inner { min-width: 0; }
.school-search-hero .school-filter-explorer--embedded .school-filter-explorer-heading { align-items: flex-start; }
.school-search-hero .school-filter-explorer--embedded .school-filter-explorer-heading small { color: #A9D1EC; }
.school-search-hero .school-filter-explorer--embedded .school-filter-explorer-heading h2 { color: #fff; font-size: clamp(1.35rem, 2.4vw, 1.85rem); }
.school-search-hero .school-filter-explorer--embedded .school-filter-explorer-heading p { display: none; }
.school-search-hero .school-filter-explorer--embedded .school-search-form-six { margin-top: .8rem; }
.school-search-hero .school-filter-explorer--embedded .school-search-grid { grid-template-columns: repeat(6, minmax(180px, 1fr)); gap: .55rem; padding: .45rem; overflow-x: auto; background: rgba(5, 28, 47, .28); border-color: rgba(255, 255, 255, .24); box-shadow: none; }
.school-search-hero .school-filter-explorer--embedded .school-search-grid > .school-filter-field { min-width: 0; min-height: 0; align-self: start; align-content: start; padding: .55rem .7rem; border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .97); }
.school-search-hero .school-filter-explorer--embedded .school-search-grid > button { grid-column: 1 / -1; min-height: 44px; margin-top: .1rem; background: #fff; color: var(--brand-dark); }
.school-search-hero .school-filter-explorer--embedded .school-search-grid > button:hover { background: var(--school-pale); }
.school-search-hero .school-filter-explorer--embedded .school-filter-field:focus-within { background: #fff; box-shadow: inset 3px 0 0 #69D39F, 0 0 0 2px rgba(255, 255, 255, .2); }
.school-search-hero .school-filter-explorer--embedded .school-filter-field > label > span { color: #52697D; }
.school-search-hero .school-filter-explorer--embedded .school-filter-field > input { min-height: 32px; padding-block: .2rem; }
.school-filter-select-all { display: flex; align-items: center; gap: .55rem; min-height: 42px; margin-top: .5rem; padding: .55rem .7rem; border: 1px solid #BFD5E5; background: #F5FAFD; color: var(--brand-dark); cursor: pointer; font-size: .72rem; font-weight: 800; }
.school-filter-select-all input { width: 1rem; height: 1rem; margin: 0; accent-color: var(--brand); }
.school-filter-select-all[hidden] { display: none; }
.school-autocomplete-listbox [role="option"] { grid-template-columns: auto minmax(0, 1fr) auto; }
.school-autocomplete-listbox [role="option"] input[type="checkbox"] { width: 1rem; height: 1rem; margin: 0; accent-color: var(--brand); }
.school-search-hero .school-filter-explorer--embedded .school-autocomplete-listbox { left: 0; width: 100%; }

.school-search-box { margin-top: 2rem; padding: clamp(1.1rem, 3vw, 2rem); background: var(--school-pale-2); border: 1px solid #D4E4F0; }
.fdt-schools .fdc-search-form { max-width: none; margin: 1.2rem 0 0; }
.fdt-schools .school-search-grid {
	display: grid;
	grid-template-columns: 1.1fr .82fr .95fr 1.2fr auto;
	gap: .55rem;
	padding: .55rem;
	background: #fff;
	border: 1px solid var(--line-2);
	border-radius: 4px;
	box-shadow: var(--shadow-1);
}
.fdt-schools .school-search-grid > label, .fdt-schools .school-search-grid > .school-filter-field { min-width: 0; display: grid; gap: .15rem; padding: .15rem .7rem; border-right: 1px solid var(--line); }
.fdt-schools .school-search-grid > label > span, .fdt-schools .school-filter-field > label > span { color: var(--muted); font-size: .58rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.fdt-schools .school-filter-field > label { line-height: 1; }
.fdt-schools .school-search-grid input, .fdt-schools .school-search-grid select { width: 100%; min-width: 0; border: 0; border-radius: 0; padding: .35rem 0; background: transparent; color: var(--ink); font-size: .85rem; }
.fdt-schools .school-filter-field.is-locked { background: #F1F7FB; box-shadow: inset 3px 0 0 var(--brand); }
.school-search-form-six .school-search-grid { grid-template-columns: repeat(6, minmax(180px, 1fr)); align-items: stretch; overflow-x: auto; scrollbar-width: thin; scrollbar-color: #8BA9BE transparent; }
.school-search-form-six .school-search-grid > .school-filter-field { min-width: 0; min-height: 68px; align-self: stretch; align-content: start; border-bottom: 1px solid var(--line); }
.school-search-form-six .school-search-grid > button { grid-column: 1 / -1; width: 100%; margin-top: .15rem; }
.school-search-form-six .school-filter-field[data-school-autocomplete] { position: relative; }
.school-search-form-six .school-filter-field[data-school-autocomplete]:focus-within { z-index: 50; }
.school-search-form-six .school-autocomplete-listbox { position: relative; top: auto; right: auto; bottom: auto; left: auto; width: 100%; max-height: min(38vh, 320px); margin-top: .55rem; overflow-y: auto; }
.school-search-form-six .school-autocomplete-listbox [role="option"] { height: 44px; min-height: 44px; box-sizing: border-box; }
.school-search-form-six .school-autocomplete-listbox [role="option"] span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.school-search-form-six .school-autocomplete-listbox [role="option"] small { display: none; }
.school-search-form-six .school-filter-field > label { min-width: 0; line-height: 1.25; }
.school-search-form-six .school-filter-field > label > span { overflow-wrap: anywhere; }
.school-category-control, .school-autocomplete-control { min-width: 0; display: flex; align-items: center; gap: .35rem; }
.school-category-control select { flex: 1 1 auto; }
.school-filter-control, .school-autocomplete-control { position: relative; }
.school-filter-control.is-enhanced .school-specialty-input { flex: 1 1 auto; padding-right: .1rem; }
.school-filter-control.is-enhanced input { min-height: 44px; }
.school-specialty-listbox, .school-autocomplete-listbox {
	position: absolute;
	z-index: 40;
	top: calc(100% + .65rem);
	left: -.7rem;
	width: min(420px, calc(100vw - 2rem));
	max-height: 300px;
	margin: 0;
	padding: .35rem;
	overflow-y: auto;
	list-style: none;
	background: #fff;
	border: 1px solid #AFC3D2;
	border-radius: 4px;
	box-shadow: 0 18px 42px rgba(8, 31, 52, .18);
}
.school-specialty-listbox[hidden], .school-autocomplete-listbox[hidden] { display: none; }
.school-specialty-listbox [role="option"], .school-autocomplete-listbox [role="option"] { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .8rem; align-items: center; min-height: 44px; padding: .65rem .7rem; border-radius: 3px; color: var(--ink); cursor: pointer; }
.school-specialty-listbox [role="option"] + [role="option"], .school-autocomplete-listbox [role="option"] + [role="option"] { border-top: 1px solid #E5EDF3; }
.school-specialty-listbox [role="option"]:hover, .school-specialty-listbox [role="option"].is-active, .school-autocomplete-listbox [role="option"]:hover, .school-autocomplete-listbox [role="option"].is-active { background: var(--school-pale-2); color: var(--brand-dark); }
.school-specialty-listbox [role="option"] span, .school-autocomplete-listbox [role="option"] span { min-width: 0; font-size: .73rem; font-weight: 750; line-height: 1.35; }
.school-specialty-listbox [role="option"] small, .school-autocomplete-listbox [role="option"] small { color: var(--muted); font-size: .57rem; white-space: nowrap; }
.school-specialty-no-result, .school-autocomplete-no-result { padding: .8rem .7rem; color: var(--muted); font-size: .7rem; line-height: 1.4; }

/* Filtres horizontaux : six colonnes strictement alignées et tactiles. */
.school-search-form-six .school-search-grid > .school-filter-field {
	display: flex;
	flex-direction: column;
	gap: 0;
	padding: .7rem;
	background: #fff;
	border: 1px solid #D6E2EB;
}
.school-search-form-six .school-search-grid > .school-filter-field > label {
	display: flex;
	min-height: 36px;
	align-items: flex-start;
	margin: 0;
	line-height: 1.25;
}
.school-search-form-six .school-search-grid > .school-filter-field > label > span {
	display: block;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	overflow-wrap: normal;
}
.school-search-form-six .school-search-grid > .school-filter-field > input[type="search"] {
	flex: 0 0 44px;
	min-height: 44px;
	padding: .45rem 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.school-search-form-six .school-search-grid > .school-filter-field > input[type="hidden"] { display: none; }
.school-search-form-six .school-search-grid > .school-filter-field > .school-filter-select-all {
	display: grid;
	grid-template-columns: 18px minmax(0, 1fr);
	gap: .6rem;
	min-height: 46px;
	align-items: center;
	margin-top: .45rem;
	padding: .55rem .65rem;
	font-size: .68rem;
	line-height: 1.15;
}
.school-search-form-six .school-search-grid > .school-filter-field > .school-filter-select-all[hidden] { display: none; }
.school-search-form-six .school-search-grid > .school-filter-field > .school-filter-select-all input {
	width: 18px;
	height: 18px;
	justify-self: center;
}
.school-search-form-six .school-search-grid > .school-filter-field > .school-filter-select-all span {
	display: block;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-size: .64rem;
	letter-spacing: 0;
	text-transform: none;
}
.school-search-form-six .school-autocomplete-listbox {
	flex: 0 0 320px;
	height: 320px;
	max-height: 320px;
	margin-top: .5rem;
	box-sizing: border-box;
	overscroll-behavior: contain;
	scrollbar-width: thin;
	scrollbar-color: #9EB5C5 transparent;
}
.school-search-form-six .school-autocomplete-listbox [role="option"] {
	display: grid;
	grid-template-columns: 18px minmax(0, 1fr);
	gap: .6rem;
	height: 44px;
	min-height: 44px;
	align-items: center;
	padding: .5rem .6rem;
	box-sizing: border-box;
}
.school-search-form-six .school-autocomplete-listbox [role="option"] input[type="checkbox"] {
	width: 18px;
	height: 18px;
	justify-self: center;
}
.school-search-form-six .school-autocomplete-listbox [role="option"] span {
	display: block;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-size: .7rem;
	line-height: 1.2;
}
.school-search-form-six .school-autocomplete-listbox [role="option"] small { display: none; }
.fdt-schools .school-filter-field:focus-within { box-shadow: inset 3px 0 0 var(--brand), 0 0 0 2px rgba(20, 83, 126, .14); }
.school-filter-change { flex: 0 0 auto; color: var(--brand); font-size: .64rem; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.fdt-schools .school-search-grid > button { min-height: 48px; border-radius: 3px; padding: .6rem 1.1rem; background: var(--brand); white-space: nowrap; font-size: .78rem; font-weight: 800; }
.fdt-schools .school-search-grid > button:hover { background: var(--brand-dark); }
.school-geo-row { display: flex; align-items: center; gap: 1rem; margin-top: .8rem; }
.school-geo-button { min-height: 44px; border: 1px solid var(--brand); background: #fff; color: var(--brand-dark); padding: .65rem 1rem; font: inherit; font-size: .76rem; font-weight: 800; cursor: pointer; }
.school-geo-button:hover { background: var(--school-pale); }
.school-geo-button:disabled { cursor: wait; opacity: .68; }
.school-geo-status { margin: 0; color: var(--muted); font-size: .7rem; line-height: 1.45; }
.school-geo-status[data-state="success"] { color: #17623F; }
.school-geo-status[data-state="error"] { color: #A14428; }
.school-nearby { scroll-margin-top: 90px; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.school-nearby[hidden] { display: none; }
.school-link-button { border: 0; background: transparent; color: var(--brand); font: inherit; font-size: .72rem; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* Régions et sources */
.school-section { padding: clamp(2.2rem, 4vw, 3.8rem) 0; }
.school-section-soft { background: var(--paper); border-block: 1px solid var(--line); }
.school-section-heading { margin-bottom: 1.5rem; }
.school-section-heading > a { color: var(--brand); font-size: .78rem; font-weight: 800; }
.school-region-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); background: var(--line); gap: 1px; }
.school-region-grid a { display: grid; gap: .2rem; min-height: 86px; align-content: center; padding: 1rem 1.1rem; background: #fff; color: var(--ink); }
.school-region-grid a:hover { background: var(--school-pale-2); text-decoration: none; }
.school-region-grid strong { font-size: .82rem; }
.school-region-grid span { color: var(--muted); font-size: .66rem; }
.school-sources { padding: clamp(3rem, 5vw, 4.8rem) 0; background: var(--brand-dark); color: #fff; }
.school-sources-grid { display: grid; grid-template-columns: .85fr 1.2fr; gap: clamp(2.5rem, 8vw, 7rem); }
.school-sources h2 { max-width: 14ch; color: #fff; font-size: clamp(2.2rem, 5vw, 4.2rem); line-height: 1.05; }
.school-source-list > div { display: grid; grid-template-columns: 150px 1fr; gap: 1.2rem; padding: 1.2rem 0; border-bottom: 1px solid rgba(255, 255, 255, .16); }
.school-source-list p { margin: 0; color: #C9D9E6; font-size: .82rem; line-height: 1.6; }
.school-source-badge { display: inline-flex; width: fit-content; align-items: center; padding: .3rem .5rem; font-size: .56rem; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; white-space: nowrap; }
.school-source-badge.official { background: #DDF1E5; color: #17623F; }
.school-source-badge.enriched { background: #DCEAF7; color: #174E7A; }
.school-source-badge.confirm { background: #FFF0DF; color: #99500F; }

/* Menus déroulants de l’en-tête : cinq éléments visibles, puis défilement. */
.fdt-schools .main-nav > ul > li { position: relative; }
.fdt-schools .nav-parent-row { display: flex; align-items: center; }
.fdt-schools .nav-parent-row > a { flex: 1 1 auto; }
.fdt-schools .nav-submenu-toggle { flex: 0 0 auto; display: inline-grid; width: 1.55rem; min-height: 1.55rem !important; place-items: center; border: 0; border-radius: 50%; padding: 0; background: transparent; color: var(--brand); cursor: pointer; font-size: .85rem; line-height: 1; }
.fdt-schools .nav-submenu-toggle:hover, .fdt-schools .nav-submenu-toggle:focus-visible { background: var(--school-pale-2); color: var(--brand-dark); }
.fdt-schools .nav-submenu-toggle[aria-expanded="true"] span { transform: rotate(180deg); }
.fdt-schools .nav-panel { position: absolute; z-index: 70; top: 100%; left: 0; width: min(330px, calc(100vw - 2rem)); max-height: 255px; overflow-y: auto; overscroll-behavior: contain; padding: .4rem; visibility: hidden; opacity: 0; pointer-events: none; transform: translateY(-4px); background: #fff; border: 1px solid var(--line-2); border-radius: 5px; box-shadow: var(--shadow-2); transition: opacity .15s ease, transform .15s ease, visibility .15s ease; scrollbar-width: thin; }
.fdt-schools .menu-has-panel:hover > .nav-panel, .fdt-schools .menu-has-panel:focus-within > .nav-panel, .fdt-schools .menu-has-panel.is-open > .nav-panel { visibility: visible; opacity: 1; pointer-events: auto; transform: translateY(0); }
.fdt-schools .nav-panel ul { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.fdt-schools .nav-panel li a { display: grid; gap: .12rem; padding: .58rem .65rem; border-radius: 3px; color: var(--ink); font-size: .72rem; line-height: 1.25; }
.fdt-schools .nav-panel li a:hover, .fdt-schools .nav-panel li a:focus-visible { background: var(--school-pale-2); color: var(--brand-dark); }
.fdt-schools .nav-panel li a small { color: var(--muted); font-size: .6rem; }

/* Listes et cartes */
.school-listing-page { min-height: 60vh; }
.school-listing-hero { padding: clamp(2.7rem, 5vw, 4.5rem) 0; background: linear-gradient(125deg, var(--brand-dark), var(--brand)); color: #fff; }
.school-listing-hero h1 { max-width: 20ch; margin: 0; color: #fff; font-size: clamp(2.1rem, 5vw, 4.2rem); line-height: 1.02; }
.school-listing-hero > .container > p:last-child { max-width: 58ch; margin: 1rem 0 0; color: #CFE0EC; }
.school-listing-shell { padding-top: 2rem; padding-bottom: 5rem; }
.school-listing-tools { margin-bottom: 2.5rem; }
.school-listing-tools .school-levels { margin-top: .8rem; }
.school-listing-tools .school-level { min-height: 78px; padding: .75rem; }
.school-listing-tools .school-level small { display: none; }
.school-listing-specialties { margin-top: .8rem; }
.school-listing-offers { margin-top: .8rem; }
.school-listing-tools .school-specialty { min-height: 76px; padding: .7rem .8rem; }
.school-listing-tools .school-specialty small { display: none; }
.school-results-head { margin-bottom: 1.2rem; }
.school-results-head p { max-width: 55ch; margin: .45rem 0 0; color: var(--muted); font-size: .75rem; }
.school-result-list { display: grid; gap: .75rem; }
.fdt-schools .business-card.school-result-card {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 1rem 2rem;
	padding: 1.2rem 1.35rem;
	border-radius: 4px;
	box-shadow: none;
}
.fdt-schools .business-card.school-result-card:hover { transform: translateY(-1px); border-color: #9CB2C3; box-shadow: var(--shadow-2); }
.fdt-schools .business-card h3 a::after { content: none; }
.school-card-main { min-width: 0; }
.school-card-badges { display: flex; flex-wrap: wrap; gap: .35rem; margin-bottom: .55rem; }
.school-card-badges span { padding: .22rem .42rem; background: var(--school-pale-2); border: 1px solid #D7E6F0; color: var(--brand); font-size: .55rem; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; }
.school-card-badges .school-data-badge { background: #F2F6F8; color: #52697D; }
.fdt-schools .school-result-card h3 { margin: 0; font-family: var(--font-display); font-size: clamp(1.2rem, 2vw, 1.55rem); line-height: 1.2; }
.school-card-address { margin: .45rem 0 0; color: var(--muted); font-size: .75rem; line-height: 1.55; }
.school-card-activity { margin: .6rem 0 0; color: #3F5568; font-size: .69rem; }
.school-card-offers { margin: .35rem 0 0; color: var(--brand); font-size: .64rem; }
.school-card-specialty-group { margin-top: .7rem; }
.school-card-specialty-group > strong { display: block; margin-bottom: .4rem; color: #38566F; font-size: .58rem; letter-spacing: .07em; text-transform: uppercase; }
.school-card-specialty-list { display: flex; flex-wrap: wrap; gap: .3rem; margin: 0; padding: 0; list-style: none; }
.school-card-specialty-list a, .school-card-specialty-list span { display: inline-flex; padding: .24rem .42rem; background: var(--school-pale-2); border: 1px solid #D5E2EC; border-radius: 999px; color: #38566F; font-size: .61rem; line-height: 1.3; text-decoration: none; }
.school-card-specialty-list a:hover { border-color: var(--brand); color: var(--brand); }
.school-card-specialties { margin: .35rem 0 0; color: #38566F; font-size: .64rem; line-height: 1.45; }
.school-card-specialties.is-empty, .school-specialty-empty { color: var(--muted); font-style: italic; }
.school-card-contact { display: flex; flex-wrap: wrap; gap: .35rem 1.2rem; margin-top: .7rem; color: #52697D; font-size: .66rem; }
.school-card-contact strong { color: var(--brand); font-size: .58rem; text-transform: uppercase; }
.school-card-foot { min-width: 200px; display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; gap: .55rem; border-left: 1px solid var(--line); padding-left: 1.2rem; color: var(--muted); font-size: .65rem; text-align: right; }
.school-card-foot .school-distance { color: var(--brand-dark); font-size: .73rem; }
.school-card-foot > a { margin-top: auto; color: var(--brand); font-size: .72rem; font-weight: 850; }
.school-empty { grid-column: 1 / -1; padding: 3rem 1.3rem; background: #fff; border: 1px dashed var(--line-2); text-align: center; }
.school-empty strong { font-family: var(--font-display); font-size: 1.5rem; }
.school-empty p { color: var(--muted); }
.school-listing-map { margin-top: 4rem; }
.fdt-schools main.school-regions-hub { padding-top: 3.5rem !important; padding-bottom: 5rem !important; }
.fdt-schools main.school-regions-hub > .section-title { padding-bottom: 1.4rem; border-bottom: 1px solid var(--line); }
.fdt-schools main.school-regions-hub > section { padding: 1.2rem; margin-bottom: .7rem !important; background: #fff; border: 1px solid var(--line); }
.fdt-schools main.school-regions-hub > section h2 { font-family: var(--font-display); }
.fdt-schools main.school-regions-hub > section p { color: var(--muted); font-size: .76rem; }
.fdt-schools .fdc-maillage { padding-top: 2rem !important; }
.fdt-schools .fdc-maillage ul { padding: 1rem !important; background: #fff; border: 1px solid var(--line); }

/* Index géographique rendu par le module de maillage historique. */
.fdt-schools.school-regions-hub { background: var(--paper); }
.fdt-schools.school-regions-hub main.container {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
	padding-top: 2rem !important;
	padding-bottom: 4rem !important;
}
.fdt-schools.school-regions-hub main.container > .section-title {
	grid-column: 1 / -1;
	margin: 0;
	padding: clamp(2rem, 5vw, 4rem);
	background: var(--brand-dark);
	color: #fff;
	border-left: 5px solid var(--school-pale);
}
.fdt-schools.school-regions-hub main.container > .section-title small { color: #BFD5E6; }
.fdt-schools.school-regions-hub main.container > .section-title h1 { margin: .45rem 0 .65rem; color: #fff; }
.fdt-schools.school-regions-hub main.container > .section-title p { max-width: 620px; margin: 0; color: #D7E5EF; }
.fdt-schools.school-regions-hub main.container > section {
	min-width: 0;
	margin: 0 !important;
	padding: 1.25rem 1.35rem;
	background: #fff;
	border: 1px solid var(--line);
}
.fdt-schools.school-regions-hub main.container > section h2 {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: .35rem .8rem;
	margin: 0 0 .8rem !important;
	font-size: 1.12rem !important;
}
.fdt-schools.school-regions-hub main.container > section h2 > a { color: var(--brand-dark); }
.fdt-schools.school-regions-hub main.container > section h2 > span { color: var(--muted) !important; font-family: var(--font-mono); font-size: .66rem !important; }
.fdt-schools.school-regions-hub main.container > section p { margin: 0 !important; color: var(--muted); font-size: .72rem; line-height: 2 !important; }
.fdt-schools.school-regions-hub main.container > section p a {
	display: inline-block;
	margin: .12rem .08rem;
	padding: .15rem .42rem;
	background: var(--school-pale-2);
	border: 1px solid #D5E2EC;
	color: var(--brand-dark);
	font-weight: 700;
	text-decoration: none;
}
.fdt-schools.school-regions-hub main.container > section p a:hover { border-color: var(--brand); color: var(--brand); }

/* Pages légales et contact rendues par le module mutualisé. */
.fdt-schools.school-legal-page main.container {
	max-width: 900px;
	margin-top: 2rem;
	margin-bottom: 4rem;
	padding: clamp(1.4rem, 5vw, 3.5rem) !important;
	background: #fff;
	border: 1px solid var(--line);
	border-top: 6px solid var(--brand-dark);
	box-shadow: var(--shadow-1);
}
.fdt-schools.school-legal-page main.container h1 { margin: 0 0 1.5rem; font-size: clamp(2.4rem, 7vw, 4rem); color: var(--brand-dark); }
.fdt-schools.school-legal-page main.container h2 { margin: 2.1rem 0 .85rem; padding-top: 1.25rem; border-top: 1px solid var(--line); color: var(--brand-dark); font-size: 1.45rem; }
.fdt-schools.school-legal-page main.container p { max-width: 74ch; color: #34495E; }
.fdt-schools.school-legal-page main.container a { color: var(--brand); font-weight: 700; text-underline-offset: 3px; }
.fdt-schools.school-legal-page main.container form { padding: 1.25rem; background: var(--paper); border: 1px solid var(--line); }
.fdt-schools.school-legal-page main.container form label { color: var(--ink); font-weight: 700; }
.fdt-schools.school-legal-page main.container form input,
.fdt-schools.school-legal-page main.container form select,
.fdt-schools.school-legal-page main.container form textarea { width: 100%; min-height: 48px; padding: .72rem .8rem !important; background: #fff; border: 1px solid var(--line-2) !important; border-radius: 3px !important; color: var(--ink); font-weight: 500; }
.fdt-schools.school-legal-page main.container form textarea { min-height: 180px; resize: vertical; }
.fdt-schools.school-legal-page main.container form button { min-height: 48px; padding: .75rem 1.5rem !important; background: var(--brand-dark) !important; border-radius: 3px !important; font-weight: 800 !important; }

/* Fiche */
.school-profile-head { padding: clamp(2.5rem, 5vw, 4.5rem) 0; background: #fff; border-top: 4px solid var(--brand); border-bottom: 1px solid var(--line); }
.school-profile-head > .container { display: flex; justify-content: space-between; align-items: flex-start; gap: 2rem; }
.school-profile-copy h1 { max-width: 18ch; margin: 0; font-size: clamp(2.2rem, 5.5vw, 4.7rem); line-height: 1; }
.school-profile-copy > p { margin: 1rem 0 0; color: var(--muted); }
.school-registry-mark { flex: 0 0 auto; display: grid; gap: .15rem; min-width: 170px; border: 1px solid var(--line); background: var(--paper); padding: .8rem 1rem; text-align: right; }
.school-registry-mark span, .school-registry-mark small { color: var(--muted); font-size: .58rem; text-transform: uppercase; letter-spacing: .08em; }
.school-registry-mark strong { font-family: var(--font-mono); font-size: .78rem; }

/* En-tête des fiches : version compacte sur desktop pour réduire le temps avant le contenu. */
@media (min-width: 801px) {
	.school-profile-head { padding: 1.25rem 0; }
	.school-profile-head > .container { gap: 1.25rem; }
	.school-profile-copy h1 { max-width: 26ch; font-size: clamp(2.2rem, 3.25vw, 3.25rem); line-height: 1.02; }
	.school-profile-copy > p { margin-top: .55rem; font-size: .9rem; }
	.school-registry-mark { padding: .65rem .8rem; }
}

.school-profile-tabs { position: sticky; top: 72px; z-index: 35; background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--line); backdrop-filter: blur(8px); }
.school-profile-tabs .container { display: flex; gap: 1.5rem; overflow-x: auto; scrollbar-width: none; }
.school-profile-tabs a { flex: 0 0 auto; padding: .85rem 0 .75rem; border-bottom: 2px solid transparent; color: var(--ink); font-size: .68rem; font-weight: 750; }
.school-profile-tabs a:hover { border-color: var(--brand); color: var(--brand); text-decoration: none; }
.school-profile-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 2rem; padding-top: 2rem; padding-bottom: 4rem; align-items: start; }
.school-profile-section { scroll-margin-top: 130px; padding: 1.6rem; background: #fff; border: 1px solid var(--line); }
.school-profile-section + .school-profile-section { margin-top: 1rem; }
.school-profile-title { align-items: flex-start; margin-bottom: 1.2rem; }
.school-profile-title h2 { max-width: 22ch; }
.school-summary-grid { display: grid; grid-template-columns: repeat(2, 1fr); border: 1px solid var(--line); background: var(--line); gap: 1px; }
.school-summary-grid > div { min-width: 0; min-height: 90px; display: grid; align-content: center; gap: .3rem; padding: 1rem; background: var(--paper); }
.school-summary-grid span, .school-contact-grid span { color: var(--muted); font-size: .58rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.school-summary-grid strong { font-size: .77rem; overflow-wrap: anywhere; }
.school-contact-note { margin: -.4rem 0 1rem; color: var(--muted); font-size: .7rem; }
.school-contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .55rem; }
.school-contact-grid > div { min-width: 0; display: grid; align-content: start; gap: .45rem; padding: 1rem; background: var(--paper); border: 1px solid var(--line); }
.school-contact-grid strong { overflow-wrap: anywhere; font-size: .74rem; }
.school-contact-grid small { color: var(--muted); font-size: .58rem; line-height: 1.35; }
.school-contact-grid a, .school-map-link { color: var(--brand); font-size: .69rem; font-weight: 850; text-decoration: underline; text-underline-offset: 3px; }
.school-missing-data { padding: 1.1rem; background: #FFF9EF; border-left: 4px solid var(--school-gold); }
.school-missing-data strong { font-family: var(--font-display); font-size: 1.1rem; }
.school-missing-data p { margin: .35rem 0 0; color: #6B5B48; font-size: .75rem; line-height: 1.55; }
.school-feature-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem; margin: 0; padding: 0; list-style: none; }
.school-feature-list li { position: relative; padding: .8rem .85rem .8rem 2rem; background: var(--paper); border: 1px solid var(--line); font-size: .72rem; font-weight: 700; }
.school-feature-list li::before { content: "✓"; position: absolute; left: .75rem; color: #17623F; font-weight: 900; }
.school-feature-list.specialties li::before { content: "→"; }
.school-feature-list a { color: inherit; }
.school-detail-subtitle { margin: 1.1rem 0 .6rem; font-family: var(--font-body); font-size: .75rem; }
.school-detail-subtitle > span { display: inline-grid; min-width: 1.45rem; height: 1.45rem; margin-left: .35rem; place-items: center; padding-inline: .35rem; border-radius: 999px; background: var(--school-pale-2); color: var(--brand); font-size: .61rem; }
.school-specialty-empty { margin: 0; padding: .85rem 1rem; background: var(--paper); border: 1px dashed var(--line-2); font-size: .7rem; line-height: 1.5; }
.school-information-note { margin-top: 1rem; padding: .9rem 1rem; background: var(--school-pale-2); border-left: 3px solid var(--brand); }
.school-information-note strong { font-size: .72rem; }
.school-information-note p { margin: .3rem 0 0; color: var(--muted); font-size: .68rem; line-height: 1.5; }
.school-institution-links { display: flex; flex-wrap: wrap; gap: .55rem; align-items: center; margin-top: 1rem; }
.school-institution-links strong { width: 100%; font-size: .7rem; }
.school-institution-links a { padding: .35rem .55rem; border: 1px solid var(--line); font-size: .65rem; font-weight: 700; }
.school-profile .fdc-map { height: 360px; margin: 0 0 .8rem; border-radius: 3px; }
.school-photo-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; min-height: 210px; gap: .5rem; }
.school-photo-grid img { width: 100%; height: 100%; min-height: 210px; object-fit: cover; }
.school-photo-grid.placeholders > div { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; min-height: 210px; padding: 1rem; background: linear-gradient(145deg, #D8E7F2, #F0F6FA); border: 1px solid #C8D8E4; }
.school-photo-grid.placeholders > div::before { content: ""; position: absolute; inset: 28% -15% auto; height: 55px; background: rgba(23, 78, 122, .08); transform: rotate(-10deg); }
.school-photo-grid.placeholders span, .school-photo-grid.placeholders strong { position: relative; }
.school-photo-grid.placeholders span { width: fit-content; background: #fff; color: var(--brand); padding: .25rem .4rem; font-size: .52rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.school-photo-grid.placeholders strong { margin-top: .5rem; font-family: var(--font-display); font-size: 1rem; }
.school-owner-box { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 1.2rem; margin-top: .7rem; padding: 1rem; background: var(--school-pale-2); border-left: 4px solid var(--brand); }
.school-owner-box strong { font-family: var(--font-display); }
.school-owner-box p { margin: .25rem 0 0; color: var(--muted); font-size: .68rem; line-height: 1.5; }
.school-owner-box .btn { font-size: .7rem; white-space: nowrap; }
.school-registry-grid { display: grid; grid-template-columns: repeat(2, 1fr); margin: 0; border: 1px solid var(--line); background: var(--line); gap: 1px; }
.school-registry-grid > div { padding: 1rem; background: var(--paper); }
.school-registry-grid dt { color: var(--muted); font-size: .58rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.school-registry-grid dd { margin: .3rem 0 0; font-size: .75rem; overflow-wrap: anywhere; }
.school-profile-aside { position: sticky; top: 130px; display: grid; gap: .8rem; }
.school-action-card, .school-trust-card { padding: 1rem; background: #fff; border: 1px solid var(--line); }
.school-action-card h2 { margin-bottom: .8rem; font-family: var(--font-body); font-size: .85rem; letter-spacing: 0; }
.school-action-card .btn { width: 100%; min-height: 44px; padding: .6rem; font-size: .7rem; }
.school-action-card .btn + .btn { margin-top: .5rem; }
.school-trust-card p { color: var(--muted); font-size: .68rem; line-height: 1.55; }
.school-trust-card small { color: var(--muted); font-size: .6rem; }
.school-related { padding: 3.5rem 0; background: #fff; border-top: 1px solid var(--line); }
.school-related .school-result-list { grid-template-columns: repeat(2, 1fr); }

/* Pied de page */
.fdt-schools .site-footer { margin-top: 0; background: #081F34; }
.fdt-schools .site-footer + .fdc-legal-links, .fdt-schools .fdc-legal-links { background: #081F34; color: #9FB5C7; }

/* Tablette */
@media (max-width: 1000px) {
	.school-levels { grid-template-columns: repeat(3, 1fr); }
	.school-specialties { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.school-offers { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.fdt-schools .school-search-grid { grid-template-columns: 1fr 1fr; }
	.school-search-form-six .school-search-grid { grid-template-columns: repeat(6, minmax(180px, 1fr)); }
	.fdt-schools .school-search-grid > label, .fdt-schools .school-search-grid > .school-filter-field { border-right: 0; border-bottom: 1px solid var(--line); }
	.fdt-schools .school-search-grid > button { width: 100%; }
	.school-region-grid { grid-template-columns: repeat(3, 1fr); }
	.school-filter-regions { grid-template-columns: repeat(3, 1fr); }
	.school-profile-layout { grid-template-columns: minmax(0, 1fr) 240px; gap: 1rem; }
	.school-contact-grid { grid-template-columns: 1fr; }
}

/* Mobile */
@media (max-width: 800px) {
	body.nav-open { overflow: hidden; }
	.fdt-schools .site-header > .container { min-height: 66px; }
	.fdt-schools .site-tagline { display: none; }
	.fdt-schools .nav-toggle { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; }
	.fdt-schools .main-nav { max-height: calc(100vh - 66px); overflow-y: auto; padding: .65rem 1rem calc(1rem + env(safe-area-inset-bottom)); }
	.fdt-schools .main-nav a { min-height: 48px; display: flex; align-items: center; border-bottom: 1px solid var(--line); border-radius: 0; font-size: .92rem; }
	.fdt-schools .main-nav .nav-report { margin: .7rem 0 0; justify-content: center; border: 1px solid var(--brand); background: var(--school-pale-2); }
	.fdt-schools .main-nav .nav-parent-row { display: flex; align-items: stretch; }
	.fdt-schools .main-nav .nav-parent-row > a { flex: 1 1 auto; }
	.fdt-schools .main-nav .nav-submenu-toggle { width: 48px; min-height: 48px !important; border-bottom: 1px solid var(--line); border-radius: 0; }
	.fdt-schools .main-nav .nav-panel { position: static; width: auto; max-height: none; display: block; padding: 0 0 0 .7rem; visibility: hidden; opacity: 0; pointer-events: none; transform: none; border: 0; border-left: 2px solid var(--line); border-radius: 0; box-shadow: none; }
	.fdt-schools .main-nav .menu-has-panel:not(.is-open):focus-within > .nav-panel { visibility: hidden; opacity: 0; pointer-events: none; }
	.fdt-schools .main-nav .menu-has-panel.is-open > .nav-panel { visibility: visible; opacity: 1; pointer-events: auto; }
	.fdt-schools .main-nav .nav-panel li a { min-height: 44px; padding: .65rem .6rem; border-bottom: 1px solid var(--line); font-size: .82rem; }
	.school-hero-grid, .school-sources-grid { grid-template-columns: 1fr; }
	.school-hero { padding-top: 3.3rem; }
	.school-hero h1 { font-size: clamp(2.65rem, 13vw, 4.3rem); }
	.school-data-proof { max-width: 420px; }
  .school-search-hero-layout { grid-template-columns: 1fr; gap: 1.5rem; }
  .school-search-hero .school-filter-explorer--embedded .school-search-grid { grid-template-columns: repeat(6, minmax(260px, 1fr)); }
	.school-search-form-six .school-search-grid { grid-template-columns: repeat(6, minmax(260px, 1fr)); }
	.school-search-form-six .school-search-grid > button { grid-column: 1; }
	.school-search-hero-copy h1 { max-width: 24ch; font-size: clamp(2.15rem, 9vw, 3.2rem); }
	.school-search-hero .school-filter-explorer--embedded .school-filter-explorer-heading h2 { font-size: 1.55rem; }
	.school-step-heading, .school-search-heading, .school-results-head, .school-section-heading, .school-profile-title { align-items: flex-start; }
	.school-filter-explorer-heading { align-items: flex-start; }
	.school-filter-explorer-heading p { display: none; }
	.school-step-heading > p, .school-search-heading > p { display: none; }
	.school-levels { display: flex; overflow-x: auto; margin-right: -1rem; padding-right: 1rem; border: 0; background: transparent; gap: .5rem; scroll-snap-type: x proximity; scrollbar-width: none; }
	.school-level { flex: 0 0 142px; min-height: 96px; border: 1px solid var(--line); scroll-snap-align: start; }
	.school-listing-tools .school-level { flex-basis: 126px; }
	.school-choice-heading { align-items: flex-start; }
	.school-specialty-block, .school-offer-block { margin-top: 1.7rem; padding-top: 1.5rem; }
	.school-specialties { display: flex; overflow-x: auto; margin-right: -1rem; padding-right: 1rem; border: 0; background: transparent; gap: .55rem; scroll-snap-type: x proximity; scrollbar-width: none; }
	.school-specialties::-webkit-scrollbar { display: none; }
	.school-specialty { flex: 0 0 230px; min-height: 96px; border: 1px solid var(--line); scroll-snap-align: start; }
	.school-offers { display: flex; overflow-x: auto; margin-right: -1rem; padding-right: 1rem; gap: .55rem; scroll-snap-type: x proximity; scrollbar-width: none; }
	.school-offers::-webkit-scrollbar { display: none; }
	.school-offer { flex: 0 0 190px; scroll-snap-align: start; }
	.school-geo-row { align-items: flex-start; flex-direction: column; }
	.school-geo-button { width: 100%; }
	.school-region-grid { grid-template-columns: repeat(2, 1fr); }
	.school-filter-regions { grid-template-columns: repeat(2, 1fr); }
	.school-source-list > div { grid-template-columns: 1fr; gap: .65rem; }
	.fdt-schools .business-card.school-result-card { grid-template-columns: 1fr; gap: .8rem; padding: 1rem; }
	.school-card-foot { min-width: 0; flex-direction: row; flex-wrap: wrap; align-items: center; border-left: 0; border-top: 1px solid var(--line); padding: .8rem 0 0; text-align: left; }
	.school-card-foot > a { margin-left: auto; margin-top: 0; }
	.school-profile-head > .container { flex-direction: column; }
	.school-registry-mark { align-self: stretch; text-align: left; }
	.school-profile-tabs { top: 66px; }
	.school-profile-layout { grid-template-columns: 1fr; padding-inline: 0; padding-top: 0; }
	.school-profile-content { min-width: 0; }
	.school-profile-section { padding: 1.2rem 1rem; border-inline: 0; }
	.school-profile-aside { position: static; padding-inline: 1rem; }
	.school-photo-grid { grid-template-columns: 1fr 1fr; }
	.school-photo-grid.placeholders > div:first-child { grid-column: 1 / -1; }
	.school-owner-box { grid-template-columns: 1fr; }
	.school-owner-box .btn { width: 100%; }
	.school-related .school-result-list { grid-template-columns: 1fr; }
	.school-mobile-actions { display: flex; }
	body.fdt-schools.single-business { padding-bottom: 72px; }
	.fdt-schools.school-regions-hub main.container { grid-template-columns: 1fr; gap: .75rem; padding-inline: 1rem !important; }
	.fdt-schools.school-regions-hub main.container > section p a { display: inline-flex; align-items: center; min-height: 40px; padding: .35rem .55rem; }
	.fdt-schools.school-legal-page main.container { margin-top: 1rem; margin-bottom: 2rem; padding: 1.25rem 1rem !important; border-inline: 0; }
}

@media (max-width: 560px) {
	.fdt-schools .container { padding-inline: 1rem; }
	.site-global-search input { font-size: .9rem; }
	.site-global-search-bar > .container { padding-inline: 1rem; }
	.fdt-schools .site-title { font-size: 1rem; }
	.school-hero h1 { font-size: 2.85rem; }
	.school-hero::after { display: none; }
	.school-step-heading > div > span, .school-search-heading > div > span { font-size: 1.15rem; }
	.school-step-heading h2, .school-search-heading h2 { font-size: 1.35rem; }
	.school-choice-heading p { display: none; }
	.school-search-box { margin-inline: -1rem; border-inline: 0; }
	.fdt-schools .school-search-grid { grid-template-columns: 1fr; gap: .35rem; }
	.school-search-form-six .school-search-grid { grid-template-columns: repeat(6, minmax(260px, 1fr)); }
	.fdt-schools .school-search-grid > label, .fdt-schools .school-search-grid > .school-filter-field { min-height: 58px; }
	.school-specialty-listbox, .school-autocomplete-listbox { position: absolute; z-index: 80; top: calc(100% + .35rem); right: 0; bottom: auto; left: 0; width: auto; max-height: min(44vh, 340px); border-radius: 8px; }
	.fdt-schools .school-search-grid > button { min-height: 50px; }
	.school-region-grid { grid-template-columns: 1fr; }
	.school-filter-regions { grid-template-columns: 1fr; }
	.school-section-heading > a { max-width: 90px; text-align: right; }
	.school-listing-hero h1, .school-profile-copy h1 { font-size: 2.45rem; }
	.school-summary-grid, .school-registry-grid { grid-template-columns: 1fr; }
	.school-feature-list { grid-template-columns: 1fr; }
	.school-photo-grid { grid-template-columns: 1fr; }
	.school-photo-grid.placeholders > div:first-child { grid-column: auto; }
	.school-photo-grid.placeholders > div { min-height: 150px; }
	.school-card-contact { display: grid; }
	.school-card-foot .school-contact-state { display: none; }
	.school-profile-title { flex-direction: column; gap: .7rem; }
	.school-profile-title .school-source-badge { order: -1; }
	.school-mobile-actions .btn { min-width: 0; font-size: .72rem; }
}
