.ab-header a {
  color: #3f5b2c;
}
.ab-header a:hover {
  color: #232a22;
}
.ab-header {
  max-width: 1440px;
  margin: 0 auto;
  padding: 22px 80px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  font-size: 15px;
}
.ab-header a {
  color: var(--moos);
  text-decoration: none;
}
.ab-header .ab-header__actions {
  display: flex;
  gap: 24px;
  justify-content: flex-end;
  align-items: center;
}
.ab-header .ab-header__brand {
  font:
    400 24px/1 Newsreader,
    Georgia,
    serif;
}
.ab-header .ab-header__cta {
  border: 1px solid rgba(35, 42, 34, 0.25);
  border-radius: 4px;
  padding: 9px 14px;
}
.ab-header .ab-header__cta {
  display: inline-flex;
  align-items: center;
  height: 38px;
  box-sizing: border-box;
}
.ab-header a:focus-visible,
.ab-header button:focus-visible {
  outline: 2px solid #3f5b2c;
  outline-offset: 3px;
}
.ab-header [data-ref="p-search"] {
  width: 38px;
  height: 38px;
  box-sizing: border-box;
  border-radius: 50%;
  border: 0;
  background: transparent;
  color: #232a22;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease;
}
.ab-header [data-ref="p-search"]:hover,
.ab-header [data-ref="p-search"]:focus-visible {
  color: #3f5b2c;
}
.ab-header [data-ref="p-search"] svg {
  width: 17px !important;
  height: 17px !important;
}
.ab-header [data-ref="p-search"] svg {
  position: static !important;
  width: 15px !important;
  height: 15px !important;
  inset: auto !important;
}
.ab-header .ab-header__search-dialog {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(35, 42, 34, 0.28);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 96px 16px 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.ab-header .ab-header__search-dialog.is-open {
  opacity: 1;
  pointer-events: auto;
}
.ab-header .ab-header__search-panel {
  width: min(720px, 100%);
  background: #f7f5ef;
  border-radius: 6px;
  border: 1px solid rgba(35, 42, 34, 0.14);
  box-shadow: 0 24px 60px -24px rgba(35, 42, 34, 0.45);
  padding: 20px 24px 12px;
  transform: translateY(-8px);
  transition: transform 0.25s ease;
  font-family: "Hanken Grotesk", Arial, sans-serif;
}
.ab-header .ab-header__search-dialog.is-open .ab-header__search-panel {
  transform: none;
}
.ab-header .ab-header__search-field {
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(35, 42, 34, 0.14);
  padding-bottom: 12px;
  color: #232a22;
}
.ab-header .ab-header__search-field input {
  flex: 1;
  border: 0;
  background: transparent;
  font:
    300 28px/1.2 "Newsreader",
    Georgia,
    serif;
  color: #232a22;
  outline: none;
  min-width: 0;
}
.ab-header .ab-header__search-field button {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(35, 42, 34, 0.14);
  background: #fff;
  cursor: pointer;
  color: #232a22;
  font-size: 15px;
  line-height: 1;
}
.ab-header .ab-header__search-list {
  list-style: none;
  margin: 0;
  padding: 6px 0 0;
  max-height: 52vh;
  overflow: auto;
}
.ab-header .ab-header__search-list a {
  display: block;
  padding: 12px 8px;
  border-bottom: 1px solid rgba(35, 42, 34, 0.08);
  text-decoration: none;
  color: #232a22;
  border-radius: 4px;
  transition: background-color 0.2s ease;
}
.ab-header .ab-header__search-list a:hover,
.ab-header .ab-header__search-list a:focus-visible {
  background: #3f5b2c;
  color: #fff;
}
.ab-header .ab-header__search-list a:hover small,
.ab-header .ab-header__search-list a:focus-visible small {
  color: #e4eadc;
}
.ab-header .ab-header__search-list b {
  display: block;
  font:
    400 19px/1.3 "Newsreader",
    Georgia,
    serif;
}
.ab-header .ab-header__search-list small {
  display: block;
  margin-top: 2px;
  font-size: 13.5px;
  color: #5b6254;
}
.ab-header .ab-header__search-list mark {
  background: #f6e58d;
  color: inherit;
  padding: 0 1px;
}
.ab-header .ab-header__search-empty {
  padding: 14px 8px;
  font-size: 14px;
  color: #5b6254;
}
.ab-header .ab-header__actions {
  gap: 18px;
  margin-right: -10px;
}
.ab-header .ab-header__social-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font:
    500 13px/1 "Hanken Grotesk",
    Arial,
    sans-serif;
  letter-spacing: 0.08em;
  color: #232a22;
  text-decoration: none;
  transition: color 0.2s ease;
}
.ab-header .ab-header__social-link:hover,
.ab-header .ab-header__social-link:focus-visible {
  color: #3f5b2c;
}
.ab-header .ab-header__social-link svg {
  position: static;
  width: 17px;
  height: 17px;
}
.ab-header .ab-header__menu a,
.ab-header .ab-header__social-link {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
}
.ab-header .ab-header__social-link {
  justify-content: center;
  min-width: 28px;
  min-height: 28px;
}
.ab-header .ab-header__menu a {
  font-size: 16px;
}
.ab-header [data-ref="p-search"] {
  margin-left: -11px;
}
.ab-header {
  position: relative;
  z-index: 40;
  font:
    400 15px/1.6 "Hanken Grotesk",
    Arial,
    sans-serif;
  max-width: 1440px;
  margin: auto;
  padding: 22px 80px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}
.ab-header a {
  color: #232a22;
  text-decoration: none;
}
.ab-header .ab-header__menu {
  display: flex;
  gap: 28px;
}
.ab-header .ab-header__actions {
  display: flex;
  gap: 18px;
  justify-content: flex-end;
  align-items: center;
  margin-right: -10px;
}
.ab-header .ab-header__cta {
  border: 1px solid rgba(35, 42, 34, 0.25);
  border-radius: 4px;
  padding: 9px 14px;
  display: inline-flex;
  align-items: center;
  height: 38px;
  box-sizing: border-box;
}
.ab-header .ab-header-mobile-link,
.ab-header [data-ref="m-burger"] {
  display: none;
}
.ab-header .ab-header--section {
  height: 52px;
  width: auto;
  display: block;
  position: relative;
}
.ab-header .ab-header__search-button {
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  align-items: center;
}
.ab-header .ab-header__burger-line {
  width: 20px;
  height: 1.5px;
  background: #232a22;
}
.ab-header {
  box-sizing: border-box;
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  color: #232a22;
  font:
    400 16px/1.6 "Hanken Grotesk",
    Arial,
    sans-serif;
}
.ab-header * {
  box-sizing: border-box;
}
.ab-header .u-serif {
  font-family: "Newsreader", Georgia, serif;
}
.ab-header .u-eyebrow {
  font:
    500 13px/1.4 "Hanken Grotesk",
    Arial,
    sans-serif;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #5b6254;
}
.ab-header [hidden] {
  display: none !important;
}
@media (max-width: 1099px) {
  .ab-header .u-eyebrow {
    font-size: 11px;
  }
  .ab-header {
    height: 60px;
    padding: 0 8px 0 16px;
    display: flex;
    gap: 0;
    border-bottom: 1px solid rgba(35, 42, 34, 0.14);
  }
  .ab-header .ab-header__brand {
    flex: 1;
    order: 0;
  }
  .ab-header .ab-header__brand img {
    height: 38px;
    width: auto;

  }
  .ab-header .ab-header__actions {
    order: 1;
    margin: 0;
    gap: 0;
  }
  .ab-header .ab-header__actions .ab-header__cta,
  .ab-header .ab-header__actions .ab-header__social-link {
    display: none;
  }
  .ab-header [data-ref="m-burger"] {
    display: flex;
    order: 2;
    z-index: 2;
  }
  .ab-header .ab-header__menu {
    display: none;
    position: fixed;
    inset: 60px 0 0;
    background: #f7f5ef;
    overflow: auto;
    padding: 32px 24px;
    flex-direction: column;
    gap: 0;
    z-index: 1;
  }
  .ab-header.menu-open .ab-header__menu {
    display: flex;
  }
  .ab-header .ab-header__menu a,
  .ab-header .ab-header-mobile-link {
    display: flex;
    justify-content: space-between;
    padding: 18px 0;
    border-bottom: 1px solid rgba(35, 42, 34, 0.14);
    font:
      300 30px/1.1 "Newsreader",
      Georgia,
      serif;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ab-header * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
@media (min-width: 1100px) and (max-width: 1439px) {
  .ab-header.ab-header {
    padding-left: 32px;
    padding-right: 32px;
    grid-template-columns: 1fr auto 1fr;
  }
  .ab-header .ab-header__menu {
    gap: 14px;
  }
  .ab-header .ab-header__menu a {
    font-size: 14px;
  }
  .ab-header .ab-header__brand img {
    height: 48px;
  }
  .ab-header .ab-header__actions {
    gap: 10px;
  }
  .ab-header .ab-header__cta {
    font-size: 13px;
  }
}
@media (min-width: 1100px) {
  .ab-header.ab-header [data-ref="m-burger"] {
    display: none;
  }
  .ab-header .ab-header__menu .ab-header-mobile-link {
    display: none;
  }
}
@media (min-width: 1100px) {
  .ab-header.ab-header {
    font-size: 15px;
    line-height: 1.6;
  }
}
.ab-header__navigation {
  display: contents;
}
.ab-header .ab-menu-arrow,
.ab-header .ab-header__menu-cta {
  display: none;
}
@media (max-width: 1099px) {
  .ab-header.ab-header {
    height: 61px;
    line-height: 1.55;
  }
  .ab-header .ab-header__menu {
    top: 61px;
  }
  .ab-header [data-ref="p-search"] {
    width: 36px;
    height: 36px;
  }
  .ab-header .ab-header__search-dialog {
    padding-top: 72px;
  }
  .ab-header .ab-header__menu .ab-menu-arrow {
    display: block;
    flex: 0 0 14px;
  }
  .ab-header .ab-header__menu .ab-header__menu-cta {
    order: 7;
    display: flex;
    margin-top: 28px;
    border: 1px solid rgba(35, 42, 34, 0.14);
    border-radius: 4px;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 0;
    background: #3f5b2c;
    color: #fff;
    font:
      400 14px/1 "Hanken Grotesk",
      Arial,
      sans-serif;
    letter-spacing: 0.03em;
  }
  .ab-header [data-ref="m-burger"] span {
    transition:
      transform 0.3s ease,
      opacity 0.3s ease;
  }
  .ab-header [data-ref="m-burger"][aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
  }
  .ab-header [data-ref="m-burger"][aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }
  .ab-header [data-ref="m-burger"][aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .ab-header [data-ref="m-burger"] span {
    transition: none;
  }
}
@media (min-width: 1100px) {
  .ab-header .ab-header__menu .ab-header__menu-cta {
    display: none;
  }
}

/* Mobile navigation stays in the document flow and remains visible while scrolling. */
@media (max-width: 1099px) {
  .ab-header.ab-header {
    position: sticky;
    top: 0;
    background: #f7f5ef;
  }
  .ab-header [data-ref="m-burger"] {
    position: relative;
  }
  .ab-header [data-ref="m-burger"] span {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 20px;
    height: 1px;
    margin-left: -10px;
    flex-shrink: 0;
  }
  .ab-header [data-ref="m-burger"] span:nth-child(1) {
    top: calc(50% - 6px);
  }
  .ab-header [data-ref="m-burger"] span:nth-child(3) {
    top: calc(50% + 6px);
  }
  .ab-header [data-ref="m-burger"][aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }
  .ab-header [data-ref="m-burger"][aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }
  .ab-header .ab-header__search-panel {
    padding: 18px 20px 12px;
  }
  .ab-header .ab-header__search-field {
    padding-bottom: 6px;
    align-items: flex-end;
  }
  .ab-header .ab-header__search-field input {
    font-size: 18px;
    line-height: 1.4;
    padding: 4px 0 0;
    height: 32px;
  }
  .ab-header .ab-header__search-field > svg,
  .ab-header .ab-header__search-field > button {
    align-self: center;
    flex-shrink: 0;
  }
  .ab-header .ab-header__search-field > button {
    width: 28px;
    height: 28px;
  }
}

.ab-header .ab-header__search-dialog {
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

/* Native WordPress menu lists retain the established navigation layout. */
.ab-header .ab-header__menu-list { margin:0; padding:0; list-style:none; }
.ab-header .ab-header__menu-list > li { margin:0; padding:0; list-style:none; }
.ab-header .ab-header__menu-list--desktop { display:flex; gap:inherit; }
.ab-header .ab-header__menu-list--mobile { display:none; }
@media(max-width:1099px) {
  .ab-header .ab-header__menu-list--desktop { display:none; }
  .ab-header .ab-header__menu-list--mobile { display:flex; flex-direction:column; width:100%; }
  .ab-header .ab-header__menu-list--mobile > li:first-child > a { border-top:0; }
}

/* Stagger the mobile links in both directions; keep the closing panel visible. */
@media (max-width:1099px) {
  .ab-header .ab-header__menu {
    display:flex;
    visibility:hidden;
    pointer-events:none;
    opacity:0;
    transition:opacity 180ms ease 440ms, visibility 0s linear 620ms;
  }
  .ab-header.menu-open .ab-header__menu {
    visibility:visible;
    pointer-events:auto;
    opacity:1;
    transition:opacity 180ms ease, visibility 0s;
  }
  .ab-header .ab-header__menu-list--mobile > li,
  .ab-header .ab-header__menu .ab-header__menu-cta {
    opacity:0;
    transition:opacity 220ms ease;
    transition-delay:var(--menu-exit-delay,0ms);
  }
  .ab-header.menu-open .ab-header__menu-list--mobile > li,
  .ab-header.menu-open .ab-header__menu .ab-header__menu-cta {
    opacity:1;
    transition-delay:var(--menu-enter-delay,0ms);
  }
}
@media (prefers-reduced-motion:reduce) {
  .ab-header .ab-header__menu { transition:none; }
}

.ab-header .ab-header__cta {
  transition:background-color 220ms ease, border-color 220ms ease, color 220ms ease;
}
.ab-header .ab-header__cta:hover,
.ab-header .ab-header__cta:focus-visible {
  background-color:#3f5b2c;
  border-color:#3f5b2c;
  color:#fff;
}
