/* ==========================================================================
   Skånesport x Väktaren
   ========================================================================== */

@font-face {
	font-family: "Literata";
	src: url("../fonts/literata-normal.woff2") format("woff2");
	font-weight: 200 900;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Literata";
	src: url("../fonts/literata-italic.woff2") format("woff2");
	font-weight: 200 900;
	font-style: italic;
	font-display: swap;
}

@font-face {
	font-family: "Source Serif 4";
	src: url("../fonts/source-serif-4-normal.woff2") format("woff2");
	font-weight: 200 900;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Source Serif 4";
	src: url("../fonts/source-serif-4-italic.woff2") format("woff2");
	font-weight: 200 900;
	font-style: italic;
	font-display: swap;
}

:root {
	--brand: #041b3d;          /* mörkblå – sidhuvud och sidfot */
	--brand-line: rgb(255 255 255 / 0.25);
	--accent: #fff;            /* knappar och streck i sidhuvudet */
	--kicker: #0a6aa8;         /* blå etiketter */
	--kicker-light: #8fd3ff;   /* etiketter på mörk bild */
	--ink: #121212;
	--muted: #707070;
	--line: #dcdcdc;
	--grey: #f3f3f3;
	--gutter: 20px;
	--left-col: 220px;

	--font-head: "Literata", Georgia, "Times New Roman", serif;
	--font-body: "Source Serif 4", Georgia, "Times New Roman", serif;
}

/* Grund
   -------------------------------------------------------------------------- */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background: #fff;
	color: var(--ink);
	font-family: var(--font-head);
	font-size: 1rem;
	line-height: 1.4;
	-webkit-font-smoothing: antialiased;
}

img,
video,
iframe {
	max-width: 100%;
	height: auto;
}

a {
	color: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--font-head);
	font-weight: 500;
	line-height: 1.12;
	margin: 0;
}

.container {
	width: 100%;
	max-width: 1300px;
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.skip-link {
	position: absolute;
	left: 8px;
	top: -100px;
	z-index: 1000;
	padding: 8px 12px;
	background: var(--accent);
	color: var(--brand);
	font-weight: 700;
}

.skip-link:focus {
	top: 8px;
}

:focus-visible {
	outline: 3px solid var(--kicker);
	outline-offset: 2px;
}

.pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 14px;
	border-radius: 999px;
	font-family: var(--font-head);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
}

.pill--white {
	background: var(--accent);
	color: var(--brand);
}

.pill--brand {
	background: var(--brand);
	color: #fff;
}

.pill:hover {
	filter: brightness(0.95);
}

/* Sidhuvud
   -------------------------------------------------------------------------- */

.site-header {
	background: var(--brand);
	color: #fff;
}

/* Topprad */

.topbar__inner {
	display: flex;
	align-items: center;
	gap: 20px;
	min-height: 64px;
}

.topbar__pitch {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.topbar__title {
	font-size: 24px;
	font-weight: 700;
	letter-spacing: -0.01em;
	line-height: 1.1;
}

.topbar__text {
	font-size: 14px;
	line-height: 1.3;
}

.topbar__nav {
	display: flex;
	align-self: stretch;
	margin-left: auto;
}

.topbar__list {
	display: flex;
	margin: 0;
	padding: 0;
	list-style: none;
}

.topbar__list a,
.topbar__search {
	display: flex;
	align-items: center;
	gap: 6px;
	height: 100%;
	padding: 0 12px;
	border: 0;
	border-left: 1px solid var(--brand-line);
	background: none;
	color: #fff;
	font-family: var(--font-head);
	font-size: 17px;
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
}

.topbar__list a:hover,
.topbar__search:hover {
	text-decoration: underline;
}

.topbar__search {
	padding-right: 0;
}

/* Stora menyrubriker, vit menyknapp och logotyp */

/* Menyrubrikerna får krympa och klippas – logotypen behåller alltid sin plats. */
.masthead {
	display: flex;
	align-items: flex-end;
	min-height: 128px;
}

.pillars {
	grid-area: pillars;
	flex: 0 1 auto;
	min-width: 0;
	overflow: hidden;
}

/* Dator: högst fyra menyrubriker, resten finns bakom menyknappen. */
@media (min-width: 740px) {
	.pillars__list > li:nth-child(n+5) {
		display: none;
	}
}

.pillars__list {
	display: flex;
	margin: 0;
	padding: 0;
	list-style: none;
}

.pillars__list li + li {
	border-left: 1px solid var(--brand-line);
}

.pillars__list a {
	position: relative;
	display: block;
	min-width: 136px;
	padding: 6px 24px 14px 10px;
	color: #fff;
	font-size: 24px;
	font-weight: 700;
	letter-spacing: -0.01em;
	line-height: 1.1;
	text-decoration: none;
	white-space: nowrap;
}

.pillars__list li:first-child a {
	padding-left: 0;
}

.pillars__list a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 4px;
	background: var(--accent);
	transform: scaleY(0);
	transform-origin: bottom;
	transition: transform 0.15s ease;
}

.pillars__list li + li a::after {
	left: 6px;
}

.pillars__list a:hover::after,
.pillars__list .current-menu-item > a::after,
.pillars__list .current-cat > a::after,
.pillars__list .current-menu-ancestor > a::after {
	transform: scaleY(1);
}

.burger {
	grid-area: burger;
	flex: none;
	position: relative;
	width: 42px;
	height: 42px;
	margin: 0 0 8px 12px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--accent);
	color: var(--brand);
	cursor: pointer;
	transition: transform 0.15s ease;
}

.burger:hover {
	transform: scale(1.06);
}

.burger__icon,
.burger__icon::before,
.burger__icon::after {
	position: absolute;
	left: 50%;
	width: 18px;
	height: 2px;
	margin-left: -9px;
	background: currentColor;
	transition: transform 0.2s ease, background-color 0.2s ease;
}

.burger__icon {
	top: 50%;
	margin-top: -1px;
}

.burger__icon::before,
.burger__icon::after {
	content: "";
	left: 0;
	margin-left: 0;
}

.burger__icon::before {
	top: -6px;
}

.burger__icon::after {
	top: 6px;
}

.burger[aria-expanded="true"] .burger__icon {
	background: transparent;
}

.burger[aria-expanded="true"] .burger__icon::before {
	transform: translateY(6px) rotate(45deg);
}

.burger[aria-expanded="true"] .burger__icon::after {
	transform: translateY(-6px) rotate(-45deg);
}

/* Logotypen till vänster, menyrubrikerna och menyknappen till höger. */
.masthead__logo {
	grid-area: logo;
	order: -1;
	flex: none;
	align-self: flex-start;
	margin-right: auto;
	padding: 10px 24px 0 0;
}

@media (min-width: 740px) {
	.pillars__list li:first-child {
		border-left: 1px solid var(--brand-line);
	}

	.pillars__list li:first-child a {
		padding-left: 10px;
	}

	.pillars__list li:first-child a::after {
		left: 6px;
	}
}

.custom-logo-link {
	display: block;
}

.custom-logo {
	display: block;
	width: auto;
	max-width: 100%;
	max-height: 108px;
}

.brand--white .custom-logo {
	filter: brightness(0) invert(1);
}

.site-logo--text {
	color: #fff;
	font-size: 3.4rem;
	font-weight: 800;
	letter-spacing: -0.035em;
	line-height: 0.95;
	text-decoration: none;
}

/* Liten undermeny */

.subnav {
	border: 1px solid var(--brand-line);
	border-bottom: 0;
}

.subnav__list {
	display: flex;
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
	overflow-x: auto;
	scrollbar-width: none;
	white-space: nowrap;
}

.subnav__list::-webkit-scrollbar {
	display: none;
}

.subnav__list a {
	display: block;
	padding: 12px 0;
	color: #fff;
	font-size: 15px;
	text-decoration: none;
}

.subnav__list a:hover,
.subnav__list .current-menu-item > a {
	text-decoration: underline;
	text-underline-offset: 4px;
}

/* Panelen bakom menyknappen */

.panel {
	border-top: 1px solid var(--brand-line);
}

.panel__inner {
	padding-block: 24px 40px;
}

.panel .search-form {
	max-width: 640px;
}

.panel .search-form__input {
	border-color: var(--brand-line);
	background: rgb(255 255 255 / 0.08);
	color: #fff;
}

.panel .search-form__input::placeholder {
	color: rgb(255 255 255 / 0.65);
}

.panel .search-form__button {
	background: var(--accent);
	color: var(--brand);
}

.panel__list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
	gap: 24px 0;
	margin: 28px 0 0;
	padding: 0;
	list-style: none;
}

.panel__list > li {
	padding: 0 16px 0 10px;
	border-left: 1px solid var(--brand-line);
}

.panel__list a {
	color: #fff;
	text-decoration: none;
}

.panel__list a:hover {
	text-decoration: underline;
}

.panel__list > li > a {
	display: block;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.15;
}

.panel__list .sub-menu {
	margin: 8px 0 0;
	padding: 0;
	list-style: none;
}

.panel__list .sub-menu a {
	display: block;
	padding: 3px 0;
	color: rgb(255 255 255 / 0.85);
	font-size: 16px;
}

.panel__social {
	margin-top: 32px;
}

/* Sektioner: rubrik i vänsterkolumnen, artiklar till höger
   -------------------------------------------------------------------------- */

.section + .section,
.article-wrap + .section {
	border-top: 1px solid var(--ink);
}

.section__inner {
	display: grid;
	grid-template-columns: var(--left-col) minmax(0, 1fr);
	column-gap: var(--gutter);
	padding-bottom: 36px;
	border-inline: 1px solid var(--line);
}

.section__head {
	padding-top: 6px;
}

.section__title {
	font-size: 28px;
	font-weight: 700;
	letter-spacing: -0.015em;
	line-height: 1.1;
}

.section__title a {
	text-decoration: none;
}

.section__title a:hover {
	text-decoration: underline;
}

.section__body {
	min-width: 0;
	padding-top: 8px;
	padding-left: 10px;
	border-left: 1px solid var(--line);
}

@media (min-width: 1300px) {
	/* Luft till höger, som hos Guardian. */
	.section__body {
		margin-right: 80px;
	}
}

@media (max-width: 1139px) {
	:root {
		--left-col: 160px;
	}

	.section__title {
		font-size: 24px;
	}
}

/* Surfplatta: rubriken ovanför artiklarna. */
@media (max-width: 979px) {
	.section__inner {
		grid-template-columns: minmax(0, 1fr);
	}

	.section__head {
		padding-bottom: 8px;
	}

	.section__body {
		padding-left: 0;
		border-left: 0;
	}
}

.block + .block {
	margin-top: 12px;
}

/* Artikelkort
   -------------------------------------------------------------------------- */

.card__link {
	display: block;
	height: 100%;
	color: var(--ink);
	text-decoration: none;
}

.card__media {
	position: relative;
	margin: 0;
	overflow: hidden;
	background: #e7e7e7;
}

.card__media img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.card__body {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.kicker {
	display: block;
	color: var(--kicker);
	font-size: 15px;
	line-height: 1.3;
	text-decoration: none;
}

a.kicker:hover {
	text-decoration: underline;
}

.card__title {
	font-size: 22px;
	font-weight: 500;
	letter-spacing: -0.01em;
	line-height: 1.1;
}

.card__link:hover .card__headline {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.1em;
}

/* Krönikor: blå citattecken och skribentens namn. */
.quote-mark {
	display: inline-block;
	width: 0.85em;
	height: auto;
	margin-right: 0.2em;
	color: var(--kicker);
	vertical-align: 0.05em;
}

.card__byline {
	display: block;
	color: var(--kicker);
}

.card__standfirst {
	margin: 14px 0 0;
	color: var(--muted);
	font-size: 15px;
	line-height: 1.35;
}

.card__meta {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-top: auto;
	padding-top: 16px;
	color: var(--muted);
	font-size: 12px;
	font-weight: 700;
}

.card__comments {
	display: inline-flex;
	align-items: center;
	gap: 3px;
	padding-left: 6px;
	border-left: 1px solid var(--line);
}

/* Stort kort: text vänster, bild höger */

.block + .block--lead {
	padding-top: 6px;
	border-top: 1px solid var(--line);
}

.card--lead .card__link {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
	gap: 12px 20px;
}

.card--lead .card__media {
	order: 2;
	aspect-ratio: 5 / 4;
}

.card--lead .card__title {
	font-size: clamp(26px, 2.6vw, 34px);
	line-height: 1.06;
}

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

.card--grey .card__link {
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	padding: 8px;
	background: var(--grey);
}

.card--grey .card__media {
	aspect-ratio: 5 / 4;
}

.card--grey .card__title {
	font-size: clamp(22px, 2vw, 26px);
}

/* Textlänkar i fyra kolumner */

.links {
	position: relative;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin: 0;
	padding: 8px 0 0;
	list-style: none;
}

.links::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 140px;
	height: 1px;
	background: var(--line);
}

.link {
	padding: 0 10px;
}

.link:first-child {
	padding-left: 0;
}

.link + .link {
	border-left: 1px solid var(--line);
}

.link__a {
	display: block;
	color: var(--ink);
	font-size: 15px;
	line-height: 1.25;
	text-decoration: none;
}

.link__a .kicker {
	display: inline;
	margin-right: 0.2em;
}

.link__a:hover .link__title {
	text-decoration: underline;
}

/* Kort med bild vänster, två i bredd */

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

.card--row {
	position: relative;
	padding-top: 6px;
	border-top: 1px solid var(--line);
}

.rows > .card--row:nth-child(even)::before,
.overlays > .card:nth-child(even)::before,
.tiles > .card + .card::before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: -10px;
	width: 1px;
	background: var(--line);
}

.card--row .card__link {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 20px;
}

.card--row .card__media {
	aspect-ratio: 5 / 4;
}

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

/* Stående bilder med rubriken ovanpå */

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

.card--overlay {
	position: relative;
}

.card--overlay .card__link {
	position: relative;
	display: block;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	background: var(--brand);
}

.card--overlay .card__media {
	position: absolute;
	inset: 0;
}

.card--overlay .card__body {
	position: absolute;
	inset: auto 0 0;
	padding: 60px 8px 10px;
	background: linear-gradient(to top, rgb(0 0 0 / 0.85) 0%, rgb(0 0 0 / 0.7) 55%, transparent);
	color: #fff;
}

.card--overlay .kicker,
.card--overlay .quote-mark,
.card--overlay .card__byline {
	color: var(--kicker-light);
}

.card--overlay .card__title {
	font-size: clamp(22px, 2vw, 26px);
}

.card--overlay .card__meta {
	color: rgb(255 255 255 / 0.8);
	padding-top: 6px;
}

/* Grå kort, fyra i bredd, bilden under rubriken */

.tiles {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
}

.card--tile {
	position: relative;
}

.card--tile .card__link {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 8px;
	background: var(--grey);
}

.card--tile .card__media {
	order: 2;
	margin-top: auto;
	aspect-ratio: 5 / 4;
}

.card--tile .card__title {
	font-size: 20px;
}

/* Mobil: Guardian staplar korten
   -------------------------------------------------------------------------- */

@media (max-width: 739px) {
	:root {
		--gutter: 10px;
	}

	.section__inner {
		border-inline: 0;
		padding-bottom: 24px;
	}

	.section__title {
		font-size: 22px;
	}

	.card--lead .card__link,
	.card--grey .card__link {
		grid-template-columns: minmax(0, 1fr);
	}

	.card--lead .card__media {
		order: -1;
	}

	.card--lead .card__title {
		font-size: 26px;
	}

	.card--lead .card__meta {
		padding-top: 10px;
	}

	.links {
		grid-template-columns: minmax(0, 1fr);
	}

	.link,
	.link:first-child {
		padding: 6px 0;
	}

	.link + .link {
		border-left: 0;
		border-top: 1px solid var(--line);
	}

	.rows,
	.overlays {
		grid-template-columns: minmax(0, 1fr);
		gap: 12px;
	}

	.rows > .card--row:nth-child(even)::before,
	.overlays > .card:nth-child(even)::before {
		display: none;
	}

	.card--row .card__link {
		grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
		gap: 10px;
	}

	.card--row .card__title {
		font-size: 18px;
	}

	.card--row .card__meta {
		padding-top: 8px;
	}

	.card--overlay .card__link {
		aspect-ratio: 4 / 3;
	}

	.tiles {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 16px 20px;
	}

	.tiles > .card:nth-child(odd)::before {
		display: none;
	}

	.card--tile .card__title {
		font-size: 17px;
	}
}

/* Mobil: sidhuvudet */

@media (max-width: 739px) {
	.topbar__inner {
		gap: 10px;
		min-height: 44px;
	}

	.topbar__pitch {
		display: none;
	}

	.topbar__button {
		padding: 3px 12px;
		font-size: 14px;
	}

	.topbar__list {
		display: none;
	}

	.topbar__search {
		border-left: 0;
		font-size: 15px;
	}

	.masthead {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto;
		grid-template-areas:
			"logo logo"
			"pillars burger";
		min-height: 0;
	}

	.masthead__logo {
		justify-self: start;
		margin-right: 0;
		padding: 4px 0 10px;
	}

	.custom-logo {
		max-height: 54px;
	}

	.site-logo--text {
		font-size: 2.2rem;
	}

	.pillars {
		margin-left: calc(-1 * var(--gutter));
		overflow-x: auto;
		scrollbar-width: none;
	}

	.pillars::-webkit-scrollbar {
		display: none;
	}

	.pillars.is-overflowing:not(.is-at-end) {
		-webkit-mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent);
		mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent);
	}

	.pillars__list a,
	.pillars__list li:first-child a {
		min-width: 0;
		padding: 4px 18px 10px var(--gutter);
		font-size: 18px;
	}

	.pillars__list li + li a::after {
		left: 0;
	}

	.burger {
		margin: 0 0 6px 6px;
	}

	.subnav {
		border-inline: 0;
	}
}

/* Sidan för en kategori, arkiv och sök
   -------------------------------------------------------------------------- */

.archive__intro {
	padding-block: 16px;
	border-inline: 1px solid var(--line);
}

.archive__intro .search-form {
	max-width: 640px;
}

.archive__desc {
	max-width: 70ch;
	color: var(--muted);
}

.archive__desc p {
	margin: 0;
}

.pagination-wrap {
	padding-bottom: 40px;
	border-inline: 1px solid var(--line);
}

.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	font-weight: 700;
}

.pagination .page-numbers {
	display: grid;
	place-items: center;
	min-width: 40px;
	height: 40px;
	padding-inline: 12px;
	border: 1px solid var(--line);
	border-radius: 999px;
	font-size: 15px;
	text-decoration: none;
}

.pagination a.page-numbers:hover {
	border-color: var(--brand);
}

.pagination .current {
	background: var(--brand);
	border-color: var(--brand);
	color: #fff;
}

.empty {
	color: var(--muted);
}

@media (max-width: 739px) {
	.archive__intro,
	.pagination-wrap {
		border-inline: 0;
	}
}

/* Artikel + sidokolumn
   -------------------------------------------------------------------------- */

.article-wrap {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	column-gap: 40px;
	padding-block: 12px 40px;
	border-inline: 1px solid var(--line);
}

@media (max-width: 979px) {
	.article-wrap {
		grid-template-columns: minmax(0, 1fr);
		row-gap: 32px;
	}
}

.article {
	max-width: 860px;
}

.article .kicker {
	font-size: 17px;
	font-weight: 700;
}

.article__title {
	margin-top: 6px;
	font-size: clamp(30px, 4vw, 44px);
	font-weight: 500;
	letter-spacing: -0.015em;
	line-height: 1.08;
	text-wrap: balance;
}

.article__columnist {
	margin: 4px 0 0;
	color: var(--kicker);
	font-size: clamp(26px, 3.4vw, 36px);
	line-height: 1.1;
}

.article__lead {
	margin: 14px 0 0;
	font-size: 1.25rem;
	font-weight: 600;
	line-height: 1.3;
}

.article__media {
	margin: 18px 0 0;
}

.article__media img {
	display: block;
	width: 100%;
}

.article__media figcaption,
.article__content figcaption {
	padding-top: 6px;
	color: var(--muted);
	font-family: var(--font-head);
	font-size: 13px;
	line-height: 1.35;
}

.article__media figcaption::before,
.article__content figcaption::before {
	content: "▲";
	margin-right: 4px;
	font-size: 10px;
}

.article__meta {
	display: flex;
	flex-direction: column;
	gap: 2px;
	max-width: 640px;
	margin-top: 16px;
	padding-block: 8px 10px;
	border-block: 1px solid var(--line);
	color: var(--muted);
	font-size: 13px;
}

.article__author {
	color: var(--kicker);
	font-size: 15px;
	font-weight: 700;
}

.article__content {
	max-width: 640px;
	margin-top: 20px;
	font-family: var(--font-body);
	font-size: 1.125rem;
	line-height: 1.6;
}

.article__content > * {
	margin-block: 0 1em;
}

.article__content h2 {
	margin-top: 1.5em;
	font-size: 1.5rem;
	font-weight: 700;
}

.article__content h3 {
	margin-top: 1.4em;
	font-size: 1.25rem;
	font-weight: 700;
}

.article__content a {
	color: var(--kicker);
	text-decoration-color: var(--line);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.15em;
}

.article__content a:hover {
	text-decoration-color: currentColor;
}

.article__content blockquote {
	margin-inline: 0;
	padding: 0;
	color: var(--kicker);
	font-family: var(--font-head);
	font-size: 1.4rem;
	font-weight: 500;
	line-height: 1.25;
}

.article__content blockquote::before {
	content: "”";
	display: block;
	height: 0.55em;
	font-size: 3em;
	font-weight: 800;
	line-height: 1;
}

.article__content figure {
	margin-inline: 0;
}

.article__content hr {
	border: 0;
	border-top: 1px solid var(--line);
}

.article__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	max-width: 640px;
	padding-top: 16px;
	border-top: 1px solid var(--line);
}

.article__tags a {
	padding: 4px 12px;
	border: 1px solid var(--line);
	border-radius: 999px;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
}

.article__tags a:hover {
	border-color: var(--brand);
}

.alignleft {
	float: left;
	margin: 0 1em 1em 0;
}

.alignright {
	float: right;
	margin: 0 0 1em 1em;
}

.aligncenter {
	display: block;
	margin-inline: auto;
}

@media (max-width: 739px) {
	.article-wrap {
		border-inline: 0;
	}

	.article__media {
		margin-inline: calc(-1 * var(--gutter));
	}

	.article__media figcaption {
		padding-inline: var(--gutter);
	}

	.article__content {
		font-size: 1.0625rem;
	}
}

/* Sidokolumn: numrerad "Senaste nytt" */

.latest {
	border-top: 1px solid var(--ink);
}

.latest__title {
	padding-block: 4px 10px;
	font-size: 22px;
	font-weight: 700;
}

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

.latest__item {
	border-top: 1px solid var(--line);
}

.latest__link {
	display: grid;
	grid-template-columns: 44px minmax(0, 1fr);
	gap: 8px;
	padding-block: 6px 14px;
	color: var(--ink);
	text-decoration: none;
}

.latest__num {
	color: var(--brand);
	font-size: 40px;
	font-weight: 300;
	line-height: 1;
}

.latest__link .kicker {
	display: inline;
	margin-right: 0.2em;
	font-size: 16px;
}

.latest__headline {
	font-size: 16px;
	line-height: 1.2;
}

.latest__headline .card__byline {
	display: inline;
}

.latest__link:hover .card__headline {
	text-decoration: underline;
}

.widget {
	margin-top: 32px;
	padding-top: 4px;
	border-top: 1px solid var(--ink);
	font-size: 16px;
}

.widget__title {
	margin-bottom: 10px;
	font-size: 22px;
	font-weight: 700;
}

.widget ul {
	margin: 0;
	padding-left: 1.1em;
}

/* Sök
   -------------------------------------------------------------------------- */

.search-form {
	display: flex;
	gap: 8px;
}

.search-form__input {
	flex: 1;
	min-width: 0;
	height: 44px;
	padding: 0 18px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: #fff;
	color: var(--ink);
	font: inherit;
	font-size: 17px;
}

.search-form__button {
	display: grid;
	place-items: center;
	flex-shrink: 0;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--brand);
	color: #fff;
	cursor: pointer;
}

/* 404 */

.notfound__title {
	font-size: clamp(30px, 4vw, 44px);
}

.notfound__text {
	color: var(--muted);
	font-size: 18px;
}

.notfound .search-form {
	max-width: 560px;
	margin-bottom: 20px;
}

/* Sidfot
   -------------------------------------------------------------------------- */

.site-footer {
	background: var(--brand);
	color: #fff;
}

.site-footer__inner {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);
	padding-block: 12px 32px;
}

.site-footer__col {
	padding: 4px 16px 0 10px;
	border-left: 1px solid var(--brand-line);
}

.site-footer__col:first-child {
	padding-left: 0;
	border-left: 0;
}

.site-footer__logo .custom-logo {
	max-height: 64px;
}

.site-footer__logo .site-logo--text {
	font-size: 2.4rem;
}

.site-footer__text {
	max-width: 46ch;
	margin: 16px 0 0;
	color: rgb(255 255 255 / 0.85);
}

.footer-menu {
	margin: 0;
	padding: 0;
	list-style: none;
}

.footer-menu a {
	display: block;
	padding: 4px 0;
	color: #fff;
	font-size: 16px;
	text-decoration: none;
}

.footer-menu a:hover {
	text-decoration: underline;
}

.site-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding-block: 12px 24px;
	border-top: 1px solid var(--brand-line);
	font-size: 12px;
}

.site-footer__bottom p {
	margin: 0;
}

.to-top {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	text-decoration: none;
}

.to-top__icon {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: #fff;
	color: var(--brand);
}

@media (max-width: 739px) {
	.site-footer__inner {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		row-gap: 20px;
	}

	.site-footer__about {
		grid-column: 1 / -1;
	}

	.site-footer__col:nth-child(2) {
		padding-left: 0;
		border-left: 0;
	}
}

/* Sociala länkar i panelen */

.social {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.social a {
	display: block;
	padding: 5px 14px;
	border: 1px solid var(--brand-line);
	border-radius: 999px;
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	text-decoration: none;
}

.social a:hover {
	background: rgb(255 255 255 / 0.1);
}
