/* Shared styles for the hand-written pages. */

@font-face {
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 400 800;
  src: url('/assets/9a13d4c898_SlGUmQSNjdsmc35JDF1K5GR1SDk_YAPI.woff2') format('woff2');
  font-display: swap;
}

@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400;
  src: url('/assets/36feef14dd_fraunces_120pt-light.woff2') format('woff2');
  font-display: swap;
}

@font-face {
  font-family: 'Avenir LT 35 Light';
  font-style: normal;
  font-weight: 400;
  src: url('/assets/ae280620db_avenir-lt-w01_35-light1475496.woff2') format('woff2');
  font-display: swap;
}

:root {
  --font-serif: 'EB Garamond', Georgia, serif;
  --font-sans: 'Avenir LT 35 Light', 'Avenir Next', Avenir, Helvetica, Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: #fff;
  color: #000;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.4;
}

img {
  max-width: 100%;
}

/* Mobile menu bar (hidden above 750px). */
.mob-menu-bar {
  display: none;
}

@media (max-width: 750px) {
  .mob-menu-bar {
    display: block;
    position: sticky;
    top: 0;
    z-index: 9999;
    background: #fff;
    border-bottom: 1px solid #ddd;
    font-family: helvetica, arial, sans-serif;
  }

  .mob-toggle {
    display: none;
  }

  .mob-burger {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    padding: 14px 16px;
    cursor: pointer;
  }

  .mob-burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #222;
  }

  .mob-nav {
    display: none;
  }

  .mob-toggle:checked ~ .mob-nav {
    display: block;
    background: #fff;
    border-top: 1px solid #eee;
  }

  .mob-nav a {
    display: block;
    padding: 13px 20px;
    color: #222;
    text-decoration: none;
    font-size: 17px;
    border-bottom: 1px solid #f0f0f0;
  }

  .mob-group > a {
    color: #222;
  }

  .mob-sub {
    border-bottom: 1px solid #f0f0f0;
  }

  .mob-sub a {
    padding: 11px 20px 11px 36px;
    font-size: 15px;
    color: #555;
    border-bottom: 0;
  }

  .mob-sub a:last-child {
    padding-bottom: 13px;
  }
}

/* Plain desktop menu, used by pages built without the Wix header. */
.site-nav-wrap {
  display: none;
}

@media (min-width: 751px) {
  .site-nav-wrap {
    display: block;
    padding: 25px 0;
    border-bottom: 1px solid #ddd;
  }

  .site-nav {
    width: 943px;
    max-width: calc(100% - 32px);
    margin: 0 auto;
    background: #ebebeb;
  }

  .site-nav > ul {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .site-nav li {
    position: relative;
  }

  .site-nav > ul > li > a {
    display: block;
    padding: 6px 30px;
    border-top: 1px solid transparent;
    border-bottom: 1px solid transparent;
    color: #000;
    font-family: var(--font-serif);
    font-size: 21px;
    line-height: 25px;
    text-decoration: none;
    white-space: nowrap;
  }

  .site-nav > ul > li > a:hover,
  .site-nav > ul > li > a:focus-visible {
    background: #fff;
    border-top-color: #000;
    border-bottom-color: #000;
  }

  .site-nav > ul > li > a[aria-current="page"] {
    border-top-color: #000;
    border-bottom-color: #000;
  }

  .site-nav__submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 50;
    min-width: 220px;
    padding: 8px 0;
    border: 1px solid #ccc;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  }

  .site-nav li:hover > .site-nav__submenu,
  .site-nav li:focus-within > .site-nav__submenu {
    display: block;
  }

  .site-nav .site-nav__submenu a {
    display: block;
    padding: 8px 22px;
    color: #000;
    font-family: var(--font-sans);
    font-size: 18px;
    line-height: 1.3;
    text-decoration: none;
    white-space: nowrap;
  }

  .site-nav .site-nav__submenu a:hover,
  .site-nav .site-nav__submenu a:focus-visible {
    text-decoration: underline;
  }
}

/* Footer. */
.site-footer {
  padding: 12px 16px 13px;
  background: #9f9f9f;
}

.site-footer .copyright {
  margin: 0 0 11px;
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: normal;
  text-align: center;
}

.site-footer .copyright strong {
  font-weight: 700;
}

.site-footer .footer-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: 100%;
  margin: 0;
  padding: 0;
}

.site-footer .footer-social a {
  display: inline-flex;
  align-items: center;
}

.site-footer .footer-social img {
  display: block;
  width: 30px;
  height: 30px;
}
