/* Snapjehapje – SEO-pagina's "Hoeveel calorieën zit er in ...?" (map /calorieen/)
   Bouwt voort op style.css (kleuren, lettertypes, knoppen, nav, footer, faq). */

.kc-navlink { margin-left: auto; color: var(--text); text-decoration: none; font-weight: 800; font-size: .95rem; }
.kc-navlink:hover { color: var(--accent); }

.kc { max-width: 820px; margin: 0 auto; padding: 24px var(--gutter) 72px; }
.kc h2 { font-size: clamp(1.45rem, 4vw, 1.9rem); margin: 0 0 14px; }
.kc section { padding: 0; margin-top: 44px; scroll-margin-top: 72px; }

.kc-crumbs { font-size: .9rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px; }
.kc-crumbs a { color: var(--accent); font-weight: 700; text-decoration: none; }
.kc-crumbs a:hover { text-decoration: underline; }

.kc-head { margin-top: 20px; }
.kc-head .eyebrow { margin-bottom: 14px; }
.kc-head h1 { font-size: clamp(2rem, 6.4vw, 3.1rem); }
.kc-head .lead { margin-top: 16px; color: #4A3428; }
.kc-head .lead strong { color: var(--primary); }

/* Tegels met de vier waarden */
.kc-tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.kc-tile {
  background: var(--card); border-radius: 18px; padding: 16px 18px; box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}
.kc-tile strong { font-family: var(--display); font-weight: 800; font-size: 1.9rem; line-height: 1.05; color: var(--c, var(--primary)); }
.kc-tile span { color: var(--muted); font-weight: 700; font-size: .92rem; }
.t-kcal { --c: var(--primary); background: var(--primary); }
.t-kcal strong, .t-kcal span { color: #fff; }
.t-eiwit { --c: var(--protein); }
.t-kh { --c: var(--carbs); }
.t-vet { --c: var(--fat); }


.kc-table-wrap { margin-top: 18px; overflow-x: auto; }
.kc-table { width: 100%; border-collapse: collapse; background: var(--card); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); font-size: .98rem; }
.kc-table th, .kc-table td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--border); }
.kc-table thead th { background: var(--card-alt); font-weight: 800; font-size: .9rem; }
.kc-table tbody tr:last-child th, .kc-table tbody tr:last-child td { border-bottom: 0; }
.kc-table tbody th { font-weight: 700; }
.kc-table td { font-variant-numeric: tabular-nums; }

.kc-bron { margin-top: 14px; font-size: .88rem; color: var(--muted); line-height: 1.55; }
.kc-bron strong { color: var(--text); }

.kc-text p { color: #4A3428; }
.kc-text p + p { margin-top: 12px; }

.kc-tip { margin-top: 32px; background: var(--soft); border-radius: var(--radius); padding: 22px 24px; }
.kc-tip h2 { font-size: 1.3rem; margin-bottom: 8px; color: var(--accent); }
.kc-tip p { color: #4A3428; }

/* Call-to-action: "Of maak gewoon een foto" */
.kc .kc-cta {
  background: var(--primary); color: #fff; border-radius: 28px; padding: 30px 26px; position: relative; overflow: hidden;
}
.kc-cta::after { content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%; background: rgba(255, 255, 255, .1); right: -70px; top: -90px; pointer-events: none; }
.kc-cta > * { position: relative; }
.kc-cta h2 { color: #fff; }
.kc-cta p { opacity: .95; max-width: 36em; }
.kc-cta-btn { margin-top: 20px; background: #fff; color: var(--accent); }
.kc-cta-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px -10px rgba(0, 0, 0, .45); }
.kc-cta .kc-cta-small { margin-top: 12px; font-size: .88rem; opacity: .85; }

.kc-faq { max-width: none; }

/* Kaartjes: verwante pagina's en overzicht */
.kc-related { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; grid-template-columns: 1fr; }
.kc-related a {
  display: flex; align-items: center; gap: 14px; background: var(--card); border-radius: 18px; padding: 14px 16px;
  box-shadow: var(--shadow); text-decoration: none; color: var(--text); height: 100%; transition: transform .2s;
}
.kc-related a:hover { transform: translateY(-2px); }
.kc-related strong { display: block; font-family: var(--display); font-weight: 700; font-size: 1.08rem; line-height: 1.2; }
.kc-related small { display: block; color: var(--muted); font-size: .88rem; margin-top: 2px; }
.kc-emoji { flex: none; width: 46px; height: 46px; border-radius: 14px; background: var(--card-alt); display: grid; place-items: center; font-size: 1.5rem; }
.kc-all { margin-top: 16px; font-weight: 800; }
.kc-all a { text-decoration: none; }

.kc-disclaimer { margin-top: 40px; font-size: .85rem; color: var(--muted); border-top: 1px solid var(--border); padding-top: 18px; }

/* Overzicht */
.kc-search { margin-top: 26px; }
.kc-search input {
  width: 100%; font: 700 1rem var(--body); color: var(--text); background: var(--card);
  border: 2px solid var(--border); border-radius: 999px; padding: 14px 20px; outline: none;
}
.kc-search input:focus { border-color: var(--primary); }
.kc-geen { margin-top: 12px; color: var(--muted); }
.kc-overview .kc-cat { margin-top: 36px; }

@media (min-width: 560px) {
  .kc-related { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 720px) {
  .kc { padding-top: 32px; }
  .kc-tiles { grid-template-columns: repeat(4, 1fr); }
  .kc .kc-cta { padding: 40px 40px; }
  .kc-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 400px) {
  .kc-navlink { font-size: .88rem; }
  .nav .wrap { gap: 10px; }
  .brand { font-size: 1.1rem; }
  .brand img { width: 30px; height: 30px; }
  .kc-tile strong { font-size: 1.6rem; }
  .kc-table th, .kc-table td { padding: 10px 10px; font-size: .92rem; }
}
