:root {
  color-scheme: light;
  --color-forest: #1a3c2f;
  --color-canvas: #f7faf4;
  --color-sage: #7d946f;
  --color-terracotta: #b45309;
  --color-ink: #17281f;
  --color-muted: #4d5f51;
  --color-focus: #1d4ed8;
  --color-surface-raised: #fffdf7;
  --color-surface-muted: #e7efe4;
  --color-border: var(--color-sage);
  --surface: var(--color-canvas);
  --surface-raised: var(--color-surface-raised);
  --surface-muted: var(--color-surface-muted);
  --ink: var(--color-ink);
  --muted: var(--color-muted);
  --line: var(--color-border);
  --accent: var(--color-forest);
  --accent-strong: var(--color-forest);
  --evidence: var(--color-terracotta);
  --signal: #d1a13a;
  --blossom: #b35d72;
  --sky: #d7eaed;
  --canopy-ink: #15251c;
  --leaf-vein: #2d5f3d;
  --wet-soil: #30483a;
  --paper-fiber: #f7f4ea;
  --mist-glass: #e6efe7;
  --waterline: #2f7f83;
  --brass-tag: #b6903a;
  --berry-mark: #a34861;
  --bed-rule: #cfdac7;
  --focus: var(--color-focus);
  --radius-control: 8px;
  --radius-feature: 16px;
  --radius-card: var(--radius-feature);
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 40px;
  --space-section: 80px;
  --layout-max: 1280px;
  --layout-gutter: 24px;
  --layout-margin: 48px;
  --layout-margin-mobile: 16px;
  --layout-columns: 12;
  --shadow-soft: 0 18px 45px rgba(23, 40, 31, 0.12);
  --font-heading: "Hanken Grotesk", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-reading: "Source Serif 4", Georgia, "Times New Roman", serif;
  --font-body: var(--font-reading);
  --font-display: var(--font-heading);
  --font-utility: var(--font-heading);
  --step-0: 1rem;
  --step-1: 1.12rem;
  --step-2: 1.35rem;
  --step-3: 1.7rem;
  --step-4: 2.25rem;
  --step-5: 3.35rem;
}

:root {
  --bg: var(--surface);
  --paper: var(--surface-raised);
  --sun: var(--signal);
  --rose: var(--blossom);
  --shadow: var(--shadow-soft);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

a {
  color: inherit;
}

a,
button,
input,
select,
textarea,
summary,
.button {
  touch-action: manipulation;
}

:where(a, button, input, select, textarea, summary, .button):focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  left: 12px;
  top: 12px;
  z-index: 100;
  transform: translateY(-160%);
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  background: var(--ink);
  color: var(--surface-raised);
  font-weight: 800;
  text-decoration: none;
}

.skip-link:focus-visible {
  transform: translateY(0);
}

#main-content:focus {
  outline: 3px solid var(--color-focus);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  padding: var(--space-2) var(--layout-margin);
  background: var(--color-forest);
  border-bottom: 1px solid var(--color-sage);
}

.site-header__inner,
.site-footer__inner {
  width: min(var(--layout-max), 100%);
  margin: 0 auto;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--layout-gutter);
}

.brand {
  font-family: var(--font-heading);
  font-weight: 800;
  text-decoration: none;
  color: var(--color-canvas);
  white-space: nowrap;
}

.site-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  justify-content: flex-end;
  font-family: var(--font-heading);
  font-size: 0.95rem;
}

.site-menu a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 4px 8px;
  text-decoration: none;
  color: var(--color-canvas);
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.site-menu a:hover {
  color: #fff;
  text-decoration: underline;
}

.site-menu-disclosure {
  display: none;
}

.site-menu-disclosure summary {
  min-height: 48px;
  align-items: center;
  cursor: pointer;
  color: var(--color-canvas);
  font-family: var(--font-heading);
  font-weight: 750;
}

main {
  width: min(var(--layout-max), calc(100% - (var(--layout-margin) * 2)));
  margin: 0 auto;
}

.layout-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--layout-gutter);
}

.home-hero,
.article-hero,
.simple-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.86fr);
  gap: 44px;
  align-items: center;
  padding: 44px 0 22px;
}

.simple-hero {
  display: block;
}

.home-hero img,
.article-hero img {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-feature);
  box-shadow: var(--shadow);
}

.article-hero__copy,
.article-hero__media {
  min-width: 0;
}

.article-hero__media img {
  width: 100%;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-family: var(--font-heading);
  line-height: 1.15;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

h1 {
  font-size: var(--step-5);
  max-width: 12ch;
}

.article-hero h1 {
  font-size: var(--step-5);
  max-width: 13ch;
}

h2 {
  font-size: var(--step-4);
}

h3 {
  font-size: var(--step-2);
}

.home-hero p,
.summary {
  max-width: 64ch;
  font-size: 1.12rem;
  color: var(--muted);
  text-wrap: pretty;
}

.byline {
  color: var(--muted);
  font-size: 0.95rem;
  margin-top: 18px;
}

.byline a {
  color: var(--accent-strong);
  font-weight: 750;
  text-decoration: none;
}

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

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.button,
.button--primary,
.button--secondary,
.button--ghost,
.button-secondary {
  min-height: 48px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  padding: 0 18px;
  border-radius: var(--radius-control);
  font-family: var(--font-heading);
  background: var(--accent-strong);
  color: #fff;
  font-weight: 750;
  text-decoration: none;
  text-align: center;
  line-height: 1.2;
}

.button--secondary,
.button-secondary {
  background: #e4eadf;
  color: var(--accent-strong);
}

.button--ghost {
  border: 1px solid var(--color-sage);
  background: transparent;
  color: var(--color-forest);
}

.intro-band,
.disclosure,
.fact-box {
  margin: 34px 0;
  padding: clamp(22px, 4vw, 36px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
}

.fact-box {
  border-left: 4px solid var(--evidence);
}

.intro-band {
  border-left: 4px solid var(--accent);
}

.disclosure {
  border-left: 4px solid var(--signal);
}

.intro-band p,
.disclosure p {
  max-width: 78ch;
  text-wrap: pretty;
}

.main-page-hero {
  border-bottom: 1px solid rgba(207, 218, 199, 0.72);
}

.home-hero--split {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.86fr);
}

.home-hero__media {
  min-width: 0;
}

.home-hero__media img {
  width: 100%;
}

.home-intro {
  position: relative;
  background: var(--paper-fiber);
  border-color: var(--bed-rule);
}

.home-editorial-intro {
  border-left-color: var(--waterline);
}

.home-intro::before {
  content: "";
  position: absolute;
  left: -1px;
  top: clamp(22px, 4vw, 36px);
  width: 4px;
  height: 2.4rem;
  border-radius: 0 3px 3px 0;
  background: var(--waterline);
}

.section {
  padding: var(--space-section) 0;
}

.main-index-section {
  border-top: 1px solid rgba(207, 218, 199, 0.58);
}

.home-category-band {
  display: grid;
  gap: 24px;
}

.home-category-band__heading {
  margin-bottom: 0;
}

.home-category-band__title {
  color: var(--accent-strong);
}

.home-all-guides {
  border-bottom: 1px solid rgba(207, 218, 199, 0.58);
}

.home-all-guides__grid {
  padding-bottom: 8px;
}

.home-all-guides__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 10px 18px;
  margin: 0;
  padding: 0 0 8px;
  list-style: none;
}

.home-all-guides__item a {
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid rgba(207, 218, 199, 0.72);
  color: var(--accent-strong);
  font-weight: 700;
}

.section,
.article-content section,
.intro-band,
.disclosure,
.fact-box,
.ad-wrap {
  content-visibility: auto;
  contain-intrinsic-size: auto 520px;
}

.section:target {
  content-visibility: visible;
  scroll-margin-top: 92px;
}

main:has(.section:target) .section,
main:has(.section:target) .ad-wrap {
  content-visibility: visible;
}

.article-content section,
.article-main-flow section,
.fact-box {
  scroll-margin-top: 96px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(280px, 0.45fr);
  gap: 24px;
  align-items: end;
  margin-bottom: 24px;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.home-card-grid {
  align-items: stretch;
}

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

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

.guide-card {
  display: grid;
  grid-template-rows: auto auto auto 1fr;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  overflow: hidden;
  min-width: 0;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.guide-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.guide-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 8px 8px 0 0;
}

.guide-card__category,
.guide-card h3,
.guide-card__summary {
  margin-left: 16px;
  margin-right: 16px;
}

.guide-card__category {
  margin-top: 16px;
  color: var(--color-terracotta);
  font-size: 0.76rem;
  font-weight: 800;
  font-family: var(--font-heading);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.guide-card h3 {
  margin-top: 6px;
}

.guide-card h3 a {
  text-decoration: none;
}

.guide-card h3 a:hover {
  text-decoration: underline;
}

.guide-card__summary {
  margin-top: 8px;
  margin-bottom: 16px;
  color: var(--muted);
}

.latest-section .post-card {
  margin: 0 0 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  overflow: hidden;
}

.latest-section .post-card a {
  display: grid;
  grid-template-columns: minmax(136px, 180px) minmax(0, 1fr);
  min-height: 100%;
  color: inherit;
  text-decoration: none;
}

.latest-section .post-card a:hover {
  background: #f8fbf4;
}

.latest-section .post-card img {
  width: 100%;
  height: 100%;
  min-height: 152px;
  aspect-ratio: 4 / 3;
  border-right: 1px solid var(--line);
  object-fit: cover;
}

.latest-section .post-card div {
  display: grid;
  align-content: start;
  gap: 8px;
  min-width: 0;
  padding: 18px 20px;
}

.latest-section .post-card .meta {
  margin: 0;
  color: var(--evidence);
  font-family: var(--font-utility);
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1.35;
  text-transform: uppercase;
}

.latest-section .post-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.16rem, 1.04rem + 0.45vw, 1.55rem);
  line-height: 1.18;
}

.latest-section .post-card p:not(.meta) {
  margin: 0;
  color: var(--muted);
  text-wrap: pretty;
}

.site-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}

.site-grid a {
  display: grid;
  align-content: start;
  gap: 5px;
  min-height: 96px;
  padding: 16px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-card);
  background: var(--paper);
  text-decoration: none;
}

.site-grid a:hover {
  background: #f8fbf4;
  border-color: #c3d0bb;
}

.site-grid span {
  color: var(--evidence);
  font-family: var(--font-utility);
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1.3;
  text-transform: uppercase;
}

.site-grid strong {
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

#nettsteder .site-grid {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 10px;
}

#nettsteder .site-grid a {
  min-height: 82px;
  padding: 13px 14px;
  border-left: 4px solid var(--accent-strong);
}

#nettsteder .site-grid strong {
  color: var(--accent-strong);
  font-family: var(--font-utility);
  font-size: 0.95rem;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 0.92rem;
}

.breadcrumbs > * + *::before {
  content: "/";
  margin-right: 8px;
  color: #9a9f93;
}

.article-page {
  padding-bottom: 48px;
}

.article-content {
  width: min(1040px, 100%);
  margin: 0 auto;
}

.article-content a,
.article-main-flow a {
  overflow-wrap: anywhere;
}

.article-content .lead {
  color: #3f4b3f;
  font-size: 1.18rem;
}

.article-lead {
  max-width: 68ch;
  text-wrap: pretty;
}

.updated {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 8px 10px 8px 12px;
  border-left: 4px solid var(--evidence);
  background: var(--surface-raised);
  color: var(--muted);
  font-family: var(--font-utility);
  font-size: 0.95rem;
  margin-top: 14px;
}

.article-content section {
  margin: 42px 0;
}

.article-content p,
.article-content li,
.fact-box td,
.fact-box th {
  font-size: 1.04rem;
}

.fact-box table {
  width: 100%;
  border-collapse: collapse;
}

.fact-box th,
.fact-box td {
  padding: 12px 0;
  border-top: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.fact-box th {
  width: 34%;
  color: var(--accent-strong);
}

.toc {
  margin: 34px 0 42px;
  padding: 22px;
  background: #f0f5ef;
  border: 1px solid #d5dfd1;
  border-radius: var(--radius-card);
}

.toc h2 {
  font-size: 1.2rem;
}

.toc div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.toc a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid #cbd8c6;
  border-radius: var(--radius-control);
  background: #fffdf8;
  color: var(--accent-strong);
  font-weight: 700;
  text-decoration: none;
}

.article-figure {
  margin: 34px 0;
}

.article-figure-block {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--bed-rule);
}

.article-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.article-figure figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.95rem;
}

.check-list {
  padding-left: 1.2rem;
}

.feature-list,
.timeline-list {
  padding-left: 1.2rem;
}

.feature-list {
  display: grid;
  gap: 8px;
  margin: 18px 0;
}

.feature-list li::marker {
  color: var(--accent);
}

.timeline-box {
  padding: 24px;
  background: #eef3ea;
  border: 1px solid #d4dfcd;
  border-radius: var(--radius-card);
}

.article-timeline-block {
  border-left: 4px solid var(--waterline);
}

.decision-box {
  padding: 24px;
  background: var(--paper);
  border-left: 4px solid var(--sun);
  border-radius: var(--radius-card);
}

.article-decision-block {
  border-top: 1px solid rgba(182, 144, 58, 0.36);
}

.link-callout {
  padding: 24px;
  background: #eef3ea;
  border: 1px solid #d4dfcd;
  border-radius: var(--radius-card);
}

.article-external-link-block {
  border-left: 4px solid var(--leaf-vein);
}

.link-callout a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  margin-top: 8px;
  padding: 0 14px;
  border-radius: 6px;
  background: var(--accent-strong);
  color: #fff;
  font-weight: 750;
  text-decoration: none;
}

.link-callout a:hover {
  background: var(--accent);
}

.tool-source-section {
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.tool-source-section p {
  color: var(--muted);
}

.tool-source-list {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.tool-source-list li {
  display: grid;
  gap: 4px;
  padding: 0 0 12px;
  border-bottom: 1px solid rgba(49, 74, 57, 0.14);
}

.tool-source-list a {
  font-weight: 800;
}

.tool-source-list span {
  color: var(--muted);
}

.timeline-list {
  margin-bottom: 0;
}

.check-list li + li,
.timeline-list li + li {
  margin-top: 8px;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.article-faq-block {
  padding-bottom: 6px;
  border-bottom: 1px solid var(--bed-rule);
}

details {
  padding: 16px 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

summary {
  cursor: pointer;
  font-weight: 800;
}

.related ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  list-style: none;
}

.article-related-block {
  padding: 24px;
  border: 1px solid var(--bed-rule);
  border-top: 4px solid var(--brass-tag);
  border-radius: var(--radius-card);
  background: var(--paper-fiber);
}

.related a {
  display: inline-flex;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  background: var(--paper);
  text-decoration: none;
}

.method-note {
  padding-top: 26px;
  border-top: 1px solid var(--line);
  border-left: 4px solid var(--signal);
  padding-left: 18px;
  color: var(--muted);
}

.method-note h2 {
  color: var(--ink);
  font-size: 1.35rem;
}

.method-note a {
  color: var(--accent-strong);
  font-weight: 750;
}

.ad-wrap {
  display: grid;
  align-content: start;
  justify-items: start;
  min-height: 280px;
  margin: 28px 0;
  padding: 12px;
  border: 1px dashed #b8b2a3;
  border-radius: var(--radius-card);
  background: #eef2eb;
  color: #4f5c4f;
  font-family: var(--font-utility);
  overflow: hidden;
}

.ad-wrap span {
  align-self: start;
  justify-self: start;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.ad-top,
.ad-bottom {
  min-height: 280px;
}

.ad-inline {
  min-height: 320px;
}

.adsbygoogle {
  width: 100%;
  min-height: 220px;
}

.site-footer {
  margin-top: 56px;
  padding: 32px clamp(18px, 4vw, 56px);
  background: var(--color-forest);
  color: var(--color-canvas);
}

.site-footer p {
  max-width: 900px;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(min(100%, 62ch), 68ch) minmax(250px, 300px);
  gap: clamp(22px, 4vw, 44px);
  align-items: start;
  justify-content: center;
}

.article-editorial-grid {
  margin-top: 8px;
}

.article-main-flow {
  min-width: 0;
}

.article-reading-column {
  width: 100%;
}

.article-evidence-rail {
  position: sticky;
  top: 86px;
  display: grid;
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--evidence);
  border-radius: var(--radius-card);
  background: #fffbf0;
  box-shadow: 0 16px 36px rgba(23, 40, 31, 0.1);
}

.article-evidence-card {
  isolation: isolate;
}

.article-field-summary {
  gap: 14px;
  padding: 18px;
  border-color: var(--bed-rule);
  border-left: 4px solid var(--waterline);
  background: var(--paper-fiber);
  box-shadow: none;
}

.article-field-summary .updated {
  border-left-color: var(--brass-tag);
}

.article-field-log .article-main-flow section {
  position: relative;
  padding-left: clamp(16px, 2vw, 24px);
  border-left: 1px solid var(--bed-rule);
}

.article-field-log .article-main-flow section::before {
  content: "";
  position: absolute;
  left: -2px;
  top: 0.35rem;
  width: 3px;
  height: 2.1rem;
  border-radius: 3px;
  background: var(--waterline);
}

.rail-label {
  margin: 0;
  color: var(--evidence);
  font-family: var(--font-utility);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.article-evidence-rail h2 {
  font-size: var(--step-2);
}

.article-fact-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.article-fact-list li {
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.article-fact-list span {
  display: block;
  color: var(--muted);
  font-family: var(--font-utility);
  font-size: 0.82rem;
}

.article-fact-list strong {
  display: block;
  margin-top: 2px;
  color: var(--ink);
  font-size: 0.98rem;
  overflow-wrap: anywhere;
}

.article-toc-card {
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
}

.article-toc-card h2 {
  font-family: var(--font-utility);
  font-size: 0.95rem;
}

.article-toc-card div {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.article-field-summary .article-toc-card {
  padding-top: 14px;
  border-top: 1px solid var(--bed-rule);
}

.article-field-summary .article-toc-card div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.article-toc-card a {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  background: var(--surface);
  color: var(--accent-strong);
  font-weight: 750;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.article-field-summary .article-toc-card a {
  flex: 1 1 120px;
  min-height: 38px;
  background: var(--surface-raised);
}

.article-toc-card a:hover {
  border-color: rgba(47, 107, 67, 0.42);
  background: #fffef9;
}

.info-hero,
.info-page__hero {
  max-width: min(820px, 100%);
  padding-bottom: clamp(22px, 3vw, 34px);
  border-bottom: 1px solid var(--bed-rule);
}

.info-layout,
.info-page__layout {
  display: grid;
  grid-template-columns: minmax(min(100%, 62ch), 68ch) minmax(230px, 280px);
  gap: clamp(22px, 4vw, 44px);
  align-items: start;
  justify-content: center;
  margin-top: clamp(22px, 4vw, 42px);
}

.info-main,
.info-page__reading-column {
  width: 100%;
  margin: 0;
}

.info-page-nav,
.info-page__toc {
  position: sticky;
  top: 86px;
  display: grid;
  gap: 10px;
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--bed-rule);
  border-left: 4px solid var(--waterline);
  border-radius: var(--radius-card);
  background: var(--paper-fiber);
}

.info-page-nav h2 {
  font-family: var(--font-utility);
  font-size: 1rem;
}

.info-page-nav div {
  display: grid;
  gap: 8px;
  margin-top: 2px;
}

.info-page-nav a {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  background: var(--surface-raised);
  color: var(--accent-strong);
  font-weight: 750;
  line-height: 1.25;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.info-page-nav a:hover {
  border-color: rgba(47, 107, 67, 0.42);
  background: #fffef9;
}

.info-page .article-content section,
.info-page__section {
  position: relative;
  margin: 0 0 clamp(30px, 4vw, 46px);
  padding-left: clamp(16px, 2vw, 24px);
  border-left: 1px solid var(--bed-rule);
}

.info-page .article-content section::before {
  content: "";
  position: absolute;
  left: -2px;
  top: 0.35rem;
  width: 3px;
  height: 2.1rem;
  border-radius: 3px;
  background: var(--waterline);
}

.info-page .article-content section h2 {
  font-size: var(--step-3);
}

.info-page .article-content section p {
  max-width: 68ch;
  text-wrap: pretty;
}

.info-contact-card,
.info-page__contact {
  margin: 0 0 28px;
  padding: 16px 18px;
  border: 1px solid var(--bed-rule);
  border-left: 4px solid var(--brass-tag);
  border-radius: var(--radius-card);
  background: var(--surface-raised);
}

.info-contact-card a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--accent-strong);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.tool-page {
  --tool-paper: #fffdf7;
  --tool-board: #e4eddd;
  --tool-rule: #cfdac6;
  --tool-ink: #17281f;
  --tool-muted: #596a5c;
  --tool-marker: #c66532;
  --tool-brass: #b8872f;
  --tool-row: rgba(207, 218, 198, 0.52);
  padding-bottom: 56px;
}

.tool-page .article-content {
  width: min(1040px, 100%);
}

.tool-page .article-layout {
  display: block;
}

.tool-page .lead {
  max-width: 72ch;
}

.tool-hero,
.tool-page .article-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(320px, 0.58fr);
  gap: clamp(24px, 4vw, 44px);
  align-items: center;
  padding: clamp(28px, 5vw, 46px) 0 22px;
}

.tool-page .article-hero img {
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(23, 40, 31, 0.16);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(23, 40, 31, 0.14);
}

.tool-page .article-hero h1 {
  max-width: 12ch;
}

.tool-hero-copy p:not(.eyebrow),
.tool-copy p {
  color: var(--muted);
}

.tool-panel,
.tool-workbench,
.tool-workbench-panel,
.tool-page form[data-host-og-spis-form] {
  display: grid;
  gap: 20px;
  margin: 30px 0;
  padding: clamp(18px, 3vw, 28px);
  background-color: var(--tool-paper);
  border: 1px solid var(--tool-rule);
  border-top: 5px solid var(--tool-brass);
  border-radius: 8px;
  box-shadow: 0 20px 46px rgba(23, 40, 31, 0.13);
}

.tool-location-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.64fr);
  gap: 14px;
  align-items: end;
}

.tool-field {
  min-width: 0;
}

.tool-panel label,
.tool-panel legend,
.tool-workbench label,
.tool-workbench legend,
.tool-page form[data-host-og-spis-form] label,
.tool-page form[data-host-og-spis-form] legend {
  display: block;
  color: var(--accent-strong);
  font-family: var(--font-utility);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0;
}

.tool-panel input[type="text"],
.tool-panel select,
.tool-workbench input[type="text"],
.tool-workbench select,
.tool-page form[data-host-og-spis-form] input[type="text"],
.tool-page form[data-host-og-spis-form] select {
  width: 100%;
  min-height: 48px;
  margin-top: 7px;
  padding: 9px 12px;
  border: 1px solid #bfcbb8;
  border-radius: var(--radius-control);
  background: #fffefb;
  color: var(--ink);
  font: inherit;
  box-shadow: inset 0 1px 0 rgba(23, 40, 31, 0.04);
}

.tool-workbench input[type="text"]:focus,
.tool-workbench select:focus,
.tool-page form[data-host-og-spis-form] input[type="text"]:focus,
.tool-page form[data-host-og-spis-form] select:focus {
  border-color: var(--color-focus);
  outline: 3px solid var(--color-focus);
  outline-offset: 3px;
}

.tool-panel fieldset,
.tool-workbench fieldset,
.tool-page form[data-host-og-spis-form] fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.tool-panel legend,
.tool-workbench legend,
.tool-page form[data-host-og-spis-form] legend {
  margin-bottom: 6px;
  padding: 0;
}

.tool-field-hint {
  max-width: 68ch;
  margin: 0 0 12px;
  color: var(--tool-muted);
  font-size: 0.95rem;
}

.tool-chip-grid,
.tool-page [data-crop-options] {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.tool-chip,
.tool-page [data-crop-options] label {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 9px 11px;
  border: 1px solid #c9d5c2;
  border-radius: var(--radius-control);
  background: rgba(255, 253, 247, 0.84);
  color: var(--tool-ink);
  font-weight: 750;
  line-height: 1.25;
}

.tool-chip input,
.tool-page [data-crop-options] input {
  width: 18px;
  height: 18px;
  accent-color: var(--accent-strong);
  flex: 0 0 auto;
}

.tool-results,
.tool-results-panel,
.tool-page [data-results] {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 32px 0 36px;
  padding: clamp(18px, 3vw, 26px);
  background: var(--tool-board);
  border: 1px solid #cad7c2;
  border-radius: 8px;
}

.tool-results > h2,
.tool-results > p,
.tool-page [data-results] > h2,
.tool-page [data-results] > p {
  grid-column: 1 / -1;
}

.tool-result-intro,
.tool-page [data-results] > p {
  max-width: 72ch;
  color: var(--tool-muted);
}

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

.tool-result-card {
  display: grid;
  gap: 12px;
  min-width: 0;
  padding: 16px;
  border: 1px solid #cbd7c3;
  border-top: 5px solid var(--tool-marker);
  border-radius: 8px;
  background: var(--tool-paper);
  box-shadow: 0 12px 28px rgba(23, 40, 31, 0.08);
}

.tool-result-card.is-green {
  border-top-color: #2f7a48;
}

.tool-result-card.is-yellow {
  border-top-color: #b8872f;
}

.tool-result-card.is-red {
  border-top-color: #b55335;
}

.tool-result-card-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid #dce3d5;
}

.tool-result-card h3 {
  min-width: 0;
  font-size: var(--step-2);
}

.tool-result-card p {
  margin: 0;
}

.tool-result-why {
  color: #334236;
}

.tool-result-details {
  display: grid;
  gap: 0;
  margin: 0;
}

.tool-result-details div {
  display: grid;
  grid-template-columns: minmax(100px, 0.34fr) minmax(0, 1fr);
  gap: 12px;
  padding: 9px 0;
  border-top: 1px solid #e1e7dc;
}

.tool-result-details div:first-child {
  border-top: 0;
}

.tool-result-details dt {
  color: #6b5530;
  font-family: var(--font-utility);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.tool-result-details dd {
  margin: 0;
  color: var(--tool-ink);
}

.tool-result-level {
  flex: 0 0 auto;
  max-width: 14rem;
  padding: 5px 8px;
  border: 1px solid rgba(198, 101, 50, 0.32);
  border-radius: 8px;
  background: #fff5ed;
  color: #8e3f1f;
  font-family: var(--font-utility);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
}

.tool-result-level.is-green {
  border-color: rgba(47, 122, 72, 0.34);
  background: #eef8ef;
  color: #1f5f39;
}

.tool-result-level.is-yellow {
  border-color: rgba(184, 135, 47, 0.38);
  background: #fff7dc;
  color: #775317;
}

.tool-result-level.is-red {
  border-color: rgba(181, 83, 53, 0.36);
  background: #fff0eb;
  color: #8b3425;
}

.tool-advice-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
}

.tool-advice-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  max-width: 100%;
  padding: 5px 9px;
  border: 1px solid rgba(184, 135, 47, 0.38);
  border-radius: var(--radius-control);
  background: #fff7dc;
  color: #775317;
  font-family: var(--font-utility);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.tool-advice-pill.is-green {
  border-color: rgba(47, 122, 72, 0.34);
  background: #eef8ef;
  color: #1f5f39;
}

.tool-advice-pill.is-yellow {
  border-color: rgba(184, 135, 47, 0.38);
  background: #fff7dc;
  color: #775317;
}

.tool-advice-pill.is-red {
  border-color: rgba(181, 83, 53, 0.36);
  background: #fff0eb;
  color: #8b3425;
}

.tool-crop-details {
  padding: 0;
  background: #fbf8ef;
  border: 1px solid #dce3d5;
  border-radius: 8px;
}

.tool-crop-details summary {
  padding: 11px 12px;
  color: var(--accent-strong);
  font-family: var(--font-utility);
  font-size: 0.9rem;
  font-weight: 850;
  line-height: 1.25;
}

.tool-crop-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 0 12px 12px;
}

.tool-crop-detail-grid section {
  min-width: 0;
  padding-top: 11px;
  border-top: 1px solid #e1e7dc;
}

.tool-crop-detail-grid h4 {
  margin: 0 0 5px;
  color: #6b5530;
  font-family: var(--font-utility);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.25;
  text-transform: uppercase;
}

.tool-crop-detail-grid p,
.tool-crop-detail-list {
  margin: 0;
  color: var(--tool-ink);
  font-size: 0.94rem;
  line-height: 1.45;
}

.tool-crop-detail-list {
  display: grid;
  gap: 5px;
  padding-left: 1.1rem;
}

.tool-article-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding-top: 10px;
  border-top: 1px solid #e1e7dc;
}

.tool-article-links p {
  flex: 1 1 100%;
  color: #596a5c;
  font-family: var(--font-utility);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.tool-article-link {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  max-width: 100%;
  padding: 7px 10px;
  border: 1px solid #c9d5c2;
  border-radius: var(--radius-control);
  background: #fffefb;
  color: var(--accent-strong);
  font-weight: 750;
  line-height: 1.2;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.tool-article-link:hover {
  border-color: rgba(47, 107, 67, 0.42);
  background: #f4f8ef;
}

.tool-result-quantity {
  color: var(--evidence);
  font-weight: 750;
}

.tool-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.tool-actions button {
  min-height: 46px;
  padding: 8px 16px;
  border: 0;
  border-radius: var(--radius-control);
  background: var(--accent-strong);
  color: #fff;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}

.tool-actions button:hover {
  background: var(--accent);
}

.tool-copy {
  display: grid;
  gap: 18px;
  margin-top: 34px;
}

/* Høst og spis: a dated field notebook, not a colour-coded calendar. */
.tool-page :focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.tool-page form[data-host-og-spis-form] button,
.tool-page form[data-14-dagers-hageplan-form] button {
  width: fit-content;
  min-height: 48px;
  padding: 10px 16px;
  border: 1px solid var(--accent-strong);
  border-radius: var(--radius-control);
  background: var(--accent-strong);
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.tool-page form[data-host-og-spis-form] button:hover:not(:disabled),
.tool-page form[data-14-dagers-hageplan-form] button:hover:not(:disabled) {
  background: var(--accent);
}

.tool-page form[data-host-og-spis-form] button:disabled,
.tool-page form[data-14-dagers-hageplan-form] button:disabled {
  border-color: #738174;
  background: #738174;
  cursor: wait;
}

.tool-save-option {
  display: flex !important;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  width: fit-content;
  color: var(--tool-ink) !important;
  font-family: var(--font-body) !important;
  font-size: 0.96rem !important;
  font-weight: 700 !important;
}

.tool-save-option input {
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--accent-strong);
}

.tool-errors:not(:empty) {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid #8b3425;
  border-left: 4px solid #8b3425;
  border-radius: var(--radius-control);
  background: #fff0eb;
  color: #5d2018;
  font-weight: 750;
}

.tool-errors p {
  margin: 0;
}

.tool-results-shell,
.tool-results-planner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 32px 0 36px;
  padding: clamp(18px, 3vw, 26px);
  background: var(--tool-board);
  border: 1px solid #afc3a9;
  border-top: 5px solid var(--tool-brass);
  border-radius: 8px;
}

.tool-results-shell > h2 {
  max-width: 22ch;
}

.tool-plan-mode-badge,
[data-forecast-boundary],
[data-weather-attribution] {
  width: fit-content;
  max-width: 100%;
  margin: 0;
  padding: 7px 10px;
  border: 1px solid #276044;
  border-left: 4px solid #276044;
  border-radius: var(--radius-control);
  background: #eef8ef;
  color: #153e26;
  font-family: var(--font-utility);
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

[data-forecast-boundary] {
  border-color: #2d6573;
  border-left-color: #2d6573;
  background: #e8f3f5;
  color: #173f4a;
}

[data-weather-attribution] {
  border-color: var(--tool-rule);
  border-left-color: var(--tool-brass);
  background: var(--tool-paper);
  color: var(--tool-muted);
  font-weight: 700;
}

[data-weather-attribution] a {
  color: var(--accent-strong);
  font-weight: 850;
}

.tool-plan-warnings {
  display: grid;
  gap: 8px;
  padding: 13px 14px;
  border: 1px solid #855c14;
  border-left: 4px solid #855c14;
  border-radius: var(--radius-control);
  background: #fff7dc;
  color: #4c360e;
}

.tool-plan-warnings h3,
.tool-plan-warnings ul {
  margin: 0;
}

.tool-plan-warnings h3 {
  font-family: var(--font-utility);
  font-size: 0.94rem;
}

.tool-plan-warnings ul {
  display: grid;
  gap: 5px;
  padding-left: 1.15rem;
}

.tool-plan-timeline {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tool-plan-timeline > li {
  display: grid;
  align-content: start;
  gap: 10px;
  min-width: 0;
  padding: 14px;
  border: 1px solid #c3d0bd;
  border-left: 4px solid #90a28d;
  border-radius: var(--radius-control);
  background: var(--tool-paper);
}

.tool-plan-timeline > li:has([data-plan-task]) {
  border-left-color: var(--tool-marker);
}

.tool-plan-timeline > li > h3 {
  padding-bottom: 8px;
  border-bottom: 1px solid var(--tool-rule);
  color: var(--tool-ink);
  font-family: var(--font-utility);
  font-size: 0.95rem;
}

.tool-plan-timeline time {
  display: block;
}

.tool-plan-timeline > li > p {
  margin: 0;
  color: var(--tool-muted);
  font-size: 0.94rem;
}

.tool-plan-timeline ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tool-plan-timeline [data-plan-task] {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 0 0 10px;
  border-bottom: 1px solid var(--tool-rule);
}

.tool-plan-timeline [data-plan-task]:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.tool-plan-timeline [data-plan-task] p,
.tool-plan-timeline [data-plan-task] h4 {
  margin: 0;
}

.tool-plan-timeline [data-plan-task] h4 {
  color: var(--tool-ink);
  font-size: 1rem;
}

.tool-plan-crop {
  color: #6b5530 !important;
  font-family: var(--font-utility);
  font-size: 0.76rem !important;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

@media (prefers-reduced-motion: reduce) {
  .tool-page *,
  .tool-page *::before,
  .tool-page *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .tool-page form[data-host-og-spis-form],
  .tool-page form[data-14-dagers-hageplan-form],
  .tool-result-actions,
  .tool-plan-mode-badge,
  [data-saved-plan-notice] {
    display: none !important;
  }

  .tool-page {
    padding: 0;
  }

  .tool-results-shell {
    margin: 0;
    padding: 0;
    border: 0;
    background: #fff;
  }

  .tool-plan-timeline > li,
  .tool-plan-warnings,
  [data-forecast-boundary],
  [data-weather-attribution] {
    break-inside: avoid;
  }
}

@media (max-width: 920px) {
  :root {
    --layout-columns: 8;
  }

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

  .home-hero,
  .article-hero,
  .simple-hero,
  .section-heading {
    grid-template-columns: 1fr;
  }

  .home-hero--split {
    grid-template-columns: 1fr;
  }

  .home-hero,
  .article-hero,
  .simple-hero {
    gap: 24px;
  }

  .featured-grid,
  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .article-layout {
    grid-template-columns: 1fr;
  }

  .info-layout {
    grid-template-columns: 1fr;
  }

  .info-page-nav {
    position: static;
    order: -1;
  }

  .info-page-nav div {
    display: flex;
    flex-wrap: wrap;
  }

  .info-page-nav a {
    flex: 1 1 180px;
  }

  .tool-hero,
  .tool-result-grid {
    grid-template-columns: 1fr;
  }

  .tool-page .article-hero,
  .tool-page [data-results] {
    grid-template-columns: 1fr;
  }

  .tool-page [data-crop-options] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .article-evidence-rail {
    position: static;
    order: -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    box-shadow: none;
  }

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

  .article-field-summary .article-fact-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .article-field-summary .article-toc-card {
    grid-column: 1 / -1;
  }

  .article-evidence-rail > * {
    min-width: 0;
  }

  .site-header {
    position: static;
    padding: 12px var(--layout-margin);
  }

  .site-header__inner {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 10px;
  }

  .site-header__inner > .site-menu {
    display: none;
  }

  .site-menu-disclosure {
    display: block;
    margin-left: auto;
  }

  .site-menu-disclosure[open] {
    width: 100%;
  }

  .site-menu-disclosure .site-menu {
    display: grid;
    margin-top: 8px;
    padding: 8px;
    border: 1px solid var(--color-sage);
    border-radius: var(--radius-control);
    background: var(--color-canvas);
  }

  .site-menu-disclosure .site-menu a {
    min-height: 48px;
    border-radius: var(--radius-control);
    color: var(--color-forest);
  }

  .site-menu-disclosure .site-menu a:hover {
    background: var(--color-surface-muted);
  }
}

@media (max-width: 640px) {
  :root {
    --layout-columns: 4;
    --layout-margin: var(--layout-margin-mobile);
  }

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

  .site-header {
    position: static;
    padding: 12px var(--layout-margin);
  }

  .site-header__inner {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 10px;
  }

  .site-header__inner > .site-menu {
    display: none;
  }

  .site-menu-disclosure {
    display: block;
    margin-left: auto;
  }

  .site-menu-disclosure[open] {
    width: 100%;
  }

  .site-menu-disclosure .site-menu {
    display: grid;
    margin-top: 8px;
    padding: 8px;
    border: 1px solid var(--color-sage);
    border-radius: var(--radius-control);
    background: var(--color-canvas);
  }

  .site-menu-disclosure .site-menu a {
    min-height: 48px;
    border-radius: var(--radius-control);
    color: var(--color-forest);
  }

  .site-menu-disclosure .site-menu a:hover {
    background: var(--color-surface-muted);
  }

  main {
    width: min(var(--layout-max), calc(100% - (var(--layout-margin) * 2)));
  }

  .article-evidence-rail {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 16px;
    border-left-width: 4px;
  }

  .article-fact-list {
    gap: 8px;
  }

  .article-toc-card div {
    gap: 7px;
  }

  .article-field-summary .article-fact-list,
  .article-field-summary .article-toc-card div {
    grid-template-columns: 1fr;
  }

  .article-field-log .article-main-flow section {
    padding-left: 14px;
  }

  .info-page .article-content section {
    padding-left: 14px;
  }

  .info-page-nav {
    gap: 8px;
    padding: 16px;
    border-left-width: 4px;
  }

  .info-page-nav a {
    flex-basis: 100%;
    min-height: 44px;
  }

  .ad-wrap {
    min-height: 180px;
    margin: 20px 0;
  }

  .tool-hero {
    gap: 16px;
    padding: 18px 0 14px;
  }

  .tool-panel {
    padding: 16px;
    box-shadow: none;
  }

  .tool-workbench,
  .tool-page form[data-host-og-spis-form],
  .tool-page form[data-14-dagers-hageplan-form] {
    padding: 16px;
    box-shadow: none;
  }

  .tool-location-grid {
    grid-template-columns: 1fr;
  }

  .tool-chip-grid {
    grid-template-columns: 1fr;
  }

  .tool-page [data-crop-options] {
    grid-template-columns: 1fr;
  }

  .tool-page [data-results] {
    padding: 16px;
  }

  .tool-results-shell {
    padding: 16px;
  }

  .tool-page form[data-host-og-spis-form] button,
  .tool-page form[data-14-dagers-hageplan-form] button {
    width: 100%;
  }

  .tool-plan-timeline {
    grid-template-columns: 1fr;
  }

  .tool-result-card-header {
    display: grid;
  }

  .tool-result-level {
    max-width: 100%;
    width: fit-content;
    text-align: left;
  }

  .tool-result-details div {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .tool-advice-strip {
    gap: 6px;
  }

  .tool-advice-pill {
    min-height: 32px;
  }

  .tool-crop-detail-grid {
    grid-template-columns: 1fr;
  }

  .ad-inline {
    min-height: 220px;
  }

  .adsbygoogle {
    min-height: 180px;
  }

  .home-hero,
  .article-hero,
  .simple-hero {
    gap: 16px;
    padding: 18px 0 14px;
  }

  h1,
  .article-hero h1 {
    font-size: var(--step-4);
    max-width: 100%;
  }

  h2 {
    font-size: var(--step-3);
  }

  .home-hero p,
  .summary {
    font-size: 1rem;
  }

  .hero-actions {
    margin-top: 18px;
    width: 100%;
  }

  .button {
    flex: 1 1 180px;
    min-height: 48px;
    padding: 10px 16px;
  }

  .home-hero img {
    aspect-ratio: 16 / 5;
  }

  .article-hero img {
    aspect-ratio: 16 / 7;
  }

  .featured-grid,
  .card-grid,
  .compact-grid {
    grid-template-columns: 1fr;
  }

  .latest-section .post-card {
    margin-bottom: 12px;
  }

  .latest-section .post-card a {
    grid-template-columns: 1fr;
  }

  .latest-section .post-card img {
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 7;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .latest-section .post-card div {
    gap: 7px;
    padding: 14px;
  }

  #nettsteder .site-grid {
    grid-template-columns: 1fr;
  }

  #nettsteder .site-grid a {
    min-height: 74px;
  }

  .guide-card__category,
  .guide-card h3,
  .guide-card__summary {
    margin-left: 14px;
    margin-right: 14px;
  }

  .fact-box th,
  .fact-box td {
    display: block;
    width: 100%;
  }

  .fact-box td {
    padding-top: 0;
    border-top: 0;
  }

  .article-content section,
  .article-main-flow section,
  .fact-box {
    scroll-margin-top: 24px;
  }
}
