/**
 * Students of Timor — public-facing styles (v0.18.4 rebuild).
 * Brand: Ocean #0A4D6E + Forest #1F5A36.
 *
 * Restored after April-29 baseline was accidentally synced over the live edits.
 */

:root {
	--sotedu-primary: #0A4D6E;
	--sotedu-accent:  #1F5A36;
	--sotedu-ocean-2: #126288;
	--sotedu-forest-2: #2A7849;
	--sotedu-ink:     #1f2937;
	--sotedu-mute:    #6b7280;
	--sotedu-line:    #e5e7eb;
	--sotedu-bg:      #f7f9fb;
	--sotedu-card:    #ffffff;
}

.sotedu-public {
	max-width: 1120px;
	margin: 0 auto;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	color: var(--sotedu-ink);
	line-height: 1.55;
}

/* ========================================================== */
/* Homepage (rendered by [sotedu_homepage])                    */
/* ========================================================== */
.sotedu-home {
	max-width: 1120px;
	margin: 0 auto;
	padding: 0;
}

/* Optional brandbar (v0.18+: defaults to off; theme provides chrome) */
.sotedu-home__brandbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 14px 8px 22px;
	flex-wrap: wrap;
}
.sotedu-home__brandbar-logo {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	color: var(--sotedu-primary);
	text-decoration: none;
	font-weight: 700;
}
.sotedu-home__brandbar-img { max-height: 48px; max-width: 240px; display: block; }
.sotedu-home__brandbar-mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px; height: 44px;
	border-radius: 10px;
	background: linear-gradient(135deg, var(--sotedu-primary) 0%, var(--sotedu-accent) 100%);
	color: #fff;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .5px;
}
.sotedu-home__brandbar-name { font-size: 17px; line-height: 1; }
.sotedu-home__brandbar-nav { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.sotedu-home__brandbar-nav a {
	color: var(--sotedu-ink);
	text-decoration: none;
	font-size: 14px;
	font-weight: 500;
	padding: 6px 2px;
	position: relative;
}
.sotedu-home__brandbar-nav a:hover { color: var(--sotedu-primary); }
.sotedu-home__brandbar-login {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	background: var(--sotedu-primary);
	color: #fff !important;
	padding: 8px 16px !important;
	border-radius: 999px;
	font-weight: 600;
}
.sotedu-home__brandbar-login:hover { background: var(--sotedu-accent); transform: translateY(-1px); }

/* Hero section */
.sotedu-home__hero {
	background: linear-gradient(135deg, var(--sotedu-primary) 0%, var(--sotedu-ocean-2) 60%, var(--sotedu-accent) 100%);
	color: #fff;
	padding: 70px 32px 60px;
	border-radius: 16px;
	text-align: center;
	margin-bottom: 28px;
	position: relative;
	overflow: hidden;
	box-shadow: 0 14px 40px rgba(10,77,110,.18);
}
.sotedu-home__hero.has-bg-image::before {
	content: '';
	position: absolute; inset: 0;
	background: var(--sotedu-hero-bg) center/cover no-repeat;
	opacity: .35;
	mix-blend-mode: luminosity;
	pointer-events: none;
}
.sotedu-home__hero > * { position: relative; z-index: 1; }
.sotedu-home__title {
	font-size: clamp(28px, 4.5vw, 44px);
	line-height: 1.15;
	font-weight: 700;
	color: #fff;
	letter-spacing: -0.01em;
	margin: 0 0 12px;
}
.sotedu-home__tagline {
	font-size: 18px;
	opacity: .92;
	margin: 0 auto 26px;
	max-width: 760px;
}
.sotedu-home__search {
	display: flex;
	max-width: 600px;
	margin: 0 auto 18px;
	background: #fff;
	border-radius: 999px;
	overflow: hidden;
	padding: 4px;
	box-shadow: 0 4px 16px rgba(0,0,0,.18);
}
.sotedu-home__search input[type="search"] {
	flex: 1;
	border: 0;
	padding: 10px 18px;
	font-size: 15px;
	background: transparent;
	color: var(--sotedu-ink);
}
.sotedu-home__search input[type="search"]:focus { outline: none; }
.sotedu-home__search button {
	background: var(--sotedu-primary);
	color: #fff;
	border: 0;
	padding: 10px 24px;
	border-radius: 999px;
	cursor: pointer;
	font-weight: 600;
	font-size: 14px;
}
.sotedu-home__search button:hover { background: var(--sotedu-accent); }

.sotedu-home__hero-ctas {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: center;
	margin-top: 18px;
}
.sotedu-home__hero-cta {
	background: rgba(255,255,255,.18);
	color: #fff !important;
	padding: 10px 22px;
	border-radius: 999px;
	text-decoration: none;
	font-weight: 600;
	font-size: 14px;
	border: 1px solid rgba(255,255,255,.30);
	transition: background .15s;
}
.sotedu-home__hero-cta:hover { background: rgba(255,255,255,.28); }
.sotedu-home__hero-cta--primary {
	background: #fff;
	color: var(--sotedu-primary) !important;
	border-color: transparent;
}
.sotedu-home__hero-cta--primary:hover { background: #f0f7fa; }
.sotedu-home__hero-cta--ghost {
	background: transparent;
	border-color: rgba(255,255,255,.45);
}

/* Stats banner */
.sotedu-home__stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 14px;
	margin: 0 0 32px;
}
.sotedu-home__stat {
	background: #fff;
	border: 1px solid var(--sotedu-line);
	border-radius: 12px;
	padding: 22px 18px;
	text-align: center;
	border-top: 3px solid var(--sotedu-primary);
}
.sotedu-home__stat-value {
	font-size: 32px;
	font-weight: 700;
	color: var(--sotedu-primary);
	line-height: 1;
}
.sotedu-home__stat-label {
	font-size: 12px;
	color: var(--sotedu-mute);
	text-transform: uppercase;
	letter-spacing: .5px;
	margin-top: 6px;
}

/* Feature grid */
.sotedu-home__features { margin-bottom: 40px; }
.sotedu-home__section-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	margin-bottom: 18px;
	flex-wrap: wrap;
	gap: 8px;
}
.sotedu-home__section-header h2 {
	font-size: 26px;
	color: var(--sotedu-primary);
	margin: 0;
}
.sotedu-home__section-sub { color: var(--sotedu-mute); margin: 0; }
.sotedu-home__feature-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 14px;
}
.sotedu-feature-card {
	background: #fff;
	border: 1px solid var(--sotedu-line);
	border-radius: 12px;
	padding: 18px 20px;
	border-left: 3px solid var(--sotedu-primary);
	transition: transform .15s, box-shadow .15s;
}
.sotedu-feature-card:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(15,35,60,.07); }
.sotedu-feature-card h3 { color: var(--sotedu-primary); font-size: 15px; margin: 0 0 6px; }
.sotedu-feature-card p { color: var(--sotedu-mute); font-size: 13px; line-height: 1.55; margin: 0; }

/* National pipeline section */
.sotedu-home__pipeline {
	background: linear-gradient(135deg, var(--sotedu-primary) 0%, var(--sotedu-accent) 100%);
	color: #fff;
	border-radius: 16px;
	padding: 40px 32px;
	margin-bottom: 32px;
}
.sotedu-home__pipeline h2 { color: #fff; font-size: 24px; margin: 0 0 6px; }
.sotedu-home__pipeline p { color: rgba(255,255,255,.85); margin: 0 0 22px; }
.sotedu-home__pipeline-steps {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 16px;
}
.sotedu-home__pipeline-step {
	background: rgba(255,255,255,.10);
	border: 1px solid rgba(255,255,255,.20);
	border-radius: 12px;
	padding: 18px 20px;
	backdrop-filter: blur(6px);
}
.sotedu-home__pipeline-step__num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px; height: 32px;
	border-radius: 50%;
	background: #fff;
	color: var(--sotedu-primary);
	font-weight: 700;
	font-size: 14px;
}
.sotedu-home__pipeline-step h3 { color: #fff; font-size: 15px; margin: 10px 0 6px; }
.sotedu-home__pipeline-step p  { color: rgba(255,255,255,.78); font-size: 13px; line-height: 1.55; margin: 0; }

/* Quick links */
.sotedu-home__quicklinks {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 14px;
	margin-bottom: 32px;
}
.sotedu-home__quicklink {
	background: #fff;
	border: 1px solid var(--sotedu-line);
	border-radius: 12px;
	padding: 18px 20px;
	text-decoration: none;
	color: var(--sotedu-ink);
	transition: border-color .15s, transform .15s;
}
.sotedu-home__quicklink:hover { border-color: var(--sotedu-primary); transform: translateY(-2px); }
.sotedu-home__quicklink h3 { color: var(--sotedu-primary); margin: 0 0 4px; font-size: 16px; }
.sotedu-home__quicklink p  { color: var(--sotedu-mute); font-size: 13px; margin: 0; }

/* Featured schools */
.sotedu-home__featured-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 16px;
	margin-bottom: 40px;
}

/* ========================================================== */
/* Schools directory                                           */
/* ========================================================== */
.sotedu-directory { max-width: 1120px; margin: 0 auto; padding: 24px 0; }
.sotedu-directory__header { margin-bottom: 18px; }
.sotedu-directory__header h2 {
	color: var(--sotedu-primary);
	font-size: 28px;
	margin: 0;
}
.sotedu-directory__subtitle {
	color: var(--sotedu-mute);
	margin: 4px 0 18px;
}
.sotedu-directory__filters {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	background: var(--sotedu-bg);
	border: 1px solid var(--sotedu-line);
	border-radius: 10px;
	padding: 12px 14px;
	align-items: center;
	margin-bottom: 18px;
}
.sotedu-directory__filters select,
.sotedu-directory__filters input[type="search"] {
	border: 1px solid var(--sotedu-line);
	border-radius: 6px;
	padding: 6px 10px;
	font-size: 13px;
	background: #fff;
}

.sotedu-school-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 16px;
}
.sotedu-school-card {
	background: #fff;
	border: 1px solid var(--sotedu-line);
	border-radius: 14px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	text-decoration: none;
	color: inherit;
	transition: transform .15s, box-shadow .15s, border-color .15s;
}
.sotedu-school-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 14px 30px rgba(15,35,60,.08);
	border-color: var(--sotedu-primary);
}
.sotedu-school-card__img {
	height: 160px;
	background: linear-gradient(135deg, var(--sotedu-primary) 0%, var(--sotedu-accent) 100%);
	background-size: cover;
	background-position: center;
}
.sotedu-school-card__body {
	padding: 16px 18px;
	display: flex;
	flex-direction: column;
	gap: 6px;
	flex: 1;
}
.sotedu-school-card__title {
	color: var(--sotedu-primary);
	font-size: 16px;
	font-weight: 600;
	margin: 0;
}
.sotedu-school-card__pills {
	display: flex; gap: 6px; flex-wrap: wrap; margin-top: 4px;
}
.sotedu-school-card__pill {
	display: inline-flex;
	align-items: center;
	background: var(--sotedu-bg);
	color: var(--sotedu-mute);
	font-size: 11px;
	padding: 3px 10px;
	border-radius: 999px;
	border: 1px solid var(--sotedu-line);
}
.sotedu-school-card__pill--ocean { background: var(--sotedu-primary); color: #fff; border-color: transparent; }
.sotedu-school-card__pill--forest { background: var(--sotedu-accent); color: #fff; border-color: transparent; }
.sotedu-school-card__meta {
	display: flex; gap: 10px; flex-wrap: wrap;
	color: var(--sotedu-mute);
	font-size: 12px;
}
.sotedu-school-card__meta span { display: inline-flex; align-items: center; gap: 4px; }

/* ========================================================== */
/* School profile (single)                                     */
/* ========================================================== */
.sotedu-school-profile { max-width: 1120px; margin: 0 auto; padding: 24px 0; }
.sotedu-school-profile__hero {
	background: linear-gradient(135deg, var(--sotedu-primary) 0%, var(--sotedu-accent) 100%);
	color: #fff;
	border-radius: 16px;
	padding: 40px 32px;
	margin-bottom: 24px;
	position: relative;
	overflow: hidden;
}
.sotedu-school-profile__hero h1 { color: #fff; margin: 0 0 6px; font-size: 30px; }
.sotedu-school-profile__hero-meta {
	display: flex; gap: 12px; flex-wrap: wrap;
	color: rgba(255,255,255,.85);
}
.sotedu-school-profile__hero-meta span { display: inline-flex; align-items: center; gap: 4px; }

.sotedu-school-profile__sections { display: grid; grid-template-columns: 1fr; gap: 18px; }
.sotedu-school-profile__section {
	background: #fff;
	border: 1px solid var(--sotedu-line);
	border-radius: 12px;
	padding: 20px 24px;
}
.sotedu-school-profile__section h2 {
	color: var(--sotedu-primary);
	font-size: 18px;
	margin: 0 0 12px;
	border-bottom: 1px solid var(--sotedu-line);
	padding-bottom: 8px;
}

/* ========================================================== */
/* Parent link / dashboard                                     */
/* ========================================================== */
.sotedu-parent-link,
.sotedu-parent-dashboard {
	max-width: 760px;
	margin: 0 auto;
	padding: 24px 0;
}
.sotedu-parent-link__form,
.sotedu-parent-dashboard__form {
	background: #fff;
	border: 1px solid var(--sotedu-line);
	border-radius: 12px;
	padding: 24px 28px;
}
.sotedu-parent-link__form h2,
.sotedu-parent-dashboard__form h2 {
	color: var(--sotedu-primary);
	margin: 0 0 12px;
}
.sotedu-parent-link__form input,
.sotedu-parent-link__form select {
	width: 100%;
	padding: 10px 14px;
	border: 1px solid var(--sotedu-line);
	border-radius: 8px;
	font-size: 14px;
	margin-bottom: 12px;
}
.sotedu-parent-link__form button,
.sotedu-parent-dashboard__form button {
	background: var(--sotedu-primary);
	color: #fff;
	border: 0;
	padding: 10px 22px;
	border-radius: 999px;
	font-weight: 600;
	cursor: pointer;
}
.sotedu-parent-link__form button:hover { background: var(--sotedu-accent); }

/* Parent dashboard child cards */
.sotedu-children-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 14px;
	margin-top: 18px;
}
.sotedu-child-card {
	background: #fff;
	border: 1px solid var(--sotedu-line);
	border-radius: 12px;
	padding: 16px 18px;
	display: flex;
	gap: 12px;
	align-items: center;
}
.sotedu-child-card__avatar {
	width: 56px; height: 56px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--sotedu-primary) 0%, var(--sotedu-accent) 100%);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 22px;
	font-weight: 600;
	flex-shrink: 0;
}
.sotedu-child-card__name { color: var(--sotedu-primary); font-weight: 600; font-size: 15px; }
.sotedu-child-card__meta { color: var(--sotedu-mute); font-size: 12px; }

/* ========================================================== */
/* Bus tracking (parent live map)                              */
/* ========================================================== */
.sotedu-bus-map {
	background: #fff;
	border: 1px solid var(--sotedu-line);
	border-radius: 12px;
	overflow: hidden;
}
.sotedu-bus-map__canvas { height: 480px; width: 100%; }

/* ========================================================== */
/* Empty / status messages                                     */
/* ========================================================== */
.sotedu-public .sotedu-empty {
	background: #fff;
	border: 1px dashed var(--sotedu-line);
	border-radius: 12px;
	padding: 40px 24px;
	text-align: center;
	color: var(--sotedu-mute);
}

/* ========================================================== */
/* Responsive                                                  */
/* ========================================================== */
@media (max-width: 768px) {
	.sotedu-home__hero { padding: 50px 20px 40px; }
	.sotedu-home__title { font-size: 28px; }
	.sotedu-home__brandbar { padding: 8px; }
	.sotedu-home__brandbar-nav { gap: 14px; font-size: 13px; }
	.sotedu-home__pipeline { padding: 28px 20px; }
}

/* ============================================================== */
/* v0.20.3 — Public Schools Directory + School Profile + Teachers */
/* + Education Law page                                            */
/* ============================================================== */

:root {
	--sot-ocean: #0A4D6E;
	--sot-forest: #1F5A36;
	--sot-line: #e0e6ec;
	--sot-bg: #f5f7fa;
	--sot-mute: #6b7682;
	--sot-ink: #1d2327;
}

.sotedu-public { color: var(--sot-ink); }
.sotedu-public a { color: var(--sot-ocean); text-decoration: none; }
.sotedu-public a:hover { text-decoration: underline; }

.sotedu-pill {
	display: inline-flex; align-items: center; gap: 4px;
	padding: 3px 10px; border-radius: 999px;
	background: #fff; border: 1px solid var(--sot-line);
	font-size: 11px; font-weight: 600;
	color: var(--sot-ink);
}
.sotedu-pill--ocean  { background: var(--sot-ocean);  color: #fff; border-color: transparent; }
.sotedu-pill--forest { background: var(--sot-forest); color: #fff; border-color: transparent; }
.sotedu-pill .dashicons { font-size: 11px; width: 11px; height: 11px; }

.sotedu-btn {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 10px 18px; border-radius: 10px;
	background: #fff; border: 1px solid var(--sot-line);
	color: var(--sot-ink); font-weight: 600; font-size: 14px;
	cursor: pointer; text-decoration: none;
	transition: transform .15s, box-shadow .15s, border-color .15s;
}
.sotedu-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 14px rgba(15,35,60,.08); border-color: var(--sot-ocean); text-decoration: none; }
.sotedu-btn--primary {
	background: linear-gradient(135deg, var(--sot-ocean), var(--sot-forest));
	color: #fff; border-color: transparent;
}
.sotedu-btn--primary:hover { color: #fff; }
.sotedu-btn .dashicons { font-size: 16px; width: 16px; height: 16px; }

/* ----- Directory hero + filters ----- */
.sotedu-directory__hero {
	text-align: center;
	padding: 28px 18px 24px;
	background: linear-gradient(135deg, rgba(10,77,110,0.06), rgba(31,90,54,0.04));
	border-radius: 16px;
	margin-bottom: 28px;
}
.sotedu-directory__hero h1 { font-size: 32px; color: var(--sot-ocean); margin: 0 0 6px; line-height: 1.2; }
.sotedu-directory__lede { font-size: 16px; color: var(--sot-mute); margin: 0 0 18px; }

.sotedu-directory__filters {
	display: flex; flex-wrap: wrap; gap: 8px;
	justify-content: center; align-items: center;
	background: #fff; border: 1px solid var(--sot-line); border-radius: 12px;
	padding: 8px; max-width: 900px; margin: 0 auto;
	box-shadow: 0 2px 6px rgba(15,35,60,.04);
}
.sotedu-directory__search {
	position: relative; flex: 1 1 240px; min-width: 220px;
	display: flex; align-items: center;
}
.sotedu-directory__search .dashicons {
	position: absolute; left: 10px; color: var(--sot-mute);
	font-size: 16px; width: 16px; height: 16px;
}
.sotedu-directory__search input,
.sotedu-directory__filters select {
	padding: 9px 12px 9px 36px; border: 1px solid var(--sot-line);
	border-radius: 8px; font-size: 14px;
	background: #fff; color: var(--sot-ink); width: 100%;
}
.sotedu-directory__filters select { padding-left: 12px; flex: 0 1 auto; min-width: 140px; }

/* ----- Group divider (Municipality) ----- */
.sotedu-directory__group { margin: 0 0 32px; }
.sotedu-directory__group-header {
	display: flex; align-items: center; gap: 10px;
	margin: 0 0 16px; padding: 12px 18px;
	background: linear-gradient(135deg, var(--sot-ocean), var(--sot-forest));
	color: #fff; border-radius: 12px;
	box-shadow: 0 4px 14px rgba(10,77,110,0.18);
}
.sotedu-directory__group-header h2 {
	margin: 0; font-size: 18px; font-weight: 700; color: #fff; flex: 1 1 auto;
}
.sotedu-directory__group-header .dashicons { font-size: 22px; width: 22px; height: 22px; color: #fff; }
.sotedu-directory__group-count {
	background: rgba(255,255,255,0.22); padding: 4px 12px;
	border-radius: 999px; font-size: 12px; font-weight: 700;
}

/* ----- School card (hero photo style) ----- */
.sotedu-directory__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 18px;
}
.sotedu-school-card {
	display: flex; flex-direction: column;
	background: #fff; border: 1px solid var(--sot-line);
	border-radius: 14px; overflow: hidden;
	text-decoration: none; color: inherit;
	transition: transform .18s, box-shadow .18s, border-color .15s;
}
.sotedu-school-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 16px 36px rgba(15,35,60,0.12);
	border-color: var(--sot-ocean);
	text-decoration: none;
}
.sotedu-school-card__hero {
	position: relative; width: 100%; aspect-ratio: 16 / 9;
	overflow: hidden; background: var(--sot-bg);
}
.sotedu-school-card__cover {
	width: 100%; height: 100%; object-fit: cover; object-position: center; display: block;
	transition: transform .35s ease;
}
.sotedu-school-card:hover .sotedu-school-card__cover { transform: scale(1.05); }
.sotedu-school-card__cover--placeholder {
	display: flex; align-items: center; justify-content: center;
	background: linear-gradient(135deg, var(--sot-ocean), var(--sot-forest));
	color: rgba(255,255,255,0.6);
}
.sotedu-school-card__cover--placeholder .dashicons {
	font-size: 56px; width: 56px; height: 56px;
}
.sotedu-school-card__logo {
	position: absolute; left: 14px; bottom: -22px;
	width: 56px; height: 56px; border-radius: 12px;
	background: #fff; border: 3px solid #fff;
	box-shadow: 0 4px 12px rgba(15,35,60,0.2);
	display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.sotedu-school-card__logo img { width: 100%; height: 100%; object-fit: cover; }
.sotedu-school-card__logo .dashicons {
	color: var(--sot-ocean); font-size: 28px; width: 28px; height: 28px;
}
.sotedu-school-card__badge {
	position: absolute; top: 10px; right: 10px;
	padding: 4px 10px; border-radius: 999px;
	font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px;
	color: #fff; backdrop-filter: blur(6px);
}
.sotedu-school-card__badge--private { background: rgba(180, 83, 9, 0.92); }
.sotedu-school-card__badge--public  { background: rgba(31, 90, 54, 0.85); }
.sotedu-school-card__body {
	padding: 32px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1;
}
.sotedu-school-card__name {
	font-size: 17px; font-weight: 700; color: var(--sot-ocean); margin: 0; line-height: 1.3;
}
.sotedu-school-card__meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; color: var(--sot-ink); }
.sotedu-school-card__meta > span { display: inline-flex; align-items: center; gap: 4px; }
.sotedu-school-card__meta .dashicons { font-size: 14px; width: 14px; height: 14px; color: var(--sot-mute); }
.sotedu-school-card__langs { display: flex; flex-wrap: wrap; gap: 4px; }
.sotedu-school-card__desc { margin: 4px 0 0; font-size: 13px; line-height: 1.55; color: var(--sot-mute); }

.sotedu-directory__empty {
	text-align: center; padding: 48px 20px;
	background: #fff; border: 1px solid var(--sot-line); border-radius: 14px;
}
.sotedu-directory__empty .dashicons { font-size: 48px; width: 48px; height: 48px; color: var(--sot-mute); }
.sotedu-directory__empty h2 { color: var(--sot-ocean); margin: 14px 0 6px; font-size: 20px; }

/* ============================================================== */
/* Public school profile — hero + KPIs + uniform + staff           */
/* ============================================================== */

.sotedu-school-public {
	max-width: 1100px; margin: 0 auto; padding: 0 8px;
}
.sotedu-school-public__back {
	display: inline-flex; align-items: center; gap: 6px;
	background: rgba(0,0,0,0.05); padding: 8px 14px; border-radius: 999px;
	font-size: 13px; color: var(--sot-ink); margin-bottom: 16px;
}
.sotedu-school-public__back:hover { background: rgba(10,77,110,0.12); text-decoration: none; }

.sotedu-school-public__hero {
	position: relative; height: 380px;
	border-radius: 18px; overflow: hidden;
	background: var(--sot-bg);
	margin-bottom: 18px;
}
.sotedu-school-public__cover {
	position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.sotedu-school-public__cover--placeholder {
	background: linear-gradient(135deg, var(--sot-ocean), var(--sot-forest));
	display: flex; align-items: center; justify-content: center;
	color: rgba(255,255,255,0.4);
}
.sotedu-school-public__cover--placeholder .dashicons {
	font-size: 120px; width: 120px; height: 120px;
}
.sotedu-school-public__hero-overlay {
	position: absolute; inset: 0;
	background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,0.65) 100%);
}
.sotedu-school-public__hero-content {
	position: absolute; bottom: 0; left: 0; right: 0;
	padding: 28px;
	display: grid; grid-template-columns: 96px 1fr auto; gap: 18px;
	align-items: end; color: #fff;
}
.sotedu-school-public__logo {
	width: 96px; height: 96px;
	border-radius: 16px; background: #fff;
	border: 4px solid #fff;
	box-shadow: 0 8px 24px rgba(0,0,0,0.4);
	display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.sotedu-school-public__logo img { width: 100%; height: 100%; object-fit: cover; }
.sotedu-school-public__logo .dashicons {
	color: var(--sot-ocean); font-size: 48px; width: 48px; height: 48px;
}
.sotedu-school-public__title h1 {
	font-size: 32px; color: #fff; margin: 0 0 8px; font-weight: 700; line-height: 1.2;
	text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.sotedu-school-public__pills { display: flex; flex-wrap: wrap; gap: 6px; }
.sotedu-school-public__hero-actions { display: flex; flex-direction: column; gap: 6px; }
.sotedu-school-public__hero-actions .sotedu-btn { background: rgba(255,255,255,0.96); }

.sotedu-school-public__kpis {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 10px; margin-bottom: 18px;
}
.sotedu-school-public__kpi {
	background: #fff; border: 1px solid var(--sot-line); border-radius: 12px;
	padding: 14px 18px; display: flex; flex-direction: column; gap: 2px;
	box-shadow: 0 2px 6px rgba(15,35,60,.04);
}
.sotedu-school-public__kpi-value { font-size: 22px; font-weight: 700; color: var(--sot-ocean); }
.sotedu-school-public__kpi-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.6px; color: var(--sot-mute); font-weight: 700; }

.sotedu-school-public__cols {
	display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px;
}
@media (max-width: 900px) {
	.sotedu-school-public__cols { grid-template-columns: 1fr; }
}

.sotedu-school-public__panel {
	background: #fff; border: 1px solid var(--sot-line); border-radius: 14px;
	padding: 22px 26px; margin-bottom: 18px;
	box-shadow: 0 2px 6px rgba(15,35,60,.04);
}
.sotedu-school-public__panel h2 {
	margin: 0 0 14px; font-size: 17px; color: var(--sot-ocean);
	display: flex; align-items: center; gap: 8px;
	padding-bottom: 10px; border-bottom: 2px solid #eef2f5; position: relative;
}
.sotedu-school-public__panel h2::after {
	content: ''; position: absolute; left: 0; bottom: -2px; width: 48px; height: 2px;
	background: linear-gradient(90deg, var(--sot-ocean), var(--sot-forest));
	border-radius: 2px;
}
.sotedu-school-public__lede { font-size: 15px; line-height: 1.65; color: var(--sot-ink); margin: 0; }
.sotedu-school-public__muted { font-style: italic; color: var(--sot-mute); }

.sotedu-school-public__contact-grid {
	display: grid; grid-template-columns: 1fr; gap: 12px;
}
.sotedu-school-public__contact-row {
	display: flex; gap: 12px; align-items: flex-start;
	padding: 10px 12px; border-radius: 10px;
	background: #fafbfc; border: 1px solid #eef0f3;
}
.sotedu-school-public__contact-row .dashicons {
	color: var(--sot-ocean); flex-shrink: 0; margin-top: 2px;
}
.sotedu-school-public__contact-row small {
	display: block; font-size: 10px; text-transform: uppercase; letter-spacing: 0.6px;
	color: var(--sot-mute); font-weight: 700; margin-bottom: 2px;
}

/* Uniform */
.sotedu-school-public__uniform-layout {
	display: grid; grid-template-columns: minmax(260px, 1fr) 1fr; gap: 24px;
}
@media (max-width: 800px) { .sotedu-school-public__uniform-layout { grid-template-columns: 1fr; } }
.sotedu-school-public__uniform-mockup {
	border-radius: 12px; overflow: hidden; background: var(--sot-bg);
	border: 1px solid var(--sot-line); aspect-ratio: 4 / 3;
	display: flex; align-items: center; justify-content: center;
}
.sotedu-school-public__uniform-mockup img { width: 100%; height: 100%; object-fit: cover; }
.sotedu-school-public__uniform-placeholder {
	color: var(--sot-mute); text-align: center; padding: 32px;
}
.sotedu-school-public__uniform-placeholder .dashicons { font-size: 48px; width: 48px; height: 48px; }
.sotedu-school-public__uniform-supplier { margin: 0 0 14px; }
.sotedu-school-public__uniform-supplier dt {
	font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.6px;
	color: var(--sot-mute); margin: 10px 0 2px;
}
.sotedu-school-public__uniform-supplier dt:first-child { margin-top: 0; }
.sotedu-school-public__uniform-supplier dd { margin: 0; font-size: 14px; }
.sotedu-school-public__uniform h3 {
	font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px;
	color: var(--sot-ocean); margin: 14px 0 8px; padding-bottom: 6px;
	border-bottom: 1px solid var(--sot-line);
}
.sotedu-school-public__uniform-prices {
	width: 100%; border-collapse: collapse; font-size: 14px;
}
.sotedu-school-public__uniform-prices th, .sotedu-school-public__uniform-prices td {
	padding: 8px 10px; border-bottom: 1px solid #eef2f5; text-align: left;
}
.sotedu-school-public__uniform-prices th { font-size: 10px; text-transform: uppercase; letter-spacing: 0.5px; color: var(--sot-mute); }
.sotedu-school-public__uniform-prices td:nth-child(2) { color: var(--sot-ocean); font-weight: 700; }
.sotedu-school-public__uniform-notes {
	background: #fff8e1; border-left: 3px solid #f59e0b;
	padding: 12px 14px; border-radius: 8px; font-size: 13px; color: #78350f; margin-top: 12px;
}

/* Staff sample on school profile */
.sotedu-school-public__staff {
	display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 14px;
}
.sotedu-school-public__staff-card {
	display: flex; flex-direction: column; align-items: center; gap: 4px;
	padding: 14px; background: #fafbfc; border: 1px solid #eef0f3; border-radius: 12px;
	text-align: center;
}
.sotedu-school-public__staff-avatar {
	width: 64px; height: 64px; border-radius: 50%; overflow: hidden;
	display: flex; align-items: center; justify-content: center;
	background: linear-gradient(135deg, var(--sot-ocean), var(--sot-forest)); color: #fff;
}
.sotedu-school-public__staff-avatar img { width: 100%; height: 100%; object-fit: cover; }
.sotedu-school-public__staff-name { font-size: 13px; font-weight: 700; color: var(--sot-ocean); }
.sotedu-school-public__staff-role { font-size: 11px; color: var(--sot-mute); }

/* Bottom CTA on school profile */
.sotedu-school-public__cta {
	background: linear-gradient(135deg, var(--sot-ocean), var(--sot-forest));
	color: #fff; padding: 32px; border-radius: 16px; text-align: center; margin: 28px 0 16px;
}
.sotedu-school-public__cta h2 { color: #fff; font-size: 22px; margin: 0 0 6px; }
.sotedu-school-public__cta p { font-size: 14px; opacity: 0.92; margin: 0 0 16px; }
.sotedu-school-public__cta .sotedu-btn--primary {
	background: #fff; color: var(--sot-ocean); border: 0;
}
.sotedu-school-public__cta .sotedu-btn--primary:hover { color: var(--sot-ocean); }

/* ============================================================== */
/* Teachers directory                                              */
/* ============================================================== */

.sotedu-teachers__hero {
	text-align: center; padding: 28px 18px 24px;
	background: linear-gradient(135deg, rgba(124, 58, 237, 0.06), rgba(10,77,110,0.04));
	border-radius: 16px; margin-bottom: 28px;
}
.sotedu-teachers__hero h1 { font-size: 32px; color: var(--sot-ocean); margin: 0 0 6px; }
.sotedu-teachers__lede { font-size: 16px; color: var(--sot-mute); margin: 0 0 18px; }
.sotedu-teachers__filters {
	display: flex; flex-wrap: wrap; gap: 8px; justify-content: center;
	background: #fff; border: 1px solid var(--sot-line); border-radius: 12px;
	padding: 8px; max-width: 800px; margin: 0 auto;
}
.sotedu-teachers__filters select {
	padding: 9px 12px; border: 1px solid var(--sot-line); border-radius: 8px;
	font-size: 14px; background: #fff;
}

.sotedu-teachers__group { margin: 0 0 32px; }
.sotedu-teachers__school {
	background: #fff; border: 1px solid var(--sot-line); border-radius: 14px;
	padding: 20px 24px; margin: 14px 0; box-shadow: 0 2px 6px rgba(15,35,60,.04);
}
.sotedu-teachers__school-header {
	display: flex; align-items: center; gap: 10px;
	padding-bottom: 12px; margin-bottom: 16px;
	border-bottom: 1px dashed var(--sot-line);
}
.sotedu-teachers__school-header h3 { margin: 0; font-size: 16px; color: var(--sot-ocean); flex: 1; }
.sotedu-teachers__school-logo {
	width: 36px; height: 36px; border-radius: 8px; object-fit: cover;
	border: 1px solid var(--sot-line); background: var(--sot-bg);
}

.sotedu-teachers__grid {
	display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px;
}
.sotedu-teachers__card {
	background: #fafbfc; border: 1px solid #eef0f3; border-radius: 12px;
	padding: 14px 12px; text-align: center;
	display: flex; flex-direction: column; align-items: center; gap: 6px;
	transition: transform .15s, box-shadow .15s, border-color .15s;
}
.sotedu-teachers__card:hover {
	transform: translateY(-2px); border-color: var(--sot-ocean);
	box-shadow: 0 8px 18px rgba(15,35,60,.08);
}
.sotedu-teachers__avatar {
	width: 80px; height: 80px; border-radius: 50%; overflow: hidden;
	display: flex; align-items: center; justify-content: center;
	color: #fff; box-shadow: 0 2px 6px rgba(15,35,60,.1);
}
.sotedu-teachers__avatar img { width: 100%; height: 100%; object-fit: cover; }
.sotedu-teachers__avatar .dashicons { font-size: 32px; width: 32px; height: 32px; }
.sotedu-teachers__name { font-size: 14px; font-weight: 700; color: var(--sot-ocean); }
.sotedu-teachers__role { display: flex; flex-wrap: wrap; gap: 4px; justify-content: center; }
.sotedu-teachers__qualifs small { display: block; font-size: 11px; color: var(--sot-mute); }

/* ============================================================== */
/* Education Law page                                              */
/* ============================================================== */

.sotedu-law { max-width: 980px; margin: 0 auto; padding: 0 8px; }
.sotedu-law__hero {
	text-align: center; padding: 36px 18px;
	background: linear-gradient(135deg, var(--sot-ocean), var(--sot-forest));
	color: #fff; border-radius: 18px; margin-bottom: 28px;
}
.sotedu-law__hero h1 { color: #fff; font-size: 32px; margin: 0 0 8px; }
.sotedu-law__hero-icon {
	width: 64px; height: 64px; margin: 0 auto 14px;
	background: rgba(255,255,255,0.15); border-radius: 16px;
	display: flex; align-items: center; justify-content: center;
}
.sotedu-law__hero-icon .dashicons { font-size: 32px; width: 32px; height: 32px; color: #fff; }
.sotedu-law__lede { font-size: 16px; opacity: 0.92; max-width: 720px; margin: 0 auto 16px; line-height: 1.6; }
.sotedu-law__lang-tabs {
	display: inline-flex; gap: 4px;
	background: rgba(255,255,255,0.15); padding: 4px; border-radius: 999px;
}
.sotedu-law__lang-tabs a {
	color: #fff; opacity: 0.8; padding: 6px 14px; border-radius: 999px; font-size: 13px;
	text-decoration: none;
}
.sotedu-law__lang-tabs a.is-active { background: #fff; color: var(--sot-ocean); opacity: 1; font-weight: 700; }

.sotedu-law__pillars {
	display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 14px; margin-bottom: 32px;
}
.sotedu-law__pillar {
	display: flex; flex-direction: column; gap: 6px;
	background: #fff; border: 1px solid var(--sot-line); border-radius: 14px;
	padding: 18px; text-decoration: none; color: inherit;
	transition: transform .15s, box-shadow .15s, border-color .15s;
}
.sotedu-law__pillar:hover {
	transform: translateY(-2px); border-color: var(--sot-ocean);
	box-shadow: 0 10px 22px rgba(15,35,60,.08); text-decoration: none;
}
.sotedu-law__pillar .dashicons {
	font-size: 28px; width: 28px; height: 28px;
	color: var(--sot-ocean); margin-bottom: 4px;
}
.sotedu-law__pillar h3 { font-size: 15px; color: var(--sot-ocean); margin: 0; }
.sotedu-law__pillar p { font-size: 13px; color: var(--sot-mute); margin: 0; }

.sotedu-law__section {
	background: #fff; border: 1px solid var(--sot-line); border-radius: 14px;
	padding: 28px 32px; margin: 0 0 22px; box-shadow: 0 2px 6px rgba(15,35,60,.04);
}
.sotedu-law__section h2 {
	display: flex; align-items: center; gap: 10px;
	font-size: 22px; color: var(--sot-ocean); margin: 0 0 18px;
	padding-bottom: 10px; border-bottom: 2px solid #eef2f5; position: relative;
}
.sotedu-law__section h2::after {
	content: ''; position: absolute; left: 0; bottom: -2px;
	width: 48px; height: 2px;
	background: linear-gradient(90deg, var(--sot-ocean), var(--sot-forest));
	border-radius: 2px;
}
.sotedu-law__section h3 { font-size: 14px; color: var(--sot-ocean); margin: 18px 0 8px; text-transform: uppercase; letter-spacing: 0.5px; }
.sotedu-law__quote {
	border-left: 4px solid var(--sot-ocean);
	background: rgba(10,77,110,0.04);
	padding: 14px 18px; margin: 14px 0; border-radius: 0 8px 8px 0;
	font-size: 15px; line-height: 1.6; color: var(--sot-ink);
	font-style: italic;
}
.sotedu-law__quote cite {
	display: block; margin-top: 8px; font-size: 12px; font-style: normal;
	color: var(--sot-mute); font-weight: 600;
}
.sotedu-law__list { margin: 0; padding-left: 20px; }
.sotedu-law__list li { margin: 10px 0; font-size: 14px; line-height: 1.65; }
.sotedu-law__split {
	display: grid; grid-template-columns: 1fr 1fr; gap: 22px;
}
@media (max-width: 800px) { .sotedu-law__split { grid-template-columns: 1fr; } }

.sotedu-law__rights-grid {
	display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px;
}
.sotedu-law__right {
	padding: 16px; border-radius: 12px; background: #fafbfc; border: 1px solid #eef0f3;
}
.sotedu-law__right .dashicons {
	color: var(--sot-ocean); font-size: 24px; width: 24px; height: 24px; margin-bottom: 6px;
}
.sotedu-law__right h3 { font-size: 14px; color: var(--sot-ocean); margin: 0 0 6px; text-transform: none; letter-spacing: 0; }
.sotedu-law__right p { margin: 0; font-size: 13px; line-height: 1.55; color: var(--sot-mute); }

.sotedu-law__alert {
	background: #fee2e2; border-left: 4px solid #dc2626;
	padding: 14px 18px; border-radius: 0 8px 8px 0; margin: 0 0 14px;
	font-size: 14px; line-height: 1.6; color: #7f1d1d;
}
.sotedu-law__alert strong { color: #b91c1c; display: block; margin-bottom: 4px; }

.sotedu-law__help-grid {
	display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px;
}
.sotedu-law__help-card {
	padding: 16px; border-radius: 12px; background: #fafbfc; border: 1px solid #eef0f3;
}
.sotedu-law__help-card strong { color: var(--sot-ocean); display: block; margin-bottom: 4px; }
.sotedu-law__help-card p { margin: 0; font-size: 13px; line-height: 1.55; color: var(--sot-mute); }

.sotedu-law__footer {
	text-align: center; color: var(--sot-mute); font-size: 12px;
	padding: 20px; opacity: 0.85;
}

/* ============================================================== */
/* v0.20.4 — Full-width breakout + horizontal filters + map styles */
/* ============================================================== */

/* Full-bleed wrapper — escapes the theme's narrow content column.
   Used by .sotedu-fullwidth on shortcode output. */
.sotedu-fullwidth {
	position: relative;
	width: 100vw;
	left: 50%;
	right: 50%;
	margin-left: -50vw;
	margin-right: -50vw;
	padding: 28px clamp(16px, 4vw, 48px);
	max-width: 100vw;
	box-sizing: border-box;
}

/* Override the cramped vertical-stack hero — go horizontal on wide screens */
.sotedu-fullwidth .sotedu-directory__hero {
	display: grid;
	grid-template-columns: minmax(280px, 1fr) minmax(0, 2.5fr);
	gap: 24px;
	align-items: center;
	text-align: left;
	background: linear-gradient(135deg, rgba(10,77,110,0.07), rgba(31,90,54,0.05));
	padding: 24px 28px;
}
.sotedu-fullwidth .sotedu-directory__hero-text { text-align: left; }
.sotedu-fullwidth .sotedu-directory__hero h1 { margin: 0 0 4px; font-size: 28px; }
.sotedu-fullwidth .sotedu-directory__hero .sotedu-directory__lede { margin: 0; }
.sotedu-fullwidth .sotedu-directory__filters {
	max-width: none;
	background: #fff;
	flex-wrap: nowrap;
}
.sotedu-fullwidth .sotedu-directory__filters select { flex: 1 1 0; min-width: 0; }
.sotedu-fullwidth .sotedu-directory__search { flex: 2 1 0; }

@media ( max-width: 900px ) {
	.sotedu-fullwidth .sotedu-directory__hero { grid-template-columns: 1fr; text-align: center; }
	.sotedu-fullwidth .sotedu-directory__hero-text { text-align: center; }
	.sotedu-fullwidth .sotedu-directory__filters { flex-wrap: wrap; }
}

/* Bigger card grid on full-width pages */
.sotedu-fullwidth .sotedu-directory__grid {
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

/* ============================================================== */
/* Map (Leaflet)                                                   */
/* ============================================================== */
.sotedu-directory__map-wrap {
	background: #fff;
	border: 1px solid var(--sot-line);
	border-radius: 14px;
	overflow: hidden;
	margin: 0 0 28px;
	box-shadow: 0 4px 14px rgba(15,35,60,.06);
}
.sotedu-directory__map-header {
	display: flex; align-items: center; gap: 8px;
	padding: 14px 20px; border-bottom: 1px solid var(--sot-line);
	background: linear-gradient(135deg, var(--sot-ocean), var(--sot-forest));
	color: #fff;
}
.sotedu-directory__map-header .dashicons { color: #fff; }
.sotedu-directory__map-header h2 { color: #fff; margin: 0; font-size: 16px; flex: 1; }
.sotedu-directory__map-header small { font-size: 12px; opacity: 0.85; }

.sotedu-directory__map { height: 440px; width: 100%; }

.sotedu-school-public__map {
	height: 360px;
	border-radius: 12px;
	overflow: hidden;
	border: 1px solid var(--sot-line);
}

/* Leaflet pin styling — small dot */
.sotedu-map-pin {
	display: flex; align-items: center; justify-content: center;
}
.sotedu-map-pin__dot {
	display: block; width: 18px; height: 18px;
	border-radius: 50%;
	background: var(--sot-ocean);
	border: 3px solid #fff;
	box-shadow: 0 2px 6px rgba(15,35,60,.4);
	transition: transform .15s;
}
.sotedu-map-pin:hover .sotedu-map-pin__dot { transform: scale(1.3); }

/* Leaflet popup styling */
.leaflet-popup-content { margin: 0 !important; }
.leaflet-popup-content-wrapper { border-radius: 12px !important; padding: 0 !important; overflow: hidden; }
.sotedu-map-popup { width: 260px; }
.sotedu-map-popup__img {
	width: 100%; height: 120px; object-fit: cover; display: block;
}
.sotedu-map-popup__body { padding: 12px 14px; }
.sotedu-map-popup__name {
	display: block; font-size: 14px; font-weight: 700; color: var(--sot-ocean);
	text-decoration: none; line-height: 1.3; margin-bottom: 2px;
}
.sotedu-map-popup__name:hover { text-decoration: underline; }
.sotedu-map-popup__meta { font-size: 11px; color: var(--sot-mute); margin-bottom: 4px; }
.sotedu-map-popup__stats { font-size: 12px; color: var(--sot-ink); }
.sotedu-map-popup__cta {
	display: inline-block; margin-top: 8px;
	font-size: 12px; color: var(--sot-ocean); font-weight: 700;
	text-decoration: none;
}
.sotedu-map-popup__cta:hover { text-decoration: underline; }

/* ============================================================== */
/* v0.20.5 — Theme overrides + new public views                    */
/* ============================================================== */

/* v0.20.8 — Clean container override (no more viewport breakout chaos).
   Two parallel rules — body-class AND :has() — so we win regardless of
   whether the body_class filter fires. Both target the same theme classes
   to remove the narrow 760px constraint and replace it with a 1120px width
   that matches the brand header above. */

/* PRIMARY OVERRIDE — when our shortcode is detected on the page (either via
   body_class server-side OR :has() in modern browsers) the theme's narrow
   article-inner becomes a transparent 1120px container so SoT shortcodes
   align with the brand bar. */
body.sotedu-has-fullwidth .sot-brand__article,
.sot-brand__article:has(.sotedu-fullwidth) {
	max-width: 1120px !important;
	padding: 0 !important;
	margin: 0 auto !important;
}
body.sotedu-has-fullwidth .sot-brand__article-inner,
.sot-brand__article-inner:has(.sotedu-fullwidth) {
	max-width: 1120px !important;
	padding: 0 !important;
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	border-radius: 0 !important;
	margin: 0 auto !important;
}
body.sotedu-has-fullwidth .sot-brand__page-hero,
.sot-brand__page-hero:has(+ .sot-brand__article .sotedu-fullwidth),
.sot-brand__page-hero:has(~ .sot-brand__article .sotedu-fullwidth) {
	display: none !important;
}
body.sotedu-has-fullwidth.page { background: #fafbfc; }

/* The .sotedu-fullwidth wrapper is now a normal block at 100% width.
   It fills its (now-relaxed) parent which is at most 1120px wide.
   v0.36.0 — when wrapped in .sotedu-shell (theme's .stot-shell already
   provides horizontal padding), drop our own horizontal padding so we
   don't double-up. Keep vertical breathing room. */
.sotedu-fullwidth {
	position: static !important;
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
	left: auto !important;
	right: auto !important;
	padding: 28px 0 !important;
	box-sizing: border-box;
}
.sotedu-shell {
	padding-top: 16px !important;
	padding-bottom: 24px !important;
}

/* ============================================================== */
/* Enrollment page (v0.20.5)                                       */
/* ============================================================== */

.sotedu-enrol__hero {
	text-align: center;
	background: linear-gradient(135deg, var(--sot-ocean), var(--sot-forest));
	color: #fff;
	padding: 36px 24px;
	border-radius: 18px;
	margin-bottom: 24px;
}
.sotedu-enrol__hero h1 { color: #fff; font-size: 32px; margin: 0 0 8px; }
.sotedu-enrol__hero-icon {
	width: 64px; height: 64px; margin: 0 auto 14px;
	background: rgba(255,255,255,0.15); border-radius: 16px;
	display: flex; align-items: center; justify-content: center;
}
.sotedu-enrol__hero-icon .dashicons { font-size: 32px; width: 32px; height: 32px; color: #fff; }
.sotedu-enrol__lede { font-size: 16px; opacity: 0.92; max-width: 720px; margin: 0 auto; line-height: 1.6; }

.sotedu-enrol__steps {
	display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 0 0 28px;
}
@media (max-width: 700px) { .sotedu-enrol__steps { grid-template-columns: 1fr; } }
.sotedu-enrol__step {
	background: #fff; border: 2px solid var(--sot-line); border-radius: 14px;
	padding: 20px; position: relative; transition: border-color .15s, transform .15s;
}
.sotedu-enrol__step.is-active { border-color: var(--sot-ocean); transform: translateY(-2px); box-shadow: 0 6px 16px rgba(10,77,110,.1); }
.sotedu-enrol__step.is-done   { border-color: #1F5A36; }
.sotedu-enrol__step.is-done::before {
	content: '✓'; position: absolute; top: 14px; right: 14px;
	width: 22px; height: 22px; border-radius: 50%; background: #1F5A36; color: #fff;
	display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700;
}
.sotedu-enrol__step-num {
	width: 36px; height: 36px; border-radius: 50%;
	background: linear-gradient(135deg, var(--sot-ocean), var(--sot-forest));
	color: #fff; font-weight: 700; font-size: 16px;
	display: flex; align-items: center; justify-content: center; margin-bottom: 10px;
}
.sotedu-enrol__step h2 { font-size: 16px; color: var(--sot-ocean); margin: 0 0 6px; }
.sotedu-enrol__step p { font-size: 13px; color: var(--sot-mute); margin: 0; line-height: 1.55; }

.sotedu-enrol__panel {
	background: #fff; border: 1px solid var(--sot-line); border-radius: 14px;
	padding: 24px 28px; margin: 0 0 18px; box-shadow: 0 2px 6px rgba(15,35,60,.04);
}
.sotedu-enrol__panel h2 {
	font-size: 18px; color: var(--sot-ocean); margin: 0 0 14px;
	padding-bottom: 10px; border-bottom: 2px solid #eef2f5; position: relative;
}
.sotedu-enrol__panel h2::after {
	content: ''; position: absolute; left: 0; bottom: -2px; width: 48px; height: 2px;
	background: linear-gradient(90deg, var(--sot-ocean), var(--sot-forest)); border-radius: 2px;
}

.sotedu-enrol__finder { display: flex; gap: 10px; align-items: end; flex-wrap: wrap; }
.sotedu-enrol__finder label { display: flex; flex-direction: column; gap: 4px; min-width: 240px; flex: 1; }
.sotedu-enrol__finder label span { font-size: 11px; text-transform: uppercase; letter-spacing: 0.6px; color: var(--sot-mute); font-weight: 700; }
.sotedu-enrol__finder select { padding: 10px 12px; border: 1px solid var(--sot-line); border-radius: 8px; font-size: 14px; }

.sotedu-enrol__schools {
	display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 12px; margin-top: 16px;
}
.sotedu-enrol__school {
	display: grid; grid-template-columns: 60px 1fr auto; gap: 12px;
	background: #fafbfc; border: 1px solid #eef0f3; border-radius: 12px;
	padding: 12px; text-decoration: none; color: inherit; align-items: center;
	transition: transform .15s, box-shadow .15s, border-color .15s;
}
.sotedu-enrol__school:hover { transform: translateY(-2px); border-color: var(--sot-ocean); box-shadow: 0 6px 16px rgba(15,35,60,.08); text-decoration: none; }
.sotedu-enrol__school img,
.sotedu-enrol__school-placeholder {
	width: 60px; height: 60px; border-radius: 10px; object-fit: cover;
	display: flex; align-items: center; justify-content: center;
	background: linear-gradient(135deg, var(--sot-ocean), var(--sot-forest)); color: #fff;
}
.sotedu-enrol__school-body strong { display: block; color: var(--sot-ocean); font-size: 14px; }
.sotedu-enrol__school-body small { display: block; color: var(--sot-mute); font-size: 12px; }
.sotedu-enrol__school-fee { color: var(--sot-ocean) !important; font-weight: 700; }

.sotedu-enrol__empty {
	display: flex; align-items: center; gap: 14px;
	padding: 18px; background: #fff7ed; border: 1px solid #fed7aa; border-radius: 12px; margin-top: 16px;
}
.sotedu-enrol__empty .dashicons { color: #b45309; font-size: 24px; width: 24px; height: 24px; }

.sotedu-enrol__docs {
	display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px;
}
.sotedu-enrol__doc {
	padding: 16px; border-radius: 12px; background: #fafbfc; border: 1px solid #eef0f3;
}
.sotedu-enrol__doc .dashicons {
	color: var(--sot-ocean); font-size: 24px; width: 24px; height: 24px; margin-bottom: 6px;
}
.sotedu-enrol__doc strong { display: block; color: var(--sot-ocean); margin-bottom: 4px; font-size: 14px; }
.sotedu-enrol__doc p { margin: 0; font-size: 13px; line-height: 1.55; color: var(--sot-mute); }

.sotedu-enrol__timeline { counter-reset: step; padding: 0; margin: 0; list-style: none; }
.sotedu-enrol__timeline li {
	counter-increment: step;
	position: relative; padding: 14px 14px 14px 56px;
	border-bottom: 1px solid #eef2f5;
}
.sotedu-enrol__timeline li:last-child { border-bottom: 0; }
.sotedu-enrol__timeline li::before {
	content: counter( step );
	position: absolute; left: 14px; top: 14px;
	width: 30px; height: 30px; border-radius: 50%;
	background: var(--sot-ocean); color: #fff;
	display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px;
}
.sotedu-enrol__timeline strong { display: block; color: var(--sot-ocean); margin-bottom: 4px; }
.sotedu-enrol__timeline p { margin: 0; font-size: 13px; line-height: 1.55; color: var(--sot-mute); }

/* ============================================================== */
/* E-learning library                                              */
/* ============================================================== */

.sotedu-elearn__hero {
	text-align: center;
	background: linear-gradient(135deg, #0e7490, #0A4D6E);
	color: #fff; padding: 36px 24px; border-radius: 18px; margin-bottom: 24px;
}
.sotedu-elearn__hero h1 { color: #fff; font-size: 32px; margin: 0 0 8px; }
.sotedu-elearn__hero-icon {
	width: 64px; height: 64px; margin: 0 auto 14px;
	background: rgba(255,255,255,0.15); border-radius: 16px;
	display: flex; align-items: center; justify-content: center;
}
.sotedu-elearn__hero-icon .dashicons { font-size: 32px; width: 32px; height: 32px; color: #fff; }
.sotedu-elearn__lede { font-size: 16px; opacity: 0.92; max-width: 720px; margin: 0 auto 18px; line-height: 1.6; }
.sotedu-elearn__filters { display: inline-flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.sotedu-elearn__filters select { padding: 8px 12px; border-radius: 999px; border: 0; background: #fff; font-size: 13px; color: var(--sot-ink); }

.sotedu-elearn__panel {
	background: #fff; border: 1px solid var(--sot-line); border-radius: 14px;
	padding: 24px 28px; margin: 0 0 18px; box-shadow: 0 2px 6px rgba(15,35,60,.04);
}
.sotedu-elearn__panel h2 {
	font-size: 18px; color: var(--sot-ocean); margin: 0 0 14px;
	padding-bottom: 10px; border-bottom: 2px solid #eef2f5; position: relative;
}
.sotedu-elearn__panel h2::after {
	content: ''; position: absolute; left: 0; bottom: -2px; width: 48px; height: 2px;
	background: linear-gradient(90deg, var(--sot-ocean), var(--sot-forest)); border-radius: 2px;
}

.sotedu-elearn__empty-hero {
	text-align: center; padding: 36px;
	background: linear-gradient(135deg, rgba(14,116,144,.05), rgba(10,77,110,.04));
	border-style: dashed;
}
.sotedu-elearn__empty-icon {
	width: 56px; height: 56px; margin: 0 auto 12px; border-radius: 14px;
	background: linear-gradient(135deg, #0e7490, #0A4D6E); color: #fff;
	display: flex; align-items: center; justify-content: center;
}
.sotedu-elearn__empty-icon .dashicons { font-size: 28px; width: 28px; height: 28px; }

.sotedu-elearn__grade-bands {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px;
}
.sotedu-elearn__band {
	padding: 24px 16px; text-align: center;
	border-radius: 14px; color: #fff; text-decoration: none;
	display: flex; flex-direction: column; gap: 4px;
	transition: transform .15s;
}
.sotedu-elearn__band:hover { transform: translateY(-3px); text-decoration: none; color: #fff; }
.sotedu-elearn__band--1 { background: linear-gradient(135deg, #d97706, #b45309); }
.sotedu-elearn__band--2 { background: linear-gradient(135deg, #1F5A36, #15803d); }
.sotedu-elearn__band--3 { background: linear-gradient(135deg, #0A4D6E, #0c5982); }
.sotedu-elearn__band--4 { background: linear-gradient(135deg, #7c3aed, #6d28d9); }
.sotedu-elearn__band strong { font-size: 22px; }
.sotedu-elearn__band small { font-size: 12px; opacity: 0.9; }

.sotedu-elearn__subjects {
	display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px;
}
.sotedu-elearn__subject {
	display: flex; flex-direction: column; align-items: center; gap: 6px;
	padding: 18px 12px; border-radius: 12px; background: #fafbfc;
	border: 1px solid #eef0f3; text-decoration: none; color: inherit;
	transition: transform .15s, border-color .15s;
}
.sotedu-elearn__subject:hover { transform: translateY(-2px); border-color: var(--sot-ocean); text-decoration: none; }
.sotedu-elearn__subject .dashicons { color: var(--sot-ocean); font-size: 28px; width: 28px; height: 28px; }
.sotedu-elearn__subject strong { font-size: 13px; color: var(--sot-ocean); text-align: center; }

.sotedu-elearn__categories {
	display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 8px;
}
.sotedu-elearn__cat {
	display: flex; align-items: center; gap: 8px;
	padding: 10px 14px; border-radius: 10px; background: #fafbfc; border: 1px solid #eef0f3;
}
.sotedu-elearn__cat strong { font-size: 13px; color: var(--sot-ink); }
.sotedu-elearn__cat .dashicons { font-size: 18px; width: 18px; height: 18px; }

.sotedu-elearn__materials {
	display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px;
}
.sotedu-elearn__material {
	display: flex; gap: 12px; align-items: center;
	padding: 12px; border-radius: 10px; background: #fafbfc; border: 1px solid #eef0f3;
	text-decoration: none; color: inherit; transition: border-color .15s;
}
.sotedu-elearn__material:hover { border-color: var(--sot-ocean); text-decoration: none; }
.sotedu-elearn__material .dashicons {
	width: 40px; height: 40px; border-radius: 8px; color: #fff;
	display: flex; align-items: center; justify-content: center;
	font-size: 20px; flex-shrink: 0;
}
.sotedu-elearn__material-body strong { display: block; color: var(--sot-ocean); font-size: 14px; }
.sotedu-elearn__material-body small { color: var(--sot-mute); font-size: 12px; }
