/* ============================================================
   CBD OLIE GUIDE — Editorial Magazine Design System
   Style: Editorial Grid / Magazine × Organic Biophilic
   Fonts: Playfair Display (display headings) · Inter (body)
   Palette: Deep Forest Ink + Warm Paper + Botanical Accent
   ============================================================ */

/* ── Custom Properties ────────────────────────────────────── */
:root {
  /* Core palette — deep forest ink system */
  --c-ink:          #0C1E14;   /* near-black ink */
  --c-forest:       #1C3829;   /* deep forest */
  --c-green:        #2D5C3A;   /* mid forest */
  --c-accent:       #3D7A52;   /* botanical green */
  --c-moss:         #5A9470;   /* lighter accent */

  /* Paper tones — warm editorial background */
  --c-paper:        #F7F3ED;   /* warm paper */
  --c-paper-dark:   #EDE8E0;   /* darker paper / hover states */
  --c-cream:        #FAF7F2;   /* near-white cream */
  --c-sand:         #F0E8D8;   /* warm sand */
  --c-sand-border:  #DDD0BC;

  /* Light tints */
  --c-light:        #E8F0EB;
  --c-pale:         #F2F6F3;

  /* Text scale */
  --c-text:         #0C1E14;
  --c-text-mid:     #3A4A3F;
  --c-text-light:   #6B7A6F;
  --c-text-muted:   #96A89C;

  /* Utility */
  --c-border:       #DDD8CF;
  --c-white:        #FFFFFF;
  --c-off-white:    #FAF7F2;
  --c-warning:      #FFF5E0;
  --c-warn-border:  #D4900A;

  /* Typography */
  --font-display:   'Playfair Display', Georgia, serif;
  --font-body:      'Inter', system-ui, -apple-system, sans-serif;

  /* Layout */
  --max-w:          1200px;
  --max-w-article:  760px;
  --pad-x:          clamp(1.25rem, 5vw, 4rem);
  --section:        clamp(3rem, 7vw, 7rem);

  /* Radii — editorial uses sharper corners */
  --r-sm:  4px;
  --r-md:  6px;
  --r-lg:  10px;

  /* Shadows — flat editorial, subtle */
  --shadow-sm:  0 1px 3px rgba(12,30,20,.06), 0 1px 2px rgba(12,30,20,.04);
  --shadow-md:  0 4px 20px rgba(12,30,20,.08), 0 2px 6px rgba(12,30,20,.04);
  --shadow-lg:  0 16px 48px rgba(12,30,20,.10), 0 4px 14px rgba(12,30,20,.05);
}

/* ── Reset ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--c-paper);
  color: var(--c-text);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility; /* 1. Typography rhythm */
  overflow-x: hidden; /* safety-net mod vandret scroll på mobil */
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-accent); text-decoration: none; transition: color .2s; }
a:hover { color: var(--c-forest); text-decoration: underline; }

/* ── Typography — editorial scale ────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  color: var(--c-ink);
  font-feature-settings: "kern" 1, "liga" 1; /* 1. Typography rhythm — kerning + ligatures */
}
h1 { font-size: clamp(1.9rem, 6vw, 4.8rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.35rem, 3.5vw, 2.6rem); margin-bottom: 1rem; letter-spacing: -.01em; line-height: 1.1; /* 1. More refined line-height */ }
h3 { font-size: clamp(1.05rem, 2vw, 1.55rem); margin-bottom: .75rem; }
h4 { font-family: var(--font-body); font-size: 1rem; font-weight: 600; }
p  { margin-bottom: 1.25rem; color: var(--c-text-mid); font-size: 1.0625rem; line-height: 1.8; }
p:last-child { margin-bottom: 0; }
ul, ol { padding-left: 1.5rem; margin-bottom: 1.25rem; color: var(--c-text-mid); }
li { margin-bottom: .45rem; font-size: 1.0625rem; }
strong { color: var(--c-text); font-weight: 600; }
blockquote {
  border-left: 3px solid var(--c-accent);
  padding: 1.25rem 2rem;
  background: var(--c-sand);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  margin: 2rem 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--c-forest);
  line-height: 1.6;
}

/* ── Layout ───────────────────────────────────────────────── */
.container         { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--pad-x); }
.container--narrow { max-width: var(--max-w-article); margin: 0 auto; padding: 0 var(--pad-x); }
.section           { padding: var(--section) 0; }
.section--white    { background: var(--c-white); }
.section--gray     { background: var(--c-cream); }
.section--light    { background: var(--c-light); }
.section--forest   { background: var(--c-forest); }
.section--sand     { background: var(--c-sand); }
.section--paper    { background: var(--c-paper); }
.section--ink      { background: var(--c-ink); }

/* ── Navigation — editorial thin bar ─────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 200;
  background: rgba(247,243,237,.97);
  backdrop-filter: blur(12px);
  /* 3. Nav polish — subtle shadow instead of hard border */
  border-bottom: none;
  box-shadow: 0 1px 0 var(--c-border);
}
.nav-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 var(--pad-x);
  display: flex; align-items: center; justify-content: space-between;
  height: 62px;
}
.nav-logo {
  display: flex; align-items: center; gap: .65rem;
  font-family: var(--font-display); font-size: 1.15rem; font-weight: 700;
  color: var(--c-ink); text-decoration: none; letter-spacing: -.01em;
}
.nav-logo:hover { text-decoration: none; color: var(--c-forest); }
.nav-logo-badge {
  width: 30px; height: 30px; border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  /* 3. Nav polish — subtle gradient on badge */
  background: linear-gradient(135deg, var(--c-forest) 0%, var(--c-green) 100%);
  box-shadow: 0 1px 3px rgba(12,30,20,.25), inset 0 1px 0 rgba(255,255,255,.08);
}
.nav-logo-badge svg { width: 16px; height: 16px; stroke: #fff; fill: none; stroke-width: 2; }
.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav-links a {
  font-size: .8rem; font-weight: 500; color: var(--c-text-mid);
  text-decoration: none; letter-spacing: .04em; text-transform: uppercase;
  transition: color .2s; padding-bottom: 2px;
  border-bottom: 1.5px solid transparent;
}
.nav-links a:hover { color: var(--c-ink); border-bottom-color: var(--c-ink); text-decoration: none; }
/* 3. Nav polish — active page indicator */
.nav-links a.active,
.nav-links a[aria-current="page"] {
  color: var(--c-ink);
  border-bottom-color: var(--c-accent);
}
.nav-shop {
  font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: .5rem 1.25rem; background: var(--c-ink); color: var(--c-paper);
  border-radius: var(--r-sm); text-decoration: none; transition: background .2s;
}
.nav-shop:hover { background: var(--c-forest); color: var(--c-paper); text-decoration: none; }
.nav-burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: .4rem; background: none; border: none; }
.nav-burger span { display: block; width: 22px; height: 1.5px; background: var(--c-ink); }

/* ── Hero — editorial magazine cover ─────────────────────── */
.hero {
  /* 4. Hero polish — subtle gradient instead of flat color */
  background: linear-gradient(to bottom right, var(--c-ink), var(--c-forest));
  padding: clamp(5rem, 10vw, 9rem) 0 clamp(4rem, 8vw, 7rem);
  position: relative; overflow: hidden;
  border-bottom: 3px solid var(--c-ink);
}

/* Botanical leaf SVG decoration */
.hero::before {
  content: '';
  position: absolute;
  right: -2%;
  top: -5%;
  width: 55%;
  height: 120%;
  pointer-events: none;
  opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 500'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='1.5'%3E%3Cpath d='M200 480 C200 480 200 50 200 20'/%3E%3Cpath d='M200 300 C140 260 80 220 60 160 C80 180 140 200 200 240'/%3E%3Cpath d='M200 300 C260 260 320 220 340 160 C320 180 260 200 200 240'/%3E%3Cpath d='M200 380 C120 330 60 280 30 200 C60 225 130 260 200 310'/%3E%3Cpath d='M200 380 C280 330 340 280 370 200 C340 225 270 260 200 310'/%3E%3Cpath d='M200 200 C155 165 110 130 90 80 C115 110 160 145 200 175'/%3E%3Cpath d='M200 200 C245 165 290 130 310 80 C285 110 240 145 200 175'/%3E%3Cellipse cx='200' cy='460' rx='25' ry='8' stroke-width='1'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

/* Large editorial number decoration */
.hero::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 4px;
  background: repeating-linear-gradient(
    90deg,
    rgba(255,255,255,.15) 0,
    rgba(255,255,255,.15) 40px,
    transparent 40px,
    transparent 60px
  );
}

.hero-inner { position: relative; z-index: 1; max-width: var(--max-w); margin: 0 auto; padding: 0 var(--pad-x); }

/* Editorial volume/issue label */
.hero-kicker {
  display: inline-flex; align-items: center; gap: .75rem;
  font-family: var(--font-body);
  font-size: .68rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  /* 4. Hero kicker — more air, better spacing */
  color: rgba(255,255,255,.55); margin-bottom: 2.5rem; padding: .25rem 0;
}
.hero-kicker::before { content: ''; width: 36px; height: 1px; background: rgba(255,255,255,.3); display: block; }
.hero-kicker::after  { content: ''; width: 36px; height: 1px; background: rgba(255,255,255,.3); display: block; }

/* Hero headline — big editorial type */
.hero h1 {
  color: #fff;
  margin-bottom: 1.5rem;
  max-width: 780px;
  font-size: clamp(2rem, 6.5vw, 5.5rem);
  line-height: 1.08;
  letter-spacing: -.03em;
}

.hero-sub {
  font-size: clamp(.95rem, 2.2vw, 1.1rem); color: rgba(255,255,255,.65); max-width: 520px;
  line-height: 1.8; margin-bottom: 2.5rem;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; margin-bottom: 4rem; }

/* Trust bar — separated by thick rule */
.hero-trust {
  display: flex; gap: clamp(1rem, 4vw, 3rem); flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,.15); padding-top: 2rem;
}
.hero-trust-item {
  display: flex; align-items: center; gap: .55rem;
  font-size: .79rem; font-weight: 500; color: rgba(255,255,255,.5);
  letter-spacing: .04em;
}
.hero-trust-item svg { width: 14px; height: 14px; stroke: rgba(255,255,255,.4); fill: none; stroke-width: 2; flex-shrink: 0; }

/* ── Hero split — with image ──────────────────────────────── */
.hero--split {
  display: grid;
  /* 4. Hero split — text left (order 1), video right (order 2) */
  grid-template-columns: 1fr 1fr;
  min-height: clamp(480px, 65vh, 780px);
  padding: 0;
}
/* Ensure text column is always first (left) */
.hero--split .hero-inner { order: 1; }
.hero--split .hero-img-wrap { order: 2; }
.hero--split .hero-inner {
  padding: clamp(4rem, 7vw, 7rem) var(--pad-x);
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: none;
  margin: 0;
}
.hero-img-wrap {
  position: relative;
  overflow: hidden;
  min-height: 400px;
}
.hero-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(270deg, transparent 40%, var(--c-forest) 100%);
}
.hero-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
/* ── Hero mascot variant ──────────────────────────────────── */
.hero--mascot {
  padding: clamp(5rem, 10vw, 9rem) 0 clamp(4rem, 8vw, 7rem);
  position: relative;
  overflow: hidden;
}
/* Foto baggrund som dedikeret div */
.hero-photo-bg {
  position: absolute; inset: 0;
  background-image: url('/img/hero.jpg');
  background-size: cover;
  background-position: center;
  opacity: .15;
  filter: saturate(0.4) blur(1px);
  transform: scale(1.04);
  z-index: 0;
  pointer-events: none;
}
.hero--mascot .hero-inner {
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--pad-x);
  position: relative;
  z-index: 1;
}
.hero--mascot h1        { max-width: 560px; }
.hero--mascot .hero-sub { max-width: 480px; }
/* Trust-bar holder sig inden for venstre halvdel så mascot ikke overlapper */
.hero--mascot .hero-trust { max-width: 680px; }

/* ── Mascot ───────────────────────────────────────────────── */
.mascot-wrap {
  position: absolute;
  right: clamp(20px, 6vw, 80px);
  bottom: 0;
  width: clamp(220px, 28vw, 420px);
  z-index: 2;
  cursor: pointer;
  transform-style: preserve-3d;
  will-change: transform;
  -webkit-tap-highlight-color: transparent;
}
.mascot-wrap img {
  width: 100%;
  display: block;
  pointer-events: none;
  user-select: none;
  transition: filter 0.3s ease, opacity 0.25s;
  filter: drop-shadow(0 24px 48px rgba(0,0,0,0.4));
}
@keyframes mascot-bounce {
  0%,100% { transform: translateY(0) scale(1.06); }
  30%      { transform: translateY(-14px) scale(1.08); }
  60%      { transform: translateY(-5px) scale(1.07); }
}
@keyframes mascot-wiggle {
  0%,100% { transform: rotate(0deg) scale(1.06); }
  20%     { transform: rotate(-4deg) scale(1.07); }
  50%     { transform: rotate(4deg) scale(1.07); }
  75%     { transform: rotate(-2deg) scale(1.06); }
}
.mascot-wrap:hover img,
.mascot-wrap.hovered img {
  animation: mascot-bounce 0.7s ease forwards, mascot-wiggle 1.2s ease 0.7s infinite;
  filter: drop-shadow(0 32px 56px rgba(0,0,0,0.5)) brightness(1.06);
}
.mascot-hint {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  font-size: .6rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.4s ease;
  font-family: var(--font-body);
}
.mascot-wrap:hover .mascot-hint { opacity: 1; }
@media (max-width: 900px) {
  .mascot-wrap { width: clamp(160px, 35vw, 260px); right: 10px; }
}
@media (max-width: 600px) {
  .hero--mascot { padding-bottom: clamp(1rem, 4vw, 2rem); }
  .mascot-wrap {
    position: relative;
    width: clamp(140px, 45vw, 200px);
    right: auto;
    bottom: auto;
    margin: 1.5rem auto 0;
  }
}
@media (max-width: 900px) {
  .hero--split { grid-template-columns: 1fr; }
  .hero-img-wrap { display: none; }
  .hero--split .hero-inner { padding: clamp(4rem, 8vw, 6rem) var(--pad-x); }
}

/* ── Hero short (hub + article pages) ─────────────────────── */
.hero--short {
  padding: clamp(4rem, 7vw, 6.5rem) 0 clamp(3.5rem, 6vw, 5rem);
  position: relative;
  overflow: hidden;
}
/* Background image layer */
.hero--short::before {
  content: '';
  position: absolute; inset: 0;
  background-image: var(--hero-img);
  background-size: cover;
  background-position: center;
  opacity: .22;
  filter: saturate(0.5) blur(1px);
  z-index: 0;
  transform: scale(1.05); /* slight zoom for parallax room */
  transition: transform 8s ease;
}
/* Vignette overlay */
.hero--short::after {
  content: '';
  position: absolute; inset: 0; z-index: 1;
  background: radial-gradient(ellipse at 30% 50%, transparent 30%, rgba(12,30,20,.4) 100%);
  pointer-events: none;
}
.hero--short .hero-inner { position: relative; z-index: 2; }
.hero--short h1 { font-size: clamp(2rem, 5vw, 3.8rem); }
.hero--short .hero-sub { margin-bottom: 2rem; }
.hero--short .hero-trust { padding-top: 2rem; }

/* ── Article hero with image ──────────────────────────────── */
.article-hero {
  position: relative; overflow: hidden;
}
.article-hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center;
  opacity: .22; filter: saturate(0.45) blur(1px);
  transform: scale(1.05);
}
.article-hero::after {
  content: '';
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(135deg, rgba(12,30,20,.15) 0%, rgba(12,30,20,.45) 100%);
  pointer-events: none;
}
.article-hero-inner { position: relative; z-index: 2; }

/* ── Breadcrumb nav ───────────────────────────────────────── */
nav.breadcrumb {
  background: var(--c-paper-dark);
  border-bottom: 1px solid var(--c-border);
}
nav.breadcrumb ol {
  display: flex; align-items: center; gap: .35rem; list-style: none;
  padding: .7rem var(--pad-x); flex-wrap: wrap; margin: 0;
  max-width: var(--max-w); margin-inline: auto;
}
nav.breadcrumb li { font-size: .76rem; color: var(--c-text-light); }
nav.breadcrumb li a { color: var(--c-accent); text-decoration: none; }
nav.breadcrumb li a:hover { text-decoration: underline; }
nav.breadcrumb li + li::before { content: '›'; margin-right: .35rem; color: var(--c-border); }

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .85rem 1.75rem; border-radius: var(--r-sm); font-weight: 600;
  font-size: .85rem;
  /* 9. Buttons — more refined letter-spacing */
  letter-spacing: .08em; text-decoration: none;
  transition: all .2s; cursor: pointer; border: none; text-transform: uppercase;
}
.btn-white   { background: var(--c-paper); color: var(--c-ink); }
.btn-white:hover { background: #fff; color: var(--c-ink); text-decoration: none; }
.btn-outline { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.35); }
.btn-outline:hover { background: rgba(255,255,255,.1); color: #fff; text-decoration: none; border-color: rgba(255,255,255,.65); }
.btn-green   { background: var(--c-accent); color: #fff; }
.btn-green:hover { background: var(--c-green); color: #fff; text-decoration: none; }
.btn-forest  { background: var(--c-forest); color: #fff; }
.btn-forest:hover { background: var(--c-ink); color: #fff; text-decoration: none; }
.btn-sm { padding: .55rem 1.15rem; font-size: .75rem; }

/* ── Section Header — editorial style ────────────────────── */
.sec-hdr { margin-bottom: 3.5rem; }
.sec-hdr-label {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .65rem; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--c-accent); margin-bottom: .9rem;
}
.sec-hdr-label::before { content: ''; display: inline-block; width: 20px; height: 1.5px; background: var(--c-accent); }
.sec-hdr h2 { margin-bottom: .75rem; }
.sec-hdr p  { color: var(--c-text-mid); font-size: 1.0625rem; max-width: 62ch; margin: 0; }
.sec-hdr--center { text-align: center; }
.sec-hdr--center p { margin: 0 auto; }
.sec-hdr--center .sec-hdr-label { display: flex; justify-content: center; }
.sec-hdr--center .sec-hdr-label::before { display: none; }

/* ── Editorial divider ────────────────────────────────────── */
.editorial-divider {
  display: flex; align-items: center; gap: 1.5rem;
  margin: 0 0 3.5rem;
}
.editorial-divider::before,
.editorial-divider::after { content: ''; flex: 1; height: 1px; background: var(--c-border); }
.editorial-divider span {
  font-size: .65rem; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--c-text-muted); white-space: nowrap;
}

/* ── Quick Answer Box ─────────────────────────────────────── */
.quick-answer {
  background: linear-gradient(150deg, var(--c-cream) 0%, var(--c-paper) 100%);
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 2rem 2.5rem;
  margin-bottom: 2.5rem;
  position: relative;
  overflow: hidden;
}
.quick-answer::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--c-forest), var(--c-accent), var(--c-moss));
  pointer-events: none;
}
.quick-answer-label {
  font-size: .63rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--c-forest); display: flex; align-items: center; gap: .6rem; margin-bottom: .85rem;
}
.quick-answer-label::before { content: ''; display: inline-block; width: 18px; height: 1.5px; background: var(--c-accent); flex-shrink: 0; }
.quick-answer p { font-size: 1.05rem; color: var(--c-text); margin: 0; line-height: 1.85; }

/* ── Hub Cards — editorial numbered style ─────────────────── */
.hub-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--c-border); border: 1.5px solid var(--c-border); border-radius: var(--r-lg); overflow: hidden; }
.hub-card {
  background: var(--c-cream); border-radius: 0;
  padding: 2rem; text-decoration: none; display: flex; flex-direction: column; gap: .9rem;
  transition: background .2s;
}
.hub-card:hover { background: var(--c-paper-dark); text-decoration: none; }
.hub-card-icon {
  width: 44px; height: 44px; background: var(--c-forest); border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  /* 5. Hub cards polish — subtle inner highlight */
  box-shadow: inset 0 1px 0 rgba(255,255,255,.1);
}
.hub-card-icon svg { width: 20px; height: 20px; stroke: rgba(255,255,255,.85); fill: none; stroke-width: 1.8; }
.hub-card h3 { font-size: .95rem; color: var(--c-ink); margin: 0; line-height: 1.4; }
.hub-card p  { font-size: .81rem; color: var(--c-text-light); margin: 0; line-height: 1.65; flex: 1; }
.hub-card-link {
  font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--c-accent); display: flex; align-items: center; gap: .35rem; margin-top: auto;
  /* 5. Hub cards — letter-spacing animation on hover */
  transition: letter-spacing .25s ease, color .2s;
}
.hub-card:hover .hub-card-link { letter-spacing: .12em; color: var(--c-forest); }

/* ── Article Cards — magazine editorial numbered ──────────── */
.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 0;
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  counter-reset: article-counter;
}

/* Article card image — show when img present, hide empty */
.article-card-img {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--c-light);
  display: block;
}
.article-card-img:empty,
.article-card-img:not(:has(img)) { display: none; }
.article-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
  display: block;
}
.article-card:hover .article-card-img img { transform: scale(1.05); }

.article-card {
  background: var(--c-cream);
  border-right: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
  text-decoration: none; display: flex; flex-direction: column;
  transition: background .18s;
  counter-increment: article-counter;
  position: relative;
}
.article-card:hover { background: var(--c-paper-dark); text-decoration: none; }

/* Editorial issue number */
.article-card::before {
  content: counter(article-counter, decimal-leading-zero);
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  font-family: var(--font-display);
  font-size: 2.2rem; font-weight: 700;
  color: var(--c-light);
  line-height: 1;
  pointer-events: none;
}

/* Category color bar at top */
.article-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--c-forest);
}

.article-card-body { padding: 1.75rem 1.5rem 1.5rem; flex: 1; display: flex; flex-direction: column; gap: .55rem; }
.article-card-cat {
  font-size: .62rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--c-accent);
  display: flex; align-items: center; gap: .45rem;
}
/* 6. Article cards — dot before category */
.article-card-cat::before {
  content: '';
  display: inline-block;
  width: 4px; height: 4px;
  background: var(--c-accent);
  border-radius: 50%;
  flex-shrink: 0;
}
.article-card h3 {
  font-size: 1.05rem; color: var(--c-ink); line-height: 1.35; margin: 0;
  font-family: var(--font-display); font-weight: 700;
  letter-spacing: -.01em; /* 6. Article cards polish */
}
.article-card p  { font-size: .84rem; color: var(--c-text-light); margin: 0; flex: 1; line-height: 1.65; }
.article-card-footer {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--c-border);
}
.article-card-date { font-size: .72rem; color: var(--c-text-muted); letter-spacing: .04em; }
.article-card-read {
  /* 6. Article cards — clearer CTA read-more */
  font-size: .7rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--c-accent);
  display: inline-flex; align-items: center; gap: .3rem;
  transition: color .2s, gap .2s;
}
.article-card:hover .article-card-read { color: var(--c-forest); gap: .5rem; }

/* ── Article grid variants ────────────────────────────────── */
/* Featured first: big card + 2 smaller beside/below */
.article-grid--featured-first {
  grid-template-columns: repeat(2, 1fr);
}
.article-grid--featured-first .article-card--featured {
  grid-column: 1 / -1;
}
/* 4 column grid */
.article-grid--4col {
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 1100px) {
  .article-grid--4col { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .article-grid--featured-first { grid-template-columns: 1fr; }
  .article-grid--4col { grid-template-columns: 1fr; }
}

/* ── Featured article card — large format ─────────────────── */
.article-card--featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  min-height: 260px;
}
.article-card--featured .article-card-img {
  aspect-ratio: unset;
  min-height: 260px;
  border-radius: 0;
}
.article-card--featured .article-card-body {
  padding: 2.5rem 2.5rem;
  justify-content: center;
}
.article-card--featured h3 {
  font-size: clamp(1.3rem, 2.2vw, 1.75rem);
  line-height: 1.25;
}
.article-card--featured p { font-size: .9rem; }
.article-card--featured::before { font-size: 5rem; top: 1.5rem; left: 1.5rem; right: auto; }
@media (max-width: 768px) {
  .article-card--featured { grid-template-columns: 1fr; }
  .article-card--featured .article-card-img { min-height: 200px; }
  .article-card--featured .article-card-body { padding: 1.75rem 1.5rem; }
  .article-card--featured::before { font-size: 2.5rem; top: 1rem; left: 1.25rem; right: auto; }
}

/* ── Comparison Table ─────────────────────────────────────── */
/* 8. Data table — border-radius overflow treatment */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--r-md); border: 1.5px solid var(--c-border); }
.data-table { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.data-table th {
  background: var(--c-ink); color: var(--c-paper);
  /* 8. Better cell padding */
  padding: 1.1rem 1.5rem; text-align: left;
  font-family: var(--font-body); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700;
}
.data-table td {
  /* 8. Better cell padding */
  padding: 1.1rem 1.5rem; border-bottom: 1px solid var(--c-border); vertical-align: middle; color: var(--c-text-mid);
  position: relative; transition: background .15s;
}
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:nth-child(even) td { background: var(--c-cream); }
.data-table tr:hover td { background: var(--c-paper-dark); }
.badge { display: inline-block; font-size: .63rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: .2rem .65rem; border-radius: 2px; }
.badge-raw  { background: #D8EDD9; color: #1A5C1E; }
.badge-dest { background: #D6E8F5; color: #0E4C80; }
.badge-any  { background: var(--c-light); color: var(--c-accent); }
.price { font-weight: 700; color: var(--c-ink); font-family: var(--font-display); }

/* ── Compliance / Warning Box ─────────────────────────────── */
.compliance-box {
  background: var(--c-sand);
  border: 1.5px solid var(--c-sand-border);
  border-radius: var(--r-lg);
  padding: 1.75rem 2rem;
  margin: 2rem 0;
  position: relative;
  overflow: hidden;
}
.compliance-box::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--c-forest), var(--c-accent));
  pointer-events: none;
}
.compliance-box-hdr {
  display: flex; align-items: center; gap: .5rem;
  font-size: .66rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--c-green); margin-bottom: .65rem;
}
.compliance-box-hdr svg { width: 16px; height: 16px; stroke: var(--c-forest); fill: none; stroke-width: 2; flex-shrink: 0; }
.compliance-box p { font-size: .9375rem; color: var(--c-text-mid); margin: 0; line-height: 1.75; }
.compliance-box a { color: var(--c-accent); font-weight: 600; }

/* ── Info Box ─────────────────────────────────────────────── */
.info-box {
  background: var(--c-cream);
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 1.75rem 2rem;
  margin: 2rem 0;
  box-shadow: var(--shadow-sm);
}
.info-box p { font-size: .9375rem; color: var(--c-text-mid); margin: 0; line-height: 1.75; }

/* ── FAQ ──────────────────────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-top: 1px solid var(--c-border); }
.faq-item:last-child { border-bottom: 1px solid var(--c-border); }
.faq-btn {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.35rem 0; background: none; border: none; cursor: pointer; text-align: left;
  font-family: var(--font-body); font-size: 1rem; font-weight: 600; color: var(--c-ink);
}
.faq-btn svg { width: 18px; height: 18px; stroke: var(--c-accent); fill: none; stroke-width: 2; flex-shrink: 0; transition: transform .25s; }
.faq-item.open .faq-btn svg { transform: rotate(180deg); }
.faq-body { display: none; padding: 0 0 1.35rem; }
.faq-item.open .faq-body { display: block; }
.faq-body p { font-size: .9375rem; color: var(--c-text-mid); margin: 0; line-height: 1.75; }
.faq-body a { color: var(--c-accent); font-weight: 500; }

/* ── Author / Redaktion Box ───────────────────────────────── */
.author-box {
  background: var(--c-cream); border: 1.5px solid var(--c-border); border-radius: var(--r-lg);
  padding: 2rem 2.5rem; display: flex; gap: 1.5rem; align-items: flex-start;
}
.author-avatar {
  width: 60px; height: 60px; border-radius: 50%; flex-shrink: 0;
  background: var(--c-forest); display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: #fff;
}
.author-meta h4 { font-family: var(--font-body); font-size: .95rem; font-weight: 700; color: var(--c-ink); margin-bottom: .2rem; }
.author-meta .role { font-size: .72rem; color: var(--c-accent); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; display: block; margin-bottom: .65rem; }
.author-meta p { font-size: .875rem; color: var(--c-text-mid); margin: 0; line-height: 1.65; }

/* ── Sacred Shop CTA Block ────────────────────────────────── */
.shop-cta {
  background: var(--c-ink); border-radius: var(--r-lg);
  padding: 2.5rem 3rem; display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap;
  border: 1.5px solid rgba(255,255,255,.06);
}
.shop-cta-text h3 { color: #fff; font-size: 1.4rem; margin-bottom: .4rem; }
.shop-cta-text p  { color: rgba(255,255,255,.5); font-size: .88rem; margin: 0; }

/* ── Stats Strip ──────────────────────────────────────────── */
.stats-strip {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255,255,255,.1);
  border-left: 1px solid rgba(255,255,255,.1);
}
/* 11. Stats strip — better divider lines */
.stat {
  text-align: center;
  padding: 2.75rem 1rem; /* slightly more vertical breathing room */
  border-right: 1px solid rgba(255,255,255,.12);
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.stat-num   { font-family: var(--font-display); font-size: clamp(2.2rem, 4.5vw, 3.5rem); font-weight: 700; color: #fff; line-height: 1; display: block; letter-spacing: -.02em; }
.stat-label { font-size: .66rem; color: rgba(255,255,255,.45); letter-spacing: .12em; text-transform: uppercase; display: block; margin-top: .6rem; }

/* ── Type Cards (3-col) ───────────────────────────────────── */
.type-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1.5px solid var(--c-border); border-radius: var(--r-lg); overflow: hidden; }
.type-card {
  background: var(--c-cream); padding: 2rem 1.75rem; display: flex; flex-direction: column; gap: .9rem;
  border-right: 1px solid var(--c-border);
  transition: background .18s;
}
.type-card:hover { background: var(--c-paper-dark); }
.type-card:last-child { border-right: none; }
/* 7. Type cards — gradient text on number */
.type-card-num {
  font-family: var(--font-display); font-size: 3.5rem; font-weight: 700; line-height: 1;
  background: linear-gradient(135deg, var(--c-border) 0%, var(--c-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: background .3s;
}
.type-card h3 { font-size: 1.1rem; color: var(--c-ink); margin: 0; }
.type-card p  { font-size: .875rem; color: var(--c-text-mid); margin: 0; line-height: 1.7; }
.type-card-tag { margin-top: auto; }

/* ── Breadcrumb (inline list) ─────────────────────────────── */
.breadcrumb { display: flex; align-items: center; gap: .35rem; list-style: none; padding: 1rem 0; flex-wrap: wrap; }
.breadcrumb li { font-size: .78rem; color: var(--c-text-light); }
.breadcrumb li a { color: var(--c-accent); text-decoration: none; }
.breadcrumb li a:hover { text-decoration: underline; }
.breadcrumb li + li::before { content: '›'; margin-right: .35rem; color: var(--c-border); }

/* ── Footer — editorial dark ──────────────────────────────── */
.footer {
  /* 10. Footer — ink background with subtle texture pattern */
  background: var(--c-ink);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4'%3E%3Crect width='4' height='4' fill='%230C1E14'/%3E%3Crect x='0' y='0' width='1' height='1' fill='rgba(255,255,255,.018)'/%3E%3Crect x='2' y='2' width='1' height='1' fill='rgba(255,255,255,.018)'/%3E%3C/svg%3E");
  padding: 5rem 0 2.5rem; border-top: 3px solid var(--c-forest);
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3.5rem; }
.footer-brand h3 { font-family: var(--font-display); color: var(--c-paper); font-size: 1.25rem; margin-bottom: .9rem; }
.footer-brand p { font-size: .85rem; color: rgba(247,243,237,.45); line-height: 1.8; margin: 0; }
.footer-brand .footer-disclaimer { font-size: .76rem; color: rgba(247,243,237,.25); margin-top: 1.25rem; line-height: 1.65; }
.footer-col h4 { font-family: var(--font-body); font-size: .63rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: rgba(247,243,237,.3); margin-bottom: 1.25rem; }
/* 10. Footer — better link spacing */
.footer-col ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: .75rem; }
.footer-col ul li a { font-size: .85rem; color: rgba(247,243,237,.5); text-decoration: none; transition: color .2s; }
.footer-col ul li a:hover { color: var(--c-paper); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08); padding-top: 2rem;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
}
.footer-bottom p { font-size: .76rem; color: rgba(247,243,237,.3); margin: 0; }
.footer-bottom a { color: rgba(247,243,237,.35); font-size: .76rem; }
.footer-bottom a:hover { color: var(--c-paper); }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1100px) {
  .hub-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1024px) {
  .footer-grid  { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .stats-strip  { grid-template-columns: repeat(2, 1fr); }
  .type-grid    { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links, .nav-shop { display: none; }
  .nav-burger  { display: flex; }
  .hub-grid    { grid-template-columns: 1fr 1fr; }
  .article-grid { grid-template-columns: 1fr; }
  .author-box  { flex-direction: column; }
  .shop-cta    { flex-direction: column; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-trust  { gap: 1rem; flex-direction: column; }
  .type-grid   { grid-template-columns: 1fr; }
  .stats-strip { grid-template-columns: repeat(2, 1fr); }

  /* Hero — reduceret padding på mobil */
  .hero { padding: 3rem 0 2.5rem; }
  .hero-inner { padding: 0 1.25rem; }
  .hero h1 { font-size: clamp(1.8rem, 8vw, 2.6rem); margin-bottom: 1rem; }
  .hero-sub { font-size: .95rem; margin-bottom: 1.75rem; }
  .hero-actions { margin-bottom: 2.5rem; gap: .75rem; }
  .hero-kicker { margin-bottom: 1.25rem; font-size: .62rem; }

  /* Section padding */
  .section { padding: 3rem 0; }

  /* Inline two-column grid sections (FAQ, regler, checkliste, author meta)
     overflow the viewport on mobile since the inline style fixes the
     column ratio + a large gap regardless of screen width. */
  [style*="grid-template-columns:1fr 1fr"],
  [style*="grid-template-columns:1fr 1.6fr"] {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
}
@media (max-width: 480px) {
  .hub-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; justify-content: center; text-align: center; }
  .hero h1 { font-size: clamp(1.65rem, 9vw, 2.2rem); }
  .hero-trust { padding-top: 1.5rem; }
  .hero-trust-item { font-size: .74rem; }
}

/* ── Article Page ─────────────────────────────────────────── */
.article-hero {
  background: var(--c-forest);
  padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(3rem, 6vw, 5rem);
  border-bottom: 3px solid var(--c-ink);
  position: relative; overflow: hidden;
}
.article-hero::before {
  content: '';
  position: absolute; right: 0; top: 0; bottom: 0; width: 35%;
  background: linear-gradient(270deg, rgba(12,30,20,.3) 0%, transparent 100%);
  pointer-events: none;
}
.article-hero-inner { max-width: var(--max-w-article); margin: 0 auto; padding: 0 var(--pad-x); position: relative; z-index: 1; }
.article-hero h1 { color: #fff; font-size: clamp(1.9rem, 4.5vw, 3rem); margin-bottom: 1rem; letter-spacing: -.02em; }
.article-hero-meta { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.article-hero-meta span { font-size: .76rem; color: rgba(255,255,255,.5); display: flex; align-items: center; gap: .4rem; }
.article-hero-meta span svg { width: 13px; height: 13px; stroke: rgba(255,255,255,.4); fill: none; stroke-width: 2; }
.article-cat-badge {
  display: inline-block; font-size: .62rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; padding: .22rem .85rem;
  background: rgba(255,255,255,.12); color: rgba(255,255,255,.75); border-radius: 2px; margin-bottom: 1.1rem;
}
.article-body { max-width: var(--max-w-article); margin: 0 auto; padding: 3.5rem var(--pad-x); }
.article-body h2 { font-size: clamp(1.4rem, 2.8vw, 1.9rem); margin: 2.75rem 0 1rem; padding-top: .5rem; color: var(--c-ink); }
.article-body h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); margin: 2rem 0 .75rem; color: var(--c-green); }
.article-body p  { font-size: 1.0625rem; line-height: 1.85; color: var(--c-text-mid); margin-bottom: 1.4rem; }
.article-body ul, .article-body ol { margin-bottom: 1.4rem; color: var(--c-text-mid); }
.article-body li { font-size: 1.0625rem; margin-bottom: .5rem; line-height: 1.75; }
.article-body a { color: var(--c-accent); font-weight: 500; }
.article-body a:hover { color: var(--c-forest); }
.related-articles { background: var(--c-cream); padding: 4rem 0; border-top: 1.5px solid var(--c-border); }

/* ── Mobile nav overlay ───────────────────────────────────── */
@media (min-width: 769px) {
  .nav-mobile { display: none !important; }
}

/* ══════════════════════════════════════════════════════════
   WOW EFFECTS — premium layer on top of editorial base
   ══════════════════════════════════════════════════════════ */

/* ── Section transitions — softer than hard border-top ──────── */
/* 2. Section transitions — fjern skarpe border-top, brug subtil inset shadow */
.section--white,
.section--paper,
.section--gray {
  border-top: none; /* fjernet hård border */
}
/* Subtil divider via inset box-shadow i stedet for border */
.section--white + .section,
.section--gray + .section,
.section--paper + .section {
  box-shadow: inset 0 1px 0 var(--c-border);
}
.section--forest {
  position: relative;
}
.section--forest::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--c-moss), var(--c-accent), var(--c-moss), transparent);
}

/* ── Hub card — premium hover ─────────────────────────────── */
.hub-card {
  position: relative;
  transition: background .2s, transform .3s cubic-bezier(.34,1.56,.64,1);
}
.hub-card:hover {
  transform: translateY(-3px);
  background: var(--c-cream) !important;
  box-shadow: 0 12px 40px rgba(12,30,20,.12);
}
.hub-card::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--c-forest), var(--c-accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s ease;
}
.hub-card:hover::after { transform: scaleX(1); }

/* ── Article card — image zoom + color overlay on hover ──── */
.article-card {
  position: relative;
  transition: background .18s, transform .3s cubic-bezier(.34,1.56,.64,1), box-shadow .3s;
}
.article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(12,30,20,.13);
  z-index: 2;
}
/* Gradient line animates on hover */
.article-card::after {
  height: 3px;
  background: linear-gradient(90deg, var(--c-forest), var(--c-accent), var(--c-moss));
  transition: height .25s ease;
}
.article-card:hover::after { height: 4px; }

/* ── Quick answer — floating appearance ──────────────────── */
.quick-answer {
  box-shadow: 0 4px 24px rgba(12,30,20,.07);
  transition: box-shadow .3s;
}
.quick-answer:hover {
  box-shadow: 0 8px 40px rgba(12,30,20,.11);
}

/* ── Shop CTA — gradient shimmer ─────────────────────────── */
.shop-cta {
  background: linear-gradient(135deg, var(--c-ink) 0%, #1a3522 50%, var(--c-ink) 100%);
  background-size: 200% 100%;
  animation: shimmer 6s ease infinite;
}
@keyframes shimmer {
  0%, 100% { background-position: 0% 50%; }
  50%       { background-position: 100% 50%; }
}

/* ── Stats — individual cell glow on scroll ──────────────── */
.stat {
  transition: background .3s;
}
.stat:hover {
  background: rgba(255,255,255,.04);
}
.stat-num {
  background: linear-gradient(135deg, #fff 30%, rgba(255,255,255,.7) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Table — highlight on hover ──────────────────────────── */
.data-table tr { transition: background .15s; }
.data-table tr:hover td {
  background: var(--c-light) !important;
}
/* 8. Data table — subtle left border on hovered row */
.data-table tr:hover td:first-child {
  border-left: 3px solid var(--c-accent);
}

/* ── Btn — premium press + lift effects ──────────────────── */
.btn {
  will-change: transform;
  transition: all .2s cubic-bezier(.34,1.56,.64,1);
}
.btn:active { transform: scale(.96) !important; }
/* 9. Buttons — focus states */
.btn:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 3px;
}
.btn-white {
  box-shadow: 0 2px 8px rgba(12,30,20,.15);
}
/* 9. Buttons — subtle translateY lift on hover */
.btn-white:hover {
  box-shadow: 0 6px 24px rgba(12,30,20,.2);
  transform: translateY(-1px);
}
.btn-forest {
  box-shadow: 0 2px 12px rgba(12,30,20,.25);
}
.btn-forest:hover {
  box-shadow: 0 8px 28px rgba(12,30,20,.35);
  transform: translateY(-1px);
}
.btn-green:hover { transform: translateY(-1px); }
.btn-outline:hover { transform: translateY(-1px); }

/* ── Nav logo — animated leaf ────────────────────────────── */
.nav-logo-badge {
  transition: transform .4s cubic-bezier(.34,1.56,.64,1), background .2s;
}
.nav-logo:hover .nav-logo-badge {
  transform: rotate(-12deg) scale(1.1);
  background: var(--c-accent);
}

/* ── FAQ — smooth border accent ──────────────────────────── */
.faq-item {
  transition: padding .25s;
}
.faq-item.open {
  border-left: 3px solid var(--c-accent);
  padding-left: 1rem;
  margin-left: -1rem;
}

/* ── Author box — card lift ───────────────────────────────── */
.author-box {
  transition: box-shadow .3s, transform .3s cubic-bezier(.34,1.56,.64,1);
}
.author-box:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(12,30,20,.09);
}

/* ── Compliance box pulse border ─────────────────────────── */
.compliance-box {
  animation: warnPulse 4s ease-in-out infinite;
}
@keyframes warnPulse {
  0%, 100% { border-left-color: var(--c-warn-border); }
  50%       { border-left-color: #f0a500; }
}

/* ── Section header — label underline draw ───────────────── */
.sec-hdr-label {
  position: relative;
  display: inline-flex;
}

/* ── Type card — hover effects ────────────────────────────── */
.type-card {
  position: relative;
  transition: background .2s, transform .3s cubic-bezier(.34,1.56,.64,1);
  overflow: hidden;
}
.type-card:hover {
  transform: translateY(-3px);
  background: var(--c-paper-dark) !important;
}
/* 7. Type cards — subtle top accent bar on hover */
.type-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--c-forest), var(--c-accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s ease;
}
.type-card:hover::before { transform: scaleX(1); }
/* Gradient text animates to accent on hover */
.type-card:hover .type-card-num {
  background: linear-gradient(135deg, var(--c-accent) 0%, var(--c-moss) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  transition: background .3s;
}

/* ── Scroll progress bar ─────────────────────────────────── */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--c-forest), var(--c-accent), var(--c-moss));
  z-index: 9999;
  transition: width .1s linear;
}

/* ── Image reveal overlay ────────────────────────────────── */
.article-card-img {
  position: relative;
  overflow: hidden;
}
.article-card-img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(12,30,20,.35) 100%);
  pointer-events: none;
}

/* ── Hero kicker — animated dots ─────────────────────────── */
@keyframes blink {
  0%, 100% { opacity: .5; }
  50%       { opacity: 1; }
}
.hero-kicker { animation: none; } /* override if needed */

/* ═══════════════════════════════════════════════════════════
   MOBIL OPTIMERING — komplet responsiv forbedring
   ═══════════════════════════════════════════════════════════ */

/* ── Nav burger — animeret X ved åbning ────────────────────── */
.nav-burger span {
  transition: transform .25s ease, opacity .2s ease;
  transform-origin: center;
}
.nav-burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav-burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ── Mobil nav links ───────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-logo { font-size: 1rem; }

  /* Sektioner — reduceret padding */
  .section--white,
  .section--paper,
  .section--gray,
  .section--forest {
    padding-top: clamp(2.5rem, 7vw, 4rem);
    padding-bottom: clamp(2.5rem, 7vw, 4rem);
  }

  /* Quick answer — kompakt */
  .quick-answer { padding: 1.25rem 1.25rem 1.25rem 1.5rem; }
  .quick-answer::before { font-size: 3.5rem; top: .5rem; right: 1rem; }

  /* Bokse — reduceret padding */
  .compliance-box,
  .info-box { padding: 1.25rem 1.25rem; }
  .author-box { padding: 1.5rem; }

  /* Shop CTA */
  .shop-cta { padding: 2rem 1.5rem; }
  .shop-cta-text h3 { font-size: 1.25rem; }

  /* Stats */
  .stat { padding: 2rem .75rem; }

  /* Type card nummer */
  .type-card-num { font-size: 2.5rem; }

  /* Hub cards */
  .hub-card { padding: 1.5rem; }

  /* Hero trust — stables vertikalt */
  .hero-trust {
    flex-direction: column;
    align-items: flex-start;
    gap: .65rem;
  }

  /* FAQ — undgå vandret overflow ved open-state */
  .faq-item.open {
    margin-left: 0;
    padding-left: .75rem;
  }
  .faq-btn { font-size: .9375rem; }

  /* Tabeller — kompakt */
  .data-table th,
  .data-table td { padding: .75rem 1rem; }

  /* Article cards */
  .article-card-body { padding: 1.35rem 1.25rem 1.25rem; }
  .article-card--featured .article-card-body { padding: 1.5rem 1.25rem; }

  /* Section headers */
  .sec-hdr { margin-bottom: 2.5rem; }

  /* Footer */
  .footer { padding: 3.5rem 0 2rem; }
  .footer-grid { gap: 1.75rem; margin-bottom: 2.5rem; }
}

/* ── Lille mobil (480px og under) ──────────────────────────── */
@media (max-width: 480px) {
  /* Hero short */
  .hero--short { padding: 2.5rem 0 2rem; }
  .hero--short h1 { font-size: clamp(1.55rem, 7.5vw, 2rem); }
  .hero--short .hero-inner { padding: 0 1.25rem; }
  .hero--short .hero-sub { font-size: .92rem; margin-bottom: 1.25rem; }
  .hero--short .hero-trust { padding-top: 1.25rem; margin-top: 0; }

  /* Article hero */
  .article-hero h1 { font-size: clamp(1.45rem, 7vw, 1.9rem); }
  .article-hero-inner { padding: 0 1.25rem; }

  /* Hero actions — knapper fuld bredde */
  .hero-actions { gap: .75rem; flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; justify-content: center; }

  /* Quick answer */
  .quick-answer { padding: 1.1rem 1rem 1.1rem 1.25rem; }
  .quick-answer p { font-size: 1rem; }

  /* Stats — 2-kolonne på små skærme */
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 1.5rem .5rem; }
  .stat-num { font-size: 2rem; }

  /* Knapper */
  .btn { padding: .85rem 1.25rem; font-size: .8rem; }

  /* Shop CTA */
  .shop-cta { padding: 1.75rem 1.25rem; }

  /* Author box */
  .author-box { padding: 1.25rem; }
  .author-avatar { width: 48px; height: 48px; font-size: 1.25rem; }

  /* Tabeller */
  .data-table { font-size: .82rem; }
  .data-table th,
  .data-table td { padding: .65rem .75rem; }

  /* Article body */
  .article-body { padding: 2.5rem var(--pad-x); }
  .article-body h2 { font-size: 1.4rem; margin-top: 2rem; }
  .article-body h3 { font-size: 1.15rem; }
  .article-body p,
  .article-body li { font-size: 1rem; }

  /* Article hero */
  .article-hero h1 { font-size: clamp(1.55rem, 7.5vw, 2rem); }
  .article-hero-meta { gap: 1rem; }

  /* Kortets editornummer — lille */
  .article-card::before { font-size: 1.6rem; top: 1rem; right: 1rem; }

  /* Bokse */
  .compliance-box,
  .info-box { padding: 1rem; }

  /* Section headers */
  .sec-hdr { margin-bottom: 2rem; }
  .sec-hdr h2 { font-size: clamp(1.4rem, 7vw, 1.9rem); }

  /* Footer */
  .footer { padding: 3rem 0 2rem; }
  .footer-grid { margin-bottom: 2rem; }
}

/* ═══════════════════════════════════════════════════════════
   POLISH LAYER — raffinerede forbedringer
   ═══════════════════════════════════════════════════════════ */

/* ── 5. Hub cards — ensret padding og gap ──────────────────── */
.hub-card {
  padding: 2rem;
  gap: 1rem;
}

/* ── 6. Article card-cat dot — alignment fix ───────────────── */
.article-card-cat {
  line-height: 1.5;
}

/* ── 8. Table scroll indicator (mobile) ────────────────────── */
.table-wrap {
  position: relative;
}
/* Fade-out right edge on small screens to hint at scroll */
@media (max-width: 700px) {
  .table-wrap::after {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0;
    width: 3rem;
    background: linear-gradient(270deg, var(--c-paper) 0%, transparent 100%);
    pointer-events: none;
    z-index: 2;
  }
  .table-wrap.no-scroll::after { display: none; }
}

/* ── 10. Footer bottom — "Siden 2011" line ─────────────────── */
.footer-since {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .68rem; color: rgba(247,243,237,.25);
  letter-spacing: .12em; text-transform: uppercase;
}
.footer-since::before {
  content: '';
  display: inline-block; width: 14px; height: 1px;
  background: rgba(247,243,237,.2);
}

/* ── 11. Stats strip — label spacing polish ─────────────────── */
.stat-label {
  margin-top: .75rem;
  letter-spacing: .14em;
}

/* ── 12. Reveal animation — CSS base ───────────────────────── */
/* JS IntersectionObserver sætter .is-visible */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .65s cubic-bezier(.22,1,.36,1), transform .65s cubic-bezier(.22,1,.36,1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Scroll indicator label for overflow table ──────────────── */
.table-scroll-hint {
  display: none;
  font-size: .68rem; color: var(--c-text-muted); letter-spacing: .08em;
  text-transform: uppercase; text-align: right;
  margin-top: .5rem; margin-bottom: -.25rem;
  align-items: center; gap: .35rem; justify-content: flex-end;
}
.table-scroll-hint::after { content: '→'; }
@media (max-width: 700px) {
  .table-scroll-hint.show { display: flex; }
}

/* ── Meget lille mobil (360px og under) ─────────────────────── */
@media (max-width: 360px) {
  :root { --pad-x: 1rem; }
  .hero--short h1 { font-size: 1.55rem; }
  .stats-strip { grid-template-columns: 1fr 1fr; }
  .stat-num { font-size: 1.75rem; }
  .quick-answer { padding: 1rem 1rem 1rem 1.1rem; }
  .btn { font-size: .77rem; }
  .nav-logo { font-size: .92rem; }
}

/* ── Touch: deaktivér hover-transforms ─────────────────────── */
@media (hover: none) {
  .hub-card:hover,
  .article-card:hover,
  .type-card:hover,
  .author-box:hover { transform: none !important; box-shadow: none !important; }
  .hub-card:hover::after { transform: scaleX(0) !important; }
}

/* ── Footer link hover ───────────────────────────────────── */
.footer-col ul li a {
  position: relative;
  display: inline-block;
  transition: color .2s, transform .2s;
}
.footer-col ul li a:hover {
  transform: translateX(4px);
}

/* ── Breadcrumb — current page highlight ────────────────── */
nav.breadcrumb li[aria-current="page"] {
  font-weight: 600;
  color: var(--c-ink);
}
