/*
 * Identiteten v2 (0.3.1). Laddas bara när atdt_whut_v2() är sant, och allt
 * är avgränsat till body.whut-v2. Underlag: varumärkesduken 2026-11-29
 * (Main.dc.html, omgång 4). Midnatt #17183B för text, sidhuvud och knappar
 * med vit text, cyan #1FB5C8 som yta och knapp med midnattstext (aldrig text
 * på vitt), mörk cyan #0E7A88 för länktext, ljus yta #E8F7F9 och vit sida.
 * Formspråket: pratbubblan. Frågekort och frågerubriker får en svans nedtill
 * (clip-path); allt annat har raka hörn. Inga skuggor.
 * Lilita One i rubriker och ordmärke, Figtree 400 och 700 i text.
 */
body.whut-v2 {
	--wh-natt:   #17183B;
	--wh-cyan:   #1FB5C8;
	--wh-lank:   #0E7A88;
	--wh-lank-m: #0B6672;
	--wh-ljus:   #E8F7F9;
	--wh-sek:    #4A4C6B;
	--wh-dov:    #B9C0E0;
	--wh-linje:  #CFE3E7;
	--wh-bredd:  1200px;
	--wh-marg:   40px;
	--wh-rubrik: "Lilita One", "Arial Rounded MT Bold", "Trebuchet MS", sans-serif;
	--wh-font:   "Figtree", "Segoe UI", Arial, sans-serif;
	--wh-svans:  polygon(0 0, 100% 0, 100% calc(100% - 14px), 64px calc(100% - 14px), 40px 100%, 40px calc(100% - 14px), 0 calc(100% - 14px));
	--wh-svans-liten: polygon(0 0, 100% 0, 100% 72%, 40% 72%, 18% 100%, 18% 72%, 0 72%);

	--atdt-bg:        #FFFFFF;
	--atdt-surface:   #E8F7F9;
	--atdt-ink:       #17183B;
	--atdt-muted:     #4A4C6B;
	--atdt-accent:    #0E7A88;
	--atdt-accent-2:  #17183B;
	--atdt-neutral:   #CFE3E7;
	--atdt-on-accent: #FFFFFF;
	--atdt-radius:    0;
	--atdt-font-display: var(--wh-rubrik);
	--atdt-font-body:    var(--wh-font);
	--atdt-font-mono:    var(--wh-font);
	--accent:     #0E7A88;
	--contrast:   #17183B;
	--contrast-1: #17183B;
	--contrast-2: #4A4C6B;
	--contrast-3: #CFE3E7;
	--base:       #E8F7F9;
	--base-2:     #FFFFFF;
	--base-3:     #FFFFFF;

	background: #FFFFFF;
	color: var(--wh-natt);
	font-family: var(--wh-font);
	font-size: 17px;
	font-weight: 400;
	line-height: 1.65;
}
.whut-v2 input,
.whut-v2 select,
.whut-v2 textarea,
.whut-v2 button:not(.cky-btn),
.whut-v2 code,
.whut-v2 pre,
.whut-v2 kbd { font-family: var(--wh-font); }
.whut-v2 .site,
.whut-v2 .site-content,
.whut-v2.separate-containers .inside-article,
.whut-v2.separate-containers .site-main:not(.wh-main) > *,
.whut-v2.separate-containers .page-header,
.whut-v2 .one-container .container { background: #FFFFFF; box-shadow: none; border-radius: 0; }

.whut-v2 a { color: var(--wh-lank); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; background: none; padding: 0; }
.whut-v2 a:hover,
.whut-v2 a:focus { color: var(--wh-natt); }
.whut-v2 :focus-visible { outline: 3px solid var(--wh-lank); outline-offset: 2px; }

.whut-v2 h1, .whut-v2 h2, .whut-v2 h3, .whut-v2 h4, .whut-v2 h5, .whut-v2 h6,
.whut-v2 .entry-title,
.whut-v2 .page-title,
.whut-v2 .wp-block-heading {
	font-family: var(--wh-rubrik);
	font-weight: 400;
	letter-spacing: 0;
	line-height: 1.15;
	text-transform: none;
	color: var(--wh-natt);
	hyphens: manual;
	-webkit-hyphens: manual;
	overflow-wrap: break-word;
	border: 0;
	padding-left: 0;
}
.whut-v2 h1::before, .whut-v2 h2::before, .whut-v2 .entry-content h2::before { content: none; display: none; }
.whut-v2 p,
.whut-v2 li { hyphens: manual; -webkit-hyphens: manual; }
.whut-v2 strong, .whut-v2 b { font-weight: 700; }

/* Den gamla identitetens motiv visas inte i v2. */
.whut-v2 .whut-rule, .whut-v2 .atdt-road, .whut-v2 .atdt-ridge, .whut-v2 .atdt-swell, .whut-v2 .atdt-vine,
.whut-v2 .atdt-trail, .whut-v2 .atdt-sine, .whut-v2 .atdt-paws, .whut-v2 .atdt-vinerule,
.whut-v2 .atdt-drops, .whut-v2 .atdt-stage { display: none; }

/* ---------- Formspråket: pratbubblan med svans nedtill ---------- */
.whut-v2 .wh-bubbla { clip-path: var(--wh-svans); }
.whut-v2 .wh-bild { display: block; text-decoration: none; }
.whut-v2 .wh-bild img { display: block; width: 100%; height: auto; border-radius: 0; }
.whut-v2 .wh-kredit { display: block; font-size: 13px; line-height: 1.4; color: var(--wh-sek); margin-top: 6px; }

.whut-v2 .wh-datum { font-size: 14px; line-height: 1.4; color: var(--wh-sek); }
.whut-v2 .wh-kort-kat,
.whut-v2 .wh-kat { display: block; font-size: 14px; line-height: 1.3; font-weight: 700; color: var(--wh-lank-m); }
.whut-v2 a.wh-kat { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.whut-v2 a.wh-kat:hover,
.whut-v2 a.wh-kat:focus { text-decoration: underline; }

/* Sektionsrubrik med en liten cyan pratbubbla framför */
.whut-v2 .wh-h2 { display: flex; align-items: center; gap: 14px; margin: 0 0 26px; font-size: 38px; line-height: 1.1; }
.whut-v2 .wh-h2::after { content: none; }
.whut-v2 .wh-sektion .wh-h2::before,
.whut-v2 .wh-mer .wh-h2::before,
.whut-v2 .wh-lista-huvud .wh-h2::before { content: ""; display: block; flex: 0 0 auto; width: 30px; height: 28px; background: var(--wh-cyan); clip-path: var(--wh-svans-liten); }
.whut-v2 .wh-under { margin: -14px 0 24px; font-size: 18px; line-height: 1.5; color: var(--wh-sek); }

/* Knappar och sökfält */
.whut-v2 button:not(.cky-btn),
.whut-v2 .button,
.whut-v2 .wp-block-button__link,
.whut-v2 input[type="submit"],
.whut-v2 .wh-knapp {
	display: inline-flex; align-items: center; justify-content: center;
	background: var(--wh-natt); color: #FFFFFF; border: 0; border-radius: 0; box-shadow: none; font-family: var(--wh-font); font-weight: 700; font-size: 17px; letter-spacing: 0; text-transform: none; min-height: 48px; padding: 0 24px; text-decoration: none; cursor: pointer; box-sizing: border-box;
}
.whut-v2 button:not(.cky-btn):hover,
.whut-v2 .wp-block-button__link:hover,
.whut-v2 input[type="submit"]:hover,
.whut-v2 .wh-knapp:hover,
.whut-v2 .wh-knapp:focus { background: var(--wh-lank-m); color: #FFFFFF; text-decoration: none; }
.whut-v2 .wh-knapp-cyan { background: var(--wh-cyan); color: var(--wh-natt); }
.whut-v2 .wh-knapp-cyan:hover,
.whut-v2 .wh-knapp-cyan:focus { background: #FFFFFF; color: var(--wh-natt); }
.whut-v2 input[type="search"],
.whut-v2 input[type="text"],
.whut-v2 input[type="email"] { font-size: 16px; border: 2px solid var(--wh-natt); border-radius: 0; background: #FFFFFF; color: var(--wh-natt); min-height: 48px; box-sizing: border-box; }
.whut-v2 .wh-sokform { display: flex; gap: 0; width: 100%; }
.whut-v2 .wh-sokfalt { flex: 1 1 auto; min-width: 0; padding: 0 12px; }
.whut-v2 .wh-sokform-knapp { flex: 0 0 auto; }

/* ---------- Sidhuvud: midnatt, ordmärket och sökknappen, menyn som rad ---------- */
.whut-v2 .site-header { background: var(--wh-natt); color: #FFFFFF; border: 0; }
.whut-v2 .inside-header { position: relative; max-width: var(--wh-bredd); margin: 0 auto; padding: 14px var(--wh-marg); display: flex; align-items: center; justify-content: space-between; gap: 0 24px; box-sizing: border-box; }
.whut-v2 .inside-header::before,
.whut-v2 .inside-header::after { content: none; display: none; }
.whut-v2 .site-branding { flex: 0 1 auto; min-width: 0; }
.whut-v2 .site-description { display: none; }
.whut-v2 .main-title { margin: 0; line-height: 1; font-size: 36px; }
.whut-v2 .wh-ordmarke { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; color: #FFFFFF; text-decoration: none; }
.whut-v2 .wh-ordmarke:hover,
.whut-v2 .wh-ordmarke:focus { color: #FFFFFF; text-decoration: none; }
.whut-v2 .wh-symbol { display: block; flex: 0 0 auto; }
.whut-v2 .wh-ordmarke-namn { font-family: var(--wh-rubrik); font-weight: 400; font-size: 36px; line-height: 1; letter-spacing: 0; white-space: nowrap; }
/* cyan text bara på midnatt */
.whut-v2 .wh-ordmarke-tld { color: var(--wh-cyan); }

.whut-v2 .main-navigation,
.whut-v2 .main-navigation .inside-navigation,
.whut-v2 .main-navigation ul,
.whut-v2 .main-navigation ul ul { background: transparent !important; }
.whut-v2 #site-navigation { background: var(--wh-natt) !important; }
.whut-v2 .inside-header > #site-navigation { border: 0; margin-left: auto; }
.whut-v2 #site-navigation .inside-navigation { max-width: var(--wh-bredd); margin: 0 auto; padding: 0; box-sizing: border-box; display: block; }
.whut-v2 #site-navigation .main-nav { display: block !important; }
.whut-v2 #site-navigation .main-nav > ul { display: flex !important; align-items: center; flex-wrap: wrap; gap: 0 4px; margin: 0; padding: 0; }
.whut-v2 .main-navigation .main-nav ul li a {
	display: inline-flex; align-items: center; min-height: 52px; line-height: 1.2;
	font-family: var(--wh-font); font-weight: 700; font-size: 17px;
	text-transform: none; letter-spacing: 0; color: #FFFFFF !important; text-decoration: none;
	padding: 0 12px; background: transparent !important; white-space: nowrap;
}
.whut-v2 .main-navigation .main-nav ul li:hover > a,
.whut-v2 .main-navigation .main-nav ul li a:focus { color: #FFFFFF !important; text-decoration: underline; }
/* Bara den sida man står på markeras; inläggssidan Artiklar är inte förälder till frågor och uppslagsord. */
.whut-v2 .main-navigation .main-nav ul li.current-menu-item > a { color: #FFFFFF !important; box-shadow: inset 0 -4px 0 var(--wh-cyan); }
.whut-v2 .mobile-menu-control-wrapper,
.whut-v2 #site-navigation .menu-toggle,
.whut-v2 #site-navigation .menu-bar-items { display: none !important; }

.whut-v2 .wh-sok { flex: 0 0 auto; }
.whut-v2 .wh-sokknapp { list-style: none; width: 44px; height: 44px; border: 0; border-radius: 0; background: var(--wh-cyan); display: flex; align-items: center; justify-content: center; cursor: pointer; box-sizing: border-box; }
.whut-v2 .wh-sokknapp::-webkit-details-marker { display: none; }
.whut-v2 .wh-sokknapp::marker { content: ""; }
.whut-v2 .wh-sok[open] .wh-sokknapp { background: #FFFFFF; }
.whut-v2 .wh-sok-panel { position: absolute; z-index: 50; top: 100%; right: var(--wh-marg); width: 420px; max-width: calc(100% - 2 * var(--wh-marg)); background: var(--wh-ljus); border: 0; border-radius: 0; padding: 14px; box-sizing: border-box; }

/* ---------- Ramverk ---------- */
.whut-v2 .site.grid-container { max-width: var(--wh-bredd); }
.whut-v2.wh-mall-start .site.grid-container,
.whut-v2.wh-mall-artikel .site.grid-container,
.whut-v2.wh-mall-lista .site.grid-container,
.whut-v2.wh-mall-404 .site.grid-container { max-width: none; padding: 0; }
.whut-v2 .site-content { display: block; }
.whut-v2 .wh-main { display: flow-root; width: 100%; min-width: 0; margin: 0; padding: 0; }
.whut-v2 .wh-main p { margin-top: 0; }
.whut-v2.separate-containers .site-main { margin: 0; }
.whut-v2 img { max-width: 100%; }

/* ---------- Vanliga sidor och uppslagsverket i GeneratePress mall ---------- */
.whut-v2:not(.wh-mall-start):not(.wh-mall-artikel):not(.wh-mall-lista):not(.wh-mall-404) .site-content { padding: 48px var(--wh-marg) 72px; }
.whut-v2.separate-containers:not(.wh-mall-start) .inside-article { padding: 0; max-width: 760px; }
.whut-v2.separate-containers:not(.wh-mall-start) .page-header { padding: 0; margin: 0 0 20px; max-width: 760px; }
.whut-v2 .entry-header .entry-title,
.whut-v2 .page-header .page-title { font-size: 48px; line-height: 1.08; margin: 0 0 20px; }
.whut-v2 .entry-content > p,
.whut-v2 .entry-content li,
.whut-v2 .entry-summary p { font-size: 18px; line-height: 1.7; color: var(--wh-natt); }
.whut-v2 .entry-content h2 { font-size: 30px; margin: 40px 0 12px; padding: 0; border: 0; }
.whut-v2 .entry-content h3 { font-size: 23px; margin: 28px 0 8px; }
.whut-v2 .entry-content a { font-weight: 400; }
.whut-v2 .entry-content hr,
.whut-v2 .wp-block-separator { border: 0; border-top: 1px solid var(--wh-linje); background: none; height: 0; margin: 32px 0; opacity: 1; }
.whut-v2 .atdt-lead { font-size: 20px; line-height: 1.6; color: var(--wh-natt); font-weight: 400; }
.whut-v2 .atdt-hero { margin: 0 0 28px; }
.whut-v2 .atdt-hero img,
.whut-v2 .post-image img,
.whut-v2 .featured-image img { border-radius: 0; box-shadow: none; border: 0; }
.whut-v2 .atdt-hero figcaption,
.whut-v2 .atdt-fotocred { display: block; font-family: var(--wh-font); font-size: 13px; color: var(--wh-sek); text-align: left; font-style: normal; margin-top: 6px; text-transform: none; letter-spacing: 0; }
.whut-v2 .atdt-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 24px 0; }
.whut-v2 .atdt-card { background: var(--wh-ljus); border: 0; border-radius: 0; padding: 22px 24px; transform: none; }
.whut-v2 .atdt-card h3 { margin-top: 0; }
.whut-v2 .whut-byline { margin: 0 0 20px; font-family: var(--wh-font); font-size: 15px; line-height: 1.4; color: var(--wh-sek); text-transform: none; letter-spacing: 0; }
.whut-v2 .whut-byline-date { color: var(--wh-sek); }

/* Uppslagsverket: bokstavsregistret som rad av rutor, uppslagsorden som linjerade rader */
.whut-v2 .encyclopedia-prefix-filters { max-width: 760px; margin: 0 0 28px; padding: 0; background: transparent; }
.whut-v2 .encyclopedia-prefix-filters .filter-level { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 6px; background: transparent; border: 0; text-align: left; overflow: visible; }
.whut-v2 .encyclopedia-prefix-filters .filter { display: block; margin: 0; padding: 0; }
.whut-v2 .encyclopedia-prefix-filters .filter a,
.whut-v2 .encyclopedia-prefix-filters .filter > span { display: inline-flex; align-items: center; justify-content: center; min-width: 48px; min-height: 48px; padding: 0 10px; box-sizing: border-box; background: var(--wh-ljus); color: var(--wh-natt); font-family: var(--wh-rubrik); font-size: 22px; line-height: 1; letter-spacing: 0; text-decoration: none; border: 0; border-radius: 0; }
.whut-v2 .encyclopedia-prefix-filters .filter a:hover,
.whut-v2 .encyclopedia-prefix-filters .filter a:focus,
.whut-v2 .encyclopedia-prefix-filters .filter.current-filter a,
.whut-v2 .encyclopedia-prefix-filters .filter.active a { background: var(--wh-cyan); color: var(--wh-natt); }
.whut-v2.wh-mall-uppslag:not(.single) .site-main > article { margin: 0; padding: 22px 0; border-bottom: 1px solid var(--wh-linje); max-width: 760px; }
.whut-v2.wh-mall-uppslag:not(.single) .site-main > article:first-of-type { border-top: 2px solid var(--wh-natt); }
.whut-v2.wh-mall-uppslag:not(.single) .site-main > article .entry-header { margin: 0 0 6px; }
.whut-v2.wh-mall-uppslag:not(.single) .site-main > article .entry-title { font-size: 28px; line-height: 1.15; margin: 0; }
.whut-v2.wh-mall-uppslag:not(.single) .site-main > article .entry-title a { color: var(--wh-natt); text-decoration: none; display: inline-block; padding: 8px 0; margin: -8px 0; }
.whut-v2.wh-mall-uppslag:not(.single) .site-main > article .entry-title a:hover,
.whut-v2.wh-mall-uppslag:not(.single) .site-main > article .entry-title a:focus { color: var(--wh-lank); text-decoration: underline; }
.whut-v2.wh-mall-uppslag .entry-summary { margin: 0; }
.whut-v2.wh-mall-uppslag .entry-summary p { margin: 0; font-size: 17px; line-height: 1.65; }
.whut-v2 .read-more { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; color: var(--wh-lank); }
.whut-v2.wh-mall-uppslag.single .entry-header .entry-title { font-size: 52px; }
.whut-v2 .encyclopedia-related-items,
.whut-v2 .related-items { margin: 40px 0 0; padding: 24px 28px; background: var(--wh-ljus); border: 0; }
.whut-v2 .encyclopedia-related-items h2,
.whut-v2 .encyclopedia-related-items h3,
.whut-v2 .related-items h2,
.whut-v2 .related-items h3 { font-size: 24px; margin: 0 0 10px; }
.whut-v2 .encyclopedia-related-items a,
.whut-v2 .related-items a { display: inline-block; padding: 10px 0; }

/* ---------- Startsidan: hjälten på midnatt ---------- */
.whut-v2 .wh-hjalte { background: var(--wh-natt); color: #FFFFFF; }
.whut-v2 .wh-hjalte-inre { max-width: var(--wh-bredd); margin: 0 auto; padding: 64px var(--wh-marg) 72px; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; align-items: center; box-sizing: border-box; }
.whut-v2 .wh-hjalte-utan-bild { grid-template-columns: minmax(0, 1fr); }
/* cyan text bara på midnatt */
.whut-v2 .wh-kicker { margin: 0 0 6px; font-weight: 700; font-size: 22px; line-height: 1.3; color: var(--wh-cyan); }
.whut-v2 .wh-hjalte-h1 { margin: 0 0 22px; font-size: 128px; line-height: 0.95; color: #FFFFFF; }
/* cyan text bara på midnatt */
.whut-v2 .wh-fragetecken { color: var(--wh-cyan); }
.whut-v2 .wh-ingress p { margin: 0 0 28px; font-size: 21px; line-height: 1.55; color: #FFFFFF; }
.whut-v2 .wh-ingress a { color: #FFFFFF; text-decoration-thickness: 2px; }
.whut-v2 .wh-hjalte-bild { margin: 0; min-width: 0; }
.whut-v2 .wh-hjalte-bild img { aspect-ratio: 4 / 3; object-fit: cover; }
.whut-v2 .wh-hjalte-fraga { position: relative; z-index: 1; display: block; width: fit-content; max-width: calc(100% - 48px); margin: -64px 0 0 24px; padding: 16px 22px 30px; background: var(--wh-cyan); font-family: var(--wh-rubrik); font-size: 26px; line-height: 1.15; }
.whut-v2 .wh-hjalte-fraga a { color: var(--wh-natt); text-decoration: none; }
.whut-v2 .wh-hjalte-fraga a:hover,
.whut-v2 .wh-hjalte-fraga a:focus { color: var(--wh-natt); text-decoration: underline; }
.whut-v2 .wh-hjalte-bild .wh-kredit { color: var(--wh-dov); margin-top: 8px; }

/* ---------- Startsidan: sektioner ---------- */
.whut-v2 .wh-sektion { max-width: var(--wh-bredd); margin: 0 auto; padding: 72px var(--wh-marg) 0; box-sizing: border-box; }

/* Frågekorten: pratbubblor på ljus yta */
.whut-v2 .wh-fragegrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 24px; }
.whut-v2 .wh-fraga { display: flex; flex-direction: column; gap: 8px; min-height: 100%; padding: 24px 26px 44px; box-sizing: border-box; background: var(--wh-ljus); color: var(--wh-natt); text-decoration: none; clip-path: var(--wh-svans); }
.whut-v2 .wh-fraga:hover,
.whut-v2 .wh-fraga:focus { background: var(--wh-cyan); color: var(--wh-natt); text-decoration: none; }
.whut-v2 .wh-fraga-tag { font-size: 14px; line-height: 1.3; font-weight: 700; color: var(--wh-lank-m); }
.whut-v2 .wh-fraga-titel { margin: 0; font-size: 26px; line-height: 1.12; color: var(--wh-natt); }
.whut-v2 .wh-fraga-svar { margin: 0; font-size: 16px; line-height: 1.55; color: var(--wh-natt); flex: 1 1 auto; }
.whut-v2 .wh-fraga-pil { font-size: 15px; font-weight: 700; color: var(--wh-lank-m); }
.whut-v2 .wh-fraga:hover .wh-fraga-tag,
.whut-v2 .wh-fraga:hover .wh-fraga-pil,
.whut-v2 .wh-fraga:focus .wh-fraga-tag,
.whut-v2 .wh-fraga:focus .wh-fraga-pil { color: var(--wh-natt); }
.whut-v2 .wh-fraga:hover .wh-fraga-pil,
.whut-v2 .wh-fraga:focus .wh-fraga-pil { text-decoration: underline; }

/* Ämnesingångar */
.whut-v2 .wh-amneslista { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.whut-v2 .wh-amne { margin: 0; min-width: 0; }
.whut-v2 .wh-amne-lank { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 76px; height: 100%; padding: 14px 20px; box-sizing: border-box; background: #FFFFFF; border: 2px solid var(--wh-natt); color: var(--wh-natt); text-decoration: none; }
.whut-v2 .wh-amne-namn { font-family: var(--wh-rubrik); font-size: 22px; line-height: 1.15; color: var(--wh-natt); }
.whut-v2 .wh-amne-antal { flex: 0 0 auto; font-size: 15px; color: var(--wh-sek); }
.whut-v2 a.wh-amne-lank:hover,
.whut-v2 a.wh-amne-lank:focus { background: var(--wh-ljus); color: var(--wh-natt); }
.whut-v2 a.wh-amne-lank:hover .wh-amne-namn,
.whut-v2 a.wh-amne-lank:focus .wh-amne-namn { text-decoration: underline; }

/* Uppslagsverket: midnattsyta */
.whut-v2 .wh-uppslag-yta { background: var(--wh-natt); color: #FFFFFF; padding: 40px 44px 44px; }
.whut-v2 .wh-uppslag-yta .wh-h2 { color: #FFFFFF; }
.whut-v2 .wh-uppslag-lista { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 28px; }
.whut-v2 .wh-uppslag-lista li { margin: 0; }
.whut-v2 .wh-uppslag-lista a { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--wh-rubrik); font-size: 26px; line-height: 1.1; color: #FFFFFF; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.whut-v2 .wh-uppslag-lista a:hover,
.whut-v2 .wh-uppslag-lista a:focus { color: #FFFFFF; text-decoration-thickness: 4px; }
.whut-v2 .wh-uppslag-yta .wh-knapp { background: var(--wh-cyan); color: var(--wh-natt); }
.whut-v2 .wh-uppslag-yta .wh-knapp:hover,
.whut-v2 .wh-uppslag-yta .wh-knapp:focus { background: #FFFFFF; color: var(--wh-natt); }

/* Reservyta: midnatt med symbolens cyan pratbubbla */
.whut-v2 .wh-reserv { display: flex; align-items: center; justify-content: center; aspect-ratio: 3 / 2; background: var(--wh-natt); text-decoration: none; }

/* Sidans text */
.whut-v2 .wh-text-brod { max-width: 760px; }
.whut-v2 .wh-text-brod p { margin: 0 0 16px; font-size: 19px; line-height: 1.7; color: var(--wh-natt); }

/* ---------- Bildkort ---------- */
.whut-v2 .wh-rutnat { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 28px; }
.whut-v2 .wh-kort { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.whut-v2 .wh-kort-media img { aspect-ratio: 3 / 2; object-fit: cover; }
.whut-v2 .wh-kort-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.whut-v2 .wh-kort-titel { margin: 0; font-size: 23px; line-height: 1.15; }
.whut-v2 .wh-kort-titel a,
.whut-v2 .wh-rad-titel a,
.whut-v2 .wh-lista-titel a { color: var(--wh-natt); text-decoration: none; }
.whut-v2 .wh-kort-titel a:hover,
.whut-v2 .wh-rad-titel a:hover,
.whut-v2 .wh-lista-titel a:hover,
.whut-v2 .wh-kort-titel a:focus,
.whut-v2 .wh-rad-titel a:focus,
.whut-v2 .wh-lista-titel a:focus { color: var(--wh-lank); text-decoration: underline; }
.whut-v2 .wh-kort-titel a,
.whut-v2 .wh-lista-titel a,
.whut-v2 .wh-rad-titel a { display: inline-block; padding: 12px 0; margin: -12px 0; }
.whut-v2.wh-mall-start .wh-main { padding-bottom: 80px; }

/* ---------- Linjerade rader ---------- */
.whut-v2 .wh-rader-lista { border-top: 2px solid var(--wh-natt); }
.whut-v2 .wh-rad { padding: 14px 0; border-bottom: 1px solid var(--wh-linje); }
.whut-v2 .wh-rad-titel { margin: 0 0 2px; font-size: 22px; line-height: 1.25; }
.whut-v2 .wh-rad-meta { margin: 0; font-size: 14px; line-height: 1.4; color: var(--wh-sek); }

/* ---------- Annonsplatser ---------- */
.whut-v2 .annons { margin: 64px auto; padding: 6px 0 0; border-top: 1px solid var(--wh-natt); border-bottom: 1px solid var(--wh-natt); clear: both; box-sizing: border-box; }
.whut-v2 .wh-main > .annons { max-width: 970px; margin: 64px auto; }
.whut-v2 .wh-brod .annons { margin: 64px 0; }
.whut-v2 .annons-etikett { margin: 0 0 6px !important; font-size: 12px !important; font-weight: 700; line-height: 1.2 !important; color: var(--wh-natt); }
.whut-v2 .annons-yta { min-height: 250px; }
.whut-v2 .annons-prov .annons-yta { background: var(--wh-ljus); }

/* ---------- Artikeln och frågan ---------- */
.whut-v2 .wh-artikel { margin: 0; padding: 0; }
.whut-v2 .wh-artikel-huvud { background: var(--wh-ljus); }
.whut-v2 .wh-artikel-huvud-inre { max-width: 960px; margin: 0 auto; padding: 28px var(--wh-marg) 40px; box-sizing: content-box; }
.whut-v2 .wh-artikel-titel { margin: 4px 0 14px; max-width: 880px; font-size: 52px; line-height: 1.06; color: var(--wh-natt); }
.whut-v2 .wh-fragerubrik { display: block; width: fit-content; max-width: 100%; box-sizing: border-box; padding: 18px 26px 38px; background: var(--wh-natt); color: #FFFFFF; clip-path: var(--wh-svans); }
.whut-v2 .wh-artikel-meta { margin: 0; font-size: 15px; color: var(--wh-sek); }
.whut-v2 .wh-artikel-bild { width: calc(100% - 2 * var(--wh-marg)); max-width: 960px; margin: 32px auto 0; }
.whut-v2 .wh-artikel-bild img { aspect-ratio: 16 / 9; object-fit: cover; }

.whut-v2 .wh-brod { max-width: 960px; margin: 40px auto 0; padding: 0 var(--wh-marg); box-sizing: content-box; }
.whut-v2 .wh-brod > * { max-width: 720px; }
.whut-v2 .wh-brod > p,
.whut-v2 .wh-brod li { font-size: 18px; line-height: 1.7; color: var(--wh-natt); }
.whut-v2 .wh-brod > p { margin: 0 0 18px; }
.whut-v2 .wh-brod > p:first-of-type,
.whut-v2 .wh-brod > .atdt-lead { font-size: 20px; line-height: 1.6; font-weight: 400; color: var(--wh-natt); }
.whut-v2 .wh-brod a { color: var(--wh-lank); text-decoration: underline; text-underline-offset: 3px; }
.whut-v2 .wh-brod a:hover,
.whut-v2 .wh-brod a:focus { color: var(--wh-natt); }
.whut-v2 .wh-brod h2 { margin: 44px 0 12px; font-size: 32px; border: 0; padding: 0; }
.whut-v2 .wh-brod h2:empty { display: none; }
.whut-v2 .wh-brod h3 { margin: 28px 0 8px; font-size: 24px; }
.whut-v2 .wh-brod h4 { margin: 24px 0 8px; font-size: 20px; line-height: 1.3; }
.whut-v2 .wh-brod ul,
.whut-v2 .wh-brod ol { margin: 0 0 18px 22px; padding: 0; }
.whut-v2 .wh-brod li { margin: 0 0 8px; }
.whut-v2 .wh-brod li::marker { color: var(--wh-lank); }
.whut-v2 .wh-brod blockquote { margin: 28px 0; padding: 18px 24px; background: var(--wh-ljus); border: 0; border-left: 2px solid var(--wh-lank); border-radius: 0; font-style: normal; font-size: 18px; text-align: left; color: var(--wh-natt); box-shadow: none; font-weight: 400; }
.whut-v2 .wh-brod blockquote p { font-size: 18px; line-height: 1.6; color: var(--wh-natt); margin: 0 0 10px; }
.whut-v2 .wh-brod figure { margin: 28px 0; }
.whut-v2 .wh-brod figure img { display: block; height: auto; border-radius: 0; box-shadow: none; border: 0; }
.whut-v2 .wh-brod figcaption { margin-top: 6px; font-size: 14px; line-height: 1.4; color: var(--wh-sek); text-align: left; font-style: normal; text-transform: none; letter-spacing: 0; font-family: var(--wh-font); }
.whut-v2 .wh-tabell,
.whut-v2 .wh-brod figure.wp-block-table { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 24px 0; max-width: 100%; }
.whut-v2 .wh-brod table { width: 100%; border-collapse: collapse; font-family: var(--wh-font); font-size: 16px; margin: 0; border: 0; table-layout: auto; }
.whut-v2 .wh-brod th,
.whut-v2 .wh-brod td { padding: 10px 12px; border: 0; border-bottom: 1px solid var(--wh-linje); text-align: left; vertical-align: top; background: transparent; word-break: normal; overflow-wrap: normal; color: var(--wh-natt); }
.whut-v2 .wh-brod thead th { background: var(--wh-ljus); color: var(--wh-natt); border-bottom: 2px solid var(--wh-natt); font-family: var(--wh-font); font-size: 15px; font-weight: 700; text-transform: none; letter-spacing: 0; }
.whut-v2 .wh-brod tbody tr:nth-child(even) { background: transparent; }
.whut-v2 .wh-brod .wp-block-details { margin: 0 0 12px; padding: 0 20px; background: var(--wh-ljus); border-radius: 0; }
.whut-v2 .wh-brod .wp-block-details summary { min-height: 44px; display: flex; align-items: center; padding: 10px 0; font-weight: 700; cursor: pointer; color: var(--wh-natt); }
.whut-v2 .wh-brod .wp-block-group.has-background { padding: 24px; border-radius: 0; }
.whut-v2 .wh-brod p:empty { display: none; }
.whut-v2 .wh-brod .alignfull,
.whut-v2 .wh-brod .alignwide { margin-left: 0; margin-right: 0; width: auto; max-width: 720px; }

/* Granskningsraden och friskrivningen: samma plats som förut, i sajtens formspråk. */
.whut-v2 .atdt-granskad { color: var(--wh-sek) !important; font-size: 15px !important; }
.whut-v2 .atdt-finjur-granskning,
.whut-v2 .atdt-medicinsk-granskning { background: var(--wh-ljus) !important; border: 0 !important; border-left: 0 !important; border-top: 4px solid var(--wh-natt) !important; border-radius: 0 !important; box-shadow: none !important; color: var(--wh-natt) !important; font-size: 16px !important; line-height: 1.6 !important; padding: 18px 22px !important; }
.whut-v2 .atdt-finjur-granskning a,
.whut-v2 .atdt-medicinsk-granskning a { color: var(--wh-lank); }

/* Nätverkets Relaterat-ruta: ljus yta, ingen vänsterkant. */
.whut-v2 .matcher-related { margin: 40px 0 0; padding: 24px 28px; border: 0 !important; border-radius: 0 !important; background: var(--wh-ljus) !important; }
.whut-v2 .matcher-related__heading { font-family: var(--wh-rubrik); font-weight: 400; font-size: 23px; line-height: 1.2; color: var(--wh-natt) !important; margin: 0 0 12px; text-transform: none !important; letter-spacing: 0 !important; }
.whut-v2 .matcher-related__heading::before { content: none !important; display: none !important; }
.whut-v2 .matcher-related__item a { display: inline-block; padding: 10px 0; color: var(--wh-lank); }

.whut-v2 .wh-mer { background: var(--wh-ljus); margin-top: 64px; }
.whut-v2 .wh-mer-inre { max-width: var(--wh-bredd); margin: 0 auto; padding: 48px var(--wh-marg) 56px; box-sizing: border-box; }

/* ---------- Listor, sök och 404 ---------- */
.whut-v2 .wh-lista { max-width: 840px; margin: 0 auto; padding: 48px var(--wh-marg) 72px; box-sizing: content-box; }
.whut-v2 .wh-lista-fragor { max-width: var(--wh-bredd); box-sizing: border-box; }
.whut-v2 .wh-lista-h1 { margin: 0 0 14px; font-size: 52px; line-height: 1.06; }
.whut-v2 .wh-lista-h1.wh-fragerubrik { margin-bottom: 28px; }
.whut-v2 .wh-lista-text { margin: 0 0 24px; font-size: 18px; line-height: 1.6; color: var(--wh-sek); }
.whut-v2 .wh-lista-sok { margin: 0 0 32px; max-width: 560px; }
.whut-v2 .wh-lista-huvud { margin-top: 16px; }
.whut-v2 .wh-lista-topp { padding: 12px 0 28px; }
.whut-v2 .wh-lista-media { margin-bottom: 14px; }
.whut-v2 .wh-lista-media img,
.whut-v2 .wh-lista-media .wh-reserv { aspect-ratio: 16 / 9; object-fit: cover; }
.whut-v2 .wh-lista-topptext { display: flex; flex-direction: column; gap: 6px; }
.whut-v2 .wh-lista-titel { margin: 0; font-size: 34px; line-height: 1.12; }
.whut-v2 .wh-lista-mening { margin: 4px 0 0; font-size: 17px; line-height: 1.6; color: var(--wh-sek); }
.whut-v2 .wh-lista .nav-links { margin: 32px 0 0; display: flex; flex-wrap: wrap; gap: 4px; }
.whut-v2 .wh-lista .nav-links .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 10px; box-sizing: border-box; font-weight: 700; }
.whut-v2 .wh-lista .nav-links .page-numbers.current { background: var(--wh-natt); color: #FFFFFF; }

/* ---------- Sidfot ---------- */
.whut-v2 .site-footer,
.whut-v2 .site-info { background: var(--wh-natt); color: var(--wh-dov); border: 0; }
.whut-v2 .site-footer { margin-top: 0; }
.whut-v2.wh-mall-artikel .wh-main:not(:has(> .annons:last-child)):not(:has(> .wh-mer:last-child)) { padding-bottom: 72px; }
.whut-v2 .footer-bar { display: none; }
.whut-v2 .wh-fot-inre { max-width: var(--wh-bredd); margin: 0 auto; padding: 48px var(--wh-marg) 12px; display: flex; justify-content: space-between; align-items: center; gap: 20px 24px; flex-wrap: wrap; box-sizing: border-box; }
.whut-v2 .wh-fot .wh-ordmarke-namn { font-size: 30px; }
.whut-v2 .wh-fot-nav { display: flex; gap: 0 24px; flex-wrap: wrap; }
.whut-v2 .wh-fot-nav a { display: inline-flex; align-items: center; min-height: 44px; color: #FFFFFF; text-decoration: none; }
.whut-v2 .wh-fot-nav a:hover,
.whut-v2 .wh-fot-nav a:focus { color: #FFFFFF; text-decoration: underline; }
.whut-v2 .inside-site-info { max-width: var(--wh-bredd); margin: 0 auto; padding: 4px var(--wh-marg) 32px; box-sizing: border-box; justify-content: flex-start; }
.whut-v2 .site-info,
.whut-v2 .inside-site-info { text-align: left; }
.whut-v2 .site-info * { color: var(--wh-dov); }
.whut-v2 .site-info a { color: #FFFFFF; display: inline-block; padding: 11px 0; }
.whut-v2 .site-info a:hover,
.whut-v2 .site-info a:focus { color: #FFFFFF; }

/* ---------- Mellanbredd ---------- */
@media (max-width: 1180px) {
	.whut-v2 .wh-hjalte-h1 { font-size: 104px; }
	.whut-v2 .main-navigation .main-nav ul li a { padding: 0 10px; font-size: 16px; }
}

/* ---------- Mobil: menyn en svepbar rad under ordmärket, sökknappen på ordmärkets rad ---------- */
@media (max-width: 1024px) {
	body.whut-v2 { --wh-marg: 16px; }
	.whut-v2 .inside-header { padding: 10px 0 0; gap: 0 12px; flex-wrap: wrap; }
	.whut-v2 .inside-header > .site-branding { order: 1; padding-left: 16px; }
	.whut-v2 .inside-header > .wh-sok { order: 2; margin-left: auto; padding-right: 16px; }
	.whut-v2 .inside-header > #site-navigation { order: 3; flex: 0 0 100%; width: 100%; min-width: 0; margin: 8px 0 0; border-top: 1px solid #2E3058; }
	.whut-v2 .wh-sok-panel { right: 0; left: 0; width: auto; max-width: none; padding: 12px 16px; }
	.whut-v2 #site-navigation .inside-navigation { padding: 0; }
	.whut-v2 #site-navigation .main-nav > ul {
		flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; gap: 0 2px; padding: 0 16px 0 6px;
		-webkit-mask-image: linear-gradient(to right, #000 82%, transparent); mask-image: linear-gradient(to right, #000 82%, transparent);
	}
	.whut-v2 #site-navigation .main-nav > ul::-webkit-scrollbar { display: none; }
	.whut-v2 #site-navigation .main-nav > ul > li { flex: 0 0 auto; float: none; width: auto; position: static; }
	.whut-v2 #site-navigation .main-nav > ul > li:last-child { margin-right: 48px; }
	.whut-v2 #site-navigation .main-nav > ul > li > a { display: flex; align-items: center; min-height: 48px; padding: 0 10px !important; font-size: 16px; line-height: 20px; }
	.whut-v2 #site-navigation .menu-item-has-children,
	.whut-v2 #site-navigation .menu-item-has-children > .sub-menu { display: contents; }
	.whut-v2 #site-navigation .dropdown-menu-toggle { display: none !important; }

	.whut-v2 .wh-hjalte-inre { grid-template-columns: minmax(0, 1fr); gap: 36px; padding: 40px 16px 48px; }
	.whut-v2 .wh-fragegrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.whut-v2 .wh-amneslista { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
	.whut-v2 .main-title,
	.whut-v2 .wh-ordmarke-namn { font-size: 30px; }
	.whut-v2 .site-branding .wh-symbol { width: 36px; height: 36px; }
	.whut-v2 .wh-ordmarke { gap: 10px; }
	.whut-v2 .wh-h2 { font-size: 30px; margin-bottom: 20px; gap: 12px; }
	.whut-v2 .wh-sektion .wh-h2::before,
	.whut-v2 .wh-mer .wh-h2::before,
	.whut-v2 .wh-lista-huvud .wh-h2::before { width: 24px; height: 22px; }
	.whut-v2 .wh-under { margin-top: -8px; font-size: 17px; }

	/* Hjälten: frågan och knappen först, fotot med pratbubblan under. */
	.whut-v2 .wh-hjalte-inre { padding: 28px 16px 40px; gap: 32px; }
	.whut-v2 .wh-kicker { font-size: 19px; }
	.whut-v2 .wh-hjalte-h1 { font-size: 84px; margin-bottom: 16px; }
	.whut-v2 .wh-ingress p { font-size: 18px; margin-bottom: 22px; }
	.whut-v2 .wh-hjalte-fraga { margin: -40px 0 0 12px; max-width: calc(100% - 24px); padding: 12px 16px 26px; font-size: 20px; }

	.whut-v2 .wh-sektion { padding-top: 56px; }
	.whut-v2 .wh-fragegrid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
	.whut-v2 .wh-fraga { padding: 20px 20px 38px; }
	.whut-v2 .wh-fraga-titel { font-size: 23px; }

	/* Ämnena som en lista i en kolumn: långa ord bryts aldrig. */
	.whut-v2 .wh-amneslista { grid-template-columns: minmax(0, 1fr); gap: 10px; }
	.whut-v2 .wh-amne-lank { min-height: 60px; padding: 10px 16px; }
	.whut-v2 .wh-amne-namn { font-size: 20px; }

	.whut-v2 .wh-uppslag-yta { padding: 28px 20px 32px; }
	.whut-v2 .wh-uppslag-lista a { font-size: 22px; }

	/* Kort som lista: liten bild till vänster, krediten i textspalten i full bredd. */
	.whut-v2 .wh-rutnat { grid-template-columns: minmax(0, 1fr); gap: 24px; }
	.whut-v2 .wh-kort { display: grid; grid-template-columns: 112px minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: 14px; align-items: start; }
	.whut-v2 .wh-kort-media { display: contents; }
	.whut-v2 .wh-kort-media .wh-bild,
	.whut-v2 .wh-kort-media .wh-reserv { grid-column: 1; grid-row: 1 / span 2; align-self: start; }
	.whut-v2 .wh-kort-text { grid-column: 2; grid-row: 1; }
	.whut-v2 .wh-kort-media .wh-kredit { grid-column: 2; grid-row: 2; font-size: 12px; margin-top: 6px; }
	.whut-v2 .wh-reserv svg { width: 44px; height: 40px; }
	.whut-v2 .wh-kort-titel { font-size: 20px; }
	.whut-v2 .wh-kort-kat { font-size: 13px; }
	.whut-v2 .wh-datum { font-size: 13px; }
	.whut-v2 .wh-rad-titel { font-size: 20px; }
	.whut-v2 .wh-text-brod p { font-size: 17px; }

	.whut-v2 .annons,
	.whut-v2 .wh-main > .annons { margin: 64px 16px; max-width: none; }
	.whut-v2 .wh-brod .annons { margin: 64px 0; }
	.whut-v2 .annons-yta { min-height: 280px; }

	/* Artikeln */
	.whut-v2 .wh-artikel-huvud-inre { padding: 12px 16px 26px; }
	.whut-v2 .wh-artikel-titel { font-size: 34px; line-height: 1.1; }
	.whut-v2 .wh-fragerubrik { padding: 14px 18px 30px; }
	.whut-v2 .wh-artikel-meta { font-size: 14px; }
	.whut-v2 .wh-artikel-bild { width: 100%; margin-top: 16px; }
	.whut-v2 .wh-artikel-bild .wh-kredit { padding: 0 16px; }
	.whut-v2 .wh-brod { margin-top: 24px; padding: 0 16px; box-sizing: border-box; max-width: none; }
	.whut-v2 .wh-brod > p,
	.whut-v2 .wh-brod li { font-size: 17px; }
	.whut-v2 .wh-brod > p:first-of-type,
	.whut-v2 .wh-brod > .atdt-lead { font-size: 18px; }
	.whut-v2 .wh-brod h2 { font-size: 26px; margin-top: 36px; }
	.whut-v2 .wh-brod h3 { font-size: 21px; }
	.whut-v2 .wh-brod table { font-size: 15px; }
	.whut-v2 .wh-brod th,
	.whut-v2 .wh-brod td { padding: 8px 10px; }
	.whut-v2 .matcher-related { padding: 22px 20px; }
	.whut-v2 .atdt-grid { grid-template-columns: minmax(0, 1fr); }

	.whut-v2 .wh-mer { margin-top: 48px; }
	.whut-v2 .wh-mer-inre { padding: 32px 16px 36px; }

	/* Listor och uppslagsverket */
	.whut-v2 .wh-lista { padding: 28px 16px 64px; box-sizing: border-box; max-width: none; }
	.whut-v2 .wh-lista-h1 { font-size: 36px; }
	.whut-v2 .wh-lista-titel { font-size: 26px; }
	.whut-v2 .wh-lista-sok .wh-sokform { flex-direction: column; gap: 8px; }
	.whut-v2 .wh-lista-sok .wh-sokform-knapp { width: 100%; }
	.whut-v2 .entry-header .entry-title,
	.whut-v2 .page-header .page-title { font-size: 36px; }
	.whut-v2.wh-mall-uppslag.single .entry-header .entry-title { font-size: 38px; }
	.whut-v2.wh-mall-uppslag:not(.single) .site-main > article .entry-title { font-size: 24px; }
	.whut-v2:not(.wh-mall-start):not(.wh-mall-artikel):not(.wh-mall-lista):not(.wh-mall-404) .site-content { padding: 28px 16px 56px; }

	.whut-v2 .wh-fot-inre { padding: 36px 16px 8px; }
	.whut-v2 .wh-fot .wh-ordmarke-namn { font-size: 26px; }
	.whut-v2 .inside-site-info { padding: 4px 16px 28px; align-items: flex-start; }
}
