/* ==========================================================================
   Drumschool Mark Eeftens — stylesheet
   Gebaseerd op het oorspronkelijke WordPress-thema (WallStreet / BlueStreet):
   donkere achtergrond, blauw accent, Roboto.
   ========================================================================== */

@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/roboto-latin.woff2") format("woff2");
}

:root {
  --bg: #2a2c33;
  --bg-alt: #373941;
  --card: #3c3f49;
  --card-hover: #464954;
  --accent: #22a1c4;
  --accent-dark: #1b88a6;
  --accent-light: #84d0e8;
  --text: #e5e5e5;
  --text-muted: #b9bcc6;
  --heading: #ffffff;
  --line: #575963;
  --line-dotted: #7b7f8c;
  --topbar-text: #1d2a30;
  --success: #6fcf97;
  --danger: #ff8a80;
  --warning: #f2c94c;

  --container: 1140px;
  --gutter: 15px;
  --font: "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --topbar-height: 45px;
  --nav-height: 100px;
  --nav-height-compact: 70px;
  --header-height: calc(var(--topbar-height) + var(--nav-height));
}

/* ---------- Basis ---------- */

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-height-compact) + 20px); }

body {
  margin: 0;
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--accent-light); text-decoration: none; transition: color .3s ease; }
a:hover { color: #fff; }
a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible { outline: 2px solid var(--accent-light); outline-offset: 2px; }

h1, h2, h3, h4 { color: var(--heading); font-weight: 400; line-height: 1.25; margin: 0 0 .6em; }
p { margin: 0 0 1.1em; }

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.icon {
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--accent);
  color: #fff;
  padding: 10px 16px;
}
.skip-link:focus { left: 16px; top: 16px; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Header (vast bovenin) ----------
   Topbalk + menu blijven altijd zichtbaar. Na scrollen verdwijnt de topbalk
   en wordt het menu compacter en dekkend (klasse .is-scrolled via main.js). */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
}

/* ---------- Topbalk ---------- */

.topbar {
  background: var(--accent-light);
  color: var(--topbar-text);
  max-height: var(--topbar-height);
  overflow: hidden;
  transition: max-height .3s ease;
}
.site-header.is-scrolled .topbar { max-height: 0; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; height: var(--topbar-height); }

.topbar-social { display: flex; list-style: none; margin: 0; padding: 0; }
.topbar-social li { border-left: 1px solid rgba(255, 255, 255, .8); }
.topbar-social li:last-child { border-right: 1px solid rgba(255, 255, 255, .8); }
.topbar-social a {
  display: flex; align-items: center; justify-content: center;
  width: 45px; height: var(--topbar-height);
  color: var(--topbar-text);
  font-size: 18px;
  transition: background .1s ease-in-out, color .3s ease;
}
.topbar-social a:hover { background: #fff; color: var(--accent); }

.topbar-contact { display: flex; align-items: center; gap: 26px; list-style: none; margin: 0; padding: 0; font-size: 15px; }
.topbar-contact a { color: var(--topbar-text); display: inline-flex; align-items: center; gap: 7px; }
.topbar-contact a:hover { color: #fff; }
.topbar-contact .icon { font-size: 17px; }
.topbar-login { font-weight: 500; }
/* De topbalk klapt in bij scrollen (overflow: hidden); een open accountmenu moet erbuiten vallen. */
.topbar:has(.account-menu[open]) { overflow: visible; }

/* Accountmenu in de topbalk: "naam ▾" met een lijst die openklapt (<details>, werkt zonder JS). */
.account-menu { position: relative; }
.account-menu__toggle {
  display: inline-flex; align-items: center; gap: 7px;
  height: var(--topbar-height);
  font-weight: 500;
  cursor: pointer;
  list-style: none;
  transition: color .3s ease;
}
.account-menu__toggle::-webkit-details-marker { display: none; }
.account-menu__toggle:hover { color: #fff; }
.account-menu__toggle .icon:last-child { transition: transform .2s ease; }
.account-menu[open] .account-menu__toggle .icon:last-child { transform: rotate(180deg); }
.account-menu__name { max-width: 16em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-menu__list {
  position: absolute;
  top: 100%; right: 0;
  z-index: 10;
  min-width: 220px;
  margin: 0; padding: 6px 0;
  list-style: none;
  background: #18191e;
  border-top: 3px solid var(--accent);
  box-shadow: 0 10px 20px rgba(0, 0, 0, .35);
}

/* Een item in het accountmenu (topbalk en mobiel menu): link of uitlogknop, met dezelfde
   opbouw. Uitloggen is een formulier (POST met CSRF-token). */
.logout-form { margin: 0; }
.account-item {
  display: flex; align-items: center; gap: 10px;
  width: 100%;
  padding: 10px 16px;
  background: none; border: 0;
  font: inherit; font-size: 15px; line-height: 20px; text-align: left;
  color: var(--accent-light);
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.account-item:hover,
.account-item:focus-visible { background: rgba(34, 161, 196, .25); color: #fff; }
.account-item[aria-current="page"] { color: #fff; box-shadow: inset 3px 0 0 var(--accent); }
.account-separator { height: 1px; margin: 6px 0; background: var(--line); }
/* Zwaarder dan ".topbar-contact a" (donkere tekst voor op de lichtblauwe balk). */
.account-menu .account-item { display: flex; gap: 10px; color: var(--accent-light); }
.account-menu .account-item:hover,
.account-menu .account-item:focus-visible,
.account-menu .account-item[aria-current="page"] { color: #fff; }

/* ---------- Navigatie ---------- */

.navbar {
  position: relative;
  background: rgba(0, 0, 0, .6);
  transition: background .3s ease, box-shadow .3s ease;
}
.site-header.is-scrolled .navbar,
.navbar.is-open {
  background: rgba(24, 25, 30, .97);
  box-shadow: 0 2px 12px rgba(0, 0, 0, .35);
}
.navbar .container {
  display: flex; align-items: center; justify-content: space-between;
  min-height: var(--nav-height);
  transition: min-height .3s ease;
}
.site-header.is-scrolled .navbar .container { min-height: var(--nav-height-compact); }

.brand { display: block; color: #fff; padding: 12px 0; }
.brand:hover { color: #fff; }
.brand-name { display: block; font-size: 30px; line-height: 1.1; font-weight: 400; transition: font-size .3s ease; }
.brand-tagline { display: block; font-size: 14px; color: #fff; opacity: .85; margin-top: 4px; }
.site-header.is-scrolled .brand-name { font-size: 26px; }

.nav-menu { display: flex; list-style: none; margin: 0; padding: 0; }
.nav-menu a {
  display: flex; align-items: center; gap: 10px;
  height: var(--nav-height);
  padding: 0 13px;
  color: #fff;
  font-size: 16px;
  line-height: 20px;
  transition: background .3s ease, height .3s ease;
}
.site-header.is-scrolled .nav-menu a { height: var(--nav-height-compact); }
.nav-menu a:hover { background: rgba(34, 161, 196, .55); color: #fff; }
.nav-menu a[aria-current="page"] { background: var(--accent); }
.nav-menu .nav-extra { display: none; }

.nav-toggle {
  display: none;
  background: var(--accent);
  border: 0;
  color: #fff;
  font-size: 22px;
  width: 46px; height: 40px;
  border-radius: 3px;
  cursor: pointer;
  align-items: center; justify-content: center;
}

/* Laptop / tablet liggend: menu compacter zodat alles op één regel past */
@media (max-width: 1199px) {
  .brand-name,
  .site-header.is-scrolled .brand-name { font-size: 24px; }
  .brand-tagline { font-size: 13px; }
  .nav-menu a { padding: 0 9px; font-size: 15px; }
}

/* Tablet staand en mobiel: hamburgermenu, topbalk verborgen
   (telefoon, mail en inloggen staan dan in het menu) */
@media (max-width: 991px) {
  :root {
    --nav-height: 70px;
    --nav-height-compact: 60px;
    --header-height: var(--nav-height);
  }
  .topbar { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    background: #18191e;
    padding: 8px 0;
    max-height: calc(100vh - var(--nav-height));
    max-height: calc(100dvh - var(--nav-height));
    overflow-y: auto;
    box-shadow: 0 10px 20px rgba(0, 0, 0, .35);
  }
  .navbar.is-open .nav-menu { display: flex; }
  .nav-menu a,
  .site-header.is-scrolled .nav-menu a {
    height: auto;
    padding: 14px var(--gutter);
    border-bottom: 1px solid rgba(34, 161, 196, .35);
  }
  .nav-menu li:last-child a { border-bottom: 0; }
  .nav-menu .nav-extra { display: block; }
  .nav-menu .nav-extra a { color: var(--accent-light); }
  .nav-menu .nav-extra a[aria-current="page"] { color: #fff; }
  /* Accountblok: de naam als kopje, daaronder links en uitloggen in dezelfde opbouw. */
  .nav-account__name { display: flex; align-items: center; gap: 10px; margin: 0; padding: 14px var(--gutter) 8px; color: #fff; font-weight: 500; }
  .nav-account__list { list-style: none; margin: 0; padding: 0; }
  .nav-menu .nav-account .account-item {
    padding: 14px var(--gutter);
    border-bottom: 1px solid rgba(34, 161, 196, .35);
    font-size: 15px;
    color: var(--accent-light);
  }
  .nav-menu .nav-account .account-item:hover { background: rgba(34, 161, 196, .25); color: #fff; }
  .nav-menu .nav-account .account-item[aria-current="page"] { background: none; color: #fff; box-shadow: inset 3px 0 0 var(--accent); }
  .nav-menu .nav-account li:last-child .account-item { border-bottom: 0; }
  .nav-account .account-separator { display: none; }
  .nav-menu li:not(.nav-extra) + .nav-extra { margin-top: 8px; border-top: 3px solid var(--accent); }
}

@media (max-width: 480px) {
  .brand-name,
  .site-header.is-scrolled .brand-name { font-size: 20px; }
  .brand-tagline { font-size: 12px; }
}

/* ---------- Banner (homepage) ---------- */

.banner {
  position: relative;
  min-height: 90vh;
  min-height: 90svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  background: #2a2c33 url("../img/banner-home.jpg") center center / cover no-repeat;
  box-shadow: 0 7px 10px -10px #000;
  padding: calc(var(--header-height) + 40px) var(--gutter) 60px;
}
.banner::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(rgba(0, 0, 0, .35), rgba(0, 0, 0, .45));
}
.banner-content { position: relative; max-width: 1140px; }
.banner-intro { font-size: clamp(30px, 6vw, 60px); line-height: 1.1; font-weight: 300; margin: 0 0 20px; text-shadow: 0 1px 2px rgba(0, 0, 0, .6); color: #fff; }
.banner-title {
  display: inline-block;
  font-size: clamp(34px, 7.5vw, 80px);
  line-height: 1.15;
  font-weight: 300;
  border-top: 2px solid #fff;
  border-bottom: 2px solid #fff;
  padding: 6px 0;
  margin: 0 0 23px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .6);
}
.banner-tagline { font-size: clamp(18px, 2.4vw, 22px); line-height: 30px; margin: 0 0 32px; text-shadow: 0 1px 2px rgba(0, 0, 0, .6); }

@media (max-width: 767px) {
  .banner { min-height: 75vh; min-height: 75svh; }
}

/* ---------- Knoppen ---------- */

.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  border: 0;
  border-radius: 2px;
  font: inherit;
  font-size: 14px;
  line-height: 20px;
  padding: 10px 18px;
  cursor: pointer;
  transition: background .4s ease;
}
.btn:hover { background: var(--accent-dark); color: #fff; }
.btn-lg { font-size: 16px; padding: 13px 26px; }
.btn-outline { background: transparent; border: 2px solid #fff; text-shadow: 0 1px 1px #18191b; }
.btn-outline:hover { background: rgba(255, 255, 255, .15); }
.btn .icon { vertical-align: -2px; margin-right: 6px; }

/* ---------- Secties & sectiekoppen ---------- */

.section { padding: 70px 0 20px; }
.section-alt { background: var(--bg-alt); }

.section-heading { text-align: center; margin: 0 auto 65px; max-width: 900px; }
.section-heading h2 { font-size: clamp(26px, 3.5vw, 36px); line-height: 1.2; font-weight: 500; margin: 0 0 10px; }
.section-heading p { font-size: 20px; line-height: 25px; color: var(--text); margin: 0; }

/* Lijn met ruitje, zoals in het origineel */
.separator { position: relative; width: 250px; height: 1px; background: #ccc; margin: 23px auto 35px; }
.separator::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 10px; height: 10px;
  background: var(--accent-light);
  transform: translate(-50%, -50%) rotate(45deg);
}

/* ---------- Diensten (ronde foto's) ---------- */

.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.service { display: flex; flex-direction: column; text-align: center; }
.service-img {
  position: relative;
  z-index: 1;
  width: 200px; height: 200px;
  object-fit: cover;
  margin: 0 auto -100px;
  border: 2px solid #fff;
  border-radius: 50%;
  transition: transform .6s ease-out;
}
.service:hover .service-img { transform: rotate(360deg); }
.service-body {
  border: 1px solid #fff;
  padding: 127px 30px 30px;
  margin-bottom: 60px;
  flex: 1;
  transition: background .3s ease-in-out, border-color .3s ease-in-out;
}
.service:hover .service-body { background: var(--accent); border-color: var(--accent); }
.service h3 { font-size: 24px; line-height: 30px; margin: 0 0 11px; }
.service h3 a { color: var(--text); }
.service:hover h3 a { color: #fff; }
.service p { font-size: 16px; line-height: 28px; margin: 0; }

/* Tablet: drie kolommen blijven, met kleinere foto's */
@media (max-width: 991px) {
  .services { gap: 20px; }
  .service-img { width: 150px; height: 150px; margin-bottom: -75px; }
  .service-body { padding: 95px 18px 24px; }
  .service h3 { font-size: 21px; }
  .service p { font-size: 15px; line-height: 26px; }
}
/* Mobiel: één kolom */
@media (max-width: 767px) {
  .services { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .service-body { margin-bottom: 20px; }
}

/* ---------- Portfolio (foto's met hover-overlay) ---------- */

.showcase { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; padding-bottom: 50px; }
.showcase-item { position: relative; margin: 0; overflow: hidden; }
.showcase-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.showcase-item figcaption {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: center;
  padding: 20px;
  text-align: center;
  background: rgba(34, 161, 196, .9);
  color: #fff;
  opacity: 0;
  transition: opacity .4s ease;
}
.showcase-item:hover figcaption,
.showcase-item:focus-within figcaption { opacity: 1; }
.showcase-item h3 { font-size: 18px; font-weight: 500; line-height: 20px; padding-bottom: 15px; margin: 0 0 15px; border-bottom: 1px solid #fff; }
.showcase-item p { font-size: 14px; line-height: 20px; margin: 0; }

@media (max-width: 991px) { .showcase { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .showcase { grid-template-columns: 1fr; } }
/* Op touchscreens is er geen hover: toon het bijschrift onder de foto */
@media (hover: none) {
  .showcase-item figcaption { position: static; opacity: 1; }
}

/* ---------- Blog-kaarten ---------- */

.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.post-card {
  background: var(--card);
  padding: 27px 25px 40px;
  margin-bottom: 60px;
  display: flex; flex-direction: column;
  transition: background .4s ease;
}
.post-card:hover { background: var(--card-hover); }
.post-meta {
  display: flex; align-items: center; gap: 8px;
  font-size: 15px; line-height: 26px;
  color: var(--text-muted);
  border-bottom: 1px dotted var(--line-dotted);
  padding-bottom: 20px; margin-bottom: 26px;
}
.post-card__title { font-size: clamp(26px, 2.6vw, 34px); font-weight: 300; line-height: 1.3; margin: 0 0 20px; }
.post-card__title a { color: #f5f5f5; transition: color .4s ease; }
.post-card:hover .post-card__title a { color: var(--accent-light); }
.post-card p { line-height: 28px; flex: 1; }
.post-card .btn { align-self: flex-start; }
/* De uitgelichte foto: tot de rand van de kaart, altijd 16:9 (kaarten even hoog) */
.post-card__image {
  display: block;
  width: calc(100% + 50px);
  max-width: none;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  margin: -27px -25px 24px;
}
.post-new {
  margin-left: auto;
  padding: 0 8px;
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  line-height: 22px;
  border-radius: 2px;
}

/* Tablet: twee kolommen, een losse laatste kaart over de volle breedte */
@media (max-width: 991px) {
  .post-grid { grid-template-columns: repeat(2, 1fr); }
  .post-grid > .post-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .post-grid { grid-template-columns: 1fr; }
  .post-card { margin-bottom: 0; padding: 22px 20px 28px; }
  .post-card__image { width: calc(100% + 40px); margin: -22px -20px 20px; }
  .post-grid { padding-bottom: 50px; }
}

/* Nieuws: zoeken en bladeren */
.post-list { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 640px) { .post-list { grid-template-columns: 1fr; } }
.news-search { margin: 0 0 24px; }
.news-search__label { display: block; font-size: 14px; margin-bottom: 6px; color: #fff; }
.news-search__row { display: flex; gap: 10px; }
.news-search__input {
  flex: 1;
  min-width: 0;
  height: 44px;
  font: inherit;
  padding: 0 14px;
  background: var(--bg-alt);
  color: #fff;
  border: 1px solid var(--line);
  border-radius: 2px;
}
.news-search__input:focus { border-color: var(--accent); outline: none; }
.news-search .btn { display: inline-flex; align-items: center; }
.news-search__result { margin: -8px 0 24px; color: var(--text-muted); }
.news-pager { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin: 0 0 30px; font-size: 15px; }
.news-pager__status { color: var(--text-muted); }

/* Voorbeeld voor de redactie */
.preview-bar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px;
  margin: 0 0 20px; padding: 14px 18px;
  background: var(--warning); color: #1d2a30;
}
.preview-bar a { color: #1d2a30; text-decoration: underline; margin-left: auto; }

/* ---------- Paginakop (subpagina's) ---------- */

.page-header {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  background: #2a2c33 url("../img/banner-pagina.jpg") center / cover no-repeat;
  padding-top: var(--header-height);
  padding-bottom: 50px;
}
.page-header::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .45); }
.page-header .container { position: relative; }
.page-header h1 { font-size: clamp(30px, 4.5vw, 50px); line-height: 1.3; margin: 0; text-shadow: 1px 1px 2px rgba(0, 0, 0, .8); }

.breadcrumbs { position: absolute; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, .6); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; list-style: none; margin: 0 auto; padding-top: 12px; padding-bottom: 12px; font-size: 15px; }
.breadcrumbs li + li::before { content: "/"; margin: 0 10px; color: var(--text-muted); }
.breadcrumbs a { color: #fff; }
.breadcrumbs [aria-current] { color: var(--accent-light); }

@media (max-width: 991px) { .page-header { min-height: 300px; } }
@media (max-width: 600px) { .page-header { min-height: 230px; padding-bottom: 60px; } .breadcrumbs ol { font-size: 14px; padding-top: 9px; padding-bottom: 9px; } }

/* ---------- Inhoud + zijbalk ---------- */

.page-body { padding: 70px 0; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 30px; align-items: start; }
.layout-full { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 991px) {
  .layout { grid-template-columns: minmax(0, 1fr); }
  .sidebar { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .sidebar { grid-template-columns: 1fr; }
  .page-body { padding: 40px 0; }
  .content-box { padding: 26px 18px 18px; }
  .widget { padding: 24px 18px; }
}

.content-box { background: var(--card); padding: 40px 30px 30px; }
.content-box + .content-box { margin-top: 30px; }

.prose { font-size: 16px; line-height: 1.75; }
.prose h2 { font-size: 30px; font-weight: 300; margin-top: 1.4em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 22px; font-weight: 400; margin-top: 1.4em; }
.prose figure { margin: 30px 0; }
.prose figure img { margin: 0 auto; }
.prose figcaption { font-size: 14px; color: var(--text-muted); text-align: center; margin-top: 10px; }
.prose ul { padding-left: 1.2em; }
.prose .lead { font-size: 19px; color: #fff; }
.signature { font-style: italic; color: #fff; }

.img-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin: 30px 0; }
.img-row img { width: 100%; height: 100%; object-fit: cover; }

/* Foto's bij een bericht: de uitgelichte bovenaan (16:9), de rest als reeks onder de tekst */
.article-photo { margin: 0 0 26px; }
.article-photo img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.photo-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; margin: 30px 0 0; padding: 0; list-style: none; }
.prose .photo-row { padding-left: 0; }
.photo-row img { width: 100%; height: auto; }

.sidebar { display: grid; gap: 30px; }
.widget { background: var(--card); padding: 30px; }
.widget h2 { font-size: 22px; font-weight: 300; margin: 0 0 20px; }
.widget address { font-style: normal; line-height: 1.9; }
.widget-list { list-style: none; margin: 0; padding: 0; }
.widget-list li { display: flex; gap: 10px; align-items: baseline; }
.widget-list .icon { color: var(--accent-light); transform: translateY(2px); }

/* Artikel (blogpost) */
.article-meta {
  display: flex; flex-wrap: wrap; gap: 6px 20px;
  font-size: 14px; color: var(--text-muted);
  margin-bottom: 26px; padding-bottom: 20px;
  border-bottom: 1px dotted var(--line-dotted);
}
.article-meta span { display: inline-flex; align-items: center; gap: 6px; }
.article-title { font-size: clamp(28px, 3.4vw, 40px); font-weight: 400; margin: 0 0 16px; }

.post-nav { display: flex; justify-content: space-between; gap: 20px; margin-top: 30px; font-size: 15px; }

/* Links-pagina */
.link-list { list-style: none; margin: 0 0 30px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.link-list a {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  background: var(--bg-alt);
  color: #fff;
  padding: 14px 18px;
  border-left: 3px solid var(--accent);
  transition: background .3s ease;
}
.link-list a:hover { background: var(--card-hover); }
.link-list small { display: block; color: var(--text-muted); font-size: 13px; }

/* Prijstabel (shop) */
.price-table { width: 100%; border-collapse: collapse; margin: 0 0 30px; }
.price-table th,
.price-table td { text-align: left; padding: 12px 15px; border-bottom: 1px solid var(--line); }
.price-table th { color: #fff; font-weight: 500; }
.price-table td:last-child,
.price-table th:last-child { text-align: right; white-space: nowrap; }

/* Media-galerij */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.gallery figure { margin: 0; background: var(--bg-alt); }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery figcaption { padding: 10px 14px; font-size: 14px; color: var(--text-muted); text-align: left; margin: 0; }

.callout {
  border-left: 3px solid var(--accent);
  background: var(--bg-alt);
  padding: 20px 24px;
  margin: 30px 0;
}
.callout p:last-child { margin: 0; }

/* ---------- Inloggen ---------- */

.login-wrap { max-width: 460px; margin: 0 auto; }
.narrow { max-width: 620px; margin-left: auto; margin-right: auto; }
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-size: 14px; margin-bottom: 6px; color: #fff; }
.form-field input,
.form-field select {
  width: 100%;
  height: 48px;
  font: inherit;
  padding: 0 14px;
  background: var(--bg);
  color: #fff;
  border: 1px solid var(--line);
  border-radius: 2px;
}
.form-field input:focus,
.form-field select:focus { border-color: var(--accent); outline: none; }
.form-field input[readonly] { color: var(--text-muted); }
.form-field.has-error input,
.form-field.has-error select { border-color: var(--danger); }
.field-error { margin: 6px 0 0; font-size: 14px; color: var(--danger); }
.field-hint { margin: 6px 0 0; font-size: 13px; color: var(--text-muted); }
.form-footer { margin: 16px 0 0; text-align: center; font-size: 14px; }
.checkbox { display: inline-flex; gap: 8px; align-items: center; cursor: pointer; }
.checkbox input { width: 18px; height: 18px; accent-color: var(--accent); }
.checkbox-list { border: 0; margin: 0 0 18px; padding: 0; display: grid; gap: 6px; }
.checkbox-list legend { font-size: 14px; color: #fff; margin-bottom: 8px; padding: 0; }
.form-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 14px; margin-bottom: 22px; }
.form-row label { display: inline-flex; gap: 8px; align-items: center; }
.form-message { margin-top: 18px; padding: 14px 16px; background: var(--bg-alt); border-left: 3px solid var(--accent-light); font-size: 15px; }
.form-message[hidden] { display: none; }

/* ---------- Footer ---------- */

.site-footer { background: var(--bg-alt); }
.footer-social { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 50px; list-style: none; margin: 0; padding: 25px 0; border-bottom: 1px solid var(--line); box-shadow: 0 7px 2px -6px var(--bg); }
.footer-social a { color: #fff; font-size: 30px; display: block; line-height: 0; padding: 5px; }
.footer-social a:hover { color: #cbcbcb; }
.footer-bottom { text-align: center; padding: 20px 0; font-size: 15px; line-height: 1.6; }
.footer-bottom p { margin: 0 0 6px; }
.footer-bottom small a { color: var(--text-muted); }
.footer-bottom small a:hover { color: #fff; }
/* Uitloggen in de footer: een formulier dat eruitziet als de link ernaast. */
.footer-bottom .logout-form { display: inline; }
.footer-logout { background: none; border: 0; padding: 0; font: inherit; color: var(--text-muted); cursor: pointer; transition: color .3s ease; }
.footer-logout:hover { color: #fff; }
.footer-logout .icon { display: none; }

/* ---------- Terug naar boven ---------- */

.scroll-top {
  position: fixed;
  right: 20px; bottom: 0;
  z-index: 50;
  width: 70px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent);
  color: #fff;
  font-size: 22px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
}
.scroll-top.is-visible { opacity: 1; visibility: visible; }
.scroll-top:hover { color: #fff; background: var(--accent-dark); }

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

/* ---------- Leeromgeving: account en beheer ---------- */

.stack { display: grid; gap: 30px; }
.stack > .content-box + .content-box { margin-top: 0; }
.content-box h2 { font-size: 24px; font-weight: 300; }

/* Meldingen boven een formulier of pagina */
.notice {
  margin: 0 0 20px;
  padding: 14px 16px;
  background: var(--bg-alt);
  border-left: 3px solid var(--accent-light);
  font-size: 15px;
}
.notice-success { border-left-color: var(--success); }
.notice-error { border-left-color: var(--danger); }

/* Submenu van het beheer: Gebruikers · Logboek */
.subnav { margin-bottom: 30px; }
.subnav ul { display: flex; flex-wrap: wrap; gap: 4px; list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line); }
.subnav a { display: block; padding: 10px 18px; color: var(--text); }
.subnav a:hover { color: #fff; background: var(--bg-alt); }
.subnav a[aria-current="page"] { color: #fff; box-shadow: inset 0 -3px 0 var(--accent); }

.btn-secondary { background: var(--bg-alt); border: 1px solid var(--line); }
.btn-secondary:hover { background: var(--card-hover); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 20px 0 0; }
.inline-form { display: inline; margin: 0; }

/* Werkbalk met filters boven een tabel */
.toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 24px; }
.filters { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; margin-bottom: 24px; }
.toolbar .filters { margin-bottom: 0; }
.filters .form-field { margin-bottom: 0; min-width: 160px; flex: 1 1 160px; }
.toolbar .btn,
.filters .btn { height: 48px; display: inline-flex; align-items: center; }

/* Tabellen: op een smal scherm horizontaal scrollen binnen de tabel, niet de pagina */
.table-wrap { overflow-x: auto; margin: 0 0 16px; }
.data-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.data-table th,
.data-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.data-table th { color: #fff; font-weight: 500; white-space: nowrap; }
.data-table tbody tr:hover { background: var(--bg-alt); }
.data-table .nowrap { white-space: nowrap; }
.data-table .details { font-size: 13px; color: var(--text-muted); }
.table-count { font-size: 14px; color: var(--text-muted); margin: 0; }

.badge { display: inline-block; padding: 1px 8px; border-radius: 10px; font-size: 13px; background: var(--bg-alt); border: 1px solid var(--line); white-space: nowrap; }
.badge-active { border-color: var(--success); color: var(--success); }
.badge-invited { border-color: var(--warning); color: var(--warning); }
.badge-disabled { border-color: var(--danger); color: var(--danger); }

/* Gegevens als lijst: label – waarde */
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 8px 24px; margin: 0; }
.facts dt { color: var(--text-muted); }
.facts dd { margin: 0; color: #fff; overflow-wrap: anywhere; }
@media (max-width: 520px) {
  .facts { grid-template-columns: 1fr; gap: 2px; }
  .facts dd { margin-bottom: 10px; }
}

.pager { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: flex-end; font-size: 14px; color: var(--text-muted); }
.pager span { margin-right: auto; }

/* Eenmalige link met kopieerknop */
.copy-field { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: end; }
.copy-field label { grid-column: 1 / -1; margin-bottom: 0; }
.copy-field [hidden] { display: none; }
.copy-field input { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 14px; }

/* 2FA instellen */
code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .95em; background: var(--bg); padding: 1px 6px; border-radius: 2px; }
.steps { padding-left: 1.2em; }
.steps li { margin-bottom: 14px; }
.qr-code { width: 160px; max-width: 100%; margin: 14px 0; padding: 10px; background: #fff; }
.qr-code svg { display: block; width: 100%; height: auto; }
.secret { word-break: break-all; letter-spacing: .05em; }
.recovery-codes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 20px; list-style: none; padding: 0; margin: 0 0 24px; }
.recovery-codes code { font-size: 16px; }

/* ---------- Hulpklassen ---------- */

.post-list { grid-template-columns: 1fr; }
.post-list .post-card { margin-bottom: 0; }
.btn-block { display: block; width: 100%; }

/* ---------- Mobiel: compactere secties ---------- */

@media (max-width: 767px) {
  .section { padding: 50px 0 10px; }
  .section-heading { margin-bottom: 40px; }
  .section-heading p { font-size: 17px; }
  .showcase { padding-bottom: 40px; gap: 20px; }
  .footer-social { gap: 10px 28px; }
  .scroll-top { width: 50px; right: 12px; }
}
