/* =========================================================
   1) BASIS / THEMA
========================================================= */
:root{
  --bg:#f5efe6;          /* zachte basis */
  --text:#2f3a31;
  --muted:#6b776d;
  --line:#e6e0d7;
  --header:#958647;

  --shadow: 0 8px 20px rgba(0,0,0,.06);
}

/* =========================================================
   2) RESET / BASIS
========================================================= */
*{ box-sizing:border-box; }

html, body{
  min-height:100%;
}

body{
  margin:0;
  font-family: Georgia, "Times New Roman", serif;
  color:var(--text);
  font-size:15px;

  /* Perkament + lichte waas (zachter, leesbaar) */
  background:
    linear-gradient(rgba(255,255,255,0.65),
                    rgba(255,255,255,0.65)),
    url("../img/perkament.jpg");
  background-repeat: repeat;
  background-size: auto;
  background-position: top center;
}

/* Watermark kaart van Vlaanderen over hele pagina */
body::before{
  content:"";
  position:fixed;
  inset:0;

  background:url("../img/vlaanderen-kaart.png");
  background-size:130%;
  background-repeat:no-repeat;
  background-position:center;

  opacity:0.12;
  pointer-events:none;
  z-index:-1;
}

/* =========================================================
   3) HEADER
========================================================= */
header{
  background-color: var(--header);
  color: white;
  padding: 12px 20px;   /* compact */
  text-align: center;
}

header h1{
  margin:6px 0 4px;
  font-size:34px;
}

header p{
  margin:0;
  font-size:16px;
  opacity:0.9;
}

/* =========================================================
   4) MENU (sticky + dropdown)
========================================================= */
nav{
  position:sticky;
  top:0;
  z-index:1000;
}

nav ul{
  list-style:none;
  margin:0;
  padding:0;
  background:var(--bg);
  text-align:center;
}

nav ul li{
  display:inline-block;
  position:relative;
}

nav ul li a{
  display:block;
  padding:12px 18px;
  text-decoration:none;
  color:var(--text);
  font-size:15px;
}

nav ul li a:hover{
  background:#e2d9cc;
}

/* Dropdown */
nav ul li ul{
  display:none;
  position:absolute;
  top:100%;
  left:0;
  margin:0;
  padding:4px 0;
  background:#f7f3ed;
  min-width:200px;
  text-align:left;
  box-shadow:0 4px 12px rgba(0,0,0,.1);
  z-index:999;
}

nav ul li:hover > ul{
  display:block;
}

nav ul li ul li{
  display:block;
  margin:0;
  padding:0;
}

/* “Externe links (oude site)” */
nav ul li ul li.notice{
  padding:6px 12px;
  font-size:12px;
  color:#6b5e4c;
  opacity:0.9;
  border-bottom:1px solid rgba(0,0,0,0.08);
  line-height:1.2;
  pointer-events:none;
}

/* Compacte dropdown-links */
nav ul li ul li a{
  padding:6px 12px;
  line-height:1.2;
}

/* =========================================================
   5) PAGINA LAYOUT
========================================================= */
main{
  padding:40px;
  max-width:1000px;
  margin:auto;
  background-color: transparent;

  /* zachte diepte */
  box-shadow: 0 0 40px rgba(0,0,0,0.08);
}

footer{
  text-align:center;
  padding:20px;
  background-color: var(--header);
  color:white;
}
/* =========================================================
   HOME — opvallend heraldiek kader
========================================================= */
/* ===================================
   Subtiele aankondiging – compacte versie
=================================== */

.site-update{
  max-width: 820px;        /* smaller dan je main */
  margin: 14px auto 20px;  /* gecentreerd */
  padding: 14px 16px;

  background: #f6efe2;
  border: 1px solid #bfa985;
  border-radius: 10px;
}

/* dunne binnenlijn */
.site-update::before{
  content:"";
  position:absolute;
  inset:5px;
  border: 1px solid rgba(191,169,133,0.4);
  border-radius: 6px;
  pointer-events:none;
}

.site-update h2{
  margin: 0 0 6px;
  font-size: 1.05rem;   /* kleiner */
  font-weight: 600;
}

.site-update p{
  margin: 0 0 6px;
  font-size: 0.85rem;   /* duidelijk kleiner */
  line-height: 1.5;
}

.site-update p:last-child{
  margin-bottom: 0;
}

/* =========================================================
   6) INTRO-SECTIE (optioneel)
========================================================= */
.intro{
  position:relative;
  padding-bottom:24px;
}

/* vignette / archief-randje bovenop intro */
.intro::after{
  content:"";
  position:absolute;
  inset:0;

  background:
    radial-gradient(
      ellipse at center,
      rgba(0,0,0,0) 60%,
      rgba(120,100,70,0.08) 85%,
      rgba(90,70,40,0.12) 100%
    );

  pointer-events:none;
  z-index:1;
}

/* tekst erboven */
.intro > *{
  position:relative;
  z-index:2;
}

/* Drop-cap beginletter */
.intro p:first-of-type::first-letter{
  font-size:52px;
  float:left;
  line-height:0.9;
  margin-right:10px;
  margin-top:6px;
  font-family:Georgia, "Times New Roman", serif;
  color:#8b6f47;
}

/* =========================================================
   7) KAART / AFBEELDINGEN
========================================================= */
.kaart{
  margin-top:30px;
}

/* =========================================================
   8) BANNER (met afbeelding)
========================================================= */
.banner{
  width:100%;
  text-align:center;
  padding:6px 0;

  background:transparent;

  border-top:1px solid #cdbfa8;
  border-bottom:1px solid #cdbfa8;

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.6),
    inset 0 -1px 0 rgba(0,0,0,0.06);
}

.banner img{
  width:60%;
  max-width:650px;
  border-radius:10px;

  background:rgba(255,255,255,0.35);
  padding:6px;

  border:1px solid rgba(80,60,40,0.18);
  box-shadow:0 6px 16px rgba(0,0,0,0.12);
}

/* =========================================================
   9) BOEKENPAGINA
========================================================= */
.wrap{
  max-width:1100px;
  margin:0 auto;
  padding:6px 16px 40px;
}

.top-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  justify-content:center;
  margin:14px 0 6px;
}

.btn{
  display:inline-block;
  font-size:13px;
  text-decoration:none;
  color:#1f5a3b;
  border:1px solid var(--line);
  padding:8px 10px;
  border-radius:10px;
  background:#fff;
}
.btn:hover{ border-color:#cfc6bb; }

.quicklinks{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  justify-content:center;
  margin:12px 0 6px;
}

.pill{
  display:inline-block;
  font-size:12px;
  text-decoration:none;
  color:var(--text);
  border:1px solid var(--line);
  padding:6px 10px;
  border-radius:999px;
  background:#fff;
}
.pill:hover{ border-color:#cfc6bb; }

.price-note-box{
  max-width:600px;
  margin:0 auto 25px;
  padding:10px 18px;
  background:linear-gradient(to bottom,#f3e8d8,#e7d8c2);
  border:1px solid #cdbca4;
  border-radius:6px;
  font-size:14px;
  color:#5e5547;
  text-align:center;
  font-style:italic;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.5),
    0 1px 3px rgba(0,0,0,0.08);
}

.section-title{
  margin:26px 0 10px;
  font-size:18px;
}

.books-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap:24px;
}

@media (max-width: 900px){
  .books-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px){
  .books-grid{ grid-template-columns: 1fr; }
}
.book-card{
  transition: transform .2s ease, box-shadow .2s ease;
}

.book-card:hover{
  transform: translateY(-6px);
  box-shadow: 0 6px 18px rgba(0,0,0,.15);
}

.book-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:16px;
  box-shadow:var(--shadow);
  padding:14px;
  display:flex;
  gap:12px;
}

.cover{
  width:120px;
  height:180px;
  border-radius:10px;
  overflow:hidden;
  border:1px solid #e0d9cf;
  flex:0 0 auto;
}

.cover img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.book-title{
  margin:0 0 6px;
  font-size:15px;
}

.book-sub{
  margin:0 0 10px;
  color:var(--muted);
  font-size:13px;
}

.book-price{
  display:inline-block;
  margin:6px 0 10px;
  padding:6px 12px;
  background:linear-gradient(135deg,#e8dccb,#d6c7b2);
  border:1px solid #c8b79f;
  border-radius:20px;
  font-weight:bold;
  font-size:14px;
  color:#4e463c;
}

.book-link{
  display:inline-block;
  font-size:13px;
  text-decoration:none;
  color:#1f5a3b;
  border:1px solid var(--line);
  padding:8px 10px;
  border-radius:10px;
  background:#fff;
}
.book-link:hover{ border-color:#cfc6bb; }

/* =========================================================
 10  HISTORIE — TIJDLIJN
========================================================= */

.timeline-hero{
  margin: 10px 0 24px;
  padding: 18px 18px 16px;
  border:1px solid rgba(120,100,70,0.22);
  border-radius:14px;
  background: rgba(255,255,255,0.30);
}

.timeline-title{
  margin: 0 0 10px;
  font-size:22px;
  letter-spacing:.2px;
}

.timeline-lead{
  margin: 0;
  color: var(--text);
  line-height:1.55;
}

.timeline-meta{
  margin-top:12px;
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}

.chip{
  display:inline-block;
  padding:6px 10px;
  border-radius:999px;
  font-size:12px;
  border:1px solid rgba(120,100,70,0.20);
  background: rgba(255,255,255,0.35);
}

/* verticale tijdlijn */
.timeline{
  position:relative;
  margin: 10px 0 30px;
  padding-left: 18px;
}

.timeline::before{
  content:"";
  position:absolute;
  left: 6px;
  top: 0;
  bottom: 0;
  width:2px;
  background: rgba(120,100,70,0.22);
  border-radius:2px;
}

.t-item{
  position:relative;
  display:grid;
  grid-template-columns: 110px 1fr;
  gap: 14px;
  margin: 0 0 14px;
}

.t-item::before{
  content:"";
  position:absolute;
  left: -1px;
  top: 18px;
  width: 12px;
  height: 12px;
  border-radius:50%;
  background: rgba(255,255,255,0.9);
  border:2px solid rgba(120,100,70,0.35);
}

.t-year{
  font-weight:700;
  color: rgba(60,50,35,0.9);
  padding-top: 10px;
}

.t-card{
  border:1px solid rgba(120,100,70,0.20);
  border-radius:14px;
  padding: 14px 14px 12px;
  background: rgba(255,255,255,0.28);
  box-shadow: 0 6px 16px rgba(0,0,0,0.06);
}

.t-card h3{
  margin: 0 0 8px;
  font-size:16px;
}

.t-card p{
  margin: 0 0 10px;
  color: rgba(40,50,40,0.92);
  line-height:1.5;
}

.t-link{
  display:inline-block;
  text-decoration:none;
  font-weight:600;
  color:#1f5a3b;
  border:1px solid rgba(120,100,70,0.22);
  padding:8px 10px;
  border-radius:10px;
  background: rgba(255,255,255,0.35);
}

.t-link:hover{
  border-color: rgba(120,100,70,0.38);
}

/* volgende periodes */
.timeline-next{
  margin-top: 10px;
  padding: 16px 18px;
  border:1px solid rgba(120,100,70,0.20);
  border-radius:14px;
  background: rgba(255,255,255,0.28);
}

.next-grid{
  margin-top:12px;
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap:12px;
}

.next-card{
  padding:12px 12px 10px;
  border-radius:12px;
  border:1px solid rgba(120,100,70,0.18);
  background: rgba(255,255,255,0.30);
}

.next-card h3{
  margin:0 0 6px;
  font-size:15px;
}

.next-card p{
  margin:0;
  color: var(--muted);
}

/* =========================================================
 11  HISTORIE — RESPONSIVE
========================================================= */
@media (max-width: 820px){
  .t-item{
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .t-year{
    padding-top: 0;
    margin-left: 6px;
  }
}
/* =========================================================
 12  UTILITIES (snelle helpers)
========================================================= */

/* Uitlijning */
.center{ text-align:center; }
.left{ text-align:left; }
.right{ text-align:right; }

/* Marges boven */
.mt-10{ margin-top:10px; }
.mt-20{ margin-top:20px; }
.mt-30{ margin-top:30px; }

/* Marges onder */
.mb-10{ margin-bottom:10px; }
.mb-20{ margin-bottom:20px; }
.mb-30{ margin-bottom:30px; }

/* Padding */
.p-10{ padding:10px; }
.p-20{ padding:20px; }

/* Breedte helpers */
.w-100{ width:100%; }
.max-800{ max-width:800px; margin:auto; }

/* Zichtbaarheid */
.hide{ display:none; }

/* Mobiel helpers */
.hide-mobile{ display:block; }

.img-frame{
  max-width:320px;   /* 👈 bepaalt grootte */
  width:100%;
  height:auto;

  border-radius:10px;
  background: rgba(255,255,255,0.35);
  padding:6px;
  border:1px solid rgba(80,60,40,0.18);
  box-shadow:0 6px 16px rgba(0,0,0,0.12);

  display:block;
  margin:20px auto; /* mooi gecentreerd */
}
.img-float{
  float:left;
  max-width:320px;
  width:40%;

  margin:10px 20px 10px 0;

  border-radius:10px;
  background: rgba(255,255,255,0.35);
  padding:6px;
  border:1px solid rgba(80,60,40,0.18);
  box-shadow:0 6px 16px rgba(0,0,0,0.12);
}
/* ===== Stambomen kolommen ===== */

.link-columns{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px 40px;
  margin-top:10px;
}

.link-columns a{
  display:block;
}

/* Mobiel */
@media (max-width:800px){
  .link-columns{
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width:520px){
  .link-columns{
    grid-template-columns: 1fr;
  }
}
/* =========================================================
   13) RESPONSIVE / MOBIEL (ALTIJD ONDERAAN)
========================================================= */
@media (max-width: 820px){
  nav ul li a{ padding:16px 14px; }
  main{ padding:24px; }
  .banner img{ width:90%; }
}
@media (max-width:700px){
  body::before{ opacity:0.06; }
  .hide-mobile{ display:none; }
}
/* ===== Kaart knop Munkengoed ===== */

.kaart-btn{
  display:inline-block;
  margin-top:10px;
  padding:10px 16px;
  background:linear-gradient(#efe4cf,#e1d3bd);
  border:1px solid #cdbfa8;
  border-radius:8px;
  text-decoration:none;
  color:#3e3a2f;
  font-weight:600;
  box-shadow:0 1px 3px rgba(0,0,0,0.15);
  transition:0.2s;
}

.kaart-btn:hover{
  background:linear-gradient(#e6d8bf,#d8c7ad);
  transform:translateY(-1px);
}

.img-row{
  display:flex;
  gap:14px;
  flex-wrap:wrap;        /* op smalle schermen komen ze onder elkaar */
  align-items:flex-start;
}

.img-row img{
  width:100%;
  max-width:340px;       /* maak groter/kleiner naar smaak */
  height:auto;
  border:2px solid #cdbfa8;
  border-radius:10px;
  box-sizing:border-box;
}
/* PAPINGLO */
.img-left{
  float:left;
  width:220px;        /* kies 200–260 naar smaak */
  max-width:45%;
  height:auto;
  margin:6px 16px 10px 0;
  border:2px solid #cdbfa8;
  border-radius:8px;
  box-sizing:border-box;
  display:block;
}

.clear{ clear:both; }
.t-card img.img-left{ width:220px !important; height:auto !important; }
.img-left{
  float:left;
  width:30%;
  min-width:220px;
  max-width:320px;
  height:auto;
  margin:6px 18px 10px 0;
  border:2px solid #cdbfa8;
  border-radius:8px;
}

/* ===== MUURKAARTEN PAGINA ===== */

.lang-grid{
  display:grid;
  gap:20px;
  grid-template-columns: repeat(3,1fr);
  margin-top:15px;
}

@media (max-width:900px){
  .lang-grid{ grid-template-columns:1fr; }
}

.lang{
  padding:15px;
  border-radius:12px;
  background:rgba(255,255,255,0.55);
  border:1px solid #e0d6c8;
}

.notice, .download{
  padding:15px;
  border-radius:12px;
  background:rgba(255,255,255,0.45);
  border:1px solid #e0d6c8;
}

.chart-list li{
  margin:8px 0;
  line-height:1.4;
}

.chart-list a{
  color:#2a4b8d;
  text-decoration:none;
  font-weight:bold;
}

.chart-list a:hover{
  text-decoration:underline;
}

.dim{
  color:#666;
  font-size:0.95em;
}

/* Geen tekstselectie */
body {
  -webkit-user-select: none; /* Chrome/Safari */
  -moz-user-select: none;    /* Firefox */
  -ms-user-select: none;     /* Edge */
  user-select: none;
}

/* ===== WATERMERK OVER AFBEELDINGEN (zeker) ===== */
.watermark{
  position: relative;
  display: inline-block;
}

.watermark img{
  display: block;   /* voorkomt rare inline gaps */
  max-width: 100%;
  height: auto;
}

.watermark::after{
  content: "© van-landschoot.net  © van-landschoot.net  © van-landschoot.net";
  position: absolute;
  inset: 0;                 /* top:0; right:0; bottom:0; left:0; */
  display: flex;
  align-items: center;
  justify-content: center;

  font-size: clamp(16px, 4vw, 34px);
  color: rgba(0,0,0,0.22);  /* zwart, beter zichtbaar */
  background: transparent;

  transform: rotate(-30deg);
  text-align: center;

  pointer-events: none;
  z-index: 2;               /* <-- belangrijk: boven de img */
}


.langbar{
  text-align:right;
  padding:6px 12px;
  font-size:14px;
}

.langbar a{
  margin:0 6px;
  text-decoration:none;
  font-weight:bold;
  color:#5a4a3a;
}

.langbar a:hover{
  text-decoration:underline;
}

.intro{
  margin-bottom:0;
  padding-bottom:0;
}

main{
  margin-bottom:0;
  padding-bottom:0;
}

/* minder ruimte onder menu */
.site-nav{
  margin-bottom:0;
}

/* minder ruimte boven hoofdinhoud */
main{
  margin-top:0;
  padding-top:10px;
}

/* intro niet extra duwen */
.intro{
  margin-top:0;
  padding-top:0;
}

header{
  position:relative;
}

/* taalbalk rechts in header uitlijnen */
.langbar{
  position:absolute;
  right:20px;
  top:50%;
  transform:translateY(-50%);
}

/* ===== LIGHTBOX (NIEUWE VERSIE) ===== */

#lightbox{
  display:none;
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0.85);
  z-index:9999;
  overflow:auto;
  padding:24px;
}

#lightbox.open{
  display:flex;
  align-items:center;
  justify-content:center;
}

.lb-stage{
  position:relative;
  display:inline-block;
  margin:auto;
}

#lightboxImg{
  display:block;
  max-width:95vw;
  max-height:95vh;
  height:auto;
  cursor:zoom-in;
}

#lightbox.zoomed #lightboxImg{
  max-width:none;
  max-height:none;
  cursor:zoom-out;
}

.lb-watermark{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  font-size:clamp(18px,5vw,64px);
  font-weight:800;
  letter-spacing:2px;
  transform:rotate(-18deg);
  color:rgba(255,255,255,0.18);
  pointer-events:none;
  user-select:none;
  z-index:10;
}

.lb-close{
  position:fixed;
  top:18px;
  right:18px;
  font-size:32px;
  background:transparent;
  border:0;
  color:#fff;
  cursor:pointer;
  z-index:10000;
}

/* actief menu-item highlight */
.menu a.active{
  background:#e6d8bf;
  border-radius:6px;
  padding:4px 8px;
  box-shadow: inset 0 0 0 1px rgba(120,95,70,.35);
}

.leaflet-popup-content{
  font-family: Georgia, "Times New Roman", serif;
}

.voc-popup{
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.35;
}

.voc-popup b{
  font-size: 16px;
  color: #7a5c2e;
}

.popup-img{
  width: 220px;
  height: auto;
  border-radius: 6px;
  margin-top: 6px;
  display: block;
}

/* VOC toggle knop dezelfde look als de andere */
.side-btn{
  width:100%;
  display:block;
  padding:14px 16px;
  border-radius:14px;
  border:1px solid rgba(120,100,70,.35);
  background:linear-gradient(#f4ecdf,#efe3d2);
  font-family:inherit;
  font-size:18px;
  cursor:pointer;
  box-shadow:0 6px 18px rgba(0,0,0,.08);
}
.side-btn:hover{ filter:brightness(0.98); }

/* Sidebar compacter + lijst blijft zichtbaar */
.legend-side h2,
.legend-side .title,
.legend-side .panel-title{
  margin: 0 0 8px 0;
}

.legend-side{
  display:flex;
  flex-direction:column;
  height: calc(100vh - 140px); /* pas 140 aan als je banner/menu hoger/lager is */
}

/* Maak het bovenstuk (zoek + knoppen) compacter */
.legend-side .top-block,
.legend-side .controls,
.legend-side .panel-top{
  padding:10px 12px !important;
}

.legend-side input[type="search"],
.legend-side input[type="text"]{
  padding:10px 12px;
  margin:8px 0 10px 0;
}

/* Knoppen compacter */
.legend-side .side-btn{
  padding:10px 12px;
  font-size:16px;
  margin:8px 0;
}

/* Lijst: neemt de rest van de hoogte en krijgt eigen scroll */
#list{
  flex:1;
  overflow:auto;
  min-height:220px;
  padding-right:6px; /* ruimte voor scrollbar */
}

/* ===== SIDEBAR COMPACTER + LIJST SCROLL ===== */

.sidebar{
  display:flex;
  flex-direction:column;
  height: calc(100vh - 120px); /* ruimte voor menu bovenaan */
}

/* Titelblok kleiner */
.sidebar header{
  padding:10px 14px;
}

.sidebar header h2{
  font-size:20px;
  margin:0 0 4px 0;
}

.sidebar header p{
  font-size:14px;
  margin:0;
}

/* Zoekveld compacter */
.sidebar .search input{
  padding:10px;
  margin:8px 0;
}

/* Knoppen compacter */
.sidebar button{
  padding:10px 12px;
  font-size:15px;
  margin:6px 0;
}

/* Lijst krijgt eigen scroll en vult rest */
#list{
  flex:1;
  overflow-y:auto;
  margin-top:10px;
  padding-right:6px;
}

/* ===== Sidebar: controls bovenaan compact + lijst altijd zichtbaar ===== */

.sidebar{
  display:flex;
  flex-direction:column;
  height: calc(100vh - 120px); /* pas 120 aan als je header hoger/lager is */
}

/* Maak het bovenstuk compacter */
.sidebar header{
  padding:8px 12px;
}
.sidebar header h2{
  font-size:18px;
  margin:0 0 4px 0;
}
.sidebar header p{
  font-size:13px;
  margin:0;
}

/* Zoek compacter */
.sidebar .search{
  padding:0 12px;
}
.sidebar .search input{
  padding:9px 10px;
  margin:8px 0 10px 0;
  font-size:14px;
}

/* Knoppen compacter */
.sidebar .world-btn,
.sidebar .side-btn{
  padding:9px 10px;
  font-size:14px;
  margin:6px 12px;
}

/* --- Dit is de sleutel: bovenblok max-hoogte en scroll --- */
/* We vangen je bestaande “bovenstuk” op met :is() selector */
.sidebar > header,
.sidebar > .search,
.sidebar > .world-btn,
.sidebar > .side-btn,
.sidebar > #debugStatus{
  flex: 0 0 auto;
}

/* Stop de “controls” in een scrollvak door de knoppen samen te nemen */
.sidebar{
  gap:0;
}

/* Lijst vult altijd de rest en scrolt */
#list{
  flex:1;
  min-height:160px;
  overflow-y:auto;
  margin-top:8px;
  padding:0 10px 10px 10px;
}

/* Optioneel: maak scrollbar iets subtieler (Chrome/Edge) */
#list::-webkit-scrollbar{ width:10px; }
#list::-webkit-scrollbar-thumb{ border-radius:10px; background:rgba(120,100,70,.25); }
#list::-webkit-scrollbar-track{ background:transparent; }

/* ===== COMPACTE SITE-LAYOUT ===== */

/* Algemene inhoud dichter bij menu */
main,
.wrap{
  margin-top:0 !important;
  padding-top:8px !important;
}

/* Titels niet te ver naar beneden */
h1, h2, h3{
  margin-top:8px;
}

/* Banner strak tegen menu */
.banner{
  margin-bottom:4px;
  padding-bottom:0;
}

/* Navigatiebalk geen extra ruimte */
#site-nav{
  margin-bottom:4px;
}

/* Eerste element in main nooit extra top-marge */
main > *:first-child{
  margin-top:6px !important;
}

.goes-book{
  display:grid;
  grid-template-columns: 300px 1fr;
  gap:22px;
  margin:20px 0;
}

.goes-map img{
  width:100%;
  border:1px solid #cdbfa8;
  border-radius:12px;
  padding:6px;
  background:#fff;
}

.caption{
  font-size:0.95rem;
  color:#6b5a3a;
  margin-top:8px;
}

.book-card{
  display:flex;
  gap:18px;
  background:#fff;
  border:1px solid #cdbfa8;
  border-radius:18px;
  padding:16px;
}

.cover{
  width:160px;
  border:1px solid #cdbfa8;
  border-radius:12px;
  padding:6px;
  background:#fff;
}

.sub{
  color:#6b5a3a;
  margin-bottom:12px;
}

.book-actions{
  display:flex;
  gap:12px;
  align-items:center;
}

.price{
  background:#e8dcc8;
  padding:8px 14px;
  border-radius:999px;
  border:1px solid #cdbfa8;
  font-weight:bold;
}

.btn-open{
  padding:8px 14px;
  border-radius:999px;
  border:1px solid #cdbfa8;
  text-decoration:none;
  background:#f7f1e6;
}

@media(max-width:900px){
  .goes-book{grid-template-columns:1fr;}
  .book-card{flex-direction:column;}
}

/* === GOES afbeeldingen naast elkaar === */

.goes-images{
  display:flex;
  gap:30px;
  margin:25px 0;
  flex-wrap:wrap;
}

.goes-img{
  max-width:320px;
}

.goes-img img{
  width:100%;
  height:auto;
  border:1px solid #cdbfa8;
  border-radius:12px;
  padding:6px;
  background:#fff;
}

.goes-img p{
  margin-top:8px;
  font-size:0.95rem;
  color:#6b5a3a;
}

/* mobiel */
@media(max-width:800px){
  .goes-images{
    flex-direction:column;
  }
}

/* GOES afbeeldingen naast elkaar */

./* GOES: kaart + boek naast elkaar, ook met linkermenu */
.goes-images{
  display:grid !important;
  grid-template-columns: minmax(260px, 1fr) minmax(180px, 260px);
  gap:26px;
  align-items:start;
  width:80%;
  max-width:80%;
}

.goes-img img{
  width:100%;
  height:auto;
  border:1px solid #cdbfa8;
  border-radius:10px;
  padding:6px;
  background:#fff;
  display:block;
}

.goes-img p{
  margin:8px 0 0;
  font-size:0.95rem;
  color:#6b5a3a;
}

/* Smalle schermen: automatisch onder elkaar */
@media (max-width: 900px){
  .goes-images{
    grid-template-columns: 1fr;
  }
}

.goes-images{ 
  width:100% !important;
  white-space: nowrap !important;
}

.goes-images .goes-img{
  display:inline-block !important;
  vertical-align: top !important;
  width:48% !important;        /* 2 naast elkaar */
  white-space: normal !important;
  margin-right:2% !important;
}

.goes-images .goes-img:last-child{
  margin-right:0 !important;
}

/* BUILD: 2026-02-17 18:55 */

html { scroll-behavior: smooth; }

/* ===== Site Update Announcement ===== */

.site-update{
  margin: 22px 0 26px;
  padding: 18px 22px;
  border: 2px solid #bfa985;
  border-radius: 18px;
  background: linear-gradient(
    180deg,
    rgba(232,220,200,0.90) 0%,
    rgba(245,239,230,0.95) 100%
  );
  box-shadow: 0 10px 28px rgba(0,0,0,0.08);
  position: relative;
}

.site-update::before{
  content: "✦ NEW WEBSITE UPDATE ✦";
  position: absolute;
  top: -14px;
  left: 22px;
  background: #f5efe6;
  padding: 4px 12px;
  font-size: 0.85rem;
  letter-spacing: 1px;
  border: 1px solid #cdbfa8;
  border-radius: 999px;
  color: #3e4a3f;
}

.site-update h2{
  margin: 8px 0 12px;
  font-size: 1.25rem;
  color: #3e4a3f;
}

.site-update p{
  margin: 8px 0;
  line-height: 1.6;
  font-size: 1.02rem;
}

.site-update strong{
  color: #2f2a1f;
}

/* ===== Heraldic Site Update Frame ===== */

.site-update{
  margin: 28px 0 34px;
  padding: 26px 28px;
  border-radius: 20px;

  /* dubbele gouden rand */
  border: 3px solid #bfa14a;
  box-shadow:
    0 0 0 4px #f5efe6,
    0 0 0 6px #bfa14a,
    0 14px 32px rgba(0,0,0,0.10);

  background:
    linear-gradient(rgba(255,255,255,0.88), rgba(255,255,255,0.88)),
    url("/img/perkament.jpg") center/cover no-repeat;

  position: relative;
}

.site-update::before{
  content: "✦ OFFICIAL WEBSITE ANNOUNCEMENT ✦";
  position: absolute;
  top: -18px;
  left: 30px;

  background: #f5efe6;
  padding: 6px 16px;
  font-size: 0.85rem;
  letter-spacing: 2px;

  border: 2px solid #bfa14a;
  border-radius: 999px;

  font-weight: 600;
  color: #3e4a3f;
}

.site-update h2{
  margin: 10px 0 14px;
  font-size: 1.35rem;
  color: #2f2a1f;
}

.site-update p{
  margin: 10px 0;
  line-height: 1.65;
  font-size: 1.05rem;
}

.site-update strong{
  color: #2f2a1f;
}

/* ===== Heraldic Site Update Frame ===== */
.site-update{
  margin: 22px 0 26px;
  padding: 22px 24px;
  border-radius: 18px;

  border: 3px solid #bfa14a;
  box-shadow:
    0 0 0 4px rgba(245,239,230,0.95),
    0 0 0 6px #bfa14a,
    0 14px 32px rgba(0,0,0,0.10);

  background:
    linear-gradient(rgba(255,255,255,0.86), rgba(255,255,255,0.86)),
    url("/img/perkament.jpg") center/cover no-repeat;

  position: relative;
}

.site-update::before{
  content: "✦ OFFICIAL WEBSITE ANNOUNCEMENT ✦";
  position: absolute;
  top: -16px;
  left: 18px;
  background: rgba(245,239,230,0.96);
  padding: 6px 14px;

  font-size: 0.82rem;
  letter-spacing: 2px;
  border: 2px solid #bfa14a;
  border-radius: 999px;
  font-weight: 700;
  color: #3e4a3f;
}

.site-update h2{
  margin: 6px 0 12px;
  font-size: 1.35rem;
  color: #2f2a1f;
}

.site-update p{
  margin: 10px 0;
  line-height: 1.65;
  font-size: 1.05rem;
}

/* =========================
   HOME — opvallend kader "site-update"
   (plak onderaan /css/style.css)
========================= */

.site-update{
  margin: 14px 0 18px;
  padding: 16px 18px;
  border-radius: 16px;

  /* “perkament” gevoel binnen het kader */
  background: rgba(247,241,230,0.78);

  /* gouden rand */
  border: 2px solid #bfa985;

  /* extra diepte */
  box-shadow: 0 10px 26px rgba(0,0,0,0.08);

  position: relative;
  overflow: hidden;
}

.site-update::before{
  content:"";
  position:absolute;
  inset: 8px;
  border-radius: 12px;

  /* tweede (binnen)lijn voor “heraldieke” look */
  border: 1px solid rgba(191,169,133,0.75);
  pointer-events:none;
}

.site-update h2{
  margin: 2px 0 10px;
  font-size: 1.35rem;
  line-height: 1.2;
}

.site-update p{
  margin: 0 0 10px;
  line-height: 1.6;
}

.site-update p:last-child{ margin-bottom: 0; }

.site-update{
  background:
    radial-gradient(circle at top left, rgba(191,169,133,0.20), transparent 45%),
    radial-gradient(circle at bottom right, rgba(191,169,133,0.14), transparent 45%),
    rgba(247,241,230,0.78);
}

/* Fix: zorg dat het kader echt “los” staat van de tekst eronder */
.site-update{
  display: block;
  clear: both;
  margin: 26px 0 26px;
}

/* Extra lucht na het kader (voor de volgende paragraaf) */
.site-update + p{
  margin-top: 18px;
}
/* Maak het kader 100% opaak + altijd bovenop */
.site-update{
  background: #fff !important;     /* <-- geen doorschijn meer */
  position: relative !important;
  z-index: 5 !important;
}
/* FIX: tekst niet flets / niet "achter" de achtergrond */
.site-update{
  opacity: 1 !important;                 /* <-- super belangrijk */
  background: #f3ead7 !important;        /* of #fff als je wit wil */
  color: #2f2a1f !important;
}

.site-update h2,
.site-update p{
  opacity: 1 !important;
  color: #2f2a1f !important;
}

/* ===== FORCE SOLID ANNOUNCEMENT BLOCK ===== */

.site-update{
  background-color: #f3ead7 !important;   /* volledig dekkend */
  background-image: none !important;      /* verwijder gradients */
  opacity: 1 !important;                  /* geen transparantie */
  color: #2f2a1f !important;
  z-index: 5 !important;
  position: relative !important;
}

.site-update h2{
  color: #2f2a1f !important;
}

.site-update p{
  color: #2f2a1f !important;
}

.page-titlebar{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:16px;
}

.page-titlebar h1{
  margin:0;
}

/* knopje rechts, in jouw perkamentstijl */
.title-link{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(205,191,168,0.9);
  background: rgba(246,240,231,0.92);
  text-decoration:none;
  font-weight:700;
  font-size:0.95rem;
  color:#7a5c2e;
  white-space:nowrap;
}

.title-link:hover{
  text-decoration:underline;
}

/* mobiel: netjes onder elkaar */
@media (max-width: 700px){
  .page-titlebar{
    flex-direction:column;
    align-items:flex-start;
  }
}

/* Zorg dat elk submenu boven andere elementen ligt */
nav ul li {
  position: relative;
}

nav ul li ul {
  position: absolute;
  z-index: 9999;
}

/* Extra zekerheid voor nested dropdowns */
nav ul li ul li ul {
  z-index: 10000;
}

.wrap{
  max-width: 980px;
  margin: 0 auto;
  padding: 0 22px;
}

.page-frame{
  background: rgba(252,250,246,0.92);
  border: 1px solid rgba(205,191,168,0.85);
  border-radius: 18px;
  padding: 28px 30px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.05);
}
.page-frame h1{
  font-size: 42px;
  margin-bottom: 18px;
}
/* Voorkom “extra ruimte” door 100vh op mobiele browsers */
@media (max-width: 900px){
  .right-rail{ position: relative !important; top:auto !important; }
  .page-frame{ min-height: auto !important; }
}

/* Zorg dat iframes niet stiekem extra hoogte veroorzaken */
iframe{ display:block; }

/* ==============================
   MOBILE NAV FIX
============================== */





/* Hamburger knop (standaard verborgen op desktop) */
.site-nav{ position: relative; }



/* MOBILE */
@media (max-width: 900px){

 

  /* verberg het menu standaard */
  .site-nav #mainmenu{
    display:none;
    flex-direction:column;
    gap:0;
    margin-top:50px;
    background:#f4efe6;
    border-top:1px solid #cdbfa8;
    padding:10px 0;
  }

  /* toon als open */
  .site-nav #mainmenu.show{
    display:flex;
  }

  .site-nav #mainmenu > li > a{
    display:block;
    padding:12px 16px;
  }
}
.page-header{
  position:relative;
}
.top-actions{
  margin-top:10px;
}

/* =========================
   NAV SUBMENU — 2 niveaus (stabiel)
========================= */

/* Parent is referentiepunt voor absolute submenu’s */
.site-nav li.has-sub{
  position: relative;
}

/* Submenu basis */
.site-nav .submenu{
  display: none;
  position: absolute;
  z-index: 3000;
  min-width: 150px;      /* smaller basisbreedte */
  width: max-content;    /* past zich aan aan tekst */
  background: #f4efe6;
  border: 1px solid #cdbfa8;
  box-shadow: 0 10px 22px rgba(0,0,0,0.08);
  padding: 6px 0;
}

/* Niveau 1: onder hoofditem */
.site-nav > ul > li.has-sub > .submenu{
  top: 100%;
  left: 0;
}

/* Niveau 2: rechts van het item (fly-out) + jouw ½ cm extra */
.site-nav .submenu li.has-sub > .submenu{
  top: 0;
  left: 100%;
  transform: translateX(2px);   /* veel subtieler */
}

/* Toon submenu bij hover */
.site-nav li.has-sub:hover > .submenu{
  display: block;
}

/* Links in submenu: groter klikvlak + inspringen */
.site-nav .submenu a{
  display: block;
  padding: 6px 14px;
  line-height: 1.2;
  transition: transform .12s ease, padding-left .12s ease, background-color .12s ease;
}

.site-nav .submenu a:hover,
.site-nav .submenu a:focus{
  padding-left: 24px;
  transform: translateX(4px);
  background: rgba(205,191,168,0.25);
}

/* Optioneel: subtiele “niveau” indicatie */
.site-nav .submenu{
  border-left: 1px solid rgba(205,191,168,0.7);
}

.site-nav a[target="_blank"]::after{
  content: " ↗";
  font-size: 0.8em;
}

/* Intro container */

.intro-flex{
display:flex;
gap:30px;
align-items:flex-start;
}

.intro-text{
flex:2;
}

.intro-image{
flex:1;
text-align:center;
}

.intro-image img{
width:100%;
max-width:420px;
border:1px solid #bfa985;
box-shadow:0 2px 8px rgba(0,0,0,0.15);
}

.caption{
font-size:0.9em;
color:#666;
margin-top:6px;
}

/* Smartphone */

@media (max-width: 800px){

.intro-flex{
flex-direction:column;
}

.intro-image{
margin-top:15px;
}

}

/* Intro naast kaart (desktop), onder elkaar (mobiel) */
.intro-flex{ display:flex; gap:22px; align-items:flex-start; flex-wrap:wrap; }
.intro-text{ flex: 1 1 420px; min-width: 280px; }
.intro-image{ flex: 0 1 420px; text-align:center; }
.intro-image img{ width:100%; max-width:420px; height:auto; display:block; margin:0 auto; }
.caption{ font-size:0.9em; opacity:0.75; margin-top:8px; }

/* Mobiel: altijd netjes onder elkaar */
@media (max-width: 800px){
  .intro-flex{ flex-direction:column; }
}



/* hamburger knop */

#hamburger{
  display:none;
  flex-direction:column;
  cursor:pointer;
  gap:5px;
  background:none;
  border:none;
}

#hamburger span{
  width:26px;
  height:3px;
  background:#333;
  display:block;
  transition:.3s;
}

/* animatie */

#hamburger.open span:nth-child(1){
  transform:rotate(45deg) translate(5px,5px);
}

#hamburger.open span:nth-child(2){
  opacity:0;
}

#hamburger.open span:nth-child(3){
  transform:rotate(-45deg) translate(6px,-6px);
}

/* menu */

#mainmenu{
  display:flex;
  gap:20px;
}

/* mobiel */

@media (max-width:900px){

  #hamburger{
    display:flex;
  }

  #mainmenu{
    display:none;
    flex-direction:column;
    background:#efe4cf;
    border:1px solid #cdbfa8;
    padding:12px;
    margin-top:10px;
  }

  #mainmenu.show{
    display:flex;
  }

}
/* ===== NAV / HAMBURGER (SINGLE SOURCE OF TRUTH) ===== */

/* basis */
#site-nav{ display:block; }

/* Desktop: toon menu, verberg hamburger */
#hamburger{ display:none; }

.site-nav ul#mainmenu{
  display:flex;
  gap:18px;
  align-items:center;
  list-style:none;
  margin:0;
  padding:0;
}

/* Mobiel */
@media (max-width: 900px){

  #hamburger{
    display:flex !important;
    flex-direction:column;
    gap:5px;
    cursor:pointer;
    background:none;
    border:none;
    padding:8px;
  }

  #hamburger span{
    width:26px;
    height:3px;
    background:#333;
    display:block;
    transition:.3s;
  }

  /* menu standaard dicht */
  .site-nav ul#mainmenu{
    display:none !important;
    flex-direction:column;
    gap:10px;
    background:#efe4cf;
    border:1px solid #cdbfa8;
    padding:12px;
    margin-top:10px;
  }

  /* menu open */
  .site-nav ul#mainmenu.show{
    display:flex !important;
  }

  /* icoon animatie */
  #hamburger.open span:nth-child(1){
    transform:rotate(45deg) translate(5px,5px);
  }
  #hamburger.open span:nth-child(2){
    opacity:0;
  }
  #hamburger.open span:nth-child(3){
    transform:rotate(-45deg) translate(6px,-6px);
  }
}

/* ===== HAMBURGER MENU (enkel #hamburger + #mainmenu) ===== */

/* Desktop */
#hamburger{ display:none; }

/* jouw hoofdmenu-ul */
.site-nav ul#mainmenu{
  display:flex;
  gap:18px;
  align-items:center;
  list-style:none;
  margin:0;
  padding:0;
}

/* Mobiel */
@media (max-width: 900px){

  #hamburger{
    display:flex;
    flex-direction:column;
    gap:5px;
    cursor:pointer;
    background:none;
    border:none;
    padding:8px;
  }

  #hamburger span{
    width:26px;
    height:3px;
    background:#333;
    display:block;
    transition:.3s;
  }

  .site-nav ul#mainmenu{
    display:none;                 /* dicht */
    flex-direction:column;
    gap:10px;
    background:#efe4cf;
    border:1px solid #cdbfa8;
    padding:12px;
    margin-top:10px;
  }

  .site-nav ul#mainmenu.show{
    display:flex;                 /* open */
  }

  #hamburger.open span:nth-child(1){
    transform:rotate(45deg) translate(5px,5px);
  }
  #hamburger.open span:nth-child(2){
    opacity:0;
  }
  #hamburger.open span:nth-child(3){
    transform:rotate(-45deg) translate(6px,-6px);
  }
}
.sidepanel .list{
  max-height: calc(72vh - 180px);
  overflow-y: auto;
}
/* ===== Emigratie sidepanel upgrade ===== */

.sidepanel{
  background: rgba(245,239,230,.95);
  border: 1px solid rgba(80,60,30,.35);
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,.12);
  padding: 10px 12px;
  font-size: 14px;
}

.sidepanel h3{
  margin: 6px 0 10px;
  font-size: 16px;
  letter-spacing: .3px;
}

.sidepanel .list{
  max-height: calc(72vh - 180px);
  overflow-y: auto;
  padding-right: 6px;
}

.sidepanel .item{
  padding: 8px 6px;
  border-bottom: 1px dashed rgba(80,60,30,.25);
  line-height: 1.35;
}

.sidepanel .item:hover{
  background: rgba(191,169,133,.15);
}

.sidepanel b{
  color: #4c3b1f;
}
.sidepanel .list::-webkit-scrollbar{ width:6px }
.sidepanel .list::-webkit-scrollbar-thumb{ background:#c7b28a; border-radius:6px }


/* =========================================
   NAVIGATION – desktop + tablet + mobiel
   Plaats helemaal ONDERAAN style.css
========================================= */

/* buitenste navigatiebalk */
.site-nav{
  position: relative;
  z-index: 5000;
  width: 100%;
  background: #d8d2c8;
  border-top: 1px solid #b9b1a4;
  border-bottom: 1px solid #b9b1a4;
  box-sizing: border-box;
}

/* hamburger standaard uit op desktop */
#hamburger{
  display: none;
}

/* hoofdnavigatie */
#mainmenu{
  display: flex;
  justify-content: center;   /* DIT centreert je menu */
  align-items: center;
  gap: 34px;
  list-style: none;
  margin: 0;
  padding: 0 18px;
  min-height: 48px;
}

/* alle li’s */
#mainmenu > li{
  position: relative;
}

/* links hoofdnavigatie */
#mainmenu > li > a{
  display: block;
  padding: 14px 4px;
  text-decoration: none;
  color: #2f2418;
  font-size: 1.05rem;
  line-height: 1.2;
  white-space: nowrap;
}

/* hover hoofdnavigatie */
#mainmenu > li > a:hover{
  color: #6b4b2a;
}

/* submenu standaard verborgen */
.site-nav .submenu{
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  list-style: none;
  margin: 0;
  padding: 6px 0;
  background: #ece6da;
  border: 1px solid #b9b1a4;
  box-shadow: 0 8px 18px rgba(0,0,0,0.12);
  z-index: 6000;
}

/* submenu-items */
.site-nav .submenu li{
  position: relative;
}

/* submenu-links */
.site-nav .submenu a{
  display: block;
  padding: 10px 14px;
  text-decoration: none;
  color: #2f2418;
  white-space: nowrap;
  font-size: 0.98rem;
}

.site-nav .submenu a:hover{
  background: #e2dbcf;
  color: #6b4b2a;
}

/* submenu rechts naast submenu */
.site-nav .submenu .submenu{
  top: -1px;
  left: 100%;
}

/* desktop hover */
@media (min-width: 901px){
  .site-nav li:hover > .submenu{
    display: block;
  }
}

/* =========================
   TABLET + MOBIEL
========================= */
@media (max-width: 900px){

  .site-nav{
    padding: 0;
  }

  #hamburger{
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    margin: 8px 12px;
    background: none;
    border: none;
    cursor: pointer;
  }

  #hamburger span{
    display: block;
    width: 26px;
    height: 3px;
    background: #333;
    border-radius: 2px;
  }

  #mainmenu{
    display: none;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    width: 100%;
    padding: 0;
    min-height: auto;
    background: #d8d2c8;
    border-top: 1px solid #b9b1a4;
  }

  #mainmenu.show{
    display: flex;
  }

  #mainmenu > li{
    width: 100%;
    border-bottom: 1px solid rgba(90,70,40,0.12);
  }

  #mainmenu > li > a{
    padding: 14px 16px;
  }

  .site-nav .submenu{
    position: static;
    display: none;
    min-width: 100%;
    border: 0;
    box-shadow: none;
    background: #e7e0d4;
    padding: 0;
  }

  .site-nav .submenu .submenu{
    position: absolute;
  }

  .site-nav li.open > .submenu{
    display: block;
  }

  .site-nav .submenu a{
    padding: 11px 20px;
  }

  .site-nav .submenu .submenu a{
    padding-left: 34px;
  }
}

/* =========================
   NAV HOVER – atlas stijl
========================= */

#mainmenu > li > a{
  position: relative;
  transition: color 0.25s ease;
}

/* zachte goudkleur bij hover */
#mainmenu > li > a:hover{
  color: #8a6a2f;
}

/* subtiele onderlijn */
#mainmenu > li > a::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: 6px;
  width: 0%;
  height: 2px;
  background: linear-gradient(to right,#bfa985,#8a6a2f);
  transition: width 0.25s ease;
}

#mainmenu > li > a:hover::after{
  width: 100%;
}
/* ===== submenu centreren onder menu-item ===== */

.site-nav #mainmenu > li > .submenu{
  left:50%;
  transform:translateX(-50%);
}

.site-nav .submenu{
  display:none;
  position:absolute;
  top:100%;
  left:50%;
  transform:translateX(-50%);
  min-width:180px;

  background:#e7e0d4;
  border:1px solid #b9b1a4;
  box-shadow:0 6px 14px rgba(0,0,0,0.15);

  list-style:none;
  padding:6px 0;
  margin:0;
}

/* ===== STABIELE 2-KOLOM LAYOUT ===== */

.story-layout{
  display:grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(280px, 1fr);
  gap:28px;
  align-items:start;
}

/* voorkomt dat tekst containers breder worden dan grid */
.story-main,
.story-side{
  min-width:0;
}

/* ===== TABLET AANPASSING ===== */

@media (max-width: 1100px){

  .story-layout{
    grid-template-columns: 1fr 320px;
  }

}

/* ===== MOBIEL ===== */

@media (max-width: 850px){

  .story-layout{
    grid-template-columns: 1fr;
  }

  .story-side{
    margin-top:20px;
  }

}
.story-main p{
  line-height:1.65;
}
/* ===== Historische tijdlijn ===== */

.timeline{
  margin-top:20px;
  border-left:3px solid #bfa985;
  padding-left:14px;
}

.timeline div{
  margin-bottom:12px;
  position:relative;
}

.timeline div::before{
  content:"";
  width:10px;
  height:10px;
  background:#bfa985;
  border-radius:50%;
  position:absolute;
  left:-19px;
  top:4px;
}

.timeline strong{
  display:block;
  font-weight:600;
}

/* ===== PERSON CARDS ===== */

.person-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(320px,1fr));
  gap:24px;
}

.person-card{
  background:#f6f1e5;
  border:1px solid #d9cdb6;
  border-radius:14px;
  overflow:hidden;
  box-shadow:0 4px 14px rgba(0,0,0,.08);
  transition:transform .15s ease;
}

.person-card:hover{
  transform:translateY(-3px);
}

.card-image{
  display:block;
}

.card-image img{
  width:100%;
  height:340px;            /* vaste hoogte */
  object-fit:cover;        /* vult kader */
  display:block;
}

.card-content{
  padding:16px 18px 20px;
}

.card-content h3{
  margin:0 0 6px;
  font-size:1.25rem;
}

.card-meta{
  font-size:.9rem;
  color:#6b6b6b;
  margin-bottom:10px;
}

.card-content p{
  font-size:.95rem;
  line-height:1.5;
}

/* ===== HISTORICAL NOTE BOX ===== */

.note-box{
  margin:20px 0;
  padding:18px 22px;

  background: linear-gradient(rgba(250,245,235,.95), rgba(245,239,230,.95));
  border:1px solid rgba(120,90,40,.45);
  border-left:6px solid #bfa35a;

  border-radius:10px;
  box-shadow:0 6px 16px rgba(0,0,0,.08);

  font-size:0.98rem;
  line-height:1.6;
}

.note-box strong{
  color:#6b4e2e;
}

/* ===== STORY PAGE / BIO LAYOUT ===== */

.story-container{
  max-width: 1320px;
  margin: 24px auto;
  padding: 18px;
  display: grid;
  grid-template-columns: minmax(0, 2.15fr) minmax(300px, 0.95fr);
  gap: 24px;
  align-items: start;
}

.story-main,
.story-side{
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(0,0,0,.10);
}

/* grote container links */
.story-main{
  padding: 26px 28px;

  background:
    radial-gradient(1200px 500px at 20% 0%, rgba(255,255,255,.55), rgba(255,255,255,0)),
    linear-gradient(rgba(252,248,240,.97), rgba(248,243,233,.97));

  border: 1px solid rgba(110,85,45,.28);
}

/* kleine container rechts */
.story-side{
  padding: 18px;
  background:
    radial-gradient(700px 260px at 20% 0%, rgba(255,255,255,.30), rgba(255,255,255,0)),
    linear-gradient(rgba(236,228,213,.97), rgba(229,219,201,.97));
  border: 1px solid rgba(110,85,45,.34);
}

.story-main h2{
  margin-top: 0;
  margin-bottom: 16px;
  color: #5c4328;
}

.story-main h3{
  margin-top: 28px;
  color: #6b4e2e;
  border-bottom: 1px solid rgba(120,90,40,.20);
  padding-bottom: 6px;
}

.story-main p,
.story-side p{
  line-height: 1.7;
  color: #2f2a24;
}

.years{
  color: #8a6a3c;
  font-size: .92em;
  font-weight: normal;
}

.story-side-top{
  margin-bottom: 16px;
}

.story-side-top img{
  width: 100%;
  max-width: 260px;
  display: block;
  margin: 0 auto 14px auto;
  border-radius: 12px;
  border: 2px solid rgba(191,169,133,.85);
  box-shadow: 0 8px 18px rgba(0,0,0,.12);
}

.person-card{
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(255,248,238,.72);
  border: 1px solid rgba(120,90,40,.24);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.55);
}

.person-card-head h3{
  margin: 0 0 12px 0;
  color: #6b4e2e;
  border-bottom: 1px solid rgba(120,90,40,.18);
  padding-bottom: 8px;
}

/* images in article */
.story-image{
  display: block;
  max-width: 100%;
  height: auto;
  margin: 18px auto;
  border-radius: 10px;
  border: 2px solid rgba(191,169,133,.78);
  box-shadow: 0 8px 20px rgba(0,0,0,.10);
}

/* intro note box */
.note-box{
  margin: 20px 0 24px 0;
  padding: 16px 20px;
  background: linear-gradient(rgba(250,245,235,.96), rgba(245,239,230,.96));
  border: 1px solid rgba(120,90,40,.34);
  border-left: 6px solid #bfa35a;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0,0,0,.07);
}

/* ===== SLIDESHOW / GALLERY ===== */

.story-gallery{
  margin-top: 34px;
  padding: 18px;
  border-radius: 16px;
  background:
    radial-gradient(900px 280px at 20% 0%, rgba(255,255,255,.24), rgba(255,255,255,0)),
    linear-gradient(rgba(238,230,216,.98), rgba(230,220,203,.98));
  border: 1px solid rgba(110,85,45,.30);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35);
}

.story-gallery h3{
  margin-top: 0;
}

.slideshow{
  position: relative;
  max-width: 760px;
  margin: 0 auto;
}

.slide{
  display: none;
  text-align: center;
}

.slide.active{
  display: block;
}

.slide img{
  width: 100%;
  max-height: 620px;
  object-fit: contain;
  background: rgba(255,255,255,.38);
  border-radius: 12px;
  border: 2px solid rgba(191,169,133,.82);
  box-shadow: 0 10px 22px rgba(0,0,0,.11);
}

.slide-caption{
  margin-top: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(255,248,239,.82);
  border: 1px solid rgba(120,90,40,.20);
  font-size: .97rem;
  line-height: 1.55;
  color: #4a3a29;
}

.slide-controls{
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.slide-controls button{
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(120,90,40,.28);
  background: linear-gradient(#f5efe6, #e8dcc9);
  color: #5f472c;
  cursor: pointer;
  font: inherit;
  box-shadow: 0 2px 7px rgba(0,0,0,.08);
}

.slide-controls button:hover{
  transform: translateY(-1px);
}

.source-note{
  font-size: .95rem;
  color: #5e5141;
  margin-top: 12px;
}

@media (max-width: 980px){
  .story-container{
    grid-template-columns: 1fr;
  }

  .story-side-top img{
    max-width: 220px;
  }
}
/* ===== ACKNOWLEDGEMENT BOX ===== */

.credit-box{
  margin: 32px 0 18px 0;
  padding: 18px 22px;

  background:
    radial-gradient(600px 240px at 15% 0%, rgba(255,255,255,.35), rgba(255,255,255,0)),
    linear-gradient(rgba(248,242,232,.96), rgba(238,229,210,.96));

  border: 1px solid rgba(120,90,40,.35);
  border-left: 6px solid #c8a75a;

  border-radius: 12px;

  box-shadow: 0 8px 18px rgba(0,0,0,.08);
}

.credit-box h3{
  margin-top:0;
  color:#6b4e2e;
  font-size:1.1rem;
}

.credit-box p{
  margin:8px 0;
  line-height:1.6;
}

/* image in right column */

.side-photo{
  margin-top:18px;
  text-align:center;
}

.side-photo img{
  max-width:100%;
  height:auto;
  border-radius:10px;
  border:2px solid rgba(191,169,133,.8);
  box-shadow:0 6px 14px rgba(0,0,0,.12);
}

.side-caption{
  font-size:.9rem;
  margin-top:6px;
  color:#5a4a36;
}
.person-image{
  width:100%;
  aspect-ratio: 3 / 4;   /* zelfde portret verhouding */
  overflow:hidden;
  border-radius:14px;
  border:2px solid rgba(191,169,133,.85);
  box-shadow:0 8px 18px rgba(0,0,0,.12);
}

.person-image img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.person-image{
  width:100%;
  height:320px;          /* vaste hoogte voor alle kaarten */
  overflow:hidden;

  padding:8px;
  background:#efe6d4;

  border-radius:16px;
  border:2px solid rgba(191,169,133,.8);
}
.person-image img{
  width:100%;
  height:100%;
  object-fit:cover;      /* vult de container */
  object-position:center top;

  border-radius:12px;
  border:2px solid rgba(191,169,133,.6);

  filter:sepia(20%) contrast(95%) brightness(98%);
}
.person-image img[alt*="Charles"]{
  object-position:center 20%;
}
.with-medal{
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.medal-icon{
  width:22px;
  height:auto;
  margin-left:8px;
  opacity:.85;
}
.medal-icon:hover{
  opacity:1;
  transform:scale(1.05);
}

.card .thumb{
  position: relative;
  height: 200px;       /* zelfde hoogte als je andere cards */
  overflow: hidden;
  border-radius: 10px 10px 0 0;
}

/* Card thumbnail fix */
.card .thumb{
  position: relative;
  height: 160px;      /* vaste thumbnail hoogte */
  overflow: hidden;
}

.card .thumb img{
  width: 100%;
  height: 100%;
  object-fit: cover;  /* afbeelding wordt netjes bijgesneden */
  display: block;
}
.map-frame img,
.thumb img{
  width:100%;
  height:auto;
  display:block;
  object-fit:contain;
}
.map-frame{
  max-width:900px;
  margin:auto;
}
img{
  max-width:100%;
  height:auto;
}

#image-overlay{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background:rgba(0,0,0,0.75);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:9999;
}

#image-overlay img{
  max-width:90%;
  max-height:90%;
  border:4px solid white;
  border-radius:8px;
  box-shadow:0 10px 30px rgba(0,0,0,.5);
  background:white;
  cursor:pointer;
}

.chart-media img{
  cursor:zoom-in;
}

.hub-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(240px, 1fr));
  gap:18px;
  margin-top:20px;
}

.hub-card{
  display:block;
  text-decoration:none;
  color:inherit;
  background:rgba(255,255,255,0.78);
  border:1px solid #d7c7ab;
  border-radius:14px;
  padding:18px;
  box-shadow:0 6px 16px rgba(0,0,0,.05);
  transition:transform .18s ease, box-shadow .18s ease;
}

.hub-card:hover{
  transform:translateY(-4px);
  box-shadow:0 10px 22px rgba(0,0,0,.09);
}

.hub-card h3{
  margin:0 0 8px;
  color:#4d3b2c;
  font-size:1.08rem;
}

.hub-card p{
  margin:0;
  color:#5f5243;
  line-height:1.65;
}

.hub-icon{
  font-size:28px;
  font-family:
    "Apple Color Emoji",
    "Segoe UI Emoji",
    "Noto Color Emoji",
    sans-serif;
}

.hub-icon{
  width:54px;
  height:54px;
  margin:0 auto 12px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:28px;
  background:#efe6d3;
  border-radius:50%;
  border:1px solid #d7c7ab;
}
.hub-card{
  transition:transform .2s ease, box-shadow .2s ease;
}

.hub-card:hover{
  transform:translateY(-4px);
  box-shadow:0 10px 22px rgba(0,0,0,.08);
}

.hub-card:hover .hub-icon{
  transform:scale(1.08);
}

.migration-route{
  max-width:900px;
  margin:14px auto 28px;
  display:flex;
  align-items:center;
  gap:10px;
  color:#6b5a45;
  font-size:0.9rem;
}

.route-start,
.route-end{
  white-space:nowrap;
  font-weight:600;
  color:#7a664e;
}

.route-line{
  flex:1;
  height:2px;
  background:
    repeating-linear-gradient(
      to right,
      #bfa985,
      #bfa985 6px,
      transparent 6px,
      transparent 12px
    );
  position:relative;
}

.route-ship{
  font-size:18px;
  margin-left:-6px;
  color:#8b6f4a;
  opacity:0.9;
}
.migration-route{
  max-width:900px;
  margin:18px auto 28px;
  display:flex;
  align-items:center;
  gap:12px;
  font-size:.9rem;
  color:#6b5a45;
}

.route-start,
.route-end{
  font-weight:600;
  white-space:nowrap;
}

/* zachte oceaanband */
.route-sea{
  flex:1;
  padding:12px 0;
  background:
    linear-gradient(
      to bottom,
      rgba(150,180,190,.15),
      rgba(120,160,175,.25),
      rgba(150,180,190,.15)
    );
  border-radius:6px;
}

/* stippellijn route */
.route-line{
  height:2px;
  position:relative;
  background:
   background:
repeating-linear-gradient(
  to right,
  #cdbfa8 0 6px,
  transparent 6px 12px
);
}

/* schip */
.route-ship{
  position:absolute;
  top:-20px;
  left:55%;          /* vaste positie op de oceaan */
  width:32px;
  height:auto;
  filter:drop-shadow(0 2px 3px rgba(0,0,0,.25));
}

.inline-photo img{
  max-width:420px;
  width:100%;
  height:auto;
  display:block;
  margin:auto;
}

/* Paper container voor story pagina's */

.paper{
  max-width:1180px;
  margin:18px auto;
  padding:22px;

  background:
  linear-gradient(rgba(247,242,232,.96), rgba(247,242,232,.96)),
  url("/img/perkament.jpg") center/cover;

  border:1px solid #cdbfa8;
  border-radius:16px;
  box-shadow:0 12px 28px rgba(0,0,0,.12);
}

.quick-summary{
  background:#f5efe6;
  border:1px solid #cdbfa8;
  border-radius:14px;
  padding:18px 20px;
  box-shadow:0 6px 14px rgba(0,0,0,.06);
}

.quick-summary h3{
  margin-top:0;
  font-size:1.3rem;
}

.quick-summary ul{
  padding-left:20px;
  margin:10px 0 0 0;
}

.quick-summary li{
  margin-bottom:8px;
  line-height:1.5;
}

.quick-summary strong{
  font-weight:600;
}

.quick-summary{
  background:#f5efe6;
  border:1px solid #cdbfa8;
  border-radius:14px;
  padding:18px 22px;
  box-shadow:0 6px 14px rgba(0,0,0,.06);
}

.quick-summary h3{
  margin-top:0;
  margin-bottom:10px;
  font-size:1.25rem;
}

.quick-summary ul{
  margin:0;
  padding-left:20px;
}

.quick-summary li{
  margin-bottom:8px;
  line-height:1.55;
}

.quick-summary strong{
  font-weight:600;
}

.story-photo{
  margin:0 0 18px 0;
  text-align:center;
}

.story-photo img{
  width:100%;
  height:auto;
  border-radius:10px;
  border:1px solid #cdbfa8;
}

.story-photo figcaption{
  margin-top:6px;
  font-size:.92rem;
  color:#5a5a5a;
  line-height:1.4;
}

.video-caption{
  margin-top:6px;
  font-size:.85rem;
  opacity:.8;
  text-align:center;
}

.footer-links{
  text-align:center;
  margin-top:12px;
  font-size:13px;
}

.footer-links a{
  color:#6b4f2a;
  text-decoration:none;
}

.footer-links a:hover{
  text-decoration:underline;
}
#cookie-banner{
  position:fixed;
  bottom:0;
  left:0;
  width:100%;
  background:#f7f1e6;
  border-top:2px solid #b8a57d;
  box-shadow:0 -2px 10px rgba(0,0,0,0.2);
  z-index:9999;
}

.cookie-inner{
  max-width:1000px;
  margin:auto;
  padding:12px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
}

.cookie-buttons button{
  background:#b8a57d;
  border:none;
  padding:6px 12px;
  margin-left:6px;
  color:white;
  border-radius:6px;
  cursor:pointer;
}

.cookie-buttons button:hover{
  background:#9c8a63;
}

/* Hoofdmenu */
#mainmenu{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:0;
}

#mainmenu li{
  margin:0;
  padding:0;
}

#mainmenu a{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  min-height:54px;
  padding:10px 18px 8px;
  text-decoration:none;
  color:#3f3428;
  line-height:1.1;
  position:relative;
  transition:background .2s ease, color .2s ease;
}

#mainmenu a .nav-en{
  display:block;
  font-size:0.68rem;
  font-weight:400;
  color:#8a7a63;
  margin-top:3px;
  letter-spacing:0.2px;
  opacity:0;
  transform:translateY(-2px);
  transition:opacity .2s ease, transform .2s ease;
  pointer-events:none;
  white-space:nowrap;
}

#mainmenu a:hover .nav-en,
#mainmenu a:focus-visible .nav-en{
  opacity:1;
  transform:translateY(0);
}

#mainmenu a:hover,
#mainmenu a:focus-visible{
  color:#5f4a32;
}

/* Mobiel: Engelse onderregel uitzetten */
@media (max-width: 900px){
  #mainmenu a .nav-en{
    display:none;
  }
}

/* Hamburger-weergave */
@media (max-width: 900px){
  #mainmenu{
    display:none;
    flex-direction:column;
    align-items:stretch;
    width:100%;
    background:rgba(255,255,255,0.96);
    border:1px solid #cdbfa8;
    border-radius:12px;
    box-shadow:0 10px 24px rgba(0,0,0,.08);
    margin-top:10px;
    overflow:hidden;
  }

  #mainmenu.show{
    display:flex;
  }

  #mainmenu li{
    width:100%;
  }

  #mainmenu a{
    align-items:flex-start;
    min-height:auto;
    padding:14px 16px;
    border-bottom:1px solid rgba(205,191,168,.45);
  }

  #mainmenu li:last-child a{
    border-bottom:none;
  }
}

#mainmenu a{
  display:flex;
  flex-direction:column;   /* 👈 dit is cruciaal */
  align-items:center;
}

#mainmenu a .nav-en{
  display:block;           /* 👈 ook cruciaal */
}

.site-nav{
  position: relative;
  z-index: 1000;
}

.site-nav .menu{
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: stretch;
}

.site-nav .menu > li{
  position: relative;
}

.site-nav .menu > li > a{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 18px;
  text-decoration: none;
  color: #3f3428;
  line-height: 1;
  white-space: nowrap;
}

.site-nav .menu > li > a .nav-en{
  position: absolute;
  left: 50%;
  bottom: 8px;
  transform: translateX(-50%);
  font-size: 0.68rem;
  color: #8a7a63;
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
  transition: opacity .18s ease;
}

.site-nav .menu > li > a:hover .nav-en,
.site-nav .menu > li > a:focus-visible .nav-en{
  opacity: 1;
}

/* Zorg dat submenu's door LI-hover openen, niet door A-hover */
.site-nav li{
  position: relative;
}

.site-nav .submenu{
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 180px;
  background: #e7e0d4;
  border: 1px solid #b9b1a4;
  box-shadow: 0 6px 14px rgba(0,0,0,0.15);
  list-style: none;
  padding: 6px 0;
  margin: 0;
  z-index: 999;
}

.site-nav li:hover > .submenu,
.site-nav li:focus-within > .submenu{
  display: block;
}

/* submenu-links */
.site-nav .submenu li a{
  display: block;
  padding: 8px 14px;
  text-decoration: none;
  color: #3f3428;
  white-space: nowrap;
}

/* dieper submenu rechts openen */
.site-nav .submenu .submenu{
  top: 0;
  left: 100%;
  transform: none;
  margin-left: 0;
}

/* Mobiel: Engelse hovertekst verbergen */
@media (max-width: 900px){
  .site-nav .menu > li > a .nav-en{
    display: none;
  }
}
.site-nav .submenu {
  min-width: 190px;
  padding: 8px 0;
}

.site-nav .submenu li {
  margin: 0;
  padding: 0;
}

.site-nav .submenu a {
  display: block;
  padding: 10px 18px;
  line-height: 1.2;
  white-space: nowrap;
}
.site-nav .submenu {
  min-width: 190px;
  padding: 4px 0;
}

.site-nav .submenu li {
  margin: 0;
  padding: 0;
}

.site-nav .submenu a {
  display: block;
  padding: 5px 16px;
  line-height: 1.1;
  white-space: nowrap;
}
#mainmenu .submenu{
  min-width:190px;
  padding:4px 0;
}

#mainmenu .submenu li{
  margin:0;
  padding:0;
}

#mainmenu .submenu a{
  display:block;
  min-height:auto;
  padding:6px 16px;
  line-height:1.15;
  white-space:nowrap;
  align-items:flex-start;
  justify-content:flex-start;
}
/* OORLOG */

.timeline-links{
  margin-top:20px;
}

.timeline-item{
  display:flex;
  align-items:center;
  gap:14px;
  padding:10px 0;
  border-bottom:1px solid #e6e0d7;
}

.timeline-item .year{
  min-width:110px;
  font-weight:bold;
  color:#6b776d;
}

.timeline-item a{
  text-decoration:none;
  font-weight:600;
  color:#2f3a31;
}

.timeline-item a:hover{
  text-decoration:underline;
}

/* vertaling google translate */
css
.translation-flags{
  display:flex;
  gap:12px;
  align-items:center;
  flex-wrap:wrap;
  margin:14px 0 16px;
  padding-top:14px;
  border-top:1px solid #e5d9c9;
}

.translation-flags a{
  display:inline-flex;
  align-items:center;
  gap:8px;
  text-decoration:none;
  color:#5a4637;
  font-weight:600;
  background:#f7f1e8;
  border:1px solid #dccfb8;
  border-radius:999px;
  padding:7px 12px;
  transition:transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.translation-flags a:hover{
  transform:translateY(-2px);
  box-shadow:0 6px 16px rgba(0,0,0,0.10);
  background:#fffaf3;
}

.translation-flags img{
  width:20px;
  height:auto;
  display:block;
  border:1px solid rgba(0,0,0,0.08);
}
/* vertaling google translate cornelis langhevelt*/
.story-translate{
  display:flex;
  justify-content:flex-end;
  align-items:center;
  gap:10px;
  margin:0 0 18px 0;
  padding:0;
  position:static;
  float:none;
  clear:both;
}

.story-translate a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  border:none;
  line-height:1;
}

.story-translate img{
  display:block;
  width:auto;
  height:18px;
  max-width:none;
}

@media (max-width: 980px){
  .story-translate{
    justify-content:flex-start;
  }
}

 /* CRUCIAAL: alles resetten */
  position:relative !important;
  float:none !important;
  right:auto !important;
  left:auto !important;
  top:auto !important;
  bottom:auto !important;
  width:auto !important;
  z-index:1;
}

.translate-top a{
  display:inline-flex;
  text-decoration:none;
  border:none;
}

.translate-top img{
  display:block;
  height:18px;
  width:auto;
}

:root{
  --vl-banner:#9a8a4a;
}

.topbar{
  background: var(--vl-banner);
}

.nav-search-box{
  padding:12px;
  min-width:260px;
}

.nav-search-box form{
  display:flex;
  flex-direction:column;
  gap:8px;
}

.nav-search-box input{
  padding:10px 12px;
  border:1px solid #d7c1a4;
  border-radius:10px;
  background:#fffdf8;
  font-size:.95rem;
}

.nav-search-box button{
  padding:10px;
  border:none;
  border-radius:10px;
  background:linear-gradient(135deg,#7a4d29,#9a6840);
  color:#fffaf4;
  font-weight:700;
  cursor:pointer;
}

.nav-search-box button:hover{
  filter:brightness(1.05);
}

.nav-google-search{
  display:flex;
  align-items:center;
  gap:6px;
  padding:8px 10px;
}

.nav-google-search input{
  width:190px;
  max-width:100%;
  padding:8px 10px;
  border:1px solid #d7c1a4;
  border-radius:999px;
  background:#fffdf8;
  font-size:.9rem;
}

.nav-google-search button{
  border:none;
  border-radius:999px;
  padding:8px 11px;
  background:linear-gradient(135deg,#7a4d29,#9a6840);
  color:#fffaf4;
  cursor:pointer;
  font-weight:700;
}

@media(max-width:900px){
  .nav-search-mobile{
    width:100%;
    padding:8px 12px;
  }

  .nav-google-search{
    width:100%;
  }

  .nav-google-search input{
    flex:1;
    width:auto;
  }
}

@media(max-width:900px){
  #mainmenu{
    display:none;
  }

  #mainmenu.open,
  #mainmenu.show{
    display:block !important;
  }
}@media(max-width:900px){

  .nav-search-item{
    width:100%;
  }

  .nav-search-item > a{
    display:block;
    text-align:center;
    padding:14px 12px;
  }

  .nav-search-item .nav-search-box{
    display:block !important;
    position:static !important;
    transform:none !important;
    width:100% !important;
    min-width:0 !important;
    padding:10px 14px 16px;
    box-shadow:none;
    background:rgba(255,250,244,.95);
    border-top:1px solid #d8c7ac;
  }

  .nav-search-box li{
    width:100%;
  }

  .nav-search-box form{
    display:flex;
    gap:8px;
    width:100%;
  }

  .nav-search-box input[type="text"]{
    flex:1;
    min-width:0;
    width:100%;
    padding:10px 12px;
    border-radius:999px;
    border:1px solid #d7c1a4;
    background:#fffdf8;
    font-size:16px;
  }

  .nav-search-box button{
    flex:0 0 auto;
    padding:10px 14px;
    border-radius:999px;
    border:0;
    background:#8a6f3a;
    color:#fff;
    font-weight:700;
  }
}

.update-date {
    text-align: center;
    font-size: 0.9rem;
    color: #777;
    margin: 30px 0 10px;
}
.note-box summary {
  cursor: pointer;
  font-weight: 800;
  color: #6a3f1e;
  list-style: none;
}

.note-box summary::-webkit-details-marker {
  display: none;
}

.note-box summary::before {
  content: "▶";
  display: inline-block;
  margin-right: 8px;
  font-size: .8em;
  transition: transform .2s ease;
}

.note-box[open] summary::before {
  transform: rotate(90deg);
}

.note-box summary:hover {
  text-decoration: underline;
}