/* ═══════════════════════════════════════════════════════
   Nomade Educatie — Nomade Actueel (/nomade-actueel)
   Page-specific styles only. Everything generic (tokens,
   .nh-btn, .nh-badge, .nh-chip, .nh-mark, .nh-reveal,
   .nh-ticker, .nh-secthead, .nh-tile, .nh-checklist,
   .nh-darkblock, .nh-slot) comes from css/home.css, which
   is why <main> carries both .nh-home and .nh-actpage.
   Scoped to .nh-actpage so nothing leaks to other pages.
   ═══════════════════════════════════════════════════════ */

/* ─── 1. Primitive tweaks to the design's spec ─── */

/* The design's numerals match /nomade-digitaal, not the homepage */
.nh-actpage .nh-secthead__num {
  font-size: clamp(56px, 8vw, 96px);
}

/* Design: hero marker starts at .5s (homepage waits 1s) */
.nh-actpage .nh-mark--hero {
  animation-delay: 0.5s;
}

/* Design speed is 26s for a 2-copy marquee; with 8 copies (2 halves of 4)
   the same visual speed needs 26s × 4 = 104s for one -50% slide. */
.nh-actpage .nh-ticker__track {
  animation-duration: 104s;
}

/* Design slotquote: 88px padding, 24ch measure */
.nh-actpage .nh-slot {
  padding: 88px 32px;
}

.nh-actpage .nh-slot__quote {
  font-size: clamp(28px, 4vw, 44px);
  max-width: 24ch;
}

/* Design badge/chip sizes (a touch roomier than the shared defaults) */
.nh-actpage .na-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.nh-actpage .na-badges .nh-chip--free {
  padding: 6px 16px;
  font-size: 12.5px;
}


/* ─── 2. Section rhythm ───────────────────────────────
   Only the vertical padding is set here so .nh-section's
   horizontal padding (32px, 20px under 640px) keeps working. */
.nh-actpage .na-sect--week       { padding-top: 80px; padding-bottom: 32px; }
.nh-actpage .na-sect--voorbeeld  { padding-top: 24px; padding-bottom: 72px; }
.nh-actpage .na-sect--klas       { padding-top: 0;    padding-bottom: 72px; }
.nh-actpage .na-sect--toolkit    { padding-top: 0;    padding-bottom: 72px; }
.nh-actpage .na-sect--meebouwen  { padding-top: 0;    padding-bottom: 72px; }
.nh-actpage .na-sect--toegang    { padding-top: 0;    padding-bottom: 72px; max-width: 900px; }

/* The site header is fixed — keep deep links clear of it */
.nh-actpage #ahero,
.nh-actpage #week,
.nh-actpage #klas,
.nh-actpage #toolkit,
.nh-actpage #meebouwen,
.nh-actpage #toegang,
.nh-actpage #faq {
  scroll-margin-top: var(--header-height, 72px);
}


/* ─── 3. Hero ─── */
.nh-actpage .na-hero {
  max-width: 1240px;
  margin: 0 auto;
  padding: calc(var(--header-height, 72px) + 56px) 32px 40px;
  display: grid;
  grid-template-columns: minmax(300px, 1fr) minmax(300px, 1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}

.nh-actpage .na-hero__text,
.nh-actpage .na-hero__art { min-width: 0; }

.nh-actpage .na-hero__title {
  font-weight: 700;
  font-size: clamp(34px, 4.4vw, 52px);
  line-height: 1.14;
  margin: 24px 0 0;
  text-wrap: balance;
}

.nh-actpage .na-hero__title .nh-mark { padding: 2px 10px; }

.nh-actpage .na-hero__lead {
  font-size: 17px;
  line-height: 1.8;
  color: var(--home-body);
  max-width: 52ch;
  margin: 20px 0 0;
  text-wrap: pretty;
}

.nh-actpage .na-hero__cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.nh-actpage .na-hero__meta {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--home-body);
  margin: 18px 0 0;
}

.nh-actpage .na-hero__meta a { font-weight: 600; }

/* Collage: one wide shot over two 4:3 shots */
.nh-actpage .na-hero__art {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: center;
}

.nh-actpage .na-shot {
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 14px 32px rgba(29, 29, 31, 0.14);
  transform: rotate(var(--r, 0deg));
}

.nh-actpage .na-shot > img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.nh-actpage .na-shot--1 {
  grid-column: 1 / -1;
  --r: -1.5deg;
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(29, 29, 31, 0.16);
  animation: nh-landIn 0.7s cubic-bezier(0.2, 0.7, 0.3, 1) 0.15s both,
             nh-floaty 7s ease-in-out 1.2s infinite;
}

.nh-actpage .na-shot--2 {
  --r: 2deg;
  animation: nh-landIn 0.7s cubic-bezier(0.2, 0.7, 0.3, 1) 0.3s both,
             nh-floaty 6.5s ease-in-out 1.5s infinite;
}

.nh-actpage .na-shot--3 {
  --r: -3deg;
  animation: nh-landIn 0.7s cubic-bezier(0.2, 0.7, 0.3, 1) 0.45s both,
             nh-floaty 7.5s ease-in-out 1.8s infinite;
}

/* The interim hero shot is 1600×788 (≈2.03), not the beeldenlijst's 16:10 —
   shown at its natural ratio so the globe and the panel stay intact. Drop
   this rule once the real 16:10 crop is delivered. */
.nh-actpage .na-shot--1 > img { aspect-ratio: auto; }


/* ─── 4. Screenshot placeholders (interim) ─── */
.nh-actpage .na-ph {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 14px;
  border: 1.5px dashed #d5cfc2;
  border-radius: 12px;
  background: var(--home-chip);
  color: #8b8474;
  font-weight: 600;
  font-size: 12.5px;
  line-height: 1.6;
  letter-spacing: 0.02em;
}

.nh-actpage .na-ph--16x9  { aspect-ratio: 16 / 9; }
.nh-actpage .na-ph--16x10 { aspect-ratio: 16 / 10; }
.nh-actpage .na-ph--4x3   { aspect-ratio: 4 / 3; }

/* Inside the hero collage and the browser frames the wrapper already supplies
   the radius and the surrounding edge */
.nh-actpage .na-shot .na-ph {
  border-radius: inherit;
  background: #faf9f6;
}

.nh-actpage .na-frame .na-ph {
  border: none;
  border-top: 1.5px dashed #d5cfc2;
  border-radius: 0;
  background: #faf9f6;
}


/* ─── 5. Section intros ─── */
.nh-actpage .na-intro {
  color: var(--home-body);
  font-size: 16.5px;
  line-height: 1.7;
  max-width: 62ch;
  margin: 16px 0 36px;
  text-wrap: pretty;
}


/* ─── 6. Fake browser frame (two variants) ───────────
   Same conventions as /nomade-digitaal, defined here so the
   two pages stay independent. */
.nh-actpage .na-frame {
  min-width: 0;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
}

.nh-actpage .na-frame__bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px 14px;
}

.nh-actpage .na-frame__dot {
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.nh-actpage .na-frame__url {
  flex: 1;
  height: 16px;
  min-width: 40px;
  margin-left: 8px;
  border-radius: 99px;
}

.nh-actpage .na-frame__shot {
  display: block;
  width: 100%;
  height: auto;
  background: #fff;
}

/* Light variant — sits on the page background */
.nh-actpage .na-frame--light {
  border: 1.5px solid var(--home-border);
  box-shadow: 0 12px 32px rgba(29, 29, 31, 0.1);
}

.nh-actpage .na-frame--light .na-frame__bar {
  background: #f6f4ef;
  border-bottom: 1px solid var(--home-border);
}

.nh-actpage .na-frame--light .na-frame__dot { background: #dcd7cb; }
.nh-actpage .na-frame--light .na-frame__url { background: #efece4; }

/* Dark variant — sits inside the #10393d block */
.nh-actpage .na-frame--dark {
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.nh-actpage .na-frame--dark .na-frame__bar {
  background: var(--home-chip);
  border-bottom: 1px solid #e2ded4;
}

.nh-actpage .na-frame--dark .na-frame__dot { background: #d9d4c8; }
.nh-actpage .na-frame--dark .na-frame__url { background: #e7e3d9; }


/* ─── 7. Cards (01 · onderdelen and 03 · toolkit) ─── */
.nh-actpage .na-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 20px;
}

.nh-actpage .na-cards--toolkit {
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
}

.nh-actpage .na-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #fff;
  border: 1.5px solid var(--home-border);
  border-radius: 18px;
  padding: 24px;
}

.nh-actpage .na-card__label {
  align-self: flex-start;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 3px 12px;
}

.nh-actpage .na-card__status {
  align-self: flex-start;
  background: #fff;
}

.nh-actpage .na-card__status.nh-chip--niveau { background: var(--home-marker); }

.nh-actpage .na-card h3 {
  font-weight: 600;
  font-size: 18px;
  line-height: 1.35;
  margin: 2px 0 0;
}

.nh-actpage .na-cards--toolkit .na-card h3 { font-size: 17.5px; }

.nh-actpage .na-card p {
  color: var(--home-body);
  font-size: 14.5px;
  line-height: 1.7;
  margin: 0;
  text-wrap: pretty;
}


/* ─── 8. 02 · dark block (feature tiles + screenshot) ─── */
.nh-actpage .na-dark {
  border-radius: 24px;
  padding: clamp(26px, 3.5vw, 48px);
}

.nh-actpage .na-dark__intro {
  color: var(--home-dark-text);
  font-size: 16.5px;
  line-height: 1.7;
  max-width: 64ch;
  margin: 16px 0 32px;
  text-wrap: pretty;
}

.nh-actpage .na-dark__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(24px, 3.5vw, 40px);
  align-items: start;
}

.nh-actpage .na-dark__tiles {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}


/* ─── 9. Bouw mee ─── */
.nh-actpage .na-build {
  background: #fff;
  border: 1.5px solid var(--home-teal);
  border-radius: 24px;
  padding: clamp(26px, 3.5vw, 48px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: clamp(24px, 3.5vw, 44px);
  align-items: center;
}

.nh-actpage .na-build__body { min-width: 0; }

.nh-actpage .na-build__kicker {
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.22em;
  color: var(--home-teal);
  margin: 0 0 14px;
}

.nh-actpage .na-build__title {
  font-weight: 700;
  font-size: clamp(24px, 3.2vw, 36px);
  line-height: 1.2;
  margin: 0 0 14px;
  text-wrap: balance;
}

.nh-actpage .na-build__text {
  color: var(--home-body);
  font-size: 15.5px;
  line-height: 1.7;
  margin: 0 0 18px;
  text-wrap: pretty;
}

.nh-actpage .na-build__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.nh-actpage .na-build__photo {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(29, 29, 31, 0.1);
}


/* ─── 10. Toegang aanvragen (zwart blok) ─── */
.nh-actpage .na-toegang {
  background: var(--home-ink);
  border-radius: 24px;
  padding: clamp(28px, 4vw, 56px);
  text-align: center;
}

.nh-actpage .na-toegang__title {
  font-weight: 700;
  font-size: clamp(26px, 3.6vw, 40px);
  line-height: 1.2;
  color: #fff;
  margin: 20px auto 0;
  max-width: 22ch;
  text-wrap: balance;
}

.nh-actpage .na-toegang__text {
  color: #c9c9cc;
  font-size: 16px;
  line-height: 1.7;
  max-width: 52ch;
  margin: 18px auto 0;
  text-wrap: pretty;
}

.nh-actpage .na-toegang__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 28px;
}

/* White button on the black block — the shared --light variant carries the
   dark-green ink of the #10393d blocks, here it must be #1d1d1f */
.nh-actpage .na-toegang .nh-btn--light {
  color: var(--home-ink);
  padding: 13px 30px;
}

.nh-actpage .na-toegang .nh-btn--light:hover,
.nh-actpage .na-toegang .nh-btn--light:focus-visible {
  background: #e8e6e1;
  border-color: #e8e6e1;
  color: var(--home-ink);
}

.nh-actpage .na-btn--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
  padding: 12px 28px;
}

.nh-actpage .na-btn--ghost:hover,
.nh-actpage .na-btn--ghost:focus-visible {
  background: transparent;
  border-color: #fff;
  color: #fff;
}


/* ─── 11. FAQ — het sitepatroon (.section--faq uit style.css/home.css);
   dot-grid.js maskeert de dots achter .faq__list, dus geen extra stijlen nodig ─── */


/* ═══════════════════════════════════════════════════════
   12. Responsive
   ═══════════════════════════════════════════════════════ */

@media (max-width: 900px) {
  .nh-actpage .na-hero {
    grid-template-columns: 1fr;
    padding: calc(var(--header-height, 72px) + 40px) 20px 32px;
  }

  /* text first, collage below */
  .nh-actpage .na-hero__text { order: -1; }

  .nh-actpage .na-hero__art {
    max-width: 440px;
    margin: 26px auto 0;
  }

  /* Same guard as the other pages: the land-in/float pair leaves the tiles
     at opacity 0 until it ticks, which is not worth the risk on phones. */
  .nh-actpage .na-shot {
    animation: none;
    opacity: 1;
    transform: rotate(var(--r, 0deg));
  }

  .nh-actpage .na-sect--week { padding-top: 64px; }
}

@media (max-width: 640px) {
  .nh-actpage .na-sect {
    padding-left: 20px;
    padding-right: 20px;
  }

  .nh-actpage .nh-slot { padding: 72px 24px; }
  .nh-actpage .na-toegang__actions .nh-btn { flex: 1 1 220px; }
}

@media (max-width: 420px) {
  .nh-actpage .na-hero { padding-left: 16px; padding-right: 16px; }
  .nh-actpage .na-hero__art { gap: 12px; }
  .nh-actpage .na-dark { border-radius: 20px; }
  .nh-actpage .na-build { border-radius: 20px; }
  .nh-actpage .na-toegang { border-radius: 20px; }
  .nh-actpage .na-frame__url { display: none; }
}


/* ═══════════════════════════════════════════════════════
   13. Reduced motion — the collage still renders finished
   (home.css already kills animations inside .nh-home)
   ═══════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  .nh-actpage .na-shot {
    opacity: 1 !important;
    transform: rotate(var(--r, 0deg)) !important;
  }
}
