:root {
  --global-header-height: 73px;
  --nav-ink: #24483b;
  --nav-paper: #fffef9;
  --nav-line: #dde4d8;
}
html { scroll-padding-top: calc(var(--global-header-height) + 14px); }
body { padding-top: var(--global-header-height); }

body > header.global-site-header, header.global-site-header {
  position: fixed !important;
  inset: 0 0 auto !important;
  z-index: 1000 !important;
  width: 100% !important;
  max-width: none !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-bottom: 1px solid var(--nav-line) !important;
  background: var(--nav-paper) !important;
  box-shadow: 0 2px 9px #263d320d !important;
}
.global-site-nav {
  position: relative;
  display: flex !important;
  flex-wrap: wrap;
  align-items: center !important;
  justify-content: space-between !important;
  box-sizing: border-box !important;
  max-width: 1240px !important;
  min-height: 72px !important;
  margin: auto !important;
  padding: 8px clamp(10px, 2vw, 22px) !important;
  gap: 4px 18px !important;
}
.global-brand {
  display: flex !important;
  align-items: center;
  flex: none;
  gap: 8px;
  min-width: 0 !important;
  color: var(--nav-ink);
  text-decoration: none;
}
.global-brand img { width: 52px; height: 52px; flex: none; object-fit: contain; }
.global-brand strong { font-size: 18px; font-weight: 750; line-height: 1.2; white-space: nowrap; }
.global-menu {
  display: flex;
  flex: 1 0 auto;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  width: max-content;
  max-width: 100%;
  gap: 2px 4px;
  min-width: 0;
  border-radius: 8px;
  background: #f4f7ef;
}
.global-menu > details { position: static; margin: 0; padding: 0; border: 0; }
.global-menu > a, .global-menu > details > summary {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--nav-ink);
  font: 650 15px/1.4 var(--site-font);
  text-decoration: none;
  cursor: pointer;
  list-style: none;
}
.global-menu > details > summary::-webkit-details-marker { display: none; }
.global-menu > details > summary::after { content: '⌄'; margin-left: 5px; }
.global-menu > details[open] > summary::after { content: '⌃'; }
.global-menu > a:hover, .global-menu > details > summary:hover,
.global-menu > details[open] > summary, .global-menu > details[data-current] > summary,
.global-menu a[aria-current="page"] { background: #edf3e9; }
.global-menu > .global-consult {
  justify-content: center;
  margin-left: 6px;
  padding-inline: 14px;
  background: #205d46;
  color: #fff;
}
.global-menu > .global-consult:hover, .global-menu > .global-consult[aria-current="page"] { background: #184b38; }
.global-menu > details:not([open]) > div { display: none; }
.global-menu > details > div {
  position: absolute;
  inset: calc(100% + 4px) 12px auto;
  margin-inline: auto;
  display: grid;
  width: max-content;
  min-width: 190px;
  max-width: min(300px, 85vw);
  max-height: calc(100dvh - var(--global-header-height) - 12px);
  overflow: auto;
  padding: 6px;
  border: 1px solid var(--nav-line);
  border-radius: 10px;
  background: var(--nav-paper);
  box-shadow: 0 12px 26px #263d3220;
}
.global-menu > details > div > a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 7px 10px;
  border-radius: 6px;
  color: var(--nav-ink);
  font: 550 14px/1.4 var(--site-font);
  text-decoration: none;
}
.global-menu > details > div > a:hover { background: #edf3e9; }
.global-menu-toggle { display: none !important; }
.global-site-nav :focus-visible { outline: 2px solid #205d46; outline-offset: 2px; }
nav.site-quick-navigation { display: none !important; }

.consultation-options {
  display: grid;
  gap: 12px;
  margin-block: 24px;
  padding: clamp(16px, 3vw, 26px);
  border: 1px solid var(--nav-line);
  border-radius: 12px;
  background: var(--nav-paper);
}
.consultation-options h2, .consultation-options p { margin: 0; }
.consultation-options p { margin-top: 5px; }
.consultation-option-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.consultation-option-actions .pill { display: inline-flex; align-items: center; min-height: 44px; }
.home-event-entry { margin-block: 22px; }

@media (max-width: 540px) {
  .global-brand img { width: 44px; height: 44px; }
  .global-brand strong { font-size: 17px; }
  .global-menu { gap: 0 2px; }
  .global-menu > a, .global-menu > details > summary {
    padding: 6px 7px;
    font-size: 14px;
  }
  .global-menu > details > summary::after { margin-left: 3px; }
  .global-menu > .global-consult { margin-left: 0; padding-inline: 9px; }
}
@media print {
  body { padding-top: 0 !important; }
  header.global-site-header { display: none !important; }
}
