@font-face {
	font-family: "Grandstander";
	src: url("taarn-grandstander-700.woff2") format("woff2");
	font-style: normal;
	font-weight: 700;
	font-display: swap;
}

:root {
	--ybk-blue: #213a80;
	--ybk-paper: #fbfaf6;
	--ybk-ink: #172033;
	--ybk-orange: #ffb56b;
	--ybk-line: #d5d8e2;
	--ybk-canvas: #efede4;
	--ybk-muted: #4b546b;
	--ybk-display: "Grandstander", ui-rounded, system-ui, sans-serif;
	--ybk-flow: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--ybk-content: 50rem;
	--ybk-gutter: clamp(0.75rem, 3.25vw, 3rem);
}

.ybk-tertaarn {
	margin: 0;
	min-width: 0;
	background: var(--ybk-canvas);
	color: var(--ybk-ink);
	font: 400 1rem/1.55 var(--ybk-flow);
}

.ybk-shell {
	box-sizing: border-box;
	width: min(100% - var(--ybk-gutter) * 2, 76rem);
	margin-inline: auto;
}

.ybk-tertaarn :focus-visible {
	outline: 3px solid #966120;
	outline-offset: 3px;
}

.ybk-hop {
	position: fixed;
	z-index: 30;
	top: 0.65rem;
	left: 0.65rem;
	padding: 0.75rem 1rem;
	transform: translateY(-200%);
	background: var(--ybk-orange);
	color: var(--ybk-ink);
	font-weight: 700;
}

.ybk-hop:focus {
	transform: none;
}

.ybk-top {
	background: var(--ybk-blue);
	color: white;
	border-block-end: 4px solid #192d65;
}

.ybk-top-row,
.ybk-bottom-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 0.4rem 1.5rem;
}

.ybk-top-row { padding-block: 0.65rem; }

.ybk-wordmark,
.ybk-footer-title {
	color: inherit;
	text-decoration: none;
	font: 700 clamp(1.42rem, 4vw, 1.82rem) / 0.95 var(--ybk-display);
	letter-spacing: -0.035em;
}

.ybk-wordmark {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	min-height: 2.75rem;
}

.ybk-wordmark > span:last-child > span { color: var(--ybk-orange); }

.ybk-symbol {
	display: grid;
	grid-template: repeat(3, 1fr) / repeat(3, 1fr);
	place-items: center;
	width: 2rem;
	height: 2rem;
	padding: 0.25rem;
	border-radius: 0.46rem;
	background: var(--ybk-orange);
	box-sizing: border-box;
	transform: rotate(-9deg);
}

.ybk-symbol i {
	display: block;
	width: 0.29rem;
	aspect-ratio: 1;
	border-radius: 50%;
	background: var(--ybk-blue);
}

.ybk-symbol i:nth-child(2) { grid-column: 3; }
.ybk-symbol i:nth-child(3) { grid-area: 2 / 2; }
.ybk-symbol i:nth-child(4) { grid-area: 3 / 1; }
.ybk-symbol i:nth-child(5) { grid-area: 3 / 3; }

.ybk-top-links,
.ybk-bottom nav {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.25rem;
}

.ybk-top-links a,
.ybk-bottom nav a {
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	min-height: 2.75rem;
	padding: 0.35rem clamp(0.46rem, 1.2vw, 0.86rem);
	border-radius: 0.35rem;
	color: inherit;
	text-decoration: none;
	font-weight: 660;
	font-size: 0.9rem;
	line-height: 1.15;
}

.ybk-top a:focus-visible,
.ybk-bottom a:focus-visible { outline-color: var(--ybk-orange); }

.ybk-top-links a:hover,
.ybk-bottom nav a:hover { background: #ffffff1c; }

.ybk-top-links a[aria-current] {
	color: var(--ybk-ink);
	background: var(--ybk-orange);
	font-weight: 750;
}

.ybk-main {
	position: relative;
	padding-block: clamp(1.4rem, 5vw, 3.25rem) clamp(2.4rem, 7vw, 5.25rem);
	padding-inline-start: clamp(0.8rem, 2.5vw, 2.1rem);
	min-height: 59vh;
}

.ybk-main::before {
	content: "";
	position: absolute;
	inset-block: clamp(1.4rem, 5vw, 3.25rem) clamp(2.4rem, 7vw, 5.25rem);
	inset-inline-start: 0;
	width: clamp(0.29rem, 0.6vw, 0.52rem);
	border-radius: 99px;
	background:
		radial-gradient(circle, #ffffffb3 0 1.15px, transparent 1.5px) center top / 100% 1.15rem repeat-y,
		var(--ybk-blue);
}

.ybk-main a { color: var(--ybk-blue); }
.ybk-main a:hover { text-decoration-thickness: 0.15em; }

.ybk-heading { max-width: 59rem; margin-block-end: clamp(1rem, 4vw, 2.4rem); }

.ybk-heading h1 {
	margin: 0;
	color: var(--ybk-blue);
	font: 700 clamp(2rem, 5.55vw, 4.55rem) / 1.015 var(--ybk-display);
	letter-spacing: -0.044em;
	overflow-wrap: anywhere;
	text-wrap: balance;
}

.ybk-entry-post .ybk-heading h1 { font-size: clamp(2rem, 5.1vw, 4rem); }

.ybk-heading:has(.ybk-editorial-hop) {
	margin-block-end: clamp(0.85rem, 2vw, 1.45rem);
}

.ybk-editorial-hop {
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	min-height: 2.75rem;
	margin-block-start: 0.75rem;
	padding: 0.35rem 0.85rem 0.35rem 0.45rem;
	border: 1px solid #aeb7cf;
	border-radius: 2rem;
	background: var(--ybk-paper);
	font-size: 0.92rem;
	font-weight: 750;
	text-decoration: none;
}

.ybk-editorial-hop span {
	display: grid;
	place-items: center;
	width: 1.85rem;
	aspect-ratio: 1;
	border-radius: 50%;
	background: var(--ybk-orange);
	color: var(--ybk-ink);
}

.ybk-editorial-hop:hover { border-color: var(--ybk-blue); }

.ybk-trail {
	margin-block: 0 0.95rem;
	color: var(--ybk-muted);
	font-size: 0.88rem;
}

.ybk-trail ol {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem 0.65rem;
	padding: 0;
	margin: 0;
	list-style: none;
}

.ybk-trail li + li::before {
	content: "›";
	display: inline-block;
	margin-inline-end: 0.65rem;
	color: #707a95;
}

.ybk-attribution {
	display: flex;
	gap: 0.3rem 1.1rem;
	flex-wrap: wrap;
	align-items: baseline;
	margin-block-start: 1rem;
	font-size: 0.94rem;
	color: var(--ybk-muted);
}

.ybk-attribution a { font-weight: 700; }

.ybk-feature {
	width: min(100%, 63rem);
	margin: 0 0 1.65rem;
}

.ybk-feature img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 31rem;
	object-fit: contain;
	object-position: left center;
	border-radius: 0.75rem;
}

.ybk-recent { margin-block-start: clamp(2rem, 5vw, 3.6rem); }

.ybk-recent-heading {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 0.35rem 0.75rem;
	margin-block-end: 0.8rem;
	padding-block-end: 0.7rem;
	border-block-end: 2px solid var(--ybk-blue);
}

.ybk-recent-heading h2 {
	margin: 0;
	color: var(--ybk-blue);
	font: 700 clamp(1.45rem, 4vw, 2.05rem) / 1.1 var(--ybk-display);
}

.ybk-recent-heading a { font-weight: 700; }

.ybk-card-list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
	gap: 0.9rem;
}

.ybk-card {
	display: grid;
	align-content: start;
	min-width: 0;
	gap: 0.5rem;
	padding: clamp(0.95rem, 3vw, 1.5rem);
	border: 1px solid var(--ybk-line);
	border-top: 4px solid var(--ybk-blue);
	border-radius: 0.48rem 0.48rem 0.75rem 0.75rem;
	background: var(--ybk-paper);
}

.ybk-card time { color: var(--ybk-muted); font-size: 0.86rem; }
.ybk-card h2,
.ybk-card h3 {
	margin: 0;
	font: 700 1.29rem/1.15 var(--ybk-display);
	overflow-wrap: anywhere;
}
.ybk-card h2 a,
.ybk-card h3 a { text-decoration-thickness: 0.08em; text-underline-offset: 0.15em; }
.ybk-card p { margin: 0; }

#ybk-seneste-artikler {
	scroll-margin-top: 1rem;
}

#ybk-seneste-artikler .ybk-card-list {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

#ybk-seneste-artikler .ybk-card {
	gap: 0.72rem;
	border-top-width: 0;
	border-left: 4px solid var(--ybk-blue);
}

#ybk-seneste-artikler .ybk-card:focus-within,
#ybk-seneste-artikler .ybk-card:hover {
	border-left-color: #a7733c;
}

#ybk-seneste-artikler .ybk-card time {
	color: var(--ybk-muted);
	font-weight: 650;
}

.ybk-pagination,
.ybk-main .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	margin-block: 1.5rem;
}

.ybk-pagination > *,
.ybk-main .nav-links > * {
	display: grid;
	place-items: center;
	box-sizing: border-box;
	min-width: 2.75rem;
	min-height: 2.75rem;
	padding-inline: 0.65rem;
	border: 1px solid var(--ybk-line);
	border-radius: 0.3rem;
	background: var(--ybk-paper);
}

.ybk-bottom {
	background: var(--ybk-ink);
	color: var(--ybk-paper);
}

.ybk-bottom-row { padding-block: 1.05rem; }

.ybk-main .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

@media (max-width: 720px) {
	.ybk-top-row { align-items: flex-start; flex-direction: column; }
	.ybk-top-links { width: 100%; }
	.ybk-main { padding-inline-start: 0.8rem; }
	.ybk-heading h1 { text-wrap: wrap; }
}

@media (max-width: 1040px) {
	#ybk-seneste-artikler .ybk-card-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
	#ybk-seneste-artikler .ybk-card-list { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
	.ybk-tertaarn { scroll-behavior: auto; }
}

@media print {
	.ybk-tertaarn { background: white; }
	.ybk-top,
	.ybk-bottom,
	.ybk-hop,
	.ybk-editorial-hop,
	.ybk-trail,
	.ybk-main::before,
	.ybk-recent,
	.ybk-comments { display: none !important; }
	.ybk-main { width: 100%; padding: 0; min-height: 0; }
	.ybk-heading h1 { font-size: 24pt; color: black; }
}
