/*
 * DinoRoutes Style Lock
 * Sitebrede, mobile-first presentatielaag. De bestaande Gutenberg-inhoud,
 * shortcodes en koppelingen blijven de bron; deze laag bepaalt de huisstijl.
 */

:root {
  --dino-night: #030a06;
  --dino-ink: #07130d;
  --dino-forest: #0e2b1b;
  --dino-moss: #31552c;
  --dino-lime: #c9e62b;
  --dino-lime-dark: #78960d;
  --dino-sand: #f3eddd;
  --dino-paper: #fffdf5;
  --dino-earth: #9d6332;
  --dino-line: rgba(201, 230, 43, .34);
  --dino-shadow: 0 22px 55px rgba(2, 8, 5, .28);
  --dino-radius: 18px;
  --dino-scene: url("assets/style-lock/dinoroutes-dinospoor-01.webp");
}

body.dinoroutes-context-party { --dino-scene: url("assets/style-lock/dinoroutes-dinofeestje-01.webp"); }
body.dinoroutes-context-camping { --dino-scene: url("assets/style-lock/dinoroutes-camping-01.webp"); }
body.dinoroutes-context-cycling { --dino-scene: url("assets/style-lock/dinoroutes-fietsen-knooppunt-01.webp"); }
body.dinoroutes-context-walking { --dino-scene: url("assets/style-lock/dinoroutes-wandelen-knooppunt-01.webp"); }
body.dinoroutes-context-catching { --dino-scene: url("assets/style-lock/dinoroutes-vangen-verzamelen-01.webp"); }

html { scroll-padding-top: 92px; }
body.dinoroutes-style-lock {
  background:
    radial-gradient(circle at 14% 18%, rgba(201, 230, 43, .07), transparent 26rem),
    var(--dino-ink);
  color: #fff;
  font-family: Inter, Aptos, "Segoe UI", Arial, sans-serif;
  line-height: 1.65;
}

body.dinoroutes-style-lock h1,
body.dinoroutes-style-lock h2,
body.dinoroutes-style-lock h3 {
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", "Arial Narrow", sans-serif;
  font-weight: 800;
  letter-spacing: .025em;
  line-height: .98;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

body.dinoroutes-style-lock h1 { font-size: clamp(2.65rem, 8vw, 6.25rem); }
body.dinoroutes-style-lock h2 { font-size: clamp(2.2rem, 6.7vw, 4.4rem); }
body.dinoroutes-style-lock h3 { font-size: clamp(1.5rem, 4.5vw, 2.2rem); }
body.dinoroutes-style-lock p,
body.dinoroutes-style-lock li { text-wrap: pretty; }
body.dinoroutes-style-lock a:focus-visible,
body.dinoroutes-style-lock button:focus-visible,
body.dinoroutes-style-lock summary:focus-visible,
body.dinoroutes-style-lock input:focus-visible,
body.dinoroutes-style-lock select:focus-visible,
body.dinoroutes-style-lock textarea:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
}
.skip-link {
  position: fixed;
  z-index: 100001;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  border-radius: 6px;
  background: #fff;
  color: #07130d;
  font-weight: 900;
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.site-main--standard { padding: clamp(3.5rem, 8vw, 7rem) 0; }
.standard-page-shell {
  padding: clamp(1.4rem, 4vw, 3rem);
  border: 1px solid var(--dino-line);
  border-radius: var(--dino-radius);
  background: var(--dino-paper);
  color: #172019;
  box-shadow: var(--dino-shadow);
}
.standard-page-shell > h1 { color: #142319; text-shadow: none; }

/* Header */
body.dinoroutes-style-lock .site-header {
  border-bottom: 1px solid var(--dino-line);
  background: rgba(3, 10, 6, .96);
  box-shadow: 0 12px 36px rgba(0, 0, 0, .38);
}
.site-header__inner { min-height: 76px; gap: 20px; }
.site-header__brand { gap: 16px; }
.site-header__brand .site-header__logo {
  width: clamp(142px, 17vw, 205px);
  max-height: 64px;
  filter: drop-shadow(0 7px 13px rgba(0, 0, 0, .48));
}
.site-header__trail {
  display: none;
  padding-left: 16px;
  border-left: 1px solid var(--dino-line);
  color: #dce8c9;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
  white-space: nowrap;
}
.primary-menu a { border-radius: 999px; }
.primary-menu > .menu-item--cta > a {
  border: 1px solid #e7f58b;
  background: var(--dino-lime);
  color: #13200b;
  box-shadow: 0 8px 25px rgba(201, 230, 43, .2);
}
.site-menu-toggle { min-height: 44px; border-color: var(--dino-line); }

/* Homepage hero */
.home-hybrid-hero {
  position: relative;
  min-height: clamp(700px, 85svh, 840px);
  background: var(--dino-night);
  isolation: isolate;
}
.home-hybrid-hero::before {
  display: block !important;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(2, 8, 5, .96) 0%, rgba(2, 8, 5, .76) 45%, rgba(2, 8, 5, .1) 78%),
    linear-gradient(0deg, rgba(2, 8, 5, .92) 0%, transparent 52%);
}
.home-hybrid-hero::after {
  content: "";
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 0;
  left: 0;
  height: 110px;
  background: linear-gradient(0deg, var(--dino-ink), transparent);
  pointer-events: none;
}
.home-hybrid-hero > .wp-block-nextend-smartslider3 {
  position: absolute !important;
  z-index: 0;
  inset: 0;
  margin: 0 !important;
}
.dinoroutes-style-hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #0a180f url("assets/style-lock/dinoroutes-hero-dinojacht-01.webp") center / cover no-repeat;
}
.dinoroutes-style-hero-track {
  position: absolute;
  right: clamp(18px, 4vw, 70px);
  bottom: clamp(22px, 5vw, 70px);
  padding: 8px 13px;
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 4px;
  background: rgba(3, 10, 6, .62);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .18em;
}
.home-hybrid-hero .home-hero-shared__content {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: flex;
  align-items: flex-end;
  width: min(1160px, calc(100% - 28px));
  padding: 110px 0 64px;
  pointer-events: none;
}
.home-hybrid-hero .home-hero-shared__copy {
  display: grid;
  width: min(720px, 100%);
  gap: 13px;
  pointer-events: auto;
}
.home-hybrid-hero .home-hero-slide__kicker {
  padding: 7px 11px;
  border-color: rgba(201, 230, 43, .68);
  background: rgba(2, 8, 5, .76);
  color: var(--dino-lime);
}
.home-hybrid-hero .home-hero-slide__title {
  max-width: 700px;
  color: #fff;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(3.25rem, 6.5vw, 6rem);
  line-height: .93;
  letter-spacing: .018em;
  text-transform: uppercase;
  text-shadow: 0 6px 28px rgba(0, 0, 0, .72);
}
.home-hybrid-hero .home-hero-slide__intro {
  max-width: 640px;
  color: #f5f3e8;
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.5;
  text-shadow: 0 3px 14px rgba(0, 0, 0, .85);
}
.home-hybrid-hero .home-hero-slide__proof { color: #e9f7ba; }
.home-hybrid-hero .home-hero-shared__actions { max-width: 680px; }

/* Buttons */
body.dinoroutes-style-lock .wp-block-button__link,
body.dinoroutes-style-lock .button,
body.dinoroutes-style-lock .dr-news-button {
  min-height: 50px;
  padding: 12px 20px;
  border-radius: 8px !important;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .045em;
  text-transform: uppercase;
  box-shadow: none;
}
body.dinoroutes-style-lock .is-style-primary .wp-block-button__link,
body.dinoroutes-style-lock .wp-block-button__link.primary,
body.dinoroutes-style-lock .dr-news-button--primary {
  border: 2px solid #e8f779 !important;
  background: var(--dino-lime) !important;
  color: #12200c !important;
  box-shadow: 0 11px 28px rgba(116, 148, 10, .24);
}
body.dinoroutes-style-lock .is-style-secondary .wp-block-button__link {
  border-color: currentColor !important;
  background: rgba(3, 10, 6, .36) !important;
}
body.dinoroutes-style-lock .wp-block-button__link:hover,
body.dinoroutes-style-lock .button:hover,
body.dinoroutes-style-lock .dr-news-button:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
}

/* Homepage propositions */
.home-choice-section {
  position: relative;
  background:
    radial-gradient(circle at 85% 12%, rgba(157, 99, 50, .1), transparent 25rem),
    var(--dino-sand);
}
.home-choice-section::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .08;
  background-image: radial-gradient(circle, #31552c 1.2px, transparent 1.2px);
  background-size: 28px 28px;
  pointer-events: none;
}
.home-choice-section > * { position: relative; }
.home-product-grid { gap: 20px; }
.home-product-card {
  padding: 0 24px 26px;
  border: 1px solid rgba(49, 85, 44, .24);
  border-radius: var(--dino-radius);
  background: var(--dino-paper);
  box-shadow: var(--dino-shadow);
  transform: none;
}
.home-product-card::before {
  content: "";
  display: block;
  width: calc(100% + 48px);
  height: 190px;
  margin: 0 -24px 24px;
  border-bottom: 5px solid var(--dino-lime);
  background: var(--dino-scene) center / cover no-repeat;
}
#dino-feestje.home-product-card::before { background-image: url("assets/style-lock/dinoroutes-dinofeestje-01.webp"); }
#knooppuntroutes.home-product-card::before { background-image: url("assets/style-lock/dinoroutes-wandelen-knooppunt-01.webp"); }
#dino-camping.home-product-card::before { background-image: url("assets/style-lock/dinoroutes-camping-01.webp"); }
.home-product-card--primary {
  border: 3px solid var(--dino-lime-dark);
  padding: 0 22px 24px;
  background: linear-gradient(180deg, #fbfde8, #fffdf5 58%);
}
.home-product-card--primary::before { width: calc(100% + 44px); margin-inline: -22px; }
.home-product-card h3 { color: #132019; }
.home-product-card .home-price { margin-top: auto; color: #557006; }
.home-product-card .wp-block-buttons { display: grid; gap: 9px; width: 100%; }

/* Shared sections */
body.dinoroutes-style-lock .section { padding: clamp(4rem, 8vw, 6.5rem) 0; }
body.dinoroutes-style-lock .feature-section,
body.dinoroutes-style-lock .seo-media-section {
  background:
    linear-gradient(135deg, rgba(201, 230, 43, .06), transparent 38%),
    var(--dino-sand);
  color: #172019;
}
body.dinoroutes-style-lock .dark-section,
body.dinoroutes-style-lock .download-section {
  background:
    radial-gradient(circle at 90% 12%, rgba(201, 230, 43, .11), transparent 27rem),
    linear-gradient(145deg, var(--dino-night), var(--dino-forest));
  color: #fff;
}
body.dinoroutes-style-lock .final-cta {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(2, 8, 5, .97), rgba(2, 8, 5, .7)),
    url("assets/style-lock/dinoroutes-vangen-verzamelen-01.webp") center 46% / cover no-repeat;
  color: #fff;
}
body.dinoroutes-style-lock .eyebrow {
  color: var(--dino-lime-dark);
  font-size: .78rem;
  letter-spacing: .15em;
}
body.dinoroutes-style-lock .dark-section .eyebrow,
body.dinoroutes-style-lock .final-cta .eyebrow,
body.dinoroutes-style-lock .seo-hero .eyebrow { color: var(--dino-lime); }
body.dinoroutes-style-lock .intro { line-height: 1.55; }
body.dinoroutes-style-lock .feature-section .intro { color: #47534a; }

.steps,
.home-how-steps,
.seo-card-grid,
.seo-link-grid,
.seo-faq,
.download-grid,
.b2b-fit-grid,
.b2b-outcome-grid,
.b2b-steps {
  gap: 18px;
}
.home-how-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.home-how-steps > *,
.seo-hero-grid > *,
.seo-card-grid > *,
.seo-link-grid > *,
.seo-faq > *,
.seo-copy-grid > *,
.seo-party-feature-grid > *,
.seo-media-grid > *,
.feature-grid > *,
.final-grid > *,
.dinoroutes-place-choice-grid > * {
  min-width: 0;
}
.seo-link-card a { overflow-wrap: anywhere; }
.step,
.seo-card,
.seo-link-card,
.seo-faq details,
.download-card,
.b2b-step,
.b2b-model-card,
.seo-side-card {
  border-radius: 14px;
}
.step,
.dark-section .seo-card,
.dark-section .seo-faq details,
.download-card {
  border: 1px solid var(--dino-line);
  background: rgba(255, 255, 255, .065);
  box-shadow: 0 14px 36px rgba(0, 0, 0, .15);
}
.seo-card,
.seo-link-card,
.seo-side-card,
.feature-section .b2b-step,
.feature-section .b2b-model-card {
  border: 1px solid rgba(49, 85, 44, .2);
  background: var(--dino-paper);
  box-shadow: 0 16px 38px rgba(12, 31, 19, .1);
}

/* SEO, locatie- en long-tailheroes */
.seo-hero {
  min-height: 520px;
  padding: clamp(4.5rem, 9vw, 7rem) 0;
  background:
    linear-gradient(90deg, rgba(2, 8, 5, .96) 0%, rgba(2, 8, 5, .82) 48%, rgba(2, 8, 5, .38) 100%),
    var(--dino-scene) center / cover no-repeat;
}
.seo-hero::after { opacity: .55; }
.seo-hero h1 { max-width: 850px; color: #fff; text-shadow: 0 5px 22px rgba(0, 0, 0, .7); }
.seo-hero .intro { color: #f5f3ea; }
.seo-hero-visual,
.seo-party-feature-image,
.seo-topic-media-card,
.seo-poster-image,
.dinoroutes-story-image,
.feature-image,
.b2b-cro-hero-image {
  overflow: hidden;
  border: 1px solid var(--dino-line);
  border-radius: var(--dino-radius);
  background: var(--dino-night);
  box-shadow: var(--dino-shadow);
}
.seo-hero-visual { width: 100%; max-width: 100%; }
.seo-hero-visual img,
.seo-party-feature-image img,
.seo-topic-media-card img,
.seo-poster-image img,
.dinoroutes-story-image img,
.feature-image img,
.b2b-cro-hero-image img,
img.dinoroutes-production-image {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.seo-hero-visual figcaption,
.seo-party-feature-image figcaption,
.seo-topic-media-card figcaption,
.seo-poster-image figcaption,
.dinoroutes-story-image figcaption {
  padding: 10px 14px;
  background: #08160e;
  color: #dce5d8;
}
.seo-facts { gap: 10px; }
.seo-fact {
  border-color: var(--dino-line);
  border-radius: 10px;
  background: rgba(3, 10, 6, .68);
  backdrop-filter: blur(5px);
}
.seo-copy { max-width: 860px; }
.seo-copy p,
.seo-copy li { color: #37443a; }
.dark-section .seo-copy p,
.dark-section .seo-copy li { color: #dbe2d9; }
.seo-link-card { transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.seo-link-card:hover { border-color: var(--dino-lime-dark); box-shadow: 0 20px 42px rgba(12, 31, 19, .15); }

/* Locatiepagina's */
.dinoroutes-place-hero {
  min-height: clamp(560px, 72vh, 760px);
  background-position: center !important;
  background-size: cover !important;
}
.dinoroutes-place-hero::before {
  display: block;
  background: linear-gradient(0deg, rgba(2, 8, 5, .9), rgba(2, 8, 5, .1) 65%);
}
.dinoroutes-place-hero .nav {
  position: relative;
  z-index: 3;
  padding-top: 28px;
}
.dinoroutes-place-hero .brand-logo { width: 190px; height: auto; }
.dinoroutes-place-hero .hero-actions { margin-top: auto; }
.dinoroutes-place-choice-grid .home-product-card::before { display: none; }
.dinoroutes-place-choice-grid .home-product-card { padding-top: 28px; }
.dinoroutes-spelroute-crosslink-section { background: #e7ead9 !important; }

/* Partner, formulieren en downloads */
.b2b-cro-hero {
  background:
    linear-gradient(90deg, rgba(2, 8, 5, .96), rgba(2, 8, 5, .74)),
    url("assets/style-lock/dinoroutes-camping-01.webp") center / cover no-repeat;
}
.b2b-home-image {
  background: url("assets/style-lock/dinoroutes-camping-01.webp") center / cover no-repeat !important;
}
.b2b-cro-hero-image img { aspect-ratio: 3 / 2; }
.dinoroutes-b2b-form,
.mauticform_wrapper,
.b2b-contact-section .b2b-model-card {
  border: 1px solid var(--dino-line);
  border-radius: var(--dino-radius);
  background: rgba(255, 255, 255, .07);
}
.dinoroutes-b2b-form input,
.dinoroutes-b2b-form select,
.dinoroutes-b2b-form textarea,
.mauticform_wrapper input,
.mauticform_wrapper select,
.mauticform_wrapper textarea {
  min-height: 48px;
  border-radius: 8px;
}
.download-card img { border-bottom: 4px solid var(--dino-lime); }

/* Nieuws */
.dr-news-hero,
.dr-news-article__header {
  background:
    linear-gradient(90deg, rgba(2, 8, 5, .95), rgba(2, 8, 5, .58)),
    url("assets/style-lock/dinoroutes-dinospoor-01.webp") center / cover no-repeat !important;
}
.dr-news-card,
.dr-news-related article { border-radius: var(--dino-radius); }

/* Footer */
.social-follow-bar {
  border-top-color: var(--dino-line);
  background:
    linear-gradient(90deg, rgba(2, 8, 5, .96), rgba(2, 8, 5, .78)),
    url("assets/style-lock/dinoroutes-dinospoor-01.webp") center 58% / cover no-repeat;
}
.social-follow-bar::after { content: ""; }
footer.site-footer { padding-top: 44px; background: var(--dino-night); }
.footer-row { display: grid; grid-template-columns: minmax(220px, .7fr) minmax(280px, 1.2fr); gap: 26px 42px; }
.site-footer__brand { display: grid; align-content: start; gap: 9px; text-decoration: none !important; }
.site-footer__brand img { width: 190px; height: auto; }
.site-footer__brand span { max-width: 260px; color: #e3eadf; font-size: 13px; font-weight: 800; }
.footer-navigation { grid-column: 1 / -1; }
.footer-menu { justify-content: flex-start; }
.footer-copyright { grid-column: 1 / -1; }

@media (min-width: 1040px) {
  .home-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .home-product-card { min-height: 610px; }
}

@media (max-width: 1050px) {
  .home-hybrid-hero .home-hero-shared__content {
    position: absolute;
    inset: 0;
    display: flex;
    width: min(1160px, calc(100% - 28px));
    padding: 100px 0 52px;
  }
  .home-hybrid-hero::before {
    background:
      linear-gradient(0deg, rgba(2, 8, 5, .98) 0%, rgba(2, 8, 5, .7) 58%, rgba(2, 8, 5, .14) 100%),
      linear-gradient(90deg, rgba(2, 8, 5, .4), transparent);
  }
  .home-hybrid-hero .home-hero-shared__copy { width: min(720px, 100%); }
}

@media (max-width: 850px) {
  .home-hybrid-hero { min-height: 760px; }
  .home-hybrid-hero .home-hero-slide__title { font-size: clamp(2.65rem, 10.5vw, 4.6rem); }
  .home-product-grid,
  .home-audience-grid,
  .seo-hero-grid,
  .seo-copy-grid,
  .seo-party-feature-grid,
  .seo-media-grid,
  .feature-grid,
  .final-grid,
  .b2b-cro-hero-grid,
  .dinoroutes-place-choice-grid { grid-template-columns: minmax(0, 1fr); }
  .seo-hero { min-height: 0; }
  .seo-hero-visual { max-width: 680px; }
  .footer-row { grid-template-columns: 1fr; }
  .footer-navigation,
  .footer-copyright { grid-column: auto; }
}

@media (max-width: 620px) {
  html { scroll-padding-top: 74px; }
  .wrap { width: min(1160px, calc(100% - 24px)); }
  .site-header__inner { min-height: 68px; }
  .site-header__brand .site-header__logo { width: 136px; }
  .home-hybrid-hero { min-height: 785px; }
  .dinoroutes-style-hero-media { background-position: 58% center; }
  .home-hybrid-hero .home-hero-shared__content { width: min(1160px, calc(100% - 24px)); padding: 92px 0 38px; }
  .home-hybrid-hero .home-hero-slide__title { font-size: clamp(2.5rem, 11.5vw, 3.4rem); }
  .home-hybrid-hero .home-hero-slide__intro { font-size: .98rem; }
  .home-hybrid-hero .home-hero-shared__copy > .home-hero-slide__intro:nth-of-type(3) { display: none; }
  .home-hybrid-hero .home-hero-shared__actions { display: grid; grid-template-columns: 1fr; }
  body.dinoroutes-style-lock .section { padding: 3.7rem 0; }
  body.dinoroutes-style-lock h1 { font-size: clamp(2.4rem, 12vw, 3.6rem); }
  body.dinoroutes-style-lock h2 { font-size: clamp(2rem, 10vw, 3rem); }
  body.dinoroutes-style-lock .seo-hero h1 { font-size: clamp(2.15rem, 9.5vw, 2.75rem); }
  .home-product-card::before { height: 170px; }
  .seo-hero { padding: 3.8rem 0; }
  .seo-facts,
  .seo-card-grid,
  .seo-link-grid,
  .seo-faq,
  .steps,
  .home-how-steps,
  .download-grid,
  .b2b-fit-grid,
  .b2b-outcome-grid,
  .b2b-steps { grid-template-columns: minmax(0, 1fr) !important; }
  .seo-copy p,
  .seo-copy li { font-size: 1rem; }
  .dinoroutes-place-hero { min-height: 590px; }
  .dinoroutes-place-hero .nav-links { display: none; }
  .dinoroutes-place-hero .hero-content { padding-bottom: 28px; }
  .dinoroutes-place-hero .hero-actions { width: 100%; }
  .social-follow-bar__inner { align-items: flex-start; flex-direction: column; }
  .social-follow-menu { justify-content: flex-start; }
  .site-footer__brand img { width: 165px; }
}

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