/*
 * Storstad, temats stilmall.
 *
 * 1. Typsnitt
 * 2. Färger och grund
 * 3. Sidhuvud
 * 4. Startsidan: hjälteyta, senaste artiklarna, ämnen
 * 5. Artikelkort
 * 6. Artikelvy: kategori, rubrik, byline, utvald bild
 * 7. Brödtext
 * 8. Innehållsförteckning och sidofält
 * 9. Profilruta, Läs också, kommentarer
 * 10. Arkiv, sök och sidnumrering
 * 11. Sidfot
 * 12. Artikelkomponenter (flyttade från Ytterligare CSS)
 */

/* 1. Typsnitt -------------------------------------------------------------- */

@font-face {
	font-family: "Source Sans 3";
	font-style: normal;
	font-display: swap;
	font-weight: 200 900;
	src: url("../fonts/source-sans-3-latin-wght-normal.woff2") format("woff2-variations");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Source Sans 3";
	font-style: italic;
	font-display: swap;
	font-weight: 200 900;
	src: url("../fonts/source-sans-3-latin-wght-italic.woff2") format("woff2-variations");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Source Serif 4";
	font-style: normal;
	font-display: swap;
	font-weight: 200 900;
	src: url("../fonts/source-serif-4-latin-wght-normal.woff2") format("woff2-variations");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* 2. Färger och grund ------------------------------------------------------ */

:root:root {
	--sst-ink: #0e2233;
	--sst-navy: #0c2c43;
	--sst-petrol: #1a4d6b;
	--sst-petrol-dark: #133a52;
	--sst-gold: #c9922b;
	--sst-gold-dark: #8a5f12;
	--sst-gold-tint: #f7efdf;
	--sst-text: #1f2933;
	--sst-muted: #56616d;
	--sst-line: #e2e7ed;
	--sst-soft: #f3f6f9;
	--sst-radius: 12px;
	--sst-radius-sm: 8px;
	--sst-shadow: 0 1px 2px rgba(14, 34, 51, 0.06), 0 8px 24px rgba(14, 34, 51, 0.06);
	--sst-sans: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--sst-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
	--sst-header-height: 76px;

	/* Färger som artikelkomponenterna (rutorna i texterna) använder. */
	--storstad-petrol: #1a4d6b;
	--storstad-petrol-djup: #133a52;
	--storstad-guld: #c9922b;
	--storstad-guld-ljus: #f0c674;
	--storstad-cream: #f3f6f9;
	--storstad-cream-mork: #e2e7ed;
	--storstad-park: #3b6e58;
	--storstad-park-bg: #eef4ef;
	--storstad-park-text: #1f4a3a;
	--storstad-slate: #475569;
	--storstad-slate-bg: #eef2f7;
	--storstad-slate-text: #1e293b;
	--storstad-tegel: #a13e2a;
	--storstad-tegel-bg: #fbeeea;
	--storstad-tegel-text: #7a2818;
	--storstad-plym: #6b4d75;
	--storstad-plym-bg: #f4eef5;
	--storstad-plym-text: #4a3552;
	--storstad-tldr-bg: #fdf8ec;
	--storstad-tldr-text: #7a5618;
	--storstad-text: #1f2933;
	--storstad-text-subtle: #56616d;

	/* Blocksys palett. */
	--theme-palette-color-1: var(--sst-petrol);
	--theme-palette-color-2: var(--sst-petrol-dark);
	--theme-palette-color-3: var(--sst-text);
	--theme-palette-color-4: var(--sst-ink);
	--theme-palette-color-5: var(--sst-line);
	--theme-palette-color-6: var(--sst-soft);
	--theme-palette-color-7: #ffffff;
	--theme-palette-color-8: #ffffff;

	--theme-text-color: var(--sst-text);
	--theme-link-initial-color: var(--sst-petrol);
	--theme-link-hover-color: var(--sst-gold-dark);
	--theme-headings-color: var(--sst-ink);
	--theme-heading-color: var(--sst-ink);
	--theme-border-color: var(--sst-line);
	--theme-selection-background-color: #f3e3c2;
	--theme-selection-text-color: var(--sst-ink);
	--theme-button-background-initial-color: var(--sst-petrol);
	--theme-button-background-hover-color: var(--sst-navy);
	--theme-button-text-initial-color: #ffffff;
	--theme-button-text-hover-color: #ffffff;
	--theme-button-border-radius: 999px;
	--theme-form-field-border-radius: 8px;
	--theme-font-family: var(--sst-sans);
	--theme-font-size: 18px;
	--theme-line-height: 1.7;

	/* Bredder: 1240 px innehåll, sidofält 300 px, enkla sidor 820 px. */
	--theme-normal-container-max-width: 1240px;
	--theme-narrow-container-max-width: 820px;
	--sidebar-width: 300px;
	--sidebar-gap: 56px;
	--sidebar-offset: calc(var(--sst-header-height) + 28px);
}

body {
	--theme-font-family: var(--sst-sans);
	font-family: var(--sst-sans);
	background-color: #ffffff;
	color: var(--sst-text);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

/* Inga versaler någonstans i temat. Inline-CSS i artiklarna påverkas inte. */
body,
body * {
	--theme-text-transform: none !important;
}

body h1,
body h2,
body h3,
body h4,
body .page-title,
.sst-card__title,
.sst-section-head__title,
.sst-related__title {
	--theme-font-family: var(--sst-serif);
	font-family: var(--sst-serif);
	--theme-font-weight: 700;
	--theme-letter-spacing: -0.012em;
	color: var(--sst-ink);
	font-optical-sizing: auto;
}

body h1 {
	--theme-font-size: clamp(2rem, 1.45rem + 2.1vw, 2.9rem);
	--theme-line-height: 1.14;
}

body h2 {
	--theme-font-size: clamp(1.5rem, 1.25rem + 0.9vw, 1.95rem);
	--theme-line-height: 1.25;
}

body h3 {
	--theme-font-size: clamp(1.2rem, 1.1rem + 0.45vw, 1.4rem);
	--theme-line-height: 1.32;
}

body h4 {
	--theme-font-size: 1.12rem;
	--theme-line-height: 1.4;
}

/* Sidrubriken i artiklar, sidor och arkiv. Blocksy sätter en egen storlek
   med högre specificitet, därför den längre selektorn. */
body[data-prefix] .entry-header .page-title,
body[data-prefix] .hero-section .page-title {
	--theme-font-size: clamp(2rem, 1.5rem + 1.9vw, 2.75rem);
	--theme-line-height: 1.15;
	--theme-font-weight: 700;
}

::selection {
	background: #f3e3c2;
	color: var(--sst-ink);
}

:focus-visible {
	outline: 2px solid var(--sst-gold);
	outline-offset: 2px;
}

.sst-icon {
	flex: 0 0 auto;
}

/* Stycken som bara innehåller strukturerad data (JSON-LD) tar ingen plats. */
.entry-content > p:has(> script[type="application/ld+json"]):not(:has(> :not(script):not(br))) {
	display: none;
}

/* Lösa radbrytningar direkt i texten (mellan skript) tar ingen plats. */
.entry-content > br {
	display: none;
}

/* Visningsräknaren visas inte för besökarna. */
.post-views,
.post-views-count {
	display: none !important;
}

@media (max-width: 689.98px) {
	:root:root {
		--theme-font-size: 17px;
		--theme-container-edge-spacing: 90vw;
	}
}

/* 3. Sidhuvud -------------------------------------------------------------- */

#header {
	position: sticky;
	top: var(--admin-bar, 0px);
	z-index: 60;
	background: #ffffff;
	box-shadow: inset 0 3px 0 var(--sst-gold), 0 1px 0 var(--sst-line);
}

#header [data-row*="middle"] {
	--height: var(--sst-header-height);
	background-color: transparent;
}

#header [data-row*="middle"] > div {
	min-height: var(--sst-header-height);
}

#header .site-logo-container {
	--logo-max-height: 40px;
}

#header .site-logo-container img {
	width: auto;
	height: var(--logo-max-height);
}

#header .site-title-container,
#header .site-description {
	display: none;
}

#header [data-id="menu"] {
	--menu-items-spacing: 14px;
}

#header [data-id="menu"] > ul > li > a {
	--theme-font-family: var(--sst-sans);
	--theme-font-size: 16px;
	--theme-font-weight: 600;
	--theme-letter-spacing: 0;
	--theme-link-initial-color: var(--sst-ink);
	--theme-link-hover-color: var(--sst-petrol);
	--theme-link-active-color: var(--sst-petrol);
	position: relative;
}

#header [data-id="menu"] > ul > li > a::after {
	content: "";
	position: absolute;
	left: var(--menu-items-spacing, 14px);
	right: var(--menu-items-spacing, 14px);
	bottom: 20px;
	height: 2px;
	border-radius: 2px;
	background: var(--sst-gold);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.2s ease;
}

#header [data-id="menu"] > ul > li:hover > a::after,
#header [data-id="menu"] > ul > li.current-menu-item > a::after,
#header [data-id="menu"] > ul > li.current-menu-ancestor > a::after,
#header [data-id="menu"] > ul > li.current-post-ancestor > a::after {
	transform: scaleX(1);
}

#header [data-id="menu"] .sub-menu {
	--dropdown-width: 300px;
	--dropdown-background-color: #ffffff;
	--dropdown-items-spacing: 10px;
	--theme-link-initial-color: var(--sst-text);
	--theme-link-hover-color: var(--sst-petrol);
	--theme-font-size: 15px;
	--theme-font-weight: 500;
	--theme-line-height: 1.4;
	width: 300px;
	padding: 8px 0;
	border: 1px solid var(--sst-line);
	border-radius: 10px;
	box-shadow: var(--sst-shadow);
}

#header [data-id="menu"] .sub-menu a {
	white-space: normal;
	padding-inline: 18px;
}

#header [data-id="menu"] .sub-menu li:hover > a {
	background: var(--sst-soft);
}

#header [data-id="search"],
#header [data-id="trigger"] {
	--theme-icon-color: var(--sst-ink);
	--theme-icon-hover-color: var(--sst-petrol);
}

#offcanvas {
	--theme-link-initial-color: var(--sst-ink);
	--theme-link-hover-color: var(--sst-petrol);
	--theme-font-family: var(--sst-sans);
}

#offcanvas .ct-panel-inner {
	background: #ffffff;
}

#offcanvas .mobile-menu {
	--theme-font-size: 18px;
	--theme-font-weight: 600;
}

#offcanvas .mobile-menu .sub-menu {
	--theme-font-size: 16px;
	--theme-font-weight: 400;
}

#search-modal {
	--theme-font-family: var(--sst-sans);
}

@media (max-width: 999.98px) {
	:root:root {
		--sst-header-height: 62px;
	}

	#header .site-logo-container {
		--logo-max-height: 32px;
	}
}

/* 4. Startsidan ------------------------------------------------------------ */

.sst-hero {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 420px;
	overflow: hidden;
	background: var(--sst-navy);
	color: #ffffff;
	isolation: isolate;
}

.sst-hero__media {
	position: absolute;
	inset: 0;
	z-index: -2;
}

.sst-hero__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 55%;
}

.sst-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(90deg, rgba(9, 27, 41, 0.94) 0%, rgba(9, 27, 41, 0.82) 38%, rgba(9, 27, 41, 0.35) 72%, rgba(9, 27, 41, 0.15) 100%);
}

.sst-hero__inner {
	padding-block: 64px;
}

.sst-hero__title {
	max-width: 15em;
	margin: 0 0 16px;
	color: #ffffff;
	font-size: clamp(2.1rem, 1.5rem + 2.5vw, 3.35rem);
	line-height: 1.1;
	text-wrap: balance;
}

.sst-hero__title::after {
	content: "";
	display: block;
	width: 56px;
	height: 3px;
	margin-top: 20px;
	border-radius: 2px;
	background: var(--sst-gold);
}

.sst-hero__lead {
	max-width: 36em;
	margin: 0 0 28px;
	color: rgba(255, 255, 255, 0.88);
	font-size: 1.15rem;
	line-height: 1.6;
}

.sst-hero__links {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.sst-hero__links a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 16px;
	border: 1px solid rgba(255, 255, 255, 0.28);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.1);
	color: #ffffff;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.sst-hero__links a:hover {
	border-color: var(--sst-gold);
	background: var(--sst-gold);
	color: var(--sst-ink);
}

.sst-front {
	padding-block: 56px 8px;
}

.sst-section-head {
	position: relative;
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 28px;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--sst-line);
}

.sst-section-head::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -2px;
	width: 56px;
	height: 3px;
	border-radius: 2px;
	background: var(--sst-gold);
}

.sst-section-head .sst-section-head__title {
	margin: 0;
	font-size: clamp(1.45rem, 1.25rem + 0.7vw, 1.8rem);
	line-height: 1.2;
}

.sst-front__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
	gap: 44px;
	align-items: start;
}

.sst-front__list {
	display: flex;
	flex-direction: column;
}

.sst-topics {
	margin-top: 44px;
	padding: 22px 24px;
	border-radius: var(--sst-radius);
	background: var(--sst-soft);
}

.sst-topics .sst-topics__label {
	margin: 0 0 12px;
	color: var(--sst-ink);
	font-size: 16px;
	font-weight: 700;
}

.sst-topics__list {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.sst-topics__item {
	display: inline-flex;
	align-items: baseline;
	gap: 8px;
	padding: 9px 16px;
	border: 1px solid var(--sst-line);
	border-radius: 999px;
	background: #ffffff;
	color: var(--sst-ink);
	text-decoration: none;
	line-height: 1.2;
	transition: border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.sst-topics__item:hover {
	border-color: var(--sst-petrol);
	color: var(--sst-petrol);
	box-shadow: var(--sst-shadow);
}

.sst-topics__name {
	font-size: 16px;
	font-weight: 700;
}

.sst-topics__count {
	color: var(--sst-muted);
	font-size: 14px;
}

/* Startsidans artikel under de senaste artiklarna. */
.home main > .ct-container[data-sidebar] {
	padding-top: 48px;
}

@media (max-width: 999.98px) {
	.sst-hero {
		display: block;
		min-height: 0;
	}

	.sst-hero__media {
		inset: 0 0 auto 0;
		height: 260px;
	}

	.sst-hero::before {
		inset: 0 0 auto 0;
		height: 262px;
		background: linear-gradient(180deg, rgba(12, 44, 67, 0) 30%, rgba(12, 44, 67, 0.7) 72%, var(--sst-navy) 100%);
	}

	.sst-hero__inner {
		padding-block: 200px 36px;
	}

	.sst-front__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 8px;
	}
}

@media (max-width: 689.98px) {
	.sst-hero__media {
		height: 210px;
	}

	.sst-hero::before {
		height: 212px;
	}

	.sst-hero__inner {
		padding-block: 158px 30px;
	}

	.sst-hero__title {
		font-size: 2rem;
	}

	.sst-hero__title::after {
		margin-top: 14px;
	}

	.sst-hero__lead {
		margin-bottom: 20px;
		font-size: 1.02rem;
	}

	.sst-hero__links {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px;
	}

	.sst-hero__links li {
		display: flex;
	}

	.sst-hero__links a {
		flex: 1 1 auto;
		justify-content: space-between;
		padding: 11px 14px;
		border-radius: 10px;
		font-size: 15px;
	}

	.sst-front {
		padding-top: 36px;
	}

	.sst-topics {
		margin-top: 28px;
		padding: 18px;
	}
}

/* 5. Artikelkort ----------------------------------------------------------- */

.sst-card {
	position: relative;
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.sst-card__media {
	display: block;
	overflow: hidden;
	aspect-ratio: 16 / 9;
	border-radius: var(--sst-radius);
	background: var(--sst-soft);
}

.sst-card__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.sst-card:hover .sst-card__img {
	transform: scale(1.03);
}

.sst-card__body {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding-top: 14px;
}

.sst-card__body > * {
	margin: 0;
}

.sst-card .sst-card__cat {
	align-self: flex-start;
	color: var(--sst-gold-dark);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.3;
	text-decoration: none;
}

.sst-card .sst-card__cat:hover {
	color: var(--sst-petrol);
}

.sst-card .sst-card__title {
	font-size: 1.28rem;
	line-height: 1.28;
	text-wrap: balance;
}

.sst-card__title a {
	color: var(--sst-ink);
	text-decoration: none;
	background-image: linear-gradient(var(--sst-gold), var(--sst-gold));
	background-size: 0 2px;
	background-position: 0 100%;
	background-repeat: no-repeat;
	transition: background-size 0.25s ease, color 0.2s ease;
}

.sst-card__title a:hover {
	color: var(--sst-petrol);
	background-size: 100% 2px;
}

.sst-card__excerpt {
	color: var(--sst-muted);
	font-size: 16.5px;
	line-height: 1.55;
}

.sst-card__meta {
	color: var(--sst-muted);
	font-size: 14px;
	line-height: 1.4;
}

.sst-card--feature .sst-card__body {
	gap: 8px;
	padding-top: 18px;
}

.sst-card--feature .sst-card__title {
	font-size: clamp(1.55rem, 1.3rem + 0.9vw, 2rem);
	line-height: 1.18;
}

.sst-card--feature .sst-card__excerpt {
	font-size: 17.5px;
}

.sst-card--compact {
	display: grid;
	grid-template-columns: 128px minmax(0, 1fr);
	gap: 16px;
	align-items: center;
	padding-block: 16px;
	border-bottom: 1px solid var(--sst-line);
}

.sst-card--compact:first-child {
	padding-top: 0;
}

.sst-card--compact:last-child {
	border-bottom: 0;
}

.sst-card--compact.sst-card--no-image {
	grid-template-columns: minmax(0, 1fr);
}

.sst-card--compact .sst-card__media {
	aspect-ratio: 4 / 3;
	border-radius: var(--sst-radius-sm);
}

.sst-card--compact .sst-card__body {
	gap: 4px;
	padding-top: 0;
}

.sst-card--compact .sst-card__title {
	font-size: 1.08rem;
	line-height: 1.3;
}

.sst-card--compact .sst-card__cat,
.sst-card--compact .sst-card__meta {
	font-size: 13.5px;
}

.sst-card--no-image:not(.sst-card--compact) .sst-card__body {
	padding: 22px;
	border-top: 3px solid var(--sst-gold);
	border-radius: var(--sst-radius);
	background: var(--sst-soft);
}

@media (max-width: 999.98px) {
	.sst-front__feature {
		padding-bottom: 20px;
		border-bottom: 1px solid var(--sst-line);
	}

	.sst-front__list .sst-card--compact:first-child {
		padding-top: 16px;
	}
}

@media (max-width: 689.98px) {
	.sst-card--compact {
		grid-template-columns: 104px minmax(0, 1fr);
		gap: 14px;
	}
}

/* 6. Artikelvy ------------------------------------------------------------- */

.single .hero-section[data-type="type-1"],
.page .hero-section[data-type="type-1"] {
	margin-bottom: 26px;
}

.single .hero-section .page-title,
.page .hero-section .page-title {
	margin: 0;
	text-wrap: balance;
}

.sst-hero-cat {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 14px;
	color: var(--sst-gold-dark);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.3;
	text-decoration: none;
}

.sst-hero-cat::before {
	content: "";
	width: 22px;
	height: 3px;
	border-radius: 2px;
	background: var(--sst-gold);
}

.sst-hero-cat:hover {
	color: var(--sst-petrol);
}

.sst-byline {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-top: 20px;
	padding-top: 18px;
	border-top: 1px solid var(--sst-line);
}

.sst-byline__avatar {
	flex: 0 0 auto;
	line-height: 0;
}

.sst-byline__img {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	object-fit: cover;
}

.sst-byline__text {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.sst-byline__text p {
	margin: 0;
}

.sst-byline__author {
	color: var(--sst-text);
	font-size: 16px;
	line-height: 1.45;
}

.sst-byline__author a {
	color: var(--sst-ink);
	font-weight: 700;
	text-decoration: none;
}

.sst-byline__author a:hover {
	color: var(--sst-petrol);
	text-decoration: underline;
}

.sst-byline__check {
	display: inline-block;
	margin-left: 6px;
	color: var(--sst-muted);
}

.sst-byline__check::before {
	content: "·";
	margin-right: 6px;
}

.sst-byline__dates {
	display: flex;
	flex-wrap: wrap;
	column-gap: 0;
	row-gap: 2px;
	color: var(--sst-muted);
	font-size: 14.5px;
	line-height: 1.45;
}

.sst-byline__dates > span + span::before {
	content: "·";
	margin-inline: 8px;
	color: #9aa5b1;
}

.single .ct-featured-image,
.page .ct-featured-image {
	margin-bottom: 30px;
}

.single .ct-featured-image .ct-media-container,
.page .ct-featured-image .ct-media-container,
.single .ct-featured-image img,
.page .ct-featured-image img {
	border-radius: var(--sst-radius);
}

.ct-featured-image figcaption {
	margin-top: 10px;
	color: var(--sst-muted);
	font-size: 14.5px;
	line-height: 1.45;
}

/* Startsidans byline ligger överst i texten. */
.home .sst-byline {
	margin: 0 0 28px;
	padding: 0 0 18px;
	border-top: 0;
	border-bottom: 1px solid var(--sst-line);
}

@media (max-width: 689.98px) {
	.single .hero-section[data-type="type-1"],
	.page .hero-section[data-type="type-1"] {
		margin-bottom: 20px;
	}

	.sst-byline {
		align-items: flex-start;
		gap: 12px;
		margin-top: 16px;
		padding-top: 14px;
	}

	.sst-byline__img {
		width: 42px;
		height: 42px;
	}

	.sst-byline__dates {
		flex-direction: column;
		font-size: 14px;
	}

	.sst-byline__dates > span + span::before {
		content: none;
	}

	.single .ct-featured-image,
	.page .ct-featured-image {
		margin-bottom: 22px;
	}

	.single .ct-featured-image .ct-media-container,
	.page .ct-featured-image .ct-media-container,
	.single .ct-featured-image img,
	.page .ct-featured-image img {
		border-radius: 10px;
	}
}

/* 7. Brödtext -------------------------------------------------------------- */

.entry-content {
	--theme-content-spacing: 1.25em;
}

.entry-content p {
	line-height: 1.75;
}

.entry-content > p:first-child,
.entry-content > .sst-toc + p {
	margin-top: 0;
}

.entry-content :is(h2, h3, h4)[id] {
	scroll-margin-top: calc(var(--sst-header-height) + 24px);
}

.entry-content > h2 {
	position: relative;
	margin-top: 2em;
	margin-bottom: 0.6em;
	padding-top: 0.55em;
	color: var(--sst-ink);
	font-size: clamp(1.5rem, 1.25rem + 0.9vw, 1.9rem);
	line-height: 1.25;
}

.entry-content > h2::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 40px;
	height: 3px;
	border-radius: 2px;
	background: var(--sst-gold);
}

.entry-content > h3 {
	margin-top: 1.7em;
	margin-bottom: 0.5em;
	color: var(--sst-petrol-dark);
	font-size: clamp(1.18rem, 1.08rem + 0.4vw, 1.35rem);
	line-height: 1.32;
}

.entry-content > h4 {
	margin-top: 1.5em;
	margin-bottom: 0.4em;
	color: var(--sst-petrol-dark);
}

.entry-content :where(a:not(.wp-element-button):not([class*="sm-btn"]):not([class*="lk-"])) {
	color: var(--sst-petrol);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-decoration-color: rgba(26, 77, 107, 0.45);
	text-underline-offset: 3px;
	transition: color 0.15s ease, text-decoration-color 0.15s ease;
}

.entry-content :where(a:not(.wp-element-button):not([class*="sm-btn"]):not([class*="lk-"])):hover {
	color: var(--sst-gold-dark);
	text-decoration-color: var(--sst-gold);
}

/* Länkar i sajtens verktyg (quiz, kalkylator, stadsfakta) får verktygets
   egen textfärg, så att de syns även på mörk bakgrund. */
.entry-content :where(.storstad-matchare, .storstad-lk-tool, [class*="storstad-stadsdata"], [class*="sd-vsa"]) a:not([class*="btn"]):not([class*="lk-"]) {
	color: inherit;
	text-decoration: underline;
	text-decoration-color: currentColor;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.entry-content :where(.storstad-matchare, .storstad-lk-tool, [class*="storstad-stadsdata"], [class*="sd-vsa"]) a:not([class*="btn"]):not([class*="lk-"]):hover {
	color: inherit;
	opacity: 0.85;
}

.entry-content strong {
	color: var(--sst-ink);
	font-weight: 700;
}

.entry-content > ul,
.entry-content > ol {
	padding-left: 1.4em;
}

.entry-content > ul > li,
.entry-content > ol > li {
	margin-bottom: 0.45em;
	padding-left: 0.2em;
}

.entry-content > ul > li::marker {
	color: var(--sst-gold);
}

.entry-content > ol > li::marker {
	color: var(--sst-petrol);
	font-weight: 700;
}

.entry-content img {
	height: auto;
	border-radius: var(--sst-radius-sm);
}

.entry-content .wp-caption {
	max-width: 100%;
}

.entry-content :is(figcaption, .wp-caption-text) {
	margin-top: 10px;
	color: var(--sst-muted);
	font-size: 14.5px;
	line-height: 1.45;
}

.entry-content blockquote:not([class]) {
	margin-inline: 0;
	padding: 6px 0 6px 22px;
	border-left: 3px solid var(--sst-gold);
	color: var(--sst-ink);
	font-family: var(--sst-serif);
	font-size: 1.12em;
	font-style: italic;
}

.entry-content iframe {
	max-width: 100%;
	border-radius: var(--sst-radius-sm);
}

/* Vanliga tabeller utan klass. Tabeller med responsive-table styrs i
   avsnitt 12. */
.entry-content table:not(.responsive-table) {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.95em;
	line-height: 1.5;
}

.entry-content table:not(.responsive-table) :is(th, td) {
	padding: 11px 14px;
	border-bottom: 1px solid var(--sst-line);
	text-align: left;
	vertical-align: top;
}

.entry-content table:not(.responsive-table) th {
	background: var(--sst-soft);
	color: var(--sst-ink);
	font-weight: 700;
}

.entry-content .responsive-table-wrap {
	overflow-x: auto;
}

@media (max-width: 689.98px) {
	.entry-content > h2 {
		margin-top: 1.7em;
	}

	.entry-content table:not(.responsive-table) :is(th, td) {
		padding: 9px 10px;
	}
}

/* 8. Innehållsförteckning och sidofält ------------------------------------- */

.entry-content .sst-toc {
	margin: 1.6em 0 1.8em;
	border: 1px solid var(--sst-line);
	border-radius: var(--sst-radius);
	background: var(--sst-soft);
}

.sst-toc details > summary {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 14px 18px;
	cursor: pointer;
	list-style: none;
}

.sst-toc details > summary::-webkit-details-marker {
	display: none;
}

.sst-toc__title {
	color: var(--sst-ink);
	font-size: 17px;
	font-weight: 700;
}

.sst-toc__count {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-left: auto;
	color: var(--sst-muted);
	font-size: 14.5px;
}

.sst-toc__count::after {
	content: "";
	width: 8px;
	height: 8px;
	margin-top: -4px;
	border-right: 2px solid var(--sst-petrol);
	border-bottom: 2px solid var(--sst-petrol);
	transform: rotate(45deg);
	transition: transform 0.2s ease;
}

.sst-toc details[open] .sst-toc__count::after {
	margin-top: 4px;
	transform: rotate(-135deg);
}

.entry-content .sst-toc__list {
	margin: 0;
	padding: 0 18px 16px 40px;
	counter-reset: none;
}

.entry-content .sst-toc__list li {
	margin: 0;
	padding: 5px 0;
	font-size: 16px;
	line-height: 1.4;
}

.entry-content .sst-toc__list li::marker {
	color: var(--sst-muted);
	font-weight: 400;
}

.entry-content .sst-toc .sst-toc__list a {
	color: var(--sst-text);
	text-decoration: none;
}

.entry-content .sst-toc .sst-toc__list a:hover {
	color: var(--sst-petrol);
	text-decoration: underline;
}

@media (min-width: 1000px) {
	.entry-content .sst-toc--inline {
		display: none;
	}
}

#sidebar .ct-sidebar {
	display: flex;
	flex-direction: column;
	gap: 22px;
}

.sst-side .sst-side__title {
	margin: 0 0 10px;
	color: var(--sst-ink);
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.01em;
}

.sst-side--toc {
	max-height: calc(100vh - var(--sst-header-height) - 280px);
	min-height: 160px;
	overflow-y: auto;
	scrollbar-width: thin;
}

.sst-side__toc {
	margin: 0;
	padding: 0;
	border-left: 2px solid var(--sst-line);
	list-style: none;
}

.sst-side__toc li {
	margin: 0;
}

.sst-side__toc a {
	display: block;
	margin-left: -2px;
	padding: 6px 0 6px 14px;
	border-left: 2px solid transparent;
	color: var(--sst-muted);
	font-size: 15px;
	line-height: 1.4;
	text-decoration: none;
	transition: color 0.15s ease, border-color 0.15s ease;
}

.sst-side__toc a:hover {
	color: var(--sst-petrol);
}

.sst-side__toc a.is-active {
	border-left-color: var(--sst-gold);
	color: var(--sst-ink);
	font-weight: 700;
}

.sst-side--tools {
	padding: 18px 18px 8px;
	border-radius: var(--sst-radius);
	background: var(--sst-soft);
}

.sst-side__tools {
	margin: 0;
	padding: 0;
	list-style: none;
}

.sst-side__tools li {
	margin: 0;
	border-top: 1px solid var(--sst-line);
}

.sst-side__tools a {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 10px 0;
	text-decoration: none;
}

.sst-side__tool-name {
	color: var(--sst-petrol);
	font-size: 15.5px;
	font-weight: 700;
	line-height: 1.3;
}

.sst-side__tool-text {
	color: var(--sst-muted);
	font-size: 14px;
	line-height: 1.4;
}

.sst-side__tools a:hover .sst-side__tool-name {
	color: var(--sst-gold-dark);
	text-decoration: underline;
}

/* 9. Profilruta, Läs också, kommentarer ------------------------------------ */

.sst-author {
	display: flex;
	gap: 20px;
	margin-top: 48px;
	padding: 24px;
	border: 1px solid var(--sst-line);
	border-top: 3px solid var(--sst-gold);
	border-radius: var(--sst-radius);
	background: #ffffff;
}

.sst-author__avatar {
	flex: 0 0 auto;
	line-height: 0;
}

.sst-author__img {
	width: 88px;
	height: 88px;
	border-radius: 50%;
	object-fit: cover;
}

.sst-author__body {
	min-width: 0;
}

.sst-author__body p {
	margin: 0;
}

.sst-author .sst-author__eyebrow {
	color: var(--sst-gold-dark);
	font-size: 14px;
	font-weight: 700;
}

.sst-author .sst-author__name {
	margin-top: 2px;
	font-family: var(--sst-serif);
	font-size: 1.35rem;
	font-weight: 700;
	line-height: 1.25;
}

.sst-author__name a {
	color: var(--sst-ink);
	text-decoration: none;
}

.sst-author__name a:hover {
	color: var(--sst-petrol);
}

.sst-author .sst-author__role {
	color: var(--sst-muted);
	font-size: 15px;
}

.sst-author .sst-author__bio {
	margin-top: 10px;
	font-size: 16.5px;
	line-height: 1.6;
}

.sst-author__more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 12px;
	color: var(--sst-petrol);
	font-size: 15.5px;
	font-weight: 700;
	text-decoration: none;
}

.sst-author__more:hover {
	color: var(--sst-gold-dark);
}

.sst-related {
	margin-top: 56px;
}

.sst-related .sst-related__title {
	position: relative;
	margin: 0 0 24px;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--sst-line);
	font-size: clamp(1.4rem, 1.25rem + 0.6vw, 1.7rem);
}

.sst-related .sst-related__title::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -2px;
	width: 56px;
	height: 3px;
	border-radius: 2px;
	background: var(--sst-gold);
}

.sst-related__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 26px;
}

.sst-related .sst-card .sst-card__title {
	font-size: 1.12rem;
}

.ct-comments {
	--theme-font-family: var(--sst-sans);
	margin-top: 56px;
	padding-top: 32px;
	border-top: 1px solid var(--sst-line);
}

.ct-comments .ct-comments-title,
.comment-reply-title {
	font-family: var(--sst-serif);
}

@media (max-width: 999.98px) {
	.sst-related__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 600px) {
	.sst-author {
		flex-direction: column;
		gap: 14px;
		padding: 20px;
	}

	.sst-author__img {
		width: 72px;
		height: 72px;
	}

	.sst-related__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 30px;
	}
}

/* 10. Arkiv, sök och sidnumrering ----------------------------------------- */

body .entries[data-layout="grid"] {
	--grid-template-columns: repeat(3, minmax(0, 1fr));
	--grid-columns-gap: 30px;
	grid-row-gap: 44px;
}

body .entries > article {
	min-width: 0;
}

.archive .hero-section .page-title,
.search .hero-section .page-title,
.blog .hero-section .page-title {
	margin: 0;
}

.archive .hero-section .page-description,
.search .hero-section .page-description {
	max-width: 46em;
	margin-top: 12px;
	color: var(--sst-muted);
	font-size: 17.5px;
}

.archive .hero-section,
.search .hero-section {
	margin-bottom: 8px;
}

.ct-pagination {
	--theme-link-initial-color: var(--sst-ink);
	--theme-link-hover-color: #ffffff;
	--pagination-item-active-color: #ffffff;
	--pagination-item-active-background-color: var(--sst-petrol);
	--theme-border-radius: 999px;
}

.ct-pagination a:hover {
	background: var(--sst-petrol);
}

.error404 .page-title {
	font-size: clamp(2rem, 1.5rem + 2vw, 2.8rem);
}

@media (max-width: 999.98px) {
	body .entries[data-layout="grid"] {
		--grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 689.98px) {
	body .entries[data-layout="grid"] {
		--grid-template-columns: minmax(0, 1fr);
		grid-row-gap: 32px;
	}
}

/* Tillbaka till toppen. */
.ct-back-to-top {
	--theme-icon-color: #ffffff;
	--theme-icon-hover-color: #ffffff;
	--top-button-background-color: var(--sst-petrol);
	--top-button-background-hover-color: var(--sst-navy);
	--theme-border-radius: 999px;
}

/* 11. Sidfot --------------------------------------------------------------- */

#footer,
.ct-footer {
	--theme-link-initial-color: rgba(255, 255, 255, 0.82);
	--theme-link-hover-color: #ffffff;
	--theme-text-color: rgba(255, 255, 255, 0.72);
	background: var(--sst-navy);
	color: rgba(255, 255, 255, 0.72);
}

.ct-footer [data-row*="bottom"] {
	--theme-border-top: none;
	--container-spacing: 0;
	background: transparent;
}

.ct-footer [data-row*="bottom"] > div {
	padding-block: 56px 28px;
}

.ct-footer .ct-footer-copyright {
	width: 100%;
	text-align: left;
	--theme-font-size: 16px;
	--theme-line-height: 1.6;
}

.sst-footer {
	display: grid;
	grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1.4fr);
	gap: 40px 48px;
	width: 100%;
}

.sst-footer__logo {
	display: inline-block;
	line-height: 0;
}

.sst-footer__logo img {
	width: auto;
	height: 36px;
	filter: brightness(0) invert(1);
}

.sst-footer .sst-footer__tagline {
	max-width: 22em;
	margin: 16px 0 0;
	color: rgba(255, 255, 255, 0.72);
	font-size: 16px;
	line-height: 1.6;
}

.sst-footer .sst-footer__heading {
	margin: 0 0 12px;
	color: #ffffff;
	font-size: 16px;
	font-weight: 700;
}

.sst-footer__menu {
	margin: 0;
	padding: 0;
	list-style: none;
}

.sst-footer__col--wide .sst-footer__menu {
	columns: 2;
	column-gap: 28px;
}

.sst-footer__menu li {
	margin: 0;
	padding: 4px 0;
	break-inside: avoid;
}

.sst-footer__menu a {
	color: rgba(255, 255, 255, 0.82);
	font-size: 15.5px;
	text-decoration: none;
}

.sst-footer__menu a:hover {
	color: #ffffff;
	text-decoration: underline;
	text-decoration-color: var(--sst-gold);
	text-underline-offset: 3px;
}

.sst-footer .sst-footer__copy {
	grid-column: 1 / -1;
	margin: 8px 0 0;
	padding-top: 22px;
	border-top: 1px solid rgba(255, 255, 255, 0.14);
	color: rgba(255, 255, 255, 0.6);
	font-size: 14.5px;
}

@media (max-width: 999.98px) {
	.sst-footer {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	}

	.sst-footer__brand {
		grid-column: 1 / -1;
	}
}

@media (max-width: 600px) {
	.ct-footer [data-row*="bottom"] > div {
		padding-block: 40px 24px;
	}

	.sst-footer {
		grid-template-columns: minmax(0, 1fr);
		gap: 28px;
	}

	.sst-footer__col--wide .sst-footer__menu {
		columns: 1;
	}
}

/* 12. Artikelkomponenter --------------------------------------------------- */
/* Flyttade från Ytterligare CSS i Spotlight (version 2026-06-22b), så att
   rutorna i befintliga artiklar ser likadana ut. Versaler i tabellernas
   rubriker och mobiletiketter är borttagna. */

/* ============================================================
	 PLUGIN-ISOLERING (Storstad Livsstilskostnad)
	 ============================================================ */

.entry-content.entry-content.entry-content .storstad-lk-tool.storstad-lk-tool p {
	color: inherit;
	line-height: 1.5;
	margin: 0;
}

.entry-content.entry-content.entry-content .storstad-lk-tool.storstad-lk-tool .storstad-lk-summary {
	color: #ffffff;
}

.entry-content.entry-content.entry-content .storstad-lk-tool.storstad-lk-tool .storstad-lk-summary p {
	color: #ffffff;
	line-height: 1.5;
}

.entry-content.entry-content.entry-content .storstad-lk-tool.storstad-lk-tool .storstad-lk-summary strong {
	color: #f0c674;
	font-weight: 700;
}

.entry-content.entry-content.entry-content .storstad-lk-tool.storstad-lk-tool .lk-help,
.entry-content.entry-content.entry-content .storstad-lk-tool.storstad-lk-tool .lk-lifestyle-desc {
	color: #6b7280;
	line-height: 1.4;
	margin: 0.5rem 0 0;
}

.entry-content.entry-content.entry-content .storstad-lk-tool.storstad-lk-tool .storstad-lk-footer p {
	color: #6b7280;
	line-height: 1.5;
	margin: 0;
}

.entry-content.entry-content.entry-content .storstad-lk-tool.storstad-lk-tool .lk-loading,
.entry-content.entry-content.entry-content .storstad-lk-tool.storstad-lk-tool .lk-empty {
	color: #6b7280;
}


/* ============================================================
	 PLUGIN-ISOLERING (Storstad Matchare)
	 ============================================================ */

.entry-content.entry-content.entry-content .storstad-matchare.storstad-matchare .sm-intro p,
.entry-content.entry-content.entry-content .storstad-matchare.storstad-matchare .sm-intro h1,
.entry-content.entry-content.entry-content .storstad-matchare.storstad-matchare .sm-intro h2,
.entry-content.entry-content.entry-content .storstad-matchare.storstad-matchare .sm-intro h3,
.entry-content.entry-content.entry-content .storstad-matchare.storstad-matchare .sm-intro .sm-hero-text,
.entry-content.entry-content.entry-content .storstad-matchare.storstad-matchare .sm-intro .sm-hero-title,
.entry-content.entry-content.entry-content .storstad-matchare.storstad-matchare .sm-intro .sm-meta {
	color: #ffffff;
}

.entry-content.entry-content.entry-content .storstad-matchare.storstad-matchare .sm-intro .sm-eyebrow {
	color: #c9922b;
}

.entry-content.entry-content.entry-content .storstad-matchare.storstad-matchare .sm-result-hero,
.entry-content.entry-content.entry-content .storstad-matchare.storstad-matchare .sm-result-hero p,
.entry-content.entry-content.entry-content .storstad-matchare.storstad-matchare .sm-result-hero h2,
.entry-content.entry-content.entry-content .storstad-matchare.storstad-matchare .sm-result-hero h3,
.entry-content.entry-content.entry-content .storstad-matchare.storstad-matchare .sm-result-hero .sm-result-name,
.entry-content.entry-content.entry-content .storstad-matchare.storstad-matchare .sm-result-hero .sm-result-tagline,
.entry-content.entry-content.entry-content .storstad-matchare.storstad-matchare .sm-result-hero .sm-result-meta,
.entry-content.entry-content.entry-content .storstad-matchare.storstad-matchare .sm-result-hero .sm-result-meta span {
	color: #ffffff;
}

.entry-content.entry-content.entry-content .storstad-matchare.storstad-matchare .sm-result-hero .sm-result-eyebrow {
	color: #c9922b;
}

.entry-content.entry-content.entry-content .storstad-matchare.storstad-matchare .sm-btn-primary {
	color: #ffffff;
}

.entry-content.entry-content.entry-content .storstad-matchare.storstad-matchare p {
	line-height: 1.5;
}


/* ============================================================
	 SNABBFAKTA-BOX
	 HTML: <div class="snabbfakta-box"><h3>...</h3><ul><li><strong>X:</strong> Y</li></ul></div>
	 FIX: strong inuti li ALDRIG block, h3 styrs som rubrik separat
	 ============================================================ */

.snabbfakta-box {
	background: var(--storstad-cream);
	border-left: 4px solid var(--storstad-petrol);
	padding: 18px 22px;
	margin: 24px 0;
	border-radius: 6px;
}

.snabbfakta-box h3,
.snabbfakta-box > strong:first-child {
	display: block;
	margin: 0 0 10px 0;
	padding: 0;
	font-size: 1.05em;
	color: var(--storstad-petrol);
	letter-spacing: 0.02em;
	font-weight: 700;
	line-height: 1.3;
}

.snabbfakta-box ul {
	margin: 0;
	padding-left: 22px;
}

.snabbfakta-box li {
	margin: 5px 0;
	line-height: 1.6;
}

.snabbfakta-box li strong,
.snabbfakta-box ul strong {
	display: inline;
	margin: 0;
	padding: 0;
	color: var(--storstad-text);
}


/* ============================================================
	 TIPS-BOX (urban park)
	 ============================================================ */

.tips-box {
	background: var(--storstad-park-bg);
	border-left: 4px solid var(--storstad-park);
	padding: 16px 20px;
	margin: 20px 0;
	border-radius: 6px;
	line-height: 1.6;
}

.tips-box h3,
.tips-box > strong:first-child {
	display: block;
	margin: 0 0 8px 0;
	color: var(--storstad-park-text);
	letter-spacing: 0.02em;
	font-size: 1.05em;
	font-weight: 700;
}

.tips-box p {
	margin: 0;
}

.tips-box p strong,
.tips-box li strong {
	display: inline;
	color: var(--storstad-park-text);
}


/* ============================================================
	 INFO-BOX (urban slate)
	 ============================================================ */

.info-box {
	background: var(--storstad-slate-bg);
	border-left: 4px solid var(--storstad-slate);
	padding: 16px 20px;
	margin: 20px 0;
	border-radius: 6px;
	line-height: 1.6;
}

.info-box h3,
.info-box > strong:first-child {
	display: block;
	margin: 0 0 8px 0;
	color: var(--storstad-slate-text);
	letter-spacing: 0.02em;
	font-size: 1.05em;
	font-weight: 700;
}

.info-box p {
	margin: 0;
}

.info-box p strong,
.info-box li strong {
	display: inline;
	color: var(--storstad-slate-text);
}


/* ============================================================
	 VARNINGSBOX (urban tegel)
	 ============================================================ */

.varning-box {
	background: var(--storstad-tegel-bg);
	border-left: 4px solid var(--storstad-tegel);
	padding: 16px 20px;
	margin: 20px 0;
	border-radius: 6px;
	line-height: 1.6;
}

.varning-box h3,
.varning-box > strong:first-child {
	display: block;
	margin: 0 0 8px 0;
	color: var(--storstad-tegel-text);
	letter-spacing: 0.02em;
	font-size: 1.05em;
	font-weight: 700;
}

.varning-box p {
	margin: 0;
}

.varning-box p strong,
.varning-box li strong {
	display: inline;
	color: var(--storstad-tegel-text);
}


/* ============================================================
	 CITAT-BOX (urban skymning)
	 ============================================================ */

.citat-box {
	background: var(--storstad-plym-bg);
	border-left: 4px solid var(--storstad-plym);
	padding: 22px 26px;
	margin: 28px 0;
	font-style: italic;
	border-radius: 6px;
}

.citat-box p {
	margin: 0 0 12px 0;
	font-size: 1.1em;
	line-height: 1.55;
	color: var(--storstad-plym-text);
}

.citat-box cite {
	display: block;
	font-style: normal;
	font-size: 0.9em;
	color: var(--storstad-text-subtle);
}


/* ============================================================
	 PROS/CONS-BOX
	 ============================================================ */

.proscons-box {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 16px;
	margin: 28px 0;
}

.proscons-box > div {
	padding: 20px;
	border-radius: 8px;
	min-width: 0;
}

.proscons-box .pros {
	background: var(--storstad-park-bg);
	border-top: 4px solid var(--storstad-park);
}

.proscons-box .cons {
	background: var(--storstad-tegel-bg);
	border-top: 4px solid var(--storstad-tegel);
}

.proscons-box .pros > strong {
	color: var(--storstad-park-text);
}

.proscons-box .cons > strong {
	color: var(--storstad-tegel-text);
}

.proscons-box > div > strong:first-child,
.proscons-box > div > h3,
.proscons-box > div > h4 {
	display: block;
	margin: 0 0 10px 0;
	font-size: 1.05em;
	letter-spacing: 0.02em;
	font-weight: 700;
}

.proscons-box ul {
	margin: 0;
	padding-left: 20px;
}

.proscons-box li {
	margin: 5px 0;
	line-height: 1.55;
}

.proscons-box li strong {
	display: inline;
}

@media (max-width: 600px) {
	.proscons-box {
		grid-template-columns: 1fr;
	}
}


/* ============================================================
	 STEG-FOR-STEG
	 ============================================================ */

.steg-for-steg {
	counter-reset: storstad-steg;
	list-style: none;
	padding-left: 0;
	margin: 28px 0;
}

.steg-for-steg li {
	counter-increment: storstad-steg;
	position: relative;
	padding: 16px 20px 16px 64px;
	background: var(--storstad-cream);
	margin-bottom: 12px;
	border-radius: 8px;
	border-left: 4px solid var(--storstad-petrol);
	line-height: 1.6;
}

.steg-for-steg li::before {
	content: counter(storstad-steg);
	position: absolute;
	left: 16px;
	top: 50%;
	transform: translateY(-50%);
	width: 36px;
	height: 36px;
	background: var(--storstad-petrol);
	color: var(--storstad-guld-ljus);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 0.95em;
}


/* ============================================================
	 INTERNLANKSBOX
	 ============================================================ */

.internlankar-box {
	background: var(--storstad-cream);
	border: 1px solid var(--storstad-cream-mork);
	border-left: 4px solid var(--storstad-guld);
	padding: 20px 24px;
	margin: 32px 0;
	border-radius: 8px;
}

.internlankar-box h3,
.internlankar-box > strong:first-child {
	display: block;
	margin: 0 0 12px 0;
	color: var(--storstad-petrol);
	font-size: 1.05em;
	letter-spacing: 0.02em;
	font-weight: 700;
}

.internlankar-box ul {
	margin: 0;
	padding-left: 22px;
}

.internlankar-box li {
	margin: 6px 0;
	line-height: 1.5;
}

.internlankar-box li strong {
	display: inline;
}

.internlankar-box a {
	color: var(--storstad-petrol);
	text-decoration: underline;
	font-weight: 500;
}

.internlankar-box a:hover {
	color: var(--storstad-guld);
}


/* ============================================================
	 TL;DR-BOX
	 HTML: <div class="tldr-box"><p><strong>Snabbt svar:</strong> text</p></div>
	 ELLER: <div class="tldr-box"><strong>Snabbt svar:</strong> text</div>
	 FIX: p far margin: 0, strong:first-child tvingad inline
	 ============================================================ */

.tldr-box,
.ai-overview-box {
	background: var(--storstad-tldr-bg);
	border-left: 4px solid var(--storstad-guld);
	padding: 20px 24px;
	margin: 24px 0 32px 0;
	border-radius: 6px;
	font-size: 1.02em;
	line-height: 1.65;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.tldr-box p,
.ai-overview-box p {
	margin: 0;
	line-height: 1.65;
}

.tldr-box p + p,
.ai-overview-box p + p {
	margin-top: 12px;
}

.tldr-box strong:first-child,
.ai-overview-box strong:first-child,
.tldr-box p strong:first-child,
.ai-overview-box p strong:first-child,
.tldr-box p:first-child strong:first-child,
.ai-overview-box p:first-child strong:first-child {
	display: inline;
	margin: 0;
	padding: 0;
	color: var(--storstad-tldr-text);
	font-size: 1em;
	letter-spacing: 0.02em;
	font-weight: 700;
}


/* ============================================================
	 RESPONSIV TABELL
	 ============================================================ */

.responsive-table {
	width: 100%;
	border-collapse: collapse;
	margin: 24px 0;
	background: #ffffff;
	border: 1px solid var(--storstad-cream-mork);
	border-radius: 8px;
	overflow: hidden;
	font-size: 0.95em;
}

.responsive-table thead {
	background: var(--storstad-cream);
}

.responsive-table th {
	text-align: left;
	padding: 12px 16px;
	font-size: 0.85em;
	color: var(--storstad-text);
	border-bottom: 2px solid var(--storstad-guld);
	font-weight: 600;
}

.responsive-table td {
	padding: 12px 16px;
	border-bottom: 1px solid var(--storstad-cream-mork);
	line-height: 1.5;
}

.responsive-table tr:last-child td {
	border-bottom: none;
}

.responsive-table tbody tr:nth-child(even) {
	background: #fcfaf6;
}

@media (max-width: 600px) {
	.responsive-table {
		border: none;
		background: transparent;
	}

	.responsive-table thead {
		display: none;
	}

	.responsive-table tbody,
	.responsive-table tr,
	.responsive-table td {
		display: block;
		width: 100%;
	}

	.responsive-table tr {
		background: #ffffff;
		border: 1px solid var(--storstad-cream-mork);
		border-top: 4px solid var(--storstad-guld);
		border-radius: 6px;
		padding: 12px 16px;
		margin-bottom: 14px;
		box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
	}

	.responsive-table td {
		padding: 6px 0;
		border-bottom: 1px solid #f3f0e9;
	}

	.responsive-table td:last-child {
		border-bottom: none;
	}

	.responsive-table td:before {
		content: attr(data-label);
		display: block;
		font-size: 0.7em;
		color: var(--storstad-text-subtle);
		font-weight: 600;
		margin-bottom: 2px;
	}
}


/* ============================================================
	 FOKUS
	 ============================================================ */

.entry-content a:focus-visible,
.entry-content button:focus-visible {
	outline: 2px solid var(--storstad-guld);
	outline-offset: 2px;
}


/* ============================================================
	 MOBIL-JUSTERINGAR
	 ============================================================ */

@media (max-width: 768px) {

	.snabbfakta-box,
	.tips-box,
	.info-box,
	.varning-box,
	.internlankar-box,
	.tldr-box {
		padding: 14px 18px;
	}

	.citat-box {
		padding: 18px 20px;
	}

	.citat-box p {
		font-size: 1em;
	}

	.steg-for-steg li {
		padding: 14px 16px 14px 56px;
	}

	.steg-for-steg li::before {
		width: 32px;
		height: 32px;
		left: 12px;
	}
}