/*
Theme Name: Papegojor & mops
Template: twentytwentyfive
Description: Eget tema för metzger.nu. En varm hobbyjournal: grå jako-grått, stjärtfjäderns rött, salvia och gräddvitt. Fjädrar, handritade streck och små tassavtryck.
Version: 1.0.0
Text Domain: pm-fjer
*/

:root {
	--c-creme: var(--wp--preset--color--yta);
	--c-creme2: var(--wp--preset--color--yta-djup);
	--c-papir: var(--wp--preset--color--papper);
	--c-ink: var(--wp--preset--color--grafit);
	--c-jaco: var(--wp--preset--color--jako);
	--c-jaco-d: var(--wp--preset--color--jako-mork);
	--c-jaco-l: var(--wp--preset--color--jako-ljus);
	--c-tail: var(--wp--preset--color--stjart);
	--c-acc: var(--wp--preset--color--salvia-mork);
	--c-acc-d: #33432E;
	--c-sage: var(--wp--preset--color--salvia);
	--c-sage-d: var(--wp--preset--color--salvia-mork);
	--c-sage-l: var(--wp--preset--color--salvia-ljus);
	--f-d: var(--wp--preset--font-family--display);
	--f-t: var(--wp--preset--font-family--text);
	--r-card: 2rem 2rem 2rem .45rem;
	--r-card-m: 2rem 2rem .45rem 2rem;
	--ease: cubic-bezier(.2, .8, .2, 1);
	--line: color-mix(in srgb, var(--c-ink) 14%, transparent);
	--shadow: 0 1px 0 rgba(38, 43, 49, .05), 0 18px 40px -22px rgba(38, 43, 49, .32);
	--paw: url("assets/img/pote.svg");
	--streg: url("assets/img/streg.svg");
}

/* ---------- Grund ---------- */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body { font-feature-settings: "kern", "liga"; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; overflow-x: clip; }
::selection { background: var(--c-acc); color: var(--c-creme); }
:where(a) { text-underline-offset: .2em; text-decoration-thickness: 1px; transition: color .2s ease, text-decoration-color .2s ease; }
:focus-visible { outline: 2.5px solid var(--c-acc); outline-offset: 3px; border-radius: 4px; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, .wp-block-post-title { text-wrap: balance; font-kerning: normal; }
p { text-wrap: pretty; }
.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; }
.skip-link:focus { clip: auto; clip-path: none; height: auto; width: auto; z-index: 1000; background: var(--c-papir); padding: .6rem 1rem; }

.pm-kicker { display: inline-flex; align-items: center; gap: .55rem; margin: 0; font-family: var(--f-t); font-size: .95rem; font-weight: 750; letter-spacing: -.005em; text-transform: none; color: var(--c-acc-d); }
.pm-kicker a { color: inherit; text-decoration: none; }
.pm-kicker a:hover { text-decoration: underline; }
.pm-kicker__dot { width: .62rem; height: .62rem; flex: none; background: var(--c-acc); border-radius: 50% 0 50% 50%; transform: rotate(-45deg); }
.pm-dot { display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: .45; margin: 0 .6em; vertical-align: middle; }
.pm-arrow { width: 1.35em; height: .7em; display: inline-block; vertical-align: middle; transition: transform .35s var(--ease); }
a:hover .pm-arrow, .pm-guide:hover .pm-arrow { transform: translateX(5px); }

.pm-btn { display: inline-flex; align-items: center; gap: .6rem; padding: .85rem 1.35rem; border-radius: 999px; background: var(--c-ink); color: var(--c-creme); font-weight: 600; font-size: .95rem; text-decoration: none; transition: background .25s ease, transform .25s var(--ease); }
.pm-btn:hover { background: var(--c-acc-d); color: var(--c-creme); transform: translateY(-2px); }

/* Handritad understrykning */
.pm-ul { position: relative; white-space: nowrap; display: inline-block; }
.pm-ul svg { position: absolute; left: -3%; width: 106%; bottom: -.16em; height: .34em; overflow: visible; pointer-events: none; }
.pm-ul path { fill: none; stroke: var(--c-acc); stroke-width: 4px; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 0; }
.pm-ul--salvie path { stroke: var(--c-sage-d); }
.pm-ul path { transition: stroke-dashoffset 1.1s var(--ease) .25s; }
.pm-ul.pm-wait path { stroke-dashoffset: 1; }

/* Intoning vid scroll */
.pm-reveal { transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.pm-reveal.pm-wait { opacity: 0; transform: translateY(26px); }

/* ---------- Header ---------- */
.wp-site-blocks > header.wp-block-template-part { position: sticky; top: 0; z-index: 60; }
.pm-header { position: relative; isolation: isolate; border-bottom: 1px solid var(--line); }
.pm-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: color-mix(in srgb, var(--c-creme) 88%, transparent); -webkit-backdrop-filter: saturate(1.3) blur(12px); backdrop-filter: saturate(1.3) blur(12px); }
.pm-header__row { padding-block: .8rem; gap: 1.5rem; }
.pm-brand { gap: .75rem; align-items: center; }
.pm-brand__mark { display: block; flex: none; }
.pm-brand__mark img { width: 46px; height: 46px; transform-origin: 50% 70%; transition: transform .6s var(--ease); }
.pm-brand:hover .pm-brand__mark img { transform: rotate(-12deg); }
.pm-header .wp-block-site-title { font-family: var(--f-d); font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1; letter-spacing: -.01em; margin: 0; white-space: nowrap; }
.pm-header .wp-block-site-title a { text-decoration: none; color: var(--c-ink); }
.pm-amp { color: var(--c-acc); padding: 0 .04em; }
.pm-nav { font-weight: 500; }
.pm-nav .wp-block-navigation-item__content { text-decoration: none; position: relative; padding-block: .3rem; }
.pm-nav .wp-block-navigation-item > .wp-block-navigation-item__content::after { content: ""; position: absolute; left: -4%; right: -4%; bottom: -.3rem; height: .45rem; background: var(--c-acc); -webkit-mask: var(--streg) center / 100% 100% no-repeat; mask: var(--streg) center / 100% 100% no-repeat; clip-path: inset(0 100% 0 0); transition: clip-path .45s var(--ease); }
.pm-nav .wp-block-navigation-item > .wp-block-navigation-item__content:hover::after,
.pm-nav .current-menu-item > .wp-block-navigation-item__content::after { clip-path: inset(0 0 0 0); }
.pm-nav .wp-block-navigation__submenu-container { background: var(--c-papir) !important; border: 0 !important; border-radius: 1.3rem 1.3rem 1.3rem .35rem; box-shadow: var(--shadow); padding: .55rem !important; min-width: 300px !important; margin-top: .6rem; }
.pm-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content { padding: .6rem .9rem !important; border-radius: .8rem; font-size: .95rem; }
.pm-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content::after { display: none; }
.pm-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover { background: var(--c-creme); color: var(--c-acc-d); }
.pm-nav .wp-block-navigation__responsive-container.is-menu-open { background: var(--c-creme) !important; padding: 1.5rem clamp(1rem, 5vw, 2rem); }
.pm-nav .is-menu-open .wp-block-navigation__responsive-container-content { gap: 1.1rem !important; padding-top: 3rem; }
.pm-nav .is-menu-open .wp-block-navigation-item__content { font-family: var(--f-d); font-size: 1.9rem; }
.pm-nav .is-menu-open .wp-block-navigation__submenu-container { box-shadow: none; padding: .4rem 0 0 1rem !important; background: transparent !important; min-width: 0 !important; }
.pm-nav .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content { font-family: var(--f-t); font-size: 1.05rem; padding: .3rem 0 !important; }
.pm-nav .wp-block-navigation__responsive-container-open svg, .pm-nav .wp-block-navigation__responsive-container-close svg { width: 30px; height: 30px; }

/* ---------- Startsida: hero ---------- */
.wp-site-blocks > * + * { margin-block-start: 0; }
.pm-home { padding-top: 0; }
.pm-hero {
	--seam: 57%;
	position: relative; display: grid; grid-template-columns: var(--seam) 1fr; grid-template-rows: minmax(clamp(9rem, 22vh, 16rem), 1fr) auto auto auto;
	min-height: min(86vh, 860px); margin-top: 0 !important; margin-bottom: 0; overflow: hidden; isolation: isolate;
}
.pm-hero__panel { grid-row: 1 / -1; position: relative; overflow: hidden; z-index: -1; }
.pm-hero__panel--fjer { grid-column: 1; background: #CCD2D7; }
.pm-hero__panel--pote { grid-column: 2; background: var(--c-sage-l); }
.pm-hero__panel--fjer::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 80% at 20% 10%, rgba(255,255,255,.45), transparent 60%); }
.pm-hero__feather { position: absolute; height: 84%; width: auto; max-width: none; top: -19%; left: 36%; transform-origin: 50% 50%; transform: rotate(62deg); animation: pm-sway 11s ease-in-out infinite alternate; z-index: 1; }
.pm-hero__feather--b { display: none; }
@keyframes pm-sway { from { rotate: -2.5deg; translate: 0 0; } to { rotate: 2.5deg; translate: 0 -10px; } }
.pm-paw { position: absolute; left: var(--x); top: var(--y); width: clamp(26px, 2.6vw, 40px); height: auto; fill: var(--c-sage-d); opacity: .45; transform: translate(-50%, -50%) rotate(var(--r)); animation: pm-paw 7s var(--d) infinite backwards; }
@keyframes pm-paw { 0% { opacity: 0; } 6% { opacity: .5; } 55% { opacity: .5; } 75%, 100% { opacity: 0; } }

.pm-hero__eb { margin: 0 0 .4rem; font-size: .95rem; font-weight: 750; letter-spacing: -.005em; text-transform: none; grid-row: 2; align-self: end; }
.pm-hero__eb--a { grid-column: 1; justify-self: end; padding-right: clamp(2.2rem, 5vw, 5rem); color: var(--c-jaco-d); }
.pm-hero__eb--b { grid-column: 2; justify-self: start; padding-left: clamp(2.2rem, 5vw, 5rem); color: var(--c-sage-d); }
.pm-hero__title { display: contents; }
.pm-hero__w { grid-row: 3; font-family: var(--f-d); font-weight: 400; font-size: clamp(3.3rem, 9.4vw, 9.6rem); line-height: .92; letter-spacing: -.035em; color: var(--c-ink); position: relative; z-index: 2; }
.pm-hero__w--a { grid-column: 1; justify-self: end; padding-right: clamp(2.2rem, 5.2vw, 5.4rem); }
.pm-hero__w--b { grid-column: 2; justify-self: start; padding-left: clamp(2.2rem, 5.2vw, 5.4rem); }
.pm-hero__amp { grid-row: 3; grid-column: 2; justify-self: start; align-self: center; z-index: 3; translate: -50% 0; width: clamp(3.2rem, 6.6vw, 6.4rem); aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; background: var(--c-tail); color: #fff; font-family: var(--f-d); font-size: clamp(1.8rem, 3.8vw, 3.7rem); line-height: 1; padding-bottom: .06em; box-shadow: 0 0 0 clamp(5px, .6vw, 9px) var(--c-creme), 0 20px 40px -18px rgba(168, 27, 41, .55); rotate: -8deg; transition: rotate .6s var(--ease), scale .6s var(--ease); }
.pm-hero:hover .pm-hero__amp { rotate: 6deg; scale: 1.05; }
.pm-door { grid-row: 4; display: flex; flex-direction: column; gap: .25rem; padding-top: 1.3rem; padding-bottom: clamp(2.2rem, 5vw, 4.2rem); text-decoration: none; color: var(--c-ink); position: relative; z-index: 2; }
.pm-door--fjer { grid-column: 1; align-items: flex-end; text-align: right; padding-right: clamp(2.2rem, 5vw, 5rem); }
.pm-door--pote { grid-column: 2; align-items: flex-start; padding-left: clamp(2.2rem, 5vw, 5rem); }
.pm-door__k { font-family: var(--f-d); font-size: 1.35rem; }
.pm-door__t { color: color-mix(in srgb, var(--c-ink) 78%, transparent); }
.pm-door__n { margin-top: .4rem; font-weight: 700; font-size: .9rem; display: inline-flex; align-items: center; gap: .5rem; border-bottom: 2px solid currentColor; padding-bottom: .15rem; }
.pm-door--fjer .pm-door__n { color: var(--c-acc-d); }
.pm-door--pote .pm-door__n { color: var(--c-sage-d); }
.pm-door:hover .pm-door__k { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }

/* ---------- Startsida: intro ---------- */
.pm-intro { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 5rem); align-items: end; padding-block: clamp(4rem, 9vw, 8rem) clamp(3rem, 6vw, 5.5rem); border-bottom: 1px solid var(--line); }
.pm-intro__big { margin: 0; font-family: var(--f-d); font-size: clamp(2.5rem, 5.6vw, 5.4rem); line-height: 1; letter-spacing: -.03em; }
.pm-intro__text p { margin: 0 0 1.4rem; font-size: 1.16rem; max-width: 40ch; color: color-mix(in srgb, var(--c-ink) 86%, transparent); }
.pm-sign { display: flex; align-items: center; gap: .8rem; font-size: .92rem !important; line-height: 1.35; }
.pm-sign img { width: 44px; height: 44px; background: var(--c-papir); border-radius: 50%; padding: 4px; box-shadow: var(--shadow); }

/* ---------- Kort ---------- */
.pm-card { position: relative; }
.pm-card__media { overflow: hidden; border-radius: var(--r-card); background: var(--c-jaco-l); margin: 0; }
.pm-card.is-mops .pm-card__media { border-radius: var(--r-card-m); background: var(--c-sage-l); }
.pm-card__media img, .pm-card__img { width: 100%; height: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform 1.1s var(--ease), filter .6s ease; filter: saturate(.92); }
.pm-card:hover .pm-card__media img { transform: scale(1.045); filter: saturate(1.02); }
.pm-card__cats { margin: 1rem 0 .3rem; font-size: .86rem; font-weight: 750; letter-spacing: -.005em; text-transform: none; color: var(--c-jaco-d); }
.pm-card__cats a { text-decoration: none; color: inherit; }
.pm-card.is-mops .pm-card__cats { color: var(--c-sage-d); }
.pm-card__title { font-family: var(--f-d); font-weight: 400; font-size: clamp(1.35rem, 1.9vw, 1.7rem); line-height: 1.14; letter-spacing: -.01em; margin: 0 0 .55rem; }
.pm-card__title a { text-decoration: none; color: var(--c-ink); background: linear-gradient(var(--c-acc), var(--c-acc)) 0 100% / 0 2px no-repeat; transition: background-size .5s var(--ease); }
.pm-card:hover .pm-card__title a { background-size: 100% 2px; }
.pm-card__title a::before { content: ""; position: absolute; inset: 0; z-index: 1; }
.pm-card__excerpt { margin: 0 0 .7rem; font-size: 1rem; line-height: 1.6; color: color-mix(in srgb, var(--c-ink) 78%, transparent); }
.pm-card__excerpt .wp-block-post-excerpt__excerpt { margin: 0; }
.pm-card__excerpt .wp-block-post-excerpt__more-link { display: none; }
.pm-card__meta { margin: 0; font-size: .82rem; color: var(--c-jaco-d); }

.pm-card--lille { display: grid; grid-template-columns: 112px 1fr; gap: 1.2rem; align-items: center; padding-top: 1.3rem; margin-top: 1.3rem; border-top: 1px solid var(--line); }
.pm-card--lille .pm-card__media { border-radius: 1.15rem 1.15rem 1.15rem .3rem; }
.pm-card--lille.is-mops .pm-card__media { border-radius: 1.15rem 1.15rem .3rem 1.15rem; }
.pm-card--lille .pm-card__media img { aspect-ratio: 1; }
.pm-card--lille:not(:has(.pm-card__media)) { grid-template-columns: 1fr; }
.pm-card--lille .pm-card__cats { margin-top: 0; }
.pm-card--lille .pm-card__title { font-size: 1.22rem; margin-bottom: .3rem; }

/* ---------- Startsida: senaste ---------- */
.pm-lead { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; padding-block: clamp(3.5rem, 7vw, 6.5rem); position: relative; }
.pm-lead__media { position: relative; display: block; }
.pm-lead__media > img:first-child { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 3.2rem 3.2rem 3.2rem .6rem; transition: transform 1.2s var(--ease); }
.pm-lead.is-mops .pm-lead__media > img:first-child { border-radius: 3.2rem 3.2rem .6rem 3.2rem; }
.pm-lead:hover .pm-lead__media > img:first-child { transform: scale(1.015); }
.pm-lead__feather { position: absolute; width: auto; height: 62%; right: -6%; top: -16%; transform: rotate(28deg); filter: drop-shadow(0 10px 18px rgba(37,40,45,.12)); pointer-events: none; }
.pm-lead__body .pm-card__cats { margin-top: 1.2rem; }
.pm-lead__title { font-family: var(--f-d); font-weight: 400; font-size: clamp(2.1rem, 3.6vw, 3.4rem); line-height: 1.04; letter-spacing: -.025em; margin: 0 0 1rem; }
.pm-lead__title a { text-decoration: none; color: var(--c-ink); }
.pm-lead__title a:hover { color: var(--c-acc-d); }
.pm-lead__excerpt { font-size: 1.15rem; color: color-mix(in srgb, var(--c-ink) 80%, transparent); margin: 0 0 1rem; max-width: 42ch; }
.pm-lead .pm-btn { margin-top: 1.6rem; }

/* ---------- Startsida: två flöden ---------- */
.pm-streams { padding-block: clamp(3rem, 6vw, 5rem) clamp(4rem, 8vw, 7rem); border-top: 1px solid var(--line); }
.pm-streams__head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.pm-streams__head h2 { font-size: clamp(2.2rem, 4.4vw, 4rem); line-height: 1.02; letter-spacing: -.03em; margin: .8rem 0 0; max-width: 18ch; }
.pm-amp-s { color: var(--c-acc); }
.pm-streams__cols { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 5rem); position: relative; }
.pm-streams__cols::before { content: ""; position: absolute; top: 0; bottom: 0; left: calc(58.33% + 0px); width: 1px; background: repeating-linear-gradient(to bottom, var(--line) 0 6px, transparent 6px 12px); }
.pm-stream--pote { padding-top: clamp(0rem, 9vw, 8rem); }
.pm-stream__label { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.6rem; }
.pm-stream__label img { width: 56px; height: 56px; border-radius: 50%; padding: 6px; background: var(--c-papir); box-shadow: var(--shadow); }
.pm-stream__label h3 { margin: 0; font-size: 1.6rem; }
.pm-stream__label p { margin: 0; font-size: .9rem; color: var(--c-jaco-d); }
.pm-more { display: inline-flex; align-items: center; gap: .6rem; margin-top: 1.8rem; font-weight: 700; font-size: .95rem; text-decoration: none; color: var(--c-acc-d); border-bottom: 2px solid currentColor; padding-bottom: .15rem; }
.pm-stream--pote .pm-more { color: var(--c-sage-d); }

.pm-note { position: relative; margin: clamp(2.5rem, 5vw, 4rem) 0 0; padding: 2rem 1.8rem 1.6rem; background: var(--c-papir); border-radius: var(--r-card-m); box-shadow: var(--shadow); rotate: -1.2deg; }
.pm-note blockquote { margin: 0; padding: 0; border: 0; }
.pm-note p { margin: 0; font-family: var(--f-d); font-size: clamp(1.5rem, 2.2vw, 1.9rem); line-height: 1.18; letter-spacing: -.015em; }
.pm-note p::before { content: "”"; display: block; font-size: 3.4rem; line-height: .6; color: var(--c-acc); margin-bottom: .2rem; }
.pm-note figcaption { display: flex; align-items: center; gap: .6rem; margin-top: 1.1rem; font-size: .95rem; font-weight: 750; letter-spacing: -.005em; text-transform: none; color: var(--c-sage-d); }
.pm-note__paw { width: 18px; height: 18px; background: var(--c-sage-d); -webkit-mask: var(--paw) center / contain no-repeat; mask: var(--paw) center / contain no-repeat; rotate: 20deg; }
.pm-bro { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; max-width: 1040px; margin: clamp(4rem, 8vw, 6.5rem) auto 0; padding: clamp(1.4rem, 3vw, 2.4rem); border-radius: 2.8rem 2.8rem 2.8rem .6rem; background: linear-gradient(100deg, #CCD2D7 0 50%, var(--c-sage-l) 50% 100%); }
.pm-bro__icons { position: absolute; top: 0; left: 50%; display: flex; gap: .4rem; translate: -50% -55%; }
.pm-bro__icons img { width: 64px; height: 64px; border-radius: 50%; padding: 7px; background: var(--c-papir); box-shadow: var(--shadow); }
.pm-bro__icons img:first-child { rotate: -8deg; } .pm-bro__icons img:last-child { rotate: 8deg; }
.pm-bro__media { overflow: hidden; border-radius: 999px 999px 1.6rem 1.6rem; }
.pm-bro__media img { width: 100%; aspect-ratio: 4 / 4.2; object-fit: cover; transition: transform 1.1s var(--ease); }
.pm-bro:hover .pm-bro__media img { transform: scale(1.04); }
.pm-bro__title { font-size: clamp(1.7rem, 2.8vw, 2.5rem); line-height: 1.06; margin: .8rem 0 .8rem; letter-spacing: -.02em; }
.pm-bro__title a { text-decoration: none; color: var(--c-ink); }
.pm-bro__title a::before { content: ""; position: absolute; inset: 0; }
.pm-bro__title a:hover { color: var(--c-acc-d); }
.pm-bro__body p { margin: 0 0 .8rem; color: color-mix(in srgb, var(--c-ink) 82%, transparent); }

/* ---------- Guider ---------- */
.pm-band { position: relative; margin-top: 0 !important; }
.pm-band--creme { background: var(--c-creme2); padding-block: clamp(4rem, 8vw, 7rem); border-radius: clamp(2rem, 5vw, 4.5rem) clamp(2rem, 5vw, 4.5rem) 0 0; }
.pm-guides__head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 1rem clamp(2rem, 5vw, 5rem); align-items: end; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.pm-guides__head .pm-kicker { grid-column: 1 / -1; }
.pm-guides__head h2 { margin: 0; font-size: clamp(2.2rem, 4.4vw, 4rem); line-height: 1.02; letter-spacing: -.03em; }
.pm-guides__head > p:last-child { margin: 0; color: color-mix(in srgb, var(--c-ink) 80%, transparent); max-width: 44ch; }
.pm-guides__small { font-size: clamp(1.7rem, 3vw, 2.4rem); margin: clamp(4rem, 8vw, 6rem) 0 1.6rem; }
.pm-guides__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); counter-reset: none; }
.pm-guide { position: relative; display: flex; flex-direction: column; padding: 1.7rem 1.6rem 1.5rem; border-radius: var(--r-card); background: var(--c-papir); box-shadow: var(--shadow); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.pm-guide:nth-child(even) { border-radius: var(--r-card-m); }
.pm-guide:hover { transform: translateY(-6px); box-shadow: 0 1px 0 rgba(37,40,45,.04), 0 30px 50px -26px rgba(37,40,45,.35); }
.pm-guide__num { position: absolute; top: 1.1rem; right: 1.4rem; font-family: var(--f-d); font-size: 2.6rem; line-height: 1; color: var(--c-jaco-l); transition: color .4s ease; }
.pm-guide:hover .pm-guide__num { color: var(--c-acc); }
.pm-guide__icon { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: var(--c-creme); color: var(--c-acc-d); margin-bottom: 2.4rem; transition: transform .6s var(--ease); }
.pm-guide:nth-child(3) .pm-guide__icon, .pm-guide:nth-child(4) .pm-guide__icon { color: var(--c-sage-d); }
.pm-guide__icon svg { width: 32px; height: 32px; }
.pm-guide:hover .pm-guide__icon { transform: rotate(-10deg); }
.pm-guide__title { font-size: 1.45rem; line-height: 1.12; margin: 0 0 .7rem; }
.pm-guide__title a { text-decoration: none; color: var(--c-ink); }
.pm-guide__title a::before { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.pm-guide__text { margin: 0 0 1.4rem; font-size: .96rem; line-height: 1.55; color: color-mix(in srgb, var(--c-ink) 78%, transparent); flex: 1; }
.pm-guide__go { display: inline-flex; align-items: center; gap: .5rem; font-size: .85rem; font-weight: 700; color: var(--c-acc-d); }

/* ---------- Hushållet ---------- */
.pm-house { padding-block: clamp(4.5rem, 9vw, 8rem) clamp(3rem, 6vw, 5rem); }
.pm-house__head { text-align: center; margin-bottom: clamp(3.5rem, 6vw, 5rem); }
.pm-house__head h2 { font-size: clamp(2.1rem, 4vw, 3.6rem); margin: .8rem auto 0; letter-spacing: -.03em; }
.pm-house__list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.2rem, 3vw, 2.4rem); }
.pm-resident { position: relative; padding: 4rem 1.8rem 1.8rem; background: var(--c-papir); border-radius: var(--r-card); box-shadow: var(--shadow); text-align: center; }
.pm-resident.is-mops { border-radius: var(--r-card-m); }
.pm-resident img { position: absolute; top: 0; left: 50%; translate: -50% -50%; width: 92px; height: 92px; padding: 10px; border-radius: 50%; background: #CCD2D7; box-shadow: 0 0 0 6px var(--c-creme); transition: rotate .6s var(--ease); }
.pm-resident.is-mops img { background: var(--c-sage-l); }
.pm-resident:hover img { rotate: -10deg; }
.pm-resident h3 { font-size: 2rem; margin: 0; }
.pm-resident__what { margin: .2rem 0 1rem; font-size: .95rem; font-weight: 750; letter-spacing: -.005em; text-transform: none; color: var(--c-acc-d); }
.pm-resident.is-mops .pm-resident__what { color: var(--c-sage-d); }
.pm-resident p { font-size: .98rem; line-height: 1.6; color: color-mix(in srgb, var(--c-ink) 82%, transparent); }
.pm-resident__love { margin-bottom: 0; padding-top: 1rem; border-top: 1px dashed var(--line); }

/* ---------- Footer: den röda stjärten ---------- */
.pm-footer { position: relative; margin-top: clamp(4rem, 8vw, 7rem); padding-top: clamp(4rem, 7vw, 6rem); padding-bottom: 1.6rem; background: var(--c-ink); color: var(--c-creme); overflow: hidden; }
.pm-band--creme + * , .pm-home + .pm-footer { margin-top: 0; }
.pm-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 30px; z-index: 1; background: radial-gradient(circle at 22px 23px, var(--c-tail) 21.5px, var(--c-creme) 22.5px) 0 0 / 44px 23px repeat-x, linear-gradient(var(--c-tail), var(--c-tail)) 0 23px / 100% 7px no-repeat; }
.pm-footer a { color: var(--c-creme); text-decoration: none; }
.pm-footer a:hover { color: #fff; text-decoration: underline; text-decoration-color: rgba(230, 233, 235, .6); }
.pm-footer__fan { position: absolute; right: -4%; bottom: -14%; width: 520px; height: 640px; pointer-events: none; opacity: .16; }
.pm-footer__fan img { position: absolute; bottom: 0; left: 50%; height: 100%; width: auto; max-width: none; transform-origin: 50% 99%; translate: -50% 0; }
.pm-footer__fan img:nth-child(1) { rotate: -34deg; } .pm-footer__fan img:nth-child(2) { rotate: -6deg; height: 108%; } .pm-footer__fan img:nth-child(3) { rotate: 22deg; height: 94%; }
.pm-footer__inner { position: relative; display: grid; grid-template-columns: minmax(0, 2.2fr) repeat(3, minmax(0, 1fr)); gap: clamp(2rem, 4vw, 3.5rem); }
.pm-footer__title { font-family: var(--f-d); font-size: clamp(2.2rem, 4vw, 3.4rem); line-height: 1; letter-spacing: -.03em; margin: 0 0 1.2rem; }
.pm-footer__title span { color: var(--c-sage); }
.pm-footer__brand p:not(.pm-footer__title) { max-width: 40ch; font-size: 1rem; opacity: .92; }
.pm-footer__col h2 { font-family: var(--f-t); font-size: .95rem; font-weight: 750; letter-spacing: -.005em; text-transform: none; color: var(--c-sage); margin: .6rem 0 1rem; }
.pm-footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; font-size: .98rem; }
.pm-footer__base { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; margin-top: clamp(3rem, 6vw, 5rem); padding-top: 1.3rem; border-top: 1px solid rgba(230, 233, 235, .2); font-size: .85rem; }
.pm-footer__base p { margin: 0; opacity: .88; }
.pm-pawrow { display: flex; gap: .7rem; }
.pm-pawrow i { width: 16px; height: 16px; background: currentColor; -webkit-mask: var(--paw) center / contain no-repeat; mask: var(--paw) center / contain no-repeat; opacity: .55; }
.pm-pawrow i:nth-child(odd) { translate: 0 -5px; rotate: 78deg; } .pm-pawrow i:nth-child(even) { translate: 0 4px; rotate: 98deg; }

/* ---------- Artikel ---------- */
.pm-progress { position: fixed; top: 0; left: 0; right: 0; height: 4px; z-index: 100; pointer-events: none; }
.pm-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--c-jaco) 0%, var(--c-acc) 70%); transform-origin: 0 50%; transform: scaleX(0); border-radius: 0 4px 4px 0; }
.pm-single > article { margin-top: 0; }
.pm-ahead { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 5rem); align-items: end; padding-top: clamp(2.5rem, 6vw, 5rem); }
.pm-ahead__text > * + * { margin-top: 1.2rem; }
.pm-kicker--head { font-size: .78rem; }
.pm-ahead__title { font-size: clamp(2.4rem, 4.8vw, 4.6rem) !important; line-height: 1.02 !important; letter-spacing: -.03em; margin-top: 1.1rem !important; }
.pm-ahead__excerpt, .pm-ghead__excerpt { font-size: clamp(1.15rem, 1.6vw, 1.36rem); line-height: 1.55; color: color-mix(in srgb, var(--c-ink) 78%, transparent); max-width: 44ch; }
.pm-ahead__excerpt p, .pm-ghead__excerpt p { margin: 0; }
.pm-ahead__excerpt .wp-block-post-excerpt__more-link, .pm-ghead__excerpt .wp-block-post-excerpt__more-link { display: none; }
.pm-meta { display: flex; align-items: center; gap: .85rem; margin-top: 1.8rem !important; }
.pm-meta img { width: 48px; height: 48px; border-radius: 50%; background: var(--c-papir); padding: 5px; box-shadow: var(--shadow); }
.pm-meta p { margin: 0; line-height: 1.35; }
.pm-meta__name { font-weight: 700; }
.pm-meta__line { font-size: .88rem; color: var(--c-jaco-d); }
.pm-ahead__media { position: relative; }
.pm-ahead__img { margin: 0; }
.pm-ahead__img img { width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; border-radius: 999px 999px 2rem 2rem; }
.pm-ahead__feather { position: absolute; width: auto; height: 56%; left: -14%; bottom: -8%; transform: rotate(-24deg); pointer-events: none; filter: drop-shadow(0 12px 18px rgba(37,40,45,.14)); }

.pm-read { display: grid; grid-template-columns: 230px minmax(0, 680px) 1fr; gap: clamp(2rem, 5vw, 5rem); margin-top: clamp(3rem, 7vw, 6rem) !important; align-items: start; }
.pm-read > .pm-body { grid-column: 2; margin-top: 0 !important; }
.pm-toc { grid-column: 1; position: sticky; top: 104px; font-size: .9rem; }
.pm-toc--empty { display: none; }
.pm-toc summary { list-style: none; cursor: default; display: flex; justify-content: space-between; align-items: center; font-size: .95rem; font-weight: 750; letter-spacing: -.005em; text-transform: none; color: var(--c-acc-d); padding-bottom: .8rem; border-bottom: 1px solid var(--line); }
.pm-toc summary::-webkit-details-marker { display: none; }
.pm-toc summary span { font-family: var(--f-d); letter-spacing: 0; font-size: .95rem; color: var(--c-jaco-d); }
.pm-toc ol { list-style: none; margin: .6rem 0 0; padding: 0; counter-reset: toc; }
.pm-toc li { counter-increment: toc; }
.pm-toc a { display: grid; grid-template-columns: 1.7rem 1fr; padding: .45rem 0; text-decoration: none; color: color-mix(in srgb, var(--c-ink) 72%, transparent); line-height: 1.35; transition: color .2s ease; }
.pm-toc a::before { content: counter(toc, decimal-leading-zero); font-family: var(--f-d); font-size: .78rem; color: var(--c-jaco); padding-top: .1rem; transition: color .2s; }
.pm-toc a:hover, .pm-toc a[aria-current] { color: var(--c-ink); }
.pm-toc a[aria-current]::before { color: var(--c-acc); }
.pm-toc a[aria-current] { font-weight: 600; }

.pm-body { font-size: clamp(1.08rem, 1.2vw, 1.17rem); line-height: 1.78; }
.pm-body > * { max-width: 680px; }
.pm-body > p:first-child { font-size: 1.3em; line-height: 1.55; letter-spacing: -.005em; color: var(--c-ink); }
.pm-body > p:first-child::first-line { font-weight: 600; }
.pm-body h2 { font-size: clamp(1.7rem, 2.6vw, 2.25rem); line-height: 1.12; letter-spacing: -.02em; margin: 3.2rem 0 1.1rem; padding-bottom: .65rem; position: relative; }
.pm-body h2::after { content: ""; position: absolute; left: -.2rem; bottom: 0; width: 4.6rem; height: .5rem; background: var(--c-acc); -webkit-mask: var(--streg) center / 100% 100% no-repeat; mask: var(--streg) center / 100% 100% no-repeat; }
.pm-body h2::after { transition: clip-path .9s var(--ease) .15s; }
.pm-body h2.pm-wait::after { clip-path: inset(0 100% 0 0); }
.pm-body h3 { font-family: var(--f-t); font-weight: 700; font-size: 1.22rem; letter-spacing: 0; margin: 2.2rem 0 .6rem; }
.pm-body a { text-decoration-color: color-mix(in srgb, var(--c-acc) 70%, transparent); text-decoration-thickness: 2px; }
.pm-body a:hover { color: var(--c-acc-d); }
.pm-body ul { list-style: none; padding-left: 1.7rem; }
.pm-body ul > li { position: relative; margin-bottom: .55rem; }
.pm-body ul > li::before { content: ""; position: absolute; left: -1.45rem; top: .62em; width: .55rem; height: .55rem; background: var(--c-acc); border-radius: 50% 0 50% 50%; transform: rotate(-45deg); }
.pm-body ol { padding-left: 2rem; counter-reset: li; list-style: none; }
.pm-body ol > li { position: relative; counter-increment: li; margin-bottom: .6rem; }
.pm-body ol > li::before { content: counter(li); position: absolute; left: -2rem; top: .05em; width: 1.45rem; height: 1.45rem; display: grid; place-items: center; font-family: var(--f-d); font-size: .82rem; color: var(--c-creme); background: var(--c-ink); border-radius: 50% 50% 50% 15%; }
.pm-body strong { font-weight: 700; }
.pm-body blockquote, .pm-body .wp-block-quote { margin: 2.6rem 0; padding: 0 0 0 1.6rem; border-left: 3px solid var(--c-acc); font-family: var(--f-d); font-size: 1.5rem; line-height: 1.35; }
.pm-body blockquote p { margin: 0; }
.pm-body .pm-fakta, .pm-body aside { margin: 2.4rem 0; padding: 1.6rem 1.8rem; border-radius: var(--r-card); background: var(--c-sage-l); font-size: 1rem; line-height: 1.65; }
.pm-body .pm-fakta > :first-child { margin-top: 0; }
.pm-body .pm-fakta > :last-child { margin-bottom: 0; }
.pm-body .pm-fakta h3 { margin: 0 0 .7rem; font-size: 1rem; font-weight: 800; letter-spacing: -.005em; color: var(--c-sage-d); }
.pm-body .pm-fakta ul { margin-bottom: 0; }
.pm-body .pm-fakta ul > li::before { background: var(--c-sage-d); }
.pm-body .pm-fakta--graa { background: #D9DEE2; }
.pm-body .pm-fakta--graa h3 { color: var(--c-jaco-d); }
.pm-body .pm-fakta--graa ul > li::before { background: var(--c-jaco-d); }
.pm-body > p:last-child::after { content: ""; display: inline-block; width: 1.05em; height: 1.05em; margin-left: .45em; vertical-align: -.12em; background: var(--c-jaco); -webkit-mask: var(--paw) center / contain no-repeat; mask: var(--paw) center / contain no-repeat; rotate: 12deg; }
.pm-body hr { border: 0; height: 26px; margin: 3rem 0; background: var(--c-jaco); -webkit-mask: var(--paw) center / 22px no-repeat; mask: var(--paw) center / 22px no-repeat; opacity: .6; }

.pm-author { display: grid; grid-template-columns: 76px 1fr; gap: 1.4rem; align-items: start; max-width: 680px; margin: clamp(3.5rem, 6vw, 5rem) 0 0 calc(230px + clamp(2rem, 5vw, 5rem)) !important; padding: 1.8rem 2rem; background: var(--c-papir); border-radius: var(--r-card); box-shadow: var(--shadow); }
.pm-author img { width: 76px; height: 76px; border-radius: 50%; background: #CCD2D7; padding: 9px; }
.pm-author .pm-kicker { margin-bottom: .2rem; }
.pm-author__name { font-family: var(--f-d); font-size: 1.6rem; }
.pm-author .wp-block-post-author-biography { margin-top: .4rem; font-size: .98rem; line-height: 1.6; color: color-mix(in srgb, var(--c-ink) 80%, transparent); }
.pm-author__links { margin: .8rem 0 0; display: flex; gap: 1.2rem; font-weight: 600; font-size: .92rem; }
.pm-author__links a { text-decoration-color: var(--c-acc); text-decoration-thickness: 2px; }

.pm-related { padding-top: clamp(4rem, 8vw, 6.5rem); }
.pm-related h2 { font-size: clamp(2rem, 3.6vw, 3.2rem); margin: 0 0 2.2rem; letter-spacing: -.025em; }
.pm-related__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.4rem, 3vw, 2.4rem); }
.pm-related .pm-card__title { font-size: 1.45rem; }

/* ---------- Guide-side ---------- */
.pm-ghead { position: relative; overflow: hidden; margin-top: clamp(1.5rem, 3vw, 2.5rem); padding: clamp(2.4rem, 6vw, 5.5rem) clamp(1.5rem, 6vw, 5.5rem); background: var(--c-creme2); border-radius: clamp(2rem, 4vw, 3.6rem) clamp(2rem, 4vw, 3.6rem) clamp(2rem, 4vw, 3.6rem) .6rem; }
.pm-ghead > * { position: relative; z-index: 1; }
.pm-ghead > * + * { margin-top: 1.2rem; }
.pm-ghead__feather { position: absolute !important; z-index: 0 !important; width: auto; height: 150%; right: 4%; top: -30%; transform: rotate(38deg); opacity: .9; margin: 0 !important; }
.pm-ghead__title { font-size: clamp(2.4rem, 5.4vw, 5rem) !important; line-height: 1 !important; letter-spacing: -.035em; max-width: 15ch; }
.pm-ghead .pm-meta img { background: var(--c-creme); }

/* ---------- Vanliga sidor ---------- */
.pm-phead { text-align: center; padding-top: clamp(3rem, 7vw, 6rem); padding-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.pm-phead__mark { width: 72px; height: 72px; margin: 0 auto 1.4rem; padding: 9px; border-radius: 50%; background: var(--c-papir); box-shadow: var(--shadow); }
.pm-phead__title { font-size: clamp(2.6rem, 6vw, 5rem) !important; letter-spacing: -.035em; line-height: 1; margin: 0 auto !important; max-width: 16ch; }
.pm-body--page { margin-top: 1.5rem !important; }
.pm-body--page > * { margin-inline: auto !important; }

/* ---------- Arkiv ---------- */
.pm-arhead { position: relative; overflow: hidden; margin-top: clamp(1.5rem, 3vw, 2.5rem); padding: clamp(2.4rem, 6vw, 5rem) clamp(1.5rem, 6vw, 5rem); border-radius: clamp(2rem, 4vw, 3.6rem) clamp(2rem, 4vw, 3.6rem) clamp(2rem, 4vw, 3.6rem) .6rem; background: #CCD2D7; }
.pm-arhead > * { position: relative; z-index: 1; }
.pm-arhead__feather { position: absolute !important; z-index: 0 !important; height: 170%; width: auto; right: 6%; top: -40%; transform: rotate(40deg); margin: 0 !important; }
.pm-arhead__title { font-size: clamp(2.8rem, 7vw, 6.4rem) !important; line-height: .98; letter-spacing: -.04em; margin: 1rem 0 0 !important; }
.pm-arhead__desc { max-width: 52ch; font-size: 1.15rem; margin-top: 1rem; }
.pm-arhead__desc p { margin: 0; }
.pm-grid { margin-top: clamp(2.5rem, 5vw, 4rem) !important; }
.pm-grid .wp-block-post-template { gap: clamp(2.2rem, 4vw, 3.4rem) clamp(1.4rem, 3vw, 2.4rem) !important; }
.pm-grid .wp-block-post { position: relative; }
.pm-grid .wp-block-post:nth-child(3n+2) .pm-card__media { border-radius: var(--r-card-m); }
.pm-card--grid .wp-block-post-featured-image a { display: block; }
.pm-card--grid .pm-card__title a::before { z-index: 1; }
.pm-grid .wp-block-query-pagination { margin-top: 3rem; font-weight: 600; }
.pm-grid .wp-block-query-pagination a { text-decoration: none; }

/* ---------- 404 och sök ---------- */
.pm-404 { position: relative; padding-block: clamp(4rem, 10vw, 9rem); text-align: center; }
.pm-404__art { width: 120px; height: 220px; margin: 0 auto 1.5rem; }
.pm-404__art img { height: 100%; width: auto; margin: 0 auto; transform: rotate(24deg); animation: pm-fall 6s ease-in-out infinite alternate; }
@keyframes pm-fall { from { translate: -16px -6px; rotate: -8deg; } to { translate: 16px 6px; rotate: 8deg; } }
.pm-404 h1 { font-size: clamp(3rem, 8vw, 6.4rem); letter-spacing: -.04em; margin: 1rem 0; }
.pm-404 .pm-lede { font-size: 1.2rem; max-width: 40ch; margin-inline: auto; }
.pm-404 .wp-block-search { max-width: 480px; margin: 2rem auto; }
.wp-block-search__input { border-radius: 999px; border: 1px solid var(--line); background: var(--c-papir); padding: .8rem 1.2rem; font: inherit; }
.wp-block-search__button { border-radius: 999px !important; }

/* ---------- Responsivt ---------- */
@media (max-width: 1099px) {
	.pm-read { grid-template-columns: minmax(0, 1fr); max-width: 680px; margin-inline: auto; }
	.pm-read > .pm-body, .pm-toc { grid-column: 1; }
	.pm-toc { position: static; background: var(--c-papir); border-radius: 1.4rem 1.4rem 1.4rem .35rem; padding: 1.1rem 1.3rem; box-shadow: var(--shadow); }
	.pm-toc summary { cursor: pointer; border-bottom: 0; padding-bottom: 0; }
	.pm-toc details[open] summary { padding-bottom: .7rem; border-bottom: 1px solid var(--line); }
	.pm-author { margin-inline: auto !important; }
	.pm-guides__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
	.pm-intro, .pm-lead, .pm-ahead, .pm-guides__head, .pm-streams__cols, .pm-bro { grid-template-columns: minmax(0, 1fr); }
	.pm-streams__cols::before { display: none; }
	.pm-stream--pote { padding-top: 3rem; }
	.pm-house__list, .pm-related__grid { grid-template-columns: minmax(0, 1fr); }
	.pm-house__list { gap: 4.2rem; padding-top: 2rem; }
	.pm-footer__inner { grid-template-columns: 1fr 1fr; }
	.pm-footer__brand { grid-column: 1 / -1; }
	.pm-ahead__media { order: -1; max-width: 520px; width: 100%; margin-inline: auto; }
	.pm-ahead__img img { aspect-ratio: 4 / 3.4; }
	.pm-ahead__feather { height: 48%; left: -6%; }
	.pm-bro { background: linear-gradient(180deg, #CCD2D7 0 50%, var(--c-sage-l) 50% 100%); padding-top: 3rem; }
	.pm-bro__media img { aspect-ratio: 4 / 3; }
	.pm-bro__media { border-radius: 999px 999px 1.4rem 1.4rem; }
	.pm-lead__feather { height: 48%; right: 0; }
}
@media (max-width: 760px) {
	.pm-hero { --seam: 100%; grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(10rem, 30vh) auto auto auto minmax(4rem, 10vh) auto auto auto; min-height: 0; }
	.pm-hero__panel--fjer { grid-column: 1; grid-row: 1 / 5; }
	.pm-hero__panel--pote { grid-column: 1; grid-row: 5 / 9; }
	.pm-hero__eb--a { grid-row: 2; grid-column: 1; justify-self: start; padding: 0 1.25rem; }
	.pm-hero__w--a { grid-row: 3; grid-column: 1; justify-self: start; padding: 0 1.25rem; font-size: clamp(3rem, 16vw, 5rem); }
	.pm-door--fjer { grid-row: 4; grid-column: 1; align-items: flex-start; text-align: left; padding: 1rem 1.25rem 2.6rem; }
	.pm-hero__amp { grid-row: 5; grid-column: 1; justify-self: end; align-self: start; translate: 0 -50%; margin-right: 1.25rem; width: 4.2rem; font-size: 2.3rem; }
	.pm-hero__eb--b { grid-row: 6; grid-column: 1; justify-self: start; padding: 0 1.25rem; margin-top: -1.5rem; }
	.pm-hero__w--b { grid-row: 7; grid-column: 1; justify-self: start; padding: 0 1.25rem; font-size: clamp(3rem, 16vw, 5rem); }
	.pm-door--pote { grid-row: 8; grid-column: 1; padding: 1rem 1.25rem 2.4rem; }
	.pm-hero__feather { height: 340px; top: -95px; left: auto; right: 4px; transform: rotate(58deg); }
	.pm-hero__feather--b { display: none; }
	.pm-paw { width: 26px; }
	.pm-guides__list { grid-template-columns: minmax(0, 1fr); }
	.pm-guide__icon { margin-bottom: 1.4rem; }
	.pm-footer__inner { grid-template-columns: 1fr; }
	.pm-footer__fan { width: 340px; height: 420px; right: -20%; }
	.pm-card--lille { grid-template-columns: 88px 1fr; gap: 1rem; }
	.pm-ahead__title { font-size: clamp(2.1rem, 9vw, 3rem) !important; }
	.pm-author { grid-template-columns: 1fr; padding: 1.5rem; }
	.pm-header__row { padding-block: .6rem; }
	.pm-brand__mark img { width: 40px; height: 40px; }
	.pm-header .wp-block-site-title { font-size: 1.22rem; }
	.pm-arhead__feather, .pm-ghead__feather { opacity: .35; }
	.pm-bro__icons img { width: 54px; height: 54px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
	.pm-paw { opacity: .45; }
}

/* Mobilmeny */
.pm-nav .is-menu-open .wp-block-navigation__responsive-container-content,
.pm-nav .is-menu-open .wp-block-navigation__container,
.pm-nav .is-menu-open .wp-block-navigation-item,
.pm-nav .is-menu-open .wp-block-navigation__submenu-container { align-items: flex-start !important; text-align: left; }
.pm-nav .is-menu-open .wp-block-navigation__responsive-container-content { justify-content: flex-start !important; }
.pm-nav .is-menu-open .wp-block-navigation__responsive-dialog::after { content: ""; position: fixed; right: -70px; bottom: -150px; width: 200px; height: 420px; background: url("assets/img/fjer.svg") center / contain no-repeat; rotate: -28deg; opacity: .55; pointer-events: none; }

/* Typografi: Young Serif bär de stora ögonblicken, Figtree i kraftig vikt bär kort, etiketter och gränssnitt. */
.pm-card__title, .pm-guide__title, .pm-stream__label h3, .pm-related .pm-card__title { font-family: var(--f-t) !important; font-weight: 780 !important; letter-spacing: -.022em !important; line-height: 1.16 !important; }
.pm-card__title { font-size: clamp(1.25rem, 1.6vw, 1.45rem) !important; }
.pm-card--lille .pm-card__title { font-size: 1.12rem !important; }
.pm-guide__title { font-size: 1.32rem !important; }
.pm-stream__label h3 { font-size: 1.35rem !important; }
.pm-kicker__dot { background: var(--c-acc); }
.pm-hero__eb--a { color: var(--c-jaco-d); }
.pm-pawrow i { opacity: .5; }
/* Guiderna på grafit */
.pm-band--creme { background: var(--c-ink); color: var(--c-creme); }
.pm-band--creme .pm-guides__head h2 { color: #fff; }
.pm-band--creme .pm-guides__head > p:last-child { color: color-mix(in srgb, var(--c-creme) 82%, transparent); }
.pm-band--creme .pm-kicker { color: var(--c-sage); }
.pm-band--creme .pm-kicker__dot { background: var(--c-sage); }
.pm-band--creme .pm-ul path { stroke: var(--c-sage); }
.pm-guide__num { color: var(--c-jaco-l); }
.pm-guide:hover .pm-guide__num { color: var(--c-acc); }
.pm-guide__icon { background: var(--c-creme); color: var(--c-ink); }
.pm-guide:nth-child(3) .pm-guide__icon, .pm-guide:nth-child(4) .pm-guide__icon { color: var(--c-acc); }
.pm-guide__go { color: var(--c-acc); }
.pm-ul path { stroke: var(--c-ink); }
.pm-ul--salvie path { stroke: var(--c-acc); }
.pm-body h2::after { background: var(--c-acc); }
.pm-progress span { background: linear-gradient(90deg, var(--c-jaco) 0%, var(--c-acc) 80%); }
.pm-amp { color: var(--c-acc); }
::selection { background: var(--c-ink); color: #fff; }
:focus-visible { outline-color: var(--c-ink); }

/* ================================================================
   Tillgänglighet (WCAG 2.2 AA)
   ================================================================ */
/* Guidernas nummer: minst 3:1 mot kortet (stor text). */
.pm-guide__num { color: #868C93; }
/* Synlig fokus även på grafit (guidebandet och sidfoten). */
.pm-band--creme :focus-visible, .pm-footer :focus-visible { outline-color: var(--c-creme); }
/* Undermenyknappen minst 24 x 24 px (2.5.8). */
.pm-nav .wp-block-navigation__submenu-icon { width: 24px; height: 24px; display: inline-flex; align-items: center; justify-content: center; margin-left: 0; padding: 0; }
.pm-nav .wp-block-navigation__submenu-icon svg { width: 12px; height: 12px; margin: 0; }
/* Pausknapp för slingorna (2.2.2). */
.pm-still { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; margin-left: auto; margin-right: -.6rem; padding: 0; border: 1.5px solid color-mix(in srgb, var(--c-ink) 55%, transparent); border-radius: 50%; background: transparent; color: var(--c-ink); cursor: pointer; }
.pm-still[hidden] { display: none; }
.pm-header__row > .pm-still { margin: 0 -.4rem 0 auto; }
.pm-still:hover { border-color: var(--c-ink); }
.pm-still__i { width: 10px; height: 11px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.pm-still[aria-pressed="true"] .pm-still__i { width: 0; height: 0; border-right: 0; border-left: 10px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; margin-left: 3px; }
.pm-is-still .pm-hero__feather, .pm-is-still .pm-paw, .pm-is-still .pm-404__art img { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) { .pm-still { display: none !important; } }
/* Reflow och textavstånd: dekoren får inte ge vågrät scroll, hjältens ord får brytas hellre än klippas. */
.wp-site-blocks { overflow-x: clip; }
.pm-hero__w { min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
@media (max-width: 760px) {
	/* Ingressen ligger över fjädern på mobil: full färg. */
	.pm-ahead__excerpt, .pm-ghead__excerpt { color: var(--c-ink); }
}
/* Länkar inne i de ljusa guidekorten på grafitbandet: mörk fokusram mot kortet. */
.pm-band--creme .pm-guide :focus-visible { outline-color: var(--c-ink); }
