/*
Theme Name: Föreningsgatan
Theme URI: https://folkrorelser.nu/
Description: Barntema för Föreningsgatan (folkrorelser.nu): folkrörelsernas gata, standar med frans och mötesprotokoll. Skiffer, protokollpapper och duplikatorlila.
Author: Föreningsgatan
Template: twentytwentyfive
Version: 1.0.0
Text Domain: fr-rorelse
*/

:root {
	--skiffer: #34494C;
	--djup: #233538;
	--mellan: #4A6265;
	--ljus: #C7D3D2;
	--dimma: #E3E9E8;
	--papper: #F7F8F5;
	--lila: #5333D8;
	--stencil: #C9BBFF;
	--blak: #172224;
	--gra: #4E5D60;
	--dov: #A9BCBB;
	--disp: Jost, 'Futura', 'Century Gothic', Arial, sans-serif;
	--text: Vollkorn, Georgia, serif;
	--mono: 'Sometype Mono', 'Courier New', monospace;
	--fc: var(--lila);
	--gut: clamp(16px, 4vw, 48px);
	--ease: cubic-bezier(.2, .7, .2, 1);
}

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

html { scroll-padding-top: 1.5rem; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--djup); color: var(--blak); font-family: var(--text); font-feature-settings: "kern", "liga", "onum"; text-rendering: optimizeLegibility; overflow-x: hidden; }
.wp-site-blocks { padding: 0 !important; }
.wp-site-blocks > * { margin-block-start: 0 !important; }
main { display: block; }
img { max-width: 100%; height: auto; }
a { text-underline-offset: .18em; text-decoration-thickness: 1px; transition: color .2s, text-decoration-color .2s, background-color .2s; }
:focus-visible { outline: 3px solid var(--fc); outline-offset: 3px; border-radius: 2px; }
.is-dark-ctx, .fr-header, .fr-hero-wrap, .fr-section:not(.fr-method), .fr-article-head, .fr-guide-head, .fr-page-head, .fr-arch-wrap, .fr-footer, .fr-404 { --fc: var(--stencil); }
.screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important; }
.fr-type { font-family: var(--mono); font-weight: 400; letter-spacing: 0; }
.fr-wide { max-width: 1340px; margin-inline: auto; padding-inline: var(--gut); box-sizing: border-box; }
.fr-label { font-family: var(--mono); font-size: .8rem; letter-spacing: .02em; margin: 0 0 .6rem; color: var(--gra); }

.fr-skip { position: absolute; left: 1rem; top: -100px; z-index: 100; background: var(--stencil); color: var(--blak); padding: .8rem 1.1rem; font-family: var(--disp); font-weight: 600; text-decoration: none; border-radius: 2px; }
.fr-skip:focus { top: 1rem; outline-color: var(--papper); }

.fr-arrow { font-family: var(--disp); font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: .55em; min-height: 44px; }
.fr-arrow::after { content: ""; width: 1.4em; height: .7em; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 14'%3E%3Cpath d='M0 7h24M18 1l6 6-6 6' fill='none' stroke='%23000' stroke-width='2.2'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 14'%3E%3Cpath d='M0 7h24M18 1l6 6-6 6' fill='none' stroke='%23000' stroke-width='2.2'/%3E%3C/svg%3E") center/contain no-repeat; transition: transform .25s var(--ease); }
.fr-arrow:hover::after, .fr-arrow:focus-visible::after { transform: translateX(4px); }
.fr-arrow:hover { text-decoration: underline; }

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

.fr-header { background: var(--djup); color: var(--papper); position: relative; z-index: 20; border-bottom: 1px solid rgba(201, 187, 255, .18); }
.fr-header-in { max-width: 1340px; margin: 0 auto; padding: .7rem var(--gut); display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; }
.fr-brand { display: inline-flex; align-items: center; gap: .75rem; color: var(--papper); text-decoration: none; min-height: 44px; }
.fr-brand-mark { width: 40px; height: 40px; flex: none; transition: transform .4s var(--ease); transform-origin: 50% 20%; }
.fr-brand:hover .fr-brand-mark { transform: rotate(-4deg); }
.fr-brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.fr-brand-name { font-family: var(--disp); font-weight: 600; font-size: 1.32rem; letter-spacing: -.01em; }
.fr-brand-sub { font-family: var(--mono); font-size: .74rem; color: var(--dov); margin-top: .22rem; }
.fr-nav-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: .15rem; }
.fr-nav-list a { display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; padding: 0 .75rem; color: var(--papper); text-decoration: none; font-family: var(--disp); font-weight: 500; font-size: 1rem; border-radius: 2px; position: relative; }
.fr-nav-list a::after { content: ""; position: absolute; left: .75rem; right: .75rem; bottom: 8px; height: 2px; background: var(--stencil); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.fr-nav-list a:hover::after, .fr-nav-list a[aria-current]::after { transform: scaleX(1); }
.fr-nav-list a[aria-current] { color: var(--stencil); }
.fr-nav-list .is-sep { margin-left: .6rem; padding-left: .6rem; border-left: 1px solid rgba(247, 248, 245, .22); }
.fr-nav-sok a { border: 1px solid rgba(201, 187, 255, .45); margin-left: .4rem; }
.fr-nav-sok a::after { display: none; }
.fr-nav-sok a:hover { background: var(--stencil); color: var(--blak); }

.fr-menu-btn { display: none; align-items: center; gap: .55rem; min-height: 44px; padding: 0 .9rem; background: transparent; color: var(--papper); border: 1px solid rgba(201, 187, 255, .5); border-radius: 2px; font-family: var(--disp); font-weight: 600; font-size: 1rem; cursor: pointer; }
.fr-menu-ico { display: inline-flex; flex-direction: column; gap: 4px; width: 18px; }
.fr-menu-ico span { height: 2px; background: currentColor; transition: transform .25s, opacity .2s; }
.fr-menu-ico span:nth-child(3) { width: 60%; }
.fr-has-menu .fr-menu-btn:not([hidden]) { display: inline-flex; }
@media (max-width: 1000px) {
	.fr-has-menu .fr-nav { display: none; width: 100%; }
	.fr-menu-open .fr-nav { display: block; }
	.fr-menu-open .fr-menu-ico span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
	.fr-menu-open .fr-menu-ico span:nth-child(2) { opacity: 0; }
	.fr-menu-open .fr-menu-ico span:nth-child(3) { width: 100%; transform: translateY(-6px) rotate(-45deg); }
	.fr-has-menu .fr-nav-list { flex-direction: column; align-items: stretch; padding: .5rem 0 1rem; }
	.fr-has-menu .fr-nav-list a { padding: 0 .25rem; font-size: 1.15rem; border-bottom: 1px solid rgba(247, 248, 245, .12); }
	.fr-has-menu .fr-nav-list a::after { left: .25rem; right: auto; width: 2.5rem; }
	.fr-has-menu .fr-nav-list .is-sep { margin: 0; padding: 0; border: 0; }
	.fr-has-menu .fr-nav-sok a { margin: .6rem 0 0; justify-content: center; }
}

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

.fr-search { max-width: 34rem; }
.fr-search label { display: block; font-family: var(--disp); font-weight: 600; font-size: 1rem; margin-bottom: .45rem; }
.fr-search-row { display: flex; gap: 0; }
.fr-search input { flex: 1; min-width: 0; min-height: 50px; padding: 0 1rem; font: 1.05rem var(--text); color: var(--blak); background: var(--papper); border: 2px solid var(--blak); border-right: 0; border-radius: 2px 0 0 2px; }
.fr-search input::placeholder { color: #5E6C6E; opacity: 1; }
.fr-search button { min-height: 50px; padding: 0 1.3rem; background: var(--lila); color: #fff; border: 2px solid var(--lila); border-radius: 0 2px 2px 0; font-family: var(--disp); font-weight: 600; font-size: 1.02rem; cursor: pointer; transition: background .2s; }
.fr-search button:hover { background: var(--blak); border-color: var(--blak); }
.fr-search.is-hero label, .fr-search.is-dark label { color: var(--papper); }
.fr-search.is-hero input, .fr-search.is-dark input { border-color: var(--papper); }
.fr-search.is-hero button, .fr-search.is-dark button { background: var(--stencil); color: var(--blak); border-color: var(--stencil); }
.fr-search.is-hero button:hover, .fr-search.is-dark button:hover { background: var(--papper); border-color: var(--papper); }

/* ---------- Startsidan: gatan ---------- */

.fr-hero-wrap { background: var(--skiffer); color: var(--papper); overflow: hidden; }
.fr-hero { padding: clamp(2.5rem, 6vw, 5rem) 0 0; }
.fr-hero-text { max-width: 60rem; }
.fr-eyebrow { margin: 0 0 1.2rem; }
.fr-eyebrow .fr-type { display: inline-block; font-size: .9rem; color: var(--stencil); border: 1px solid rgba(201, 187, 255, .5); padding: .35rem .7rem; border-radius: 2px; }
.fr-hero-title { font-family: var(--disp); font-weight: 600; font-size: clamp(2.6rem, 6.6vw, 6.2rem); line-height: .98; letter-spacing: -.025em; color: var(--papper); margin: 0 0 2rem; max-width: 15ch; text-wrap: balance; }
.fr-hero-title em { font-style: normal; color: var(--stencil); position: relative; white-space: nowrap; }
.fr-hero-title em::after { content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .14em; background: repeating-linear-gradient(90deg, var(--stencil) 0 3px, transparent 3px 7px); }
.fr-hero-lede { font-size: clamp(1.15rem, 1.6vw, 1.38rem); line-height: 1.55; max-width: 44rem; color: var(--dimma); margin: 0 0 2rem; }

.fr-street { margin-top: clamp(2.5rem, 5vw, 4rem); position: relative; }
.fr-street-cap { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem 1.2rem; margin: 0 0 1.4rem; }
.fr-street-sign { font-family: var(--disp); font-weight: 600; text-transform: uppercase; letter-spacing: .12em; font-size: 1rem; color: #fff; background: var(--lila); padding: .45rem .9rem; border: 2px solid #fff; border-radius: 4px; box-shadow: 0 0 0 3px var(--lila); }
.fr-street-sub { font-family: var(--mono); font-size: .86rem; color: var(--dov); }
.fr-lots { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(8, 1fr); gap: 0 .4rem; position: relative; z-index: 1; }
.fr-lot a { display: flex; flex-direction: column; align-items: center; text-align: center; color: var(--papper); text-decoration: none; padding: 0 .1rem 1rem; position: relative; border-radius: 2px; }
.fr-house { width: 100%; max-width: 170px; height: auto; display: block; overflow: visible; transition: transform .45s var(--ease); transform-origin: 50% 100%; }
.fr-house .h-wall { fill: var(--mellan); }
.fr-house .h-roof { fill: var(--djup); }
.fr-house .h-win { fill: #8FA3A3; transition: fill .3s; }
.fr-house .h-door { fill: var(--djup); }
.fr-house .h-line, .fr-house .h-mull, .fr-house .h-net, .fr-house .h-pole { fill: none; stroke: var(--papper); stroke-width: 2; stroke-linecap: round; }
.fr-house rect.h-line { fill: var(--papper); stroke: none; }
.fr-house .h-mull { stroke: var(--mellan); stroke-width: 2.5; }
.fr-house .h-net { stroke: var(--ljus); stroke-width: 1.4; }
.fr-house .h-flag { fill: var(--stencil); }
.fr-house .h-sign { fill: var(--papper); }
.fr-house .h-awn { fill: var(--stencil); }
.fr-lot-nr { font-family: var(--mono); font-size: .8rem; color: var(--blak); background: var(--papper); min-width: 1.9rem; padding: .1rem .35rem; border-radius: 999px; margin-top: .6rem; border: 2px solid var(--djup); box-shadow: 0 0 0 1px var(--papper); }
.fr-lot-hus { font-family: var(--disp); font-weight: 600; font-size: 1.02rem; margin-top: .55rem; line-height: 1.15; }
.fr-lot-r { font-family: var(--text); font-style: italic; font-size: .98rem; color: var(--ljus); line-height: 1.25; margin-top: .15rem; }
.fr-lot a:hover .fr-house, .fr-lot a:focus-visible .fr-house { transform: translateY(-6px); }
.fr-lot a:hover .h-win, .fr-lot a:focus-visible .h-win { fill: var(--stencil); }
.fr-lot a:hover .fr-lot-hus, .fr-lot a:focus-visible .fr-lot-hus { text-decoration: underline; text-decoration-color: var(--stencil); text-underline-offset: .22em; }
.fr-road { height: 46px; background: var(--djup); margin: -1.1rem calc(var(--gut) * -1) 0; position: relative; }
.fr-road::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--mellan); }
.fr-road::after { content: ""; position: absolute; left: 0; right: 0; top: 24px; height: 3px; background: repeating-linear-gradient(90deg, rgba(247, 248, 245, .55) 0 26px, transparent 26px 52px); }
.fr-lots::after { content: ""; position: absolute; left: 0; right: 0; bottom: calc(1rem + 6.1rem); }

/* Gatans husrad: marken ligger under husen, etiketterna står på trottoaren */
.fr-lot { display: flex; flex-direction: column; justify-content: flex-end; }
.fr-lot a { justify-content: flex-end; height: 100%; }

@media (max-width: 1100px) {
	.fr-lots { grid-template-columns: repeat(4, 1fr); gap: 1.4rem .6rem; }
	.fr-lot a { background: rgba(35, 53, 56, .45); padding: .9rem .4rem 1rem; }
	.fr-road { margin-top: 1.5rem; }
}
@media (max-width: 600px) {
	.fr-lots { grid-template-columns: repeat(2, 1fr); gap: .8rem; }
	.fr-house { max-width: 140px; }
	.fr-lot-hus { font-size: 1rem; }
}

/* ---------- Sektioner ---------- */

.fr-section { padding-block: clamp(3rem, 7vw, 6rem); color: var(--papper); }
.fr-section.is-tight { padding-block: clamp(2rem, 4vw, 3.5rem); }
.fr-sec-head { margin-bottom: clamp(1.8rem, 3.5vw, 2.8rem); max-width: 48rem; }
.fr-sec-label { font-family: var(--mono); font-size: .9rem; margin: 0 0 .7rem; color: var(--stencil); display: flex; align-items: center; gap: .7rem; }
.fr-sec-label::before { content: ""; width: 2.2rem; height: 10px; background: repeating-linear-gradient(90deg, currentColor 0 2px, transparent 2px 5px); }
.fr-sec-title { font-family: var(--disp); font-weight: 600; font-size: clamp(2rem, 4.2vw, 3.4rem); line-height: 1.02; letter-spacing: -.02em; margin: 0 0 .9rem; color: var(--papper); text-wrap: balance; }
.fr-sec-title em { font-style: normal; color: var(--stencil); }
.fr-sec-lede { font-size: 1.15rem; color: var(--dimma); margin: 0; max-width: 40rem; }
.fr-sec-link { margin: .9rem 0 0; }
.fr-sec-link a, .fr-section .fr-arrow { color: var(--stencil); }
.fr-sec-head.is-small .fr-sec-title { font-size: clamp(1.7rem, 3vw, 2.4rem); }

/* Ljusa sektioner */
.fr-guidewrap, .fr-agendawrap, .fr-method { --fc: var(--lila); background: var(--dimma); color: var(--blak); }
.fr-guidewrap .fr-sec-label, .fr-agendawrap .fr-sec-label, .fr-method .fr-sec-label { color: var(--lila); }
.fr-guidewrap .fr-sec-title, .fr-agendawrap .fr-sec-title, .fr-method .fr-sec-title { color: var(--blak); }
.fr-guidewrap .fr-sec-title em { color: var(--lila); }
.fr-guidewrap .fr-sec-lede, .fr-agendawrap .fr-sec-lede, .fr-method .fr-sec-lede { color: var(--gra); }
.fr-guidewrap .fr-sec-link a, .fr-agendawrap .fr-arrow, .fr-method .fr-arrow { color: var(--lila); }
.fr-guidewrap { padding-block: clamp(3rem, 7vw, 6rem); }
.fr-guidewrap.is-compact { padding-block: clamp(2.5rem, 5vw, 4rem); }

/* ---------- Standaren på stången ---------- */

.fr-rod-wrap { position: relative; padding-top: 14px; }
.fr-rod { position: absolute; left: -8px; right: -8px; top: 6px; height: 8px; background: var(--djup); border-radius: 8px; }
.fr-rod::before, .fr-rod::after { content: ""; position: absolute; top: -6px; width: 20px; height: 20px; border-radius: 50%; background: var(--djup); }
.fr-rod::before { left: -10px; } .fr-rod::after { right: -10px; }
.fr-standars { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2.4vw, 2rem); }
.fr-standar { position: relative; padding-top: 30px; transform-origin: 50% 0; transition: transform .6s var(--ease); display: flex; flex-direction: column; }
.fr-standar-cords { position: absolute; top: 0; left: 18%; right: 18%; height: 30px; border-left: 2px solid var(--djup); border-right: 2px solid var(--djup); }
.fr-standar-cords::before { content: ""; position: absolute; left: -7px; right: -7px; bottom: -2px; height: 6px; background: var(--djup); border-radius: 3px; }
.fr-standar-cloth { padding: 1.6rem 1.4rem 1.5rem; flex: 1; display: flex; flex-direction: column; position: relative; }
.fr-standar-k { margin: 0 0 1rem; font-family: var(--disp); font-weight: 500; font-size: .95rem; display: flex; gap: .6rem; align-items: baseline; }
.fr-standar-k .fr-type { font-size: .78rem; padding: .15rem .4rem; border: 1px solid currentColor; border-radius: 2px; }
.fr-standar-t { font-family: var(--disp); font-weight: 600; font-size: clamp(1.35rem, 2vw, 1.65rem); line-height: 1.12; margin: 0 0 .8rem; text-wrap: balance; }
.fr-standar .fr-standar-t, .fr-standar .fr-standar-t a { color: inherit; text-decoration: none; }
.fr-standar-t a::before { content: ""; position: absolute; inset: 0; z-index: 1; }
.fr-standar-t a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.fr-standar-e { margin: 0 0 1.2rem; font-size: 1.02rem; line-height: 1.5; }
.fr-standar-m { margin: auto 0 0; font-size: .82rem; }
.fr-standar-fringe { display: block; height: 22px; margin-top: -1px; background: repeating-linear-gradient(90deg, var(--fr-f) 0 3px, transparent 3px 6px); -webkit-mask: linear-gradient(#000 70%, transparent); mask: linear-gradient(#000 70%, transparent); position: relative; }
.fr-standar-fringe::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--fr-f); }
.fr-standar:hover, .fr-standar:focus-within { transform: rotate(-1.2deg); }
.fr-standar:nth-child(even):hover, .fr-standar:nth-child(even):focus-within { transform: rotate(1.2deg); }
.fr-standar:focus-within .fr-standar-cloth { outline: 3px solid var(--lila); outline-offset: 4px; }
.fr-standar-t a:focus-visible { outline: none; }
.fr-standar.is-lila .fr-standar-cloth { background: var(--lila); color: #fff; --fc: var(--stencil); }
.fr-standar.is-lila { --fr-f: var(--lila); }
.fr-standar.is-skiffer .fr-standar-cloth { background: var(--skiffer); color: var(--papper); }
.fr-standar.is-skiffer { --fr-f: var(--skiffer); }
.fr-standar.is-ljus .fr-standar-cloth { background: var(--ljus); color: var(--blak); }
.fr-standar.is-ljus { --fr-f: var(--mellan); }
.fr-standar.is-papper .fr-standar-cloth { background: var(--papper); color: var(--blak); box-shadow: inset 0 0 0 2px var(--djup); }
.fr-standar.is-papper { --fr-f: var(--djup); }
.fr-standar.is-lila .fr-standar-cloth::after, .fr-standar.is-skiffer .fr-standar-cloth::after { content: ""; position: absolute; inset: 8px; border: 1px dashed rgba(247, 248, 245, .35); pointer-events: none; }
.fr-standar.is-ljus .fr-standar-cloth::after, .fr-standar.is-papper .fr-standar-cloth::after { content: ""; position: absolute; inset: 8px; border: 1px dashed rgba(23, 34, 36, .3); pointer-events: none; }
@media (max-width: 1100px) { .fr-standars { grid-template-columns: repeat(2, 1fr); row-gap: 2.6rem; } .fr-rod { display: none; } .fr-standar:nth-child(n) .fr-standar-cords::after { content: ""; position: absolute; top: -10px; left: -14%; right: -14%; height: 8px; border-radius: 8px; background: var(--djup); } }
@media (max-width: 600px) { .fr-standars { grid-template-columns: 1fr; } }

/* ---------- Protokollbladen (kort) ---------- */

.fr-cards { display: grid; gap: clamp(1rem, 2.2vw, 1.8rem); grid-template-columns: repeat(3, 1fr); }
.fr-cards.is-latest { grid-template-columns: repeat(3, 1fr); }
.fr-cards.is-latest .fr-card.is-big { grid-column: span 2; grid-row: span 2; }
.fr-card { --fc: var(--lila); background: var(--papper); color: var(--blak); position: relative; display: flex; flex-direction: column; border-radius: 2px; box-shadow: 0 1px 0 rgba(0, 0, 0, .08), 0 14px 30px -18px rgba(10, 20, 22, .55); transition: transform .35s var(--ease), box-shadow .35s; }
.fr-card::before { content: ""; position: absolute; top: 0; bottom: 0; left: 2.1rem; width: 1px; background: rgba(83, 51, 216, .28); pointer-events: none; z-index: 1; }
.fr-card:hover { transform: translateY(-4px); box-shadow: 0 1px 0 rgba(0, 0, 0, .08), 0 22px 40px -20px rgba(10, 20, 22, .6); }
.fr-card-img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--ljus); }
.fr-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(.72) contrast(1.04); transition: filter .4s, transform .6s var(--ease); }
.fr-card:hover .fr-card-img img { filter: saturate(1); transform: scale(1.03); }
.fr-card-body { padding: 1.2rem 1.3rem 1.5rem 2.9rem; display: flex; flex-direction: column; flex: 1; }
.fr-card-meta { display: flex; flex-wrap: wrap; gap: .3rem .9rem; align-items: center; margin: 0 0 .7rem; font-family: var(--mono); font-size: .8rem; color: var(--gra); }
.fr-card-meta a { color: var(--gra); position: relative; z-index: 2; text-decoration: none; min-height: 24px; display: inline-flex; align-items: center; }
.fr-card-meta a:hover { color: var(--lila); text-decoration: underline; }
.fr-par { color: var(--lila); font-weight: 700; position: absolute; left: .45rem; font-size: .74rem; writing-mode: vertical-rl; transform: rotate(180deg); top: auto; }
.fr-card-meta .fr-par { position: static; writing-mode: horizontal-tb; transform: none; margin-left: -2.2rem; width: 1.9rem; font-size: .76rem; }
.fr-card-title { font-family: var(--disp); font-weight: 600; font-size: 1.32rem; line-height: 1.15; margin: 0 0 .6rem; letter-spacing: -.005em; text-wrap: balance; }
.fr-card-title a { color: var(--blak); text-decoration: none; }
.fr-card-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.fr-card-title a:hover { text-decoration: underline; text-decoration-color: var(--lila); text-decoration-thickness: 2px; }
.fr-card:focus-within { outline: 3px solid var(--stencil); outline-offset: 3px; }
.fr-card-title a:focus-visible { outline: none; }
.fr-card-ex { margin: 0; font-size: 1.02rem; line-height: 1.5; color: #2F3D40; }
.fr-card-noimg { aspect-ratio: 16 / 7; background: var(--lila); display: flex; align-items: flex-end; justify-content: space-between; padding: 1.4rem 1.6rem 1.4rem 2.9rem; color: var(--stencil); position: relative; overflow: hidden; }
.fr-card-noimg::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 14px; background: repeating-linear-gradient(90deg, var(--stencil) 0 3px, transparent 3px 6px); opacity: .7; }
.fr-card-noimg .fr-type { font-size: clamp(3rem, 7vw, 6rem); line-height: .9; color: #fff; font-weight: 700; }
.fr-card-noimg .fr-gavel { width: 72px; height: 72px; }
.fr-card-noimg .fr-gavel .fr-gavel-head rect, .fr-card-noimg .fr-gavel .fr-gavel-block { fill: var(--stencil); }
.fr-card-noimg .fr-gavel .fr-gavel-handle { stroke: var(--stencil); }
.fr-card.is-big .fr-card-title { font-size: clamp(1.6rem, 2.6vw, 2.25rem); }
.fr-card.is-big .fr-card-img { aspect-ratio: 16 / 10; }
.fr-card.is-big .fr-card-ex { font-size: 1.12rem; }
.fr-card.is-page .fr-card-meta .fr-par { width: auto; margin-left: 0; }
@media (max-width: 1000px) { .fr-cards, .fr-cards.is-latest { grid-template-columns: repeat(2, 1fr); } .fr-cards.is-latest .fr-card.is-big { grid-column: 1 / -1; grid-row: auto; } }
@media (max-width: 640px) { .fr-cards, .fr-cards.is-latest { grid-template-columns: 1fr; } }

/* ---------- Årsmötet ---------- */

.fr-agendawrap { padding-block: clamp(3rem, 7vw, 6rem); }
.fr-agenda-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.fr-agenda-intro { position: sticky; top: 2rem; }
.fr-agenda-sheet { background: var(--papper); padding: clamp(1.4rem, 3vw, 2.4rem) clamp(1.2rem, 3vw, 2.6rem); box-shadow: 0 1px 0 rgba(0, 0, 0, .08), 0 24px 40px -26px rgba(10, 20, 22, .5); position: relative; }
.fr-agenda-sheet::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 8px; background: radial-gradient(circle at 6px 4px, var(--dimma) 3px, transparent 3.5px) 0 0 / 22px 8px repeat-x; }
.fr-agenda-head { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .4rem 1rem; font-size: .86rem; color: var(--gra); border-bottom: 2px solid var(--blak); padding-bottom: .7rem; margin: 0 0 .4rem; }
.fr-agenda-head span:first-child { color: var(--blak); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.fr-agenda-list { list-style: none; margin: 0; padding: 0; }
.fr-agenda-list li { display: grid; grid-template-columns: 3.4rem 1fr 28px; align-items: center; gap: .5rem; padding: .5rem .2rem; border-bottom: 1px dotted rgba(23, 34, 36, .3); font-family: var(--mono); font-size: .95rem; line-height: 1.35; transition: background .2s; }
.fr-agenda-n { color: var(--lila); font-weight: 700; }
.fr-agenda-list li:hover { background: rgba(201, 187, 255, .28); }
.fr-gavel { width: 28px; height: 28px; overflow: visible; }
.fr-gavel .fr-gavel-head rect, .fr-gavel .fr-gavel-block { fill: var(--mellan); }
.fr-gavel .fr-gavel-handle { stroke: var(--mellan); stroke-width: 4; stroke-linecap: round; fill: none; }
.fr-gavel.is-row { opacity: .35; transition: opacity .2s; }
.fr-gavel .fr-gavel-head, .fr-gavel .fr-gavel-handle { transform-origin: 40px 40px; transition: transform .25s var(--ease); }
.fr-agenda-list li:hover .fr-gavel { opacity: 1; }
.fr-agenda-list li:hover .fr-gavel-head, .fr-agenda-list li:hover .fr-gavel-handle { transform: rotate(-14deg); }
.fr-agenda-sign { display: flex; align-items: flex-end; gap: 1rem; margin: 1.6rem 0 0; font-size: .85rem; color: var(--gra); }
.fr-sig { display: inline-block; width: 9rem; height: 2.4rem; border-bottom: 1px solid var(--blak); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 140 36'%3E%3Cpath d='M4 26c10-14 16-20 20-16s-8 16-2 14 10-18 16-16-4 14 2 13 8-10 12-9 0 8 4 8 10-10 16-10 2 9 8 9 14-6 22-7 16 0 26-3' fill='none' stroke='%235333D8' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") left bottom / contain no-repeat; }
.fr-agenda-more { margin: 1.2rem 0 0; }
@media (max-width: 900px) { .fr-agenda-grid { grid-template-columns: 1fr; } .fr-agenda-intro { position: static; } }

/* ---------- Ämnen ---------- */

.fr-topics { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(.8rem, 2vw, 1.4rem); }
.fr-topic a { display: flex; flex-direction: column; height: 100%; box-sizing: border-box; padding: 1.5rem 1.4rem 1.4rem; background: var(--djup); color: var(--papper); text-decoration: none; border: 2px solid var(--mellan); border-radius: 4px; position: relative; transition: border-color .25s, transform .35s var(--ease), background .25s; }
.fr-topic a::before { content: ""; position: absolute; top: 9px; left: 50%; width: 9px; height: 9px; margin-left: -4.5px; border-radius: 50%; background: var(--mellan); }
.fr-topic a:hover, .fr-topic a:focus-visible { border-color: var(--stencil); transform: translateY(-4px); background: #1D2D30; }
.fr-ico { width: 46px; height: 46px; fill: none; stroke: var(--stencil); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 1rem; }
.fr-topic-t { font-family: var(--disp); font-weight: 600; font-size: 1.4rem; line-height: 1.1; margin-bottom: .5rem; }
.fr-topic-d { font-size: 1rem; line-height: 1.45; color: var(--ljus); margin-bottom: 1.1rem; }
.fr-topic-n { margin-top: auto; font-size: .82rem; color: var(--stencil); }
@media (max-width: 1000px) { .fr-topics { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .fr-topics { grid-template-columns: 1fr; } }

/* ---------- Principer ---------- */

.fr-method { color: var(--blak); background: var(--papper); }
.fr-method-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.fr-method-text p { font-size: 1.12rem; max-width: 38rem; }
.fr-principles { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--blak); }
.fr-principles li { display: grid; grid-template-columns: 2.2rem 1fr; gap: .1rem .6rem; padding: 1rem 0; border-bottom: 1px solid rgba(23, 34, 36, .2); }
.fr-principles .fr-type { grid-row: span 2; color: var(--lila); font-weight: 700; padding-top: .2rem; }
.fr-principles b { font-family: var(--disp); font-weight: 600; font-size: 1.2rem; }
.fr-principles li > span:last-child { color: var(--gra); font-size: 1rem; }
@media (max-width: 900px) { .fr-method-grid { grid-template-columns: 1fr; } }

/* ---------- Artikelns huvud ---------- */

.fr-article-head, .fr-page-head { background: var(--skiffer); color: var(--papper); max-width: none !important; padding: clamp(2.5rem, 6vw, 4.5rem) max(var(--gut), calc((100% - 1040px) / 2)) clamp(2rem, 4vw, 3rem); box-sizing: border-box; }
.fr-article-head > *, .fr-page-head > * { margin-left: 0 !important; margin-right: 0 !important; }
.fr-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .9rem; font-family: var(--mono); font-size: .86rem; margin: 0 0 1.1rem; color: var(--dov); }
.fr-tag { display: inline-flex; align-items: center; min-height: 30px; padding: 0 .65rem; font-family: var(--disp); font-weight: 600; font-size: .9rem; color: var(--blak); background: var(--stencil); text-decoration: none; border-radius: 2px; }
a.fr-tag:hover { background: var(--papper); color: var(--blak); }
.fr-kicker .fr-par { position: static; writing-mode: horizontal-tb; transform: none; color: var(--stencil); font-size: .9rem; }
.fr-article-title, .fr-page-title, .fr-404-title, .fr-arch-title { font-family: var(--disp) !important; font-weight: 600; font-size: clamp(2.3rem, 5.4vw, 4.6rem) !important; line-height: 1.02 !important; letter-spacing: -.022em; color: var(--papper) !important; margin: 0 0 1.1rem !important; text-wrap: balance; max-width: 22ch; }
.fr-dek, .fr-dek p { font-size: clamp(1.15rem, 1.6vw, 1.35rem); line-height: 1.5; color: var(--dimma); max-width: 44rem; margin: 0 0 1.4rem; }
.fr-dek .wp-block-post-excerpt__excerpt { margin: 0; }
.fr-byline { display: flex; flex-wrap: wrap; gap: .3rem 1.4rem; margin: 0; font-family: var(--mono); font-size: .86rem; color: var(--dov); }
.fr-byline-by { color: var(--papper); }
.fr-byline time { color: inherit; }

.fr-figure { background: linear-gradient(var(--skiffer) 50%, var(--dimma) 50%); max-width: none !important; padding: 0 var(--gut); box-sizing: border-box; margin: 0 !important; }
.fr-figure .wp-block-post-featured-image { max-width: 1180px; margin: 0 auto !important; }
.fr-figure img { display: block; width: 100%; aspect-ratio: 16 / 8; object-fit: cover; border-radius: 2px; filter: saturate(.85); box-shadow: 0 30px 50px -30px rgba(10, 20, 22, .7); }

/* ---------- Läsytan: protokollet ---------- */

.fr-read { background: var(--dimma); max-width: none !important; margin: 0 !important; padding: clamp(2rem, 5vw, 4rem) var(--gut) clamp(3rem, 6vw, 5rem); box-sizing: border-box; display: grid; grid-template-columns: 250px minmax(0, 800px); justify-content: center; gap: clamp(1.5rem, 3.5vw, 3.5rem); align-items: start; }
.fr-sheet { --fc: var(--lila); background: var(--papper); padding: clamp(1.6rem, 4vw, 3.4rem) clamp(1.2rem, 4vw, 3.4rem) clamp(1.6rem, 4vw, 3rem) clamp(3.2rem, 6vw, 5.4rem); box-shadow: 0 1px 0 rgba(0, 0, 0, .06), 0 30px 50px -36px rgba(10, 20, 22, .5); position: relative; margin: 0 !important; counter-reset: par; min-width: 0; }
.fr-sheet::before { content: ""; position: absolute; top: 0; bottom: 0; left: clamp(2.3rem, 4.4vw, 4rem); width: 1px; background: rgba(83, 51, 216, .35); }
.fr-sheet > * { margin-left: 0 !important; margin-right: 0 !important; }
.fr-body { max-width: 66ch; color: var(--blak); }
.fr-body > * { max-width: none !important; margin-left: 0 !important; margin-right: 0 !important; }
.fr-body p, .fr-body li, .fr-body dd { font-size: clamp(1.125rem, 1.4vw, 1.22rem); line-height: 1.66; hyphens: manual; }
.fr-body p { margin: 0 0 1.15em; }
.fr-body > p:first-child::first-letter { font-family: var(--disp); font-weight: 600; float: left; font-size: 3.6em; line-height: .82; margin: .08em .1em 0 0; color: var(--lila); }
.fr-body h2 { font-family: var(--disp); font-weight: 600; font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1.12; margin: 2.2em 0 .7em; position: relative; counter-increment: par; scroll-margin-top: 1.5rem; }
.fr-body h2::before { content: "§ " counter(par); position: absolute; right: calc(100% + clamp(1.1rem, 2.2vw, 2rem)); top: .45em; font-family: var(--mono); font-size: .8rem; font-weight: 700; color: var(--lila); white-space: nowrap; letter-spacing: 0; }
.fr-body h3 { font-family: var(--disp); font-weight: 600; font-size: 1.3rem; margin: 1.7em 0 .5em; }
.fr-body a { color: var(--lila); text-decoration-color: rgba(83, 51, 216, .45); text-decoration-thickness: 1.5px; }
.fr-body a:hover { color: var(--blak); text-decoration-color: var(--lila); background: rgba(201, 187, 255, .3); }
.fr-body ul, .fr-body ol { padding-left: 1.4em; margin: 0 0 1.3em; }
.fr-body li { margin-bottom: .45em; padding-left: .25em; }
.fr-body ul li::marker { content: "▪ "; color: var(--lila); }
.fr-body ol li::marker { font-family: var(--mono); font-size: .9em; color: var(--lila); font-weight: 700; }
.fr-body strong { font-weight: 700; }
.fr-fakta { background: var(--dimma); border-left: 4px solid var(--lila); padding: 1.1rem 1.3rem .4rem; margin: 0 0 2rem; position: relative; }
.fr-fakta::after { content: ""; position: absolute; top: -12px; right: 18px; width: 14px; height: 34px; border: 2.5px solid var(--mellan); border-radius: 8px; border-bottom-color: transparent; }
.fr-fakta-t { font-family: var(--mono) !important; font-size: .86rem !important; font-weight: 700; color: var(--lila); margin: 0 0 .6rem !important; text-transform: uppercase; letter-spacing: .05em; }
.fr-fakta ul { margin-bottom: .8rem; }
.fr-fakta li { font-size: 1.05rem !important; }
.fr-ord { margin: 0 0 2rem; display: grid; grid-template-columns: minmax(9rem, 13rem) 1fr; border-top: 1px solid rgba(23, 34, 36, .25); }
.fr-ord dt { font-family: var(--disp); font-weight: 600; font-size: 1.1rem; padding: .8rem 1rem .8rem 0; border-bottom: 1px solid rgba(23, 34, 36, .15); }
.fr-ord dd { margin: 0; padding: .8rem 0; border-bottom: 1px solid rgba(23, 34, 36, .15); font-size: 1.08rem !important; line-height: 1.55 !important; }
@media (max-width: 640px) { .fr-ord { grid-template-columns: 1fr; } .fr-ord dt { border-bottom: 0; padding-bottom: 0; } }

.fr-check { margin: 2.6rem 0 0; padding: 1.1rem 1.2rem; border: 1px dashed var(--gra); font-size: 1rem; background: rgba(227, 233, 232, .55); }
.fr-check p { margin: 0; font-size: 1rem; line-height: 1.55; }
.fr-check b { font-family: var(--disp); font-weight: 600; display: block; margin-bottom: .25rem; }

.fr-signum { display: flex; align-items: center; gap: 1.2rem; margin: 2.4rem 0 0; padding-top: 1.6rem; border-top: 2px solid var(--blak); }
.fr-gavel.is-big { width: 54px; height: 54px; flex: none; }
.fr-gavel.is-big .fr-gavel-head rect, .fr-gavel.is-big .fr-gavel-block { fill: var(--lila); }
.fr-gavel.is-big .fr-gavel-handle { stroke: var(--lila); }
.fr-signum.is-struck .fr-gavel-head, .fr-signum.is-struck .fr-gavel-handle { animation: fr-strike .55s var(--ease) 1; }
@keyframes fr-strike { 0% { transform: rotate(0); } 40% { transform: rotate(-24deg); } 70% { transform: rotate(6deg); } 100% { transform: rotate(0); } }
.fr-signum p { margin: 0; }
.fr-signum-k, .fr-signum-d { font-size: .8rem; color: var(--gra); }
.fr-signum-n { font-family: var(--disp); font-weight: 600; font-size: 1.15rem; display: flex; flex-direction: column; gap: .2rem; margin: .1rem 0 .3rem !important; }
.fr-signum-n .fr-sig { width: 8rem; height: 2rem; }

.fr-author { display: grid; grid-template-columns: 56px 1fr; gap: 1.2rem; margin: 2.4rem 0 0; padding: 1.4rem; background: var(--dimma); }
.fr-author-mark { width: 56px; height: 56px; }
.fr-author-name { font-family: var(--disp); font-weight: 600; font-size: 1.25rem; margin: 0 0 .35rem; }
.fr-author-bio { margin: 0; font-size: 1.02rem; line-height: 1.55; }
.fr-author a { color: var(--lila); }

/* Marginalen */
.fr-rail { position: sticky; top: 1.5rem; font-size: .95rem; max-height: calc(100vh - 3rem); overflow: auto; }
.fr-toc { margin-bottom: 1.6rem; }
.fr-toc .fr-label, .fr-justera .fr-label { color: var(--blak); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .76rem; border-bottom: 2px solid var(--blak); padding-bottom: .45rem; }
.fr-toc ol { list-style: none; margin: 0; padding: 0; }
.fr-toc a { display: grid; grid-template-columns: 1.7rem 1fr; gap: .2rem; padding: .42rem .3rem; min-height: 24px; color: var(--blak); text-decoration: none; font-family: var(--disp); font-size: .95rem; line-height: 1.3; border-bottom: 1px dotted rgba(23, 34, 36, .25); transition: background .2s, color .2s; }
.fr-toc-n { color: var(--lila); font-size: .8rem; padding-top: .12rem; }
.fr-toc a:hover { background: rgba(201, 187, 255, .35); }
.fr-toc a.is-active { background: var(--lila); color: #fff; }
.fr-toc a.is-active .fr-toc-n { color: var(--stencil); }
.fr-justera dl { margin: 0; }
.fr-justera dl div { display: flex; justify-content: space-between; gap: .8rem; padding: .38rem 0; border-bottom: 1px dotted rgba(23, 34, 36, .25); }
.fr-justera dt { font-family: var(--mono); font-size: .8rem; color: var(--gra); }
.fr-justera dd { margin: 0; font-family: var(--mono); font-size: .82rem; text-align: right; }
.fr-justera a { color: var(--lila); }
@media (max-width: 1000px) {
	.fr-read { grid-template-columns: minmax(0, 1fr); }
	.fr-rail { position: static; max-height: none; order: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
	.fr-sheet { order: 1; }
}
@media (max-width: 640px) {
	.fr-rail { grid-template-columns: 1fr; }
	.fr-sheet { padding: 1.4rem 1.1rem 1.6rem 1.6rem; }
	.fr-sheet::before { left: .75rem; }
	.fr-body h2::before { position: static; display: block; margin-bottom: .4rem; }
	.fr-read { padding-inline: 10px; }
}

/* ---------- Guidens standar ---------- */

.fr-guide-head { background: var(--skiffer); padding: clamp(1.5rem, 4vw, 3rem) var(--gut) clamp(2.5rem, 5vw, 4rem); max-width: none !important; }
.fr-guide-banner { max-width: 1040px; margin: 0 auto; position: relative; padding-top: 44px; }
.fr-guide-rod { position: absolute; top: 10px; left: -14px; right: -14px; height: 10px; border-radius: 10px; background: var(--papper); }
.fr-guide-rod::before, .fr-guide-rod::after { content: ""; position: absolute; top: -7px; width: 24px; height: 24px; border-radius: 50%; background: var(--papper); }
.fr-guide-rod::before { left: -12px; } .fr-guide-rod::after { right: -12px; }
.fr-guide-banner .fr-standar-cords { top: 20px; height: 24px; border-color: var(--papper); left: 10%; right: 10%; }
.fr-guide-banner .fr-standar-cords::before { background: var(--papper); }
.fr-guide-cloth { background: var(--lila); color: #fff; padding: clamp(1.8rem, 5vw, 3.6rem) clamp(1.3rem, 5vw, 3.6rem) clamp(1.6rem, 4vw, 2.8rem); position: relative; }
.fr-guide-cloth::after { content: ""; position: absolute; inset: 12px; border: 1.5px dashed rgba(247, 248, 245, .4); pointer-events: none; }
.fr-guide-banner { --fr-f: var(--lila); }
.fr-guide-banner .fr-standar-fringe { height: 30px; }
.fr-guide .fr-kicker { color: var(--stencil); }
.fr-guide .fr-kicker .fr-type { color: #fff; }
.fr-guide .fr-tag { background: #fff; }
.fr-guide .fr-dek, .fr-guide .fr-dek p { color: #fff; }
.fr-guide .fr-byline, .fr-guide .fr-byline-by { color: #fff; }
.fr-guide-cloth > * { position: relative; z-index: 1; }

/* ---------- Sidor ---------- */

.fr-page-sheet { background: var(--dimma); max-width: none !important; margin: 0 !important; padding: clamp(2rem, 5vw, 4rem) var(--gut) clamp(3rem, 6vw, 5rem); }
.fr-page-body { --fc: var(--lila); background: var(--papper); max-width: 860px !important; margin: 0 auto !important; padding: clamp(1.6rem, 4vw, 3.4rem) clamp(1.2rem, 4vw, 3.4rem) clamp(1.6rem, 4vw, 3rem) clamp(3rem, 6vw, 5rem); box-sizing: border-box; position: relative; counter-reset: par; box-shadow: 0 30px 50px -36px rgba(10, 20, 22, .5); }
.fr-page-body::before { content: ""; position: absolute; top: 0; bottom: 0; left: clamp(2.1rem, 4.2vw, 3.6rem); width: 1px; background: rgba(83, 51, 216, .35); }
.fr-page-body > * { max-width: 66ch !important; }
.fr-page-body .fr-rod-wrap, .fr-page-body .fr-standars { max-width: none !important; }
.fr-page-body .fr-standars { grid-template-columns: repeat(2, 1fr); margin-top: 1rem; }
@media (max-width: 640px) { .fr-page-body .fr-standars { grid-template-columns: 1fr; } .fr-page-body { padding: 1.4rem 1.1rem 1.6rem 1.6rem; } .fr-page-body::before { left: .75rem; } .fr-page-sheet { padding-inline: 10px; } }

/* ---------- Arkiv och sök ---------- */

.fr-arch-wrap { background: var(--skiffer); color: var(--papper); }
.fr-arch-head { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2rem, 4vw, 3rem); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem; align-items: end; }
.fr-arch-head.is-search { display: block; }
.fr-arch-desc { font-size: 1.2rem; color: var(--dimma); max-width: 42rem; margin: 0; }
.fr-arch-standar { width: 150px; position: relative; padding-top: 30px; --fr-f: var(--lila); }
.fr-arch-standar .fr-standar-cords { border-color: var(--papper); }
.fr-arch-standar .fr-standar-cords::before { background: var(--papper); }
.fr-arch-cloth { display: flex; justify-content: center; align-items: center; height: 150px; background: var(--lila); }
.fr-arch-cloth .fr-ico { width: 72px; height: 72px; stroke: #fff; margin: 0; }
.fr-archive { background: var(--dimma); }
.fr-archive .fr-section { color: var(--blak); }
.fr-empty { color: var(--blak); }
.fr-empty .fr-type { color: var(--lila); font-size: 1rem; }
.fr-pages { margin-top: 2.5rem; }
.fr-pages ul { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; padding: 0; margin: 0; }
.fr-pages a, .fr-pages span { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 .7rem; font-family: var(--mono); background: var(--papper); color: var(--blak); text-decoration: none; }
.fr-pages .current { background: var(--lila); color: #fff; }
.fr-pages a:hover { background: var(--stencil); }
.fr-search.is-dark { margin-top: 1.5rem; }
@media (max-width: 640px) { .fr-arch-head { grid-template-columns: 1fr; } .fr-arch-standar { display: none; } }

/* ---------- 404 ---------- */

.fr-404 { background: var(--skiffer); color: var(--papper); }
.fr-404-in { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 3rem; align-items: center; padding-block: clamp(3rem, 7vw, 6rem) 2rem; }
.fr-404-title { color: var(--papper); }
.fr-404-lot { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.fr-404-nr { font-family: var(--disp); font-weight: 700; font-size: clamp(4rem, 10vw, 8rem); line-height: 1; color: var(--blak); background: var(--papper); border: 6px solid var(--djup); box-shadow: 0 0 0 3px var(--papper); border-radius: 999px; padding: .1em .5em; }
.fr-404-plank { width: 12rem; height: 14px; background: repeating-linear-gradient(90deg, var(--djup) 0 22px, var(--mellan) 22px 26px); border-radius: 2px; }
.fr-404 .fr-section { color: var(--papper); }
@media (max-width: 760px) { .fr-404-in { grid-template-columns: 1fr; } .fr-404-lot { display: none; } }

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

.fr-footer { background: var(--djup); color: var(--ljus); margin-top: 0; position: relative; }
.fr-skyline { display: grid; grid-template-columns: repeat(8, 1fr); align-items: end; gap: 0 .4rem; max-width: 1340px; margin: 0 auto; padding: 0 var(--gut); transform: translateY(-99%); position: absolute; left: 0; right: 0; top: 0; pointer-events: none; }
.fr-skyline .fr-house { max-width: none; }
.fr-skyline .fr-house * { fill: var(--djup) !important; stroke: var(--djup) !important; }
.fr-skyline .fr-house .h-win { fill: var(--mellan) !important; stroke: none !important; }
.fr-skyline .fr-house .h-net, .fr-skyline .fr-house .h-mull { stroke: var(--mellan) !important; }
.fr-footer-in { max-width: 1340px; margin: 0 auto; padding: clamp(2.5rem, 5vw, 4rem) var(--gut) 2rem; }
.fr-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.3fr 1fr; gap: 2.4rem; }
.fr-footer-brand { display: flex; align-items: center; gap: .7rem; font-family: var(--disp); font-weight: 600; font-size: 1.5rem; color: var(--papper); margin: 0 0 1rem; }
.fr-footer-about > p:not(.fr-footer-brand) { max-width: 30rem; font-size: 1.02rem; line-height: 1.55; }
.fr-footer .fr-label { color: var(--stencil); font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; }
.fr-footer ul { list-style: none; margin: 0 0 .6rem; padding: 0; }
.fr-footer li a { display: inline-flex; align-items: center; min-height: 36px; color: var(--papper); text-decoration: none; font-family: var(--disp); font-size: 1rem; }
.fr-footer li a:hover { color: var(--stencil); text-decoration: underline; }
.fr-footer .fr-arrow { color: var(--stencil); font-size: .98rem; }
.fr-disclaimer { margin-top: 2.6rem; padding: 1.2rem 1.3rem; border: 1px dashed rgba(201, 187, 255, .4); font-size: .98rem; line-height: 1.55; }
.fr-disclaimer p { margin: 0; }
.fr-disclaimer .fr-label { margin-bottom: .4rem; }
.fr-disclaimer a { color: var(--stencil); }
.fr-footer-copy { margin: 1.8rem 0 0; font-size: .8rem; color: var(--dov); }
.fr-footer .fr-search { margin-top: 1.4rem; }
@media (max-width: 1000px) { .fr-footer-grid { grid-template-columns: 1fr 1fr; } .fr-footer-about { grid-column: 1 / -1; } }
@media (max-width: 560px) { .fr-footer-grid { grid-template-columns: 1fr; } .fr-skyline { gap: 0 .15rem; } }

/* Utrymme för skylinen ovanför sidfoten */
.wp-site-blocks > footer { margin-top: 0 !important; }
.fr-home, .fr-single, .fr-page, .fr-archive, .fr-404 { padding-bottom: clamp(48px, 8vw, 120px); }
.fr-home { background: var(--skiffer); }
.fr-single, .fr-page, .fr-archive { background: linear-gradient(var(--dimma), var(--dimma)) top / 100% calc(100% - clamp(48px, 8vw, 120px)) no-repeat, var(--skiffer); }
.fr-more { color: var(--blak); }
.fr-more .fr-sec-label { color: var(--lila); }
.fr-more .fr-sec-title { color: var(--blak); }
.fr-single .fr-more, .fr-single .fr-guidewrap { --fc: var(--lila); }
.fr-newwin::after { content: " ↗"; }

/* ---------- Rörelse ---------- */

.fr-anim .fr-reveal:not(.is-in) { opacity: 0; transform: translateY(18px); }
.fr-anim .fr-reveal { transition: opacity .7s var(--ease) calc(var(--i, 0) * 70ms), transform .7s var(--ease) calc(var(--i, 0) * 70ms); }
.fr-intro .fr-lot { animation: fr-rise .8s var(--ease) both; animation-delay: calc(var(--i) * 70ms); }
@keyframes fr-rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.fr-swing .fr-standar { animation: fr-sway 2.4s ease-in-out 1; }
.fr-swing .fr-standar:nth-child(even) { animation-delay: .15s; }
@keyframes fr-sway { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(1.4deg); } 60% { transform: rotate(-.9deg); } }
.fr-progress { position: fixed; left: 0; top: 0; height: 6px; width: 100%; z-index: 30; pointer-events: none; transform-origin: left; transform: scaleX(var(--p, 0)); background: repeating-linear-gradient(90deg, var(--lila) 0 3px, transparent 3px 6px); }
.fr-progress::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--lila); }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
	.fr-anim .fr-reveal:not(.is-in) { opacity: 1; transform: none; }
	.fr-standar:hover, .fr-standar:focus-within, .fr-lot a:hover .fr-house, .fr-card:hover, .fr-topic a:hover { transform: none; }
	.fr-progress { display: none; }
}

@media print {
	.fr-header, .fr-footer, .fr-rail, .fr-more, .fr-figure, .fr-progress { display: none !important; }
	body, .fr-read, .fr-sheet { background: #fff !important; box-shadow: none !important; }
}
