/*
Theme Name: BestelSporttape Kennisbank
Theme URI: https://www.bestelsporttape.nl/
Author: FRAMO sport B.V.
Author URI: https://www.framo.nl/
Description: Een snelle, toegankelijke en inhoudelijk rijke WordPress-kennisbank over sporttape, tapematerialen en veilig gebruik.
Version: 1.0.1
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 8.0
License: GNU General Public License v2.0 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bestelsporttape-kennisbank
*/

:root {
  --paper: #f4f1e9;
  --paper-bright: #fffdf8;
  --ink: #101826;
  --ink-soft: #1b2a3f;
  --muted: #526071;
  --orange: #ff5b36;
  --orange-dark: #bd2c12;
  --lime: #c7ef2b;
  --blue: #3978f6;
  --line: rgba(16, 24, 38, .18);
  --shadow: 9px 9px 0 var(--ink);
  --wrap: min(1200px, calc(100% - 40px));
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 99;
  pointer-events: none;
  opacity: .13;
  background-image: repeating-linear-gradient(0deg, transparent 0 5px, rgba(16,24,38,.025) 5px 6px);
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input { font: inherit; }
.wrap { width: var(--wrap); margin-inline: auto; }
.skip-link { position: fixed; top: -80px; left: 18px; z-index: 200; padding: 12px 18px; color: #fff; background: var(--ink); }
.skip-link:focus { top: 18px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.evidence-bar { color: #fff; background: var(--ink); font-size: .72rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.evidence-bar__inner { min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.evidence-bar__inner span:last-child { color: var(--lime); }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(244,241,233,.96); border-bottom: 2px solid var(--ink); backdrop-filter: blur(12px); }
.header-grid { min-height: 82px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 950; letter-spacing: -.04em; white-space: nowrap; }
.brand-mark { width: 42px; height: 42px; display: grid; place-items: center; color: var(--ink); background: var(--orange); border: 2px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); transform: rotate(-3deg); }
.brand-mark span { transform: rotate(3deg); }
.brand-name { font-size: 1.12rem; }
.brand-name small { display: block; color: var(--muted); font-size: .59rem; letter-spacing: .09em; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; justify-content: center; gap: 24px; }
.main-nav a { position: relative; padding-block: 8px; text-decoration: none; font-size: .76rem; font-weight: 900; letter-spacing: .055em; text-transform: uppercase; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 3px; height: 3px; background: var(--orange); transition: right .18s ease; }
.main-nav a:hover::after, .main-nav a:focus-visible::after { right: 0; }
.header-source { min-height: 44px; display: inline-flex; align-items: center; padding: 0 16px; text-decoration: none; border: 2px solid var(--ink); font-size: .72rem; font-weight: 900; text-transform: uppercase; }
.header-source:hover { color: #fff; background: var(--ink); }
.menu-button { display: none; width: 44px; height: 44px; border: 2px solid var(--ink); background: transparent; font-size: 1.3rem; cursor: pointer; }

h1, h2, h3 { margin: 0; font-weight: 950; line-height: .98; letter-spacing: -.055em; text-wrap: balance; }
p { text-wrap: pretty; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 20px; color: var(--orange-dark); font-family: "Courier New", monospace; font-size: .76rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 32px; height: 3px; background: currentColor; }
.eyebrow--light { color: var(--lime); }

.hero { overflow: hidden; background: radial-gradient(circle at 92% 10%, rgba(57,120,246,.15), transparent 32%), var(--paper); border-bottom: 3px solid var(--ink); }
.hero-grid { min-height: 700px; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr); gap: 7vw; align-items: center; padding-block: 90px; }
.hero h1 { max-width: 780px; font-size: clamp(3.8rem, 7vw, 7.2rem); }
.hero h1 em { display: block; color: var(--orange-dark); font-family: Georgia, serif; font-weight: 500; }
.hero .lead { max-width: 710px; margin: 30px 0; color: #3e4c5c; font-size: 1.12rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; padding: 0 19px; color: #fff; background: var(--ink); border: 2px solid var(--ink); text-decoration: none; font-size: .78rem; font-weight: 900; letter-spacing: .035em; text-transform: uppercase; }
.button:hover { color: var(--ink); background: var(--lime); }
.button--ghost { color: var(--ink); background: transparent; }
.button--orange { color: var(--ink); background: var(--orange); }

.tape-finder { position: relative; padding: 28px; background: var(--paper-bright); border: 3px solid var(--ink); box-shadow: var(--shadow); transform: rotate(1deg); }
.tape-finder::before { content: ""; position: absolute; width: 76px; height: 18px; top: -10px; left: calc(50% - 38px); background: rgba(199,239,43,.78); transform: rotate(-2deg); }
.finder-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 2px solid var(--ink); padding-bottom: 13px; }
.finder-head span { font-family: "Courier New", monospace; font-size: .72rem; font-weight: 900; text-transform: uppercase; }
.finder-head b { width: 32px; height: 32px; display: grid; place-items: center; color: #fff; background: var(--ink); }
.tape-finder h2 { margin: 22px 0 17px; font-size: 1.75rem; line-height: 1.08; }
.finder-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.finder-option { min-height: 86px; padding: 13px; border: 2px solid var(--ink); background: transparent; text-align: left; cursor: pointer; }
.finder-option strong, .finder-option small { display: block; }
.finder-option strong { font-size: .92rem; }
.finder-option small { margin-top: 4px; color: var(--muted); font-size: .72rem; line-height: 1.35; }
.finder-option:hover, .finder-option:focus-visible, .finder-option.is-active { background: var(--lime); }
.finder-option.is-active { box-shadow: 4px 4px 0 var(--ink); }
.finder-result { display: grid; grid-template-columns: 74px 1fr; gap: 18px; align-items: center; margin-top: 16px; padding: 18px; color: #fff; background: var(--ink); }
.finder-result .tape-roll { width: 66px; height: 66px; margin: 0; border-width: 11px; color: var(--lime); }
.finder-result .tape-roll::after { width: 22px; height: 22px; }
.finder-result small { color: var(--lime); font-size: .7rem; font-weight: 900; text-transform: uppercase; }
.finder-result h2 { margin: 5px 0 7px; font-size: 1.35rem; letter-spacing: -.03em; }
.finder-result p { margin: 0; color: #d7deea; font-size: .82rem; }
.finder-result a { display: inline-block; margin-top: 11px; color: var(--lime); font-size: .78rem; font-weight: 900; }

.proof-strip { color: #fff; background: var(--ink); }
.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.proof-grid div { padding: 22px 24px; border-right: 1px solid rgba(255,255,255,.17); }
.proof-grid div:last-child { border-right: 0; }
.proof-grid span, .proof-grid strong { display: block; }
.proof-grid span { color: #aeb8c8; font-size: .66rem; letter-spacing: .07em; text-transform: uppercase; }
.proof-grid strong { margin-top: 3px; font-size: .9rem; }

.section { padding-block: 100px; }
.section-heading { max-width: 870px; margin-bottom: 48px; }
.section-heading h2 { font-size: clamp(2.8rem, 5.5vw, 5.7rem); }
.section-heading > p:last-child { max-width: 670px; margin: 24px 0 0; color: var(--muted); font-size: 1.05rem; }

.atlas-section { background: var(--paper-bright); }
.atlas-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 2px solid var(--ink); }
.atlas-card { min-height: 300px; display: flex; flex-direction: column; padding: 28px; background: var(--paper-bright); border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); text-decoration: none; transition: transform .18s ease, background .18s ease; }
.atlas-card:nth-child(3n) { border-right: 0; }
.atlas-card:nth-last-child(-n+3) { border-bottom: 0; }
.atlas-card:hover { position: relative; z-index: 2; background: var(--lime); transform: translate(-5px,-5px); box-shadow: 7px 7px 0 var(--ink); }
.atlas-card > span { font-family: "Courier New", monospace; font-size: .72rem; font-weight: 900; }
.atlas-card h3 { margin: auto 0 15px; font-size: 2rem; line-height: 1; }
.atlas-card p { margin: 0; color: var(--muted); font-size: .88rem; }

.spectrum-section { color: #fff; background: var(--ink-soft); border-block: 3px solid var(--ink); }
.spectrum-section .section-heading p:last-child { color: #bdc7d5; }
.spectrum-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.spectrum-card { min-height: 300px; display: flex; flex-direction: column; padding: 24px; color: #fff; border: 2px solid rgba(255,255,255,.75); text-decoration: none; transition: transform .18s ease; }
.spectrum-card:hover { transform: translateY(-7px); }
.spectrum-card:nth-child(1) { background: #21324c; }
.spectrum-card:nth-child(2) { background: #274b8f; }
.spectrum-card:nth-child(3) { background: #5c3b81; }
.spectrum-card:nth-child(4) { color: var(--ink); background: var(--lime); }
.tape-roll { width: 112px; height: 112px; display: grid; place-items: center; margin: 0 0 32px auto; border: 17px solid currentColor; border-radius: 50%; opacity: .9; }
.tape-roll::after { content: ""; width: 40px; height: 40px; background: currentColor; border-radius: 50%; opacity: .3; }
.spectrum-card h3 { margin-top: auto; font-size: 1.8rem; }
.spectrum-card p { color: inherit; opacity: .82; font-size: .85rem; }
.spectrum-card ul { margin: 10px 0 0; padding-left: 18px; font-size: .78rem; }

.decision-section { background: var(--paper); }
.decision-layout { display: grid; grid-template-columns: .78fr 1.22fr; gap: 70px; align-items: start; }
.decision-sticky { position: sticky; top: 130px; }
.decision-sticky h2 { font-size: clamp(3rem, 5vw, 5.4rem); }
.decision-sticky p { color: var(--muted); }
.decision-list { border-top: 3px solid var(--ink); }
.decision-row { display: grid; grid-template-columns: 54px .7fr 1fr; gap: 22px; padding: 27px 0; border-bottom: 2px solid var(--ink); }
.decision-row > span { width: 44px; height: 44px; display: grid; place-items: center; color: #fff; background: var(--orange-dark); font-family: "Courier New", monospace; font-weight: 900; }
.decision-row strong { font-size: 1.05rem; }
.decision-row p { margin: 0; color: var(--muted); font-size: .9rem; }

.safety-section { padding-block: 0; color: #fff; background: var(--orange-dark); border-block: 3px solid var(--ink); }
.safety-layout { min-height: 580px; display: grid; grid-template-columns: 1fr 1fr; }
.safety-copy { display: flex; flex-direction: column; justify-content: center; padding: 80px 7vw 80px 0; border-right: 1px solid rgba(255,255,255,.25); }
.safety-copy h2 { font-size: clamp(3rem, 5.3vw, 5.8rem); }
.safety-copy p { max-width: 600px; }
.safety-checks { display: grid; align-content: center; gap: 12px; padding: 70px 0 70px 7vw; }
.safety-check { display: grid; grid-template-columns: 38px 1fr; gap: 14px; padding: 18px; color: var(--ink); background: var(--paper-bright); border: 2px solid var(--ink); }
.safety-check > span { width: 34px; height: 34px; display: grid; place-items: center; color: var(--ink); background: var(--lime); border: 2px solid var(--ink); font-weight: 950; }
.safety-check strong, .safety-check small { display: block; }
.safety-check small { margin-top: 4px; color: var(--muted); line-height: 1.45; }

.authority-section { background: var(--paper-bright); }
.authority-card { display: grid; grid-template-columns: 190px 1fr; gap: 42px; align-items: center; padding: 46px; border: 3px solid var(--ink); box-shadow: var(--shadow); }
.authority-monogram { aspect-ratio: 1; display: grid; place-items: center; color: #fff; background: var(--ink); border-radius: 50%; font-family: Georgia, serif; font-size: 3.8rem; font-style: italic; }
.authority-card h2 { font-size: clamp(2.5rem, 4vw, 4.3rem); }
.authority-card p { color: var(--muted); }

.faq-section { background: var(--paper); }
.faq-layout { display: grid; grid-template-columns: .68fr 1fr; gap: 80px; align-items: start; }
.faq-intro { position: sticky; top: 130px; }
.faq-intro h2 { font-size: clamp(3rem, 5vw, 5.3rem); }
.faq-list { border-top: 3px solid var(--ink); }
.faq-list details { border-bottom: 2px solid var(--ink); }
.faq-list summary { display: grid; grid-template-columns: 1fr 34px; gap: 16px; align-items: center; padding: 22px 0; cursor: pointer; font-size: 1rem; font-weight: 900; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; width: 32px; height: 32px; display: grid; place-items: center; color: #fff; background: var(--ink); }
.faq-list details[open] summary::after { content: "–"; background: var(--orange-dark); }
.faq-list details p { margin: -4px 42px 22px 0; color: var(--muted); }

.page-hero { padding-block: 90px 78px; background: radial-gradient(circle at 88% 5%, rgba(199,239,43,.25), transparent 30%), var(--paper); border-bottom: 3px solid var(--ink); }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 25px; color: var(--muted); font-size: .78rem; }
.breadcrumbs a { text-decoration-thickness: 1px; text-underline-offset: 3px; }
.page-hero h1 { max-width: 980px; font-size: clamp(3.5rem, 7vw, 7.3rem); }
.page-hero .page-lead { max-width: 780px; margin: 27px 0 0; color: #364557; font-size: 1.15rem; }
.review-line { margin: 24px 0 0; color: var(--orange-dark); font-size: .78rem; font-weight: 900; }
.article-shell { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 70px; padding-block: 80px 110px; }
.article-content { min-width: 0; }
.article-content h2 { margin: 64px 0 20px; font-size: clamp(2.2rem, 4vw, 4rem); }
.article-content h2:first-child { margin-top: 0; }
.article-content h3 { margin: 35px 0 14px; font-size: 1.65rem; letter-spacing: -.035em; }
.article-content p, .article-content li { color: #344255; }
.article-content p { margin: 0 0 19px; }
.article-content ul, .article-content ol { margin: 18px 0 26px; padding-left: 24px; }
.article-content li + li { margin-top: 8px; }
.article-content table { width: 100%; margin: 28px 0; border-collapse: collapse; background: var(--paper-bright); border: 2px solid var(--ink); }
.article-content th, .article-content td { padding: 14px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.article-content th { background: var(--ink); color: #fff; }
.knowledge-note { margin: 30px 0; padding: 22px; background: #e8f2ff; border-left: 6px solid var(--blue); }
.warning-note { margin: 30px 0; padding: 22px; background: #fff0e9; border-left: 6px solid var(--orange-dark); }
.article-aside { position: sticky; top: 120px; align-self: start; }
.aside-box { margin-bottom: 18px; padding: 22px; background: var(--paper-bright); border: 2px solid var(--ink); }
.aside-box h2 { margin-bottom: 14px; font-size: 1.35rem; letter-spacing: -.03em; }
.aside-box p, .aside-box li { color: var(--muted); font-size: .78rem; }
.aside-box ul { margin: 0; padding-left: 17px; }
.aside-box a { font-weight: 800; }
.article-faq { margin-top: 70px; }
.article-faq > h2 { margin-bottom: 30px; }

.not-found { min-height: 70vh; display: grid; place-items: center; padding-block: 80px; }
.not-found-card { max-width: 760px; padding: 48px; background: var(--paper-bright); border: 3px solid var(--ink); box-shadow: var(--shadow); }
.not-found-card h1 { font-size: clamp(3rem, 7vw, 6rem); }

.site-footer { color: #fff; background: var(--ink); border-top: 3px solid var(--ink); }
.footer-grid { display: grid; grid-template-columns: 1.2fr .75fr .85fr .9fr; gap: 48px; padding-block: 70px; }
.site-footer h2 { margin-bottom: 14px; font-size: 1.3rem; letter-spacing: -.03em; }
.site-footer p, .site-footer li { color: #b7c0cf; font-size: .8rem; }
.site-footer > .footer-grid > div > a:not(.brand):not(.button) { display: block; margin: 7px 0; color: #dbe2ec; font-size: .8rem; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li + li { margin-top: 8px; }
.site-footer a { text-underline-offset: 3px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; padding-block: 20px; border-top: 1px solid rgba(255,255,255,.17); color: #aeb8c8; font-size: .7rem; }

main *, .site-footer * { min-inline-size: 0; }

@media (max-width: 1040px) {
  .header-grid { grid-template-columns: auto auto; justify-content: space-between; }
  .menu-button { display: block; }
  .header-source { display: none; }
  .main-nav { display: none; grid-column: 1 / -1; flex-direction: column; align-items: stretch; gap: 0; padding-bottom: 18px; }
  .main-nav.is-open { display: flex; }
  .main-nav a { min-height: 44px; display: flex; align-items: center; border-top: 1px solid var(--line); }
  .main-nav a::after { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 55px; }
  .tape-finder { width: min(620px, calc(100% - 10px)); }
  .atlas-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .atlas-card, .atlas-card:nth-child(3n) { border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
  .atlas-card:nth-child(2n) { border-right: 0; }
  .atlas-card:nth-last-child(-n+2) { border-bottom: 0; }
  .spectrum-grid { grid-template-columns: 1fr 1fr; }
  .decision-layout, .faq-layout { grid-template-columns: 1fr; gap: 48px; }
  .decision-sticky, .faq-intro, .article-aside { position: static; }
  .article-shell { grid-template-columns: 1fr; }
  .article-aside { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
  .authority-card { grid-template-columns: 150px 1fr; }
  .authority-card .button { grid-column: 1 / -1; justify-self: start; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  :root { --wrap: min(100% - 28px, 1200px); --shadow: 6px 6px 0 var(--ink); }
  .evidence-bar__inner span:last-child { display: none; }
  .brand-name { font-size: .98rem; }
  .hero-grid { min-height: 0; padding-block: 62px; }
  .hero h1 { font-size: clamp(3.05rem, 16vw, 5rem); }
  .hero .lead { font-size: 1rem; }
  .tape-finder { width: calc(100% - 6px); padding: 21px; }
  .finder-options { grid-template-columns: 1fr; }
  .finder-result { grid-template-columns: 58px 1fr; gap: 13px; }
  .finder-result .tape-roll { width: 52px; height: 52px; border-width: 9px; }
  .proof-grid { grid-template-columns: 1fr; }
  .proof-grid div { border-bottom: 1px solid rgba(255,255,255,.17); }
  .proof-grid div { border-right: 0; }
  .proof-grid div:last-child { border-bottom: 0; }
  .section { padding-block: 72px; }
  .section-heading { margin-bottom: 36px; }
  .atlas-grid { grid-template-columns: 1fr; }
  .atlas-card, .atlas-card:nth-child(2n), .atlas-card:nth-child(3n), .atlas-card:nth-last-child(-n+2) { min-height: 240px; border-right: 0; border-bottom: 1px solid var(--ink); }
  .atlas-card:last-child { border-bottom: 0; }
  .spectrum-grid { grid-template-columns: 1fr; }
  .spectrum-card { min-height: 300px; }
  .decision-row { grid-template-columns: 44px 1fr; }
  .decision-row p { grid-column: 2; }
  .safety-layout { grid-template-columns: 1fr; }
  .safety-copy { padding: 65px 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.25); }
  .safety-checks { padding: 55px 0; }
  .authority-card { grid-template-columns: 1fr; padding: 28px; }
  .authority-monogram { width: 112px; }
  .page-hero { padding-block: 65px 58px; }
  .page-hero h1 { font-size: clamp(3.1rem, 15vw, 5.1rem); }
  .article-shell { padding-block: 55px 80px; }
  .article-aside { grid-template-columns: 1fr; }
  .article-content table { display: block; overflow-x: auto; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; }
}

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