/*
Theme Name: VVWI – Vakbond voor WRM-instructeurs
Theme URI: https://www.vvwi.nl/
Author: VVWI
Description: Een professionele, toegankelijke WordPress-basis voor de Vakbond voor WRM-instructeurs.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: vvwi
*/
:root {
  --navy: #092747;
  --navy-deep: #061d36;
  --red: #d7192d;
  --red-dark: #b81224;
  --ink: #17283d;
  --muted: #5d6b7b;
  --paper: #ffffff;
  --soft: #f2f5f8;
  --line: #d9e0e7;
  --max: 1180px;
  --radius: 14px;
  --shadow: 0 14px 38px rgba(6,29,54,.10);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; color: var(--ink); background: var(--paper);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px; line-height: 1.6;
}
a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--red); }
img { max-width: 100%; height: auto; }
.container { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }
.skip-link { position:absolute; left:-9999px; top:auto; }
.skip-link:focus { left:12px; top:12px; z-index:9999; background:white; padding:12px; }
.site-header { background: #fff; border-bottom: 1px solid var(--line); }
.header-main { min-height: 108px; display:flex; align-items:center; justify-content:space-between; gap:24px; padding-block:16px; }
.brand { display:flex; align-items:center; gap:15px; color:var(--navy); text-decoration:none; min-width:0; }
.brand-mark { width:88px; height:62px; flex:0 0 auto; }
.brand-name { border-left:2px solid var(--red); padding-left:16px; font-size:clamp(19px,2.4vw,29px); font-weight:850; line-height:1.05; letter-spacing:-.8px; }
.brand-name small { display:block; margin-top:7px; font-size:12px; font-weight:600; letter-spacing:.2px; color:var(--muted); }
.header-actions { display:flex; align-items:center; gap:20px; font-size:15px; font-weight:650; }
.header-actions a { text-decoration:none; }
.button { display:inline-flex; align-items:center; justify-content:center; gap:9px; border:2px solid transparent; border-radius:9px; padding:12px 20px; font-weight:750; text-decoration:none; transition:.18s ease; cursor:pointer; }
.button-primary { background:var(--red); color:#fff; }
.button-primary:hover { background:var(--red-dark); color:#fff; transform:translateY(-1px); }
.button-outline { border-color:rgba(255,255,255,.85); color:#fff; background:rgba(255,255,255,.05); }
.button-outline:hover { background:#fff; color:var(--navy); }
.button-light { background:#fff; color:var(--navy); border-color:var(--line); }
.button-light:hover { border-color:var(--navy); color:var(--navy); }
.main-nav { background:var(--navy); color:#fff; }
.nav-inner { display:flex; align-items:center; justify-content:space-between; min-height:54px; gap:20px; }
.primary-menu { display:flex; align-items:center; gap:0; list-style:none; padding:0; margin:0; }
.primary-menu li { margin:0; }
.primary-menu a { display:block; padding:15px 16px; color:#fff; text-decoration:none; font-size:15px; font-weight:650; }
.primary-menu a:hover, .primary-menu .current-menu-item > a { background:var(--red); color:#fff; }
.menu-toggle { display:none; border:1px solid rgba(255,255,255,.35); background:transparent; color:white; border-radius:7px; padding:9px 12px; font-weight:700; }
.hero { position:relative; overflow:hidden; color:#fff; background:linear-gradient(90deg, rgba(5,28,52,.98) 0%, rgba(5,28,52,.92) 42%, rgba(5,28,52,.24) 100%), linear-gradient(135deg,#173e62,#0a2747); }
.hero:after { content:""; position:absolute; right:-8%; top:-35%; width:58%; height:180%; border:1px solid rgba(255,255,255,.12); border-radius:50%; transform:rotate(-18deg); pointer-events:none; }
.hero-content { position:relative; z-index:1; min-height:420px; display:flex; align-items:center; padding-block:62px; }
.hero-copy { max-width:650px; }
.eyebrow { color:#ffccd2; text-transform:uppercase; font-size:13px; font-weight:800; letter-spacing:1.4px; }
.hero h1 { margin:10px 0 18px; color:#fff; font-size:clamp(38px,5vw,62px); line-height:1.02; letter-spacing:-2px; }
.hero p { max-width:600px; margin:0 0 26px; color:#f0f4f8; font-size:clamp(18px,2vw,21px); line-height:1.5; }
.hero-actions { display:flex; flex-wrap:wrap; gap:12px; }
.hero-note { margin-top:18px; color:#dce6ef; font-size:13px; }
.benefits { background:var(--soft); border-bottom:1px solid var(--line); }
.benefit-grid { display:grid; grid-template-columns:repeat(4,1fr); }
.benefit { padding:24px 20px; border-right:1px solid var(--line); }
.benefit:last-child { border-right:0; }
.benefit strong { display:block; color:var(--navy); font-size:16px; line-height:1.3; }
.benefit span { display:block; margin-top:5px; color:var(--muted); font-size:14px; line-height:1.4; }
.section { padding:58px 0; }
.section-heading { display:flex; align-items:end; justify-content:space-between; gap:20px; margin-bottom:25px; }
.section-heading h2 { margin:0; color:var(--navy); font-size:clamp(27px,3vw,36px); line-height:1.15; letter-spacing:-.8px; }
.section-heading h2:before { content:""; display:inline-block; width:6px; height:30px; margin-right:13px; vertical-align:-4px; border-radius:5px; background:var(--red); }
.section-heading p { margin:8px 0 0; color:var(--muted); }
.content-grid { display:grid; grid-template-columns:minmax(0,2fr) minmax(260px, .9fr); gap:34px; }
.news-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
.news-card, .side-card, .info-card { background:#fff; border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; box-shadow:0 4px 16px rgba(6,29,54,.04); }
.news-card a { display:block; height:100%; color:inherit; text-decoration:none; }
.news-thumb { aspect-ratio:16/8; background:linear-gradient(135deg,#dfe7ef,#f5f7f9); display:flex; align-items:center; justify-content:center; color:#64758a; font-weight:700; }
.news-thumb img { width:100%; height:100%; object-fit:cover; }
.news-body { padding:18px; }
.news-body time { color:var(--muted); font-size:12px; font-weight:700; text-transform:uppercase; letter-spacing:.5px; }
.news-body h3 { margin:7px 0 8px; color:var(--navy); font-size:19px; line-height:1.25; }
.news-body p { margin:0; color:var(--muted); font-size:14px; }
.news-card a:hover h3 { color:var(--red); }
.side-card { padding:24px; background:var(--soft); }
.side-card h3 { margin:0 0 12px; color:var(--navy); font-size:22px; }
.side-card p { color:var(--muted); margin:0 0 18px; }
.side-card .tag { display:inline-block; margin-bottom:10px; color:var(--red); font-size:12px; font-weight:800; text-transform:uppercase; letter-spacing:.7px; }
.principles { background:#fff; }
.principle-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.info-card { padding:24px; }
.info-card .number { display:inline-flex; width:36px; height:36px; align-items:center; justify-content:center; border-radius:50%; background:#fdecef; color:var(--red); font-weight:850; }
.info-card h3 { margin:14px 0 8px; color:var(--navy); font-size:20px; }
.info-card p { margin:0; color:var(--muted); font-size:15px; }
.cta-band { padding:44px 0; background:var(--navy); color:#fff; }
.cta-inner { display:flex; align-items:center; justify-content:space-between; gap:24px; }
.cta-band h2 { margin:0 0 6px; color:#fff; font-size:clamp(25px,3vw,34px); }
.cta-band p { margin:0; color:#dce6ef; }
.page-header { padding:48px 0 38px; background:var(--soft); border-bottom:1px solid var(--line); }
.page-header h1 { margin:0; color:var(--navy); font-size:clamp(32px,4vw,46px); line-height:1.1; }
.page-content { padding:48px 0 70px; }
.entry-content { max-width:820px; }
.entry-content h2, .entry-content h3 { color:var(--navy); }
.entry-content a { color:var(--red-dark); }
.entry-content input, .entry-content textarea, .entry-content select { max-width:100%; padding:12px; border:1px solid var(--line); border-radius:7px; }
.site-footer { padding:42px 0 20px; background:var(--navy-deep); color:#dce6ef; }
.footer-grid { display:grid; grid-template-columns:1.4fr 1fr 1fr; gap:35px; }
.site-footer h2, .site-footer h3 { color:#fff; margin-top:0; }
.site-footer a { color:#fff; }
.footer-bottom { margin-top:30px; padding-top:17px; border-top:1px solid rgba(255,255,255,.18); color:#b9c7d5; font-size:13px; }
.post-meta { color:var(--muted); font-size:14px; margin:8px 0 20px; }
.pagination { margin-top:25px; }
.pagination a, .pagination span { display:inline-block; margin-right:6px; padding:8px 12px; border:1px solid var(--line); border-radius:6px; text-decoration:none; }
.pagination .current { background:var(--navy); color:#fff; }
@media (max-width:900px) {
  .header-main { min-height:88px; }
  .header-actions { gap:10px; }
  .primary-menu a { padding:14px 10px; font-size:14px; }
  .benefit-grid { grid-template-columns:repeat(2,1fr); }
  .benefit:nth-child(2) { border-right:0; }
  .benefit:nth-child(-n+2) { border-bottom:1px solid var(--line); }
  .content-grid { grid-template-columns:1fr; }
}
@media (max-width:650px) {
  .container { width:min(var(--max),calc(100% - 28px)); }
  .header-main { align-items:flex-start; }
  .brand-mark { width:62px; height:48px; }
  .brand-name { font-size:18px; padding-left:10px; }
  .brand-name small { font-size:10px; }
  .header-actions { display:none; }
  .nav-inner { display:block; padding-block:8px; }
  .menu-toggle { display:inline-block; }
  .primary-menu { display:none; flex-direction:column; align-items:stretch; padding-top:8px; }
  .primary-menu.is-open { display:flex; }
  .primary-menu a { padding:12px 10px; border-top:1px solid rgba(255,255,255,.12); }
  .hero-content { min-height:390px; padding-block:45px; }
  .hero h1 { letter-spacing:-1px; }
  .benefit-grid, .news-grid, .principle-grid, .footer-grid { grid-template-columns:1fr; }
  .benefit { border-right:0; border-bottom:1px solid var(--line); }
  .benefit:last-child { border-bottom:0; }
  .section { padding:42px 0; }
  .section-heading { display:block; }
  .cta-inner { display:block; }
  .cta-inner .button { margin-top:20px; }
}
