/* ═══════════════════════════════════════════════════════
   Nomade Educatie — Artikelen (/artikelen + /artikelen/*)
   Scoped to .nh-artikel; uses the .nh-home tokens from home.css.

   Idea: every article is an expedition. The hub draws the
   articles as stops on a route; an article shows its own
   sections as stops in a sticky "route" beside the text.

   Text on the dot grid (hero) is shielded automatically by
   dot-grid.js; the reading band (.ak-paper) is solid white.
   Per-article colour: --ak-accent (set inline on <main>).
   ═══════════════════════════════════════════════════════ */

.nh-artikel {
  --ak-accent: var(--home-teal-dark);
  --ak-line: #c9d3cf;
  --ak-gut: 32px;
}

/* ─── 1. Shared bits ─── */
.nh-artikel .ak-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: var(--ak-accent);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nh-artikel .ak-kicker__dot {
  flex: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 3px solid currentColor;
  background: #fff;
}

.nh-artikel .ak-kicker--light {
  color: var(--home-dark-accent);
}

.nh-artikel .ak-kicker--light .ak-kicker__dot {
  background: var(--home-dark);
}

.nh-artikel .ak-btn--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}

.nh-artikel .ak-btn--ghost:hover,
.nh-artikel .ak-btn--ghost:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  color: #fff;
}

/* Breadcrumb */
.nh-artikel .ak-crumbs {
  margin: 0 0 22px;
}

.nh-artikel .ak-crumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
}

.nh-artikel .ak-crumbs li {
  display: flex;
  align-items: center;
}

.nh-artikel .ak-crumbs a {
  color: var(--home-teal);
  text-decoration: none;
}

.nh-artikel .ak-crumbs a:hover,
.nh-artikel .ak-crumbs a:focus-visible {
  color: var(--home-teal-dark);
  text-decoration: underline;
}

.nh-artikel .ak-crumbs [aria-current] {
  color: var(--home-body);
}

.nh-artikel .ak-crumbs__sep {
  color: #b9b6ae;
  margin: 0 8px;
}

/* Reading progress: a thin line in the article colour along the top */
.nh-artikel .ak-progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 4px;
  z-index: 1100;
  pointer-events: none;
}

.nh-artikel .ak-progress span {
  display: block;
  height: 100%;
  background: var(--ak-accent);
  transform: scaleX(0);
  transform-origin: left center;
}


/* ─── 2. Article hero ─── */
.nh-artikel .ak-hero {
  max-width: 1180px;
  margin: 0 auto;
  padding: calc(var(--header-height, 72px) + 48px) var(--ak-gut) 64px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.nh-artikel .ak-hero__title {
  font-weight: 700;
  font-size: clamp(32px, 4.2vw, 52px);
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
}

.nh-artikel .ak-hero__title .nh-mark--hero {
  padding: 2px 8px;
  animation-delay: 0.6s;
}

.nh-artikel .ak-hero__lead {
  color: var(--home-body);
  font-size: 17.5px;
  line-height: 1.75;
  max-width: 56ch;
  margin: 22px 0 0;
  text-wrap: pretty;
}

.nh-artikel .ak-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  color: var(--home-body);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}

.nh-artikel .ak-hero__meta li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.nh-artikel .ak-hero__meta li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ak-accent);
}

.nh-artikel .ak-hero__media {
  position: relative;
  margin: 0;
  justify-self: center;
  width: min(100%, 460px);
}

.nh-artikel .ak-hero__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: var(--home-shadow-img);
  transform: rotate(1.5deg);
}

/* a book cover: never crop it */
.nh-artikel .ak-hero__media--cover {
  width: min(100%, 380px);
}

.nh-artikel .ak-hero__media--cover img {
  aspect-ratio: auto;
  border-radius: 10px 22px 22px 10px;
}

/* luggage tag on the photo */
.nh-artikel .ak-tag {
  position: absolute;
  left: -22px;
  bottom: 34px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 14px 18px 12px;
  border-radius: 14px;
  background: #fff;
  color: var(--home-ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  box-shadow: 0 12px 26px rgba(29, 29, 31, 0.16);
  transform: rotate(-6deg);
}

.nh-artikel .ak-tag::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 2px solid var(--home-border);
  margin-bottom: 4px;
}

.nh-artikel .ak-tag__num {
  font-size: 34px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ak-accent);
}


/* ─── 3. Reading band: route + text ─── */
.nh-artikel .ak-paper {
  background: #fff;
  border-top: 1px solid var(--home-hairline);
  border-bottom: 1px solid var(--home-hairline);
}

.nh-artikel .ak-layout {
  max-width: 1180px;
  margin: 0 auto;
  padding: 64px var(--ak-gut) 80px;
  display: grid;
  grid-template-columns: 250px minmax(0, 720px);
  gap: clamp(40px, 6vw, 96px);
  justify-content: center;
  align-items: start;
}

/* Route (sticky table of contents) */
.nh-artikel .ak-route {
  position: sticky;
  top: calc(var(--header-height, 72px) + 32px);
}

.nh-artikel .ak-route__title {
  margin: 0 0 18px;
  color: var(--home-body);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nh-artikel .ak-route__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nh-artikel .ak-route__list li {
  position: relative;
  padding: 0 0 18px 30px;
}

.nh-artikel .ak-route__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 3px solid var(--ak-line);
  background: #fff;
  box-sizing: border-box;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.nh-artikel .ak-route__list li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 22px;
  bottom: 0;
  border-left: 3px dotted var(--ak-line);
}

.nh-artikel .ak-route__list a {
  display: block;
  color: var(--home-body);
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.45;
  text-decoration: none;
  transition: color 0.2s ease;
}

.nh-artikel .ak-route__list a:hover,
.nh-artikel .ak-route__list a:focus-visible {
  color: var(--home-ink);
}

.nh-artikel .ak-route__list li.is-passed::before {
  border-color: var(--ak-accent);
}

.nh-artikel .ak-route__list li.is-active::before {
  border-color: var(--ak-accent);
  background: var(--ak-accent);
}

.nh-artikel .ak-route__list li.is-active a {
  color: var(--home-ink);
}

/* The text column */
.nh-artikel .ak-body {
  counter-reset: ak-stop;
  min-width: 0;
}

.nh-artikel .ak-body > * + * {
  margin-top: 1.15em;
}

.nh-artikel .ak-body p,
.nh-artikel .ak-body li {
  font-size: 17.5px;
  line-height: 1.8;
  color: var(--home-body);
  text-wrap: pretty;
}

.nh-artikel .ak-body strong {
  color: var(--home-ink);
}

.nh-artikel .ak-body a {
  color: var(--ak-accent);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

.nh-artikel .ak-body a:hover,
.nh-artikel .ak-body a:focus-visible {
  color: var(--home-ink);
}

.nh-artikel .ak-body ul,
.nh-artikel .ak-body ol {
  padding-left: 1.25em;
}

.nh-artikel .ak-body li + li {
  margin-top: 0.45em;
}

.nh-artikel .ak-body li::marker {
  color: var(--ak-accent);
  font-weight: 700;
}

/* Each H2 is a stop: a small numbered label above the heading */
.nh-artikel .ak-h2 {
  counter-increment: ak-stop;
  font-size: clamp(25px, 2.8vw, 33px);
  line-height: 1.2;
  font-weight: 700;
  color: var(--home-ink);
  margin-top: 2.2em;
  scroll-margin-top: calc(var(--header-height, 72px) + 24px);
  text-wrap: balance;
}

.nh-artikel .ak-h2::before {
  content: "Stop " counter(ak-stop, decimal-leading-zero);
  display: block;
  margin-bottom: 10px;
  color: var(--ak-accent);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nh-artikel .ak-body h3 {
  font-size: 19px;
  line-height: 1.35;
  font-weight: 700;
  color: var(--home-ink);
  margin-top: 1.7em;
}

.nh-artikel .ak-h2 + p,
.nh-artikel .ak-body h3 + p {
  margin-top: 0.55em;
}

/* "Kort gezegd": the takeaways as stops on a short route */
.nh-artikel .ak-kort {
  padding: 28px 30px 10px;
  border-radius: 24px;
  background: var(--home-soft);
}

.nh-artikel .ak-kort__title {
  margin: 0 0 18px;
  color: var(--home-ink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nh-artikel .ak-body .ak-kort__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nh-artikel .ak-body .ak-kort__list li {
  position: relative;
  margin: 0;
  padding: 0 0 20px 34px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--home-ink);
  font-weight: 600;
}

.nh-artikel .ak-kort__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 3px solid var(--ak-accent);
  background: var(--home-soft);
  box-sizing: border-box;
}

.nh-artikel .ak-kort__list li:last-child::before {
  background: var(--ak-accent);
}

.nh-artikel .ak-kort__list li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 6.5px;
  top: 24px;
  bottom: 2px;
  border-left: 3px dotted var(--ak-line);
}

/* Pull quote */
.nh-artikel .ak-quote {
  position: relative;
  margin: 2em 0;
  padding: 8px 0 0 56px;
}

.nh-artikel .ak-quote::before {
  content: "\201C";
  position: absolute;
  left: -4px;
  top: -18px;
  color: var(--ak-accent);
  font-size: 96px;
  font-weight: 700;
  line-height: 1;
}

.nh-artikel .ak-body .ak-quote p {
  font-size: clamp(21px, 2.3vw, 26px);
  line-height: 1.45;
  font-weight: 700;
  color: var(--home-ink);
  text-wrap: balance;
}

.nh-artikel .ak-body .ak-quote .nh-mark {
  padding: 1px 6px;
}

.nh-artikel .ak-body .ak-quote footer {
  margin-top: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--home-body);
}

/* Side by side tiles */
.nh-artikel .ak-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.nh-artikel .ak-compare > div {
  padding: 22px 24px;
  border-radius: 18px;
  background: var(--home-soft);
}

.nh-artikel .ak-compare > div:last-child {
  background: color-mix(in srgb, var(--ak-accent) 12%, #fff);
}

.nh-artikel .ak-body .ak-compare h3 {
  margin: 0 0 8px;
  font-size: 17px;
}

.nh-artikel .ak-body .ak-compare p {
  font-size: 15.5px;
  line-height: 1.65;
  margin: 0;
}

/* Numbered steps on a dotted route (a soft panel) */
.nh-artikel .ak-body .ak-steps {
  list-style: none;
  margin-top: 1.4em;
  padding: 30px 30px 6px;
  border-radius: 24px;
  background: var(--home-soft);
  counter-reset: ak-step;
}

.nh-artikel .ak-body .ak-steps > li {
  counter-increment: ak-step;
  position: relative;
  margin: 0;
  padding: 0 0 26px 52px;
}

.nh-artikel .ak-steps > li::before {
  content: counter(ak-step);
  position: absolute;
  left: 0;
  top: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  border: 3px solid var(--ak-accent);
  color: var(--ak-accent);
  font-size: 14px;
  font-weight: 700;
  box-sizing: border-box;
}

.nh-artikel .ak-steps > li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 14.5px;
  top: 38px;
  bottom: 4px;
  border-left: 3px dotted var(--ak-line);
}

.nh-artikel .ak-body .ak-steps p {
  font-size: 16px;
  line-height: 1.7;
  margin: 4px 0 0;
}

.nh-artikel .ak-steps__title {
  display: block;
  color: var(--home-ink);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
}

/* Expedition grid (Caribbean article): 8 stops in 2 school years */
.nh-artikel .ak-expedities {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 1.4em;
}

.nh-artikel .ak-expedities__year {
  padding: 24px 24px 8px;
  border-radius: 20px;
  background: var(--home-soft);
}

.nh-artikel .ak-body .ak-expedities__year h3 {
  margin: 0 0 14px;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ak-accent);
}

.nh-artikel .ak-body .ak-expedities ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nh-artikel .ak-body .ak-expedities li {
  margin: 0 0 16px;
  line-height: 1.5;
}

.nh-artikel .ak-expedities__name {
  display: block;
  color: var(--home-ink);
  font-size: 16px;
  font-weight: 700;
}

.nh-artikel .ak-expedities__name span {
  color: var(--ak-accent);
  margin-right: 6px;
}

.nh-artikel .ak-body .ak-expedities__case {
  display: block;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--home-body);
}

/* "Zo doet Nomade het": dark ink block */
.nh-artikel .ak-nomade {
  margin-top: 2.6em;
  padding: clamp(26px, 4vw, 40px);
  border-radius: 26px;
  background: var(--home-dark);
}

.nh-artikel .ak-body .ak-nomade p {
  color: var(--home-dark-text);
  font-size: 16.5px;
}

.nh-artikel .ak-body .ak-nomade .ak-nomade__title {
  color: #fff;
  font-size: clamp(21px, 2.3vw, 26px);
  line-height: 1.3;
  font-weight: 700;
  margin: 0 0 10px;
}

.nh-artikel .ak-nomade__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
}

.nh-artikel .ak-body .ak-nomade__links li {
  margin: 0;
}

.nh-artikel .ak-body .ak-nomade__links a {
  display: inline-block;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1.5px solid rgba(143, 208, 201, 0.45);
  color: #fff;
  font-size: 14.5px;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.nh-artikel .ak-body .ak-nomade__links a:hover,
.nh-artikel .ak-body .ak-nomade__links a:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--home-dark-accent);
  color: #fff;
}

/* FAQ */
.nh-artikel .ak-faq {
  margin-top: 3em;
}

.nh-artikel .ak-faq h2 {
  font-size: clamp(23px, 2.5vw, 28px);
  line-height: 1.25;
  margin: 0 0 14px;
}

.nh-artikel .ak-faq__item {
  border-top: 1.5px solid var(--home-hairline);
}

.nh-artikel .ak-faq__item:last-child {
  border-bottom: 1.5px solid var(--home-hairline);
}

.nh-artikel .ak-faq__item summary {
  position: relative;
  cursor: pointer;
  list-style: none;
  padding: 18px 44px 18px 0;
  font-weight: 700;
  font-size: 17px;
  line-height: 1.45;
  color: var(--home-ink);
}

.nh-artikel .ak-faq__item summary::-webkit-details-marker {
  display: none;
}

.nh-artikel .ak-faq__item summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  width: 28px;
  height: 28px;
  margin-top: -14px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--home-soft);
  color: var(--ak-accent);
  font-size: 20px;
  font-weight: 600;
  transition: transform 0.25s ease;
}

.nh-artikel .ak-faq__item[open] summary::after {
  transform: rotate(45deg);
}

.nh-artikel .ak-body .ak-faq__item p {
  margin: 0 0 20px;
  font-size: 16.5px;
}


/* ─── 4. Volgende stop ─── */
.nh-artikel .ak-next {
  max-width: 1120px;
  margin: 0 auto;
  padding: 72px var(--ak-gut) 32px;
}

.nh-artikel .ak-next__card {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) 280px;
  align-items: center;
  gap: clamp(20px, 4vw, 48px);
  padding: 28px;
  border-radius: 28px;
  background: color-mix(in srgb, var(--ak-accent) 10%, #fff);
  color: inherit;
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.nh-artikel .ak-next__card:hover,
.nh-artikel .ak-next__card:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 22px 44px rgba(29, 29, 31, 0.1);
}

.nh-artikel .ak-next__num {
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  margin-left: 10px;
  border-radius: 50%;
  background: var(--ak-accent);
  color: #fff;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 0 0 8px color-mix(in srgb, var(--ak-accent) 18%, #fff);
}

.nh-artikel .ak-next__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.nh-artikel .ak-next__kicker {
  color: var(--ak-accent);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nh-artikel .ak-next__title {
  color: var(--home-ink);
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.22;
  font-weight: 700;
  text-wrap: balance;
}

.nh-artikel .ak-next__go {
  color: var(--home-ink);
  font-size: 15px;
  font-weight: 700;
}

.nh-artikel .ak-next__go::after {
  content: "\2192";
  display: inline-block;
  margin-left: 6px;
  transition: transform 0.25s ease;
}

.nh-artikel .ak-next__card:hover .ak-next__go::after {
  transform: translateX(4px);
}

.nh-artikel .ak-next__img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 20px;
  transform: rotate(2deg);
  box-shadow: 0 14px 30px rgba(29, 29, 31, 0.14);
}

.nh-artikel .ak-next__rest {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  list-style: none;
  margin: 22px 0 0;
  padding: 0 4px;
}

.nh-artikel .ak-next__rest a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--home-ink);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

.nh-artikel .ak-next__rest a::before {
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 3px solid var(--ak-accent);
}

.nh-artikel .ak-next__rest a:hover,
.nh-artikel .ak-next__rest a:focus-visible {
  text-decoration: underline;
}

.nh-artikel .ak-next__all a::before {
  border-color: var(--home-ink);
  background: var(--home-ink);
}


/* ─── 5. Makers block (dark) ─── */
.nh-artikel .ak-makers {
  max-width: 1120px;
  margin: 0 auto;
  padding: 48px var(--ak-gut) 96px;
}

.nh-artikel .ak-makers__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding: clamp(30px, 5vw, 56px);
  border-radius: 30px;
  background: var(--home-dark);
}

.nh-artikel .ak-makers__title {
  color: #fff;
  font-size: clamp(26px, 3.2vw, 38px);
  line-height: 1.18;
  font-weight: 700;
  margin: 0;
  text-wrap: balance;
}

.nh-artikel .ak-makers__intro {
  color: var(--home-dark-text);
  font-size: 16.5px;
  line-height: 1.7;
  margin: 16px 0 0;
  max-width: 52ch;
}

.nh-artikel .ak-makers__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.nh-artikel .ak-makers__people {
  display: grid;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nh-artikel .ak-makers__people li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px 14px 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
}

.nh-artikel .ak-makers__people img {
  flex: none;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--home-dark-accent);
}

.nh-artikel .ak-makers__people span {
  color: var(--home-dark-text);
  font-size: 14px;
  line-height: 1.5;
}

.nh-artikel .ak-makers__people b {
  display: block;
  color: #fff;
  font-size: 16px;
}


/* ─── 6. Hub ─── */
.nh-artikel .ak-hubhero {
  max-width: 1180px;
  margin: 0 auto;
  padding: calc(var(--header-height, 72px) + 48px) var(--ak-gut) 40px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.nh-artikel .ak-map {
  display: block; /* inline SVG adds a baseline gap, which would skew the % link boxes */
  width: 100%;
  height: auto;
  overflow: visible;
}

.nh-artikel .ak-map__path {
  fill: none;
  stroke: var(--ak-line);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 0.1 9;
}

.nh-artikel .ak-map__stop circle {
  transition: transform 0.25s ease;
  transform-box: fill-box;
  transform-origin: center;
}

/* The stops are drawn in the SVG; the links are HTML boxes laid over them
   (.ak-maplink, positioned in % of the viewBox by artikelen.php). Hovering a link
   grows its stop and underlines its label through :has(), with per-stop rules
   generated next to the map. */
.nh-artikel .ak-mapwrap {
  position: relative;
  display: block;
}

.nh-artikel .ak-maplink {
  position: absolute;
  border-radius: 16px;
}

.nh-artikel .ak-maplink:focus-visible {
  outline: 2px solid var(--home-teal-dark);
  outline-offset: 2px;
}

.nh-artikel .ak-map__num {
  font-family: var(--font-family, 'Montserrat', sans-serif);
  font-size: 17px;
  font-weight: 700;
  fill: #fff;
}

.nh-artikel .ak-map__kicker {
  font-family: var(--font-family, 'Montserrat', sans-serif);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nh-artikel .ak-map__label {
  font-family: var(--font-family, 'Montserrat', sans-serif);
  font-size: 15px;
  font-weight: 700;
  fill: var(--home-ink);
}

.nh-artikel .ak-map__start,
.nh-artikel .ak-map__end {
  font-family: var(--font-family, 'Montserrat', sans-serif);
  font-size: 12px;
  font-weight: 600;
  fill: var(--home-body);
}

/* Zig-zag shelf: one row per article */
.nh-artikel .ak-shelf {
  max-width: 1120px;
  margin: 0 auto;
  padding: 40px var(--ak-gut) 24px;
  list-style: none;
}

.nh-artikel .ak-row {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
  padding: 48px 0;
}

.nh-artikel .ak-row + .ak-row {
  border-top: 1.5px dotted var(--ak-line);
}

.nh-artikel .ak-row:nth-child(even) .ak-row__media {
  order: 2;
}

.nh-artikel .ak-row__media {
  position: relative;
  display: block;
  padding: 0 0 28px 28px;
}

/* colour field behind the photo */
.nh-artikel .ak-row__media::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 78%;
  height: 78%;
  border-radius: 26px;
  background: color-mix(in srgb, var(--ak-accent) 16%, #fff);
}

.nh-artikel .ak-row__media img {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: var(--home-shadow-img);
  transition: transform 0.35s ease;
}

.nh-artikel .ak-row__media:hover img,
.nh-artikel .ak-row__media:focus-visible img {
  transform: rotate(-1.5deg) translateY(-4px);
}

/* the article number as a stop on the route: a solid dot with a halo,
   trailing off into a short dotted line (same language as the hub map) */
.nh-artikel .ak-row__num {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin: 6px 0 8px 6px;
  border-radius: 50%;
  background: var(--ak-accent);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--ak-accent) 16%, #fff);
}

.nh-artikel .ak-row__num::after {
  content: "";
  position: absolute;
  left: calc(100% + 16px);
  top: 50%;
  width: 72px;
  border-top: 3px dotted var(--ak-line);
}

.nh-artikel .ak-row__kicker {
  margin: 12px 0 10px;
  color: var(--ak-accent);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nh-artikel .ak-row__title {
  margin: 0;
  font-size: clamp(24px, 2.8vw, 34px);
  line-height: 1.2;
  font-weight: 700;
  text-wrap: balance;
}

.nh-artikel .ak-row__title a {
  color: var(--home-ink);
  text-decoration: none;
}

.nh-artikel .ak-row__title a:hover,
.nh-artikel .ak-row__title a:focus-visible {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.nh-artikel .ak-row__desc {
  margin: 14px 0 0;
  color: var(--home-body);
  font-size: 16.5px;
  line-height: 1.7;
  max-width: 52ch;
}

.nh-artikel .ak-row__go {
  display: inline-block;
  margin-top: 22px;
  color: var(--home-ink);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.nh-artikel .ak-row__go::after {
  content: "\2192";
  display: inline-block;
  margin-left: 6px;
  transition: transform 0.25s ease;
}

.nh-artikel .ak-row__go:hover::after,
.nh-artikel .ak-row__go:focus-visible::after {
  transform: translateX(4px);
}


/* ─── 7. Responsive ─── */
@media (max-width: 1000px) {
  .nh-artikel .ak-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    padding-top: 40px;
  }

  /* the route becomes a compact panel above the text */
  .nh-artikel .ak-route {
    position: static;
    margin-bottom: 36px;
    padding: 24px 24px 6px;
    border-radius: 20px;
    background: var(--home-soft);
  }

  .nh-artikel .ak-route__list li::before {
    background: var(--home-soft);
  }

  .nh-artikel .ak-next__card {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .nh-artikel .ak-next__img {
    display: none;
  }
}

@media (max-width: 860px) {
  .nh-artikel .ak-hero,
  .nh-artikel .ak-hubhero {
    grid-template-columns: minmax(0, 1fr);
  }

  .nh-artikel .ak-hero__media {
    width: min(100%, 360px);
  }

  .nh-artikel .ak-hero__media img {
    aspect-ratio: 4 / 3;
  }

  .nh-artikel .ak-hero__media--cover {
    width: min(100%, 270px);
  }

  .nh-artikel .ak-hero__media--cover img {
    aspect-ratio: auto;
  }

  .nh-artikel .ak-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding: 36px 0;
  }

  .nh-artikel .ak-row:nth-child(even) .ak-row__media {
    order: 0;
  }

  .nh-artikel .ak-makers__inner {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 600px) {
  .nh-artikel {
    --ak-gut: 16px;
  }

  .nh-artikel .ak-hero {
    padding-top: calc(var(--header-height, 60px) + 28px);
    padding-bottom: 44px;
  }

  .nh-artikel .ak-tag {
    left: -6px;
    bottom: 18px;
    padding: 10px 14px 9px;
  }

  .nh-artikel .ak-tag__num {
    font-size: 26px;
  }

  .nh-artikel .ak-hubhero {
    padding-top: calc(var(--header-height, 60px) + 28px);
  }

  .nh-artikel .ak-body p,
  .nh-artikel .ak-body li {
    font-size: 16.5px;
  }

  .nh-artikel .ak-compare,
  .nh-artikel .ak-expedities {
    grid-template-columns: minmax(0, 1fr);
  }

  .nh-artikel .ak-kort,
  .nh-artikel .ak-body .ak-steps {
    padding-left: 20px;
    padding-right: 20px;
  }

  .nh-artikel .ak-quote {
    padding-left: 40px;
  }

  .nh-artikel .ak-quote::before {
    font-size: 72px;
  }

  .nh-artikel .ak-next__card {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    padding: 24px 22px;
  }

  .nh-artikel .ak-next__num {
    width: 52px;
    height: 52px;
    margin: 6px 0 10px 6px;
    font-size: 18px;
    box-shadow: 0 0 0 6px color-mix(in srgb, var(--ak-accent) 18%, #fff);
  }

  .nh-artikel .ak-makers {
    padding-bottom: 64px;
  }

  .nh-artikel .ak-makers__cta {
    flex-direction: column;
    align-items: stretch;
  }

  .nh-artikel .ak-row__media {
    padding: 0 0 18px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nh-artikel .ak-next__card,
  .nh-artikel .ak-row__media img,
  .nh-artikel .ak-map__stop circle,
  .nh-artikel .ak-faq__item summary::after,
  .nh-artikel .ak-route__list li::before {
    transition: none;
  }

  .nh-artikel .ak-next__card:hover,
  .nh-artikel .ak-next__card:focus-visible {
    transform: none;
  }

  .nh-artikel .ak-row__media:hover img,
  .nh-artikel .ak-row__media:focus-visible img {
    transform: none;
  }
}

/* The route map's labels get too small to read on a phone; the rows below
   carry the same links, so the map is a wide-screen extra. */
@media (max-width: 600px) {
  .nh-artikel .ak-hubhero > nav {
    display: none;
  }
}
