/* Site-chrome TheWijn — zelfde topbalk, hamburger en titelbalk als home/index.html */

.top-nav {
  background: #f4e7d6;
  padding: 6px 16px;
  font-size: 0.9em;
}

.top-nav table {
  border: 0;
  border-collapse: collapse;
  width: 100%;
}

.top-nav td {
  border: none;
  padding: 6px 0 6px 16px;
  vertical-align: middle;
}

.top-nav td.menu-spacer {
  width: 100%;
}

.top-nav td.top-nav__burger-cell {
  display: table-cell;
  width: 1%;
  padding: 8px 12px 8px 16px;
  vertical-align: middle;
}

.top-nav a,
.top-nav .top-nav__link a {
  color: #8B4513;
  text-decoration: none;
  font-weight: bold;
}

.top-nav a:hover,
.top-nav .top-nav__link a:hover {
  text-decoration: underline;
}

.menu-toggle {
  display: none;
}

.hamburger {
  width: 30px;
  height: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

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

.menu {
  display: none;
  background-color: #fff4e6;
  padding: 10px 15px;
  text-align: left;
}

.menu a {
  display: block;
  padding: 8px 0;
  text-decoration: none;
  color: #333;
}

.menu-toggle:checked ~ .menu {
  display: block;
}

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

.site-nav-shell > nav.menu {
  position: absolute;
  top: 100%;
  left: 12px;
  right: auto;
  width: min(22rem, calc(100vw - 24px));
  z-index: 1001;
  max-height: min(85vh, 28rem);
  overflow-y: auto;
  border: 1px solid #e7d2b8;
  border-radius: 0 0 8px 8px;
  border-bottom: 1px solid #e7d2b8;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

@media (max-width: 991px) {
  .top-nav td.top-nav__burger-cell {
    display: table-cell;
  }

  .top-nav td.top-nav__link {
    display: none;
  }

  .top-nav td.menu-spacer {
    display: none;
    width: 0;
    padding: 0;
  }
}

.site-nav-shell + .header {
  background: linear-gradient(to right, #8B4513, #D2B48C) !important;
  color: white;
  padding: 40px 20px;
  text-align: center;
}

.site-nav-shell + .header h1 {
  font-size: clamp(1.15rem, 4.5vw, 2.5em);
  line-height: 1.15;
  margin: 0;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.site-nav-shell + .header p {
  font-size: clamp(0.85rem, 2.8vw, 1.2em);
  line-height: 1.35;
  margin: 10px 0 0 0;
  opacity: 0.95;
}

.site-nav-shell + .header .logo,
.header .logo {
  max-width: min(100%, 160px);
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.header .header-main,
.header .header-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  box-sizing: border-box;
}

.header .header-main .logo,
.header .header-brand .logo {
  margin-top: 10px;
  margin-bottom: 10px;
}
