/* Hallmark · shape: Live Desk (the live view and its controls first, then rail, figures band, showcase, split) · genre: atmospheric · theme: brand · redesign: full · job: watch and steer the live camera
 * paper: oklch(97.5% 0.008 120) · accent: oklch(45.5% 0.095 158) · display: Rethink Sans · body: Hanken Grotesk · hero: Stage (/), Banner (/tijdlijn), Banner (/timelapse), Banner (/panorama), Banner (/geocache), Banner (/over) · nav: edge-aligned bar, logo and six page links · footer: brand band with the logo, links beneath · signature: the church-tower view you steer yourself
 * axes: light/grotesk-sans/green · posture: restrained · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S5 R4 V4 · weakest: P, a utility page has little to argue; the argument is that the camera is yours to steer, so the controls sit in the hero, not below it */
/* Hallmark · waive 39b · .nvc-tl__thumb is een knop met een foto van dat uur in de tijdlijn, 84px hoog · zo blijft elke foto herkenbaar voor wie door de dag bladert */
/* Hallmark · reworded "Kies een standpunt" to "Standpunten" · the panel head names its twenty camera positions, the action moved into the hero line */
/* Hallmark · dropped "Al sinds 2005 een blik op Nijverdal" · its facts moved to the hero head and the brand band, and the three-button close was the stock ending */
/* Hallmark · dropped "05-12-202602", "38:18" · the live clock overlay (05-12-2026 02:38:18) went, the camera burns its own date and time into every frame */
/* Hallmark · waive 44c · at 1440 the live view centre sits 240px below the headline block, the panel with the presets fills the column under it · de kolom rechts zet de kop boven de twintig standpunten, zodat elke knop naast het camerabeeld staat dat hij draait */
/* Hallmark · waive 79 · /geocache measures the band to the step text at y 600; the step numerals are ::before counters and their rule sits at y 519, 120px under the button · op de geocache-pagina staan de stappen met hun cijfers even ver onder de knop als de inhoud onder elke andere Banner-kop */
/* Hallmark · answered F20 · the hour strip on /tijdlijn holds one photo per hour of the chosen day, so its last row follows the clock (four photos at 03:30 make 3 + 1) and fills as the day goes on */
/* Hallmark · hero-review: not run in this build · finish-review: subagent · 8 findings · 8 resolved · gap: the copy note on generic heads (Over, Sponsor, Archief) answered by renaming the Over head */
/* Hallmark · dismissed 77 · the inner pages are one tool or one list under a Banner head (timeline, videos, panorama, geocache, about), each a single composition */
/* Hallmark · dismissed 40 · the brand band text sits on the left 30% of the gradient, solid Diepgroen #072a1c, 14:1 for the light text, and the light stop starts past 72% */
/* Note · gate 2a reports --gradient-brand: the Verloop of the approved huisstijl 2026 (Diepgroen, Torengroen, Weidegroen), used once, in the brand band */
/* Note · v3 (5 Dec 2026) adds seven languages and a light mode on request: tokens.css swaps paper and ink under [data-mode="light"] (light became the default with the green huisstijl in v4), text on camera images and on the brand band uses --color-on-image in both modes, and the header gains a language menu with flags and a light-mode switch */
/* Note · v4 (5 Dec 2026) applies the approved huisstijl 2026: green palette, the logo (viewfinder around the church tower) in the header and brand band, viewfinder corners around the live view, light as the default and Diepgroen as the dark mode; v4.1 drops the light green on request: white panels with a hairline and a Diepgroen weather band; v4.2 puts the live panorama camera on /panorama, in the same screen as the tower view; v4.3 removes the viewfinder corners around both camera images on request (they stay in the logo) */
/*
Theme Name: NijverdalCam
Description: Licht en snel blokthema voor nijverdalcam.nl in de huisstijl van 2026 (Torengroen, Diepgroen, Weidegroen, Papier en wit). Teksten, menu en indeling pas je aan via Weergave > Editor.
Version: 4.3.0
Requires at least: 6.5
Requires PHP: 8.1
Author: Visuals by Arnau
Text Domain: nijverdalcam
*/

/* ---------- chrome ---------- */
.nvc-header { position: sticky; top: 0; z-index: var(--z-sticky-nav); background: var(--color-paper); border-bottom: var(--rule-hair) solid var(--color-rule); }
.admin-bar .nvc-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .nvc-header { top: 46px; } }
.nvc-header__row { min-height: 72px; }
.nvc-wordmark { margin: 0; line-height: 0; flex-shrink: 0; }
.nvc-wordmark a { display: block; border-radius: var(--radius-control); }
.nvc-wordmark .nvc-logo { display: block; height: 36px; width: auto; }
.nvc-logo .lf { fill: var(--logo-frame); } .nvc-logo .lt { fill: var(--logo-tower); } .nvc-logo .lw { fill: var(--logo-word); }
.nvc-logo--light .lf, .nvc-logo--light .lw { fill: var(--color-on-image); } .nvc-logo--light .lt { fill: var(--color-on-accent); }
@media (max-width: 30rem) { .nvc-wordmark .nvc-logo { height: 30px; } }
.nvc-header .wp-block-navigation { font-family: var(--font-body); font-size: var(--text-md); }
.nvc-header .wp-block-navigation a { color: var(--color-ink-2); text-decoration: none; padding-block: var(--space-xs); border-bottom: 2px solid transparent; transition: color var(--dur-micro) var(--ease-out), border-color var(--dur-micro) var(--ease-out); white-space: nowrap; }
.nvc-header .wp-block-navigation a:hover { color: var(--color-ink); }
.nvc-header .wp-block-navigation a:active { color: var(--color-ink); border-bottom-color: var(--color-muted); }
.nvc-header .wp-block-navigation .current-menu-item > a,
.nvc-header .wp-block-navigation a[aria-current="page"] { color: var(--color-ink); border-bottom-color: var(--color-focus); }
.nvc-header .wp-block-navigation__container { gap: var(--space-lg); flex-wrap: nowrap; }
@media (min-width: 600px) and (max-width: 1000px) { .nvc-header .wp-block-navigation__container { gap: var(--space-md); } }
/* core paints the open menu white with black links at (0,4,0); these selectors outrank it so the overlay stays on the dark paper */
.nvc-header .wp-block-navigation:not(.has-background) .wp-block-navigation__responsive-container.is-menu-open { background-color: var(--color-paper); color: var(--color-ink); }
.nvc-header .wp-block-navigation__responsive-container.is-menu-open a { font-size: var(--text-xl); }
.nvc-header .wp-block-navigation .wp-block-navigation-item__content.wp-block-navigation-item__content { color: var(--color-ink-2); }
.nvc-header .wp-block-navigation .wp-block-navigation-item__content.wp-block-navigation-item__content:hover,
.nvc-header .wp-block-navigation .wp-block-navigation-item__content.wp-block-navigation-item__content:active,
.nvc-header .wp-block-navigation .wp-block-navigation-item__content.wp-block-navigation-item__content[aria-current="page"] { color: var(--color-ink); }
.nvc-header .wp-block-navigation__responsive-container-open,
.nvc-header .wp-block-navigation__responsive-container-close { color: var(--color-ink); min-width: 44px; min-height: 44px; place-items: center; }

/* ---------- header tools: the language menu (flag and name per language) and the light-mode switch, beside the menu ---------- */
.nvc-header__end { display: flex; align-items: center; justify-content: flex-end; gap: var(--space-lg); min-width: 0; }
.nvc-kop-tools { display: flex; align-items: center; gap: var(--space-xs); flex-shrink: 0; }
.nvc-lang { position: relative; }
.nvc-lang__btn { display: inline-flex; align-items: center; gap: var(--space-xs); min-height: 44px; padding: 0 var(--space-sm); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-control); color: var(--color-ink); font-family: var(--font-body); font-size: var(--text-sm); font-weight: 700; cursor: pointer; list-style: none; user-select: none; transition: background-color var(--dur-micro) var(--ease-out), border-color var(--dur-micro) var(--ease-out); }
.nvc-lang__btn::-webkit-details-marker { display: none; }
.nvc-lang__btn::marker { content: ""; }
.nvc-lang__btn:hover, .nvc-lang[open] > .nvc-lang__btn { background: var(--color-paper-3); border-color: var(--color-muted); }
.nvc-lang__btn:active { transform: translateY(1px); }
.nvc-lang__chev { transition: transform var(--dur-micro) var(--ease-out); }
.nvc-lang[open] .nvc-lang__chev { transform: rotate(180deg); }
.nvc-flag { display: block; width: 20px; height: 14px; border-radius: 2px; object-fit: cover; outline: var(--rule-hair) solid var(--color-rule); flex-shrink: 0; }
.nvc-lang__menu { position: absolute; z-index: var(--z-dropdown); top: calc(100% + var(--space-xs)); right: 0; display: grid; gap: var(--space-3xs); min-width: 13rem; margin: 0; padding: var(--space-xs); list-style: none; background: var(--color-paper-2); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-control); }
.nvc-lang__menu a { display: flex; align-items: center; gap: var(--space-sm); min-height: 44px; padding: 0 var(--space-sm); border-radius: var(--radius-control); color: var(--color-ink-2); font-size: var(--text-md); text-decoration: none; white-space: nowrap; transition: background-color var(--dur-micro) var(--ease-out), color var(--dur-micro) var(--ease-out); }
.nvc-lang__menu a:hover { background: var(--color-paper-3); color: var(--color-ink); }
.nvc-lang__menu a:active { transform: translateY(1px); }
.nvc-lang__menu a[aria-current="page"] { color: var(--color-ink); font-weight: 700; }
.nvc-mode { display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-control); background: transparent; color: var(--color-ink); cursor: pointer; transition: background-color var(--dur-micro) var(--ease-out), border-color var(--dur-micro) var(--ease-out); }
.nvc-mode:hover { background: var(--color-paper-3); border-color: var(--color-muted); }
.nvc-mode:active { transform: translateY(1px); }
.nvc-mode .nvc-mode__sun, :root[data-mode="dark"] .nvc-mode .nvc-mode__moon { display: none; }
:root[data-mode="dark"] .nvc-mode .nvc-mode__sun { display: block; }
/* below 1200px the page links fold into the menu button: the longer languages need the room */
@media (min-width: 600px) and (max-width: 74.99rem) {
  .nvc-header .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none; }
  .nvc-header .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex; }
}
@media (max-width: 74.99rem) { .nvc-header__end { gap: var(--space-xs); } .nvc-header__end .nvc-kop-tools { order: -1; } }
@media (max-width: 30rem) { .nvc-lang__code { display: none; } .nvc-lang__btn { padding: 0 var(--space-xs); } }
@media (prefers-reduced-motion: reduce) {
  .nvc-lang__btn, .nvc-lang__chev, .nvc-lang__menu a, .nvc-mode { transition: none; }
  .nvc-lang__btn:active, .nvc-lang__menu a:active, .nvc-mode:active { transform: none; }
}

.nvc-brandband { position: relative; overflow: hidden; background: var(--gradient-brand); color: var(--color-on-image); margin-top: var(--section-gap); }
.nvc-brandband__rays { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: var(--color-on-accent); stroke-opacity: 0.16; stroke-width: 1.4; pointer-events: none; }
.nvc-brandband__inner { position: relative; }
.nvc-brandband .nvc-brandband__mark .nvc-logo { display: block; height: clamp(52px, 6vw, 88px); width: auto; }
@media (max-width: 60rem) { .nvc-brandband { background: var(--gradient-brand-tall); } .nvc-brandband__inner { padding-block-end: var(--space-4xl); } }
.nvc-brandband__inner { min-height: 220px; display: flex; flex-direction: column; justify-content: center; gap: var(--space-xs); padding-block: var(--space-2xl); }
.nvc-brandband .nvc-brandband__mark { font-family: var(--font-display); font-weight: 700; font-size: var(--text-display); letter-spacing: var(--tracking-display); line-height: 1; color: var(--color-on-image); margin: 0; }
.nvc-brandband .nvc-brandband__line { font-size: var(--text-lead); color: var(--color-on-image); margin: 0; max-width: 40ch; }
.nvc-brandband .nvc-brandband__mark, .nvc-brandband .nvc-brandband__line { inline-size: fit-content; }
.nvc-footer { background: var(--color-paper); color: var(--color-ink-2); font-size: var(--text-sm); }
.nvc-footer__inner { padding-block: var(--space-xl); gap: var(--space-lg) var(--space-2xl); }
.nvc-footer p { margin: 0; }
.nvc-footer a { color: var(--color-ink); text-underline-offset: 0.2em; }
.nvc-footer a:hover { color: var(--color-ink-2); }
.nvc-footer .wp-block-navigation { font-size: var(--text-sm); }
.nvc-footer .wp-block-navigation a { color: var(--color-ink); text-decoration: none; }
.nvc-footer .wp-block-navigation a:hover { text-decoration: underline; }

/* ---------- page heads (Banner posture on inner pages) ---------- */
main.nvc-main { padding-top: var(--space-2xl); }
.nvc-page-title { font-size: var(--text-display-s); max-width: 20ch; margin-block: 0 var(--space-md); text-wrap: balance; }
.nvc-lead { font-size: var(--text-lead); line-height: 1.45; color: var(--color-ink-2); max-width: 52ch; }
.wp-block-post-content > :first-child { margin-block-start: 0; }
.wp-block-post-content p:not([class]) { color: var(--color-ink-2); }
.wp-block-post-content :where(p, li, dd, td) a:not([class]) { color: var(--color-ink); text-decoration: underline; text-decoration-color: var(--color-focus); }
.wp-block-post-content h2.wp-block-heading { margin-block: var(--space-2xl) var(--space-md); text-wrap: balance; }

/* ---------- home hero: sponsor plate over the live view on the left, headline, line and positions on the right ---------- */
main.nvc-main--home { padding-top: var(--space-md); }
.nvc-hero:not(.nvc-hero--banner) { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); grid-template-rows: auto auto 1fr; grid-template-areas: "plate text" "screen text" "screen panel"; gap: var(--space-md) var(--space-lg); align-items: start; }
.nvc-hero .nvc-hero__head, .nvc-hero .nvc-live--hero { display: contents; }
.nvc-hero .nvc-hero__text { grid-area: text; display: grid; gap: var(--space-sm); align-content: start; }
.nvc-hero .nvc-hero__text h1 { font-size: var(--text-display-s); max-width: 12ch; margin: 0; text-wrap: balance; }
.nvc-hero .nvc-hero__text .nvc-lead { margin: 0; }
.nvc-hero .nvc-sponsor-plate { grid-area: plate; }
.nvc-hero .nvc-live__view { grid-area: screen; }
.nvc-hero .nvc-panel { grid-area: panel; }
.nvc-hero .nvc-presets { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 60rem) {
  .nvc-hero:not(.nvc-hero--banner) { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-template-areas: "text" "plate" "screen" "panel"; }
}
.nvc-sponsor-plate { border: var(--rule-hair) solid var(--color-panel-rule); display: flex; align-items: center; justify-content: space-between; gap: var(--space-xs) var(--space-lg); flex-wrap: wrap; background: var(--color-plate); border-radius: var(--radius-card); padding: var(--space-md) var(--space-lg); margin: 0; }
.nvc-sponsor-plate .nvc-sponsor-plate__label { margin: 0; color: var(--color-plate-ink); font-size: var(--text-sm); white-space: nowrap; }
.nvc-sponsor-plate .wp-block-image { margin: 0; flex: 0 1 480px; min-width: 0; }
.nvc-sponsor-plate img { display: block; width: 100%; max-width: 480px; height: auto; }
.nvc-split .nvc-sponsor-plate { justify-content: center; min-height: clamp(12.5rem, 28vw, 20rem); padding: var(--space-xl); }
.nvc-sponsor-plate a { display: block; border-radius: var(--radius-control); }
.nvc-sponsor-plate a:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 4px; }

/* ---------- inner pages: a Banner head, the tool or list right beneath ---------- */
.nvc-hero--banner { display: grid; gap: var(--space-md); justify-items: start; }
.nvc-hero--banner h1 { font-size: var(--text-display); max-width: 16ch; margin: 0; text-wrap: balance; }
.nvc-hero--banner .nvc-lead { margin: 0; }
.nvc-hero--banner .wp-block-buttons { margin-block-start: var(--space-xs); }
.nvc-split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-xl) var(--space-2xl); align-items: center; }
.nvc-split h2 { margin-block: 0 var(--space-md); text-wrap: balance; }
.nvc-section--rows { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--space-lg) var(--gap-columns); align-items: start; }
.nvc-section--rows > h2.wp-block-heading { margin: 0; }
@media (max-width: 60rem) { .nvc-section--rows { grid-template-columns: minmax(0, 1fr); } }
.nvc-facts { margin: 0; display: grid; }
.nvc-facts div { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--space-lg); padding-block: var(--space-lg); border-top: var(--rule-hair) solid var(--color-rule); }
.nvc-facts dt { font-family: var(--font-display); font-weight: 700; font-size: var(--text-title); color: var(--color-ink); }
.nvc-facts dd { margin: 0; color: var(--color-ink-2); font-size: var(--text-lead); }
@media (max-width: 40rem) { .nvc-facts div { grid-template-columns: minmax(0, 1fr); gap: var(--space-xs); } }
@media (max-width: 60rem) { .nvc-split { grid-template-columns: minmax(0, 1fr); } }

/* ---------- sections and bands ---------- */
.nvc-section { margin-block-start: var(--section-gap); }
.nvc-section--s { margin-block-start: var(--section-gap-s); }
/* the weather band is a Diepgroen band in light mode: the tokens inside it switch to light text */
:root:not([data-mode="dark"]) .nvc-band { --color-ink: oklch(97.5% 0.008 120); --color-ink-2: oklch(86% 0.04 155); --color-paper-3: oklch(36.5% 0.056 162); --color-focus: oklch(73.5% 0.135 155); }
.nvc-band { background: var(--color-band); color: var(--color-ink); padding-block: var(--section-gap-s); margin-block-start: var(--section-gap); }
.nvc-band + .nvc-section { margin-block-start: var(--section-gap-s); }

/* ---------- core buttons in the theme ---------- */
.wp-block-button__link { min-height: 48px; display: inline-flex; align-items: center; white-space: nowrap; transition: background-color var(--dur-micro) var(--ease-out), color var(--dur-micro) var(--ease-out); }
.wp-block-button__link:hover { background: var(--color-ink); color: var(--color-paper); }
.wp-block-button__link:active { transform: translateY(1px); }
.wp-block-button.is-style-outline > .wp-block-button__link { background: transparent; color: var(--color-ink); border: var(--rule-hair) solid var(--color-muted); }
.wp-block-button.is-style-outline > .wp-block-button__link:hover { border-color: var(--color-ink); background: var(--color-paper-3); }

/* ---------- tools and lists sit a step lower than the page intro ---------- */
.wp-block-post-content > .nvc-tl, .wp-block-post-content > .nvc-steps-wrap, .wp-block-post-content > .nvc-pano-section { margin-block-start: var(--section-gap-s); }
.wp-block-post-content > .nvc-steps-wrap + .nvc-live { margin-block-start: var(--section-gap-s); }
