.fns-menu summary {
  cursor: pointer;
  padding: .8rem 1rem;
  color: #163858;
  font-weight: 650;
  white-space: nowrap;
}
.fns-menu .fns-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem 2rem;
  position: fixed;
  inset-inline-start: 50%;
  transform: translateX(-50%);
  width: min(70rem, calc(100vw - 2rem));
  max-height: min(65vh, 34rem);
  overflow: auto;
  padding: 1.5rem;
  background: #fff;
  border: 1px solid #d6dfe5;
  border-radius: 12px;
  box-shadow: 0 12px 36px #10263826;
  z-index: 99999;
  overscroll-behavior: contain;
}
.fns-menu details:not([open]) > .fns-panel { display: none; }
.fns-panel h2 { font-size: 1rem; margin: 0 0 .45rem; color: #163858; }
.fns-menu .fns-panel ul {
  all: revert;
  list-style: none;
  padding: 0;
  margin: 0;
}
.fns-menu .fns-panel li { display: block; margin: 0; }
.fns-menu .fns-panel a { display: block; padding: .35rem 0; line-height: 1.35; }
.fns-menu :is(summary, a):focus-visible { outline: 2px solid #ab5e36; outline-offset: 3px; }
@media (max-width: 768px) {
  .fns-menu .fns-panel {
    position: static;
    width: auto;
    transform: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    padding: 1rem;
    box-shadow: none;
  }
}

body { font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
body :is(.entry-title, .entry-content h2, .entry-content h3, .entry-content h4) {
  font-family: Georgia, Cambria, "Times New Roman", serif;
  color: #173650;
  letter-spacing: -.018em;
  line-height: 1.23;
}
body .entry-content > p { max-width: 78ch; line-height: 1.75; }
body.home .entry-content > .wp-block-group.has-background:first-child {
  border-radius: 16px;
  margin-block-end: 2rem;
}
body.home .entry-content .is-layout-grid > .wp-block-group {
  border: 1px solid #e0d6c8;
  border-top: 3px solid #aa6645;
  border-radius: 12px;
}
body :is(.wp-block-button__link, .contact-submit button) { border-radius: 8px; }
body .wp-block-jetpack-contact-form :is(input:not([type=hidden]), textarea) {
  border: 1px solid #899eae;
  border-radius: 8px;
  background-color: #fff;
  padding: .75rem .9rem;
}
body .wp-block-jetpack-contact-form :is(input, textarea, button):focus-visible {
  outline: 2px solid #aa6645;
  outline-offset: 3px;
}
.fns-team {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 235px), 1fr));
  gap: 1.4rem;
}
.fns-team article { padding: 0 0 1rem; border: 1px solid #dce5ea; border-radius: 12px; overflow: hidden; }
.fns-team img { display: block; width: 100%; aspect-ratio: 3/2; object-fit: cover; height: auto; }
.fns-team h2, .fns-team p { margin: .8rem 1rem 0; }
.fns-team h2 { font-size: 1.3rem; }
.fns-team p { color: #304d5f; font-size: .95rem; }
body.home .wp-block-latest-posts.is-grid > li {
  padding: 1.1rem;
  margin-bottom: 1rem;
  border: 1px solid #dce5ea;
  border-radius: 10px;
}
body.home .wp-block-latest-posts__post-title { font-weight: 650; }
body.home .wp-block-latest-posts__post-date { color: #435a69; }
.fns-footer { background: #102638; color: #f1f5f7; padding: 3rem 1.25rem 1.25rem; }
.fns-footer-inner, .fns-footer-bottom { max-width: 1170px; margin-inline: auto; }
.fns-footer-inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 205px), 1fr)); gap: 2rem; }
.fns-footer h2 { color: #fff; font-family: Georgia, serif; font-size: 1.18rem; margin: 0 0 .75rem; }
.fns-footer a { color: #f1f5f7; text-decoration: underline; text-underline-offset: .2em; }
.fns-footer address { font-style: normal; margin: 0 0 .8rem; }
.fns-footer ul { list-style: none; margin: 0; padding: 0; }
.fns-footer li { margin-bottom: .35rem; }
.fns-footer-cta { display: inline-block; border: 1px solid #cfad97; border-radius: 7px; padding: .45rem .75rem; }
.fns-footer-bottom { border-top: 1px solid #547080; margin-top: 2rem; padding-top: 1rem; font-size: .85rem; }
.fns-footer:has(+ .zak-footer) + .zak-footer, body:has(.fns-footer) #zak-footer, body:has(.fns-footer) .zak-footer:not(.fns-footer) { display: none; }
@media (min-width: 1024px) {
  .fns-menu .fns-panel { grid-template-columns: repeat(3, minmax(0, 1fr)); width: min(72rem, calc(100vw - 3rem)); }
}
