/* Pleunie en Harrie op wereldreis — statische archiefversie.
   Sfeer van het oude wpTraveler "Adventure"-thema: karton, papier, grote kaart. */

:root {
  --paper: #fbf8f1;
  --ink: #2b2620;
  --muted: #7a6f61;
  --accent: #b5481f;
  --accent-dark: #8c3412;
  --line: #e4dccd;
  --serif: "Droid Serif", "Noto Serif", Georgia, "Times New Roman", serif;
  --sans: "Droid Sans", "Noto Sans", "Segoe UI", Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; color: var(--ink); font: 16px/1.65 var(--sans);
  background: #c9b48f url("theme/cardboard.jpg");
}
a { color: var(--accent); }
a:hover { color: var(--accent-dark); }
img { max-width: 100%; height: auto; }
.skip { position: absolute; left: -999px; top: 0; background: #fff; padding: .5rem 1rem; z-index: 2000; }
.skip:focus { left: 0; }

/* Header */
.site-header { background: #3b2f24 url("theme/cardboarddark.jpg"); color: #f6efe2; box-shadow: 0 2px 8px rgba(0,0,0,.35); position: relative; z-index: 1000; }
.site-header .inner { max-width: 1160px; margin: 0 auto; padding: 14px 20px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { color: #fff; text-decoration: none; display: grid; line-height: 1.05; }
.brand:hover { color: #fff; }
.brand-small { font: italic 15px var(--serif); opacity: .85; }
.brand-big { font: bold 30px var(--serif); letter-spacing: .5px; }
.brand-years { font-size: 12px; text-transform: uppercase; letter-spacing: 2px; opacity: .7; margin-top: 3px; }
.mainnav > ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.mainnav li { position: relative; }
.mainnav a { display: block; padding: 8px 14px; color: #f6efe2; text-decoration: none; border-radius: 4px; font-weight: 600; font-size: 15px; }
.mainnav li.active > a, .mainnav a:hover { background: rgba(255,255,255,.12); color: #fff; }
.mainnav li ul { display: none; position: absolute; left: 0; top: 100%; min-width: 220px; list-style: none; margin: 0; padding: 6px; background: #3b2f24; border-radius: 0 0 6px 6px; box-shadow: 0 6px 14px rgba(0,0,0,.35); }
.mainnav li:hover > ul, .mainnav li:focus-within > ul { display: block; }
.menu-toggle { display: none; }

/* Kaarten */
.hero { background: #2b2620; }
.map { height: 340px; border-radius: 6px; margin: 18px 0 24px; border: 1px solid var(--line); z-index: 1; }
.map-hero { height: 530px; margin: 0; border: 0; border-radius: 0; }
.leaflet-popup-content { font: 14px/1.45 var(--sans); }
.leaflet-container a { color: var(--accent); }

/* Layout */
.container { max-width: 1160px; margin: 28px auto; padding: 0 20px; }
.container.with-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; align-items: start; }
main { min-width: 0; }

.page-title { font: bold 30px/1.2 var(--serif); color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.45); margin: 0 0 18px; }

.cards { display: grid; gap: 22px; }
.card { background: var(--paper); border-radius: 6px; overflow: hidden; box-shadow: 0 2px 6px rgba(0,0,0,.25); display: grid; grid-template-columns: 340px 1fr; }
.card.no-img { grid-template-columns: 1fr; }
.card-img img { display: block; width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 9; }
.card-body { padding: 18px 22px; }
.card h2 { font: bold 22px/1.25 var(--serif); margin: 0 0 6px; }
.card h2 a { color: var(--ink); text-decoration: none; }
.card h2 a:hover { color: var(--accent); }
.card p { margin: 0 0 10px; }
.more { font-weight: 600; text-decoration: none; }

.meta { color: var(--muted); font-size: 14px; margin: 0 0 8px; }
.meta a { color: var(--muted); }
.tags { margin: 0 0 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.tags a { font-size: 13px; background: #efe6d6; color: #6b5a44; padding: 2px 9px; border-radius: 99px; text-decoration: none; }
.tags a:hover { background: var(--accent); color: #fff; }

.post, .comments, .postnav, .album { background: var(--paper); border-radius: 6px; box-shadow: 0 2px 6px rgba(0,0,0,.25); padding: 26px 32px; }
.post h1 { font: bold 34px/1.2 var(--serif); margin: 0 0 8px; }
.content { font-size: 17px; }
.content h2, .content h3 { font-family: var(--serif); line-height: 1.3; }
.content img { border-radius: 4px; }
.content table { border-collapse: collapse; }
.content td, .content th { border: 1px solid var(--line); padding: 4px 8px; }
.gal-title { margin-top: 1.8em; }
.subpages { font-size: 18px; }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 8px; margin: 14px 0; }
.gallery a { display: block; border-radius: 4px; overflow: hidden; background: #e9e1d2; }
.gallery img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .2s; }
.gallery a:hover img { transform: scale(1.04); }
.album { margin-bottom: 20px; }
.album h2 { font: bold 20px var(--serif); margin: 0 0 6px; }
.album h2 a { color: var(--ink); text-decoration: none; }
.album small { font: 14px var(--sans); color: var(--muted); }

.video { position: relative; aspect-ratio: 16 / 9; margin: 1em 0; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: 4px; }

.attachment figure { margin: 0; text-align: center; }
.attachment figure img { border-radius: 4px; max-height: 80vh; width: auto; }
.attachment figcaption { color: var(--muted); margin-top: 8px; }
.back { margin: 0 0 6px; }

.postnav { margin-top: 18px; padding: 14px 22px; display: flex; justify-content: space-between; gap: 14px; font-weight: 600; }
.postnav a { text-decoration: none; }
.pager { display: flex; justify-content: space-between; align-items: center; margin-top: 22px; background: var(--paper); border-radius: 6px; padding: 12px 18px; box-shadow: 0 2px 6px rgba(0,0,0,.25); }
.pager a { font-weight: 600; text-decoration: none; }
.count { color: var(--muted); font-size: 14px; }

.comments { margin-top: 18px; }
.comments h2 { font: bold 22px var(--serif); margin: 0 0 12px; }
.comments ol { list-style: none; margin: 0; padding: 0; }
.comments .children { margin-left: 26px; border-left: 3px solid var(--line); padding-left: 14px; }
.comment { padding: 12px 0; border-bottom: 1px solid var(--line); }
.comment header { margin-bottom: 4px; }
.comment time { color: var(--muted); font-size: 13px; margin-left: 6px; }
.comment p { margin: 0 0 6px; }
.closed { color: var(--muted); font-style: italic; margin: 14px 0 0; }

/* Zijbalk */
.sidebar section { background: var(--paper); border-radius: 6px; box-shadow: 0 2px 6px rgba(0,0,0,.25); padding: 16px 20px; margin-bottom: 20px; }
.sidebar h2 { font: bold 18px var(--serif); margin: 0 0 10px; }
.sidebar ul { list-style: none; margin: 0; padding: 0; }
.sidebar li { display: flex; justify-content: space-between; padding: 3px 0; border-bottom: 1px dotted var(--line); }
.sidebar li span { color: var(--muted); font-size: 13px; }
.sidebar li a { text-decoration: none; }
.archive { max-height: 330px; overflow: auto; }
.tagcloud { line-height: 1.7; margin: 0; }
.tagcloud a { text-decoration: none; margin-right: 4px; }
.searchform { display: flex; gap: 6px; }
.searchform input { flex: 1; min-width: 0; padding: 7px 10px; border: 1px solid #cbbfa9; border-radius: 4px; font: inherit; background: #fff; }
.searchform button { padding: 7px 14px; border: 0; border-radius: 4px; background: var(--accent); color: #fff; font: inherit; font-weight: 600; cursor: pointer; }
.searchform.big { margin-bottom: 20px; }
.searchform.big input { font-size: 18px; padding: 10px 14px; }
#results .hit { background: var(--paper); border-radius: 6px; padding: 14px 20px; margin-bottom: 12px; box-shadow: 0 2px 6px rgba(0,0,0,.2); }
#results .hit h2 { font: bold 20px var(--serif); margin: 0 0 4px; }
#results .hit mark { background: #ffe08a; }
#results .none { color: #fff; }

/* Footer */
.site-footer { background: #3b2f24 url("theme/cardboarddark.jpg"); color: #e8dfcf; margin-top: 40px; }
.site-footer .inner { max-width: 1160px; margin: 0 auto; padding: 22px 20px; text-align: center; }
.site-footer a { color: #fff; }
.site-footer p { margin: 4px 0; }
.small { font-size: 13px; opacity: .8; }

/* Lightbox */
.lb { position: fixed; inset: 0; background: rgba(15, 12, 9, .92); z-index: 3000; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 20px; }
.lb[hidden] { display: none; }
.lb img { max-width: 100%; max-height: calc(100vh - 110px); border-radius: 4px; box-shadow: 0 6px 24px rgba(0,0,0,.6); }
.lb-cap { color: #eee; margin-top: 10px; text-align: center; font-size: 15px; }
.lb-cap a { color: #ffcf9e; }
.lb button { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; font-size: 28px; width: 52px; height: 52px; border-radius: 50%; cursor: pointer; }
.lb button:hover { background: rgba(255,255,255,.25); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }

@media (max-width: 960px) {
  .container.with-sidebar { grid-template-columns: 1fr; }
  .card { grid-template-columns: 1fr; }
  .map-hero { height: 380px; }
}
@media (max-width: 720px) {
  .site-header .inner { flex-wrap: wrap; }
  .brand-big { font-size: 24px; }
  .menu-toggle { display: block; background: rgba(255,255,255,.12); color: #fff; border: 0; padding: 8px 14px; border-radius: 4px; font: inherit; font-weight: 600; }
  .mainnav { width: 100%; }
  .mainnav > ul { display: none; flex-direction: column; margin-top: 8px; }
  .mainnav.open > ul { display: flex; }
  .mainnav li ul { display: block; position: static; box-shadow: none; padding: 0 0 0 14px; background: none; }
  .post, .comments, .album { padding: 18px; }
  .post h1 { font-size: 26px; }
  .content { font-size: 16px; }
  .postnav { flex-direction: column; }
  .map { height: 260px; }
  .map-hero { height: 300px; }
}
