/* ==========================================================================
   Hockeygymnasiet Child – egen CSS
   ========================================================================== */

:root {
	--hgc-panel-w: 300px;
	--hgc-header-h: 72px;
	--hgc-top: calc(var(--wp-admin--admin-bar--height, 0px) + var(--hgc-header-h));
	--hgc-accent: #003c69;
	--hgc-accent-soft: #eaf1f7;
	--hgc-text: #0b1a30;
	--hgc-muted: #5a6b80;
	--hgc-border: #e1e7ee;
}

.hgc-hidden { display: none !important; }

/* ---------- Sidhuvud ---------- */
.hgc-header { z-index: 100; }
.hgc-header .hgc-header__inner {
	display: flex;
	align-items: center;
	gap: 18px;
	max-width: none;
	width: 100%;
	min-height: var(--hgc-header-h);
	padding: 0 28px 0 20px;
	margin: 0;
}
.hgc-panel-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 10px;
	background: transparent;
	color: #fff;
	cursor: pointer;
	flex: 0 0 auto;
}
.hgc-panel-toggle:hover,
.hgc-panel-toggle:focus-visible { background: rgba(255, 255, 255, .1); }
.hgc-panel-toggle__open { display: none; }
html:not(.hgc-open) .hgc-panel-toggle__close { display: none; }
html:not(.hgc-open) .hgc-panel-toggle__open { display: inline-flex; }

.hgc-branding { display: flex; align-items: center; flex: 0 0 auto; }
.hgc-logo { display: inline-flex; align-items: center; line-height: 0; }
.hgc-header .hgc-logo img { display: block; width: 179px; max-width: none; height: 50px; object-fit: contain; }

.hgc-header .hgc-header__actions { margin-left: auto !important; display: flex; align-items: center; gap: 22px; }
.hgc-header__link {
	color: #fff;
	font-weight: 600;
	font-size: 15px;
	text-decoration: none;
	white-space: nowrap;
}
.hgc-header__link:hover,
.hgc-header__link:focus-visible { color: #f2c94c; text-decoration: none; }

/* ---------- Sidopanel (del av layouten, under sidhuvudet) ---------- */
.hgc-panel {
	position: fixed;
	top: var(--hgc-top);
	left: 0;
	bottom: 0;
	width: var(--hgc-panel-w);
	background: #fff;
	border-right: 1px solid var(--hgc-border);
	overflow-y: auto;
	overscroll-behavior: contain;
	z-index: 90;
	transform: translateX(-100%);
	visibility: hidden;
	transition: transform .25s ease, visibility 0s linear .25s;
	color: var(--hgc-text);
}
html.hgc-open .hgc-panel {
	transform: none;
	visibility: visible;
	transition: transform .25s ease, visibility 0s;
}
.hgc-panel__inner { padding: 22px 14px 40px; }

/* Innehållet flyttas åt sidan i stället för att täckas (stora skärmar). */
@media (min-width: 1024px) {
	.hgc-has-panel .site-main,
	.hgc-has-panel .site-footer,
	.hgc-has-panel .compare-bar {
		transition: margin-left .25s ease;
	}
	html.hgc-open .hgc-has-panel .site-main,
	html.hgc-open .hgc-has-panel .site-footer {
		margin-left: var(--hgc-panel-w);
	}
	html.hgc-open .hgc-has-panel .compare-bar {
		left: var(--hgc-panel-w);
	}
}

/* Sök */
.hgc-panel__section + .hgc-panel__section { margin-top: 18px; }
.hgc-panel__search-title {
	margin: 0 0 12px;
	padding-left: 10px;
	border-left: 4px solid var(--hgc-accent);
	font-size: 15px;
	font-weight: 800;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: var(--hgc-accent);
	line-height: 1.2;
}
.hgc-panel__search { display: grid; gap: 10px; padding: 0 8px; }
.hgc-panel__search label { display: block; font-size: 0; }
.hgc-panel__search select {
	width: 100%;
	height: 38px;
	padding: 0 10px;
	border: 1px solid #c9d3de;
	border-radius: 8px;
	background-color: #fff;
	color: var(--hgc-text);
	font-size: 14px;
}
.hgc-panel__submit {
	height: 38px;
	border: 0;
	border-radius: 8px;
	background: var(--hgc-accent);
	color: #fff;
	font-weight: 700;
	font-size: 14px;
	cursor: pointer;
}
.hgc-panel__submit:hover { background: #002a4a; }

/* Sektionsrubriker */
.hgc-panel__heading {
	margin: 0 0 6px;
	padding: 8px 12px;
	border-radius: 6px;
	background: var(--hgc-accent-soft);
	color: var(--hgc-accent);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .06em;
	text-transform: uppercase;
	line-height: 1.3;
}
.hgc-panel__heading::before { content: "\25CF"; margin-right: 8px; font-size: 9px; vertical-align: 2px; }

/* Länkar */
.hgc-panel__menu { list-style: none; margin: 0; padding: 0; }
.hgc-panel__menu a {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px 10px;
	border-radius: 6px;
	color: var(--hgc-text);
	font-size: 15px;
	text-decoration: none;
	line-height: 1.3;
}
.hgc-panel__menu a:hover,
.hgc-panel__menu a:focus-visible { background: #f3f6f9; color: var(--hgc-accent); }
.hgc-panel__menu .is-current > a {
	background: var(--hgc-accent);
	color: #fff;
	font-weight: 600;
}
.hgc-panel__menu .is-current .hgc-prem { background: rgba(255, 255, 255, .18); color: #fff; }

/* Premium-märke */
.hgc-prem {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 2px 7px 2px 3px;
	border-radius: 999px;
	background: var(--hgc-accent-soft);
	color: var(--hgc-accent);
	font-size: 9.5px;
	font-weight: 800;
	letter-spacing: .06em;
	text-transform: uppercase;
	white-space: nowrap;
}
.hgc-prem img { width: 14px; height: 14px; border-radius: 50%; }

/* ---------- Surfplatta och mobil ---------- */
@media (max-width: 1023px) {
	.hgc-panel {
		width: min(420px, 100%);
		box-shadow: 0 12px 30px rgba(11, 26, 48, .18);
	}
	.hgc-header .hgc-header__inner { padding: 0 16px 0 10px; gap: 10px; }
	.hgc-header__actions { gap: 14px; }
}
@media (max-width: 600px) {
	.hgc-panel { width: 100%; }
	.hgc-header .hgc-logo img { width: 143px; height: 40px; }
	.hgc-header__link { font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
	.hgc-panel,
	.hgc-has-panel .site-main,
	.hgc-has-panel .site-footer { transition: none !important; }
}

/* ==========================================================================
   Kalender – Tryouts, camps och turneringar (listlayout)
   ========================================================================== */
.hgc-cal-loading .hgp-wrap { min-height: 520px; visibility: hidden; }
.hgc-cal { --hgc-cal-ink: #001321; color: #fff; }

.hgc-cal__eyebrow {
	display: inline-flex; align-items: center; gap: 10px; margin: 0 0 10px;
	color: #9fb6cc; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.hgc-cal__eyebrow::before { content: ""; width: 14px; height: 2px; background: #e5b723; border-radius: 2px; }
.hgc-cal__title { margin: 0 0 10px; color: #fff; font-size: clamp(30px, 3.2vw, 44.8px); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.hgc-cal__sub { margin: 0 0 18px; max-width: 560px; color: #c3d1de; font-size: 16.8px; line-height: 1.5; }
.hgc-cal__count {
	display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px;
	border: 1px solid rgba(255, 255, 255, .14); border-radius: 999px; background: rgba(255, 255, 255, .08);
	font-size: 14px; font-weight: 600; color: #fff;
}
.hgc-cal__count i { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 4px rgba(74, 222, 128, .18); }

.hgc-cal__filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 14px; }
.hgc-cal__chip {
	display: inline-flex; align-items: center; padding: 8px 14px; border-radius: 999px; cursor: pointer;
	border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .06); color: #fff;
	font: inherit; font-size: 14px; font-weight: 600; line-height: 1.2;
}
.hgc-cal__chip small { margin-left: 6px; font-size: 11.2px; opacity: .75; }
.hgc-cal__chip:hover { background: rgba(255, 255, 255, .12); }
.hgc-cal__chip.is-on { background: #fff; border-color: #fff; color: var(--hgc-cal-ink); }

.hgc-cal__tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.hgc-cal__adds { display: flex; flex-wrap: wrap; gap: 8px; }
.hgc-cal__add {
	display: inline-flex; align-items: center; padding: 8px 14px; border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, .25); color: #fff; font-size: 13.5px; font-weight: 700; text-decoration: none; line-height: 1.2;
}
.hgc-cal__add:hover { border-color: #fff; color: #fff; text-decoration: none; }
.hgc-cal__add--pri { background: #e5b723; border-color: #e5b723; color: var(--hgc-cal-ink); }
.hgc-cal__add--pri:hover { background: #f2c94c; border-color: #f2c94c; color: var(--hgc-cal-ink); }
.hgc-cal__add--adm { border-style: dashed; opacity: .7; font-weight: 600; }

.hgc-cal__pager { display: flex; align-items: center; gap: 8px; color: rgba(255, 255, 255, .7); font-size: 13.6px; }
.hgc-cal__pager span { margin-right: 6px; }
.hgc-cal__arr {
	width: 44px; height: 44px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 6px; background: transparent;
	color: #fff; font-size: 22px; line-height: 1; cursor: pointer;
}
.hgc-cal__arr:hover:not([disabled]) { background: rgba(255, 255, 255, .1); }
.hgc-cal__arr[disabled] { opacity: .35; cursor: default; }

.hgc-cal__list { display: grid; gap: 8px; }
.hgc-cal__item {
	display: grid; grid-template-columns: 82px 40px minmax(0, 1fr) auto; align-items: center; gap: 14px;
	padding: 10px 14px; border-radius: 14px; background: #fff; color: #0d1b2a;
}
.hgc-cal__date {
	display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 58px;
	border-radius: 10px; background: #1f8a4c; color: #fff; text-align: center; line-height: 1.1;
}
.hgc-cal__date b { font-size: 21.6px; font-weight: 800; }
.hgc-cal__date span { margin-top: 2px; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.hgc-cal__date--tryout { background: #003c69; }
.hgc-cal__date--camp { background: #e5b723; color: #001321; }

.hgc-cal__icon {
	display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; overflow: hidden;
	border: 1px solid #e3e9f0; border-radius: 50%; background: #f5f7fa;
}
.hgc-cal__icon img { width: 100%; height: 100%; object-fit: cover; }
.hgc-cal__icon em { font-style: normal; font-size: 12px; font-weight: 800; color: #003c69; }

.hgc-cal__top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.hgc-cal__org { font-size: 16px; font-weight: 800; color: #001321; }
.hgc-cal__badge {
	padding: 3px 9px; border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
	background: #e3f4e9; color: #17643a;
}
.hgc-cal__badge--tryout { background: #e5eef6; color: #003c69; }
.hgc-cal__badge--camp { background: #fdf3d3; color: #7a5a00; }
.hgc-cal__name { margin: 2px 0 4px; font-size: 16px; font-weight: 600; color: #0d1b2a; line-height: 1.3; }
.hgc-cal__meta { display: flex; flex-wrap: wrap; gap: 2px 14px; font-size: 12.8px; color: #5b6b7c; }
.hgc-cal__meta span { display: inline-flex; align-items: center; gap: 5px; }
.hgc-cal__meta svg { width: 14px; height: 14px; flex: 0 0 14px; }

.hgc-cal__cta { display: flex; align-items: center; gap: 14px; justify-self: end; }
.hgc-cal__btn {
	display: inline-flex; align-items: center; padding: 9px 14px; border-radius: 10px; background: #003c69;
	color: #fff; font-size: 13.5px; font-weight: 700; text-decoration: none; white-space: nowrap;
}
.hgc-cal__btn:hover { background: #002a4a; color: #fff; text-decoration: none; }
.hgc-cal__edit { color: #5b6b7c; font-size: 13px; text-decoration: underline; }
.hgc-cal__edit:hover { color: #003c69; }

.hgc-cal__empty { padding: 22px; border-radius: 14px; background: rgba(255, 255, 255, .06); color: #c3d1de; }
.hgc-cal__foot { margin: 16px 0 0; color: #c3d1de; font-size: 14px; }
.hgc-cal__foot a { color: #fff; font-weight: 700; text-decoration: underline; }

/* Surfplatta och mobil (som ny26): knapparna delar raden lika, bläddringen ligger till höger. */
@media (max-width: 1023px) {
	.hgc-cal__tools { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
	.hgc-cal__adds { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
	.hgc-cal__add { justify-content: center; text-align: center; }
	.hgc-cal__add--adm { grid-column: 1 / -1; justify-self: center; }
	.hgc-cal__pager { justify-self: end; }
}
/* Mobil: datum + text, ikonen göms och knappen ligger i full bredd under. */
@media (max-width: 767px) {
	.hgc-cal__filter { flex-wrap: nowrap; gap: 6px; }
	.hgc-cal__chip { flex: 1 1 auto; justify-content: center; padding: 7px 6px; font-size: 12.5px; white-space: nowrap; }
	.hgc-cal__chip small { margin-left: 4px; }
	.hgc-cal__add { padding: 8px 10px; font-size: 12.5px; }
	.hgc-cal__item { grid-template-columns: 68px minmax(0, 1fr); grid-template-areas: "date main" "cta cta"; gap: 12px; padding: 10px 12px; }
	.hgc-cal__date { grid-area: date; align-self: start; min-height: 54px; }
	.hgc-cal__icon { display: none; }
	.hgc-cal__main { grid-area: main; }
	.hgc-cal__cta { grid-area: cta; justify-self: stretch; gap: 12px; }
	.hgc-cal__btn { flex: 1; justify-content: center; font-size: 12.5px; }
	.hgc-cal__meta { flex-direction: column; gap: 2px; }
}
@media (max-width: 380px) {
	.hgc-cal__chip { font-size: 11.5px; padding: 7px 4px; }
	.hgc-cal__chip small { margin-left: 3px; }
}

/* Starkare regler så att föräldratemats stilar för mörka sektioner inte tar över. */
section.hgc-cal-on .hgc-cal p { line-height: 1.4; }
section.hgc-cal-on .hgc-cal p.hgc-cal__eyebrow { margin: 0 0 10px; color: #9fb6cc; }
section.hgc-cal-on .hgc-cal p.hgc-cal__sub { margin: 0 0 18px; color: #c3d1de; }
section.hgc-cal-on .hgc-cal p.hgc-cal__name { margin: 2px 0 4px; color: #0d1b2a; font-size: 16px; font-weight: 600; }
section.hgc-cal-on .hgc-cal .hgc-cal__item a.hgc-cal__btn { color: #fff; }
section.hgc-cal-on .hgc-cal .hgc-cal__item a.hgc-cal__edit { color: #5b6b7c; font-weight: 500; }
section.hgc-cal-on .hgc-cal .hgc-cal__item a.hgc-cal__edit:hover { color: #003c69; }
section.hgc-cal-on .hgc-cal a.hgc-cal__add--pri { color: #001321; }
section.hgc-cal-on .hgc-cal p.hgc-cal__foot { margin: 16px 0 0; color: #c3d1de; }
section.hgc-cal-on .hgc-cal p.hgc-cal__foot a { color: #fff; }

/* ==========================================================================
   Startsidans hero: bildspel i duotonfärg med pixel-övergång. Färgtemat
   (--hgc-c, --hgc-acc, --hgc-d) byts med varje bild och färgar även
   sökrutan, kortet, nedräkningsraden och statistikraden.
   ========================================================================== */
@property --hgc-c   { syntax: "<color>"; inherits: true; initial-value: #2f6bff; }
@property --hgc-acc { syntax: "<color>"; inherits: true; initial-value: #8fb8ff; }
@property --hgc-d   { syntax: "<color>"; inherits: true; initial-value: #020a2c; }
:root { transition: --hgc-c 1s ease, --hgc-acc 1s ease, --hgc-d 1s ease; }

.hgp-hero.hgc-fx { position: relative; overflow: hidden; background: #000; isolation: isolate; }
.hgp-hero.hgc-fx .hgp-hero__bg { display: none; }
.hgp-hero.hgc-fx > .hgp-wrap { position: relative; z-index: 2; }

.hgc-stage { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.hgc-slide {
	position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease;
	background: var(--slide-d);
}
.hgc-slide.is-on { opacity: 1; }
.hgc-slide img {
	position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
	filter: grayscale(1) contrast(1.2) brightness(1.05);
	transform: scale(1.1); transition: transform 8s cubic-bezier(.2, .6, .3, 1);
}
.hgc-slide.is-on img { transform: scale(1); }
/* Duoton: färgen multipliceras över gråskalan, den mörka tonen lyfter skuggorna. */
.hgc-slide::before, .hgc-slide::after { content: ""; position: absolute; inset: 0; }
.hgc-slide::before { background: var(--slide-c); mix-blend-mode: multiply; }
.hgc-slide::after  { background: var(--slide-d); mix-blend-mode: lighten; }
.hgc-px { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; z-index: 1; image-rendering: pixelated; }
.hgc-shade {
	position: absolute; inset: 0; z-index: 2;
	background:
		linear-gradient(0deg, rgba(0, 0, 0, .78) 0%, rgba(0, 0, 0, .28) 48%, rgba(0, 0, 0, .08) 100%),
		linear-gradient(90deg, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, 0) 62%);
}

/* Räknare och förloppsstaplar nere till vänster */
.hgc-hero-ui {
	position: absolute; left: 56px; bottom: 26px; z-index: 3;
	display: flex; align-items: center; gap: 12px; color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .12em;
}
.hgc-hero-ui__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--hgc-acc); }
.hgc-hero-ui__bars { display: flex; gap: 6px; }
.hgc-hero-ui__bar {
	position: relative; width: 42px; height: 14px; padding: 0; border: 0; background: transparent; cursor: pointer;
}
.hgc-hero-ui__bar span { position: absolute; left: 0; right: 0; top: 6px; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, .25); overflow: hidden; }
.hgc-hero-ui__bar i { position: absolute; inset: 0; width: 0; background: var(--hgc-acc); }
.hgc-hero-ui__bar.is-done i { width: 100%; }
.hgc-hero-ui__bar.is-on i { animation: hgc-bar var(--hgc-dur, 8s) linear forwards; }
.hgc-fx.is-paused .hgc-hero-ui__bar.is-on i { animation-play-state: paused; }
@keyframes hgc-bar { from { width: 0; } to { width: 100%; } }

/* Rubrikens andra rad i temafärgen */
.hgc-acc { color: var(--hgc-acc); transition: color 1s ease; }

/* Sökrutan som glas i temafärgen */
.hgc-fx .hgp-search {
	background: color-mix(in srgb, var(--hgc-d) 58%, transparent);
	-webkit-backdrop-filter: blur(16px) saturate(150%); backdrop-filter: blur(16px) saturate(150%);
	border: 1px solid color-mix(in srgb, var(--hgc-acc) 55%, transparent);
	box-shadow: 0 20px 50px -25px rgba(0, 0, 0, .8);
}
.hgc-fx .hgp-search label { color: rgba(255, 255, 255, .7); border-color: rgba(255, 255, 255, .14); }
.hgc-fx .hgp-search select { color: #fff; background-color: transparent; }
.hgc-fx .hgp-search select option { color: #0b1a30; }
.hgc-fx .hgp-search .hgp-btn { background: var(--hgc-acc); color: var(--hgc-d); border-color: var(--hgc-acc); }
.hgc-fx .hgp-usp li::before { color: var(--hgc-acc); }

/* Kortet som glas i temafärgen */
.hgc-fx .hgp-preview {
	background: color-mix(in srgb, var(--hgc-d) 66%, transparent);
	-webkit-backdrop-filter: blur(20px) saturate(150%); backdrop-filter: blur(20px) saturate(150%);
	border: 1px solid rgba(255, 255, 255, .14); color: #fff;
	box-shadow: 0 30px 60px -25px rgba(0, 0, 0, .85);
}
.hgc-fx .hgp-preview__head { background: color-mix(in srgb, var(--hgc-c) 38%, transparent); border-bottom: 1px solid rgba(255, 255, 255, .12); }
.hgc-fx .hgp-preview .hgp-badge { background: color-mix(in srgb, var(--hgc-acc) 22%, transparent); color: var(--hgc-acc); border: 1px solid color-mix(in srgb, var(--hgc-acc) 45%, transparent); }
.hgc-fx .hgp-preview dl > div { border-color: rgba(255, 255, 255, .12); }
.hgc-fx .hgp-preview dt { color: rgba(255, 255, 255, .72); }
.hgc-fx .hgp-preview dd, .hgc-fx .hgp-preview dd a { color: #fff; }
.hgc-fx .hgp-preview__foot { border-color: rgba(255, 255, 255, .12); background: transparent; }
.hgc-fx .hgp-preview__foot .hgp-btn { background: var(--hgc-acc); color: var(--hgc-d); border-color: var(--hgc-acc); }
.hgc-fx .hgp-preview__nav, .hgc-fx .hgp-preview__nav span { color: rgba(255, 255, 255, .8); }
.hgc-fx .hgp-preview .hgp-arrow { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .3); }
.hgc-fx .hgp-preview__card-in { animation: hgc-card-in .5s ease; }
@keyframes hgc-card-in { from { opacity: .35; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Nedräkningsraden ovanför och statistikraden under heron */
.hgc-themed.hgp-topbar {
	position: relative;
	background: color-mix(in srgb, var(--hgc-d) 85%, #000);
}
.hgc-themed.hgp-topbar::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
	background: linear-gradient(90deg, transparent, var(--hgc-acc), transparent);
}
.hgc-themed.hgp-topbar b { color: var(--hgc-acc); border-color: color-mix(in srgb, var(--hgc-acc) 40%, transparent); background: color-mix(in srgb, var(--hgc-acc) 12%, transparent); }
.hgc-themed.hgp-stats {
	position: relative; overflow: hidden;
	background: color-mix(in srgb, var(--hgc-d) 85%, #000);
}
.hgc-themed.hgp-stats::before {
	content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; z-index: 1;
	background: linear-gradient(90deg, transparent, var(--hgc-acc), transparent);
}
.hgc-themed.hgp-stats::after {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background: radial-gradient(60% 140% at 50% 0%, color-mix(in srgb, var(--hgc-c) 22%, transparent), transparent 70%);
}
.hgc-themed.hgp-stats .hgp-wrap { position: relative; z-index: 1; }
.hgc-themed.hgp-stats b { color: var(--hgc-acc); transition: color 1s ease; }

@media (max-width: 760px) {
	.hgc-hero-ui { left: 20px; bottom: 14px; }
	.hgc-hero-ui__bar { width: 28px; }
}
@media (prefers-reduced-motion: reduce) {
	.hgc-slide img { transition: none; transform: none; }
	.hgc-hero-ui__bar.is-on i { animation: none; width: 100%; }
}

/* Föräldratemats mörka hero-övertoning och gula sökknapp ersätts av temafärgerna. */
.hgp-hero.hgc-fx::before,
.hgp-hero.hgc-fx::after { display: none !important; }
.hgp-hero.hgc-fx .hgp-search .hgp-btn,
.hgp-hero.hgc-fx .hgp-preview__foot .hgp-btn {
	background: var(--hgc-acc) !important;
	border-color: var(--hgc-acc) !important;
	color: var(--hgc-d) !important;
}
/* Färglagren ska ligga ovanpå bilden. */
.hgc-slide img { z-index: 0; }
.hgc-slide::before { z-index: 1; }
.hgc-slide::after { z-index: 2; }

/* Klubblogotyp i hero-kortet */
.hgp-preview__logo.hgc-club-logo { background: #fff; overflow: hidden; }
.hgp-preview__logo.hgc-club-logo img { width: 100%; height: 100%; object-fit: contain; padding: 3px; box-sizing: border-box; }

/* ---------- Hero: sökrutans underkant i linje med kortets underkant (dator) ---------- */
@media (min-width: 761px) {
	.hgp-hero.hgc-fx > .hgp-wrap { align-items: end; }
	.hgp-hero.hgc-fx > .hgp-wrap > div:first-child { position: relative; }
	.hgp-hero.hgc-fx .hgp-usp { position: absolute; left: 0; right: 0; top: 100%; margin-top: 14px; }
}

/* ---------- Hero på mobil (som ny26) ---------- */
@media (max-width: 760px) {
	/* Raden med NIU/LIP-nedräkningen visas inte på mobil. */
	.hgp-topbar { display: none !important; }

	.hgp-hero.hgc-fx { padding-top: 0; padding-bottom: 28px; }
	.hgp-hero.hgc-fx > .hgp-wrap { display: block; }
	/* Hela bildbanern syns först; rubrik, sök och bildräknare ligger längst ned i den. */
	.hgp-hero.hgc-fx > .hgp-wrap > div:first-child {
		min-height: calc(100svh - var(--hgc-top, 120px));
		display: flex; flex-direction: column; justify-content: flex-end;
		padding-top: 48px; padding-bottom: 96px; box-sizing: border-box; /* plats för Klaviyo- och cookieknappar */
	}
	.hgp-hero.hgc-fx h1 { font-size: clamp(30px, 8.4vw, 38px); line-height: 1.08; }

	/* Sökfunktionen som en rad i full bredd med en ikonknapp. */
	.hgp-hero.hgc-fx .hgp-search {
		display: grid !important;
		grid-template-columns: repeat(3, minmax(0, 1fr)) 52px;
		gap: 0; width: 100%; padding: 6px; border-radius: 14px; box-sizing: border-box;
	}
	.hgp-hero.hgc-fx .hgp-search label {
		display: flex; flex-direction: column; gap: 2px; min-width: 0; margin: 0;
		padding: 6px 10px; font-size: 11px; border: 0; border-right: 1px solid rgba(255, 255, 255, .14);
	}
	.hgp-hero.hgc-fx .hgp-search label:nth-of-type(3) { border-right: 0; }
	.hgp-hero.hgc-fx .hgp-search select {
		width: 100%; min-width: 0; padding: 0 14px 0 0; border: 0; height: auto; min-height: 0;
		font-size: 14px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; overflow: hidden;
	}
	.hgp-hero.hgc-fx .hgp-search .hgp-btn {
		display: flex; align-items: center; justify-content: center;
		width: 52px; min-width: 0; height: auto; min-height: 52px; padding: 0; margin: 0;
		font-size: 0 !important; border-radius: 10px;
	}
	.hgp-hero.hgc-fx .hgp-search .hgp-btn::before {
		content: ""; width: 20px; height: 20px; background: currentColor;
		-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5' fill='none' stroke='black' stroke-width='2.6'/%3E%3Cpath d='M15.5 15.5L21 21' stroke='black' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
		mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5' fill='none' stroke='black' stroke-width='2.6'/%3E%3Cpath d='M15.5 15.5L21 21' stroke='black' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
	}
	/* De tre punkterna bredvid varandra på en rad. */
	.hgp-hero.hgc-fx .hgp-usp { position: static; display: flex; flex-wrap: nowrap; justify-content: space-between; gap: 6px; margin: 12px 0 0; font-size: clamp(10px, 2.8vw, 12.5px); }
	.hgp-hero.hgc-fx .hgp-usp > * { white-space: nowrap; margin: 0 !important; }

	/* Bildbytet (räknare + staplar) direkt under sökfunktionen. */
	.hgc-hero-ui.is-inline { position: static; margin-top: 16px; }
	.hgc-hero-ui.is-inline .hgc-hero-ui__bar { width: 34px; }

	/* Kortet ligger längre ned och syns när man börjar skrolla. */
	.hgp-hero.hgc-fx .hgp-preview { margin-top: 56px; }

	/* Statistikraden som 2 × 2. */
	.hgc-themed.hgp-stats ul { display: grid !important; grid-template-columns: 1fr 1fr; gap: 18px 0; }
	.hgc-themed.hgp-stats li { border-left: 0 !important; }
	.hgc-themed.hgp-stats li:nth-child(even) { border-left: 1px solid rgba(255, 255, 255, .12) !important; }
}
@media (max-width: 760px) {
	.hgc-themed.hgp-stats b { font-size: clamp(22px, 6.4vw, 30px); white-space: nowrap; }
}

/* ---------- Händelseticker "På gång" under startsidans navigering ---------- */
.hgc-tk { background: #fff; border-bottom: 1px solid #e3e9f0; color: #001321; }
.hgc-tk__in { display: flex; align-items: center; gap: 14px; max-width: 1240px; margin: 0 auto; padding: 12px 24px; }
.hgc-tk__lb {
	flex: none; display: inline-flex; align-items: center; padding: 8px 14px; border-radius: 999px;
	background: #eef3f8; color: #001321 !important; font-size: 11.5px; font-weight: 800; letter-spacing: .1em;
	text-transform: uppercase; text-decoration: none !important; transition: transform .2s ease, box-shadow .2s ease;
}
.hgc-tk__lb:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0, 19, 33, .12); }
.hgc-tk__vp {
	flex: 1; min-width: 0; overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 28px, #000 calc(100% - 28px), transparent);
	mask-image: linear-gradient(90deg, transparent, #000 28px, #000 calc(100% - 28px), transparent);
}
.hgc-tk__tr { display: flex; width: max-content; animation: hgc-tk-scroll var(--hgc-tk-dur, 30s) linear infinite; }
.hgc-tk__vp:hover .hgc-tk__tr, .hgc-tk__vp:focus-within .hgc-tk__tr { animation-play-state: paused; }
.hgc-tk__set { display: flex; flex: none; gap: 10px; padding-right: 10px; }
@keyframes hgc-tk-scroll { to { transform: translateX(-50%); } }
.hgc-tk__it {
	display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; padding: 6px 14px 6px 8px;
	border: 1px solid #e3e9f0; border-radius: 999px; background: #fff; color: #001321 !important;
	font-size: 14px; line-height: 1.2; text-decoration: none !important; transition: border-color .2s ease, box-shadow .2s ease;
}
a.hgc-tk__it:hover { border-color: #c5d2e0; box-shadow: 0 4px 12px rgba(0, 19, 33, .08); }
.hgc-tk__it b { font-weight: 700; }
.hgc-tk__ty {
	padding: 4px 9px; border-radius: 999px; font-size: 10.25px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
	background: #fff2d6; color: #8a5a00;
}
.hgc-tk__it--tryout .hgc-tk__ty { background: #e3f0ff; color: #0b4fb3; }
.hgc-tk__it--camp .hgc-tk__ty { background: #e1f7ec; color: #0b7a45; }
.hgc-tk__dt { color: #5b6b7b; font-size: 12.5px; }
@media (max-width: 760px) {
	.hgc-tk__in { padding: 10px 16px; gap: 10px; }
	/* På mobil kan man även svepa själv. */
	.hgc-tk__vp { overflow-x: auto; scrollbar-width: none; }
	.hgc-tk__vp::-webkit-scrollbar { display: none; }
	.hgc-tk__it { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
	.hgc-tk__tr { animation: none; }
	.hgc-tk__vp { overflow-x: auto; scrollbar-width: none; }
	.hgc-tk__set[aria-hidden] { display: none; }
}

/* ==========================================================================
   Sidfot (som ny26)
   ========================================================================== */
.site-footer.hgc-foot {
	--hgc-f-line: rgba(255, 255, 255, .10); --hgc-f-txt: #c9d4df; --hgc-f-mut: #8a9bad; --hgc-f-gold: #f2c230;
	margin-top: 0; padding: 0; border: 0;
	background: radial-gradient(1200px 400px at 85% 0%, #0a2a47 0%, transparent 60%), #04121f;
	color: var(--hgc-f-txt); font-size: 15px; line-height: 1.55;
}
.hgc-foot a { color: inherit; text-decoration: none; transition: color .15s; }
.hgc-foot a:hover, .hgc-foot a:focus-visible { color: #fff; }
.hgc-foot__wrap { max-width: 1200px; margin: 0 auto; padding: 64px 24px 0; }
.hgc-foot__grid {
	display: grid; grid-template-columns: 1.35fr 1fr 1fr 1fr; gap: 48px;
	padding-bottom: 48px; border-bottom: 1px solid var(--hgc-f-line);
}
.hgc-foot__brand img { display: block; width: 170px; height: auto; margin-bottom: 18px; }
.hgc-foot__brand p { margin: 0 0 22px; max-width: 320px; color: var(--hgc-f-txt); }
.hgc-foot .hgc-foot__cta {
	display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 8px;
	background: var(--hgc-f-gold); color: #04121f; font-size: 14px; font-weight: 700;
}
.hgc-foot .hgc-foot__cta:hover { color: #04121f; filter: brightness(1.07); }

.hgc-foot__col h3 { margin: 0; color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .12em; line-height: 1.3; text-transform: uppercase; }
.hgc-foot .hgc-foot__col h3 button {
	all: unset; box-sizing: border-box; display: flex; align-items: center; gap: 8px; width: 100%;
	cursor: default; font: inherit; letter-spacing: inherit; text-transform: inherit; color: inherit;
}
.hgc-foot__col h3 button::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--hgc-f-gold); }
.hgc-foot__chev { display: none; margin-left: auto; transition: transform .2s; }
.hgc-foot__col ul { margin: 18px 0 0; padding: 0; list-style: none; }
.hgc-foot__col li { margin: 0 0 10px; }
.hgc-foot__col li a { display: inline-flex; align-items: center; gap: 8px; padding: 2px 0; }
.hgc-foot__prem {
	display: inline-flex; align-items: center; gap: 4px; padding: 2px 7px 2px 3px; border-radius: 999px;
	background: rgba(255, 255, 255, .14); color: #fff; font-size: 9.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; line-height: 1.4;
}
.hgc-foot__prem img { width: 12px; height: 12px; border-radius: 50%; }

.hgc-foot__bar {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px;
	padding: 22px 0 26px; color: var(--hgc-f-mut); font-size: 13px;
}
.hgc-foot__bar nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.hgc-foot .hgc-foot__top {
	all: unset; box-sizing: border-box; display: inline-flex; align-items: center; gap: 10px; cursor: pointer;
	padding: 4px 4px 4px 16px; border: 1px solid var(--hgc-f-line); border-radius: 999px;
	color: #fff; font-size: 13px; font-weight: 600; line-height: 1.2; transition: background .15s;
}
.hgc-foot .hgc-foot__top:hover, .hgc-foot .hgc-foot__top:focus-visible { background: rgba(255, 255, 255, .08); }
.hgc-foot__top span { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 6px; background: #1f6fd6; }

/* Surfplatta: logotypen över, tre kolumner under. */
@media (max-width: 1024px) {
	.hgc-foot__grid { grid-template-columns: 1fr 1fr 1fr; gap: 36px; }
	.hgc-foot__brand { grid-column: 1 / -1; }
}
/* Mobil: kolumnerna fälls ihop och öppnas med ett tryck. */
@media (max-width: 767px) {
	.hgc-foot__wrap { padding: 44px 20px 0; }
	.hgc-foot__grid { grid-template-columns: 1fr; gap: 0; padding-bottom: 0; }
	.hgc-foot__brand { padding-bottom: 28px; }
	.hgc-foot__col { border-top: 1px solid var(--hgc-f-line); }
	.hgc-foot .hgc-foot__col h3 button { cursor: pointer; padding: 18px 0; }
	.hgc-foot__chev { display: block; }
	.hgc-foot__col ul { margin: 0; max-height: 0; overflow: hidden; transition: max-height .25s ease, padding .25s ease; }
	.hgc-foot__col.is-open ul { max-height: 420px; padding-bottom: 14px; }
	.hgc-foot__col.is-open .hgc-foot__chev { transform: rotate(180deg); }
	.hgc-foot__bar { flex-direction: column; align-items: flex-start; border-top: 1px solid var(--hgc-f-line); }
}
/* Plats för cookieknappen nere till höger så att den inte täcker "Till toppen". */
@media (min-width: 768px) { .hgc-foot__bar { padding-right: 64px; } }


/* Jämför skolor-popup: ingen toppbild – liten klubblogga till höger om skolans namn. */
.hgx-cmp-dlg .compare-table__school .compare-table__media {
	float: left;
	width: 44px;
	height: 44px;
	aspect-ratio: auto;
	margin: 0 12px 6px 0;
	padding: 0;
	background: transparent;
	border-radius: 0;
	overflow: visible;
}
.hgx-cmp-dlg .compare-table__school .compare-table__media img {
	width: 44px;
	height: 44px;
	object-fit: contain;
}
.hgx-cmp-dlg .compare-table__school .compare-table__name {
	display: block;
	overflow: hidden;
	font-size: 0.95rem;
	line-height: 1.3;
	min-height: 44px;
}
.hgx-cmp-dlg .compare-table__school .compare-table__location,
.hgx-cmp-dlg .compare-table__school .compare-table__actions { clear: both; }

/* Dölj publiceringsdatum på guider och inlägg */
.meta__date { display: none !important; }

/* Touch targets: ticker-länkarna minst 48 px höga och med luft emellan (Lighthouse). */
.hgc-tk__it { min-height: 48px; padding-top: 10px; padding-bottom: 10px; box-sizing: border-box; }
.hgc-tk__set { gap: 14px; padding-right: 14px; }


/* Hitta hockeygymnasium: kompaktare filter så att listan syns direkt.
   Dubbel klass + body ger högre specificitet än de äldre reglerna i Anpassa > Ytterligare CSS. */
html body form.hgp-filters.hgp-filters { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px 10px; padding: 12px 14px; margin-bottom: 10px; }
html body form.hgp-filters.hgp-filters > * { grid-area: auto; grid-column: auto; }
html body form.hgp-filters.hgp-filters > .hgp-filters__q { grid-column: span 2; }
html body form.hgp-filters.hgp-filters label { gap: 3px; font-size: 11px; }
html body form.hgp-filters.hgp-filters input,
html body form.hgp-filters.hgp-filters select { padding: 7px 10px; font-size: 14px; min-height: 0; height: 38px; box-sizing: border-box; }
html body form.hgp-filters.hgp-filters > .hgp-btn { margin: 0 !important; /* överstyr marginal-regel med !important i Ytterligare CSS */ box-sizing: border-box; height: 38px; width: 100%; justify-content: center; align-self: end; white-space: nowrap; padding-left: 8px; padding-right: 8px; }
@media (max-width: 1024px) {
  html body form.hgp-filters.hgp-filters { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  html body form.hgp-filters.hgp-filters > .hgp-filters__q { grid-column: 1 / -1; }
  html body form.hgp-filters.hgp-filters > .hgx-show-results { grid-column: span 2; }
}
@media (max-width: 560px) {
  html body form.hgp-filters.hgp-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 8px; padding: 10px; }
  html body form.hgp-filters.hgp-filters > .hgx-show-results { grid-column: auto; }
}

/* Touch targets: klickytor minst 24 px (WCAG 2.2) – utseendet är oförändrat (Lighthouse). */
.hgc-hero-ui__bar { height: 32px; margin-top: -9px; margin-bottom: -9px; }
.hgc-hero-ui__bar > span { top: 15px; }
.site-footer .hgc-foot__col h3 > button { min-height: 24px !important; }
@media (max-width: 1023px) { .site-footer .hgc-foot__col h3 > button { min-height: 44px !important; } }
.hgc-foot__bar nav a, .hgc-foot__col a { padding-top: 3px; padding-bottom: 3px; }
.hgc-header__link { min-height: 32px; }
.compare-bar__remove { min-width: 32px; min-height: 32px; display: inline-flex; align-items: center; justify-content: center; }
.compare-bar__item a { padding-top: 4px; padding-bottom: 4px; }
.hgc-cal__edit { display: inline-flex; align-items: center; min-height: 28px; padding: 0 8px; }

/* Mitt konto – favoriter som lista */
#favoriter .card-grid{display:flex;flex-direction:column;gap:0;border:1px solid #e3e8ee;border-radius:10px;overflow:hidden;background:#fff}
#favoriter .school-card{display:grid;grid-template-columns:56px 1fr auto;align-items:center;gap:16px;padding:14px 18px;border:0;border-bottom:1px solid #e3e8ee;border-radius:0;box-shadow:none;position:relative;background:#fff;min-height:0}
#favoriter .school-card:last-child{border-bottom:0}
#favoriter .school-card:hover{background:#f6f8fb;transform:none}
#favoriter .school-card__media{grid-column:1;grid-row:1;width:56px;height:56px;aspect-ratio:auto;padding:4px;border-radius:8px;background:#fff;border:1px solid #e3e8ee;display:flex;align-items:center;justify-content:center;overflow:hidden}
#favoriter .school-card__media img{width:100%;height:100%;object-fit:contain;position:static;transform:none}
#favoriter .school-card__body{grid-column:2;grid-row:1;padding:0;min-width:0}
#favoriter .school-card__type{margin:0 0 2px;font-size:.72rem}
#favoriter .school-card__title{margin:0 0 4px;font-size:1rem;line-height:1.3}
#favoriter .school-card__location{margin:0;font-size:.85rem}
#favoriter .school-card__stats{display:none}
#favoriter .school-card__actions{grid-column:3;grid-row:1;position:static;display:flex;gap:6px;margin:0}
@media (max-width:600px){#favoriter .school-card{grid-template-columns:44px 1fr auto;gap:12px;padding:12px}#favoriter .school-card__media{width:44px;height:44px}#favoriter .school-card__title{font-size:.95rem}}
/* ===== JVM och U18-VM (sidan jvm-och-u18-vm-i-ishockey) ===== */
.hgp-pagehero.hgp-pagehero--mt{background:#021A33;color:#cbd5e1;padding-bottom:clamp(48px,7vw,88px)}
.hgp-pagehero--mt .hgp-pagehero__mark{opacity:.1}
.hg-mt{--hgmt-navy:#003C69;max-width:1000px;margin:0 auto}
.hg-mt__tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:0 0 32px}
.hg-mt__tab{display:flex;flex-direction:column;align-items:flex-start;gap:2px;padding:14px 18px;border:1px solid var(--border,#dbe3ec);border-radius:var(--radius,12px);background:#fff;color:var(--text,#18222f);font:inherit;text-align:left;cursor:pointer;transition:border-color .15s,box-shadow .15s,background .15s}
.hg-mt__tab:hover{border-color:var(--hgmt-navy)}
.hg-mt__tab strong{color:var(--hgmt-navy);font-size:1.05rem}
.hg-mt__tab span{font-size:.9rem;color:var(--muted,#5b6878)}
.hg-mt__status{font-style:normal;font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:var(--hgmt-navy);margin-top:4px}
.hg-mt__status:empty{display:none}
.hg-mt__tab.is-done .hg-mt__status{color:var(--muted,#5b6878)}
.hg-mt__tab.is-live .hg-mt__status{color:var(--red,#d6262f)}
.hg-mt__tab.is-active{background:var(--hgmt-navy);border-color:var(--hgmt-navy);box-shadow:var(--shadow)}
.hg-mt__tab.is-active strong,.hg-mt__tab.is-active span,.hg-mt__tab.is-active .hg-mt__status{color:#fff}
.hg-mt__tab:focus-visible{outline:3px solid var(--hgmt-navy);outline-offset:2px}
.hg-mt.is-js .hg-mt__panel{display:none}
.hg-mt.is-js .hg-mt__panel.is-active{display:block}
.hg-mt__panel{margin:0 0 48px}
.hg-mt__panel h2{margin:0 0 4px}
.hg-mt__lead{margin:0 0 16px;color:var(--muted,#5b6878)}
.hgp .hg-mt__facts,.hg-mt__facts{list-style:none;margin:0 0 28px;padding:0;display:flex;flex-wrap:wrap;gap:10px}
.hg-mt__facts li{margin:0;padding:10px 14px;background:var(--ice,#eef4fa);border-radius:var(--radius-sm,8px);display:flex;flex-direction:column;font-size:.95rem}
.hg-mt__facts li::before{display:none}
.hg-mt__facts strong{font-size:.72rem;text-transform:uppercase;letter-spacing:.06em;color:var(--muted,#5b6878)}
.hg-mt h3{margin:28px 0 12px}
.hg-mt__groups{display:grid;grid-template-columns:repeat(2,1fr);gap:16px;align-items:start}
.hg-mt__group{width:100%;border-collapse:separate;border-spacing:0;border:1px solid var(--border,#dbe3ec);border-radius:var(--radius,12px);overflow:hidden;background:#fff;margin:0}
.hg-mt__group th{padding:10px 12px;background:var(--hgmt-navy);border:0;color:#fff;font-weight:700;text-align:center;width:52px;font-size:.8rem;letter-spacing:.04em}
.hg-mt__group th abbr{text-decoration:none;cursor:help}
.hg-mt__group th.hg-mt__c-team{text-align:left;width:auto;font-size:1rem;letter-spacing:0}
.hg-mt__group th.hg-mt__c-team small{font-weight:400;opacity:.8;margin-left:6px;font-size:.85rem}
.hg-mt__group td{padding:10px 12px;border-top:1px solid var(--border,#dbe3ec);text-align:center;font-variant-numeric:tabular-nums}
.hg-mt__group td.hg-mt__c-team{text-align:left}
.hg-mt__group td.hg-mt__pts{font-weight:800;color:var(--hgmt-navy)}
.hg-mt__pos{display:inline-block;width:18px;margin-right:6px;color:var(--muted,#5b6878);font-size:.85rem;font-weight:600}
.hg-mt__group tr.is-q td.hg-mt__c-team{box-shadow:inset 3px 0 0 #1b7f4b}
.hg-mt__legend{margin-top:10px}
.hg-mt__group tbody tr:first-child td{border-top:0}
.hg-mt__group tr.is-swe td{background:#eaf1f8}
.hg-mt__team{display:inline-flex;align-items:center;gap:10px;white-space:nowrap}
.hg-mt__team.is-swe{font-weight:700}
.hg-mt__flag{width:28px;height:19px;object-fit:cover;border-radius:3px;box-shadow:0 0 0 1px rgba(11,31,58,.12);flex:none;margin:0}
.hg-mt__note{font-size:.9rem;color:var(--muted,#5b6878);margin:0 0 14px}
.hg-mt__day{margin:0 0 18px;border:1px solid var(--border,#dbe3ec);border-radius:var(--radius,12px);overflow:hidden;background:#fff}
.hg-mt__day-head{padding:10px 16px;background:var(--ice,#eef4fa);font-weight:700;color:var(--hgmt-navy)}
.hg-mt__day-head small{font-weight:400;color:var(--muted,#5b6878)}
.hg-mt__table{width:100%;border-collapse:collapse;font-size:.95rem;margin:0}
.hg-mt__table th{padding:8px 16px;text-align:left;font-size:.72rem;text-transform:uppercase;letter-spacing:.06em;color:var(--muted,#5b6878);border-bottom:1px solid var(--border,#dbe3ec);background:#fff}
.hg-mt__table td{padding:12px 16px;border-bottom:1px solid var(--border,#dbe3ec);vertical-align:middle}
.hg-mt__table tr:last-child td{border-bottom:0}
.hg-mt__table tr.is-swe td{background:#eaf1f8}
.hg-mt__table tr.is-swe td:first-child{box-shadow:inset 4px 0 0 var(--hgmt-navy)}
.hg-mt__table small{display:block;color:var(--muted,#5b6878);font-size:.8rem}
.hg-mt__time{width:120px}
.hg-mt__time strong{font-size:1.05rem}
.hg-mt__nextday{display:block;font-size:.8rem;font-weight:600;color:var(--hgmt-navy)}
.hg-mt__vs{margin:0 10px;color:var(--muted,#5b6878)}
.hg-mt__tbd{color:var(--muted,#5b6878);font-style:italic}
.hg-mt__round{font-weight:600}
.hg-mt__round--f,.hg-mt__round--br{color:var(--hgmt-navy)}
.hg-mt__venue{color:var(--muted,#5b6878);font-size:.9rem}
.hg-mt__pending{padding:18px 20px;border:1px dashed var(--hgmt-navy);border-radius:var(--radius,12px);background:var(--ice,#eef4fa)}
.hg-mt__pending p{margin:6px 0 0}
.hg-mt__source{font-size:.85rem;color:var(--muted,#5b6878);border-top:1px solid var(--border,#dbe3ec);padding-top:16px}
@media (max-width:720px){
.hg-mt__tabs{gap:6px}
.hg-mt__tab{padding:10px 10px}
.hg-mt__tab strong{font-size:.92rem}
.hg-mt__tab span{font-size:.75rem}
.hg-mt__status{font-size:.62rem}
.hg-mt__groups{grid-template-columns:1fr}
.hg-mt__table thead{display:none}
.hg-mt__table,.hg-mt__table tbody,.hg-mt__table tr,.hg-mt__table td{display:block;width:auto}
.hg-mt__table tr{display:grid;grid-template-columns:84px 1fr;padding:12px 14px;border-bottom:1px solid var(--border,#dbe3ec)}
.hg-mt__table tr:last-child{border-bottom:0}
.hg-mt__table tr.is-swe{background:#eaf1f8;box-shadow:inset 4px 0 0 var(--hgmt-navy)}
.hg-mt__table tr.is-swe td,.hg-mt__table tr.is-swe td:first-child{background:none;box-shadow:none}
.hg-mt__table td{padding:0;border:0}
.hg-mt__time{grid-row:span 3;width:auto}
.hg-mt__match .hg-mt__team{display:flex;white-space:normal;margin:2px 0}
.hg-mt__match .hg-mt__vs{display:none}
.hg-mt__rnd,.hg-mt__venue{grid-column:2;font-size:.82rem;margin-top:4px}
.hg-mt__rnd small{display:inline;margin-left:6px}
}

/* Live nu */
.hg-mt__live{margin:0 0 28px;padding:16px;border-radius:var(--radius,12px);background:var(--hgmt-navy);color:#fff}
.hg-mt__live-head{display:flex;align-items:center;gap:8px;margin:0 0 12px;font-weight:800;text-transform:uppercase;letter-spacing:.08em;font-size:.85rem}
.hg-mt__live-dot{width:10px;height:10px;border-radius:50%;background:#e5333b;box-shadow:0 0 0 0 rgba(229,51,59,.6);animation:hg-mt-pulse 1.6s infinite}
@keyframes hg-mt-pulse{0%{box-shadow:0 0 0 0 rgba(229,51,59,.6)}70%{box-shadow:0 0 0 10px rgba(229,51,59,0)}100%{box-shadow:0 0 0 0 rgba(229,51,59,0)}}
.hg-mt__live-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px}
.hg-mt__live-card{background:#fff;color:var(--text,#18222f);border-radius:var(--radius-sm,8px);padding:12px 14px}
.hg-mt__live-card.is-swe{box-shadow:inset 0 0 0 2px #fecc02}
.hg-mt__live-meta{display:flex;align-items:center;gap:8px;margin:0 0 8px;font-size:.8rem;color:var(--muted,#5b6878)}
.hg-mt__live-badge{background:#e5333b;color:#fff;font-weight:800;font-size:.68rem;letter-spacing:.06em;text-transform:uppercase;padding:2px 6px;border-radius:4px}
.hg-mt__live-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:4px 0}
.hg-mt__live-row b{font-size:1.6rem;line-height:1;color:var(--hgmt-navy);font-variant-numeric:tabular-nums}
.hg-mt__live-foot{margin-top:6px;font-size:.78rem;color:var(--muted,#5b6878)}
/* Resultat i spelschemat */
.hg-mt__score{display:inline-flex;gap:6px;margin:0 12px;font-weight:800;font-size:1.05rem;color:var(--hgmt-navy);font-variant-numeric:tabular-nums}
.hg-mt__score span{color:var(--muted,#5b6878);font-weight:400}
.hg-mt__state{display:inline-block;margin-top:4px;padding:1px 6px;border-radius:4px;font-size:.68rem;font-weight:800;letter-spacing:.05em;text-transform:uppercase}
.hg-mt__state--live{background:#e5333b;color:#fff}
.hg-mt__state--final{background:var(--ice,#eef4fa);color:var(--hgmt-navy)}
.hg-mt__table tr.is-live td{background:#fdeeee}
/* Spelade matcher */
.hg-mt__played{margin:8px 0 0;border:1px solid var(--border,#dbe3ec);border-radius:var(--radius,12px);background:#fff}
.hg-mt__played>summary{padding:14px 18px;cursor:pointer;font-weight:700;color:var(--hgmt-navy)}
.hg-mt__played-count{color:var(--muted,#5b6878);font-weight:400}
.hg-mt__played-days{padding:0 14px 6px}
@media (max-width:720px){
.hg-mt__group th{width:40px;padding:10px 6px}
.hg-mt__group td{padding:10px 6px}
.hg-mt__match .hg-mt__score{margin:2px 0}
}

/* Tidigare år */
.hg-mt__tabs--2{grid-template-columns:repeat(2,1fr)}
.hg-mt__archive{margin:36px 0 0}
.hg-mt__season{margin:0 0 12px;border:1px solid var(--border,#dbe3ec);border-radius:var(--radius,12px);background:#fff;overflow:hidden}
.hg-mt__season>summary{display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px;padding:14px 18px;cursor:pointer;list-style:none}
.hg-mt__season>summary::-webkit-details-marker{display:none}
.hg-mt__season>summary::after{content:"";margin-left:auto;width:9px;height:9px;border-right:2px solid var(--hgmt-navy);border-bottom:2px solid var(--hgmt-navy);transform:rotate(45deg);transition:transform .15s}
.hg-mt__season[open]>summary::after{transform:rotate(-135deg)}
.hg-mt__season>summary strong{font-size:1.15rem;color:var(--hgmt-navy)}
.hg-mt__medals{display:flex;flex-wrap:wrap;gap:6px}
.hg-mt__medal{padding:3px 10px;border-radius:999px;font-size:.82rem;font-weight:600}
.hg-mt__medal--gold{background:#fbf1c7;color:#6b5200}
.hg-mt__medal--silver{background:#eceff3;color:#3d4753}
.hg-mt__medal--bronze{background:#f6e3d3;color:#7a4317}
.hg-mt__arch-table{width:100%;border-collapse:collapse;margin:0;font-size:.95rem}
.hg-mt__arch-table th,.hg-mt__arch-table td{padding:10px 18px;border-top:1px solid var(--border,#dbe3ec);text-align:left;vertical-align:middle}
.hg-mt__arch-table th{width:140px;font-size:.78rem;text-transform:uppercase;letter-spacing:.05em;color:var(--muted,#5b6878);font-weight:700}
.hg-mt__arch-type{color:var(--muted,#5b6878);margin-left:8px}
/* Resultaten står alltid på en rad: lag – ställning – lag, även på mobil */
.hg-mt__arch-table td.hg-mt__match{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;column-gap:10px}
.hg-mt__arch-table td.hg-mt__match .hg-mt__team{min-width:0}
.hg-mt__arch-table td.hg-mt__match .hg-mt__team:first-child{justify-self:end;flex-direction:row-reverse}
.hg-mt__arch-table td.hg-mt__match .hg-mt__score,.hg-mt__arch-table td.hg-mt__match .hg-mt__vs{margin:0}
.hg-mt__arch-table td.hg-mt__match .hg-mt__arch-type{grid-column:1/-1;justify-self:center;margin:2px 0 0}
@media (max-width:720px){
.hg-mt__arch-table th{display:block;width:auto;padding:10px 14px 0;border-top:1px solid var(--border,#dbe3ec)}
.hg-mt__arch-table td.hg-mt__match{display:grid;width:auto;padding:6px 14px 10px;border-top:0;column-gap:8px;font-size:.9rem}
.hg-mt__arch-table td.hg-mt__match .hg-mt__team{display:flex;gap:6px;white-space:nowrap;overflow:hidden}
.hg-mt__arch-table td.hg-mt__match .hg-mt__flag{width:22px;height:15px}
.hg-mt__arch-table tr{display:block}
}

/* ===== JVM/TV-pucken: mobilanpassning (iPhone) ===== */
.hg-mt img.hg-mt__flag{width:28px;height:19px;object-fit:cover;max-width:none}
@media (max-width:720px){
.hg-mt img.hg-mt__flag{width:22px;height:15px;border-radius:2px}
.hg-mt__tabs{margin-bottom:22px}
.hg-mt__panel h2{font-size:1.5rem}
.hg-mt__lead{font-size:.9rem;margin-bottom:12px}
.hgp .hg-mt__facts,.hg-mt__facts{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:20px}
.hg-mt__facts li{padding:8px 10px;font-size:.85rem;line-height:1.35}
.hg-mt__facts li:nth-child(3){grid-column:1/-1}
.hg-mt__facts strong{font-size:.66rem}
.hg-mt h3{margin:22px 0 10px;font-size:1.15rem}
.hg-mt__note{font-size:.8rem}
.hg-mt__day{margin-bottom:12px}
.hg-mt__day-head{padding:8px 12px;font-size:.88rem}
.hg-mt__day-head small{font-size:.75rem}
/* En match = två rader: tid | lag – ställning – lag, och under: omgång · arena */
.hg-mt__table tr{display:grid;grid-template-columns:62px auto minmax(0,1fr);grid-template-areas:"time match match" "time rnd venue";column-gap:10px;row-gap:3px;padding:10px 12px;align-items:center}
.hg-mt__table td.hg-mt__time{grid-area:time;grid-row:auto;align-self:start;width:auto}
.hg-mt__time strong{font-size:.95rem;line-height:1.2}
.hg-mt__time .hg-mt__nextday{font-size:.68rem;line-height:1.2;white-space:nowrap}
.hg-mt__time small{font-size:.68rem;white-space:nowrap}
.hg-mt__time .hg-mt__state{font-size:.6rem;margin-top:3px}
.hg-mt__table td.hg-mt__match{grid-area:match;display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;column-gap:8px;font-size:.92rem}
.hg-mt__table td.hg-mt__match .hg-mt__team{display:flex;align-items:center;gap:6px;min-width:0;white-space:nowrap;overflow:hidden;margin:0}
.hg-mt__table td.hg-mt__match .hg-mt__team:first-child{justify-self:end;flex-direction:row-reverse}
.hg-mt__table td.hg-mt__match .hg-mt__vs{display:inline;margin:0;text-align:center}
.hg-mt__table td.hg-mt__match .hg-mt__score{margin:0;font-size:1rem;gap:4px}
.hg-mt__table td.hg-mt__match .hg-mt__tbd{grid-column:1/-1;text-align:center}
.hg-mt__table td.hg-mt__rnd{grid-area:rnd;margin:0;font-size:.75rem;white-space:nowrap}
.hg-mt__table td.hg-mt__rnd .hg-mt__round{font-weight:700}
.hg-mt__table td.hg-mt__rnd small{display:inline;margin-left:4px;font-size:.75rem}
.hg-mt__table td.hg-mt__venue{grid-area:venue;margin:0;font-size:.75rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hg-mt__table td.hg-mt__venue::before{content:"· "}
/* Grupptabeller */
.hg-mt__group th.hg-mt__c-team{font-size:.92rem}
.hg-mt__group td{font-size:.9rem;padding:9px 6px}
.hg-mt__group td.hg-mt__c-team{padding-left:10px}
.hg-mt__group .hg-mt__team{gap:8px}
/* Live nu */
.hg-mt__live{padding:12px}
.hg-mt__live-grid{grid-template-columns:1fr}
.hg-mt__live-row b{font-size:1.35rem}
/* Tidigare år */
.hg-mt__season>summary{padding:12px 14px;gap:8px}
.hg-mt__season>summary strong{font-size:1.05rem}
.hg-mt__medal{font-size:.74rem;padding:2px 8px}
}


/* Händelsenavigering under herobannern ([hg_event_nav]) */
.hgc-evnav{background:#fff;border-bottom:1px solid #e2e8f0;width:100%}
.hgc-evnav__in{display:flex;align-items:center;gap:8px;overflow-x:auto;padding:14px 0;scrollbar-width:thin;-webkit-overflow-scrolling:touch}
.hgc-evnav__label{flex:0 0 auto;margin-right:6px;font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#003C69}
.hgc-evnav__link{flex:0 0 auto;display:inline-flex;align-items:center;gap:8px;padding:8px 14px;border:1px solid #cbd5e1;border-radius:999px;background:#fff;color:#0f172a;font-size:14px;font-weight:600;line-height:1.2;white-space:nowrap;text-decoration:none;transition:border-color .15s,color .15s,background .15s}
.hgc-evnav__link:hover,.hgc-evnav__link:focus-visible{border-color:#003C69;color:#003C69}
.hgc-evnav__link.is-active{background:#003C69;border-color:#003C69;color:#fff}
.hgc-evnav__date{font-size:13px;font-weight:400;opacity:.75}
@media (max-width:600px){.hgc-evnav__in{padding:12px 0}.hgc-evnav__link{font-size:13px;padding:7px 12px}}


/* Luft ovanför knappar som följer direkt efter innehåll (steg, tabeller, kort, karta) */
.hgnew__btns{margin-top:24px !important;gap:12px}
.hgp-actions,.hgp-center.hgp-actions{margin-top:28px !important}
.hgx-cd-grid + p,.hgx-cd p:has(> .hgx-btn:first-child){margin-top:18px !important}
.hgx-map + .wp-block-group,.hgx-dir{margin-top:18px !important}
.hgx-dist{margin-top:12px !important}

/* ===== Undermeny (hgp-subnav) och pristabell: ingen sidledsscroll på mobil ===== */
@media (max-width:760px){
.hgp-subnav{position:relative;overflow:hidden;max-width:100%}
.hgp-subnav .hgp-wrap{display:flex;flex-wrap:nowrap;align-items:center;gap:6px 18px;overflow-x:auto;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;scrollbar-width:none;padding-right:32px}
.hgp-subnav .hgp-wrap::-webkit-scrollbar{display:none}
.hgp-subnav .hgp-wrap>*{flex:0 0 auto;white-space:nowrap}
.hgp-subnav::after{content:"";position:absolute;top:0;right:0;bottom:0;width:32px;pointer-events:none;background:linear-gradient(to right,rgba(255,255,255,0),#fff)}
.hgp-tw{display:block;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
}
/* Tabellens dolda skärmläsartexter (position:absolute) ska stanna inom scrollrutan */
.hgp-tw{position:relative}


/* =========================================================================
 * Spelar-CV och exempel-CV (Flyttat från Ytterligare CSS)
 * ======================================================================= */
/* === Spelar-CV: lugnare layout och luft mellan blocken (alla spelar-CV) === */
.hgsp-cv .hgsp-cv__sec{margin-top:40px !important;padding-top:32px !important}
.hgsp-cv .hgsp-cv__sec > h3{margin:0 0 6px !important}
.hgsp-cv .hgsp-cv__sec > .hgsp-help{margin:0 0 22px !important}
.hgsp-cv .hgsp-cv__facts{gap:12px !important}
.hgsp-cv .hgsp-cv__meta{margin-bottom:10px !important}
.hgsp-cv .hgsp-cv__contact ul + ul{margin-top:10px !important}
.hgsp-cv .hgsp-cv__contacthead{margin-bottom:10px !important}
.hgsp-cv .hgsp-dash > * + *{margin-top:22px !important}
.hgsp-cv .hgsp-devlegend{gap:8px !important;margin-top:14px !important}
.hgsp-cv .hgsp-stages{gap:12px !important;padding-bottom:10px !important}
.hgsp-cv .hgsp-kpis{gap:12px !important;margin:0 0 24px !important}
.hgsp-cv .hgsp-kpis > li{background:#F1F5F9 !important;border:1px solid #E2E8F0 !important;color:#0F172A !important;box-shadow:none !important}
.hgsp-cv .hgsp-kpis > li b{color:#003C69 !important}
.hgsp-cv .hgsp-kpis > li span{color:#64748B !important}
.hgsp-cv .hgsp-charts{gap:20px !important;margin:0 0 40px !important}
.hgsp-cv .hgsp-subhead{margin:40px 0 16px !important}
.hgsp-cv .hgsp-charts + .hgsp-subhead{margin-top:0 !important}
.hgsp-cv .hgsp-ref + .hgsp-ref{margin-top:18px !important}
/* Karriärtidslinje: punkterna på linjen och i linje med rubriker och tabell */
.hgsp-cv .hgsp-timeline{padding-left:24px !important;margin:0 0 8px !important}
.hgsp-cv .hgsp-timeline::before{left:6px !important;top:26px !important;bottom:26px !important}
.hgsp-cv .hgsp-timeline__item{padding:12px 0 !important;align-items:center !important}
.hgsp-cv .hgsp-timeline__dot{top:31px !important;transform:translateY(-50%) !important}
.hgsp-cv .hgsp-timeline__item.is-current .hgsp-timeline__dot{top:33px !important}
@media (max-width:700px){.hgsp-cv .hgsp-kpis{grid-template-columns:repeat(3,1fr) !important}.hgsp-cv .hgsp-charts{grid-template-columns:1fr !important}}
.hgc-excv__note{margin:0 0 24px;padding:12px 16px;border-radius:10px;background:#F1F5F9;color:#334155}
.hgc-excv__note strong{display:inline-block;margin-right:8px;padding:2px 8px;border-radius:999px;background:#003C69;color:#fff;font-size:12px;letter-spacing:.06em;text-transform:uppercase}
.hg-excv-page .hgp-actions{margin-top:40px !important}

/* === Spelar-CV i separata block (kort) === */
.hgsp-cv{background:transparent !important;border:0 !important;padding:0 !important;box-shadow:none !important}
.hgsp-cv > .hgsp-cv__top,.hgsp-cv > .hgsp-cv__sec{background:#fff !important;border:1px solid #DBE3EC !important;border-radius:16px !important;padding:28px !important;box-shadow:0 1px 2px rgba(15,23,42,.04),0 8px 24px rgba(15,23,42,.05) !important}
.hgsp-cv > .hgsp-cv__sec{margin-top:24px !important}
.hgsp-cv > .hgsp-cv__sec > h3{font-size:22px !important;padding-bottom:12px !important;margin:0 0 18px !important;border-bottom:1px solid #E2E8F0 !important}
.hgsp-cv > .hgsp-cv__sec > h3 + .hgsp-help{margin-top:-8px !important}
.hgsp-cv > .hgsp-disclaimer{margin-top:24px !important;border-radius:12px !important;background:#F8FAFC !important}
.hgsp-cv .hgsp-subhead{font-size:17px !important;margin:36px 0 12px !important}
.hgsp-cv .hgsp-charts + .hgsp-subhead{margin-top:0 !important}
.hgsp-cv .hgsp-timeline,.hgsp-cv .hgsp-tablewrap{border:1px solid #E2E8F0 !important;border-radius:12px !important;background:#F8FAFC !important}
.hgsp-cv .hgsp-timeline{padding:6px 20px 6px 46px !important;margin:0 0 8px !important}
.hgsp-cv .hgsp-timeline::before{left:28px !important}
.hgsp-cv .hgsp-ref{background:#F8FAFC !important;border:1px solid #E2E8F0 !important;border-radius:12px !important;padding:18px 20px !important;margin:0 !important}
.hgsp-cv .hgsp-ref + .hgsp-ref{margin-top:14px !important}
.hg-excv-page .hgp-sec{background:#F1F5F9 !important}
/* Tidslinjen: lättare text */
.hgsp-cv .hgsp-timeline__season{font-weight:600 !important}
.hgsp-cv .hgsp-timeline__team strong{font-weight:600 !important}
.hgsp-cv .hgsp-timeline__stats,.hgsp-cv .hgsp-timeline__stats *{font-weight:500 !important;color:#334155 !important}
/* Exempelspelarens bild */
.hgc-excv .hgsp-portrait{background:#021A33 url(https://pub-36fc4b25ad474b8086e2ebe044430ef4.r2.dev/2026/11/axel-exempelsson-spelarbild.webp) center/cover no-repeat !important;color:transparent !important;font-size:0 !important}
@media (max-width:700px){.hgsp-cv > .hgsp-cv__top,.hgsp-cv > .hgsp-cv__sec{padding:20px !important}.hgsp-cv .hgsp-timeline{padding-left:38px !important}.hgsp-cv .hgsp-timeline::before{left:20px !important}}

/* === Spelar-CV: balanserad profilruta === */
.hgsp-cv .hgsp-cv__top{align-items:stretch !important}
.hgsp-cv .hgsp-cv__card{display:flex !important;margin:0 !important}
.hgsp-cv .hgsp-cv__card > .hgsp-portrait,.hgsp-cv .hgsp-cv__card > img{flex:1 1 auto !important;width:100% !important;height:auto !important;min-height:347px !important;object-fit:cover !important;background-size:cover !important}
.hgsp-cv .hgsp-cv__info{display:flex !important;flex-direction:column !important}
.hgsp-cv .hgsp-cv__contact{margin-top:auto !important;padding:18px 0 0 !important;border:0 !important;border-top:1px solid #E2E8F0 !important;border-radius:0 !important;background:none !important}
.hgsp-cv .hgsp-cv__contacthead{margin:0 0 10px !important;font-size:12px !important;font-weight:700 !important;letter-spacing:.08em !important;text-transform:uppercase !important;color:#003C69 !important}
.hgsp-cv .hgsp-cv__contact .hgsp-cv__where{display:none !important}
.hgsp-cv .hgsp-cv__contact ul{display:grid !important;grid-template-columns:repeat(2,minmax(0,1fr)) !important;gap:12px !important;margin:0 !important}
.hgsp-cv .hgsp-cv__contact ul + ul{margin-top:12px !important}
.hgsp-cv .hgsp-cv__contact li{margin:0 !important;padding:10px 12px !important;border-radius:10px !important;background:#EEF2F7 !important;font-size:12px !important;color:#64748B !important;line-height:1.5 !important;overflow-wrap:anywhere !important}
.hgsp-cv .hgsp-cv__contact li a{display:block !important;font-size:15px !important;font-weight:600 !important;color:#0F172A !important;text-decoration:none !important}
.hgsp-cv .hgsp-cv__contact li a:hover{color:#003C69 !important;text-decoration:underline !important}
.hgsp-cv .hgsp-cv__contact li:only-child{grid-column:span 2 !important}
@media (max-width:700px){.hgsp-cv .hgsp-cv__card > .hgsp-portrait,.hgsp-cv .hgsp-cv__card > img{min-height:300px !important}.hgsp-cv .hgsp-cv__contact ul{grid-template-columns:1fr !important}.hgsp-cv .hgsp-cv__contact li:only-child{grid-column:auto !important}}

/* === Utvecklingsdashboard: tydlig skala 1–5 (max 5) === */
.hgsp-cv .hgsp-dash__src{background:#EEF2F7 !important;border-left:4px solid #003C69 !important;border-radius:10px !important;padding:12px 16px !important;color:#475569 !important;font-size:14px !important;line-height:1.55 !important}
.hgsp-cv .hgsp-dash__src::before{content:"Betygsskala 1–5 · 5 är det högsta betyget man kan få";display:block;margin-bottom:2px;font-weight:700;color:#003C69;font-size:15px}
.hgsp-cv .hgsp-dash__scale{display:block !important;margin-top:2px !important}
.hgsp-cv .hgsp-dash__score::after{content:"/5";margin-left:2px;font-size:.6em;font-weight:600;opacity:.75}
.hgsp-cv .hgsp-dash__val{white-space:nowrap !important;min-width:52px !important;text-align:right !important}
.hgsp-cv .hgsp-dash__list li{grid-template-columns:minmax(0,1fr) minmax(0,2fr) 56px !important}
.hgsp-cv .hgsp-dash__val::after{content:"/5";margin-left:1px;font-weight:400;font-size:.85em;color:#94A3B8}
.hgsp-cv .hgsp-devkey b::after{content:"/5";font-weight:400;font-size:.85em;opacity:.6}
.hgsp-cv .hgsp-stage__meta{display:none !important}
.hgsp-cv .hgsp-meter{background-image:linear-gradient(90deg,transparent calc(100% - 2px),rgba(255,255,255,.95) calc(100% - 2px)) !important;background-size:20% 100% !important;background-repeat:repeat-x !important}

/* === Spelar-CV: mer stilren, vuxen design === */
.hgsp-cv{color:#1E293B}
.hgsp-cv > .hgsp-cv__top,.hgsp-cv > .hgsp-cv__sec{border-radius:12px !important;border-color:#E2E8F0 !important;box-shadow:0 1px 2px rgba(15,23,42,.04) !important}
.hgsp-cv > .hgsp-cv__sec > h3{font-size:19px !important;font-weight:600 !important;letter-spacing:-.01em !important;color:#0F172A !important}
.hgsp-cv .hgsp-subhead{font-size:15px !important;font-weight:600 !important;color:#0F172A !important}
.hgsp-cv .hgsp-idhead{border-bottom:1px solid #E2E8F0 !important;padding-bottom:16px !important}
.hgsp-cv .hgsp-idhead__name{font-size:30px !important;font-weight:700 !important;letter-spacing:-.02em !important}
.hgsp-cv .hgsp-idhead__club{text-transform:none !important;font-weight:500 !important;font-size:16px !important;color:#475569 !important;letter-spacing:0 !important}
.hgsp-cv .hgsp-cv__meta{color:#64748B !important;font-size:14px !important}
.hgsp-cv .hgsp-cv__facts > div,.hgsp-cv .hgsp-cv__contact li{background:#fff !important;border:1px solid #E2E8F0 !important;border-radius:8px !important}
.hgsp-cv .hgsp-cv__facts dt{text-transform:uppercase !important;letter-spacing:.06em !important;font-size:11px !important;font-weight:500 !important;color:#64748B !important}
.hgsp-cv .hgsp-cv__facts dd{font-size:15px !important;font-weight:600 !important;color:#0F172A !important}
.hgsp-cv .hgsp-cv__contact li{text-transform:uppercase;letter-spacing:.06em;font-size:11px !important}
.hgsp-cv .hgsp-cv__contact li a{text-transform:none;letter-spacing:0;font-weight:500 !important;font-size:15px !important}
.hgsp-cv .hgsp-cv__contacthead{color:#64748B !important;font-weight:600 !important}
.hgc-excv .hgsp-portrait{background-image:url(https://pub-36fc4b25ad474b8086e2ebe044430ef4.r2.dev/2026/11/axel-exempelsson-siluett.webp) !important;border-radius:10px !important}
.hgsp-cv .hgsp-cv__card{border-radius:10px !important;box-shadow:none !important}
/* Nyckeltal */
.hgsp-cv .hgsp-kpis > li{background:#fff !important;border-radius:8px !important}
.hgsp-cv .hgsp-kpis > li b{font-weight:600 !important;font-size:26px !important;letter-spacing:-.02em !important}
.hgsp-cv .hgsp-kpis > li span{text-transform:uppercase !important;letter-spacing:.06em !important;font-size:11px !important}
/* Tidslinje */
.hgsp-cv .hgsp-timeline{background:#fff !important}
.hgsp-cv .hgsp-timeline__season{font-weight:500 !important;font-size:15px !important;color:#0F172A !important;font-variant-numeric:tabular-nums}
.hgsp-cv .hgsp-timeline__team,.hgsp-cv .hgsp-timeline__team strong{font-weight:400 !important;font-size:15px !important;color:#0F172A !important}
.hgsp-cv .hgsp-timeline__team .hgsp-muted{color:#64748B !important;font-size:14px !important}
.hgsp-cv .hgsp-timeline__stats,.hgsp-cv .hgsp-timeline__stats *{font-weight:400 !important;font-size:14px !important;color:#475569 !important;font-variant-numeric:tabular-nums}
.hgsp-cv .hgsp-tag--new{background:transparent !important;border:1px solid #CBD5E1 !important;color:#475569 !important;font-weight:500 !important;font-size:11px !important;text-transform:uppercase;letter-spacing:.05em;padding:1px 7px !important}
.hgsp-cv .hgsp-timeline__item.is-current .hgsp-timeline__dot{background:#003C69 !important;border-color:#003C69 !important}
.hgsp-cv .hgsp-timeline__dot{border-color:#94A3B8 !important}
/* Tabell */
.hgsp-cv .hgsp-tablewrap{background:#fff !important}
.hgsp-cv .hgsp-tablewrap th{background:#F8FAFC !important;color:#475569 !important;font-weight:600 !important;font-size:11px !important;letter-spacing:.06em !important;text-transform:uppercase !important;border-bottom:1px solid #E2E8F0 !important}
.hgsp-cv .hgsp-tablewrap td,.hgsp-cv .hgsp-tablewrap tbody th{font-weight:400 !important;font-variant-numeric:tabular-nums;color:#1E293B !important}
.hgsp-cv .hgsp-tablewrap td b,.hgsp-cv .hgsp-tablewrap td strong{font-weight:600 !important}
.hgsp-cv .hgsp-tablewrap tfoot td,.hgsp-cv .hgsp-tablewrap tfoot th{font-weight:600 !important;background:#F8FAFC !important}
/* Dashboard */
.hgsp-cv .hgsp-stage{border-radius:8px !important;font-weight:500 !important}
.hgsp-cv .hgsp-stage[aria-selected="true"]{background:#003C69 !important;border-color:#003C69 !important}
.hgsp-cv .hgsp-stage__num{background:transparent !important;border:1px solid currentColor !important;color:inherit !important;font-weight:500 !important}
.hgsp-cv .hgsp-stage__label{font-weight:500 !important}
.hgsp-cv .hgsp-dash__score{background:#003C69 !important;font-weight:600 !important;border-radius:6px !important}
.hgsp-cv .hgsp-dash__card h4{font-weight:600 !important}
.hgsp-cv .hgsp-dash__val{font-weight:500 !important}
.hgsp-cv .hgsp-meter--big::after{background:#003C69 !important;background-image:none !important}
.hgsp-cv .hgsp-dash__list .hgsp-meter::after{background:#3B6E9C !important;background-image:none !important}
.hgsp-cv .hgsp-devkey{font-weight:400 !important;border-radius:6px !important}
.hgsp-cv .hgsp-devkey b{font-weight:600 !important}
.hgsp-cv .hgsp-ref{background:#fff !important;border-left:3px solid #003C69 !important}
.hgsp-cv .hgsp-ref p{font-style:normal !important;color:#1E293B !important}
.hgc-excv__note{background:#fff;border:1px solid #E2E8F0}


/* Exempel-CV: bildblocket i sidan styr spelarbilden (byt via "Ersätt" i sidredigeraren) */
.hgc-excv-photo{display:none !important}

/* =========================================================================
 * Bildjustering (beskär/zooma) vid uppladdning av profilbild
 * ======================================================================= */
.hgc-crop{position:fixed;inset:0;z-index:100000;display:flex;align-items:center;justify-content:center;padding:16px;background:rgba(2,12,24,.72)}
.hgc-crop__box{width:100%;max-width:420px;max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);overflow:auto;background:#fff;border-radius:14px;padding:20px;box-shadow:0 20px 60px rgba(0,0,0,.35);font-family:inherit;color:#0F172A}
.hgc-crop__title{margin:0 0 4px;font-size:18px;font-weight:600}
.hgc-crop__help{margin:0 0 14px;font-size:14px;color:#64748B}
.hgc-crop__stage{position:relative;width:min(100%,calc((100vh - 250px)*.75));width:min(100%,calc((100dvh - 250px)*.75));min-width:180px;margin:0 auto;aspect-ratio:3/4;overflow:hidden;border-radius:10px;background:#0F172A;touch-action:none;cursor:grab;user-select:none}
.hgc-crop__stage.is-drag{cursor:grabbing}
.hgc-crop__stage img{position:absolute;left:0;top:0;max-width:none;transform-origin:0 0;pointer-events:none}
.hgc-crop__grid{position:absolute;inset:0;pointer-events:none;background:linear-gradient(to right,transparent calc(33.33% - .5px),rgba(255,255,255,.35) calc(33.33% - .5px),rgba(255,255,255,.35) calc(33.33% + .5px),transparent calc(33.33% + .5px),transparent calc(66.66% - .5px),rgba(255,255,255,.35) calc(66.66% - .5px),rgba(255,255,255,.35) calc(66.66% + .5px),transparent calc(66.66% + .5px)),linear-gradient(to bottom,transparent calc(33.33% - .5px),rgba(255,255,255,.35) calc(33.33% - .5px),rgba(255,255,255,.35) calc(33.33% + .5px),transparent calc(33.33% + .5px),transparent calc(66.66% - .5px),rgba(255,255,255,.35) calc(66.66% - .5px),rgba(255,255,255,.35) calc(66.66% + .5px),transparent calc(66.66% + .5px))}
.hgc-crop__zoom{display:flex;align-items:center;gap:10px;margin:14px 0 4px}
.hgc-crop__zoom button{width:36px;height:36px;flex:0 0 36px;border:1px solid #CBD5E1;border-radius:8px;background:#fff;font-size:20px;line-height:1;color:#0F172A;cursor:pointer}
.hgc-crop__zoom input{flex:1;accent-color:#003C69}
.hgc-crop__actions{display:flex;justify-content:flex-end;gap:10px;margin-top:16px}
.hgc-crop__actions button{padding:10px 16px;border-radius:8px;font-weight:600;font-size:15px;cursor:pointer;border:1px solid #003C69}
.hgc-crop__cancel{background:#fff;color:#003C69}
.hgc-crop__ok{background:#003C69;color:#fff}
.hgc-crop-again{display:inline-block;margin-top:8px;padding:0;border:0;background:none;color:#003C69;font-size:14px;font-weight:600;text-decoration:underline;cursor:pointer}

/* === Spelar-CV: faktaruta som tabell (Eliteprospects-stil) === */
.hgsp-cv .hgsp-cv__facts{display:grid !important;grid-template-columns:repeat(2,minmax(0,1fr)) !important;column-gap:32px !important;row-gap:0 !important;margin:4px 0 0 !important;border-top:1px solid #E2E8F0 !important}
.hgsp-cv .hgsp-cv__facts > div{display:flex !important;justify-content:space-between !important;align-items:baseline !important;gap:12px !important;padding:10px 0 !important;margin:0 !important;background:none !important;border:0 !important;border-bottom:1px solid #E2E8F0 !important;border-radius:0 !important;grid-column:auto !important;min-height:0 !important}
.hgsp-cv .hgsp-cv__facts dt{margin:0 !important;font-size:13px !important;font-weight:400 !important;text-transform:none !important;letter-spacing:0 !important;color:#64748B !important;white-space:nowrap}
.hgsp-cv .hgsp-cv__facts dd{margin:0 !important;font-size:14px !important;font-weight:600 !important;color:#0F172A !important;text-align:right !important}
.hgsp-cv .hgsp-cv__contact{padding-top:22px !important;border-top:0 !important}
.hgsp-cv .hgsp-cv__contact ul{display:grid !important;grid-template-columns:repeat(2,minmax(0,1fr)) !important;column-gap:32px !important;row-gap:0 !important;border-top:1px solid #E2E8F0 !important}
.hgsp-cv .hgsp-cv__contact li{display:flex !important;justify-content:space-between !important;align-items:baseline !important;gap:12px !important;padding:10px 0 !important;background:none !important;border:0 !important;border-bottom:1px solid #E2E8F0 !important;border-radius:0 !important;font-size:13px !important;text-transform:none !important;letter-spacing:0 !important;color:#64748B !important}
.hgsp-cv .hgsp-cv__contact li a{display:inline !important;font-size:14px !important;font-weight:600 !important;color:#0F172A !important;text-align:right !important}
@media (max-width:700px){.hgsp-cv .hgsp-cv__facts,.hgsp-cv .hgsp-cv__contact ul{grid-template-columns:1fr !important}}
.hgsp-cv .hgsp-cv__contact ul{grid-template-columns:1fr !important}
.hgsp-cv .hgsp-cv__contact li{white-space:nowrap !important}
.hgsp-cv .hgsp-cv__contact li a{white-space:normal !important;overflow-wrap:anywhere !important}

.hgsp-cv .hgsp-cv__info dl.hgsp-cv__facts{grid-template-columns:repeat(2,minmax(0,1fr)) !important}
.hgsp-cv .hgsp-cv__info dl.hgsp-cv__facts > div{grid-column:auto !important}
@media (max-width:700px){.hgsp-cv .hgsp-cv__info dl.hgsp-cv__facts{grid-template-columns:1fr !important}}

/* Dashboard: "/5" i poängrutan större och tydligare */
.hgsp-cv .hgsp-dash__score::after{font-size:.85em !important;opacity:.95 !important;margin-left:3px !important;font-weight:600 !important}

/* Cookie-banner (#hgs): öppnas centrerad i innehållsytan – varken rutan eller den mörka bakgrunden täcker vänsterpanelen */
.hgs{align-items:center !important}
@media (min-width:1024px){
  body.hgc-has-panel .hgs{top:var(--hgc-top) !important}
  html.hgc-open body.hgc-has-panel .hgs{left:var(--hgc-panel-w) !important}
}

/* ==== HG LIVESCORE START (live-hero + kommande matcher) ==== */
.hgp-pagehero--live{padding:44px 0 46px;background:radial-gradient(900px 400px at 50% 0%,rgba(0,60,105,.9),transparent 70%),#021a33}
.hgp-pagehero--live .hgp-pagehero__mark{top:50%;transform:translateY(-50%);width:520px;height:auto}
.hgl-hs-wrap{position:relative;z-index:1}
.hgl-hs{max-width:980px;margin:0 auto;text-align:center;color:#fff}
.hgl-eyebrow{display:flex;justify-content:center;align-items:center;gap:10px;margin:0;color:#e4b922;font-size:14px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}
.hgl-badge{display:inline-flex;align-items:center;gap:7px;background:#e11d48;color:#fff;font-size:12px;font-weight:800;letter-spacing:.1em;padding:5px 11px;border-radius:999px}
.hgl-badge::before{content:"";width:7px;height:7px;border-radius:50%;background:#fff;animation:hglPulse 1.4s infinite}
@keyframes hglPulse{0%,100%{opacity:1}50%{opacity:.25}}
.hgl-board{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:32px;margin:20px 0 10px}
.hgl-team{display:flex;align-items:center;gap:18px}
.hgl-team--h{justify-content:flex-end;text-align:right}
.hgl-name{font-size:40px;font-weight:800;line-height:1.05}
.hgl-code{width:72px;height:72px;flex:0 0 72px;border-radius:18px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12);display:grid;place-items:center}
.hgl-code img{width:44px;height:30px;border-radius:4px;object-fit:cover}
.hgl-team.is-swe .hgl-code{background:rgba(228,185,34,.16);border-color:rgba(228,185,34,.5)}
.hgl-score{font-size:96px;font-weight:800;line-height:1;font-variant-numeric:tabular-nums;white-space:nowrap}
.hgl-score span{color:#475569;margin:0 10px}
.hgl-score b.is-new{animation:hglGoal 2s ease}
@keyframes hglGoal{0%{color:#e4b922;text-shadow:0 0 30px rgba(228,185,34,.8)}100%{color:#fff;text-shadow:none}}
.hgl-clock{display:inline-block;background:rgba(228,185,34,.14);color:#e4b922;font-weight:800;font-size:16px;padding:8px 16px;border-radius:999px;font-variant-numeric:tabular-nums}
.hgl-info{margin-top:14px;font-size:14px;color:#94a3b8}
.hgl-events{display:grid;grid-template-columns:1fr 1fr;gap:4px 60px;max-width:760px;margin:24px auto 0;font-size:14px;color:#e2e8f0;text-align:left}
.hgl-ev{display:flex;gap:10px;padding:3px 0}
.hgl-ev time{color:#94a3b8;min-width:44px;font-variant-numeric:tabular-nums}
.hgl-ev b{color:#e4b922;font-size:11px;letter-spacing:.06em;margin-right:6px}
.hgl-ev--a{grid-column:2;justify-content:flex-end;text-align:right;flex-direction:row-reverse}
.hgl-ev--h{grid-column:1}
.hgl-cta{display:flex;justify-content:center;gap:12px;margin-top:24px;flex-wrap:wrap}
.hgl-btn{display:inline-flex;align-items:center;border-radius:999px;padding:11px 20px;font-weight:700;font-size:14px;text-decoration:none}
.hgl-btn--y{background:#e4b922;color:#021a33}
.hgl-btn--g{border:1px solid rgba(255,255,255,.25);color:#fff}
.hgl-btn:hover{opacity:.9}
.hgl-hs a.hgl-btn--y{color:#021a33 !important}
.hgl-hs a.hgl-btn--g{color:#fff !important}
.hgl-up a.hgl-uc{color:inherit}

/* Schemat */
tr.hgl-row-live td{background:#fff5f6 !important}
tr.hgl-row-live td:first-child{box-shadow:inset 4px 0 0 #e11d48}
.hgl-tag{display:block;width:max-content;margin-top:6px;font-size:10px;font-weight:800;letter-spacing:.08em;background:#e2e8f0;color:#0b1f3a;padding:2px 7px;border-radius:999px}
.hgl-tag--live{background:#e11d48;color:#fff}
.hgl-groups-live .hg-mt__group th:first-child::after{content:"LIVE";margin-left:8px;background:#e11d48;color:#fff;font-size:10px;letter-spacing:.08em;padding:2px 7px;border-radius:999px;vertical-align:middle}

/* Slider: kommande matcher (dagblock + matchceller) */
.hgl-up{background:#fff;border-bottom:1px solid #e2e8f0;padding:22px 0 24px}
.hgl-up__head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:12px}
.hgl-up__title{margin:0;font-size:13px;font-weight:800;letter-spacing:.1em;color:#0b1f3a;text-transform:uppercase;display:flex;align-items:center;gap:8px}
.hgl-up__title::before{content:"";width:8px;height:8px;border-radius:50%;background:#e4b922}
.hgl-up__tz{font-size:12px;color:#64748b}
.hgl-up__box{display:flex;align-items:stretch;border:1px solid #e2e8f0;border-radius:12px;overflow:hidden;background:#fff}
.hgl-up__btn{flex:0 0 34px;border:0;background:#fff;color:#003c69;font-size:28px;line-height:1;cursor:pointer;padding:0 0 3px;display:grid;place-items:center}
.hgl-up__btn--prev{border-right:1px solid #e2e8f0}
.hgl-up__btn--next{border-left:1px solid #e2e8f0}
.hgl-up__btn:hover:not(:disabled){background:#f3f5f8}
.hgl-up__btn:disabled{color:#cbd5e1;cursor:default}
.hgl-up__track{flex:1;min-width:0;display:flex;overflow-x:auto;scroll-snap-type:x proximity;scrollbar-width:none}
.hgl-up__track::-webkit-scrollbar{display:none}
.hgl-ud{flex:0 0 74px;scroll-snap-align:start;background:#003c69;color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;text-transform:uppercase;font-size:11px;font-weight:700;letter-spacing:.06em}
.hgl-ud b{font-size:26px;line-height:1;font-weight:800;letter-spacing:0}
.hgl-up a.hgl-uc{color:inherit}
.hgl-uc{flex:0 0 190px;scroll-snap-align:start;display:flex;flex-direction:column;gap:8px;padding:11px 14px 10px;border-top:3px solid transparent;border-right:1px solid #e2e8f0;text-decoration:none;color:inherit;transition:background .15s}
.hgl-uc:hover{background:#f8fafc}
.hgl-uc.is-swe{border-top-color:#e4b922}
.hgl-uc__top{display:flex;justify-content:space-between;align-items:baseline;gap:8px}
.hgl-uc__time{font-size:14px;font-weight:800;color:#0b1f3a;font-variant-numeric:tabular-nums}
.hgl-uc__round{font-size:10px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#64748b;white-space:nowrap}
.hgl-uc__round.is-ko{color:#003c69}
.hgl-uc__teams{display:grid;gap:6px;font-weight:700;color:#0b1f3a;font-size:14px}
.hgl-uc__teams span{display:flex;align-items:center;gap:8px;white-space:nowrap}
.hgl-cc{flex:0 0 34px;font-style:normal;font-size:10px;font-weight:800;letter-spacing:.04em;color:#334155;background:#eef2f6;border-radius:4px;padding:3px 0;text-align:center}
.hgl-uc.is-tbd .hgl-uc__teams{color:#64748b;font-weight:600}
.hgl-uc__foot{margin-top:auto;font-size:11px;color:#64748b}
.hgl-flag{width:22px;height:15px;flex:0 0 22px;border-radius:2px;object-fit:cover;box-shadow:0 0 0 1px rgba(0,0,0,.08)}

@media (max-width:760px){
  .hgl-board{gap:12px}
  .hgl-team,.hgl-team--h{flex-direction:column;gap:8px;text-align:center}
  .hgl-team--h{flex-direction:column-reverse}
  .hgl-code{width:52px;height:52px;flex-basis:52px}
  .hgl-name{font-size:18px}
  .hgl-score{font-size:56px}
  .hgl-score span{margin:0 4px}
  .hgl-events{grid-template-columns:1fr}
  .hgl-ev--a,.hgl-ev--h{grid-column:1;justify-content:flex-start;text-align:left;flex-direction:row}
  .hgl-uc{flex-basis:168px}
  .hgl-ud{flex-basis:60px}
  .hgl-up__btn{display:none}
  .hgp-pagehero--live .hgp-pagehero__mark{width:260px}
}
@media (prefers-reduced-motion:reduce){.hgl-badge::before,.hgl-score b.is-new{animation:none}.hgl-uc{transition:none}}
/* Slider: ljus bakgrund + turneringsinnehållet i full bredd (samma som slidern) */
.hgl-up__box,.hgl-up__btn{background:#f4f7fb}
.hgl-up__btn:hover:not(:disabled),.hgl-uc:hover{background:#e9eff6}
.hgl-cc{background:#fff;box-shadow:inset 0 0 0 1px #e2e8f0}
.hg-mt-page .hg-mt{max-width:none !important}
/* Turneringsinfo kompakt: rubrik + undertitel på en rad, fakta som en textrad */
.hg-mt-sec{padding-top:32px !important}
.hg-mt__tabs{margin-bottom:24px !important}
.hg-mt__panel>h2{display:inline-block;margin:0 12px 6px 0 !important;font-size:24px !important;line-height:1.2}
.hg-mt__panel>.hg-mt__lead{display:inline-block;margin:0 0 6px !important;font-size:14px !important;color:#64748b}
.hg-mt__facts{display:flex !important;flex-wrap:wrap;gap:4px 24px !important;margin:4px 0 20px !important;padding:0 !important;list-style:none}
.hg-mt__facts>li{display:block !important;background:none !important;padding:0 !important;border:0 !important;font-size:14px !important;color:#0b1f3a}
.hg-mt__facts>li>strong{display:inline !important;margin-right:6px;font-size:11px !important;letter-spacing:.06em;text-transform:uppercase;color:#64748b}
.hg-mt__facts>li>span{display:inline !important}
/* Slider: Sveriges matcher ljusgula */
.hgl-uc.is-swe{background:#fff7dc}
.hgl-uc.is-swe:hover{background:#ffefc0}
/* Slider: turneringsetikett per match + filterknappar */
.hgl-up__head{align-items:center}
.hgl-up__filter{display:flex;flex-wrap:wrap;gap:6px;flex:1;margin-left:8px}
.hgl-up__filter:empty{display:none}
.hgl-up__chip{border:1px solid #e2e8f0;background:#fff;color:#334155;border-radius:999px;padding:4px 12px;font-size:12px;font-weight:700;line-height:1.4;cursor:pointer}
.hgl-up__chip:hover{border-color:#94a3b8}
.hgl-up__chip.is-on{background:#003c69;border-color:#003c69;color:#fff}
.hgl-uc__tour{font-size:10px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;padding:2px 7px;border-radius:999px;white-space:nowrap}
.hgl-t0{background:#dbeafe;color:#003c69}
.hgl-t1{background:#fce7f3;color:#9d174d}
.hgl-t2{background:#dcfce7;color:#166534}
.hgl-t3{background:#ede9fe;color:#5b21b6}
.hgl-up__chip.hgl-t0:not(.is-on),.hgl-up__chip.hgl-t1:not(.is-on),.hgl-up__chip.hgl-t2:not(.is-on),.hgl-up__chip.hgl-t3:not(.is-on){border-color:transparent}
.hgl-uc.is-swe .hgl-uc__tour{box-shadow:0 0 0 1px rgba(255,255,255,.6)}
@media (max-width:760px){.hgl-up__head{flex-wrap:wrap}.hgl-up__filter{order:3;flex-basis:100%;margin:6px 0 0}}
/* Kompakt live-hero + matchväljare när flera matcher pågår (2026-11-27) */
.hgp-pagehero.hgp-pagehero--live{padding:18px 0 22px !important}
.hgp-pagehero--live .hgl-hs{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:8px 14px}
.hgp-pagehero--live .hgl-hs>.hgl-sw,.hgp-pagehero--live .hgl-hs>.hgl-eyebrow,.hgp-pagehero--live .hgl-hs>.hgl-board,.hgp-pagehero--live .hgl-hs>.hgl-events{flex:0 0 100%}
.hgp-pagehero--live .hgl-board{margin:0;gap:22px}
.hgp-pagehero--live .hgl-name{font-size:30px}
.hgp-pagehero--live .hgl-code{width:56px;height:56px;flex-basis:56px;border-radius:14px}
.hgp-pagehero--live .hgl-code img{width:36px;height:24px}
.hgp-pagehero--live .hgl-score{font-size:60px}
.hgp-pagehero--live .hgl-clock{font-size:14px;padding:5px 12px}
.hgp-pagehero--live .hgl-info{margin:0;font-size:13px}
.hgp-pagehero--live .hgl-events{max-width:none;width:100%;grid-template-columns:repeat(2,minmax(0,280px));justify-content:center;grid-auto-flow:row dense;margin:2px 0 0;gap:0 40px;font-size:13px}
.hgp-pagehero--live .hgl-ev{padding:1px 0}
.hgl-ev small{color:#94a3b8;margin-left:4px;font-size:12px}
.hgp-pagehero--live .hgl-cta{margin:4px 0 0;gap:8px}
.hgp-pagehero--live .hgl-btn{padding:7px 16px}
.hgl-sw{display:flex;justify-content:center;align-items:center;gap:8px;margin:0 0 4px;flex-wrap:wrap}
.hgl-sw__lbl{color:#94a3b8;font-size:12px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;margin-right:4px}
.hgl-sw__btn{display:inline-flex;align-items:center;gap:7px;padding:6px 12px;border-radius:999px;border:1px solid rgba(255,255,255,.22);background:rgba(255,255,255,.06);color:#fff;font:inherit;font-size:13px;font-weight:700;line-height:1;cursor:pointer;white-space:nowrap}
.hgl-sw__btn:hover{background:rgba(255,255,255,.14)}
.hgl-sw__btn b{font-variant-numeric:tabular-nums}
.hgl-sw__btn small{font-size:11px;font-weight:600;opacity:.75}
.hgl-sw__flag{width:20px;height:14px;border-radius:2px;object-fit:cover}
.hgl-sw__btn.is-on{background:#e4b922;border-color:#e4b922;color:#021a33}
.hgl-sw__btn:focus-visible{outline:2px solid #fff;outline-offset:2px}
/* Schemat: bara en live-etikett per match */
.hg-mt__time:has(.hg-mt__state) .hgl-tag{display:none}
/* Preliminär grupptabell när matcher pågår */
.hg-mt__group tr.is-prov td{background:#fff5f6}
.hg-mt__group tr.is-prov td:last-child{color:#e11d48}
.hg-mt__group tr.is-cut td{border-bottom:2px dashed #e4b922 !important}
.hg-mt__mv{font-style:normal;font-size:9px;margin-left:4px;vertical-align:middle}
.hg-mt__mv--up{color:#16a34a}
.hg-mt__mv--down{color:#e11d48}
.hg-mt__prov-note{display:flex;align-items:center;gap:8px;font-size:13px;color:#64748b;margin:8px 0 0}
@media (max-width:760px){
.hgp-pagehero--live .hgl-name{font-size:17px}
.hgp-pagehero--live .hgl-code{width:44px;height:44px;flex-basis:44px}
.hgp-pagehero--live .hgl-score{font-size:44px}
.hgp-pagehero--live .hgl-board{gap:10px}
.hgp-pagehero--live .hgl-team{gap:6px}
.hgp-pagehero--live .hgl-events{grid-template-columns:1fr 1fr;gap:0 12px;font-size:12px}
.hgp-pagehero--live .hgl-ev--a{grid-column:2;justify-content:flex-end;text-align:right;flex-direction:row-reverse}
.hgp-pagehero--live .hgl-ev--h{grid-column:1}
.hgp-pagehero--live .hgl-ev time{min-width:0}
.hgl-sw{flex-wrap:nowrap;justify-content:flex-start;overflow-x:auto;scrollbar-width:none;margin:0 -20px 4px;padding:0 20px}
.hgl-sw::-webkit-scrollbar{display:none}
.hgl-sw__lbl{display:none}
}
/* Mål-larm: TV-skylt "MÅL!" + blink i matchväljare och schema (2026-11-27) */
.hgl-goal{position:fixed;left:50%;bottom:24px;z-index:9999;display:flex;align-items:stretch;width:max-content;max-width:calc(100vw - 32px);border-radius:14px;overflow:hidden;background:#021a33;color:#fff;box-shadow:0 18px 50px rgba(2,26,51,.5),0 0 0 1px rgba(255,255,255,.08);cursor:pointer;transform:translate(-50%,calc(100% + 40px));opacity:0;transition:transform .5s cubic-bezier(.2,.9,.25,1.15),opacity .3s;pointer-events:none}
.hgl-goal.is-on{transform:translate(-50%,0);opacity:1;pointer-events:auto}
.hgl-goal__tag{background:#e4b922;color:#021a33;display:grid;place-items:center;padding:0 22px;font-weight:900;font-size:30px;font-style:italic;letter-spacing:.02em}
.hgl-goal.is-on .hgl-goal__tag span{display:block;animation:hglGoalPop .7s .25s both}
@keyframes hglGoalPop{0%{transform:scale(.3) rotate(-8deg);opacity:0}60%{transform:scale(1.25) rotate(2deg);opacity:1}100%{transform:none;opacity:1}}
.hgl-goal__body{padding:12px 20px 14px 18px;display:grid;gap:3px;min-width:0}
.hgl-goal__score{display:flex;align-items:center;gap:8px;font-weight:800;font-size:17px;white-space:nowrap}
.hgl-goal__score b{font-size:26px;font-variant-numeric:tabular-nums;margin:0 6px;letter-spacing:.02em}
.hgl-goal__score i{font-style:normal}
.hgl-goal__score .is-s{color:#e4b922}
.hgl-goal__score b i.is-s{display:inline-block;animation:hglGoalNum .8s .4s both}
@keyframes hglGoalNum{0%{transform:translateY(-60%);opacity:0}100%{transform:none;opacity:1}}
.hgl-goal__flag{width:26px;height:18px;border-radius:2px;object-fit:cover}
.hgl-goal__who{font-size:14px;font-weight:700}
.hgl-goal__who small{color:#94a3b8;font-weight:600;margin-left:4px}
.hgl-goal__meta{font-size:11px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:#94a3b8}
.hgl-goal__bar{position:absolute;left:0;bottom:0;height:3px;width:100%;background:#e4b922;transform-origin:left;transform:scaleX(0)}
.hgl-goal.is-on .hgl-goal__bar{animation:hglGoalBar 8s linear both}
@keyframes hglGoalBar{from{transform:scaleX(1)}to{transform:scaleX(0)}}
.hgl-goal.is-swe{box-shadow:0 18px 50px rgba(2,26,51,.5),0 0 0 2px #e4b922}
.hgl-sw__btn.hgl-flash{animation:hglChipFlash .9s ease 4}
@keyframes hglChipFlash{0%,100%{box-shadow:0 0 0 0 rgba(228,185,34,0)}50%{box-shadow:0 0 0 7px rgba(228,185,34,.55)}}
tr.hgl-flash td{animation:hglRowFlash .9s ease 4}
@keyframes hglRowFlash{50%{background:#ffefc0}}
button.hgl-btn.hgl-sound,button.hgl-btn.hgl-goaltest{background:transparent;font:inherit;font-weight:700;font-size:14px;line-height:1.2;cursor:pointer;gap:6px;color:#fff}
.hgl-sound svg{width:15px;height:15px;flex:0 0 15px}
.hgl-sound[aria-pressed="true"]{border-color:#e4b922;color:#e4b922}
@media (max-width:760px){.hgl-goal{left:12px;right:12px;width:auto;max-width:none;transform:translateY(calc(100% + 40px))}.hgl-goal.is-on{transform:none}.hgl-goal__tag{font-size:20px;padding:0 12px}.hgl-goal__score{font-size:14px;gap:6px}.hgl-goal__score b{font-size:20px}}
@media (prefers-reduced-motion:reduce){.hgl-goal{transition:opacity .2s}.hgl-goal.is-on .hgl-goal__tag span,.hgl-goal__score b i.is-s,.hgl-sw__btn.hgl-flash,tr.hgl-flash td{animation:none}}
/* Grupptabell live: leder = grön, under = röd, lika = orange (2026-11-27) */
.hg-mt__group tr.is-prov.is-win td{background:#ecfdf3}
.hg-mt__group tr.is-prov.is-lose td{background:#fef2f2}
.hg-mt__group tr.is-prov.is-tie td{background:#fff7ed}
.hg-mt__group tr.is-prov.is-win td:first-child{box-shadow:inset 4px 0 0 #16a34a}
.hg-mt__group tr.is-prov.is-lose td:first-child{box-shadow:inset 4px 0 0 #dc2626}
.hg-mt__group tr.is-prov.is-tie td:first-child{box-shadow:inset 4px 0 0 #f97316}
.hg-mt__group tr.is-prov.is-win td:last-child{color:#15803d}
.hg-mt__group tr.is-prov.is-lose td:last-child{color:#dc2626}
.hg-mt__group tr.is-prov.is-tie td:last-child{color:#ea580c}
/* Renare live-hero (2026-11-27) */
.hgp-pagehero.hgp-pagehero--live{padding:22px 0 26px !important}
.hgl-hs.hgl-hs--clean{display:block !important;max-width:900px;margin:0 auto;text-align:center;color:#fff}
.hgl-hs--clean .hgl-sw{margin:0 0 18px;gap:6px}
.hgl-hs--clean .hgl-sw__lbl,.hgl-hs--clean .hgl-sw__flag,.hgl-hs--clean .hgl-sw__btn small{display:none}
.hgl-hs--clean .hgl-sw__btn{padding:5px 12px;font-size:12px;background:transparent;border-color:rgba(255,255,255,.18);color:#cbd5e1}
.hgl-hs--clean .hgl-sw__btn:hover{border-color:rgba(255,255,255,.4);color:#fff;background:transparent}
.hgl-hs--clean .hgl-sw__btn.is-on{background:#fff;border-color:#fff;color:#021a33}
.hgl-top{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:4px 0;font-size:12px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:#cbd5e1}
.hgl-top .hgl-badge{margin-right:12px}
.hgl-top__c{color:#e4b922;letter-spacing:.02em;text-transform:none;font-size:13px;font-variant-numeric:tabular-nums}
.hgl-top__c::before{content:"·";color:#64748b;margin:0 10px}
.hgl-hs--clean .hgl-board{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:start;gap:32px;margin:16px 0 0}
.hgl-hs--clean .hgl-team{display:flex;align-items:flex-start;gap:14px;padding-top:12px}
.hgl-hs--clean .hgl-team--h{flex-direction:row-reverse;justify-content:flex-start;text-align:right}
.hgl-hs--clean .hgl-team--a{justify-content:flex-start;text-align:left}
.hgl-flag-l{width:40px;height:27px;flex:0 0 40px;margin-top:3px;border-radius:4px;object-fit:cover;box-shadow:0 0 0 1px rgba(255,255,255,.15)}
.hgl-hs--clean .hgl-name{font-size:28px;font-weight:800;line-height:1.1}
.hgl-scorers{margin-top:8px;font-size:13px;line-height:1.7;color:#94a3b8}
.hgl-scorers small{margin-left:6px;font-size:12px;color:#64748b;font-variant-numeric:tabular-nums}
.hgl-hs--clean .hgl-score{font-size:64px;font-weight:800;line-height:1}
.hgl-hs--clean .hgl-score span{color:#334155;margin:0 12px}
.hgl-foot{display:flex;justify-content:center;align-items:center;gap:20px;margin-top:18px}
.hgl-hs a.hgl-link{color:#e4b922 !important;font-size:14px;font-weight:700;text-decoration:none}
.hgl-hs a.hgl-link:hover{text-decoration:underline}
.hgl-hs button.hgl-sound,.hgl-hs button.hgl-goaltest{display:inline-flex;align-items:center;gap:6px;background:none;border:0;padding:4px 0;color:#94a3b8;font:inherit;font-size:13px;font-weight:600;cursor:pointer}
.hgl-hs button.hgl-sound svg{width:15px;height:15px;flex:0 0 15px}
.hgl-hs button.hgl-sound[aria-pressed="true"]{color:#e4b922}
.hgl-hs button.hgl-sound:hover,.hgl-hs button.hgl-goaltest:hover{color:#fff}
@media (max-width:760px){
.hgl-hs--clean .hgl-board{gap:10px;align-items:center}
.hgl-hs--clean .hgl-team,.hgl-hs--clean .hgl-team--h{flex-direction:column;align-items:center;text-align:center;gap:6px;padding-top:0}
.hgl-hs--clean .hgl-name{font-size:16px}
.hgl-hs--clean .hgl-score{font-size:44px}
.hgl-hs--clean .hgl-score span{margin:0 6px}
.hgl-scorers{display:none}
.hgl-top{font-size:11px}
.hgl-foot{gap:16px;margin-top:14px}
}
/* ==== HG LIVESCORE END ==== */

/* ==== HG SKOLSIDA ACTIONS START (ingen brödsmula ovanför heron; Favorit/Jämför i headern) ==== */
.single-hg_school .breadcrumbs{display:none !important}
.single-hg_school .school-layout-actions{display:none !important}
.hgl-head-actions{display:flex;align-items:center;gap:8px;margin-right:6px}
.hgl-head-actions .icon-btn{display:inline-flex;align-items:center;gap:6px;height:36px;padding:0 12px;border-radius:999px;border:1px solid rgba(255,255,255,.25);background:transparent;color:#fff;font-size:13px;font-weight:600;cursor:pointer;line-height:1}
.hgl-head-actions .icon-btn:hover{background:rgba(255,255,255,.1)}
.hgl-head-actions .icon-btn svg{width:16px;height:16px}
.hgl-head-actions .icon-btn[aria-pressed="true"]{background:#e4b922;border-color:#e4b922;color:#021a33}
.hgl-head-actions .icon-btn[aria-pressed="true"] svg{fill:currentColor}
@media (max-width:760px){.hgl-head-actions .icon-btn span{display:none}.hgl-head-actions .icon-btn{width:36px;padding:0;justify-content:center}}
/* Favorit bara för medlemmar */
body:not(.hg-is-member) .hgl-head-actions,body:not(.hg-is-member) .hgx-fav-head{display:none !important}
/* ==== HG SKOLSIDA ACTIONS END ==== */

/* ==== HG SKOLPROFIL FAKTA START (NIU/LIU visar intag, ansökan, ispass, svårighet + luft) ==== */
/* Skoltyperna heter "niu" och "liu" – visa samma fält som för de långa namnen */
.hg_school_type-niu .hgx .hgx-only-niu,
.hg_school_type-liu .hgx .hgx-only-liu{display:block}
.hg_school_type-liu .hgx-meter i:nth-child(1),
.hg_school_type-niu .hgx-meter i{background:var(--b)}
.hg_school_type-liu .hgx-lvls .l-liu,
.hg_school_type-niu .hgx-lvls .l-niu{opacity:1;font-weight:700;color:var(--d)}
.hg_school_type-niu .hgx-cmp th.c-niu .hgx-cur,
.hg_school_type-liu .hgx-cmp th.c-liu .hgx-cur{display:block}
/* Luft i faktarutorna */
.hgx-stat-l{margin:0 0 10px !important}
.hgx-stats,.hgx-stats2{gap:10px;grid-template-columns:repeat(auto-fit,minmax(130px,1fr))}
.hgx-diff,.hgx [class*="is-layout-"] > .hgx-diff{margin-top:10px !important;margin-block-start:10px !important}
.hgx-stat-v,.hgx-stat .hg-field__value{overflow-wrap:normal;word-break:normal;hyphens:auto}
/* Mindre text: Distans + Tävlingsnivå */
.hgx-dist .hgx-dist-btn{font-size:14px !important;text-transform:none !important;font-weight:600;letter-spacing:0;line-height:1.3}
.hgx-stat-s .hg-field__value,.hgx-stat-s .hg-field,.hgx-stat-s .hgx-stat-v{font-size:14px !important;text-transform:none !important;font-weight:600;line-height:1.4;hyphens:none}
/* Distans: läsbar sökruta */
.hgx-dist form{display:flex;flex-wrap:wrap;gap:6px;width:100%}
.hgx-dist form input{flex:1 1 100%;min-width:0;width:100%;font-size:14px;padding:9px 10px}
.hgx-dist form button{flex:1 1 100%;padding:8px 12px !important;font-size:15px}
/* Hero: luft under Läs mer */
.hgx-hero-in .hgx-desc{margin-bottom:24px !important}
.hgx-hero-in .hgx-schools,.hgx [class*="is-layout-"] > .hgx-schools{margin-bottom:16px !important;margin-block-end:16px !important}
/* Tävlingsnivå full bredd */
@media (max-width:760px){.hgx-stats .hgx-stat-s,.hgx-stats2 .hgx-stat-s{grid-column:1 / -1 !important;width:100%}}
/* Distans full bredd på mobil */
@media (max-width:760px){.hgx-stats > .hgx-stat:has(.hgx-dist),.hgx-stats2 > .hgx-stat:has(.hgx-dist){grid-column:1 / -1 !important;width:100%}}
/* Mindre värden i faktarutorna (Utbildning, Intag, Ansökan …) */
.hgx-stats .hgx-stat-v,.hgx-stats .hgx-stat .hg-field__value{font-size:17px !important}
/* Fyra rutor bredvid varandra på desktop (Ispass, Elevboende, Distans, Tävlingsnivå) */
@media (min-width:761px){.hgx-stats2{grid-template-columns:repeat(4,minmax(0,1fr)) !important}.hgx-stats2 > *{grid-column:auto !important}}
/* ==== HG SKOLPROFIL FAKTA END ==== */

/* ==== HG SKOLPROFIL LAYOUT START (ingen sidopanel på skolprofilen + tillbaka-länk) ==== */
.single-hg_school .hgx-side{display:none !important}
.single-hg_school .hgx{grid-template-columns:minmax(0,1fr) !important}
.hgl-back{display:inline-flex;align-items:center;gap:8px;margin:0 0 18px;padding:8px 14px;border:1px solid rgba(255,255,255,.25);border-radius:999px;color:#fff !important;font-size:14px;font-weight:600;text-decoration:none !important;line-height:1}
.hgl-back:hover{background:rgba(255,255,255,.1)}
.hgl-back span{font-size:16px}
/* ==== HG SKOLPROFIL LAYOUT END ==== */

/* ---------- Hockeygymnasieutbildningar: filterknappar + profilpil (2026-11-27) ---------- */
form.hgp-filters button.hgp-btn{font-weight:600;font-size:14px;height:38px;padding:0 12px;border-radius:8px;border:1px solid transparent;box-shadow:none;letter-spacing:0;text-transform:none;}
form.hgp-filters button.hgp-btn--ghost{background:#fff;border-color:#b9c6d3;color:#334155;}
form.hgp-filters button.hgp-btn--ghost:hover{border-color:#0f172a;color:#0f172a;}
form.hgp-filters button.hgx-show-results{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:#0b1b33;border:1px solid #0b1b33;color:#fff!important;font-weight:600;letter-spacing:.01em;border-radius:8px;box-shadow:0 1px 2px rgba(15,23,42,.12);transition:background .15s,box-shadow .15s;}
form.hgp-filters button.hgx-show-results svg{width:16px;height:16px;flex:none;opacity:.85;}
form.hgp-filters button.hgx-show-results:disabled{background:#f1f3f6;border-color:#d5dbe5;color:#6b7385!important;box-shadow:none;cursor:default;}
form.hgp-filters button.hgx-show-results:hover:not(:disabled){background:#1a2d4d;border-color:#1a2d4d;color:#fff!important;box-shadow:0 4px 12px rgba(15,23,42,.18);}
form.hgp-filters button.hgx-show-results:focus-visible{outline:2px solid #0b1b33;outline-offset:2px;}
.hgp-st td > a.hgp-btn--sm{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;padding:0;border-radius:50%;background:transparent;border:1px solid #d5dde6;color:#0f172a;font-size:0;line-height:0;box-shadow:none;transition:background .15s,border-color .15s;}
.hgp-st td > a.hgp-btn--sm::after{content:"";width:8px;height:8px;border-top:2px solid currentColor;border-right:2px solid currentColor;transform:translateX(-2px) rotate(45deg);}
.hgp-st tbody tr:hover td > a.hgp-btn--sm,
.hgp-st td > a.hgp-btn--sm:focus-visible{background:#e4b922;border-color:#e4b922;}
.hgp-st tbody tr:hover{background:#f8fafc;}

/* HG SKOLPROFIL mobil: Ispass + Elevboende 50/50, Tävlingsnivå full bredd */
@media (max-width:640px){html body .hgx-facts > .hgx-panel:first-child .hgx-stats2{grid-template-columns:repeat(2,minmax(0,1fr)) !important}html body .hgx-facts > .hgx-panel:first-child .hgx-stats2 > .hgx-stat-s{grid-column:1 / -1 !important}}

/* ==========================================================================
   Live score i topbaren (startsidan) – ersätter nedräkningen när match pågår
   ========================================================================== */
.hgp-topbar.hglv-on [data-hgp-countdown] { display: none !important; }
.hgp-topbar .hglv-badge { display: inline-flex; align-items: center; gap: 6px; background: #e11d48; color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .1em; padding: 3px 9px; border-radius: 999px; }
.hgp-topbar .hglv-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: hglvBeat 1.2s ease-in-out infinite; }
.hgp-topbar a.hgp-topbar__item { color: inherit; text-decoration: none; border-radius: 6px; padding: 2px 6px; transition: background .3s; }
.hgp-topbar a.hgp-topbar__item:hover { color: #fff; }
.hgp-topbar .hglv-per { color: #ff8a96; }
.hgp-topbar .hglv-goal { background: #e4b922; color: #1a1300; font-size: 11px; font-weight: 900; letter-spacing: .08em; padding: 3px 8px; border-radius: 4px; animation: hglvGoal 1s ease-in-out infinite; }
.hgp-topbar a.is-goal { background: rgba(228, 185, 34, .14); box-shadow: inset 0 0 0 1px rgba(228, 185, 34, .55); color: #fff; }
.hgp-topbar a.is-goal b { background: #e4b922 !important; color: #1a1300 !important; border-color: #e4b922 !important; }
.hgp-topbar .hglv-snd { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; padding: 0; background: transparent; color: inherit; border: 1px solid rgba(255, 255, 255, .2); border-radius: 50%; cursor: pointer; flex: none; }
.hgp-topbar .hglv-snd:hover, .hgp-topbar .hglv-snd:focus-visible { color: #fff; border-color: rgba(255, 255, 255, .45); }
.hgp-topbar .hglv-snd[aria-pressed="true"] { color: #e4b922; border-color: rgba(228, 185, 34, .55); }
.hgp-topbar .hglv-snd svg { width: 14px; height: 14px; }
.hgp-topbar .hglv-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* Hjärtslag: lub-dub, sedan vila */
@keyframes hglvBeat { 0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 255, 255, .7); } 14% { transform: scale(1.45); } 28% { transform: scale(1); } 42% { transform: scale(1.35); box-shadow: 0 0 0 4px rgba(255, 255, 255, 0); } 70%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); } }
@keyframes hglvGoal { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.12); } }
@media (prefers-reduced-motion: reduce) { .hgp-topbar .hglv-badge::before, .hgp-topbar .hglv-goal { animation: none; } }

/* Ikonerna i headern (favorithjärta, konto): krymp inte på mobil (2026-11-27) */
.hgx-fav-head svg{flex:0 0 20px;width:20px;height:20px;min-width:20px}
.hgx-fav-head{flex-shrink:0}
.hgc-header__actions>*{flex-shrink:0}
.hgx-acct__btn svg{flex:0 0 auto;min-width:22px}
.hgx-acct__btn svg.hgx-acct__caret{min-width:14px}
@media (max-width:480px){.site-header .hgc-header__actions{gap:8px}}

/* Kontomenyn (Mitt konto) på mobil: tydliga knappar i rutnät 3x2 med ikon ovanför texten (2026-11-27) */
@media (max-width:860px){.account-nav .hgc-acc-membership a::before{content:"";flex:0 0 20px;width:20px;height:20px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 2h12v20l-3-2-3 2-3-2-3 2z'/%3E%3Cpath d='M9 7h6M9 11h6M9 15h4'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 2h12v20l-3-2-3 2-3-2-3 2z'/%3E%3Cpath d='M9 7h6M9 11h6M9 15h4'/%3E%3C/svg%3E") center/contain no-repeat}}
@media (max-width:860px){
.account-nav ul{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;overflow:visible}
.account-nav li{min-width:0;display:flex}
.account-nav a{flex:1 1 auto;flex-direction:column;justify-content:center;gap:6px;min-height:72px;padding:10px 6px;white-space:normal;text-align:center;font-size:13px;line-height:1.2;overflow-wrap:anywhere;hyphens:auto;background:var(--ice);border:1px solid rgba(11,31,58,.08);border-radius:10px}
.account-nav a svg{flex:0 0 20px;width:20px;height:20px}
.account-nav a:hover,.account-nav a:focus-visible{background:#fff;border-color:currentColor}
.account-nav a[aria-current],.account-nav a.is-active,.account-nav li.is-active>a{background:var(--navy);color:#fff}
}

/* Översikt (Mitt konto) på mobil: tre rutor bredvid varandra, samma storlek och stil som kontomenyn (2026-11-27) */
@media (max-width:860px){
.overview{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.overview__item{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-width:0;min-height:72px;padding:10px 6px;text-align:center;background:var(--ice);border:1px solid rgba(11,31,58,.08);border-radius:10px}
.overview__value{font-size:22px;line-height:1.1}
.overview__value--text{font-size:14px;line-height:1.2;overflow-wrap:anywhere}
.overview__label{font-size:12px;line-height:1.2}
}

/* Mitt konto på mobil: "Hitta skolor" och "Min jämförelse" lika breda, 50/50 (2026-11-27) */
@media (max-width:860px){
.account-links{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.account-links>.button{width:100%;box-sizing:border-box;min-width:0;min-height:46px;display:flex;align-items:center;justify-content:center;text-align:center;padding-left:8px;padding-right:8px;font-size:15px;line-height:1.2;white-space:normal}
}

/* Spelarprofil "Visa som klubb" på mobil: rund profilbild 76x76 bredvid namnet i stället för en utdragen oval; fakta i full bredd under (2026-11-27) */
@media (max-width:760px){
.hgsp-cv__top{grid-template-columns:minmax(0,1fr) 76px;align-items:center}
.hgsp-cv__top>.hgsp-cv__info{display:contents!important}
.hgsp-cv__top>.hgsp-cv__info>*:not(.hgsp-idhead){grid-column:1 / -1}
.hgsp-cv__top .hgsp-cv__card{display:block!important;grid-area:1 / 2;align-self:center;width:76px;height:76px;max-width:none;margin:0}
.hgsp-cv .hgsp-cv__top .hgsp-cv__card>.hgsp-portrait,.hgsp-cv .hgsp-cv__top .hgsp-cv__card>img,.hgsp-cv__top .hgsp-portrait{flex:0 0 76px!important;width:76px!important;height:76px!important;min-height:0!important;max-height:76px!important;aspect-ratio:1 / 1!important;border-radius:50%!important;overflow:hidden;object-fit:cover}
}

/* Spelarprofil, "Så ser din karriärstatistik ut för klubbar" på mobil: 6 rutor i 3x2 i exakt samma bredd som diagramkorten, diagrammen sticker inte ut (2026-11-27) */
@media (max-width:760px){
.hgsp-career .hgsp-kpis{grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-auto-rows:1fr;gap:8px!important;width:100%;margin-left:0;margin-right:0;padding:0;box-sizing:border-box}
.hgsp-career .hgsp-kpis li{min-width:0;min-height:0!important;height:auto!important;padding:10px 7px!important;box-sizing:border-box;display:flex;flex-direction:column;justify-content:center;gap:4px}
.hgsp-career .hgsp-kpis li b{font-size:20px;line-height:1.1;margin:0!important}
.hgsp-career .hgsp-kpis li span{display:block;font-size:10.5px;letter-spacing:0!important;text-transform:none;line-height:1.2;white-space:normal;overflow-wrap:normal;word-break:normal}
.hgsp-career .hgsp-charts{grid-template-columns:minmax(0,1fr)!important;width:100%}
.hgsp-career .hgsp-chartcard{min-width:0;max-width:100%;box-sizing:border-box;margin:0}
}
/* Små mobiler: karriärstatistik */
@media (max-width:374px){.hgsp-career .hgsp-kpis li{padding:10px 4px!important}.hgsp-career .hgsp-kpis li span{font-size:10px}}

/* Spelarprofil, "Det här får klubbar, tränare och scouter se": tydliga valrutor som kort, markerat val blir blått, anonym förhandsvisning egen rad överst, 2 kolumner från surfplatta (2026-11-27) */
.hgsp-share{display:grid;grid-template-columns:minmax(0,1fr);gap:8px}
.hgsp-share>legend{margin-bottom:4px}
.hgsp-share>.hgsp-help{margin:0 0 6px}
.hgsp-share>.hgsp-check{display:flex!important;align-items:center;gap:12px;margin:0!important;padding:12px 14px;min-height:50px;box-sizing:border-box;background:#fff;border:1px solid #dfe5ee;border-radius:10px;cursor:pointer;line-height:1.35;font-size:15px;transition:border-color .15s,background .15s}
.hgsp-share>.hgsp-check:hover{border-color:#003C69}
.hgsp-share>.hgsp-check input[type=checkbox]{flex:0 0 20px;width:20px;height:20px;margin:0;accent-color:#003C69;cursor:pointer}
.hgsp-share>.hgsp-check:has(input:checked){background:#eef4fa;border-color:#003C69}
.hgsp-share>.hgsp-check:has(input[name="hgsp_dela[teaser]"]){grid-column:1 / -1;border-left:4px solid #E4B922;background:#fffbea}
.hgsp-share>.hgsp-check:has(input[name="hgsp_dela[teaser]"]:checked){background:#fff4c7;border-color:#E4B922}
@media (min-width:768px){
.hgsp-share{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.hgsp-share>.hgsp-help{grid-column:1 / -1}
}
@media (max-width:480px){
.hgsp-share>.hgsp-check{font-size:14px;padding:12px}
}

/* Mobilbredd: headern var bredare än skärmen (meny + logga + 3 ikoner > 360 px) och gav en glipa till höger på alla sidor; en skärmläsartext stack också ut. Krymp headern och klipp sidled (2026-11-27) */
html,body{max-width:100%;overflow-x:clip}
.screen-reader-text:not(:focus){position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important;left:0!important}
@media (max-width:480px){
.hgc-header .hgc-header__inner{padding:0 8px 0 6px!important;gap:6px!important;min-width:0;max-width:100%;box-sizing:border-box}
.hgc-header .hgc-branding{flex:0 1 auto!important;min-width:0}
.hgc-header .hgc-branding img{width:auto;max-width:118px;height:auto;max-height:34px}
.site-header .hgc-header__actions{gap:2px!important;flex:0 0 auto;margin-left:auto}
.hgc-header__actions .hgx-fav-head{padding:0 4px!important}
.hgc-header .hgc-panel-toggle{width:40px;min-width:40px;padding-left:0;padding-right:0}
}
@media (max-width:350px){
.hgc-header .hgc-branding img{max-width:100px}
.hgx-acct__btn .hgx-acct__caret{display:none}
}

/* Spelarprofil, stegmenyn (Kontakt, Hockey, Utveckling ...) på mobil/surfplatta: fäst direkt under headern utan glipa där innehållet syntes igenom (2026-11-27) */
@media (max-width:1023px){
.hgsp .hgsp-nav{top:var(--header-h,72px)!important;background:#fff!important}
.admin-bar .hgsp .hgsp-nav{top:calc(var(--header-h,72px) + 32px)!important}
}
@media (max-width:782px){
.admin-bar .hgsp .hgsp-nav{top:calc(var(--header-h,72px) + 46px)!important}
}
@media (max-width:600px){
.admin-bar .hgsp .hgsp-nav{top:var(--header-h,72px)!important}
}


/* ==== Knapp: Visa avstånd (hockeygymnasieutbildningar) ==== */
.hgp button.hgp-btn.hgc-dist{display:inline-flex;align-items:center;gap:10px;background:#fff;color:#0b1b33;border:1px solid #d5dbe5;border-radius:10px;padding:10px 18px 10px 14px;font-size:14px;font-weight:600;letter-spacing:0;line-height:1.2;box-shadow:0 1px 2px rgba(15,23,42,.05);transition:border-color .15s,box-shadow .15s;cursor:pointer;white-space:nowrap;opacity:1}
.hgp button.hgp-btn.hgc-dist:hover{background:#fff;border-color:#0b1b33;box-shadow:0 2px 8px rgba(15,23,42,.08)}
.hgp button.hgp-btn.hgc-dist:focus-visible{outline:2px solid #0b1b33;outline-offset:2px}
.hgc-dist__ic{display:inline-flex;color:#0b1b33;flex:none}
.hgc-dist__ic svg{width:18px;height:18px;display:block}
.hgc-dist__txt{display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:1px}
.hgc-dist__txt small{font-size:11.5px;font-weight:400;color:#6b7385}
.hgp button.hgp-btn.hgc-dist[data-state="loading"]{cursor:progress}
.hgc-dist[data-state="loading"] .hgc-dist__ic svg{animation:hgc-dist-spin .8s linear infinite}
.hgp button.hgp-btn.hgc-dist[data-state="done"]{background:#f6f7f9;border-color:#d5dbe5;box-shadow:none;cursor:default}
@keyframes hgc-dist-spin{to{transform:rotate(360deg)}}
@media (max-width:640px){.hgp button.hgp-btn.hgc-dist{width:100%;justify-content:flex-start}}


/* ==== Knapp: Rensa filter (sekundär, neutral) ==== */
html body form.hgp-filters button.hgp-btn--ghost[type="reset"]{display:inline-flex;align-items:center;justify-content:center;gap:6px;background:#fff;border:1px solid #b9c6d3;border-radius:8px;color:#334155!important;font-weight:600;box-shadow:none;transform:none;transition:background .15s,border-color .15s,color .15s}
html body form.hgp-filters button.hgp-btn--ghost[type="reset"]:hover{background:#f4f6f9;border-color:#8a99ab;color:#0b1b33!important;transform:none;box-shadow:none}
html body form.hgp-filters button.hgp-btn--ghost[type="reset"]:active{background:#eceff4}
html body form.hgp-filters button.hgp-btn--ghost[type="reset"]:focus-visible{outline:2px solid #0b1b33;outline-offset:2px}


/* ==== Filter: etiketter inne i fälten ==== */
form.hgp-filters .hgc-lbl-hidden{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
form.hgp-filters.hgc-inline-labels>label{gap:0!important}


/* ==== Rensa filter – aktivt läge (när filter är valda) ==== */
html body form.hgp-filters button.hgp-btn--ghost[type="reset"].hgc-filter-active{background:#0b1b33!important;border-color:#0b1b33!important;color:#fff!important}
html body form.hgp-filters button.hgp-btn--ghost[type="reset"].hgc-filter-active:hover{background:#1a2d4d!important;border-color:#1a2d4d!important;color:#fff!important}


/* ==== Mobil: mindre avstånd mellan rubrik/Visa avstånd och sökfälten ==== */
@media (max-width:640px){
	.hgp-utbildningar .hgp-sec--tight:first-child{padding-top:16px}
	.hgp .hgp-head{gap:12px;margin-bottom:14px}
	.hgp .hgp-head .hgp-h1{font-size:26px;line-height:1.15;margin-bottom:6px;letter-spacing:-.01em}
	.hgp .hgp-head .hgp-lead{font-size:14px;line-height:1.45;margin-bottom:0}
}


/* ==== Mobil: mindre text i sökfälten ==== */
@media (max-width:640px){
	html body form.hgp-filters.hgp-filters input,
	html body form.hgp-filters.hgp-filters select{font-size:13px;padding-left:9px;text-overflow:ellipsis}
	html body form.hgp-filters.hgp-filters select{padding-right:24px}
	html body form.hgp-filters.hgp-filters button.hgp-btn{font-size:13px;padding-left:6px;padding-right:6px}
	html body form.hgp-filters.hgp-filters button.hgx-show-results{gap:4px}
	html body form.hgp-filters.hgp-filters button.hgx-show-results svg{width:14px;height:14px}
}


/* ==== Sökfält: mindre fet text ==== */
html body form.hgp-filters.hgp-filters input,
html body form.hgp-filters.hgp-filters select{font-weight:500!important}
html body form.hgp-filters.hgp-filters input::placeholder{font-weight:400;color:#6b7385}


/* ==== Visa avstånd som av/på-reglage ==== */
.hgp button.hgp-btn.hgc-dist{padding-right:14px}
.hgc-dist__sw{position:relative;width:34px;height:20px;border-radius:999px;background:#cfd6e0;flex:none;margin-left:8px;transition:background .18s}
.hgc-dist__sw i{position:absolute;top:2px;left:2px;width:16px;height:16px;border-radius:50%;background:#fff;box-shadow:0 1px 2px rgba(15,23,42,.25);transition:transform .18s}
.hgc-dist[data-state="done"] .hgc-dist__sw{background:#e4b922}
.hgc-dist[data-state="done"] .hgc-dist__sw i{background:#0b1b33}
.hgc-dist[data-state="done"] .hgc-dist__ic,.hgc-dist[data-state="done"] .hgc-dist__ic svg{color:#d0213f;stroke:#d0213f}
.hgc-dist[data-state="done"] .hgc-dist__sw i{transform:translateX(14px)}
.hgc-dist[data-state="loading"] .hgc-dist__sw{background:#9aa5b4}
.hgp button.hgp-btn.hgc-dist[data-state="done"]{background:#fff;border-color:#0b1b33;cursor:pointer}
.hgp button.hgp-btn.hgc-dist[data-state="done"]:hover{background:#f6f7f9}
@media (max-width:640px){.hgc-dist__sw{margin-left:auto}}

.hgc-dist__state{margin-left:10px;min-width:22px;text-align:right;font-size:12px;font-weight:700;letter-spacing:.04em;color:#6b7385}
.hgc-dist[data-state="done"] .hgc-dist__state{color:#fff}
.hgc-dist__state+.hgc-dist__sw{margin-left:6px}
@media (max-width:640px){.hgc-dist__state{margin-left:auto}}


/* ==== Jämför-popup: avståndsrad ==== */
.compare-table tr.hgc-cmp-dist>th,.compare-table tr.hgc-cmp-dist>td{background:#f4f6f9;font-weight:600;color:#0b1b33}
.compare-table tr.hgc-cmp-dist>td.is-nearest{background:#eef2f8}
.hgc-cmp-near{display:inline-block;margin-left:6px;padding:2px 7px;border-radius:999px;background:#0b1b33;color:#fff;font-size:11px;font-weight:600;vertical-align:middle}

/* HGX-CMP-PRINT: cookie-knappen ovanför jämförelsefältet + utskrift av jämförelse-popupen på A4 */
body.has-compare-bar .hgs-fab{bottom:calc(var(--hg-cmpbar-h,88px) + 14px)!important;transition:bottom .2s ease}
@media print{
body.hgx-cmp-printing>*:not(.hgx-cmp-dlg){display:none!important}
body.hgx-cmp-printing .hgx-cmp-dlg,body.hgx-cmp-printing .hgx-cmp-dlg *{visibility:visible!important}
body.hgx-cmp-printing{background:#fff!important;margin:0!important;padding:0!important}
body.hgx-cmp-printing .hgx-cmp-dlg{position:static!important;inset:auto!important;transform:none!important;display:block!important;width:100%!important;max-width:none!important;height:auto!important;max-height:none!important;margin:0!important;padding:0!important;border:0!important;box-shadow:none!important;overflow:visible!important;background:#fff!important;color:#0b1b33!important}
body.hgx-cmp-printing .hgx-cmp-dlg::backdrop{display:none!important;background:none!important}
body.hgx-cmp-printing .hgx-cmp-dlg__head{display:flex!important;justify-content:space-between;align-items:flex-end;border-bottom:2px solid #0b1b33;padding:0 0 6pt!important;margin:0 0 8pt!important;position:static!important;background:none!important}
body.hgx-cmp-printing .hgx-cmp-dlg__head h2{font-size:16pt!important;margin:0!important;color:#0b1b33!important}
body.hgx-cmp-printing .hgx-cmp-dlg__head::after{content:"hockeygymnasiet.se";font-size:9pt;color:#5a6b85}
body.hgx-cmp-printing .hgx-cmp-dlg__close,body.hgx-cmp-printing .compare__tools,body.hgx-cmp-printing .compare-table__actions,body.hgx-cmp-printing .compare-table__cta,body.hgx-cmp-printing .js-favorite,body.hgx-cmp-printing .js-compare-remove{display:none!important}
body.hgx-cmp-printing .hgx-cmp-dlg__body,body.hgx-cmp-printing .hgx-cmp-dlg .compare,body.hgx-cmp-printing .hgx-cmp-dlg .container{overflow:visible!important;max-height:none!important;height:auto!important;padding:0!important;margin:0!important;width:100%!important;max-width:none!important}
body.hgx-cmp-printing .compare-table-wrap{overflow:visible!important;border:0!important;box-shadow:none!important}
body.hgx-cmp-printing .compare-table{width:100%!important;min-width:0!important;table-layout:fixed;border-collapse:collapse!important;font-size:9pt!important;line-height:1.3}
body.hgx-cmp-printing .compare-table thead{display:table-header-group}
body.hgx-cmp-printing .compare-table tr{break-inside:avoid;page-break-inside:avoid}
body.hgx-cmp-printing .compare-table th,body.hgx-cmp-printing .compare-table td{padding:4pt 6pt!important;border-bottom:.5pt solid #c9d1dd!important;vertical-align:top;word-wrap:break-word;overflow-wrap:anywhere;position:static!important}
body.hgx-cmp-printing .compare-table tr>:first-child{width:24%}
body.hgx-cmp-printing .compare-table img{max-width:36pt!important;max-height:36pt!important;width:auto!important;height:auto!important}
body.hgx-cmp-printing .compare-table__name{font-size:10pt!important;font-weight:700}
body.hgx-cmp-printing .compare-table td.is-best{background:none!important;font-weight:700;text-decoration:none}
body.hgx-cmp-printing .compare-table a{color:inherit!important;text-decoration:none!important}
body.hgx-cmp-printing .hgc-cmp-near{-webkit-print-color-adjust:exact;print-color-adjust:exact}
}

/* HGX-CMP-PRINT-LOGO: logga uppe till vänster på utskriften */
.hgx-print-brand{display:none}
@media print{
body.hgx-cmp-printing .hgx-cmp-dlg__head{background:#0b1b33!important;color:#fff!important;padding:9pt 12pt!important;margin:0 0 10pt!important;border:0!important;border-radius:4pt;align-items:center!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}
body.hgx-cmp-printing .hgx-cmp-dlg__head::after{content:none!important}
body.hgx-cmp-printing .hgx-print-brand{display:block!important;order:-1;margin-right:auto}
body.hgx-cmp-printing .hgx-print-brand img{display:block;height:32pt;width:auto}
body.hgx-cmp-printing .hgx-cmp-dlg__head h2{color:#fff!important;font-size:14pt!important;text-align:right}
}

/* HGX-MEMBERS-ONLY: jämför, favoriter och avstånd endast för medlemmar */
body.hg-not-member #hg-compare-bar{display:none!important}
.hgx-mo{border:0;padding:0;border-radius:14px;max-width:420px;width:calc(100% - 32px);box-shadow:0 20px 60px rgba(11,27,51,.35);color:#0b1b33}
.hgx-mo::backdrop{background:rgba(11,27,51,.55)}
.hgx-mo__in{padding:28px 26px 24px;text-align:center;position:relative}
.hgx-mo__x{position:absolute;top:10px;right:12px;border:0;background:none;font-size:24px;line-height:1;cursor:pointer;color:#5a6b85}
.hgx-mo__ic{width:52px;height:52px;margin:0 auto 12px;border-radius:50%;background:#0b1b33;color:#f5c518;display:flex;align-items:center;justify-content:center}
.hgx-mo h3{margin:0 0 8px;font-size:20px;color:#0b1b33}
.hgx-mo p{margin:0 0 18px;font-size:15px;line-height:1.5;color:#33435c}
.hgx-mo__btns{display:flex;gap:10px;justify-content:center;flex-wrap:wrap}
.hgx-mo__btns a{display:inline-block;padding:11px 20px;border-radius:8px;font-weight:700;text-decoration:none;font-size:15px}
.hgx-mo__join{background:#f5c518;color:#0b1b33}
.hgx-mo__login{background:#fff;color:#0b1b33;border:1.5px solid #0b1b33}

/* ==========================================================
   Knappar i skolmallen (sidopanel + "Valbara gymnasieprogram")
   Samma stil som "Rensa filter" / "Visa 118 gymnasier"
   på /hockeygymnasieutbildningar/
   ========================================================== */

.hgx-cd .hgx-btn,
.hgx-schoolbtns .hgx-btn.hgx-btn--sm{
  --hgx-chev:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E");
  position:relative;display:flex;align-items:center;justify-content:center;gap:8px;
  box-sizing:border-box;min-height:40px;padding:8px 14px;
  font-family:Inter,system-ui,-apple-system,sans-serif;font-size:14px;font-weight:600;
  letter-spacing:.14px;line-height:1.25;text-transform:none;text-decoration:none;text-align:center;
  border-radius:8px;box-shadow:none;
  transition:background-color .15s,border-color .15s,color .15s,box-shadow .15s;
}
.hgx-cd .hgx-btn::after,
.hgx-schoolbtns .hgx-btn.hgx-btn--sm::after{
  content:"";flex:0 0 14px;height:14px;background:currentColor;
  -webkit-mask:var(--hgx-chev) center/contain no-repeat;mask:var(--hgx-chev) center/contain no-repeat;
  transition:transform .15s;
}
.hgx-cd .hgx-btn:hover::after,
.hgx-schoolbtns .hgx-btn.hgx-btn--sm:hover::after{transform:translateX(2px)}
.hgx-cd .hgx-btn{width:100%}

/* Primär: Skicka intresseanmälan (som "Visa 118 gymnasier") */
.hgx-cd .hgx-btn:not(.hgx-btn--o):not(.hgx-btn--y){
  background:#0b1b33;color:#fff !important;border:1px solid #0b1b33;
  box-shadow:0 1px 2px rgba(15,23,42,.12);
}
.hgx-cd .hgx-btn:not(.hgx-btn--o):not(.hgx-btn--y):hover,
.hgx-cd .hgx-btn:not(.hgx-btn--o):not(.hgx-btn--y):focus-visible{
  background:#16305a;border-color:#16305a;color:#fff !important;
}

/* Sekundär: Till meriträknare + Till skolan (som "Rensa filter") */
.hgx-cd .hgx-btn--o,
.hgx-schoolbtns .hgx-btn.hgx-btn--sm,
.hgx-schoolbtns .hgx-btn.hgx-btn--sm:visited{
  background:#fff;color:#334155 !important;border:1px solid #b9c6d3;
}
.hgx-cd .hgx-btn--o:hover,.hgx-cd .hgx-btn--o:focus-visible,
.hgx-schoolbtns .hgx-btn.hgx-btn--sm:hover,
.hgx-schoolbtns .hgx-btn.hgx-btn--sm:focus-visible{
  background:#f8fafc;border-color:#0b1b33;color:#0b1b33 !important;
}

/* Premium: Kontakta tränaren */
.hgx-cd .hgx-btn--y{background:#e3b520;color:#0b1b33 !important;border:1px solid #d4a613}
.hgx-cd .hgx-btn--y:hover,.hgx-cd .hgx-btn--y:focus-visible{
  background:#efc33a;border-color:#d4a613;color:#0b1b33 !important;
}

/* Till skolan: skolnamnet alltid på en rad.
   Långa namn hamnar på egen rad under rubriken (hgx-head är flex-wrap). */
.hgx-schoolbtns{flex:0 1 auto;max-width:100%;min-width:0;display:flex;flex-wrap:wrap;gap:8px}
/* Skola utan webbadress: samma knappstil men utan pil */
.hgx-schoolbtns span.hgx-btn::after{display:none}
.hgx-schoolbtns .hgx-schoolbtn{max-width:100%;min-width:0}
.hgx-schoolbtns .hgx-btn.hgx-btn--sm{display:inline-flex;width:auto;max-width:100%;white-space:nowrap}
@media (max-width:600px){
  .hgx-schoolbtns,.hgx-schoolbtns .hgx-schoolbtn{width:100%}
  .hgx-schoolbtns .hgx-btn.hgx-btn--sm{
    display:flex;width:100%;padding-left:10px;padding-right:10px;
    font-size:clamp(11px,3.4vw,14px);
  }
}

.hgx-cd .hgx-btn:focus-visible,
.hgx-schoolbtns .hgx-btn.hgx-btn--sm:focus-visible{outline:2px solid #e3b520;outline-offset:2px}

/* Skillnaden NIU/LIP/LIU – kompakt nivårad */
.hgx-intro3{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) !important;gap:0 !important;
  padding:0 !important;background:#fff !important;border:1px solid #d5dde6;border-radius:8px;overflow:hidden;
}
.hgx-intro3>div{
  --lvl:#001321;
  position:relative;display:grid !important;grid-template-columns:auto 1fr !important;grid-template-rows:auto auto !important;
  grid-template-areas:none !important;align-items:center;align-content:start;column-gap:8px;row-gap:6px;
  padding:12px 16px !important;background:#fff !important;border:0 !important;border-radius:0 !important;
  box-shadow:none !important;min-height:0 !important;height:auto !important;
}
.hgx-intro3>div+div{border-left:1px solid #e6ebf1 !important}
.hgx-intro3>div:nth-child(2){--lvl:#003c69}
.hgx-intro3>div:nth-child(3){--lvl:#c99a0c}
.hgx-intro3>div::before{content:none}
.hgx-intro3 .hgx-tag{
  grid-column:1 !important;grid-row:1 !important;
  display:inline-flex;align-items:center;gap:7px;height:auto;padding:0 !important;margin:0;background:none !important;border-radius:0;
  color:var(--lvl) !important;font-size:11px;font-weight:700;letter-spacing:.1em;line-height:1.2;text-transform:uppercase;
}
.hgx-intro3>div small{
  grid-column:2 !important;grid-row:1 !important;display:block;margin:0;padding:0;border:0 !important;
  font-size:11px;font-weight:500;letter-spacing:.04em;line-height:1.2;text-transform:uppercase;color:#64748b;
}
.hgx-intro3>div small::before{content:"·";margin-right:8px;color:#94a3b8}
.hgx-intro3 .hgx-tag::before{content:"";flex:0 0 8px;width:8px;height:8px;border-radius:2px;background:var(--lvl)}
.hgx-intro3>div h3{
  grid-column:1 / -1 !important;grid-row:2 !important;margin:0 !important;
  font-size:clamp(12px,5cqi,14px) !important;font-weight:600;line-height:1.35;color:#0f172a;letter-spacing:-.005em;
}
.hgx-intro3>div{container-type:inline-size}
@media (max-width:640px){
  .hgx-intro3{grid-template-columns:1fr !important}
  .hgx-intro3>div+div{border-left:0 !important;border-top:1px solid #e6ebf1 !important}
}

/* Det här krävs – 2 x 2 block i mobil, som på desktop */
@media (max-width:640px){
  .hgx-req{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding:8px}
  .hgx-req div{min-width:0;padding:10px 12px}
  .hgx-req small{font-size:12px;line-height:1.25}
  .hgx-req b{font-size:15px;line-height:1.25}
}

/* Träningar under skoltid – dölj Ispass i mobil (visas redan i faktarutorna) */
@media (max-width:640px){
  .hgx-card>.hgx-card-h+.hgx-kv{display:none}
}

/* Skolans hero – samma bakgrund och vattenstämpel som /for-klubbar-och-foretag/ */
.hgx-hero{
  background:radial-gradient(900px 500px at 90% 0,rgba(11,42,74,.95),transparent 65%),#001321 !important;
  overflow:hidden;
}
.hgx-hero .hgx-wm{
  position:absolute !important;inset:50% -200px auto auto !important;
  height:150% !important;width:auto !important;aspect-ratio:1 / 1;max-width:none !important;
  transform:translateY(-50%) !important;opacity:.07 !important;pointer-events:none;z-index:0;
}
.hgx-hero .hgx-wm figure,
.hgx-hero .hgx-wm img{width:100% !important;height:100% !important;max-width:none !important;margin:0 !important}
.hgx-hero .hgx-wm img{filter:none !important}
/* Dölj H5-rubriken i beskrivningen i heron */
.hgx-hero h5{display:none !important}
/* Beskrivningen i heron: visa två rader + Läs mer */
.hgx-hero .hgx-clamp{max-height:3.1em;-webkit-mask-image:linear-gradient(#000 55%,transparent);mask-image:linear-gradient(#000 55%,transparent)}
.hgx-hero .hgx-desc.is-open .hgx-clamp{max-height:none;-webkit-mask-image:none;mask-image:none}
.hgx-hero .hgx-hero-in{position:relative;z-index:1}

/* Kontakta antagningsansvarig – Ring / Skicka e-post */
.hgx-person .hgx-actions{display:flex;flex-wrap:wrap;gap:8px}
.hgx-person .hgx-actions .hgx-btn{
  --hgx-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1.9.4 1.8.7 2.7a2 2 0 0 1-.5 2.1L8 9.8a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.8.6 2.7.7a2 2 0 0 1 1.7 2z'/%3E%3C/svg%3E");
  display:inline-flex;align-items:center;justify-content:center;gap:8px;box-sizing:border-box;
  min-height:40px;padding:8px 16px;border-radius:8px;
  font-family:Inter,system-ui,-apple-system,sans-serif;font-size:14px;font-weight:600;letter-spacing:.14px;line-height:1.2;
  text-transform:none;text-decoration:none;white-space:nowrap;
  transition:background-color .15s,border-color .15s,color .15s;
}
.hgx-person .hgx-actions .hgx-btn--o{
  --hgx-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='M22 7l-10 6L2 7'/%3E%3C/svg%3E");
}
.hgx-person .hgx-actions .hgx-btn::before{
  content:"";flex:0 0 15px;height:15px;background:currentColor;
  -webkit-mask:var(--hgx-ico) center/contain no-repeat;mask:var(--hgx-ico) center/contain no-repeat;
}
.hgx-person .hgx-actions .hgx-btn:not(.hgx-btn--o){background:#0b1b33;color:#fff !important;border:1px solid #0b1b33;box-shadow:0 1px 2px rgba(15,23,42,.12)}
.hgx-person .hgx-actions .hgx-btn:not(.hgx-btn--o):hover,
.hgx-person .hgx-actions .hgx-btn:not(.hgx-btn--o):focus-visible{background:#16305a;border-color:#16305a;color:#fff !important}
.hgx-person .hgx-actions .hgx-btn--o{background:#fff;color:#334155 !important;border:1px solid #b9c6d3}
.hgx-person .hgx-actions .hgx-btn--o:hover,
.hgx-person .hgx-actions .hgx-btn--o:focus-visible{background:#f8fafc;border-color:#0b1b33;color:#0b1b33 !important}
.hgx-person .hgx-actions .hgx-btn:focus-visible{outline:2px solid #e3b520;outline-offset:2px}
@media (max-width:640px){
  .hgx-person .hgx-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}
  .hgx-person .hgx-actions .hgx-btn{width:100%;padding-left:10px;padding-right:10px}
}

/* Kortrubrik med programantal – badgen bryts ned under rubriken när det är trångt */
.hgx-card-h{flex-wrap:wrap;column-gap:8px;row-gap:6px}
.hgx-card-h .hgx-card-t{min-width:0}

/* ==========================================================================
   För klubbar och företag – hero i samma stil som "Ansökan och antagning"
   (behåller blå bakgrund + vattenmärke från .hgp-pagehero, layout/typo/knappar/
   nyckeltal från innehall.css: .hgg-hero__title, .hgg-btns, .hgg-stats)
   ========================================================================== */
.hgp-pagehero--guide { padding: clamp(56px, 7vw, 80px) 0 clamp(48px, 6vw, 72px); }
.hgp-pagehero--guide h1.hgg-hero__title { text-transform: none; }
.hgp-pagehero--guide p.hgg-hero__lead { max-width: 640px; font-size: 18px; }
.hgp-pagehero--guide p.hgg-eyebrow { font-size: 12px; max-width: none; }
.hgp-pagehero--guide ul.hgg-stats { list-style: none; padding: 0; margin: 40px 0 0; }
.hgp-pagehero--guide ul.hgg-stats li { margin: 0; }
@media (max-width: 720px) {
  .hgp-pagehero--guide p.hgg-hero__lead { font-size: 16px; }
  .hgp-pagehero--guide ul.hgg-stats { margin-top: 28px; }
}

/* === Startsidan: "Var med där hockeygymnasiet väljs" – proffsigare layout === */
#hgf-kl{background:#f4f7fb;border-top:1px solid #e3e9f1;border-bottom:1px solid #e3e9f1}
#hgf-kl .hgp-head{max-width:760px;margin-bottom:36px}
#hgf-kl .hgp-head .hgp-lead{font-size:18px;color:#5b6878}
/* Medlemskapsbanner */
#hgf-kl .hgp-strip{background:#001321;border:0;border-radius:14px;padding:28px 32px;color:#fff;gap:28px;align-items:center;box-shadow:0 18px 40px -24px rgba(0,19,33,.6);position:relative;overflow:hidden;margin-bottom:32px}
#hgf-kl .hgp-strip:before{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:#e4b922}
#hgf-kl .hgp-strip__icon{width:52px;height:52px;border-radius:12px;background:rgba(228,185,34,.12);border:1px solid rgba(228,185,34,.35);font-size:0;display:grid;place-items:center}
#hgf-kl .hgp-strip__icon:after{content:"";width:24px;height:24px;background:#e4b922;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='11' width='16' height='10' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 7.5-2'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='11' width='16' height='10' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 7.5-2'/%3E%3C/svg%3E") center/contain no-repeat}
#hgf-kl .hgp-strip .hgp-eyebrow{color:#e4b922}
#hgf-kl .hgp-strip h3{color:#fff;font-size:22px;line-height:1.25;margin:6px 0 14px}
#hgf-kl .hgp-strip .hgp-pills{gap:8px 18px}
#hgf-kl .hgp-strip .hgp-pills li{background:none;border:0;padding:0;color:rgba(255,255,255,.82);font-size:14px;font-weight:500}
#hgf-kl .hgp-strip .hgp-pills li:before{color:#e4b922}
#hgf-kl .hgp-strip__price{border-left:1px solid rgba(255,255,255,.14);padding-left:28px;color:rgba(255,255,255,.7);font-size:13px;line-height:1.6;text-align:left;min-width:230px}
#hgf-kl .hgp-strip__price strong{color:#fff;font-size:28px;font-weight:800;margin-left:4px}
#hgf-kl .hgp-strip__price .hgp-btn{margin-top:12px;display:inline-flex}
/* Kort */
#hgf-kl .hgp-grid--3{gap:24px}
#hgf-kl .hgp-card{border:1px solid #e3e9f1;border-top:1px solid #e3e9f1;border-radius:14px;box-shadow:0 1px 2px rgba(0,19,33,.04),0 8px 24px -16px rgba(0,19,33,.25);transition:transform .2s ease,box-shadow .2s ease}
#hgf-kl .hgp-card:hover{transform:translateY(-3px);box-shadow:0 2px 4px rgba(0,19,33,.05),0 22px 40px -20px rgba(0,19,33,.35)}
#hgf-kl .hgp-card__media{overflow:hidden}
#hgf-kl .hgp-card__media:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,19,33,0) 45%,rgba(0,19,33,.65) 100%);pointer-events:none}
#hgf-kl .hgp-card__img{aspect-ratio:16/10;transition:transform .5s ease}
#hgf-kl .hgp-card:hover .hgp-card__img{transform:scale(1.04)}
#hgf-kl .hgp-card__media .hgp-badge{z-index:1;background:rgba(0,19,33,.72);color:#fff;border:1px solid rgba(255,255,255,.22);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);font-size:11px;letter-spacing:.08em;padding:6px 10px;border-radius:6px}
#hgf-kl .hgp-card__body{padding:26px 26px 24px;gap:14px}
#hgf-kl .hgp-card__body h3{font-size:21px;line-height:1.25;letter-spacing:-.01em;color:#001321}
#hgf-kl .hgp-card__body>p{font-size:15px;line-height:1.6;color:#5b6878}
#hgf-kl .hgp-checks{border-top:1px solid #edf1f6;padding-top:16px;margin-top:2px}
#hgf-kl .hgp-checks li{font-size:14.5px;color:#1c2a38}
#hgf-kl .hgp-checks li:before{background:#eaf2fb 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='%23045cb4' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat 50% 50%/11px auto;border:0;border-radius:50%}
#hgf-kl .hgp-card__foot{padding-top:12px}
#hgf-kl .hgp-card__foot .hgp-btn{width:100%;justify-content:center;background:#fff;color:#001321;border:1.5px solid #001321;box-shadow:none;padding:12px 12px;white-space:nowrap;font-size:14px}
#hgf-kl .hgp-card__foot .hgp-btn:hover{background:#001321;color:#fff}
#hgf-kl .hgp-card--p .hgp-card__foot .hgp-btn{background:#e4b922;border-color:#e4b922}
#hgf-kl .hgp-card--p .hgp-card__foot .hgp-btn:hover{background:#001321;border-color:#001321;color:#fff}
@media (max-width:900px){#hgf-kl .hgp-strip{padding:24px}#hgf-kl .hgp-strip__price{border-left:0;padding-left:0;border-top:1px solid rgba(255,255,255,.14);padding-top:18px}}

/* === Startsidan: kalendern "Tryouts, camps och turneringar" – renare layout === */
#kalender .hgc-cal{display:grid;grid-template-columns:1fr auto;grid-template-areas:"head head" "filter pager" "list list" "adds adds" "foot foot";align-items:center;column-gap:24px}
#kalender .hgc-cal__head{grid-area:head;max-width:760px;margin-bottom:36px}
#kalender .hgc-cal__sub{color:rgba(255,255,255,.72);font-size:18px;line-height:1.6;margin-bottom:0}
#kalender .hgc-cal__count{display:none}
#kalender .hgc-cal__tools{display:contents}
/* Filter som segmenterad kontroll */
#kalender .hgc-cal__filter{grid-area:filter;justify-self:start;display:inline-flex;gap:2px;padding:4px;margin:0 0 16px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.12);border-radius:10px;flex-wrap:wrap}
#kalender .hgc-cal__chip{background:transparent;border:0;color:rgba(255,255,255,.75);border-radius:7px;padding:8px 14px;font-size:14px;font-weight:600;box-shadow:none;transition:background .15s,color .15s}
#kalender .hgc-cal__chip:hover{color:#fff;background:rgba(255,255,255,.08)}
#kalender .hgc-cal__chip.is-on{background:#fff;color:#001321}
#kalender .hgc-cal__chip small{background:none;opacity:.55;font-weight:600;margin-left:6px;padding:0}
/* Bläddring */
#kalender .hgc-cal__pager{grid-area:pager;margin:0 0 16px;display:flex;align-items:center;gap:8px;color:rgba(255,255,255,.6);font-size:13px}
#kalender .hgc-cal__pager span{margin-right:6px}
#kalender .hgc-cal__arr{width:38px;height:38px;border-radius:8px;background:transparent;border:1px solid rgba(255,255,255,.22);color:#fff;font-size:18px;line-height:1;display:grid;place-items:center;transition:background .15s,border-color .15s}
#kalender .hgc-cal__arr:hover:not([disabled]){background:#fff;color:#001321;border-color:#fff}
#kalender .hgc-cal__arr[disabled]{opacity:.3;cursor:default}
/* Lista som en sammanhållen panel */
#kalender .hgc-cal__list{grid-area:list;display:flex;flex-direction:column;gap:0;background:rgba(255,255,255,.035);border:1px solid rgba(255,255,255,.12);border-radius:14px;overflow:hidden}
#kalender .hgc-cal__item{background:transparent;border:0;border-radius:0;box-shadow:none;margin:0;padding:22px 24px;display:grid;grid-template-columns:72px 44px 1fr auto;gap:20px;align-items:center;transition:background .15s}
#kalender .hgc-cal__item+.hgc-cal__item{border-top:1px solid rgba(255,255,255,.1)}
#kalender .hgc-cal__item:hover{background:rgba(255,255,255,.05)}
#kalender .hgc-cal__date{background:transparent!important;border:0;border-right:1px solid rgba(255,255,255,.14);border-radius:0;color:#fff;width:auto;min-width:0;height:auto;padding:2px 18px 2px 0;text-align:center;box-shadow:none}
#kalender .hgc-cal__date b{display:block;font-size:26px;font-weight:800;line-height:1.05;letter-spacing:-.02em;color:#fff;white-space:nowrap}
#kalender .hgc-cal__date span{display:block;margin-top:4px;font-size:11px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:#e4b922}
#kalender .hgc-cal__icon{width:44px;height:44px;border-radius:10px;background:#fff;display:grid;place-items:center;overflow:hidden;padding:5px}
#kalender .hgc-cal__icon img{width:100%;height:100%;object-fit:contain}
#kalender .hgc-cal__top{display:flex;align-items:center;gap:10px;margin-bottom:4px}
#kalender .hgc-cal__org{font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:rgba(255,255,255,.55)}
#kalender .hgc-cal__badge{background:transparent!important;border:0;padding:0;font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#7fd6a4!important;display:inline-flex;align-items:center;gap:6px}
#kalender .hgc-cal__badge:before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor}
#kalender .hgc-cal__badge--tryout{color:#8ec5ff!important}
#kalender .hgc-cal__badge--camp{color:#e4b922!important}
#kalender .hgc-cal__name{color:#fff;font-size:19px;font-weight:700;line-height:1.3;margin:0 0 8px}
#kalender .hgc-cal__meta{display:flex;flex-wrap:wrap;gap:4px 18px;color:rgba(255,255,255,.62);font-size:13.5px}
#kalender .hgc-cal__meta span{display:inline-flex;align-items:center;gap:6px}
#kalender .hgc-cal__meta svg{opacity:.7}
#kalender .hgc-cal__cta{display:flex;align-items:center;gap:16px}
#kalender .hgc-cal__btn{background:transparent;border:1.5px solid rgba(255,255,255,.35);color:#fff;border-radius:8px;padding:11px 16px;font-size:14px;font-weight:600;white-space:nowrap;box-shadow:none;transition:background .15s,color .15s,border-color .15s}
#kalender .hgc-cal__btn:hover{background:#fff;color:#001321;border-color:#fff}
#kalender .hgc-cal__edit{color:rgba(255,255,255,.45);font-size:13px;text-decoration:none}
#kalender .hgc-cal__edit:hover{color:#fff;text-decoration:underline}
/* Lägg till + fotnot */
#kalender .hgc-cal__adds{grid-area:adds;display:flex;flex-wrap:wrap;gap:10px;margin-top:28px}
#kalender .hgc-cal__add{background:transparent;border:1.5px solid rgba(255,255,255,.3);color:#fff;border-radius:8px;padding:10px 16px;font-size:14px;font-weight:600;box-shadow:none}
#kalender .hgc-cal__add:hover{background:rgba(255,255,255,.08);border-color:#fff}
#kalender .hgc-cal__add--pri{background:#e4b922;border-color:#e4b922;color:#001321}
#kalender .hgc-cal__add--pri:hover{background:#fff;border-color:#fff;color:#001321}
#kalender .hgc-cal__add--adm{border-style:dashed;border-color:rgba(255,255,255,.2);color:rgba(255,255,255,.6);margin-left:auto}
#kalender .hgc-cal__foot{grid-area:foot;margin:16px 0 0;font-size:13.5px;color:rgba(255,255,255,.55)}
#kalender .hgc-cal__foot a{color:rgba(255,255,255,.85);text-decoration:underline;text-underline-offset:3px}
@media (max-width:760px){
#kalender .hgc-cal{grid-template-columns:1fr;grid-template-areas:"head" "filter" "pager" "list" "adds" "foot"}
#kalender .hgc-cal__pager{justify-self:start}
#kalender .hgc-cal__item{grid-template-columns:60px 1fr;padding:18px}
#kalender .hgc-cal__icon{display:none}
#kalender .hgc-cal__date{padding-right:14px}
#kalender .hgc-cal__cta{grid-column:1/-1}
#kalender .hgc-cal__btn{flex:1;text-align:center}
#kalender .hgc-cal__add--adm{margin-left:0}
}

/* === Startsidan: "Förbered dig för ditt val av hockeygymnasium" (Plus-guider) – proffsigare layout === */
#hgf-gu{background:linear-gradient(180deg,#012b4a 0%,#001d33 100%)}
#hgf-gu:before{opacity:.03!important}
#hgf-gu .hgrail__in{max-width:1320px;padding:0 40px}
#hgf-gu .hgrail__head{align-items:flex-end;margin-bottom:36px}
#hgf-gu .hgrail__lead{color:rgba(255,255,255,.72);font-size:18px;line-height:1.6}
#hgf-gu .hgrail__all{color:#fff;border-bottom:0;text-decoration:underline;text-decoration-color:rgba(228,185,34,.8);text-underline-offset:6px;text-decoration-thickness:2px;font-size:15px;margin-right:8px}
#hgf-gu .hgrail__all:hover{color:#e4b922}
#hgf-gu .hgrail__arrow{width:40px;height:40px;border-radius:8px;background:transparent;border:1px solid rgba(255,255,255,.25);color:#fff;transition:background .15s,color .15s,border-color .15s}
#hgf-gu .hgrail__arrow:hover:not([disabled]){background:#fff;color:#001321;border-color:#fff}
#hgf-gu .hgrail__arrow[disabled]{opacity:.3}
/* Kort */
#hgf-gu .hgrail__track{gap:20px;grid-auto-columns:calc((100% - 40px) / 3)}
@media (max-width:1000px){#hgf-gu .hgrail__track{grid-auto-columns:calc((100% - 20px) / 2)}}
@media (max-width:640px){#hgf-gu .hgrail__track{grid-auto-columns:86%}}
#hgf-gu .hgrail__card{border:0;background:none}
#hgf-gu .hgrail__card>a{border:0!important;border-radius:14px;background:#fff;padding:26px 26px 22px;display:flex;flex-direction:column;height:100%;box-shadow:0 1px 2px rgba(0,0,0,.08),0 14px 30px -18px rgba(0,0,0,.55);position:relative;overflow:hidden;transition:transform .2s ease,box-shadow .2s ease}
#hgf-gu .hgrail__card>a:after{content:"";position:absolute;left:0;right:0;top:0;height:3px;background:#e4b922;transform:scaleX(0);transform-origin:left;transition:transform .3s ease}
#hgf-gu .hgrail__card>a:hover{transform:translateY(-4px);box-shadow:0 2px 4px rgba(0,0,0,.1),0 26px 44px -22px rgba(0,0,0,.7)}
#hgf-gu .hgrail__card>a:hover:after{transform:scaleX(1)}
#hgf-gu .hgrail__top{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}
#hgf-gu .hgrail__num{font-size:12px!important;font-weight:700;letter-spacing:.14em;color:#8593a3!important;-webkit-text-stroke:0!important;line-height:1;font-family:inherit}
#hgf-gu .hgrail__num:before{content:"GUIDE ";}
#hgf-gu .hgrail__badge{background:#001321;color:#e4b922;border:0;border-radius:6px;padding:5px 9px;font-size:10.5px;letter-spacing:.1em}
#hgf-gu .hgrail__badge svg{color:#e4b922;fill:currentColor}
#hgf-gu .hgrail__name{font-size:19px;line-height:1.3;letter-spacing:-.01em;color:#001321;font-weight:700;margin-bottom:10px}
#hgf-gu .hgrail__text{font-size:14.5px;line-height:1.6;color:#5b6878;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
#hgf-gu .hgrail__more{margin-top:auto;padding-top:18px;border-top:1px solid #edf1f6;width:100%;display:flex;justify-content:space-between;align-items:center;color:#045cb4;font-size:14px;font-weight:700}
#hgf-gu .hgrail__text+.hgrail__more,#hgf-gu .hgrail__more{margin-top:auto}
#hgf-gu .hgrail__card>a .hgrail__text{margin-bottom:20px}
#hgf-gu .hgrail__card>a:hover .hgrail__more{color:#001321}
/* Prickar */
#hgf-gu .hgrail__dots{margin-top:28px}
#hgf-gu .hgrail__dots i{width:8px;height:8px;border-radius:50%;background:rgba(255,255,255,.25)}
#hgf-gu .hgrail__dots i.is-on{width:24px;border-radius:4px;background:#e4b922}
/* Medlemsrad */
#hgf-gu .hgrail__note{margin-top:36px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.12);border-radius:14px;padding:22px 26px;gap:24px}
#hgf-gu .hgrail__note p{color:rgba(255,255,255,.72);font-size:15px;line-height:1.6;margin:0}
#hgf-gu .hgrail__note strong{color:#fff}
#hgf-gu .hgrail__cta{border-radius:8px;white-space:nowrap}
@media (max-width:760px){#hgf-gu .hgrail__in{padding:0 20px}#hgf-gu .hgrail__note{flex-direction:column;align-items:flex-start}}

/* === Startsidan: "Det här missar du utan medlemskap" – proffsigare layout === */
#hgf-me{background:#fff;border-top:1px solid #e3e9f1}
@media (min-width:1300px){
#hgf-me .hgp-wrap{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);grid-template-rows:auto auto auto 1fr;column-gap:64px;align-items:start}
#hgf-me .hgp-wrap>*:not(.hgp-table){grid-column:1}
#hgf-me .hgp-table{grid-column:2;grid-row:1/span 4;margin:0!important}
}
#hgf-me .hgp-h2{font-size:clamp(30px,3.2vw,40px);line-height:1.15;letter-spacing:-.02em}
#hgf-me .hgp-lead{font-size:18px;line-height:1.6;color:#5b6878;max-width:640px}
#hgf-me .hgp-actions{margin-top:28px}
#hgf-me .hgp-actions .hgp-btn{border-radius:8px;padding:14px 22px}
#hgf-me .hgp-actions .hgp-btn:after{content:" →"}
/* Tabell */
#hgf-me .hgp-table{width:100%;margin-top:36px;border-collapse:separate;border-spacing:0;background:#fff;border:1px solid #e3e9f1;border-radius:14px;overflow:hidden;box-shadow:0 1px 2px rgba(0,19,33,.04),0 18px 40px -26px rgba(0,19,33,.35);font-size:15px}
#hgf-me .hgp-table th,#hgf-me .hgp-table td{padding:16px 22px;border:0;border-bottom:1px solid #edf1f6;background:none;color:#1c2a38;text-align:left}
#hgf-me .hgp-table tbody tr:last-child td{border-bottom:0}
#hgf-me .hgp-table tbody tr:hover td{background:#f8fafc}
#hgf-me .hgp-table tbody tr:hover td.m{background:#eaf2fb}
#hgf-me .hgp-table thead th{font-size:11.5px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:#8593a3;background:#f8fafc;padding-top:14px;padding-bottom:14px}
#hgf-me .hgp-table .c{width:110px;text-align:center}
#hgf-me .hgp-table td.m{background:#f2f7fd}
#hgf-me .hgp-table thead th.m{background:#001321;color:#e4b922}
#hgf-me .hgp-table td.c:before{content:""!important;opacity:1!important;filter:none!important;font-size:0;display:inline-block;vertical-align:middle;width:22px;height:22px;border-radius:50%}
#hgf-me .hgp-table td.hgp-yes:before{background:#e8f5ee 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='%231f8a4c' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat 50% 50%/12px auto}
#hgf-me .hgp-table td.m.hgp-yes:before{background:#045cb4 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='%23ffffff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat 50% 50%/12px auto}
#hgf-me .hgp-table td.hgp-no:before{background:#eef2f6 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7a8c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='11' width='14' height='10' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4'/%3E%3C/svg%3E") no-repeat 50% 50%/12px auto}
@media (max-width:640px){#hgf-me .hgp-table th,#hgf-me .hgp-table td{padding:14px 12px}#hgf-me .hgp-table .c{width:72px}}

/* === Startsidan: två kolumner "Nytt · Spelarprofiler" och "För klubbar" – proffsigare layout === */
#hgf-sp{background:#eef2f7;border-top:1px solid #e3e9f1}
#hgf-sp .hgnew__in{max-width:1320px;padding:0 40px;gap:24px;align-items:stretch;grid-template-columns:repeat(2,minmax(0,1fr))}
@media (max-width:900px){#hgf-sp .hgnew__in{grid-template-columns:1fr}}
#hgf-sp .hgnew__card{border-radius:16px;padding:40px 36px 36px;display:flex;flex-direction:column;border:0}
#hgf-sp .hgnew__card--dark{background:radial-gradient(120% 80% at 100% 0%,rgba(4,92,180,.35) 0%,rgba(4,92,180,0) 60%),#001321;box-shadow:0 24px 48px -28px rgba(0,19,33,.7)}
#hgf-sp .hgnew__card--light{background:#fff;border:1px solid #e3e9f1;box-shadow:0 1px 2px rgba(0,19,33,.04),0 18px 40px -26px rgba(0,19,33,.3)}
#hgf-sp .hgnew__tag{display:inline-flex;align-self:flex-start;align-items:center;gap:8px;background:transparent;border-radius:0;padding:0;font-size:12px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:#e4b922;margin-bottom:16px}
#hgf-sp .hgnew__tag:before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor}
#hgf-sp .hgnew__card--light .hgnew__tag{color:#045cb4}
#hgf-sp .hgnew__title{font-size:clamp(24px,2.3vw,30px);line-height:1.2;letter-spacing:-.02em;margin:0 0 14px}
#hgf-sp .hgnew__card--light .hgnew__title{color:#001321}
#hgf-sp .hgnew__lead{font-size:16px;line-height:1.6;margin:0 0 26px}
#hgf-sp .hgnew__card--dark .hgnew__lead{color:rgba(255,255,255,.72)}
#hgf-sp .hgnew__card--light .hgnew__lead{color:#5b6878}
/* Steg som vertikal lista */
#hgf-sp .hgnew__steps{display:flex!important;flex-direction:column;gap:0;margin:0 0 30px;padding:0;border-top:1px solid rgba(255,255,255,.12)}
#hgf-sp .hgnew__steps li{display:grid;grid-template-columns:32px 1fr;column-gap:16px;align-items:start;background:none;border:0;border-bottom:1px solid rgba(255,255,255,.12);border-radius:0;padding:16px 0;margin:0}
#hgf-sp .hgnew__steps li:before{grid-row:1/span 2;position:static;width:28px;height:28px;border-radius:50%;background:transparent;border:1.5px solid #e4b922;color:#e4b922;font-size:13px;font-weight:700;display:grid;place-items:center;margin:0}
#hgf-sp .hgnew__steps li b{color:#fff;font-size:15.5px;line-height:1.3;display:block}
#hgf-sp .hgnew__steps li span{color:rgba(255,255,255,.62);font-size:14px;line-height:1.5;display:block;margin-top:2px}
/* Checklista */
#hgf-sp .hgnew__checks{margin:0 0 30px;padding:18px 0 0;border-top:1px solid #edf1f6;display:flex;flex-direction:column;gap:14px}
#hgf-sp .hgnew__checks li{position:relative;padding-left:34px;color:#1c2a38;font-size:15px;line-height:1.55}
#hgf-sp .hgnew__checks li:before{content:""!important;position:absolute;left:0;top:1px;width:22px;height:22px;border-radius:50%;background:#eaf2fb 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='%23045cb4' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat 50% 50%/12px auto}
#hgf-sp .hgnew__checks strong{color:#001321}
/* Knappar */
#hgf-sp .hgnew__btns{margin-top:auto!important;padding-top:4px;display:flex;flex-direction:row;flex-wrap:wrap;gap:12px}
#hgf-sp .hgnew__btn{flex:1 1 220px;display:inline-flex;justify-content:center;text-align:center;border-radius:8px;padding:13px 20px;font-size:15px;font-weight:700;line-height:1.2;box-shadow:none;transition:background .15s,color .15s,border-color .15s}
#hgf-sp .hgnew__btn--line-light{border:1.5px solid rgba(255,255,255,.35);color:#fff;background:transparent}
#hgf-sp .hgnew__btn--line-light:hover{background:#fff;color:#001321;border-color:#fff}
#hgf-sp .hgnew__btn--gold:hover{background:#fff;color:#001321}
#hgf-sp .hgnew__btn--line{border:1.5px solid #001321;color:#001321;background:transparent}
#hgf-sp .hgnew__btn--line:hover{background:#001321;color:#fff}
#hgf-sp .hgnew__btn--navy:hover{background:#045cb4;border-color:#045cb4}
@media (max-width:760px){#hgf-sp .hgnew__in{padding:0 20px}#hgf-sp .hgnew__card{padding:28px 24px}}

/* === Startsidan: enhetliga knappar === */
body.home #hgf-sp .hgnew__btn,body.home #hgf-kl .hgp-btn,body.home #hgf-me .hgp-btn,body.home #priser .hgp-btn,body.home #kalender .hgc-cal__add,body.home #kalender .hgc-cal__btn,body.home #hgf-gu .hgrail__cta{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:0 22px;border-radius:10px;border:1.5px solid transparent;font-family:inherit;font-size:15px;font-weight:700;line-height:1.2;letter-spacing:.005em;text-decoration:none;white-space:nowrap;box-shadow:none;transform:none;transition:background-color .18s ease,border-color .18s ease,color .18s ease,box-shadow .18s ease,transform .18s ease;cursor:pointer}
body.home #hgf-kl .hgp-btn--sm,body.home #kalender .hgc-cal__add,body.home #kalender .hgc-cal__btn{min-height:42px;padding:0 18px;font-size:14px}
body.home #hgf-sp .hgnew__btn:focus-visible,body.home #hgf-kl .hgp-btn:focus-visible,body.home #hgf-me .hgp-btn:focus-visible,body.home #priser .hgp-btn:focus-visible,body.home #kalender .hgc-cal__add:focus-visible,body.home #kalender .hgc-cal__btn:focus-visible,body.home #hgf-gu .hgrail__cta:focus-visible{outline:none;box-shadow:0 0 0 3px #fff,0 0 0 5px #045cb4}
body.home #hgf-sp .hgnew__btn:active,body.home #hgf-kl .hgp-btn:active,body.home #hgf-me .hgp-btn:active,body.home #priser .hgp-btn:active,body.home #kalender .hgc-cal__add:active,body.home #kalender .hgc-cal__btn:active,body.home #hgf-gu .hgrail__cta:active{transform:translateY(0)!important;box-shadow:none!important}
/* Primär – gul */
body.home #hgf-sp .hgnew__btn--gold,body.home #hgf-kl .hgp-strip .hgp-btn,body.home #hgf-kl .hgp-card--p .hgp-card__foot .hgp-btn,body.home #hgf-me .hgp-btn,body.home #priser .hgp-btn:not(.hgp-btn--ghost),body.home #kalender .hgc-cal__add--pri,body.home #hgf-gu .hgrail__cta{background:#e4b922!important;border-color:#e4b922!important;color:#001321!important;box-shadow:inset 0 -2px 0 rgba(0,0,0,.08)}
body.home #hgf-sp .hgnew__btn--gold:hover,body.home #hgf-kl .hgp-strip .hgp-btn:hover,body.home #hgf-kl .hgp-card--p .hgp-card__foot .hgp-btn:hover,body.home #hgf-me .hgp-btn:hover,body.home #priser .hgp-btn:not(.hgp-btn--ghost):hover,body.home #kalender .hgc-cal__add--pri:hover,body.home #hgf-gu .hgrail__cta:hover{background:#efc73a!important;border-color:#efc73a!important;color:#001321!important;transform:translateY(-1px);box-shadow:0 10px 22px -10px rgba(228,185,34,.75)}
/* Sekundär på mörk bakgrund */
body.home #hgf-sp .hgnew__btn--line-light,body.home #kalender .hgc-cal__add:not(.hgc-cal__add--pri):not(.hgc-cal__add--adm),body.home #kalender .hgc-cal__btn,body.home #priser .hgp-btn--ghost{background:rgba(255,255,255,.03)!important;border-color:rgba(255,255,255,.32)!important;color:#fff!important}
body.home #hgf-sp .hgnew__btn--line-light:hover,body.home #kalender .hgc-cal__add:not(.hgc-cal__add--pri):not(.hgc-cal__add--adm):hover,body.home #kalender .hgc-cal__btn:hover,body.home #priser .hgp-btn--ghost:hover{background:rgba(255,255,255,.1)!important;border-color:#fff!important;color:#fff!important;transform:translateY(-1px)}
/* Sekundär på ljus bakgrund */
body.home #hgf-sp .hgnew__btn--line,body.home #hgf-kl .hgp-card:not(.hgp-card--p) .hgp-card__foot .hgp-btn{background:#fff!important;border-color:#c9d3df!important;color:#001321!important}
body.home #hgf-sp .hgnew__btn--line:hover,body.home #hgf-kl .hgp-card:not(.hgp-card--p) .hgp-card__foot .hgp-btn:hover{background:#f4f7fb!important;border-color:#001321!important;color:#001321!important;transform:translateY(-1px)}
/* Mörkblå */
body.home #hgf-sp .hgnew__btn--navy{background:#001321!important;border-color:#001321!important;color:#fff!important}
body.home #hgf-sp .hgnew__btn--navy:hover{background:#0b2d4a!important;border-color:#0b2d4a!important;color:#fff!important;transform:translateY(-1px);box-shadow:0 10px 22px -12px rgba(0,19,33,.7)}
/* Admin-knappen diskret */
body.home #kalender .hgc-cal__add--adm{min-height:42px;padding:0 16px;border-radius:10px;font-size:13px;font-weight:600;border:1.5px dashed rgba(255,255,255,.22)!important;background:transparent!important;color:rgba(255,255,255,.6)!important}
body.home #kalender .hgc-cal__add--adm:hover{color:#fff!important;border-color:rgba(255,255,255,.5)!important}
/* Textlänk "Alla guider" */
body.home #hgf-gu .hgrail__all{display:inline-flex;align-items:center;min-height:40px;padding:0 4px;font-weight:700}
@media (prefers-reduced-motion:reduce){body.home #hgf-sp .hgnew__btn,body.home #hgf-kl .hgp-btn,body.home #hgf-me .hgp-btn,body.home #priser .hgp-btn,body.home #kalender .hgc-cal__add,body.home #kalender .hgc-cal__btn,body.home #hgf-gu .hgrail__cta{transition:none}body.home #hgf-sp .hgnew__btn:hover,body.home #hgf-kl .hgp-btn:hover,body.home #hgf-me .hgp-btn:hover,body.home #priser .hgp-btn:hover,body.home #kalender .hgc-cal__add:hover,body.home #kalender .hgc-cal__btn:hover,body.home #hgf-gu .hgrail__cta:hover{transform:none!important}}
body.home #hgf-kl .hgp-card__foot .hgp-btn{width:100%;min-height:46px;padding:10px 14px;white-space:normal;text-align:center;font-size:14px}
body.home #hgf-sp .hgnew__btn{white-space:normal;text-align:center;padding:10px 20px}

/* === Startsidan: "Var med där hockeygymnasiet väljs" v2 – erbjudanden som breda rader === */
body.home #hgf-kl{background:#f4f7fb}
body.home #hgf-kl .hgp-strip{grid-template-columns:auto minmax(0,1fr) auto;padding:28px 32px 28px 36px}
body.home #hgf-kl .hgp-grid--3{display:grid;grid-template-columns:1fr;gap:20px}
body.home #hgf-kl .hgp-card{flex-direction:row;align-items:stretch;min-height:260px}
body.home #hgf-kl .hgp-card__media{flex:0 0 30%;max-width:340px}
body.home #hgf-kl .hgp-card__img{aspect-ratio:auto;height:100%;min-height:100%;position:absolute;inset:0}
body.home #hgf-kl .hgp-card__media:after{background:linear-gradient(90deg,rgba(0,19,33,0) 55%,rgba(0,19,33,.25) 100%),linear-gradient(180deg,rgba(0,19,33,0) 50%,rgba(0,19,33,.6) 100%)}
body.home #hgf-kl .hgp-card__media .hgp-badge{left:18px;bottom:18px}
body.home #hgf-kl .hgp-card__body{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-areas:"h h" "p ul" "f ul";column-gap:36px;row-gap:12px;padding:30px 34px;align-content:start}
body.home #hgf-kl .hgp-card__body h3{grid-area:h;font-size:22px;margin:0}
body.home #hgf-kl .hgp-card__body>p{grid-area:p;margin:0}
body.home #hgf-kl .hgp-checks{grid-area:ul;border-top:0;border-left:1px solid #edf1f6;padding:2px 0 0 28px;margin:0;align-self:start;display:flex;flex-direction:column;gap:12px}
body.home #hgf-kl .hgp-card__foot{grid-area:f;align-self:end;padding-top:14px;margin:0}
body.home #hgf-kl .hgp-card__foot .hgp-btn{width:auto!important;min-height:46px;padding:0 22px!important;white-space:nowrap!important;font-size:14.5px}
body.home #hgf-kl .hgp-card{border-left:0}
body.home #hgf-kl .hgp-card--p{box-shadow:0 0 0 2px #e4b922,0 18px 40px -24px rgba(0,19,33,.35)}
body.home #hgf-kl .hgp-card--p:hover{box-shadow:0 0 0 2px #e4b922,0 26px 44px -22px rgba(0,19,33,.45)}
body.home #hgf-kl .hgp-card:hover .hgp-card__img{transform:scale(1.03)}
@media (max-width:900px){
body.home #hgf-kl .hgp-card{flex-direction:column}
body.home #hgf-kl .hgp-card__media{flex:none;max-width:none;aspect-ratio:16/9}
body.home #hgf-kl .hgp-card__body{grid-template-columns:1fr;grid-template-areas:"h" "p" "ul" "f";padding:24px}
body.home #hgf-kl .hgp-checks{border-left:0;border-top:1px solid #edf1f6;padding:16px 0 0}
body.home #hgf-kl .hgp-strip{grid-template-columns:1fr;padding:24px}
}

/* === Startsidan: tydligare skillnad i bakgrund mellan spelarprofil-blocket och "Var med där…" === */
body.home #hgf-sp{background:#dfe7f1;border-top:1px solid #d3dde9;border-bottom:1px solid #d3dde9}
body.home #hgf-kl{background:#fff;border-top:0}
body.home #hgf-kl .hgp-card{border-color:#dfe6ef}

/* === Startsidan nov 2026: nya block (förtroende + klubbar/annonsörer) och lugn rad under guiderna === */
.fs-trust{background:#fff}
.fs-tgrid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;margin-top:8px}
.fs-tp{display:flex;flex-direction:column;gap:6px;padding:24px;border:1px solid #e3e9f1;border-radius:14px;background:#fff;box-shadow:0 1px 2px rgba(0,19,33,.04),0 14px 30px -24px rgba(0,19,33,.3)}
.fs-tp b{color:#001321;font-size:16px}
.fs-tp span{font-size:14px;line-height:1.55;color:#5b6878}
.fs-ti{width:42px;height:42px;border-radius:10px;background:#eaf2fb;display:grid;place-items:center;margin-bottom:8px}
.fs-ti svg{width:22px;height:22px;fill:none;stroke:#045cb4;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.fs-proffs{background:#fff;border-top:1px solid #e3e9f1}
.fs-h2s{font-size:clamp(24px,2.6vw,32px)!important}
.fs-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.fs-tile{display:flex;flex-direction:column;gap:6px;padding:24px;border:1px solid #e3e9f1;border-radius:14px;background:#fff;text-decoration:none!important;transition:border-color .18s,transform .18s,box-shadow .18s}
.fs-tile:hover{border-color:#001321;transform:translateY(-2px);box-shadow:0 18px 30px -24px rgba(0,19,33,.45)}
.fs-tile small{font-size:12px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:#045cb4}
.fs-tile b{font-size:18px;color:#001321}
.fs-tile span{font-size:14px;color:#5b6878}
.fs-tile i{font-style:normal;font-weight:700;font-size:14px;color:#001321;margin-top:8px}
#hgf-gu .hgrail__note--quiet{background:none!important;border:0!important;padding:0!important;justify-content:center;text-align:center}
#hgf-gu .hgrail__note--quiet p{color:rgba(255,255,255,.7)!important;font-size:15px}
#hgf-gu .hgrail__note--quiet a{color:#fff;font-weight:600;text-decoration:underline;text-underline-offset:3px}
@media(max-width:1300px){.fs-tgrid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.fs-tgrid,.fs-strip{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.fs-tile{transition:none}.fs-tile:hover{transform:none}}

/* === Startsidan nov 2026 v2: livligare förtroendeblock + tydligare blå bakgrund på guiderna === */
.fs-trust{position:relative;overflow:hidden;background:linear-gradient(135deg,#ffffff 0%,#eef4fb 100%)!important}
.fs-rink{position:absolute;right:-120px;bottom:-60px;width:720px;fill:none;stroke:#045cb4;stroke-width:2;opacity:.07;pointer-events:none}
.fs-tgrid2{position:relative;display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:64px;align-items:center}
.fs-tlist{list-style:none;margin:32px 0 0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 28px}
.fs-tlist li{display:grid;grid-template-columns:44px 1fr;gap:14px;align-items:start}
.fs-tlist .fs-ti{margin:0}
.fs-tlist b{display:block;color:#001321;font-size:16px;margin-bottom:2px}
.fs-tlist span:not(.fs-ti){font-size:14px;line-height:1.55;color:#5b6878}
.fs-proof{position:relative}
.fs-proof:before{content:"";position:absolute;inset:24px -18px -18px 24px;border-radius:20px;background:#e4b922;opacity:.9;transform:rotate(2.5deg)}
.fs-card{position:relative;background:#001321;color:#fff;border-radius:18px;overflow:hidden;box-shadow:0 30px 60px -30px rgba(0,19,33,.8);transform:rotate(-1.5deg)}
.fs-card__top{display:flex;align-items:center;gap:14px;padding:22px 22px 18px;background:radial-gradient(120% 120% at 100% 0%,rgba(4,92,180,.55),rgba(4,92,180,0) 70%)}
.fs-logo{width:48px;height:48px;border-radius:50%;flex:none;background:#fff;box-shadow:inset 0 0 0 6px #e4b922,inset 0 0 0 11px #fff,inset 0 0 0 24px #045cb4}
.fs-card__top b{display:block;font-size:17px}
.fs-card__top small{font-size:13px;color:rgba(255,255,255,.65)}
.fs-stamp{margin-left:auto;display:inline-flex;align-items:center;gap:6px;background:#1f8a4c;color:#fff;font-size:11px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;border-radius:999px;padding:6px 10px}
.fs-stamp:before{content:"✓";font-size:12px}
.fs-card ul{list-style:none;margin:0;padding:4px 22px 14px}
.fs-card li{display:flex;justify-content:space-between;gap:12px;padding:13px 0;border-top:1px solid rgba(255,255,255,.1);font-size:14px}
.fs-card li span{color:rgba(255,255,255,.65)}
.fs-card li em{font-style:normal;font-weight:600;color:#7fd6a4;text-align:right}
.fs-card li em:before{content:"✓ "}
.fs-card li strong{color:#e4b922}
.fs-cap{position:relative;margin:30px 0 0;text-align:center;font-size:13px;color:#5b6878}
@media(max-width:1100px){.fs-tgrid2{grid-template-columns:1fr;gap:48px}.fs-proof{max-width:460px}}
@media(max-width:640px){.fs-tlist{grid-template-columns:1fr}.fs-proof:before{inset:16px -8px -10px 14px}}
.fs-card__top>div{flex:1;min-width:0}.fs-card__top b{line-height:1.25}.fs-stamp{flex:none;padding:5px 9px;font-size:10px}

/* Guiderna: samma blå som kortet "Prova 1 månad" (#0b2a4a) */
#hgf-gu{background:#0b2a4a!important;border:0}
#hgf-gu:before{opacity:.04!important}
#hgf-gu .hgrail__lead,#hgf-gu .hgrail__note--quiet p{color:rgba(255,255,255,.75)!important}

/* Startsidan: medlemsband som leder till /medlemskap/ */
.fs-medlem{background:#fff}
.fs-mband{border:1px solid #e3e9f1;border-radius:16px;padding:32px 36px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:32px;align-items:center;background:linear-gradient(90deg,#fff 0%,#f4f7fb 100%);box-shadow:0 18px 40px -30px rgba(0,19,33,.35)}
.fs-mband h3{font-size:clamp(22px,2.2vw,28px);color:#001321;margin:0 0 8px;letter-spacing:-.01em}
.fs-mband p{color:#5b6878;margin:0;max-width:620px}
.fs-price{text-align:right;font-size:14px;color:#5b6878;line-height:1.5;display:flex;flex-direction:column;align-items:flex-end;gap:2px}
.fs-price b{font-size:28px;color:#001321;letter-spacing:-.02em;line-height:1.1}
.fs-price .hgp-btn{margin-top:14px;background:#e4b922!important;border-color:#e4b922!important;color:#001321!important;border-radius:10px;min-height:48px;padding:0 22px;font-weight:700}
.fs-price .hgp-btn:hover{background:#efc73a!important;transform:translateY(-1px)}
@media(max-width:760px){.fs-mband{grid-template-columns:1fr;padding:26px 22px}.fs-price{text-align:left;align-items:flex-start}}

/* Förtroendeblocket v3: lugn tvåkolumnslayout, punkterna som en ren lista till höger */
.fs-trust{background:#fff!important;border-top:1px solid #e3e9f1}
.fs-tgrid2{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr)!important;gap:72px!important;align-items:start!important}
.fs-tintro{padding-top:8px}
.fs-tlist{margin:0!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:0!important;border-top:1px solid #e3e9f1;border-left:1px solid #e3e9f1}
.fs-tlist li{background:#fff;padding:28px 26px;border-right:1px solid #e3e9f1;border-bottom:1px solid #e3e9f1;grid-template-columns:1fr!important;gap:14px!important}
.fs-tlist b{font-size:17px!important;margin-bottom:6px!important}
@media(max-width:1100px){.fs-tgrid2{grid-template-columns:1fr!important;gap:36px!important}.fs-tintro{position:static}}
@media(max-width:640px){.fs-tlist{grid-template-columns:1fr!important}.fs-tlist li{padding:22px 18px}}

/* Startsidan v4: medlemsbandet längre ned på ljusgrå yta (skiljer det från förtroendeblocket) */
.fs-medlem{background:#f4f7fb!important;border-top:1px solid #e3e9f1}
.fs-medlem .fs-mband{background:#fff}

/* Startsidan v5: egna bakgrundsfärger för förtroende, medlemsband och klubbar/annonsörer */
.fs-trust{background:linear-gradient(180deg,#eaf2fb 0%,#f5f9fd 100%)!important;border-top:0!important}
.fs-trust .fs-tlist{border-color:#d6e3f1!important;background:#fff;border-radius:14px;overflow:hidden;box-shadow:0 18px 40px -30px rgba(0,19,33,.35)}
.fs-trust .fs-tlist li{border-color:#e3ebf4!important}
.fs-medlem{background:#fdf6e3!important;border-top:1px solid #f3e6bf!important;border-bottom:1px solid #f3e6bf}
.fs-medlem .fs-mband{background:#fff!important;border-color:#f0e2b6!important;box-shadow:0 18px 40px -28px rgba(120,90,0,.35)}
.fs-proffs{background:#e9eef5!important;border-top:0!important}
.fs-proffs .fs-tile{border-color:#d9e2ec}

/* Förtroendeblocket v6: fyra separata kort med radie, luft och mjuk skugga */
.fs-trust .fs-tlist{gap:18px!important;border:0!important;background:none!important;border-radius:0!important;overflow:visible!important;box-shadow:none!important}
.fs-trust .fs-tlist li{position:relative;background:#fff!important;border:1px solid #dde7f2!important;border-radius:16px;padding:26px 24px 24px!important;gap:12px!important;box-shadow:0 1px 2px rgba(0,19,33,.04),0 16px 32px -24px rgba(0,19,33,.35);transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;overflow:hidden}
.fs-trust .fs-tlist li:before{content:"";position:absolute;left:0;top:0;right:0;height:3px;background:linear-gradient(90deg,#045cb4,#4fa3ff);opacity:0;transition:opacity .2s ease}
.fs-trust .fs-tlist li:hover{transform:translateY(-3px);border-color:#c5d6ea!important;box-shadow:0 2px 4px rgba(0,19,33,.05),0 24px 40px -24px rgba(0,19,33,.45)}
.fs-trust .fs-tlist li:hover:before{opacity:1}
.fs-trust .fs-tlist .fs-ti{width:46px;height:46px;border-radius:12px;background:linear-gradient(135deg,#eaf2fb,#dbe9f8)}
.fs-trust .fs-tlist b{font-size:17px!important;line-height:1.3;margin-bottom:6px!important}
.fs-trust .fs-tlist span:not(.fs-ti){font-size:14.5px!important;line-height:1.6!important}
@media(prefers-reduced-motion:reduce){.fs-trust .fs-tlist li{transition:none}.fs-trust .fs-tlist li:hover{transform:none}}

/* Klubbar/annonsörer: korten med bild överst */
.fs-tile--img{padding:0!important;overflow:hidden;border-radius:16px!important;box-shadow:0 1px 2px rgba(0,19,33,.04),0 16px 32px -24px rgba(0,19,33,.35)}
.fs-tile__media{position:relative;display:block;aspect-ratio:16/9;overflow:hidden;background:#0b2a4a}
.fs-tile__media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .5s ease}
.fs-tile__media:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,19,33,0) 50%,rgba(0,19,33,.45) 100%)}
.fs-tile--img:hover .fs-tile__media img{transform:scale(1.04)}
.fs-tile__body{display:flex;flex-direction:column;gap:6px;padding:22px 24px 24px;flex:1}
.fs-tile__body i{margin-top:auto!important;padding-top:10px}
@media(prefers-reduced-motion:reduce){.fs-tile__media img{transition:none}.fs-tile--img:hover .fs-tile__media img{transform:none}}

/* Guidekort: lugn hover utan gult – bara en liten lyft och mjukare skugga */
#hgf-gu .hgrail__card>a:after{display:none!important}
#hgf-gu .hgrail__card>a:hover{transform:translateY(-3px)!important;box-shadow:0 2px 4px rgba(0,0,0,.08),0 22px 40px -22px rgba(0,0,0,.6)!important}
#hgf-gu .hgrail__card>a:hover .hgrail__more{color:#001321!important}
#hgf-gu .hgrail__track{padding:12px 6px 28px!important;margin:-12px -6px -28px!important}

/* Guidekort: guidens egen bild överst */
#hgf-gu .hgrail__img{display:block;position:relative;margin:-26px -26px 20px;aspect-ratio:2/1;overflow:hidden;background:#0b2a4a}
#hgf-gu .hgrail__img img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .5s ease}
#hgf-gu .hgrail__card>a:hover .hgrail__img img{transform:scale(1.04)}
#hgf-gu .hgrail__card>a{padding-top:26px}
@media(prefers-reduced-motion:reduce){#hgf-gu .hgrail__img img{transition:none}#hgf-gu .hgrail__card>a:hover .hgrail__img img{transform:none}}

/* Startsidan: hockeybilder (player-1–4) */
.fs-tphoto{margin:32px 0 0;border-radius:16px;overflow:hidden;aspect-ratio:16/9;box-shadow:0 22px 44px -28px rgba(0,19,33,.5)}
.fs-tphoto img{width:100%;height:100%;object-fit:cover;display:block}
#hgf-sp .hgnew__card--dark{background:linear-gradient(100deg,#001321 0%,#001321 45%,rgba(0,19,33,.82) 70%,rgba(0,19,33,.55) 100%),url("https://pub-36fc4b25ad474b8086e2ebe044430ef4.r2.dev/2026/11/player-2.jpg") 78% center/cover no-repeat,#001321!important}
#kalender{background:linear-gradient(180deg,rgba(0,19,33,.80) 0%,rgba(0,19,33,.94) 340px,#001321 520px),url("https://pub-36fc4b25ad474b8086e2ebe044430ef4.r2.dev/2026/11/player-4.jpg") center top/100% auto no-repeat,#001321!important}
.fs-mband--img{grid-template-columns:220px minmax(0,1fr) auto!important;padding:0 36px 0 0!important;overflow:hidden}
.fs-mband__img{align-self:stretch;position:relative;min-height:190px}
.fs-mband__img img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
@media(max-width:1000px){#kalender{background:linear-gradient(180deg,rgba(0,19,33,.82) 0%,#001321 420px),url("https://pub-36fc4b25ad474b8086e2ebe044430ef4.r2.dev/2026/11/player-4.jpg") center top/cover no-repeat,#001321!important;background-size:auto,auto 420px!important}}
@media(max-width:760px){.fs-mband--img{grid-template-columns:1fr!important;padding:0 0 24px!important}.fs-mband--img>div{padding:0 22px}.fs-mband__img{min-height:180px}#hgf-sp .hgnew__card--dark{background:linear-gradient(180deg,rgba(0,19,33,.7),#001321 60%),url("https://pub-36fc4b25ad474b8086e2ebe044430ef4.r2.dev/2026/11/player-2.jpg") center top/cover no-repeat,#001321!important}}

#hgf-sp .hgnew__card--dark{background:linear-gradient(100deg,#001321 0%,rgba(0,19,33,.93) 38%,rgba(0,19,33,.5) 68%,rgba(0,19,33,.2) 100%),url("https://pub-36fc4b25ad474b8086e2ebe044430ef4.r2.dev/2026/11/player-2.jpg") 80% center/cover no-repeat,#001321!important}
#kalender{background:linear-gradient(180deg,rgba(0,19,33,.5) 0%,rgba(0,19,33,.86) 380px,#001321 560px),url("https://pub-36fc4b25ad474b8086e2ebe044430ef4.r2.dev/2026/11/player-4.jpg") center top/100% auto no-repeat,#001321!important}

/* Förtroendeblocket v7: bild till vänster i full höjd, text och fyra kort till höger */
.fs-tsplit{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:56px;align-items:stretch}
.fs-tfig{position:relative;margin:0;border-radius:20px;overflow:hidden;min-height:520px;box-shadow:0 30px 60px -34px rgba(0,19,33,.6)}
.fs-tfig img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:30% center}
.fs-tfig:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,19,33,0) 45%,rgba(0,19,33,.75) 100%)}
.fs-tbadge{position:absolute;left:24px;right:24px;bottom:24px;z-index:1;display:flex;align-items:center;gap:16px;color:#fff}
.fs-tbadge b{font-size:48px;line-height:1;font-weight:800;letter-spacing:-.03em;color:#e4b922}
.fs-tbadge span{font-size:15px;line-height:1.4;font-weight:600;max-width:240px}
.fs-tbody{display:flex;flex-direction:column;justify-content:center}
.fs-tbody .hgp-lead{margin-bottom:28px}
.fs-tbody .fs-tlist{margin:0!important}
@media(max-width:1200px){.fs-tsplit{grid-template-columns:1fr;gap:36px}.fs-tfig{min-height:0;aspect-ratio:2/1}}
@media(max-width:640px){.fs-tfig{aspect-ratio:4/3}.fs-tbadge b{font-size:38px}}

/* Guidekort: utan ingresstext, lägre kort */

#hgf-gu .hgrail__card>a{min-height:0!important;padding-bottom:20px!important}
#hgf-gu .hgrail__img{aspect-ratio:16/7!important;margin-bottom:16px!important}
#hgf-gu .hgrail__top{margin-bottom:12px!important}
#hgf-gu .hgrail__name{margin-bottom:0!important}
#hgf-gu .hgrail__more{padding-top:14px!important;margin-top:16px!important}
/* Förtroendebild: visa båda spelarna */
.fs-tfig img{object-position:center 30%!important}
.fs-tfig{min-height:460px!important}

/* Förtroendeblocket v8: rubrik + text vänster, liggande bild höger, fyra kort i en rad under */
.fs-tsplit{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;grid-template-areas:"eb fig" "h2 fig" "lead fig" "list list"!important;column-gap:56px!important;row-gap:0!important;align-items:start!important}
.fs-tbody{display:contents!important}
.fs-tbody>.hgp-eyebrow{grid-area:eb;align-self:end}
.fs-tbody>.hgp-h2{grid-area:h2}
.fs-tbody>.hgp-lead{grid-area:lead;margin-bottom:0!important}
.fs-tfig{grid-area:fig;min-height:0!important;aspect-ratio:16/10;align-self:center}
.fs-tfig img{object-position:center center!important}
.fs-tbody>.fs-tlist{grid-area:list;grid-template-columns:repeat(4,minmax(0,1fr))!important;margin-top:48px!important}
@media(max-width:1200px){.fs-tsplit{grid-template-columns:1fr!important;grid-template-areas:"eb" "h2" "lead" "fig" "list"!important}.fs-tfig{margin-top:32px;aspect-ratio:2/1}.fs-tbody>.fs-tlist{grid-template-columns:repeat(2,minmax(0,1fr))!important;margin-top:32px!important}}
@media(max-width:640px){.fs-tbody>.fs-tlist{grid-template-columns:1fr!important}}
.fs-trust .fs-tlist li{align-content:start!important;align-items:start!important}

/* Guidekort: mindre rubrik och mindre luft till "Läs guiden" */
#hgf-gu .hgrail__name{font-size:16px!important;line-height:1.3!important}
#hgf-gu .hgrail__more{margin-top:10px!important;padding-top:10px!important}
#hgf-gu .hgrail__card>a{padding-bottom:16px!important}

/* Spelarprofil-kortet: visa spelaren till vänster i bilden tydligare */
#hgf-sp .hgnew__card--dark{background:linear-gradient(100deg,#001321 0%,rgba(0,19,33,.9) 34%,rgba(0,19,33,.45) 62%,rgba(0,19,33,.15) 100%),url("https://pub-36fc4b25ad474b8086e2ebe044430ef4.r2.dev/2026/11/player-2.jpg") 20% center/cover no-repeat,#001321!important}

#hgf-sp .hgnew__card--dark{background:linear-gradient(100deg,#001321 0%,rgba(0,19,33,.88) 32%,rgba(0,19,33,.4) 58%,rgba(0,19,33,.1) 100%),url("https://pub-36fc4b25ad474b8086e2ebe044430ef4.r2.dev/2026/11/player-2.jpg") 34% center/cover no-repeat,#001321!important}

/* Guidekarusellen: fyra guider åt gången på desktop */


/* Spelarprofil-kortet: kraftigare gradient så texten går att läsa */
#hgf-sp .hgnew__card--dark{background:linear-gradient(100deg,#001321 0%,rgba(0,19,33,.97) 40%,rgba(0,19,33,.85) 60%,rgba(0,19,33,.55) 80%,rgba(0,19,33,.35) 100%),linear-gradient(180deg,rgba(0,19,33,.35) 0%,rgba(0,19,33,0) 30%,rgba(0,19,33,0) 70%,rgba(0,19,33,.55) 100%),url("https://pub-36fc4b25ad474b8086e2ebe044430ef4.r2.dev/2026/11/player-2.jpg") 34% center/cover no-repeat,#001321!important}
#hgf-sp .hgnew__card--dark .hgnew__lead,#hgf-sp .hgnew__card--dark .hgnew__steps li span{text-shadow:0 1px 2px rgba(0,0,0,.45)}

#hgf-sp .hgnew__card--dark{background:linear-gradient(100deg,#001321 0%,#001321 42%,rgba(0,19,33,.92) 62%,rgba(0,19,33,.7) 82%,rgba(0,19,33,.5) 100%),linear-gradient(180deg,rgba(0,19,33,.45) 0%,rgba(0,19,33,0) 30%,rgba(0,19,33,0) 70%,rgba(0,19,33,.65) 100%),url("https://pub-36fc4b25ad474b8086e2ebe044430ef4.r2.dev/2026/11/player-2.jpg") 34% center/cover no-repeat,#001321!important}

/* Guideblocket v9: lugnare och mer professionellt */
#hgf-gu{padding:80px 0 64px!important}

#hgf-gu .hgrail__head{margin-bottom:32px!important;align-items:flex-end!important}
#hgf-gu .hgrail__title{font-size:clamp(28px,3vw,38px)!important;line-height:1.15!important;letter-spacing:-.02em}
#hgf-gu .hgrail__lead{font-size:16px!important;max-width:560px;margin-top:10px!important}
#hgf-gu .hgrail__nav{gap:8px!important}
#hgf-gu .hgrail__all{display:inline-flex!important;align-items:center;min-height:40px;padding:0 16px!important;border:1.5px solid rgba(255,255,255,.3);border-radius:10px;text-decoration:none!important;font-size:14px!important;margin-right:6px!important;transition:border-color .15s,background .15s}
#hgf-gu .hgrail__all:hover{border-color:#fff;background:rgba(255,255,255,.08);color:#fff!important}
#hgf-gu .hgrail__arrow{border-radius:10px!important}
#hgf-gu .hgrail__track{margin:-12px 0 -28px!important;padding:12px 0 28px!important}
#hgf-gu .hgrail__card>a{display:flex!important;flex-direction:column!important;height:100%;border-radius:14px!important;padding:0 20px 18px!important;border:1px solid rgba(255,255,255,.08)!important}
#hgf-gu .hgrail__img{margin:0 -20px 16px!important;aspect-ratio:16/9!important}
#hgf-gu .hgrail__img:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,19,33,0) 60%,rgba(0,19,33,.25) 100%)}
#hgf-gu .hgrail__top{margin-bottom:8px!important}
#hgf-gu .hgrail__num{font-size:11px!important;letter-spacing:.12em!important}
#hgf-gu .hgrail__badge{background:transparent!important;border:1px solid #e4b922!important;color:#9a7a0c!important;padding:3px 7px!important;font-size:10px!important;border-radius:5px!important}
#hgf-gu .hgrail__badge svg{color:#9a7a0c!important}
#hgf-gu .hgrail__name{font-size:16px!important;font-weight:700;line-height:1.35!important;hyphens:auto;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
#hgf-gu .hgrail__more{margin-top:auto!important;padding-top:12px!important;border-top:1px solid #edf1f6;font-size:13.5px!important}
#hgf-gu .hgrail__name{margin-bottom:14px!important}
#hgf-gu .hgrail__dots{display:none!important}
#hgf-gu .hgrail__note--quiet{margin-top:36px!important;padding-top:20px!important;border-top:1px solid rgba(255,255,255,.12)!important;justify-content:flex-start!important;text-align:left!important}
#hgf-gu .hgrail__note--quiet p{font-size:14px!important}
@media(max-width:760px){#hgf-gu{padding:56px 0 48px!important}#hgf-gu .hgrail__all{margin-right:auto!important}}

/* Kalendern: mörkare bild bakom rubriken så texten går att läsa */
#kalender{background:linear-gradient(180deg,rgba(0,19,33,.82) 0%,rgba(0,19,33,.92) 260px,#001321 460px),linear-gradient(90deg,rgba(0,19,33,.75) 0%,rgba(0,19,33,.2) 70%),url("https://pub-36fc4b25ad474b8086e2ebe044430ef4.r2.dev/2026/11/player-4.jpg") center top/100% auto no-repeat,#001321!important}
#kalender .hgc-cal__title,#kalender .hgc-cal__sub,#kalender .hgc-cal__eyebrow{text-shadow:0 2px 12px rgba(0,0,0,.5)}
@media(max-width:1000px){#kalender{background:linear-gradient(180deg,rgba(0,19,33,.85) 0%,#001321 420px),url("https://pub-36fc4b25ad474b8086e2ebe044430ef4.r2.dev/2026/11/player-4.jpg") center top/auto 420px no-repeat,#001321!important}}


/* Kalendern: lite mindre gradient */
#kalender{background:linear-gradient(180deg,rgba(0,19,33,.66) 0%,rgba(0,19,33,.84) 280px,#001321 480px),linear-gradient(90deg,rgba(0,19,33,.6) 0%,rgba(0,19,33,.1) 70%),url("https://pub-36fc4b25ad474b8086e2ebe044430ef4.r2.dev/2026/11/player-4.jpg") center top/100% auto no-repeat,#001321!important}

/* Guidekort utan bilder igen */
#hgf-gu .hgrail__card>a{padding:22px 20px 18px!important}

/* Guidekort: tre åt gången, ingresstext och bakgrundsikonen tillbaka */
#hgf-gu .hgrail__track{grid-auto-columns:calc((100% - 40px) / 3)!important}
@media(max-width:1000px){#hgf-gu .hgrail__track{grid-auto-columns:calc((100% - 20px) / 2)!important}}
@media(max-width:640px){#hgf-gu .hgrail__track{grid-auto-columns:86%!important}}
#hgf-gu .hgrail__text{display:-webkit-box!important;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;font-size:14px;line-height:1.6;color:#5b6878;margin:0 0 4px}
#hgf-gu .hgrail__name{margin-bottom:8px!important}
#hgf-gu:before{display:block!important;opacity:.05!important}

/* Förtroendeblocket v11: mörkare bakgrund, bilden kant-i-kant till höger som tonar ut */
.fs-trust{position:relative;overflow:hidden;background:linear-gradient(180deg,#d3e0ee 0%,#c4d5e8 100%)!important}
.fs-tsplit{position:static!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;grid-template-areas:"eb ." "h2 ." "lead ." "list list"!important}
.fs-tfig{position:absolute!important;top:0;right:0;bottom:0;width:52%;min-height:0!important;aspect-ratio:auto!important;margin:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;-webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 38%),linear-gradient(180deg,#000 0%,#000 45%,transparent 78%);-webkit-mask-composite:source-in;mask-image:linear-gradient(90deg,transparent 0%,#000 38%),linear-gradient(180deg,#000 0%,#000 45%,transparent 78%);mask-composite:intersect}
.fs-tfig img{object-position:60% 30%!important}
.fs-tfig:after,.fs-tbadge{display:none!important}
.fs-tbody>*{position:relative;z-index:1}
.fs-trust .hgp-h2{color:#001321!important}
.fs-trust .hgp-lead{color:#3d4b5c!important}
.fs-tbody>.fs-tlist{margin-top:56px!important}
.fs-trust .fs-tlist li{border-color:#fff!important;box-shadow:0 2px 4px rgba(0,19,33,.06),0 22px 40px -26px rgba(0,19,33,.5)!important}
@media(max-width:1200px){.fs-tsplit{grid-template-columns:1fr!important;grid-template-areas:"eb" "h2" "lead" "list"!important}.fs-tfig{width:100%;bottom:auto;height:380px;opacity:.35;-webkit-mask-image:linear-gradient(180deg,#000 30%,transparent 100%);mask-image:linear-gradient(180deg,#000 30%,transparent 100%)}}

.fs-trust{position:relative!important}
.fs-trust .hgp-wrap{position:static!important}
.fs-tfig{top:0!important;bottom:0!important;height:auto!important}
/* Kompaktare förtroendeblock */
.fs-trust{padding:56px 0 48px!important}
.fs-trust .hgp-h2{font-size:clamp(26px,2.6vw,34px)!important;line-height:1.15!important}
.fs-trust .hgp-lead{font-size:16px!important;margin-top:10px!important;max-width:520px}
.fs-tbody>.fs-tlist{margin-top:32px!important;gap:14px!important}
.fs-trust .fs-tlist li{padding:18px 18px 16px!important;gap:8px!important}
.fs-trust .fs-tlist .fs-ti{width:38px!important;height:38px!important;border-radius:10px!important}
.fs-trust .fs-tlist .fs-ti svg{width:20px;height:20px}
.fs-trust .fs-tlist b{font-size:15.5px!important;margin-bottom:2px!important}
.fs-trust .fs-tlist span:not(.fs-ti){font-size:13.5px!important;line-height:1.5!important}

/* Förtroendebild som bakgrund till höger (ersätter figuren) */
.fs-tfig{display:none!important}
.fs-trust:after{content:"";position:absolute;top:0;right:0;bottom:0;width:55%;background:url("https://pub-36fc4b25ad474b8086e2ebe044430ef4.r2.dev/2022/01/Ansokan-och-Antagning.jpg") 65% 25%/cover no-repeat;pointer-events:none;z-index:0;-webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 40%);mask-image:linear-gradient(90deg,transparent 0%,#000 40%)}
.fs-trust:before{content:"";position:absolute;left:0;right:0;bottom:0;height:55%;background:linear-gradient(180deg,rgba(196,213,232,0) 0%,#c4d5e8 70%);z-index:0;pointer-events:none}
.fs-trust .hgp-wrap{position:relative!important;z-index:1}
@media(max-width:1200px){.fs-trust:after{width:100%;bottom:auto;height:320px;opacity:.3;-webkit-mask-image:linear-gradient(180deg,#000 20%,transparent 100%);mask-image:linear-gradient(180deg,#000 20%,transparent 100%)}.fs-trust:before{display:none}}

/* Korten högre upp + bilden förstorad så att tröjtrycket hamnar bakom korten */
.fs-tbody>.fs-tlist{margin-top:16px!important}
.fs-trust .hgp-lead{margin-bottom:0!important}
@media(min-width:1201px){.fs-trust:after{background:url("https://pub-36fc4b25ad474b8086e2ebe044430ef4.r2.dev/2022/01/Ansokan-och-Antagning.jpg") 62% 0%/auto 135% no-repeat!important}}

/* Startsidans sektionsmeny: fast position direkt under headern (utan JS-beräkning som laggar på mobil) */
.hgn{top:72px!important;transition:none!important}
body.admin-bar .hgn{top:104px!important}
@media screen and (max-width:782px){body.admin-bar .hgn{top:118px!important}}
@media screen and (max-width:600px){body.admin-bar .hgn{top:72px!important}}
.hgn{box-shadow:0 -12px 0 0 #fff}

/* Skollistan: behåll den runda pilknappen till profilen (Ytterligare CSS har globala knappregler med !important) */
html body .hgp-st td > a.hgp-btn.hgp-btn--sm{width:34px!important;height:34px!important;padding:0!important;border-radius:50%!important;border:1px solid #d5dde6!important;background:transparent!important;color:#0f172a!important;font-size:0!important;line-height:0!important;gap:0!important}
html body .hgp-st tbody tr:hover td > a.hgp-btn.hgp-btn--sm,html body .hgp-st td > a.hgp-btn.hgp-btn--sm:focus-visible{background:#e4b922!important;border-color:#e4b922!important}

/* ===== Knappfärger: gult endast i mörka hero-banners (enligt önskemål 2026-11-28) =====
   Primär på ljus bakgrund = som "Visa X gymnasier" (marinblå). På mörk bakgrund = gul. */
html body :is(.hgp-btn:not(.hgp-btn--ghost, .hgp-btn--navy, .hgc-dist), .hgnew__btn--gold, .hgg-btn--gold, .hgc-cal__add--pri, .hgsp-btn:not(.hgsp-btn--ghost), .button--accent, .hgp-farcta__btn--main, .hgp-chipnav__cta, .hgx-btn--y, .hgn__cta, .hgc-foot__cta){background:#0b1b33!important;border:1px solid #0b1b33!important;color:#fff!important;font-weight:600!important;box-shadow:none!important}
html body :is(.hgp-btn:not(.hgp-btn--ghost, .hgp-btn--navy, .hgc-dist), .hgnew__btn--gold, .hgg-btn--gold, .hgc-cal__add--pri, .hgsp-btn:not(.hgsp-btn--ghost), .button--accent, .hgp-farcta__btn--main, .hgp-chipnav__cta, .hgx-btn--y, .hgn__cta, .hgc-foot__cta):hover{background:#13294b!important;border-color:#13294b!important;color:#fff!important}
html body :is(.site-footer, .hgp-band, .plan, .loyal, .hgsp-savebar, .hgg-final, .final-btns, .hgnew__card, .hgp-price--partner) :is(.hgp-btn:not(.hgp-btn--ghost, .hgp-btn--navy, .hgc-dist), .hgnew__btn--gold, .hgg-btn--gold, .hgc-cal__add--pri, .hgsp-btn:not(.hgsp-btn--ghost), .button--accent, .hgp-farcta__btn--main, .hgp-chipnav__cta, .hgx-btn--y, .hgn__cta, .hgc-foot__cta){background:#e4b922!important;border:1px solid #e4b922!important;color:#1a1400!important}
html body :is(.site-footer, .hgp-band, .plan, .loyal, .hgsp-savebar, .hgg-final, .final-btns, .hgnew__card, .hgp-price--partner) :is(.hgp-btn:not(.hgp-btn--ghost, .hgp-btn--navy, .hgc-dist), .hgnew__btn--gold, .hgg-btn--gold, .hgc-cal__add--pri, .hgsp-btn:not(.hgsp-btn--ghost), .button--accent, .hgp-farcta__btn--main, .hgp-chipnav__cta, .hgx-btn--y, .hgn__cta, .hgc-foot__cta):hover{background:#d4aa14!important;border-color:#d4aa14!important;color:#1a1400!important}
html body :is(.hgp-hero, .hero, .hgp-pagehero, .hgx-hero, .hgg-hero, .hgsp-hero) :is(.hgp-btn:not(.hgp-btn--ghost, .hgp-btn--navy, .hgc-dist), .hgnew__btn--gold, .hgg-btn--gold, .hgc-cal__add--pri, .hgsp-btn:not(.hgsp-btn--ghost), .button--accent, .hgp-farcta__btn--main, .hgp-chipnav__cta, .hgx-btn--y, .hgn__cta, .hgc-foot__cta){background:#e4b922!important;border-color:#e4b922!important;color:#1a1400!important}
html body :is(.hgp-hero, .hero, .hgp-pagehero, .hgx-hero, .hgg-hero, .hgsp-hero) :is(.hgp-btn:not(.hgp-btn--ghost, .hgp-btn--navy, .hgc-dist), .hgnew__btn--gold, .hgg-btn--gold, .hgc-cal__add--pri, .hgsp-btn:not(.hgsp-btn--ghost), .button--accent, .hgp-farcta__btn--main, .hgp-chipnav__cta, .hgx-btn--y, .hgn__cta, .hgc-foot__cta):hover{background:#d4aa14!important;border-color:#d4aa14!important;color:#1a1400!important}

/* Startsidan: sektionernas guldknappar (ej hero) -> marinblå; mörka guide-raden -> vit */
html body.home.home :is(#hgf-sp, #hgf-kl, #hgf-me, #priser, #kalender) :is(.hgnew__btn--gold, .hgp-btn:not(.hgp-btn--ghost, .hgp-btn--navy), .hgc-cal__add--pri){background:#0b1b33!important;border-color:#0b1b33!important;color:#fff!important;font-weight:600!important;box-shadow:none!important}
html body.home.home :is(#hgf-sp, #hgf-kl, #hgf-me, #priser, #kalender) :is(.hgnew__btn--gold, .hgp-btn:not(.hgp-btn--ghost, .hgp-btn--navy), .hgc-cal__add--pri):hover{background:#13294b!important;border-color:#13294b!important;color:#fff!important;box-shadow:none!important}
html body.home.home #hgf-gu :is(.hgrail__cta, .hgp-btn:not(.hgp-btn--ghost, .hgp-btn--navy)){background:#e4b922!important;border-color:#e4b922!important;color:#1a1400!important;font-weight:600!important;box-shadow:none!important}
html body.home.home #hgf-gu :is(.hgrail__cta, .hgp-btn:not(.hgp-btn--ghost, .hgp-btn--navy)):hover{background:#d4aa14!important;border-color:#d4aa14!important;color:#1a1400!important;box-shadow:none!important}

/* Sekundärknappar (.button--ghost m.fl.): samma stil som "Rensa filter" i stället för gult */
html:root{--btn2-bg:#ffffff;--btn2-bc:#b9c6d3;--btn2-color:#334155;--btn2-bg-h:#f1f5f9;--btn2-bc-h:#0b1b33;--btn2-color-h:#0b1b33;--btn2-border:1px 1px 1px 1px}

/* Plus-guidernas navigering (.hgg-pnav) ska ligga ovanför den marinblå remsan som .hgg-chips::before ritar uppåt */
.hgg-pnav{position:relative;z-index:41}

/* Meritpoäng-guiden: "Till hockeygymnasium-listan" i den mörka slutsektionen ska vara gul */
html body.postid-356 .hgg-final .hgg-btn.hgg-btn--gold{background:#e4b922!important;border-color:#e4b922!important;color:#1a1400!important}
html body.postid-356 .hgg-final .hgg-btn.hgg-btn--gold:hover{background:#d4aa14!important;border-color:#d4aa14!important;color:#1a1400!important}

/* Medlemskap: vit text på marinblå knappar utanför hero (sidans egen CSS tvingade mörk text) */
html body .hgx-ms .btn.hgg-btn--gold,html body .hgx-ms .btn.hgg-btn--gold:hover{color:#fff!important}
html body .hgx-ms .hero .btn.hgg-btn--gold,html body .hgx-ms .hero .btn.hgg-btn--gold:hover{color:#1a1400!important}
html body .hgx-ms :is(.site-footer, .hgp-band, .plan, .loyal, .hgsp-savebar, .hgg-final, .final-btns, .hgnew__card, .hgp-price--partner) .btn.hgg-btn--gold{color:#1a1400!important}
html body .hgx-ms :is(.site-footer, .hgp-band, .plan, .loyal, .hgsp-savebar, .hgg-final, .final-btns, .hgnew__card, .hgp-price--partner) .btn.hgg-btn--gold:hover{color:#1a1400!important}

/* Startsidan: "Skapa din spelarprofil" ligger på mörkt kort -> gul */
html body.home.home #hgf-sp .hgnew__card .hgnew__btn--gold{background:#e4b922!important;border-color:#e4b922!important;color:#1a1400!important}
html body.home.home #hgf-sp .hgnew__card .hgnew__btn--gold:hover{background:#d4aa14!important;border-color:#d4aa14!important;color:#1a1400!important}

/* Chip-menyns CTA (t.ex. "För annonsörer") är marinblå -> vit text (sidans egen CSS tvingade mörk text) */
html body .hgg-chips.hgp-chipnav a.hgp-chipnav__cta,html body .hgg-chips.hgp-chipnav a.hgp-chipnav__cta:hover{color:#fff!important}

/* För klubbar: marinblå knappar i jämförelsetabellen -> vit text (Ytterligare CSS tvingade mörk text) */
html body .hgp-klubbar .hgp-ptable .hgp-btn.hgp-btn:not(.hgp-btn--ghost),html body .hgp-klubbar .hgp-ptable .hgp-btn.hgp-btn:not(.hgp-btn--ghost):hover{color:#fff!important}

/* Spelarprofil: toppbox – progress + "Visa som klubb" till höger, ålders-tidslinje under */
.hgsp-top{align-items:center;column-gap:20px;row-gap:0;padding:22px 24px 20px}
.hgsp-top>div:first-child{flex:1 1 320px}
.hgsp-top__right{display:flex;align-items:center;gap:16px;flex:0 0 auto}
.hgsp-top__right .hgsp-progress{width:200px}
.hgsp-top__right .hgsp-btn{white-space:nowrap}
.hgsp-agetl{flex:1 1 100%;margin-top:18px;padding-top:18px;border-top:1px solid #d5dde6}
.hgsp-agetl__intro{margin:0 0 16px;max-width:760px;font-size:15px;line-height:1.5;font-weight:600;color:#0b1b33}
.hgsp-agetl__steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,1fr)}
.hgsp-agetl__steps li{position:relative;padding:18px 8px 0 0}
.hgsp-agetl__steps li::before{content:"";position:absolute;top:5px;left:0;right:0;height:2px;background:#0b1b33}
.hgsp-agetl__steps li:last-child::before{background:linear-gradient(90deg,#0b1b33 0 50%,#d5dde6 50%)}
.hgsp-agetl__steps li::after{content:"";position:absolute;top:0;left:0;width:12px;height:12px;border-radius:50%;background:#0b1b33;border:2px solid #fff;box-shadow:0 0 0 1px #0b1b33;box-sizing:border-box}
.hgsp-agetl__steps strong{display:block;font-size:14px;line-height:1.3;color:#0b1b33}
.hgsp-agetl__steps span{display:block;font-size:12px;line-height:1.35;color:#5b6b80}
.hgsp-agetl__steps small{display:block;font-size:11px;line-height:1.35;color:#8a97a8}
.hgsp-agetl__note{margin:8px 0 0;font-size:12px;color:#5b6b80}
@media (max-width:700px){.hgsp-top{padding:18px 16px}.hgsp-top__right{flex:1 1 100%;margin-top:14px;flex-wrap:wrap;gap:10px;min-width:0}.hgsp-top__right .hgsp-progress{flex:1 1 100%;width:100%;min-width:0}.hgsp-top__right .hgsp-btn{flex:1 1 100%;width:100%;min-width:0;justify-content:center;box-sizing:border-box}.hgsp-agetl__steps{grid-template-columns:repeat(2,1fr);row-gap:14px}.hgsp-agetl__steps li:nth-child(2)::before{background:#0b1b33}}

/* Spelarprofil: ålders-tidslinjen som dropdown (bara för spelare) */
.hgsp-agetl__sum{cursor:pointer;list-style:none;display:flex;align-items:center;justify-content:space-between;gap:12px;font-weight:600;font-size:15px;line-height:1.4;color:#0b1b33}
.hgsp-agetl__sum{background:#fdf6d8;padding:10px 14px;border-radius:8px}
.hgsp-agetl__sum::-webkit-details-marker{display:none}
.hgsp-agetl__chev{flex:0 0 auto;width:28px;height:28px;border-radius:50%;border:1px solid #d5dde6;background:#fff;display:grid;place-items:center}
.hgsp-agetl__chev::after{content:"";width:7px;height:7px;border-right:2px solid #0b1b33;border-bottom:2px solid #0b1b33;transform:translateY(-2px) rotate(45deg)}
.hgsp-agetl__dd[open] .hgsp-agetl__chev::after{transform:translateY(2px) rotate(-135deg)}
.hgsp-agetl__sum:hover .hgsp-agetl__chev{border-color:#0b1b33}
.hgsp-agetl__body{padding-top:14px}
.hgsp-agetl__intro{font-weight:400}

/* Medlemskap: ålders-dropdown i "Din hockeykarriär"-blocket – neutralisera sidans egna details/p-stilar */
.hgx-ms .hgsp-agetl{margin-top:22px}
.hgx-ms .hgsp-agetl summary::after,.hgx-ms .hgsp-agetl summary::before{content:none!important;display:none!important}
.hgx-ms .hgsp-agetl summary{padding:0!important;margin:0!important;border:0!important;background:none!important}
.hgx-ms .hgsp-agetl p.hgsp-agetl__intro{font-size:15px!important;line-height:1.5!important;margin:0 0 16px!important;color:#0b1b33!important}
.hgx-ms .hgsp-agetl p.hgsp-agetl__note{font-size:12px!important;line-height:1.4!important;margin:8px 0 0!important;color:#5b6b80!important}
.hgx-ms .hgsp-agetl__steps{margin:0!important;padding:0!important}
.hgx-ms .hgsp-agetl__steps li{margin:0!important}
.hgx-ms .hgsp-agetl details.hgsp-agetl__dd{padding-bottom:18px!important}

/* "Vem kan ha en spelarprofil?" – ljusgul bakgrund (enligt önskemål) */
html body .hgsp-agetl summary.hgsp-agetl__sum{background:#fdf6d8!important;color:#1a1400!important;padding:12px 14px 12px 18px!important;border-radius:10px!important;border:0!important}
html body .hgsp-agetl summary.hgsp-agetl__sum:hover{background:#f8ecb8!important}
html body .hgsp-agetl summary.hgsp-agetl__sum .hgsp-agetl__chev{border-color:rgba(26,20,0,.25)}


/* hgsp-photo-top: på mobil ligger spelarbilden överst, i linje med namnet (inte vertikalt centrerad). */
@media (max-width: 760px) {
	.hgsp-cv .hgsp-cv__top,
	.hgsp-contactlayout { align-items: start !important; }
	.hgsp-cv .hgsp-cv__top .hgsp-cv__card,
	.hgsp-contactlayout .hgsp-portraitcol,
	.hgsp-contactlayout .hgsp-cv__card,
	.hgsp-cv__top .hgsp-idhead,
	.hgsp-contactlayout .hgsp-idhead { align-self: start !important; }
}


/* Spelarens profilbild i sidhuvudet. */
.hgx-acct__avatar { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; display: block; border: 2px solid rgba(255, 255, 255, .85); background: #0b2a4a; }

/* hgsp-photo-circle: på desktop ligger den runda spelarbilden framför namnet (som på LinkedIn),
   och resten av uppgifterna ligger i full bredd under. */
@media (min-width: 761px) {
	.hgsp-contactlayout .hgsp-portrait,
	.hgsp-cv__top .hgsp-portrait,
	.hgsp-cv .hgsp-cv__top .hgsp-cv__card > .hgsp-portrait,
	.hgsp-cv .hgsp-cv__top .hgsp-cv__card > img {
		flex: 0 0 120px !important;
		width: 120px !important;
		height: 120px !important;
		min-height: 0 !important;
		max-height: 120px !important;
		aspect-ratio: 1 / 1 !important;
		border-radius: 50% !important;
		border: 4px solid var(--hgsp-y, #e4b922);
		overflow: hidden;
		object-fit: cover;
		margin: 0 !important;
		box-shadow: none;
		font-size: 36px;
	}

	/* Spelar-CV */
	.hgsp-cv .hgsp-cv__top {
		display: grid !important;
		grid-template-columns: 120px minmax(0, 1fr) !important;
		column-gap: 24px !important;
		row-gap: 20px !important;
		align-items: center !important;
	}
	.hgsp-cv .hgsp-cv__top > .hgsp-cv__card { grid-column: 1; grid-row: 1; align-self: center !important; width: 120px; max-width: none; margin: 0 !important; display: block !important; }
	.hgsp-cv .hgsp-cv__top > .hgsp-cv__info { display: contents !important; }
	.hgsp-cv .hgsp-cv__top > .hgsp-cv__info > .hgsp-idhead { grid-column: 2; grid-row: 1; align-self: center !important; margin: 0 !important; text-align: left; }
	.hgsp-cv .hgsp-cv__top > .hgsp-cv__info > :not(.hgsp-idhead) { grid-column: 1 / -1; }

	/* Redigering av spelarprofilen */
	.hgsp-contactlayout {
		display: grid !important;
		grid-template-columns: 140px minmax(0, 1fr) !important;
		column-gap: 24px !important;
		row-gap: 16px !important;
		align-items: start !important;
	}
	.hgsp-contactlayout > .hgsp-portraitcol { grid-column: 1; grid-row: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; position: static !important; max-width: none; margin: 0; }
	.hgsp-contactlayout > .hgsp-portraitcol .hgsp-photo__help { text-align: center; font-size: 12px; }
	.hgsp-contactlayout > .hgsp-contactcol { display: contents !important; }
	.hgsp-contactlayout > .hgsp-contactcol > .hgsp-idhead { grid-column: 2; grid-row: 1; align-self: start !important; margin: 0 !important; min-height: 120px; display: flex; flex-direction: column; justify-content: center; }
	.hgsp-contactlayout > .hgsp-contactcol > :not(.hgsp-idhead) { grid-column: 1 / -1; }
}

/* Spelarprofil: kameraikon på bilden (klicka för att byta bild). */
.hgc-cam { position: relative; cursor: pointer; width: max-content; margin-left: auto; margin-right: auto; border-radius: 50%; }
.hgc-cam:focus-visible { outline: 3px solid rgba(228, 185, 34, .7); outline-offset: 4px; }
.hgc-cam__overlay { position: absolute; inset: 0; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; background: rgba(0, 19, 33, .6); color: #fff; font-size: 12px; font-weight: 600; opacity: 0; transition: opacity .15s ease; pointer-events: none; }
.hgc-cam:hover .hgc-cam__overlay, .hgc-cam:focus-visible .hgc-cam__overlay { opacity: 1; }
.hgc-cam__badge { position: absolute; right: -2px; bottom: -2px; width: 28px; height: 28px; border-radius: 50%; background: #001321; color: #fff; display: none; align-items: center; justify-content: center; border: 2px solid #fff; pointer-events: none; }
.hgc-cam__badge svg { width: 15px; height: 15px; }
@media (hover: none) {
	.hgc-cam__overlay { display: none; }
	.hgc-cam__badge { display: flex; }
}
@media (max-width: 760px) {
	.hgc-cam__overlay span { display: none; }
	.hgc-cam__overlay svg { width: 20px; height: 20px; }
}

/* hgsp-round-clip: uppladdad bild beskärs alltid till cirkel (även på mobil). */
.hgsp-contactlayout .hgsp-portrait, .hgsp-cv__top .hgsp-portrait { overflow: hidden; }
.hgsp-contactlayout .hgsp-portrait img, .hgsp-cv__top .hgsp-portrait img { border-radius: 50%; }

/* ==========================================================================
 * Spelarprofil: profilbild med popup (som på LinkedIn). (tillagt 2026-11-29)
 * ========================================================================== */
.hgc-photo-col .hgsp-photo__pick { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.hgc-photo-col .hgsp-photo__help,
.hgc-photo-col .hgsp-photo__name,
.hgsp-photo__del { display: none !important; }
.hgc-cam__empty { position: absolute; inset: 0; border-radius: 50%; display: none; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: #fff; font-size: 12px; font-weight: 600; pointer-events: none; }
.hgc-cam--empty .hgc-cam__empty { display: flex; }
.hgc-cam--empty .hgc-cam__overlay,
.hgc-cam--empty .hgc-cam__badge { display: none !important; }
.hgc-cam--empty:hover .hgsp-portrait { filter: brightness(1.25); }
@media (max-width: 760px) {
	.hgc-cam__empty span { display: none; }
	.hgc-cam__empty svg { width: 22px; height: 22px; }
}

html.hgc-pm-open { overflow: hidden; }
.hgc-pm { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; padding: 16px; }
.hgc-pm[hidden] { display: none; }
.hgc-pm__backdrop { position: absolute; inset: 0; background: rgba(0, 19, 33, .62); }
.hgc-pm__dialog { position: relative; width: 100%; max-width: 520px; max-height: calc(100vh - 32px); overflow: auto; background: #fff; border-radius: 16px; box-shadow: 0 24px 60px rgba(0, 19, 33, .35); color: #0f172a; }
.hgc-pm__head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid #dbe3ec; }
.hgc-pm__head h2 { margin: 0; font-size: 18px; font-weight: 800; color: #0f172a; }
.hgc-pm__x { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; color: #0f172a; cursor: pointer; }
.hgc-pm__x:hover { background: #eef2f7; }
.hgc-pm__body { padding: 28px 20px 12px; text-align: center; }
.hgc-pm__pic { width: 200px; height: 200px; margin: 0 auto; border-radius: 50%; overflow: hidden; border: 4px solid #e4b922; background: linear-gradient(160deg, #001321, #003c69); display: flex; align-items: center; justify-content: center; color: #fff; }
.hgc-pm__pic img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; display: block; }
.hgc-pm__pic.is-empty svg { width: 54px; height: 54px; opacity: .9; }
.hgc-pm__msg { min-height: 1.2em; margin: 12px 0 0; font-size: 14px; font-weight: 600; color: #b32d2e; }
.hgc-pm__help { margin: 4px auto 0; max-width: 360px; font-size: 13px; color: #64748b; }
.hgc-pm__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 16px 20px; border-top: 1px solid #dbe3ec; }
.hgc-pm__spacer { flex: 1 1 auto; }
.hgc-pm__btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 10px 18px; border-radius: 8px; border: 1px solid #0b1b33; background: #0b1b33; color: #fff !important; font-size: 15px; font-weight: 600; cursor: pointer; transition: background-color .15s ease, border-color .15s ease; }
.hgc-pm__btn svg { width: 18px; height: 18px; }
.hgc-pm__btn:hover { background: #1f3a5f; border-color: #1f3a5f; color: #fff !important; }
.hgc-pm__btn--ghost { background: #fff; border-color: #c9d5e3; color: #0f172a !important; }
.hgc-pm__btn--ghost:hover { background: #f3f6fa; border-color: #0f172a; color: #0f172a !important; }
.hgc-pm__btn[hidden] { display: none; }
.hgc-pm__btn:disabled { opacity: .7; cursor: default; }
@media (max-width: 480px) {
	.hgc-pm__pic { width: 160px; height: 160px; }
	.hgc-pm__foot .hgc-pm__btn { flex: 1 1 100%; }
	.hgc-pm__spacer { display: none; }
}

/* Profilbild-popup: verktygsrad under bilden (synlighet, redigera, byt, ta bort). */
.hgc-pm__tools { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 12px 16px; border-top: 1px solid #dbe3ec; }
.hgc-pm__tool { display: inline-flex; flex-direction: column; align-items: center; gap: 4px; min-width: 72px; padding: 8px 10px; border: 0; border-radius: 10px; background: transparent; color: #0f172a; font-size: 13px; font-weight: 600; cursor: pointer; }
.hgc-pm__tool:hover { background: #eef2f7; }
.hgc-pm__tool[hidden] { display: none; }
.hgc-pm__tool[data-hgc-pm-delete] { color: #b32d2e; }
.hgc-pm__vis { display: inline-flex; align-items: center; gap: 10px; padding: 8px 12px; border: 1px solid #dbe3ec; border-radius: 10px; background: #fff; color: #0f172a; font-size: 12px; text-align: left; line-height: 1.3; cursor: pointer; }
.hgc-pm__vis strong { display: block; font-size: 14px; }
.hgc-pm__vis[aria-pressed="true"] { border-color: #b7dfc9; background: #e7f5ee; }
.hgc-pm__vis[aria-pressed="true"] svg { color: #1b7f4b; }
.hgc-pm__vis:hover { border-color: #0f172a; }
.hgc-pm__vis[hidden] { display: none; }
.hgc-pm__foot { justify-content: flex-end; }
.hgc-pm__foot[hidden] { display: none; }
.hgc-pm__pic.is-editing { cursor: move; touch-action: none; }
.hgc-pm__pic canvas { width: 100%; height: 100%; display: block; }
.hgc-pm__crop { max-width: 300px; margin: 16px auto 0; text-align: left; font-size: 13px; color: #64748b; }
.hgc-pm__crop[hidden] { display: none; }
.hgc-pm__crop label { display: block; font-weight: 600; color: #0f172a; margin-bottom: 4px; }
.hgc-pm__crop input { width: 100%; accent-color: #0b1b33; }
.hgc-pm__crop p { margin: 6px 0 0; }
@media (max-width: 480px) {
	.hgc-pm__tools { justify-content: center; }
	.hgc-pm__vis { flex: 1 1 100%; }
	.hgc-pm__tools .hgc-pm__spacer { display: none; }
	.hgc-pm__tool { min-width: 64px; }
}
.hgc-photo-col .hgc-crop-again { display: none !important; }

/* Profilbild-popup: mörkblå bakgrund (vit text, gula knappar på mörk botten). */
.hgc-pm__dialog { background: linear-gradient(165deg, #001321 0%, #0b2a4a 100%); color: #fff; box-shadow: 0 24px 60px rgba(0, 0, 0, .45); }
.hgc-pm__head, .hgc-pm__tools, .hgc-pm__foot { border-color: rgba(255, 255, 255, .12); }
.hgc-pm__head h2 { color: #fff; }
.hgc-pm__x { color: #fff; }
.hgc-pm__x:hover { background: rgba(255, 255, 255, .1); }
.hgc-pm__pic { background: linear-gradient(160deg, #0b2a4a, #003c69); }
.hgc-pm__help, .hgc-pm__crop, .hgc-pm__crop p { color: #b8c4d3; }
.hgc-pm__crop label { color: #fff; }
.hgc-pm__crop input { accent-color: #e4b922; }
.hgc-pm__msg { color: #ff9b9b; }
.hgc-pm__tool { color: #fff; }
.hgc-pm__tool:hover { background: rgba(255, 255, 255, .1); }
.hgc-pm__tool[data-hgc-pm-delete] { color: #ff9b9b; }
.hgc-pm__vis { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .2); color: #fff; }
.hgc-pm__vis:hover { border-color: rgba(255, 255, 255, .6); }
.hgc-pm__vis[aria-pressed="true"] { background: rgba(27, 127, 75, .25); border-color: rgba(120, 220, 160, .5); }
.hgc-pm__vis[aria-pressed="true"] svg { color: #7fe0a8; }
.hgc-pm__btn { background: #e4b922; border-color: #e4b922; color: #001321 !important; }
.hgc-pm__btn:hover { background: #d1a514; border-color: #d1a514; color: #001321 !important; }
.hgc-pm__btn--ghost { background: transparent; border-color: rgba(255, 255, 255, .45); color: #fff !important; }
.hgc-pm__btn--ghost:hover { background: rgba(255, 255, 255, .1); border-color: #fff; color: #fff !important; }

/* Liten rund flagga uppe till höger i den runda spelarbilden. */
.hgsp-cv__card, [data-hgsp-photo-preview] { position: relative; }
.hgc-flagslice { position: absolute; inset: 2px 2px auto auto; width: 30px; height: 30px; border-radius: 50%; border: 2px solid #fff; z-index: 3; pointer-events: none; background-color: #fff; background-repeat: no-repeat; background-size: cover; background-position: center; }
.hgc-flagslice[hidden] { display: none; }
.hgc-flagslice::after { content: ""; position: absolute; inset: -2px; border-radius: 50%; box-shadow: 0 1px 3px rgba(0, 19, 33, .35); }
@media (max-width: 760px) { .hgc-flagslice { width: 26px; height: 26px; } }
/* Ingen flagga framför namnet – flaggan visas i spelarbilden. */
.hgsp-idhead__name .hgsp-flag { display: none; }
.hgc-cam__overlay, .hgc-cam__empty, .hgc-cam__badge { z-index: 2; }

/* Spelarprofil: Turneringar och camps (redigering) */
.hgsp-evlist { display: grid; gap: 12px; margin: 12px 0; }
.hgsp-evrow { position: relative; display: grid; grid-template-columns: 150px minmax(0, 1fr) 120px; gap: 10px 14px; padding: 16px 16px 12px; border: 1px solid #dbe3ec; border-radius: 12px; background: #f8fafc; }
.hgsp-evrow .hgsp-field { margin: 0; }
.hgsp-evrow label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 4px; color: #0f172a; }
.hgsp-evrow input, .hgsp-evrow select { width: 100%; }
.hgsp-evrow__wide { grid-column: span 1; }
.hgsp-evrow .hgsp-evrow__wide:last-of-type { grid-column: 1 / -1; }
.hgsp-evrow__del { justify-self: end; grid-column: 1 / -1; display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border: 0; border-radius: 8px; background: transparent; color: #b32d2e; font-size: 13px; font-weight: 600; cursor: pointer; }
.hgsp-evrow__del:hover { background: #fdecec; }
@media (max-width: 760px) {
	.hgsp-evrow { grid-template-columns: 1fr 1fr; }
	.hgsp-evrow .hgsp-evrow__wide { grid-column: 1 / -1; }
}

/* Spelar-CV: Turneringar och camps */
.hgsp-events { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.hgsp-event { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 14px; padding: 14px 0; border-top: 1px solid #e5ebf2; }
.hgsp-event:first-child { border-top: 0; padding-top: 4px; }
.hgsp-event__year { font-weight: 800; font-size: 18px; color: #003c69; }
.hgsp-event__title { margin: 0; font-size: 16px; color: #0f172a; }
.hgsp-event__type { display: inline-block; margin-right: 6px; padding: 2px 8px; border-radius: 999px; background: #eef2f7; color: #0f172a; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; vertical-align: 2px; }
.hgsp-event__meta { margin: 3px 0 0; font-size: 14px; color: #64748b; }
.hgsp-event__result { margin: 4px 0 0; font-size: 14px; font-weight: 600; color: #0f172a; }
.hgsp-event__result { border-left: 3px solid #e4b922; padding-left: 8px; }
.hgc-pm__tool:disabled { opacity: .6; cursor: not-allowed; background: transparent !important; }
.hgc-pm__tool[data-hgc-pm-delete] { display: inline-flex !important; }

/* Spelarprofil: professionell stegmeny till höger (desktop). */
@media (min-width: 1024px) {
	.hgsp-nav ol { padding: 0 0 10px; border-radius: 14px; border-color: #dbe3ec; overflow: hidden; box-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 8px 24px rgba(15, 23, 42, .05); }
	.hgsp-nav li { position: relative; }
	.hgsp-nav li:not(.hgc-navhead):not(:last-child)::after { content: ""; position: absolute; left: 34px; top: 40px; bottom: -8px; width: 2px; background: #e2e8f0; z-index: 0; }
	.hgsp-nav a { position: relative; z-index: 1; gap: 12px; padding: 9px 16px 9px 18px; border-radius: 0; border-left: 3px solid transparent; font-size: 15px; font-weight: 600; color: #0f172a; transition: background-color .15s ease; }
	.hgsp-nav a:hover { background: #f5f8fb; }
	.hgsp-nav a.is-active { background: #eef3f9; color: #001321; border-left-color: #e4b922; }
	.hgsp-nav a.is-active .hgsp-nav__label { font-weight: 700; }
	.hgsp-nav__num { width: 28px; height: 28px; border: 2px solid #cbd5e1; background: #fff; color: #64748b; font-weight: 700; font-size: 13px; }
	.hgsp-nav a.is-active .hgsp-nav__num { background: #001321; border-color: #001321; color: #fff; }
	.hgsp-nav a.is-done .hgsp-nav__num { background: #1b7f4b; border-color: #1b7f4b; color: #fff; }
	.hgc-navhead { display: grid; gap: 8px; padding: 16px 18px 14px; margin-bottom: 8px; border-bottom: 1px solid #e5ebf2; background: #f8fafc; }
	.hgc-navhead__title { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #0f172a; }
	.hgc-navhead__title::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #e4b922; }
	.hgc-navhead__bar { display: block; height: 6px; border-radius: 999px; background: #e2e8f0; overflow: hidden; }
	.hgc-navhead__bar span { display: block; height: 100%; border-radius: inherit; background: #1b7f4b; }
	.hgc-navhead__txt { font-size: 13px; color: #64748b; }
}
@media (max-width: 1023px) {
	.hgc-navhead { display: none; }
}


/* ==========================================================================
   Guider (kategori /category/guider/): ingen högerspalt + mörk hero
   i samma stil som /for-klubbar-och-foretag/ (hgp-pagehero / hgg-hero).
   ========================================================================== */
body.category-guider .layout--sidebar { grid-template-columns: minmax(0, 1fr) !important; }
body.category-guider .layout__sidebar { display: none !important; }
@media (min-width: 1100px) {
	body.category-guider .card-grid--2 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

body.category-guider .page-header {
	position: relative;
	overflow: hidden;
	margin: 0;
	padding: clamp(48px, 7vw, 80px) 0 clamp(44px, 6vw, 72px);
	border-bottom: 0;
	background: radial-gradient(900px 500px at 90% 0, rgba(11, 42, 74, .95), transparent 65%), #001321;
	color: #cbd5e1;
}
body.category-guider .page-header::after {
	content: "";
	position: absolute;
	right: -40px;
	top: 50%;
	transform: translateY(-50%);
	width: min(980px, 82%);
	aspect-ratio: 1 / 1;
	background: url("https://pub-36fc4b25ad474b8086e2ebe044430ef4.r2.dev/2026/11/icon_hockeygymnasiet_520-2.png") no-repeat center / contain;
	opacity: .07;
	pointer-events: none;
}
body.category-guider .page-header > .container { position: relative; z-index: 1; }
body.category-guider .page-header .breadcrumbs,
body.category-guider .page-header .breadcrumbs a,
body.category-guider .page-header .breadcrumbs span { color: #c9d6e6; }
body.category-guider .page-header .breadcrumbs { margin-bottom: 22px; opacity: .85; }
body.category-guider .page-header__title {
	color: #fff;
	font-size: clamp(34px, 5vw, 58px);
	line-height: 1.05;
	font-weight: 800;
	letter-spacing: -.01em;
	max-width: 820px;
	margin: 0 0 18px;
}
body.category-guider .page-header__title::before {
	content: "För spelare & föräldrar";
	display: block;
	margin: 0 0 10px;
	padding-left: 15px;
	font-size: 12px;
	line-height: 1.6;
	font-weight: 800;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: #c9d6e6;
	background: radial-gradient(circle, #e4b922 3.5px, transparent 4px) 0 50% / 7px 7px no-repeat;
}
body.category-guider .page-header__desc {
	max-width: 640px;
	margin: 0;
	color: #d4deea;
	font-size: 18px;
	line-height: 1.6;
}


/* Hero search: keep search icon visible on mobile (button padding squeezed the icon to 2px) */
@media (max-width: 760px) {
	.hgp-hero.hgc-fx .hgp-search .hgp-btn {
		padding: 0 !important;
		justify-content: center !important;
		align-items: center !important;
	}
	.hgp-hero.hgc-fx .hgp-search .hgp-btn::before {
		flex: 0 0 20px;
		min-width: 20px;
	}
}


/* Dark backgrounds never get a dark (navy) primary button – use gold instead (beats the navy rules incl. body.home #kalender) */
html body:not(#hg-x) .hgp-dark:not(#hg-y) :is(.hgp-btn:not(.hgp-btn--ghost, .hgp-btn--navy, .hgc-dist), .hgnew__btn--gold, .hgg-btn--gold, .hgc-cal__add--pri, .hgsp-btn:not(.hgsp-btn--ghost), .button--accent, .hgp-farcta__btn--main, .hgp-chipnav__cta, .hgx-btn--y, .hgn__cta, .hgc-foot__cta):not(.hgp-event *) {
	background: #e4b922 !important;
	border: 1px solid #e4b922 !important;
	color: #001321 !important;
}
html body:not(#hg-x) .hgp-dark:not(#hg-y) :is(.hgp-btn:not(.hgp-btn--ghost, .hgp-btn--navy, .hgc-dist), .hgnew__btn--gold, .hgg-btn--gold, .hgc-cal__add--pri, .hgsp-btn:not(.hgsp-btn--ghost), .button--accent, .hgp-farcta__btn--main, .hgp-chipnav__cta, .hgx-btn--y, .hgn__cta, .hgc-foot__cta):not(.hgp-event *):hover {
	background: #d4aa14 !important;
	border-color: #d4aa14 !important;
	color: #001321 !important;
}

/* Calendar filter chips (Alla, Tryouts, Camps, Turneringar): even 2x2 grid on mobile */
@media (max-width: 600px) {
	.hgc-cal .hgc-cal__filter {
		display: grid !important;
		grid-template-columns: 1fr 1fr;
		gap: 4px !important;
		width: 100% !important;
		max-width: 100% !important;
		box-sizing: border-box;
	}
	.hgc-cal .hgc-cal__filter .hgc-cal__chip {
		width: 100%;
		min-width: 0;
		justify-content: center;
		text-align: center;
	}
}

/* ==========================================================================
   HG KNAPPAR – global regel för alla undersidor (inte startsidan)
   Klasserna sätts av child.js (hgb, hgb--primary/secondary, hgb--dark/light):
   - Hero och mörk bakgrund: 1:a knappen gul med mörk text, övriga
     transparenta med vit text och 1.5px vit ram.
   - Ljus bakgrund: 1:a knappen mörkblå med vit text, övriga transparenta
     med mörk text och 1.5px ram #e1e7ee.
   ========================================================================== */
body:not(.home) .hgb {
	border-width: 1.5px !important;
	border-style: solid !important;
	border-radius: 10px !important;
	font-weight: 500 !important;
	letter-spacing: .01em;
	text-decoration: none !important;
	box-shadow: none !important;
	background-image: none !important;
	cursor: pointer;
	transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
}
body:not(.home) .hgb:active { transform: translateY(1px); }
body:not(.home) .hgb[disabled],
body:not(.home) .hgb[aria-disabled="true"] { opacity: .55; cursor: not-allowed; transform: none; }

/* Ljus bakgrund */
body:not(.home) .hgb.hgb--light.hgb--primary {
	background-color: #0b1b33 !important;
	color: #fff !important;
	border-color: #0b1b33 !important;
}
body:not(.home) .hgb.hgb--light.hgb--primary:hover,
body:not(.home) .hgb.hgb--light.hgb--primary:focus-visible {
	background-color: #003c69 !important;
	border-color: #003c69 !important;
	color: #fff !important;
	box-shadow: 0 6px 16px -8px rgba(11, 27, 51, .55) !important;
}
body:not(.home) .hgb.hgb--light.hgb--secondary {
	background-color: transparent !important;
	color: #0b1b33 !important;
	border-color: #e1e7ee !important;
}
body:not(.home) .hgb.hgb--light.hgb--secondary:hover,
body:not(.home) .hgb.hgb--light.hgb--secondary:focus-visible {
	background-color: #f4f7fb !important;
	border-color: #0b1b33 !important;
	color: #0b1b33 !important;
}

/* Hero och mörk bakgrund */
body:not(.home) .hgb.hgb--dark.hgb--primary {
	background-color: #e4b922 !important;
	color: #0b1b33 !important;
	border-color: #e4b922 !important;
}
body:not(.home) .hgb.hgb--dark.hgb--primary:hover,
body:not(.home) .hgb.hgb--dark.hgb--primary:focus-visible {
	background-color: #f0c83c !important;
	border-color: #f0c83c !important;
	color: #0b1b33 !important;
	box-shadow: 0 6px 18px -8px rgba(0, 0, 0, .55) !important;
}
body:not(.home) .hgb.hgb--dark.hgb--secondary {
	background-color: transparent !important;
	color: #fff !important;
	border-color: #fff !important;
}
body:not(.home) .hgb.hgb--dark.hgb--secondary:hover,
body:not(.home) .hgb.hgb--dark.hgb--secondary:focus-visible {
	background-color: rgba(255, 255, 255, .12) !important;
	border-color: #fff !important;
	color: #fff !important;
}

/* Ikoner och text i knappen följer knappens färg */
body:not(.home) .hgb svg { fill: currentColor; }
body:not(.home) .hgb > span:not([class*="badge"]):not([class*="plus"]) { color: inherit !important; }

/* Tydlig tangentbordsfokus */
body:not(.home) .hgb:focus-visible { outline: 2px solid #003c69; outline-offset: 3px; }
body:not(.home) .hgb.hgb--dark:focus-visible { outline-color: #fff; }

/* ==========================================================================
   HG KNAPPAR – 10px hörnradie på alla knappar på hela webbplatsen
   (även startsidan). Taggar, chips, etiketter och nyhetsremsans poster
   behåller sin rundade pill-form eftersom de inte är knappar.
   ========================================================================== */
html body :is(
	.hgb, .hgg-btn, .hgp-btn, .hgnew__btn, .hgp-farcta__btn, .hgsp-btn, .hgc-btn, .hgx-btn,
	.hgc-rv__btn, .hgp-ptable__loginbtn, .wp-block-button__link,
	.hgn__cta, .hgtk__cta, .hgp-chipnav__cta, .hgx-pill, .hgl-back,
	.icon-btn, .hgc-foot__top, .hgs__btn, .hgc-foot__cta, .hgc-panel__submit,
	.hgsp-mbtn, .hgx-acct__btn, .hgc-fs__btn, .hg-mt__tab, main a.button,
	main input[type="submit"], main button[type="submit"]
):not(#hgb-radius):not(#hgb-radius2) {
	border-radius: 10px !important;
	font-weight: 500 !important;
}

/* Sekundära knappar på tonade ljusa ytor (t.ex. pristabellens kolumner):
   #e1e7ee syns inte mot ljusblå bakgrund, så ramen blir något starkare. */
body:not(.home) .hgb.hgb--light.hgb--secondary.hgb--tint:not(#hgb-tint) {
	border-color: #b9c7d6 !important;
}
body:not(.home) .hgb.hgb--light.hgb--secondary.hgb--tint:not(#hgb-tint):hover,
body:not(.home) .hgb.hgb--light.hgb--secondary.hgb--tint:not(#hgb-tint):focus-visible {
	border-color: #0b1b33 !important;
	background-color: rgba(255, 255, 255, .6) !important;
}

/* Navigering inne på sidan (chipsraden under hero, premiumguidernas
   navigering, turneringsnavigeringen och startsidans sektionsnavigering):
   samma 10px hörnradie som knapparna. */
html body :is(
	.hgg-chips a, .hgg-pnav__links a, .hgg-pnav a, .hgc-evnav__link,
	.hgn a, .hgp-chipnav a
):not(#hgb-radius) {
	border-radius: 10px !important;
}

/* Marinblå remsa ovanför sticky-menyn: bara när menyn sitter fast
   (klassen hg-stuck sätts av child.js). Annars syntes den som en blå
   rand ovanför menyn, t.ex. under statistikraden på startsidan. */
html body :is(.hgn, .hgg-chips):not(.hg-stuck)::before {
	display: none !important;
}

/* Statistikraden på mobil: 119 och datumet (29 nov) bredvid varandra på
   första raden, NIU · LIP · LIU och besökarsiffran på andra raden. */
@media (max-width: 760px) {
	html body .hgp-stats ul {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
	}
	html body .hgp-stats li:nth-child(1) { order: 1; }
	html body .hgp-stats li:nth-child(4) { order: 2; }
	html body .hgp-stats li:nth-child(2) { order: 3; }
	html body .hgp-stats li:nth-child(3) { order: 4; }
	/* Skiljelinjen hamnar på kolumnen till höger */
	html body .hgp-stats li:nth-child(1):not(#hg-s),
	html body .hgp-stats li:nth-child(2):not(#hg-s) { border-left: 0 !important; }
	html body .hgp-stats li:nth-child(3):not(#hg-s),
	html body .hgp-stats li:nth-child(4):not(#hg-s) { border-left: 1px solid rgba(255, 255, 255, .12) !important; }
}

/* ==========================================================================
   RECENSION (Consultiq) – flytande knappen bredvid cookie-ikonen + stjärna i "Lämna en recension"
   ========================================================================== */
body .hgc-rv-fab{right:74px;bottom:21px;height:40px;box-sizing:border-box;border-radius:10px;transition:background-color .2s,box-shadow .2s,transform .2s}
body .hgc-rv-fab:hover{background:#004f8a;box-shadow:0 8px 24px rgba(11,27,51,.32);transform:translateY(-2px)}
body .hgc-rv-fab a{font-size:13px;font-weight:500;padding:9px 2px 9px 14px;gap:7px}
body .hgc-rv-fab svg{width:13px;height:13px}
body .hgc-rv-fab button{font-size:16px;padding:6px 10px 6px 6px !important}
body.has-compare-bar .hgc-rv-fab{bottom:calc(var(--hg-cmpbar-h,88px) + 17px)}
body:has(.hgs-fab[hidden]) .hgc-rv-fab{right:18px}
@media (max-width:640px){
  body .hgc-rv-fab{right:62px;bottom:13px;height:38px}
  body .hgc-rv-fab a{font-size:12.5px}
  body:has(.hgs-fab[hidden]) .hgc-rv-fab{right:12px}
}
body .hgc-rv__btn:not(:has(svg))::before{content:"\2605";color:#f5b301;font-size:15px;line-height:1;margin-right:8px}

/* Spelarprofil: bredare stegmeny + recensionsblock i högerkolumnen */
@media (min-width: 1101px){
	.hgsp-layout{grid-template-columns:minmax(0,1fr) 290px !important;gap:28px !important}
}
@media (min-width: 1400px){
	.hgsp-layout{grid-template-columns:minmax(0,1fr) 320px !important;gap:32px !important}
}

/* Spelarprofil: "Recensera Consultiq på Google" får plats på en rad i högerkolumnen */
.hgc-rv--side .hgc-rv__btn{white-space:nowrap !important;font-size:14px !important;padding-left:12px !important;padding-right:12px !important}
.hgc-rv--side .hgc-rv__btn:not(:has(svg))::before{margin-right:6px}
@media (min-width: 1101px) and (max-width: 1399px){
	.hgc-rv--side .hgc-rv__btn{font-size:13.5px !important}
}

/* Hitta spelare: introtexten under rubriken lite mindre */
.page-id-13 .hgsp-head > p:not(.hgsp-head__eyebrow){font-size:15px;line-height:1.55}

/* Så arbetar vi: blocken under "Sex principer vi alltid följer" syns tydligare */
.hgp.hgp-principer .hgp-sec--sky:has(.hgp-tiles){background:#e2e9f2}
.hgp.hgp-principer .hgp-sec--sky .hgp-tiles > li{background:#fff;border:1px solid #c9d5e3;box-shadow:0 4px 14px rgba(11,27,51,.08)}

/* Spelarprofil: "Vilket hockeygymnasium?" visas bara när ett val är gjort under "Hockeygymnasium" */
.hgsp-grid:has(#hgsp-f-gymnasium_status option[value=""]:checked) [data-hgsp-school],
.hgsp-grid:has(#hgsp-f-gymnasium_status option[value^="Nej"]:checked) [data-hgsp-school],
[data-hgsp-school][hidden]{display:none !important}
.hgsp-school-search{margin-bottom:8px}

/* Spelarprofil: luft ovanför "Inga betyg ännu"-rutan */
.hgsp-dash + .hgsp-empty-dash{margin-top:20px}

/* Profilbild-popup: intyg om bildrättigheter + policy (mörk popup) */
.hgc-pm__rights{display:flex;gap:12px;align-items:flex-start;margin:16px 0 0;padding:12px 14px;border:1.5px solid rgba(255,255,255,.35);border-radius:10px;background:rgba(255,255,255,.06);font-size:13.5px;font-weight:500;line-height:1.5;color:#fff;text-align:left;cursor:pointer}
.hgc-pm__rights[hidden]{display:none}
.hgc-pm__rights input{flex:none;width:18px;height:18px;margin:2px 0 0;accent-color:#e4b922;cursor:pointer}
.hgc-pm__rights.is-missing{border-color:#ff6b81;background:rgba(208,33,63,.18)}
.hgc-pm__policy{margin:10px 0 0;font-size:12.5px;line-height:1.55;color:rgba(255,255,255,.78);text-align:left}
.hgc-pm__policy[hidden]{display:none}
.hgc-pm__policy strong{color:#fff;font-weight:600}
.hgc-pm__policy a{color:#e4b922;font-weight:600;text-decoration:underline;text-underline-offset:2px}
.hgc-pm__policy a:hover{color:#fff}

/* Recensera Consultiq: flytande knappen visas inte – länken ligger i sidfoten under "Kontakta oss" */
body .hgc-rv-fab{display:none !important}
.hgc-foot__rv a{display:inline-flex;align-items:center;flex-direction:row-reverse}
.hgc-foot__rv-star{color:#f5b301;margin-left:6px;font-size:.9em}

/* ===== Klubbkonto (Mitt konto för klubbar/skolor) ===== */
.hgca-head{background:#f4f6f9;border-bottom:4px solid #e4b922;padding:26px 0 22px}
.hgca-head__in{display:flex;gap:16px;align-items:flex-end;flex-wrap:wrap}
.hgca-title{margin:6px 0 0;font-size:clamp(28px,3.6vw,40px);line-height:1.08;letter-spacing:-.02em;color:#003c69;font-weight:800}
.hgca-who{margin:10px 0 0;display:flex;gap:8px;align-items:center;flex-wrap:wrap;font-size:14px;color:#0b1b33}
.hgca-role{background:#e4b922;color:#0b1b33;font-weight:700;font-size:12.5px;border-radius:999px;padding:3px 10px}
.hgca-head__acts{margin-left:auto;display:flex;gap:8px;flex-wrap:wrap}
.hgca{display:grid;grid-template-columns:240px minmax(0,1fr);gap:36px;padding-top:28px;padding-bottom:64px}
@media(max-width:860px){.hgca{grid-template-columns:minmax(0,1fr);gap:18px}}
.hgca-nav{display:flex;flex-direction:column;gap:2px;position:sticky;top:calc(var(--header-h,80px) + 16px);align-self:start}
@media(max-width:860px){.hgca-nav{flex-direction:row;overflow-x:auto;position:static;border-bottom:1px solid #e1e7ee;padding-bottom:8px}.hgca-nav hr,.hgca-nav .hgca-admin{display:none}}
.hgca-nav a{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:10px;font-weight:600;font-size:15px;color:#0b1b33;text-decoration:none;white-space:nowrap}
.hgca-nav a svg{width:19px;height:19px;flex:none}
.hgca-nav a:hover{background:#f4f6f9}
.hgca-nav a.is-on{background:#eaf1f7;color:#003c69}
.hgca-nav hr{border:0;border-top:1px solid #e1e7ee;margin:8px 0;width:100%}
.hgca-admin{margin-top:14px;padding:12px;border:1.5px dashed #e1e7ee;border-radius:10px;font-size:13px}
.hgca-admin label{display:block;font-weight:600;margin-bottom:6px}
.hgca-admin select{width:100%;font-size:14px;border:1.5px solid #e1e7ee;border-radius:10px;padding:7px 8px}
.hgca-admin--inline{margin:0 0 16px;max-width:520px}
.hgca-sec[hidden],.hgca-pane[hidden]{display:none}
.hgca-sec h2{margin:0 0 8px;font-size:clamp(26px,3vw,34px);color:#003c69;font-weight:800;letter-spacing:-.02em;line-height:1.1}
.hgca-lead{margin:0 0 18px;color:#5b6577;max-width:70ch}
.hgca-card{background:#fff;border:1px solid #e1e7ee;border-radius:14px;padding:20px}
.hgca-card h3{margin:0 0 10px;font-size:17px}
.hgca-muted{color:#5b6577;font-size:13.5px;margin:12px 0 0}
.hgca-muted a{color:#003c69;font-weight:600}
.hgca-note{border-radius:10px;padding:10px 14px;margin:0 0 16px;font-size:14px}
.hgca-note--warn{background:#fff6dc;color:#7a5c00}
.hgca-yours{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);border:1px solid #e1e7ee;border-radius:16px;overflow:hidden;background:#fff;margin-bottom:18px}
@media(max-width:1000px){.hgca-yours{grid-template-columns:minmax(0,1fr)}}
.hgca-yours__txt{padding:24px}
.hgca-yours__txt h3{font-size:20px;margin:0 0 8px}
.hgca-yours__txt p{margin:0 0 14px}
.hgca-badge{display:inline-flex;font-size:13px;font-weight:700;color:#003c69;background:#eaf1f7;border-radius:999px;padding:4px 12px;margin-bottom:12px}
.hgca-row{display:flex;gap:8px;flex-wrap:wrap}
.hgca-mini{background:#f4f6f9;padding:20px;display:flex;align-items:center;justify-content:center}
.hgca-mini__page{width:100%;max-width:420px;border-radius:12px;overflow:hidden;border:1px solid #e1e7ee;background:#fff;font-size:11px}
.hgca-mini__hero{background:#0b1b33;color:#fff;padding:14px;outline:2px dashed #e4b922;outline-offset:-2px;position:relative}
.hgca-mini__hero img{width:28px;height:28px;object-fit:contain;float:right;background:#fff;border-radius:50%}
.hgca-mini__hero span{display:block;color:#e4b922;font-size:10px;font-weight:700}
.hgca-mini__hero b{display:block;font-size:14px;line-height:1.25;margin-top:4px}
.hgca-mini__boxes{display:grid;grid-template-columns:repeat(3,1fr);gap:4px;padding:8px 10px}
.hgca-mini__boxes i{font-style:normal;border:1px solid #e1e7ee;border-radius:6px;padding:4px 6px;font-weight:600}
.hgca-mini__boxes em{display:block;font-style:normal;color:#5b6577;font-size:9px;font-weight:400}
.hgca-mini__lines{padding:0 10px 12px}.hgca-mini__lines i{display:block;height:6px;border-radius:3px;background:#e1e7ee;margin-top:6px}
.hgca-mini__lines i:nth-child(2){width:70%}.hgca-mini__lines i:nth-child(3){width:85%}
.hgca-grid2{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px}
@media(max-width:900px){.hgca-grid2{grid-template-columns:minmax(0,1fr)}}
.hgca-ring{display:flex;gap:16px;align-items:center;margin-bottom:10px}
.hgca-ring svg{width:70px;height:70px;flex:none}
.hgca-ring h3{margin:0}.hgca-ring span{color:#5b6577;font-size:14px}
.hgca-check-list,.hgca-quick,.hgca-people{list-style:none;margin:0;padding:0}
.hgca-check-list li{display:flex;gap:10px;align-items:center;padding:9px 0;border-bottom:1px solid #e1e7ee;font-size:14px}
.hgca-check-list li:last-child{border:0}
.hgca-check-list .button{margin-left:auto}
.hgca-ic{width:22px;height:22px;border-radius:50%;display:grid;place-items:center;font-size:12px;font-weight:800;flex:none}
.hgca-ic.is-ok{background:#e7f5ec;color:#1f8a4c}.hgca-ic.is-no{background:#fff6dc;color:#7a5c00}
.hgca-quick li{border-bottom:1px solid #e1e7ee}.hgca-quick li:last-child{border:0}
.hgca-quick a{display:block;padding:10px 0;font-weight:600;color:#003c69;text-decoration:none}
.hgca-quick a::after{content:" →"}
.hgca-tabs{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:16px}
@media(max-width:640px){.hgca-tabs{flex-wrap:nowrap;overflow-x:auto;padding-bottom:4px}}
.hgca-tabs button{font:inherit;font-size:13.5px;font-weight:500;border-radius:10px;padding:8px 12px;border:1.5px solid #e1e7ee;background:#fff;color:#0b1b33;cursor:pointer;display:inline-flex;align-items:center;gap:8px;white-space:nowrap}
.hgca-tabs button.is-on{background:#0b1b33;border-color:#0b1b33;color:#fff}
.hgca-dot{width:8px;height:8px;border-radius:50%;display:inline-block}.hgca-dot.is-ok{background:#1f8a4c}.hgca-dot.is-no{background:#e4b922}
.hgca-where{display:inline-block;font-size:12.5px;color:#5b6577;background:#f4f6f9;border-radius:8px;padding:3px 8px;margin-bottom:14px}
.hgca-fgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.hgca-fgrid:empty{display:none}
@media(max-width:640px){.hgca-fgrid{grid-template-columns:minmax(0,1fr)}}
.hgca-group{margin:22px 0 10px;font-size:15px;color:#003c69}
.hgca-f--wide{grid-column:1/-1}
.hgca-f>label{display:block;font-size:13.5px;font-weight:600;margin-bottom:6px;color:#0b1b33}
.hgca-f input[type=text],.hgca-f input[type=url],.hgca-f input[type=email],.hgca-f input[type=tel],.hgca-f input[type=number],.hgca-f input[type=date],.hgca-f select,.hgca-f textarea{width:100%;font:inherit;font-size:16px;border:1.5px solid #e1e7ee;border-radius:10px;padding:9px 11px;background:#fff;color:#0b1b33}
.hgca-f input:disabled{background:#f4f6f9;color:#5b6577}
.hgca-f small{display:block;color:#5b6577;font-size:12.5px;margin-top:4px}
.hgca-check{display:flex;gap:8px;align-items:center;font-size:14px;padding:4px 0;cursor:pointer;font-weight:500}
.hgca-check input{width:17px;height:17px;accent-color:#003c69;flex:none}
.hgca-programs{border:1px solid #e1e7ee;border-radius:12px;padding:10px 14px 12px;margin:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:0 16px}
.hgca-programs legend{font-weight:700;font-size:14px;padding:0 6px}
.hgca-img{display:flex;gap:14px;align-items:center;flex-wrap:wrap}
.hgca-img img{width:180px;height:100px;object-fit:cover;border-radius:10px;border:1px solid #e1e7ee}
.hgca-img img.is-logo{width:90px;height:90px;object-fit:contain;border-radius:50%;background:#fff}
.hgca-img__empty{width:180px;height:100px;border-radius:10px;border:2px dashed #e1e7ee;display:grid;place-items:center;color:#5b6577;font-size:13px;background:#f4f6f9}
.hgca-rights{display:flex;gap:10px;align-items:flex-start;margin-top:16px;padding:12px;border:1.5px solid #e1e7ee;border-radius:10px;background:#f8fafc;font-size:13.5px;cursor:pointer}
.hgca-rights input{width:18px;height:18px;flex:none;margin-top:2px;accent-color:#003c69}
.hgca-rights a{color:#003c69;font-weight:600}
.hgca-rights.is-missing{border-color:#d0213f;background:#fff5f6}
.hgca-foot{display:flex;gap:10px;justify-content:flex-end;flex-wrap:wrap;margin-top:14px}
.hgca-steps{margin:0 0 16px;padding-left:20px}.hgca-steps li{padding:4px 0}
.hgca-people li{display:flex;gap:12px;align-items:center;padding:10px 0;border-bottom:1px solid #e1e7ee}
.hgca-av{width:40px;height:40px;border-radius:50%;background:#003c69;color:#fff;display:grid;place-items:center;font-weight:700;border:2.5px solid #e4b922;flex:none;font-size:14px}
.hgca .wp-editor-wrap{border:1.5px solid #e1e7ee;border-radius:10px;overflow:hidden}

/* Mitt konto – Kalender & tryouts: ingen bakgrundsbild (startsidans #kalender-stil), inga rundade hörn på det vita blocket */
#kalender.hgca-sec{background:none!important}
#kalender.hgca-sec .hgca-card{border-radius:0}

/* Våra lag – lagmeny på hockeygymnasiets profil */
.hgc-teams{background:#fff;border:1px solid #e1e7ee;padding:28px;margin:0 0 28px}
.hgc-teams h2{margin:0 0 16px;color:#003C69}
.hgc-teams__tabs{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 20px}
.hgc-teams__tab{appearance:none;cursor:pointer;border-radius:10px;font-weight:500;font-size:15px;padding:10px 18px;background:transparent;color:#001321;border:1.5px solid #e1e7ee;line-height:1.2}
.hgc-teams__tab span{opacity:.7;font-weight:500;margin-left:2px}
.hgc-teams__tab:hover{border-color:#003C69}
.hgc-teams__tab.is-on{background:#003C69;border-color:#003C69;color:#fff}
.hgc-teams__tab.is-on span{opacity:.85}
.hgc-teams__photo{margin:0 0 20px}
.hgc-teams__photo img{display:block;width:100%;height:auto;max-height:560px;object-fit:cover}
.hgc-teams__roster h3{margin:0 0 12px;font-size:18px}
.hgc-teams__roster h3 small{font-weight:500;color:#5b6b7b}
.hgc-teams__list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:10px}
.hgc-teams__list a{display:flex;flex-direction:column;gap:2px;padding:12px 14px;border:1px solid #e1e7ee;border-radius:10px;text-decoration:none;color:#001321}
.hgc-teams__list a:hover{border-color:#003C69}
.hgc-teams__list span{font-size:13px;color:#5b6b7b}
.hgc-teams__muted{color:#5b6b7b;margin:0 0 12px}
.hgc-teams__btn{display:inline-block;border-radius:10px;font-weight:500;padding:10px 18px;background:#003C69;color:#fff;text-decoration:none}
.hgc-teams__btn:hover{background:#001321;color:#fff}
@media(max-width:640px){.hgc-teams{padding:20px 16px}}

/* Mitt konto – Våra lag ligger i vänstermenyn (inte som flik under Er skolprofil) */
.hgca [data-hgca-tab-btn="lag"]{display:none!important}
.hgca--lag #skolprofil .hgca-tabs,.hgca--lag #skolprofil > .hgca-lead{display:none!important}

/* Våra lag – trupp och staff: redigering (Mitt konto) */
.hgr{grid-column:1/-1;margin-top:6px}
.hgr-lead{color:#5b6b7b;font-size:14px;margin:0 0 14px}
.hgr-part{border:1px solid #e1e7ee;padding:16px;margin:0 0 12px;background:#fff}
.hgr-part h4{margin:0 0 10px;font-size:15px;color:#003C69}
.hgr-part h4 small{font-weight:500;color:#5b6b7b;margin-left:4px}
.hgr-rows{display:flex;flex-direction:column;gap:8px}
.hgr-row{display:grid;grid-template-columns:64px minmax(140px,1.4fr) 80px minmax(160px,1.2fr) 40px;gap:8px;align-items:end}
.hgr-row--staff{grid-template-columns:minmax(140px,1.4fr) minmax(140px,1fr) 40px}
.hgr-row label{display:flex;flex-direction:column;gap:3px;margin:0}
.hgr-row label span{font-size:12px;color:#5b6b7b}
.hgr-row input,.hgr-row select{width:100%;min-width:0}
.hgr-del{height:40px;width:40px;border:1.5px solid #e1e7ee;background:transparent;border-radius:10px;font-size:20px;line-height:1;cursor:pointer;color:#001321}
.hgr-del:hover{border-color:#b42318;color:#b42318}
.hgr-add{margin-top:10px;border:1.5px solid #e1e7ee;background:transparent;border-radius:10px;font-weight:500;padding:8px 14px;cursor:pointer;color:#001321}
.hgr-add:hover{border-color:#003C69}
@media(max-width:760px){.hgr-row{grid-template-columns:64px 1fr 40px}.hgr-row .hgr-name{grid-column:2/3}.hgr-row .hgr-year{grid-column:1/2}.hgr-row .hgr-pid{grid-column:2/3}.hgr-row .hgr-del{grid-column:3/4;grid-row:1}.hgr-row--staff{grid-template-columns:1fr 40px}.hgr-row--staff .hgr-name,.hgr-row--staff .hgr-role{grid-column:1/2}}

/* Våra lag – trupp och staff: skolsidan */
.hgc-roster{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:20px}
.hgc-roster h3{font-size:15px;text-transform:uppercase;letter-spacing:.06em;color:#003C69;margin:0 0 8px;padding-bottom:8px;border-bottom:2px solid #003C69}
.hgc-roster ul{list-style:none;margin:0;padding:0}
.hgc-roster li{border-bottom:1px solid #e1e7ee}
.hgc-roster li>a,.hgc-roster li{display:flex;align-items:baseline;gap:10px;padding:7px 0;text-decoration:none;color:#001321}
.hgc-roster li>a{padding:0;border:0;flex:1}
.hgc-roster li>a:hover .hgc-roster__name{color:#003C69;text-decoration:underline}
.hgc-roster__nr{min-width:28px;font-weight:700;color:#003C69}
.hgc-roster__nr--none{color:#9aa7b4;font-weight:500}
.hgc-roster__name small{color:#5b6b7b;margin-left:4px}
.hgc-roster__col--staff li{flex-direction:column;gap:0}
.hgc-roster__role{font-size:13px;color:#5b6b7b}
.hgr-part h4{display:flex;align-items:baseline;gap:6px}
.hgr-part h4 small{display:inline;margin:0}

/* Våra lag – lagväljare i Mitt konto */
.hgr-switch-lead{margin:14px 0 10px;font-weight:500;color:#001321}
.hgr-switch{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0 0 20px}
.hgr-switch__btn{appearance:none;cursor:pointer;text-align:left;display:flex;flex-direction:column;gap:2px;padding:14px 16px;border-radius:10px;border:1.5px solid #e1e7ee;background:#fff;color:#001321;font-weight:500}
.hgr-switch__btn b{font-size:24px;font-weight:800;line-height:1.05;letter-spacing:-.01em;color:#003C69}
.hgr-switch__sub{font-size:14px;text-transform:capitalize}
.hgr-switch__stat{font-size:12px;color:#5b6b7b;margin-top:6px}
.hgr-switch__btn:hover{border-color:#003C69}
.hgr-switch__btn.is-on{background:#003C69;border-color:#003C69;color:#fff}
.hgr-switch__btn.is-on b,.hgr-switch__btn.is-on .hgr-switch__stat{color:#fff}
.hgr-switch__btn.is-on .hgr-switch__stat{opacity:.8}
.hgr-team{border:1.5px solid #003C69;padding:20px;margin:0 0 16px}
.hgr-team__head{display:flex;align-items:center;gap:14px;margin:0 0 16px;padding:0 0 14px;border-bottom:1px solid #e1e7ee}
.hgr-team__badge{flex:0 0 auto;display:grid;place-items:center;min-width:64px;height:64px;padding:0 8px;background:#003C69;color:#fff;font-size:22px;font-weight:800;border-radius:10px}
.hgr-team__head h3{margin:0;font-size:22px;color:#003C69;text-transform:none}
.hgr-team__head h3::first-letter{text-transform:uppercase}
.hgr-team__head p{margin:2px 0 0;color:#5b6b7b;font-size:14px}
@media(max-width:760px){.hgr-switch{grid-template-columns:repeat(2,minmax(0,1fr))}.hgr-team{padding:14px}}

/* Våra lag – visa/dölj lag på skolsidan */
.hgr-team__head{flex-wrap:wrap}
.hgr-team__head > div{flex:1 1 220px}
.hgr-show{display:flex;align-items:flex-start;gap:10px;margin:0;padding:10px 14px;border:1.5px solid #e1e7ee;border-radius:10px;cursor:pointer;max-width:360px;background:#fff}
.hgr-show input{margin-top:3px;width:18px;height:18px;flex:0 0 auto}
.hgr-show strong{display:block;font-weight:500;color:#001321}
.hgr-show small{display:block;color:#5b6b7b;font-size:12px;line-height:1.4}
.hgr-team.is-off{border-color:#e1e7ee;background:#f6f8fa}
.hgr-team.is-off .hgr-team__badge{background:#9aa7b4}
.hgr-team.is-off .hgr-team__head h3{color:#5b6b7b}
.hgr-team.is-off .hgca-fgrid{opacity:.5}
.hgr-switch__btn.is-off{border-style:dashed;background:#f6f8fa}
.hgr-switch__btn.is-off b{color:#9aa7b4}
.hgr-switch__btn.is-off.is-on{background:#5b6b7b;border-color:#5b6b7b;border-style:solid}
.hgr-switch__btn.is-off.is-on b{color:#fff}

/* Mitt konto – Kalender & tryouts (evenemang hanteras här) */
.hgca-card--events .hgc-ev-fav{display:none!important}

/* Lägg till i kalender: hänvisning för klubbar */
.hgc-ev-club-note{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;background:#fff;border:1.5px solid #e1e7ee;border-left:4px solid #003C69;padding:16px 20px;margin:0 0 24px;color:#001321}
.hgc-ev-club-note strong{font-weight:700}
.hgc-ev-club-note.is-club{border-left-color:#f2c200}
.hgc-ev-club-note__btn{margin-left:auto;display:inline-block;border-radius:10px;font-weight:500;padding:10px 18px;background:#003C69;color:#fff!important;text-decoration:none}
.hgc-ev-club-note__btn:hover{background:#001321}

/* Mitt konto – Kalender: inget blått block, bara texten och en enda knapp */
.hgca-card--events .hgc-ev-owner{background:none!important;border:0!important;box-shadow:none!important;padding:0 0 18px!important;margin:0 0 18px!important;border-bottom:1px solid #e1e7ee!important;border-radius:0!important;color:#001321!important;display:flex;flex-wrap:wrap;align-items:center;gap:12px 20px}
.hgca-card--events .hgc-ev-owner::before,.hgca-card--events .hgc-ev-owner::after{display:none!important}
.hgca-card--events .hgc-ev-owner > span:not(.hgc-ev-badge){flex:1 1 280px;color:#3b4a5a!important}
.hgca-card--events .hgc-ev-owner b{color:#001321!important}
.hgca-card--events .hgc-ev-badge{display:none!important}
.hgca-card--events .hgc-ev-owner [data-hgc-ev-open]{background:#003C69!important;border-color:#003C69!important;color:#fff!important}
.hgca-card--events .hgc-ev-owner [data-hgc-ev-open]:hover{background:#001321!important;border-color:#001321!important;color:#fff!important}
.hgca-card--events .hgc-ev-empty [data-hgc-ev-open]{display:none!important}

/* Mitt konto – Kontaktpersoner */
.hgc-kp-msg{padding:12px 16px;border-radius:10px;margin:0 0 16px;font-weight:500}
.hgc-kp-msg.is-ok{background:#e8f5ee;color:#14532d}
.hgc-kp-msg.is-info{background:#eef4fb;color:#003C69}
.hgc-kp-msg.is-error{background:#fdecea;color:#8a1c12}
.hgc-kp-list{list-style:none;margin:0 0 24px;padding:0}
.hgc-kp-item{display:flex;align-items:center;gap:14px;padding:12px 0;border-bottom:1px solid #e1e7ee}
.hgc-kp-avatar{flex:0 0 40px;height:40px;border-radius:50%;background:#003C69;color:#fff;display:grid;place-items:center;font-weight:700}
.hgc-kp-who{flex:1;display:flex;flex-direction:column;min-width:0}
.hgc-kp-who b{color:#001321}
.hgc-kp-who span{font-size:13px;color:#5b6b7b;overflow:hidden;text-overflow:ellipsis}
.hgc-kp-you{font-style:normal;font-size:11px;font-weight:600;background:#eef4fb;color:#003C69;padding:2px 8px;border-radius:10px;margin-left:6px}
.hgc-kp-del{margin:0}
.hgc-kp-delbtn{border:1.5px solid #e1e7ee;background:transparent;border-radius:10px;font-weight:500;padding:7px 12px;cursor:pointer;color:#001321}
.hgc-kp-delbtn:hover{border-color:#b42318;color:#b42318}
.hgc-kp-add{border:1px solid #e1e7ee;padding:20px;background:#f8fafc}
.hgc-kp-add h3{margin:0 0 6px;font-size:18px;color:#003C69}
.hgc-kp-add > p{margin:0 0 14px}
.hgc-kp-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0 0 16px}
.hgc-kp-grid label{display:flex;flex-direction:column;gap:4px;margin:0}
.hgc-kp-grid label span{font-size:13px;font-weight:500;color:#001321}
.hgc-kp-grid label small{font-weight:400;color:#5b6b7b}
.hgc-kp-grid input{width:100%}
.hgc-kp-btn{border:0;border-radius:10px;font-weight:500;padding:11px 20px;background:#003C69;color:#fff;cursor:pointer}
.hgc-kp-btn:hover{background:#001321}
@media(max-width:640px){.hgc-kp-grid{grid-template-columns:1fr}.hgc-kp-item{flex-wrap:wrap}}

/* Kontaktpersoner – ändra, märkning och väntande */
.hgc-kp-item{flex-wrap:wrap}
.hgc-kp-tag{font-style:normal;font-size:11px;font-weight:600;background:#fff6d6;color:#6b5200;padding:2px 8px;border-radius:10px;margin-left:6px}
.hgc-kp-item.is-pending{opacity:.8}
.hgc-kp-item.is-pending .hgc-kp-avatar{background:#9aa7b4}
.hgc-kp-edit{order:3}
.hgc-kp-del{order:4}
.hgc-kp-editbtn{list-style:none;cursor:pointer;border:1.5px solid #e1e7ee;border-radius:10px;font-weight:500;padding:7px 12px;color:#001321;display:inline-block}
.hgc-kp-editbtn::-webkit-details-marker{display:none}
.hgc-kp-editbtn:hover{border-color:#003C69}
.hgc-kp-edit[open]{order:10;flex:1 0 100%}
.hgc-kp-edit[open] .hgc-kp-editbtn{margin-bottom:12px}
.hgc-kp-editform{background:#f8fafc;border:1px solid #e1e7ee;padding:16px}
.hgc-kp-grid--3{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:640px){.hgc-kp-grid--3{grid-template-columns:1fr}}

/* Kursprofil: höger kolumn (Ansökan stänger om) lika bred som spelarkolumnen i Lagen-rutan */
@media (min-width:1025px){
  html body .hgx-facts{grid-template-columns:minmax(0,1fr) calc((100% - 64px) / 3 + 20px)}
}

/* Mitt konto – Frågor & förslag */
.hgc-q-form{display:flex;flex-direction:column;gap:16px}
.hgc-q-topics{border:0;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.hgc-q-topics legend{font-weight:500;color:#001321;margin-bottom:8px;padding:0}
.hgc-q-topic{display:flex;align-items:center;gap:10px;margin:0;padding:12px 14px;border:1.5px solid #e1e7ee;border-radius:10px;cursor:pointer;background:#fff}
.hgc-q-topic:hover{border-color:#003C69}
.hgc-q-topic:has(input:checked){border-color:#003C69;background:#eef4fb}
.hgc-q-topic input{width:18px;height:18px;margin:0;flex:0 0 auto;accent-color:#003C69}
.hgc-q-topic span{font-size:14px;color:#001321}
.hgc-q-field{display:flex;flex-direction:column;gap:4px;margin:0}
.hgc-q-field span{font-size:13px;font-weight:500;color:#001321}
.hgc-q-field small{font-weight:400;color:#5b6b7b}
.hgc-q-field input,.hgc-q-field textarea{width:100%}
.hgc-q-from{margin:0;font-size:13px;color:#5b6b7b}
.hgc-q-form .hgc-kp-btn{align-self:flex-start}
@media(max-width:640px){.hgc-q-topics{grid-template-columns:1fr}}

/* Lagen – layout: lagbild 2/3 till vänster, trupp 1/3 till höger (med flikar och knappen Kontakta tränaren) */
.hgc-teams{background:#fff;border:0;border-radius:10px;padding:20px;margin:0 0 24px}
.hgc-teams h2{margin:0 0 14px}
.hgc-teams__tabs{display:grid;grid-template-columns:repeat(var(--n,4),minmax(0,1fr));gap:8px;margin:0 0 16px}
.hgc-teams__tab{width:100%;text-align:center}
.hgc-teams__panel{display:grid;grid-template-columns:2fr 1fr;column-gap:24px;align-items:stretch}
.hgc-teams__panel[hidden]{display:none}
.hgc-teams__media{display:flex;flex-direction:column;min-width:0}
.hgc-teams__photo{margin:0}
.hgc-teams__photo img{max-height:none;border-radius:10px 10px 0 0}
.hgc-teams__nophoto{flex:1;min-height:300px;display:grid;place-items:center;background:linear-gradient(160deg,#0b2a4a,#003C69);color:rgba(255,255,255,.75);border-radius:10px 10px 0 0;font-weight:500}
.hgc-teams__cap{display:flex;flex-wrap:wrap;justify-content:space-between;gap:4px 16px;padding:10px 14px;border:1px solid #e1e7ee;border-top:0;border-radius:0 0 10px 10px;font-size:13px;color:#5b6b7b}
.hgc-teams__cap b{color:#001321;font-weight:600}
.hgc-teams__side{border:1px solid #e1e7ee;border-radius:10px;display:flex;flex-direction:column;min-width:0}
.hgc-teams__side .hgc-roster{display:block}
.hgc-roster__tabs{display:grid;grid-template-columns:repeat(var(--n,4),minmax(0,1fr));border-bottom:1px solid #e1e7ee}
.hgc-roster__tab{appearance:none;background:none;border:0;border-radius:0;padding:12px 4px;font-size:13px;font-weight:500;color:#5b6b7b;cursor:pointer}
.hgc-roster__tab:hover{color:#003C69}
.hgc-roster__tab.is-on{color:#003C69;box-shadow:inset 0 -2px #003C69}
.hgc-teams__side .hgc-roster__col{padding:4px 14px 8px}
.hgc-teams__side .hgc-roster__col[hidden]{display:none}
.hgc-teams__side .hgc-teams__roster{margin:0;padding:14px}
.hgc-teams__side .hgc-teams__list{grid-template-columns:1fr}
.hgc-teams__cta{margin-top:auto;padding:0 14px 14px}
.hgc-teams__cta:empty{display:none}
.hgc-teams__cta a{display:flex!important;align-items:center;justify-content:center;gap:6px;width:100%;box-sizing:border-box;margin:0!important;background:#003C69!important;border-color:#003C69!important;color:#fff!important;border-radius:10px!important;font-weight:500!important;text-transform:none!important;letter-spacing:0!important}
.hgc-teams__cta a:hover{background:#001321!important;border-color:#001321!important;color:#fff!important}
@media(max-width:1024px){.hgc-teams__panel{grid-template-columns:1fr;row-gap:16px}}
@media(max-width:640px){.hgc-teams{padding:16px}.hgc-teams__tabs{grid-template-columns:repeat(2,minmax(0,1fr))}}
