/* Site menu (see nav.js) */
.bsn {
  position: sticky; top: 0; z-index: 50;
  background: var(--color-bg, #FAF7F1);
  border-bottom: 0.5px solid var(--color-border, rgba(120,117,107,0.18));
  font-family: var(--font-sans, system-ui, sans-serif);
}
.bsn-bar {
  max-width: 1040px; margin: 0 auto; padding: 0.6rem 1rem;
  display: flex; align-items: center; gap: 1rem;
}
.bsn-brand {
  font-family: var(--font-serif, Georgia, serif); font-size: 19px; font-weight: 500;
  color: var(--color-text, #2C2C2A); text-decoration: none; white-space: nowrap; margin-right: auto;
}
.bsn-brand span { font-size: 0.6em; vertical-align: super; }
.bsn-menu { display: flex; align-items: center; gap: 0.25rem; list-style: none; margin: 0; padding: 0; }
.bsn-group { position: relative; }
.bsn-top {
  display: inline-block; background: none; border: 0; cursor: pointer;
  font: 500 14px/1 var(--font-sans, system-ui, sans-serif);
  color: var(--color-text-muted, #5F5E5A); text-decoration: none;
  padding: 0.6rem 0.7rem; border-radius: var(--radius-sm, 6px);
}
.bsn-top:hover, .bsn-top[aria-expanded="true"] { color: var(--color-text, #2C2C2A); background: var(--color-surface-warm, #F5F1E8); }
.bsn-top[aria-current="page"], .bsn-active { color: var(--color-belonging-dark, #0F6E56); }
.bsn-caret { font-size: 10px; margin-left: 2px; }
.bsn-dd {
  display: none; position: absolute; top: 100%; left: 0; min-width: 230px;
  list-style: none; margin: 0; padding: 0.4rem;
  background: var(--color-surface, #fff); border: 0.5px solid var(--color-border-strong, rgba(120,117,107,0.32));
  border-radius: var(--radius-md, 10px); box-shadow: 0 10px 28px rgba(30,25,20,0.14);
}
.bsn-top[aria-expanded="true"] + .bsn-dd { display: block; }
.bsn-item {
  display: block; padding: 0.55rem 0.75rem; border-radius: var(--radius-sm, 6px);
  font-size: 14px; color: var(--color-text, #2C2C2A); text-decoration: none;
}
.bsn-item:hover { background: var(--color-surface-warm, #F5F1E8); }
.bsn-item[aria-current="page"] { color: var(--color-belonging-dark, #0F6E56); font-weight: 500; }
.bsn-sep, .bsn-msep {
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--color-text-faint, #888780); padding: 0.6rem 0.75rem 0.2rem; margin: 0;
}
.bsn-cta {
  white-space: nowrap; text-decoration: none; font-size: 14px; font-weight: 500;
  color: #fff; background: var(--color-belonging, #1D9E75);
  padding: 0.6rem 1rem; border-radius: 999px;
}
.bsn-cta:hover { background: var(--color-belonging-dark, #0F6E56); }
.bsn-burger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.bsn-burger { align-items: center; gap: 6px; color: var(--color-text, #2C2C2A); font: 500 14px/1 var(--font-sans, system-ui, sans-serif); }
.bsn-lines span { display: block; width: 20px; height: 2px; margin: 4px 0; background: var(--color-text, #2C2C2A); border-radius: 2px; }
.bsn-mobile { border-top: 0.5px solid var(--color-border, rgba(120,117,107,0.18)); padding: 0.5rem 1rem 1.25rem; max-height: 75vh; overflow-y: auto; }
.bsn-mhead { font-family: var(--font-serif, Georgia, serif); font-size: 18px; font-weight: 500; color: var(--color-text, #2C2C2A); margin: 1rem 0 0.25rem; }
.bsn-mlink { display: block; padding: 0.55rem 0 0.55rem 0.75rem; font-size: 15px; color: var(--color-text-muted, #5F5E5A); text-decoration: none; }
.bsn-mtop { padding-left: 0; margin-top: 0.75rem; font-family: var(--font-serif, Georgia, serif); font-size: 18px; color: var(--color-text, #2C2C2A); }
.bsn-mlink[aria-current="page"] { color: var(--color-belonging-dark, #0F6E56); font-weight: 500; }

@media (max-width: 820px) {
  .bsn-menu { display: none; }
  .bsn-burger { display: flex; }
  .bsn-brand { font-size: 17px; }
  .bsn-bar { gap: 0.5rem; padding-right: 0.5rem; }
  .bsn-cta { padding: 0.5rem 0.85rem; font-size: 13px; }
  .bsn-burger { padding: 8px 6px; }
}
@media (max-width: 440px) {
  .bsn-cta-pre { display: none; }
  .bsn-bar { padding-left: 0.75rem; }
}
@media (max-width: 380px) {
  .bsn-brand { font-size: 15px; }
  .bsn-cta { padding: 0.5rem 0.7rem; font-size: 12px; }
}
@media (min-width: 821px) { .bsn-mobile { display: none !important; } }
/* Open dropdowns on hover with a mouse (click still works) */
@media (hover: hover) and (min-width: 821px) {
  .bsn-group:hover > .bsn-dd { display: block; }
  .bsn-group:hover > .bsn-top { color: var(--color-text, #2C2C2A); background: var(--color-surface-warm, #F5F1E8); }
}
