/* Static baseline for the shared primary navigation. */
.site-header {
  background: #faf6ec;
  border-bottom: 1px solid #d9cfb6;
}

.site-header .site-navigation {
  display: grid !important;
  width: min(1440px, calc(100% - 64px));
  max-width: none !important;
  min-height: 80px;
  margin: 0 auto;
  padding: 14px 0 !important;
  grid-template-columns: minmax(0, 1fr) max-content minmax(0, 1fr);
  align-items: center !important;
  column-gap: 32px;
}

.site-header .site-navigation > :first-child {
  justify-self: start;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  color: #23281e !important;
  font-family: Fraunces, Georgia, serif;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.1;
  text-decoration: none !important;
  white-space: nowrap;
}

.site-brand img {
  display: block;
  width: 220px;
  height: auto;
  flex: none;
}

.site-brand span {
  display: none;
}

.site-header .site-navigation-primary,
.site-header .site-navigation-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: nowrap;
  justify-self: center;
}

.site-header .site-navigation-link {
  display: inline-block;
  margin-left: 18px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.site-header .site-navigation-links .site-navigation-link {
  margin-left: 0;
}

.site-header .site-navigation a[href="vakken.html"],
.site-header .site-navigation a[href="bijles-aan-huis-per-plaats.html"],
.site-header .site-navigation a[href="blog.html"] {
  color: #2b4a3e !important;
  font-weight: 700 !important;
  padding: 9px 12px;
  border-radius: 5px;
  color: #2b4a3e !important;
  font-size: .9rem;
  font-weight: 600 !important;
  letter-spacing: .01em;
  text-decoration: none !important;
  text-underline-offset: 4px;
}

.site-header .site-navigation a[href="vakken.html"]:hover,
.site-header .site-navigation a[href="bijles-aan-huis-per-plaats.html"]:hover,
.site-header .site-navigation a[href="blog.html"]:hover {
  color: #2b4a3e !important;
  background: #f1eada;
  text-decoration: none !important;
}

.site-header .site-navigation a[href="vakken.html"]:focus-visible,
.site-header .site-navigation a[href="bijles-aan-huis-per-plaats.html"]:focus-visible,
.site-header .site-navigation a[href="blog.html"]:focus-visible {
  outline: 3px solid #e3a335;
  outline-offset: 3px;
}

.site-header .site-navigation a[href="vakken.html"][aria-current="page"],
.site-header .site-navigation a[href="bijles-aan-huis-per-plaats.html"][aria-current="page"],
.site-header .site-navigation a[href="blog.html"][aria-current="page"] {
  color: #fff !important;
  background: #2b4a3e;
}

.site-header .site-navigation-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 16px;
  margin-left: 18px;
  border-radius: 5px;
  background: #e2604a;
  color: #fff !important;
  font-size: .88rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  justify-self: end;
  box-shadow: 0 7px 16px rgba(226, 96, 74, .22);
  transition: background .15s ease, transform .15s ease;
}

.site-header .site-navigation-phone:hover {
  background: #c94e3c;
  transform: translateY(-1px);
}

.site-header .site-navigation-phone:focus-visible {
  outline: 3px solid #e3a335;
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .site-header .site-navigation {
    display: flex !important;
    width: calc(100% - 32px);
    min-height: 0;
    flex-direction: column;
    align-items: flex-start !important;
    gap: 12px;
  }

  .site-header .site-navigation-primary,
  .site-header .site-navigation-links {
    gap: 4px;
    flex-wrap: wrap;
    justify-self: auto;
  }

  .site-header .site-navigation-link,
  .site-header .site-navigation-phone {
    margin-left: 12px;
  }

  .site-header .site-navigation a[href="vakken.html"],
  .site-header .site-navigation a[href="bijles-aan-huis-per-plaats.html"],
  .site-header .site-navigation a[href="blog.html"] {
    padding: 8px 10px;
  }

  .site-header .site-navigation-links .site-navigation-link {
    margin-left: 0;
  }

  .site-header .site-navigation-phone {
    justify-self: auto;
  }
}