leanor-navigation {
  display: block;
  position: sticky;
  top: 0;
  z-index: 50;
  font:
    14px/1.5 Arial,
    sans-serif;
  color: #28251f;
  background: #f8f5ef;
}
leanor-navigation * {
  box-sizing: border-box;
}
leanor-navigation .ln-header {
  display: flex;
  flex-direction: row;
  text-align: left;
  position: relative;
  max-width: none;
  margin: 0;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 4%;
  border-bottom: 1px solid #d9ccba;
  background: #f8f5ef;
}
leanor-navigation .ln-brand {
  font:
    19px Georgia,
    serif;
  letter-spacing: 0.1em;
  text-decoration: none;
  color: inherit;
  white-space: nowrap;
}
leanor-navigation .ln-brand small {
  display: block;
  font:
    9px Arial,
    sans-serif;
  letter-spacing: 0.2em;
  margin-top: 8px;
}
leanor-navigation nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font:
    13px Arial,
    sans-serif;
}
leanor-navigation a {
  color: inherit;
  text-decoration: none;
}
leanor-navigation button {
  background: transparent;
  color: inherit;
  border: 0;
  border-radius: 0;
  padding: 12px 0;
  margin: 0;
  font: inherit;
  cursor: pointer;
  min-height: 44px;
}
leanor-navigation .ln-group {
  position: relative;
}
leanor-navigation .ln-sub {
  position: absolute;
  top: 100%;
  left: -20px;
  width: 265px;
  background: #fffdf9;
  border: 1px solid #d9ccba;
  padding: 12px;
  box-shadow: 0 14px 28px #28251f1f;
}
leanor-navigation .ln-sub[hidden] {
  display: none;
}
leanor-navigation .ln-sub a {
  display: block;
  padding: 12px;
  font-size: 14px;
}
leanor-navigation .ln-sub a:hover {
  background: #eee5d8;
}
leanor-navigation .ln-book {
  background: #28251f;
  color: #fffdf9;
  padding: 13px 20px;
  white-space: nowrap;
}
leanor-navigation .ln-toggle {
  display: none;
}
leanor-navigation :focus-visible {
  outline: 3px solid #88673f;
  outline-offset: 4px;
}
leanor-navigation nav > a {
  padding: 12px 0;
}
@media (max-width: 1100px) {
  leanor-navigation .ln-header {
    gap: 16px;
    flex-wrap: wrap;
    padding: 16px 5%;
  }
  leanor-navigation .ln-brand {
    margin-right: auto;
    font-size: 16px;
  }
  leanor-navigation .ln-toggle {
    display: block;
    order: 2;
  }
  leanor-navigation .ln-book {
    order: 1;
    padding: 11px 15px;
  }
  leanor-navigation nav {
    display: none;
    order: 3;
    flex-basis: 100%;
    align-items: stretch;
    gap: 0;
    flex-direction: column;
  }
  leanor-navigation.ln-open nav {
    display: flex;
  }
  leanor-navigation .ln-group > button {
    width: 100%;
    text-align: left;
  }
  leanor-navigation .ln-sub {
    position: static;
    width: 100%;
    box-shadow: none;
  }
  leanor-navigation nav > a {
    padding: 15px 0;
  }
}
@media (max-width: 370px) {
  leanor-navigation .ln-brand {
    font-size: 13px;
  }
  leanor-navigation .ln-brand small {
    font-size: 8px;
  }
  leanor-navigation .ln-header {
    gap: 10px;
  }
  leanor-navigation .ln-book {
    padding: 10px;
  }
}
.ln-preview-warning {
  margin: 0;
  padding: 9px 16px;
  text-align: center;
  background: #473b2d;
  color: #fff7e9;
  font:
    12px/1.4 Arial,
    sans-serif;
}

leanor-navigation.ln-open {
  max-height: 100svh;
  overflow-y: auto;
}

footer {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 32px;
  align-items: flex-start;
  line-height: 1.65;
}
footer > * {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}
footer a {
  display: inline-block;
  padding: 10px 0;
}
@media (max-width: 650px) {
  footer {
    flex-direction: column;
    gap: 16px;
    padding-bottom: 100px;
  }
  footer > * {
    display: block;
    width: 100%;
    margin: 0;
  }
}
