/* ============================================================
   EDVM – Rijkshuisstijl stylesheet
   edvm.nl
   ============================================================ */

:root {
  --blue:        #154273;
  --blue-dark:   #0d2d52;
  --blue-mid:    #1a5295;
  --blue-light:  #e8f0f9;
  --orange:      #e17000;
  --orange-hover:#c96400;
  --white:       #ffffff;
  --gray1:       #f3f3f3;
  --gray2:       #e5e5e5;
  --gray3:       #b4b4b4;
  --gray4:       #696969;
  --text:        #1a1a1a;
  --muted:       #555555;
  --border:      #cccccc;
  --focus:       #ffbf47;
}

/* RESET */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Source Sans 3', Arial, sans-serif;
  background: var(--white);
  color: var(--text);
  font-size: 16px;
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: underline; }
a:hover { color: var(--blue-mid); }
a:focus { outline: 3px solid var(--focus); outline-offset: 2px; }

/* SKIP LINK */
.skip-link {
  position: absolute; top: -40px; left: 0;
  background: var(--blue); color: #fff;
  padding: 8px 16px; font-size: 14px; z-index: 9999;
  text-decoration: none;
}
.skip-link:focus { top: 0; }

/* ============================================================
   TOPBAR
   ============================================================ */
.topbar {
  background: var(--blue-dark);
  border-bottom: 4px solid var(--orange);
}
.topbar-inner {
  max-width: 1180px; margin: 0 auto; padding: 0 24px;
  display: flex; justify-content: space-between;
  align-items: stretch; min-height: 66px;
}
.logo-link {
  display: flex; align-items: center; gap: 14px;
  text-decoration: none; padding: 12px 0;
}
.logo-mark {
  width: 40px; height: 40px;
  background: var(--orange);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.logo-mark svg { width: 24px; height: 24px; fill: #fff; }
.logo-name { color: #fff; font-size: 19px; font-weight: 700; line-height: 1.2; }
.logo-sub  { color: rgba(255,255,255,.5); font-size: 11px; margin-top: 2px; letter-spacing: .03em; }
.topbar-right { display: flex; align-items: stretch; gap: 0; }
.lang-switch a {
  display: flex; align-items: center; padding: 0 16px;
  color: rgba(255,255,255,.55); font-size: 13px; font-weight: 700;
  letter-spacing: .06em; text-decoration: none;
  border-left: 1px solid rgba(255,255,255,.12);
  transition: background .15s, color .15s;
}
.lang-switch a:hover,
.lang-switch a.active {
  background: rgba(255,255,255,.08); color: #fff;
}
.lang-switch a.active { border-bottom: 3px solid var(--orange); }

/* ============================================================
   NAVIGATION
   ============================================================ */
.main-nav { background: var(--blue); }
.main-nav ul {
  max-width: 1180px; margin: 0 auto; padding: 0 24px;
  display: flex; flex-wrap: wrap; list-style: none;
}
.main-nav ul li a {
  display: block; color: rgba(255,255,255,.8);
  text-decoration: none; font-size: 15px; font-weight: 600;
  padding: 13px 18px; border-bottom: 3px solid transparent;
  transition: all .15s; white-space: nowrap;
}
.main-nav ul li a:hover {
  color: #fff; background: rgba(255,255,255,.07);
  border-bottom-color: rgba(255,255,255,.3);
}
.main-nav ul li a.active {
  color: #fff; border-bottom-color: var(--orange);
  background: rgba(255,255,255,.05);
}

/* DROPDOWN */
.main-nav ul li { position: relative; }
.main-nav ul li ul {
  display: none; position: absolute; top: 100%; left: 0;
  background: var(--blue-dark); min-width: 220px;
  padding: 6px 0; z-index: 100;
  box-shadow: 0 4px 12px rgba(0,0,0,.25);
  flex-direction: column;
}
.main-nav ul li:hover > ul { display: flex; }
.main-nav ul li ul li a {
  padding: 9px 18px; font-size: 14px;
  border-bottom: none; border-left: 3px solid transparent;
}
.main-nav ul li ul li a:hover {
  background: rgba(255,255,255,.06);
  border-left-color: var(--orange);
}

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb {
  background: var(--gray1); border-bottom: 1px solid var(--gray2);
  padding: 9px 0; font-size: 13px; color: var(--muted);
}
.breadcrumb-inner {
  max-width: 1180px; margin: 0 auto; padding: 0 24px;
}
.breadcrumb-inner a { color: var(--blue); text-decoration: none; }
.breadcrumb-inner a:hover { text-decoration: underline; }
.breadcrumb-inner span { margin: 0 7px; color: var(--gray3); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: var(--blue);
  padding: 54px 0 50px;
}
.hero-inner {
  max-width: 1180px; margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: 1fr 320px;
  gap: 56px; align-items: center;
}
.hero h1 {
  font-size: 33px; font-weight: 700; color: #fff;
  line-height: 1.2; margin-bottom: 14px;
}
.hero-sub {
  font-size: 17px; color: rgba(255,255,255,.72);
  line-height: 1.65; margin-bottom: 28px; font-weight: 300;
}
.hero-stats {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  padding: 26px; display: grid;
  grid-template-columns: 1fr 1fr; gap: 20px;
}
.stat-num { font-size: 30px; font-weight: 700; color: #fff; line-height: 1; }
.stat-lbl { font-size: 12px; color: rgba(255,255,255,.5); margin-top: 4px; }

/* ============================================================
   PAGE LAYOUT
   ============================================================ */
.page-wrap { max-width: 1180px; margin: 0 auto; padding: 44px 24px; }
.two-col {
  display: grid; grid-template-columns: 1fr 300px;
  gap: 48px; align-items: start;
}
.full-col { max-width: 800px; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
.page-title {
  font-size: 28px; font-weight: 700; color: var(--blue);
  border-bottom: 3px solid var(--blue);
  padding-bottom: 10px; margin-bottom: 20px;
}
.section-head {
  font-size: 22px; font-weight: 700; color: var(--blue);
  border-bottom: 3px solid var(--blue);
  padding-bottom: 9px; margin-bottom: 14px;
}
.sub-head { font-size: 18px; font-weight: 700; color: var(--blue); margin: 24px 0 8px; }
.lead {
  font-size: 17px; color: var(--muted);
  line-height: 1.75; margin-bottom: 16px; font-weight: 300;
}
.body-text { font-size: 15px; color: var(--muted); line-height: 1.8; margin-bottom: 14px; }

/* ============================================================
   ALERT / NOTIFICATION
   ============================================================ */
.alert {
  background: var(--blue-light); border-left: 4px solid var(--blue);
  padding: 13px 18px; margin-bottom: 28px; font-size: 14px;
}
.alert strong { color: var(--blue); }
.alert-warning {
  background: #fff8e6; border-left-color: var(--orange);
}
.alert-warning strong { color: var(--orange); }

/* ============================================================
   CARDS
   ============================================================ */
.card-row {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2px; background: var(--gray2); margin: 24px 0;
}
.card-row.two { grid-template-columns: repeat(2, 1fr); }
.card {
  background: #fff; padding: 26px 22px;
  border-top: 4px solid var(--blue);
}
.card h3 { font-size: 15px; font-weight: 700; color: var(--blue); margin-bottom: 8px; }
.card p  { font-size: 14px; color: var(--muted); line-height: 1.7; }
.card-icon {
  width: 36px; height: 36px; background: var(--blue-light);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 12px; font-size: 18px;
}

/* ============================================================
   NEWS LIST
   ============================================================ */
.news-list { border-top: 1px solid var(--border); }
.news-item {
  border-bottom: 1px solid var(--border); padding: 18px 0;
  display: grid; grid-template-columns: 130px 1fr;
  gap: 18px; align-items: start;
}
.news-date   { font-size: 13px; color: var(--muted); padding-top: 2px; }
.news-title  { font-size: 16px; font-weight: 600; color: var(--blue); margin-bottom: 5px; display: block; text-decoration: none; }
.news-title:hover { text-decoration: underline; }
.news-excerpt{ font-size: 14px; color: var(--muted); line-height: 1.65; }
.news-tag {
  display: inline-block; background: var(--blue-light);
  color: var(--blue); font-size: 11px; font-weight: 700;
  padding: 2px 8px; margin-bottom: 5px;
  letter-spacing: .04em; text-transform: uppercase;
}

/* ============================================================
   DEPARTMENT LIST
   ============================================================ */
.dept-list { border-top: 1px solid var(--border); }
.dept-item {
  border-bottom: 1px solid var(--border); padding: 18px 0;
  display: grid; grid-template-columns: 240px 1fr;
  gap: 24px; align-items: start;
}
.dept-name { font-size: 15px; font-weight: 700; color: var(--blue); }
.dept-desc { font-size: 15px; color: var(--muted); line-height: 1.7; }

/* ============================================================
   TABLE
   ============================================================ */
.data-table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 16px 0; }
.data-table th {
  background: var(--blue); color: #fff;
  text-align: left; padding: 10px 14px;
  font-weight: 600; font-size: 13px;
}
.data-table td {
  padding: 10px 14px; border-bottom: 1px solid var(--gray2);
  color: var(--text); vertical-align: top;
}
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: var(--gray1); }

/* ============================================================
   SIDEBAR
   ============================================================ */
.sidebar-block {
  background: var(--gray1); border-left: 4px solid var(--blue);
  padding: 22px; margin-bottom: 20px;
}
.sidebar-block h3 {
  font-size: 13px; font-weight: 700; color: var(--blue);
  text-transform: uppercase; letter-spacing: .05em; margin-bottom: 14px;
}
.sidebar-block.accent { border-left-color: var(--orange); }
.sidebar-block.accent h3 { color: var(--orange); }
.sb-fact { margin-bottom: 12px; }
.sb-fact:last-child { margin-bottom: 0; }
.sb-label {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .06em; color: var(--muted); margin-bottom: 2px;
}
.sb-value { font-size: 14px; color: var(--text); font-weight: 600; }
.sidebar-links a {
  display: block; font-size: 14px; padding: 6px 0;
  border-bottom: 1px solid var(--gray2);
  text-decoration: none; color: var(--blue);
}
.sidebar-links a:last-child { border-bottom: none; }
.sidebar-links a::before { content: '→ '; color: var(--orange); font-weight: 700; }
.sidebar-links a:hover { text-decoration: underline; }

/* ============================================================
   DOCUMENT LIST
   ============================================================ */
.doc-list { border-top: 1px solid var(--border); }
.doc-item {
  border-bottom: 1px solid var(--border); padding: 14px 0;
  display: flex; justify-content: space-between;
  align-items: center; gap: 16px;
}
.doc-info { flex: 1; }
.doc-title { font-size: 15px; color: var(--blue); font-weight: 600; text-decoration: none; display: block; }
.doc-title:hover { text-decoration: underline; }
.doc-meta { font-size: 12px; color: var(--muted); margin-top: 3px; }
.doc-badge {
  background: var(--gray2); color: var(--muted);
  font-size: 11px; font-weight: 700; padding: 3px 10px;
  white-space: nowrap; letter-spacing: .04em; flex-shrink: 0;
}

/* ============================================================
   ASSESSMENTS
   ============================================================ */
.assessment {
  border: 1px solid var(--border); margin-bottom: 14px; padding: 18px 20px;
}
.assessment-header {
  display: flex; justify-content: space-between;
  align-items: flex-start; gap: 16px; margin-bottom: 8px;
}
.assessment-title { font-size: 15px; font-weight: 700; color: var(--blue); }
.assessment-meta  { font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.assessment-desc  { font-size: 14px; color: var(--muted); line-height: 1.65; }
.status {
  font-size: 11px; font-weight: 700; padding: 3px 10px;
  letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; flex-shrink: 0;
}
.status-binding { background: #fce8e8; color: #a30000; }
.status-closed  { background: #e8f5e8; color: #1a6e1a; }
.status-open    { background: #fff3e0; color: #b36200; }

/* ============================================================
   PERSONS / ADVISORY BOARD
   ============================================================ */
.person-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px; margin-top: 8px;
}
.person-card { border: 1px solid var(--border); padding: 16px 18px; }
.person-name   { font-size: 15px; font-weight: 700; color: var(--blue); margin-bottom: 2px; }
.person-role   { font-size: 13px; color: var(--muted); margin-bottom: 3px; }
.person-country{ font-size: 12px; color: var(--gray4); font-style: italic; }

/* ============================================================
   FORMS
   ============================================================ */
.form-row { margin-bottom: 18px; }
.form-row label {
  display: block; font-size: 14px; font-weight: 600;
  color: var(--text); margin-bottom: 5px;
}
.form-row input,
.form-row textarea,
.form-row select {
  width: 100%; border: 1px solid var(--border); padding: 10px 12px;
  font-family: inherit; font-size: 15px; color: var(--text);
  background: #fff; border-radius: 0;
}
.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
  outline: 3px solid var(--focus); border-color: var(--blue);
}
.form-row textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: 12px; color: var(--muted); margin-top: 4px; }
.required-note { font-size: 13px; color: var(--muted); margin-bottom: 20px; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 28px; margin: 24px 0;
}
.contact-block h3 {
  font-size: 15px; font-weight: 700; color: var(--blue);
  margin-bottom: 10px; border-bottom: 1px solid var(--border);
  padding-bottom: 8px;
}
.contact-block p,
.contact-block address {
  font-size: 14px; color: var(--muted); line-height: 1.85; font-style: normal;
}

/* ============================================================
   VACANCY
   ============================================================ */
.vacancy-item {
  border: 1px solid var(--border); margin-bottom: 16px;
  padding: 20px 22px;
}
.vacancy-title { font-size: 17px; font-weight: 700; color: var(--blue); margin-bottom: 4px; }
.vacancy-meta  { font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.vacancy-desc  { font-size: 14px; color: var(--muted); line-height: 1.7; margin-bottom: 12px; }

/* ============================================================
   TABS
   ============================================================ */
.tabs { display: flex; border-bottom: 2px solid var(--blue); margin-bottom: 24px; }
.tab-btn {
  background: none; border: none; border-bottom: 3px solid transparent;
  margin-bottom: -2px; font-family: inherit; font-size: 15px; font-weight: 600;
  color: var(--muted); padding: 9px 22px; cursor: pointer; transition: all .15s;
}
.tab-btn:hover { color: var(--blue); }
.tab-btn.active { color: var(--blue); border-bottom-color: var(--orange); background: #fff; }
.tab-pane { display: none; }
.tab-pane.active { display: block; }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--blue-dark);
  border-top: 4px solid var(--orange);
  margin-top: 60px;
}
.footer-main {
  max-width: 1180px; margin: 0 auto;
  padding: 36px 24px 28px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px;
}
.footer-col h4 {
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .06em; color: #fff; margin-bottom: 12px;
  padding-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer-col a {
  display: block; font-size: 13px; color: rgba(255,255,255,.55);
  text-decoration: none; margin-bottom: 5px; transition: color .15s;
}
.footer-col a:hover { color: #fff; text-decoration: underline; }
.footer-bottom {
  background: rgba(0,0,0,.2); padding: 14px 24px;
}
.footer-bottom-inner {
  max-width: 1180px; margin: 0 auto;
  display: flex; justify-content: space-between;
  flex-wrap: wrap; gap: 6px;
  font-size: 12px; color: rgba(255,255,255,.35);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .hero-inner        { grid-template-columns: 1fr; }
  .hero-stats        { display: none; }
  .two-col           { grid-template-columns: 1fr; }
  .card-row          { grid-template-columns: 1fr; }
  .card-row.two      { grid-template-columns: 1fr; }
  .footer-main       { grid-template-columns: 1fr 1fr; }
  .dept-item         { grid-template-columns: 1fr; gap: 4px; }
  .news-item         { grid-template-columns: 1fr; gap: 4px; }
  .contact-grid      { grid-template-columns: 1fr; }
  .person-grid       { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .main-nav ul       { flex-direction: column; }
  .footer-main       { grid-template-columns: 1fr; }
  .person-grid       { grid-template-columns: 1fr; }
  .doc-item          { flex-direction: column; align-items: flex-start; }
}
