/* ==========================================================================
   Hockeygymnasiet – main stylesheet
   ========================================================================== */

/* Tokens ------------------------------------------------------------------ */
:root {
	--navy: #0b1f3a;
	--navy-2: #132c4f;
	--navy-3: #1d3a63;
	--blue: #1f6fb2;
	--ice: #eef4fa;
	--ice-2: #d9e6f2;
	--red: #d6262f;
	--red-dark: #b01d25;
	--green: #1b7f4b;
	--green-bg: #e6f4ec;
	--amber-bg: #fff6e0;
	--text: #18222f;
	--muted: #5b6878;
	--border: #dbe3ec;
	--white: #fff;
	--bg: #fff;

	--font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--font-head: "Arial Narrow", "Roboto Condensed", "Helvetica Neue", Arial, sans-serif;

	--radius: 12px;
	--radius-sm: 8px;
	--shadow: 0 6px 24px rgba(11, 31, 58, 0.08);
	--shadow-lg: 0 16px 40px rgba(11, 31, 58, 0.16);
	--container: 1240px;
	--narrow: 760px;
	--header-h: 72px;
	--ease: cubic-bezier(0.2, 0.7, 0.2, 1);

	/* Global settings (overridden from Customize → Globalt) */
	--font-size: 1.0625rem;
	--line-height: 1.65;
	--heading-weight: 800;
	--heading-transform: none;
	--body-weight: 400;
	--heading-size: 1rem;
	--heading-color: var(--navy);
	--primary: var(--navy);
	--primary-h: var(--navy-3);
	--link-h: var(--red);
	--h1-size: clamp(2rem, 4.5vw, 3.1rem);
	--h2-size: clamp(1.5rem, 3vw, 2.1rem);
	--h3-size: 1.3rem;
	--h4-size: 1.1rem;
	--h5-size: 1rem;
	--h6-size: 0.95rem;
	--h1-lh: 1.15;
	--h2-lh: 1.15;
	--h3-lh: 1.2;
	--h4-lh: 1.2;
	--h5-lh: 1.25;
	--h6-lh: 1.25;
	--gutter: clamp(16px, 4vw, 32px);
	--section-space: clamp(48px, 7vw, 88px);
	--danger: #d6262f;
	--red-text: #001321;
	--content-bg: transparent;
	--btn-padding: 15px 30px;
	--btn-radius: 4px;
	--btn-border: 0;
	--btn-size: 1rem;
	--btn-weight: 500;
	--btn-font: var(--font);
	--btn-transform: none;
	--btn-letter: normal;
	--btn-color: #fff;
	--btn-color-h: #fff;
	--btn-bg: var(--primary);
	--btn-bg-h: var(--primary-h);
	--btn-bc: var(--btn-bg);
	--btn-bc-h: var(--btn-bg-h);
	--btn2-padding: 13px 30px;
	--btn2-radius: 4px;
	--btn2-border: 2px;
	--btn2-size: 1rem;
	--btn2-weight: 500;
	--btn2-font: var(--font);
	--btn2-transform: none;
	--btn2-letter: normal;
	--btn2-color: var(--primary);
	--btn2-color-h: #fff;
	--btn2-bg: transparent;
	--btn2-bg-h: var(--primary);
	--btn2-bc: var(--primary);
	--btn2-bc-h: var(--primary);
}

/* Base -------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }

@media (prefers-reduced-motion: no-preference) {
	html { scroll-behavior: smooth; }
}

body {
	margin: 0;
	font-family: var(--font);
	font-size: var(--font-size);
	font-weight: var(--body-weight);
	line-height: var(--line-height);
	color: var(--text);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

body.nav-open,
body.filters-open { overflow: hidden; }

img,
svg,
video,
iframe { max-width: 100%; }

img { height: auto; display: block; }

a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--link-h); }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-head);
	font-weight: var(--heading-weight);
	text-transform: var(--heading-transform);
	line-height: 1.15;
	color: var(--heading-color);
	margin: 1.6em 0 0.5em;
	letter-spacing: -0.01em;
}
h1 { font-family: var(--h1-family, var(--font-head)); font-size: var(--h1-size, var(--heading-size)); font-weight: var(--h1-weight, var(--heading-weight)); line-height: var(--h1-lh); }
h2 { font-family: var(--h2-family, var(--font-head)); font-size: var(--h2-size, var(--heading-size)); font-weight: var(--h2-weight, var(--heading-weight)); line-height: var(--h2-lh); }
h3 { font-family: var(--h3-family, var(--font-head)); font-size: var(--h3-size, var(--heading-size)); font-weight: var(--h3-weight, var(--heading-weight)); line-height: var(--h3-lh); }
h4 { font-family: var(--h4-family, var(--font-head)); font-size: var(--h4-size, var(--heading-size)); font-weight: var(--h4-weight, var(--heading-weight)); line-height: var(--h4-lh); }
h5 { font-family: var(--h5-family, var(--font-head)); font-size: var(--h5-size, var(--heading-size)); font-weight: var(--h5-weight, var(--heading-weight)); line-height: var(--h5-lh); }
h6 { font-family: var(--h6-family, var(--font-head)); font-size: var(--h6-size, var(--heading-size)); font-weight: var(--h6-weight, var(--heading-weight)); line-height: var(--h6-lh); }

p { margin: 0 0 var(--para-margin, 1.1em); }

hr { border: 0; border-top: 1px solid var(--border); margin: 2.5em 0; }

:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; border-radius: 4px; }

.icon { flex-shrink: 0; vertical-align: middle; }

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link:focus {
	position: fixed !important;
	top: 10px;
	left: 10px;
	z-index: 1000;
	width: auto;
	height: auto;
	clip: auto;
	margin: 0;
	padding: 12px 18px;
	background: var(--white);
	color: var(--navy);
	font-weight: 700;
	border-radius: var(--radius-sm);
	box-shadow: var(--shadow-lg);
}

.muted { color: var(--muted); }

/* Layout ------------------------------------------------------------------ */
.container {
	width: 100%;
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 var(--gutter);
}
.container--narrow { max-width: calc(var(--narrow) + 64px); }

.site-main { display: block; min-height: 50vh; outline: none; background: var(--content-bg); }

.section { padding: var(--section-space) 0; }
.section--alt { background: var(--ice); }

.section__head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 12px 24px;
	margin-bottom: 28px;
}
.section__title { margin: 0; }
.section__title::after {
	content: "";
	display: block;
	width: 48px;
	height: 4px;
	margin-top: 12px;
	background: var(--red);
	border-radius: 2px;
}
.section__more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 700;
	text-decoration: none;
}

.layout { padding-top: 40px; padding-bottom: 72px; }
.layout--sidebar { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; }
@media (min-width: 1000px) {
	body:not(.no-sidebar) .layout--sidebar { grid-template-columns: minmax(0, 1fr) 300px; }
}

/* Buttons ----------------------------------------------------------------- */
.button,
button[type="submit"]:not(.icon-btn),
input[type="submit"],
.wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: var(--btn-padding);
	border: solid var(--btn-bc);
	border-width: var(--btn-border);
	border-radius: var(--btn-radius);
	background: var(--btn-bg);
	color: var(--btn-color);
	font-family: var(--btn-font);
	font-weight: var(--btn-weight);
	font-size: var(--btn-size);
	text-transform: var(--btn-transform);
	letter-spacing: var(--btn-letter);
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s var(--ease);
}
.button:hover,
button[type="submit"]:not(.icon-btn):hover,
input[type="submit"]:hover,
.wp-block-button__link:hover {
	background: var(--btn-bg-h);
	border-color: var(--btn-bc-h);
	color: var(--btn-color-h);
	transform: translateY(-1px);
}

/* Secondary button: .button--ghost, .button--accent, .button--secondary and the Outline block style */
.button--ghost,
.button--accent,
.button--secondary,
.is-style-outline > .wp-block-button__link {
	padding: var(--btn2-padding);
	border: solid var(--btn2-bc);
	border-width: var(--btn2-border);
	border-radius: var(--btn2-radius);
	background: var(--btn2-bg);
	color: var(--btn2-color);
	font-family: var(--btn2-font);
	font-weight: var(--btn2-weight);
	font-size: var(--btn2-size);
	text-transform: var(--btn2-transform);
	letter-spacing: var(--btn2-letter);
}
.button--ghost:hover,
.button--accent:hover,
.button--secondary:hover,
.is-style-outline > .wp-block-button__link:hover {
	background: var(--btn2-bg-h);
	border-color: var(--btn2-bc-h);
	color: var(--btn2-color-h);
}
.button--danger { background: var(--danger); border-color: var(--danger); color: #fff; }
.button--danger:hover { background: #a91e25; border-color: #a91e25; color: #fff; }
.button--small { padding: 8px 16px; font-size: 0.9rem; }
.button--large { padding: 16px 34px; font-size: 1.05rem; }
.button--block { width: 100%; }
.button.is-disabled { opacity: 0.55; }

.icon-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-width: 40px;
	height: 40px;
	padding: 0 10px;
	border: 1px solid var(--border);
	border-radius: 999px;
	background: var(--white);
	color: var(--navy);
	font: inherit;
	font-size: 0.9rem;
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
	transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
}
.icon-btn:hover { border-color: var(--navy); color: var(--navy); }
.icon-btn:active { transform: scale(0.94); }
.icon-btn--text { padding: 0 16px; height: 46px; }
.icon-btn--ghost { background: transparent; border-color: transparent; color: var(--white); }
.icon-btn--ghost:hover { background: rgba(255, 255, 255, 0.12); border-color: transparent; color: var(--white); }
.icon-btn[disabled] { opacity: 0.6; cursor: wait; }

.js-favorite.is-active { color: var(--danger); border-color: var(--danger); }
.js-favorite.is-active .icon { fill: currentColor; }
.js-compare.is-active { background: var(--navy); border-color: var(--navy); color: var(--white); }

/* Header ------------------------------------------------------------------ */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--navy);
	color: var(--white);
	transition: box-shadow 0.2s;
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25); }

.site-header__inner {
	display: flex;
	align-items: center;
	gap: 20px;
	min-height: var(--header-h);
}

.site-branding { flex-shrink: 0; }
.site-title {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	color: var(--white);
	text-decoration: none;
	font-family: var(--font-head);
	font-weight: 800;
	font-size: 1.25rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}
.site-title:hover { color: var(--white); }
.site-title__mark { width: 44px; height: 44px; }
.custom-logo-link { display: block; }
.custom-logo { max-height: 52px; width: auto; }

.main-navigation { margin-left: auto; }
.main-navigation ul { list-style: none; margin: 0; padding: 0; }
.main-navigation .menu,
.main-navigation > div > ul { display: flex; align-items: center; gap: 2px; }
.main-navigation li { position: relative; }
.main-navigation a {
	display: block;
	padding: 10px 14px;
	color: var(--white);
	text-decoration: none;
	font-weight: 600;
	border-radius: var(--radius-sm);
}
.main-navigation a:hover,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a,
.main-navigation .current-menu-ancestor > a { background: rgba(255, 255, 255, 0.1); color: var(--white); }

.main-navigation .sub-menu,
.main-navigation .children {
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 10;
	min-width: 230px;
	padding: 8px;
	background: var(--navy-2);
	border-radius: var(--radius-sm);
	box-shadow: var(--shadow-lg);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity 0.15s, transform 0.15s, visibility 0.15s;
}
.main-navigation li:hover > .sub-menu,
.main-navigation li:focus-within > .sub-menu,
.main-navigation li:hover > .children,
.main-navigation li:focus-within > .children { opacity: 1; visibility: visible; transform: none; }

.submenu-toggle {
	display: none;
	background: transparent;
	border: 0;
	color: var(--white);
	cursor: pointer;
	padding: 10px;
}

.site-header__actions { display: flex; align-items: center; gap: 4px; }
.main-navigation + .site-header__actions { margin-left: 8px; }

.menu-toggle { display: none; }
.menu-toggle__close { display: none; }
.menu-toggle[aria-expanded="true"] .menu-toggle__open { display: none; }
.menu-toggle[aria-expanded="true"] .menu-toggle__close { display: inline-flex; }
.menu-toggle span { display: inline-flex; }

@media (max-width: 960px) {
	.menu-toggle { display: inline-flex; }
	.site-header__actions { margin-left: auto; }
	.main-navigation {
		position: fixed;
		top: var(--header-h);
		left: 0;
		right: 0;
		bottom: 0;
		margin: 0;
		padding: 16px var(--gutter) 40px;
		background: var(--navy);
		overflow-y: auto;
		transform: translateX(100%);
		visibility: hidden;
		transition: transform 0.25s var(--ease), visibility 0.25s;
	}
	.admin-bar .main-navigation { top: calc(var(--header-h) + 46px); }
	.main-navigation.is-open { transform: none; visibility: visible; }
	.main-navigation .menu,
	.main-navigation > div > ul { flex-direction: column; align-items: stretch; }
	.main-navigation li { display: flex; flex-wrap: wrap; align-items: center; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
	.main-navigation li > a { flex: 1; padding: 14px 4px; font-size: 1.1rem; }
	.submenu-toggle { display: inline-flex; }
	.submenu-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
	.main-navigation .sub-menu,
	.main-navigation .children {
		position: static;
		flex-basis: 100%;
		display: none;
		opacity: 1;
		visibility: visible;
		transform: none;
		box-shadow: none;
		background: transparent;
		padding: 0 0 8px 16px;
	}
	.main-navigation li.is-open > .sub-menu,
	.main-navigation li.is-open > .children { display: block; }
}

/* Search panel ------------------------------------------------------------ */
.search-panel {
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	background: var(--white);
	box-shadow: var(--shadow-lg);
	padding: 20px 0 24px;
	color: var(--text);
}
.search-panel__form { display: flex; gap: 10px; }
.search-panel__form input { flex: 1; min-height: 52px; font-size: 1.1rem; }

.live-results { list-style: none; margin: 8px 0 0; padding: 0; max-height: 60vh; overflow-y: auto; }
.live-results:empty { display: none; }
.live-results__link {
	display: flex;
	flex-direction: column;
	padding: 10px 12px;
	border-radius: var(--radius-sm);
	text-decoration: none;
	color: var(--text);
}
.live-results__link:hover,
.live-results__link:focus { background: var(--ice); color: var(--navy); outline: none; }
.live-results__title { font-weight: 700; }
.live-results__meta { font-size: 0.85rem; color: var(--muted); }
.live-results__empty { padding: 10px 12px; color: var(--muted); }

/* Notices ----------------------------------------------------------------- */
.notice {
	margin: 20px 0;
	padding: 14px 18px;
	border-radius: var(--radius-sm);
	border-left: 4px solid var(--blue);
	background: var(--ice);
	font-weight: 600;
}
.notice--success { border-color: var(--green); background: var(--green-bg); }
.notice--error { border-color: var(--danger); background: #fdecec; }
.notice--info { border-color: var(--blue); background: var(--ice); }

/* Hero -------------------------------------------------------------------- */
.hero {
	position: relative;
	overflow: hidden;
	padding: clamp(64px, 10vw, 140px) 0 clamp(56px, 8vw, 110px);
	background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 55%, var(--navy-3) 100%);
	color: var(--white);
	isolation: isolate;
}
.hero__bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: -2;
}
.hero--image::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(90deg, rgba(11, 31, 58, 0.94) 0%, rgba(11, 31, 58, 0.7) 55%, rgba(11, 31, 58, 0.35) 100%);
}
.hero__rink {
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	background:
		radial-gradient(circle at 86% 50%, transparent 150px, rgba(255, 255, 255, 0.07) 151px, rgba(255, 255, 255, 0.07) 155px, transparent 156px),
		radial-gradient(circle at 86% 50%, rgba(214, 38, 47, 0.5) 8px, transparent 9px),
		linear-gradient(90deg, transparent calc(86% - 2px), rgba(214, 38, 47, 0.35) calc(86% - 2px), rgba(214, 38, 47, 0.35) calc(86% + 2px), transparent calc(86% + 2px)),
		linear-gradient(90deg, transparent calc(62% - 3px), rgba(31, 111, 178, 0.28) calc(62% - 3px), rgba(31, 111, 178, 0.28) calc(62% + 3px), transparent calc(62% + 3px));
}
.hero--image .hero__rink { display: none; }
.hero__eyebrow {
	display: inline-block;
	margin: 0 0 18px;
	padding: 6px 14px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.1);
	font-size: 0.85rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}
.hero__title {
	max-width: 16ch;
	margin: 0 0 18px;
	color: var(--white);
	font-size: clamp(2.4rem, 6.5vw, 4.6rem);
	text-transform: uppercase;
	line-height: 1.02;
}
.hero__text { max-width: 58ch; margin: 0 0 36px; font-size: clamp(1.05rem, 2vw, 1.2rem); opacity: 0.9; }

/* Finder */
.finder {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr) auto;
	gap: 12px;
	align-items: end;
	max-width: 1000px;
	padding: 16px;
	background: var(--white);
	border-radius: var(--radius);
	box-shadow: var(--shadow-lg);
	color: var(--text);
}
.finder__field label { display: block; margin-bottom: 4px; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }
.finder__submit { min-height: 50px; }
@media (max-width: 860px) {
	.finder { grid-template-columns: 1fr 1fr; }
	.finder__field--grow,
	.finder__submit { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
	.finder { grid-template-columns: 1fr; }
}

/* Stats ------------------------------------------------------------------- */
.stats { background: var(--white); border-bottom: 1px solid var(--border); }
.stats__grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px clamp(24px, 8vw, 96px); padding-top: 28px; padding-bottom: 28px; }
.stat { display: flex; align-items: baseline; gap: 10px; }
.stat__value { font-family: var(--font-head); font-size: clamp(2rem, 4vw, 2.6rem); font-weight: 800; color: var(--navy); line-height: 1; }
.stat__label { font-weight: 600; color: var(--muted); }

/* Page header ------------------------------------------------------------- */
.page-header {
	background: var(--ice);
	padding: clamp(28px, 5vw, 56px) 0 clamp(28px, 4vw, 44px);
	border-bottom: 4px solid var(--red);
}
.page-header__title { margin: 0; }
.page-header__desc { max-width: 70ch; margin-top: 12px; color: var(--muted); font-size: 1.1rem; }
.page-header__desc p:last-child { margin-bottom: 0; }
.page-header .meta { margin-bottom: 10px; }

/* Breadcrumbs */
.breadcrumbs { margin-bottom: 14px; font-size: 0.88rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.breadcrumbs li { display: inline-flex; align-items: center; color: var(--muted); }
.breadcrumbs li + li::before { content: "/"; margin: 0 8px; opacity: 0.5; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--link-h); text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--text); font-weight: 600; }
.school-header .breadcrumbs li,
.school-header .breadcrumbs a { color: rgba(255, 255, 255, 0.75); }
.school-header .breadcrumbs [aria-current] { color: var(--white); }

/* Meta, chips ------------------------------------------------------------- */
.meta {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 14px;
	font-size: 0.8rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--muted);
}
.meta a { color: var(--blue); text-decoration: none; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.chip {
	display: inline-block;
	padding: 5px 14px;
	border-radius: 999px;
	background: var(--ice);
	color: var(--navy);
	font-size: 0.88rem;
	font-weight: 600;
	text-decoration: none;
}
a.chip:hover { background: var(--navy); color: var(--white); }
.chips--light .chip { background: rgba(255, 255, 255, 0.14); color: var(--white); }
.chips--light a.chip:hover { background: var(--white); color: var(--navy); }

.verified { display: inline-flex; color: var(--blue); vertical-align: middle; }
.school-header .verified { color: #7cc4ff; }

/* Cards ------------------------------------------------------------------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); gap: 24px; }
.card-grid--2 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }

.placeholder {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, var(--navy) 0%, var(--navy-3) 100%);
	color: rgba(255, 255, 255, 0.35);
	font-family: var(--font-head);
	font-size: 2.6rem;
	font-weight: 800;
	letter-spacing: 0.04em;
}

.school-card,
.card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	overflow: hidden;
	transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s;
}
.school-card:hover,
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: transparent; }

.school-card__media,
.card__media { display: block; aspect-ratio: 16 / 10; background: var(--navy); overflow: hidden; }
.school-card__media img,
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s var(--ease); }
.school-card:hover .school-card__media img,
.card:hover .card__media img { transform: scale(1.04); }

.school-card__actions { position: absolute; top: 12px; right: 12px; display: flex; gap: 6px; }
.school-card__actions .icon-btn { box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12); border-color: transparent; }

.school-card__body,
.card__body { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px 20px; flex: 1; }
.school-card__type { margin: 0; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue); }
.school-card__title,
.card__title { margin: 0; font-size: 1.25rem; }
.school-card__title a,
.card__title a { color: var(--navy); text-decoration: none; }
.school-card__title a::after,
.card__title a::after { content: ""; position: absolute; inset: 0; z-index: 0; }
.school-card__actions,
.school-card .chip { z-index: 1; }
.school-card__title a:hover,
.card__title a:hover { color: var(--link-h); }
.school-card__location { display: flex; align-items: center; gap: 6px; margin: 0; color: var(--muted); font-size: 0.92rem; }
.school-card__location .icon { width: 16px; height: 16px; }
.school-card__stats {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 14px;
	list-style: none;
	margin: auto 0 0;
	padding: 12px 0 0;
	border-top: 1px solid var(--border);
	font-size: 0.86rem;
	font-weight: 600;
	color: var(--navy);
}
.school-card__stats li { display: inline-flex; align-items: center; gap: 5px; }
.school-card__stats .icon { width: 16px; height: 16px; color: var(--blue); }
.card__excerpt { color: var(--muted); font-size: 0.95rem; }
.card__excerpt p { margin: 0; }

/* Regions ----------------------------------------------------------------- */
.region-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 12px; list-style: none; margin: 0; padding: 0; }
.region-card {
	display: grid;
	grid-template-columns: 1fr auto;
	grid-template-rows: auto auto;
	align-items: center;
	column-gap: 12px;
	padding: 16px 18px;
	background: var(--white);
	border-radius: var(--radius-sm);
	border: 1px solid var(--border);
	text-decoration: none;
	color: var(--navy);
	transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.region-card:hover { border-color: var(--navy); box-shadow: var(--shadow); transform: translateY(-2px); color: var(--navy); }
.region-card__name { font-weight: 700; }
.region-card__count { grid-row: 2; font-size: 0.85rem; color: var(--muted); }
.region-card .icon { grid-row: 1 / span 2; grid-column: 2; color: var(--red); }

/* CTA --------------------------------------------------------------------- */
.cta { background: var(--navy); color: var(--white); padding: var(--section-space) 0; position: relative; overflow: hidden; }
.cta::after {
	content: "";
	position: absolute;
	right: -120px;
	top: 50%;
	width: 360px;
	height: 360px;
	border: 4px solid rgba(255, 255, 255, 0.06);
	border-radius: 50%;
	transform: translateY(-50%);
}
.cta__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; position: relative; z-index: 1; }
.cta__title { color: var(--white); margin: 0 0 10px; }
.cta__text { max-width: 620px; }
.cta__text p { opacity: 0.85; }
.cta__list { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; margin: 0; padding: 0; font-weight: 600; }
.cta__list li { display: inline-flex; align-items: center; gap: 8px; }
.cta__list .icon { color: var(--red); }
.cta__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.cta__login { color: rgba(255, 255, 255, 0.8); font-size: 0.95rem; }
.cta__login:hover { color: var(--white); }

/* School archive ---------------------------------------------------------- */
.schools-layout {
	display: grid;
	grid-template-columns: 290px minmax(0, 1fr);
	gap: 36px;
	padding-top: 36px;
	padding-bottom: 72px;
	align-items: start;
}

.schools-filters { position: sticky; top: calc(var(--header-h) + 20px); }
.admin-bar .schools-filters { top: calc(var(--header-h) + 52px); }

.filters {
	padding: 22px;
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: var(--radius);
}
.filters__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.filters__title { margin: 0; font-size: 1.15rem; }
.filters-close { display: none; }
.filters .field { margin-bottom: 14px; }
.filters__actions { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 8px; }
.filters__reset { font-size: 0.9rem; color: var(--muted); }
.filters-backdrop { display: none; }

.results-bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 16px;
}
.results-count { margin: 0; font-weight: 800; font-family: var(--font-head); font-size: 1.3rem; color: var(--navy); }
.results-bar__tools { display: flex; align-items: center; gap: 10px; }
.results-sort { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; font-weight: 600; color: var(--muted); }
.results-sort select { width: auto; min-height: 40px; padding: 6px 36px 6px 12px; }
.filters-toggle { display: none; }
.badge-count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--red); color: var(--red-text); font-size: 0.75rem; }

.filter-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; list-style: none; margin: 0 0 20px; padding: 0; }
.filter-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 10px 5px 14px;
	border-radius: 999px;
	background: var(--navy);
	color: var(--white);
	font-size: 0.86rem;
	font-weight: 600;
	text-decoration: none;
}
.filter-chip:hover { background: var(--red); color: var(--red-text); }
.filter-chip .icon { width: 14px; height: 14px; }
.filter-chips__clear { font-size: 0.86rem; color: var(--muted); }

.schools-results { position: relative; min-height: 300px; transition: opacity 0.2s; }
.schools-results.is-loading { opacity: 0.45; pointer-events: none; }

@media (max-width: 960px) {
	.schools-layout { grid-template-columns: minmax(0, 1fr); }
	.filters-toggle { display: inline-flex; }
	.filters-close { display: inline-flex; }
	.schools-filters {
		position: fixed;
		top: 0;
		bottom: 0;
		left: 0;
		z-index: 200;
		width: min(360px, 90vw);
		overflow-y: auto;
		background: var(--white);
		transform: translateX(-100%);
		visibility: hidden;
		transition: transform 0.25s var(--ease), visibility 0.25s;
	}
	.admin-bar .schools-filters { top: 0; }
	.schools-filters.is-open { transform: none; visibility: visible; box-shadow: var(--shadow-lg); }
	.schools-filters .filters { border: 0; border-radius: 0; min-height: 100%; }
	.filters-open .filters-backdrop {
		display: block;
		position: fixed;
		inset: 0;
		z-index: 150;
		background: rgba(11, 31, 58, 0.5);
	}
}

/* Empty state */
.empty-state {
	padding: 48px 24px;
	text-align: center;
	background: var(--ice);
	border-radius: var(--radius);
}
.empty-state__icon { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--white); color: var(--navy); margin-bottom: 8px; }
.empty-state__icon .icon { width: 28px; height: 28px; }
.empty-state h2 { margin-top: 8px; font-size: 1.5rem; }
.empty-state .search-form { max-width: 460px; margin: 0 auto; }

/* Pagination */
.pagination { margin-top: 40px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 6px; }
.page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 44px;
	height: 44px;
	padding: 0 12px;
	border-radius: var(--radius-sm);
	background: var(--ice);
	color: var(--navy);
	font-weight: 700;
	text-decoration: none;
}
.page-numbers.current,
a.page-numbers:hover { background: var(--navy); color: var(--white); }
.page-numbers.dots { background: transparent; }

/* Single school ----------------------------------------------------------- */
.school-header {
	background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
	color: var(--white);
	padding: 28px 0 40px;
	border-bottom: 4px solid var(--red);
}
.school-header__inner { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 24px; align-items: center; }
.school-header__media { width: 96px; height: 96px; border-radius: 50%; overflow: hidden; border: 3px solid var(--white); box-shadow: 0 0 0 4px var(--red); }
.school-header__media .placeholder { font-size: 2rem; color: var(--white); background: var(--navy-3); }
.school-header__title { margin: 10px 0 6px; color: var(--white); }
.school-header__location { display: flex; align-items: center; gap: 6px; margin: 0; opacity: 0.85; }
.school-header__actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.school-header__actions .icon-btn { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.2); color: var(--white); }
.school-header__actions .icon-btn:hover { background: var(--white); color: var(--navy); }
.school-header__actions .js-favorite.is-active { background: var(--white); color: var(--danger); }
.school-header__actions .js-compare.is-active { background: var(--white); color: var(--navy); }
@media (max-width: 860px) {
	.school-header__inner { grid-template-columns: auto minmax(0, 1fr); }
	.school-header__actions { grid-column: 1 / -1; justify-content: flex-start; }
	.school-header__media { width: 72px; height: 72px; }
}

.school-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	gap: 40px;
	padding-top: 40px;
	padding-bottom: 64px;
	align-items: start;
}
@media (max-width: 960px) { .school-layout { grid-template-columns: minmax(0, 1fr); } }

.school-cover { margin: 0 0 32px; border-radius: var(--radius); overflow: hidden; }
.school-cover img { width: 100%; }
.school-section { margin-bottom: 40px; }
.school-section > h2 { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; font-size: 1.5rem; }
.school-section--members { padding: 24px; background: var(--amber-bg); border-radius: var(--radius); }

.facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 12px; margin: 0; }
.fact {
	display: grid;
	grid-template-columns: auto 1fr;
	grid-template-rows: auto auto;
	column-gap: 12px;
	align-items: center;
	padding: 14px 16px;
	background: var(--ice);
	border-radius: var(--radius-sm);
}
.fact__icon { grid-row: 1 / span 2; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--white); color: var(--blue); }
.fact__label { font-size: 0.8rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; }
.fact__value { margin: 0; font-weight: 800; color: var(--navy); font-size: 1.05rem; }
.fact--yes .fact__icon { color: var(--green); }
.fact--no { opacity: 0.6; }

.school-aside { display: flex; flex-direction: column; gap: 20px; position: sticky; top: calc(var(--header-h) + 20px); }
@media (max-width: 960px) { .school-aside { position: static; } }
.info-card { padding: 22px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--white); }
.info-card--accent { border-color: var(--red); border-width: 2px; }
.info-card--muted { background: var(--ice); border-color: transparent; }
.info-card__title { margin: 0 0 12px; font-size: 1.15rem; }
.info-card p { font-size: 0.95rem; }
.info-list { list-style: none; margin: 0; padding: 0; }
.info-list li { display: flex; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 0.95rem; overflow-wrap: anywhere; }
.info-list li:last-child { border-bottom: 0; }
.info-list .icon { margin-top: 3px; color: var(--blue); }

.embed { position: relative; border-radius: var(--radius); overflow: hidden; }
.embed iframe { display: block; width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; }

.members-gate {
	padding: 28px;
	text-align: center;
	background: var(--white);
	border: 2px dashed var(--ice-2);
	border-radius: var(--radius);
}
.members-gate__icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--ice); color: var(--navy); }
.members-gate__title { margin: 10px 0 4px; font-weight: 800; font-size: 1.15rem; color: var(--navy); }
.members-gate__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 16px 0 0; }

/* Compare ----------------------------------------------------------------- */
.compare__tools { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; margin-bottom: 16px; }
.compare__hint { margin-top: 16px; color: var(--muted); }
.compare-table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); -webkit-overflow-scrolling: touch; }
.compare-table { width: 100%; min-width: calc(180px + var(--cols, 2) * 210px); border-collapse: collapse; font-size: 0.95rem; }
.compare-table th,
.compare-table td { padding: 14px 16px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.compare-table tbody tr:nth-child(even) { background: #f8fafc; }
.compare-table tbody th { width: 180px; font-weight: 700; color: var(--muted); font-size: 0.88rem; position: sticky; left: 0; background: inherit; background-color: var(--white); }
.compare-table tbody tr:nth-child(even) th { background-color: #f8fafc; }
.compare-table thead th,
.compare-table thead td { position: sticky; top: 0; background: var(--white); z-index: 1; border-bottom: 2px solid var(--navy); }
.compare-table__school { min-width: 210px; }
.compare-table__media { display: block; aspect-ratio: 16 / 10; border-radius: var(--radius-sm); overflow: hidden; margin-bottom: 10px; background: var(--navy); }
.compare-table__media img { width: 100%; height: 100%; object-fit: cover; }
.compare-table__media .placeholder { font-size: 1.8rem; }
.compare-table__name { display: block; font-family: var(--font-head); font-size: 1.15rem; font-weight: 800; color: var(--navy); text-decoration: none; }
.compare-table__location { display: block; margin-top: 2px; font-size: 0.85rem; font-weight: 400; color: var(--muted); }
.compare-table__actions { display: flex; gap: 6px; margin-top: 10px; }
.compare-table td.is-best { background: var(--green-bg); font-weight: 700; color: var(--green); }
.compare-table td.is-yes .icon { color: var(--green); }
.compare-table td.is-no { color: var(--muted); }
.compare-table td .icon { width: 16px; height: 16px; margin-right: 4px; }
.best-label { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: var(--green); color: var(--white); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.05em; }
.compare-table__cta td { border-bottom: 0; }

/* Compare bar */
.compare-bar {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 90;
	background: var(--white);
	border-top: 3px solid var(--navy);
	box-shadow: 0 -8px 30px rgba(11, 31, 58, 0.15);
	padding: 12px 0;
	animation: hg-slide-up 0.25s var(--ease);
}
@keyframes hg-slide-up { from { transform: translateY(100%); } to { transform: none; } }
.compare-bar__inner { display: flex; align-items: center; gap: 16px; }
.compare-bar__label { margin: 0; white-space: nowrap; color: var(--navy); }
.compare-bar__count { color: var(--muted); font-size: 0.9rem; }
.compare-bar__items { display: flex; flex: 1; gap: 8px; list-style: none; margin: 0; padding: 0; overflow-x: auto; }
.compare-bar__item {
	display: flex;
	align-items: center;
	gap: 8px;
	min-width: 160px;
	max-width: 240px;
	padding: 6px 8px;
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	font-size: 0.88rem;
	font-weight: 600;
}
.compare-bar__item img { width: 32px; height: 32px; border-radius: 6px; object-fit: cover; }
.compare-bar__item a { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--navy); text-decoration: none; }
.compare-bar__item--empty { border-style: dashed; min-height: 46px; }
.compare-bar__remove { border: 0; background: transparent; color: var(--muted); font-size: 1.3rem; line-height: 1; cursor: pointer; padding: 0 4px; }
.compare-bar__remove:hover { color: var(--danger); }
.compare-bar__actions { display: flex; gap: 8px; }
body.has-compare-bar { padding-bottom: 84px; }
@media (max-width: 760px) {
	.compare-bar__inner { flex-wrap: wrap; gap: 10px; }
	.compare-bar__items { order: 3; flex-basis: 100%; }
	.compare-bar__item--empty { display: none; }
	.compare-bar__actions { margin-left: auto; }
	body.has-compare-bar { padding-bottom: 140px; }
}

/* Toast */
.toast {
	position: fixed;
	left: 50%;
	bottom: 24px;
	z-index: 300;
	max-width: calc(100vw - 32px);
	padding: 12px 20px;
	border-radius: 999px;
	background: var(--navy);
	color: var(--white);
	font-weight: 600;
	box-shadow: var(--shadow-lg);
	opacity: 0;
	visibility: hidden;
	transform: translate(-50%, 12px);
	transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
}
.toast.is-visible { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
body.has-compare-bar .toast { bottom: 100px; }

/* Forms ------------------------------------------------------------------- */
label { font-weight: 600; }
.field { margin: 0 0 18px; }
.field > label,
.field > legend { display: block; margin-bottom: 6px; font-size: 0.92rem; color: var(--navy); font-weight: 700; }
.field__help,
.hg-field__help { display: block; margin-top: 6px; font-size: 0.85rem; color: var(--muted); }
.field--inline { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; font-size: 0.92rem; }
.req { color: var(--danger); }

input[type="text"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="tel"],
input[type="password"],
input[type="number"],
input[type="date"],
input[type="file"],
textarea,
select {
	width: 100%;
	min-height: 48px;
	padding: 10px 14px;
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	background: var(--white);
	color: var(--text);
	font: inherit;
	font-size: 1rem;
	transition: border-color 0.15s, box-shadow 0.15s;
}
textarea { min-height: 120px; resize: vertical; }
select {
	appearance: none;
	padding-right: 40px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230b1f3a' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
}
input:focus,
textarea:focus,
select:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px var(--ice-2); }
input[type="file"] { padding: 10px; }

.check { display: inline-flex; align-items: flex-start; gap: 10px; font-weight: 500; cursor: pointer; line-height: 1.4; }
.check input,
.radio-card input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--navy); flex-shrink: 0; }
.field--checks { border: 0; padding: 0; margin: 0 0 14px; display: flex; flex-direction: column; gap: 10px; }
.field--checks legend { padding: 0; margin-bottom: 8px; font-size: 0.92rem; font-weight: 700; color: var(--navy); }
.field--radios { border: 0; padding: 0; }
.field--radios legend { padding: 0; }

.radio-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.radio-card {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 14px;
	border: 2px solid var(--border);
	border-radius: var(--radius-sm);
	cursor: pointer;
	font-weight: 600;
	transition: border-color 0.15s, background 0.15s;
}
.radio-card:has(input:checked) { border-color: var(--navy); background: var(--ice); }

.password-field { position: relative; display: block; }
.password-field input { padding-right: 76px; }
.password-toggle {
	position: absolute;
	right: 6px;
	top: 50%;
	transform: translateY(-50%);
	padding: 6px 10px;
	border: 0;
	border-radius: 6px;
	background: var(--ice);
	color: var(--navy);
	font: inherit;
	font-size: 0.82rem;
	font-weight: 700;
	cursor: pointer;
}

.form__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 0 16px; }
.form__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 0 16px; }
.form__grid .hg-field { margin: 0 0 14px; }
.form__grid .hg-field label { display: block; margin-bottom: 6px; font-size: 0.88rem; color: var(--navy); }
.form__grid .hg-field--checkbox { align-self: end; padding-bottom: 12px; }
.form__grid .hg-field--textarea { grid-column: 1 / -1; }
.form__group { margin: 0 0 24px; padding: 20px; border: 1px solid var(--border); border-radius: var(--radius); }
.form__group legend { padding: 0 8px; font-weight: 800; color: var(--navy); }
.form--inline { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; }
.form--inline .field { flex: 1 1 260px; margin: 0; }
.check-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 10px 16px; }

.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.search-form { display: flex; gap: 8px; }
.search-form label { flex: 1; }
.search-form .search-field { flex: 1; }

/* Auth -------------------------------------------------------------------- */
.auth { padding: clamp(40px, 7vw, 88px) 0; background: var(--ice); }
.auth__inner { display: flex; justify-content: center; }
.auth-card {
	width: 100%;
	max-width: 460px;
	padding: clamp(24px, 5vw, 40px);
	background: var(--white);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}
.auth-card--wide { max-width: 640px; }
.auth-card__title { margin: 0 0 18px; font-size: 2rem; }
.auth-card__intro { color: var(--muted); }
.auth-card__switch { margin: 20px 0 0; text-align: center; color: var(--muted); }

/* Account ----------------------------------------------------------------- */
.account-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.account { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 40px; padding-top: 40px; padding-bottom: 72px; align-items: start; }
.account-nav { position: sticky; top: calc(var(--header-h) + 20px); }
.account-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.account-nav a {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 14px;
	border-radius: var(--radius-sm);
	color: var(--navy);
	text-decoration: none;
	font-weight: 700;
}
.account-nav a:hover { background: var(--ice); }
.account-section { padding-bottom: 40px; margin-bottom: 40px; border-bottom: 1px solid var(--border); }
.account-section:last-child { border-bottom: 0; }
.account-section > h2 { margin-top: 0; }
.overview { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-bottom: 20px; }
.overview__item { display: flex; flex-direction: column; padding: 18px; background: var(--ice); border-radius: var(--radius-sm); }
.overview__value { font-family: var(--font-head); font-size: 2rem; font-weight: 800; color: var(--navy); line-height: 1.1; }
.overview__value--text { font-size: 1.2rem; }
.overview__label { font-size: 0.85rem; color: var(--muted); font-weight: 600; }
.account-links { display: flex; flex-wrap: wrap; gap: 10px; }
.school-editor { padding: 24px; margin-bottom: 24px; border: 1px solid var(--border); border-radius: var(--radius); }
.school-editor__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
.school-editor__head h3 { margin: 0; }
.danger-zone { margin-top: 32px; padding: 18px 20px; border: 1px solid #f2c4c6; border-radius: var(--radius); background: #fff8f8; }
.danger-zone summary { cursor: pointer; font-weight: 700; color: var(--danger); }
.danger-zone[open] summary { margin-bottom: 12px; }
@media (max-width: 860px) {
	.account { grid-template-columns: minmax(0, 1fr); gap: 20px; }
	.account-nav { position: static; }
	.account-nav ul { flex-direction: row; overflow-x: auto; }
	.account-nav a { white-space: nowrap; background: var(--ice); }
}

/* Entry content ----------------------------------------------------------- */
.entry-content > *:first-child { margin-top: 0; }
.entry-content blockquote {
	margin: 2em 0;
	padding: 6px 0 6px 24px;
	border-left: 4px solid var(--red);
	font-size: 1.15em;
	color: var(--navy);
}
.entry-content table { width: 100%; border-collapse: collapse; margin: 1.5em 0; }
.entry-content th,
.entry-content td { padding: 10px 12px; border-bottom: 1px solid var(--border); text-align: left; }
.entry-content img { border-radius: var(--radius-sm); }
.entry-content ul,
.entry-content ol { padding-left: 1.3em; }
.entry-content li { margin-bottom: 0.4em; }
.entry-content .alignwide { width: min(var(--container), calc(100vw - 32px)); max-width: none; margin-left: 50%; transform: translateX(-50%); }
.entry-content .alignfull { width: 100vw; max-width: none; margin-left: 50%; transform: translateX(-50%); }
.entry-content--full > * { max-width: var(--narrow); margin-left: auto; margin-right: auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.entry-content--full > .alignwide { max-width: var(--container); transform: none; margin-left: auto; width: auto; }
.entry-content--full > .alignfull { max-width: none; padding-left: 0; padding-right: 0; transform: none; margin-left: 0; width: auto; }
.alignleft { float: left; margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }
.aligncenter { margin-left: auto; margin-right: auto; }
.wp-caption-text,
figcaption { font-size: 0.85rem; color: var(--muted); margin-top: 6px; }
.entry-thumbnail { margin: 32px auto 0; }
.entry-thumbnail img { width: 100%; border-radius: var(--radius); }
.entry-tags { margin-top: 24px; }
.page-links { margin-top: 24px; display: flex; gap: 6px; }

.post-navigation { margin: 24px 0 40px; padding-top: 24px; border-top: 1px solid var(--border); }
.post-navigation .nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.post-navigation .nav-next { text-align: right; grid-column: 2; }
.post-navigation a { display: block; text-decoration: none; color: var(--navy); font-weight: 700; }
.post-navigation .nav-label { display: block; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }

.search-again { max-width: 560px; margin-bottom: 32px; }
.search-schools-link { margin-top: 40px; text-align: center; }
.error-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }

/* Widgets ----------------------------------------------------------------- */
.widget { margin-bottom: 36px; }
.widget-title { margin: 0 0 14px; font-size: 1rem; text-transform: uppercase; letter-spacing: 0.06em; }
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget li { padding: 8px 0; border-bottom: 1px solid var(--border); }
.widget li a { text-decoration: none; }

/* Comments ---------------------------------------------------------------- */
.comments-area { margin: 40px 0 64px; }
.comment-list { list-style: none; padding: 0; }
.comment-list .children { list-style: none; padding-left: 24px; }
.comment-body { padding: 18px 0; border-bottom: 1px solid var(--border); }
.comment-meta { font-size: 0.85rem; color: var(--muted); }
.comment-author { display: flex; align-items: center; gap: 10px; }
.comment-author .avatar { border-radius: 50%; }
.comment-form label { display: block; margin-bottom: 4px; }

/* Footer ------------------------------------------------------------------ */
.site-footer {
	background: var(--navy);
	color: rgba(255, 255, 255, 0.75);
	padding: 64px 0 24px;
	font-size: 0.95rem;
	border-top: 6px solid var(--red);
}
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { color: var(--ice-2); text-decoration: underline; }
.site-footer .widget-title { color: var(--white); }
.site-footer .widget li { border-color: rgba(255, 255, 255, 0.1); }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr repeat(auto-fit, minmax(180px, 1fr)); gap: 40px; }
@media (max-width: 760px) { .site-footer__grid { grid-template-columns: 1fr; } }
.site-footer__name { margin: 0 0 8px; font-family: var(--font-head); font-size: 1.3rem; font-weight: 800; color: var(--white); text-transform: uppercase; letter-spacing: 0.04em; }
.site-footer__contact,
.site-footer__links { list-style: none; margin: 0 0 16px; padding: 0; }
.site-footer__contact li { display: flex; align-items: center; gap: 8px; padding: 3px 0; }
.site-footer__contact .icon { width: 16px; height: 16px; opacity: 0.7; }
.site-footer__links li { padding: 4px 0; }
.social { display: flex; gap: 8px; list-style: none; margin: 0; padding: 0; }
.social a { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, 0.08); }
.social a:hover { background: var(--red); color: var(--red-text); text-decoration: none; }
.site-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	margin-top: 48px;
	padding-top: 24px;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	font-size: 0.85rem;
}
.site-footer__bottom p { margin: 0; }
.footer-navigation ul { display: flex; flex-wrap: wrap; gap: 16px; list-style: none; margin: 0; padding: 0; }

/* Motion preferences ------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* Print ------------------------------------------------------------------- */
@media print {
	.site-header,
	.site-footer,
	.compare-bar,
	.toast,
	.compare__tools,
	.compare-table__actions,
	.compare-table__cta,
	.breadcrumbs,
	.school-header__actions,
	.school-card__actions { display: none !important; }
	body { font-size: 11pt; padding: 0 !important; }
	.page-header { background: none; border: 0; padding: 0 0 12pt; }
	.compare-table-wrap { overflow: visible; border: 0; }
	.compare-table { min-width: 0; font-size: 9pt; }
	.compare-table th,
	.compare-table td { padding: 6pt; }
	.compare-table td.is-best { background: none; text-decoration: underline; }
	a { color: inherit; text-decoration: none; }
}


/* Builder blocks ---------------------------------------------------------- */
.hg-section {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: var(--sec-min, auto);
	background: var(--sec-bg, transparent);
	color: var(--sec-color, inherit);
	overflow: hidden;
	isolation: isolate;
}
.hg-section--top { justify-content: flex-start; }
.hg-section--bottom { justify-content: flex-end; }
.hg-section--pad-none { padding: 0; }
.hg-section--pad-s { padding: calc(var(--section-space) * 0.35) 0; }
.hg-section--pad-m { padding: calc(var(--section-space) * 0.65) 0; }
.hg-section--pad-l { padding: var(--section-space) 0; }
.hg-section--pad-xl { padding: calc(var(--section-space) * 1.5) 0; }
.hg-section__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hg-section__overlay { position: absolute; inset: 0; z-index: -1; background: #000; opacity: var(--sec-overlay, 0.5); }
.hg-section.has-bg-image { color: var(--sec-color, #fff); }
.hg-section[style*="--sec-color"] :is(h1, h2, h3, h4, h5, h6),
.hg-section.has-bg-image :is(h1, h2, h3, h4, h5, h6) { color: inherit; }
.hg-section__inner > *:first-child { margin-top: 0; }
.hg-section__inner > *:last-child { margin-bottom: 0; }
.hg-section__inner--full { width: 100%; }

.hg-align-left { text-align: left; justify-content: flex-start; }
.hg-align-center { text-align: center; justify-content: center; }
.hg-align-right { text-align: right; justify-content: flex-end; }

.hg-icon { display: flex; color: var(--icon-color, var(--primary)); }
.hg-icon .icon { width: var(--icon-size, 40px); height: var(--icon-size, 40px); }
.hg-icon a { color: inherit; }

.hg-icon-box { display: flex; flex-direction: column; gap: 14px; height: 100%; }
.hg-icon-box--left { flex-direction: row; align-items: flex-start; }
.hg-icon-box.is-boxed { padding: 28px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); transition: box-shadow 0.2s, transform 0.2s; }
.hg-icon-box.is-boxed:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.hg-icon-box__icon { display: inline-grid; place-items: center; flex-shrink: 0; width: 56px; height: 56px; border-radius: 50%; background: var(--box-accent, var(--red)); color: var(--navy); }
.hg-icon-box__icon .icon { width: 26px; height: 26px; }
.hg-icon-box__title { margin: 0 0 6px; font-size: var(--h4-size); }
.hg-icon-box__text { color: var(--muted); }
.hg-icon-box__text p:last-child { margin-bottom: 0; }
.hg-icon-box__link { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-weight: 600; text-decoration: none; }

.hg-counter { display: flex; flex-direction: column; gap: 4px; }
.hg-counter__value { font-family: var(--font-head); font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 800; line-height: 1; color: var(--counter-color, var(--heading-color)); font-variant-numeric: tabular-nums; }
.hg-counter__label { color: var(--muted); font-weight: 600; }
.has-text-align-center .hg-counter,
.hg-counter.aligncenter { align-items: center; text-align: center; }

.hg-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding: clamp(28px, 5vw, 48px); border-radius: var(--radius); }
.hg-cta--dark { background: var(--navy); color: #fff; }
.hg-cta--dark .hg-cta__title { color: #fff; }
.hg-cta--light { background: var(--ice); }
.hg-cta--accent { background: var(--red); color: var(--red-text); }
.hg-cta--accent .hg-cta__title { color: var(--red-text); }
.hg-cta__text { max-width: 640px; }
.hg-cta__title { margin: 0 0 8px; }
.hg-cta__text p { margin: 0; opacity: 0.9; }
.hg-cta__buttons { display: flex; flex-wrap: wrap; gap: 10px; }

.hg-tabs__nav { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 20px; border-bottom: 2px solid var(--border); }
.hg-tabs__tab { padding: 10px 18px; border: 0; border-bottom: 3px solid transparent; margin-bottom: -2px; background: none; color: var(--muted); font: inherit; font-weight: 600; cursor: pointer; }
.hg-tabs__tab:hover { color: var(--heading-color); }
.hg-tabs__tab.is-active { color: var(--heading-color); border-bottom-color: var(--red); }
.hg-tabs--pills .hg-tabs__nav { border: 0; gap: 8px; }
.hg-tabs--pills .hg-tabs__tab { border: 0; margin: 0; border-radius: 999px; background: var(--ice); }
.hg-tabs--pills .hg-tabs__tab.is-active { background: var(--navy); color: #fff; }
.hg-tabs__panel > *:first-child { margin-top: 0; }

.hg-cols { grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); }
@media (max-width: 921px) { .hg-cols { grid-template-columns: repeat(min(var(--cols, 3), 2), minmax(0, 1fr)); } }
@media (max-width: 544px) { .hg-cols { grid-template-columns: minmax(0, 1fr); } }
.hg-grid-more { margin-top: 28px; text-align: center; }

.hg-filters-block--horizontal .filters { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 0 16px; align-items: end; }
.hg-filters-block--horizontal .filters__head { grid-column: 1 / -1; }
.hg-filters-block--horizontal .filters__actions { flex-direction: row; justify-content: flex-start; }
.hg-filters-block .schools-filters { position: static; }
@media (max-width: 960px) {
	.hg-filters-block .schools-filters { position: fixed; }
	.hg-filters-block + .hg-school-grid .filters-toggle,
	.hg-school-grid .filters-toggle { display: inline-flex; }
}
@media (min-width: 961px) { .hg-school-grid .filters-toggle { display: none; } }

/* Block menu */
.hg-menu { display: flex; align-items: center; }
.hg-menu__nav ul { list-style: none; margin: 0; padding: 0; }
.hg-menu--horizontal .hg-menu__list { display: flex; flex-wrap: wrap; gap: 2px; }
.hg-menu--vertical .hg-menu__list { display: flex; flex-direction: column; }
.hg-menu a { display: block; padding: 10px 14px; color: var(--menu-color, inherit); text-decoration: none; font-weight: 600; border-radius: var(--radius-sm); }
.hg-menu a:hover,
.hg-menu .current-menu-item > a { background: rgba(127, 127, 127, 0.12); }
.hg-menu li { position: relative; }
.hg-menu--horizontal .sub-menu { position: absolute; top: 100%; left: 0; z-index: 20; min-width: 220px; padding: 8px; background: var(--navy-2); border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transition: opacity 0.15s, visibility 0.15s; }
.hg-menu--horizontal .sub-menu a { color: #fff; }
.hg-menu--horizontal li:hover > .sub-menu,
.hg-menu--horizontal li:focus-within > .sub-menu { opacity: 1; visibility: visible; }
.hg-menu--vertical .sub-menu { padding-left: 14px; }
.hg-menu__toggle { display: none; color: var(--menu-color, inherit); background: transparent; border-color: transparent; }
.hg-menu__toggle .menu-toggle__close { display: none; }
.hg-menu__toggle[aria-expanded="true"] .menu-toggle__open { display: none; }
.hg-menu__toggle[aria-expanded="true"] .menu-toggle__close { display: inline-flex; }
@media (max-width: 921px) {
	.hg-menu.has-toggle .hg-menu__toggle { display: inline-flex; }
	.hg-menu.has-toggle .hg-menu__nav {
		position: fixed;
		top: var(--header-h);
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 99;
		padding: 16px var(--gutter) 40px;
		background: var(--navy);
		overflow-y: auto;
		transform: translateX(100%);
		visibility: hidden;
		transition: transform 0.25s var(--ease), visibility 0.25s;
	}
	.hg-menu.has-toggle.is-open .hg-menu__nav { transform: none; visibility: visible; }
	.hg-menu.has-toggle .hg-menu__list { flex-direction: column; }
	.hg-menu.has-toggle a { color: #fff; font-size: 1.1rem; border-bottom: 1px solid rgba(255, 255, 255, 0.08); border-radius: 0; }
	.hg-menu.has-toggle .sub-menu { position: static; opacity: 1; visibility: visible; background: transparent; box-shadow: none; padding: 0 0 0 16px; }
}

.hg-logo { display: flex; }
.hg-logo .custom-logo { max-width: var(--logo-width, 180px); max-height: none; height: auto; }
.hg-logo .site-title { color: var(--logo-color, inherit); }
.hg-header-actions { color: var(--actions-color, inherit); }
.hg-header-actions .icon-btn--ghost { color: inherit; }

/* Theme Builder layouts */
.site-header--layout { color: #fff; }
.site-header--layout > .hg-section,
.site-header--layout > .wp-block-group { --sec-bg: var(--navy); }
.site-header--layout .wp-block-columns { margin-bottom: 0; align-items: center; }
.site-footer--layout { padding: 0; border-top: 0; color: inherit; }
.site-footer--layout a { color: inherit; }

/* Block editor helpers */
.hg-tabs-editor { padding: 12px; border: 1px dashed var(--border); border-radius: var(--radius-sm); }
.hg-tab-editor { padding: 12px; margin-bottom: 12px; border-left: 3px solid var(--red); background: var(--ice); }
.hg-tab-editor__title input { font-weight: 700; }
.hg-members-editor { padding: 12px; border: 2px dashed var(--red); border-radius: var(--radius-sm); }
.hg-members-editor::before { content: "Endast medlemmar"; display: block; margin-bottom: 8px; font-size: 12px; font-weight: 700; text-transform: uppercase; color: var(--muted); }


/* Dynamic fields and school template --------------------------------------- */
.hg-field { margin: 0 0 12px; }
.hg-field.has-label { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: start; }
.hg-field.has-label .hg-field__icon { grid-row: span 2; }
.hg-field__icon { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--ice); color: var(--blue); }
.hg-field:not(.has-label) .hg-field__icon { margin-right: 8px; vertical-align: middle; }
.hg-field__label { display: block; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); }
.hg-field.has-label:not(:has(.hg-field__icon)) { display: block; }
.hg-field__value { display: block; }
.hg-field:not(.has-label) .hg-field__value { display: inline; }
.hg-field--image .hg-field__value img { width: 100%; border-radius: var(--radius); }
.hg-field--logo .hg-field__value img { width: auto; max-width: 180px; margin-left: auto; border-radius: 0; }
.hg-field--html .hg-field__value > *:last-child { margin-bottom: 0; }
.hg-field--button { display: inline-block; margin: 0 8px 8px 0; }
.hg-field__terms { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.hg-field--chips-light .chip { background: rgba(255, 255, 255, 0.15); color: inherit; }
.hg-field__list { margin: 0; padding-left: 1.2em; }
.hg-rating { letter-spacing: 3px; color: var(--red); }
.hg-rating__off { color: var(--border); }
.hg-section[style*="--sec-color"] .hg-field__label { color: inherit; opacity: 0.75; }
.hg-level-card,
.hg-contact-card { height: 100%; padding: 22px; margin-bottom: 16px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); }
.hg-level-card > h3 { margin-top: 0; padding-bottom: 10px; border-bottom: 3px solid var(--red); }
.hg-guide { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 16px; }
.school--layout .breadcrumbs { margin: 16px 0 0; }
.school-layout-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: -32px; position: relative; z-index: 2; }
.hg-if-editor { padding: 8px; border: 1px dashed var(--blue); border-radius: var(--radius-sm); }
.hg-if-editor__label { font-size: 11px; font-weight: 700; text-transform: uppercase; color: var(--blue); margin-bottom: 6px; }
.hg-field-empty { padding: 8px; font-size: 12px; color: var(--muted); border: 1px dashed var(--border); }

.status-pill { display: inline-block; padding: 3px 12px; border-radius: 999px; font-size: 0.85rem; font-weight: 700; }
.status-pill--ok { background: var(--green-bg); color: var(--green); }
.status-pill--wait { background: #fff4d6; color: #7a5a00; }
.hg-partner-form { max-width: 720px; }


/* ==========================================================================
   Admin and Customizer controls. Only the part between the @admin markers is
   printed in wp-admin and the Customizer (inc/enqueue.php).
   ========================================================================== */
/* @admin-start */
/* School details meta box. */
.hg-meta__group {
	margin: 0 0 18px;
	padding: 14px 16px 4px;
	border: 1px solid #dcdcde;
	border-radius: 6px;
}

.hg-meta__group legend {
	padding: 0 6px;
	font-weight: 600;
	font-size: 13px;
}

.hg-meta__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 0 16px;
}

.hg-meta .hg-field {
	margin: 0 0 12px;
}

.hg-meta .hg-field label {
	display: block;
	margin-bottom: 4px;
	font-weight: 500;
}

.hg-meta .hg-field--checkbox label {
	display: flex;
	align-items: center;
	gap: 6px;
	padding-top: 22px;
}

.hg-meta .hg-field--textarea {
	grid-column: 1 / -1;
}

.hg-meta input[type="text"],
.hg-meta input[type="url"],
.hg-meta input[type="email"],
.hg-meta input[type="tel"],
.hg-meta input[type="number"],
.hg-meta input[type="date"],
.hg-meta textarea,
.hg-meta select {
	width: 100%;
}

.hg-field__unit,
.hg-field__help {
	color: #646970;
	font-size: 12px;
}

.hg-field__help {
	display: block;
	margin-top: 2px;
}

/* Customizer: Globalt panel */
.customize-control-hg-title .hg-group-title { margin: 18px 0 0; padding-top: 14px; border-top: 1px solid #dcdcde; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; color: #1d2327; }
.hg-control-head { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.hg-control-head .customize-control-title { margin: 0; flex: 1; }
.hg-devices { display: inline-flex; gap: 2px; }
.hg-device-btn { display: inline-grid; place-items: center; width: 26px; height: 26px; padding: 0; border: 0; border-radius: 4px; background: transparent; color: #8c8f94; cursor: pointer; }
.hg-device-btn .dashicons { width: 16px; height: 16px; font-size: 16px; }
.hg-device-btn:hover { color: #2271b1; }
.hg-device-btn.is-active { background: #2271b1; color: #fff; }
.hg-unit { color: #646970; font-size: 12px; }
.hg-inline { display: flex; align-items: center; gap: 6px; }
.hg-inline input { width: 90px; }
.hg-dims { display: grid; grid-template-columns: repeat(4, 1fr) 34px; gap: 4px; align-items: start; }
.hg-dim { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 11px; color: #646970; }
.hg-dim input { width: 100%; min-width: 0; text-align: center; padding: 0 2px; }
.hg-link { height: 30px; border: 1px solid #c3c4c7; border-radius: 4px; background: #fff; color: #8c8f94; cursor: pointer; padding: 0; }
.hg-link.is-linked { background: #2271b1; border-color: #2271b1; color: #fff; }
.hg-presets { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 12px; }
.hg-preset { display: flex; flex-direction: column; gap: 6px; padding: 8px; border: 2px solid #dcdcde; border-radius: 6px; background: #fff; cursor: pointer; text-align: left; }
.hg-preset:hover { border-color: #8c8f94; }
.hg-preset.is-active { border-color: #2271b1; }
.hg-preset__name { font-weight: 600; font-size: 12px; }
.hg-preset__swatches { display: flex; }
.hg-preset__swatches span { flex: 1; height: 16px; }
.hg-palette { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.hg-palette__item { display: flex; flex-direction: column; gap: 2px; font-size: 11px; color: #50575e; line-height: 1.3; }
.hg-palette__item input[type="color"] { width: 100%; height: 34px; padding: 2px; border: 1px solid #c3c4c7; border-radius: 4px; cursor: pointer; }
.hg-colorref { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.hg-swatch { width: 22px; height: 22px; padding: 0; border: 1px solid rgba(0, 0, 0, 0.15); border-radius: 50%; cursor: pointer; }
.hg-swatch.is-active { box-shadow: 0 0 0 2px #fff, 0 0 0 4px #2271b1; }
.hg-swatch--transparent { background: linear-gradient(135deg, #fff 45%, #d63638 45%, #d63638 55%, #fff 55%) !important; }
.hg-custom-color { width: 30px; height: 26px; padding: 1px; border: 1px solid #c3c4c7; border-radius: 4px; cursor: pointer; }
.hg-custom-color.is-active { box-shadow: 0 0 0 2px #2271b1; }
.hg-clear { width: 26px; height: 26px; padding: 0; border: 0; background: transparent; color: #8c8f94; cursor: pointer; }
.hg-clear:hover { color: #2271b1; }
.hg-clear .dashicons { font-size: 16px; width: 16px; height: 16px; }
.hg-tabs { display: flex; border: 1px solid #c3c4c7; border-radius: 6px; overflow: hidden; }
.hg-tab { flex: 1; padding: 8px; border: 0; background: #fff; font-weight: 600; cursor: pointer; }
.hg-tab + .hg-tab { border-left: 1px solid #c3c4c7; }
.hg-tab.is-active { background: #2271b1; color: #fff; }
.hg-btn-presets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.hg-btn-preset { padding: 10px 4px; border: 2px solid #dcdcde; border-radius: 6px; background: #fff; cursor: pointer; }
.hg-btn-preset:hover { border-color: #2271b1; }
.hg-btn-preset__demo { display: inline-block; padding: 4px 10px; font-size: 11px; font-weight: 600; background: #001321; color: #fff; border: 2px solid #001321; }
.hg-btn-preset__demo--square, .hg-btn-preset__demo--square-outline { border-radius: 0; }
.hg-btn-preset__demo--rounded, .hg-btn-preset__demo--rounded-outline { border-radius: 4px; }
.hg-btn-preset__demo--pill, .hg-btn-preset__demo--pill-outline { border-radius: 60px; }
.hg-btn-preset__demo--square-outline, .hg-btn-preset__demo--rounded-outline, .hg-btn-preset__demo--pill-outline { background: transparent; color: #001321; }
/* Admin hub */
.hg-badge { display: inline-block; padding: 2px 8px; border-radius: 999px; background: #f0f0f1; color: #50575e; font-size: 12px; font-weight: 600; line-height: 1.6; }
.hg-badge--ok { background: #e6f4ea; color: #1b7f4b; }
.hg-badge--warn { background: #fff4d6; color: #7a5a00; }
.hg-badge--info { background: #e5f0fb; color: #045cb4; }
.hg-hub h2 { margin-top: 32px; }
.hg-hub .count { color: #646970; font-weight: 400; }
.hg-empty { color: #646970; font-style: italic; }
.hg-change { margin: 0 0 18px; padding: 16px; background: #fff; border: 1px solid #dcdcde; border-left: 4px solid #e4b922; border-radius: 4px; }
.hg-change__head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 10px; }
.hg-diff td:first-child { width: 220px; font-weight: 600; }
.hg-diff del { color: #b32d2e; background: #fcf0f1; text-decoration: line-through; }
.hg-diff ins { color: #1b7f4b; background: #edfaef; text-decoration: none; }
.hg-change__actions { display: flex; gap: 8px; margin: 12px 0 0; }
.hg-recent { list-style: disc; padding-left: 20px; }
.hg-import .card { max-width: 820px; }
.hg-import__progress { display: flex; align-items: center; gap: 12px; margin: 12px 0; }
.hg-import__progress progress { width: 320px; height: 16px; }
.hg-import__log { max-height: 320px; overflow: auto; font-size: 12px; }
.hg-import__log .is-error { color: #b32d2e; }
.hg-partner-details th { width: 160px; }
/* @admin-end */

/* =========================================================
   SKOLMALL 2026 (hgx-) – enskild skola (layout "Skolmall 2026")
   ========================================================= */
.hgx{--n:#021a33;--d:#001321;--b:#003c69;--y:#e4b922;--bg:#c5d5e2;--l:#eef3f7;--t:#334155;--r:#d8e1ea;--off:80px;display:grid;grid-template-columns:20% 80%;background:var(--bg);color:var(--t);font-size:15px;line-height:1.55;width:100%}
.hgx *{box-sizing:border-box}.hgx p{margin:0 0 .6em}.hgx h2,.hgx h3{font-family:inherit}
.hgx .hg-field{margin:0}.hgx .hgx-src,.hgx .hgx-src *{display:none!important}
.hgx .hgx-only-niu,.hgx .hgx-only-lip,.hgx .hgx-only-liu{display:none}
.hg_school_type-niu-nationellt-godkand-idrottsutbildning .hgx .hgx-only-niu,.hg_school_type-lip .hgx .hgx-only-lip,.hg_school_type-liu-lokal-idrottsutbildning .hgx .hgx-only-liu{display:block}
.hgx-side{background:#fff;padding:26px 18px;border-right:1px solid var(--r)}
.hgx-side-in{position:sticky;top:calc(var(--hdr,0px) + 16px)}
.hgx-side h2{font-size:15px;text-transform:uppercase;letter-spacing:.04em;color:var(--d);margin:0 0 12px;font-weight:600}
.hgx-side .hgx-mh{font-size:13px;font-weight:600;color:var(--d);margin:20px 0 6px;padding-top:16px;border-top:1px solid var(--r)}
.hgx-side a{color:var(--d);font-size:13px;text-decoration:none}.hgx-side a:hover{color:var(--b);text-decoration:underline}
.hgx-side ul{list-style:none;margin:0;padding:0}.hgx-side li{margin:0;padding:4px 0}.hgx-side nav,.hgx-side .hg-nav{display:block}
.hgx-main{min-width:0}
.hgx-hero{position:relative;overflow:hidden;background:var(--n);color:#fff;padding:48px 34px 42px}
.hgx-hero-in{position:relative;z-index:1}
.hgx-wm{position:absolute;right:-70px;top:50%;transform:translateY(-50%);width:440px;opacity:.07;z-index:0;pointer-events:none}
.hgx-wm img{width:100%;height:auto;display:block;filter:grayscale(1) brightness(4)}
.hgx-kicker{color:var(--y);text-transform:uppercase;letter-spacing:.08em;font-size:14px;font-weight:600;margin:0 0 6px!important}
.hgx-title,.hgx-title h1{font-size:clamp(28px,3.4vw,42px);line-height:1.15;color:#fff;margin:0 0 14px;font-weight:500}
.hgx-schools{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;font-size:14px;color:#d7e3ef;max-width:80%}
.hgx-rule{height:1px;background:rgba(255,255,255,.25);margin:18px 0;max-width:80%}
.hgx-desc{max-width:80%;color:#e8eef5}.hgx-desc h2,.hgx-desc h3,.hgx-desc h4,.hgx-desc strong{color:#fff}.hgx-desc h2,.hgx-desc h3,.hgx-desc h4{font-size:18px;margin:0 0 8px}
.hgx-clamp{max-height:9.5em;overflow:hidden;-webkit-mask-image:linear-gradient(#000 50%,transparent);mask-image:linear-gradient(#000 50%,transparent)}
.hgx-desc.is-open .hgx-clamp,.hgx-clamp.is-full{max-height:none;-webkit-mask-image:none;mask-image:none}
.hgx-more{background:none;border:0;color:#fff;padding:0;margin-top:8px;cursor:pointer;text-decoration:underline;font:inherit;font-size:14px}
.hgx-chips{display:flex;flex-wrap:wrap;gap:10px;margin-top:24px;max-width:80%}
.hgx-chip{border:1px solid rgba(255,255,255,.7);border-radius:999px;padding:8px 22px;min-width:150px;text-align:center;font-size:14px;color:#fff}
.hgx-chip a,.hgx-chip .chip{color:#fff!important;background:none!important;border:0!important;padding:0!important;text-decoration:none;font-size:14px}
.hgx-pn{position:sticky;top:var(--hdr,0px);z-index:20;background:#fff;border-bottom:1px solid var(--r)}
.hgx-pn-in{display:flex;align-items:center;gap:6px 20px;padding:12px 34px;font-size:14px;overflow-x:auto;white-space:nowrap;scrollbar-width:none}
.hgx-pn-label{font-weight:600;color:var(--d);display:flex;align-items:center;gap:6px}
.hgx-pn a{color:var(--b);text-decoration:none;padding:3px 0;border-bottom:2px solid transparent}.hgx-pn a:hover,.hgx-pn a.is-active{border-color:var(--y);color:var(--d)}
.hgx-body{padding:24px 22px 40px}
.hgx-sec{background:#fff;border-radius:6px;padding:28px;margin:0 0 24px;scroll-margin-top:var(--off)}
.hgx-h2{font-size:26px!important;color:var(--d);margin:0 0 4px!important;padding-left:14px;border-left:4px solid var(--y);line-height:1.2;font-weight:600}
.hgx-sub{color:#55657a;margin:0 0 22px!important;font-size:14px}
.hgx-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;flex-wrap:wrap;margin-bottom:22px}.hgx-head .hgx-sub{margin:0!important}
.hgx-h3{font-size:19px!important;color:var(--d);margin:0 0 12px!important;font-weight:600}
.hgx-facts{display:grid;grid-template-columns:3fr 1fr;gap:20px;margin-bottom:24px;align-items:start}
.hgx-panel{background:#fff;border-radius:6px;padding:20px}
.hgx-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.hgx-stat{background:var(--l);border:1px solid var(--r);border-radius:6px;padding:14px 16px;min-width:0}
.hgx-stat-l{font-size:15px!important;color:var(--d);font-weight:500;margin:0 0 6px!important}
.hgx-stat-v,.hgx-stat .hg-field__value{font-size:20px;font-weight:700;color:var(--d);text-transform:uppercase;line-height:1.25;margin:0!important;overflow-wrap:anywhere}
.hgx-stat-s .hg-field__value,.hgx-stat-s{font-size:15px}
.hgx-diff{margin-top:12px}.hgx-diff p{font-size:14px}
.hgx-lvls{display:flex;gap:18px;font-size:13px;margin:6px 0 10px}.hgx-lvls span{opacity:.6}
.hgx-meter{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.hgx-meter i{height:9px;background:#e2e8f0;border-radius:5px}
.hg_school_type-liu-lokal-idrottsutbildning .hgx-meter i:nth-child(1),.hg_school_type-lip .hgx-meter i:nth-child(-n+2),.hg_school_type-niu-nationellt-godkand-idrottsutbildning .hgx-meter i{background:var(--b)}
.hg_school_type-liu-lokal-idrottsutbildning .hgx-lvls .l-liu,.hg_school_type-lip .hgx-lvls .l-lip,.hg_school_type-niu-nationellt-godkand-idrottsutbildning .hgx-lvls .l-niu{opacity:1;font-weight:700;color:var(--d)}
.hgx-cd h3{font-size:19px!important;text-align:center;color:var(--d);margin:0 0 12px!important;font-weight:600}
.hgx-cd-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:4px;text-align:center}
.hgx-cd-grid div{background:var(--l);border:1px solid var(--r);border-radius:4px;padding:6px 2px}
.hgx-cd-grid small{display:block;font-size:10px;color:#55657a}.hgx-cd-grid b{display:block;font-size:24px;color:var(--d);line-height:1.2;font-variant-numeric:tabular-nums}
.hgx-cd-msg{display:none;text-align:center;font-weight:600;color:var(--d)}.hgx-cd.is-empty .hgx-cd-grid,.hgx-cd.is-closed .hgx-cd-grid{display:none}.hgx-cd.is-empty .m-empty,.hgx-cd.is-closed .m-closed{display:block}
.hgx-btn,.hgx .hgx-btnf a{display:block;text-align:center;background:var(--n);color:#fff!important;text-transform:uppercase;font-weight:600;font-size:13px;letter-spacing:.03em;padding:12px 14px;border-radius:4px;text-decoration:none!important;margin-top:10px;border:2px solid var(--n);cursor:pointer;line-height:1.3}
.hgx-btn:hover,.hgx .hgx-btnf a:hover{background:var(--b);border-color:var(--b)}
.hgx-btn--y{background:var(--y);border-color:var(--y);color:var(--d)!important}.hgx-btn--o{background:#fff;color:var(--n)!important}.hgx-btn--sm{display:inline-block;margin:0;padding:9px 14px;font-size:12px}
.hgx-lock{display:none}body:not(.logged-in) .hgx-lock{display:block}
.hgx-stats2{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:12px}
.hgx-dist-btn{background:none;border:0;padding:0;font:inherit;font-size:20px;font-weight:700;color:var(--d);text-transform:uppercase;cursor:pointer;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px}
.hgx-dist form{display:flex;gap:4px;margin-top:8px}.hgx-dist input{flex:1;min-width:0;font-size:13px;padding:5px 8px;border:1px solid var(--r);border-radius:4px}.hgx-dist form button{border:0;background:var(--n);color:#fff;border-radius:4px;padding:0 10px;cursor:pointer}
.hgx-dist-res{display:block;font-size:13px;color:#55657a;margin-top:4px}.hgx-dist.has-res .hgx-dist-res{font-size:20px;font-weight:700;color:var(--d)}.hgx-dist.is-na .hgx-dist-btn,.hgx-dist.is-na form{display:none}
.hgx-prog{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:14px}
.hgx-grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.hgx-card{background:var(--l);border:1px solid var(--r);border-radius:6px;padding:16px;min-width:0}
.hgx-card-h{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}
.hgx-card-h h3{font-size:16px!important;margin:0!important;color:var(--d);font-weight:600}
.hgx-badge .hg-field__value,.hgx-badge-s{background:var(--y);color:var(--d);font-size:12px;font-weight:600;border-radius:999px;padding:2px 10px;white-space:nowrap;display:inline-block}
.hgx-card-b{background:#fff;border-radius:4px;padding:12px 14px;font-size:14px}.hgx-card-b ul{margin:0;padding-left:18px}
.hgx-kv{background:#fff;border-radius:4px;padding:10px 12px;font-size:14px;margin-bottom:8px}.hgx-kv .hg-field__label{font-weight:700;color:var(--d)}
.hgx-schoolbtns{display:flex;flex-wrap:wrap;gap:8px}.hgx-schoolbtn .hgx-btn{max-width:260px}
.hgx details{background:#fff;border:1px solid var(--r);border-radius:4px;margin:0 0 8px}
.hgx summary{cursor:pointer;list-style:none;padding:11px 12px;display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:14px;color:var(--d)}
.hgx summary::-webkit-details-marker{display:none}.hgx summary::after{content:'+';font-weight:700;font-size:20px;line-height:1}.hgx details[open] summary::after{content:'\2212'}
.hgx details>:not(summary){padding:0 12px 12px;font-size:14px;margin:0}
.hgx-intro3{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;background:var(--l);border-radius:6px;padding:14px;margin-bottom:20px}
.hgx-intro3>div{background:#fff;border-radius:4px;padding:14px 16px;display:flex;flex-direction:column}.hgx-intro3 h3{font-size:15px!important;color:var(--d);margin:10px 0 18px!important;font-weight:600}.hgx-intro3 small{margin-top:auto;color:#55657a;border-top:1px solid var(--r);padding-top:8px}
.hgx-tag{display:inline-block;font-size:11px;font-weight:700;padding:3px 7px;border-radius:3px;color:#fff;background:var(--d);align-self:flex-start}.hgx-tag--lip{background:var(--b)}.hgx-tag--liu{background:var(--y);color:var(--d)}
.hgx-tw{overflow-x:auto}
.hgx-cmp{width:100%;min-width:640px;border-collapse:separate;border-spacing:0;font-size:14px;border:1px solid var(--r);border-radius:6px;overflow:hidden;margin:0}
.hgx-cmp th,.hgx-cmp td{padding:12px;text-align:left;vertical-align:top;border-bottom:1px solid var(--r)}.hgx-cmp tr:last-child td{border-bottom:0}
.hgx-cmp tbody th{font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:var(--b);width:20%}
.hgx-cmp thead th{color:#fff;font-size:18px;vertical-align:bottom}.hgx-cmp thead th small{display:block;font-size:11px;font-weight:400;opacity:.85}.hgx-cmp thead th:first-child{background:#fff}
.hgx-cmp .c-niu{background:var(--d)}.hgx-cmp .c-lip{background:var(--b)}.hgx-cmp .c-liu{background:var(--y);color:var(--d)}
.hgx-cmp td.c-niu,.hgx-cmp td.c-lip,.hgx-cmp td.c-liu{background:#fff;color:var(--t)}.hgx-cmp .c-lip,.hgx-cmp .c-liu{border-left:3px solid var(--y)}
.hgx-cur{display:none;background:var(--y);color:var(--d);font-size:11px;border-radius:999px;padding:2px 8px;font-weight:700;margin-top:6px;width:max-content}
.hg_school_type-niu-nationellt-godkand-idrottsutbildning .hgx-cmp th.c-niu .hgx-cur,.hg_school_type-lip .hgx-cmp th.c-lip .hgx-cur,.hg_school_type-liu-lokal-idrottsutbildning .hgx-cmp th.c-liu .hgx-cur{display:block}
.hgx-cmp th.c-liu .hgx-cur{background:var(--d);color:#fff}
.hgx-pts i{display:block;height:5px;background:#e2e8f0;border-radius:3px;margin-top:6px;overflow:hidden}.hgx-pts i b{display:block;height:100%}
.hgx-ans{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-bottom:20px}
.hgx-tl{background:var(--l);border-radius:6px;padding:12px}
.hgx-tl-row{display:grid;grid-template-columns:88px 1fr;gap:12px;background:#fff;border-radius:4px;padding:14px;margin-bottom:8px;border-left:3px solid transparent;font-size:14px}.hgx-tl-row:last-child{margin-bottom:0}
.hgx-tl-row.is-now{border-color:var(--y)}.hgx-tl-row.is-next{border-color:var(--b)}
.hgx-tl-row strong{color:var(--d);text-transform:uppercase;font-size:13px}.hgx-tl-row small{display:block;color:#55657a;font-size:12px}.hgx-tl-note{font-size:12px;color:#55657a;margin:8px 4px 0}
.hgx-pill{display:inline-block;font-size:11px;font-weight:700;padding:1px 8px;border-radius:999px;background:var(--y);color:var(--d);margin-left:4px;text-decoration:none}.hgx-pill--b{background:var(--b);color:#fff}
.hgx-req{background:var(--l);border-radius:6px;padding:12px;display:grid;grid-template-columns:1fr 1fr;gap:8px}.hgx-req div{background:#fff;border-radius:4px;padding:12px 14px}.hgx-req small{display:block;font-size:13px;color:#55657a}.hgx-req b{font-size:18px;color:var(--d);text-transform:uppercase}
.hgx-ready{border:1px solid var(--r);border-radius:6px;padding:16px;margin-top:14px}.hgx-ready ul{list-style:none;margin:0;padding:0}.hgx-ready li{display:flex;gap:8px;align-items:center;padding:4px 0;font-size:14px}.hgx-ready li::before{content:'\2713';display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;border:1.5px solid var(--d);border-radius:2px;font-size:11px;font-weight:700;color:var(--d)}
.hgx-faq{border:1px solid var(--r);border-radius:6px;padding:16px}.hgx-faq ul{margin:6px 0 0;padding-left:18px}.hgx-faq li{margin-bottom:6px}
.hgx-kontakt{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.hgx-info .hg-field{display:grid;grid-template-columns:130px 1fr;gap:10px;padding:10px 0;border-bottom:1px solid var(--r);font-size:14px}.hgx-info .hg-field__label{font-weight:600;color:var(--d)}.hgx-info .hg-field__label:after{content:none}
.hgx-map{min-height:320px;border-radius:6px;overflow:hidden;background:var(--l)}.hgx-map iframe{display:block;width:100%;height:320px;border:0}.hgx-map.is-empty{display:none}
.hgx-people{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.hgx-people>.hgx-only-niu,.hgx-people>.hgx-only-lip,.hgx-people>.hgx-only-liu{grid-column:1/-1}
.hgx-pgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.hgx-person{background:var(--l);border:1px solid var(--r);border-radius:6px;padding:16px;display:flex;flex-direction:column;gap:4px;font-size:14px;height:100%}
.hgx-role{font-size:11px!important;text-transform:uppercase;letter-spacing:.06em;color:var(--b);font-weight:700;margin:0!important}
.hgx-pname .hg-field__value{font-size:18px;font-weight:600;color:var(--d)}.hgx-person a{color:var(--b)}
.hgx-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:auto;padding-top:10px}
.hgx-ep a{font-size:12px}
.hgx-obs{background:#fff8e1;border-color:#f1dc94!important}
.hgx-steps{display:flex;gap:6px;list-style:none;margin:0 0 20px;padding:0;counter-reset:s}.hgx-steps li{flex:1;text-align:center;font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#8a99ab;border-bottom:3px solid var(--r);padding-bottom:8px}
.hgx-steps li b{display:flex;margin:0 auto 4px;width:26px;height:26px;border-radius:50%;align-items:center;justify-content:center;background:var(--r);color:var(--d);font-size:13px}
.hgx-steps li.is-on,.hgx-steps li.is-done{color:var(--d);border-color:var(--y)}.hgx-steps li.is-on b,.hgx-steps li.is-done b{background:var(--y)}
.hgx-step{display:none;border:0;margin:0;padding:0;grid-template-columns:1fr 1fr;gap:12px 16px}.hgx-step.is-on{display:grid}
.hgx-step label{display:flex;flex-direction:column;gap:4px;font-size:13px;font-weight:600;color:var(--d)}.hgx-step .w{grid-column:1/-1}
.hgx-step input[type=text],.hgx-step input[type=email],.hgx-step input[type=tel],.hgx-step input[type=number],.hgx-step textarea{font:inherit;font-weight:400;font-size:14px;padding:9px 10px;border:1px solid #b9c6d3;border-radius:4px;width:100%}
.hgx-step .hgx-opts{display:flex;flex-wrap:wrap;gap:6px 16px;font-weight:400}.hgx-step .hgx-opts label{flex-direction:row;align-items:center;font-weight:400;gap:6px}
.hgx-step .is-bad{border-color:#c0392b!important}
.hgx-fnav{display:flex;justify-content:space-between;gap:10px;margin-top:20px}.hgx-fnav .hgx-btn{margin:0;min-width:140px}.hgx-fmsg{margin-top:12px!important;font-size:14px;font-weight:600;color:var(--b)}
@media (max-width:1024px){.hgx{grid-template-columns:1fr}.hgx-side{display:none}.hgx-facts,.hgx-ans,.hgx-kontakt{grid-template-columns:1fr}.hgx-stats,.hgx-stats2{grid-template-columns:repeat(2,1fr)}.hgx-grid3,.hgx-intro3,.hgx-pgrid{grid-template-columns:1fr 1fr}.hgx-desc,.hgx-chips,.hgx-schools,.hgx-rule{max-width:none}}
@media (max-width:640px){.hgx-hero{padding:32px 18px}.hgx-pn-in{padding:10px 18px}.hgx-body{padding:14px 10px 30px}.hgx-sec{padding:20px 16px}.hgx-schools{grid-template-columns:1fr}.hgx-schools>:not(:first-child){display:none}.hgx-prog,.hgx-grid3,.hgx-intro3,.hgx-pgrid,.hgx-req,.hgx-step.is-on{grid-template-columns:1fr}.hgx-chip{min-width:0;flex:1 1 40%}.hgx-steps li{font-size:0}.hgx-wm{width:260px;right:-60px}}
.hgx-card-t{display:flex;align-items:center;gap:8px}.hgx-card-t svg{flex:none}.hgx-ol{display:block;font-size:13px;font-weight:600;color:var(--d);margin-bottom:6px}.hgx-row2{margin-bottom:24px}.hgx-schoolbtns{justify-content:flex-end}.hgx [class*="is-layout-"]>*{margin-block-start:0!important}.hgx p:empty{display:none!important}
.hgx-tl-row p,.hgx-form p:not(.hgx-fmsg),.hgx-dist p,.hgx-cd-grid p,.hgx-intro3 p,.hgx-req p,.hgx-ready p,.hgx-lvls p,.hgx-meter p,.hgx-cmp p,.hgx-pn p{display:contents}
.hgx-tl-row br,.hgx-form br,.hgx-cd-grid br,.hgx-req br,.hgx-pn br,.hgx-intro3 br{display:none}
.hgx-desc h1,.hgx-desc h2,.hgx-desc h3,.hgx-desc h4,.hgx-desc h5,.hgx-desc h6{color:#fff!important;font-size:18px!important;margin:0 0 8px!important;line-height:1.35}
.hgx-info .hg-field{display:grid!important}.hgx-info .hg-field__label{text-transform:none!important;letter-spacing:0!important;font-size:14px!important;font-weight:600}
.hgx-chip{display:flex;align-items:center;justify-content:center;line-height:1.3}.hgx-chip .hg-field__value,.hgx-chip .hg-field__terms{display:flex;gap:6px;flex-wrap:wrap;justify-content:center}
.hgx-info .chip{background:none!important;border:0!important;padding:0!important;color:inherit!important;font-size:14px}
.hgx-schools{grid-template-columns:repeat(3,max-content);column-gap:48px}
.hgx-stat ul{list-style:none;margin:0;padding:0}.hgx-stat li{display:inline;margin:0}.hgx-stat li+li:before{content:', '}
.hgx-grid3>.hgx-card:not(:has(details)):not(#traning){display:none}.hgx details.wp-block-details{margin-bottom:8px!important}
@media (max-width:640px){.hgx-schools{grid-template-columns:1fr}}.hgx>*{margin-block:0!important}.hgx{margin-block:0!important}

/* =========================================================
   HG PAGES (hgp-) – sidmallar byggda i ren HTML
   ========================================================= */
.hgp{--n0:#000d18;--n1:#001321;--n2:#021a33;--n3:#0b2a4a;--b:#003c69;--y:#e4b922;--y2:#f2cd45;--cream:#fbf3df;--sky:#eef2f7;--ink:#0f172a;--txt:#334155;--mut:#64748b;--line:#dbe3ec;--r:14px;--max:1320px;color:var(--txt);font-size:16px;line-height:1.6;overflow-x:clip}
.hgp *,.hgp *::before,.hgp *::after{box-sizing:border-box}
.hgp h1,.hgp h2,.hgp h3,.hgp h4{color:var(--ink);line-height:1.15;margin:0 0 .5em;font-weight:800;letter-spacing:-.01em}
.hgp p{margin:0 0 1em}.hgp img{max-width:100%;height:auto;display:block}
.hgp a{color:var(--b)}.hgp ul{margin:0;padding:0;list-style:none}
.hgp-wrap{width:100%;max-width:var(--max);margin:0 auto;padding:0 clamp(16px,4vw,40px)}
.hgp-sec{padding:clamp(48px,7vw,96px) 0}
.hgp-sec--sky{background:var(--sky)}.hgp-sec--cream{background:var(--cream)}.hgp-sec--white{background:#fff}
.hgp-dark{background:radial-gradient(1200px 600px at 85% 10%,rgba(11,42,74,.9),transparent 60%),var(--n1);color:#cbd5e1}
.hgp-dark h1,.hgp-dark h2,.hgp-dark h3,.hgp-dark h4{color:#fff}.hgp-dark a{color:#fff}
.hgp-sec--line{border-top:3px solid var(--y)}
.hgp-eyebrow{display:inline-flex;align-items:center;gap:8px;font-size:12px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:var(--ink);margin:0 0 10px}
.hgp-eyebrow::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--y)}
.hgp-dark .hgp-eyebrow{color:var(--y)}
.hgp-h1{font-size:clamp(34px,4.6vw,56px)}.hgp-h2{font-size:clamp(28px,3.2vw,40px)}.hgp-h3{font-size:20px}
.hgp-lead{font-size:clamp(16px,1.3vw,18px);max-width:640px;color:var(--mut)}.hgp-dark .hgp-lead{color:#cbd5e1}
.hgp-head{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;flex-wrap:wrap;margin-bottom:32px}.hgp-head>div{max-width:720px}.hgp-head .hgp-lead{margin:0}
.hgp-center{text-align:center}.hgp-center .hgp-lead{margin-left:auto;margin-right:auto}
.hgp-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:var(--y);color:var(--ink)!important;font-weight:800;font-size:15px;line-height:1.2;padding:13px 22px;border-radius:10px;border:2px solid var(--y);text-decoration:none!important;cursor:pointer;transition:background .15s,transform .15s;font-family:inherit}
.hgp-btn:hover{background:var(--y2);border-color:var(--y2);transform:translateY(-1px)}
.hgp-btn--ghost{background:transparent;color:var(--ink)!important;border-color:currentColor}.hgp-dark .hgp-btn--ghost{color:#fff!important}
.hgp-btn--ghost:hover{background:rgba(255,255,255,.08)}.hgp-btn--navy{background:var(--n1);border-color:var(--n1);color:#fff!important}.hgp-btn--navy:hover{background:var(--b);border-color:var(--b)}
.hgp-btn--sm{padding:9px 14px;font-size:13px;border-radius:8px}.hgp-btn--block{display:flex;width:100%}
.hgp-link{font-weight:700;text-decoration:underline;text-underline-offset:4px}
.hgp-checks li{position:relative;padding-left:26px;margin:0 0 8px;font-size:15px}
.hgp-checks li::before{content:"";position:absolute;left:0;top:4px;width:16px;height:16px;border-radius:4px;background:var(--y) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%23001321' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat}
.hgp-pills{display:flex;flex-wrap:wrap;gap:8px}.hgp-pills li{background:#f1f5f9;border:1px solid var(--line);border-radius:999px;padding:4px 12px;font-size:13px;color:var(--ink)}
.hgp-pills li::before{content:"\2713  ";color:var(--b);font-weight:800}
.hgp-badge{display:inline-block;font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;background:var(--y);color:var(--ink);padding:4px 10px;border-radius:999px}
.hgp-badge--dark{background:var(--n1);color:#fff}.hgp-badge--light{background:#fff;color:var(--ink)}
.hgp-grid{display:grid;gap:24px}.hgp-grid--2{grid-template-columns:repeat(2,1fr)}.hgp-grid--3{grid-template-columns:repeat(3,1fr)}.hgp-grid--4{grid-template-columns:repeat(4,1fr)}
.hgp-card{background:#fff;border:1px solid var(--line);border-radius:var(--r);overflow:hidden;display:flex;flex-direction:column;box-shadow:0 10px 30px -20px rgba(2,26,51,.35)}
.hgp-card__img{aspect-ratio:16/9;object-fit:cover;width:100%}
.hgp-card__media{position:relative}.hgp-card__media .hgp-badge{position:absolute;left:14px;bottom:14px}
.hgp-card__body{padding:22px;display:flex;flex-direction:column;gap:12px;flex:1}.hgp-card__body h3{font-size:21px;margin:0}.hgp-card__body p{margin:0;color:var(--mut);font-size:15px}
.hgp-card__foot{margin-top:auto;padding-top:6px}
.hgp-card--p{border-top:4px solid var(--y)}.hgp-card--s{border-top:4px solid var(--b)}.hgp-card--a{border-top:4px solid #7c3aed}
.hgp-box{background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:24px}
.hgp-dark .hgp-box{background:rgba(255,255,255,.04);border-color:rgba(255,255,255,.12)}
/* top countdown */
.hgp-topbar{background:var(--n0);color:#cbd5e1;font-size:12px;font-weight:700;display:flex;justify-content:center;gap:clamp(16px,6vw,80px);padding:8px 16px;flex-wrap:wrap}
.hgp-topbar__item{display:flex;align-items:center;gap:8px}.hgp-topbar b{display:inline-block;min-width:34px;text-align:center;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.15);border-radius:4px;padding:2px 6px;color:#fff;font-variant-numeric:tabular-nums}
/* hero */
.hgp-hero{position:relative;background:var(--n1);color:#cbd5e1;padding:clamp(48px,7vw,96px) 0;overflow:hidden}
.hgp-hero__bg{position:absolute;inset:0;background-size:cover;background-position:center;opacity:.28}
.hgp-hero::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,var(--n1) 30%,rgba(0,19,33,.55))}
.hgp-hero .hgp-wrap{position:relative;z-index:1;display:grid;grid-template-columns:1.25fr .9fr;gap:clamp(24px,5vw,72px);align-items:center}
.hgp-hero h1{color:#fff;font-size:clamp(34px,4.4vw,54px)}.hgp-hero p{font-size:18px;max-width:520px}
.hgp-search{display:grid;grid-template-columns:repeat(3,1fr) auto;background:#fff;border-radius:12px;padding:6px;gap:0;max-width:680px;box-shadow:0 0 0 3px rgba(228,185,34,.35)}
.hgp-search label{display:flex;flex-direction:column;padding:6px 14px;border-right:1px solid var(--line);font-size:11px;color:var(--mut);font-weight:600}
.hgp-search select{border:0;background:transparent;font:inherit;font-size:15px;font-weight:800;color:var(--ink);padding:2px 0;cursor:pointer;width:100%;outline-offset:2px}
.hgp-search .hgp-btn{margin-left:6px}
.hgp-usp{display:flex;flex-wrap:wrap;gap:6px 22px;margin-top:16px;font-size:14px;color:#e2e8f0}.hgp-usp li::before{content:"\2713";color:var(--y);font-weight:800;margin-right:6px}
/* hero preview card */
.hgp-preview{background:#fff;border-radius:16px;color:var(--txt);overflow:hidden;box-shadow:0 30px 60px -30px rgba(0,0,0,.6)}
.hgp-preview__head{background:linear-gradient(120deg,var(--b),var(--n2));color:#fff;display:flex;align-items:center;gap:12px;padding:16px 18px}
.hgp-preview__logo{width:44px;height:44px;border-radius:50%;background:#fff;color:var(--n1);display:grid;place-items:center;font-weight:900;font-size:14px;flex:none;overflow:hidden}.hgp-preview__logo img{width:100%;height:100%;object-fit:contain}
.hgp-preview__name{font-weight:800;font-size:16px;line-height:1.25;flex:1;color:#fff;text-decoration:none!important}
.hgp-preview dl{margin:0;padding:4px 18px}.hgp-preview dl>div{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid var(--line);font-size:14px}
.hgp-preview dt{color:var(--mut)}.hgp-preview dd{margin:0;font-weight:700;color:var(--ink);text-align:right}
.hgp-lock{filter:blur(4px);user-select:none}.hgp-lock+i{font-style:normal;margin-left:6px}
.hgp-preview__foot{padding:14px 18px 18px}.hgp-preview__nav{display:flex;align-items:center;justify-content:space-between;margin-top:12px;font-size:13px;color:var(--mut)}
.hgp-arrow{width:36px;height:36px;border-radius:50%;border:1px solid var(--line);background:#fff;cursor:pointer;font-size:18px;line-height:1;color:var(--ink);display:grid;place-items:center}.hgp-arrow:hover{border-color:var(--ink)}
.hgp-dark .hgp-arrow{background:transparent;color:#fff;border-color:rgba(255,255,255,.4)}
/* stats + ticker */
.hgp-stats{background:linear-gradient(180deg,var(--n2),var(--n1));padding:28px 0}
.hgp-stats ul{display:grid;grid-template-columns:repeat(4,1fr)}.hgp-stats li{text-align:center;padding:6px 12px;border-left:1px solid rgba(255,255,255,.1)}.hgp-stats li:first-child{border:0}
.hgp-stats b{display:block;color:#8fb7ff;font-size:clamp(26px,3vw,38px);font-weight:800;line-height:1.1}.hgp-stats span{font-size:12px;letter-spacing:.1em;text-transform:uppercase;color:#cbd5e1}
.hgp-ticker{background:#fff;border-bottom:1px solid var(--line);padding:12px 0;overflow:hidden}.hgp-ticker .hgp-wrap{display:flex;align-items:center;gap:12px;overflow-x:auto;scrollbar-width:none;white-space:nowrap}
.hgp-ticker__label{background:var(--sky);border-radius:999px;padding:4px 12px;font-size:11px;font-weight:800;letter-spacing:.1em}
.hgp-ticker a{display:inline-flex;align-items:center;gap:8px;border:1px solid var(--line);border-radius:999px;padding:5px 14px 5px 6px;font-size:13px;font-weight:700;color:var(--ink);text-decoration:none}
.hgp-ticker a small{color:var(--mut);font-weight:500}.hgp-ticker a .hgp-badge{font-size:10px;padding:2px 8px;background:#fdf1cf}
/* membership strip */
.hgp-strip{display:grid;grid-template-columns:auto 1fr auto;gap:22px;align-items:center;background:#fff;border:1px solid var(--line);border-left:5px solid var(--y);border-radius:var(--r);padding:22px 26px;margin-bottom:28px}
.hgp-strip__icon{width:54px;height:54px;border-radius:12px;background:var(--n1);color:var(--y);display:grid;place-items:center;font-size:24px}
.hgp-strip h3{font-size:22px;margin:4px 0 10px}.hgp-strip__price{text-align:right;font-size:13px;color:var(--mut)}.hgp-strip__price strong{font-size:22px;color:var(--ink)}
.hgp-strip__price .hgp-btn{margin-top:8px}
/* calendar */
.hgp-filter{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 24px}
.hgp-chip{border:1px solid rgba(255,255,255,.25);background:transparent;color:#fff;border-radius:999px;padding:7px 14px;font:inherit;font-size:14px;font-weight:700;cursor:pointer}
.hgp-chip span{opacity:.7;margin-left:6px}.hgp-chip[aria-pressed=true]{background:var(--y);border-color:var(--y);color:var(--ink)}
.hgp-events{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:18px}
.hgp-event{background:#fff;color:var(--txt);border-radius:var(--r);overflow:hidden;display:flex;flex-direction:column}
.hgp-event__media{background:#fff;aspect-ratio:16/8;display:grid;place-items:center;padding:16px;border-bottom:1px solid var(--line)}.hgp-event__media img{max-height:110px;width:auto}
.hgp-event__body{padding:18px;display:flex;flex-direction:column;gap:8px;flex:1}.hgp-event__body h3{font-size:18px;margin:0;color:var(--ink)}
.hgp-event__meta{font-size:13px;color:var(--mut)}.hgp-event__body p{font-size:14px;margin:0}.hgp-event__body .hgp-btn{margin-top:auto;align-self:flex-start}
.hgp-empty{padding:28px;border:1px dashed rgba(255,255,255,.3);border-radius:var(--r);text-align:center}
/* carousel */
.hgp-rail{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 48px)/3);gap:24px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;padding-bottom:4px}
.hgp-rail::-webkit-scrollbar{display:none}.hgp-rail>*{scroll-snap-align:start}
.hgp-guide{background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.12);border-radius:var(--r);overflow:hidden;text-decoration:none!important;display:flex;flex-direction:column;min-height:220px}
.hgp-guide img{aspect-ratio:16/9;object-fit:cover;width:100%}.hgp-guide div{padding:16px}.hgp-guide h3{font-size:17px;margin:0 0 6px}.hgp-guide p{font-size:14px;color:#94a3b8;margin:0}
.hgp-note{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;border:1px solid rgba(255,255,255,.15);background:rgba(255,255,255,.04);border-radius:var(--r);padding:16px 20px;margin-top:32px;font-size:15px}
/* compare table */
.hgp-table{width:100%;border-collapse:separate;border-spacing:0;background:#fff;border:1px solid var(--line);border-radius:var(--r);overflow:hidden;font-size:15px}
.hgp-table th,.hgp-table td{padding:14px 20px;border-bottom:1px solid var(--line);text-align:left}.hgp-table tr:last-child td{border-bottom:0}
.hgp-table thead th{font-size:13px;color:var(--mut);font-weight:700}.hgp-table .c{text-align:center;width:120px}.hgp-table .m{background:#fdf1cf}
.hgp-yes::before{content:"\2713";color:#15803d;font-weight:900}.hgp-no::before{content:"\1F512";font-size:12px;opacity:.45}
.hgp-table .m.hgp-yes::before{color:var(--ink)}
/* feature boxes */
.hgp-feature{background:var(--sky);border:1px solid var(--line);border-radius:var(--r);padding:22px}.hgp-feature__ico{width:40px;height:40px;border-radius:10px;background:#fff;display:grid;place-items:center;font-size:20px;margin-bottom:12px}
.hgp-feature h3{font-size:17px;margin:0 0 6px}.hgp-feature p{font-size:14px;margin:0}
/* pricing */
.hgp-prices{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;align-items:stretch;margin-top:12px}
.hgp-price{position:relative;border-radius:16px;padding:28px 24px 22px;display:flex;flex-direction:column;gap:10px;background:var(--n3);border:1px solid rgba(255,255,255,.14);color:#cbd5e1}
.hgp-price--hl{background:#fff;color:var(--txt);border:3px solid var(--y);transform:translateY(-10px)}.hgp-price--hl h3{color:var(--ink)!important}
.hgp-price--club{background:transparent;border:2px solid rgba(255,255,255,.25)}
.hgp-price>.hgp-badge{position:absolute;top:-12px;left:24px}
.hgp-price__kicker{font-size:11px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:var(--y)}.hgp-price--hl .hgp-price__kicker{color:var(--b)}
.hgp-price h3{font-size:22px;margin:0}.hgp-price__sub{font-size:14px;margin:0}
.hgp-price__amount{font-size:44px;font-weight:900;color:#fff;line-height:1}.hgp-price__amount small{font-size:14px;font-weight:500;color:#94a3b8;margin-left:4px}.hgp-price--hl .hgp-price__amount{color:var(--ink)}
.hgp-price__save{font-size:13px;color:var(--b);font-weight:700}.hgp-price__save span{display:inline-block;margin-top:6px;background:var(--y);color:var(--ink);border-radius:999px;padding:3px 10px;font-size:12px}
.hgp-price .hgp-checks li{font-size:14px}.hgp-price .hgp-checks li::before{background-color:transparent;background-image:none;content:"\2713";color:var(--y);font-weight:900;top:0;width:auto;height:auto}
.hgp-price--hl .hgp-checks li::before{color:#15803d}
.hgp-price .hgp-btn{margin-top:auto}.hgp-price__fine{font-size:12px;color:#94a3b8;text-align:center;margin:0}.hgp-price--hl .hgp-price__fine{color:var(--mut)}
.hgp-invest{background:#fff;color:var(--txt);border-top:4px solid var(--y);border-radius:16px;padding:clamp(20px,3vw,36px);margin-top:40px}
.hgp-invest h3{font-size:22px;margin:0 0 4px}.hgp-timeline{display:grid;grid-template-columns:repeat(4,1fr);position:relative;margin:26px 0}
.hgp-timeline::before{content:"";position:absolute;left:12%;right:12%;top:9px;height:3px;background:var(--y)}
.hgp-timeline li{position:relative;text-align:center;padding:30px 8px 0;font-size:13px;color:var(--mut)}.hgp-timeline li::before{content:"";position:absolute;top:0;left:50%;transform:translateX(-50%);width:20px;height:20px;border-radius:50%;background:var(--y);border:4px solid #fdf1cf}
.hgp-timeline b{display:block;color:var(--ink);font-size:14px}
.hgp-loyal{background:var(--n1);color:#cbd5e1;border-radius:12px;padding:20px}.hgp-loyal h4{color:#fff;font-size:17px;margin:0 0 4px}
.hgp-loyal ol{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;list-style:none;margin:14px 0;padding:0}
.hgp-loyal ol li{background:rgba(255,255,255,.06);border-radius:8px;padding:14px;text-align:center;font-size:12px}.hgp-loyal ol b{display:block;color:#fff;font-size:24px}.hgp-loyal ol li.on{background:var(--y);color:var(--ink)}.hgp-loyal ol li.on b{color:var(--ink)}
.hgp-loyal ol em{display:block;color:var(--y);font-style:normal;font-weight:700}.hgp-loyal small{font-size:12px}
.hgp-tip{border-radius:12px;padding:16px 18px;margin-top:14px;font-size:14px}.hgp-tip h4{font-size:15px;margin:0 0 4px}.hgp-tip p{margin:0}
.hgp-tip--sky{background:var(--sky);border:1px solid var(--line)}.hgp-tip--y{background:#fdf6dc;border:1px solid #f1dc94}.hgp-tip--n{background:var(--n1);color:#cbd5e1}.hgp-tip--n h4{color:#fff}
.hgp-fine{font-size:13px;color:#94a3b8;margin-top:28px}
/* accordion / faq */
.hgp-faq details{background:#fff;border:1px solid var(--line);border-radius:12px;margin:0 0 10px}
.hgp-faq summary{cursor:pointer;list-style:none;display:flex;justify-content:space-between;gap:16px;padding:16px 20px;font-weight:700;color:var(--ink)}
.hgp-faq summary::-webkit-details-marker{display:none}.hgp-faq summary::after{content:"+";font-size:22px;line-height:1;color:var(--b)}.hgp-faq details[open] summary::after{content:"\2212"}
.hgp-faq details>div{padding:0 20px 18px}
/* forms */
.hgp-form{display:grid;grid-template-columns:1fr 1fr;gap:14px 18px}
.hgp-form label{display:flex;flex-direction:column;gap:6px;font-size:14px;font-weight:700;color:var(--ink)}.hgp-form .w{grid-column:1/-1}
.hgp-form input,.hgp-form select,.hgp-form textarea{font:inherit;font-weight:400;font-size:15px;padding:11px 12px;border:1px solid #b9c6d3;border-radius:8px;background:#fff;color:var(--ink);width:100%}
.hgp-form input:focus,.hgp-form select:focus,.hgp-form textarea:focus{outline:2px solid var(--y);outline-offset:1px;border-color:var(--ink)}
.hgp-form .hgp-check{flex-direction:row;align-items:flex-start;gap:10px;font-weight:400}.hgp-form .hgp-check input{width:auto;margin-top:4px}
.hgp-form__msg{grid-column:1/-1;margin:0;font-weight:700}.hgp-form__msg.ok{color:#15803d}.hgp-form__msg.err{color:#b91c1c}
.hgp-hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}
/* prose (policy, villkor) */
.hgp-prose{max-width:820px;margin:0 auto}.hgp-prose h2{font-size:26px;margin:1.6em 0 .5em}.hgp-prose h3{font-size:19px;margin:1.4em 0 .4em}
.hgp-prose ul,.hgp-prose ol{margin:0 0 1em 1.3em;padding:0}.hgp-prose ul{list-style:disc}.hgp-prose ol{list-style:decimal}.hgp-prose li{margin:0 0 .4em}
.hgp-steps{counter-reset:s;display:grid;gap:14px}.hgp-steps>li{counter-increment:s;position:relative;padding:18px 18px 18px 64px;background:#fff;border:1px solid var(--line);border-radius:12px}
.hgp-steps>li::before{content:counter(s);position:absolute;left:18px;top:16px;width:32px;height:32px;border-radius:50%;background:var(--y);color:var(--ink);font-weight:900;display:grid;place-items:center}
.hgp-steps h3{font-size:17px;margin:0 0 4px}.hgp-steps p{margin:0;font-size:15px}
.hgp-split{display:grid;grid-template-columns:1fr 1fr;gap:clamp(24px,5vw,64px);align-items:center}
.hgp-cta{background:var(--n1);color:#cbd5e1;border-radius:20px;padding:clamp(28px,4vw,48px);display:flex;justify-content:space-between;align-items:center;gap:24px;flex-wrap:wrap}.hgp-cta h2{color:#fff;margin:0 0 6px}.hgp-cta p{margin:0}
/* responsive */
@media (max-width:1024px){.hgp-hero .hgp-wrap,.hgp-split{grid-template-columns:1fr}.hgp-grid--3,.hgp-grid--4,.hgp-prices{grid-template-columns:1fr 1fr}.hgp-rail{grid-auto-columns:calc((100% - 24px)/2)}.hgp-price--hl{transform:none}}
@media (max-width:720px){.hgp-search{grid-template-columns:1fr}.hgp-search label{border-right:0;border-bottom:1px solid var(--line)}.hgp-search .hgp-btn{margin:6px 0 0}
.hgp-grid--2,.hgp-grid--3,.hgp-grid--4,.hgp-prices,.hgp-form{grid-template-columns:1fr}.hgp-stats ul{grid-template-columns:1fr 1fr;row-gap:16px}.hgp-stats li:nth-child(3){border:0}
.hgp-strip{grid-template-columns:1fr}.hgp-strip__price{text-align:left}.hgp-rail{grid-auto-columns:85%}.hgp-timeline,.hgp-loyal ol{grid-template-columns:1fr 1fr;row-gap:16px}.hgp-timeline::before{display:none}
.hgp-table th,.hgp-table td{padding:10px 12px}.hgp-table .c{width:64px}}
@media (prefers-reduced-motion:reduce){.hgp *{transition:none!important;scroll-behavior:auto!important}}

.hgp-hero__bg{width:100%;height:100%;object-fit:cover}
.hgp-admin-only{display:none!important}body.admin-bar .hgp-admin-only{display:inline-flex!important;text-decoration:none}
.hgp-actions{margin-top:24px}.hgp-narrow{max-width:1100px}.hgp-pills-nav{display:flex;align-items:center;gap:10px}
.hgp-table{margin-top:28px}.hgp .screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap}

.hgp button.hgp-btn,.hgp a.hgp-btn,.hgp button[type=submit].hgp-btn{background:var(--y);border-color:var(--y);color:var(--ink)}
.hgp button.hgp-btn:hover,.hgp a.hgp-btn:hover,.hgp button[type=submit].hgp-btn:hover{background:var(--y2);border-color:var(--y2);color:var(--ink)}
.hgp a.hgp-btn--ghost,.hgp button.hgp-btn--ghost{background:transparent;border-color:currentColor}.hgp a.hgp-btn--navy{background:var(--n1);border-color:var(--n1);color:#fff}
.hgp a.hgp-preview__name,.hgp a.hgp-preview__name:hover{color:#fff}.hgp-dark a.hgp-btn--ghost{color:#fff}.hgp a.hgp-btn--ghost{color:var(--ink)}.hgp-dark a.hgp-btn--ghost{color:#fff}

.hgp ol{margin:0;padding:0;list-style:none}.hgp-prose ol{list-style:decimal;padding-left:1.3em}
.hgp-invest h3,.hgp-invest h4,.hgp-dark .hgp-invest h3,.hgp-dark .hgp-invest h4{color:var(--ink)}.hgp-invest{color:var(--txt)}
.hgp-dark .hgp-invest .hgp-loyal h4,.hgp-dark .hgp-invest .hgp-tip--n h4{color:#fff}
.hgp-event__body .hgp-badge,.hgp-card__body .hgp-badge{align-self:flex-start}

/* --- sidhuvud för undersidor --- */
.hgp-pagehero{position:relative;overflow:hidden;background:radial-gradient(900px 500px at 90% 0,rgba(11,42,74,.95),transparent 65%),var(--n1);color:#cbd5e1;padding:clamp(48px,7vw,88px) 0 clamp(96px,10vw,130px)}
.hgp-pagehero h1{color:#fff;font-size:clamp(32px,4.4vw,52px);text-transform:uppercase;letter-spacing:-.01em}.hgp-pagehero p{max-width:560px;font-size:17px}
.hgp-pagehero .hgp-wrap{position:relative;z-index:1}.hgp-pagehero__mark{position:absolute;right:-60px;top:50%;transform:translateY(-50%);width:min(420px,45vw);opacity:.08;pointer-events:none}
.hgp-btnrow{display:flex;flex-wrap:wrap;gap:12px;margin-top:22px}
.hgp-overlap{margin-top:clamp(-90px,-8vw,-60px);position:relative;z-index:2}
.hgp-info{background:#fff;border:1px solid var(--line);border-top:4px solid var(--y);border-radius:var(--r);padding:24px;box-shadow:0 18px 40px -24px rgba(2,26,51,.45);display:flex;flex-direction:column;gap:8px}
.hgp-info__ico{width:40px;height:40px;border-radius:10px;background:#fdf6dc;display:grid;place-items:center;font-size:18px}
.hgp-info h3{font-size:18px;margin:6px 0 0}.hgp-info p{font-size:15px;color:var(--mut);margin:0}.hgp-info .hgp-link{margin-top:auto;text-decoration:none;color:var(--b)}
.hgp-panel{background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:clamp(22px,3vw,34px)}
.hgp-panel--dark{background:var(--n1);border-color:var(--n1);color:#cbd5e1}.hgp-panel--dark h2,.hgp-panel--dark h3{color:#fff}
.hgp-panel h2{font-size:24px;text-transform:uppercase;margin-bottom:14px}
.hgp-callout{background:#fdf6dc;border-left:4px solid var(--y);border-radius:8px;padding:14px 16px;font-size:14px;margin:0}
.hgp-dl{display:grid;grid-template-columns:90px 1fr;gap:8px 14px;margin:0 0 18px;font-size:15px}.hgp-dl dt{color:#94a3b8}.hgp-dl dd{margin:0;color:#fff;font-weight:600}.hgp-dl a{color:var(--y)}
.hgp-person{display:flex;align-items:center;gap:12px;border-top:1px solid rgba(255,255,255,.12);padding-top:16px;margin-top:16px}
.hgp-person__av{width:44px;height:44px;border-radius:50%;background:var(--y);color:var(--ink);display:grid;place-items:center;font-weight:900}.hgp-person b{display:block;color:#fff}.hgp-person small{color:#94a3b8}
.hgp-ybanner{background:linear-gradient(100deg,var(--y),var(--y2));border-radius:var(--r);padding:clamp(22px,3vw,34px);display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap;color:var(--ink)}
.hgp-ybanner h2{font-size:clamp(20px,2.2vw,26px);text-transform:uppercase;margin:0 0 6px}.hgp-ybanner p{margin:0;max-width:640px}
.hgp a.hgp-btn--navy,.hgp-ybanner a.hgp-btn--navy{background:var(--n1);border-color:var(--n1);color:#fff}
.hgp-sec--tight{padding-top:clamp(28px,4vw,48px)}

.hgp-pagehero .hgp-eyebrow,.hgp-panel--dark .hgp-eyebrow,.hgp-hero .hgp-eyebrow,.hgp-cta .hgp-eyebrow{color:var(--y)}
.hgp-pagehero a.hgp-btn--ghost,.hgp-panel--dark a.hgp-btn--ghost,.hgp-hero a.hgp-btn--ghost,.hgp-cta a.hgp-btn--ghost{color:#fff;border-color:rgba(255,255,255,.6)}

/* --- undermeny, nyckeltal, jämförelser --- */
.hgp-subnav{position:sticky;top:var(--hgp-hdr,0px);z-index:30;background:#fff;border-bottom:1px solid var(--line);box-shadow:0 6px 18px -16px rgba(2,26,51,.5)}
.hgp-subnav .hgp-wrap{display:flex;align-items:center;gap:6px 22px;padding-top:10px;padding-bottom:10px;overflow-x:auto;white-space:nowrap;scrollbar-width:none}
.hgp-subnav span{font-size:11px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:var(--mut)}.hgp-subnav a{font-size:14px;font-weight:700;color:var(--ink);text-decoration:none}.hgp-subnav a:hover{color:var(--b)}
.hgp-subnav .hgp-btn{margin-left:auto}
.hgp-herostats{display:grid;grid-template-columns:1fr 1fr;gap:18px 26px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.14);border-radius:16px;padding:22px 26px;align-self:center}
.hgp-herostats b{display:block;color:var(--y);font-size:26px;font-weight:900;line-height:1.1}.hgp-herostats span{font-size:13px;color:#cbd5e1}
.hgp-pagehero--split .hgp-wrap{display:grid;grid-template-columns:1.5fr 1fr;gap:clamp(24px,5vw,72px);align-items:center}
.hgp-benefit{background:#fff;border:1px solid var(--line);border-top:4px solid var(--y);border-radius:var(--r);padding:22px;display:flex;flex-direction:column;gap:8px}
.hgp-benefit__ico{width:40px;height:40px;border-radius:10px;background:var(--n1);color:var(--y);display:grid;place-items:center;font-size:18px;font-weight:900}
.hgp-benefit h3{font-size:18px;margin:4px 0 0}.hgp-benefit p{font-size:14px;color:var(--mut);margin:0}
.hgp-demo{display:grid;grid-template-columns:1fr 1fr;gap:24px;max-width:880px;margin:0 auto}.hgp-demo__label{font-weight:800;color:var(--ink);font-size:14px;margin:0 0 8px}
.hgp-demo .hgp-preview{box-shadow:0 18px 40px -26px rgba(2,26,51,.5);border:1px solid var(--line)}
.hgp-flag{display:block;font-size:13px;font-weight:700;padding:8px 18px;background:#fdf6dc;color:var(--ink)}.hgp-flag--lock{background:#f1f5f9;color:var(--mut)}
.hgp-open{color:#15803d!important}
.hgp-openlist{display:grid;grid-template-columns:1fr 1fr;gap:24px;max-width:980px;margin:0 auto}
.hgp-openlist>div{border-radius:var(--r);padding:24px;border:1px solid var(--line);background:#fff}.hgp-openlist>div.is-dark{background:var(--n1);border-color:var(--n1);color:#cbd5e1}.hgp-openlist>div.is-dark h3{color:#fff}
.hgp-openlist h3{font-size:18px;margin:0}.hgp-openlist small{display:block;color:var(--mut);margin-bottom:14px}
.hgp-openlist li{padding:8px 0 8px 26px;border-bottom:1px solid var(--line);position:relative;font-size:14px}.hgp-openlist li::before{content:"\2713";position:absolute;left:0;color:var(--b);font-weight:900}
.hgp-openlist .is-dark li{border-color:rgba(255,255,255,.1)}.hgp-openlist .is-dark li::before{content:"\2605";color:var(--y)}
.hgp-callout--wide{max-width:980px;margin:22px auto 0}

.hgp-ptable{width:100%;border-collapse:separate;border-spacing:0;background:#fff;border:1px solid var(--line);border-radius:var(--r);overflow:hidden;font-size:14px}
.hgp-ptable th,.hgp-ptable td{padding:13px 16px;border-bottom:1px solid var(--line);text-align:center}.hgp-ptable th[scope=row]{text-align:left;font-weight:700;color:var(--ink)}
.hgp-ptable th[scope=row] small{display:block;font-weight:400;color:var(--mut)}.hgp-ptable thead th{background:var(--sky);color:var(--ink);font-size:15px}.hgp-ptable thead th small{display:block;font-weight:400;font-size:12px;color:var(--mut)}
.hgp-ptable thead th:first-child{background:#fff}.hgp-ptable .hl{background:#fdf6dc}.hgp-ptable thead .hl{background:#fbe7a6}.hgp-ptable tfoot td{border-bottom:0;padding:16px}
.hgp-ptable .y::before{content:"\2713";color:#15803d;font-weight:900}.hgp-ptable .n{color:#94a3b8}
.hgp-formcard{max-width:760px;margin:0 auto;background:#fff;border:1px solid var(--line);border-radius:16px;padding:clamp(22px,3vw,36px);box-shadow:0 18px 40px -28px rgba(2,26,51,.5)}
.hgp-form .hgp-opts{display:flex;gap:8px;flex-wrap:wrap;font-weight:400}.hgp-form .hgp-opts label{flex-direction:row;align-items:center;gap:8px;border:1px solid var(--line);border-radius:999px;padding:6px 14px;font-weight:700}
.hgp-form .hgp-opts input{width:auto}.hgp-form legend{font-size:14px;font-weight:700;color:var(--ink);padding:0;margin-bottom:8px}.hgp-form fieldset{border:0;margin:0;padding:0}
.hgp-form label small,.hgp-form legend small{font-weight:400;color:var(--mut)}
.hgp-faq{max-width:760px;margin:0 auto}.hgp-faq--plain details{border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent;margin:0}.hgp-faq--plain summary{padding:16px 4px}.hgp-faq--plain details>div{padding:0 4px 16px}
.hgp-band{background:var(--b);color:#dbe7f5;text-align:center;padding:clamp(40px,6vw,72px) 0}.hgp-band h2{color:#fff;font-size:clamp(24px,3vw,34px)}.hgp-band p{max-width:520px;margin:0 auto 22px}.hgp-band .hgp-btnrow{justify-content:center}
.hgp-band a.hgp-btn--ghost{color:#fff;border-color:rgba(255,255,255,.7)}
@media (max-width:1024px){.hgp-pagehero--split .hgp-wrap{grid-template-columns:1fr}}
@media (max-width:720px){.hgp-demo,.hgp-openlist{grid-template-columns:1fr}.hgp-ptable{font-size:12px}.hgp-ptable th,.hgp-ptable td{padding:10px 8px}}
.hgp .hgp-normalcase{text-transform:none}.hgp-tw{overflow-x:auto}

.hgp-pagehero .hgp-btn--ghost,.hgp-panel--dark .hgp-btn--ghost,.hgp-hero .hgp-btn--ghost,.hgp-cta .hgp-btn--ghost,.hgp-band .hgp-btn--ghost{color:#fff!important;border-color:rgba(255,255,255,.6)}
.hgp-lead.hgp-center{margin-left:auto;margin-right:auto}
.hgp-form label:not(.hgp-check){display:block}.hgp-form label:not(.hgp-check)>input,.hgp-form label:not(.hgp-check)>select,.hgp-form label:not(.hgp-check)>textarea{display:block;margin-top:6px}
.hgp-form .hgp-opts label{display:inline-flex}

/* --- annonsera --- */
.hgp-pagehero--ad{border-top:4px solid var(--y);padding-bottom:clamp(40px,5vw,64px)}
.hgp-pagehero .hgp-badge{margin-bottom:14px}
.hgp-tags{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:22px 0 26px;font-size:13px;color:#cbd5e1}
.hgp-tags li{border:1px solid rgba(255,255,255,.3);border-radius:999px;padding:5px 12px;color:#fff;font-size:12px;font-weight:600}
.hgp-offer{background:#fff;color:var(--txt);border-radius:var(--r);padding:22px;display:flex;flex-direction:column;gap:8px}
.hgp-offer--hl{background:#fdf6dc;border-bottom:4px solid var(--y)}.hgp-offer h3{font-size:17px;margin:6px 0 0;color:var(--ink)!important}.hgp-offer p{font-size:14px;color:var(--mut);margin:0}
.hgp-offer__ico{width:36px;height:36px;border-radius:9px;background:var(--sky);display:grid;place-items:center;font-size:16px}.hgp-offer--hl .hgp-offer__ico{background:var(--n1);color:var(--y)}
.hgp-offer a{margin-top:auto;font-weight:700;font-size:14px;color:var(--b)!important;text-decoration:none}
.hgp-herofoot{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;margin-top:34px;padding-top:24px;border-top:1px solid rgba(255,255,255,.12)}
.hgp-herofoot h2{font-size:20px;margin:0 0 4px}.hgp-herofoot p{margin:0;font-size:14px}
.hgp-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.hgp-kpis li{background:var(--n1);border-radius:12px;padding:22px 16px;text-align:center;color:#cbd5e1;font-size:13px}
.hgp-kpis b{display:block;color:var(--y);font-size:30px;font-weight:900;line-height:1.1;margin-bottom:4px}
.hgp-tiles{display:grid;grid-template-columns:repeat(5,1fr);gap:14px}.hgp-tiles li{background:#fff;border:1px solid var(--line);border-radius:12px;padding:16px;font-size:13px;color:var(--mut)}.hgp-tiles b{display:block;color:var(--ink);font-size:14px;margin-bottom:4px}
.hgp-pack{background:#fff;border:1px solid var(--line);border-radius:16px;padding:26px 22px 22px;display:flex;flex-direction:column;gap:10px;position:relative}
.hgp-pack--hl{border:2px solid var(--y);background:#fffdf5}.hgp-pack>.hgp-badge{position:absolute;top:-12px;left:22px}
.hgp-pack h3{font-size:20px;margin:0}.hgp-pack__price{color:var(--b);font-weight:800;font-size:14px;margin:0 0 6px}.hgp-pack .hgp-btn{margin-top:auto}
.hgp-example{background:#fff;border:1px solid var(--line);border-radius:14px;padding:20px}.hgp-example h3{font-size:17px;margin:10px 0 12px}
.hgp-example dl{display:grid;grid-template-columns:76px 1fr;gap:8px 12px;margin:0;font-size:14px}.hgp-example dt{color:var(--mut)}.hgp-example dd{margin:0;color:var(--ink)}
.hgp-badge--sky{background:var(--sky);color:var(--b)}
.hgp-formsplit{display:grid;grid-template-columns:.9fr 1.3fr;border-radius:18px;overflow:hidden;box-shadow:0 24px 50px -30px rgba(2,26,51,.6);background:#fff}
.hgp-formsplit__side{background:linear-gradient(160deg,var(--n2),var(--b));color:#cbd5e1;padding:clamp(24px,3vw,40px)}.hgp-formsplit__side h2{color:#fff;font-size:26px;text-transform:uppercase}
.hgp-formsplit__side .hgp-eyebrow{color:var(--y)}.hgp-formsplit__main{padding:clamp(24px,3vw,40px)}
.hgp-numlist{counter-reset:n;margin:20px 0}.hgp-numlist li{counter-increment:n;display:flex;gap:12px;align-items:flex-start;margin:0 0 12px;font-size:14px}
.hgp-numlist li::before{content:counter(n);flex:none;width:26px;height:26px;border-radius:50%;background:var(--y);color:var(--ink);font-weight:900;display:grid;place-items:center;font-size:13px}
.hgp-formsplit__side hr{border:0;border-top:1px solid rgba(255,255,255,.15);margin:20px 0}.hgp-formsplit__side a{color:var(--y)!important;font-weight:700}
@media (max-width:1024px){.hgp-tiles{grid-template-columns:repeat(3,1fr)}.hgp-kpis{grid-template-columns:1fr 1fr}.hgp-formsplit{grid-template-columns:1fr}}
@media (max-width:720px){.hgp-tiles{grid-template-columns:1fr 1fr}}
.hgp-center-block{display:flex;justify-content:center}.hgp-tags li.hgp-tags__label{border:0;padding:0;color:#cbd5e1;font-weight:400;font-size:13px}

.hgp-flow{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;counter-reset:f}
.hgp-flow li{counter-increment:f;background:#fff;border:1px solid var(--line);border-top:4px solid var(--y);border-radius:12px;padding:18px 16px;font-size:14px;color:var(--mut);box-shadow:0 18px 40px -26px rgba(2,26,51,.45)}
.hgp-flow li::before{content:counter(f);display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:var(--n1);color:var(--y);font-weight:900;margin-bottom:10px}
.hgp-flow b{display:block;color:var(--ink);font-size:16px;margin-bottom:4px}
.hgp-loggedin{display:none}body.logged-in .hgp-loggedin{display:block}body.logged-in .hgp-loggedout{display:none}
.hgp-info .hgp-btn{align-self:flex-start;margin-top:8px}
@media (max-width:1024px){.hgp-flow{grid-template-columns:1fr 1fr}}@media (max-width:560px){.hgp-flow{grid-template-columns:1fr}}

/* --- checklista --- */
.hgp-sheet{max-width:880px;margin:0 auto;background:#fff;border:1px solid var(--line);border-radius:16px;padding:clamp(22px,4vw,44px);box-shadow:0 18px 40px -28px rgba(2,26,51,.5)}
.hgp-sheet__top{display:flex;justify-content:space-between;align-items:center;border-bottom:3px solid var(--y);padding-bottom:14px;margin-bottom:22px;font-size:12px;color:var(--mut)}
.hgp-sheet__bar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:6px 0 26px}
.hgp-progress{flex:1;min-width:160px;height:8px;border-radius:999px;background:var(--sky);overflow:hidden}.hgp-progress span{display:block;height:100%;width:0;background:var(--y);transition:width .2s}
.hgp-progress__txt{font-size:13px;color:var(--mut);min-width:64px}
.hgp-sheet__grid{display:grid;grid-template-columns:1fr 1fr;gap:26px 40px}
.hgp-sheet__group{border:0;margin:0;padding:0 0 14px;border-bottom:1px solid var(--line)}.hgp-sheet__group legend{font-weight:800;color:var(--b);font-size:16px;margin-bottom:8px;padding:0}
.hgp-sheet__group label{display:flex;gap:10px;align-items:flex-start;padding:5px 0;font-size:14px;cursor:pointer}
.hgp-sheet__group input{width:18px;height:18px;margin:2px 0 0;flex:none;accent-color:var(--b)}
.hgp-sheet__group input:checked+span{color:var(--mut);text-decoration:line-through}
.hgp-sheet__foot{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:26px;font-size:12px;color:var(--mut)}
@media (max-width:720px){.hgp-sheet__grid{grid-template-columns:1fr}}
@media print{body *{visibility:hidden}.hgp-sheet,.hgp-sheet *{visibility:visible}.hgp-sheet{position:absolute;left:0;top:0;box-shadow:none;border:0;padding:0;max-width:none}.hgp-sheet__bar .hgp-btn{display:none}.hgp-sheet__group{break-inside:avoid}}
.hgp button.hgp-btn--navy{background:var(--n1);border-color:var(--n1);color:#fff}.hgp button.hgp-btn--navy:hover{background:var(--b);border-color:var(--b);color:#fff}.hgp button.hgp-btn--ghost{background:transparent;color:var(--ink);border-color:currentColor}

/* --- textsidor (policy, villkor) --- */
.hgp-prose{font-size:16px;color:var(--txt)}.hgp-prose h2{scroll-margin-top:calc(var(--hgp-hdr,0px) + 20px);padding-top:8px;border-top:1px solid var(--line)}
.hgp-prose h2:first-of-type{border-top:0}.hgp-prose a{color:var(--b);text-decoration:underline;text-underline-offset:3px}
.hgp-prose table{margin:12px 0 20px;font-size:14px}.hgp-prose td,.hgp-prose th{padding:10px 14px;text-align:left;vertical-align:top}
.hgp-toc{background:var(--sky);border:1px solid var(--line);border-radius:12px;padding:18px 22px;margin:0 0 28px}.hgp-toc__title{font-weight:800;color:var(--ink);margin:0 0 8px}
.hgp-prose .hgp-toc__list{columns:2;column-gap:28px;list-style:decimal;margin:0 0 0 1.2em}.hgp-toc__list li{break-inside:avoid;margin:0 0 4px}.hgp-toc__list a{text-decoration:none}
.hgp-pagehero .hgp-fine{color:#94a3b8;margin-top:10px}
@media (max-width:640px){.hgp-prose .hgp-toc__list{columns:1}}
.hgp-prose .hgp-facts{list-style:none;margin:0 0 1em;background:var(--sky);border-radius:10px;padding:14px 18px}.hgp-prose .hgp-btn{text-decoration:none;color:var(--ink)}

/* --- hockeygymnasieutbildningar --- */
.hgp-stepsbar{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:8px 0 22px}.hgp-stepsbar li{border-top:4px solid var(--b);padding-top:10px;text-align:center;font-weight:700;color:var(--b);font-size:14px}.hgp-stepsbar li:first-child{border-color:var(--y);color:var(--ink)}
.hgp-filters{display:grid;grid-template-columns:2fr repeat(3,1fr);gap:10px 12px;align-items:end;background:var(--sky);border:1px solid var(--line);border-radius:var(--r);padding:16px;margin-bottom:14px}
.hgp-filters label{display:flex;flex-direction:column;gap:4px;font-size:12px;font-weight:700;color:var(--mut)}
.hgp-filters input,.hgp-filters select{font:inherit;font-size:14px;padding:9px 10px;border:1px solid #b9c6d3;border-radius:8px;background:#fff;color:var(--ink);width:100%}
.hgp-filters .hgp-btn{height:40px}
.hgp-st-meta{display:flex;justify-content:space-between;gap:12px;font-size:14px;color:var(--mut)}.hgp-st-meta p{margin:0 0 10px}.hgp-st-meta b{color:var(--ink)}
.hgp-st{width:100%;border-collapse:separate;border-spacing:0;font-size:14px;background:#fff;border:1px solid var(--line);border-radius:var(--r);overflow:hidden;min-width:860px}
.hgp-st th,.hgp-st td{padding:11px 12px;border-bottom:1px solid var(--line);text-align:left;vertical-align:middle}
.hgp-st thead th{background:var(--n1);color:#fff;font-size:12px;letter-spacing:.04em;text-transform:uppercase;position:sticky;top:0}
.hgp-st tbody th a{font-weight:700;color:var(--ink);text-decoration:none}.hgp-st tbody th a:hover{color:var(--b);text-decoration:underline}.hgp-st tbody th small{display:block;font-weight:400;color:var(--mut)}
.hgp-st .c{text-align:center}.hgp-st tbody tr:hover{background:#f8fafc}.hgp-st-empty{text-align:center;color:var(--mut);padding:28px!important}
.hgp-star{color:var(--y);font-size:15px}
.hgp .hgp-cmpbox{width:22px;height:22px;border:2px solid #94a3b8;border-radius:5px;background:#fff;cursor:pointer;padding:0;display:grid;place-items:center}
.hgp .hgp-cmpbox.is-active{background:var(--b);border-color:var(--b)}.hgp .hgp-cmpbox.is-active::after{content:"\2713";color:#fff;font-weight:900;font-size:13px}
@media (max-width:1024px){.hgp-filters{grid-template-columns:1fr 1fr}}@media (max-width:560px){.hgp-filters,.hgp-stepsbar{grid-template-columns:1fr}}

/* --- webbplatskarta --- */
.hgp-sitemap{display:grid;grid-template-columns:1fr 2.4fr;gap:clamp(24px,4vw,48px)}
.hgp-sitemap h2{font-size:22px;margin-bottom:14px}.hgp-sitemap ul li{padding:5px 0;border-bottom:1px solid var(--line);font-size:15px}.hgp-sitemap a{color:var(--ink);text-decoration:none}.hgp-sitemap a:hover{color:var(--b);text-decoration:underline}
.hgp-sitemap__schools{columns:2;column-gap:32px}.hgp-sitemap__schools section{break-inside:avoid;margin-bottom:22px}.hgp-sitemap__schools h3{font-size:16px;color:var(--b);margin:0 0 6px}.hgp-sitemap__schools h3 small{color:var(--mut);font-weight:400}
.hgp-sitemap__schools li{font-size:14px}
@media (max-width:900px){.hgp-sitemap{grid-template-columns:1fr}}@media (max-width:600px){.hgp-sitemap__schools{columns:1}}
.hgp-flow--3{grid-template-columns:repeat(3,1fr)}@media (max-width:720px){.hgp-flow--3{grid-template-columns:1fr}}.hgp-formcard .hgp-h3{margin-bottom:16px}

/* --- sidopanelens meny --- */
.hgp-side-toggle{display:inline-flex;flex-direction:column;justify-content:center;gap:5px;width:42px;height:42px;padding:9px;margin-right:10px;background:transparent;border:0;border-radius:8px;cursor:pointer;flex:none}
.hgp-side-toggle span{display:block;height:3px;border-radius:2px;background:#fff}.hgp-side-toggle:hover{background:rgba(255,255,255,.08)}.hgp-side-toggle:focus-visible{outline:2px solid #e4b922;outline-offset:2px}
.hgp-side{position:fixed;inset:0;z-index:100000}.hgp-side[hidden]{display:none}
.hgp-side__backdrop{position:absolute;inset:0;background:rgba(0,13,24,.55);animation:hgpFade .2s ease}
.hgp-side__panel{position:absolute;top:0;left:0;bottom:0;width:min(340px,88vw);background:#fff;color:#334155;overflow-y:auto;padding:24px 22px 32px;box-shadow:10px 0 40px rgba(0,0,0,.3);animation:hgpSlide .25s ease;outline:0}
.hgp-side__close{position:absolute;top:12px;right:12px;width:38px;height:38px;border:0;border-radius:50%;background:#eef2f7;color:#001321;font-size:24px;line-height:1;cursor:pointer}
.hgp-side__title{font-size:15px;text-transform:uppercase;letter-spacing:.06em;color:#001321;margin:6px 0 16px;font-weight:700}
.hgp-side__search{display:grid;gap:10px;padding-bottom:20px;border-bottom:1px solid #d8e1ea;margin-bottom:6px}
.hgp-side__search label{display:flex;flex-direction:column;gap:4px;font-size:12px;font-weight:700;color:#64748b}
.hgp-side__search select{font:inherit;font-size:14px;padding:9px 10px;border:1px solid #b9c6d3;border-radius:8px;background:#fff;color:#0f172a}
.hgp-side .hgp-side__submit{background:#e4b922;border:0;border-radius:8px;padding:11px;font:inherit;font-weight:800;color:#0f172a;cursor:pointer}.hgp-side .hgp-side__submit:hover{background:#f2cd45}
.hgp-side__heading{font-size:13px;font-weight:800;color:#001321;margin:18px 0 6px}
.hgp-side__nav ul{list-style:none;margin:0;padding:0}.hgp-side__nav li{margin:0}.hgp-side__nav a{display:block;padding:7px 0 7px 12px;font-size:14px;color:#0f172a;text-decoration:none;border-left:2px solid transparent}
.hgp-side__nav a:hover,.hgp-side__nav .current-menu-item>a{border-color:#e4b922;color:#003c69}
.hgp-side__nav+.hgp-side__nav{border-top:1px solid #d8e1ea;margin-top:16px}
body.hgp-side-open{overflow:hidden}
@keyframes hgpSlide{from{transform:translateX(-100%)}to{transform:none}}@keyframes hgpFade{from{opacity:0}to{opacity:1}}
@media (prefers-reduced-motion:reduce){.hgp-side__panel,.hgp-side__backdrop{animation:none}}
body.admin-bar .hgp-side__panel{top:32px}@media (max-width:782px){body.admin-bar .hgp-side__panel{top:46px}}
.hgp-side button[type=submit].hgp-side__submit{background:#e4b922;border:0;color:#0f172a}.hgp-side button[type=submit].hgp-side__submit:hover{background:#f2cd45;color:#0f172a}
