/*
Theme Name: Älvlandet
Theme URI: https://viltfarmen.se/
Author: Nils Nordmark
Description: Fristående guide till upplevelser och friluftsliv i Kalix och Norrbotten. Ljuset styr året: solens bana över Kalix, ljusåret månad för månad, guiderna som stopp längs en skoterled och älvens slinga i sidfoten. Tjärsvart, näverkvit, hjortronamber och renlav.
Template: twentytwentyfive
Version: 1.0.0
Requires at least: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: vf-alvlandet
*/

/* ==========================================================================
   Grund
   ========================================================================== */

:root {
	--tjara: #1A1916;
	--tjara-2: #2A2924;
	--naver: #F3F4F0;
	--hjortron: #F2A100;
	--renlav: #C9D6B8;
	--renlav-ljus: #E2E9DA;
	--gra: #565850;
	--gra-mork: #B7BAAE;
	--linje: #D3D6CC;
	--disp: 'Sansita', 'Trebuchet MS', sans-serif;
	--text: 'Signika', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--kryss: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 4L16 16M16 4L4 16' stroke='%231A1916' stroke-width='3.2' stroke-linecap='round'/%3E%3C/svg%3E");
}

html { -webkit-text-size-adjust: 100%; }
.wp-site-blocks > main, .wp-site-blocks > footer { margin-block-start: 0; }
body {
	background: var(--naver);
	color: var(--tjara);
	font-family: var(--text);
	font-weight: 400;
	font-size: 1.1875rem;
	line-height: 1.66;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	font-feature-settings: "kern" 1;
}
@media (max-width: 600px) { body { font-size: 1.0625rem; } }

h1, h2, h3, h4 { font-family: var(--disp); font-weight: 800; color: var(--tjara); text-wrap: balance; letter-spacing: -.005em; }
h3, h4 { font-weight: 700; }
p, li { text-wrap: pretty; }
strong, b { font-weight: 600; }

a { color: var(--tjara); text-decoration-color: var(--hjortron); text-decoration-thickness: 2px; text-underline-offset: .2em; }
a:hover { color: var(--tjara); text-decoration-thickness: 4px; }
@media (prefers-reduced-motion: no-preference) {
	a, .vf-btn, .vf-amnen a, .vf-nasta, .vf-led-stopp a, .vf-item-title a { transition: color .16s ease, background-color .16s ease, border-color .16s ease, text-decoration-color .16s ease, text-decoration-thickness .16s ease; }
}

:where(a, button, input, select, textarea, summary):focus-visible {
	outline: 3px solid var(--tjara);
	outline-offset: 3px;
	border-radius: 0;
}

.vf-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.vf-dot { margin: 0 .45em; }

.vf-skip {
	position: absolute; left: 1rem; top: -100px; z-index: 1000;
	background: var(--tjara); color: var(--naver); padding: .8rem 1.1rem; font-weight: 600; text-decoration: none;
}
.vf-skip:focus { top: 1rem; outline: 3px solid var(--hjortron); outline-offset: 2px; color: var(--naver); }

.vf-kryss { width: 1em; height: 1em; display: inline-block; flex: none; fill: none; stroke: currentColor; stroke-width: 3.2; stroke-linecap: round; }

.vf-btn {
	display: inline-flex; align-items: center; min-height: 50px; padding: .7rem 1.4rem .66rem;
	background: var(--hjortron); color: var(--tjara); font-weight: 600; font-size: 1.05rem; text-decoration: none;
	border: 2px solid var(--hjortron);
}
.vf-btn:hover { background: transparent; color: var(--naver); border-color: var(--hjortron); }
.vf-arrowlink { font-weight: 600; display: inline-flex; gap: .4em; align-items: center; min-height: 44px; }

/* ==========================================================================
   Sidhuvud
   ========================================================================== */

.vf-header { background: var(--naver); border-bottom: 1px solid var(--tjara); }
.vf-header-row { min-height: 82px; gap: 1.5rem; }
.vf-brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--tjara); min-height: 48px; }
.vf-brand:hover { color: var(--tjara); }
.vf-mark { width: 40px; height: 40px; display: block; flex: none; }
.vf-brand-text { display: flex; flex-direction: column; line-height: 1; }
.vf-wordmark { font-family: var(--disp); font-weight: 800; font-size: 1.9rem; letter-spacing: -.01em; }
.vf-tag { font-size: .82rem; color: var(--gra); margin-top: .28rem; letter-spacing: .01em; }
.vf-brand.is-light, .vf-brand.is-light:hover { color: var(--naver); }
.vf-brand.is-light .vf-tag { color: var(--gra-mork); }
.vf-brand.is-light .vf-mark { background: var(--naver); }

.vf-nav .wp-block-navigation-item__content { display: inline-flex; align-items: center; min-height: 44px; padding: .55rem .85rem .5rem; text-decoration: none; color: var(--tjara); }
.vf-nav .wp-block-navigation-item__content:hover,
.vf-nav .current-menu-item > .wp-block-navigation-item__content,
.vf-nav [aria-current="page"] { text-decoration: underline; text-decoration-color: var(--hjortron); text-decoration-thickness: 4px; text-underline-offset: .42em; color: var(--tjara); }
.vf-nav .wp-block-navigation__submenu-container { border: 1px solid var(--tjara) !important; background: var(--naver) !important; min-width: 290px !important; padding: .4rem 0; }
.vf-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content { padding: .55rem 1.1rem; font-weight: 500; width: 100%; }
.vf-nav .wp-block-navigation-submenu__toggle { min-width: 24px; min-height: 24px; }
.vf-nav-om { margin-left: .5rem; border-left: 1px solid var(--linje); }

.vf-nav .wp-block-navigation__responsive-container-open,
.vf-nav .wp-block-navigation__responsive-container-close { min-width: 44px; min-height: 44px; align-items: center; justify-content: center; color: var(--tjara); }
@media (max-width: 599px) { .vf-nav .wp-block-navigation__responsive-container-open:not(.always-shown) { display: inline-flex; } }
.vf-nav .wp-block-navigation__responsive-container.is-menu-open {
	background: var(--tjara) !important; color: var(--naver) !important; padding: 1.25rem clamp(1rem, 5vw, 2rem) 2.5rem;
}
.vf-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close { color: var(--naver); }
.vf-nav .is-menu-open .wp-block-navigation__responsive-container-content { padding-top: 3.5rem; align-items: flex-start !important; gap: .2rem !important; }
.vf-nav .is-menu-open .wp-block-navigation__container { align-items: flex-start !important; gap: .1rem !important; width: 100%; }
.vf-nav .is-menu-open .wp-block-navigation-item { width: 100%; align-items: flex-start !important; }
.vf-nav .is-menu-open .wp-block-navigation-item__content { color: var(--naver) !important; font-family: var(--disp); font-size: 1.75rem; font-weight: 800; padding: .4rem 0 .3rem !important; }
.vf-nav .is-menu-open .wp-block-navigation__submenu-container { border: 0 !important; background: transparent !important; padding: 0 0 .6rem 1rem !important; min-width: 0 !important; }
.vf-nav .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content { font-family: var(--text); font-size: 1.1rem; font-weight: 500; }
.vf-nav .is-menu-open :focus-visible { outline-color: var(--hjortron); }
.vf-nav .is-menu-open .vf-nav-om { margin-left: 0; border-left: 0; }

@media (max-width: 1000px) and (min-width: 600px) {
	.vf-tag { display: none; }
	.vf-nav .wp-block-navigation-item__content { padding-left: .5rem; padding-right: .5rem; }
}

/* ==========================================================================
   Startsidan
   ========================================================================== */

.vf-home > * + * { margin-top: 0; }

.vf-hero-wrap { background: var(--tjara); color: var(--naver); margin-top: 0 !important; padding-top: clamp(2.75rem, 6vw, 5.5rem); padding-bottom: clamp(2.75rem, 6vw, 5rem); }
.vf-hero-inner { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.vf-hero-title { color: var(--naver); font-size: clamp(2.8rem, 6.2vw, 5.6rem); line-height: .98; letter-spacing: -.015em; margin: 0 0 .4em; }
.vf-hero-lede { font-size: clamp(1.15rem, 1.6vw, 1.38rem); line-height: 1.55; max-width: 34ch; margin: 0 0 1rem; }
.vf-hero-by { font-size: 1rem; color: var(--renlav); margin: 0 0 2rem; }
.vf-hero-links { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; align-items: center; margin: 0; }
.vf-hero-links .vf-arrowlink { color: var(--naver); }
.vf-hero-links .vf-arrowlink:hover { color: var(--naver); }
.vf-hero-wrap :focus-visible { outline-color: var(--hjortron); }

.vf-solfig { margin: 0; }
.vf-sol { display: block; width: 100%; height: auto; overflow: visible; }
.vf-sol path { fill: none; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.vf-sol-sommar { stroke: var(--hjortron); stroke-width: 4; }
.vf-sol-vinter { stroke: var(--hjortron); stroke-width: 4; }
.vf-sol-dag { stroke: var(--renlav); stroke-width: 2; stroke-dasharray: 2 7; }
.vf-sol-horisont { stroke: var(--naver); stroke-width: 2; }
.vf-sol-tick { stroke: var(--naver); stroke-width: 2; }
.vf-sol-v { font-family: var(--text); font-weight: 600; font-size: 15px; fill: var(--renlav); }
.vf-sol-punkt { fill: var(--hjortron); }
.vf-sol-punkt.is-dag { fill: var(--renlav); }
.vf-sol-l { font-family: var(--text); font-weight: 600; font-size: 16px; fill: var(--naver); }
.vf-sol-l.is-small { font-weight: 400; font-size: 13px; fill: var(--renlav); }
.vf-solfig figcaption { margin-top: 1.1rem; font-size: .95rem; line-height: 1.5; color: var(--gra-mork); max-width: 58ch; }

.vf-section { padding-top: clamp(3rem, 6vw, 5.5rem); padding-bottom: 0; }
.vf-home > .vf-section:last-child { padding-bottom: clamp(3rem, 6vw, 5.5rem); }
.vf-sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem 3rem; align-items: end; margin-bottom: 2rem; }
.vf-sec-title { font-size: clamp(1.9rem, 3.4vw, 2.75rem); margin: 0; }
.vf-sec-note { margin: 0; color: var(--gra); max-width: 52ch; font-size: 1.05rem; line-height: 1.55; }
@media (max-width: 800px) { .vf-sec-head { grid-template-columns: 1fr; } }

/* Guiderna som stopp längs en skoterled. */
.vf-leden {
	list-style: none; margin: 0; padding: 0;
	display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 clamp(1.25rem, 2.5vw, 2.5rem);
	background: linear-gradient(to right, var(--tjara) 50%, transparent 0) 0 11px / 14px 2px repeat-x;
}
.vf-led-stopp { position: relative; padding-top: 2.4rem; margin: 0; }
.vf-led-kryss { position: absolute; top: 0; left: 0; width: 24px; height: 24px; padding: 0; color: var(--tjara); background: var(--naver); box-shadow: 0 0 0 5px var(--naver); }
.vf-led-stopp.is-current .vf-led-kryss { color: var(--tjara); background: var(--hjortron); box-shadow: 0 0 0 5px var(--hjortron); }
.vf-led-stopp a { display: flex; flex-direction: column; gap: .45rem; text-decoration: none; color: var(--tjara); min-height: 44px; }
.vf-led-n { font-size: .92rem; font-weight: 600; color: var(--gra); }
.vf-led-t { font-family: var(--disp); font-weight: 800; font-size: clamp(1.4rem, 2vw, 1.7rem); line-height: 1.1; text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 3px; text-underline-offset: .18em; }
.vf-led-e { font-size: 1rem; line-height: 1.5; color: var(--tjara); }
.vf-led-stopp a:hover .vf-led-t, .vf-led-stopp a:focus-visible .vf-led-t { text-decoration-color: var(--hjortron); }
.vf-led-stopp a[aria-current] .vf-led-t { text-decoration-color: var(--hjortron); }
@media (max-width: 1000px) {
	.vf-leden { grid-template-columns: 1fr; background: linear-gradient(to bottom, var(--tjara) 50%, transparent 0) 11px 0 / 2px 14px repeat-y; gap: 0; }
	.vf-led-stopp { padding: 0 0 2rem 3.1rem; }
	.vf-led-stopp:last-child { padding-bottom: .5rem; }
	.vf-led-kryss { top: .1rem; }
}

/* Ljusåret. */
.vf-ar-wrap { background: var(--renlav); margin-top: clamp(3rem, 6vw, 5.5rem) !important; padding-bottom: clamp(3rem, 6vw, 5rem); }
.vf-ar-wrap .vf-sec-note { color: var(--tjara); }
.vf-ar { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); border-top: 1px solid var(--tjara); }
.vf-ar-m { margin: 0; padding: .8rem .55rem 1rem; border-right: 1px solid rgba(26, 25, 22, .28); display: flex; flex-direction: column; }
.vf-ar-m:last-child { border-right: 0; }
.vf-ar-namn { margin: 0 0 .8rem; font-weight: 600; font-size: .95rem; line-height: 1.2; }
.vf-ar-sol { margin: 0 0 .7rem; display: flex; flex-direction: column; gap: .5rem; }
.vf-ar-bar { display: block; position: relative; height: 150px; background: rgba(26, 25, 22, .08); }
.vf-ar-bar span { position: absolute; left: 0; right: 0; bottom: 0; height: calc(var(--h) / 24 * 100%); background: var(--tjara); }
.vf-ar-m.is-now .vf-ar-bar span { background: var(--hjortron); box-shadow: inset 0 0 0 2px var(--tjara); }
.vf-ar-m.is-now { background: rgba(243, 244, 240, .55); }
.vf-ar-tim { font-family: var(--disp); font-weight: 800; font-size: 1.45rem; line-height: 1; font-variant-numeric: tabular-nums; }
.vf-ar-enhet { display: block; font-family: var(--text); font-weight: 400; font-size: .8rem; margin-top: .25rem; }
.vf-ar-lista { list-style: none; margin: 0; padding: 0; font-size: .9rem; line-height: 1.3; }
.vf-ar-lista li { margin: 0 0 .25rem; }
.vf-ar-lista a { display: inline-block; padding: .2rem 0; min-height: 24px; text-decoration-color: var(--tjara); text-decoration-thickness: 1px; }
.vf-ar-lista a:hover { text-decoration-thickness: 3px; text-decoration-color: var(--tjara); }
.vf-ar-not { margin: 1.5rem 0 0; font-size: .92rem; max-width: 80ch; }
.vf-ar-not a { text-decoration-color: var(--tjara); }
@media (max-width: 1100px) {
	.vf-ar { grid-template-columns: repeat(6, minmax(0, 1fr)); }
	.vf-ar-m:nth-child(6) { border-right: 0; }
	.vf-ar-m:nth-child(n+7) { border-top: 1px solid rgba(26, 25, 22, .28); }
	.vf-ar-bar { height: 110px; }
}
@media (max-width: 640px) {
	.vf-ar { grid-template-columns: 1fr; }
	.vf-ar-m { display: grid; grid-template-columns: 6.6rem minmax(0, 1fr); grid-template-areas: "namn sol" ". lista"; gap: .3rem .9rem; border-right: 0; border-bottom: 1px solid rgba(26, 25, 22, .28); padding: .75rem .4rem; }
	.vf-ar-m:nth-child(n+7) { border-top: 0; }
	.vf-ar-namn { grid-area: namn; margin: 0; align-self: center; }
	.vf-ar-sol { grid-area: sol; margin: 0; flex-direction: row; align-items: center; gap: .7rem; }
	.vf-ar-bar { flex: 1; height: 16px; }
	.vf-ar-bar span { top: 0; bottom: 0; right: auto; height: auto; width: calc(var(--h) / 24 * 100%); }
	.vf-ar-tim { font-size: 1.15rem; min-width: 4.6rem; }
	.vf-ar-enhet { display: inline; font-size: .75rem; }
	.vf-ar-lista { grid-area: lista; display: flex; flex-wrap: wrap; gap: 0 1rem; }
}

/* Listposter. */
.vf-nytt { display: grid; gap: 2.5rem; }
.vf-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.25rem clamp(1.25rem, 2.5vw, 2.5rem); }
.vf-grid.is-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1000px) { .vf-grid, .vf-grid.is-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .vf-grid, .vf-grid.is-3 { grid-template-columns: 1fr; } }

.vf-item { border-top: 1px solid var(--tjara); padding-top: 1rem; display: flex; flex-direction: column; gap: .8rem; }
.vf-item-img { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--renlav-ljus); }
.vf-item-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vf-item-title { font-size: 1.4rem; line-height: 1.12; margin: 0; }
.vf-item-title a { text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 3px; text-underline-offset: .16em; }
.vf-item-title a:hover, .vf-item-title a:focus-visible { text-decoration-color: var(--hjortron); }
.vf-item-ex { margin: 0; font-size: 1rem; line-height: 1.5; }
.vf-item-meta { margin: 0; font-size: .9rem; color: var(--gra); }
.vf-item-meta a { color: var(--tjara); font-weight: 600; text-decoration-thickness: 1px; display: inline-block; min-height: 24px; }

.vf-item.is-lead { border-top-width: 3px; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 1.5rem clamp(2rem, 4vw, 4rem); padding-top: 1.4rem; }
.vf-item.is-lead:not(.has-img) { grid-template-columns: minmax(0, 1fr); }
.vf-item.is-lead .vf-item-title { font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: 1.03; max-width: 22ch; }
.vf-item.is-lead .vf-item-ex { font-size: 1.15rem; max-width: 58ch; }
.vf-item.is-lead .vf-item-text { display: flex; flex-direction: column; gap: 1rem; }
@media (max-width: 800px) { .vf-item.is-lead { grid-template-columns: 1fr; } }

/* Ämnen. */
.vf-amnen { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--tjara); }
.vf-amnen li { margin: 0; border-bottom: 1px solid var(--linje); }
.vf-amnen a { display: grid; grid-template-columns: minmax(0, 18rem) minmax(0, 1fr) auto; gap: .3rem 2rem; align-items: baseline; padding: 1.05rem .5rem 1rem; text-decoration: none; color: var(--tjara); }
.vf-amnen a:hover, .vf-amnen a[aria-current] { background: var(--renlav-ljus); }
.vf-amne-t { font-family: var(--disp); font-weight: 800; font-size: 1.45rem; line-height: 1.1; }
.vf-amne-d { font-size: 1rem; line-height: 1.45; }
.vf-amne-n { font-size: .9rem; color: var(--gra); white-space: nowrap; font-variant-numeric: tabular-nums; }
.vf-amnen a:hover .vf-amne-t { text-decoration: underline; text-decoration-color: var(--hjortron); text-decoration-thickness: 3px; text-underline-offset: .16em; }
@media (max-width: 760px) { .vf-amnen a { grid-template-columns: 1fr; } }

/* Om. */
.vf-about { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 1.5rem clamp(2rem, 5vw, 5rem); border-top: 3px solid var(--tjara); margin-top: clamp(3rem, 6vw, 5.5rem) !important; padding-top: 2rem !important; }
.vf-about .vf-sec-title { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.vf-about-text p { margin: 0 0 1rem; max-width: 62ch; }
@media (max-width: 800px) { .vf-about { grid-template-columns: 1fr; } }

/* ==========================================================================
   Artikel
   ========================================================================== */

.vf-single { padding-top: clamp(2rem, 5vw, 4rem); }
.vf-article-head { max-width: 920px; }
.vf-kicker { margin: 0 0 1rem; font-weight: 600; font-size: 1rem; }
.vf-kicker a { display: inline-flex; align-items: center; min-height: 32px; }
.vf-article-title { font-size: clamp(2.3rem, 5.2vw, 4rem); line-height: 1.02; letter-spacing: -.015em; margin: 0 0 .5em; }
.vf-dek { font-size: clamp(1.15rem, 1.7vw, 1.38rem); line-height: 1.5; color: var(--gra); max-width: 60ch; margin: 0 0 1.4rem; }
.vf-dek p { margin: 0; }
.vf-byline { gap: 0 .35rem !important; align-items: baseline; font-size: .98rem; border-top: 1px solid var(--tjara); border-bottom: 1px solid var(--linje); padding: .7rem 0; margin: 0; }
.vf-byline > * { margin: 0 !important; }
.vf-byline .wp-block-post-author-name { font-weight: 600; }
.vf-byline .wp-block-post-date { color: var(--gra); font-size: .98rem; }
.vf-byline .wp-block-post-date::before { content: "·"; margin: 0 .45em 0 .2em; }

.vf-hero-img { margin: clamp(1.75rem, 4vw, 3rem) 0 0 !important; }
.vf-hero-img img { width: 100%; height: auto; max-height: 72vh; object-fit: cover; display: block; }

.vf-read { display: grid; grid-template-columns: 15rem minmax(0, 700px); gap: 2rem clamp(2rem, 5vw, 5rem); margin-top: clamp(2rem, 4vw, 3rem) !important; align-items: start; }
.vf-read.is-guide { grid-template-columns: 16rem minmax(0, 720px); }
.vf-read-aside { position: sticky; top: 1.5rem; margin: 0 !important; }
.vf-read-aside:empty { display: none; }
.vf-read:has(.vf-read-aside:empty) { grid-template-columns: minmax(0, 700px); }
@media (max-width: 1000px) {
	.vf-read, .vf-read.is-guide { grid-template-columns: minmax(0, 1fr); }
	.vf-read-aside { position: static; }
}

.vf-toc-h { font-weight: 600; font-size: .95rem; margin: 0 0 .5rem; padding-bottom: .5rem; border-bottom: 1px solid var(--tjara); }
.vf-toc ol { list-style: none; margin: 0; padding: 0; }
.vf-toc li { margin: 0; position: relative; padding-left: 1.55rem; }
.vf-toc li::before { content: ""; position: absolute; left: 0; top: .72rem; width: .8rem; height: .8rem; background: var(--kryss) center / contain no-repeat; }
.vf-toc li:not(:last-child)::after { content: ""; position: absolute; left: .37rem; top: 1.75rem; bottom: -.3rem; border-left: 2px dotted var(--gra); }
.vf-toc a { display: block; padding: .38rem 0; font-size: .95rem; line-height: 1.35; text-decoration: none; min-height: 24px; }
.vf-toc a:hover { text-decoration: underline; text-decoration-color: var(--hjortron); text-decoration-thickness: 3px; }
@media (max-width: 1000px) { .vf-toc { border: 1px solid var(--tjara); padding: 1rem 1.2rem .6rem; max-width: 700px; } }

.vf-body { max-width: 700px; }
.vf-body > * { margin-block-start: 0; margin-block-end: 0; }
.vf-body > * + * { margin-block-start: 1.15em !important; }
.vf-body h2 { font-size: clamp(1.65rem, 3vw, 2.15rem); line-height: 1.1; margin-block-start: 2.1em !important; scroll-margin-top: 1.5rem; }
.vf-body h3 { font-size: clamp(1.3rem, 2vw, 1.5rem); line-height: 1.15; margin-block-start: 1.7em !important; }
.vf-body h2 + *, .vf-body h3 + * { margin-block-start: .6em !important; }
.vf-body ul, .vf-body ol { padding-left: 1.6rem; }
.vf-body ul { list-style: none; }
.vf-body ul li { position: relative; }
.vf-body ul li::before { content: ""; position: absolute; left: -1.45rem; top: .58em; width: .7em; height: .7em; background: var(--kryss) center / contain no-repeat; }
.vf-body li + li { margin-top: .45em; }
.vf-body ol li::marker { font-weight: 600; }
.vf-body a { overflow-wrap: anywhere; }
.vf-body blockquote { margin-left: 0; padding-left: 1.2rem; border-left: 3px solid var(--hjortron); }
.vf-body table { width: 100%; border-collapse: collapse; font-size: 1rem; font-variant-numeric: tabular-nums; }
.vf-body th, .vf-body td { text-align: left; padding: .55rem .6rem .5rem 0; border-bottom: 1px solid var(--linje); vertical-align: top; }
.vf-body th { border-bottom: 2px solid var(--tjara); font-weight: 600; }

.vf-fakta { background: var(--renlav-ljus); border-top: 4px solid var(--tjara); padding: 1.2rem 1.4rem 1.3rem; font-size: 1.02rem; line-height: 1.55; margin-block-start: 1.8em !important; }
.vf-fakta > * { margin: 0; }
.vf-fakta > * + * { margin-top: .6em; }
.vf-fakta-h { font-family: var(--disp); font-weight: 800; font-size: 1.25rem; line-height: 1.15; }
.vf-fakta ul { padding-left: 1.4rem; }
.vf-fakta ul li { list-style: none; position: relative; }
.vf-fakta ul li::before { content: ""; position: absolute; left: -1.3rem; top: .55em; width: .65em; height: .65em; background: var(--kryss) center / contain no-repeat; }
.vf-fakta + * { margin-block-start: 1.6em !important; }

.vf-author { max-width: 700px; margin: clamp(2.5rem, 5vw, 4rem) 0 0 auto; border-top: 3px solid var(--tjara); padding-top: 1.2rem; }
.vf-read ~ .vf-author { margin-left: calc(15rem + clamp(2rem, 5vw, 5rem)); }
@media (max-width: 1000px) { .vf-read ~ .vf-author { margin-left: 0; } }
.vf-author > * { margin: 0 !important; }
.vf-author-k { font-size: .92rem; color: var(--gra); }
.vf-author-name { font-family: var(--disp); font-weight: 800; font-size: 1.5rem; margin-top: .25rem !important; }
.vf-author .wp-block-post-author-biography { margin-top: .5rem !important; font-size: 1.02rem; line-height: 1.55; max-width: 62ch; }
.vf-author-links { display: flex; flex-wrap: wrap; gap: 0 1.6rem; margin-top: .6rem !important; }
.vf-more { padding-bottom: clamp(3rem, 6vw, 5rem); }

/* ==========================================================================
   Guide (pelarsida)
   ========================================================================== */

.vf-guide-head { background: var(--tjara); color: var(--naver); margin-top: 0 !important; padding-top: clamp(2.5rem, 6vw, 5rem); padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.vf-guide-head-inner { max-width: 1260px; }
.vf-guide-nr { display: flex; align-items: center; gap: .6rem; margin: 0 0 1.4rem; font-weight: 600; color: var(--renlav); }
.vf-guide-nr .vf-kryss { width: 22px; height: 22px; color: var(--hjortron); }
.vf-guide-title { color: var(--naver); font-size: clamp(2.4rem, 5.6vw, 4.6rem); line-height: 1; letter-spacing: -.015em; max-width: 20ch; margin: 0 0 .5em; }
.vf-guide-head .vf-dek { color: var(--renlav); max-width: 58ch; }
.vf-guide-head .vf-byline { border-top-color: var(--naver); border-bottom-color: rgba(243, 244, 240, .28); color: var(--naver); max-width: 920px; }
.vf-guide-head .vf-byline .wp-block-post-author-name { color: var(--naver); }
.vf-guide-head .vf-byline span { color: var(--renlav); }

.vf-nasta { display: grid; grid-template-columns: 1fr auto; gap: .25rem 1.5rem; align-items: end; margin-top: 3rem; padding: 1.4rem 1.5rem 1.5rem; background: var(--hjortron); color: var(--tjara); text-decoration: none; max-width: 700px; }
.vf-nasta-k { grid-column: 1; font-weight: 600; font-size: .95rem; }
.vf-nasta-t { grid-column: 1; font-family: var(--disp); font-weight: 800; font-size: clamp(1.4rem, 2.6vw, 1.9rem); line-height: 1.1; }
.vf-nasta-pil { grid-column: 2; grid-row: 1 / span 2; font-size: 2rem; line-height: 1; }
.vf-nasta:hover { background: var(--tjara); color: var(--naver); }

/* ==========================================================================
   Vanliga sidor
   ========================================================================== */

.vf-page { padding-top: clamp(2rem, 5vw, 4rem); padding-bottom: clamp(3rem, 6vw, 5rem); }
.vf-page-head, .vf-page-body { max-width: 700px; margin-left: auto !important; margin-right: auto !important; }
.vf-page-title { font-size: clamp(2.3rem, 5vw, 3.6rem); line-height: 1.02; margin: 0 0 .5em; }
.vf-page-head { border-bottom: 1px solid var(--tjara); padding-bottom: 1rem; margin-bottom: 2rem !important; }

/* ==========================================================================
   Arkiv, sök och 404
   ========================================================================== */

.vf-archive { padding-top: clamp(2rem, 5vw, 4rem); padding-bottom: clamp(3rem, 6vw, 5rem); }
.vf-archive-head { border-bottom: 3px solid var(--tjara); padding-bottom: 1.4rem; margin-bottom: 0 !important; }
.vf-archive-title { font-size: clamp(2.4rem, 5.6vw, 4.4rem); line-height: 1; margin: 0 0 .4em; }
.vf-arch-k { margin: 0; font-size: .95rem; color: var(--gra); }
.vf-archive-head .vf-dek { margin-bottom: .8rem; }

.vf-list { list-style: none; margin: 0; padding: 0; }
.vf-list > li { margin: 0; }
.vf-row { display: grid; grid-template-columns: 10rem minmax(0, 1fr) 13rem; gap: .4rem 2rem; padding: 1.4rem 0; border-bottom: 1px solid var(--linje); align-items: start; }
.vf-row:not(:has(.vf-row-img)) { grid-template-columns: 10rem minmax(0, 1fr); }
.vf-row > * { margin: 0 !important; }
.vf-row-date { color: var(--gra); font-size: .95rem; padding-top: .35rem; }
.vf-row-title { font-size: clamp(1.35rem, 2.2vw, 1.75rem); line-height: 1.12; margin: 0 0 .45rem !important; }
.vf-row-title a { text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 3px; text-underline-offset: .16em; }
.vf-row-title a:hover, .vf-row-title a:focus-visible { text-decoration-color: var(--hjortron); }
.vf-row-ex p { margin: 0; font-size: 1.02rem; line-height: 1.5; max-width: 66ch; }
.vf-row-img { aspect-ratio: 3 / 2; overflow: hidden; }
.vf-row-img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) {
	.vf-row, .vf-row:not(:has(.vf-row-img)) { grid-template-columns: 1fr; }
	.vf-row-img { order: -1; }
	.vf-row-date { padding-top: 0; }
}

.vf-feed .wp-block-query-pagination { margin-top: 2rem; font-weight: 600; gap: 1rem; }
.vf-feed .wp-block-query-pagination a, .vf-feed .wp-block-query-pagination .current { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; }
.vf-feed .wp-block-query-pagination .current { background: var(--tjara); color: var(--naver); }

.vf-searchform { max-width: 640px; margin-top: 1.2rem !important; }
.vf-searchform .wp-block-search__label { font-weight: 600; font-size: 1rem; margin-bottom: .4rem; display: block; }
.vf-searchform .wp-block-search__inside-wrapper { gap: .5rem; }
.vf-searchform .wp-block-search__input { border: 2px solid var(--tjara); background: #fff; color: var(--tjara); font: inherit; font-size: 1.05rem; padding: .7rem .9rem; min-height: 50px; border-radius: 0; }
.vf-searchform .wp-block-search__button { background: var(--tjara); color: var(--naver); border: 2px solid var(--tjara); font-weight: 600; padding: .6rem 1.4rem; min-height: 50px; margin: 0; border-radius: 0; }
.vf-searchform .wp-block-search__button:hover { background: var(--hjortron); color: var(--tjara); border-color: var(--hjortron); }

/* ==========================================================================
   Sidfot
   ========================================================================== */

.vf-site-footer { margin-top: 0; }
.vf-slinga { display: block; width: 100%; height: 48px; background: var(--tjara); margin: 0; }
.vf-slinga path { fill: none; stroke: var(--hjortron); stroke-width: 2.5; vector-effect: non-scaling-stroke; }
.vf-footer { background: var(--tjara); color: var(--naver); padding-top: clamp(2rem, 4vw, 3rem); padding-bottom: 2.2rem; }
.vf-footer a { color: var(--naver); }
.vf-footer :focus-visible { outline-color: var(--hjortron); }
.vf-footer-cols { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: 2rem clamp(1.5rem, 3vw, 3rem); }
.vf-footer-brand p { font-size: .98rem; line-height: 1.55; max-width: 36ch; color: var(--gra-mork); margin: 1rem 0 0; }
.vf-footer-brand p a { color: var(--naver); }
.vf-footer-h { font-family: var(--disp); font-weight: 800; font-size: 1.2rem; margin: 0 0 .6rem; }
.vf-footer nav ul { list-style: none; margin: 0; padding: 0; }
.vf-footer nav li { margin: 0; }
.vf-footer nav a { display: inline-flex; align-items: center; min-height: 40px; font-size: .98rem; text-decoration-thickness: 1px; text-decoration-color: rgba(243, 244, 240, .4); }
.vf-footer nav a:hover { text-decoration-color: var(--hjortron); text-decoration-thickness: 3px; }
.vf-friskrivning { border-top: 1px solid rgba(243, 244, 240, .25); margin-top: 2.2rem !important; padding-top: 1.2rem; font-size: .92rem; color: var(--gra-mork); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 2rem; }
.vf-friskrivning p { margin: 0; max-width: 80ch; }
@media (max-width: 900px) { .vf-footer-cols { grid-template-columns: 1fr 1fr; } .vf-footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .vf-footer-cols { grid-template-columns: 1fr; } }

/* ==========================================================================
   Mobil och utskrift
   ========================================================================== */

@media (max-width: 900px) {
	.vf-hero-inner { grid-template-columns: 1fr; }
	.vf-hero-title { font-size: clamp(2.5rem, 11vw, 4rem); }
}
@media (max-width: 600px) {
	.vf-header-row { min-height: 68px; }
	.vf-wordmark { font-size: 1.6rem; }
	.vf-tag { font-size: .78rem; }
	.vf-mark { width: 34px; height: 34px; }
	.vf-sol-l { font-size: 22px; }
	.vf-sol-l.is-small { font-size: 18px; }
	.vf-sol-v { font-size: 20px; }
}

@media print {
	.vf-header, .vf-site-footer, .vf-slinga, .vf-more, .vf-read-aside { display: none !important; }
	body { background: #fff; }
}
